Commit Graph

12724 Commits

Author SHA1 Message Date
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
Mostafa Eweda
4c9e6c5a27 Revert "Merge pull request #6977 from atom/revert-6813-local-initial-paths"
This reverts commit 0c66802278, reversing
changes made to bdce576ab9.
2015-05-27 11:18:15 -07:00
Max Brunsfeld
0dcdfa1e89 Revert "Initial paths shouldn't be normalized on save and restore (could contain uris)" 2015-05-27 10:26:59 -07:00
Antonio Scandurra
a0ce1e6d01 Narrow scope and rename flag 2015-05-27 12:59:36 +02:00
Antonio Scandurra
7926ca5f23 Declare atom.hasTiledEditor = true
This way packages that are affected by relative coordinates will be
able to smoothly upgrade using a feature toggle.
2015-05-27 09:01:41 +02:00
Max Brunsfeld
3f12dc7fe2 Merge pull request #6960 from atom/mb-remove-double-transaction
Avoid double transaction when typing
2015-05-26 17:37:49 -07:00
Max Brunsfeld
9e3c2d093b Avoid double transaction when typing 2015-05-26 17:09:59 -07:00
Ben Ogle
c1e80610a8 Speling 2015-05-26 17:01:53 -07:00
Max Brunsfeld
8dff5bbe4c Merge pull request #6813 from mostafaeweda/local-initial-paths
Initial paths shouldn't be normalized on save and restore (could contain uris)
2015-05-26 15:48:58 -07:00
Ben Ogle
1a3904aad1 Add of
Thanks @50Wliu
2015-05-26 14:15:00 -07:00
Ben Ogle
fc9a8c7f71 Add descriptions to softwrap settings.
Closes #6920
2015-05-26 13:36:37 -07:00
Kevin Sawicki
875e297c80 Merge pull request #6919 from atom/mq-6918-license
Fix application:open-license command
2015-05-26 09:14:04 -07:00
Kevin Sawicki
9a4d431fe2 Merge pull request #6898 from atom/mq-lint-roller
Lint for even more style errors
2015-05-26 08:54:56 -07:00
Machiste Quintana
513fc70154 📝 Add docs about passing a function to a tooltip title 2015-05-25 11:50:20 -04:00
Machiste Quintana
c5a8c8ad34 🐛 Fix application:open-license command 2015-05-22 22:05:04 -04:00
Machiste Quintana
544d650d22 👕 Fix linter errors in text-editor-view 2015-05-22 19:57:41 -04:00
Thomas Johansen
b4ff2e15d1 📝 Stronger wording, and change event to action 2015-05-23 00:03:01 +02:00
Thomas Johansen
dfd365cf51 📝 Rephrase the description of event 2015-05-22 23:42:23 +02:00
Thomas Johansen
93eeda1ccc 📝 Document command name standard
Resolves #6893
2015-05-22 23:29:59 +02:00
Machiste Quintana
d5bcc0433d WIP: 👕 Fix linter errors 2015-05-22 16:29:12 -04:00
Mostafa Eweda
b0dd7b974f Fix integration tests 2015-05-22 12:49:25 -07:00
Nathan Sobo
c02294c404 Merge branch 'master' into as-tiled-rendering 2015-05-22 09:46:00 +02:00
Nathan Sobo
865015e47d Correctly compute bufferDelta for last soft wrap line segment
Fixes #6885
2015-05-21 19:56:53 +02:00
Nathan Sobo
321d310e8a Avoid more allocations in transformContent 2015-05-21 19:56:53 +02:00
Nathan Sobo
b4444df442 Minimize substring calls and concatenation in transformContent 2015-05-21 19:56:53 +02:00
Nathan Sobo
2379b3803f Revert "Revert "Merge pull request #6757 from atom/ns-less-memory-for-tokens""
This reverts commit 7cb0bc3bc2.
2015-05-21 19:56:52 +02:00
Nathan Sobo
7cb0bc3bc2 Revert "Merge pull request #6757 from atom/ns-less-memory-for-tokens"
This reverts commit 0cd1f110b5, reversing
changes made to d75d202d33.

Conflicts:
	package.json
2015-05-21 16:25:23 +02:00
Antonio Scandurra
c9a159aab3 🔥 Remove unused requires 2015-05-21 11:16:28 +02:00
Antonio Scandurra
1a5e2fe5dd 🎨 2015-05-21 10:48:04 +02:00
Antonio Scandurra
efeb129cff Rename LinesComponent to TileComponent 2015-05-21 10:47:23 +02:00
Antonio Scandurra
299ee5dbf3 Merge branch 'master' into as-tiled-rendering
# Conflicts:
#	spec/text-editor-presenter-spec.coffee
#	src/lines-component.coffee
#	src/text-editor-presenter.coffee
2015-05-21 10:46:52 +02:00
Antonio Scandurra
f49078d394 wip 2015-05-21 10:40:37 +02:00