Commit Graph

11756 Commits

Author SHA1 Message Date
Jess Lin
20d3c07bf5 [Gutter] Add add/get Gutter methods to TextEditor 2015-04-22 07:28:56 -07:00
Jess Lin
fccc9ebee4 [Gutter] Rename current references to 'Gutter' -> 'LineNumberGutter' 2015-04-22 07:28:56 -07:00
Jess Lin
a6efa104db [Gutter] Don't allow the 'line-number' gutter to be destroyed 2015-04-22 07:28:56 -07:00
Jess Lin
94a0bf3f90 [Gutter] Create Gutter and GutterContainer w/ API to hide/show 2015-04-22 07:28:56 -07:00
Ivan Zuzak
02070165e4 Move Grim deprecation calls to correctly attribute them with packages 2015-04-22 15:40:56 +02:00
Michael Bolin
bf9999d07a core:select-up/down should work in mini editor as well as main editor.
Fixes #6445.
2015-04-21 12:50:20 -07:00
bolinfest
9721e1306f Merge pull request #6446 from atom/bf-bump-babel-5.1.11
⬆️ babel-core@5.1.11
2015-04-21 11:31:53 -07:00
Nathan Sobo
76a919f8b4 Perform document updates in same frame when requested from reads
A common pattern is to put something on the DOM, measure it, then update
the DOM again based on that measurement. This change ensures that any
updates requested as a result of reading from the DOM get scheduled for
the end of the current frame. If you want to read *again* after these
follow-on updates, you will need to wait for the next frame. But at
least this way we ensure instant feedback with minimal thrashing
(1 reflow) when we have no choice but to read the DOM before updating.

