Commit Graph

14093 Commits

Author SHA1 Message Date
Kevin Sawicki & Nathan Sobo
d8a3848c1a Round top position before comparing to height 2013-03-12 14:40:39 -07:00
Kevin Sawicki
e461c4d94a 💄 2013-03-12 13:49:28 -07:00
Kevin Sawicki
4939b636da Add missing spec segment to fixture packages path 2013-03-12 13:48:43 -07:00
Kevin Sawicki
c61bf804a4 Add root resource path as last searched path 2013-03-12 13:41:27 -07:00
Kevin Sawicki
e601c6e256 Use fs.resolveOnLoadPath() to find ctags executable 2013-03-12 13:37:12 -07:00
Kevin Sawicki
96a949983c Use fs.resolveOnLoadPath() instead of require.resolve() 2013-03-12 13:33:25 -07:00
Kevin Sawicki
8b82c06c6f Include fixtures/packages in resource paths when running specs 2013-03-12 13:32:21 -07:00
Kevin Sawicki
eea02cb807 Remove unneeded coffee-script require
This is handled by the wrapper around task-shell
to ensure coffee-script is required before the shell
is.
2013-03-12 13:06:23 -07:00
Kevin Sawicki
6699941da0 Remove unneeded resolved task shell path 2013-03-12 13:05:51 -07:00
Kevin Sawicki & Nathan Sobo
82bfd83da1 Require task shell path in blob snippet 2013-03-12 13:05:22 -07:00
Kevin Sawicki & Nathan Sobo
5399fdb939 Don't reassign to parameter 2013-03-12 12:17:12 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1 Use node's require instead of internal require 2013-03-12 10:38:05 -07:00
Kevin R. Barnes
21cdde1188 Update relative link for key bindings 2013-03-12 09:40:05 -07:00
Kevin Sawicki & Nathan Sobo
cec037333f Add all resource paths to NODE_PATH env var 2013-03-12 08:50:09 -07:00
Kevin Sawicki
6f5138a56e Revert "Remove $native.md5ForPath()"
This reverts commit 832df7149e.
2013-03-12 08:23:54 -07:00
Cheng Zhao
a5a41cf292 Update cefode to branch 1432 revision 1135. 2013-03-12 20:55:32 +08:00
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
Nathan Sobo
35419e8d80 💄 2013-03-11 19:59:18 -06:00
Kevin Sawicki
9139df5779 Remove unused vendor assert.js 2013-03-11 17:36:48 -07:00
Nathan Sobo
214209d2da Add docs about serialization 2013-03-11 18:35:24 -06:00
Corey Johnson
84420553d3 Merge branch 'md-preview-redux' into dev 2013-03-11 17:04:43 -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
Kevin Sawicki
10fe754dfd Only install headers if directory does not exist 2013-03-11 15:59:34 -07:00
Corey Johnson & Nathan Sobo
140b22737e Refetch rendered markdown when triggering preview a subsequent time 2013-03-11 16:56:44 -06:00
Corey Johnson & Nathan Sobo
2aefd8ca46 Set overflow hidden on status bar
The octicon was causing overflow, which was making the entire view
scroll because the status bar was bigger than the height used by
flexbox.
2013-03-11 16:52:15 -06:00
Kevin Sawicki
5d8a40d240 Use d3 npm 2013-03-11 15:48:29 -07:00
Kevin Sawicki
f3990722e3 Install node-gyp with custom node distribution
This should be done before the rest of the dependencies
are installed to that the correct headers are used for
compiling native modules.
2013-03-11 15:38:15 -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
50b61f3a00 Test requiring of package main module via deferred deserializer 2013-03-11 15:20:51 -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
8247e56bef Fix objective-c compiler warning 2013-03-11 10:49:01 -07:00
Corey Johnson
8fec1e82ee Use instantiateWithOwner:topLevelObjects
Removes deprecation warnings
2013-03-11 10:26:46 -07:00
Corey Johnson
634702005d 💄 2013-03-11 10:24:00 -07:00
Corey Johnson
7c47b7f8d4 Pane styling isn't a child of the .root-view class
Panes aren't attached to a root view in spes.
2013-03-11 10:02:19 -07:00
Corey Johnson & Nathan Sobo
478a376c97 Less files work in atom themes 2013-03-11 10:02:19 -07:00
probablycorey
9acd401b9e Use fixture files to requireStylesheet 2013-03-11 10:02:19 -07:00