Commit Graph

14093 Commits

Author SHA1 Message Date
Nathan Sobo
7bdd51b456 Rename deserializeView to deserialize
In additional, rename `registerViewClass(es)` to `registerDeserializer(s)`.
This moves us to a situation where any kind of object may want to be
deserialized, not just views.
2013-02-19 09:48:40 -07:00
Nathan Sobo
4c01a1e600 Fix spec to match improved CoffeeScript grammar 2013-02-18 18:10:43 -07:00
Nathan Sobo
d3c2623b61 Make deserializeView a global method
…along with `registerViewClass(es)`
2013-02-18 18:08:18 -07:00
Nathan Sobo
073856bb57 Merge branch 'prebuilt-cef' into dev 2013-02-18 14:07:54 -07:00
Justin Palmer
0060ccfa8c update ignoredFiles docs 2013-02-18 09:27:29 -08:00
Adam Roben
0599f83959 Show output from prebuilt-cef/script/download 2013-02-18 08:13:59 -05:00
Jon Rohan
d58f7edefe Gutter doesn't have text cursor. #284 2013-02-17 10:06:43 -08:00
Jon Rohan
2f32c4f745 Changing cursor to text for editor. fixes #284 2013-02-17 10:01:36 -08:00
Adam Roben
668921d336 Remove CEF from the repo and download it as needed
We now use github/prebuilt-cef to download CEF from S3, then build
against that. This means we no longer need to have CEF committed to the
repo.

