| Age | Commit message (Collapse) | Author |
|
- Small parsing performance improvements:
80b9198 (Micro-optimize Symbol.__init__() a bit)
626b6ea (Check for type first when parsing properties)
d6aa5cf (Tokenize in _next_line())
- Minor documentation nits (typos, etc.)
|
|
|
|
Copy-paste error.
Piggyback error message consistency nit for help_grep.py.
|
|
|
|
s/_parsing_configs/_parsing_kconfigs/
|
|
|
|
- Remove redundant parentheses in indent_print().
- Use unnumbered replacement fields with format().
|
|
Already have the parent in 'parent'.
|
|
Leftovers
|
|
No need to use a dictionary.
|
|
Rephrase it a bit too.
|
|
Fetching the next line is always followed by tokenization in practice
(outside of help texts), so things can be simplified a bit. Return
True/False to indicate EOF instead of returning the line.
|
|
Most common case. Make it cheap by storing the list of type tokens
separately instead of building the tuple each time through.
Shaves a few % off the runtime for property parsing.
|
|
|
|
Chained assignments turn a bunch of LOAD_CONSTs into DUP_TOPs. Shaves
~10% off the runtime of _lookup_sym().
Do the same for Choice.__init__(), just for consistency. Remove an
accidental duplicated assigment to 'defaults' too.
|
|
Similar to _get_assignable(). Cleaner than setting the cached value at
every 'return'.
|
|
IANAL, but hopefully this should be enough. Don't bundle the license
file. Might be easier to work with if just kconfiglib.py is copied.
|
|
Some were for now-removed APIs, others tested things that are tested
differently now.
|
|
The previous version would accept stuff like
'option env defconfig_list', due to how the tests were laid out.
|
|
|
|
Just a few nits and a small optimization: d890343 (Micro-optimize
write_config() a bit). No bug fixes or functional changes.
|
|
The invalidation is necessary now that no global invalidation is done
before loading a .config.
|
|
Shaves a few % in line_profiler with no loss in readability.
Menus and comments are rare relatively speaking (~10% of all items
written out for alldefconfig), so optimize for the symbol case.
|
|
Bit less redundant.
|
|
Not needed anymore.
Just write the .config lines out directly. Saves creating the temporary
list. No detectable performance difference, positive or negative.
|
|
|
|
Avoiding global invalidation is much faster. There was just a lot of
redundant invalidation for promptless symbols going on when the comment
was first written.
|
|
Preferred method, should 'option modules' be properly supported later.
|
|
Clean up some formatting a bit too.
|
|
Can use the magic .type attribute to check for modules being disabled.
Also remove note about infinite recursion. Pretty sure anything that
would cause infinite recursion here would be a proper circular
dependency (like MODULES depending on m).
|
|
Pointless as an optimization here. Should restrict obfuscating
micro-optimization to the library code too even where it helps.
|
|
To get 3832555 (Reenable accidentally disabled no-prompt warning) in.
|
|
Warnings for assignments to promptless symbols should be enabled
directly after Kconfig parsing. Braino from inverting the meaning of the
flag earlier.
The flag got properly reset after loading a .config.
|
|
Versions of properties without parent dependencies propagated aren't
saved anymore (though it'd be easy to add back if needed).
|
|
|
|
|
|
Copy-paste error. iscriptconfig is only explained in the docstring.
|
|
|
|
Merge in the 'kconfiglib-2-backup' branch.
|
|
|
|
|
|
Confirms that all the examples that aren't tested in the test suite at
least run. Easy to miss brokenness there. Output can be inspected
manually (it'll vary depending on the kernel version).
Fix defconfig_oldconfig.py, which hadn't been properly updated for the
new API.
|
|
|
|
I wonder if there's a nicer way to get an italic link with RST...
|
|
|
|
|
|
|
|
Add the esp-idf script too.
|
|
|
|
|