| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-08 | Compactify get_defconfig_filename(). | Ulf Magnusson | |
| 2015-06-08 | Compactify some more. | Ulf Magnusson | |
| 2015-06-08 | Compactify some methods a bit. | Ulf Magnusson | |
| 2015-06-08 | Space nit. | Ulf Magnusson | |
| 2015-06-08 | Remove redundant parentheses. | Ulf Magnusson | |
| 2015-06-08 | Clean up _get_sym_or_choice_str(). | Ulf Magnusson | |
| Bit silly to use separate variables for trivial fields. | |||
| 2015-06-07 | Do not require $srctree to be set for non-kernel projects. | Ulf Magnusson | |
| (It was never required if you explicitly passed a 'base_dir', but it's a bit silly to have to do that too.) This is a bug. I expected os.path.expandvars() to replace references non-set environment variables with nothing, but it leaves them as is. Work around it by letting base_dir = None be special and the default. It uses $srctree if set and the current directory otherwise. This has the following advantages: - It avoids having to reimplement a different version of os.path.expandvars() and special-casing "" to mean the current directory. - It means '$' can appear in paths. (Though it probably never will.) Maybe the expansion behavior could be removed too, but keep it for now to be backwards compatible. | |||
| 2015-06-07 | Turn remove_while() into remove_blank(). | Ulf Magnusson | |
| This is the only way it's used. Maybe it ought to be removed completely. | |||
| 2015-06-07 | T_HELP style nits. | Ulf Magnusson | |
| 2015-06-07 | Unset user values when loading a zero-byte .config. | Ulf Magnusson | |
| Minor bug due to an early return from load_config(). Piggyback a refactoring of the code. Reading the header is unlikely to be performance-sensitive. Add a testcase too. | |||
| 2015-06-07 | Yet more whitespace nits. | Ulf Magnusson | |
| 2015-06-07 | Whitespace nits. | Ulf Magnusson | |
| 2015-06-06 | Whitespace nits. | Ulf Magnusson | |
| 2015-06-06 | Ignore indented .config assignments. | Ulf Magnusson | |
| Just noticed that the C implementation does. Haven't run into it in the wild. For example, the assignment to B below is ignored: CONFIG_A=y CONFIG_B=y | |||
| 2015-06-06 | Merge _strip_quotes() into load_config(). | Ulf Magnusson | |
| Faster without sacrificing readability. | |||
| 2015-06-06 | load_config() nit. | Ulf Magnusson | |
| Each expression in the loop is relatively expensive at this point too. | |||
| 2015-06-06 | Make comment in load_config() more accurate. | Ulf Magnusson | |
| 2015-06-06 | Test help text terminated by comment. | Ulf Magnusson | |
| 2015-06-06 | Improve get_help() test coverage. | Ulf Magnusson | |
| In preparation for some changes. | |||
| 2015-06-06 | Space nits. | Ulf Magnusson | |
| 2015-06-06 | Create Symbol.dep in symbol.__init__(). | Ulf Magnusson | |
| All symbols get a 'dep', so it's pointless to do it afterwards. | |||
| 2015-06-06 | Explain why eval() might seem sloppy. | Ulf Magnusson | |
| 2015-06-06 | s/value/val/ in string parsing. | Ulf Magnusson | |
| For consistency. | |||
| 2015-06-06 | Test for exceptions in a cleaner way. | Ulf Magnusson | |
| 2015-06-06 | Add some test cases for malformed expressions. | Ulf Magnusson | |
| Also fix a tokenizer nit: a '!' at the end of a line can be tokenized (though it's meaningless). | |||
| 2015-06-06 | Use 'raise A(b)' instead of 'raise A, b'. | Ulf Magnusson | |
| Bit neater, and Python 3-friendly. | |||
| 2015-06-06 | Reorder _Feed methods. | Ulf Magnusson | |
| 2015-06-06 | Simplify _Feed.len(). | Ulf Magnusson | |
| 2015-06-06 | Simplify _Feed.check(). | Ulf Magnusson | |
| 2015-06-06 | Get rid of two 'filename' and 'linenr' variables. | Ulf Magnusson | |
| Semi-pointless in _parse_block(). Often not even used. | |||
| 2015-06-06 | Remove _Feed.__getitem__(). | Ulf Magnusson | |
| Also add named choices defined in multiple locations to the block at each location. Not sure why I only added them at the first location before, as symbols don't work that way. I still doubt named choices defined in multiple locations will ever be used. | |||
| 2015-06-06 | Remove _Feed.is_empty(). | Ulf Magnusson | |
| Redundant. | |||
| 2015-06-05 | s/cached_value/cached_val/ | Ulf Magnusson | |
| Consistent with 'user_val'. | |||
| 2015-06-05 | Remove some vertical spam. | Ulf Magnusson | |
| 2015-06-05 | Move some ANDs after ORs for consistency. | Ulf Magnusson | |
| 2015-06-05 | Get rid of the _Block class -- use plain lists. | Ulf Magnusson | |
| _Block turned simple enough that it became pointless. | |||
| 2015-06-05 | Remove _Block.add_depend_expr() -- unused. | Ulf Magnusson | |
| The entire _Block class is probably up next. | |||
| 2015-06-05 | _parse_block() style nit, take two. | Ulf Magnusson | |
| The menu must be added to self.menus before parsing its contents, so that it comes before any contained menus. Make the comment and menu cases consistent by rearranging the comment case instead. | |||
| 2015-06-05 | Revert "_parse_block() style nit." | Ulf Magnusson | |
| Ops... this breaks menu ordering. | |||
| 2015-06-05 | _parse_block() style nit. | Ulf Magnusson | |
| 2015-06-05 | Add warning re. tests overwiting .config. | Ulf Magnusson | |
| Sorry if this has bit anyone! | |||
| 2015-06-05 | _internal_error() nit. | Ulf Magnusson | |
| 2015-06-05 | Format some stuff consistently. | Ulf Magnusson | |
| 2015-06-05 | Use the 'get' method of 'keyword' directly. | Ulf Magnusson | |
| Small tokenizer optimization, similar to the regex optimizations. | |||
| 2015-06-05 | Improve tokenization performance by removing a single character. | Ulf Magnusson | |
| strip() instead of lstrip() makes the loop terminate earlier, saving lots of calls. Shaves a few % of parsing the x86 Kconfigs. | |||
| 2015-06-05 | Restructure and simplify parts of the tokenizer. | Ulf Magnusson | |
| Pre-bump 'i' and let it be the index of the "next" character instead. | |||
| 2015-06-05 | Fix hang when tokenizing some invalid expressions. | Ulf Magnusson | |
| c.eval("&") would cause a hang before for example. | |||
| 2015-06-04 | Clean up parse error handling. | Ulf Magnusson | |
| strip() the faulty line (seeing that whitespace probably isn't helpful), remove an assert that probably isn't useful in practice, and simplify the code. | |||
| 2015-06-04 | Clean up tokenization error handling. | Ulf Magnusson | |
| - The caret was always set to the end of the string in the current version, which is pointless. - Part of the error string was output manually, and part of it was part of the exception message. Ugly oversight. | |||
| 2015-06-04 | Documentation nit. | Ulf Magnusson | |
