zxzw4rq4q56 / switchy

Automatically exported from code.google.com/p/switchy
0 stars 0 forks source link

OS X Support #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add OS X support.

Original issue reported on code.google.com by Mohamma...@gmail.com on 6 Dec 2009 at 7:08

GoogleCodeExporter commented 8 years ago
Please add OS X support, there are many of us Mac users out here who would love 
this 
feature.

Original comment by mboo...@google.com on 17 Dec 2009 at 1:39

GoogleCodeExporter commented 8 years ago
We make extensive use of proxies for testing in-house web development work. 
This 
would be greatly appreciated.

Original comment by ratner@gmail.com on 29 Dec 2009 at 2:06

GoogleCodeExporter commented 8 years ago
Please add this :)

Original comment by r1chardj0n3s on 7 Jan 2010 at 3:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
+1, looking forward to OS X support

Original comment by zhouguih...@gmail.com on 8 Jan 2010 at 4:06

GoogleCodeExporter commented 8 years ago
Thank you!

Original comment by foxmac...@gmail.com on 9 Jan 2010 at 9:10

GoogleCodeExporter commented 8 years ago
Issue 51 has been merged into this issue.

Original comment by Mohamma...@gmail.com on 15 Jan 2010 at 11:15

GoogleCodeExporter commented 8 years ago
Please add OS X support

Original comment by gho...@google.com on 21 Jan 2010 at 4:38

GoogleCodeExporter commented 8 years ago
add OS X support,please

Original comment by v.free.t...@gmail.com on 24 Jan 2010 at 8:24

GoogleCodeExporter commented 8 years ago
I'm working now on setting up the development environment on my Virtual Mac OS 
X (since 
I haven't a real Mac!).
I'm facing some problems, but hope I can start the development in the next two 
days.
Thanks for your patience.

Original comment by Mohamma...@gmail.com on 25 Jan 2010 at 3:09

GoogleCodeExporter commented 8 years ago
I'd like to help out on this ticket, but how might I get started?

Original comment by czhang....@gmail.com on 26 Jan 2010 at 3:19

GoogleCodeExporter commented 8 years ago
@czhang.cmu Thanks for your offer to help, I've started working on this issue.

Original comment by Mohamma...@gmail.com on 29 Jan 2010 at 2:56

GoogleCodeExporter commented 8 years ago
I'm happy to assist with testing too.

Original comment by con...@gmail.com on 30 Jan 2010 at 1:45

GoogleCodeExporter commented 8 years ago
Well, I'm happy to tell you that beta version is available now :)
It needs some test before release, so if you like to test it here is how to go:
  1. Install the latest version of Switchy! (1.5.0.8).
  2. Disable Switchy.
  3. Extract and copy the attached bundle "iSwitchy.bundle" to "~/Library/Application 
Support/Google/Chrome/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/1.5.0.
8/plugins/".
  4. Extract and copy the attached manifest file "manifest.json" to "~/Library/Application 
Support/Google/Chrome/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/1.5.0.
8/".
  5. Enable Switchy.

P.S. Logging is enabled in this beta version, and the output log will be saved 
in '/var/tmp/switchy.log', so if you 
face any problems, please send me the log file.

Original comment by Mohamma...@gmail.com on 1 Feb 2010 at 12:20

GoogleCodeExporter commented 8 years ago
It doesn't work for me. After done 1~5, added one proxy rule, selected the one 
I just 
added, then the earth icon colored for a while (about 5 seconds) and turned 
grey again. 
The log file /var/tmp/switchy.log is not generated. System: Mac OS X 10.5.8
The exact same proxy rule works in linux iSwitchy.

Original comment by zhouguih...@gmail.com on 1 Feb 2010 at 3:58

GoogleCodeExporter commented 8 years ago
not work for me, also. The log is below:
15:49:26] [info] - Extension Info: v1.5.0.8
[15:49:26] [info] - Browser Info: 5.0 (Macintosh; U; Intel Mac OS X 10_5_8; 
en-US) 
AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.1 Safari/532.9
[15:49:26] [error] - Plugin not loaded!
[15:49:35] [error] - Plugin Error @RuleManager.saveAutoPacScript() > TypeError: 
Object #<an HTMLEmbedElement> has no method 'writeAutoPacFile'
[15:49:35] [error] - Plugin Error @ProfileManager.applyProfile(Profile: 
{"name":"Auto 
Swtich 
Mode","proxyMode":"auto","proxyHttp":"","useSameProxy":true,"proxyHttps":"","pro
xy
Ftp":"","proxySocks":"","socksVersion":4,"proxyExceptions":"","proxyConfigUrl":"
undefi
ned?1265007926791","color":"auto-blue","id":"","isAutomaticModeProfile":true}) 
> 
TypeError: Object #<an HTMLEmbedElement> has no method 'setProxy'

Original comment by pal...@gmail.com on 1 Feb 2010 at 7:51

Attachments:

GoogleCodeExporter commented 8 years ago
I'm sorry, the previous steps will not work because we try to modify an 
installed 
extension..
Here is how to go again:
  1. Disable the installed version of Switchy.
  2. Install the attached .crx file "Switchy-1.6.0b.crx".
  3. And you're done.

P.S. Uninstall this beta version when you no longer need it.

Original comment by Mohamma...@gmail.com on 1 Feb 2010 at 12:14

Attachments:

GoogleCodeExporter commented 8 years ago
Seems to work!

Original comment by kka...@gmail.com on 1 Feb 2010 at 12:24

GoogleCodeExporter commented 8 years ago
Yes it works in some extent! Thanks a lot!
However, I am asked to input login password every time I change the proxy: 
"scutil 
requires that you type your password." It's very annoying, and I doubt whether 
the "Auto 
Switch Mode" could work.

Original comment by zhouguih...@gmail.com on 1 Feb 2010 at 12:33

GoogleCodeExporter commented 8 years ago
I found two methods to change proxy settings:
  1. Programmatically, using SystemConfiguration framework.
  2. Or using scutil tool.
I have no success in the first method, so I switched to the other although I 
don't 
prefer it.
Any ideas?

@zhouguiheng It seems that your account doesn't have the required permissions 
to change 
proxy settings using scutil.

Original comment by Mohamma...@gmail.com on 1 Feb 2010 at 12:54

GoogleCodeExporter commented 8 years ago
thank you man!

works like a charm in my chromium mac version with a socks proxy, great job!

Original comment by foxmac...@gmail.com on 1 Feb 2010 at 3:22

GoogleCodeExporter commented 8 years ago
@foxmac does it support dns lookup on os x yet ? that would be pretty cool ! 
Thanks
anyway for the OSX support !

Original comment by Ahf...@gmail.com on 1 Feb 2010 at 3:28

GoogleCodeExporter commented 8 years ago
@AhfeeL, i am not sure whether it supports

Original comment by foxmac...@gmail.com on 1 Feb 2010 at 3:32

GoogleCodeExporter commented 8 years ago
@Mohamma... Hi my account is admin account. For safety, the option "Require 
password to unlock each System Preference pane" in "System Preference -> 
Security" is 
turned on, and that's why I saw the password dialog while switching the proxy. 
Is there 
any way to bypass this dialog while keep the option on?

Original comment by zhouguih...@gmail.com on 1 Feb 2010 at 3:35

GoogleCodeExporter commented 8 years ago
Works great, glad to see this implemented!

Original comment by mrkyleha...@gmail.com on 1 Feb 2010 at 4:21

GoogleCodeExporter commented 8 years ago
Yey! Thank you very much for your efforts - its fantastic to see a developer to 
go
out of his way and work on a platform that he/she doesn't use.

You are single-handedly the person that removed any roadblock for my migration 
from
Firefox.

Great stuff! :))

