6075 Commits

Author SHA1 Message Date
Kevin Sawicki
6563dabe51 Simplify loading message toggling
Add the 'is-loading' class and text from the
content method and just call toggle directly on
the outlet to hide/show.
2013-02-25 10:19:11 -08:00
Kevin Sawicki
71f8fd21b2 Use darker text color for error message
The message will still show in white when flashed
with a red background but the text will return to
a darker color once the error class is gone.
2013-02-25 10:07:09 -08:00
Kevin Sawicki
2f331b4377 Set font-size of fold marker to .8em
This keeps the line height of the gutter the same
as the line height of the editor for folded lines.

Closes #304
2013-02-25 09:49:53 -08:00
Kevin Sawicki
49c9536358 Guard against no fold end regex
Not all bundles specify this and an error will be
raised when trying to fold inside a grammar that does
not have this property defined if this check isn't done.
2013-02-25 09:31:00 -08:00
Corey Johnson
8b92b15b58 💄 2013-02-25 09:24:31 -08:00
Kevin Sawicki
9b231e8c4e Add increase indent pattern for GFM scope 2013-02-25 08:58:47 -08:00
Kevin Sawicki
8b2c088bc9 Add support for escaped characters in TOML strings 2013-02-24 19:40:47 -08:00
Kevin Sawicki
fca182a470 Add initial TOML support 2013-02-24 09:56:26 -08:00
Kevin Sawicki
259e20e7cc 💄 2013-02-24 09:16:40 -08:00
Kevin Sawicki
74ac77e0eb Install atom.sh when running rake install
This was removed in commit d35c871e17
but shouldn't have been.
2013-02-24 08:16:16 -08:00
Kevin Sawicki
a712f00d7e Put expects in a runs block 2013-02-22 21:48:50 -08:00
Kevin Sawicki
d35c871e17 Install atom executable during window.startup()
Previously this was done during `rake install`.

Also default to `~/github/atom` as the default resource path
when no `--resource-path` argument is specified.  This argument
will now be required when running in dev mode if the repository
is not at the default location.

Closes #300
2013-02-22 21:19:34 -08:00
Corey Johnson & Kevin Sawicki
c7ff431d13 Don't rely on specific time in EditorStats spec 2013-02-22 17:17:07 -08:00
Corey Johnson & Kevin Sawicki
ce9c416a3a Don't create background window when running specs or benchmarks 2013-02-22 16:57:15 -08:00
Corey Johnson & Kevin Sawicki
e202b622e8 Don't check for updates during benchmarks or tests 2013-02-22 16:50:19 -08:00
Corey Johnson & Kevin Sawicki
2c986fdbfc Fix race condition in spec 2013-02-22 16:31:50 -08:00
Corey Johnson & Kevin Sawicki
8e6ae81169 Add rake deploy 2013-02-22 16:17:39 -08:00
Corey Johnson
c1ee850b92 Show on icon when update is available 2013-02-22 16:16:21 -08:00
Corey Johnson
052b7923ac Add bump patch number to rakefile 2013-02-22 16:16:21 -08:00
Corey Johnson & Kevin Sawicki
aeac64ce68 Open with -a instead of application path 2013-02-22 15:52:51 -08:00
Corey Johnson & Kevin Sawicki
31d8151c3e Copy themes to ~/.atom/themes when config loads 2013-02-22 14:46:30 -08:00
Corey Johnson & Kevin Sawicki
fa81871907 Initialize ~/.atom when config is loaded
Closes #299
2013-02-22 14:46:30 -08:00
Kevin Sawicki
b04c1ad766 Include dot-atom directory in bundle 2013-02-22 14:46:29 -08:00
Kevin Sawicki & Nathan Sobo
6b883d9a11 Document editor:save-debug-snapshot in docs introduction 2013-02-22 14:31:19 -07:00
Kevin Sawicki & Nathan Sobo
5da5bf94b6 Add 'editor:save-debug-snapshot' command. Closes #191.
This saves the state of the rendered lines, the display buffer, the
tokenized buffer, and the buffer to a file. If a problem arises with
rendering, hopefully we can use it to diagnose in which layer things
went awry.
2013-02-22 14:28:04 -07:00
Kevin Sawicki
9ca7214d39 Add --dev flag and remove --stable flag
Atom now runs in stable mode by default and only
runs in dev mode when the --dev flag is specified.

