Timeline



Jan 2, 2011:

6:59 PM Changeset [1013:9a6c30fec6e1] by Stefan Schwarzer <sschwarzer@…>
Added some docstrings. Improved PEP 8 compliance.
6:27 PM Changeset [1012:4114b0c56880] by Stefan Schwarzer <sschwarzer@…>
Added `lrucache.py` to the files processed by PyLint. Meanwhile I do more and more changes to the module, so the file should be processed by PyLint as well.
6:25 PM Changeset [1011:566222014b88] by Stefan Schwarzer <sschwarzer@…>
Reduced calls to `heapify`, making many operations much faster. The former implementation maintained the heap queue ordering invariant as much as possible. While that made for a clear implementation it slowed down getting values from large caches significantly. The change only calls `heapify` before operations which rely on the heap queue ordering. In some situations this makes the code using the cache ten times faster. All the unit tests distributed with the lrucache module still pass.
6:05 PM Changeset [1010:2640715ee9aa] by Stefan Schwarzer <sschwarzer@…>
Add a `clear` method to `LRUCache` and `StatCache`. The former way of clearing the cache was to temporarily set its size to zero (without changing the maximum size, i. e. the `size` attribute of `LRUCache` objects). The new way is cleaner; the old one was a workaround which was only tolerated because no one would ever set the maximum size to zero. ;-) I only do it to implicitly remove all nodes from the cache in order to make garbage collection more robust.
6:00 PM IssueTracker edited by schwa
Mentioned repository change and revision mapping. (diff)
12:57 PM Changeset [1009:1817b6413cb4] by Stefan Schwarzer <sschwarzer@…>
Updated checks in __init__ to comply with original lrucache module. Now all the original unit tests pass again. I had thought I had maintained consistency with the tests all the time, but it seems I forgot to run the original tests for lruchache.py after some change in the ftputil tree.

Dec 25, 2010:

6:04 PM Changeset [1008:a23c222a0ddd] by Stefan Schwarzer <sschwarzer@…>
Provide `__lt__` for nodes in addition to `__cmp__`. On my system, this reduces the running time for larger caches to about 60 %.
5:08 PM Ticket #54 (Auto-increment functionality for stat cache) closed by schwa
fixed: Added in [0fb499033581].
4:43 PM Changeset [1007:0fb499033581] by Stefan Schwarzer <sschwarzer@…>
Added cache auto-resizing (see ticket #54). Ticket URL: http://ftputil.sschwarzer.net/trac/ticket/54
3:27 PM Changeset [1006:36e9d67790b1] by Stefan Schwarzer <sschwarzer@…>
Make sure only stat info for absolute paths is put in the cache.
1:14 AM Changeset [1005:feefb419cb76] by Stefan Schwarzer <sschwarzer@…>
Use a common method to get stat results from a directory listing. The handling of empty lines within a directory listing has been moved to `Parser.ignores_line`.
12:14 AM Changeset [1004:33cb5f221305] by Stefan Schwarzer <sschwarzer@…>
Use punctuation according to PEP 8.
12:00 AM Changeset [1003:6b0799f232cb] by Stefan Schwarzer <sschwarzer@…>
Fixed docstring content.

Dec 11, 2010:

1:49 PM Changeset [1002:22b24283d7ba] by Stefan Schwarzer <sschwarzer@…>
Added possible TODO about implementing `__dir__`.

Nov 15, 2010:

3:50 PM Changeset [1001:3364b910eeca] by Stefan Schwarzer <sschwarzer@…>
Fixed typo.

Nov 14, 2010:

11:32 PM Changeset [1000:4e6094ea32b7] by Stefan Schwarzer <sschwarzer@…>
Prepend underscore to `listdir`, `lstat` and `stat` in `ftp_stat.py`. These have never been part of the documented ftputil API. The former names without underscores might have misled developers to use the seemingly public names.
11:06 PM Changeset [999:8d0c84ff8f59] by Stefan Schwarzer <sschwarzer@…>
Refactored some of the tests for non-ASCII unicode checks.
10:56 PM Ticket #53 (FTPHost.walk fails when the argument is a unicode string and the tree ...) closed by schwa
fixed: Fixed in commits [7ee81a2ca43a] and [8c59e4da5479].
10:53 PM Changeset [998:8c59e4da5479] by Stefan Schwarzer <sschwarzer@…>
Added unicode checks similar to commit 7ee81a2ca43a to `ftp_path.py`.
10:38 PM Changeset [997:7ee81a2ca43a] by Stefan Schwarzer <sschwarzer@…>
Fail as early as possible if a method gets a non-ASCII unicode path. See ticket #53 at http://ftputil.sschwarzer.net/trac/ticket/53 and the long comment in `test_real_ftp.TestUnicodePaths` for the motivation for this change.
9:05 PM Changeset [996:e916ed71e7b4] by Stefan Schwarzer <sschwarzer@…>
Allow PyLint options.

Nov 10, 2010:

11:35 AM SourceCode edited by schwa
(diff)

Oct 24, 2010:

5:28 PM Ticket #54 (Auto-increment functionality for stat cache) created by schwa
(For some background on stat caching read the …
2:14 PM Changeset [995:512d373510f5] by Stefan Schwarzer <sschwarzer@…>
Fixed typo.
2:08 PM Milestone 2.5 completed
2:07 PM Download edited by schwa
(diff)
2:06 PM ftputil-2.5.tar.gz attached to Download by schwa
2:02 PM Changeset [994:2d2947318ee4] by Stefan Schwarzer <sschwarzer@…>
Added tag release2_5 for changeset fecedcf18e07
2:02 PM Changeset [993:fecedcf18e07] by Stefan Schwarzer <sschwarzer@…>
Fixed typo.
2:01 PM Documentation edited by schwa
Updated documentation for release 2.5. (diff)
1:56 PM Changeset [992:5e583161b047] by Stefan Schwarzer <sschwarzer@…>
Added FAQ on cache flushing when iterating over large directories.
1:31 PM Changeset [991:19406cc99914] by Stefan Schwarzer <sschwarzer@…>
Changes due to version number increase.
1:30 PM Changeset [990:6f0c72ee2d89] by Stefan Schwarzer <sschwarzer@…>
Add command `make docs`.
1:29 PM Changeset [989:1576d09192d1] by Stefan Schwarzer <sschwarzer@…>
Increased version number to 2.5.
1:29 PM Changeset [988:6a0d674c2700] by Stefan Schwarzer <sschwarzer@…>
Changed version of most recent announcement to 2.5.

Oct 21, 2010:

12:19 AM Ticket #53 (FTPHost.walk fails when the argument is a unicode string and the tree ...) created by schwa
When FTPHost.walk is used to examine a filesystem tree which …
Note: See TracTimeline for information about the timeline view.