aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/manager.py
Commit message (Expand)AuthorAgeFilesLines
* webui: configs: Some minor fixesAaron LI2016-11-221-5/+6
* Add logging message on backing up old fileAaron LI2016-11-211-0/+1
* configs/manager.py: Make a backup when output file already existsAaron LI2016-11-161-4/+15
* configs/manager.py: Also dump the "userconfig" valueAaron LI2016-11-161-1/+4
* configs/manager.py: Keep configuration file commentsAaron LI2016-11-151-6/+12
* configs/manager.py: Expand "~" when read userconfigAaron LI2016-11-151-0/+3
* configs/manager.py: Implement the "save()" methodAaron LI2016-11-081-6/+19
* configs: Change "logging/filemode" to boolean "logging/appendmode"Aaron LI2016-11-071-1/+1
* configs/manager.py: Replace a filter with list comprehensionAaron LI2016-11-071-4/+1
* configs/manager.py: Support flattening dumped configs (nested dict)Aaron LI2016-11-061-6/+98
* webui: websocket.py: Implement "set" action for "_handle_configs()"Aaron LI2016-11-041-5/+5
* configs/manager.py: Add method "check_all()" using "check_configs()"Aaron LI2016-11-041-0/+31
* configs/manager.py: Implement "setn()" to set an option valueAaron LI2016-11-041-6/+86
* configs/manager.py: getn(): remove par. "sep"; handle exceptionAaron LI2016-11-031-12/+16
* configs/manager.py: Reset before loading user config file againAaron LI2016-11-031-12/+10
* configs/manager.py: Add method "reset()" and attribute "userconfig"Aaron LI2016-11-031-1/+16
* configs/manager.py: Keep a copy of default configs; Add "dump()"Aaron LI2016-11-021-5/+42
* configs/manager.py: Update docstring and commentAaron LI2016-10-191-3/+9
* configs/manager.py: Fix the bug that breaks specifications loadingAaron LI2016-10-171-1/+4
* Force "DEBUG" log level if env variable "DEBUG_FG21SIM" setAaron LI2016-10-171-2/+6
* configs/manager.py: Change __init__() to load user configAaron LI2016-10-171-9/+15
* configs/manager.py: Various updates to docstring and comments.Aaron LI2016-10-171-23/+44
* configs: Update get_path() to take care None and non-string valueAaron LI2016-10-151-3/+24
* configs: Switch to use `pkg_resources` to access config specsAaron LI2016-10-151-10/+19
* configs: Support env variable "DEBUG_FG21SIM" for debuggingAaron LI2016-10-141-0/+3
* Fix wrong config syntax and minor changes to ConfigManagerAaron LI2016-10-041-8/+14
* configs/manager.py: Add logging supportAaron LI2016-10-041-2/+6
* configs/manager.py: Add method "get_path()"Aaron LI2016-10-041-0/+21
* configs/manager.py: Add method "read_userconfig()"Aaron LI2016-10-041-3/+35
* configs/manager.py: Fix a bug that "_validate()" not workingAaron LI2016-10-041-1/+1
* configs/manager.py: Add "frequencies" propertyAaron LI2016-10-041-0/+16
* Arrange customs errors/exceptions in a moduleAaron LI2016-10-031-4/+1
* configs/manager.py: Add "getn()" method to get multi-level config valueAaron LI2016-10-021-0/+25
* configs/manager.py: Refactor "get()" method and remove "set()"Aaron LI2016-10-021-8/+1
* configs/manager.py: Make "validate()" method private.Aaron LI2016-09-301-8/+8
* configs/manager.py: Update docstrings.Aaron LI2016-09-301-2/+21
* utils/logging: reset handlers before initialization/reconfigurationAaron LI2016-09-291-1/+7
* configs/manager.py: Add "filemode" to the logging dictAaron LI2016-09-291-1/+3
* configs: Fix ConfigError and disable interpolationAaron LI2016-09-291-3/+9
* configs/manager.py: Add property "logging"Aaron LI2016-09-291-2/+28
* Implement the basic ConfigManger()Aaron LI2016-09-271-0/+74