Original comment by holo...@gmail.com on 1 Feb 2010 at 5:24

GoogleCodeExporter commented 8 years ago
I had some issues with the space in the plugin location "%20" was being 
interpreted 
literally

The error reported:

Can't open file for writing 
[/Users/USERNAME/Library/Application%20Support/Google/Chrome/Default/Extensi
ons/lmpgdcjlcadimdknnjmkgfkkndghclga/1.6.0/plugins/SwitchySocks.pac]

A hackish workaround until resolved:
ln -s /Users/USERNAME/Library/Application\ Support 
/Users/USERNAME/Library/Application%20Support

Original comment by holo...@gmail.com on 1 Feb 2010 at 7:10

GoogleCodeExporter commented 8 years ago
Thanks! worked for me. Now the only problem is how to use autoproxy-compatible 
list.

Original comment by pal...@gmail.com on 2 Feb 2010 at 3:04

GoogleCodeExporter commented 8 years ago
:-( the beta doesn't work for me. In my configuration, I just use a SOCKS5 
proxy on 
localhost for everything. But the extensions doesn't seem to be able to get 
chrome ot 
use it. Also, I can't get Proxy Switchy to remain on "Auto Switch Mode", or any 
other 
proxy profile I make; it keeps reverting to Direct Connection. There are no 
errors in 
the log:

[17:18:03] [info] - Extension Info: v1.6.0
[17:18:03] [info] - Browser Info: 5.0 (Macintosh; U; Intel Mac OS X 10_6_2; 
en-US) 
AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.1 Safari/532.9
[17:19:16] [success] - Everything is OK

This extension looks fantastic though! I can't wait till it's ready to rock on 
OS X. Like 
holozip, this will be the end of my FF usage (except some firebug).

Original comment by DumSpiro...@gmail.com on 2 Feb 2010 at 4:30

GoogleCodeExporter commented 8 years ago
@zhouguiheng I'm sorry, I don't know such a way to bypass this security dialog..
@holozip I'll fix it in the release version.
@DumSpiroSparrow Please report this problem on a new issue.

Thank you all for your kind replies and feedback, this issue will be closed 
(finally! 
:))
Please report any problem on a new issue.

