Commit Graph

108 Commits

Author SHA1 Message Date
Cheng Zhao
d719ea74dd Send command to first responder when no window is focused. 2014-03-11 15:31:54 +08:00
probablycorey
a372993c44 Only listen of update events once when checking for update. 2014-03-07 15:39:44 -08:00
Corey Johnson
1dd59204e9 Only released versions should check for updates
Fixes atom/release-notes#6
2014-03-06 10:51:47 -08:00
Corey Johnson
272dd4a076 Don't trigger window:update-available on new windows
This was causing people to see `undefined` release notes. In the 
future we can store the release notes, but since anything related to
updates and the browser process takes a lot of time to fix I'm holding
off on that improvement.
2014-03-06 10:25:12 -08:00
Corey Johnson
626ebe380e Use proper variable name 2014-03-06 10:14:02 -08:00
probablycorey
956d4bd5bf Rely on events to hide the "Check for update" menu item 2014-03-04 12:31:32 -08:00
probablycorey
8b45f89a75 Remove unnecessary method 2014-03-04 12:30:15 -08:00
probablycorey
def6b67c8f Menu items hide conflicting items when made visible. 2014-03-04 12:26:50 -08:00
probablycorey
e8136853db Add 'downloading update' menu item
Fixes #1689, gets around the crashing bug when displaying a dialog
when update is found.
2014-03-04 12:26:50 -08:00
probablycorey
084b41e33b Remove listeners after check for update is run. 2014-03-04 12:26:50 -08:00
Kevin Sawicki
ce2ad727c6 Use atom@github.com in crash message instead of repo 2014-03-01 15:47:39 -08:00
probablycorey
b73acc88a7 Send release notes along with releaseName 2014-02-25 20:40:14 -08:00
Corey Johnson
75d6aab811 🔥 logs 2014-02-25 16:27:39 -08:00
Corey Johnson
a80fcff81c Upgrade to release-notes@0.24.0 2014-02-25 16:26:09 -08:00
Kevin Sawicki
6c5b7cbd1e Downloaded instead of downloading 2014-02-25 15:21:09 -08:00
Kevin Sawicki
de695e31d2 Drop www in atom.io links 2014-02-24 17:38:49 -08:00
Kevin Sawicki
f3ec868af6 Remove Report an Issue menu 2014-02-24 17:34:02 -08:00
Kevin Sawicki
4358ff9183 Add Editor to usage message 2014-02-24 16:41:34 -08:00
Kevin Sawicki
336f0382b5 Don't require ~/github/atom for dev mode windows
Use ~/github/atom when available but keep the dev mode flag
on the window's load settings even when it does not exist.

Changes both cmd-shift-o and `atom --dev`
2014-02-24 16:38:17 -08:00
Kevin Sawicki
3e6e530b44 Delete socket file when atom.exit() is called
Previously the socket file was not being deleted when `apm test` was run
causing a noticeable delay the next time a window was opened and the
socket had to timeout before the window would display.
2014-02-14 15:27:29 -08:00
probablycorey
5461de5856 Wait 5 seconds before downloading update.
And don't show 'check for updates' menu item on launch.
2014-02-12 16:17:36 -08:00
probablycorey
88b214067f 🔥 whitespace 2014-02-12 16:08:40 -08:00
probablycorey
5304afd69a Check for updates 10 seconds after atom launches 2014-02-12 16:07:41 -08:00
Kevin Sawicki
e6e43f6884 Add Open Your Init Script command 2014-02-07 09:51:24 -08:00
Kevin Sawicki
967db1f7b8 Remove more empty Private: comment blocks 2014-02-06 11:21:03 -08:00
Kevin Sawicki
932a792289 Remove Private: prefix 2014-02-06 10:02:53 -08:00
Corey Johnson
a646ab5bb8 Merge pull request #1507 from atom/cj-use-squirrel-as-updater
Use squirrel as updater (instead of sparkle)
2014-02-05 16:08:59 -08:00
probablycorey
e66e75593d Update feed url 2014-02-04 14:10:53 -08:00
Cheng Zhao
01876c4004 Request loadSettings.windowState via IPC messages. 2014-02-04 11:46:21 +08:00
Cheng Zhao
9680ad7bb5 No need to use => when we could use ->. 2014-02-04 11:01:39 +08:00
probablycorey
faf523f698 Document methods 2014-02-03 14:43:02 -08:00
probablycorey
8a85f488f3 💄 2014-02-03 14:41:20 -08:00
probablycorey
caeb70cf4a Add 'Check for Updates' menu item 2014-02-03 12:52:01 -08:00
probablycorey
cc233fb7f6 Use Squirrel API for auto-updates 2014-02-03 12:51:38 -08:00
Cheng Zhao
272ce92201 Pass app version via window's url.
We could save the sync message of atom.getVersion().
2014-02-03 19:18:15 +08:00
Cheng Zhao
a1171f39df Do not use sync message to call BrowserWindow API. 2014-02-03 16:24:39 +08:00
Cheng Zhao
c1f3aa14cd Do not send synchronous messages in index.html. 2014-02-03 16:03:59 +08:00
probablycorey
d7638b4420 Use require('coffee-script').register() 2014-01-28 16:35:05 -08:00
Kevin Sawicki
5eb8875ad2 Add Open Your Snippets menu item 2014-01-27 11:17:20 -08:00
Cheng Zhao
7c4b453e64 Do not show unresponsive dialog when running specs. 2014-01-27 18:56:54 +08:00
Cheng Zhao
c5d7614d80 Use named pipe instead of socket file on Windows. 2014-01-24 19:22:13 +08:00
Cheng Zhao
5f0a3061ac Remove the workaround for net.connect delay. 2014-01-23 21:03:17 +08:00
Cheng Zhao
4d74a69277 Use nslog on Windows. 2014-01-22 23:10:45 +08:00
Kevin Sawicki
71c48ec07f Open .atom files from browser process
This allows a new window to be created if there is no currently
focused window.
2014-01-20 10:37:14 -08:00
Cheng Zhao
dfa3d8a1c7 Temporarily workaround for slow net.connect, fixes #1429. 2014-01-17 20:31:03 +08:00
Cheng Zhao
ccc5f8fa66 Merge branch 'master' into chrome31
Conflicts:
	build/package.json
	package.json
2014-01-13 23:28:48 +08:00
Cheng Zhao
1074c6c34e Merge branch 'master' into chrome31
Conflicts:
	package.json
2014-01-09 22:24:41 +08:00
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