Kevin Sawicki
115b960ce7
Handle reading and writing in cson.coffee
...
Moves helpers from fs.coffee to cson.coffee
2013-03-11 22:40:00 -07:00
Kevin Sawicki
832df7149e
Remove $native.md5ForPath()
2013-03-11 20:58:57 -07:00
Kevin Sawicki
9330276ae9
Abort task when view is created
2013-03-11 20:57:10 -07:00
Kevin Sawicki
7c04aaf536
Only set project paths if non-empty
2013-03-11 20:57:10 -07:00
Kevin Sawicki
ec8a5b368b
Use node's crypto from fs.md5ForPath()
2013-03-11 19:20:36 -07:00
Nathan Sobo
66467b3571
Fix markdown preview height. Some styles crept back in during merge.
2013-03-11 20:17:24 -06:00
Kevin Sawicki
cc7ddc59ff
Set input encoding to utf8
2013-03-11 19:15:49 -07:00
Kevin Sawicki
2a78183a15
Use node's crypto API for pasteboard md5s
2013-03-11 19:07:08 -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
b01a4aa041
Allow markdown preview view to be scrolled with core:move-up/move-down
2013-03-11 17:34:59 -06: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
Corey Johnson & Nathan Sobo
140b22737e
Refetch rendered markdown when triggering preview a subsequent time
2013-03-11 16:56:44 -06:00
Kevin Sawicki
5d8a40d240
Use d3 npm
2013-03-11 15:48:29 -07:00
Nathan Sobo
194ac13f43
💄
2013-03-11 16:05:20 -06:00
Nathan Sobo
bf7fc39434
Rename AtomPackage.packageMain to .mainModule
2013-03-11 16:04:38 -06:00
Nathan Sobo
10d0fdf2d7
Require a deferred package early if needed when deserializing panes
...
The requiring of a package's main module is now decoupled from package
activation. Non-deferred packages will always be required before the
panes are deserialized. This allows the package to register any
deserializers for objects displayed in the panes.
Deferred packages can contain a 'deferredDeserializers' array in their
package.cson. If we attempt to deserialize an object with a deserializer
in the list, the package's main module will be required first so it has
a chance to register the deserializer. But the package still won't be
activated until an activation event occurs.
We may want to add an additional optional hook called 'load' which is
called at require time. We would not guarantee that the rootView
global would exist, but we could give the package a chance to register
deserializers etc. For now, registering deserializers is a side-effect
of requiring the package.
2013-03-11 15:08:19 -06:00
Nathan Sobo
a392174164
Un-f
2013-03-11 14:57:03 -06:00
Kevin Sawicki
2ecb2d9ba1
Remove unneeded _.clone call
...
This is no longer needed after upgrading underscore which
fixed a bug with object equality across objects created in
different contexts.
2013-03-11 13:39:54 -07: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
Corey Johnson & Nathan Sobo
478a376c97
Less files work in atom themes
2013-03-11 10:02:19 -07:00
Justin Palmer
0624ba6d3f
rename remaining static css files to less
2013-03-11 10:02:19 -07:00
Justin Palmer
392b9cfeab
command-panel.css -> command-panel.less
2013-03-11 10:02:19 -07:00
Justin Palmer
a448a79ae6
atom.css -> atom.less
2013-03-11 10:02:19 -07:00
Justin Palmer
b9604d1baa
reset.css -> reset.less
2013-03-11 10:02:18 -07:00
Justin Palmer
e1a9362448
wrap-guide.css -> wrap-guide.less
2013-03-11 10:02:18 -07:00
Justin Palmer
6fd0118d2c
tree-view.css -> tree-view.less
2013-03-11 10:02:18 -07:00
Justin Palmer
7ad67e50a6
spell-check.css -> spell-check.less
2013-03-11 10:02:18 -07:00
Justin Palmer
758c9f116f
package-generator.css -> package-generator.less
2013-03-11 10:02:18 -07:00
Justin Palmer
dcfee2d9d9
markdown preview to less. also seperate out pygments colors
2013-03-11 10:02:18 -07:00
Justin Palmer
03642a2923
editor-stats.css -> editor-stats.less
2013-03-11 10:02:18 -07:00
Justin Palmer
3821a492fc
command-logger.css -> command-logger.less
2013-03-11 10:02:18 -07:00
Justin Palmer
bd0751e17e
braket-matcher.css -> bracket-matcher.less
2013-03-11 10:02:18 -07:00
Justin Palmer
3d3947722f
autocomplete.css -> autocomplete.less
2013-03-11 10:02:18 -07:00
Justin Palmer
b33494eada
-console.log
2013-03-11 10:02:18 -07:00
Justin Palmer
b502c811cb
move less parsing to requireStylesheet
2013-03-11 10:02:18 -07:00
probablycorey
0b674978db
Require will parse .less files into css
2013-03-11 10:02:18 -07:00
Ben Burkert
6dd9d011aa
The CSON library requires the underscore-extensions library.
2013-03-11 10:58:52 -03:00
Kevin Sawicki
7c41907a7d
Check if path exists before moving
...
fs.move() no longer throws an exception if the target exists
so check for it explicitly when the dialog is confirmed.
2013-03-09 14:55:17 -08:00
Kevin Sawicki
28f89672d0
Use status helpers from git-utils module
2013-03-09 14:38:04 -08:00
Kevin Sawicki
f3049681bd
Use git-utils module
...
Removes the need to include libgit2 as this is now handled by the
git-utils module which provides functions that were previously in
git.mm and git.coffee
2013-03-09 14:34:06 -08:00
Kevin Sawicki
7bee41f1e2
Use git-utils from status handler
2013-03-09 13:59:22 -08: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
Corey Johnson & Nathan Sobo
f3910ba34e
WIP: make markdown preview view serializable
2013-03-08 11:59:49 -08:00
Corey Johnson & Nathan Sobo
06c9a3ac86
Remove empty panes when PaneContainer deserializes
2013-03-08 11:45:20 -08:00
Corey Johnson & Nathan Sobo
cf6c46ba3a
Tree view deselects entry when active item has no path
2013-03-08 11:10:13 -08:00
Nathan Sobo
22d1336aa0
Apply correct flexbox styling to .pane > .item-views > *
...
Markdown preview was overflowing because the min-height of flexbox
items is automatically set to min-content. Setting it to 0 ensures that
the item doesn't expand beyond its flex size. Moving this styling to
atom.css ensures that people don't have to work too hard to fit
their views into panes.
2013-03-08 10:56:23 -08:00
Corey Johnson
5cd3dfce8e
Add .template extension to package-generator template files
...
Acutally Closes #359
2013-03-08 09:30:20 -08:00
Kevin Sawicki
99dc796f42
Remove $native calls from require.coffee
2013-03-07 19:00:02 -08:00
Kevin Sawicki
2f8b1d5e3e
Remove $native.remove()
2013-03-07 18:36:20 -08:00