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
Thomas Wilburn
c22ecbcd40
Added logging to figure out why tabs don't survive upgrades.
2013-10-09 21:35:06 -07:00
Thomas Wilburn
5e43aa558f
Restore retained files using Manos async instead of more complicated inline async flow.
2013-10-08 08:31:13 -07:00
Thomas Wilburn
3509bbc856
Whitespace.
2013-09-24 12:16:19 -07:00
Thomas Wilburn
7275752aef
Fixes for responsiveness and retained file loss.
2013-09-24 11:37:40 -07:00
Thomas Wilburn
bdc5891148
Resetting a settings file will also reset it in the editor if it is open.
2013-09-23 19:28:52 -07:00
Thomas Wilburn
0a6e209383
.
2013-09-23 19:22:03 -07:00
Thomas Wilburn
88c1f1b081
Fix tab raise bug introduced with file manager.
2013-09-21 12:21:25 -07:00
Thomas Wilburn
7cffe61ad6
Raising a tab will check its modified date. Fixes #25
2013-09-20 17:39:04 -07:00
Thomas Wilburn
5ff71e0a5c
Added a revert option
...
Fixes #34
2013-09-16 11:58:37 -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