Commit Graph

8510 Commits

Author SHA1 Message Date
Cheng Zhao
e7aac2ef6e Show confirm close dialog as sheet. 2013-06-27 21:30:47 +08:00
Cheng Zhao
f9545acde6 Show window before opening devtools.
It may happen that an exception is thrown before window is shown.
2013-06-27 19:29:35 +08:00
Cheng Zhao
45ce8e1d63 Ask for close confirmation in beforeunload handler. 2013-06-27 18:39:29 +08:00
Cheng Zhao
bdbec54f24 Make PaneContainer.confirmClose() synchronous. 2013-06-27 16:21:14 +08:00
Cheng Zhao
1df48d1725 Fix spec of confirmSync in 'window:close'. 2013-06-27 15:07:38 +08:00
Cheng Zhao
6c0f4c09d9 Make Pane.promptToSaveItem synchronous. 2013-06-27 12:40:36 +08:00
Cheng Zhao
f45ce3a7ee Upgrade apm: update to node v0.10.12. 2013-06-27 10:59:09 +08:00
Kevin Sawicki
dc6e624eda Add grunt tasks to generate and lint docs
Closes #604
2013-06-26 19:25:50 -07:00
Kevin Sawicki
e67676b01c Use deleteSelectedText() instead of delete()
Selection.delete() adds to the selection if it is empty which
we don't want to do when replacing selected text.

Closes #603
2013-06-26 19:03:45 -07:00
Kevin Sawicki
f37ae7e4e7 Upgrade dev dependencies 2013-06-26 08:57:52 -07:00
Kevin Sawicki
f913f6a8d5 Upgrade dependencies 2013-06-26 08:56:04 -07:00
Kevin Sawicki
20991381bd Remove unneeded stdout/stderr output forwarding 2013-06-25 17:47:21 -07:00
Kevin Sawicki
6930fe0eff Mention keymap fixes 2013-06-25 13:47:39 -07:00
Kevin Sawicki
f3b50eed3b Migrate close bindings from editor namespace to pane
These were left over from the pane migration still under
the editor namespace and were previously not accessible via
a keybinding.
2013-06-25 13:15:39 -07:00
probablycorey
a4217909c0 Don't check for updates in background if version is a sha
If the version is a 7 char sha, then we assume it is a local build.
2013-06-25 09:54:03 -07:00
Kevin Sawicki
5b7c4686f9 Add nof task 2013-06-24 20:55:55 -07:00
Kevin Sawicki
86c8343107 Score grammar matches using longest fileType match
Previously the score for two grammars matching on path
was equal and so the first one would be selected.

Now the longer match will have a higher score and will be selected
over other grammars with shorter fileType match lengths.

Closes #602
2013-06-24 18:23:54 -07:00
Kevin Sawicki
6b6ce03c72 Use hasParent() instead of isOnDom() 2013-06-24 18:03:35 -07:00
Kevin Sawicki
a7ee5985db Separate variable from requires 2013-06-24 16:56:52 -07:00
Kevin Sawicki
be354f78a6 Focus root view if previously focused element is no longer attached
This can be the case when a select list is triggered while a different
select list is already open and so the second list to open has no
element to restore focus to when it closes.
2013-06-24 16:46:36 -07:00
Kevin Sawicki
ab75f6f635 Don't detach on focusout when detaching 2013-06-24 16:45:26 -07:00
Kevin Sawicki
d6513e9aa9 Use BufferedProcess for apm commands
This ensures the path to node is always available in the environment.
2013-06-24 16:44:40 -07:00
Kevin Sawicki
afac77ddfd Don't copy bootstrap docs to build folder 2013-06-24 16:17:07 -07:00
Kevin Sawicki
fcd0b6839b Don't copy vendor/apm to build folder
This is already copied as node_modules/atom-package-manager
2013-06-24 16:13:56 -07:00
Kevin Sawicki
32c2548442 Allow spaces before fenced code block language 2013-06-24 15:13:51 -07:00
Kevin Sawicki
1cf02c22a7 Support colorizing fenced python blocks 2013-06-24 15:08:19 -07:00
Kevin Sawicki
34e5594a2d Nest all rules under a root .is-blurred class 2013-06-24 15:01:05 -07:00
Kevin Sawicki
46eac52dbf Upgrade apm 2013-06-24 14:57:32 -07:00
Kevin Sawicki
915a737797 Don't copy git-utils/oniguruma deps/ during build
These contain source files used to build the native modules
and are not needed in the binary distribution.
2013-06-24 14:56:02 -07:00
Kevin Sawicki
d227d8794d Upgrade apm 2013-06-24 14:24:29 -07:00
Kevin Sawicki
ad888b3250 Use walkdir for recursively copying
grunt.file.recurse only calls back for file paths so directory
symlinks are being copied instead of linked causing duplicate
files in the final build folder.
2013-06-24 14:11:18 -07:00
Kevin Sawicki
5350a67990 Correct typo in package.json key 2013-06-24 12:13:48 -07:00
Kevin Sawicki
c02be2330c Only read package.json once 2013-06-24 12:05:14 -07:00
Kevin Sawicki
cf936a8a02 Upgrade apm 2013-06-24 11:45:53 -07:00
Kevin Sawicki
0b07d276b9 Don't copy dev dependencies during build task
Closes #601
2013-06-24 11:14:46 -07:00
Kevin Sawicki
6879f0d0ac Update initialPath on project path changes
atom.setPathToOpen() is now longer available and instead
the load settings should be updated.
2013-06-24 10:41:44 -07:00
Kevin Sawicki
d31d18360b Store untitled window state under load settings
This keeps untitled windows from contaminating each other by
storing to the same state path on disk but still stores state
across reloads of the windows.

Closes #599
2013-06-24 10:37:53 -07:00
Kevin Sawicki
aeee3c9ade Remove unused methods 2013-06-24 08:53:15 -07:00
Kevin Sawicki
dae28d2222 Add light syntax colors for embedded strings
Closes #598
2013-06-24 08:33:18 -07:00
Kevin Sawicki
f81f95e830 💄 2013-06-24 08:32:33 -07:00
Kevin Sawicki
41611f826a Add back lint as part of CI 2013-06-21 19:59:37 -07:00
Kevin Sawicki
4eac57c31c Capture test standard out and error and log it 2013-06-21 13:35:19 -07:00
probablycorey
2a7f03761d Update documentation 2013-06-21 09:46:25 -07:00
probablycorey
264f7e1a74 Add script/test 2013-06-21 09:46:25 -07:00
probablycorey
94227889f1 script/build calls script/bootstrap 2013-06-21 09:46:25 -07:00
Kevin Sawicki
34114a9620 Add jasmine-focused as dev dependency
This has the nof command to un-focus all specs
2013-06-21 09:36:27 -07:00
Kevin Sawicki
b562b3cf72 Remove script/copy-info-plist
Perform the copy in Gruntfile.coffee instead of a script
2013-06-21 09:30:53 -07:00
Kevin Sawicki
3938d143a1 Drop unneeded './' from script commands 2013-06-20 22:02:53 -07:00
Kevin Sawicki
95418566ef Correct typo in Requirements 2013-06-20 22:02:28 -07:00
Kevin Sawicki
622b877663 Remove extra newline 2013-06-20 21:59:23 -07:00