Max Brunsfeld
0a1834079f
Rename getSoftWrapIndentLength -> getSoftWrapHangingIndentLength
2016-08-11 16:38:34 -07:00
Joe Fitzgerald
485cb71be7
🎨 envShouldBePatched > shouldGetEnvFromShell
2016-08-11 17:07:21 -06:00
Joe Fitzgerald
9ec63a8ffc
🎨 Cleanup
...
* shellShouldBePatched > envShouldBePatched
2016-08-11 16:45:19 -06:00
Max Brunsfeld
684952458f
Remove new TextEditor setters; just use update
2016-08-11 15:34:54 -07:00
Nathan Sobo
dbfd0cc605
Move integration test of window persistence to main process tests
2016-08-11 15:28:11 -06:00
Max Brunsfeld
fc16eeadca
Use TextEditor::update in TextEditorRegistry
2016-08-11 14:09:17 -07:00
Max Brunsfeld
ef94a940a9
Make the TextEditor setters call update()
2016-08-11 13:52:57 -07:00
Nathan Sobo
f1295d39a8
Close all windows in AtomApplication.destroy
2016-08-11 14:31:36 -06:00
Nathan Sobo
6994060e72
Use fat arrow where it is needed
2016-08-11 14:31:23 -06:00
Nathan Sobo
b5b3577d7c
Fix null guard in StateStore
2016-08-11 14:31:08 -06:00
Nathan Sobo
2fe5027b57
Set the userData dir to a temp directory for main process tests
...
This ensures that the indexedDB is accessible even if another Atom is
running.
2016-08-11 14:30:52 -06:00
Nathan Sobo
324e8d6c7a
Move env assignment into parseCommandLine
...
A bit of a misnomer but makes things more testable so I’ll accept it
until we can do more overhaul.
2016-08-11 14:30:22 -06:00
Max Brunsfeld
fb6b463818
Remove duplicate scrollPastEnd setter and getter
2016-08-11 12:14:11 -07:00
Joe Fitzgerald
b7a48967fa
Fix Regression In #12317 For zsh
...
In Atom 1.7 and 1.8, the environment would be patched for users of the zsh shell on OS X. A whitelist of shells was established in #12317 , which is extended here.
2016-08-11 12:45:02 -06:00
Nathan Sobo
847911f0fe
Extract parseCommandLine from main.js to its own file for testing
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-08-11 12:44:20 -06:00
Max Brunsfeld
0c7750f560
🔥 ignoreInvisibles parameter to TextEditor
...
Now that the TextEditor doesn't depend on atom.config, showInvisibles
can always be configured independently of the config
2016-08-11 11:41:11 -07:00
Max Brunsfeld
11463ef00b
Merge remote-tracking branch 'origin/as-introduce-editor-update' into ns-mb-detangle-editor
2016-08-11 11:36:48 -07:00
Nathan Sobo
502339b830
Replace chromedriver test of window offset with main process mocha test
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-08-11 10:33:12 -06:00
Nathan Sobo
d8b2a1f4b6
Break out constructor side effects into AtomApplication.initialize
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-08-11 08:15:00 -06:00
Antonio Scandurra
61a909b06e
Remove config option editor.backUpBeforeSaving
...
After shipping #11828 Atom always creates a backup file in the
`~/.atom/recovery` directory, trying to restore it automatically via the
main process in case there is a hard crash on the renderer process. This
approach should be resilient enough to allow us to delete this config
option altogether.
We can still keep it for a while in text-buffer, in case we need to use
it again at some point, but it's probably fine to remove it from there
too at some point in the future.
2016-08-11 09:23:43 +02:00
Max Brunsfeld
ea50d4fe8c
🚱 Fix leak in Workspace::buildTextEditor
2016-08-10 13:57:04 -07:00
Max Brunsfeld
6d4e0f9b0a
🚱 Stop maintaining destroyed editors' grammar and config
2016-08-10 13:54:37 -07:00
Max Brunsfeld
09b1d402d5
📝 Fix typo in setAutoIndent{,OnPaste} docs
2016-08-10 13:28:06 -07:00
Max Brunsfeld
38849474d0
Merge branch 'master' into ns-mb-detangle-editor
2016-08-10 13:23:32 -07:00
Antonio Scandurra
23f421154e
Delete TokenizedBuffer.prototype.onDidChange
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-10 17:52:49 +02:00
Antonio Scandurra
6ae263aed4
Register text decoration layer when initializing TokenizedBuffer
2016-08-10 11:47:07 +02:00
Max Brunsfeld
5d24bcf19e
Merge pull request #12237 from zertosh/cleanup-activation-hook-subscrtiptions
...
Cleanup activationHookSubscriptions when deactivating package
2016-08-09 17:08:49 -07:00
Max Brunsfeld
b97f317cd1
Remove fallbacks for scoped properties in TextEditor
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-09 15:20:00 -07:00
Max Brunsfeld
29096bde31
Don't update ATOM_HOME env var after launch
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-09 14:38:19 -07:00
Max Brunsfeld
3103682efd
Bypass aliases when running env shell command
2016-08-09 14:25:25 -07:00
Nathan Sobo
e6514bf3d8
Merge pull request #12377 from atom/ns-stringify-temp-window-state
...
Stringify/parse temporary window state to avoid nulling out references
2016-08-09 15:20:30 -06:00
Nathan Sobo
dfc0910023
Stringify/parse temporary window state to avoid nulling out references
...
If the object passed via IPC contains any keys of the same reference,
all but one of these keys will be nulled out. Converting to/from a
string avoids this problem.
2016-08-09 14:43:38 -06:00
Max Brunsfeld
16a22b9f28
Merge branch 'master' into ns-mb-detangle-editor
2016-08-09 13:36:46 -07:00
Max Brunsfeld
52af31c511
Trigger grammar-used hooks no matter how text editors are created
2016-08-09 12:04:01 -07:00
Max Brunsfeld
2c506840a5
📝 Document new editor configuration methods
2016-08-09 11:14:12 -07:00
Max Brunsfeld
7035368c33
Merge branch 'master' into ns-mb-detangle-editor
2016-08-09 09:40:57 -07:00
Damien Guard
bbaf5f56b2
Merge pull request #12281 from atom/telemetry-consent
...
Add telemetry consent setting
2016-08-09 07:53:18 -07:00
Max Brunsfeld
5d83874725
Merge branch 'master' into ns-mb-detangle-editor
2016-08-08 15:39:24 -07:00
Max Brunsfeld
e8c834e483
Serialize & deserialize the TextEditorRegistry in AtomEnvironment
2016-08-08 15:38:17 -07:00
Max Brunsfeld
2f950b197f
📝 Document (and reorder) public TextEditorRegistry methods
2016-08-08 15:13:27 -07:00
Max Brunsfeld
53574288ae
Fix editor leaks in TextEditorRegistry
2016-08-08 15:02:01 -07:00
Max Brunsfeld
c66435fa6d
Remove duplicate subscription to added pane items in Workspace
2016-08-08 13:45:27 -07:00
Max Brunsfeld
eb9d89f8c8
Observe grammar changes on editors in maintainConfig
2016-08-08 12:10:56 -07:00
Max Brunsfeld
aa3a38fc27
Merge pull request #12350 from atom/mq-js-exports
...
Rewrite exports/atom.coffee as JS
2016-08-08 12:04:34 -07:00
Max Brunsfeld
ee2e18737e
Fix maintenance of grammars for copied editors
2016-08-08 11:17:30 -07:00
Antonio Scandurra
4b6f09cd10
Assert that all buffer events are processed sequentially
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-08 18:41:20 +02:00
Antonio Scandurra
94b4709db1
Store last buffer change event id on TokenizedBuffer
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-08 18:09:28 +02:00
Machiste Quintana
ab9a2a92c8
Rewrite exports/atom.coffee as JS
2016-08-06 17:20:46 -07:00
Zirro
99b19aa05e
🎨 Remove duplicate "Note:"
2016-08-06 20:21:26 +02:00
Nathan Sobo
21de77b739
Merge pull request #12346 from atom/ns-fix-repository-status-updates
...
Avoid passing paths outside of repository to git status subprocesses
2016-08-06 08:30:46 -06:00