Commit Graph

2637 Commits

Author SHA1 Message Date
Kevin Sawicki
5adf74794b Log errors from nak to console 2013-06-04 18:47:05 -07:00
Kevin Sawicki
66000a6769 Upgrade to oniguruma 0.16
This release returns objects for capture indices instead of
the index, start, and end in sequence in a single array.
2013-06-04 17:41:02 -07:00
Kevin Sawicki
f63866b2a2 Rename hasSurrogatePairs() to hasSurrogatePair() 2013-06-04 13:43:19 -07:00
Kevin Sawicki
a109a3317e Add support for surrogate pairs
Surrogate pairs, meaning characters outside the Basic
Multilingual Plane, are now broken out as atomic tokens.

Closes #567
2013-06-04 13:43:19 -07:00
Kevin Sawicki
36ddbe99a1 Have inner image-container consume entire area 2013-06-04 13:23:26 -07:00
Kevin Sawicki
f3a500923c Catch and log errors parsing window state
Previously if a read or parse error occurred the window
would never show and the dev tools would be inaccessible.
2013-06-03 12:14:17 -07:00
Kevin Sawicki
f90530f593 💄 2013-06-03 10:50:13 -07:00
Kevin Sawicki
3683f7e097 Move show() to atom.coffee
Co-locates it with hide() and focus() which are similar.
2013-06-03 10:43:43 -07:00
Kevin Sawicki
8c9aad9e34 Merge branch 'master' into atom-shell 2013-06-03 09:38:47 -07:00
Kevin Sawicki
94c1ed4c28 Add node_modules dir to config.bundledPackageDirPaths array 2013-06-03 09:32:20 -07:00
Kevin Sawicki
c1a1633593 Break on first path match 2013-06-03 09:30:33 -07:00
Cheng Zhao
a6c37ff276 💄 on code style. 2013-06-03 22:56:30 +08:00
Cheng Zhao
495b218c7f Make atom.update() work. 2013-06-03 22:48:52 +08:00
Cheng Zhao
681969439d Merge branch 'master' into atom-shell 2013-06-03 19:53:10 +08:00
Cheng Zhao
1aca554ae3 Make atom.crashMainProcess and atom.crashRenderProcess work. 2013-06-02 00:34:12 +08:00
Kevin Sawicki
9431a8c3ac Check that scope name is present before comparing
Previously if the last 2 rules in the stack had no scope
name and the position wasn't advancing then the last rule
would be popped.

This caused Java single line comments to not parse properly
since the push rules for comment blocks have no scope name.
2013-05-31 09:28:41 -07:00
Kevin Sawicki
9e7a9e6210 Remove incorrect @
anchorPosition is a parameter
2013-05-31 09:25:54 -07:00
Cheng Zhao
db85792c59 Center the window by default, instead of position of (0, 0). 2013-05-30 22:16:15 +08:00
Kevin Sawicki
5a691a1b1e Merge branch 'master' into atom-shell 2013-05-29 13:23:23 -07:00
Corey Johnson & Kevin Sawicki
c1ebf8ae1a Allow Syntaxes and Preferences directories to be lowercase 2013-05-29 11:02:57 -07:00
Cheng Zhao
b1e8a45fbe Remove some dead code. 2013-05-29 12:20:56 +08:00
Cheng Zhao
d4142db847 Restart renderer process instead of reloading.
Chromium has the bug that reloading would cause memory leaks, and V8's
GC would slow down everything, so restarting the renderer process when
the Atom is reloaded would make things much cleaner.
2013-05-29 12:20:55 +08:00
Corey Johnson & Kevin Sawicki
7bc905d352 Reuse existing windows when opening paths from command line 2013-05-28 14:45:54 -07:00
Kevin Sawicki
2bd95a2b57 Merge branch 'master' into atom-shell
Conflicts:
	.gitmodules
2013-05-28 10:47:46 -07:00
Kevin Sawicki
ea7ff135ee 💄 2013-05-28 09:42:20 -07:00
Kevin Sawicki
e84e13fe37 Load internal modules with an atom engines field as packages 2013-05-28 09:25:28 -07:00
Cheng Zhao
684778b666 Map 'meta-r' to 'window:reload' in renderer. 2013-05-25 15:37:22 +08:00
Cheng Zhao
462bd77ad5 Make atom.open work with parameters. 2013-05-25 14:38:04 +08:00
Cheng Zhao
a00fe91fca Show Atom's version. 2013-05-24 23:24:46 +08:00
Cheng Zhao
e2a18e3487 Hide window when window is going to close, not when unloading.
Otherwise reloading window would also hide and then show window, which
makes things weird.
2013-05-24 21:58:14 +08:00
Cheng Zhao
7bb6a7c1e8 Restore window dimensions after atom.windowMode is set.
It's required to set atom.windowMode before getting window state.
2013-05-24 21:52:03 +08:00
Cheng Zhao
2937404227 Make cibuild work. 2013-05-24 21:29:35 +08:00
Cheng Zhao
ce1c1e1f88 Hide window before doing unload work.
In this way we can give user the feeling of quick close even though the
unloading could take some time.
2013-05-24 20:12:42 +08:00
Cheng Zhao
fa0a35741a Make configuration window work. 2013-05-24 19:45:20 +08:00
Cheng Zhao
cf4c2b5768 Return separate windowStatePath for config window. 2013-05-24 19:33:25 +08:00
Cheng Zhao
0dd823aa38 Merge branch 'master' into atom-shell 2013-05-24 19:12:47 +08:00
Cheng Zhao
b9b8101676 Window without pathToOpen should also has meaningful windowStatePath. 2013-05-24 19:02:53 +08:00
Cheng Zhao
20b53313af dimensions could be undefined. 2013-05-24 16:34:26 +08:00
Kevin Sawicki
7daeb6c633 Allow json grammars in TextMate bundles 2013-05-23 12:11:17 -07:00
Kevin Sawicki
a267b67337 Remove unused require 2013-05-23 11:58:34 -07:00
probablycorey
61d9f957ea Change indexOf string matching calls to use regex 2013-05-23 10:31:07 -07:00
Cheng Zhao
f715a6fca2 Fix opening links in external browsers. 2013-05-23 14:50:21 +08:00
Cheng Zhao
8849eb1186 Remove a few abandonded atom.* functions relying on sendMessageToBrowserProcess. 2013-05-23 14:13:39 +08:00
Kevin Sawicki
b5c805f0e9 Listen for package events and update view on state changes 2013-05-22 15:44:44 -07:00
Kevin Sawicki
6f54250ee5 Include error in trigger arguments 2013-05-22 15:41:03 -07:00
probablycorey
7f083acdc4 Update atom specs 2013-05-22 15:31:59 -07:00
Kevin Sawicki
51cd8cc977 Add string case to unsubscribeFromActivationEvents() 2013-05-22 15:29:38 -07:00
Kevin Sawicki
571c953e51 Mark emitter class as internal 2013-05-22 15:29:38 -07:00
Kevin Sawicki
14db63df3c Support single string activationEvents 2013-05-22 15:29:38 -07:00
Kevin Sawicki
9a5fc6ebe8 Add retry button for when fetching fails 2013-05-22 15:29:38 -07:00