Commit Graph

27948 Commits

Author SHA1 Message Date
Ben Ogle
4afe6df2c4 Reorder for consistency 2016-03-01 15:08:46 -08:00
Ben Ogle
e9e372b69e Dispose emitter 2016-03-01 15:08:46 -08:00
Ben Ogle
341abbfc26 Nof. Nope. 2016-03-01 15:08:46 -08:00
Ben Ogle
fa0f6f3525 Use the renderer AutoUpdateManager in atom-environment’s update events 2016-03-01 15:08:46 -08:00
Ben Ogle
c9293e7733 Pass the version info through the event 2016-03-01 15:08:45 -08:00
Ben Ogle
3a5c827162 Add dispose spec 2016-03-01 15:08:45 -08:00
Ben Ogle
eaba694319 Let’s make this private for now 2016-03-01 15:08:45 -08:00
Ben Ogle
a876e85899 check -> checkForUpdate 2016-03-01 15:08:25 -08:00
Ben Ogle
b481a06cbf Pass the app delegate into AutoUpdateManager 2016-03-01 15:08:25 -08:00
Ben Ogle
ddff53bfc5 Postfix ifs 2016-03-01 15:07:56 -08:00
Ben Ogle
e40c91d353 All subscriptions can be in one call 2016-03-01 15:07:56 -08:00
Ben Ogle
342f72b6a1 Rename Update AutoUpdateManager 2016-03-01 15:07:56 -08:00
Katrina Uychaco
dd53c6f856 Use onDidCompleteDownloadingUpdate in listenForUpdates
This gets a bit confusing… It was formerly 
`@applicationDelegate.onUpdateAvailable`, but `::onUpdateAvailable` 
listens for the `did-begin-downloading-update` event and 
`::onDidCompleteDownloadingUpdate` listens for the `update-available` 
event. Note that ‘available’ here means successfully downloaded and 
ready to be used and NOT available to be downloaded.
2016-03-01 15:07:13 -08:00
Katrina Uychaco
19d30c7dc9 Improve specs for Update class 2016-03-01 15:07:13 -08:00
Katrina Uychaco
16ebefca3f Remove unnecessary ‘ipc' module import 2016-03-01 15:07:13 -08:00
Katrina Uychaco
5cda45b5c7 Use ipcRenderer from ‘electron’ rather than ‘pic’ module 2016-03-01 15:07:13 -08:00
Katrina Uychaco
3e29cd5762 Merge branch 'master' into dh-expose-updates 2016-03-01 15:07:12 -08:00
Katrina Uychaco
adc086d485 Add specs for Update methods (::check left TODO) 2016-03-01 15:07:12 -08:00
Katrina Uychaco
004a0e870d Add ApplicationDelegate listener disposables to subscriptions 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
e6a86d38d1 this doesn't work 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
6d77e97901 The app delegate uses the message channel here. 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
bdb9866ff1 remove errant log statement 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
a8a5006950 Add missing subscription event 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
6fce680a28 Send check-for-update message over ipc 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
44d7832745 add @update to AtomEnvironment 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
6505c65008 add out/ to gitignore 2016-03-01 15:06:33 -08:00
Daniel Hengeveld
1eaf30fae9 Add a few more things before stepping aside to work on another issue
…maybe rebase this away…
2016-03-01 15:06:33 -08:00
Daniel Hengeveld
3716aaf00b Spike out an update wrapper
We can expose just a few event subscription methods on atom.update to
take care of what most packages (e.g. About) would be interested in. Of
course the updater runs on the main thread so we’re proxying them
through IPC. It’s fine.
2016-03-01 15:06:33 -08:00
Katrina Uychaco
19623b3543 Merge pull request #11009 from atom/ku-dont-destroy-pane-if-replacing-last-pending-item
Don't destroy pane if replacing last pending item
2016-03-01 11:00:34 -08:00
Thomas Johansen
da0ce2a7bd ⬆️ language-xml 2016-03-01 18:54:11 +01:00
Antonio Scandurra
3b135c5b7f ⬆️ autocomplete-plus 2016-03-01 09:44:05 +01:00
Lee Dohm
668ec1901a Merge pull request #11008 from jonjitsu/master
📝 Add documentation for order key in config.
2016-02-29 23:59:33 -08:00
Nathan Sobo
e70a92be50 Merge pull request #11011 from atom/autoscroll-after-consolidating-selections
Autoscroll after consolidating selections
2016-02-29 21:32:43 -06:00
Nathan Sobo
a787eb9674 Merge PR #4898 2016-02-29 19:52:42 -07:00
Koki Takahashi
a59ee5dec8 Remove trailing semicolon 2016-02-29 19:51:58 -07:00
Koki Takahashi
6d00d5e979 Revert focus on language-mode-spec.coffee 2016-02-29 19:51:57 -07:00
Koki Takahashi
fdac1e4663 🐛 Treat empty comment line as comment and add tests (Fix #4140) 2016-02-29 19:51:57 -07:00
Nathan Sobo
4e409ef44a ⬆️ image-view 2016-02-29 19:43:59 -07:00
Nathan Sobo
7f744681c3 Simplify consolidateSelections spec to test autoscroll with events 2016-02-29 18:51:36 -07:00
Nathan Sobo
a55ad00ac1 Fix option pass-through in Selection:: and Cursor::autoscroll 2016-02-29 18:51:12 -07:00
Nathan Sobo
04d2474594 Merge PR #9642 (Autoscroll after consolidating selections) 2016-02-29 18:38:33 -07:00
Nathan Sobo
d7174d923e Merge pull request #11010 from atom/ns-fix-package-repository-url-normalization
Always strip git+ prefix and .git suffix from package repository URLs
2016-02-29 19:13:44 -06:00
Katrina Uychaco
b7f0f794f8 Don't destroy pane if replacing last pending item
Signed-off-by: Michelle Tilley <binarymuse@github.com>
2016-02-29 17:11:11 -08:00
Nathan Sobo
7600c4bdf4 Avoid wrapper closure by passing callback to forEach directly
/cc @wvanlint
2016-02-29 17:39:11 -07:00
Nathan Sobo
b95fd26cce Adjust TextEditorRegistry docs
/cc @wvanlint
2016-02-29 17:38:47 -07:00
Nathan Sobo
c65c8827ac Merge pull request #10851 from wvanlint/observe_editors
Registry for TextEditors
2016-02-29 18:34:03 -06:00
Nathan Sobo
6292484c97 Always strip git+ prefix and .git suffix from package repository URLs
Previously, a guard based on the presence of the _id field (which is
inserted by npm during installation) prevented a regex replacement of
the git+ prefix on URLs. Now we always do this. Since the .git suffix
also causes problems and we’re removing that in packages, I now remove
that as well.
2016-02-29 17:30:03 -07:00
Michelle Tilley
94b614ff2b Merge pull request #11006 from atom/mkt-move-pane-pending-specs-from-tabs-into-core
Move spec from tabs package
2016-02-29 16:26:29 -08:00
Katrina Uychaco
9851615078 ⬆️ find-and-replace
Signed-off-by: Michelle Tilley <binarymuse@github.com>
2016-02-29 16:24:22 -08:00
Michelle Tilley
8959e414a6 ⬆️ tabs
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-29 15:54:47 -08:00