Commit Graph

7018 Commits

Author SHA1 Message Date
Kevin Sawicki
9843147c3d Ignore tag files in any directory 2013-04-05 08:52:17 -07:00
Kevin Sawicki
30fb637f86 Add spec for excluding ignored files from Project.scan() 2013-04-05 08:45:00 -07:00
Kevin Sawicki
6e4d9508aa Close browser instead of sending shutdown message
CEF now supports calling the beforeunload handler when closed
so we no longer need to send a shutdown message on the native
side.
2013-04-05 08:34:04 -07:00
Cheng Zhao
1fcc0adf6c Update cefode2 to cefode3. 2013-04-05 23:00:58 +08:00
Cheng Zhao
33de90a0b6 dataTransfer.setData only accepts string. 2013-04-05 10:30:18 +08:00
Kevin Sawicki
84107317bb Support opening non-existent files from the CLI
This required changing text-buffer to support having a
path but not underlying file that exists yet.

Now calling RootView.open() with a non-existed path will
open a dirty empty editor to the path and the file will be
created on first save.
2013-04-04 17:08:05 -07:00
Kevin Sawicki
931ae677c1 💄 2013-04-04 16:37:52 -07:00
Kevin Sawicki
8745ef8723 💄 2013-04-04 16:29:15 -07:00
Kevin Sawicki
062d07ada0 💄 2013-04-04 15:52:53 -07:00
Kevin Sawicki
6166f8e681 Remove unused require 2013-04-04 13:40:48 -07:00
Kevin Sawicki
bb2ab15753 Open files specified via CLI in existing window
Activate the window and open an editor when a path is specified
that is already present in an existing window's project.

Closes #357
2013-04-04 13:40:48 -07:00
probablycorey
a048d2994e Use [ -t 1 ] to check if we should output progress bar. 2013-04-04 12:22:37 -07:00
Mutwin Kraus
3a3336aaaa Merge remote-tracking branch 'origin/master' into vim-core-changes 2013-04-04 20:19:00 +02:00
Kevin Sawicki
e442dfff11 Support joining editor lines with ctrl-J
This can be used with or without a selection to join one
or more lines with the line below it separated by a space.

Refs #134
2013-04-04 11:07:59 -07:00
probablycorey
44d78ed30d move files int tools/mac to scripts dir 2013-04-04 10:04:45 -07:00
probablycorey
725e0d778a Remove notes directory 2013-04-04 10:04:44 -07:00
Kevin Sawicki
bd40133277 Remove note that is now issue #479 2013-04-04 09:57:27 -07:00
Kevin Sawicki
9773751e79 Delete left when meta-backspacing at start of line
Previously EditSession.backspaceToBeginningOfLine() would do nothing
if at the beginning of the line.

Now it selects left and does a delete so it can be used to delete
multiple lines continuously without having to move the cursor.

Refs #134
2013-04-04 09:25:35 -07:00
Kevin Sawicki
4683285e0d Move opacity to line numbers instead of gutter
Having the opacity previously on the .gutter class was making
the gutter background color for the current line be different
than the editor background color.
2013-04-04 08:57:47 -07:00
Kevin Sawicki
1730444db8 Use released version of nak 2013-04-04 08:39:09 -07:00
Cheng Zhao
20083b97c6 Update node to v0.10.3 2013-04-04 21:18:21 +08:00
Mutwin Kraus
26bcf7718b Revert "Selection support for bracket matcher"
This reverts commit 460c4a0b09.
2013-04-04 15:03:35 +02:00
Mutwin Kraus
42119ecb29 Merge remote-tracking branch 'origin/master' into vim-core-changes
Conflicts:
	src/app/text-buffer.coffee
