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
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
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
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
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
Nathan Sobo
50dd7ebbce
Only perform a single marker query for folds when updating screen lines
...
This saves over 50ms to initialize the DisplayBuffer when opening
`text-editor.coffee`.
2015-05-21 00:54:12 +02:00
Nathan Sobo
0cd1f110b5
Merge pull request #6757 from atom/ns-less-memory-for-tokens
...
Use 70% less memory for TokenizedLines by using a different representation
2015-05-20 19:47:52 +02:00
Nathan Sobo
d75d202d33
Remove defunct ‘editor:move-to-previous-word’ command
...
The method this command calls was removed a very long time ago. Use
‘editor:move-to-previous-word-boundary’ instead.
Fixes atom/command-palette#41
2015-05-20 19:47:30 +02:00
Nathan Sobo
2beb6c0fe0
Pass TokenIterator reference instead of using global singleton
...
Adds an extra reference to each tokenized line but is also more sane.
/cc @maxbrunsfeld
2015-05-20 19:29:38 +02:00
Mostafa Eweda
d42a660f9b
enforced code nit 2
2015-05-19 22:01:26 -07:00
Mostafa Eweda
aab86b2e9d
enforced test: code nits
2015-05-19 20:15:13 -07:00