Commit Graph

14643 Commits

Author SHA1 Message Date
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
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
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
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
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
52af31c511 Trigger grammar-used hooks no matter how text editors are created 2016-08-09 12:04:01 -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
aa3a38fc27 Merge pull request #12350 from atom/mq-js-exports
Rewrite exports/atom.coffee as JS
2016-08-08 12:04:34 -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
Nathan Sobo
520a4a7db0 Merge pull request #12327 from Zirro/custom-title-bar-double-click
Handle double-click on custom title bar
2016-08-06 08:29:53 -06:00
Nathan Sobo
d8a54c9a38 Fix another path reassignment 😬 2016-08-06 08:10:17 -06:00
Nathan Sobo
ca76302b35 Fix reassignment of path variable. Grrrrr CoffeeScript. 2016-08-06 07:09:43 -06:00
Nathan Sobo
cd8e4eb43e Avoid passing paths outside of repository to status subprocess 2016-08-06 07:00:24 -06:00
Zirro
04b8bd03ae Introduce a non-explicit getUserDefault-method 2016-08-05 21:40:34 +02:00
Yuya Tanaka
1ce2f6ce87 🐛 Fix window size is not updated on resize 2016-08-05 11:56:01 +09:00
Max Brunsfeld
c0e94aac5e Handle null env load setting 2016-08-04 15:54:15 -07:00
Zirro
24befe2454 Handle double-click on custom title bar 2016-08-04 23:11:22 +02:00
Max Brunsfeld
0beb4bec42 Merge branch 'master' into ns-fix-decorated-layer-destruction 2016-08-04 13:30:59 -07:00
Max Brunsfeld
a589543277 🎨 Fix Decoration::destroy docs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-04 12:29:46 -07:00
Max Brunsfeld
4634091e9b Don't update the NODE_PATH when updating the environment on launch
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-03 15:50:21 -07:00
Antonio Scandurra
45afe07dc1 Don't throw an error when ATOM_HOME does not exist 2016-08-03 15:59:00 +02:00
Max Brunsfeld
a56db9a03e Merge pull request #12297 from atom/mb-pass-missing-softwrap-hanging-indent-param
Supply missing softWrapHangingIndent parameter to display layer
2016-08-02 17:02:59 -07:00
Max Brunsfeld
43f34f73da Supply missing softWrapHangingIndent parameter to display layer 2016-08-02 16:20:23 -07:00
Nathan Sobo
89ef73a64b Unsubscribe from full-screen events when AtomEnvironment is destroyed 2016-08-02 16:43:06 -06:00
Nathan Sobo
c1b2042bcc 🎨 2016-08-02 16:19:38 -06:00
Nathan Sobo
4e89083e8c 🎨 2016-08-02 16:15:45 -06:00
Nathan Sobo
0c83d9741f Don’t implement title bar via custom elements 2016-08-02 15:56:45 -06:00
Nathan Sobo
0240206d93 Merge branch 'master' into brumm-master 2016-08-02 15:39:57 -06:00
Max Brunsfeld
c7b7eace22 Merge pull request #12292 from atom/mb-fix-incompatible-module-error
Fix exception when package requires an incompatible native module
2016-08-02 13:58:28 -07:00
Max Brunsfeld
1a35e6e22f Merge pull request #12278 from atom/mb-js-api-docs
Allow JavaScript classes to be included in API documentation
2016-08-02 12:59:15 -07:00
Max Brunsfeld
9a72c7e65e Fix exception when package requires an incompatible native module 2016-08-02 12:14:00 -07:00
Nathan Sobo
2b5f1bda46 Always seek to specified position in TokenizedBufferIterator
Fixes #10350

Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-02 12:19:45 -06:00
Damien Guard
ed5ad3cee7 Merge branch '1.10-releases' 2016-08-02 06:39:13 -07:00
Max Brunsfeld
b358047b96 Convert DeserializerManager to JS 2016-08-01 17:03:06 -07:00
Max Brunsfeld
2e04bd6ea9 Convert window.coffee and clipboard.coffee to javascript 2016-08-01 17:03:06 -07:00
Max Brunsfeld
3fd275a7f6 Convert Color to JS 2016-08-01 17:03:06 -07:00