Commit Graph

59 Commits

Author SHA1 Message Date
Nathan Sobo
eab26fb3a6 Properly exit when render process crashes if exitWhenDone option is true
Previously, we were referring to an undefined `atom` global to exit when
the render process crashed in specs. Now we only exit when exitWhenDone
is true, which will only exit in headless specs. Also, we now call .exit
on an object that's actually defined.
2014-01-07 19:22:42 -07:00
Nathan Sobo
17947d0f99 Enable harmony proxies
I want to use these in the pane-models branch, so it will be helpful
if they are enabled in atom stable since it's an atom-shell level
setting.
2014-01-07 19:22:22 -07:00
Kevin Sawicki
f29ce127db Default windowState to empty hash JSON string 2014-01-07 11:19:38 -08:00
Matt Colyer
8b112cfd65 Get core specs running 2013-12-17 17:55:46 -08:00
Matt Colyer
20df9f4666 Add --log-file option for redirecting output 2013-12-17 16:31:13 -08:00
Kevin Sawicki
cdce91157f Reverse load path order
Packages may be linked into ~/.atom/packages or ~/.atom/dev/packages
so the resource should be loaded from there when available.
2013-12-17 15:04:17 -08:00
Kevin Sawicki
a566bd469d Use fs-plus.isFileSync to check path
Previously fs::statSyncNoException not being null was used but it always
returns an object or false so the first path checked was always being used.
2013-12-17 15:01:53 -08:00
Kevin Sawicki
389586bb41 Add ~/.atom/dev/packages to load paths 2013-12-17 15:00:27 -08:00
Kevin Sawicki
70f3527123 Expose shell load time render process for metrics 2013-12-13 12:15:45 -08:00
Daniel Hengeveld
d5a7f7396e Merge pull request #1259 from atom/fix-doc-url
fix doc url
2013-12-06 14:16:06 -08:00
Daniel Hengeveld
ca65ff6c55 fix doc url 2013-12-06 14:15:19 -08:00
Kevin Sawicki
a460530770 Show warning message opening opening dev window without repo cloned 2013-12-05 10:43:45 -08:00
Cheng Zhao
e95c60b4ec 💄 Fix typo in dialog. 2013-12-05 08:17:33 +08:00
Cheng Zhao
b4099ba66f Use the new breakpad crash reporter in both browser and renderer. 2013-12-03 12:45:44 +08:00
Kevin Sawicki
8316da3338 Use long opts strings for clarity 2013-12-02 11:26:51 -08:00
Kevin Sawicki
a0b200565c Specify callback to dialog.showOpenDialog 2013-12-02 11:21:29 -08:00
Cheng Zhao
a190a069c1 Ship the "resources" dir in Atom.app, and do not copy icon separately, fixes #1165. 2013-11-27 14:58:25 +08:00
Matt Colyer
139e2f6de0 :note: Mark ContextMenu as private 2013-11-22 14:49:10 -05:00
Matt Colyer
a754ac4da0 Revert "Alias meta to cmd in keymaps"
This reverts commit f0aa408b70.
2013-11-21 13:08:12 -05:00
Matt Colyer
f0aa408b70 Alias meta to cmd in keymaps 2013-11-21 10:38:13 -05:00
Matt Colyer
55e90f8ae1 Use cmd instead of command 2013-11-19 15:29:37 -08:00
Matt Colyer
1e4504e7f3 Use command instead of meta 2013-11-19 15:16:55 -08:00
probablycorey
2c4f94c319 Merge remote-tracking branch 'origin/master' into cj-keymap-cleanup 2013-11-15 09:24:45 -08:00
probablycorey
dd0938dca6 Merge remote-tracking branch 'origin/master' into cj-keymap-cleanup 2013-11-14 14:43:37 -08:00
probablycorey
e90f19da97 Rename keystrokeByCommmand to keystrokesByCommmand 2013-11-14 14:26:25 -08:00
probablycorey
8ea011597c Don't log start time when running specs 2013-11-14 09:01:54 -08:00
probablycorey
d71e58ec33 Use keystroke even when referring to multiKeystrokes
The use of keystroke and keystrokes was becoming confusing. When I 
started thinking of a keystroke as a set of keys that trigger a
command it became easier to think about.
2013-11-11 14:05:48 -08:00
Cheng Zhao
6dbe86b063 💄 Use @constructor to refer to class name. 2013-11-12 00:42:23 +08:00
Cheng Zhao
ef0022f4da Set window icon. 2013-11-11 21:27:31 +08:00
Kevin Sawicki
ef97dadea1 Update fs-utils references to fs-plus 2013-11-01 08:46:02 -07:00
Matt Colyer
b419cdf193 Close browser after last window exits on windows 2013-10-31 11:47:52 -07:00
Kevin Sawicki
22589bf2dd Require nslog on non-windows machines 2013-10-29 08:27:37 -07:00
Kevin Sawicki
c4b24fe738 Use Date.now() 2013-10-28 15:47:23 -07:00
Matt Colyer
e21f1c1394 Comment out nslog for now 2013-10-28 14:18:41 -07:00
Matt Colyer
cc42db3bff Log to a file on windows, for now 2013-10-28 13:42:18 -07:00
Kevin Sawicki
378a7135b7 Add missing at sign before getFocusedWindowSize
Closes atom/collaboration#22
2013-10-23 15:53:52 -07:00
probablycorey
35ff4b8677 Remove unnecessary "if" condition
Hat tip briandoll
2013-10-21 20:14:25 -07:00
Cheng Zhao
5d701d899e Merge pull request #1011 from atom/no-root-tmp
Do not always use "/tmp" to represent system temporary directory
2013-10-21 17:37:04 -07:00
probablycorey
5277277683 Only modify pathToOpen if initialLine option is present.
Closes #1007
2013-10-21 16:05:45 -07:00
Cheng Zhao
459309aa78 Do not use "/tmp" in scripts. 2013-10-21 21:42:55 +08:00
Matt Colyer
3e5f204f08 Add a Help menu 2013-10-18 12:02:03 -07:00
probablycorey
708d3fb08f Show Preference opens a new window (when none are already open)
Closed #990
2013-10-17 14:45:01 -07:00
probablycorey
e07fb89ec7 💄 2013-10-17 14:45:01 -07:00
Kevin Sawicki
ee495575a2 Use underscore-plus from browser process classes 2013-10-15 18:47:50 -07:00
Matt Colyer
942695d582 Dynamically replace Atom version in application menu 2013-10-11 11:11:10 -07:00
Matt Colyer
8682bad958 Revert "Dynamically replace Atom version in application menu"
This reverts commit 9b7bc34d44.
2013-10-11 11:10:04 -07:00
Matt Colyer
9b7bc34d44 Dynamically replace Atom version in application menu
Fixes #952
2013-10-11 10:46:26 -07:00
Kevin Sawicki
317365e41f 💉 BrowserWindow instance into ContextMenu 2013-10-11 08:50:09 -07:00
Kevin Sawicki
e4219cae45 Remove unused require 2013-10-11 08:50:09 -07:00
Kevin Sawicki
ed3bb509fa Remove outdated comment about NODE_PATH tweaking 2013-10-11 08:50:09 -07:00