Commit Graph

12104 Commits

Author SHA1 Message Date
Kevin Sawicki
abdec07bfe Merge pull request #7086 from atom/jl-preferences
Add 'Show Preferences' command to open Settings
2015-06-04 11:20:06 -07:00
Max Brunsfeld
688cc5ef9d Merge pull request #7023 from atom/mb-optimize-marker-observation
Optimize marker observation
2015-06-04 10:57:00 -07:00
Max Brunsfeld
b80c480d86 Store overlay decorations to optimize ::getOverlayDecorations() 2015-06-04 10:27:36 -07:00
Max Brunsfeld
f5895d8b0b presenter: use 'markers-updated' event for state updates
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-06-03 17:58:44 -07:00
Kevin Sawicki
281e0b420d 🎨 Move one flag near deprecated flag 2015-06-03 15:00:33 -07:00
Kevin Sawicki
205059cd2f The -> This 2015-06-03 12:00:48 -07:00
Kevin Sawicki
6a5bf633e9 Show deprecation text via usage message 2015-06-03 11:53:59 -07:00
Kevin Sawicki
75f2ce148a Use consistent default format 2015-06-03 11:43:58 -07:00
Kevin Sawicki
6ebbb58a80 Log message about --one being removed 2015-06-03 11:43:58 -07:00
Jessica Lord
0db71fa115 Add 'Show Preferences' command to open Settings 2015-06-03 10:20:34 -07:00
Kevin Sawicki
df2bd62327 Load deprecated packages when including deprecated APIs 2015-06-03 09:47:13 -07:00
Kevin Sawicki
551636d59e 📝 Tweak deprecated load message 2015-06-03 09:19:57 -07:00
Kevin Sawicki
8dbec4afe2 🎨 2015-06-03 09:19:57 -07:00
Kevin Sawicki
87bbf15c6d Log to console about not loading deprecated packages 2015-06-03 09:19:57 -07:00
Kevin Sawicki
51611c24b5 Don't validate version until checking for empty range 2015-06-03 09:19:57 -07:00
Kevin Sawicki
4bb6728784 Add atom.packages.getDeprecatedPackageMetadata 2015-06-03 09:19:57 -07:00
Kevin Sawicki
d557e78847 Add spec for deprecated packages 2015-06-03 09:19:57 -07:00
Kevin Sawicki
22f2de77d1 Expose a atom.packages.isPackageDeprecated helper 2015-06-03 09:19:57 -07:00
Kevin Sawicki
06c4f17af0 Don't load deprecated packages 2015-06-03 09:19:57 -07:00
Max Brunsfeld
76c696f1a2 Merge branch 'master' into mb-optimize-marker-observation
Conflicts:
	src/text-editor-component.coffee
	src/text-editor-presenter.coffee
2015-06-03 09:12:07 -07:00
Kevin Sawicki
a2ed26a6f3 Include deprecated APIs when running specs 2015-06-02 16:36:20 -07:00
Kevin Sawicki
5bce950839 📝 Update includeDeprecatedAPIs description 2015-06-02 16:36:20 -07:00
Kevin Sawicki
bf37a66831 Rename --one to --include-deprecated-apis 2015-06-02 16:36:20 -07:00
Nathan Sobo
dac39bdcd5 Merge pull request #6733 from atom/as-tiled-rendering
Render lines via tiles
2015-06-03 00:18:41 +02:00
Kevin Sawicki
34591d3542 Catch read errors during deserialization
Prevents Atom from failing to open because of a read error with a
serialized editor.
2015-06-01 17:54:43 -07:00
Nathan Sobo
4812dcc355 Include invisibles in TokenizedLine::copy 2015-06-02 00:02:34 +02:00
Kevin Sawicki
66620f8510 Add TODO comment 2015-06-01 13:32:38 -07:00
Kevin Sawicki
703eaac7ca Keep around atom.config.unobserve no-op 2015-06-01 13:32:03 -07:00
Kevin Sawicki
fed19872b3 Keep old configDefaults support in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
558d10434a Keep old context menu format in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
3c647dc7af Keep activate events in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
7e34164c4b Keep old folder names in api preview mode 2015-06-01 13:28:13 -07:00
Nathan Sobo
e258dd2f8e Use maximumLength schema enforcer to constrain invisible characters
Fixes #7014
2015-06-01 18:45:38 +02:00
Nathan Sobo
e723b26eb0 Add maximumLength schema enforcer for strings 2015-06-01 18:45:38 +02:00
Kevin Sawicki
01d97f7951 Merge pull request #7036 from atom/ld-context-menu-doc
📝 Add returns Disposable to ContextMenuManager.add
2015-06-01 09:39:55 -07:00
Kevin Sawicki
eaaa6b15e5 🚱 Prevent stdout/stderr data listener leaks
Old listeners were not cleaned up before new ones were being added
causing the following console message:

warning: possible EventEmitter memory leak detected.

Refs #7033
2015-06-01 09:38:10 -07:00
Lee Dohm
5884525648 📝 Add returns Disposable to ContextMenuManager.add 2015-05-31 05:27:38 -07:00
Max Brunsfeld
eed1ecbbdc Wait to observe buffer markers until Marker::onDidChange called
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-05-29 17:29:03 -07:00
Max Brunsfeld
6f553f234c Add TextEditor::observeMarkers, use it in presenter
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-05-29 17:21:23 -07:00
Max Brunsfeld
224575fc46 Always fall back on default lineOverdrawMargin 2015-05-29 16:32:19 -07:00
Machisté N. Quintana
adc08d31d6 Merge pull request #6910 from atom/tj-document-commandname-standard
📝 Document command name standard
2015-05-29 16:45:59 -04:00
Thomas Johansen
97f817c542 📝 Add sentence about lowercasing command names 2015-05-29 21:51:27 +02:00
Max Brunsfeld
686c72eebe Merge pull request #6978 from mostafaeweda/initial-paths-2
Initial paths shouldn't be normalized on save and restore [2]
2015-05-29 10:28:56 -07:00
Antonio Scandurra
9b4d62b687 🐛 Update cursors after model changes
/cc: @nathansobo
2015-05-29 15:21:00 +02:00
Antonio Scandurra
b4dfb2a31b Merge branch 'master' into as-tiled-rendering 2015-05-29 14:19:25 +02:00
Nathan Sobo
447dfd8bec If a keystroke is bound to ‘unset!’, omit it in the application menu
Fixes atom/atom-keymap#79

This is more general than I would like. If the keystroke is unset in
any context, we err on the side of caution and don’t add it to the
application menu for any command. Since our application menu isn’t
context aware, this should be good enough for now and solve the 80%
case. Someday we should make the application menu update / gray out
options when the focused element changes.
2015-05-28 22:59:10 +02:00
Nathan Sobo
31cf19a205 Use previous definition of scope selector match to fix API breakage
I switched to first-mate Selector because I didn’t want to replicate
the poorly-defined Token::matchesScopeSelector method now that tokens
are not stored on lines. However, the first-mate semantics are stricter
and that broke the API. Perhaps using selector-kit here would be better,
but I just wanted to put back exactly to how it was for now.

/cc @ypresto
2015-05-28 10:38:35 +02:00
Max Brunsfeld
b7b5ceca2d Save window state when quitting if windows are open 2015-05-27 12:59:06 -07:00
Mostafa Eweda
952f92c367 Remove uneeded require to url 2015-05-27 11:38:06 -07:00
Mostafa Eweda
5e7bc308d4 Remove the protocol parse and check in the window-event-handler 2015-05-27 11:20:49 -07:00