Closes #198
2013-02-22 11:54:54 -08:00
Kevin Sawicki
297ee396ca Remove empty package-generator keymap 2013-02-22 11:44:23 -08:00
Kevin Sawicki
b8aaad06a4 💄 2013-02-22 10:56:19 -08:00
Kevin Sawicki
98a8b1f4b2 Set User-Agent to GitHubAtom with version 2013-02-22 09:44:47 -08:00
Kevin Sawicki
c79fca1adb Use string interpolation for error message 2013-02-22 09:15:47 -08:00
Kevin Sawicki
bfaf5b4952 Move folding colors to syntax stylesheets
Switch the light syntax folding color to an orange
instead of the pink which look washed out on a light
background.
2013-02-22 09:10:18 -08:00
Justin Palmer
eefd99af5f Add overlay styles to atom-light-ui
Fixes #295
2013-02-21 21:07:23 -08:00
Justin Palmer
f0c3b8f127 lighter icon.
/cc #296
2013-02-21 20:58:53 -08:00
Kevin Sawicki
71699024d8 Merge branch 'dev' 2013-02-21 16:14:01 -08:00
Kevin Sawicki
dae46eab87 Create class array for each whitespace type
Previously if the token has both leading and
trailing whitespace the classes would bleed
across the cases and cause an exception to be
thrown.

Closes #298
2013-02-21 16:12:49 -08:00
Corey Johnson
aa84256774 - and _ are not considered word characters by default.
Fixes #297
2013-02-21 13:41:21 -08:00
Kevin Sawicki
7b95fba607 Merge pull request #256 from github/dev
Merge dev into master
2013-02-21 12:58:55 -08:00
Kevin Sawicki
2b002e0ef9 Use Range.getClientRects() to find mouse event column
Previously document.caretFromRange() was used which
required hiding and showing the overlayer which would
cause a relayout and entire repaint of the editor area.

Now the text nodes on the selected row are iterated over
until the column corresponding to the event's pageX value
is found.

Closes #290
2013-02-21 12:33:04 -08:00
Kevin Sawicki
9e1547afab Update python bundle to df88cd66d0 2013-02-20 20:53:01 -08:00
Kevin Sawicki
25e3d690df Remove dark cursor style from light-ui
This caused the cursor to be black and white
when dark-syntax is used with light-ui
2013-02-20 17:10:37 -08:00
Kevin Sawicki
69b93c5397 Bind ctrl-[] to collapse and expand directories 2013-02-20 16:48:40 -08:00
Corey Johnson
f7bc1186c5 Console spec reporter allows focused specs 2013-02-20 16:28:49 -08:00
Corey Johnson
4db982f9e5 Use a 5 second timeout for specs
Hopefully this is temporary.
2013-02-20 16:28:05 -08:00
Corey Johnson
211d18bf99 Listen for file events before acting on the file. 2013-02-20 16:27:30 -08:00
Kevin Sawicki
df3c00ac9c Remove console log call in spec 2013-02-20 15:50:31 -08:00
Kevin Sawicki
32abf2cda8 Only create span class once
Previously this was being generated on each match even though
the same classes were used for every match.
2013-02-20 15:46:51 -08:00
Kevin Sawicki
2457e7f5b2 Add indent guide to whitespace lines
The whitespace in lines that have no non-whitespace
text is treated as trailing whitespace so add the
indent guide to the trailing whitespace tokens when the
line is 100% whitespace.
2013-02-20 15:40:44 -08:00
Kevin Sawicki
1db21c91cc Give first line regex the required amount of lines
Certain bundles require multi-line matches in the firstLineMatch
value so count the number of newlines in the regex and only test
the regex against only those lines.
2013-02-20 15:11:07 -08:00
Kevin Sawicki
881efd9c5d Restore selection when undoing an insert newline below 2013-02-20 14:09:40 -08:00
Corey Johnson
b14099c10d Add update-cef dependency on rake test 2013-02-20 13:56:39 -08:00