Original comment by Mohamma...@gmail.com on 2 Feb 2010 at 11:09

GoogleCodeExporter commented 8 years ago
need OS X Support - won't use Chrome until I got a good proxy-switcher-addon

Original comment by Wr4...@gmail.com on 11 Feb 2010 at 2:59

GoogleCodeExporter commented 8 years ago
Add OS X support.

Original comment by tkurd...@gmail.com on 11 Feb 2010 at 6:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
please... really need this for my Mac....

Original comment by i2008inb...@gmail.com on 12 Feb 2010 at 5:59

GoogleCodeExporter commented 8 years ago
Needs OSX support to be a truly great extension.

Original comment by AndrewEl...@gmail.com on 12 Feb 2010 at 11:04

GoogleCodeExporter commented 8 years ago
Uh; to the recent commenters - see above.  The version released in comment 18 
supports OS X just fine.

Original comment by c...@google.com on 12 Feb 2010 at 11:07

GoogleCodeExporter commented 8 years ago
ATTENTION COMMENTERS.

I was gonna say this this morning, but thought it would stop. How wrong I was.

You have already signified, by starring this issue, that you care about it. 
They have already said 
they're working on it. How do you think that spamming all the people that 
starred it, literally 
the set of people that are already aware of the issue, is going to help this 
happen faster? At this 
point, if I was a developer I'd consider not fixing it just out of spite.

Original comment by jmcdo...@gmail.com on 12 Feb 2010 at 11:10

GoogleCodeExporter commented 8 years ago
With the beta from post #18, "auto-switch mode" does not work. If "monitor 
proxy 
changes" is turned on, it just reverts back to the previously selected proxy a 
few 
seconds after I enable "auto-switch"; if "monitor" is off, it does not switch 
back, and 
the Switchy button is properly colorized according to the correct proxy that 
should 
be used for the used URL, but it does NOT use the proxy - there is a check mark 
on 
"direct connection" in the Switchy menu, and the error page confirms that proxy 
is 
not used (I'm trying to access a URL that is accessible through the proxy, but 
host is 
unresolvable otherwise). Manually setting the correct proxy (without 
"auto-switch") 
works correctly with the same URL, so the proxy settings are correct.

Original comment by lanz...@gmail.com on 13 Feb 2010 at 10:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The new version 1.6.0 has just been released, featuring support for Mac OS X.
If you have 1.6.0b installed, you need to uninstall it manually before 
installing the 
new version.
Please report any problem on a separate issue.

@holozip, DumSpiroSparrow Fixed in 1.6.0.
@lanzzzz Please try the release version.

Original comment by Mohamma...@gmail.com on 13 Feb 2010 at 10:24

GoogleCodeExporter commented 8 years ago
Yes, auto-switch seems to work now. Thanks, great job.

Original comment by lanz...@gmail.com on 13 Feb 2010 at 10:47

GoogleCodeExporter commented 8 years ago
Sorry; I know this is a redundant comment. But thank you so much for making 
this work 
in OS X. I appreciate your work, it makes a difference to me every day. :-)

Original comment by DumSpiro...@gmail.com on 15 Feb 2010 at 8:30

GoogleCodeExporter commented 8 years ago
Glad that you found it useful, enjoy it!

Original comment by Mohamma...@gmail.com on 16 Feb 2010 at 6:14

GoogleCodeExporter commented 8 years ago
Thank you for the great app. 1.6  auto switch mode runs well on chrome under 
snow 
leopard. But the problem is auto switch mode only runs on chrome, safari or any 
other 
applications wont follow the rules.

Original comment by rion...@gmail.com on 24 Mar 2010 at 5:09

GoogleCodeExporter commented 8 years ago
Um, rionkdr, you're aware that Switchy is specifically an extension for Chrome, 
right?  As in, it's not SUPPOSED to, 
nor does it intend to, affect the behavior of any other app?

Original comment by jlev...@gmail.com on 24 Mar 2010 at 12:38

GoogleCodeExporter commented 8 years ago
@jlevine, yes but the report is accurate. scutil is a MacOS system utility.

Using scutil to change the proxy settings affects more than just Chrome. It's 
the equivalent of creating 
multiple networking profiles with different proxy settings in MacOSX Network 
Preferences.

I find switchy 1.6 useful, but also very frustrating when Safari is also 
affected by the proxy I chose to use in 
Chrome.

Original comment by con...@gmail.com on 24 Mar 2010 at 6:47