6397 Commits

Author SHA1 Message Date
probablycorey
9c6978e913 Operation creates a marker immediately when given a buffer v0.1.0 2013-03-19 14:32:25 -07:00
probablycorey
35ab49eff0 SelectAllMatchesInProject Operations create buffers on demand 2013-03-19 11:30:49 -07:00
Corey
1f23fa8cfc 💄 2013-03-19 11:30:49 -07:00
Corey Johnson
4702f3775d Calling collapseAllPaths creates elements for every Dom node 2013-03-19 11:30:48 -07:00
Corey Johnson & Nathan Sobo
10f405f61f Create preview list Dom elements only when needed 2013-03-19 11:30:48 -07:00
Corey Johnson
6b3d527dda Add one operations at a time to PathViews 2013-03-19 11:30:48 -07:00
Corey Johnson
014d5e7bb3 Remove setLineNumberWidth 2013-03-19 11:30:48 -07:00
Corey Johnson
7798f04cc4 Index variable from operations is not longer used 2013-03-19 11:30:48 -07:00
Corey Johnson
919cee3e4a Allow operations to be added to a PathView 2013-03-19 11:30:48 -07:00
Nathan Sobo
44f53e5ed0 Merge remote-tracking branch 'origin/dev' 2013-03-14 19:08:06 -06:00
John Barnette
09259a579d Let's not accidentally publish this ❤️ 2013-03-14 18:06:55 -07: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
John Barnette
eb5d0fe3f5 Actually make doc: work 2013-03-13 21:30:00 -07:00
John Barnette
460577d9ae Spike optional doc: key for command
This isn't working yet.
2013-03-13 19:40:35 -07:00
Kevin Sawicki
2b35eaa414 Update python bundle to 70dd4be
Adds .gypi to file types
2013-03-13 08:42:23 -07:00
Corey Johnson
3ec74f3211 Move toExistOnDisk matcher to spec helper 2013-03-12 16:55:28 -07:00
Corey Johnson
c236325c1a Log errors (instead of crashing) when the config file cannot be parsed
Also, config won't overwrite changes to config.cson when the file can not be parsed. Closes #401
2013-03-12 16:47:26 -07:00
Corey Johnson
f7f034ad2a Remove core:close event from window 2013-03-12 15:55:30 -07:00
Corey Johnson
4755233f92 💄 2013-03-12 15:55:30 -07:00
Corey Johnson
d916962a80 Defer window close events until all modified pane items are handled
If the user presses cancel, the close event is canceled
2013-03-12 15:55:30 -07:00
Corey Johnson
44d4dc7e60 Use URI in prompt message if pane item doesn't have a title 2013-03-12 15:55:30 -07:00
Corey Johnson
9860f32d4c Add cancel callback to promptToSaveItem 2013-03-12 15:55:30 -07:00
Kevin R. Barnes
21cdde1188 Update relative link for key bindings 2013-03-12 09:40:05 -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
Nathan Sobo
66467b3571 Fix markdown preview height. Some styles crept back in during merge. 2013-03-11 20:17:24 -06:00
Nathan Sobo
35419e8d80 💄 2013-03-11 19:59:18 -06: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
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
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
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
Justin Palmer
050c376e87 remove old less require spec 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