Commit graph

345 commits

Author SHA1 Message Date
Thomas Wilburn
f858c0d93c Temp fix for #216 2014-05-04 16:12:30 -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
a30bb4687e Added a workaround for Chrome promise bugs. 2014-05-04 01:11:07 -07:00
Thomas Wilburn
2dcd86d8be Fix bugs where project manager still uses callback style. 2014-05-03 23:29:22 -07:00
Thomas Wilburn
d10791bbad Add an emergency reset menu item
Fixes #191
2014-05-03 15:55:38 -07:00
Thomas Wilburn
dec30ed854 Added a "set newline mode" command binding.
Fixes #198.
2014-05-03 15:34:17 -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
b0c56da3c3 Added an app:browse command and then removed help.json, since it's useless. 2014-04-24 12:15:51 -07:00
Thomas Wilburn
2fd765b776 Fix a bug where the settings files aren't pulled before loading.
Fixes #197
2014-04-23 10:15:37 -07:00
Thomas Wilburn
6d262c35fb Fix a bug where new, unmodified tabs would pester on close. 2014-04-23 10:15:14 -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
ec6f20c72c Actual fix for #188 2014-04-10 16:48:01 -07:00
Thomas Wilburn
70de2e218a Fix #188 - middle clicks were broken when tab labels got split into a child of the element. 2014-04-10 08:43:03 -07:00
Thomas Wilburn
4e25c90dff Add an option for removing empty lines when trimming whitespace. Fixes #158 (again) 2014-04-08 12:07:08 -07:00
Thomas Wilburn
8de17a0c94 Editor needs to resize after a fullscreen class change. 2014-04-06 09:00:48 -07:00
Thomas Wilburn
375424beaf Added a check for fullscreen on startup 2014-04-04 13:21:27 -07:00
Thomas Wilburn
d7e8f0a8a7 Fixes for immersive fullscreen on ChromeOS 2014-04-04 13:13:25 -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
58e13656f5 Forgot a closing paren. 2014-04-04 09:16:35 -07:00
Thomas Wilburn
bc02a28029 Enable immersive fullscreen option. Fixes #179 2014-04-04 09:13:54 -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
a3d50a16a0 Fix a bug where fullscreen can still be 'maximized' before it returns to windowed mode. 2014-04-03 15:59:14 -07:00
Thomas Wilburn
599ac9f1db Enable app frame with inline menu and window controls. See #176 2014-04-03 15:06:30 -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
953f53287d Also added a restart command, which may prove useful. 2014-03-24 19:29:56 -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
Voica Adrian
d9fef43e22 New tab button (cleanup) and doubleclick tab bar. 2014-03-24 17:18:25 +02:00
Thomas Wilburn
5bab125e9a Fixes #170 2014-03-22 06:09:28 -07:00
Thomas Wilburn
2e847cda88 Fixes #169 2014-03-22 06:05:47 -07:00
Thomas Wilburn
2af2d044b7 Improve command palette sorting. Fixes #167. 2014-03-21 04:51:42 -07:00
Thomas Wilburn
c500425731 Updated Ace, added LESS to file permissions. 2014-03-19 20:08:47 -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
3ddda96c35 Show the tab path in the tooltip. Fixes #164. 2014-03-19 18:01:36 -07:00
Josh Baker
43e3ce723b Only trim whitespace between non-whitespace and newline (Issue #158)
This prevents trimming lines that only have whitespace.
2014-03-13 11:42:39 -04: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
59861736b1 Update modification time as part of session:revert-file. 2014-03-06 06:56:01 -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
11d3100ee7 Actually make 'trim whitespace' work without blowing up the cursor position. 2014-03-05 09:36:19 -08:00
Thomas Wilburn
befba25f86 Added a 'trim whitespace' command and trigger it on save if enabled. Fixes #151 2014-03-05 08:52:48 -08:00
Thomas Wilburn
c2c8f64799 Update files on window focus. Fixes #149 2014-03-05 07:34:33 -08:00
Thomas Wilburn
ea5e58fc57 Correctly trigger hover class removal. 2014-02-28 11:27:16 -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