Kevin Sawicki
b3200a944f
Move native function declarations to js file
...
This allows multiple native handlers to load it
as an extension without duplicating all the expected
native function calls names internally.
2012-08-22 15:10:37 -07:00
Kevin Sawicki & Nathan Sobo
8d31eb9c73
💄
2012-08-22 13:43:46 -07:00
Kevin Sawicki
f778345b3a
Add support for requiring a platform-specific stylesheet
...
Add a getPlatform method to the native object that
is used for requiring the platform stylesheet from
within window.coffee after the atom.css is required.
This is used to provide non-native scrollbars on Linux
for an improved look and feel.
2012-08-22 13:43:46 -07:00
Corey Johnson & Nathan Sobo
60a4af4653
HACK: Git deletes files only to create them again later. This is the cheap way of dealing with that
2012-08-10 09:22:41 -07:00
Corey Johnson & Nathan Sobo
ad4b3db439
Add OnigRegExp.test
2012-08-09 12:57:20 -06:00
Corey Johnson & Nathan Sobo
2a945838f5
Return absolute minimum capture data from OnigRegExp
2012-08-08 12:13:54 -07:00
Corey Johnson & Nathan Sobo
fd295faa44
OnigRegExp.getCaptureTree only returns capture tree (no capture text)
2012-08-08 11:04:13 -06:00
Corey Johnson & Nathan Sobo
e0516def80
Prioritize getCaptureTree in conditionals for tiny drops of speed
2012-08-08 10:16:36 -06:00
Nathan Sobo
f1438f2806
Optimization: Return only arrays from getCaptureTree
...
Creating objects and setting key-value pairs is more expensive than creating arrays with numeric indices. So this squeezes a bit more performance.
2012-08-08 09:57:42 -06:00
Nathan Sobo
c6c4d6413e
Optimization attempt: Captures contain start/end position instead of text
2012-08-08 09:11:32 -06:00
Corey Johnson & Nathan Sobo
827b3e29d3
Implement OnigRegExp.getCaptureTree natively
2012-08-07 16:20:02 -07:00
Corey Johnson & Nathan Sobo
088b1a1398
💄
2012-08-07 16:18:16 -07:00
Nathan Sobo
bfb559e1c5
WIP: Native version of OnigRegExp.getCaptureTree. Not wired up yet or tested.
2012-08-07 14:46:24 -06:00
Nathan Sobo
a85345e392
Add OnigRegExp.getCaptureCount
2012-08-06 18:27:14 -06:00
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