Commit Graph

14143 Commits

Author SHA1 Message Date
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
Douwe Maan
a9bf2a73a5 Improve TextEditor::getLongTitle 2015-11-17 23:34:31 +01:00
Nathan Sobo
8da44c4dfc Discard highlights that end above the visible row range
Fixes #9628
2015-11-17 11:45:51 -08:00
joshaber
41d73db7e5 Merge branch 'master' into dh-async-repo 2015-11-17 11:39:22 -08:00
Nathan Sobo
6862610e70 Merge branch 'beta' 2015-11-17 08:53:27 -08:00
Collin Donahue-Oponski
538500042c 🐛 Autoscroll to cursor after clearing multi-cursor selection. 2015-11-16 22:05:23 -07:00
Nathan Sobo
af22a149bd Replace getLongTitle with getUniqueTitle 2015-11-16 13:47:23 -08:00
Douwe Maan
288abbc57b Add OS X dock menu with 'New Window' option 2015-11-16 17:54:29 +01:00
Douwe Maan
f93565708b Close empty active window when Close command is given 2015-11-16 17:54:06 +01:00
abe33
2696f49385 🐛 Fix typo in project deserializer method
Addresses #9598
2015-11-16 10:06:35 +01:00
Antonio Scandurra
1a8e2c6f8d 🎨 2015-11-13 16:23:32 -07:00
Antonio Scandurra
62de930b03 Set initialLoadComplete to true only in test mode 2015-11-13 16:23:24 -07:00
Antonio Scandurra
7c6fcea441 Set initialLoadComplete to true only in test mode 2015-11-13 16:00:54 -07:00
Antonio Scandurra
967fca7214 🎨 2015-11-13 18:51:06 +01:00
Antonio Scandurra
c7ca50b2b6 Set initialLoadComplete to true only in test mode 2015-11-13 18:01:21 +01:00
Nathan Sobo
fa66048d71 Guard against focusing a destroyed pane 2015-11-12 17:34:48 -07:00
Nathan Sobo
df0671cf5f Merge pull request #9513 from Ingramz/grammar-scores
Prioritize file type matching over first line matching in grammar scoring system
2015-11-12 16:12:26 -07:00
Nathan Sobo
67c42282a6 Merge pull request #9527 from atom/lierdakil-defer-act-hooks
Lierdakil: Defer Activation Hooks
2015-11-12 16:06:41 -07:00
Antonio Scandurra
05550699bd Merge pull request #9524 from atom/as-transact-async
Introduce Config::transactAsync
2015-11-12 09:26:26 +01:00
Max Brunsfeld
62f4f32d23 Merge pull request #9528 from efatsi/master
Remap pane:show-item-9 to activate last pane item
2015-11-11 15:14:08 -08:00
Nathan Sobo
ab6f26368b Add link to comment 2015-11-11 12:15:14 -07:00
Antonio Scandurra
780979e122 Make sure showing errors works correctly 2015-11-11 12:05:03 -07:00
Nathan Sobo
db0149ca65 Merge pull request #9529 from atom/as-fix-bad-fat-arrow
Use fat arrow when showing errors in CommandInstaller
2015-11-11 12:02:36 -07:00
Max Brunsfeld
eafffd9733 Merge pull request #9444 from atom/mb-synchronous-scroll-position
Allow synchronous control of scroll position through TextEditor model
2015-11-11 09:58:05 -08:00
Antonio Scandurra
b895baacbf Make transactAsync private 2015-11-11 18:30:06 +01:00
Antonio Scandurra
60841e574a Make sure showing errors works correctly 2015-11-11 18:18:55 +01:00
Eli Fatsi
84a6f0cb75 Remap pane:show-item-9 to activate last pane item 2015-11-11 10:09:09 -07:00
Max Brunsfeld
4c3d355298 👕 Add missing space after comma 2015-11-11 08:44:36 -08:00
Nikolay Yakimov
571686e52b Remove deprecated call 2015-11-11 07:51:04 -07:00
Nikolay Yakimov
fe47394b22 Update specs for deferred activation hooks 2015-11-11 07:51:04 -07:00
Nikolay Yakimov
7d959df683 Defer activation hooks (#8313) 2015-11-11 07:51:04 -07:00
Daniel Hengeveld
c84c5cb72f Merge branch 'dh-async-repo' of github.com:atom/atom into dh-async-repo 2015-11-11 15:05:55 +01:00
Daniel Hengeveld
7421568134 Add simple ::relativize()
- remove spec
- Remove GitUtils from async repo
- Doesn't cover all the cases as the one in git-utils but I think they might have
  been specific to that library's implementation
2015-11-11 15:04:46 +01:00
Antonio Scandurra
8c3c2dfa8d 🎨 2015-11-11 09:59:41 +01:00
Antonio Scandurra
c85088fb46 🎨 2015-11-11 09:58:07 +01:00
Antonio Scandurra
68ea20a705 📝 2015-11-11 09:56:25 +01:00
Antonio Scandurra
38d713379f 🎨 Introduce Config::transactAsync 2015-11-11 09:55:20 +01:00
Antonio Scandurra
7e1a1bc8b0 Merge branch 'master' into as-faster-settings-load
# Conflicts:
#	src/package-manager.coffee
2015-11-11 09:09:47 +01:00