Commit Graph

157 Commits

Author SHA1 Message Date
Corey Johnson
8ab167fd00 Reloading when there are modified buffers pops up a dialog. 2012-06-12 10:52:11 -07:00
Corey Johnson
321e7b6129 Add $native.reload 2012-06-12 10:52:11 -07:00
Kevin Sawicki
d2e79b13c2 💄 2012-06-07 14:47:58 -07:00
Corey Johnson
196aab1690 $native is now created once and registered as a CEF Extension. 2012-06-06 15:20:54 -07:00
Corey Johnson & Nathan Sobo
3a8ac78a99 Comments aren't allowed in xcconfig 2012-06-01 15:53:38 -07:00
Corey Johnson
c4a75492f4 Describe what ResourceConfig does 2012-06-01 15:27:52 -07:00
Corey Johnson
1d615c3576 Preprocessor can't distinguish between a macro that is defined with a value, and one that is simply defined. So I removed the LOAD_RESOURCES_FROM_DIR from the release build 2012-05-16 15:08:16 -07:00
Corey Johnson
e20d2dd9cb better LOAD_RESOURCES_FROM_DIR macro detection in atom.mm 2012-05-16 14:32:08 -07:00
Corey Johnson
9c8722768a LOAD_RESOURCES_FROM_DIR is a build env set in ResourceConfig.xcconfig 2012-05-16 14:05:06 -07:00
Corey Johnson
7d512cf3d7 shared schemes, all others can be deleted 2012-05-16 14:05:06 -07:00
Corey Johnson & Nathan Sobo
171e4cc2a5 Use LOAD_RESOURCES_FROM_DIR macro to indicate that resources should be loaded from a path rather than the bundle 2012-05-14 17:43:55 -06:00
Corey Johnson
545671a641 fs.isFile(path) returns false if given path does not exist 2012-05-08 13:02:14 -07:00
Corey Johnson
b422040d52 $native.alert takes an array of [name, callback] tuples for buttons.
I'd rather use a hash, but they aren't ordered.
2012-05-07 15:29:52 -07:00
Corey Johnson
88eda01768 $native.alert can work without buttons 2012-05-07 15:29:52 -07:00
Corey Johnson
886e2caa52 TreeView scrolls to selected path when move-down or move-up are triggered 2012-05-07 10:39:36 -07:00
Corey Johnson
78d3418c8c Add $native.moveToTrash 2012-05-04 15:14:12 -07:00
Corey Johnson
7ca50efa30 Use Atom+sharedApplication to init CEF 2012-05-04 10:13:01 -07:00
Corey Johnson
bf87f467ef 💣 2012-05-04 10:13:01 -07:00
Corey Johnson
afce9df09e Forgot to add these files 2012-05-04 10:13:00 -07:00
Corey Johnson & Nathan Sobo
d83d2a54f9 Upgraded to version 1.1025.607 of CEF1 2012-05-04 10:12:36 -07:00
Scott Chacon
568d35b89c pointers are confusing 2012-05-03 09:00:29 -07:00
Scott Chacon
eadf1e57d8 unwatchPath throws a javascript exception 2012-05-02 18:00:55 -07:00
Corey Johnson
f563579e20 Unwatch all paths on any page load 2012-05-01 13:06:36 -07:00
Corey Johnson & Nathan Sobo
daa051339c 💩 2012-04-30 08:49:27 -07:00
Corey Johnson & Nathan Sobo
69a76d1b47 Can move files from the tree view 2012-04-27 14:18:55 -07:00
Corey Johnson
fbcd8e43a0 Add fs.makeDirectory 2012-04-26 17:12:20 -07:00
Corey Johnson
4221cc7a98 Forgot dealloc 2012-04-26 11:05:18 -07:00
Corey Johnson & Nathan Sobo
42c6b92cfe Unwatch all paths before reload is triggered 2012-04-26 09:46:34 -07:00
Corey Johnson & Nathan Sobo
6de031c41e Clean up after paths are unwatched. Add [PathWatcher unwatchAll] 2012-04-26 09:46:14 -07:00
Nathan Sobo
5c057e11b1 Make unwatchPath spec make a valid negative assertion and return the watchId from $native.watchPath 2012-04-25 20:14:35 -06:00
Corey Johnson & Nathan Sobo
3ac49e1cd5 add $native.unwatch(path, id) 2012-04-25 18:03:51 -07:00
Corey Johnson & Nathan Sobo
b35823b912 PathWatcher no longer opens multiple file descriptors for the same path and other 💄 2012-04-25 17:38:25 -06:00
Corey Johnson & Nathan Sobo
5aed1b012a PathWatcher executes callback when path is changed 2012-04-25 13:49:53 -07:00
Nathan Sobo
980e1fb9fc Inject $windowNumber on all window objects so we use it to key into a window state hash 2012-04-10 12:14:08 -06:00
Corey Johnson & Nathan Sobo
9814d74c43 This ended up not solving our memory problems 2012-04-05 12:59:38 -07:00
Corey Johnson
7e22d47256 Close the dev-tools when reloading reduces memory leaks (by a lot) 2012-04-04 09:44:53 -07:00
Corey Johnson
5d90b902c3 Less noise 2012-04-04 09:15:24 -07:00
Corey Johnson
8667628623 Remove unused array 2012-04-04 08:44:36 -07:00
Corey Johnson
e0274c293f Better error output 2012-04-03 10:33:24 -07:00
Corey Johnson
f6bc82f26e Update CFBundleVersion to the correct version 2012-04-03 09:43:55 -07:00
Corey Johnson
ea92a957cf Add sparkle support to Atom 2012-04-02 12:21:25 -07:00
Corey Johnson
6cf1744c82 Release build uses the bundle resource as the load path 2012-03-29 15:24:24 -07:00
Corey Johnson
806d36cb74 new icon 2012-03-29 12:17:29 -07:00
Corey Johnson
7631ae986e Open no longer blocks until page is loaded 2012-03-21 11:13:20 -07:00
Corey Johnson
5ba3952b8f Block $native.open until window is completely loaded. 2012-03-20 17:19:52 -07:00
Corey Johnson
eded1e30cf $native.open returns the window where the file was opened. 2012-03-20 17:19:52 -07:00
Corey Johnson
1a4627442f Atom.open returns the AtomController created 2012-03-20 17:19:52 -07:00
Corey Johnson
fc1b350efd Expose AtomController's context 2012-03-20 17:19:52 -07:00
Corey Johnson
7924179c45 $native.write creates intermediate directories if they don't exists 2012-03-20 17:19:52 -07:00
Corey Johnson
6b4f3b0386 Use --headless arg to enable console reporter and exit on finish. 2012-03-15 10:24:57 -07:00