/cc @benogle
2015-04-20 22:01:36 -06:00
Michael Bolin
88b6db8ac7 Bump babel-core from 4.0.2 to 5.1.11.
Notable new features from the [https://github.com/babel/babel/blob/master/CHANGELOG.md](changelog):
* Add [trailing function comma proposal](https://github.com/jeffmo/es-trailing-function-commas).
* Decorators based on [@wycat's stage 1 proposal](https://github.com/wycats).

There is a number of bug fixes and performance improvements, as well.
2015-04-20 15:48:45 -07:00
Nathan Sobo
d1c44dcb54 Never load config settings from disk when a save is pending
Fixes #5771

We load the user’s settings from disk when we detect a change to their
config.cson file. However, if there’s a save pending, doing this will
end up blowing away the values we intend to save.
2015-04-20 12:12:05 -06:00
vvakame
d02a67f5bb 📝 improves document consistency 2015-04-19 11:39:19 +09:00
Kevin Sawicki
edbcf4023e Add back accidentally deleted resolve call 2015-04-16 14:57:11 -07:00
Kevin Sawicki
f1d90570b6 Check grammars/settings paths before reading
asar seems to create and throw errors synchronously when these
do not exist and fs.readdir is called.
2015-04-16 14:57:11 -07:00
Max Brunsfeld
356bb7ce0f Don't rethrow exceptions from reading state files
They block startup.
2015-04-15 16:53:45 -07:00
Kevin Sawicki
2c5655b7d2 Remove unused requires 2015-04-15 15:55:31 -07:00
Kevin Sawicki
e6a49c4531 Remove unused resource path 2015-04-15 15:55:31 -07:00
Kevin Sawicki
8e5323d154 apm is back in app folder 2015-04-15 15:55:30 -07:00
Kevin Sawicki
df28212bdf Expect atom.sh and apm in app folder 2015-04-15 15:55:30 -07:00
Kevin Sawicki
00e91dc9df Look for apm in app folder 2015-04-15 15:55:30 -07:00
Kevin Sawicki
5a8885aeed Revert "Revert "Add asar support in Atom"" 2015-04-15 15:55:30 -07:00
Max Brunsfeld
c665747879 Merge pull request #6380 from atom/mb-reopen-windows
Reopen windows when starting app w/ no arguments
2015-04-15 15:50:22 -07:00
Max Brunsfeld
8f06301880 Open window if Atom was previously quit w/ no open windows 2015-04-15 15:09:49 -07:00
Max Brunsfeld
b8c7f655f9 🎨 Extract logic for storage folder into separate class 2015-04-15 15:09:49 -07:00
Max Brunsfeld
e4984d68cc 🎨 Tidy up pane container resize element spec 2015-04-15 14:09:27 -07:00
Kevin Sawicki
1602b8cf45 👕 remove some coffee lint 2015-04-15 14:01:49 -07:00
Max Brunsfeld
632c57d7b4 Merge pull request #5902 from liuxiong332/pane-resize
add  implementation for resizable panes, just solve the issue #274
2015-04-15 13:31:33 -07:00
Kevin Sawicki
9a0c3f94a9 Remove path data attributes when no active item 2015-04-15 10:32:22 -07:00
Kevin Sawicki
476cf4152c 🎨 2015-04-15 10:24:51 -07:00
Kevin Sawicki
d4439b1d55 Merge pull request #6383 from atom/mq-has-file-path
Indicate whether buffer has a file path
2015-04-15 10:21:57 -07:00
Machiste Quintana
7b02720d06 🎨 Finish rename 2015-04-15 13:16:31 -04:00
Machiste Quintana
8d0168a520 🎨 2015-04-15 13:12:38 -04:00
Kevin Sawicki
ff88cd6498 Add 0 load time for no-op ThemePackage::load 2015-04-15 09:27:53 -07:00
Kevin Sawicki
fda6bb3624 Add notification when reloading stylesheets fails 2015-04-15 09:18:02 -07:00
Kevin Sawicki
63af011b38 Remove unneeded metadata loading
This is handled by the super class constructor and by the
package manager.
2015-04-15 09:18:02 -07:00
Kevin Sawicki
bf9f0f4597 Show notifications for theme activate errors 2015-04-15 09:18:02 -07:00
Antonio Scandurra
3c47cc7964 Stop polling document when clearing document requests 2015-04-15 12:15:51 +02:00
liuxiong332
86a004dc8c add observer to watch flex scale change event in pane-element.coffee 2015-04-15 12:44:13 +08:00
liuxiong332
e46d3b0d27 Merge remote-tracking branch 'origin' into pane-resize
Conflicts:
	src/pane-element.coffee
	src/pane.coffee
2015-04-15 10:09:41 +08:00
Machiste Quintana
2b43f7d163 Add active path and file name to atom-pane 2015-04-14 20:52:26 -04:00
Machiste Quintana
06c7ed98f9 🎨 Refactor class add 2015-04-14 20:20:39 -04:00
Machiste Quintana
078c6a80cf Add .has-file-path if active buffer has a file path 2015-04-14 18:35:32 -04:00
Max Brunsfeld
3091ac8331 Don't try to reopen spec windows on launch 2015-04-14 15:29:04 -07:00
Kevin Sawicki
55b6499b7d Add notification for ENXIO save error
Closes #5576
2015-04-14 15:25:36 -07:00
Max Brunsfeld
3d05ae02ba Reopen windows when launching w/ no arguments 2015-04-14 14:18:44 -07:00
Max Brunsfeld
e7f64c5ec1 Fix docs for AtomApplication::openPaths 2015-04-14 14:17:40 -07:00
Kevin Sawicki
ae6b5e54ef 🎨 " -> ' 2015-04-14 11:08:55 -07:00
Kevin Sawicki
5272584d29 Merge pull request #6359 from atom/as-fix-linux-failing-specs
Fix some of the specs which fail on Linux
2015-04-14 11:07:58 -07:00
Antonio Scandurra
6190fe00d7 🎨 Avoid string interpolation in require 2015-04-14 19:34:43 +02:00
Ben Ogle
cfb28d1c2e Merge pull request #6367 from atom/bo-follow-symlinks
Default `core.followSymlinks` to true
2015-04-14 10:22:02 -07:00
Kevin Sawicki
a5a2fb8741 Merge pull request #6368 from atom/ks-consolidate-selector-caches
Consolidate selector caches
2015-04-14 10:09:21 -07:00
Antonio Scandurra
1c8cf4390c Rename to safe-clipboard
...and use remote only on Linux renderer processes.
2015-04-14 10:50:09 +02:00
Kevin Sawicki
84bab1c67b Use selector validator provided by clear-cut 2015-04-13 18:03:14 -07:00
Kevin Sawicki
4c6722832b ⬆️ clear-cut@2.0 2015-04-13 18:01:40 -07:00
Ben Ogle
2538191449 Default core.followSymlinks to true 2015-04-13 17:47:25 -07:00
Kevin Sawicki
5449658011 Remove specificity caching now handled by clear-cut 2015-04-13 17:47:25 -07:00
Ben Ogle
f6c1f95b65 Rename method for clarity 2015-04-13 16:32:26 -07:00
Ben Ogle
8f2fbbfd9d Rename method to be more consistent 2015-04-13 16:29:10 -07:00
Ben Ogle
d38f6bb1d3 Add toString to ScopeDescriptor 2015-04-13 16:26:50 -07:00
Ben Ogle
2872000d13 Fix paragraph computation in blocks of single line comments.
Closes #6050

Closes #5963
2015-04-13 16:26:24 -07:00
Sean Lee
74caf89dd1 🐛 fix rowRangeForParagraphAtBufferRow using \S 2015-04-13 15:46:27 -07:00
Max Brunsfeld
59145581d7 Merge pull request #6323 from atom/mb-update-help-message
Update help message to reflect changes to multi-path handling
2015-04-13 11:02:59 -07:00
Antonio Scandurra
87972caf1e 🐧 Disable failing spec 2015-04-13 16:24:22 +02:00
Antonio Scandurra
f633a4f771 Use src/native-clipboard in TextEditorComponent 2015-04-13 14:20:17 +02:00
Antonio Scandurra
106f9fdf2e Use src/native-clipboard in atom-application 2015-04-13 14:08:43 +02:00
Antonio Scandurra
16dbb7d0bb 🐧 💚 Mock native clipboard appropriately 2015-04-13 12:12:03 +02:00
Ben Ogle
f35187e8c3 Allow editor.completions to be an array or an object. 2015-04-09 14:21:03 -07:00
Max Brunsfeld
09be369544 Update help message to reflect changes to multi-path handling 2015-04-09 13:06:11 -07:00
Ivan Zuzak
74a627d41b Merge pull request #6005 from vegar/patch-1
Documentation: workspace.open( ) with no URI
2015-04-09 15:40:01 +02:00
Ivan Zuzak
b8fb2f4d11 Clarify that URIs don't need to be files 2015-04-09 15:38:48 +02:00
Kevin Sawicki
4160a8c239 Merge pull request #6230 from mnquintana/coffeelint-plus
Lint for more styleguide errors
2015-04-08 12:07:23 -07:00
Kevin Sawicki
80787ef1e2 Remove try/catch around package.json requiring
No other requires are ever guarded against and the package.json should
be assumed to be valid JSON.
2015-04-08 09:30:40 -07:00
Kevin Sawicki
ca67d33ebe Use inlined context menu from package.json when available 2015-04-08 09:16:56 -07:00
Kevin Sawicki
83541c01b5 Pull out menu property from _atomMenu 2015-04-08 09:16:55 -07:00
Kevin Sawicki
4b8bb9e1d9 platformMenuPath -> platformMenu 2015-04-08 09:16:55 -07:00
Kevin Sawicki
ab79f2cf50 🎨 Drop unneeded detail: 2015-04-08 09:16:55 -07:00
Kevin Sawicki
50688973e6 Load keymaps from package.json 2015-04-08 09:16:55 -07:00
Kevin Sawicki
d30b61f7c9 Load platform menu from package.json 2015-04-08 09:16:55 -07:00
Kevin Sawicki
658629f45e 🎨 2015-04-07 15:29:34 -07:00
Kevin Sawicki
2fc132c97b 🐎 Use require to read/parse package.json
This file is really large and should be read via require so it is cached
2015-04-07 15:28:55 -07:00
Kevin Sawicki
018fe0e8b8 Only set atom.__workspaceView in deprecated mode 2015-04-07 15:11:53 -07:00
Kevin Sawicki
7b952e3f33 Remove unused emissary mixins 2015-04-07 14:50:36 -07:00
Kevin Sawicki
4b764f4a59 Move emissary require to deprecation block 2015-04-07 14:50:36 -07:00
Kevin Sawicki
e71c6b1061 Remove unused require 2015-04-07 14:50:32 -07:00
Kevin Sawicki
baae0c0ac6 Only include emissary Emitter in deprecation mode 2015-04-07 14:40:27 -07:00
Max Brunsfeld
c7a5ebf725 Merge pull request #6291 from atom/mb-rename-add-root-folder
Rename 'add-root-folder' -> 'add-project-folder'
2015-04-07 12:30:37 -07:00
Max Brunsfeld
f39c67411a Rename 'add-root-folder' -> 'add-project-folder' 2015-04-07 12:10:12 -07:00
Kevin Sawicki
555b5adfca Merge pull request #6281 from atom/iz-report-issues-through-contributing-guide
Change in-app menu for reporting issues to point to the CONTRIBUTING guide section on submitting issues
2015-04-07 11:51:19 -07:00
Kevin Sawicki
2aaf1fffe6 Move stack trace helpers into deprecation block 2015-04-07 09:51:16 -07:00
Antonio Scandurra
cbf499243e Use screen ranges consistently 2015-04-07 18:08:51 +02:00
Ivan Zuzak
36641884f9 Point in-app link for reporting issues to CONTRIBUTING guide 2015-04-07 13:37:30 +02:00
Antonio Scandurra
5e5acb7432 🎨 Rename to TextEditor#mergeSelectionsOnSameRows
* 🔥 Delete `Selection#intersectsByRowWith`
2015-04-07 12:25:15 +02:00
Antonio Scandurra
59a5dc42a8 Merge branch 'master' into as-fix-delete-line 2015-04-07 12:12:36 +02:00
Machiste Quintana
2bb2022b5b 👕 2015-04-07 00:05:19 -04:00
Machiste Quintana
5d2392ea67 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
Cheng Zhao
a6d47d403f 🐧 Don't use clipboard in renderer process, fixes #6221 2015-04-07 11:01:54 +08:00
Kevin Sawicki
4560be9eae Don't use deprecated atom.config.toggle 2015-04-06 15:53:25 -07:00
Kevin Sawicki
a3adf0c6d3 Merge pull request #6272 from atom/ks-use-new-model
Don't use theorist when in 1.0 API preview mode
2015-04-06 15:45:40 -07:00
Max Brunsfeld
5df56fc50a Add workspace element command for 'add root folder' 2015-04-06 15:19:40 -07:00
Kevin Sawicki
b54177eb5e Remove property always set in constructor 2015-04-06 15:14:26 -07:00
Kevin Sawicki
c4062d8fea Remove destroyed event deprecation 2015-04-06 13:57:52 -07:00