Nathan Sobo
99b8e159bd
Add Project::onDidChangePaths event
2014-10-01 10:48:39 -06:00
Nathan Sobo
33c1ce863e
Pluralize Project API
...
This changes all APIs concerning paths and repositories on the project
to be plural, preparing us to switch to multi-folder projects. It
doesn’t make any changes to actually support multiple folders. Instead
we just wrap the previous return values in singleton arrays.
* constructor ‘path’ params -> ‘paths’
* getRootDirectory -> getDirectories
* getPath -> getPaths
* setPath -> setPaths
* getRepo -> getRepositories
2014-10-01 10:48:39 -06:00
Ben Ogle
0fafc21bc8
Merge pull request #3690 from atom/bo-fix-config-issue
...
Fix config resetting all values when one changes.
v0.134.0
2014-10-01 09:47:29 -07:00
Ben Ogle
57603b3a00
Fix config resetting all values when one changes.
...
Closes atom/settings-view#257
2014-10-01 09:37:25 -07:00
Kevin Sawicki
cd8c6690aa
Upgrade to image-view@0.37
2014-10-01 08:40:08 -07:00
Kevin Sawicki
8806eef231
Upgrade to language-xml@0.22
2014-10-01 08:32:59 -07:00
Kevin Sawicki
de434fcfbf
Upgrade to fs-plus@2.3.1
2014-10-01 08:31:58 -07:00
Cheng Zhao
754429978e
Merge pull request #3688 from atom/atom-shell-v0.17.0
...
Upgrade to atom-shell@0.17 .1
2014-10-01 22:04:34 +08:00
Cheng Zhao
fdb4cd7e53
Disable DirectWrite, fixes #3540
2014-10-01 21:37:50 +08:00
Cheng Zhao
bf19d098d5
Upgrade to atom-shell@0.17.1
2014-10-01 21:27:51 +08:00
Cheng Zhao
5e0c7d3a70
Upgrade to apm@0.98.0
2014-10-01 20:20:43 +08:00
Cheng Zhao
c66df2c05a
Upgrade to atom-shell@0.17.0
2014-10-01 20:14:32 +08:00
Kevin Sawicki
df161d7d9b
Upgrade to settings-view@0.149
2014-09-30 16:57:06 -07:00
Kevin Sawicki
ebf026def4
📝 Make HEAD all caps in title
2014-09-30 16:13:46 -07:00
Kevin Sawicki
a12fb94d77
Specific VCS in config title
...
Closes atom/settings-view#41
2014-09-30 16:13:46 -07:00
Nathan Sobo
70a804bdb4
Rename Workspace::registerOpener to ::addOpener for consistency
2014-09-30 17:09:35 -06:00
Nathan Sobo
0242e1c4ef
Merge pull request #3658 from atom/ns-context-menu-cleanup
...
Clean up context menu API
2014-09-30 16:38:58 -06:00
Kevin Sawicki
f84cb83e1e
Use -> arrows
2014-09-30 14:02:10 -07:00
Nathan Sobo
72538891dd
Merge remote-tracking branch 'origin/master' into ns-context-menu-cleanup
...
Conflicts:
src/menu-manager.coffee
2014-09-30 14:53:10 -06:00
Nathan Sobo
73f6904ab7
Merge pull request #3671 from atom/ns-require-stylesheet-disposable
...
Return a Disposable from ThemeManager::requireStylesheet
2014-09-30 14:50:56 -06:00
Nathan Sobo
8ebfa495b5
Merge pull request #3670 from atom/ns-register-opener-disposable
...
Return a Disposable from Workspace::registerOpener
2014-09-30 14:50:46 -06:00
Kevin Sawicki
ef1e05fb89
Prepare 0.134
2014-09-30 13:36:38 -07:00
Kevin Sawicki
1f4359d429
Treat debugger statements as lint errors
v0.133.0
2014-09-30 13:25:55 -07:00
Nathan Sobo
276102e197
Require grim
2014-09-30 14:24:47 -06:00
Nathan Sobo
99a14c07f5
Return a Disposable from Workspace::registerOpener
2014-09-30 14:13:50 -06:00
Nathan Sobo
8f9f422406
📝 Update return value docs
2014-09-30 14:03:03 -06:00
Nathan Sobo
211a1c75e2
Return a disposable from ThemeManager::requireStylesheet
2014-09-30 14:02:04 -06:00
Nathan Sobo
fd3cb1a232
💄 theme-manager-spec
2014-09-30 14:01:41 -06:00
Nathan Sobo
f205fe81ce
Actually update first-mate. Previous ( 51475fe231) updated atom-keymap.
...
Both were needed to introduce disposables, but I mixed up the commit
message in the previous commit.
2014-09-30 13:58:01 -06:00
Ben Ogle
c74b1b971d
Use isPlainObject()
2014-09-30 12:44:44 -07:00
Ben Ogle
54af7eced1
Handle empty config files + reset settings before applying user config
...
Closes #3664
2014-09-30 12:39:07 -07:00
Nathan Sobo
10f7a671c8
Merge pull request #3667 from atom/ns-deserializer-manager-disposables
...
Return disposables from DeserializerManager::add
2014-09-30 13:10:35 -06:00
Nathan Sobo
51475fe231
Upgrade first-mate to return Disposable from GrammarRegistry::addGrammar
2014-09-30 13:09:40 -06:00
Nathan Sobo
33a5ca30dc
Use DeserializerManager::add disposable instead of ::remove in specs
2014-09-30 12:58:10 -06:00
Nathan Sobo
df1ae64f62
Deprecate DeserializerManager::remove
2014-09-30 12:58:10 -06:00
Nathan Sobo
83710ed254
📝 Rename classes param to deserializers and update docs
2014-09-30 12:58:10 -06:00
Nathan Sobo
8cb8f09803
Return a Disposable instance from DeserializerManager::add
2014-09-30 12:58:10 -06:00
Kevin Sawicki
ff0a7be48a
Upgrade to settings-view@0.148
2014-09-30 11:18:50 -07:00
Nathan Sobo
b2cc28fb5b
Rename commandOptions to commandDetail on context menu items
2014-09-30 12:15:56 -06:00
Nathan Sobo
f6938183cc
Add pane splitting context menu items for all panes
...
The same menu items remain for `.overlayer` to force them to be ordered
before package context menu items.
2014-09-30 12:06:27 -06:00
Nathan Sobo
4a0c5aaa70
Prevent adjacent menu separators
2014-09-30 12:06:27 -06:00
Nathan Sobo
eb929cb7a2
Honor item specificity while still preserving addition order
...
Rather than using order to specify item precedence, we now construct
a set of menu items for each element traversing upward from the target.
When merging items for a given element, we pass the specificity to the
merge function, which uses it to decide whether or not to clobber
existing items. When assembling the overall menu, we don’t ever clobber
to ensure that items added for elements closer to the target always win
over items matching further up the tree.
2014-09-30 12:06:27 -06:00
Nathan Sobo
cf80b92f9a
Remove logging
2014-09-30 12:06:27 -06:00
Nathan Sobo
1187b50d90
Put platform items back on .overlayer so they sort before package items
2014-09-30 12:06:27 -06:00
Nathan Sobo
36d5359ef4
Restore original context menu ordering
...
Previously I used CSS specificity to order the most specific / recently
added menu items for a given element *first* when building up the
context menu. When a duplicate label was found for a given menu I would
refrain from inserting it. Now instead I order things the opposite way.
The most specific / recently added items come later and items with the
same label are clobbered by later items.
2014-09-30 12:06:26 -06:00
Nathan Sobo
915cfe15f5
Clear context menus between specs
2014-09-30 12:06:26 -06:00
Nathan Sobo
f082f93ead
Update specs for new ContextMenuManager API/behavior
...
When selectors have the same specificity, menu items added *later*
appear higher in the list.
2014-09-30 12:06:26 -06:00
Nathan Sobo
f9bf42db64
Remove commented line
2014-09-30 12:06:26 -06:00
Nathan Sobo
ff76e36f7d
Only display ‘Inspect Element’ item in dev mode
2014-09-30 12:06:26 -06:00
Nathan Sobo
740778e129
Auto-detect context menu items in the old format
2014-09-30 12:06:26 -06:00