3042 Commits

Author SHA1 Message Date
Matt Colyer
d8b173b86e Merge pull request #919 from atom/test-without-window
Test without window
2013-10-03 10:57:40 -07:00
Kevin Sawicki
2d55c3e1e9 Set textContent when reporting progress 2013-10-03 09:38:42 -07:00
Kevin Sawicki
e2fb2fdae5 Set font size and family directly on editor element
Previously this was set via a style tag which ate up a lot of spec
time and seemed to be functionally equivalent to just setting the
style directly on the element instead of finding and adding/removing
style tags.
2013-10-03 09:38:42 -07:00
Kevin Sawicki
ea2779b029 Activate stylesheets from deferred deserializer 2013-10-02 19:10:53 -07:00
Kevin Sawicki
80b4572190 Update root view title when initializing
Previously the title would not be updated when opening Atom with
serialized editors.

Also consolidate event listeners to rely on the
pane-container:active-pane-item-changed event to update the title.
2013-10-02 18:05:48 -07:00
Kevin Sawicki
5895da3d6f Store dimensions when spec window is unloaded
Refs #918
2013-10-02 17:16:19 -07:00
Matt Colyer
de9ab2d163 Prevent showing the window via spec-bootstrap.coffee 2013-10-02 16:47:27 -07:00
Kevin Sawicki
80cfcb799e Destroy rootView/project on both window and atom globals 2013-10-02 15:51:11 -07:00
Kevin Sawicki
3d5f1c6c90 Show dev tools when error is thrown bootstrapping specs 2013-10-02 15:48:58 -07:00
Kevin Sawicki
a6803a266a Call add instead of registerDeserializer 2013-10-02 15:47:41 -07:00
Kevin Sawicki
156ca6d9fd Update initial path using atom.loadSettings 2013-10-02 14:22:02 -07:00
Kevin Sawicki
3591b921fd Update atom and window globals in beforEach 2013-10-02 13:40:35 -07:00
Kevin Sawicki
dde7ccadd4 Move onDrop global to WindowEventHandler 2013-10-02 13:40:35 -07:00
Kevin Sawicki
068a10b2db Extract deserializer management into class 2013-10-02 13:40:34 -07:00
Kevin Sawicki
1e108aa0d1 Reference packageStates via atom.packages 2013-10-02 13:40:34 -07:00
Kevin Sawicki
0c532b62ff Reference package states on packages ivar 2013-10-02 13:40:34 -07:00
Kevin Sawicki
22f2d4c1c5 Update packageDirPaths on new config instance 2013-10-02 13:40:34 -07:00
Kevin Sawicki
bdddb4eb52 Require atom after window 2013-10-02 13:40:34 -07:00
Kevin Sawicki
dc8fae12b6 Create new Atom class in spec/benchmark bootstraps 2013-10-02 13:40:33 -07:00
Kevin Sawicki
c808630ba1 Move all stylesheet globals to ThemeManager 2013-10-02 13:40:32 -07:00
Kevin Sawicki
5de21e2cd7 Ignore theme names that cannot be resolved 2013-10-02 11:24:39 -07:00
Garen Torikian
e2b23cd522 Remove quotes from title string 2013-10-01 17:53:55 -07:00
Garen Torikian
4546dbbb23 Remove 'atom -' from title 2013-10-01 16:33:18 -07:00
Kevin Sawicki
3189347899 Use window height to determine number of lines to render
This prevents the editor from displaying empty lines when a view is hidden
and the editor suddenly has more vertical space available to fill.
2013-10-01 15:35:08 -07:00
Kevin Sawicki
b9328c82e5 Remove themes folder from .atom template
Themes now go in ~/.atom/packages
2013-09-30 08:56:12 -07:00
Kevin Sawicki
e2daef477c Return false if either character is whitespace 2013-09-27 16:00:24 -07:00
Kevin Sawicki
e5b9b1f3cf Favor the word when double clicking between word/non-word
Closes #523
2013-09-27 16:00:24 -07:00
Kevin Sawicki
438de204ca Stop tokenizing buffer when it is destroyed 2013-09-27 10:13:27 -07:00
Matt Colyer
e029616782 Merge pull request #878 from atom/mc-expose-bindings
Add API for interacting with Keymap
2013-09-26 13:26:01 -07:00
Kevin Sawicki
643e32043b 🐎 Set spec directory once
Prevents an IPC call on each beforeEach getting the load settings
2013-09-26 12:20:32 -07:00
Matt Colyer
67913b3672 Merge branch 'master' into mc-expose-bindings 2013-09-26 10:26:13 -07:00
Kevin Sawicki
5cecd533ef Add back durations to spec reporter 2013-09-25 17:36:21 -07:00
Ben Ogle
a27e6fd445 Merge pull request #885 from atom/cj-project-scan
Project scan changes for new searching behavior
2013-09-25 16:46:19 -07:00
Kevin Sawicki
2a2750862a Add failing spec 2013-09-25 16:24:51 -07:00
Matt Colyer
c22d411e16 Handle linked packages and linked atoms 2013-09-25 15:46:06 -07:00
Matt Colyer
0f408a5626 Remove focus from test 2013-09-25 15:43:41 -07:00
Ben Ogle
865591a3da Fix indentation 2013-09-25 15:03:50 -07:00
Matt Colyer
16e6e3ff4f Keep BindingSet private, add Keymap.getAllKeyMappings 2013-09-25 14:39:31 -07:00
Ben Ogle
00cdb3e317 Add lineText and lineTextOffset to buffer.scan 2013-09-25 11:03:29 -07:00
probablycorey
9c4d239696 Fix Project::scan specs 2013-09-25 11:03:29 -07:00
probablycorey
f467746cba Project::scan uses core.ignoredNames 2013-09-25 11:03:29 -07:00
probablycorey
ba80ba458c Remove console.logs 2013-09-25 11:03:28 -07:00
probablycorey
861adf6692 Start using scandal and make the specs pass 2013-09-25 11:03:28 -07:00
Ben Ogle
6dd08f85d3 Return the lineText from project.scan
Also change up match -> matchText for consistency.
2013-09-25 11:03:28 -07:00
Ben Ogle
d8fdbcf1b1 Use the -G param in project::scan to search within directories 2013-09-25 11:03:28 -07:00
Ben Ogle
8dc6d57901 Ignore test 2013-09-25 11:03:28 -07:00
Ben Ogle
35ffdb8bf9 Make changes from kevin for clarity 2013-09-24 10:19:15 -07:00
Ben Ogle
87fb07e657 Allow for more than one empty buffer to be open
Closes #679
2013-09-23 18:05:56 -07:00
Kevin Sawicki
869fe71f73 Accept timeout option to waitsForPromise 2013-09-23 16:44:59 -07:00
Ben Ogle
347b1924cd Add font-family to ui-variables 2013-09-23 16:27:49 -07:00