Commit Graph

188 Commits

Author SHA1 Message Date
Nathan Sobo
58510c2cc4 Release compiled oniguruma regex in destructor of user data object 2012-08-01 09:48:38 -07:00
Corey Johnson & Nathan Sobo
757258dd98 Include 'indices' property on OnigRegExp result with capture group indices 2012-08-01 09:48:37 -07:00
Corey Johnson & Nathan Sobo
7067c35dc0 Add CocoaOniguruma 2012-08-01 09:48:36 -07:00
Corey Johnson & Nathan Sobo
15d27dca44 Start on OnigRegexp javascript extension 2012-08-01 09:48:36 -07:00
Corey Johnson & Nathan Sobo
10352a9f6d 💄 2012-07-31 09:42:43 -07:00
Corey Johnson & Nathan Sobo
a7f4abdff9 Focus atom window when dev tools are removed 2012-07-31 09:42:34 -07:00
Corey Johnson & Nathan Sobo
63d016785b When devTools have focus, meta-alt-i hides the dev tools 2012-07-31 09:42:08 -07:00
Corey Johnson
0e1a52b090 Eliminate race condition for unwatching paths. 2012-07-25 14:15:06 -07:00
Nathan Sobo
454557b502 Merge branch 'master' into global-find
Conflicts:
	spec/extensions/command-panel-spec.coffee
	src/app/buffer.coffee
	src/extensions/command-panel/command-panel.coffee
	src/extensions/command-panel/keymap.coffee
2012-07-24 17:59:49 -06:00
Corey Johnson & Nathan Sobo
713b5a9620 Better $native.exec errors 2012-07-20 14:19:19 -07:00
Corey Johnson & Nathan Sobo
d24f9667f8 Add exception warning to stdout handler of native child process exec 2012-07-19 19:14:05 -06:00
Corey Johnson & Nathan Sobo
b1b6b3a310 Convert NSString to std::string with a length appropriate to the UTF8 encoding 2012-07-19 11:14:25 -06:00
Corey Johnson & Nathan Sobo
f998da301c Native handler logs when completion callback for child process raises exception 2012-07-17 18:39:00 -06:00
Nathan Sobo
7865799b34 Enable accelerated and threaded compositing on CEF 2012-07-14 10:22:14 -06:00
Corey Johnson & Nathan Sobo
075b2e4304 Don't rethrow execeptions in exec callbacks.
Since the callbacks are executed asynchronously, no v8 code is above them on the stack to which to rethrow. It was causing crashes.
2012-07-12 12:10:37 -07:00
Nathan Sobo
92f4519db2 Allow null characters in child process output
This is needed because grep uses a null character as a delimiter after the file path.
2012-07-11 18:45:57 -06:00
Corey Johnson
2afec5cf53 Add ChildProcess.exec(cmd, [options])
Uses promises for failure and success states. Takes optional stderr and stdout callbacks for incremental reading.
2012-07-10 15:07:28 -07:00
Corey Johnson & Nathan Sobo
523f240fe3 Properly dereference smart-pointer in native reload logic 2012-07-06 11:40:36 -06:00
Nathan Sobo
0433d3c3d9 Never send blur events to specs window
This makes sure that specs that rely on focus behavior don't end up failing because our focus is on an entirely different window.
2012-07-02 19:41:12 -06:00
Corey Johnson & Nathan Sobo
6ebe75c0bd Add fs.md5ForPath 2012-07-02 18:19:16 -06:00
Nathan Sobo
8c740b09e6 Add fs.lastModified 2012-07-02 17:44:12 -06:00
Corey Johnson
b673d40fd5 Remove focus from CEF when AtomController resigns as main window. Add focus when it becomes the main window. 2012-07-02 13:14:46 -06:00
Nathan Sobo
7387ad13f6 Merge branch 'master' of https://github.com/github/atom 2012-07-02 13:13:51 -06:00
Nathan Sobo
8468e89db8 Upgrade to cef_binary_1.1025.723_macosx 2012-07-02 13:11:16 -06:00
Corey Johnson
66ad7647d9 set new default window postion 2012-07-02 08:44:51 -07:00
Corey Johnson
9907751fd9 Throw JS exception when calling $native.watchPath with nonexistent path. 2012-06-29 15:09:01 -07:00
Corey Johnson
ff92e11789 PathWatcher handles atomic writes 2012-06-29 15:09:00 -07:00
Corey Johnson
074e2b9b85 A new PathWatcher is created for each v8 context. When the associated v8 context is released, the PathWatcher stops watching all its files and deallocs . 2012-06-29 15:09:00 -07:00
Corey Johnson
1059a6a495 Make dev tools work with specs 2012-06-26 16:41:13 -07:00
Corey Johnson
bdf53f55bb Adjust default size and position of window 2012-06-26 16:41:13 -07:00
Corey Johnson
a364fff7e6 meta-alt-i toggles docked dev tools 2012-06-26 16:41:13 -07:00
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