summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2006-03-30lib/bb/data_smart.py:Holger Hans Peter Freyther
-The pickling API is not too obvious. One can not call p.dump multiple times. Instead we store it as a tuple. -Same applies for unpickling. -Hmm current programming languages suck. It can't be true to use multiple assignment for something as easy as a 'symmetric' command.
2006-03-29bitbke/lib/bb/data_smart.py:Holger Hans Peter Freyther
-createCopy is not called, instead a constructor is invoked. Copy the cookies here as well. Currently I only copy them from 'clean' as we should have them pickled already...
2006-03-29bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther
Remember what we paid to the Cookie Monster. Make a copy of it. Currently we do no removal of these keys so I hope to get around the shallow copies as welbitbake/lib/bb/data_smart.py: Remember what we paid to the Cookie Monster. Make a copy of it. Currently we do no removal of these keys so I hope to get around the shallow copies as welll
2006-03-29bitbake/lib/bb/data.py:Holger Hans Peter Freyther
-Only have one expand method in the dict implementation. -Apply some magic knowledge by feeding the cookie master. -Speed up update_data by asking the Cookie Monster for help. We do not iterate over each key, but the keys we know that have the data we care about. This gives a huge speed improvement to parsing. bitbake/lib/bb/data_smart.py: -Make setVar more expensive by feeding the cookie monster
2006-03-23bitbake/lib/bb/cache:Holger Hans Peter Freyther
-Fix the method invocation in methodpool to use the right amount of arguments -Update data_smart to the new cache layout of the file functions
2006-03-23bitbake/method pool:Holger Hans Peter Freyther
Create a common implementation of the global method handling. It will be shared by the parsers and the cache. This commit breaks the cache again
2006-03-22lib/bb/event.py:Holger Hans Peter Freyther
-Add Registered and AlreadyRegistered as return values for register
2006-03-22lib/bb/data_smart.py:Holger Hans Peter Freyther
ReAdd the handlers when unpickling the file parse/parse_py/BBHandler.py: Save the once added handlers in the bitbake file.
2006-03-22bin/bitbake:Holger Hans Peter Freyther
-Do not add handlers again. It is 'fast' enough to iterate over them in the BBHandler do not add them in bitbake again. This temporarily breaks the cache - which will be fixed shortly lib/bb/event.py: -Have a data structure that operates faster on lookups -Change register/remove to take a 'name' parameter lib/bb/parse/parse_py/BBHandler.py: -Update to the new event.register syntax
2006-03-22parse/parse_py/BBHandler.py:Holger Hans Peter Freyther
Compile and Execute methods from .inc and .class files only once. I'm not sure about a performance win here at least it is not decreasing performance
2006-03-21bin/bitbake: Micro OptimisationHolger Hans Peter Freyther
Do not build the World Package List unless we want to build 'world'. This saves from 10 to 20 seconds on a usual build. I think people doing a world build can survice the extra seconds.
2006-03-21parse/parse_c/BBHandler:Holger Hans Peter Freyther
Implement some bits of the C parser. We will do the easy things in python and then initialize the lexer/parser.
2006-03-20bin/bitbake:Richard Purdie
Fix RRECOMMENDS_${PN} and RPROVIDES_${PN} handling.
2006-03-20parse/parse_c:Holger Hans Peter Freyther
-python_output will be called from the parser. Once we have each method implemented we have a working C++ parser -Add BBHandler. It will parse .bbclass, .inc and .bb files for us and calls into c (if speed critical we might remove that fascade) -make scanner get FILE* and PyObject* as input -make parser call python_output with lex_t -bitbakescanner.cc,bitbakeparser.cc update generated code -Parsing flow: parse -> handle -> parse_c.BBHandler -> parse_c.C -> lex -> (lemon *-> python_output) ... return
2006-03-19bitbake/bin/bitbake:Holger Hans Peter Freyther
Create a ordinary main method. This makes invoking the hotshot profiling tool much more easy
2006-03-19parse_c:Holger Hans Peter Freyther
Add require to the scanner
2006-03-19bitbake/lib/bb/parse/parse_c:Holger Hans Peter Freyther
-Update grammar to use require -Make code compile (almost) -Add the generated code to svn for portability reasons.
2006-03-18bitbake/bin/bitdoc:Holger Hans Peter Freyther
Make it work with python2.3 and python2.4
2006-03-17bitbake/bin/bitdoc:Holger Hans Peter Freyther
-Use paragraphs instead of 'pre'. This enables line wrapping for too big comments
2006-03-17bitbake/bin/bitdoc:Holger Hans Peter Freyther
-Do not link to keys.html and groups.html, use the right site -Make it possible to have descriptions for groups as well
2006-03-17bitbake/bitdoc:Holger Hans Peter Freyther
-Work on case insensitive filesystems where keys.html == keyS.html -Create all_groups.html and all_keys site -Sort the keys in a group -Emit the ',' only when needed
2006-03-17bitbake/lib/bb:Holger Hans Peter Freyther
Bump the minor minor version again
2006-03-17lib/bb/fetch.py:Holger Hans Peter Freyther
-svn_rsh was used, but the code was unreachable leading to runtime errors -now if the proto is svn+ssh, honor rsh parameter of the URL
2006-03-16bitbake/bin/bitdoc:Holger Hans Peter Freyther
-We do not need make, we only need bb.parse
2006-03-16bitbake/doc/manual:Holger Hans Peter Freyther
Start documenting the available fetchers and their VARIABLES and Parameters
2006-03-16bitbake/lib/bb/fetch/svn:Holger Hans Peter Freyther
Remove the CVS origin from the SVN fetcher. ext and pserver are not used by subversion.
2006-03-13bitbake/lib/bb/event.py:Holger Hans Peter Freyther
Introduce a NoProvider Event. It contains a 'runtime' flag, the item name and the configuration data. bitbake/bin/bitbake: Fire the NoProvider event at some spots. There are more events we need to fire. Ideally the BitBake UI would just be a handler...
2006-03-08lib/bb/utils.py:Holger Hans Peter Freyther
Do not report RuntimeErrors for SkipPackage and FuncFailed
2006-03-08bitbake/lib/bb/utils.py:Holger Hans Peter Freyther
Kill the code duplication
2006-03-08lib/bb/utils.py:Holger Hans Peter Freyther
Do not go past the buffer (this looks like copy and paste)
2006-03-08bitbake/lib/bb/utils.py:Holger Hans Peter Freyther
Do not report Skipped Packages as runtime error
2006-03-07lib/bb/utils.py:Holger Hans Peter Freyther
-Be less verbose
2006-03-07bitbake/lib/bb/utils.py:Holger Hans Peter Freyther
-This not Thiis -Print the RuntimeError with context gosh that is looking awesome. -Now debugging errors in custom bbclasses, python methods should be much more easy
2006-03-07bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther
Give a filename to the better compile method. (sorry)
2006-03-07bitbake/lib/bb/utils.py:Holger Hans Peter Freyther
Create a work in progress version for better_execute. With advanced error reporting facilities. bitbake/lib/bb/build.py: Use better_execute bitbake/parse/parse_py/BBHandler.py: Use better_execute instead of exex
2006-03-07bitbake/lib/bb/data_smart.py,event.py:Holger Hans Peter Freyther
Use bb.utils.better_compile instead of the simple compile for better error reporting
2006-03-05bitbake/bin/bitbake:Holger Hans Peter Freyther
Prepend the lib module instead of appending to override the system installation bitbake/lib/bb/data.py: Same as above, prepend instead of append
2006-03-01bitbake/lib/bb/fetch/git.py:Richard Purdie
Improvements to the git fetcher including using the src mirrors, updates to use modern git commands, making the code more efficent and remove some old debug.
2006-02-26bitbake/parser,build,utils:Holger Hans Peter Freyther
We compile strings into code. In case of erros the traceback is not useful at all. It doesn't print the function name, accurate line number etc. Introduce a better_compile method that excepts the Error and prints the surrounding lines of code. We make use of it on the parsing level and execution level of python methods.
2006-02-26bitbake/lib/bb/__init__.py:Holger Hans Peter Freyther
Remove the configuration reading class. We have two parsers already
2006-02-26bitbake/lib/bb/event.py:Holger Hans Peter Freyther
Rename the removeCode and addCode to _removeCode and _addCode as they are private and internal.
2006-02-26bin/bitbake:Holger Hans Peter Freyther
Remove the whitespace... well I have seen it and removed it.
2006-02-26lib/bb/data.py:Holger Hans Peter Freyther
Document the weird semantic of the setVarFlags. It behaves more like an addVarFlags call. Existing variables are not going to be removed.
2006-02-25lib/bb/event.py:Holger Hans Peter Freyther
The Data Module is not a simple dict anymore. So use the bb.data.init() method to create a default data storage.
2006-02-24bitbake/lib/event.bb:Holger Hans Peter Freyther
-make multiple providers inherit Event directly. Save the kind (runtime vs. buildtime) the item and the providers bin/bitbake: -Fire multiple providers issue as Event
2006-02-24lib/bb/__init__.py:Holger Hans Peter Freyther
bump the version
2006-02-23lib/bb/event.py:Holger Hans Peter Freyther
Safe the number of failed packages even if the BuildCompleted bin/bitbake: count the number of broken packages
2006-02-21bitbake/bin/bitbake:Richard Purdie
- ASSUME_PROVIDED allowed to include runtime names
2006-02-21bitbake/lib/bb/fetch/:Richard Purdie
- Remove useless bitkeeper fetcher
2006-02-21bitbake/lib/bb/utils.py:Richard Purdie
- Fix a RDEPENDS parsing bug in utils:explode_deps() (versions containing spaces didn't parse correctly) bitbake/lib/bb/fetch/git.py: - Update git fetcher behaviour to match git changes