1. 27 Feb, 2019 1 commit
  2. 24 Feb, 2019 1 commit
  3. 06 Jan, 2019 1 commit
  4. 18 Mar, 2018 1 commit
  5. 02 Mar, 2018 1 commit
  6. 20 Sep, 2017 1 commit
  7. 08 Jan, 2017 1 commit
  8. 11 Feb, 2016 1 commit
  9. 17 Oct, 2014 2 commits
  10. 10 Oct, 2014 1 commit
  11. 03 Sep, 2014 1 commit
  12. 05 Jul, 2014 1 commit
  13. 19 May, 2014 1 commit
  14. 22 Jan, 2014 1 commit
  15. 08 Jan, 2014 1 commit
  16. 17 Dec, 2013 1 commit
  17. 03 Aug, 2013 1 commit
  18. 27 Jul, 2013 2 commits
  19. 16 May, 2013 1 commit
  20. 26 Mar, 2013 1 commit
  21. 12 Feb, 2013 1 commit
  22. 07 Feb, 2013 1 commit
  23. 25 Jan, 2013 1 commit
  24. 10 Jan, 2013 1 commit
  25. 12 Nov, 2012 2 commits
  26. 28 Oct, 2012 1 commit
  27. 10 May, 2012 1 commit
  28. 04 May, 2012 1 commit
  29. 27 Apr, 2012 1 commit
  30. 03 Apr, 2012 1 commit
  31. 14 Mar, 2012 1 commit
  32. 13 Mar, 2012 1 commit
    • Laurent Bachelier's avatar
      Make Collection more safe and sane · b4b71829
      Laurent Bachelier authored
      * Remove callbacks in Collection object
        Make Collection a "dumb" object (and also a base object,
        though it isn't very useful for now)
      * Rename Path to WorkingPath, because it is more about managing state
        than being a single path.
      * Rewrite almost all WorkingPath, because the code was overly
        complicated for no reason (I tried some special cases and it turned
        out that fromstring didn't handle them, and that the
        quote-escape-unquote was just unecessary). I also rewrote it to be
        more pythonic (no more lambdas and maps) and added tests.
      * Require the full split path when creating a Collection. Because, come to
        think of it, an object needs an unique identifier; in the case of
        Collections, it is the full path, not only its last part.
        I might even replace the id by the full split path in the future.
      * There is now only one way to get items of a Collection: calling
        iter_resources().
      * Rewrite flatten_resources to iter_resources_flat(), which just calls
        iter_resources() recursively.
      * Rewrite the collection part of the canalplus module. There is no more
        callback or a page calling the browser to check another page!
        The logic is only in iter_resources().
        The resulting code is not very pretty, but it should get better.
        As a bonus, avoid to reload the main XML file when we already have it
        open.
      * change_path() now expects a split path and not a string.
      * up/home special cases for "cd" are handled in the same place, and
        store the previous place properly (but are not yet exploitable by
        an user command).
      
      This is a big commit but it would be hard to split it in *working*
      commits.
      
      If you read this entire commit message, I will buy you a beer.
      
      refs #774
      fixes #773
      b4b71829
  33. 14 Feb, 2012 2 commits
  34. 05 Feb, 2012 1 commit
  35. 10 Oct, 2011 1 commit
  36. 08 May, 2011 1 commit