Kevin Sawicki
fe172985bb
Remove unused $native.traverseTree()
2013-03-07 17:50:12 -08:00
Kevin Sawicki
acf5f4ce5e
Remove fs/$native.getAllFilePathsAsync()
...
This was previously only used by project.getFilePath()
which should have been using fs.traverseTree() instead.
2013-03-07 17:48:36 -08:00
Kevin Sawicki
53b3fbfed6
Remove $native.exec
2013-03-07 17:40:47 -08:00
Kevin Sawicki
ce8867fac9
Remove unused ChildProcess class
2013-03-07 17:40:24 -08:00
Kevin Sawicki
c22d14c5b0
Use child_process.spawn from Project.scan
2013-03-07 17:36:21 -08:00
Kevin Sawicki
eddfb8a1bb
Remove unused import
2013-03-07 17:08:26 -08:00
Kevin Sawicki
7cfdf0ad9c
💄
2013-03-07 17:07:05 -08:00
Kevin Sawicki
689088c1a8
Report exit status to callback
2013-03-07 17:01:21 -08:00
Kevin Sawicki
01faf6ea1e
Create helper to buffer process lines
2013-03-07 16:58:09 -08:00
Kevin Sawicki
f3c2b41f4f
💄
2013-03-07 16:11:00 -08:00
Kevin Sawicki
beb0754faa
Use child_process.exec to chmod atom cli
2013-03-07 16:06:37 -08:00
Kevin Sawicki
e36e3c0a78
Merge remote-tracking branch 'origin/dev' into cefode
2013-03-07 16:01:09 -08:00
Kevin Sawicki
0b33c6473e
Use child_process.spawn for ctags command
2013-03-07 15:58:30 -08:00
Kevin Sawicki
d59ae44914
Upgrade oniguruma dependency
2013-03-07 15:07:29 -08:00
Corey Johnson & Nathan Sobo
98c9012bdb
💩
2013-03-07 14:31:04 -08:00
Corey Johnson & Nathan Sobo
0375d7f45a
💄
2013-03-07 14:25:34 -08:00
Corey Johnson & Nathan Sobo
17f4d6f064
EditSession reloads its grammar on the 'grammars-loaded' event
2013-03-07 14:25:14 -08:00
Kevin Sawicki
b0ec0cda7f
Merge remote-tracking branch 'origin/dev' into cefode
2013-03-07 11:44:46 -08:00
Corey Johnson & Nathan Sobo
39fabaa344
Update RootView.deserialize specs so they break on a version mismatch
2013-03-07 11:09:39 -08:00
Corey Johnson & Nathan Sobo
91b5c3e9c7
Make refresh work again by fixing version in RootView.serialize
2013-03-07 11:07:03 -08:00
Kevin Sawicki
d34796a78b
Use oniguruma node module
...
This removes all internal native oniguruma
sources and starts using the node module
directly to create onig scanners and regexes.
2013-03-07 10:45:22 -08:00
Corey Johnson & Nathan Sobo
cac6c854d2
💄
2013-03-07 10:25:51 -08:00
Kevin Sawicki
ea8068652b
Add oniguruma to package.json
2013-03-07 10:18:08 -08:00
Kevin Sawicki
ce2d0389e1
Use ctags node module
...
Remove internal ctags code and defer to
new node module for finding tags and listing
tags.
2013-03-07 09:41:04 -08:00
Corey Johnson & Nathan Sobo
dba7c08f59
Add serialization version to root view
2013-03-07 09:30:30 -08:00
Corey Johnson & Nathan Sobo
c3456dd5ac
Remove serialization methods from editor
2013-03-07 09:30:30 -08:00
Corey Johnson & Nathan Sobo
6257bcf0f5
Rename root view serialization keys
2013-03-07 09:30:30 -08:00
Corey Johnson & Nathan Sobo
8333f14ef8
Throw away serialized state if its version doesn't match deserializer
2013-03-07 09:30:30 -08:00
Corey Johnson & Nathan Sobo
4f0bf9020b
Fix pane focus and active item serialization
...
Also: Un-x root view serialization specs
2013-03-07 09:30:29 -08:00
Corey Johnson & Nathan Sobo
d4fc718e8e
Update window title when a pane item's title changes
2013-03-07 09:30:29 -08:00
Corey Johnson & Nathan Sobo
c1d19c4c5c
Rename restoreItem to reopenItem on pane container
2013-03-07 09:30:29 -08:00
Corey Johnson & Nathan Sobo
ffb8bcd71d
Add pane:reopen-closed-item command
2013-03-07 09:30:29 -08:00
Corey Johnson & Nathan Sobo
5ad53bb32c
Add restoreItem to Pane container
2013-03-07 09:30:29 -08:00
Nathan Sobo
96fefe94f0
Fix broken specs after rebase
2013-03-07 09:30:29 -08:00
Nathan Sobo
f2e5fcc902
Move autosave from editor into panes
2013-03-07 09:30:29 -08:00
Nathan Sobo
d97e91bdcb
Make meta-# bindings work with new panes
2013-03-07 09:30:29 -08:00
Nathan Sobo
f23d9091f2
Add pane:close-other-items
2013-03-07 09:30:29 -08:00
Nathan Sobo
4b8d786d2a
💄
2013-03-07 09:30:29 -08:00
Nathan Sobo
7ebce683c6
Move saveAll and specs to PaneContainer
...
And simplify the specs… we don't *really* need to save. We can just
ensure that save is called on everything.
2013-03-07 09:30:29 -08:00
Nathan Sobo
e4bf73b41c
Give the view a chance to update before presenting next dialog
2013-03-07 09:30:28 -08:00
Nathan Sobo
f0398f2331
Ensure modal dialogs are presented in a coherent order
...
Modal dialogs can be presented while other modal dialogs are already
being displayed. Previously, dialogs were always displayed in the order
they were requested. But say you have two untitled buffers in a
pane and you close all items… You'll display prompt dialogs for both
buffers asking the user if they want to save. If the user answers yes
to the first dialog, they should see the path selection dialog before
they see the save prompt for the second buffer.
This commit uses a stack of queues to store deferred dialogs and allow
dialogs presented by the dismissal of another dialog to take precedence
over other pending dialogs.
2013-03-07 09:30:28 -08:00
Nathan Sobo
48c693d756
Add 'pane:close' event, which destroys all pane items.
...
Still have some issues with the presentation order of dialogs with
multiple unsaved buffers and no paths. But for the 99% case this works
as is.
2013-03-07 09:30:28 -08:00
Nathan Sobo
da986b6a6c
Fix RootView.saveAll()
2013-03-07 09:30:28 -08:00
Nathan Sobo
fff5d5158f
Pass items through in editor's pane-splitting convenience methods
2013-03-07 09:30:28 -08:00
Nathan Sobo
bb15389b66
Add 'Pane.saveItems' and corresponding event
2013-03-07 09:30:28 -08:00
Nathan Sobo
685df18a3a
Fix breakages due to save method moving to Pane (except saveAll specs)
2013-03-07 09:30:28 -08:00
Nathan Sobo
3f9ee08e76
Handle save-as on pane. Replace 'editor:save-as' w/ 'core:save-as'
...
Pane will only show the saveAs dialog if the item has a `saveAs` method.
2013-03-07 09:30:28 -08:00
Nathan Sobo
59a06acc0b
Fire 'modified-status-changed' events on changes after save/reload
...
Buffer keeps state about the value with which it fired the last
modified-status-changed event so that it doesn't fire it twice with the
same boolean value. Every piece of code that triggers the event also
needs to set this state, so now everything goes through the
`triggerModifiedStatusChanged` method.
2013-03-07 09:30:28 -08:00
Nathan Sobo
699e780e99
Handle save in panes with new 'core:save' event
2013-03-07 09:30:28 -08:00
Nathan Sobo
6ae684d609
Kill commented specs that were used as a reminder
2013-03-07 09:30:28 -08:00