summaryrefslogtreecommitdiff
path: root/giscanner/cachestore.py
Commit message (Expand)AuthorAgeFilesLines
* Always close filesChristoph Reiter2020-11-071-9/+11
* Always pass an encoding to open() using text modeChristoph Reiter2020-11-071-2/+2
* cachestore: handle cache getting deleted while loading it. Fixes #278Christoph Reiter2019-04-171-3/+7
* Merge branch 'drop-py-compat-code' into 'master'Christoph Reiter2018-12-081-10/+1
|\
| * Drop all Python 2 compat codeChristoph Reiter2018-12-081-10/+1
* | cachestore: don't try to catch nonexisting pickle.BadPickleGet. Fixes #159Christoph Reiter2018-12-081-1/+1
|/
* When handling errors according to errno, catch both IOError and OSErrorSimon McVittie2017-06-191-14/+8
* giscanner: Encode sha1 input for Python 3 compatibilitySimon Feltman2015-09-291-2/+5
* giscanner: Use pickle when cPickle is not availableSimon Feltman2015-09-291-6/+10
* giscanner: Use unicode literals in all Python filesSimon Feltman2015-09-291-0/+1
* giscanner: Use print as a function for Python 3 compatibilitySimon Feltman2015-09-291-0/+1
* giscanner: Enable "true division" for all Python filesSimon Feltman2015-09-291-0/+1
* giscanner: Use absolute_import for all Python filesSimon Feltman2015-09-291-0/+2
* scanner: use open() as os.fdopen as context managersDieter Verfaillie2015-08-211-2/+4
* scanner: fix cachestore raceDieter Verfaillie2015-08-211-9/+8
* scanner: future-proof cachestore version hashingDieter Verfaillie2015-06-291-2/+1
* scanner: add "XDG Base Directory" functionsDieter Verfaillie2015-06-201-40/+11
* scanner: honor XDG_CACHE_HOMEDieter Verfaillie2015-06-201-0/+5
* giscanner/cachestore.py: Clean up a bitChun-wei Fan2014-08-011-4/+1
* giscanner: Make _get_cachedir() Always Work on WindowsChun-wei Fan2014-07-041-1/+4
* giscanner: Use Python 3 compatible octal literal syntaxSimon Feltman2014-05-011-2/+2
* cachestore: Use "write new, then rename" pattern, not "write in place"Colin Walters2014-04-011-1/+7
* tests: Update misc/pep8.py to 1.4.5Dieter Verfaillie2013-05-071-2/+3
* giscanner: prefer "except X as e" over "except X, e"Dieter Verfaillie2013-04-091-8/+8
* Add GI_SCANNER_DISABLE_CACHE environment variableColin Walters2011-05-021-0/+2
* scanner: Don't fail on mkdir if cachedir already existsGOBJECT_INTROSPECTION_0_10_2Colin Walters2011-02-031-1/+4
* Fix giscanner crash with no cache directoryRobert Ancell2010-08-121-0/+3
* [cachestore] Properly clean the cacheg-i-0.6Johan Dahlin2010-06-171-1/+1
* [cachestore] Add versioningJohan Dahlin2010-06-101-1/+50
* Ignore errors caused by permissions in $HOMEJosselin Mouette2009-12-021-1/+4
* Add missing self parameterJohan Dahlin2009-02-111-1/+1
* Catch AttributeError which seems to be occasionally raised for Record.Johan Dahlin2009-01-131-1/+1
* Use shutil.move instead of os.rename, since it will automatically fallJohan Dahlin2008-12-091-2/+3
* Don't require HOME to be set and if it set, don't require the directory toJohan Dahlin2008-12-081-1/+7
* yay for scripts checking number of newlinesJohan Dahlin2008-12-081-0/+1
* Dump the cache file to a temporary file and rename it the expectedJohan Dahlin2008-12-081-7/+19
* Remove tabs, fixes make checkJohan Dahlin2008-12-011-1/+1
* Bug 562289 – Race when removing invalid cacheJohan Dahlin2008-11-301-1/+4
* Catch ValueError exceptions.Johan Dahlin2008-11-191-1/+1
* Catch BadPickleGet exceptions as well.Johan Dahlin2008-11-181-1/+1
* Handle broken cache entries, write only filesystems and running out ofJohan Dahlin2008-11-071-3/+29
* Relicense the giscanner library under LGPLv2+. This has been approved byJohan Dahlin2008-11-041-11/+11
* Remove arguments from the constructor, move them to separate accessors.Johan Dahlin2008-10-301-0/+87