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
Corey Johnson & Nathan Sobo
d4b5c8beac
Don't make OnigScanner and OnigRegExp be window globals
2013-01-24 17:22:49 -08:00
Kevin Sawicki & Nathan Sobo
3af97c4e38
Add Event.currentTargetView() and Event.targetView()
2013-01-10 11:41:07 -08:00
Kevin Sawicki
fee1e7bc8b
Escape ext in RegExp from fs.base
2013-01-08 13:31:37 -08:00
Kevin Sawicki
594813be34
Escape path in RegExp from fs.directory()
2013-01-08 13:30:41 -08:00
Nathan Sobo
bbd2e384c5
Merge branch 'master' into config
2012-12-23 12:52:02 -07:00
Kevin Sawicki
905002cd58
Highlight foreground of selected line numbers
...
Previously no gutter highlight was displayed unless
the selection was empty.
Now there is a separate CSS class for no selection
that changes the background color independently
from the foreground color.
2012-12-22 22:06:46 -08:00
Corey Johnson
cd3f481fa8
Remove unneeded console.log
2012-12-20 16:18:56 -08:00
Nathan Sobo
7768944f2c
💄
2012-12-19 17:32:04 -07:00
Nathan Sobo
8d63805072
Pull out ConfigObserver & Subscriber mixins; Add unobserveConfig
2012-12-19 17:32:04 -07:00
Corey Johnson & Nathan Sobo
1bd0cc4152
ChildProcess can handle commands that return large amounts of data.
...
When a command returned a large amount of data, it was blocking on the stderr callback when `[fileHandle availableData]` was called. From what I can tell, this is because stderr was being called with a zero-length string.
This was fixed when `[fileHandle availableData]` was moved to run inside the NSTask thread (instead of on the main thread). It now returns a zero-length string rather than blocking forever.
An unresolved question is why stderr is being called with zero-length strings.
2012-12-19 11:47:50 -08:00
Nathan Sobo
acc0503684
Merge remote-tracking branch 'origin/master' into config
...
Conflicts:
src/app/keymap.coffee
src/extensions/outline-view/src/keymap.coffee
src/extensions/outline-view/src/tag-reader.coffee
src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:32:05 -07:00
Nathan Sobo
a7d1a29748
Use config.get/set methods. config.update now takes no args.
2012-12-17 18:52:20 -07:00
Corey Johnson & Nathan Sobo
8a675fd538
Use config.update w/ a key path everywhere we update the config
2012-12-14 15:21:36 -08:00
Corey Johnson & Nathan Sobo
b822cd7779
View#subscribe subscribes to an event emitter
2012-12-14 14:40:51 -08:00
Corey Johnson & Nathan Sobo
528fae9466
Cleanup all subscriptions when a view is removed from the DOM
2012-12-14 14:29:20 -08:00
Kevin Sawicki & Nathan Sobo
b91c353d2b
Add View#observeConfig as a space-pen extension
2012-12-14 14:08:57 -08:00
Corey Johnson
02c441e937
If $native.read fails to open a file as UTF8, it opens it as ascii
...
This is a temporary solution to allow Atom to open binary files. The ultimate goal would be to have a hex-editor built into atom.
2012-11-29 10:34:22 -08:00
Nathan Sobo
031da13316
Remove unused methods from native OnigRegExp
...
`OnigScanner` takes over these duties
2012-10-25 12:23:37 -06:00