Commit Graph

14990 Commits

Author SHA1 Message Date
Max Brunsfeld
4bc46db355 Still assign error's raw stack when prepareStackTrace is overridden
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 15:30:11 -08:00
Max Brunsfeld
4616b426b0 Allow Error.prepareStackTrace to be temporarily reassigned
Fixes https://github.com/atom/atom/issues/9660

Signed-off-by: Nathan Sobo <nathan@github.com>
2015-11-23 15:22:15 -08:00
Chen Shen
d17ab332ec fix bug in getRawStack 2015-11-23 14:29:17 -08:00
Douwe Maan
b11d0c2585 Use em-dash in window title and exclude app name on OS X 2015-11-21 14:09:00 +01:00
Max Brunsfeld
30b3cb249e Merge pull request #9636 from DouweM/unique-title
Use unique text editor title in window and tab titles
2015-11-20 16:55:38 -08:00
Collin Donahue-Oponski
76947daca4 Merge branch 'colllin-patch-1' of github.com:colllin/atom into colllin-patch-1 2015-11-20 14:13:05 -07:00
Nathan Sobo
dae4539fbe Merge branch 'stable' into beta 2015-11-20 10:46:15 -07:00
Antonio Scandurra
cbfee4e809 🐛 Compute content width when the longest row is the first one 2015-11-20 10:45:16 -07:00
Nathan Sobo
3e22d9f7a2 Merge PR #9607 with a small change 2015-11-20 10:41:22 -07:00
Antonio Scandurra
a546005c65 Merge pull request #9709 from atom/as-fix-longest-screen-row-issue
Compute content width when the longest row is the first one
2015-11-20 09:24:33 -08:00
Douwe Maan
a7809d6772 Add 'Close Empty Windows' option.' 2015-11-20 16:40:55 +01:00
Antonio Scandurra
93481c8a0d Move ::isTextEditor down into Workspace 2015-11-19 17:56:53 -08: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
Max Brunsfeld
cb2b068d77 Load view providers from files specified in package.json 2015-11-19 16:58:20 -08:00
Wliu
c85cd80544 Fix missing parentheses 2015-11-19 19:49:29 -05:00
Antonio Scandurra
0218431c62 🐛 Compute content width when the longest row is the first one 2015-11-19 16:38:20 -08:00
Max Brunsfeld
91b651e86c Make model constructor argument to addViewProvider optional 2015-11-19 15:54:47 -08:00
Wliu
50a42af9fd ...try this? 2015-11-19 18:20:51 -05:00
Max Brunsfeld
a0a402c3f8 Remove 'atom' prefix from deserializers package.json key 2015-11-19 14:12:03 -08:00
Wliu
f6328fb511 One more ipc fix 2015-11-19 16:37:11 -05:00
Max Brunsfeld
ef4631b5b6 Merge remote-tracking branch 'origin/stable' into beta
Conflicts:
	package.json
2015-11-19 11:10:55 -08:00
Nathan Sobo
23102198ce Don’t change key name in serialized application state
We changed it internally for clarity, but this is breaking compatibility
with restoring state when upgrading from previous versions.

Fixes #9690
2015-11-19 11:10:00 -08:00
Nathan Sobo
a126374a7b Coerce boolean options to booleans
Pairing with @as-cii
2015-11-19 08:14:24 -08:00
abe33
69a0acd554 🐛 Fix typo in project deserializer method
Addresses #9598
2015-11-19 07:13:01 -08:00
Nathan Sobo
e572763cf7 Remove unnecessary fat arrow 2015-11-18 22:21:27 -08:00
Nathan Sobo
b04c26ba30 Discard highlights that end above the visible row range
Fixes #9628
2015-11-18 21:32:05 -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
Max Brunsfeld
46272cd192 Load deserializers lazily 2015-11-18 14:31:16 -08:00
Max Brunsfeld
ade1ef7a4c Load deserializers from files specified in package.json 2015-11-18 14:03:49 -08:00
Wliu
0945383d78 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2015-11-18 16:11:49 -05:00
Max Brunsfeld
799a792f7f Remove public docs for DirectorySearch and DefaultDirectorySearcher 2015-11-18 13:05:27 -08:00
Nathan Sobo
d204e53ba2 Merge branch 'stable' into beta 2015-11-18 11:07:48 -08:00
Max Brunsfeld
75a52968d0 Avoid using deprecated 'activate-with-no-open-windows' event
The current shim for that event has a missing event argument
2015-11-18 10:55:40 -08:00
Nathan Sobo
c09c04669c Coerce boolean options to booleans
Pairing with @as-cii
2015-11-18 10:41:07 -08:00
Thomas Johansen
a8147c09a2 🔥 Remove console.log shims 2015-11-18 17:46:20 +01:00
Nathan Sobo
d0cb8e2c55 Store project directory paths as state on AtomWindow in browser process
Fixes #9574

Previously, we were storing the project directory paths as the
`initialPaths` key in load settings, which were accessed in the browser
process by reading the URL hash. However, this URL hash was not always
available, subjecting us to timing issues when opening multiple files
in the same folder in rapid succession.

We now store the project directory paths directly on AtomWindow
instances on creation, then RPC changes from the render process to the
browser process with a custom code path.

Shout out to :airplane::finnadie:’d @as-cii on this for pairing with me.
2015-11-17 21:00:13 -08:00
Wliu
6c811433cf Fix executeJavaScriptInDevTools
The joy of Atom and Electron having identically-named functions
2015-11-17 23:11:55 -05:00
Wliu
6cd480b37e Fix Electron deprecations 2015-11-17 21:16:09 -05:00
Nathan Sobo
9537007a2a Merge branch 'beta' 2015-11-17 16:57:33 -08:00
Nathan Sobo
e475065b45 Merge branch 'stable' into beta 2015-11-17 16:57:19 -08:00
Nathan Sobo
668aa0532e Merge pull request #9665 from atom/ns-fix-remove-event-listeners
Fix removeListener calls
2015-11-17 16:46:25 -08:00
Nathan Sobo
6e72ebb886 Load packages before deserializing workspace
This ensures that package-defined deserializers work.
2015-11-17 16:28:53 -08:00
Nathan Sobo
3b2c6afdaf Fix removeListener calls 2015-11-17 16:23:38 -08:00
joshaber
8c47335db6 ES6 harder. 2015-11-17 15:38:10 -08:00
joshaber
d54e3f2d3c Implement the Windows focus refreshing. 2015-11-17 15:37:58 -08:00
Douwe Maan
4bc4c6888f Use unique text editor title in window and tab titles 2015-11-17 23:34:41 +01:00