Commit Graph

6031 Commits

Author SHA1 Message Date
Nathan Sobo
6c67f42eab Move state loading for Atom environment to an instance method 2015-10-07 15:24:54 -05:00
Nathan Sobo
a87605164b Restore test window position after testing setPosition 2015-10-07 15:24:54 -05:00
Nathan Sobo
d08180ceb0 Remove mode parameter from atom environment 2015-10-07 15:24:54 -05:00
Nathan Sobo
677d7d6975 Load base stylesheets on ThemeManager construction 2015-10-07 15:24:54 -05:00
Nathan Sobo
b649cb48ef Move static Package methods to PackageManager instance 2015-10-07 15:24:54 -05:00
Nathan Sobo
57bae5745f Check deprecations on travis 2015-10-07 15:24:54 -05:00
Nathan Sobo
e838863bc7 Handle window/document events in startEditorWindow and remove initialize 2015-10-07 15:24:54 -05:00
Nathan Sobo
0f5483a2ed Assign config schema on Atom environment construction 2015-10-07 15:24:53 -05:00
Nathan Sobo
ee270db7ac Move document mutation to startEditorWindow 2015-10-07 15:24:53 -05:00
Nathan Sobo
7d014581cf Move installation of uncaught error handler to startEditorWindow 2015-10-07 15:24:53 -05:00
Nathan Sobo
27762866c0 Build GrammarRegistry in Atom environment constructor
As part of this, we no longer serialize/deserialize the grammar registry
instance, but instead just restore the grammarOverridesByPath state.
Ultimately I’d like to store these overrides on the editor instead.
2015-10-07 15:24:52 -05:00
Nathan Sobo
35c2ccd508 Build MenuManager in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
6de0da792b Build ContextMenuManager in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
943f6cf513 Build ThemeManager in Atom environment constructor 2015-10-07 15:24:52 -05:00
Nathan Sobo
c4bbd2bbf2 Build StyleManager in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
5d919c89a1 Fix tooltip manager specs 2015-10-07 15:24:51 -05:00
Nathan Sobo
88d80b1c97 Assign config in Atom environment constructor 2015-10-07 15:24:51 -05:00
Nathan Sobo
b32d49fab1 Allow running of individual test paths in legacy jasmine runner 2015-10-07 15:24:51 -05:00
Nathan Sobo
7a77ffde43 Log to stdout from terminal runner via ipc
For some reason, logging to stderr/stdout from the render process only
works when Atom is run via child_process.spawn, which is how `apm test`
invokes it.

I’m trying to make a convenient interface for running tests directly via
the `atom` command, and this is the only way I could find to long to
stdout from the render process.

I’m also choosing stdout rather than stderr because in this case, you’re
intentionally running the tests and want to see feedback.
2015-10-07 15:24:50 -05:00
Nathan Sobo
e886d8b253 Rename “bootstrap” scripts
They’re just window initialization scripts, and this new naming makes
that a lot clearer.
2015-10-07 15:24:50 -05:00
Nathan Sobo
8e988e874e Rename exitWhenDone to headless 2015-10-07 15:24:50 -05:00
Nathan Sobo
2600115ebe Start moving toward a customizable test runner 2015-10-07 15:24:50 -05:00
Max Brunsfeld
467c89bfb3 In integration tests, handle executable path with spaces in it 2015-10-05 16:49:35 -07:00
Nathan Sobo
ddb08d0c46 Avoid redundant onDidAddPaneItem notifications
Refs #9012
2015-10-05 12:34:49 -06:00
Max Brunsfeld
2cd4826e62 Merge pull request #8862 from phord/dot-git-files
🐛 Teach Atom to read .git files
2015-10-01 09:32:49 -07:00
Phil Hord
212886817e Clean up *nix-specific paths in spec
There remain a few others in other specs, but someone who can test
them reliably should clean those up.
2015-10-01 09:41:24 -04:00
Antonio Scandurra
214f42b2e7 🎨 Unify ::updateScroll... and ::commitPendingScroll... 2015-09-30 12:32:07 +02:00
Antonio Scandurra
0f8041c611 Merge branch 'master' into as-fix-deprecations 2015-09-30 10:23:38 +02:00
Antonio Scandurra
cc98cab917 Better rows per page calculation 2015-09-30 09:17:43 +02:00
Antonio Scandurra
5cfc5b67ae Allow listening for TextEditorElement events before attaching it
Fixes atom/wrap-guide#43

/cc: @maxbrunsfeld
2015-09-30 09:09:33 +02:00
Antonio Scandurra
550a1c7922 Fail on Travis when deprecated methods are used 2015-09-29 08:52:03 +02:00
Antonio Scandurra
e648d880ed Manually set rows per page in the model 2015-09-29 08:24:28 +02:00
Max Brunsfeld
d55398b77b Use key-path-helpers module instead of underscore-plus 2015-09-28 17:27:15 -07:00
Max Brunsfeld
889a3e5205 Merge branch 'beta' 2015-09-28 09:34:12 -07:00
Antonio Scandurra
575d79acce Merge pull request #8604 from lpommers/pressing-esc-on-multiple-cursors-returns-to-original-cursor-or-selection
Pressing esc on multiple cursors returns to original cursor or selection
2015-09-28 10:01:42 +02:00
Wliu
7c0a656036 🔥 Remove hardcoded Makefile tab behavior 2015-09-26 15:54:51 -04:00
Antonio Scandurra
f17767a2bc Merge pull request #8905 from atom/as-display-buffer-logical-coordinates
Use logical coordinates in DisplayBuffer
2015-09-26 18:05:10 +02:00
Antonio Scandurra
a870252702 🔥 Remove unused code 2015-09-26 18:04:15 +02:00
Max Brunsfeld
a3a6c7cd3c Reuse compile cache between integration tests
This makes integration tests much faster and less resource-intensive
2015-09-25 17:39:36 -07:00
Antonio Scandurra
a96af2465f 🎨 Use ::setWidth and ::setHeight 2015-09-25 13:26:30 +02:00
Antonio Scandurra
a0277728d6 🔥 Remove deprecated methods 2015-09-25 12:58:23 +02:00
Antonio Scandurra
bded7e4fb0 💚 2015-09-25 12:04:25 +02:00
Antonio Scandurra
ce714b9852 🎨 Rename to ::onDidRequestAutoscroll 2015-09-25 10:57:09 +02:00
Antonio Scandurra
b0d70a63c6 Prevent default event for actions that won't lead to scrolling 2015-09-25 10:55:03 +02:00
Antonio Scandurra
0e72593a0c Enforce a 'last scroll wins' model for batched scrolls 2015-09-25 10:43:20 +02:00
Antonio Scandurra
d65b5d1793 Revert "Maintain scroll history"
This reverts commit 2e6bb53303.
2015-09-25 10:31:48 +02:00
Antonio Scandurra
2e6bb53303 Maintain scroll history 2015-09-24 16:25:58 +02:00
Antonio Scandurra
365a586466 Ensure realScroll... is up to date with scroll... 2015-09-24 15:16:40 +02:00
Antonio Scandurra
99e77dc09d Port leftover specs from DisplayBuffer 2015-09-24 11:41:02 +02:00
Antonio Scandurra
1f81c633e0 Serialize state using logical coordinates 2015-09-24 09:01:51 +02:00