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
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
a4f35a8452
Remove OnigRegExp spec now included in package
2013-05-29 13:46:00 -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
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
2f54cb4c22
Use season module internally
2013-05-14 11:58:34 -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
c923b561e2
💄
2013-04-26 15:36:57 -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
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
Nathan Sobo
f03b6207de
Make all requires of 'fs-utils' assign to fsUtils var instead of fs
2013-04-03 12:01:37 -06:00
probablycorey
ecb159738f
Rename singleTrailingNewline to ensureSingleTrailingNewline
2013-04-01 10:44:34 -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
Cheng Zhao
b5be1c378a
Replace Task's implementation with ProcessTask.
2013-03-27 12:25:54 +08:00
Cheng Zhao
142824ec01
Add test for ProcessTask.
2013-03-27 12:25:54 +08:00
Nathan Sobo
d3ead2a0d1
Update fs.list to use readdirSync and filterExtensions helper
2013-03-22 15:29:07 -06:00
Nathan Sobo
a5dcd71548
Add fs.listAsync
2013-03-22 15:29:07 -06:00
Kevin Sawicki & Nathan Sobo
501dc9b76c
Merge remote-tracking branch 'origin/master' into cefode
...
Conflicts:
native/v8_extensions/native.mm
spec/app/config-spec.coffee
spec/app/window-spec.coffee
spec/spec-helper.coffee
spec/stdlib/fs-utils-spec.coffee
src/app/atom-package.coffee
src/app/config.coffee
src/app/window.coffee
src/packages/fuzzy-finder/lib/load-paths-handler.coffee
src/packages/markdown-preview/lib/markdown-preview-view.coffee
src/packages/tree-view/spec/tree-view-spec.coffee
src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Nathan Sobo
a1882ffd1f
Move "GitHub" special-case to _.capitalize. Add specs.
2013-03-14 11:35:06 -06:00
Nathan Sobo
634117ed66
Make $.fn.document always take event name / doc string args
...
It's simpler and we don't use the other syntax right now.
2013-03-14 11:34:28 -06:00
Nathan Sobo
25839c5cf5
Add spec coverage for $.fn.command
2013-03-14 11:25:33 -06:00
Kevin Sawicki
8dbcb44d06
Rename traverseTree to traverseTreeSync
...
Also rename traverseTreeAsync to traverseTree
2013-03-13 14:40:31 -07:00
Kevin Sawicki & Nathan Sobo
051decc08c
Use fs.resolveOnLoadPath() instead of require.resolve()
2013-03-12 14:42:24 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1
Use node's require instead of internal require
2013-03-12 10:38:05 -07:00
Corey Johnson
06b63c24dc
Merge remote-tracking branch 'origin/dev' into md-preview-redux
...
Conflicts:
src/packages/markdown-preview/stylesheets/markdown-preview.css
static/atom.css
static/command-panel.css
2013-03-11 17:02:36 -07:00
Corey Johnson & Nathan Sobo
7e03880bd0
Add $.fn.scrollUp and .scrollDown
...
These scroll the element by a small amount up or down.
2013-03-11 17:32:11 -06:00
Kevin Sawicki
03b32ec29c
Use coffee-script node module
...
This required upgrading underscore which to fix issues
with _.isEqual working across objects created from different
documents.
The upgrade required adding a custom _.isEqual extension that
added back support for object's having an isEqual method that
was removed in underscore 1.4.0.
2013-03-11 13:39:17 -07:00
Kevin Sawicki
2212222c47
Use underscore node module
2013-03-11 11:22:36 -07:00
Justin Palmer
050c376e87
remove old less require spec
2013-03-11 10:02:19 -07:00
probablycorey
0b674978db
Require will parse .less files into css
2013-03-11 10:02:18 -07:00
Kevin Sawicki
8cf32149b7
Return absolute paths from $native.traverseTree()
...
Previously relative paths were generated even though
things like fs.list() and fs.listTree() would just
recombine them with the root path.
Closes #391
2013-03-08 13:44:28 -08:00
Kevin Sawicki
e7050b2083
Remove unused $native.lastModified()
2013-03-07 18:00:35 -08:00
Kevin Sawicki
ce8867fac9
Remove unused ChildProcess class
2013-03-07 17:40:24 -08:00
Kevin Sawicki
d34796a78b
Use oniguruma node module
...
This removes all internal native oniguruma
sources and starts using the node module
directly to create onig scanners and regexes.
2013-03-07 10:45:22 -08:00
Kevin Sawicki
1c09a1352b
Return {} when object is empty
2013-03-05 08:46:17 -08:00
Kevin Sawicki
5ddea28d80
Wrap objects inside arrays in {}
2013-03-05 08:42:24 -08:00
probablycorey
b7976cac68
Use the /Applications directory to test cwd on Child Processes
2013-03-01 13:54:19 -08:00
Kevin Sawicki
745a3ef9f2
Use class methods to create native object shims
...
CoffeeScript 1.5 complains if a constructor has
a returns a value.
2013-02-27 13:25:10 -08:00
Corey Johnson & Kevin Sawicki
f8563a1509
💄
2013-02-26 09:04:02 -08:00
Corey Johnson
52d4723711
Add underscore, camelize and dasherize to underscore
2013-02-13 10:42:22 -08:00
Kevin Sawicki
e952a68c96
Support setting working directory of child process
2013-02-11 14:53:53 -08:00
Kevin Sawicki
cd07ec841d
Add more window globals and shims in task shell
...
This allows jQuery to be successfully loaded from a web worker
since it does not have a document or window object by default.
Previously it would log about missing methods and properties.
Closes #228
2013-02-04 11:43:58 -08:00
Kevin Sawicki
84feaf369d
Format undefined array values as null
2013-02-04 09:08:00 -08:00
Kevin Sawicki
f65e83fe2a
Add spec for converting CSON back to object
2013-02-04 09:08:00 -08:00
Kevin Sawicki
ffc65b3735
Add more CSON specs
2013-02-04 09:08:00 -08:00
Kevin Sawicki
69097bee50
Kill trailing newline and inline empty arrays
2013-02-01 16:20:25 -08:00
Kevin Sawicki
83b6a93684
Add initial CSON pretty printer
2013-02-01 16:15:54 -08:00
Kevin Sawicki
379a4a4d8d
Only auto-load .cson and .json keymap files
...
This now prevents files such as .DS_Store from being loaded as a
keymap where previously all paths were loaded regardless of extension.
Closes #205
2013-01-31 12:03:21 -08:00