Kevin Sawicki
b3fdf08258
💄 path being resolved is always relative
2013-09-05 11:58:58 -07:00
Kevin Sawicki
67008e3584
Only put spec on NODE_PATH when running specs
2013-09-05 11:58:57 -07:00
Kevin Sawicki
030c341a00
Remove ~/.atom/packages from NODE_PATH
...
Packages paths needed for requires should be obtained from the atom global.
2013-09-05 11:58:57 -07:00
Kevin Sawicki
ca3fff8a94
💄 correct typo in method name
2013-09-04 14:01:46 -07:00
Ben Ogle
26e1df4127
Add loadThemes() to atom global
2013-09-04 12:25:29 -07:00
Ben Ogle
9d94afc8c5
Move base stylesheet loading in startEditorWindow
2013-09-04 12:25:29 -07:00
Ben Ogle
8f236c8a60
Rename less-imports to variables
2013-09-04 12:25:28 -07:00
Ben Ogle
41eb649ee5
Join dirs in config LESS path
2013-09-04 12:25:28 -07:00
Ben Ogle
15c1669ab6
Don't load bootstrap on reload of base sheets
2013-09-04 12:25:27 -07:00
Ben Ogle
127a2af397
Remove log line
2013-09-04 12:25:27 -07:00
Ben Ogle
d1c1ecc9a4
Add ability to override ui-variables in theme
...
This required moving the importable less files to a `less-imports`
directory and adding that directory to the less path. Otherwise,
atom.less would import ui-variables from its current directory
(/static/ui-variables) as less searches the current directory before
any other directories on the path.
2013-09-04 12:25:27 -07:00
Ben Ogle
084457c2a0
Update the less files to properly import less
2013-09-04 12:25:27 -07:00
Ben Ogle
5c12a7ceef
Move base stylesheet loading into atom.
...
Load the config during setup, but don't observe until the editor window
starts up.
2013-09-04 12:25:27 -07:00
Ben Ogle
9c5c05ff41
Get the proper directories before themeManage load
2013-09-04 12:25:27 -07:00
Kevin Sawicki
a9c4b23563
Use relative require path for keystroke-pattern.pegjs
2013-09-04 08:54:40 -07:00
Kevin Sawicki
8385a5403d
Remove unused require
2013-09-03 19:38:31 -07:00
Corey Johnson
5b3cd1b1e5
Use subscribe instead of on
...
So we don't listen to events after the pane container has been removed
2013-09-03 14:48:42 -07:00
Corey Johnson
0b73020a35
Use pane events to trigger pane-container:active-pane-item-changed
2013-09-03 14:48:42 -07:00
Corey Johnson
fc8a3f5e78
Rename pane-container:active-item-changed
...
To pane-container:active-pane-item-changed
2013-09-03 14:48:42 -07:00
Corey Johnson
915159d7a0
Fix pane:became-inactive and pane:became-active events
2013-09-03 14:48:42 -07:00
Corey Johnson
7fd0d934ef
Add pane-container:active-item-changed event
2013-09-03 14:48:42 -07:00
Corey Johnson
44de8fe2d3
Add getActivePaneItem method to Pane and PaneAxis
2013-09-03 14:48:42 -07:00
Kevin Sawicki
d78f455b23
Push filler tokens when no patterns match an empty line
...
This ensures that empty lines always contain tokens even when no
patterns match on empty lines.
2013-09-03 14:06:30 -07:00
Kevin Sawicki
4850636092
Tokenize empty lines using grammars
...
The literate CoffeeScript grammar uses empty lines to pop out of
the paragraph pattern.
2013-09-03 14:06:30 -07:00
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