Commit Graph

99 Commits

Author SHA1 Message Date
Kevin Sawicki
bf48195752 Upgrade to fs-plus@0.5.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
0264fd6be5 Rename writeSync to writeFileSync 2013-11-01 08:46:03 -07:00
Kevin Sawicki
9c79e39401 Upgrade to fs-plus@0.4.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
e06100fe25 Shim fs.exists 2013-11-01 08:46:03 -07:00
Kevin Sawicki
01610a3fb8 Add shims for previous fs methods 2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a Upgrade to fs-plus@0.3.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
83dcf79bcf Use fs-plus 2013-11-01 08:46:02 -07:00
Nathan Sobo
e8e3e3224f Switch to new API for Document.deserialize and ::saveSync 2013-10-31 17:08:41 -06:00
Nathan Sobo
62ccf92a5d Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Kevin Sawicki
c571d6a9d4 Only reload non-theme packages on reload of themes 2013-10-29 13:31:41 -07:00
Kevin Sawicki
bdd4ac63f4 Watch themes after activation instead of loading 2013-10-29 13:31:41 -07:00
probablycorey
4ad38eed87 Use @config instead of config 2013-10-23 14:26:48 -07:00
probablycorey
f7dfd60014 Remove unused $$ 2013-10-23 14:14:47 -07:00
probablycorey
d5f92ef59d Move all beep code into Atom class 2013-10-23 14:09:00 -07:00
probablycorey
224bc56d4e Require $$ via space-pen-extensions 2013-10-23 11:16:12 -07:00
probablycorey
ffcd948362 Move beep method to rootView 2013-10-23 10:42:13 -07:00
probablycorey
3b525302b0 Merge remote-tracking branch 'origin/master' into cj-add-flash-error 2013-10-23 10:27:49 -07:00
Ben Ogle
b330ce6722 Add atom.inSpecMode() 2013-10-22 15:06:53 -07:00
Ben Ogle
56832b11fc Refactor pkg and themeManager -- all themes stored in the pkg manager 2013-10-22 15:06:25 -07:00
probablycorey
71ede6b97f Add core.audioBeep and core.visualBeep to core settings
Closes #996
2013-10-22 12:43:41 -07:00
probablycorey
069ae17f9d Atom::beep triggers visual and audio beep 2013-10-22 12:32:06 -07:00
probablycorey
3c08ae2de6 Add Atom::visualBeep method 2013-10-22 12:18:22 -07:00
Cheng Zhao
558778b4d4 Add atom.getTempDirPath to return the path of "system temporary directory". 2013-10-21 21:39:52 +08:00
Kevin Sawicki
9d51d1a143 Use jquery provided by space-pen 2013-10-16 13:34:41 -07:00
Ben Ogle
aa57414547 Add inDevMode() function 2013-10-16 12:17:37 -07:00
Kevin Sawicki
216a5e61fd Update underscore-extensions requires 2013-10-15 13:50:16 -07:00
Kevin Sawicki
1c357f9b65 Use TODO instead of FIXME for consistency 2013-10-14 17:28:28 -07:00
Kevin Sawicki
eaed08a5cc Use skinny arrows in Emitter shims 2013-10-14 17:28:27 -07:00
Kevin Sawicki
07f370df2a Shim one to once 2013-10-14 17:28:27 -07:00
Kevin Sawicki
672fb8ecaf Shim Emitter at top of Atom class 2013-10-14 17:28:27 -07:00
Kevin Sawicki
320b4a49b4 Use Subscriber.includeInto 2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5 Use emissary for EventEmitter and Subscriber 2013-10-14 17:28:26 -07:00
Kevin Sawicki
662262ab82 Use deep clone for load settings
The new initialSize load setting has a nested object which should be
cloned as well.
2013-10-09 09:25:53 -07:00
Kevin Sawicki
349ba86b92 Create new windows with same size as focused window 2013-10-09 09:25:53 -07:00
Kevin Sawicki
d93633a837 Maximize window by default
Use the available height and width as the default window size
when no window state exists for the dimensions.
2013-10-09 09:25:53 -07:00
Matt Colyer
33cf5dda15 Merge branch 'master' into menu-api
Conflicts:
	src/atom.coffee
	src/config.coffee
2013-10-08 15:49:55 -07:00
Kevin Sawicki
e95e8a22c3 💄 Remove extra newline 2013-10-07 16:12:00 -07:00
Kevin Sawicki
0033c9659f 💉 directory dependencies into Config 2013-10-07 16:12:00 -07:00
Kevin Sawicki
87bfcf5683 💉 dependencies into AtomPackage
Removes use of resourcePath and config globals
2013-10-07 16:11:59 -07:00
Matt Colyer
1deba49722 Move Keymap init above MenuManager init 2013-10-04 14:38:43 -07:00
Kevin Sawicki
80a9cebbef Don't parse empty strings as JSON
windowState can be an empty string which should not be attempted to be
parsed.
2013-10-04 13:01:44 -07:00
Matt Colyer
32101c57bf Load core menus from a file 2013-10-04 12:28:19 -07:00
Matt Colyer
d8e857efc9 Create MenuManager class
A minimal implementation that takes over the responsiblities of managing
the application menu within the render process.
2013-10-04 11:33:28 -07:00
Kevin Sawicki
e4b55c4210 🐎 Only reload active package stylesheets
Previously all package stylesheets were loaded twice during startup,
once when the themes were loaded and once when the packages were
activated.
2013-10-02 18:49:26 -07:00
Kevin Sawicki
ca137974c9 Store site on atom global 2013-10-02 15:23:06 -07:00
Kevin Sawicki
5aa83163ad Memoize load settings and return a clone
Calling this method actual eats up a lot of spec time since
it does an ipc channel sync call.
2013-10-02 14:09:30 -07:00
Kevin Sawicki
a85817369e Add shim for packages accessing atom.packageStates 2013-10-02 13:40:35 -07:00
Kevin Sawicki
333c5a0db2 Add requireWithGlobals() to atom global 2013-10-02 13:40:35 -07:00
Kevin Sawicki
068a10b2db Extract deserializer management into class 2013-10-02 13:40:34 -07:00
Kevin Sawicki
cad2c9c7af 📝 Mention centering behavior 2013-10-02 13:40:34 -07:00