| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-09 | Add note re. __str__() tests. | Ulf Magnusson | |
| 2015-06-09 | Test object __str__() methods. | Ulf Magnusson | |
| The format of the strings isn't set in stone, but it's nice to verify that nothing changes. This code was incredibly boring to write. :P | |||
| 2015-06-09 | Verify that indented .config assignments are ignored. | Ulf Magnusson | |
| 2015-06-09 | Support using Python 3 with iscriptconfig. | Ulf Magnusson | |
| Can't use print as an expression. Also switch to using a single context line (which should hopefully be stable). This might make the patch more robust, and also makes it clear approx. where it should go. Also fix 'iscriptconfig' spelling in the readme. | |||
| 2015-06-08 | Test suite nits. | Ulf Magnusson | |
| 2015-06-08 | Remove unused .format() argument in test suite. | Ulf Magnusson | |
| 2015-06-08 | Add Python 3 support. | Ulf Magnusson | |
| Only incompatibilities left were itervalues() vs. values() and 'print' expressions. | |||
| 2015-06-08 | Space nits. | Ulf Magnusson | |
| 2015-06-08 | Hide regex functions from pydoc. | Ulf Magnusson | |
| 2015-06-08 | Avoid redefining builtin. | Ulf Magnusson | |
| 2015-06-08 | Get rid of the _HasVisibility class. | Ulf Magnusson | |
| Factor out the Symbol/Choice common visibility calculation into a global function instead. Less cryptic, and faster too. | |||
| 2015-06-08 | Clean up global ordering. | Ulf Magnusson | |
| kconfiglib.py is now arranged as follows: Public classes Public functions Internal classes Internal functions Internal global constants Bit arbitrary, but better than no ordering like before. :) | |||
| 2015-06-08 | Move _sym_str_string() to a more logical location. | Ulf Magnusson | |
| 2015-06-08 | _sym_str_string() nit. | Ulf Magnusson | |
| 2015-06-08 | Rename _get_str_value() to _str_val(). | Ulf Magnusson | |
| 2015-06-08 | expr_to_str() nit. | Ulf Magnusson | |
| 2015-06-08 | Move _expr_to_str() to after its helper functions. | Ulf Magnusson | |
| 2015-06-08 | Explain Nones in _make_and()'s docstring. | Ulf Magnusson | |
| 2015-06-08 | Clean up block of functions and constants. | Ulf Magnusson | |
| - Put the functions first, then the constants. - Also fix an _undef_assign() omission that led to a crash during the final part of the test suite. | |||
| 2015-06-08 | Move _stderr_msg(). | Ulf Magnusson | |
| Now more of a general utility function. | |||
| 2015-06-08 | linenr is non-None if filename is non-None. | Ulf Magnusson | |
| Piggyback vertical nit. | |||
| 2015-06-08 | Get rid of Config.undef_assign(). | Ulf Magnusson | |
| Single user, trivial. | |||
| 2015-06-08 | Make warning format less odd. | Ulf Magnusson | |
| 2015-06-08 | Reduce parameter-related vertical spam. | Ulf Magnusson | |
| 2015-06-08 | De-engineer _warn_or_undef_assign(). | Ulf Magnusson | |
| Overly general. Turn it into _stderr_msg(). | |||
| 2015-06-08 | Make _warn_or_undef_assign() global. | Ulf Magnusson | |
| Does not use any instance variables. | |||
| 2015-06-08 | Make _get_str_value() global. | Ulf Magnusson | |
| Does not use any instance variables. | |||
| 2015-06-08 | Call unused variable in unpacking '_'. | Ulf Magnusson | |
| 2015-06-08 | Replace last old-style raise syntax. | Ulf Magnusson | |
| Also remove unnecessary newlines from message. | |||
| 2015-06-08 | Remove unused import. | Ulf Magnusson | |
| 2015-06-08 | Replace old-style raise syntax. | Ulf Magnusson | |
| 2015-06-08 | More blank line nits. | Ulf Magnusson | |
| 2015-06-08 | Clarify that reverse dependencies are related to select. | Ulf Magnusson | |
| Piggyback some cleanup. | |||
| 2015-06-08 | Space nit. | Ulf Magnusson | |
| 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. | |||
