Commit Graph

6799 Commits

Author SHA1 Message Date
Wliu
fec1507ff4 Require ipc-renderer where it belongs 2015-11-18 21:10:40 -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
Douwe Maan
5c701ed5df Use long title in tests 2015-11-18 20:31:42 +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
3b2c6afdaf Fix removeListener calls 2015-11-17 16:23:38 -08:00
joshaber
a8c297e7f2 Don't need these, we'll use the JS one. 2015-11-17 15:32:35 -08: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
Wliu
3a34a95947 Update TokenizedBuffer specs 2015-11-17 12:47:14 -05:00
Nathan Sobo
6862610e70 Merge branch 'beta' 2015-11-17 08:53:27 -08:00
Nathan Sobo
192e804c8f Fix specs. Duh. 2015-11-17 08:53:13 -08:00
Douwe Maan
f93565708b Close empty active window when Close command is given 2015-11-16 17:54:06 +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
Antonio Scandurra
c6cb37ac88 🎨 2015-11-11 20:26:23 +01:00
Antonio Scandurra
cc30daa617 Make sure showing success dialogs works correctly 2015-11-11 12:05:11 -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
Nathan Sobo
ec4c5ddb68 Merge pull request #9477 from atom/jf-add-appveyor-build
Add Windows CI
2015-11-11 10:35:28 -07:00
Antonio Scandurra
0490b1482f Make sure showing success dialogs works correctly 2015-11-11 18:19:32 +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
Daniel Hengeveld
2246cca631 Fix typo 2015-11-11 16:11:17 +01:00
Daniel Hengeveld
861d7550b5 i am bad at using GH desktop 2015-11-11 16:09:57 +01:00
Daniel Hengeveld
55a1d3b75f Use async repo, add missing return 2015-11-11 16:06:18 +01:00
Nikolay Yakimov
fe47394b22 Update specs for deferred activation hooks 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
38d713379f 🎨 Introduce Config::transactAsync 2015-11-11 09:55:20 +01:00
Max Brunsfeld
fefb387d3c Merge branch 'master' into mb-synchronous-scroll-position
Conflicts:
	src/text-editor-presenter.coffee
	src/text-editor.coffee
2015-11-10 16:23:39 -08:00
Indrek Ardel
6520240652 Update spec 2015-11-11 01:23:07 +02:00
Joe Fitzgerald
19334be188 Add Appveyor CI
- Add Appveyor badge
- Add Appveyor.yml definition, with encrypted ATOM_ACCESS_TOKEN
- Add cibuild.cmd script to launch cibuild on Windows
- Prepare to release Atom on Windows from Appveyor (but don't do it yet)
- Reduce dependence on JANKY in ci scripts + tasks
- Suppress release activities on PRs for Travis and Appveyor
- Cache ~/.atom/.apm, ~/.atom/.node-gyp/.atom, and ~/.atom/.npm on Appveyor
2015-11-10 15:37:01 -07:00
Kevin Sawicki
a0c208974b Add failing spec 2015-11-10 13:54:42 -08:00
joshaber
bfbbbf16cb Merge branch 'master' into dh-async-repo 2015-11-10 15:23:54 -05:00
joshaber
55cc08215d Be even less racy. 2015-11-10 15:23:47 -05:00
joshaber
f0283df7d5 Re-add this test. 2015-11-09 14:24:15 -05:00
Max Brunsfeld
1304648361 Make getLastVisibleScreenRow a model API again 2015-11-09 11:00:38 -08:00
joshaber
c11f8f77ba Re-enable that test. 2015-11-09 13:41:53 -05:00
Max Brunsfeld
48cc5e713e Make presenter respond to external changes to model's first visible screen row 2015-11-09 10:13:09 -08:00