1. 01 Jul, 2021 4 commits
  2. 25 Mar, 2021 3 commits
  3. 09 Feb, 2021 1 commit
  4. 10 Dec, 2020 2 commits
  5. 04 Dec, 2020 2 commits
  6. 02 Nov, 2020 1 commit
  7. 30 Oct, 2020 1 commit
  8. 10 Sep, 2020 2 commits
  9. 09 Sep, 2020 1 commit
  10. 17 Aug, 2020 1 commit
    • Matias Guijarro's avatar
      config: Node object refactoring to allow on-demand references evaluation, and... · c9a73209
      Matias Guijarro authored
      config: Node object refactoring to allow on-demand references evaluation, and improvements on cloning and conversion to dictionary
      
      * introduction of the Reference object
          - reference object has an 'eval' function to evaluate a reference
          - evaluation returns an object from config, or the value of an object attribute
      * '$' prefix in YAML values now creates a Reference
          - no reference evaluation at YAML parsing time
      * backward compatibility
          - getting a key with a reference returns the value, not the Reference
              * => introduction of ConfigList object to represent lists
          - '.raw_*' methods returns the raw contents, ie. with Reference objects instead of reference evaluated values
      * node filenames are kept in Node objects
          - removed 'node2file' dictionary
      * nodes are indexed automatically when inserting a 'name' key
          - no need for 'create_index'
          - same for tags
      * '.to_dict()' method relies on the Python JSON decoder
          - simplification of the code
      * '.deep_copy()' is renamed to '.clone()'
      * '.deep_copy()' now relies on pickle
          - simplification of the code
          - nodes need a reference to the Config object => a trick is used to allow pickling/unpickling
              * the config object is saved to a tmp dict on pickling, and popped out on unpickling
      * removed call to 'gc.collect()'
          - unclear why it was there at the first place
      * removed weakref to Config object in nodes
          - nodes need the config, the config has to stay alive as long as nodes are there
      c9a73209
  11. 22 Jul, 2020 6 commits
  12. 21 Jul, 2020 1 commit
  13. 19 Jun, 2020 1 commit
  14. 13 May, 2020 2 commits
  15. 16 Apr, 2020 1 commit
  16. 15 Apr, 2020 1 commit
  17. 13 Mar, 2020 1 commit
  18. 04 Mar, 2020 1 commit
  19. 02 Mar, 2020 1 commit
  20. 01 Mar, 2020 1 commit
  21. 17 Feb, 2020 1 commit
  22. 10 Feb, 2020 1 commit
  23. 31 Jan, 2020 1 commit
  24. 29 Jan, 2020 1 commit
  25. 23 Jan, 2020 1 commit
  26. 15 Jan, 2020 1 commit