Fixes #280.
2013-02-17 11:59:06 -05:00
Nathan Sobo
2806495e5a Nudge fold ellipses down by 2px for better visual alignment w/ line 2013-02-16 15:30:04 -07:00
Nathan Sobo
46c4f6d8e9 Remove increased font size for fold elipses
Making them bigger looks good, but also makes lines with these fold
markers taller than typical lines, which throws off the positioning
of everything below them.
2013-02-16 15:29:29 -07:00
Kevin Sawicki
10430842b0 Use binary icon for .woff and .DS_Store extensions 2013-02-16 09:54:20 -08:00
Kevin Sawicki
7f9fb785df Use new ellipsis octicon in fold marker 2013-02-16 09:54:20 -08:00
Jon Rohan
b18b32f9c1 x is still too high. 1px 2013-02-15 19:05:53 -08:00
Jon Rohan
dbb81afa9d Very slightly adjusting the padding in the tabs.
@caged didn't bother with a pull request. It was bothering me that the
x was closer to the edge of the tab, than the filename. So I made it
equal. I also added some right padding to the name so it doesn't get too
close to the x icon.
2013-02-15 17:34:51 -08:00
Kevin Sawicki
54812a6ff8 Bind l to insert link in markdown 2013-02-15 15:18:13 -08:00
Nathan Sobo
96f30ee2f9 Link the README to the docs tab. Remove scary warning about pre-alpha. 2013-02-15 14:22:38 -07:00
Nathan Sobo
da36db22da Major documentation reorganization.
The goal is to start with the shortest overview possible of all the
major features, then get into more detail later in the documentation.
2013-02-15 14:13:54 -07:00
Justin Palmer
70bbc8f1e5 Merge pull request #283 from github/ui-light-command-panel
atom-ui-light command panel updates
2013-02-15 10:46:31 -08:00
Kevin Sawicki
e21fddc5e3 Upgrade CoffeeScript bundle to 32d285247
Includes commit to not include whitespace before function name
in function scope.
2013-02-15 10:32:32 -08:00
Justin Palmer
c879dbba5b use editor highlight background color 2013-02-15 10:32:11 -08:00
Justin Palmer
3c26e8d4bb highlights and colors for preview list 2013-02-15 10:10:55 -08:00
Justin Palmer
beb52f8ab5 tweak spacing 2013-02-15 10:10:24 -08:00
Justin Palmer
a81c834f88 nicer look for preview list header 2013-02-15 10:10:13 -08:00
Justin Palmer
b0da7d15f1 not sure how this didn't throw an error 2013-02-15 10:09:40 -08:00
Kevin Sawicki
4cfd2b41fb Destroy repo in an afterEach in Git specs 2013-02-15 09:56:04 -08:00
Kevin Sawicki
ee3f5a3c14 Remove unused repo variable 2013-02-15 09:56:04 -08:00
Kevin Sawicki
25e56b9967 Remove unneeded rootView variable in editor spec 2013-02-15 09:56:04 -08:00
Kevin Sawicki
ded53fd58c Add spec duration to mouseover summary 2013-02-15 09:56:04 -08:00
Kevin Sawicki
2910f7798a Always use global rootView object
This removes the last few places where rootView was
looked up via jQuery selector and instead just uses
the rootView property available on the window.
2013-02-15 09:56:03 -08:00
Kevin Sawicki
092e5214d0 Add spec for Git.getDiffStats(path) 2013-02-15 09:56:03 -08:00
Kevin Sawicki
f730672e9d Use ? instead of or 2013-02-15 09:56:03 -08:00
Nathan Sobo
69da0bb2aa Add alt-meta-left and alt-meta-right bindings for tab switching
These are common bindings for switching tabs. Before we used them to
split views, but this is a more expected behavior.
2013-02-15 10:39:15 -07:00
Nathan Sobo
a300337557 Change split-view bindings to avoid confusion w/ tab-switching
Now you can use the vim-style `ctrl-w *` bindings, or use `ctrl-|` and
`ctrl--`, which resemble horizontal and vertical splits as characters.
2013-02-15 10:39:15 -07:00
Justin Palmer
0ccf81d2ef style expand/collapse in atom-ui-light 2013-02-15 09:23:30 -08:00
Justin Palmer
e18ed0c96c move preview count position to static directory 2013-02-15 09:12:21 -08:00
Kevin Sawicki
ef4449d1ed Don't store package state in command-panel package
The package loader now only calls serialize if activate
has been called and reuses the previous state if the package
is never activated.
2013-02-14 17:30:45 -08:00
Kevin Sawicki & Nathan Sobo
992fbaafbc Recycle bracket highlight views 2013-02-14 18:08:26 -07:00
Corey Johnson
35ff2744ac Attach the tree view if the project has no serialized state 2013-02-14 16:40:24 -08:00
Corey Johnson
e7a8e4e3c4 Add atom.update and atom.getUpdateStatus 2013-02-14 16:40:24 -08:00
Corey Johnson
16d8c52624 💄 2013-02-14 16:40:24 -08:00
Kevin Sawicki & Nathan Sobo
3bd98ff182 Calculate pixel position of both bracket highlights before adding them
Before, we were causing a layout to occur twice because we needed to
read the DOM for the pixel position of the second highlight view after
invalidating the DOM when adding the first highlight view.
2013-02-14 17:30:08 -07:00
Kevin Sawicki & Nathan Sobo
c3e595b040 Switch to new flexbox spec to improve redraw performance
With the old flexbox, whenever we updated the status bar, other flex
items in the pane (such as the tabs and the *entire* editor) were
getting repainted, which was taking 10x longer than it needed to. This
newer flexbox spec seems to be implemented in a more performant way.
2013-02-14 17:07:46 -07:00
Jon Rohan
59a8bfd8df Making shure that invisibles always look the same. fixes #279 2013-02-14 14:58:50 -08:00
Kevin Sawicki
1f9e5aea06 Clear mini editor when detaching 2013-02-14 14:36:27 -08:00
Corey Johnson
56213872b2 Fix 💩 I shouldn't have checked in 2013-02-14 13:23:45 -08:00
Kevin Sawicki
77e9377865 Close command panel on core:cancel event 2013-02-14 12:49:33 -08:00
Nathan Sobo
2f71ee9a0d Prevent clicks on a focused editor from unfocusing its hidden input
This closes #233. When an editor is focused, what's *actually* focused
is a hidden input element inside the editor. So clicking on a focused
editor was temporarily stealing focus away from the hidden input, and
then moving it back to the hidden input (which the editor always does
when it is focused). Returning false from the mousedown handler when
the editor is already focused prevents this bouncing of focus and
prevents the fuzzy finder from hiding when you click its editor.
2013-02-14 13:38:46 -07:00
Kevin Sawicki
58dbcc9ddc Un-f spec in atom-spec.coffee 2013-02-14 12:33:33 -08:00
Corey Johnson
da98addf80 better spec toggle 2013-02-14 12:31:31 -08:00