Commit Graph

8015 Commits

Author SHA1 Message Date
Kevin Sawicki
b328a69f50 Check that label exists when comparing to other items
Previously separators would be removed when merging menus that
contained multiple separators.

Refs atom/find-and-replace#159
2014-04-09 11:39:38 -07:00
probablycorey
87d008c337 Revert "Merge pull request #1844 from atom/cj-move-functionality-to-workspace"
This reverts commit 2d7dda066c, reversing
changes made to 96e3c63291.
2014-04-08 10:44:08 -07:00
Corey Johnson
2d7dda066c Merge pull request #1844 from atom/cj-move-functionality-to-workspace
Move functionality from Project to Workspace
2014-04-08 09:52:29 -07:00
probablycorey
837f3c553f Don't explode the array 2014-04-08 09:07:55 -07:00
Cheng Zhao
96e3c63291 Show console when window error happened, fixes #1805. 2014-04-08 15:27:41 +08:00
probablycorey
be8514b864 Use _.clone instead of new Array 2014-04-07 16:56:35 -07:00
probablycorey
e826b66dd2 Don't destructure underscore 2014-04-07 16:56:17 -07:00
probablycorey
a3c9a65838 Remove redundant non-public documentation 2014-04-07 15:35:25 -07:00
Cheng Zhao
97cb440a7c Click on dock should open a new window when there is no window opened.
Fixes #1779.
2014-04-07 16:42:13 +08:00
probablycorey
d8f0743888 Fix bug in Project::getEditors 2014-04-04 15:31:44 -07:00
probablycorey
7685b27218 Move editor tracking to workspace 2014-04-04 15:31:20 -07:00
probablycorey
3aab0b7f51 Fix problem with Workspace::eachEditor 2014-04-04 15:31:01 -07:00
probablycorey
2f5735e264 Use existing remove method 2014-04-04 15:31:01 -07:00
probablycorey
56bea31b5e Move Project::eachEditor to Workspace::eachEditor 2014-04-04 15:31:01 -07:00
probablycorey
52d5e205c7 Update Workspace::getOpeners 2014-04-04 15:30:22 -07:00
probablycorey
0f5f6c8657 Move openers to workspace 2014-04-04 15:30:22 -07:00
Corey Johnson
7457be2805 Merge pull request #1824 from atom/cj-warn-deprecations
Add deprecation warnings
2014-04-04 15:08:11 -07:00
probablycorey
86842658c0 Use skinny arrows 2014-04-04 14:56:10 -07:00
probablycorey
d0276e60b5 Remove periods 2014-04-04 14:52:48 -07:00
Kevin Sawicki
18d6a56e82 Set maxTokensPerLine to 100
Previously this default lived in firs-mate but it belongs here since
it is an Atom limitation to tokenize responsively.
2014-04-04 14:46:42 -07:00
probablycorey
59108322e7 Merge remote-tracking branch 'origin/master' into cj-warn-deprecations
Conflicts:
	package.json
2014-04-04 14:43:54 -07:00
Kevin Sawicki
79399a3c5a 💄 Remove extra newline 2014-04-04 14:03:51 -07:00
Kevin Sawicki
6e422d5428 Move cursor to end of line when on first row
This line may be indented now so move the cursor to the
end of the indentation.
2014-04-04 10:47:25 -07:00
Kevin Sawicki
e464c4f047 Use current indent level for newline above
Previously Editor::insertNewlineAbove would put the cursor
at position 0 if there were empty lines above the current line
regarding of the indent level of the cursor's current line.

Now the indent level of the current line is always used for the newline
above when the editor.autoIndent config is enabled.
2014-04-04 10:47:25 -07:00
Kevin Sawicki
cebb27154d Merge pull request #1837 from atom/ks-comment-line-with-only-whitespace
Use cursor indent level if commenting single line
2014-04-04 09:30:05 -07:00
Kevin Sawicki
afe6685ce8 Merge pull request #1833 from atom/ks-backspace-on-first-line
Allow backspace to beginning of word on first line
2014-04-04 09:28:51 -07:00
Kevin Sawicki
148e143255 Merge pull request #1832 from atom/ks-dont-save-config-when-setting-defaults
Don't call Config::save when setting defaults
2014-04-04 09:18:24 -07:00
Kevin Sawicki
9fb364026e Initialize upstream object for all submodules 2014-04-03 18:48:32 -07:00
Kevin Sawicki
1aa64a9d80 Use cursor indent level if commenting single line
Previously commenting a line of all whitespace would insert
the comment at column 0 on the line since blank lines are
ignored when calculating the minimum indent level.
2014-04-03 18:26:50 -07:00
Kevin Sawicki
3e24d045e5 Allow backspace to beginning of word on first line
Previously this would fail when only whitespace was to the
left of the cursor.
2014-04-03 12:04:22 -07:00
Kevin Sawicki
f153cbb41f Don't call Config::save when setting defaults
Instead just emit an updated event, saving is not needed
because only the defaults are changing.
2014-04-03 11:00:45 -07:00
probablycorey
e58c2d8368 Fix WorkSpace typo 2014-04-03 10:37:20 -07:00
probablycorey
0b0dbbe4ee Add window:log-deprecation-warnings command 2014-04-03 10:12:04 -07:00
Kevin Sawicki
b173fcdd59 Default workspace classes when array is empty 2014-04-02 16:42:25 -07:00
Corey Johnson
7b6c62ab5e Merge pull request #1826 from atom/cj-workspace-spec
Add atom.workspace to all specs
2014-04-02 16:14:06 -07:00
Kevin Sawicki
de16ed6250 Remove special handling of Shift modifier
atom-keymap now handles this automatically when
normalizing.
2014-04-02 16:13:38 -07:00
Corey Johnson
606160d312 Use unless 2014-04-02 16:04:14 -07:00
Kevin Sawicki
78e990d1f9 Add minimize/maxmize to AtomWindow 2014-04-02 14:38:20 -07:00
Kevin Sawicki
8f3951fbd8 Only register first responder handlers on Mac OS X 2014-04-02 14:34:25 -07:00
Corey Johnson
662f252912 Workspace is destroyed automatically 2014-04-02 14:19:27 -07:00
Corey Johnson
4a35c9a1af Merge remote-tracking branch 'origin/master' into cj-workspace-spec 2014-04-02 14:09:24 -07:00
Corey Johnson
f90f48e3f0 Use atom.workspace if one exists 2014-04-02 14:08:00 -07:00
Corey Johnson
6f2695388c Add destroy method 2014-04-02 12:12:56 -07:00
Corey Johnson
727d1cf4aa Merge remote-tracking branch 'origin/master' into cj-harmony 2014-04-02 11:04:01 -07:00
Cheng Zhao
271b104120 🐧 Fix normalized menu item label. 2014-04-02 14:26:10 +08:00
probablycorey
56222a072a Add deprecation warnings 2014-04-01 16:59:16 -07:00
probablycorey
58dc45d496 Go full harmony!
Using the --harmony flag gives us all of the harmony functionality and it didn't
affect start time (~1360ms for both) or spec run time (~1:10 for both).
2014-04-01 15:31:55 -07:00
Nathan Sobo
65564e2012 Rename atom.keymap to atom.keymaps 2014-03-31 16:28:55 -06:00
Nathan Sobo
d612a71af5 Upgrade to atom-keymap@0.14.0 and account for renamed methods 2014-03-31 16:01:31 -06:00
Kevin Sawicki
5bc339afae Relativize path in isSubmodule working dir check
This will handle case insensitive filesystems correctly.
2014-03-31 11:34:06 -07:00