aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2005-05-17lib/bb/data.py:Holger Hans Peter Freyther
Use the new data_smart dictionary lib/bb/data_smart.py: The old COW Implementation, made persistent and pass the test suite. I commit it because the persistent mode in data_dict.py seems broken and I don't want to leave you with a broken bitbake. Todo: -do a deepcopy on the parent. When we pickle we use sharing anyway and it is pretty obvious we will pickle as we're the persistent implementation.
2005-05-17lib/bb/data.py:Holger Hans Peter Freyther
-Remove default arguments from the data methods. They cast errors. (we need to update the test case though) lib/bb/parse/ConfHandler.py: -Use the right dictionary
2005-05-17lib/bb/data.py:Holger Hans Peter Freyther
-Provide a special 'collection/dict' for the collected bb-files. If we use a persistent storage (CACHE) we will not hold any data instance in memory but load it from disk on demand. This reduces bitbakes memory usage to roughly 40MB. The initial parsing currently takes roughly thirty seconds more. lib/bb/make.py: -Use the new data implementation for pkgdata. -Do not access pkgdata[f] if we've the data already in our hands
2005-05-17lib/bb/data.py:Holger Hans Peter Freyther
· -Add a method to get the modify time of named bb.data instance · -Add a method to create a named bb.data instance. These instances · inherit the global configuration. lib/bb/data_dict.py: · -Add persistents to the data_dict implementation, on the commit method we will now pickle the internal dict lib/bb/make.py: -Use the new persistent/named bb.data methods.
2005-05-17lib/bb/build.py:Holger Hans Peter Freyther
Do not assume we hold a reference to the variable we got with a bb.data.getVar*. Always set changes back to the variable.
2005-05-17lib/bb/fetch.py:Holger Hans Peter Freyther
* Remove default params from the fetcher methods to avoid problems with scoping. The meaning of 'd' is quite overloaded and we try to undo it one by one. This change is a bit more invasive than I had hoped for but it is needed. -- Holger Hans Peter Freyther <freyther@handhelds.org>
2005-05-17createCopy:Holger Hans Peter Freyther
-Move a createCopy method into data.py -Make code creating deepcopies of the data instance use this new createCopy
2005-05-17bitbake data module abstraction:Holger Hans Peter Freyther
-bb.data is now a delegate to hookable Data implementation. -bb.data.init() is the 'factory' method to create a instance of a concrete implementation. -Kill assumptions that bb.data.init() returns a {} (python dict) -Add the old Dictionary Based Implementation as data_dict.py
2005-01-17Unbork our event classes a bit. Added a 'data' property to the Build events ↵Chris Larson
to be more consistent with the other events.
2005-01-17As recommended by pb_ and RP, prepend the task name with 'task_' when ↵Chris Larson
mangling OVERRIDES in bb.data.exec_task().
2005-01-16add current task name to OVERRIDES during executionPhil Blundell
2005-01-02correct transposed protocol/revision parameters to svn checkout;Phil Blundell
patch courtesy Paul Eggleton
2004-12-27emit_var(): if showing all vars, emit even those with invalid names1.0Phil Blundell
2004-12-26Re-raise bb.build.FuncFailed if it's encountered in emit_var. This ensures ↵Chris Larson
that builds of packages that attempt to read the kernel-version file (like kernel modules) fail as they should.
2004-12-09Clean up the BBPATH mangling bits in the parser.Chris Larson
2004-12-09Fix the BBPATH mangling fix..Chris Larson
2004-12-09Add the location of the .bb file to BBPATH in the parser's handle() function ↵Chris Larson
rather than load_oefile, since we need it done for 'include'd files as well as those directly loaded by the 'bitbake' commandline tool.
2004-12-09Adapt bits to the new way of handling the debug level.Chris Larson
2004-12-09Apply patch from seb (proti) to fix OEDEBUG and add a debug commandline ↵Chris Larson
argument.
2004-12-07Initial import.Chris Larson