Commit Graph

12724 Commits

Author SHA1 Message Date
Antonio Scandurra
49c48234f2 💚 Finish fixing tiles/lines specs 2015-05-13 12:27:51 +02:00
Antonio Scandurra
11a0fa7a12 updateTileSize on start 2015-05-13 12:27:18 +02:00
Antonio Scandurra
94373e434c Make tileSize a field rather than a fn 2015-05-13 12:27:09 +02:00
Antonio Scandurra
948b8f9533 Remember to fix scrolling for line-numbers 2015-05-13 11:22:02 +02:00
Antonio Scandurra
4c2683a378 🎨 Clarify @updateTilesState 2015-05-13 11:14:21 +02:00
Antonio Scandurra
74a0ce0720 Remove require to LinesPresenter 2015-05-13 10:59:50 +02:00
Antonio Scandurra
63e2764b7f 🎨 Inline LinesPresenter 2015-05-13 10:47:10 +02:00
Antonio Scandurra
cde632c8b5 Merge branch 'master' into as-tiled-rendering 2015-05-13 10:34:51 +02:00
Antonio Scandurra
19a95651dc Relativize pixelPositionForScreenPosition.top
This commit makes the method return a `top` value which is relative to the
viewport. However, we still need to return an absolute value for `left` because
lines are moved horizontally through a single transform on their parent node.

I would prefer being consistent (i.e. make everything relative), but moving
every single tile to simulate scrolling, on the other hand, seems overkill and
it's not really intuitive given that we are not tiling horizontally.

/cc: @nathansobo
2015-05-13 09:04:44 +02:00
Max Brunsfeld
34a3ee1be9 ⬆️ text-buffer 2015-05-12 18:02:27 -07:00
Jessica Lord
3dbff720f2 Check for url before replacing 2015-05-12 16:59:27 -07:00
Jessica Lord
b8c0c661ea Correct package name, remove log 2015-05-12 16:57:50 -07:00
Jessica Lord
e64c6dfd2f Check for repository, log error (temp) 2015-05-12 15:00:40 -07:00
Jessica Lord
188ca6e9cc Merge branch 'master' into jl-all-your-normalizes 2015-05-12 12:13:56 -07:00
Jessica Lord
d7aa2fc2c4 Only remove 'git+' if 'git' type matches 2015-05-12 12:13:14 -07:00
Jessica Lord
4b9718f5cf Remove 'git+' prefix 2015-05-12 11:54:39 -07:00
Kevin Sawicki
d748281ca6 Merge pull request #6750 from atom/iz-fix-decoration-deprecation
Remove extra function wrapper in deprecated Decoration::update method
2015-05-12 08:38:44 -07:00
Ivan Zuzak
b2dd8835b3 Remove extra function wrapper 2015-05-12 12:54:15 +02:00
Jessica Lord
ec15db4523 Merge branch 'master' into jl-all-your-normalizes 2015-05-11 18:17:47 -07:00
Kevin Sawicki
250670be23 Guard against missing tooltip data 2015-05-11 18:10:57 -07:00
Jessica Lord
9dbdeac93c Merge branch 'master' into jl-all-your-normalizes 2015-05-11 17:21:29 -07:00
Antonio Scandurra
a6dab4860c Position overlays absolutely
We did so by introducing an `absolute` (optional) parameter in
`pixelPositionForScreenPosition`.
2015-05-11 10:01:02 +02:00
Antonio Scandurra
8aaac870dc Ensure we have at least one line per tile
This will prevent, for example, a mini editor (which has no `@height`
by default) from not showing characters.
2015-05-11 09:45:55 +02:00
Antonio Scandurra
a6e0fa6e91 Scroll exactly as we did before tiling
Except that now we store the scrolling tile, instead of the scrolling
row.
2015-05-11 09:42:04 +02:00
Antonio Scandurra
9581202a77 Merge branch 'master' into as-tiled-rendering 2015-05-11 09:18:13 +02:00
Ivan Zuzak
71fba99540 Dont split keystrokes on trailing dashes 2015-05-10 09:46:45 +02:00
Ivan Zuzak
29a4ab1396 Electron uses 'Plus' instead of '+' in accelerators 2015-05-10 09:26:46 +02:00
Kevin Sawicki
f1f8c3d0a7 Merge pull request #6706 from atom/iz-fix-open-with-trailing-colon
Ignore trailing colons and whitespace when opening files from command line
2015-05-08 13:59:08 -07:00
Max Brunsfeld
fde693eab9 Merge pull request #6707 from atom/mb-dont-persist-window-modes
Don't persist dev/safe/api-preview mode settings of windows
2015-05-08 12:35:33 -07:00
Jessica Lord
8f80e1db13 Only normalize unpublished packages
Packages published to APM are normalized already, this catches locally
linked/developed packages.
2015-05-08 12:24:43 -07:00
Max Brunsfeld
b8cd0a0628 Don't persist dev/safe/api-preview mode settings of windows 2015-05-08 11:21:36 -07:00
Nathan Sobo
0d310c767f Splice in new DisplayBuffer lines in chunks to avoid stack overflows 2015-05-08 19:23:45 +02:00
Jessica Lord
57a82ac239 merge 2015-05-08 10:01:19 -07:00
Ivan Zuzak
6a7d5e6945 Ignore trailing colons and whitespace when opening files from command line 2015-05-08 18:59:17 +02:00
Kevin Sawicki
523171061b Stop resize if detached or if siblings are missing
Closes #6630
2015-05-07 16:26:18 -07:00
Max Brunsfeld
4f7ad3f045 Merge pull request #6690 from atom/mb-reopen-windows-from-command-line
Make 'atom' command w/ no args reopen previous windows
2015-05-07 15:24:13 -07:00
Kevin Sawicki
d595cdb8e9 Merge pull request #6656 from jgebhardt/bump-react
Remove babel compatibility option for legacy React versions
2015-05-07 13:26:36 -07:00
Kevin Sawicki
b7dddeebfe Guard against no hosted git info
Closes #6693
2015-05-07 13:24:03 -07:00
Max Brunsfeld
5b8262bd96 🐎 Avoid repeated array allocation in ::getDecorations 2015-05-07 12:56:29 -07:00
Max Brunsfeld
4300ba6bb3 Make 'atom' command w/ no args reopen previous windows 2015-05-07 11:35:16 -07:00
Jessica Lord
97aed663fe Merge branch 'master' into jl-all-your-normalizes 2015-05-07 09:38:02 -07:00
Kevin Sawicki
a847b4cc65 Merge pull request #6640 from atom/iz-fix-0-in-command-line-initial-row
Allow 0 to be passed as initialLine when opening files via command line
2015-05-06 10:26:43 -07:00
Kevin Sawicki
61a0927b26 Use apiPreviewMode value when running specs 2015-05-06 09:56:32 -07:00
Antonio Scandurra
c99ffa04f1 Hide scrolling tile 2015-05-06 10:03:49 +02:00
Antonio Scandurra
02838ad193 Recycle tiles 2015-05-06 09:46:47 +02:00
Antonio Scandurra
daa4b33e64 wip 2015-05-06 09:03:23 +02:00
Jessica Lord
5d7161acd7 Don't need to replace now, use module directly 2015-05-05 15:26:29 -07:00
Jonas Gebhardt
bc1f190c2f remove babel compatibility option for legacy react versions 2015-05-05 11:22:14 -07:00
Antonio Scandurra
216b757ac0 Keep scrolling tile around for mousewheel 2015-05-05 19:49:49 +02:00
Antonio Scandurra
9aaa8b4833 Better defaults 2015-05-05 19:21:34 +02:00