Commit Graph

18 Commits

Author SHA1 Message Date
Greg Neagle 4053a0dbe7 Update copyright dates to 2017 2017-01-17 20:14:31 -08:00
Greg Neagle 24805bd99b Remove 'shebang' line from all Python modules that are not intended to be executed as scripts. This also causes my stupid editor to stop marking these files as executable. 2017-01-11 16:03:33 -08:00
Greg Neagle 10a6950837 Consistent if __name__ == '__main__': bit for all munkilib submodules 2016-12-24 08:17:08 -08:00
Greg Neagle c386ede21c Move Memoize decorator to utils module 2016-12-17 09:24:15 -08:00
Greg Neagle 0269b1a89c Fix for 'ImportError: cannot import name kCFNetworkProxiesHTTPSEnable' on older versions of OS X 2016-10-12 10:34:50 -07:00
verycarefully 9eda5213c0 Fix up more lint errors. 2016-08-08 14:23:58 -04:00
verycarefully 66d02caeaf Fix lint warnings. 2016-08-08 12:25:41 -04:00
verycarefully 3ba5dbf23f Opt-in behavior to ignore system proxies. 2016-08-08 12:09:38 -04:00
Greg Neagle b9944e9545 Update gurl.py to use NSURLSession on those versions of OS X that support it. Addresses issue #551. 2016-03-03 14:06:33 -08:00
Greg Neagle 976c842224 Change gurl.py connection timeout to 60 seconds 2015-12-22 14:57:41 -08:00
Samuel Keeley 5c12185da4 Replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0 2015-11-13 20:35:24 -08:00
Graham Gilbert 0459a66f6d Credit where credit's due 2015-10-29 16:22:59 +00:00
Graham Gilbert effe971249 Preference to Follow HTTP Recirects 2015-10-23 10:33:20 +01:00
Greg Neagle 1dd8329d66 Inject NSAppTransportSecurity key and value into [NSBundle mainBundle]'s infoDictionary in order to make App Transport Security happy on 10.11 2015-07-29 08:09:39 -07:00
Clay Caviness 06fe9e25ea builtin.super doesn't work correctly with Cocoa classes, use objc.super instead.
This will allow support for more recent PyObjC installs (3.x) than what's on the system (2.x).
2015-06-03 12:14:01 -04:00
Greg Neagle c80b9a1041 PyLint cleanups; implement connection_willSendRequestForAuthenticationChallenge_ delegate method since it replaces two other method depreacted in 10.10 (connection_canAuthenticateAgainstProtectionSpace_, connection_didReceiveAuthenticationChallenge_) 2014-10-26 08:37:27 -07:00
Greg Neagle 2b46ebebf5 Work around PyObjC issue on 10.6 by converting an NSData object to a string a different way 2014-10-24 09:32:36 -07:00
Greg Neagle e232c1b955 New attempt to use NSURLConnection + keychain to replace curl 2014-10-15 16:39:38 -07:00