Commit graph

60 commits

Author SHA1 Message Date
Thomas Wilburn
a037dbe0fd Add option to disable live reload
Fixes #344 (and hopefully silences a lot of support requests)
2015-03-17 15:58:58 -07:00
Thomas Wilburn
d641831277 Fixed a bug with a missing dialog string 2014-11-08 00:01:35 -08:00
Thomas Wilburn
23aaff7f76 Fixes #315
openFromLaunchData shouldn't be gated on tab restore.

Manifest bump
2014-10-21 07:28:18 -07:00
Thomas Wilburn
a80fb8629a Localization for menus and palette mostly done. 2014-07-07 09:10:37 -07:00
Thomas Wilburn
7ce7e2b3fa Move tab retention to an ongoing process, instead of doing it after render. 2014-07-06 19:30:39 -07:00
Thomas Wilburn
9ddfdf576c Successful retention, paradoxically, never called the openFromLaunchData callback. Fixes #268 2014-07-05 14:04:33 -07:00
Thomas Wilburn
441b0dde20 Correctly restore complex retained files. 2014-06-29 17:00:27 -07:00
Thomas Wilburn
9759df0410 Fix some bugs with null key commands. Start refactor of fileManager.js. 2014-06-29 16:40:40 -07:00
Thomas Wilburn
55cdbeea66 Add a null file type that can't be written. Fixes #258. 2014-06-29 16:23:03 -07:00
Thomas Wilburn
5456483694 Add autosave at intervals and on blur. Fixes #243 2014-06-25 13:47:52 -07:00
Thomas Wilburn
78dbc451be Add better Mac keyboard support. Fixes #254. 2014-06-25 08:28:36 -07:00
Thomas Wilburn
609122b987 Started refactor of file restore process. 2014-06-22 00:36:25 -07:00
Thomas Wilburn
77726fe218 Open launch data after retained files, for a more natural tab ordering. 2014-05-15 07:34:18 -07:00
Thomas Wilburn
6c85d0d706 Stop reloading preferences files on save, it's causing nothing but trouble. 2014-05-12 20:21:50 -07:00
Thomas Wilburn
e5c81d158a Fire session:render instead of manually calling renderTabs() to prevent bug when saving preferences. 2014-05-12 20:15:39 -07:00
Thomas Wilburn
b3862bcc8e Bad variable reference in file manager. 2014-05-04 02:45:49 -07:00
Thomas Wilburn
12870d3b1d Revert Promises in file API to callbacks.
Promises do not seem reliable as they are in Chrome 34. Rather than
continue to implement hacks that can work around these problems, let's
just go back to callbacks. Maybe we don't need to be on the cutting edge
_all_ the time.
2014-05-04 02:09:19 -07:00
Thomas Wilburn
d00d35f611 Be more formal about the file read step on restore, just in case 2014-04-11 09:08:41 -07:00
Thomas Wilburn
59861736b1 Update modification time as part of session:revert-file. 2014-03-06 06:56:01 -08:00
Thomas Wilburn
c2c8f64799 Update files on window focus. Fixes #149 2014-03-05 07:34:33 -08:00
Thomas Wilburn
9f54dcfec8 Code cleanup and commenting. 2014-02-26 22:34:02 -08:00
Thomas Wilburn
3be5176d7b Detect syntax bug--finally fixed? 2014-02-21 22:27:36 -08:00
Thomas Wilburn
52f8abbdc6 Fix a bug where syntax was detected but the dropdown wasn't set. 2014-02-21 20:46:28 -08:00
Thomas Wilburn
f5467f1b6c Add commands for "insert from file" and "word count". Fixed a bug where palette commands can't really
show status bar toasts.
Fixes #141.
2014-02-20 09:00:29 -08:00
Thomas Wilburn
ce8716be9f Found a bug where fileManager wouldn't trigger init:complete if there were no retained items. 2014-01-27 11:11:58 -08:00
Thomas Wilburn
a3c404de31 Nesting <a> in <a> isn't allowed, apparently. 2014-01-27 11:02: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
81507d4a9c Refactor tab syntax and rendering out of sessions and into tab.js 2014-01-20 18:03:18 -08:00
Thomas Wilburn
88965d4cec Fixed a bug with failed file retention killing init:complete. 2014-01-20 15:49:26 -08:00
Thomas Wilburn
6f762a9e59 Set up a valid init:complete event, process launch commands then. 2014-01-12 15:35:30 -08:00
Thomas Wilburn
2371f439e0 Add "secret" user option to disable tab restore. 2014-01-12 10:53:31 -08:00
Thomas Wilburn
67008772ea Fix bad refactoring. 2014-01-12 01:34:47 -08:00
Thomas Wilburn
99e7ce8e8d Bind for file-based DOM events in fileManager, not in command. 2014-01-12 01:26:37 -08:00
Nathan Caza
341812c5ac allow drag-drop opening of files and directories 2014-01-12 03:12:14 -06:00
Thomas Wilburn
37cd59d0a6 Add async callbacks to a bunch of commands
See #80.
2013-12-23 16:15:03 -08:00
Thomas Wilburn
7418c64b5c Use manos.deferred() in tab.save() 2013-12-23 11:20:04 -08:00
Thomas Wilburn
ec3edebc28 Promise API kind of sucks, use manos.deferred() instead. 2013-12-23 11:12:19 -08:00
Thomas Wilburn
1b04983d84 Use promises in tabs, sessions, fileManager. 2013-12-23 10:27:51 -08:00
Thomas Wilburn
5a7ae3c459 Cleanup 2013-12-16 17:35:02 -08:00
Thomas Wilburn
de8e444e36 Added the ability to open new tabs with content via command 2013-12-05 12:28:47 -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
14d9e5a47d Correctly set syntax when saving a new file. 2013-11-06 08:46:20 -08:00
Thomas Wilburn
966d90e0e6 Use manos.chain() to clear up retained file reading. 2013-11-06 07:55:01 -08:00
Thomas Wilburn
ffc2f4dcc6 Greatly speed up restore by processing files in parallel. 2013-11-06 07:37:56 -08:00
Thomas Wilburn
c7649cc42e Fixes #61 2013-10-28 12:58:24 -07:00
Thomas Wilburn
3c851c0f44 Simplify creating new File objects from FileEntries. 2013-10-28 12:12:08 -07:00
Thomas Wilburn
6109361502 Support acceptsMultiple when opening files. 2013-10-28 11:59:14 -07:00
Thomas Wilburn
23bfb59c76 Better error messages and logging for failed file.restore() 2013-10-09 22:29:27 -07:00
Thomas Wilburn
c2b95b29dc Short-circuit removing retention failures if nothing failed to restore. 2013-10-09 21:59:22 -07:00