Corey Johnson & Nathan Sobo
b96bd29ef5
Move extensions with more than one file into folders
2012-07-03 11:22:08 -07:00
Corey Johnson & Nathan Sobo
ec510c5372
Remove commented out lines
2012-07-03 10:23:24 -07:00
Nathan Sobo
bdfdf08ea0
Adjust Editor.scrollTop when removing a line reduces the scroll height
...
This eliminates rendering artifacts and jerky scrolling at the bottom of the screen
2012-07-03 11:12:54 -06:00
Nathan Sobo
3ee7c0dc0f
"Scroll" gutter by relatively positioning its line numbers
...
This matches how we scroll lines, and eliminates opportunities for the gutter to get out of sync with the lines. If that happened, it would probably be a bug, but this at least eliminates one source of confusion when debugging.
2012-07-03 11:09:34 -06:00
Nathan Sobo
e21d0a5d2a
Rename RootView.modifiedBuffers -> getModifiedBuffers
2012-07-02 19:49:05 -06:00
Nathan Sobo
9cae4d3d8f
Rename RootView.editors -> getEditors
2012-07-02 19:47:38 -06:00
Nathan Sobo
bd5c1f8694
Rename RootView.activeEditor -> getActiveEditor
2012-07-02 19:46:33 -06:00
Nathan Sobo
a38042f89f
Rename Editor.removeActiveEditSession -> destroyActiveEditSession
2012-07-02 19:44:24 -06:00
Nathan Sobo
0433d3c3d9
Never send blur events to specs window
...
This makes sure that specs that rely on focus behavior don't end up failing because our focus is on an entirely different window.
2012-07-02 19:41:12 -06:00
Nathan Sobo
8fbbd77a23
Commands terminating in a substitution restore their initial selection
2012-07-02 19:35:14 -06:00
Nathan Sobo
81530761ba
Merge branch 'master' of github.com:github/atom
2012-07-02 19:22:24 -06:00
Nathan Sobo
f92faffb5b
Use html5 storage to cache coffee script compilation by file md5
2012-07-02 19:21:46 -06:00
Nathan Sobo
06cdcaa820
Use fs.md5ForPath in spec-helpert o ensure sample.js isn't modified
2012-07-02 19:21:24 -06:00
Corey Johnson & Nathan Sobo
b59bd4bc7b
Saving a buffer does not trigger a "contents-change" event
2012-07-02 17:48:30 -07:00
Corey Johnson & Nathan Sobo
ef7121dfb3
File does not trigger 'contents-change' when its md5 does not change
2012-07-02 17:47:54 -07:00
Corey Johnson & Nathan Sobo
6ebe75c0bd
Add fs.md5ForPath
2012-07-02 18:19:16 -06:00
Corey Johnson & Nathan Sobo
25d2d3be12
Merge branch 'master' of github.com:github/atom
2012-07-02 18:14:52 -06:00
Corey Johnson & Nathan Sobo
4a3bf1ddea
Patch CEF to use a previous version of keydown code.
...
Patched chromium archive file (https://chromiumcodereview.appspot.com/9638015/patch/2001/2002 )
Reverted keydown method from CEF commit "- Mac: Add IME support (issue #557 )."
2012-07-02 17:10:48 -07:00
Nathan Sobo
8c740b09e6
Add fs.lastModified
2012-07-02 17:44:12 -06:00
Corey Johnson
b673d40fd5
Remove focus from CEF when AtomController resigns as main window. Add focus when it becomes the main window.
2012-07-02 13:14:46 -06:00
Nathan Sobo
7387ad13f6
Merge branch 'master' of https://github.com/github/atom
2012-07-02 13:13:51 -06:00
Nathan Sobo
6b3180e144
Ensure path is present before building a Buffer with it in spec
2012-07-02 13:13:25 -06:00
Nathan Sobo
8468e89db8
Upgrade to cef_binary_1.1025.723_macosx
2012-07-02 13:11:16 -06:00
Corey Johnson
10bfc56624
When a Buffer is created, the initial call to setText is not treated as an undoable change.
2012-07-02 11:39:22 -07:00
Corey Johnson
ae34611d2a
Changes to buffer (via external process) do set buffer as modified.
2012-07-02 09:13:05 -07:00
Corey Johnson
66ad7647d9
set new default window postion
2012-07-02 08:44:51 -07:00
Corey Johnson
f8b5aa7f6e
💩
2012-06-29 15:53:55 -07:00
Corey Johnson
91c361e478
Fix benchmark suit
2012-06-29 15:51:11 -07:00
Corey Johnson
801a91ec9b
Specs cleanup buffers
2012-06-29 15:38:12 -07:00
Corey Johnson
98393a653e
Destroy editSession by calling a method on the project instead of triggering a destroy event that the project listens to.
2012-06-29 15:09:31 -07:00
Corey Johnson
2ff1cc9baf
Never again will changes to 'sample.js' bite us in the ass
2012-06-29 15:09:31 -07:00
Corey Johnson
c3d7d3566f
Buffer listens for changes to file and triggers 'contents-change' event
2012-06-29 15:09:31 -07:00
Corey Johnson
9907751fd9
Throw JS exception when calling $native.watchPath with nonexistent path.
2012-06-29 15:09:01 -07:00
Corey Johnson
e295d19d51
Editor.prototype.removeActiveEditSession calls destroy on the removed edit session
2012-06-29 15:09:01 -07:00
Corey Johnson
3dd9253bc5
When Buffer's path changes, stop listening for events on former path
2012-06-29 15:09:01 -07:00
Corey Johnson
8e7a8836cd
Unmodified buffer updates contents when file changes outside of atom.
2012-06-29 15:09:01 -07:00
Corey Johnson
6182cf4736
un-f and un-console
2012-06-29 15:09:01 -07:00
Corey Johnson
e24c9932a4
Files trigger contents-change event
2012-06-29 15:09:01 -07:00
Corey Johnson
ff92e11789
PathWatcher handles atomic writes
2012-06-29 15:09:00 -07:00
Corey Johnson
074e2b9b85
A new PathWatcher is created for each v8 context. When the associated v8 context is released, the PathWatcher stops watching all its files and deallocs .
2012-06-29 15:09:00 -07:00
Nathan Sobo
4aed73d947
Selections don't absorb click events
...
Clicking on a selection was causing the click event not to reach the editor, which was causing the editor to lose focus. Using CSS to disallow pointer events on selection region elements fixes this.
2012-06-29 13:34:01 -06:00
Nathan Sobo
99db024dbb
Kill anchor subscriptions on destroy
2012-06-29 11:55:27 -06:00
Nathan Sobo
3524490946
Ensure selection emits event if a buffer change moves its anchor
2012-06-29 11:55:16 -06:00
Nathan Sobo
25433ace26
Return false from FileFinder click handler to prevent loss of focus
2012-06-29 11:03:33 -06:00
Nathan Sobo
f9db74a2bd
Add spec for clicking paths in file finder
2012-06-29 11:03:08 -06:00
Nathan Sobo
8a349707eb
Remove redundant method
2012-06-29 11:02:36 -06:00
Nathan Sobo
5ea1e6f05c
Merge remote-tracking branch 'origin/select-from-file-finder'
...
Conflicts:
src/extensions/fuzzy-finder.coffee
static/fuzzy-finder.css
2012-06-29 10:40:34 -06:00
Nathan Sobo
05d5576b94
Merge branch 'buffer-finder'
2012-06-29 10:12:38 -06:00
Nathan Sobo
6c60993f5c
Fuzzy buffer finder switches to the editor that has the selected buffer if it isn't open on the current active editor
2012-06-29 09:59:37 -06:00
Nathan Sobo
22515e7ba0
RootView.open takes an 'allowActiveEditorChange' option
...
When the 'allowActiveEditorChange' option is true, RootView will try to activate an existing edit session for the given path on *any* editor, and switch focus there. This will be used by the fuzzy-finder for the meta-b option, which should open the chosen buffer on the editor that contains it, even if it isn't currently active.
2012-06-29 09:48:16 -06:00