Nathan Sobo
7d47527b17
Merge remote-tracking branch 'origin/master' into ns-telepathic-pane-items
2013-12-18 16:14:44 -07:00
Nathan Sobo
76922c2d46
Include stack of window state parse errors in CI build output
2013-12-18 13:10:25 -07:00
Nathan Sobo
e40b7b1412
Update to telepath 0.79.0 so representation creation can be delayed
...
Instead of creating representations for a class as soon as the class is
registered, we wait until all representation classes are registered and
call `::createRepresentations` on the Atom global to build everything in
a single bottom up traversal.
2013-12-17 17:05:54 -07:00
Nathan Sobo
9df69f801b
Register deserializers on telepath as representation classes
2013-12-17 17:05:54 -07:00
Nathan Sobo
a57083a48b
Mark Atom global class methods with instance equivalents as 'Private:'
2013-12-17 11:18:59 -07:00
Nathan Sobo
3db9e16637
Upgrade to telepath 0.75.0 for custom object support
2013-12-16 19:03:10 -07:00
Nathan Sobo
bd3cfda2bb
Merge branch 'master' into ns-telepathic-atom-global
...
Conflicts:
src/atom.coffee
2013-12-16 18:18:06 -07:00
Kevin Sawicki
6a7e4c30fb
🐎 Memoize version to prevent future IPC calls
2013-12-13 14:49:23 -08:00
Nathan Sobo
ed41cc3cad
Restore comment
2013-12-13 14:07:30 -08:00
Nathan Sobo
e67e8ff0f5
Restore Atom::getLoadSettings and spy on it in window spec
...
I initially ripped out Atom::getLoadSettings in favor of a mutable
property because window spec was making an assumption that such a
property existed anyway. Since load settings need to be available from
class methods, the instance method just delegates to the class method.
But that means there's no ::loadSettings property to mutate in that
spec. I replaced the former approach with a spy which has the added
advantage of not polluting windowSettings for subsequent specs.
2013-12-13 12:02:48 -08:00
Nathan Sobo
da964a8f15
Fix comment
2013-12-13 09:55:45 -08:00
Nathan Sobo
2c4aee1181
Restore cloning of ::loadSettings in ::getLoadSettings
...
It's a deprecated method, but if you call it you'll get a clone.
2013-12-13 09:55:13 -08:00
Nathan Sobo
24d3f1daeb
Reduce diff size by restoring old method order where possible
2013-12-13 09:50:57 -08:00
Nathan Sobo
beb2fb08ea
Merge branch 'master' into ns-telepathic-atom-global
...
Conflicts:
package.json
2013-12-13 09:32:13 -08:00
Kevin Sawicki
87e325dce1
Set body's visibility to hidden when unloading
...
Previously the display was changed to none via $.hide() which accidentally
affected the ability of package's to serialize DOM properties such as
scrollTop since the value would always be zero when the display was none.
The goal here is to just prevent a flicker when refreshing the
editor window and setting visibility to hidden still accomplishes this.
2013-12-12 18:05:36 -08:00
Nathan Sobo
39fe0c418b
Add back deprecated Atom::getLoadSettings method for packages
2013-12-12 16:49:00 -08:00
Nathan Sobo
0b7f291e17
Remove reference to workspaceView in Atom::unloadEditorWindow
2013-12-12 16:35:26 -08:00
Nathan Sobo
a564cc66f6
Replace Atom::getLoadSettings with a ::loadSettings property
...
We assign a value into ::loadSettings anyway in a spec, so there's not
much point leaving it a method. Eventually I'd like to pass all these
settings in when constructing the Atom object and eliminate awareness
of the loadSettings altogether from the Atom global.
2013-12-12 16:33:30 -08:00
Nathan Sobo
14c58c4517
Set up window event handler for all windows
2013-12-12 15:45:25 -08:00
Nathan Sobo
23957d7f66
WIP: Make atom global a telepath model
...
Specs seem to be green but hang on what I'm assuming to be a long GC
pause near the end. I need to investigate what's going on memory wise.
2013-12-12 14:33:50 -08:00
Nathan Sobo
0b5155f496
Set telepath.devMode to true when not on an official release
...
This will enable assertions inside of telepath to help us diagnose
atom/telepath#7 . Otherwise, the issue *should* be covered over for end
users.
2013-12-11 14:47:52 -08:00
Nathan Sobo
8a8df8d6cb
Add Atom::isReleasedVersion, which determines if the version is a SHA
2013-12-11 12:28:20 -08:00
Nathan Sobo
425c076221
Make Editor a telepath.Model subclass
2013-12-10 17:32:34 -08:00
Nathan Sobo
7138d5b888
Merge branch 'master' into ns-teleditor
...
Conflicts:
package.json
2013-12-10 01:33:23 -08:00
Kevin Sawicki
72191f3d3d
Add atom.getWindowLoadTime() API to be used by metrics
2013-12-09 15:20:22 -08:00
Nathan Sobo
640fd0051b
Clarify comment
2013-12-07 14:03:14 -08:00
Nathan Sobo
1ccc93c50b
Make DisplayBuffer a telepath model subclass
2013-12-07 03:07:15 -08:00
Nathan Sobo
a4d2b4d21a
Make TokenizedBuffer a telepath.Model subclass
...
There's a bunch of improvised code to make this work right now because
of the circularity of this refactoring. It will stabilize over time.
2013-12-07 02:25:47 -08:00
Nathan Sobo
b61654b52f
Upgrade to telepath 0.61.0
...
This version adds a bunch of reactive primitives and ensures we destroy
documents when they are no longer referenced.
2013-12-06 21:55:57 -08:00
Ben Ogle
6d2bd7756e
Add the getGitHubAuthTokenName fn back in
2013-12-06 11:57:31 -08:00
Ben Ogle
f0fece2cf0
Add getters and setters for the keychain
2013-12-06 11:45:18 -08:00
Ben Ogle
c36ee1dbe6
Add getGitHubTokenName
2013-12-06 11:39:40 -08:00
Ben Ogle
18057e303b
Remove getUserAgent. just use navigator.userAgent
2013-12-05 18:55:20 -08:00
Ben Ogle
d36c4f0ec9
getUserAgent()
2013-12-03 17:45:40 -08:00
Kevin Sawicki
2e801fbf87
Rename root-view to workspace-view
2013-11-26 11:02:53 -08:00
Kevin Sawicki
14ad277012
Remove atom.workspaceView shim
2013-11-26 11:02:53 -08:00
Kevin Sawicki
3ce6176313
Rename rootView to workspaceView
2013-11-26 11:02:53 -08:00
Kevin Sawicki
f8ed6eadc8
Add WorkspaceView and atom.workspaceView shims
2013-11-26 09:13:06 -08:00
Kevin Sawicki
9b4dd602be
📝 Tweak markdown in Atom comments
2013-11-22 15:40:50 -08:00
Kevin Sawicki
ca35ced587
📝 Use markdown for example
2013-11-22 15:08:18 -08:00
Kevin Sawicki
ef9ce1bf70
Consolidate Atom::confirm/confirmSync
...
Support both an array and hash of buttons to allow callbacks
optionally.
2013-11-22 15:00:32 -08:00
Kevin Sawicki
c754b73b71
📝 Doc what paths are returned
2013-11-22 14:39:27 -08:00
Kevin Sawicki
21565332a4
Use fs-plus to get home directory path
2013-11-22 14:39:27 -08:00
Kevin Sawicki
8871d9cd2d
Remove unused Atom::getTempDirPath
2013-11-22 14:39:26 -08:00
Kevin Sawicki
64f0fcc839
📝 Add docs to Atom class
2013-11-22 14:39:26 -08:00
Kevin Sawicki
45b65cd3aa
Organize imports
2013-11-22 10:13:59 -08:00
Kevin Sawicki
f217278001
Move editor window helpers to Atom class
2013-11-22 10:13:59 -08:00
Kevin Sawicki
79b84b2433
Move window.deserializeEditorWindow to Atom class
2013-11-22 10:13:59 -08:00
Kevin Sawicki
17be036ff8
Move window.setUpEnvironment to Atom class
2013-11-22 10:13:59 -08:00
Kevin Sawicki
5d717eb7bd
Load ~/.atom/user.js when available
2013-11-21 16:21:37 -08:00