Commit Graph

415 Commits

Author SHA1 Message Date
Kevin Sawicki
769834e1a6 Add more common binary exetnsions 2013-06-05 17:00:30 -07:00
Kevin Sawicki
69f7af7c63 Ignore errors unlinking non-existent path 2013-06-05 11:54:27 -07:00
Kevin Sawicki
abbada47da Put node directory in PATH when spawning
This ensures the node used by the spawned process is the one bundled
with Atom.

This should prevent any "env: node: No such file or directory"
errors when spawning a node bin script such as nak.

Refs #514
2013-06-05 10:58:52 -07:00
Kevin Sawicki
0ed88c474a 💄 2013-06-04 13:43:19 -07:00
Kevin Sawicki
3d1ca5abb1 Add specs for partial surrogate pairs 2013-06-04 13:43:19 -07:00
Kevin Sawicki
f63866b2a2 Rename hasSurrogatePairs() to hasSurrogatePair() 2013-06-04 13:43:19 -07:00
Kevin Sawicki
06a5234d10 Doc text-utils.coffee 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
Corey Johnson & Kevin Sawicki
4db152b2d7 Killing comment that made kevin angry 2013-05-30 12:07:48 -07:00
Kevin Sawicki
a731e4a9b5 Remove semicolons 2013-05-28 13:26:34 -07:00
Cheng Zhao
61f8878e05 Merge branch 'master' into atom-shell
Conflicts:
	package.json
	script/bootstrap
	spec/app/window-spec.coffee
	src/app/window.coffee
2013-05-22 20:52:42 +08:00
Cheng Zhao
02e3f4cd9c Enable harmony collections, also revert previous WeakMap hack.
Fixed atom/atom-shell#7.
2013-05-17 16:21:01 +08:00
Kevin Sawicki
84753e55a7 Add enable/disable helpers to jquery extensions 2013-05-16 17:29:48 -07:00
probablycorey
1e0b734734 Add hacked interface for WeakMap
We need to add the `--harmony_collections` flag to atom-shell.
Related to issue https://github.com/atom/atom-shell/issues/7
2013-05-16 13:46:17 -07:00
Kevin Sawicki & Nathan Sobo
848ce7936f DRY up subscribe and subscribeToCommand
subscribeToCommand now supports unsubscribing by object.
2013-05-16 13:43:18 -07:00
Kevin Sawicki & Nathan Sobo
d76d0a030f Forward all subscribe arguments from Subscriber to EventEmitter 2013-05-16 13:36:51 -07:00
Kevin Sawicki & Nathan Sobo
3b0748fe44 Add config.pushAtKeyPath/removeAtKeyPath 2013-05-16 10:51:23 -07:00
Kevin Sawicki & Nathan Sobo
2b49a04227 Return a cloned object from config.get()
This prevents mutations to the values of the default settings.
2013-05-16 10:29:08 -07:00
Kevin Sawicki
61675c2e77 Install apm command when Atom starts
This changes the command installation to use symlinks instead
of copying over the contents of the file.
2013-05-15 10:29:27 -07:00
Kevin Sawicki
a12abd7377 💄 2013-05-14 12:01:21 -07:00
Kevin Sawicki
2f54cb4c22 Use season module internally 2013-05-14 11:58:34 -07:00
Kevin Sawicki
ef2ece3600 Treat .tgz extension as compressed 2013-05-08 10:27:26 -07:00
Kevin Sawicki
a96c354f4f Fork with harmony collections enabled 2013-05-06 18:04:01 -07:00
Kevin Sawicki
42301210c4 Log uncaught exceptions to parent process 2013-05-06 16:34:39 -07:00
Kevin Sawicki
334c4095bb Write empty object values on same line as keys 2013-04-30 22:43:51 -07:00
Kevin Sawicki
5a84814e27 Undasherize the namespace when no event exists
This would present the new-window event as "New Window"
instead of "New-window".
2013-04-29 10:49:31 -07:00
Corey Johnson & Nathan Sobo
1b98bf706e Setting value to null/undefined removes key from config 2013-04-26 15:36:58 -07:00
Nathan Sobo
d857cc7d77 List available themes in general config panel 2013-04-26 15:36:11 -07:00
Kevin Sawicki
b65e1485a7 Copy folders to ~/.atom directory asynchronously 2013-04-24 10:12:30 -07:00
Kevin Sawicki
2f5a99fac2 Install atom command asynchronously 2013-04-24 10:12:29 -07:00
Corey Johnson & Nathan Sobo
9f235103f8 Add _.spliceWithArray to avoid stack overflows when splicing huge arrays 2013-04-23 11:16:55 -07:00
Nathan Sobo
608ffd27ad Slightly more correct 2013-04-22 11:34:03 -06:00
Nathan Sobo
444325893b Allow subscribers to unsubscribe on a per-object basis
This makes use of the new ES6 WeakMap feature, which allows for a hash
map that's keyed by object.
2013-04-22 11:34:03 -06:00
Kevin Sawicki
1aa0e52cea 💄 2013-04-16 17:52:00 -07:00
Nathan Sobo
ae77011385 Unsubscribe correctly in subscribeToCommand 2013-04-08 17:46:29 -06:00
Nathan Sobo
2601f266fa Add subscribeToCommand to track command subscriptions on other views 2013-04-08 17:09:12 -06:00
Cheng Zhao
e0865e8c38 Use node-pathwatcher. 2013-04-07 16:35:35 +08:00
Kevin Sawicki
b9fcfda904 Only match brackets if underlayer is visible 2013-04-05 15:05:43 -07:00
Kevin Sawicki
ede5e88a19 Merge origin/master into nak-powered-search
Conflicts:
	src/packages/command-panel/lib/preview-list.coffee
	src/packages/fuzzy-finder/lib/load-paths-task.coffee
2013-04-03 11:43:35 -07:00
Nathan Sobo
f03b6207de Make all requires of 'fs-utils' assign to fsUtils var instead of fs 2013-04-03 12:01:37 -06:00
Garen Torikian
f48355ce10 Merge branch 'nak-nostream' into nak-powered-search 2013-03-31 00:45:14 -07:00
Kevin Sawicki
8e9a7355bc Return an empty array when the fs-utils.list() path isn't a directory
This makes the common case of iterating over an array of paths and
listing them cleaner since the return value doesn't need to be checked
before it is iterated over.
2013-03-29 13:44:03 -04:00
Kevin Sawicki
5f9c643ae9 Kill process when task is aborted 2013-03-28 22:52:01 -04:00
Cheng Zhao
7effc4c456 💄 2013-03-27 12:25:55 +08:00
Cheng Zhao
b5be1c378a Replace Task's implementation with ProcessTask. 2013-03-27 12:25:54 +08:00
Cheng Zhao
0d7f642675 Add ProcessTask. 2013-03-27 12:25:54 +08:00
Kevin Sawicki
fab5842651 Support requiring stylesheets without an extension
Stylesheets will attempt to be resolved with both css
and less extensions if no extension is included in the
path specified to requireStylesheet().
2013-03-26 00:11:11 -04:00
Kevin Sawicki
3514ee5659 Remove unused event.coffee 2013-03-25 18:06:54 -04:00
Nathan Sobo
ab934cfbfb Replace LoadTextMatePackagesTask with async grammar loading 2013-03-22 15:29:07 -06:00
Nathan Sobo
d3ead2a0d1 Update fs.list to use readdirSync and filterExtensions helper 2013-03-22 15:29:07 -06:00