Kevin Sawicki
78dc676f0f
Exclude .less/.cson/.coffee files at root of src
...
Previously the rsync exclude rules required files to be two-levels
deep to be excluded which would keep the window-bootstrap.coffee in
the bundle since it was at the root of the src folder.
Now if cson, less, or coffee files end up in src/ they will be
correctly excluded from the bundle when synced.
v0.2.0
2013-04-11 12:36:40 -07:00
Nathan Sobo
7967dada4b
Make script/bootstrap exit on subprocess errors
2013-04-11 13:07:16 -06:00
Nathan Sobo
b1e79b4634
Run rake clean on prebuild to clear out node_modules
2013-04-11 12:53:32 -06:00
Kevin Sawicki
4e59605728
Don't bubble move-to-top/bottom events
...
This will cause the editor to scroll as well when a select
list is a child of an editor such as in the autocomplete view.
2013-04-11 10:39:19 -07:00
Kevin Sawicki
461aaa83b0
Unsubscribe correctly from buffers in packages
...
Previously namespaces were used to off() when a buffer was
unsubscribed from which affected other views in the same
package also listening to the current buffer.
Now event namespaces are no longer used and instead off() is
called with the callbacks originally registered for the given
event name.
2013-04-11 08:53:01 -07:00
Kevin Sawicki
2e6735ecd0
Extend Subscriber from GitDiffView
2013-04-10 22:23:29 -07:00
Kevin Sawicki
26a4ff9121
DRY up how diffs are generated and rendered
2013-04-10 22:20:21 -07:00
Kevin Sawicki
89b0d7efdb
💄
2013-04-10 22:17:14 -07:00
Kevin Sawicki
99e573006e
Upgrade to pathwatcher 0.3
2013-04-10 21:54:54 -07:00
Kevin Sawicki
1ae878c000
Fire will-be-removed event from beforeRemove()
2013-04-10 17:43:26 -07:00
Chris Wanstrath
6c4294dda9
fix typo
2013-04-10 16:59:12 -07:00
Kevin Sawicki
9597d4ea52
Upgrade to pathwatcher 0.1.5
...
This version is the last known good one pre-0.2
2013-04-10 15:17:12 -07:00
Kevin Sawicki
57d9a7b22e
Downgrade to pathwatcher 0.1
...
Closes #491
2013-04-10 15:11:06 -07:00
Nathan Sobo
93cddcf8dc
Make CODE_SIGN gyp var lowercase and 💄 it in Rakefile
2013-04-10 15:57:17 -06:00
Nathan Sobo
2cb18f5855
Allow gyp version var to be set from CLI, but default it to git HEAD.
2013-04-10 15:57:17 -06:00
Nathan Sobo
d56946fa6e
Export VERSION to rake task in prebuild script
2013-04-10 15:57:17 -06:00
Kevin Sawicki
8182bd59f9
Upgrade to pathwatcher 0.2
...
This appears to work now after doing a clean and reinstall
of all modules.
2013-04-10 12:56:12 -07:00
Kevin Sawicki
a64b81090d
Only remove styles if line diffs exist
2013-04-10 12:41:35 -07:00
Kevin Sawicki
5bbc70e6de
Back out pathwatcher upgrade
...
The v0.2.0 version does not appear to load within atom.
2013-04-10 12:40:36 -07:00
Kevin Sawicki
f868c0cd4f
Add line diff decorations to editor gutter
...
Added, modified, and deleted lines will now highlighted
in the gutter for files already checked in to the repository.
2013-04-10 12:17:01 -07:00
Kevin Sawicki
b74f2a3e9e
Upgrade to git-utils 0.13
2013-04-10 12:17:01 -07:00
Cheng Zhao
badcc6c2bf
Update node-pathwatcher to 0.2.0, node-spellchecker to 0.3.0.
2013-04-10 13:22:06 +08:00
Kevin Sawicki
53c3fa8ac8
Bind meta-< to scroll to cursor location
2013-04-09 14:33:36 -07:00
Kevin Sawicki
8bfc3e473e
💄
2013-04-09 13:56:53 -07:00
Kevin Sawicki
27c5506d83
Set a -1 tabindex on on the tab bar
...
This prevents it from gaining focus when a close icon is clicked.
2013-04-09 13:56:28 -07:00
Kevin Sawicki
efb4bdd028
Remove duplicate RootView.eachPane(callback)
2013-04-09 13:36:52 -07:00
Kevin Sawicki
c9e1f89b60
Upgrade to git-utils 0.12
2013-04-09 12:04:31 -07:00
Kevin Sawicki
fe1b4c71a3
Use ? instead of or
2013-04-09 10:47:19 -07:00
Kevin Sawicki
cc3558067d
Merge pull request #480 from github/vim-core-changes
...
Vim core changes
2013-04-09 10:43:01 -07:00
Mutwin Kraus
cfe03c108a
Revert changes in src/app/text-buffer.coffee and src/app/pane.coffee
2013-04-09 18:53:56 +02:00
Mutwin Kraus
c91de1e515
Merge remote-tracking branch 'origin/master' into vim-core-changes
...
Conflicts:
src/app/pane.coffee
2013-04-09 18:52:36 +02:00
Kevin Sawicki
b2cb527f03
Look in all panes for existing preview to show
...
Previously only the next pane was checked for an existing
preview which would fail to locate any existing previews
that were moved to different panes or were no longer in the
next pane for the edit session.
2013-04-09 08:47:38 -07:00
Cheng Zhao
f1c9d09fd9
Merge pull request #484 from github/external-drag
...
Drag-drop with external applications
2013-04-09 00:45:09 -07:00
Cheng Zhao
a5b8478060
Allow dragging of tab when there is only one tab.
...
The tabs should be able to be draggale out of the application at any
time, and if there is only one tab it should not be able to be dropped
in the same window.
2013-04-09 15:37:30 +08:00
Cheng Zhao
3c4966f6a3
Open the file dragged to window.
2013-04-09 15:37:30 +08:00
Cheng Zhao
fdcbf611aa
The drop marker should disappear when drag is done.
...
Previously we make drop marker disappear when drop is done, it would
case the marker to live forever if the drop is not done in Atom.
2013-04-09 15:37:30 +08:00
Cheng Zhao
a630f05ae4
The dragged tab should carry information of file.
2013-04-09 15:37:30 +08:00
Kevin Sawicki
9173711b58
Look for markdown preview in all panes to update
...
Previously only the next pane was checked to see if a preview
exists to update. This would fail to update the preview if
it was moved moved from its original pane to a different pane.
Now the view tracks the buffer and updates on 'saved' events and
shows the preview if it is not in the active pane.
2013-04-08 18:26:55 -07:00
Kevin Sawicki
09b7fe72eb
Detach instead of remove when moved item is the view
...
Moving an item that extended the jQuery object between panes
was previously wiping out all jQuery data since remove() was being
called on the view item instead of detach().
2013-04-08 18:22:58 -07:00
Kevin Sawicki
758ff58d2d
💄
2013-04-08 17:04:53 -07:00
Kevin Sawicki
d1c9d0ea68
Focus pane after reopening it
...
Previously the reopened item would not have focus if it was
reopened into a newly appended pane.
2013-04-08 16:54:05 -07:00
Nathan Sobo
ae77011385
Unsubscribe correctly in subscribeToCommand
2013-04-08 17:46:29 -06:00
Kevin Sawicki
2f67312a80
Don't prompt to save if buffer is opened elsewhere
...
This corrects a regression where closing an edit session that
is opened somewhere else should not prompt to save since it
won't be lost if closed immediately since it is still open in
another pane.
2013-04-08 16:30:35 -07:00
Nathan Sobo
78cb747a39
No need to .off events explicitly now
2013-04-08 17:25:13 -06:00
Nathan Sobo
2601f266fa
Add subscribeToCommand to track command subscriptions on other views
2013-04-08 17:09:12 -06:00
Kevin Sawicki
7c9119c793
Add ImageEditSession.canOpen(path)
...
This returns whether the path specified is an image that can
be loaded internally by the image view.
2013-04-08 15:46:24 -07:00
Kevin Sawicki
9949f044cc
Call super from ImageView.initialize()
...
This allows the ScrollView superclass to set up bindings
for scrolling events.
2013-04-08 15:36:43 -07:00
Kevin Sawicki
d42db869cd
Keep image centered after window resizes
2013-04-08 15:36:43 -07:00
Kevin Sawicki
7a709b05f3
Support zooming images in/out and resetting
2013-04-08 15:36:43 -07:00
Kevin Sawicki
6ce3f87448
Add initial image viewer
...
An image session will be opened by project.buildEditSession()
for known image extensions.
Closes #203
2013-04-08 15:36:35 -07:00