probablycorey
b8406368c6
Add underscore so download update menu item works
2013-08-20 12:23:13 -07:00
probablycorey
6278364ed2
💄
2013-08-20 12:23:13 -07:00
probablycorey
068e656627
Remove unused atom.getVersion method
2013-08-20 12:23:13 -07:00
probablycorey
6d50d05336
Move default menu creation into ApplicationMenu
2013-08-20 12:23:13 -07:00
probablycorey
60d804fb72
Don't intercept non-core commands
2013-08-20 12:23:13 -07:00
probablycorey
fb2439f193
Move ApplicationMenu to the AtomApplication
...
This moves it completely out of the renderer process
2013-08-20 12:23:13 -07:00
probablycorey
4d8b2672ff
Rename menu-bar to application-menu
...
Also move it to the src root in preparation for it's use in the
browser process
2013-08-20 12:23:13 -07:00
probablycorey
e057d35048
Create a MenuBar object (instead of treating it like a singleton.)
2013-08-20 12:23:13 -07:00
probablycorey
6e3517dd4a
Menu bar does not directly access the keymap anymore
...
This makes the keyBindingsForCommand methods obsolete
2013-08-20 12:23:12 -07:00
probablycorey
37c17075ea
Add keymap.toObject()
2013-08-20 12:23:12 -07:00
probablycorey
1074642e8f
Remove unused openWindow method
2013-08-20 12:23:12 -07:00
probablycorey
e360379ced
Create default menu bar that is shown if atom crashes during launch
2013-08-20 12:23:12 -07:00
probablycorey
efb70e0562
Remove specs and methods that are no longer used
2013-08-20 12:23:12 -07:00
probablycorey
9a156c8629
Remove keymap.bindDefaultKeys
...
No longer needed since default keys are handled in AtomApplication
2013-08-20 12:23:12 -07:00
probablycorey
afd1a7419d
Menu bar is load by the first created Atom Window
2013-08-20 12:23:12 -07:00
Corey Johnson
b3582b2632
Add keymap.keyBindingsForCommand
2013-08-20 12:23:11 -07:00
Corey Johnson
e68bc47dc5
💄
2013-08-20 12:23:11 -07:00
Corey Johnson
b5f4b8d254
Set devMode option on loadSettings
2013-08-20 12:23:11 -07:00
probablycorey
8803bab816
trigger commands from the browser process on the active.element
2013-08-20 12:23:11 -07:00
Kevin Sawicki
27cee3e19c
Don't terminate tokenization if stack size changes
...
Previously Python import blocks were not tokenizing correctly since
the loop was prematurely terminating when a match at the end of the line
was reached and no tokens were generated for it.
This approach was incorrect since the tokenizer may have just popped a rule
and another loop could possibly pop more rules.
Now this early termination is only performed if the stack size hasn't changed.
2013-08-20 11:38:06 -07:00
Kevin Sawicki
d89e95dc54
💄 Move extend under class declaration
2013-08-20 10:15:31 -07:00
Kevin Sawicki
87b859b947
Update links for new repo location under atom org.
2013-08-19 20:50:09 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Kevin Sawicki
45c11e6fd4
Move src/app/keymaps to repo root
2013-08-19 20:13:57 -07:00
Kevin Sawicki
b6785d78e8
Reset themes in afterEach
...
This ensures they don't bleed over into other specs.
2013-08-19 19:49:52 -07:00
Kevin Sawicki & Nathan Sobo
f76108fdfd
🐎 Cache tab whitespace regexes in Token
2013-08-19 18:07:32 -07:00
Ben Ogle
8ea8671430
Merge pull request #706 from github/bo-inject-less-vars
...
Add theme dir(s) to less import paths -> allow package LESS to import from the current theme
2013-08-19 18:03:55 -07:00
Kevin Sawicki & Nathan Sobo
0af8c9362b
Remove duplicate call to TokenizedBuffer:resetTokenizesLines()
...
This is already handled in an event listener bound to 'grammar-changed'
which TokenizedBuffer::setGrammar triggers.
2013-08-19 16:20:35 -07:00
Ben Ogle
15085384b9
change name of event to reloaded
2013-08-19 15:55:16 -07:00
Ben Ogle
0eff8deabc
remove parens from the list comp
2013-08-19 15:55:16 -07:00
Ben Ogle
15a48147b1
Use theme.reload event to reload the theme stylesheets
2013-08-19 15:55:16 -07:00
Ben Ogle
3bc6023a66
Use import paths from themes when loading a less sheet
2013-08-19 15:55:15 -07:00
Ben Ogle
b89e58e551
ThemeManager emits a reload event when reloaded
2013-08-19 15:55:15 -07:00
Ben Ogle
6cd003f68e
Add reloadStylesheets() to AtomPackage
2013-08-19 15:55:15 -07:00
Ben Ogle
8730638ade
Add directory and ImportPaths paths to themes
2013-08-19 15:55:15 -07:00
Kevin Sawicki & Nathan Sobo
347801b074
Merge branch 'summit'
...
Conflicts:
src/app/config.coffee
src/atom-application.coffee
src/main.coffee
2013-08-19 14:01:24 -07:00
Kevin Sawicki & Nathan Sobo
24e0d8fc03
Add ~/.atom/dev/packages to package load path in dev mode
2013-08-19 09:56:43 -07:00
Kevin Sawicki & Nathan Sobo
42a34c01c9
Add devMode flag to atom.getLoadSettings()
2013-08-19 09:55:11 -07:00
Kevin Sawicki
65330a00e3
Special case last row in TextBuffer::suggestedLineEndingForRow
...
This fixes the TextBuffer specs for changes in the underlying
behavior of SharedString::lineEndingForRow in telepath.
2013-08-16 21:22:06 -07:00
probablycorey
09c8b2a3a8
Remove the close-without-confirm event
...
This was not being used anymore.
2013-08-16 15:49:24 -07:00
Kevin Sawicki & Nathan Sobo
a147dc01d7
Clear undo stack after setting initial buffer text
2013-08-16 11:30:37 -07:00
Kevin Sawicki & Nathan Sobo
2f4555a16f
Add config.userPackageDirPaths which includes dev packages in dev mode
2013-08-16 11:18:08 -07:00
Ben Ogle
eea38a696f
add a pane:became-inactive event
2013-08-15 17:28:14 -07:00
Kevin Sawicki & Nathan Sobo
27928a7145
Upgrade telepath for Document::begin/commit/abortTransaction()
2013-08-15 17:17:32 -07:00
Kevin Sawicki & Nathan Sobo
6178c64c68
Add ~/.atom/dev/packages to package load path in dev mode
2013-08-14 17:41:32 -07:00
Kevin Sawicki & Nathan Sobo
b305a09be3
Add devMode flag to atom.getLoadSettings()
2013-08-14 17:33:58 -07:00
Kevin Sawicki & Nathan Sobo
b3fe63b1b4
Don't return duplicates from atom.getAvailalblePackageNames()
2013-08-14 15:34:47 -07:00
Kevin Sawicki
c6d1409151
Merge branch 'master' into summit
...
Conflicts:
.pairs
package.json
spec/app/tokenized-buffer-spec.coffee
src/app/edit-session.coffee
src/app/project.coffee
src/app/window.coffee
src/atom-application.coffee
static/root-view.less
2013-08-14 14:05:35 -07:00
Nathan Sobo
bd6dda6f0f
Don't load buffer contents from disk without an isModified key in state
...
When we deserialize a replicated buffer, we always want to honor the
current contents of state. If the state was produced by a call to
`getState` instead of `serialize`, it won't have an `isModified` key,
so we should not load from disk.
2013-08-14 11:55:37 -06:00
Nathan Sobo
468034f261
🙊
2013-08-14 11:46:10 -06:00