Commit graph

416 commits

Author SHA1 Message Date
Thomas Wilburn
cc9baf863e Minor CSS and template tweaks. 2014-02-04 10:37:04 -08:00
Thomas Wilburn
a2220bc126 Remember to include template files in the packaged builds. 2014-01-27 13:51:23 -08:00
Thomas Wilburn
b9252f9b41 Fixes #131
An inconsistency in the two ways to declare ace commands caused a
failure in re-binding certain keys. Switched all default configs to the
shorter syntax, just in case.
2014-01-27 11:38:10 -08:00
Thomas Wilburn
2ad896f512 Added current palette item class in wrong place. 2014-01-27 11:16:47 -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
3abdb574e6 Fix a bug where syntax wasn't re-detected after save-as. 2014-01-23 08:38:20 -08:00
Thomas Wilburn
3b82bb37b3 Forgot to add menuItem.html 2014-01-22 12:17:22 -08:00
Thomas Wilburn
1003b89965 Convert menus to templates (just for items, not recursive or using partials) 2014-01-22 09:26:53 -08:00
Thomas Wilburn
5d674b2f28 Update readme with details of templating library and plugin 2014-01-22 08:52:13 -08:00
Thomas Wilburn
9d5e28239d Removed unused template from main.html 2014-01-22 08:42:18 -08:00
Thomas Wilburn
e6f0b7070a Added a loadHTML() method for directly injecting templates 2014-01-22 08:42:08 -08:00
Thomas Wilburn
08e03d2de4 Converted dialogs over to templates. 2014-01-22 08:37:28 -08:00
Thomas Wilburn
0fd6aa550e Moved about dialog into template 2014-01-22 07:55:04 -08:00
Thomas Wilburn
8bba0ca36a Converted palette to templates 2014-01-21 22:47:02 -08:00
Thomas Wilburn
27499bf1bc Converted tabs over to the templating plugin, other rendering to follow 2014-01-21 19:01:00 -08:00
Thomas Wilburn
78bb7ad5c9 Add a home-made template library, first steps away from in-JS DOM construction. 2014-01-21 11:12:46 -08:00
Thomas Wilburn
c39cac674b Why do we remove the title from tabs? Leave it there. 2014-01-21 09:08:54 -08:00
Thomas Wilburn
d6a90fea32 Fix paths to enable .crx builds on Linux 2014-01-21 08:30:02 -08:00
Thomas Wilburn
3b5c925fa8 readme changes 2014-01-20 23:36:30 -08:00
Thomas Wilburn
60821321ba Fix stupid scoping mistake. 2014-01-20 23:19:25 -08:00
Thomas Wilburn
ebda9e70e1 Manifest bump 2014-01-20 22:16:10 -08:00
Thomas Wilburn
49327cbadf main.js now uses Settings.pull() 2014-01-20 22:14:46 -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
5d250ef5e5 Added comments 2014-01-20 18:10:35 -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
1767cd3fc2 Add printing. Fixes #120 2014-01-20 09:10:24 -08:00
Thomas Wilburn
0b2aaf1883 Fix onRestarted behavior 2014-01-19 13:13:48 -08:00
Thomas Wilburn
ef9a02c8bc Manifest bump. 2014-01-19 09:45:21 -08:00
Thomas Wilburn
6550851b86 Add TypeScript support. 2014-01-16 15:05:46 -08:00
Thomas Wilburn
deed3b810e Split dev steps into ordered list for easier comprehension. 2014-01-16 10:14:17 -08:00
Thomas Wilburn
742f96f644 Load configs and other text via getPackageDirectoryEntry()
Fixes #127
Turns out this isn't actually any faster, but it is cleaner and doesn't
clutter the console. We'll keep it for now.
2014-01-12 21:13:06 -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
6cf6745e5d Better background commands
Flash the window if it's already open
Pause two seconds to give app a chance to start.
2014-01-12 11:11:10 -08:00
Thomas Wilburn
2371f439e0 Add "secret" user option to disable tab restore. 2014-01-12 10:53:31 -08:00
Thomas Wilburn
8cc524a53e Extra safeguards.
Project manager calls preventDefault() on "links"
background.js rejects messages without a command property.
2014-01-12 10:47:08 -08:00
Thomas Wilburn
d5c154838a Simplify tab context URLs -- they're not a heirarchy, they don't need a root path segment. 2014-01-12 10:37:52 -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
Thomas Wilburn
d26797ca80 Merge pull request #125 from mastercactapus/dragdrop
allow drag-drop opening of files and directories
Fixes #121
2014-01-12 01:24:49 -08:00
Nathan Caza
341812c5ac allow drag-drop opening of files and directories 2014-01-12 03:12:14 -06:00
Thomas Wilburn
6073cdefce Converting to promises broke File.getPath and thus project file de-dupe. 2014-01-12 00:43:02 -08:00
Thomas Wilburn
b10a83b64e Remove data that's added now that we're using links instead of spans for tabs. 2014-01-12 00:32:21 -08:00
Thomas Wilburn
0f5f335655 Bugs in removeTab were keeping closeTabsRight from iterating. 2014-01-12 00:10:06 -08:00
Thomas Wilburn
77ea4ca42e Mental note, don't comment out code you want to run. 2014-01-11 23:58:45 -08:00
Thomas Wilburn
d61fb669a8 Added command binding for closing tabs to right
Also moved closeTab() function into a lambda, since it's confusing to
have both it and removeTab(), and the former only works with the context
menu anyway.
2014-01-11 23:57:34 -08:00
Thomas Wilburn
eb6d6d24ee Merge pull request #124 from mastercactapus/master
Tab size and context menus
Note to self: add a "close tabs to the right" command and set it up in commands.json for Palette use.
2014-01-11 23:31:50 -08:00
Nathan Caza
f6d33a3717 Made tabs anchors instead of span, allowing context menus
- Added Close and Close tabs to the right
use element instead of tabEl
add e.preventDefault() to stop tabs from opening a new window
2014-01-12 00:34:37 -06:00