Kevin Sawicki
aaea8bdb31
Trigger buffer-created from Project::addBufferAtIndex
...
This ensures that any listeners for this event will be notified when
a buffer is add via deserialization from a telepath document.
2013-09-02 11:46:32 -07:00
Kevin Sawicki
91531d53da
Doc Git::destroy as a public method
2013-09-02 11:34:26 -07:00
Kevin Sawicki
63a3d9de94
Pass project to Git.open in the options hash
...
Previously the project global was unavailable in the Git constructor
since it had not been set as a global yet and so the Git instance was never
configured to watch the project's buffers for save/reload events. This caused
the status to be out of sync in places like the gutter and status bar.
2013-09-02 11:34:20 -07:00
Kevin Sawicki
d9695170ce
Setup NODE_PATH when restarting render process
...
Without this the NODE_PATH env var will possibly be wrong when restarting
a window after another window has been opened that has a different NODE_PATH
value.
Close #630
2013-09-01 11:16:35 -07:00
Kevin Sawicki
963ad4b28c
Stub out console::trace in task-bootstrap
...
This prevents errors from being logged when console.trace() is called
from a task process.
2013-09-01 10:16:36 -07:00
Jason Rudolph
4bf09baa30
Merge pull request #780 from atom/add-get-upstream-branch-to-git
...
Add #getUpstreamBranch to Git
2013-08-31 13:13:08 -07:00
Jason Rudolph
9f823040f2
Add #getUpstreamBranch to Git
2013-08-31 09:25:09 -04:00
Nathan Sobo
91adc01e4e
🐎 Don't get every line to check for soft-tabs
...
Getting all the lines requires SharedString to construct a big array.
It's more efficient to check them one line at a time.
2013-08-30 14:36:45 -06:00
Kevin Sawicki
989fffba6a
🚱 Destroy repo in Project::setPath
...
Previously if the new path was non-null then the current repo would be
leaked and never destroyed
2013-08-29 18:08:01 -07:00
Corey Johnson
9f1edd3189
Use a simpler escapeRegExp method
2013-08-29 15:58:21 -07:00
Kevin Sawicki
e03544bab6
Hide body when unloading
...
This prevents a weird UI flicker when refreshing with the settings
view open.
2013-08-29 15:23:26 -07:00
Kevin Sawicki
fd9f3d6543
Don't serialize packages unless the main module was activated
...
The settings-view activates the config for each package before it renders
causing the main module to be required in order to call activateConfig().
This was causing serialize to be called when the window state was being
saved which was incorrect since activate hadn't actually been called even
though the main module was required.
2013-08-29 14:48:42 -07:00
Kevin Sawicki
8307ae8938
💄 correct lint indentation problem
2013-08-28 20:32:35 -07:00
Kevin Sawicki & Nathan Sobo
2bd4386090
Destroy unretained buffers when serializing project
...
Previously buffers could linger indefinitely if an error occurred
during startup between the deserialization of the project and the
original retaining edit session.
2013-08-28 18:37:40 -07:00
Kevin Sawicki & Nathan Sobo
40b6183937
🐎 Don't pretty print serialized window state
2013-08-28 18:13:44 -07:00
Matt Colyer
9fe9e0dc41
Add documentation for Selection.expandOver*
2013-08-28 15:39:08 -07:00
Kevin Sawicki
2f46539026
Use global.devResourcePath when running package specs
...
This allows package specs to be launched from windows that
are not in dev mode, previously the window would fail to launch
in this case.
2013-08-28 12:49:18 -07:00
Kevin Sawicki
29f1f5cbe5
Call close on native window instead of JS window
...
Added atom.close() which forwards to remote.getCurrentWindow().close()
since calling window.close() does not call the unload handler registered
on the window global.
Closes #764
2013-08-28 09:10:54 -07:00
Nathan Sobo
2921ac856c
Fall back to empty document if window state cannot be deserialized
...
If the telepath serialization version has changed it will return null
from Site::deserializeDocument.
2013-08-28 10:03:40 -06:00
Kevin Sawicki
b02ac8696e
Add missing parens to call to app.quit()
2013-08-28 08:09:52 -07:00
Kevin Sawicki & Nathan Sobo
38422150b0
🚱 Clear blinking interval when cursor view is removed
2013-08-27 13:00:41 -07:00
Kevin Sawicki & Nathan Sobo
e28ef3a76c
🚱 Call off on active item when it is removed
2013-08-27 13:00:41 -07:00
Kevin Sawicki
6baaf404af
🚱 Use subscribe for tokenized buffer event listeners
2013-08-27 13:00:41 -07:00
Kevin Sawicki
f42bd3f34b
🚱 Clear config subscriptions when unobserving
2013-08-27 13:00:41 -07:00
Matt Colyer
2bca1abb2a
Remove trailing whitespace
2013-08-27 10:17:02 -07:00
Matt Colyer
a44662c885
Actually fix task.coffee
2013-08-27 10:17:02 -07:00
Matt Colyer
0f014463c1
Undo accidental change to method signature
2013-08-27 10:17:02 -07:00
Matt Colyer
7c55348fde
Fix incorrect biscotto references
2013-08-27 10:17:01 -07:00
Matt Colyer
4cb1f6c509
Add comments to Task
2013-08-27 10:17:01 -07:00
Matt Colyer
16ab3e5538
Reformat Selection comments
2013-08-27 10:17:01 -07:00
Matt Colyer
696a54392e
Determine public API of SelectList
2013-08-27 10:17:01 -07:00
Matt Colyer
9521358c55
Add note to scroll-view.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
a5e563c04c
Reformatted comments for RootView
2013-08-27 10:17:01 -07:00
Matt Colyer
631995996b
Reformat comments for project.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
f239cdf307
Add comments to pane.coffee
2013-08-27 10:17:01 -07:00
Matt Colyer
d3e482ed6f
Reformat Git comments
2013-08-27 10:17:01 -07:00
Matt Colyer
75af26ea3e
Reformat comments in file.coffee
2013-08-27 10:17:00 -07:00
Matt Colyer
2d547e3b9e
Reformat comments in edit-session.coffee
2013-08-27 10:17:00 -07:00
Matt Colyer
e84a6b4869
Reformat Cursor class's comments to Markdown
2013-08-27 10:17:00 -07:00
Matt Colyer
c1c73a822a
Mark classes as private per discussion
2013-08-27 10:17:00 -07:00
Matt Colyer
e774b956e0
Fix visibility of classes.
2013-08-27 10:17:00 -07:00
Matt Colyer
68affd9b08
Update Directory documentation.
2013-08-27 10:17:00 -07:00
Matt Colyer
dd1a04aec0
Add visibility to comments of Cursor
2013-08-27 10:17:00 -07:00
Matt Colyer
ec37ec1e49
Update Config documentation
2013-08-27 10:17:00 -07:00
Matt Colyer
3d1a27875d
Update ApplicationMenu documentation
2013-08-27 10:17:00 -07:00
Matt Colyer
ad69522bd1
Update buffered-process's documentation
2013-08-27 10:16:59 -07:00
Matt Colyer
0043b9de77
Update atom-application documentation to latest format
2013-08-27 10:16:59 -07:00
Matt Colyer
0abbe8affb
Change to bold for documentation sections
2013-08-27 10:16:59 -07:00
Matt Colyer
1c39b851e4
Update AtomApplication to new documentation style
2013-08-27 10:16:59 -07:00
Matt Colyer
0e8ec74662
Fix more TomDoc references
2013-08-27 10:16:59 -07:00