2013-04-04 14:23:58 +02:00
Cheng Zhao
f37265978e Only respond to drag-drop of tabs in tab bar. 2013-04-04 16:23:46 +08:00
Cheng Zhao
f455379a17 No drag-drop by default. 2013-04-04 15:31:06 +08:00
Kevin Sawicki
bac2209449 Remove unneeded syntax.off() call
syntax.on() is no longer called anywhere in the package.
2013-04-03 17:51:24 -07:00
Corey Johnson & Nathan Sobo
2f4bbd90a6 Don't emit grammars-loaded event 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
5c9dd50e39 Start spell-checking immediately
When the grammar changes, spell check will detect this and toggle
itself accordingly. Before a grammar matches a buffer, it has the
NullGrammar, which won't be spell-checked.
2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
2973a81293 Don't assign text grammar by default. Just use the null grammar. 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
144984c726 Make LanguageMode unsubscribe from syntax global when destroyed 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
1b56cfb270 LanguageMode switches to a better-matching grammar when it is added 2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
16b53d3183 Eliminate syntax.grammarsByFileType hash 2013-04-03 18:34:53 -06:00
Corey Johnson & Nathan Sobo
05d6adc6c7 Change syntax.selectGrammar to choose the highest-scoring grammar
This sets us up to switch to a grammar when it is loaded if it is a
better match for the current file.
2013-04-03 18:34:53 -06:00
Nathan Sobo
ed1c5d3417 Localize grammar reloading / setting to LanguageMode
Previously, logic associated with swapping grammars was a bit
scattered. Now grammar reloading / assignment methods delegate to
LanguageMode directly, and it emits a 'grammar-changed' event when
the grammar changes. Now EditSession and TokenizedBuffer listen for
this event and perform necessary actions for grammar change.
2013-04-03 18:34:53 -06:00
Kevin Sawicki
cf357376b3 Only add wrap guide to pane-based editors 2013-04-03 17:30:24 -07:00
Kevin Sawicki
b4eb7d072e Only expand folder when needed for file asserts
Closes #470
2013-04-03 17:07:23 -07:00
Kevin Sawicki
4f8d51450a Add missing space in expected string 2013-04-03 16:01:17 -07:00
Kevin Sawicki
b50b2231d6 Render all operations when moving to bottom 2013-04-03 15:55:07 -07:00
Kevin Sawicki
a762291de9 Render more operations when path is collapsed
Previously the command panel would shrink when a path was
collapsed since operations that hadn't been rendered yet weren't
properly added to the DOM.

This removes the collapse/expand animation since it becomes jittery
when combined with rendering new path and operation views.
2013-04-03 15:53:07 -07:00
Kevin Sawicki
ec2b116674 💄 2013-04-03 15:53:07 -07:00
Kevin Sawicki
0b9f6b14ba Put 'atom' in window title when no panes are open
Previously the title would revert to 'index.html' when
focus was gained and no panes were open.
2013-04-03 15:53:07 -07:00
Corey Johnson & Nathan Sobo
d136837c79 Fix version spec 2013-04-03 15:28:43 -07:00
Corey Johnson & Nathan Sobo
081967dc95 Change development version number to the sha 2013-04-03 15:24:17 -07:00
Corey Johnson & Nathan Sobo
101605e50f Add atom.crashMainProcess and atom.crashRenderProcess 2013-04-03 15:08:16 -07:00
Corey Johnson & Nathan Sobo
262e2fe1ec Add Quincy crash reporter framework 2013-04-03 15:08:16 -07:00
Kevin Sawicki
5d2a0a0223 Use fs.chmod() to make atom.sh executable 2013-04-03 15:01:23 -07:00
Kevin Sawicki
8447a22419 Support reloading the window from the event palette 2013-04-03 14:48:11 -07:00
Kevin Sawicki
b6eed51eed Merge pull request #460 from github/nak-powered-search
Nak powered search
2013-04-03 14:21:07 -07:00
Kevin Sawicki
d1fd3c8d7c Invoke callback with empty array on non-zero exit code 2013-04-03 13:54:52 -07:00
Kevin Sawicki
a3ef9c204b Use repository URL for nak dependency
This is temporary until https://github.com/gjtorikian/nak/pull/17/files
is merged and released.
2013-04-03 13:47:03 -07:00