Kevin Sawicki
ff7c639b64
Don't use error class in select list
...
Use a subtler error message that displays in the same place as the
loading message but does not change the entire background of the
view.
Also, extending classes can now customize the message displayed
when there are no items and also no filtered items to allow for
different messages for these two cases.
2013-06-13 11:31:09 -07:00
Kevin Sawicki
0f562330cf
Remove unused functions and specs
2013-06-13 10:02:13 -07:00
Kevin Sawicki
ed3a4a33e2
Rename .write() to writeSync()
2013-06-12 20:38:26 -07:00
Kevin Sawicki
400aa93bf3
Rename isFile() to isFileSync()
2013-06-12 18:21:57 -07:00
Kevin Sawicki
86952ff85e
Rename isDirectory() to isDirectorySync()
2013-06-12 18:16:31 -07:00
Kevin Sawicki
15f6a33c4b
Rename path variables to prevent collisions
2013-06-12 17:27:23 -07:00
Kevin Sawicki
10f92836e6
Rename path variables to prevent collisions
2013-06-12 17:19:16 -07:00
Kevin Sawicki
54558c863d
Remove unused path
2013-06-12 17:10:19 -07:00
Kevin Sawicki
d112089152
Use filePath variable instead of path
2013-06-12 16:57:47 -07:00
Kevin Sawicki
6c91d8bea6
Add missing require for path
2013-06-12 16:51:53 -07:00
Kevin Sawicki
82013b1970
Use path.join() instead of fsUtils.join()
2013-06-12 16:20:40 -07:00
Kevin Sawicki
7cf4063d9e
Use path.dirname() instead of fsUtils.directory()
2013-06-12 15:54:34 -07:00
Kevin Sawicki
eede4a386f
Use path.basename() instead of fsUtils.base()
2013-06-12 15:26:09 -07:00
Kevin Sawicki
04c5e9fa42
Return subscription from RootView.eachEditor()
2013-06-12 11:38:05 -07:00
Kevin Sawicki
6d0f303cd5
Set initialPath on load settings
2013-06-11 15:48:22 -07:00
Corey Johnson & Kevin Sawicki
dc53f387a6
Remove project serialization
2013-06-11 14:39:32 -07:00
Corey Johnson & Kevin Sawicki
0c8f200d45
Always load bundle preferences
...
Previously the scoped properties would not load if there weren't
any grammars in the bundle or if listing the grammars directory
failed.
Closes #570
2013-06-11 13:52:40 -07:00
Corey Johnson & Kevin Sawicki
7516cebb40
Comment .less code correctly
2013-06-11 12:25:57 -07:00
Kevin Sawicki
fca1c13d03
Move image-view to a package
...
This removes the ugliness of having project.coffee require
image-edit-session at the end since the image-edit-session can
now register itself in an @activate callback and as a deferred
deserializer in the package.cson file.
2013-06-07 10:15:32 -07:00
Kevin Sawicki
9fe7bfb898
Remove unneeded activatePackage calls
...
These are already done in the root beforeEach
2013-06-06 12:45:41 -07:00
Kevin Sawicki
7313407d04
Resolve ${group:/command} style pattern names
...
These are used by the todo package to include the lower cased
version of the matched capture index in the pattern scope name.
2013-06-06 12:39:51 -07:00
Kevin Sawicki
71c86381df
Support includes inside of injection grammars
2013-06-06 11:30:01 -07:00
Kevin Sawicki
5c36064afc
Remove empty param lists
2013-06-06 08:16:11 -07:00
Kevin Sawicki
7ccf2390a7
Constantly sync scroll left/top value from editor to edit session
...
Previously these values were only saved on the edit session when
is became inactive causing the scroll position to not always
persist between refreshes.
Closes #474
2013-06-05 19:14:30 -07:00
Kevin Sawicki
f85f95e792
Move universal comment toggle specs to edit-session-spec
2013-06-05 17:58:39 -07:00
Kevin Sawicki
d658e7c490
Only uncomment when all lines start with a comment
...
Previously only the first row was checked for a comment. Now all
rows are checked and the rows are only uncommented when they all
start with a comment.
This only impacts languages that do not specify a command end pattern.
Closes #554
2013-06-05 17:38:50 -07:00
Kevin Sawicki
520e510aab
Update expection extension to .less
2013-06-05 17:02:44 -07:00
Kevin Sawicki
c40a312e73
Add spec with surrogate pair token with trailing text
2013-06-04 13:43:19 -07:00
Kevin Sawicki
7dec3866cf
Update spec description to be accurate
2013-06-04 13:43:19 -07:00
Kevin Sawicki
a109a3317e
Add support for surrogate pairs
...
Surrogate pairs, meaning characters outside the Basic
Multilingual Plane, are now broken out as atomic tokens.
Closes #567
2013-06-04 13:43:19 -07:00
Cheng Zhao
681969439d
Merge branch 'master' into atom-shell
2013-06-03 19:53:10 +08:00
Kevin Sawicki
9431a8c3ac
Check that scope name is present before comparing
...
Previously if the last 2 rules in the stack had no scope
name and the position wasn't advancing then the last rule
would be popped.
This caused Java single line comments to not parse properly
since the push rules for comment blocks have no scope name.
2013-05-31 09:28:41 -07:00
Kevin Sawicki
c7553e032e
Correct indentation
2013-05-29 16:45:00 -07:00
Kevin Sawicki
5a691a1b1e
Merge branch 'master' into atom-shell
2013-05-29 13:23:23 -07:00
Kevin Sawicki
ce71cf7703
Use correct indentation
2013-05-29 11:55:06 -07:00
Kevin Sawicki
e19c0e4f87
Remove semicolons
2013-05-29 11:52:14 -07:00
Corey Johnson & Kevin Sawicki
f8f059d3fe
Use correct textmate package names
2013-05-29 11:01:59 -07:00
Cheng Zhao
47410c54e5
Remove 'modal dialogs' spec.
...
The main purpose of this spec is to test whether the simulation of modal
dialogs works, since the dialogs of atom-shell are real blocking modal
dialogs, there is no need to check whether the dialogs are presented as
modal dialogs correctly any more.
2013-05-25 00:20:54 +08:00
Cheng Zhao
e430002951
atom.getVersion returns plain string, not string object.
2013-05-25 00:19:50 +08:00
Cheng Zhao
0dd823aa38
Merge branch 'master' into atom-shell
2013-05-24 19:12:47 +08:00
Cheng Zhao
20c0b76329
Add prefix for loading packages in spec/fixtures.
2013-05-23 14:50:56 +08:00
Cheng Zhao
f715a6fca2
Fix opening links in external browsers.
2013-05-23 14:50:21 +08:00
probablycorey
b5bd7160d2
Update window spec
2013-05-22 16:44:09 -07:00
probablycorey
ce4cb0db80
Test window.closeWithoutConfirm instead of window.close
2013-05-22 16:28:13 -07:00
probablycorey
7716441bbd
Update clipboard calls in edit session spec
2013-05-22 16:01:57 -07:00
probablycorey
2746d72731
Ignoring 'modal native dialogs' spec
...
/cc @zcbenz since we don't use sendMessageToBrowserProcess anymore
these specs aren't mocked correctly. Is there a method that we can
mock when calling remote objects?
2013-05-22 15:34:48 -07:00
probablycorey
7f083acdc4
Update atom specs
2013-05-22 15:31:59 -07:00
Kevin Sawicki
681bc18248
Add spec for installing a package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
23ce97a358
Add spec for uninstalling a package
2013-05-22 15:29:38 -07:00
Kevin Sawicki
05df25b8f4
Update spec for new DOM layout
2013-05-22 15:29:38 -07:00