CIA

Syndicate content Michael Marineau
CIA Stats
Updated: 1 hour 4 min ago

Add a new Leaf class that wraps strings, numbers, etc. The primary purpose of...

Thu, 09/09/2010 - 02:12
Commit by marineam :: r259 /trunk/coil/ (parser.py struct.py): (link) Add a new Leaf class that wraps strings, numbers, etc.

The primary purpose of this class is to handle the ${path} style links
in strings. The plan is for Struct and List wrap and unwrap values in
setitem/getitem so Leaf remains transparent to the user.
Categories: Code Commits

Give Links the logic to translate their path during copy operations. This...

Thu, 09/09/2010 - 02:12
Commit by marineam :: r258 /trunk/coil/ (errors.py parser.py struct.py): (link) Give Links the logic to translate their path during copy operations.

This removes the first small piece of logic from StructPrototype.
Categories: Code Commits

Move the copy method from Struct to Node, use for all Node classes.

Thu, 09/09/2010 - 02:12
Commit by marineam :: r257 /trunk/coil/struct.py: (link) Move the copy method from Struct to Node, use for all Node classes.
Categories: Code Commits

Bump coil version to 0.3.99 to denote that this is 0.4-dev.

Thu, 09/09/2010 - 02:12
Commit by marineam :: r256 /trunk/coil/__init__.py: (link) Bump coil version to 0.3.99 to denote that this is 0.4-dev.
Categories: Code Commits

Add Node test cases

Wed, 09/08/2010 - 01:34
Commit by marineam :: r255 /trunk/coil/test/test_node.py: (link) Add Node test cases
Categories: Code Commits

New struct.Node base class for Link, List, and Struct. Move various path...

Wed, 09/08/2010 - 01:31
Commit by marineam :: r254 /trunk/coil/struct.py: (link) New struct.Node base class for Link, List, and Struct.

Move various path handling pieces out of Struct and into a new Node
class. This way I can make List and Link tree aware so they can handle
their expansion themselves. The eventual goal is to get all of the
expansion related code out of the parser.

Also, name, _path, and root are now node_name, node_path, and tree_root.
This names are less ambiguous so I'm less likely to goof up and create an
attribute name conflict between Node and it's ch
Categories: Code Commits

Small tweak for the sphinx docs, order things slightly better.

Wed, 09/08/2010 - 01:31
Commit by marineam :: r253 /trunk/docs/conf.py: (link) Small tweak for the sphinx docs, order things slightly better.
Categories: Code Commits

Convert another reference to list to List and fix dict()'s copy.

Wed, 09/08/2010 - 01:31
Commit by marineam :: r252 /trunk/coil/struct.py: (link) Convert another reference to list to List and fix dict()'s copy.
Categories: Code Commits

Small refactor, add Struct.root attribute.

Wed, 09/08/2010 - 01:31
Commit by marineam :: r251 /trunk/coil/struct.py: (link) Small refactor, add Struct.root attribute.
Categories: Code Commits

Introduce new struct.List class and use instead of list. This list class will...

Tue, 09/07/2010 - 19:03
Commit by marineam :: r250 /trunk/ (4 files in 3 dirs): (link) Introduce new struct.List class and use instead of list.

This list class will always recursively copy and other lists within the
sequence that it is initialized from. Previously if a coil tree was
copied and modified changes to some lists would show up in all copies of
the tree. Luckily no one has noticed this bug so far.
Categories: Code Commits

Add profiler helper options to coildump for easy testing.

Fri, 09/03/2010 - 22:48
Commit by marineam :: r249 /trunk/bin/coildump: (link) Add profiler helper options to coildump for easy testing.
Categories: Code Commits

Rework the Struct class onto Python 2.7's OrderedDict class. Although this...

Fri, 09/03/2010 - 22:48
Commit by marineam :: r248 /trunk/ (4 files in 2 dirs): (link) Rework the Struct class onto Python 2.7's OrderedDict class.

Although this doesn't clean up a whole lot I think it will prove to be a
good thing in the long run. An alternate implementation is also included
for compatibility with older versions of Python.
Categories: Code Commits

Consider attribute order in Struct equality tests. Previous versions of 0.3.x...

Fri, 09/03/2010 - 22:48
Commit by marineam :: r247 /trunk/coil/ (struct.py test/test_parser.py): (link) Consider attribute order in Struct equality tests.

Previous versions of 0.3.x used the default unordered dict comparison
when testing equality. So even though Structs are ordered mapping
objects order didn't matter in comparisons. This lead to a surprise in
the unit tests, for a long while I couldn't figure out how the @map unit
test was actually passing because the ordering was wrong.

This is an incompatible change so it is not suitable for 0.3.x.
Categories: Code Commits

Kill out of date and unused 0.4 branch, add 0.3 branch. I'm going to start some...

Fri, 09/03/2010 - 18:37
Commit by marineam :: r246 /branches/ (coil-0.3 coil-0.4): (link) Kill out of date and unused 0.4 branch, add 0.3 branch.

I'm going to start some larger updates in trunk, 0.3 will remain stable.
Categories: Code Commits

Fix tokenizer so it accepts comma characters

Thu, 09/02/2010 - 22:08
Commit by marineam :: r543 /trunk/python/nagcat/nagios_api.py: (link) Fix tokenizer so it accepts comma characters
Categories: Code Commits

Clean up a load of little pyflakes errors

Thu, 09/02/2010 - 19:10
Commit by marineam :: r542 /trunk/python/nagcat/ (9 files in 3 dirs): (link) Clean up a load of little pyflakes errors
Categories: Code Commits

Add support for comma separated lists in downtime expressions. Format is...

Thu, 09/02/2010 - 19:10
Commit by marineam :: r541 /trunk/python/nagcat/nagios_api.py: (link) Add support for comma separated lists in downtime expressions.

Format is something like: host:host1,host3
Categories: Code Commits

Always add the requested object types to the result

Fri, 08/27/2010 - 18:35
Commit by marineam :: r540 /trunk/python/nagcat/_object_parser_c.pyx: Always add the requested object types to the result
Categories: Code Commits

Fix a data corruption error in the C parser, add diff-parsers script.

Fri, 08/27/2010 - 18:26
Commit by marineam :: r539 /trunk/ (2 files in 2 dirs): Fix a data corruption error in the C parser, add diff-parsers script.
Categories: Code Commits

PotentialZombieWarning is deprecated in Twisted 10.0.0

Wed, 08/25/2010 - 18:44
Commit by marineam :: r532 /trunk/python/snapy/netsnmp/unittests/__init__.py: PotentialZombieWarning is deprecated in Twisted 10.0.0
Categories: Code Commits