Commit graph

21 commits

Author SHA1 Message Date
Thomas Wilburn
9f54dcfec8 Code cleanup and commenting. 2014-02-26 22:34:02 -08:00
Thomas Wilburn
57d2b986b5 Add Settings.pull() for modules that want to request configs asynchronously instead of blocking load 2014-01-20 22:10:06 -08:00
Thomas Wilburn
57fec531c8 Move the Settings singleton into its own file for modules that want to load configs asynchronously. 2014-01-20 21:24:50 -08:00
Thomas Wilburn
529b3d2951 Finish converting syncFS to Promises. 2013-12-23 10:27:33 -08:00
Thomas Wilburn
da4490bf9a Add a simple text loader plugin. 2013-12-16 11:29:41 -08:00
Thomas Wilburn
0f2355fb2d Convert over to syncFS (not syncFileSystem) for storing settings. 2013-12-04 10:52:56 -08:00
Thomas Wilburn
5ac6e4c8e7 Remove logging. 2013-12-04 10:10:10 -08:00
Thomas Wilburn
04a7cc6e93 Do not re-request defaults, they can't have changed. 2013-12-04 10:09:49 -08:00
Thomas Wilburn
dfe8749c58 Organized module locations. Fixed a context menu bug. 2013-12-04 09:24:04 -08:00
Thomas Wilburn
0aaae789ce Tiptoe around acceptsMultiple for the sake of Chrome 29 users. 2013-11-11 13:31:41 -08:00
Thomas Wilburn
13b9577863 Project files can include settings, which will override user prefs. 2013-11-06 08:35:57 -08:00
Thomas Wilburn
9da0f96696 Filter menus/palette based on Chrome major version. 2013-11-01 16:24:57 -07:00
Thomas Wilburn
24ba113008 Special handling for config JSON that's just an array (i.e. menus.json) 2013-09-24 08:35:41 -07:00
Thomas Wilburn
9ab0a76c84 Move file-specific code out of sessions.js
Fixes #33 (sort of)
2013-09-16 11:16:06 -07:00
Thomas Wilburn
f7e6e73590 Only load settings files once for all modules, instead of loading once for each that requests a file. 2013-09-13 18:29:19 -07:00
Thomas Wilburn
295ca0c714 Settings are now merged a la Sublime, which is much better for migrations. 2013-09-13 13:26:46 -07:00
Thomas Wilburn
d07b1eda09 Better syntax memory and handling, particularly for settings JSON 2013-09-13 08:25:39 -07:00
Thomas Wilburn
971a5dd998 Font size options enabled
Settings also are now stored as strings, parsed only when pulled (allows
for comments in the editor mode). Fixes #16
2013-09-10 16:26:36 -07:00
Thomas Wilburn
e53027813f Live reload for settings files. 2013-09-04 12:26:09 -07:00
Thomas Wilburn
2a5a2d28ef Simplified menu CSS, added ability to reset settings JSON files. 2013-09-04 10:28:31 -07:00
Thomas Wilburn
a1033b2c31 Settings now loaded from config into sync storage, editable as if files. 2013-09-03 08:47:59 -07:00