Commit Graph

8349 Commits

Author SHA1 Message Date
Bryant Ung
911b805065
Merge pull request #16295 from xfontes42/master
Add event handler for window resizing.
2018-01-05 17:01:15 -08:00
Bryant Ung
88e330d577
Remove trailing whitespace 2018-01-05 15:50:48 -08:00
Bryant Ung
8ec54a04e2
Add resize event spec 2018-01-05 15:49:37 -08:00
Max Brunsfeld
22766b93e7
Merge pull request #16495 from atom/mb-decaf-main-process
Decaffeinate some main process files
2018-01-05 14:25:51 -08:00
Max Brunsfeld
b645852142 Don't rely on promise resolution timing in main process spec 2018-01-05 13:01:33 -08:00
Max Brunsfeld
1de37810f0 Rename hasQuitted -> didQuit 2018-01-05 12:11:10 -08:00
Max Brunsfeld
9b917dd8c8 Don't use babel for atom-application test 2018-01-05 12:11:10 -08:00
Jason Rudolph
5cce2b55bc
Add test for setting tabIndex on atom-text-editor element 2018-01-04 17:55:05 -05:00
Nathan Sobo
5743c41e03
Merge pull request #16282 from atom/io-electron-1.7
Upgrade electron to 1.7.10
2018-01-03 16:19:20 -07:00
Max Brunsfeld
733d6381cc Fix handling of {undo: 'skip'} in TextEditor.insertText
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-03 13:00:53 -08:00
Ford Hurley
065f4c48ec Avoid dependency on shared state
The test was passing only when run in isolation.
2017-12-27 16:37:55 -05:00
Ford Hurley
3ad3852dd6 Add a test for generated TextEditor ids 2017-12-27 15:16:22 -05:00
Antonio Scandurra
69799d35b2 Delete Chrome 56 workarounds 2017-12-22 14:44:17 +01:00
Antonio Scandurra
011766768a Fix AtomEnvironment tests 2017-12-22 12:05:03 +01:00
Wliu
84f6203a30
Merge pull request #16322 from atom/wl-more-history-fixes
More history manager fixes in specs
2017-12-21 12:20:06 -05:00
Wliu
1d6549a8e3
Merge pull request #16328 from atom/wl-right-click-selections
Update auxiliary click logic for moving cursors
2017-12-21 12:18:41 -05:00
Damien Guard
ca53cf9ec1
Remove the texteditor isModified/isReadOnly handling intended for unsavable edit buffers as causes issues with vim-mode-plus 2017-12-13 09:17:30 -08:00
Bryant Ung
be3551cd18
Remove failing test 2017-12-08 16:50:40 -08:00
Bryant Ung
2349d28e5e
update spec for windiws:close event 2017-12-08 14:57:27 -08:00
Bryant Ung
06207e0d0e
remove test to see if build passes 2017-12-08 14:47:07 -08:00
Max Brunsfeld
e669152841
Merge pull request #16074 from UziTech/patch-4
Make notifications.clear public and emit event
2017-12-08 14:20:33 -08:00
Tony Brix
b89bfa26c3
more cleanup 2017-12-08 16:18:06 -06:00
Tony Brix
d28166b1e4
code cleanup 2017-12-08 16:15:51 -06:00
Bryant Ung
77f021a24f
Remove unneeded newline 2017-12-07 15:26:15 -08:00
ungb
d1caf26ab5 Add test for storing window dimension on close. 2017-12-07 15:25:26 -08:00
GilTeixeira
be9e4696e6
Updated theme manager specs. 2017-12-07 18:58:52 +00:00
Wliu
db392502e4
Always move the cursor on middle-click 2017-12-05 23:54:43 +01:00
Katrina Uychaco
b3cee41f28 Merge remote-tracking branch 'origin/master' into ku-add-readonly-editor-attribute 2017-12-05 14:02:39 -08:00
Wliu
266a40d914
📝 2017-12-05 11:37:04 +01:00
Wliu
6852fe8ee5
🎨 2017-12-05 11:34:11 +01:00
Wliu
7b53a4f498
Don't require HistoryManager in spec-helper 2017-12-05 11:33:25 +01:00
Wliu
4f86d60f7b
Update HistoryManager spec to mock the state store 2017-12-05 01:22:13 +01:00
Wliu
376919772b
Spy on HistoryManager prototype
To prevent other instances of HistoryManager from messing up the project
history
2017-12-05 00:47:03 +01:00
Wliu
4ac6b720ff
Merge pull request #16256 from atom/wl-more-reporter-work
Improve spec stack traces
2017-12-04 22:18:08 +01:00
Damien Guard
abc0d3c534
Remove stray console log 2017-12-04 13:13:03 -08:00
Damien Guard
70e773fa7b
Ensure read-only text editors are not considered 'modified'. Also clear read-only flag on successful save. 2017-12-04 13:12:08 -08:00
Max Brunsfeld
6e2ac3548f Ensure that all opened editors' buffers are added to the project
Assigning a language mode happens when adding a buffer to the project,
so we need to guarantee this happens to all buffers used by visible editors.
2017-12-01 09:58:19 -08:00
Max Brunsfeld
49d8d94218 🎨 workspace-spec.js 2017-12-01 09:47:20 -08:00
Katrina Uychaco
909caa2a59 Add 'readonly' attribute to <atom-text-editor> element 2017-11-28 20:01:31 -08:00
Max Brunsfeld
607ed74e7b Rename TokenizedBuffer to TextMateLanguageMode 2017-11-28 16:57:06 -08:00
Max Brunsfeld
74a2609216 Ensure stateStore isConnected for .shouldPromptToSave tests 2017-11-28 12:13:09 -08:00
Max Brunsfeld
61ac366491 Replace TokenizedBuffer.setVisible with simpler .startTokenizing
We will still wait to tokenize a buffer until it is visible in *some*
tab, but we no longer enable and disable tokenization as different
editors become visible.
2017-11-28 12:12:40 -08:00
Max Brunsfeld
e08091f193 Make assignLanguageMode take a language id instead of a language name 2017-11-28 11:14:29 -08:00
Max Brunsfeld
afc4245971 Make TokenizedBuffer behave consistently when tokenizeInBackground is mocked 2017-11-22 15:30:28 -08:00
Max Brunsfeld
4810d13094 Fix memory leak in .maintainLanguageMode 2017-11-22 11:41:55 -08:00
Max Brunsfeld
bd4cc42daf Set the visible state on newly-assigned language modes 2017-11-22 09:35:39 -08:00
Wliu
6633714e11
Fix regression and minimize chance for incorrect replacements 2017-11-22 00:31:28 +01:00
Wliu
34df49b491
More cleanup 2017-11-22 00:02:42 +01:00
Max Brunsfeld
578b4f0281 Merge branch 'master' into mb-use-language-mode-api 2017-11-21 15:00:22 -08:00
Max Brunsfeld
be3010e8f7 Use atom's null grammar when assignLanguageMode is called w/ null 2017-11-21 14:59:42 -08:00