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
2dcd86d8be
Fix bugs where project manager still uses callback style.
2014-05-03 23:29:22 -07:00
Thomas Wilburn
f8b4c4c37f
De-callback in favor of promises in the file APIs. Fixes #139
2014-04-25 08:03:47 -07:00
Thomas Wilburn
e33a8590aa
Check file modification on app:exit
...
Prompts for save/discard/cancel when user triggers an app:exit via menu,
button, or palette. Fixes #178 .
2014-04-04 09:42:31 -07:00
Thomas Wilburn
1789df09c3
Add a debug command line for issuing Caret commands.
...
Fixes #145 .
2014-04-03 23:45:19 -07:00
Thomas Wilburn
902d8eb46b
Add styles and option for auto-collapsing the project manager.
2014-04-03 08:56:05 -07:00
Thomas Wilburn
56f87c996e
Add a debug command (may not work without packaged debugging enabled.
2014-03-24 19:22:52 -07:00
Thomas Wilburn
c985bcca82
Fix a bug where the palette may end up unresponsive due to an uninitialized debounce timeout
2014-03-24 18:44:07 -07:00
Thomas Wilburn
5bab125e9a
Fixes #170
2014-03-22 06:09:28 -07:00
Thomas Wilburn
2af2d044b7
Improve command palette sorting. Fixes #167 .
2014-03-21 04:51:42 -07:00
Thomas Wilburn
ab70579a9e
Sort file results in the palette by match strength. Fixes #163 .
2014-03-19 19:24:13 -07:00
Thomas Wilburn
4b584d6633
Better tick scheduling, added {{.}} to inflate.
2014-03-07 23:30:47 -08:00
Thomas Wilburn
43d6b462f7
this bugs are the worst.
2014-03-07 22:33:32 -08:00
Thomas Wilburn
e1c05a2c95
Animation tweaks.
2014-03-07 21:17:16 -08:00
Thomas Wilburn
4aba4cc503
Give ProjectManager loading UI
...
See #156 . This change adjusts the project manager to have a loading bar
during lengthy operations. It also adds a `tick()` method that queues up
operations in 15ms chunks--we'll still blow the frame budget most times,
but it keeps things reasonably responsive (at least until the render
tree has to be added to the DOM).
2014-03-07 21:09:05 -08:00
Thomas Wilburn
6ce3134a9c
Fixes #150
...
This looks pretty good. RosettaCode, which has 75,000 files, is
reasonably responsive when searching. I don't know what Chromium is like
in terms of files, but I also suspect I know my limitations for now.
2014-03-07 21:06:08 -08:00
Thomas Wilburn
3fc55120ac
Fix a bug where the palette 'showed' too many results
2014-03-05 15:47:47 -08:00
Thomas Wilburn
0ccb026150
Add project ignoreFiles option. Fixes #153
2014-03-05 15:44:33 -08:00
Thomas Wilburn
f288a61578
Fill in some missing file handler registrations.
2014-02-27 18:54:37 -08:00
Thomas Wilburn
9f54dcfec8
Code cleanup and commenting.
2014-02-26 22:34:02 -08:00
Thomas Wilburn
bbd9a4fad0
Bugfix in previous commit--replace, _then_ split
2014-02-26 22:02:33 -08:00
Thomas Wilburn
c4cc9f4598
Fix some bugs with the palette, syntax cleanup, add comments.
2014-02-26 18:56:05 -08:00
Thomas Wilburn
6ec5c2be01
Converted project manager to templates.
2014-02-26 08:57:15 -08:00
Thomas Wilburn
795a979d46
Raised the toast time, since it's nice for word count.
2014-02-21 17:50:12 -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
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
1003b89965
Convert menus to templates (just for items, not recursive or using partials)
2014-01-22 09:26:53 -08:00
Thomas Wilburn
9d5e28239d
Removed unused template from main.html
2014-01-22 08:42:18 -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
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
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
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
03df4334e8
Add module readme files.
...
Fixes #110 (maybe?)
2013-12-23 12:25:43 -08:00
Thomas Wilburn
fc7d893929
Many key fixes: mainly that Ace key configs are reloaded from scratch on each init:restart, so that
...
you can't either wipe out Ace bindings for good, or have zombie bindings hanging around from edit to
edit.
2013-12-20 09:01:53 -08:00
Thomas Wilburn
455050a67b
Hack to fix keyboard for now, but key merges are broken and should be fixed in settings
2013-12-20 07:56:56 -08:00
Thomas Wilburn
810ef49da7
Key configs should be case-insensitive.
...
Fixes #85 (again).
2013-12-19 11:50:23 -08:00
Thomas Wilburn
5a7ae3c459
Cleanup
2013-12-16 17:35:02 -08:00
Thomas Wilburn
c8fb385a31
Missed some case issues.
2013-12-16 14:58:37 -08:00
Thomas Wilburn
5f5ea6ef2e
Convert keys to Ace-style binding syntax
...
Fixes #92
2013-12-16 14:47:25 -08:00
Thomas Wilburn
b19775e031
Better async command patterns, fixes for loading command list.
2013-12-16 11:53:26 -08:00
Thomas Wilburn
3dcbbbed66
Add commands.json for #93
2013-12-16 08:51:56 -08:00
Thomas Wilburn
a53de2a198
.
2013-12-16 08:10:08 -08:00
Thomas Wilburn
e814ff5e61
Fixes #87 (I hope)
2013-12-16 08:01:46 -08:00
Thomas Wilburn
979d0082ce
Add redundancy to chromebook search mappings. See #85
2013-12-13 09:48:56 -08:00
Thomas Wilburn
6331cfebdf
Added keyboard patch for funky Chromebook search key combos (now compatible with Crouton).
2013-12-13 08:25:10 -08:00
Thomas Wilburn
58e2c75679
Show the path as the sublabel when searching projects.
2013-12-10 14:57:20 -08:00