summaryrefslogtreecommitdiff
path: root/lib/thandy/util.py
AgeCommit message (Collapse)Author
2011-10-20Fix file permissionsTomás Touceda
2011-07-26Update lockfile to work on OSXTomás Touceda
This changes the file modes, it seems OSX needs it this way.
2011-06-21First part of makethppackageTomas Touceda
Creates its metadata based on a config file. This still needs a sanity check.
2010-07-25More unit tests and documentation for the Thandy codeNick Mathewson
2009-01-22Fix multiple pychecker-spotted typos.Nick Mathewson
These are mostly typos in methods that don't get used in the current Thandy, error in error-handling paths, modules we imported unnecessarily, etc.
2008-12-01Make controller logging work better on python 2.4 (where the "extra" feature ↵Nick Mathewson
of logger.log does not exist.) git-svn-id: file:///home/or/svnrepo/updater/trunk@17431 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-01Kludge harder, but properly.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17424 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-01Kludge harder.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17423 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-01Add a possible workaround for coderman's Ubuntu's simplejson snafus. 1) ↵Nick Mathewson
Only use json instead of simplejson if json actually works. Apparently there is sometimes a json module that is not the kind of json module you get with python2.6. 2) Check to see if json thinks you should escape /, and try to override that "helpful" choice. git-svn-id: file:///home/or/svnrepo/updater/trunk@17422 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-22Fix a bug in userFilename that left us with a directory in ./~/. Add a ↵Nick Mathewson
facility for controller-readable log messages with --controller-log-format git-svn-id: file:///home/or/svnrepo/updater/trunk@17367 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20a little more documentation.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17346 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20Fall back to using built-in db rather than registry when some clever person ↵Nick Mathewson
decides to try installing a win32 binary on their linux box. git-svn-id: file:///home/or/svnrepo/updater/trunk@17340 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20Unlike everything else in Python, registry keys want Close() not close().Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17337 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20Normalize paths to avoid bugging win32 folks with harmless (i believe) slashes.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17335 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Add win32 registry support to thandy. untested.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17319 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17misc docsNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17315 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Stop dropping a byte every time a download fails. also start working on ↵Nick Mathewson
making other exceptions propagete from woder threads. git-svn-id: file:///home/or/svnrepo/updater/trunk@17309 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Add main-thread callbacks for download success/failure.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17292 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16have some more thandy. This update includes a working downloader with tor ↵Nick Mathewson
support, a package system framework, and more. Most of what's left is glue code. git-svn-id: file:///home/or/svnrepo/updater/trunk@17288 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-15In python 2.6 and later, simplejson is built-in as json.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17112 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Add some in-code documentation, fix some dead code, add a license, add a ↵Nick Mathewson
working distutils script. git-svn-id: file:///home/or/svnrepo/updater/trunk@17092 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Rename glider to thandy, based on discussions on #nottor. Please let me ↵Nick Mathewson
know ASAP if there is another program Thandy, or if it means something rude, or whatever. git-svn-id: file:///home/or/svnrepo/updater/trunk@17085 55e972cd-5a19-0410-ae62-a4d7a52db4cd