Commit graph

379 commits

Author SHA1 Message Date
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
Thomas Wilburn
2760c2e182 Release 1.3!
Not everything complete on 1.3, codenamed DeConnick, but we're going to
release it anyway. CRAZY.
2014-01-10 22:17:46 -08:00
Thomas Wilburn
2c34939a43 Open a new window if a command is received while inactive.
Commands will be buffered and passed in to be fired on initialization.
To suppress app launch, add the quiet flag to your command when firing
the message from an extension.
Fixes #122
2014-01-10 22:15:35 -08:00
Thomas Wilburn
5aacfc89a1 Merge pull request #116 from nskaggs/master
Add support for highlighting perl modules (*.pm files)
2013-12-30 22:42:17 -08:00
nskaggs
f7c0a19adb Update ace.json
Add support for highlighting perl modules (*.pm files)
2013-12-31 01:27:05 -05:00
Thomas Wilburn
a2c6d8704a . 2013-12-23 22:19:59 -08:00
Thomas Wilburn
797a35e449 Make themes a little bit better about recovering from bad config values. 2013-12-23 19:23:50 -08:00
Thomas Wilburn
37cd59d0a6 Add async callbacks to a bunch of commands
See #80.
2013-12-23 16:15:03 -08:00
Thomas Wilburn
03df4334e8 Add module readme files.
Fixes #110 (maybe?)
2013-12-23 12:25:43 -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
529b3d2951 Finish converting syncFS to Promises. 2013-12-23 10:27:33 -08:00
Thomas Wilburn
576cfdaa16 Convert storage/file to HTML5 promises. 2013-12-23 09:36:31 -08:00
Thomas Wilburn
0fae9e411e Add es6-promise shim, so we can convert over to browser promises as soon as they're available. 2013-12-22 10:56:13 -08:00
Thomas Wilburn
37f3f3763d Tweaks for multi-directory readability. 2013-12-21 13:18:06 -08:00
Thomas Wilburn
458a1cf2bc Bump. 2013-12-21 10:18:12 -08:00
Thomas Wilburn
9abc53b958 Merge pull request #107 from elisee/middleclick-closes-tab
Close tab on middle-click (fixes #106)
2013-12-20 22:21:35 -08:00
Elisée Maurer
154b93c94d Shorten function name to enableTabMiddleClick 2013-12-21 07:18:49 +01:00
Elisée Maurer
ae42c58ada Close tab on middle-click
Also make sure we only fire regular commands when left-click is used,
not for any buttons
2013-12-21 07:02:54 +01:00
Thomas Wilburn
5cc21ba5cf Merge pull request #105 from elisee/better-project-navigation
Improve project entries look & feel
2013-12-20 21:15:28 -08:00
Elisée Maurer
a6b5c97a21 Improve project entries look & feel
Highlight project entries on hover / click and display them as block for
easier targetting
2013-12-21 06:09:55 +01:00
Thomas Wilburn
0227e06d46 Fixes #103 2013-12-20 15:10:23 -08:00
Thomas Wilburn
a73005a967 CSS tweaks for visibility on Windows.
Fixes #102.
2013-12-20 09:28:07 -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
07770080bb Merge pull request #100 from elisee/better-scrollbars
Style editor scrollbars with light/dark ui theme
2013-12-19 15:04:33 -08:00
Elisée Maurer
c75af72825 Make scrollbar track background transparent 2013-12-19 23:59:52 +01:00
Elisée Maurer
1e94689a3b Remove scrollbar track border 2013-12-19 23:53:25 +01:00
Elisée Maurer
33d890ff63 Move scrollbar styling to ui.less 2013-12-19 23:52:41 +01:00
Thomas Wilburn
51ba4a102c Merge pull request #101 from elisee/patch-1
Add info about running npm install and starting grunt in readme
2013-12-19 14:50:49 -08:00
elisee
5a29261450 Add info about running npm install and starting grunt in readme
Loading Caret from source requires running npm install and starting grunt to get LESS files processed into CSS.
2013-12-19 23:46:55 +01:00
Elisée Maurer
2f0c737290 Improve scrollbars styling
Correctly place the border depending on whether the border is vertical
or horizontal. Also made the thumb colors a bit less pronounced
2013-12-19 23:37:20 +01:00
Elisée Maurer
e5c45e9359 Style editor scrollbars with light/dark ui theme
Make scrollbars not as jarring by styling them according to the current
ui theme's background and foreground colors
2013-12-19 23:22:17 +01:00
Thomas Wilburn
810ef49da7 Key configs should be case-insensitive.
Fixes #85 (again).
2013-12-19 11:50:23 -08:00
Thomas Wilburn
96b08ad34a . 2013-12-19 10:20:09 -08:00
Thomas Wilburn
944f45d5f5 Remove jarring menu appearance from the style/theme selects. 2013-12-19 10:13:45 -08:00
Thomas Wilburn
64279b461e Merge pull request #99 from elisee/change-tab-linear-clean
Implement change-tab-linear command, fixes #96
2013-12-19 10:09:34 -08:00