Commit Graph

651 Commits

Author SHA1 Message Date
Wliu
d855613340 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2016-01-05 17:25:51 -05:00
joshaber
94b77d0998 Separate the offset determination from the dimensions. 2016-01-05 11:59:59 -05:00
joshaber
fb8b25dc16 Merge branch 'master' into cascade-windows 2016-01-04 16:49:07 -05:00
joshaber
dcd860ae6f Use the last focused window instead of the last opened window. 2016-01-01 12:18:48 -05:00
joshaber
9e7cb15c2c Offset on Windows too. 2016-01-01 12:05:42 -05:00
joshaber
a63e70148d Cascade new windows on OS X
Fixes #10057.
2015-12-30 17:33:45 -05:00
joshaber
5c14d3e99b Don't fail if event is undefined.
Unclear why this is undefined, but apparently it is.
2015-12-30 14:33:23 -05:00
joshaber
7024e000a8 Provide some defaults.
Otherwise we’ll get:

TypeError: Cannot read property 'pathToOpen' of undefined

when called from ‘application:new-file’.
2015-12-30 14:32:55 -05:00
Wliu
d75102f46d Set URL in the crash reporter 2015-12-22 18:01:26 -05:00
Wliu
295698c085 app.terminate --> app.quit 2015-12-22 17:01:01 -05:00
Wliu
74e830358d Save the state before the browser window is closed 2015-12-14 17:31:27 -05:00
Wliu
ed96ac7daf browserWindow.restart -> .reload 2015-12-12 21:35:14 -05:00
Wliu
d6fa46acce Update browser files to use require 'electron' 2015-12-12 13:22:22 -05:00
Wliu
678c390e2e Fix indentation 2015-12-10 22:52:06 -05:00
Cheng Zhao
2e5c7f8573 executeJavaScriptInDevTools is deprecated 2015-12-11 11:00:08 +08:00
Cheng Zhao
c186d70bec Also use require('electron') in specs 2015-12-11 10:03:20 +08:00
Cheng Zhao
1f9cfc929c Update the API usages after merge 2015-12-11 09:50:18 +08:00
Cheng Zhao
f6e889aeb2 Merge branch 'master' into wl-electron-35 2015-12-11 09:32:32 +08:00
Cheng Zhao
1725b9bf54 Use require('electron') 2015-12-11 09:30:58 +08:00
Douwe Maan
948aaa0652 Add opened files and folders to recent documents menu 2015-12-01 11:07:10 +01:00
Kevin Sawicki
838f6fb7b1 Merge pull request #9606 from DouweM/dock-menu
Add OS X dock menu with 'New Window' option
2015-11-30 17:15:32 -08:00
Wliu
8e6c8b02bb Switch back to ipc-main in atom-portable.coffee 2015-11-27 13:20:22 -05:00
Wliu
dfe27ff989 More deprecations 2015-11-19 20:49:05 -05:00
Wliu
577b85e76c Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2015-11-19 20:20:24 -05:00
Wliu
9a850f9cb2 This is ridiculous 2015-11-19 20:11:26 -05:00
Wliu
f6328fb511 One more ipc fix 2015-11-19 16:37:11 -05:00
Nathan Sobo
a126374a7b Coerce boolean options to booleans
Pairing with @as-cii
2015-11-19 08:14:24 -08:00
Wliu
5fca7b6582 More ipc-renderer fixes 2015-11-18 21:20:45 -05:00
Wliu
fec1507ff4 Require ipc-renderer where it belongs 2015-11-18 21:10:40 -05:00
Wliu
d2a86e2466 Add 'home' argument to app.getPath() 2015-11-18 18:46:38 -05:00
Wliu
6cd480b37e Fix Electron deprecations 2015-11-17 21:16:09 -05:00
Douwe Maan
288abbc57b Add OS X dock menu with 'New Window' option 2015-11-16 17:54:29 +01:00
Nathan Sobo
d4818244f3 Merge pull request #9476 from atom/ns-fix-dev-mode
Always set devMode to true for spec windows
2015-11-09 14:57:17 -07:00
Wliu
232f54ed84 🔥 subpixel-font-scaling
This option was removed in Electron v0.33.9
2015-11-07 10:41:03 -05:00
Nathan Sobo
a8ceaa80f1 Always set devMode to true for spec windows 2015-11-06 16:01:21 -07:00
Kevin Sawicki
8dee7e6a65 🎨 2015-11-03 18:03:49 -08:00
Dave Rael
7cd44dc729 Add portable mode for Linux 2015-11-03 18:03:05 -08:00
Kevin Sawicki
afbb716a7a Mention .atom is a folder 2015-11-03 17:01:26 -08:00
Kevin Sawicki
a6c1ab0990 Remove : from error message 2015-11-03 17:01:26 -08:00
Kevin Sawicki
9ca94affc0 Mention conditional copying of .atom 2015-11-03 17:01:25 -08:00
Kevin Sawicki
97c19199c3 --set-portable -> --portable 2015-11-03 17:01:25 -08:00
Kevin Sawicki
0e9562de5d Log copy error message and stack separately 2015-11-03 17:01:25 -08:00
Kevin Sawicki
85a1471138 Improve copy portable error message 2015-11-03 17:01:25 -08:00
Kevin Sawicki
5d8edcd8ef Catch error copying portable folder 2015-11-03 17:01:25 -08:00
Kevin Sawicki
02f508720b Only use long option for set portable 2015-11-03 17:01:25 -08:00
Kevin Sawicki
d162eec601 🎨 2015-11-03 17:01:24 -08:00
Dave Rael
a95e582907 Restore passing of args lost in merge
to get command line parameter for setting portable mode into the atom home
interrogation
2015-11-03 17:01:24 -08:00
Dave Rael
e3da370d82 Add command line parameter to set portable
If parameter included, home directory will be copied to the portable
2015-11-03 17:01:24 -08:00
Kevin Sawicki
da0b177aa2 Assign args 2015-11-03 15:22:44 -08:00
Kevin Sawicki
2a7dc6c8de Revert parseCommandLine movement 2015-11-03 15:22:15 -08:00