Nathan Sobo
41d2062b22
Don't assign scrollLeft on model on 'scroll-left-changed' events
...
Fixes #2513
I'm not entirely sure why, but for some reason we're getting into an
feedback cycle when the scrollLeft position changes in certain cases. In
theory, this shouldn't happen because reassigning the same value
shouldn't emit a change event. But since we're about to end-of-life the
jQuery editor, I'd like to try fixing it this way for now.
2014-06-12 13:40:04 -06:00
Corey Johnson
e179860519
Merge pull request #2571 from lee-dohm/bug-2526
...
Change line commenting to uncomment if all non-blank lines are commented out
2014-06-12 08:45:47 -07:00
Ivan Žužak
43f8596fb1
Merge pull request #2584 from atom/iz-fix-tab-unindent
...
Outdent only if a tab is matched at the start of the line
2014-06-12 17:39:23 +02:00
Ben Ogle
2c7d01e398
Merge pull request #2588 from atom/bo-fix-page-up-down
...
Fix pageUp and pageDown in the react editor
2014-06-11 17:30:59 -07:00
Ben Ogle
1bdf45f7d6
Fix gutter width
...
When you had a 1000 line file and you fold everything
into 10 lines, it would make the gutter width only large
enough for the 10 lines, so line 999 wouldnt properly
fit in the gutter.
Refs #2423
2014-06-11 17:28:12 -07:00
Ben Ogle
7e6e61905b
Move the cursor on pageUp / pageDown
...
Previously it was only moving the scrollTop, but not the cursors.
Affected on the react editor.
Refs #2423
2014-06-11 17:19:59 -07:00
Corey Johnson
01b4ff24b9
Dedupe grim
2014-06-11 16:50:45 -07:00
Corey Johnson
47e2cb4645
Update grim and its related modules
2014-06-11 16:50:45 -07:00
Ben Ogle & Nathan Sobo
236f4c5342
Upgrade git-diff to update diff correctly after comitting
2014-06-11 17:40:13 -06:00
Ben Ogle & Nathan Sobo
911390aba8
Upgrade find-and-replace for React fixes
2014-06-11 17:38:01 -06:00
Nathan Sobo
5f602ad86e
Merge pull request #2567 from atom/bo-scroll-speed
...
Slow the scroll speed
2014-06-11 14:44:20 -06:00
Kevin Sawicki
9da9c77e61
Add paths that work on Git 1.7
2014-06-11 13:24:54 -07:00
Kevin Sawicki
8ed05a4201
Only log spec output on failures
2014-06-11 13:24:13 -07:00
Kevin Sawicki
a8533c1010
Fail build if any specs fail on Windows
2014-06-11 13:24:13 -07:00
Ben Ogle
87915f70e2
editor.scrollSensitivity option
2014-06-11 12:07:49 -07:00
Ben Ogle
ec07cb9524
Slow the scroll speed
2014-06-11 12:07:48 -07:00
Corey Johnson
d4ae3ac548
Upgrade to language-c@0.17.0
2014-06-11 12:04:40 -07:00
Nathan Sobo
1b4426e3ba
Don't pause overflowchanged events after React editor updates
...
Fixes #2237
Previously, operations such as typing and scrolling were triggering
overflowchanged events on the editor, which concerned me because we
were performing lots of unnecessary measurements of the scroll view.
Now that we draw extra lines above and below the visible screen row
range, this doesn't happen, so we can remove this pausing code which
was delaying the resizing of the editor in certain situations.
2014-06-11 12:07:05 -06:00
Kevin Sawicki
32245b1d92
Remove humanizeKeystrokes specs
...
These are already tested thoroughly in underscore-plus and
they are now platform-specific now which this spec was not
expecting.
2014-06-11 10:59:08 -07:00
Nathan Sobo
030bcd6d4f
Make react cursor the width of a default character at the end of lines
...
When the cursor is positioned before a character, we always make it the
width of that character. But at the end of a line, there is no character
to use to set the width, so we just use the defaultCharWidth.
This makes the block cursor visible on empty lines in vim-mode.
2014-06-11 11:54:10 -06:00
Kevin Sawicki
f1628fb1e0
Only codesign on Mac OS X
2014-06-11 10:45:12 -07:00
Nathan Sobo
7c1a4a9e08
Don't clip range start/end in DisplayBuffer::pixelRectForScreenRange
...
Fixes #2583
This prevents the cursor from having 0 width inside atomic tokens.
2014-06-11 11:40:57 -06:00
Kevin Sawicki
3b1c70911f
Upgrade to minidump 0.7
2014-06-11 10:30:28 -07:00
Kevin Sawicki
70fc084864
Upgrade to settings-view@0.121
2014-06-11 10:28:25 -07:00
Kevin Sawicki
d9152e856b
Upgrade to tree-view@0.100
2014-06-11 10:28:25 -07:00
Corey Johnson
10dba4b9a0
Revert "Upgrade find-and-replace@0.116.0"
...
This reverts commit efea4c6d05 .
2014-06-11 10:23:29 -07:00
Corey Johnson
5e51445118
Update cursor z-index
2014-06-11 10:04:31 -07:00
Corey Johnson
f4b7f86eb0
Revert "Remove editor-colors class from lines component"
...
This reverts commit 8cca198af1 .
2014-06-11 10:02:16 -07:00
Ivan Zuzak
07308a4e04
✅ Add test for outdenting with tabs after normal characters
2014-06-11 19:02:14 +02:00
Corey Johnson
8cca198af1
Remove editor-colors class from lines component
2014-06-11 09:53:56 -07:00
Ben Ogle
efea4c6d05
Upgrade find-and-replace@0.116.0
2014-06-11 09:42:11 -07:00
Ivan Zuzak
588d9b97eb
Unindent only if the tab is at the start of the line
2014-06-11 18:31:37 +02:00
Corey Johnson
4f77a371f4
Merge pull request #2497 from atom/cj-add-react-editor-shims
...
Add shims to the React View Editor
2014-06-11 09:06:40 -07:00
Corey Johnson
94dd1eed54
Merge remote-tracking branch 'origin/master' into cj-add-react-editor-shims
...
Conflicts:
src/editor-component.coffee
2014-06-11 08:56:27 -07:00
Ben Ogle
09b91974a7
Fix casing on Grim import
2014-06-11 08:52:36 -07:00
Nathan Sobo
99611fad34
Give React editor lines and line numbers an opaque background
...
This ensures subpixel antialiasing works correctly. It was previously
present on both of these components but got dropped accidentally.
2014-06-11 08:51:19 -06:00
Nathan Sobo
1b026cc805
Set is-focused class on React editor's wrapper view for now
2014-06-11 08:37:16 -06:00
Nathan Sobo
4c0d87080a
Update git-diff so specs pass with React editor enabled
2014-06-11 08:30:17 -06:00
Nathan Sobo
a09eb96982
Upgrade bookmarks to pass specs with react editor enabled
2014-06-11 08:05:30 -06:00
Nathan Sobo
5531d54554
Upgrade autosave to support react editor focusout events
2014-06-11 08:00:04 -06:00
Nathan Sobo
b73d267a5f
Merge branch 'master' into cj-add-react-editor-shims
2014-06-11 07:34:41 -06:00
Nathan Sobo
5add0e4f70
Don't forceUpdate in setImmediate callback if editor is unmounted
...
This was throwing errors in the EditorComponent spec.
/cc @benogle, just so you're aware
2014-06-11 07:21:05 -06:00
Nathan Sobo
7040906473
Ignore null bytes when measuring character widths in React editor
...
Fixes #2391
2014-06-11 07:18:52 -06:00
Nathan Sobo
131aad24c0
Merge branch 'master' into cj-add-react-editor-shims
2014-06-11 06:48:16 -06:00
Nathan Sobo
64870c733b
Add API for enabling/disabling input to support vim-mode's insert mode
2014-06-11 06:07:41 -06:00
Nathan Sobo
68ca6a0a0d
Merge pull request #2532 from karlin/select-paragraphs
...
Adds select-to-beginning-of-next/previous-paragraph commands
2014-06-11 05:39:30 -06:00
Kevin Sawicki
376010722e
Upgrade to language-javascript@0.27
2014-06-10 18:22:17 -07:00
Kevin Sawicki
31cf907b48
💄
2014-06-10 16:54:25 -07:00
Kevin Sawicki
28af52dfab
Upgrade to bracket-matcher@0.45
2014-06-10 15:44:02 -07:00
probablycorey
9e7e77bdf8
Merge remote-tracking branch 'origin/master' into cj-add-react-editor-shims
...
Conflicts:
src/gutter-component.coffee
2014-06-10 15:42:23 -07:00
probablycorey
d0385a90ea
Revert "Use ReactEditorView in the workspace view spec"
...
This reverts commit b46ac9080c .
2014-06-10 15:37:49 -07:00
probablycorey
f9c4af301d
Shim scrollView outlet
2014-06-10 15:19:54 -07:00
Lee Dohm
3cf4b7b3e4
Use imperative style and standard JS regex
...
Based on pull request feedback
2014-06-10 14:54:01 -07:00
Kevin Sawicki
8523df58b0
Upgrade to image-view@0.35
2014-06-10 14:38:19 -07:00
Kevin Sawicki
bd2c2bfe46
Merge pull request #2577 from jugglingnutcase/improve-npm-verify-on-win32
...
Fix NPM verification failures after `script/clean` on Win32
2014-06-10 14:38:04 -07:00
James R Sconfitto
f5a70da6f0
🏁 Use "npm.cmd" to verify npm
2014-06-10 17:26:57 -04:00
probablycorey
a8186b15cf
Upgrade to bracket-matcher@0.44.0
2014-06-10 13:07:29 -07:00
Kevin Sawicki
fe088ba16a
Use local npm version when available
2014-06-10 11:45:47 -07:00
Nathan Sobo
562a047b9e
Only requestUpdate when scrolling stops if component is still mounted
...
Fixes #2566
2014-06-10 12:13:57 -06:00
Kevin Sawicki
634c995a71
Verify npm version
...
This will end up in log output when people report build issues and now
the bootstrap will error when the npm version is <1.4.
2014-06-10 11:05:29 -07:00
Kevin Sawicki
153faefaf9
📝 Link to node.js wiki install instructions
...
Closes #2340
2014-06-10 09:26:38 -07:00
Kevin Sawicki
636a8a8286
📝 💄
2014-06-10 09:19:39 -07:00
Kevin Sawicki
faada2de30
📝 Mention build-essential package
...
Closes #2384
2014-06-10 09:18:12 -07:00
probablycorey
e762efa97e
Upgrade to settings-view@0.120.0
2014-06-10 09:00:04 -07:00
Lee Dohm
a2c9c21cfb
Change line commenting to ignore blanks if any non-blanks
...
Fixes #2526
This slightly alters the heuristic for deciding whether to uncomment
or to comment blocks of code. Previously, it would key off the first
line of code and only if that was commented would it check the other
lines. Now it checks all lines of code and uncomments the block if all
non-blank lines are commented out.
2014-06-09 21:31:46 -07:00
Lee Dohm
ea4f99e5ac
Add test to illustrate the problem
...
See #2526
2014-06-09 21:18:03 -07:00
probablycorey
b46ac9080c
Use ReactEditorView in the workspace view spec
2014-06-09 17:35:44 -07:00
Kevin Sawicki
24a463b18d
Upgrade to find-and-replace@0.115
2014-06-09 17:08:57 -07:00
Kevin Sawicki
3d28a04ffa
Upgrade to command-palette@0.22
2014-06-09 16:43:30 -07:00
Ben Ogle
326542644d
Upgrade git-diff@0.29.0 bookmarks@0.23.0
2014-06-09 16:33:27 -07:00
Ben Ogle
45f70bb783
Merge pull request #2507 from atom/bo-gutter-api
...
Add an API for decorations; render stuff in the gutter again
2014-06-09 16:30:48 -07:00
Corey Johnson
a227ed7586
Add toggleSoftWrap and toggleSoftTabs
2014-06-09 16:10:29 -07:00
Corey Johnson
5288666bfc
Revert "Export ReactEditorView as EditorView"
...
This reverts commit be20148518 .
2014-06-09 16:07:00 -07:00
Corey Johnson
0396aac11f
Add several setter shims to ReactEditorView
2014-06-09 16:03:20 -07:00
Ben Ogle
5db163a328
💄
2014-06-09 16:01:29 -07:00
Kevin Sawicki
4d12e025e4
Upgrade to archive-view@0.32
2014-06-09 15:50:26 -07:00
Corey Johnson
be20148518
Export ReactEditorView as EditorView
2014-06-09 15:50:08 -07:00
Ben Ogle
756347a716
Add has-selection class to the editor div when there is a selection
2014-06-09 15:45:32 -07:00
Corey Johnson
7379627fcb
Add several scroll shims to ReactEditorView
2014-06-09 15:37:02 -07:00
Kevin Sawicki
4b02d3ff61
Upgrade to tree-view@0.99
2014-06-09 15:33:47 -07:00
Ben Ogle
dc6836dc2d
Add specs for cursor-line decorations
2014-06-09 15:18:12 -07:00
Corey Johnson
a2c4caf7ad
Move scroll methods below afterAttach method
2014-06-09 15:14:48 -07:00
Corey Johnson
e8b6fb919e
Add shim for ReactEditorView::redraw
2014-06-09 15:06:49 -07:00
Ben Ogle
2087426afc
Specs for decorationsForBufferRow
2014-06-09 15:05:43 -07:00
Kevin Sawicki
b703ca0ebf
Upgrade to markdown-preview@0.76
2014-06-09 15:04:32 -07:00
Corey Johnson
601c877136
Add pageDown/pageUp to ReactEditorView
2014-06-09 14:46:47 -07:00
Ben Ogle
6c609cb7d2
Revert "Move setImmediate into requestUpdate; Batch updates"
...
This reverts commit ad522e6ab1 .
2014-06-09 14:45:43 -07:00
Corey Johnson
31d7110bba
Remove getPageRows from API
2014-06-09 14:42:47 -07:00
Ben Ogle
ad522e6ab1
Move setImmediate into requestUpdate; Batch updates
2014-06-09 14:40:59 -07:00
Ben Ogle
e59f242f19
Move click gutter into the GutterComponent
2014-06-09 14:11:41 -07:00
Ben Ogle
bae625a894
Add spec for when lines become foldable
2014-06-09 14:04:24 -07:00
Ben Ogle
b5532ee4a3
💄 spec
...
Use the event system to click on the gutter
2014-06-09 14:04:24 -07:00
Ben Ogle
31b4b7a372
Speed up decoration removal and use less temp objects.
2014-06-09 14:04:24 -07:00
Ben Ogle
1a1ed56419
Oh man. Render only once!
2014-06-09 14:04:24 -07:00
Ben Ogle
13be8d5139
Add a cursor-line decoration to the gutter
2014-06-09 14:04:24 -07:00
Ben Ogle
312901ff68
Use decorations for folds.
...
They are more efficient when re-rendering.
2014-06-09 14:04:24 -07:00
Ben Ogle
346b6007ca
Allow for typeless decorations that apply to everything
...
If you are querying for `type: ‘gutter’` it will return the typeless
decorations as well.
2014-06-09 14:04:24 -07:00
Ben Ogle
a8df77243c
Fix spec
...
I changed the width of the gutter in b0af7cfc12729e9ef1320c0b178cc024bc0e60cc
16 characters is still within the break range of the word 'wraps'
2014-06-09 14:04:23 -07:00
Ben Ogle
f30641da44
💄 Remove log line.
2014-06-09 14:04:23 -07:00
Ben Ogle
049531e495
Add comment
2014-06-09 14:04:23 -07:00
Ben Ogle
e8594ccec4
💄 Change var names for consistency
2014-06-09 14:04:23 -07:00
Ben Ogle
65ab436da2
API docs
2014-06-09 14:04:23 -07:00
Ben Ogle
e7bd8026d2
Deprecate old class functions
2014-06-09 14:04:23 -07:00
Ben Ogle
d9e731c84a
Update styles on the foldable icons
2014-06-09 14:04:23 -07:00
Ben Ogle
8e1e5a3760
Add ability to click the fold icons
2014-06-09 14:04:23 -07:00
Ben Ogle
02594e3f7a
💄 Use for loops
2014-06-09 14:04:23 -07:00
Ben Ogle
da5bf6c74c
Defensive on the decorations
2014-06-09 14:04:23 -07:00
Ben Ogle
5cd8f5952f
Make editor push decorator updates to the gutter
2014-06-09 14:04:23 -07:00
Ben Ogle
1b8be75a76
Add specs for the editor interface
...
for decorations in ranges and associated with markers
2014-06-09 14:04:23 -07:00
Ben Ogle
235180cf03
Add specs for fold rendering
2014-06-09 14:04:23 -07:00
Ben Ogle
a13990155f
Use setImmediate rather than setTimeout
2014-06-09 14:04:23 -07:00
Ben Ogle
a72f11594d
💄 remove decoratorType instance var
2014-06-09 14:04:23 -07:00
Ben Ogle
86d7a45a78
Remove the comment about overlap
...
Turns out it’s already dealing with overlap by not emitting events
when there is an overlap.
2014-06-09 14:04:22 -07:00
Ben Ogle
a229d696d5
Add addDecorationForBufferRowRange and related remove
2014-06-09 14:04:22 -07:00
Ben Ogle
ef6ca3853d
💄
2014-06-09 14:04:22 -07:00
Ben Ogle
9e86d5f5f1
💄 Clean up based on feedback
2014-06-09 14:04:22 -07:00
Ben Ogle
3ef91c61d9
Add api for getStartBufferPosition and related fns
2014-06-09 14:04:22 -07:00
Ben Ogle
5bae58eeb1
Clean up specs based on feedback.
2014-06-09 14:04:22 -07:00
Ben Ogle
6ce859774a
Name changes
2014-06-09 14:04:22 -07:00
Ben Ogle
fa4a6e2d71
Nof
2014-06-09 14:04:22 -07:00
Ben Ogle
9ee54801a2
Implement removeDecorationsForMarker
2014-06-09 14:04:22 -07:00
Ben Ogle
79578e08ab
Specs for marker decorations
2014-06-09 14:04:22 -07:00
Ben Ogle
732e23b8ea
Add initial addDecorationForMarker()
2014-06-09 14:04:22 -07:00
Ben Ogle
d51894103d
Debounce the rendering of decorations
2014-06-09 14:04:22 -07:00
Ben Ogle
eb59196c02
Rendering decorations works well.
...
Also specs.
2014-06-09 14:04:22 -07:00
Ben Ogle
142eedd705
Renders decoration changes.
2014-06-09 14:04:22 -07:00
Ben Ogle
77d269c6d9
Beginning of decorations
2014-06-09 14:04:22 -07:00
Ben Ogle
b23009a8f3
fold classes work
2014-06-09 14:04:21 -07:00
Corey Johnson
84de8c1bfd
Move benchmark code to the end of the editor component
2014-06-09 14:01:45 -07:00
Kevin Sawicki
6a9faee109
Prepare 0.104 release
2014-06-09 14:01:14 -07:00
Corey Johnson
4d6737230a
Remove unused mousewheel event spec
2014-06-09 13:55:19 -07:00
Corey Johnson
362f696e3e
Add setFontFamily and setFontSize to ReactEditorView
2014-06-09 13:51:00 -07:00
Corey Johnson
677d3abe0e
Add ::getFontFamily
2014-06-09 13:51:00 -07:00
Corey Johnson
c78f9137cc
Make method style consistent with the rest of the file
2014-06-09 13:51:00 -07:00
Nathan Sobo
d8d378e083
Revert "Upgrade space-pen now that problem with 3.2.4 is fixed"
...
This reverts commit 7dcafb44f1 .
2014-06-09 13:58:09 -06:00
Nathan Sobo
8cf9e1990b
Add ReactEditorView::getModel shim
2014-06-09 13:47:36 -06:00
Nathan Sobo
e9f116a14e
Request update when cursors move outside of a batch update
2014-06-09 13:32:42 -06:00
Nathan Sobo
b2253ab7ce
Add ReactEditorView::insertText shim
2014-06-09 13:32:42 -06:00
Nathan Sobo
fc5dc46e73
Make dummy line number have a buffer row of -1
...
This prevents accidentally returning the dummy line number when asking
for line numbers for buffer row 0 using shim code.
2014-06-09 13:32:42 -06:00
Corey Johnson
cb9d488a1e
Upgrade to spell-check@0.37.0
2014-06-09 11:20:45 -07:00
Kevin Sawicki
389b5c7891
Remove script/install-cli
...
The CommandInstaller class now has native module dependencies that are
compiled with apm so invoking it directly from node is no longer possible.
This can still be done using the grunt install task.
Closes #2555
2014-06-09 11:02:26 -07:00
Ben Ogle
6bf97f7a1a
Upgrade to find-and-replace@0.114.0
2014-06-09 10:57:31 -07:00
Corey Johnson
d0639393ca
0.103.0
2014-06-09 09:53:20 -07:00
Kevin Sawicki
7ae6cba337
Upgrade to tree-view@0.98
2014-06-09 09:32:06 -07:00
Kevin Sawicki
a3e85d6758
Upgrade to first-mate 1.7
2014-06-09 09:18:58 -07:00
Kevin Sawicki
decce0e3a1
Merge pull request #2561 from batjko/master
...
Add classic copy/paste to Linux and Win32 keymaps
2014-06-09 09:06:18 -07:00
batjko
aa2868efbf
Classic copy/paste added to Linux and Win32
...
Ctrl+Insert: Copy
Shift+Insert: Paste
2014-06-09 14:39:00 +01:00
Nathan Sobo
8521114c08
Fix failures associated with not passing focused: true on pane splits
2014-06-09 17:09:02 +09:00
Nathan Sobo
43b5a9cfd0
Don't set focused: true on new pane when splitting
...
This causes the active item to change in the model before the associated
view can be added, which causes problems with the ReactEditorView having
methods called on it before its afterAttach hook creates the component.
We call Pane::activate subsequently unless activation is suppressed,
which will focus the pane anyway, so this was redundant.
2014-06-09 16:48:51 +09:00
Nathan Sobo
4387e16496
Emit selection:changed events if editor is alive after update
2014-06-09 16:13:09 +09:00
Nathan Sobo
6f3ebe8d0c
Add ReactEditorView::hiddenInput shim
2014-06-09 15:16:38 +09:00
Nathan Sobo
c972d9b022
Get invisibles from component state
2014-06-09 15:11:16 +09:00
Nathan Sobo
b1563fdfc0
Destroy item's of last pane even if the pane itself is not destroyed
...
We always want to preserve at least one pane, so we don't call destroy
on the pane if it is the last pane. However, we still want to destroy
its items. This was previously relying on the view to destroy the
underlying item, which isn't as reliable as doing it in the model.
2014-06-09 15:04:51 +09:00
Nathan Sobo
a2c41a2ae3
Don't use the react editor in EditorView specs
2014-06-09 14:52:56 +09:00
Nathan Sobo
21623b9c37
Merge branch 'master' into cj-add-react-editor-shims
...
Conflicts:
package.json
2014-06-09 11:56:13 +09:00
Nathan Sobo
7dcafb44f1
Upgrade space-pen now that problem with 3.2.4 is fixed
2014-06-09 11:01:06 +09:00
Ivan Žužak
f9c975bba7
Add debugging guide to list of guides
2014-06-07 11:45:25 +02:00
Cheng Zhao
1c6f7b00eb
Merge pull request #2524 from atom/atom-shell-v0.13.0
...
Support 32bit build on Linux
2014-06-07 15:25:57 +08:00
Cheng Zhao
fc1709f113
📝 Mention 32bit arch is supported.
2014-06-07 14:09:03 +08:00
Cheng Zhao
35c2ef09a0
Support generating i386 deb file.
2014-06-07 14:09:03 +08:00
Cheng Zhao
dbbf310e36
Upgrade to atom-shell@0.13.0
2014-06-07 14:09:03 +08:00
Cheng Zhao
ee1c17d787
Upgrade to grunt-download-atom-shell@0.8.0
2014-06-07 14:09:03 +08:00
Nathan Sobo
fe3ea229a2
Prevent focus loss on double click without breaking single click focus
...
Previously, we stopped propagation on mousedown events to prevent
certain cases where focus was being lost after double clicking to select
a word.
Unfortunately, this also broke the ability to focus the editor by
clicking it. When investigating this, I noticed that whenever we lost
focus, the target of the mousedown event was always the cursor. So I
tried setting `pointer-events: none` on cursors and can no longer
reproduce the double-click issue.
/cc @probablycorey
2014-06-07 12:37:40 +09:00
Ben Ogle
381ebe1a38
Upgrade to solarized-dark-syntax@0.17.0
2014-06-06 17:22:21 -07:00
Kevin Sawicki
965a65d6f8
Upgrade to language-sass@0.13
2014-06-06 11:51:46 -07:00
Kevin Sawicki
25b641125d
📝 Remove Weird Stuff
2014-06-06 11:04:01 -07:00
Kevin Sawicki
53aff00218
Merge pull request #2529 from strugee/master
...
Add troubleshooting long path issues for Windows
2014-06-06 11:02:59 -07:00
Kevin Sawicki
9f8e1fbb80
Upgrade to image-view@0.34
2014-06-06 10:53:51 -07:00
Kevin Sawicki
5e7a26dc9d
Prepare 0.102 release
2014-06-06 10:42:40 -07:00
Kevin Sawicki
7ca6277403
Upgrade to apm 0.68
2014-06-06 10:28:04 -07:00
Kevin Sawicki
774e86da8d
Upgrade to bracket-matcher@0.43
2014-06-06 09:55:11 -07:00
Kevin Sawicki
893d349594
Upgrade to apm 0.67
2014-06-06 09:27:04 -07:00
Kevin Sawicki
f7d18154e7
Upgrade to markdown-preview@0.74
2014-06-06 09:15:15 -07:00
Kevin Sawicki
4f5098f0a3
Upgrade to language-gfm@0.39.0
2014-06-06 09:13:17 -07:00
Kevin Sawicki
e04c6b4732
Upgrade to language-c@0.16.0
2014-06-06 09:04:08 -07:00
Kevin Sawicki
f31cc1b0da
Return early when skipping remove command
2014-06-06 08:58:34 -07:00
Kevin Sawicki
3b6711d83d
Only spawn removed command for paths that exist
...
Prevents errors being logged when trying to remove folders that
don't exist on Windows.
2014-06-06 08:56:13 -07:00
Corey Johnson
776e8a308c
Merge pull request #2522 from atom/cj-fix-react-double-click-bug
...
Fix unresponsive text input after double-clicking
2014-06-06 08:54:44 -07:00
Kevin Sawicki
d62ac36062
Merge pull request #2531 from radum/master
...
better script/clean removal for windows
2014-06-06 08:52:39 -07:00
Kevin Sawicki
1734182191
Upgrade to atom-package-manager@0.66
2014-06-06 08:45:09 -07:00
probablycorey
e0b54d8501
Use proper variable name
2014-06-06 08:06:16 -07:00
Nathan Sobo
2f3d74c047
Merge branch 'master' into cj-add-react-editor-shims
...
Conflicts:
src/react-editor-view.coffee
2014-06-06 23:59:54 +09:00
Nathan Sobo
66661f2d10
Make cursor visible when .editor-contents is focused
2014-06-06 23:58:39 +09:00
Nathan Sobo
cae5cdc81c
Put the .editor class on the wrapper, not the component
...
Things depend on the react editor wrapper having the .editor class,
but inside the editor, we can control the style. I changed the
component's div to be .editor-contents for now. We can eliminate this
extra style when we eliminate the wrapper.
2014-06-06 23:52:35 +09:00
karlin
2f45685a06
remove focused describes
2014-06-06 08:40:15 -04:00
karlin
8577bf9a4c
select to beginning of next or previous paragraph commands
2014-06-06 08:37:59 -04:00
Radu Micu
8e6dcf43b0
better script/clean removal for windows
...
Now `script/clean` uses `del /F /Q /S` to cleanup the folders but `del /S` deletes specified files from all subdirectories, so if we pass a folder as a parameter it will only delete the files within the folder and all subfolders recursively but not the actual folders. And this can cause problems, see Issue #2487
A better way is to use `rmdir /S /Q` as it takes care of the folder itself and it's contents.
/S - removes all directories and files in the specified directory in addition to the directory itself. (removes the directory tree)
/Q - obvious this is quite mode
I tested this approach on a couple machines that needed a clean before building and works OK with `rmdir`. It might give a warning in the console like `The system cannot find the file specified.` because not all of them are there but it can be ignored as the script will finish running.
2014-06-06 11:26:43 +01:00
Alex Jordan
15bb3ee31d
add troubleshooting long path issues for Windows
2014-06-06 01:04:23 -07:00
Nathan Sobo
2234ff78c7
Include line-number class for backward compatibility
2014-06-06 16:54:28 +09:00
Nathan Sobo
fca6a7758b
Don't run afterAttach hooks twice on ReactEditorView
2014-06-06 16:46:14 +09:00
Nathan Sobo
7dae04b8d4
Add ReactEditorView::getText
2014-06-06 16:46:14 +09:00
probablycorey
7afb25cead
Remove semicolons
2014-06-05 17:57:25 -07:00
probablycorey
b0ddab842b
Stop mouseDown event from propagating.
...
Closes #2459
2014-06-05 17:22:12 -07:00
Kevin Sawicki
a2d08547b6
Downgrade to space-pen 3.2.0
...
CI had 243 failures after upgrading to 3.2.4
2014-06-05 17:06:48 -07:00
Kevin Sawicki
a6aa94110c
Upgrade to space-pen 3.2.4
2014-06-05 16:55:51 -07:00
Kevin Sawicki
8f5018f925
Merge pull request #2515 from atom/star-api-docs
...
📝 Add documentation for Atom.io Star API
2014-06-05 16:24:03 -07:00
Kevin Sawicki
a47feb9dd8
📝 Minor tweaks
2014-06-05 16:23:40 -07:00
Kevin Sawicki
9ef4ea180b
Upgrade to language-css@0.17
2014-06-05 16:13:05 -07:00
Kevin Sawicki
24be115cf6
Upgrade to language-php@0.15
2014-06-05 16:11:31 -07:00
Kevin Sawicki
d61504873a
Upgrade to solarized-dark-syntax@0.16
2014-06-05 16:10:44 -07:00
Kevin Sawicki
ae7047571f
Upgrade to atom-dark-syntax@0.16
2014-06-05 16:09:59 -07:00
Kevin Sawicki
40fdce9c00
Upgrade to solarized-light-syntax@0.8
2014-06-05 16:09:12 -07:00
Kevin Sawicki
d3ede06cad
Upgrade to language-ruby@0.27
2014-06-05 16:07:58 -07:00
Kevin Sawicki
31d25209a0
Upgrade to tree-view@0.97
2014-06-05 15:09:25 -07:00
Corey Johnson
d7ee81418d
Remove editor class form ReactEditorView, it is on EditorComponent
...
I couldn’t recreate the problem with activation events mentioned
https://github.com/atom/atom/commit/fa66689c07f3c64cdf338da1c9a034d06ec54f9c
2014-06-05 14:13:41 -07:00
Ivan Žužak
1d2ce26b81
Merge pull request #2502 from atom/iz-debugging-atom-docs
...
Add debugging guide
2014-06-05 22:22:36 +02:00
Corey Johnson
56095187e6
Only show the first 10 lines of a spec failure and its stacktrace
...
It is difficult to scroll through stack traces when there are huge
failure messages. This limits the length to 10 lines, if you hover
over the message it will expand.
Somewhat related to #1173
2014-06-05 11:36:58 -07:00
Corey Johnson
04e4b917b0
Only show the first 10 lines of a spec failure and its stacktrace
...
It is difficult to scroll through stack traces when there are huge
failure messages. This limits the length to 10 lines, if you hover
over the message it will expand.
Somewhat related to #1173
2014-06-05 11:36:26 -07:00
Kevin Sawicki
58af226359
Upgrade to apm 0.65
...
Closes #2516
2014-06-05 11:19:37 -07:00
Daniel Hengeveld
88cb7e2f96
'Returns package' -> 'Returns a package'
2014-06-05 11:14:34 -07:00
Daniel Hengeveld
728aacd3fb
📝 Add documentation for Atom.io Star API
2014-06-05 11:09:29 -07:00
Kevin Sawicki
4f56bc32dc
Upgrade to snippets@0.45
2014-06-05 10:50:45 -07:00
Kevin Sawicki
d16bd0d7eb
💄
2014-06-05 10:09:27 -07:00
Kevin Sawicki
b6fc17e363
Mention sudo might be required for npm config
...
This will depend on how you've installed and configured npm in the
PATH
Refs #2342
2014-06-05 09:59:44 -07:00
Kevin Sawicki
b6056a44e2
Merge pull request #2506 from Bengt/patch-1
...
Add concrete install instructions for Fedora Linux
2014-06-05 09:56:02 -07:00
Kevin Sawicki
6ce4efa3ce
Upgrade to apm 0.64
2014-06-05 09:45:44 -07:00
Kevin Sawicki
0c0f143f91
Only print python version when checked
2014-06-05 08:53:02 -07:00
Ben Ogle
2a5ac13e4c
Merge pull request #2510 from wulftone/patch-2
...
Add alt-# shortcuts for pane switching in linux
2014-06-04 22:12:33 -07:00
Trevor Bortins
6cc6c81493
Update linux.cson
2014-06-04 22:11:29 -07:00
Trevor Bortins
a215cd77ed
Add alt-# shortcuts for pane switching
2014-06-04 22:06:57 -07:00
Kevin Sawicki
ddad8ef45c
Merge pull request #2508 from onkrot/master
...
Changing mkdeb script
2014-06-04 20:34:58 -07:00
onkrot
c1ce1e624d
Changing mkdeb script
2014-06-05 09:29:01 +06:00
Kevin Sawicki
d611dbb36a
Upgrade to language-sass@0.12
2014-06-04 20:27:38 -07:00
Nathan Sobo
2ee2efeb84
Add ReactEditorView::isFocused shim
2014-06-05 12:07:52 +09:00
Nathan Sobo
367e429162
Add ReactEditorView::setText
2014-06-05 12:03:56 +09:00
Nathan Sobo
8417dfd10e
Add the ReactEditorView::updateDisplay shim
2014-06-05 12:01:09 +09:00
Nathan Sobo
15d1c5f992
Add ReactEditorView::setWidthInChars shim
2014-06-05 11:59:02 +09:00
Nathan Sobo
e0b1a0cfa7
Add ReactEditorView::getFontSize
2014-06-05 11:58:48 +09:00
Nathan Sobo
cfd9baa0d6
Use Editor::getVisibleRowRange instead of the rendered row range
...
The rendered row range is larger than the visible row range to force the
DOM to break up repaints. This is a more accurate method to us.
2014-06-05 11:54:28 +09:00
probablycorey
1d80c35708
Add active property
2014-06-04 17:33:49 -07:00
probablycorey
ad88ace448
Add getFirstVisibleScreenRow and getFirstVisibleScreenRow
2014-06-04 17:18:00 -07:00
probablycorey
a6d870bf4c
Add underlayer an overlayer classes to the correct elements
2014-06-04 16:32:50 -07:00
Bengt Lüers
646d8a5966
Add concrete install instructions for Fedora Linux
2014-06-05 01:05:57 +02:00
Kevin Sawicki
7be8bd7118
Upgrade to settings-view@0.119
2014-06-04 14:55:45 -07:00
Kevin Sawicki
e98b43e479
Upgrade to language-python@0.18
2014-06-04 14:52:40 -07:00
Corey Johnson
c167166add
Merge pull request #2457 from atom/cj-add-python-check
...
Create requirement verifier for script/bootstrap
2014-06-04 14:43:30 -07:00
Kevin Sawicki
68964f1ca1
🏁 Don't crash when closing spec window
...
Focusing the window during the blur event that fires when the
window is closed currently crashes the app on Windows.
Closes #2485
2014-06-04 14:33:39 -07:00
probablycorey
fbcb152107
Reorder if/else check
2014-06-04 14:07:59 -07:00
Kevin Sawicki
c51ede98fc
🐧 Use ctrl-alt-shift-p for logging cursor scopes
2014-06-04 14:01:33 -07:00
probablycorey
51183f4be5
Use process.exit
2014-06-04 13:14:00 -07:00
Kevin Sawicki
bf16527aa6
🏁 Use ctrl-alt-shift-p for logging
...
Previously this was bound to both log cursor specs and run package
specs and run package specs seemed to be a more valuable and commonly
run command.
2014-06-04 13:10:59 -07:00
Ivan Zuzak
2cce36694d
Add second part of the debugging guide
2014-06-04 22:07:44 +02:00
Kevin Sawicki
11fbb33a24
Upgrade to find-and-replace@0.113
2014-06-04 12:50:21 -07:00
probablycorey
2e5c844d46
Use childProcess directly
2014-06-04 12:44:51 -07:00
probablycorey
0b088e8b72
💄
2014-06-04 12:34:18 -07:00
probablycorey
1479197ffb
Add better python error message
2014-06-04 12:32:14 -07:00
probablycorey
c79c7b7a98
Make all verify requirements methods take callbacks
...
This moves the error handling to bootstrap and also allows us to
display a success message.
2014-06-04 12:16:16 -07:00
Kevin Sawicki
dfb72c287b
Upgrade to find-and-replace@0.112
2014-06-04 11:59:22 -07:00
Kevin Sawicki
1db983a0a0
Upgrade to apm 0.62
2014-06-04 11:46:01 -07:00
probablycorey
3ead596a5d
Assume the PYTHON env points to python.exe
2014-06-04 11:44:52 -07:00
Kevin Sawicki
b8a2139c05
Upgrade to jasmine-tagged 1.1.2
2014-06-04 11:29:27 -07:00
probablycorey
99af9e2c33
Update error messages
2014-06-04 11:10:14 -07:00
probablycorey
b7bd11a883
Reuse pythonExecutable variable
2014-06-04 11:09:50 -07:00
probablycorey
1ac40b2673
Mimic Atom’s if/else style convention
2014-06-04 10:55:10 -07:00
probablycorey
5434a26636
Rename postVerification method to bootstrap
2014-06-04 10:53:05 -07:00
probablycorey
50445a73bd
Merge branch 'jugglingnutcase-exec-python-for-version' into cj-add-python-check
2014-06-04 10:48:47 -07:00
Kevin Sawicki
ff9c031f57
Use path.join instead of path.resolve
...
Applies commit 41ab48b to spec-bootstrap.coffee
2014-06-04 10:01:45 -07:00
Kevin Sawicki
c1ebbf36be
Add missing l to global
2014-06-04 09:52:20 -07:00
Kevin Sawicki
8717547db4
Normalize resource path in remaining locations
2014-06-04 09:45:27 -07:00
Kevin Sawicki
e99996d5b4
Match backslashes in stack traces on Windows
2014-06-04 09:38:13 -07:00
Kevin Sawicki
7c4a32fffa
Normalize resource path in AtomWindow constructor
2014-06-04 08:46:40 -07:00
Ivan Žužak
196729e6d2
Issue reports should include Atom version and OS
2014-06-04 17:31:11 +02:00
Ivan Žužak
db94aa94eb
Mention how to get the full stack trace for errors
2014-06-04 17:22:55 +02:00
Ivan Žužak
f670673baf
Move explanation for unset! example into the text
2014-06-04 17:11:42 +02:00
Ivan Zuzak
f5bd6a6baf
first part of debugging guide
2014-06-04 16:56:09 +02:00
Ivan Žužak
9e20cefd4b
Add example for unset! directive
2014-06-04 16:33:22 +02:00
Nathan Sobo
fa66689c07
Add .editor class to react wrapper for package activation events
2014-06-04 21:07:13 +09:00
Nathan Sobo
905b28975e
Add split methods
2014-06-04 21:06:41 +09:00
Nathan Sobo
7e5f667b31
Don't assume ::component is defined
2014-06-04 21:06:27 +09:00
Nathan Sobo
f103e72c01
Remove exceptions related to unassigned lineHeight
...
These exceptions break specs when simulateDomAttachment is used. They
were only present to ensure correct sequencing during development of the
react editor, so it's safe to remove them for now.
2014-06-04 21:05:29 +09:00
Nathan Sobo
6cba6af743
Temporary: Enable react editor for specs on this branch so we get CI feedback
2014-06-04 19:18:54 +09:00
Nathan Sobo
eeb44407e3
Add ReactEditorView::getModel
2014-06-04 19:15:56 +09:00
Nathan Sobo
68df603512
Upgrade space-pen to make $.fn.view work with nodes appended w/o jQuery
...
The autosave package uses $.Event.targetView on a node that's managed
by React. This upgrade to SpacePen allows us to retrieve the containing
SpacePen view.
2014-06-04 19:15:56 +09:00
James R Sconfitto
3f8d7d54cf
🏁 Verify python version for build
...
References:
https://github.com/TooTallNate/node-gyp/blob/56dcb889091a6a0594854ccc517e498b21078d5f/lib/configure.js
2014-06-03 22:20:33 -04:00
Kevin Sawicki
b5703ff57a
Normalize resource path before creating app
...
This ensures the drive letter case is consistent with the format
used by require.
2014-06-03 17:40:08 -07:00
Kevin Sawicki
f97db691c3
Add back core spec require
...
This was accidentally deleted in #2462
2014-06-03 17:26:02 -07:00
Kevin Sawicki
41ab48bc6e
Use path.join instead of path.resolve
...
This ensures the case of the path is consistent with how require resolves
paths.
Closes #2486
2014-06-03 17:19:00 -07:00
Corey Johnson
087b52c9b4
Remove unnecessary append method.
2014-06-03 17:13:23 -07:00
Corey Johnson
18f7297968
Use actual property for overlayer
2014-06-03 17:12:56 -07:00
Corey Johnson
3cd34e0b4d
Add gutter.getLineNumberElement shim
2014-06-03 15:25:26 -07:00
Kevin Sawicki
ae1b640725
Upgrade to pathwatcher 1.3.2
2014-06-03 15:14:24 -07:00
Corey Johnson
25e3e46166
Make overlayer a property
2014-06-03 14:57:46 -07:00
Kevin Sawicki
dc49875af9
Upgrade to underscore-plus 1.4.1
2014-06-03 14:57:21 -07:00
Kevin Sawicki
a36454c86c
Upgrade to underscore-plus 1.4
2014-06-03 14:42:28 -07:00
Kevin Sawicki
8fa68c488d
Upgrade to spell-check@0.36
2014-06-03 14:42:12 -07:00
Corey Johnson
2c84d69ff2
Add overlayer shim
2014-06-03 14:40:30 -07:00
Corey Johnson
3fb28803b5
Add append shim
2014-06-03 14:40:17 -07:00
Kevin Sawicki
a25cf0a899
Upgrade to bracket-matcher@0.42
2014-06-03 12:47:15 -07:00
Kevin Sawicki
6e1efdf2ee
Check for that grunt command exists before spawning
2014-06-03 12:10:37 -07:00
Corey Johnson
8e095d7b5b
Merge pull request #2164 from steffengy/fix-indent
...
Fix indenting of HTML tags for instance. Fix #1294
2014-06-03 12:01:44 -07:00
Ivan Žužak
9899e7f2e3
Merge pull request #2493 from atom/iz-update-build-docs
...
Add links to build error reports in build docs
2014-06-03 20:45:58 +02:00
Ivan Zuzak
a62a0f4bb7
add links to build error reports in build docs
2014-06-03 20:38:38 +02:00
Corey Johnson
dac792a243
Remove .editor class from ReactEditorView
...
ReactEditorView and EditorComponent were using the editor class. This
caused context menus that used `.editor` as the selector to display
twice.
2014-06-03 11:36:55 -07:00
Kevin Sawicki
31b3d8f967
Add missing require
2014-06-03 11:06:02 -07:00
Ben Ogle
55fb816998
Upgrade to base16-tomorrow-dark@0.16.0
2014-06-03 10:58:31 -07:00
Corey Johnson
ce527aea10
Pull out menu item building into seperate method
2014-06-03 10:51:46 -07:00
Kevin Sawicki
a7a9301f25
Quote all arguments to cmd.exe
...
This is required since the command or arguments may have spaces that will
be interpreted as separate arguments unless quotes surround it.
Closes #2231
Closes atom/symbols-view#37
2014-06-03 10:50:00 -07:00
Corey Johnson
0f551d4b11
Add expectations to context-menu specs
2014-06-03 10:44:45 -07:00
Corey Johnson
35a7bb115d
Fix context-menu specs
2014-06-03 10:44:45 -07:00
Kevin Sawicki
553abc2009
Merge pull request #2492 from p-e-w/linux-dev-tools-keybinding
...
🐧 Make "Developer Tools" key binding match Chrome
2014-06-03 10:37:43 -07:00
Philipp Emanuel Weidmann
0ad1aeea43
🐧 Make "Developer Tools" key binding match Chrome
2014-06-03 19:31:32 +02:00
Corey Johnson
7e52c86095
📝 Update context menu doc
2014-06-03 10:25:12 -07:00
Corey Johnson
950338ed22
Fix linter errors
2014-06-03 10:17:53 -07:00
Corey Johnson
8ed3b7a250
Merge pull request #2134 from erikhakansson/AdvancedContextMenu
...
Advanced context menu
2014-06-03 10:13:37 -07:00
Ivan Žužak
390c36ca15
Upgrade to tree-view@0.96.0
2014-06-03 18:56:28 +02:00
Ivan Žužak
1df2e50bbf
Upgrade to settings-view@0.118.0
2014-06-03 15:30:19 +02:00
Nathan Sobo
749dba1ac7
Prevent LinesComponent from updating on simple cursor movement
2014-06-03 19:23:19 +09:00
Nathan Sobo
a28566a559
Add ScrollbarCornerComponent::shouldComponentUpdate
2014-06-03 19:18:14 +09:00
Nathan Sobo
64f1c8b80e
Merge pull request #2481 from atom/ns-react-clean-up-measurement
...
Fix cursor and selection positioning when changing line height, font size, and font family
2014-06-03 19:15:40 +09:00
Nathan Sobo
b47f6265c7
Move gutter width measurement into EditorComponent
2014-06-03 18:30:24 +09:00
Nathan Sobo
9511c952af
💄
2014-06-03 18:19:11 +09:00
Nathan Sobo
be0877327e
Kill comment
2014-06-03 18:18:53 +09:00
Nathan Sobo
3134bfda95
Update selections when the font size or font family change
2014-06-03 17:43:57 +09:00
Nathan Sobo
1c177aa206
Add spec for cursor position updates when the font family changes
2014-06-03 17:43:57 +09:00
Nathan Sobo
ec65def5d3
Add spec for cursor position updates when the font size changes
2014-06-03 17:43:57 +09:00
Nathan Sobo
3aefa53b33
Batch together line and character width measurement after font changes
...
This ensures we only perform a single update with the most up-to-date
information about line height, default character width, and specific
character widths. If this update causes more lines to be drawn we may
measure again, but not necessarily.
2014-06-03 17:43:56 +09:00
Nathan Sobo
4fd07a4cf3
Subscribe to scroll view DOM events in ::listenForDOMEvents
2014-06-03 17:43:56 +09:00
Nathan Sobo
03463da729
Allow Editor::batchUpdates calls to be nested
2014-06-03 17:43:56 +09:00
Nathan Sobo
1cc5ef3479
Update selections when the line height changes
2014-06-03 17:43:56 +09:00
Nathan Sobo
77f78d0a11
Update cursors component if the defaultCharWidth changes
2014-06-03 17:43:56 +09:00
Nathan Sobo
8f98f2368b
Base gutter updates on defaultCharWidth instead of fontSize/Family
2014-06-03 17:43:56 +09:00
Nathan Sobo
f467e3eed4
Move decision to measure lineHeight/charWidths to EditorComponent
...
This prevents the double-update of the lines component when changing
the font-size, line-height and font-family. We detect the update of
these values in the root component and trigger a measurement. If the
measurement determines that the pixel values have changed, *then* we
update the lines.
2014-06-03 17:43:56 +09:00
Nathan Sobo
3052fe3f3b
Update cursors when the line height in pixels changes
2014-06-03 17:43:56 +09:00
Nathan Sobo
1bce626324
Compute ranges of cursors & selections in EditorComponent and pass down
...
Previously, SelectionsComponenet::shouldComponentUpdate was storing the
ranges for selections as a side effect. We also were passing boolean
values (cursorMoved and selectionUpdated) to determine if these
components should update.
Now, we compute a simple hash of screen ranges for selections and
cursors in the root component and pass them down. This simplifies
shouldComponentUpdate for selections and allows us to implement one
for cursors.
2014-06-03 17:43:55 +09:00
Nathan Sobo
e222998f82
Only compare screenRow to mouseWheelScreen row when it is defined
...
Fixes #2482
2014-06-03 17:43:35 +09:00
Kevin Sawicki
2aca16dc6b
Upgrade to language-hyperlink@0.10
2014-06-02 21:38:26 -07:00
Kevin Sawicki
653a2623bf
🏁 bind ctrl-alt-up-down to adding selections
2014-06-02 15:59:13 -07:00
Kevin Sawicki
03ce9e0ec8
Upgrade to symbols-view@0.55
2014-06-02 15:58:56 -07:00
Kevin Sawicki
0245ec28eb
Always handle resolving absolute URIs
2014-06-02 15:45:47 -07:00
Kevin Sawicki
94f86cb461
Don't resolve uris when project has not path
2014-06-02 15:41:05 -07:00
Kevin Sawicki
b4871fddfb
Upgrade to release-notes@0.32
2014-06-02 14:21:54 -07:00
Kevin Sawicki
a598dcc259
🏁 Match Chrome's Settings menu item
2014-06-02 13:51:38 -07:00
Kevin Sawicki
918c86476c
Check for href attribute on currentTarget
...
This makes clicking on images wrapped in anchor tags open correctly.
2014-06-02 13:35:18 -07:00
Kevin Sawicki
4d65a220e2
Add support for a ATOM_DEV_RESOURCE_PATH env var
...
This is helpful on windows to set a default dev resource path that
isn't ~/github/atom since on Windows it is common to clone Atom to C:\atom
2014-06-02 12:38:33 -07:00
Ben Ogle
7697f19c3d
Merge pull request #2474 from atom/bo-add-shift-keymaps
...
Add missing shift-backspace and shift-delete bindings
2014-06-02 10:58:02 -07:00
Kevin Sawicki
6ad6409efe
Merge pull request #2462 from atom/ks-windows-spec-fixes
...
Get core specs green on Windows
2014-06-02 10:25:09 -07:00
Kevin Sawicki
b6fcc35131
Write removed file to temp directory
2014-06-02 10:17:13 -07:00
Kevin Sawicki
bd873dc851
Upgrade to first-mate@1.6.1
2014-06-02 10:17:13 -07:00
Kevin Sawicki
4c2931f6b5
Use forward slash on all platforms
...
Paths are normalized by git-utils to use / on all platforms
2014-06-02 10:17:13 -07:00
Kevin Sawicki
1704c78eea
Enable core specs when run outside of clone repo
...
The failing specs have been updated so that specs
can now run without the requirement of a Git repository
at the root.
2014-06-02 10:17:13 -07:00
Kevin Sawicki
bcad8c1b3e
Remove # which is interpreted as a tag
...
This spec was not running because of it since
jasmine-tagged is configured to filter tags by
process.platform
2014-06-02 10:17:13 -07:00
Kevin Sawicki
81d9193bf4
Copy repository to temp folder
2014-06-02 10:17:13 -07:00
Kevin Sawicki
7514f70434
Set project path to temp working directory
2014-06-02 10:17:13 -07:00
Kevin Sawicki
12a8688a9b
Copy repository in remaining specs
2014-06-02 10:17:13 -07:00
Kevin Sawicki
0524a724e1
Move fixtures into repo
2014-06-02 10:17:13 -07:00
Kevin Sawicki
805c7ae301
💄
2014-06-02 10:17:13 -07:00
Kevin Sawicki
3f3dabed41
Remove spec completely tested in git-utils library
2014-06-02 10:17:13 -07:00
Kevin Sawicki
516035a82c
Add copyRepository helper
2014-06-02 10:17:12 -07:00
Kevin Sawicki
08686ee769
Use temp directory in isPathNew/Modified specs
2014-06-02 10:17:12 -07:00
Kevin Sawicki
5b479ad5f5
Use temp directory in checkoutHead specs
2014-06-02 10:17:12 -07:00
Kevin Sawicki
d4366aa09e
Pass element not jQuery object as target
...
Previously this was passing since ctrl-z was completely unbound at
this point which isn't the case on Windows.
2014-06-02 10:17:12 -07:00
Corey Johnson
3f549bbada
Merge pull request #2477 from atom/ns-react-remove-scroll-view-component
...
Merge EditorScrollViewComponent into EditorComponent
2014-06-02 08:02:49 -07:00
Nathan Sobo
1187d50b81
Fix inequality in LinesComponent::shouldComponentUpdate
...
Change objects from the display-buffer are currently end-row inclusive.
I'd like to fix this, but not until we switch editors.
2014-06-02 19:17:30 +09:00
Ben Ogle
a1d4c2a4c7
Upgrade to silarized-dark-syntax@0.15.0
2014-06-01 11:57:09 -07:00
Nathan Sobo
afe386ce40
💄 EditorComponent method order
2014-06-01 18:31:47 +09:00
Nathan Sobo
d31669c67f
Merge EditorScrollViewComponent into Editor
...
I don't think that this component was really carrying its weight. Its
render function basically passed through directly to other components
that updated between renders, but didn't contain any content on its
own that actually changed after the first render.
React components seem to carry overhead, so I want every component we
use to count. Also, I'm considering circumventing some of React's
standard update logic for performance reasons, and making the structure
more shallow will help with that.
2014-06-01 15:24:59 +09:00
Ben Ogle
5259a1ced4
Add missing shift-backspace and shift-delete bindings
2014-05-31 16:15:36 -07:00
steffen
437b0decab
Fix indenting of HTML (closing) tags for instance. Fix #1294
...
The indentation level is not anymore reduced by adding a new line,
which previously caused multiple reductions of the indentation level.
This fixes the behavior of HTML closing tags, which currently
"jump" backwards if you try to move them down.
2014-05-31 13:32:14 +02:00
Nathan Sobo
61ee1be2cb
Merge pull request #2463 from atom/ns-react-fix-duplicate-lines
...
Fix line duplication in React editor
2014-05-31 19:52:35 +09:00
Nathan Sobo
2548891b99
Clear the mousewheelScreenRow even if the event does not cause scrolling
...
If a mousewheel event is triggered when the editor can't be scrolled,
we still want to clear the mouseWheelScreenRow. This is typically done
when we stop scrolling, but if we never start scrolling it will never
happen. This commit adds another timeout to cover that case.
2014-05-31 18:36:59 +09:00
Nathan Sobo
115a7e1dfb
💄 Give mousewheel events their own describe block
2014-05-31 18:20:27 +09:00
Kevin Sawicki
5d2be8d5c5
Upgrade to apm 0.61
2014-05-30 17:39:49 -07:00
Kevin Sawicki
6d08ade20c
Upgrade to apm 0.60
2014-05-30 17:31:43 -07:00
Nathan Sobo
0043072ecf
Only preserve mouseWheelScreenRow if it's out of the rendered row range
...
Fixes #2429 , #2443
Otherwise, it's possible to duplicate lines. If a line is in the
rendered row range and it's not in the set of lines returned by the
editor, we should remove it no matter what. Line preservation is only
intended for lines that are out of view.
2014-05-31 08:56:57 +09:00
Nathan Sobo
89c57b6d52
Only set the mouseWheelScreenRow when scrolling vertically
...
When we handle a mousewheel event targeting a line or line number, we
assign the mousewheelScreenRow to prevent the removal of the target
node, which interferes with velocity scrolling.
However, the ::mousewheelScreenRow is only cleared 100ms after we stop
scrolling vertically. This means that if we're only scrolling
horizontally, it's never cleared. This causes the line node associated
with this screen row to hang around longer until the mousewheel screen
row is cleared again, which is not what we want.
This commit only assigns the ::mousewheelScreenRow when scrolling
vertically, so we can be sure it will be cleared.
2014-05-31 08:56:57 +09:00
Nathan Sobo
f2a08cd178
Update the lines and gutter when the mouseWheelScreenRow changes
2014-05-31 08:56:56 +09:00
Nathan Sobo
df524e4803
Fix bug in LinesCompoent::shouldComponentUpdate
2014-05-31 08:56:32 +09:00
Corey Johnson
b8c4b83653
Merge pull request #2461 from atom/cj-fix-data-gutter-add-class-to-line
...
Fix data gutter add class to line
2014-05-30 15:25:52 -07:00
probablycorey
2df2254227
Remove trailing semi-colon
...
I drank too much javascript today…
2014-05-30 15:10:44 -07:00
probablycorey
f4d256eef2
Use buffer row data attribute to find gutter lines
2014-05-30 15:05:15 -07:00
probablycorey
cb109dc09f
Add buffer-row data to gutter-component
2014-05-30 15:04:50 -07:00
Kevin Sawicki
919181067a
Upgrade to fuzzy-finder@0.54
2014-05-30 14:05:03 -07:00
Kevin Sawicki
48d252e118
Upgrade to find-and-replace@0.111.0
2014-05-30 13:11:11 -07:00
Kevin Sawicki
75a07ac722
Upgrade to dev-live-reload@0.31
2014-05-30 11:45:05 -07:00
Kevin Sawicki
e06bbfac6b
Remove unimplemented items from windows menu
2014-05-30 11:18:20 -07:00
probablycorey
4265cfc61e
Merge remote-tracking branch 'origin/master' into cj-add-python-check
2014-05-30 11:10:45 -07:00
probablycorey
57531d75fe
Add better python path description
2014-05-30 11:01:22 -07:00
Kevin Sawicki
5c1d9a6a2e
Upgrade to welcome@0.16.0
2014-05-30 10:59:22 -07:00
Ben Ogle
883009a3bd
Upgrade to atom-dark-ui@0.29.0
2014-05-30 10:53:54 -07:00
Kevin Sawicki
3ed5e64a01
Upgrade to welcome@0.15.0
2014-05-30 10:37:38 -07:00
probablycorey
0fdceb8474
Update bootstrap requires
2014-05-30 09:36:29 -07:00
probablycorey
041ec8c7cf
Use verifyRequirements in script/bootstrap
2014-05-30 09:31:53 -07:00
probablycorey
07e64152be
Add verify-requirements util
2014-05-30 09:31:42 -07:00
Kevin Sawicki
87d2e51adb
Upgrade to exception-reporting@0.18.0
2014-05-30 09:05:22 -07:00
Kevin Sawicki
30582c69e8
Merge pull request #2449 from jsomers/patch-1
...
Update os-x.md
2014-05-30 08:22:35 -07:00
James Somers
6e34562d94
Update os-x.md
...
With the original URL, git would throw this error:
```
fatal: unable to access 'https://github.com/atom/atom/ ': The requested URL returned error: 500
```
2014-05-29 22:05:00 -04:00
Kevin Sawicki
3da933372f
Upgrade to go-to-line@0.22
2014-05-29 18:16:10 -07:00
Kevin Sawicki
3601baeb80
Upgrade to markdown-preview@0.73
2014-05-29 16:49:52 -07:00
Kevin Sawicki
64b4adf6c8
Prepare 0.101.0 release
2014-05-29 15:33:05 -07:00
Corey Johnson
d2d63d3241
Merge pull request #2431 from atom/cj-add-tokenized-event
...
Use tokenized event to determine tab style
2014-05-29 15:19:14 -07:00
Corey Johnson
4840987082
Add overlayer class to ReactEditorView
...
Closed #2442
2014-05-29 15:16:48 -07:00
Corey Johnson
249a14704b
📝 Fix typo in docs
2014-05-29 15:16:43 -07:00
Kevin Sawicki
cf64d80abe
Upgrade to tabs@0.41
2014-05-29 15:14:14 -07:00
Ben Ogle
5e511ca6c6
Typo!
2014-05-29 15:02:58 -07:00
Kevin Sawicki
c4a547a9ea
Upgrade to bracket-matcher@0.41.0
2014-05-29 12:44:26 -07:00
Kevin Sawicki
b936e126da
Upgrade to atom-keymap 0.26
...
This added support for custom number pad keybindings so num-enter
is now mapped to the editor:newline command and the core:confirm
command.
2014-05-29 11:46:58 -07:00
Kevin Sawicki
5418e74fb9
Upgrade to bracket-matcher@0.40.0
2014-05-29 11:13:31 -07:00
Corey Johnson
40a2ed3703
Merge pull request #2364 from themaninthesuitcase/cp-projectRelativeTabPath
...
Update getLongTitle to be project relative
2014-05-29 09:51:45 -07:00
Kevin Sawicki
67c8de623d
Remove empty ca setting
...
npm 1.4 is a requirement now so this workaround is no longer needed.
2014-05-29 09:26:18 -07:00
Kevin Sawicki
bf7c14e6f3
Upgrade to first-mate 1.6
2014-05-29 09:14:21 -07:00
Kevin Sawicki
512a50814b
Upgrade to language-ruby@0.26.0
2014-05-29 09:04:15 -07:00
Kevin Sawicki
3c251dbe56
Upgrade to deprecation-cop@0.6
2014-05-29 08:51:20 -07:00
Kevin Sawicki
eae33be515
Upgrade to minidump 0.6
2014-05-28 20:19:26 -07:00
Kevin Sawicki
a343e4b9f7
Merge pull request #2432 from atom/ks-install-npm-in-build-folder-on-ci
...
Install npm in build folder on CI
2014-05-28 18:50:58 -07:00
Kevin Sawicki
5f359a4271
💄
2014-05-28 18:36:42 -07:00
Kevin Sawicki
ae1dd6e876
Add missing comma
2014-05-28 18:31:20 -07:00
Kevin Sawicki
d1bd2113bf
Install npm into build/ folder
2014-05-28 18:30:27 -07:00
probablycorey
c9ae9e11c1
Reword specs
2014-05-28 16:34:42 -07:00
Ben Ogle
b10b8d80ae
Upgrade find-and-replace@0.110.0
2014-05-28 16:34:11 -07:00
probablycorey
7f57a094f6
Determine softTab state after the buffer is tokenized.
2014-05-28 16:31:00 -07:00
probablycorey
b7df08cbdd
Add spec to re-emit the tokenized event when the grammar is changed
2014-05-28 16:10:02 -07:00
probablycorey
89dc5f26ad
Only emit the tokenized event after the first full tokenization
2014-05-28 15:56:08 -07:00
probablycorey
2c60b0463e
Use tokenized buffer created by editor
2014-05-28 15:46:26 -07:00
Ben Ogle
3093198662
Upgrade to background-tips@0.14.0
2014-05-28 15:31:35 -07:00
Ben Ogle
7b8ef2f6e3
Upgrade atom-light-ui@0.25.0
2014-05-28 14:58:16 -07:00
probablycorey
c56ac70181
Add tokenized event to tokenized buffer
2014-05-28 14:53:38 -07:00
Ben Ogle
d77c914fd8
Upgrade to atom-dark-ui@0.28.0
2014-05-28 14:52:46 -07:00
Ben Ogle
8e91e503c9
Upgrade atom-dark-ui@0.27.0
...
Close atom/tabs#51
2014-05-28 14:33:55 -07:00
Kevin Sawicki
97c9f05447
Upgrade to fuzzy-finder@0.53.0
2014-05-28 14:15:08 -07:00
Ben Ogle
2715bec4c8
Upgrade find-and-replace@0.109.0
2014-05-28 14:08:58 -07:00
Kevin Sawicki
45717d7431
📝 Correct typos
2014-05-28 14:01:45 -07:00
Kevin Sawicki
afd61a369b
📝 Pluralize method
2014-05-28 14:00:50 -07:00
Kevin Sawicki
86082d19e1
Upgrade to apm 0.59.0
2014-05-28 13:29:27 -07:00
erikhakan@gmail.com
b7d6825287
docs markdown
2014-05-28 22:10:49 +02:00
erikhakan@gmail.com
1fe13fbad8
updated docs
2014-05-28 22:08:51 +02:00
Kevin Sawicki
1f21e4178d
Upgrade to timecop@0.19.0
2014-05-28 13:04:38 -07:00
erikhakan@gmail.com
aef75238ec
added separator for submenu
2014-05-28 21:58:23 +02:00
Erik Håkansson
419b1ec348
Submenus now work with old context menu structure
2014-05-28 21:50:42 +02:00
Kevin Sawicki
bb31af5e8c
Upgrade to language-perl@0.9.0
2014-05-28 09:46:28 -07:00
Kevin Sawicki
befedac546
Upgrade to bracket-matcher@0.39.0
2014-05-28 09:16:37 -07:00
Ivan Žužak
be0dcb840e
Upgrade to find-and-replace@0.108.0
2014-05-28 17:31:37 +02:00
Ivan Žužak
b521af9b4a
Upgrade to settings-view@0.117.0
2014-05-28 16:31:53 +02:00
Chris Pearson
61cb22840e
Update getLongTitle to fall back to basename
...
Update getLongTitle to fall back to basename when the relative path
resolves to a blank string.
2014-05-28 15:12:51 +01:00
Nathan Sobo
eaeb5b3b13
Upgrade snippets to support multi-digit tabstop indices
2014-05-27 19:09:07 -06:00
Kevin Sawicki
466a50ff37
Merge pull request #2386 from atom/ks-reload-grammar-from-model
...
Reload grammar in editor when path changes
2014-05-27 13:53:26 -07:00
Kevin Sawicki
4f2d935a1d
Reload grammar on path changed in TokenizedBuffer
2014-05-27 12:58:17 -07:00
Kevin Sawicki
b19126024a
💄
2014-05-27 12:58:17 -07:00
Kevin Sawicki
56eb1fc6e4
Reload grammar before emitting events
2014-05-27 12:58:17 -07:00
Kevin Sawicki
07a2a6710d
Reload grammar in editor when path changes
2014-05-27 12:58:17 -07:00
Nathan Sobo
cbedd221f3
Merge pull request #2419 from atom/bo-fix-cursor
...
Make cursor visible when over indent guides
2014-05-27 14:45:33 -05:00
Ben Ogle
d684911fce
Make cursor visible when over indent guides
2014-05-27 12:11:24 -07:00
Kevin Sawicki
b625965982
Upgrade to apm 0.58.0
2014-05-27 11:34:50 -07:00
Nathan Sobo
9688469501
Merge pull request #2387 from atom/ns-react-find-and-replace-markers
...
Make React editor backward compatible with find-and-replace marker views
2014-05-27 13:20:51 -05:00
Nathan Sobo
f9cb9b7ea2
Upgrade find-and-replace to support the ReactEditorView
2014-05-27 12:11:29 -06:00
Nathan Sobo
6448258f4e
Add shims to support find-and-replace marker views
2014-05-27 12:11:01 -06:00
Kevin Sawicki
9f1a3c6eff
📝 Recommend opening issue on atom/atom
2014-05-27 10:43:12 -07:00
Kevin Sawicki
21c2bf4861
📝 Don't use emojis in the title header
2014-05-27 10:43:12 -07:00
Corey Johnson
b9753a0785
Force npm to be installed on cibuilds
2014-05-27 10:34:11 -07:00
Kevin Sawicki
ff27ac5670
Upgrade to tree-view@0.95.0
2014-05-27 09:53:13 -07:00
Corey Johnson
720679b41b
Upgrade to tree-view@0.94.0
2014-05-27 09:41:25 -07:00
Kevin Sawicki
248843583e
Merge pull request #2399 from frk1705/patch-1
...
Fix example in editor-view.coffee
2014-05-27 08:51:28 -07:00
Kevin Sawicki
1f3ef99390
Merge pull request #2400 from Gaelan/patch-1
...
Add 🏁 for Windows to CONTRIBUTING.md
2014-05-27 08:50:42 -07:00
Kevin Sawicki
e74b56c50e
Update to language-xml@0.14.0
2014-05-27 08:49:18 -07:00
Kevin Sawicki
c924d55a26
Upgrade to fuzzy-finder@0.52.0
2014-05-27 08:37:42 -07:00
Kevin Sawicki
4964a067d0
Upgrade to symbols-view@0.54.0
2014-05-27 08:32:30 -07:00
Cheng Zhao
264196a11f
Upgrade to atom-shell@0.12.7
2014-05-27 17:24:10 +08:00
Gaelan
bfa70b4ba6
Add 🏁 for Windows to CONTRIBUTING.md
2014-05-25 18:28:02 -07:00
Maximilian Schüßler
7e5d554bd8
Fix example in editor-view.coffee
2014-05-25 21:27:21 +02:00
Erik Håkansson
a90039baab
fixes to spec
2014-05-24 23:52:08 +02:00
Erik Håkansson
55228f9667
updated coding style and added spec
2014-05-24 23:52:08 +02:00
Erik Håkansson
6295c2ddc4
minor changes
2014-05-24 23:52:08 +02:00
Erik Håkansson
5ca6d01911
renamed variable to make code more understandable
2014-05-24 23:52:08 +02:00
Erik Håkansson
6d9fed6644
removed unnecessary newlines
2014-05-24 23:52:08 +02:00
Erik Håkansson
3c8bfb8bc8
Context menus can now handle different types and commands, as well as submenus
2014-05-24 23:52:08 +02:00
Ben Ogle
00987f3642
Merge pull request #2380 from ddavison/master
...
ⓐⓓⓓⓘⓝⓖ ⓟⓐⓣⓒⓗ ⓣⓞ ⓓⓞⓒⓢ
2014-05-23 16:14:30 -07:00
ddavison
6e070ae057
ⓒⓛⓐⓡⓘⓕⓘⓒⓐⓣⓘⓞⓝ
2014-05-23 19:12:12 -04:00
Kevin Sawicki
ac70bfc456
Don't parse line and column if path to open exists
...
This previously prevented file containing a colon from being open
from the command line.
Closes #2376
2014-05-23 15:32:55 -07:00
Kevin Sawicki
fd0f323666
Open directory path instead of project path
...
This ensures that the repository opened is always project’s
path instead of the potentially non-existent path or file
specified to Project::setPath
2014-05-23 15:05:04 -07:00
Nathan Sobo
0e31557abf
Only measure character widths when editor is visible
2014-05-23 15:59:44 -06:00
Kevin Sawicki
e7c1d20d8e
Upgrade to keybinding-resolver@0.18.0
2014-05-23 14:43:21 -07:00
Kevin Sawicki
e8c8f0de0d
Prepare 0.100.0 release
2014-05-23 14:29:36 -07:00
Kevin Sawicki
ea0773e8fc
Upgrade to atom-keymap 0.23.0
2014-05-23 14:00:33 -07:00
ddavison
037306a30c
Merge branch 'master' of https://github.com/ddavison/atom
...
* 'master' of https://github.com/ddavison/atom :
ⓐⓓⓓⓘⓝⓖ ⓟⓐⓣⓒⓗ ⓣⓞ ⓓⓞⓒⓢ
Conflicts:
docs/publishing-a-package.md
2014-05-23 15:30:05 -04:00
ddavison
9ea94cb6cc
ⓐⓓⓓⓘⓝⓖ ⓟⓐⓣⓒⓗ ⓣⓞ ⓓⓞⓒⓢ
2014-05-23 15:29:35 -04:00
ddavison
97fe09f157
ⓐⓓⓓⓘⓝⓖ ⓟⓐⓣⓒⓗ ⓣⓞ ⓓⓞⓒⓢ
2014-05-23 15:16:51 -04:00
Nathan Sobo
5b149bd41a
Merge pull request #2370 from atom/ns-react-fix-scroll-corruption
...
Prevent React editor's scroll view from being auto-scrolled by Chromium
2014-05-23 12:54:15 -06:00
Corey Johnson
8a899f2116
Merge pull request #2360 from atom/apm-api-docs
...
add atom.io api docs
2014-05-23 10:18:06 -07:00
Kevin Sawicki
dfa2f46ced
Prepare 0.99.0 release
2014-05-23 09:36:25 -07:00
Corey Johnson
2b2d1d87f7
Merge branch 'cj-paragraph-test'
2014-05-23 09:23:57 -07:00
Corey Johnson
3784b77b95
Merge remote-tracking branch 'origin/master' into cj-paragraph-test
2014-05-23 09:23:30 -07:00
Corey Johnson
7f418e2de4
Add move by paragraph commands
2014-05-23 09:13:44 -07:00
Kevin Sawicki
78da19f479
Downgrade to atom-keymap 0.19.0
...
This reverts changes that broke shift + number line keybindings
Refs atom/atom-keymap#30
2014-05-23 09:10:52 -07:00
Corey Johnson
4e18ebe843
Merge pull request #2359 from atom/cj-split-windows-build-requirements
...
Add separate Windows 8 and Windows 7 build instructions
2014-05-23 08:57:06 -07:00
Corey Johnson
152a8b311f
Merge remote-tracking branch 'origin/master' into cj-split-windows-build-requirements
...
Conflicts:
docs/build-instructions/windows.md
2014-05-23 08:51:08 -07:00
karlin
64470a3c7d
add moveToBeginningOf{Next,Previous}Paragraph for cursor and wrappers for editor
2014-05-23 00:51:01 -04:00
Nathan Sobo
fae035731f
Prevent autoscrolling scroll-view when cursor is at end of longest line
...
If the longest line is longer than the width of the scroll view, we need
to allow 2px horizontally to prevent the hidden input from
autoscrolling.
2014-05-22 20:18:34 -06:00
Nathan Sobo
446a48ca00
Position hidden input at 0,0 unless cursor is focused
...
The editor's scroll view is getting autoscrolled when the editor is
focused, so we won't position the hidden input until after the editor
is focused, and will always return it to 0,0 when the editor is blurred.
2014-05-22 20:13:50 -06:00
Nathan Sobo
ce9b34c9eb
Warn when scroll view gets accidentally scrolled and fix it
...
I want this code to go away once we track down the causes of any
unwanted autoscrolling by the browser
2014-05-22 19:53:14 -06:00
Corey Johnson
d1ed176550
Merge pull request #2368 from atom/iz-scrollview-support-for-core-move-up-down
...
Support core:move-up and core:move-down in ScrollView
2014-05-22 16:41:50 -07:00
Corey Johnson
652219b8cf
Merge pull request #2362 from CoolOppo/patch-1
...
Fix slash in Windows build instructions
2014-05-22 15:55:36 -07:00
Daniel Hengeveld
e6229f6145
Use h4 for individual methods in apm api doc
2014-05-22 15:45:30 -07:00
Nathan Sobo
9c066d93fa
Run react perf in scroll benchmark if NODE_ENV isn't production
2014-05-22 16:01:48 -06:00
Nathan Sobo
e754689014
Add displayName to ScrollbarComponent and ScrollbarCornerComponent
2014-05-22 16:01:48 -06:00
Ivan Zuzak
de96de2de1
Support core:move-up/down in ScrollView
...
Closes #1828
2014-05-22 23:58:50 +02:00
Kevin Sawicki
6d89c893b7
Upgrade to grammar-selector@0.27.0
2014-05-22 14:56:41 -07:00
Kevin Sawicki
16df6a32d6
📝 Use TomDoc in Atom class
2014-05-22 14:06:17 -07:00
Chris Pearson
a337384e7b
Update getLongTitle to be project relative
2014-05-22 21:49:49 +01:00
Kevin Sawicki
cdb6de05b3
Update broken Keymap class reference
2014-05-22 13:27:45 -07:00
Kevin Sawicki
1b262eadaa
Prepare 0.98.0 release
2014-05-22 13:23:59 -07:00
CoolOppo
fd5ea8a0b1
Fix slash in Windows build instructions
...
This could be mildly confusing to some who are unfamiliar with using bash.
2014-05-22 15:44:37 -04:00
Nathan Sobo
fe31d2d28a
Add scrolling benchmark to React editor
2014-05-22 13:25:47 -06:00
Daniel Hengeveld
40b66e8eb3
add atom.io api docs
2014-05-22 12:13:58 -07:00
Kevin Sawicki
71e83962ac
Merge pull request #2356 from klorenz/master
...
📝 Add solution for "TypeError: Unable to watch path"
2014-05-22 11:34:50 -07:00
probablycorey
5316d586d1
Add information about where application is located
2014-05-22 11:28:08 -07:00
Kevin Sawicki
f79039e4f7
Upgrade to apm 0.57.0
2014-05-22 11:17:14 -07:00
probablycorey
f4d6b69002
Split the windows build requirements by version
2014-05-22 11:00:33 -07:00
Kevin Sawicki
08e6dc20e1
Upgrade to settings-view@0.116.0
2014-05-22 09:57:33 -07:00
Nathan Sobo
4f14d8a64f
Merge pull request #2344 from atom/ns-ks-react-dont-measure-when-hidden
...
React: Don't measure line height / char width when editor is hidden
2014-05-22 10:56:43 -06:00
Nathan Sobo
da53dfc903
Upgrade atom-keymap for numpad fixes on Linux/Windows
2014-05-22 10:54:19 -06:00
Nathan Sobo
875cfefd36
Merge branch 'master' into ns-ks-react-dont-measure-when-hidden
...
Conflicts:
spec/editor-component-spec.coffee
src/editor-component.coffee
src/editor-scroll-view-component.coffee
src/lines-component.coffee
2014-05-22 10:48:21 -06:00
Nathan Sobo
b6fb996ceb
Merge pull request #2327 from atom/ns-react-fork
...
Use Atom-specific fork of React allowing selection restoration opt out
2014-05-22 10:41:26 -06:00
Nathan Sobo
316559ae09
Merge pull request #2345 from atom/ns-ks-lines-div-height
...
Ensure .lines div is always at least the height of the scroll view
2014-05-22 10:35:44 -06:00
Nathan Sobo
08d28d7ed4
Upgrade space-pen so $.fn.views doesn't return undefined values
2014-05-22 10:34:15 -06:00
probablycorey
3a3adf43a4
Merge remote-tracking branch 'origin/master' into zelon-master
...
Conflicts:
docs/build-instructions/windows.md
2014-05-22 09:29:53 -07:00
Kevin Sawicki & Nathan Sobo
0951305962
Wire editor.lineHeight config value
2014-05-22 10:17:22 -06:00
Kevin Sawicki & Nathan Sobo
481935c880
Add specs for updating lineHeightInPixels when changing font size/family
2014-05-22 10:17:22 -06:00
Kevin Sawicki & Nathan Sobo
8ffcdad89a
Re-measure the line height in pixels when the CSS line-height changes
2014-05-22 10:17:21 -06:00
Kevin Sawicki & Nathan Sobo
9e3ce09658
Rename lineHeight to lineHeightInPixels to distinguish from CSS value
...
CSS has a line-height property with values like '1.3', but we also have
a measured pixel value for line height. It's important to keep these
separate conceptually.
2014-05-22 10:17:12 -06:00
Corey Johnson
8c5d0775bc
Merge pull request #2339 from atom/cj-add-spec-documentation
...
Add spec documentation
2014-05-22 08:51:02 -07:00
Kay-Uwe (Kiwi) Lorenz
36e8b10917
Merge branch 'master' of https://github.com/klorenz/atom
2014-05-22 17:43:03 +02:00
Kay-Uwe (Kiwi) Lorenz
b2b048994c
added a solution for an issue in linux troubleshooting section
2014-05-22 17:41:18 +02:00
Ivan Žužak
6db23e67e8
Merge pull request #2353 from aaronraimist/master
...
Updates Jasmine link in CONTRIBUTING.md
2014-05-22 17:13:18 +02:00
Aaron Raimist
7872e95561
Updates Jasmine link in CONTRIBUTING.md
2014-05-22 10:03:45 -05:00
Kevin Sawicki & Nathan Sobo
45eeee9aea
Ensure .lines div is always at least the height of the scroll view
...
This ensures that the wrap guide extends the entire height of the
editor.
2014-05-21 19:07:03 -06:00
Kevin Sawicki & Nathan Sobo
9cbc693c77
Avoid measuring lineHeight/defaultCharWidth on show unless needed
...
We only need to re-measure if the fontSize, fontFamily, or lineHeight
changed while the editor was hidden.
2014-05-21 17:35:57 -06:00
Kevin Sawicki & Nathan Sobo
ee9d4ab70e
Don't measure lineHeight/defaultCharWidth when editor is hidden
2014-05-21 17:15:47 -06:00
Kevin Sawicki & Nathan Sobo
68c3113b75
Call hide on the views instead of the jQuery collection
...
This ensures that views with custom ::hide methods can invoke special
behavior.
2014-05-21 17:11:36 -06:00
probablycorey
3a71b0470b
Add links to writing specs doc
2014-05-21 14:47:30 -07:00
probablycorey
421cdb41b9
Add spec documentation
2014-05-21 14:45:36 -07:00
Corey Johnson
a8538a1361
Merge pull request #2295 from lee-dohm/contributing
...
📝 Unify the two contributing documents
2014-05-21 12:38:23 -07:00
Lee Dohm
c3cedd2dc9
Split out the package-specific information
...
Per PR feedback, splitting out package-specific development information
into its own document.
2014-05-21 11:35:23 -07:00
Kevin Sawicki
da38218941
Upgrade to bracket-matcher@0.38.0
2014-05-21 09:29:05 -07:00
Kevin Sawicki
c700ca0430
Remove unused sync option
2014-05-21 08:55:40 -07:00
KIM, JINWOOK
0fe3f2d03c
Use 'with' instead of 'and'
...
Using 'with' instead of 'and' could prevent some people to think that SP1 is an other program, or is Windows SP1
2014-05-21 22:11:59 +09:00
Nathan Sobo
65b1e13b83
Use Atom-specific fork of React allowing selection restoration opt out
...
This fork of React allows data-react-skip-selection-restoration to be
defined on input elements, skipping costly selection restoration that
occurs when the input element is focused during reconciliation.
2014-05-20 23:05:13 -06:00
Nathan Sobo
2acb387446
Merge pull request #2317 from atom/cj-add-invisibles-to-react-editor
...
Add invisibles to react editor
2014-05-20 22:10:12 -06:00
probablycorey
746273a2ef
Merge remote-tracking branch 'origin/master' into cj-add-invisibles-to-react-editor
2014-05-20 16:30:18 -07:00
Nathan Sobo
778beba901
Remove editor-colors class from line numbers
2014-05-20 17:10:55 -06:00
Nathan Sobo
9278920093
Merge branch 'master' into cj-add-invisibles-to-react-editor
...
Conflicts:
src/editor-component.coffee
2014-05-20 17:03:14 -06:00
probablycorey
ece868c9de
Concat strings instead of joining an Array
2014-05-20 15:16:07 -07:00
Kevin Sawicki
651ed9b91e
Upgrade to apm 0.56.0
2014-05-20 15:08:23 -07:00
Nathan Sobo
ac993680db
Remove stray logging
2014-05-20 15:27:28 -06:00
Nathan Sobo
48b33ed07d
💄
2014-05-20 15:17:19 -06:00
Nathan Sobo
724953206f
Merge pull request #2319 from atom/ns-react-no-cursor-animation
...
Don't use CSS animations to blink cursor in the React editor
2014-05-20 15:09:50 -06:00
Nathan Sobo
c4e3b90201
Upgrade atom-keymap for Linux support and 'unset!' on partial matches
2014-05-20 15:07:43 -06:00
probablycorey
a722d1aa36
Make editor component spec pass
2014-05-20 14:07:36 -07:00
probablycorey
25e3ae0325
Re-render the lines when the showInvisible config option is triggered
2014-05-20 13:58:22 -07:00
Ivan Žužak
e26da5887d
Upgrade to markdown-preview@0.72.0
2014-05-20 22:37:25 +02:00
Kevin Sawicki
31037797e4
Upgrade to bracket-matcher@0.37.0
2014-05-20 13:27:27 -07:00
Nathan Sobo
2ae7cba452
Don't blink cursors with CSS animation
...
It seems to create intermittent lags when moving the cursor and typing.
2014-05-20 14:04:59 -06:00
Nathan Sobo
fa3ebc8c0f
Fix interval cancellation in specs
2014-05-20 14:03:44 -06:00
probablycorey
ff36781c98
Add failing spec for toggling showInvisibles config option
2014-05-20 12:34:43 -07:00
probablycorey
2f038cbe66
Update lines component when invisibles changes
2014-05-20 12:34:18 -07:00
probablycorey
f962888b35
Remove unnecessary spec
2014-05-20 11:49:40 -07:00
probablycorey
6880368a79
Add soft wrap support to invisibles
2014-05-20 11:49:31 -07:00
Kevin Sawicki
13ba6883b4
Upgrade to apm 0.55.0
2014-05-20 11:42:45 -07:00
probablycorey
1e6e804ebb
Use screen line count to determine renderedEndRow
2014-05-20 11:37:32 -07:00
Kevin Sawicki
5690d9fe81
Upgrade to symbols-view@0.53.0
2014-05-20 10:55:01 -07:00
Nathan Sobo
6fef8de63e
Merge pull request #2284 from pritambaral/react-paste
...
Ignore paste in react editor, Fixes #2186
2014-05-20 11:50:26 -06:00
Nathan Sobo
e29185ef11
Upgrade atom-keymap for dvorak-qwerty and better linux support
2014-05-20 11:40:32 -06:00
probablycorey
c999a6e0e4
Show carriage return invisibles
2014-05-20 10:38:01 -07:00
probablycorey
2bbf5c7800
Remove unnecessary spec
2014-05-20 10:37:24 -07:00
probablycorey
273203e4c9
Fix typo
2014-05-20 10:37:02 -07:00
Lee Dohm
1211680998
📝 Unify the two contributing documents
...
Both documents had some really great stuff to them, but there was too much
overlap. I did my best to unify them into one document, taking the best
features of each.
2014-05-20 10:35:18 -07:00
Nathan Sobo
84e76556da
Try to fix flaky spec
2014-05-20 11:11:35 -06:00
Corey Johnson
55881d594b
Merge pull request #2239 from atom/cj-windows-build-instructions-update
...
Update windows build instructions and requirements
2014-05-20 09:58:45 -07:00
probablycorey
6f0882a098
Merge remote-tracking branch 'origin/master' into cj-windows-build-instructions-update
...
Conflicts:
docs/build-instructions/windows.md
2014-05-20 09:51:08 -07:00
Kevin Sawicki
dda465d08a
Upgrade to language-ruby@0.25.0
2014-05-20 09:49:19 -07:00
KIM, JINWOOK
124c517056
Add Visual Studio 2010 SP1 download URL
...
Many people are confused by indicating just Visual Studio 2010 Express without SP1
2014-05-20 23:50:12 +09:00
Cheng Zhao
6fa6863244
Don't popup context menu with no items, fixes #2032 .
...
On OS X popuping an empty context menu would have no effect but on Linux
an empty menu container would still be showed.
2014-05-20 22:36:51 +08:00
Nathan Sobo
0ad26c337a
Don't use _.pluck when building TokenizedLines
2014-05-19 22:20:57 -06:00
Nathan Sobo
353eb27d2e
Update dataset screenRow of gutter nodes when updating them
2014-05-19 21:34:06 -06:00
Nathan Sobo
6edb0b7a3d
Delete dead method
2014-05-19 21:32:26 -06:00
Nathan Sobo
cd5f0c0047
Update the screenRow on the line element's dataset in ::updateLineNode
2014-05-19 21:32:26 -06:00
Nathan Sobo
5716c7c574
Upgrade underscore-plus for multiplyString optimization
2014-05-19 21:31:10 -06:00
Kevin Sawicki
ce30299122
Upgrade to find-and-replace@0.106.0
2014-05-19 17:39:34 -07:00
probablycorey
9b5593d020
Put EOL invisibles into their own scope
2014-05-19 17:27:59 -07:00
probablycorey
4d642b91ef
Only pass invisibles through to the line component if needed
2014-05-19 17:10:36 -07:00
probablycorey
8b4cff474f
Spec 💄
2014-05-19 17:10:04 -07:00
probablycorey
73ce81d597
Pass invisibles down to lines component
2014-05-19 16:56:53 -07:00
probablycorey
09e4c585aa
Add setInvisibles method
2014-05-19 16:56:17 -07:00
Kevin Sawicki
2c5af98cca
Upgrade to bracket-matcher@0.36.0
2014-05-19 16:45:04 -07:00
probablycorey
cbe07b49aa
Add basic invisible specs
2014-05-19 16:20:51 -07:00
Kevin Sawicki
aa557a7bdf
Upgrade to bracket-matcher@0.35.0
2014-05-19 15:47:11 -07:00
Kevin Sawicki
65cafdda03
Upgrade to language-gfm@0.38.0
2014-05-19 15:39:14 -07:00
Kevin Sawicki
9a18ff5954
Update atom.ico in resources directory
2014-05-19 14:04:34 -07:00
Nathan Sobo
d2bc7ab192
Merge pull request #2258 from atom/ns-react-scroll-perf
...
Improve scroll performance of the React editor
2014-05-19 14:42:18 -06:00
Kevin Sawicki
bf7d2defd6
Upgrade to grunt-download-atom-shell@0.7.2
2014-05-19 13:35:44 -07:00
Kevin Sawicki
c4e4429744
Upgrade to language-python@0.17.0
2014-05-19 13:34:44 -07:00
Nathan Sobo
bfc382c398
Add specs for line/line-number preservation
2014-05-19 14:33:17 -06:00
Nathan Sobo
795399e184
Preserve the target when scrolling w/ mousewheel on editor lines
2014-05-19 14:17:09 -06:00
Nathan Sobo
37bdfb716b
Preserve the target when scrolling w/ mousewheel in gutter
...
Removing the target of a mouseweel event messes up velocity scrolling
with the track pad, so it needs to be preserved until scrolling ceases.
2014-05-19 14:03:34 -06:00
Corey Johnson
405afca1c6
Merge pull request #2269 from pritambaral/tmpdir
...
Use os.tmpdir() insted of /tmp
2014-05-19 12:20:50 -07:00
Pritam Baral
7627e0b0f0
Minor fix + Remove last references to /tmp
2014-05-19 23:57:48 +05:30
Pritam Baral
25d2206471
Consolidate redundant code
2014-05-19 23:57:48 +05:30
Pritam Baral
2d96444e21
Use os.tmpdir() on OS X
2014-05-19 23:57:48 +05:30
Pritam Baral
f5c3bdb845
Use os.tmpdir() on Linux
...
/tmp isn't always available, is on precious RAM-backed fs or simply not
what the user has set his $TMPDIR to. According to the specification, we
should use $TMPDIR, which node lets us find through os.tmpdir().
Also, contributing.md isn't in favour of using platform-dependent code.
This commit focusses only on Linux, and leaves OS X as is with /tmp for
discussion.
2014-05-19 23:57:48 +05:30
Corey Johnson
22b932ebee
Merge pull request #2290 from varesa/master
...
Make instructions for manual VS path more accurate
2014-05-19 10:06:15 -07:00
probablycorey
ad157fe423
💄
2014-05-19 09:38:59 -07:00
Kevin Sawicki
50a6d251d6
Prepare 0.97.0 release
2014-05-19 09:18:36 -07:00
probablycorey
f3d36a9726
Move instructions out of requirements
2014-05-19 09:06:45 -07:00
probablycorey
c2b8cedef1
💄
2014-05-19 09:06:26 -07:00
Kevin Sawicki
314833bbac
Add missing parens on indent guide check
...
Previously the indent guide was always showing on the whitespace only lines
Closes #2274
2014-05-19 08:52:06 -07:00
Kevin Sawicki
e643fe7e7d
Upgrade to language-go@0.12.0
2014-05-19 08:39:45 -07:00
Cheng Zhao
0d8a05bdb1
Upgrade to atom-shell@0.12.5
2014-05-19 22:52:32 +08:00
Esa Varemo
21fd2b8f1d
Make instructions for manual VS path more accurate
...
Move the line number for the variable close to the actual current location.
Add a note to not to include unescaped backward slashes as they would appear in normal Windows paths.
2014-05-18 17:37:36 +03:00
Pritam Baral
c7461f476e
Ignore paste in react editor, Fixes #2186
2014-05-18 04:17:21 +05:30
Corey Johnson
7410f9a90d
Merge pull request #2278 from GeoffreyFrogeye/fixTypo-cmdInLinuxKeyMaps
...
Fixed a typo where cmd would appear in linux.cson
2014-05-17 12:39:55 -07:00
Geoffrey Frogeye
3d98f66330
Fixed a typo where cmd would appear in linux.cson
...
Fixes #2251 again
2014-05-17 17:53:17 +02:00
Nathan Sobo
8e65d30a84
Compute rendered row range once in EditorComponent and pass it down
2014-05-16 20:58:40 -06:00
probablycorey
b4977ff617
Upgrade to release-notes@0.31.0
2014-05-16 15:52:59 -07:00
Kevin Sawicki
d397001c33
Merge pull request #2198 from hkdobrev/commits-emoji
...
Add more Emoji to the contributing guide
2014-05-16 15:37:00 -07:00
Kevin Sawicki
bd7de18c7a
Upgrade to settings-view@0.115.0
2014-05-16 15:20:21 -07:00
Corey Johnson
9ca506de4b
Merge pull request #2173 from Locke23rus/issue-1791
...
💄 Deprecate backspaceToBeginningOf{Word,Line}
2014-05-16 15:13:44 -07:00
Nathan Sobo
626964f15b
Upgrade go-to-line to fix double toggle on react editor
2014-05-16 16:07:35 -06:00
probablycorey
532f119b9d
Add application:install-update to workspaceView
2014-05-16 15:05:19 -07:00
Haralan Dobrev
187cf2a710
Change security emoji to 🔒
2014-05-17 01:01:21 +03:00
Nathan Sobo
c058483422
Update the gutter width when the number of digits changes
2014-05-16 15:56:18 -06:00
Kevin Sawicki
a83a6e5127
Explicitly set permissions on temp folder
...
Refs #2129
2014-05-16 14:47:55 -07:00
Nathan Sobo
57e6419d1d
Restore conditional loading of react editor renderer
2014-05-16 15:31:16 -06:00
Nathan Sobo
9b7547cbe0
Get indent guide specs passing again
2014-05-16 15:31:16 -06:00
Nathan Sobo
e74dfe3438
Fix gutter specs and update lines when digit counts change
2014-05-16 15:31:16 -06:00
Nathan Sobo
fe82e3e30f
Only clear screen row caches on lines component if lineHeight changes
2014-05-16 15:31:16 -06:00
Nathan Sobo
b000e8e4a2
Get selection specs passing again
2014-05-16 15:31:16 -06:00
Nathan Sobo
64c82f1c87
Update cursor positioning text for simplified token markup
2014-05-16 15:31:15 -06:00
Nathan Sobo
0ad2730353
Update specs for new line node rendering approach
...
Lines are no longer translated on the GPU, and they aren't inserted into
the DOM in an order that reflects their order in the buffer.
2014-05-16 15:31:15 -06:00
Nathan Sobo
6017b73acf
Add ability to look up line nodes by screen row
2014-05-16 15:31:15 -06:00
Nathan Sobo
0334177696
Make lineOverdrawMargin a property
2014-05-16 15:31:15 -06:00
Nathan Sobo
54cec0a5ff
Hold the gutter's width with a dummy line number
2014-05-16 15:31:15 -06:00
Nathan Sobo
c5fa2bf12d
Attach views to .lines instead of defunct .scroll-view-content
2014-05-16 15:31:15 -06:00
Nathan Sobo
bc8a1756f3
Use the .selections layer as the underlayer
2014-05-16 15:31:15 -06:00
Corey Johnson & Nathan Sobo
3f01e2f748
Implement shouldComponentUpdate for SelectionsComponent
2014-05-16 15:31:15 -06:00
Nathan Sobo
7dfe829fc8
Style lines with inline styles for performance
2014-05-16 15:31:15 -06:00
Nathan Sobo
c87bc57f9e
Don't update top positions of lines/lineNodes unless they have changed
2014-05-16 15:31:15 -06:00
Nathan Sobo
89bd241a78
Always run react in dev mode for now
2014-05-16 15:31:14 -06:00
Nathan Sobo
d15fd34f7a
Render selections on lines layer; don't put each line number on GPU
2014-05-16 15:31:14 -06:00
Nathan Sobo
a118cdd32b
Put selections and lines on the GPU together in sibling divs
2014-05-16 15:31:14 -06:00
Nathan Sobo
3a2de9c698
Don't render every line on the GPU
...
Opaque lines are turning out to be a total pain, plus they ruin absolute
positioning on the lines div. The slight speed boost isn't seeming worth
it anymore.
2014-05-16 15:31:14 -06:00
Nathan Sobo
c60e5d90fd
💄
2014-05-16 15:31:14 -06:00
Nathan Sobo
e9bff37e06
Render line numbers manually
2014-05-16 15:31:14 -06:00
Nathan Sobo
695f8da3c3
💄 extract buildLineInnerHTML method
2014-05-16 15:31:14 -06:00
Nathan Sobo
ea5c5c9e84
Move line HTML generation into lines component
2014-05-16 15:31:14 -06:00
Nathan Sobo
4f9108980f
WIP: Manually update line nodes when scrolling
2014-05-16 15:31:14 -06:00
Nathan Sobo
8148e4e50d
Skip selection restoration on our fork of react
2014-05-16 15:31:14 -06:00
Nathan Sobo
f07a832c83
Sync cursor animations when cursors are added
2014-05-16 15:31:14 -06:00
Nathan Sobo
070d239f41
Blink cursors with a CSS animation
...
Now that they're on their own layer, I don't think it affects the
repaint timing when typing on lines (if it ever did).
2014-05-16 15:31:13 -06:00
Nathan Sobo
9b02055db9
Move selection background region calculation into React component
2014-05-16 15:31:13 -06:00
Nathan Sobo
0162247bd7
Precompute selection regions for all lines
...
This is easer to reason about and probably more efficient than computing
everything on a per-line basis.
2014-05-16 15:31:13 -06:00
Nathan Sobo
9001d34ddf
Change selection specs to match new rendering scheme
2014-05-16 15:31:13 -06:00
Nathan Sobo
cbcc30b384
Don't render empty selections
2014-05-16 15:31:13 -06:00
Nathan Sobo
ce9fe90217
Make multi-line selections appear to span the screen with a single div
...
Because lines are opaque and any area of a selection that overlaps a
line is actually rendered on the line itself, the screen-spanning
background of a multi-line selection can actually be rendered as a
single div spanning the entire screen from the first row to the
penultimate row of the selection.
2014-05-16 15:31:13 -06:00
Nathan Sobo
7a9278e6a7
Render selection fragments on opaque lines
...
Because lines are opaque on the GPU for sub pixel antialiasing, the
lines obscure the selections which were formerly rendered behind the
lines. This commit renders selection fragments *on* each opaque line
layer so the selections look correct again. Still needs cleanup and
optimization.
2014-05-16 15:31:13 -06:00
Nathan Sobo
01622140e3
Rename renderedRowRange to visibleRowRange
...
We only render visible rows now, so this makes more sense.
2014-05-16 15:31:13 -06:00
Nathan Sobo
e44027b186
Fix the height/width of the editor in spec
...
Now that everything is absolutely position, the editor no longer assumes
a "natural" height and width. This can be addressed later if we want to
allow editors to expand based on their content.
2014-05-16 15:31:13 -06:00
Nathan Sobo
d53f97ecfe
Fix horizontal scrolling spec
2014-05-16 15:31:13 -06:00
Nathan Sobo
f3efd7d60b
Position cursors relative to scrollLeft and fix specs
2014-05-16 15:31:12 -06:00
Nathan Sobo
8d25da9474
Update line number rendering specs for new layer scheme
2014-05-16 15:31:12 -06:00
Nathan Sobo
1aee276b45
Update line rendering specs for new layer scheme
2014-05-16 15:31:12 -06:00
Nathan Sobo
191bc115cf
Use explicit descendant selector for styling lines
2014-05-16 15:31:12 -06:00
Nathan Sobo
63488997ee
Give lines and line numbers an opaque background to support sub-pixel AA
...
Since lines and line numbers are now on the GPU, their text won't be
properly anti-aliased on low-resolution displays unless their layers
have a solid background.
2014-05-16 15:31:12 -06:00
Nathan Sobo
a22480d857
Don't give lines a negative z-index
...
Removing the z-index makes them accessible via mouse in the inspector.
2014-05-16 15:31:12 -06:00
Nathan Sobo
757ae6de39
Position selections relative to viewport
...
This is getting closer, but lines still need to be opaque. Multi-line
selections will still need to be rendered behind the line layers so they
can extend to the edge of the viewport, so this code still has value.
2014-05-16 15:31:12 -06:00
Nathan Sobo
cfc08e8b98
Allow horizontal scrolling
2014-05-16 15:31:12 -06:00
Nathan Sobo
c8e9282557
Position cursors as layers relative to the viewport
2014-05-16 15:31:11 -06:00
Nathan Sobo
a36163ce86
Manually set the gutter width to the width of a line number
...
We need to absolutely position line numbers to minimize repaints, but
the gutter needs to be wide enough to show them.
2014-05-16 15:31:11 -06:00
Nathan Sobo
e3d1a6aef8
Render each line number on its own layer
2014-05-16 15:31:11 -06:00
Nathan Sobo
7d8256d343
Drop lineOverdraw and scroll-view-content div
2014-05-16 15:31:11 -06:00
Nathan Sobo
bf9f8597a7
Give each line its own layer on the GPU
2014-05-16 15:31:11 -06:00
Nathan Sobo
9f2c8c1756
Measure characters in new lines when vertically scrolling stops
2014-05-16 15:31:11 -06:00
Nathan Sobo
0ae8765a8a
Update scroll position directly on mousewheel events
...
Previously, we were updating the scrollbars and relying on an async
scroll events to fire. But updating the scrollbars is expensive, so this
updates the model directly when the next animation frame fires instead.
2014-05-16 15:31:11 -06:00
Nathan Sobo
308960309d
Overdraw lines to discourage Blink from repainting the entire editor
2014-05-16 15:31:11 -06:00
Nathan Sobo
b8ac8516fe
Don't preserve rows when scrolling
2014-05-16 15:31:11 -06:00
Nathan Sobo
3f1ce617a7
Try to fix flaky spec
2014-05-16 15:05:49 -06:00
Kevin Sawicki
10e609ba27
Upgrade to tabs@0.40.0
2014-05-16 13:31:58 -07:00
Kevin Sawicki
6cae6981d8
Recommend cloning to shallow path
...
Prevents path length issues
2014-05-16 13:29:39 -07:00
Kevin Sawicki
bff396ab1a
Upgrade to language-xml@0.13.0
2014-05-16 13:00:46 -07:00
Kevin Sawicki
7f442d045b
Check for errors in script/mkdeb
...
Refs #2129
2014-05-16 12:54:24 -07:00
Kirill Nikitin
8918eb4758
Bug #1791 Fix typo in example group name and function names.
2014-05-16 23:05:05 +04:00
Kevin Sawicki
628ea72943
Check if selector matches parents of test element
...
Previously a menu for a keybinding with a .workspace selector would not
display the shortcut because the selector wasn't matching the test editor
element directly.
Now the parent elements of the test editor are checked as well.
Closes #2089
2014-05-16 11:57:04 -07:00
Kevin Sawicki
fc2830bacb
Use div for test workspace element
2014-05-16 11:53:40 -07:00
Kevin Sawicki
b5bff9f8b8
Upgrade to language-python@0.16.0
2014-05-16 10:38:48 -07:00
Kevin Sawicki
5e2181e665
🐧 Add keybindings for select-to-top/bottom
...
ctrl-shift-home/end are now mapped
Closes #2251
2014-05-16 10:05:33 -07:00
Kevin Sawicki
b0e91f8b33
Upgrade to tree-view@0.93.0
2014-05-16 09:47:44 -07:00
Kevin Sawicki
635af7f838
Upgrade to apm 0.54.0
2014-05-16 09:27:16 -07:00
Kevin Sawicki
e537080b64
Upgrade to autocomplete@0.28.0
2014-05-16 08:36:02 -07:00
Nathan Sobo
f2c7d171bf
Fix another subscription leakage associated with theme manager specs
2014-05-16 09:14:21 -06:00
Nathan Sobo
7a4a85cb20
Fix failures running config specs locally
2014-05-16 09:00:01 -06:00
Nathan Sobo
2952f4c2ad
Merge pull request #2213 from dyross/dyr-hide-cursor-nicely
...
Hide the cursor with cursor-hidden class rather than element.style
2014-05-16 08:36:27 -06:00
Nathan Sobo
ce668e7139
Fix subscription leak when ~/.atom/styles.less is present running specs
2014-05-16 08:33:49 -06:00
Kirill Nikitin
917b223c6c
merge conflict
2014-05-16 11:45:43 +04:00
David Y. Ross
e3302b3f73
hide the cursor with cursor-hidden class rather than element.style
2014-05-15 19:20:32 -07:00
probablycorey
38a347ddab
Upgrade to grunt-download-atom-shell@0.7.2
2014-05-15 16:41:07 -07:00
Kevin Sawicki
e3dbd412e1
Upgrade to find-and-replace@0.105.0
2014-05-15 15:34:50 -07:00
Kevin Sawicki
fc9a11959c
Upgrade to language-html@0.22.0
2014-05-15 15:33:37 -07:00
Kevin Sawicki
71155abf57
Upgrade to find-and-replace@0.104.0
2014-05-15 15:19:54 -07:00
Kevin Sawicki
d5458c1865
Upgrade to fuzzy-finder@0.51.0
2014-05-15 15:14:51 -07:00
Kevin Sawicki
56af2ca4d7
Upgrade to bracket-matcher@0.34.0
2014-05-15 15:10:01 -07:00
Corey Johnson
f30c56c237
Don't require 32bit node
2014-05-15 14:55:58 -07:00
Kevin Sawicki
cc1e6e2a1f
Upgrade to find-and-replace@0.103.0
2014-05-15 14:48:24 -07:00
Kevin Sawicki
d7c98cb394
Upgrade to language-sass@0.11.0
2014-05-15 14:44:36 -07:00
Kevin Sawicki
4ff5f96fd4
Upgrade to go-to-line@0.20.0
2014-05-15 14:41:33 -07:00
Kevin Sawicki
1c1c3617e9
Upgrade to find-and-replace@0.102.0
2014-05-15 14:40:16 -07:00
Corey Johnson
bb9d67a1b1
Merge remote-tracking branch 'origin/master' into cj-windows-build-instructions-update
...
Conflicts:
script/bootstrap
2014-05-15 14:34:07 -07:00
Kevin Sawicki
187e264445
Upgrade to language-ruby-on-rails@0.14.0
2014-05-15 14:08:41 -07:00
Kevin Sawicki
493cd24059
Upgrade to apm 0.53.0
2014-05-15 13:54:36 -07:00
Kevin Sawicki
3c766d87c2
Upgrade to symbols-view@0.52.0
2014-05-15 13:46:28 -07:00
Kevin Sawicki
f360ca2cb7
Upgrade to fs-plus 2.2.3
2014-05-15 12:15:12 -07:00
Haralan Dobrev
ba8bd80173
Remove ♻️ from the emoji in CONTRIBUTING.md
2014-05-15 22:02:29 +03:00
Haralan Dobrev
6102143faf
Use 🔥 emoji for general deleting of code
2014-05-15 21:50:06 +03:00
Kevin Sawicki
3eadc61a3b
💄 Use trailing if
2014-05-15 10:48:02 -07:00
Kevin Sawicki
2bef7e26d7
Merge pull request #2246 from Flannelhead/master
...
Make ctrl+click add a new cursor in Linux and Windows, fixes #2105
2014-05-15 10:24:15 -07:00
Kevin Sawicki
7d655bf840
📝 Mention previous value is in second argument object
2014-05-15 10:16:29 -07:00
Kevin Sawicki
42c4dc6937
Merge pull request #2243 from lee-dohm/doc-fix
...
📝 Clean up Config::observe
2014-05-15 10:13:35 -07:00
Kevin Sawicki
a4059110f9
Merge pull request #2232 from atom/TOS-help
...
Include Terms of Use in the help menu
2014-05-15 10:12:06 -07:00
Haralan Dobrev
952c96d03b
Use 🍎 for Mac OS specific bugs
2014-05-15 20:10:40 +03:00
Kevin Sawicki
4c73f4e968
Upgrade to language-javascript@0.26.0
2014-05-15 09:57:26 -07:00
Kevin Sawicki
5f36406b52
Upgrade to archive-view@0.31.0
2014-05-15 09:52:45 -07:00
Kevin Sawicki
385cf0f3df
Upgrade to language-gfm@0.37.0
2014-05-15 09:46:33 -07:00
Kevin Sawicki
e70ad97273
Upgrade to language-ruby@0.24.0
2014-05-15 09:32:56 -07:00
Kevin Sawicki
0b7bf34a0f
Upgrade to language-gfm@0.36.0
2014-05-15 09:29:39 -07:00
Kevin Sawicki
713bce7f0b
Upgrade to autoflow@0.17.0
2014-05-15 09:25:19 -07:00
Flannelhead
534704a32c
Check for e.ctrlKey instead of e.metaKey if not on Mac.
2014-05-15 10:09:50 +03:00
Lee Dohm
37241a7919
📝 Clean up Config::observe
2014-05-14 21:15:17 -07:00
Corey Johnson
333c5b66d1
Merge pull request #2240 from lee-dohm/node-module-doc
...
📝 Document process for hacking node module components
2014-05-14 20:05:41 -07:00
Lee Dohm
a47d55f016
📝 Document process for hacking node module components
...
See: http://discuss.atom.io/t/how-to-setup-development-for-core-modules-like-atom-keymap/9221/18?u=leedohm
2014-05-14 18:25:12 -07:00
Corey Johnson
58c55cdf81
Troubleshooting message no longer needed because of
...
50a616d91c
2014-05-14 16:22:35 -07:00
Corey Johnson
50a616d91c
Upgrade to grunt-download-atom-shell@0.7.1
2014-05-14 16:20:34 -07:00
Corey Johnson
a2be86d15a
Require fs in bootstrap
2014-05-14 15:42:05 -07:00
Corey Johnson
73f8c28add
Update windows build instructions
2014-05-14 15:34:19 -07:00
Corey Johnson
d015793851
Remove unnecessary instructions
2014-05-14 15:31:58 -07:00
Corey Johnson
0b5b741db4
Make sure python2.7 is installed on win32
...
Closes #2193
Closes #2167
Closes atom/node-runas#5
2014-05-14 15:29:21 -07:00
Corey Johnson
aeac32ae47
Ensure that node is 32bit on win32
2014-05-14 14:49:35 -07:00
Corey Johnson
fab60e7faa
Create separate instruction
...
I'm not sure if this step is needed, but it existed before. If it is
needed we should include WHY you have to do this.
2014-05-14 14:04:56 -07:00
Corey Johnson
6296665f46
Removed unnecessary instruction.
2014-05-14 14:00:13 -07:00
Cameron McEfee
7882ac60d8
Include Terms of Use in the help menu
2014-05-14 10:44:33 -07:00
probablycorey
4fa0b6e783
Upgrade to welcome@0.14.0
2014-05-13 20:57:17 -07:00
Corey Johnson
3a8ddc0cd6
Merge pull request #1977 from 1ace/patch-1
...
Is atom really incompatible with the newer version of nodejs?
2014-05-13 17:33:40 -07:00
Corey Johnson
3803b473c5
Merge pull request #2176 from Locke23rus/more-naitive-linux-keymaps
...
🐧 Fix #2166 Add commands for ctrl-home and ctrl-end.
2014-05-13 17:18:30 -07:00
Corey Johnson
93d993d876
Merge pull request #2171 from avdg/fullscreen
...
Map key for full screen on windows
2014-05-13 17:12:53 -07:00
Corey Johnson
2b3a3ac3c0
Merge pull request #2185 from jugglingnutcase/win32-bindings
...
Improve some Win32 ctrl keybindings
2014-05-13 17:10:27 -07:00
probablycorey
c8b2e6ed2a
Prepare 0.96.0 release
2014-05-13 16:53:39 -07:00
James R Sconfitto
58fa414c21
💄 Move bindings under platform header
2014-05-13 16:13:30 -04:00
James R Sconfitto
8872b0bc9b
Add ctrl-pageup and ctrl-pagedown Win32 bindings
2014-05-13 16:09:01 -04:00
probablycorey
c77a6b10de
Upgrade to language-html@0.21.0
2014-05-13 07:55:05 -07:00
Corey Johnson
f86280a77b
Merge pull request #2170 from skardach/fix-filename-string
...
Cast opened paths to string
2014-05-12 22:49:24 -07:00
Corey Johnson
65ae582d96
Merge pull request #2194 from aureliojargas/patch-3
...
Fix link for TextMate's GitHub Organization
2014-05-12 22:46:22 -07:00
probablycorey
5694f9c703
Upgrade to language-html@0.20.0
2014-05-12 18:38:21 -07:00
Haralan Dobrev
6c4d1be004
📝 Add more Emoji to the contributing guide
...
Suggest Emoji for:
- Fixing something on Mac OS
- Fixing a bug
- Burning whitespace
- Fixing the CI build
- Adding tests
- Refactoring
- Security
2014-05-13 03:05:31 +03:00
Corey Johnson
9cfa46ea37
Upgrade to node-pathwatcher@1.3.1
2014-05-12 15:20:37 -07:00
Corey Johnson
11d5dfee3a
Upgrade to markdown-preview@0.71.0
2014-05-12 14:51:19 -07:00
Corey Johnson
864f61c430
Upgrade to node-pathwatcher@1.3.0
2014-05-12 14:49:30 -07:00
Aurelio Jargas
ca164a0b0b
Fix link for TextMate's GitHub Organization
2014-05-12 15:56:06 -03:00
Corey Johnson
e011becc1a
Upgrade to language-ruby-on-rails@0.13.0
2014-05-12 11:26:14 -07:00
Corey Johnson
25f5717ccf
Merge pull request #1971 from abe33/feature_proper_multiselections_copy_paste
...
Implements multiple selections clipboard paste
2014-05-12 11:10:37 -07:00
Ivan Žužak
3f0640f4c3
Merge pull request #2162 from teddybradford/development
...
Remove duplicate . from default nonWordCharacters
2014-05-12 16:31:04 +01:00
James R Sconfitto
65e8de9db8
Improve ctrl-delete binding for Win32
2014-05-12 11:22:34 -04:00
Cheng Zhao
c1ed25d5dc
Merge pull request #2189 from atom/atom-shell-v0.12.4
...
Upgrade to atom-shell@0.12 .4
2014-05-12 23:10:38 +08:00
Cheng Zhao
f731769afd
📝 No more need of libudev hack on Linux.
2014-05-12 22:28:03 +08:00
Cheng Zhao
c466cef7d1
Upgrade to atom-shell@0.12.4
2014-05-12 22:27:22 +08:00
Stan Kardach
b4cb92af99
Fix #2152 : Cast opened paths to string
...
path.resolve() was throwing an exception if given path was not a string.
When iterating through all given paths, each entry is casted by JS to
most suitable type and paths in form of a number (i.e. '1234') were
cast to Number, hence the bug.
2014-05-12 15:59:33 +02:00
James Sconfitto
5e7cbbf506
Add ctrl-home and ctrl-end Win32 bindings
2014-05-11 23:03:18 -04:00
Kirill Nikitin
397e0a8ac2
🐧 Add commands for ctrl-home and ctrl-end.
2014-05-12 05:02:16 +04:00
Kirill Nikitin
111b5d1fbe
💄 Deprecate backspaceToBeginningOf{Word,Line}
...
Rename functions `backspaceToBeginningOfWord` to `deleteToBeginningOfWord` and
`backspaceToBeginningOfLine to `deleteToBeginningOfLine`.
Rename commands `editor:backspace-to-beginning-of-word` to
`delete-to-beginning-of-word` and `editor:backspace-to-beginning-of-line` to
`editor:delete-to-beginning-of-line`.
Fix #1791
2014-05-12 02:50:20 +04:00
abe33
b2e86c80c4
Change test to cover all Selection::copy branches
2014-05-12 00:06:13 +02:00
abe33
b77ea04056
💄 Remove unnecessary double conditions
2014-05-12 00:06:01 +02:00
Anthony Van de Gejuchte
ba94f38166
Map key for full screen on windows
2014-05-11 23:12:45 +02:00
probablycorey
7cdaaf2f78
Upgrade markdown packages
2014-05-11 13:52:36 -07:00
Corey Johnson
6caf60bd6b
Merge pull request #2160 from dyross/dyr-dev-builds
...
append git hash to version for dev builds
2014-05-11 12:58:39 -07:00
Stan Kardach
19c7086200
Fix #2152 : Cast opened paths to string
...
path.resolve() was throwing an exception if given path was not a string.
When iterating through all given paths, each entry is casted by JS to
most suitable type and paths in form of a number (i.e. '1234') were
cast to Number, hence the bug.
2014-05-11 17:29:24 +02:00
Teddy Bradford
1519dda294
Remove duplicate . from default nonWordCharacters
2014-05-11 02:10:30 -04:00
David Y. Ross
a7efca8bb4
append git hash to version for dev builds
2014-05-10 20:50:20 -07:00
Corey Johnson
dbe15f7dda
Merge pull request #2142 from aureliojargas/patch-1
...
Remove unused 's' option from getopts
2014-05-10 15:53:21 -07:00
Corey Johnson
c81a6737ad
Merge pull request #2144 from aureliojargas/patch-2
...
Use $(...) for command substitution, not backticks
2014-05-10 13:06:42 -07:00
Paul Betts
5b0d974b43
Merge pull request #2074 from dertuxmalwieder/master
...
+FreeBSD, -bullshit
2014-05-10 08:37:16 -07:00
Aurelio Jargas
2b73dff0f4
Use $(...) for command substitution, not backticks
...
Currently both \`...\` and `$(...)` are used for command substitution. It's better to chose just one and stick to it, to avoid confusion.
Some arguments favoring `$(...)`:
* **Easier to read.** The backtick is easily confused with apostrophes and quotes.
* **Easier to nest.** Nesting backticks commands is an escaping nightmare. Using parenthesis is natural: `$(foo $(bar))`
2014-05-10 09:15:53 -03:00
Aurelio Jargas
adf0ff0a67
Remove unused 's' option from getopts
...
This option is not handled by the next `case` command.
2014-05-10 08:41:30 -03:00
Corey Johnson
c79ef0473d
Merge pull request #2133 from aaronhalford/updatedocs
...
Update docs and fix typos
2014-05-09 17:19:07 -07:00
Aaron Halford
d51b955e09
Update linux.md
2014-05-09 15:22:43 -07:00
Aaron Halford
774d7ec0af
Update docs and fix typos
2014-05-09 15:16:13 -07:00
probablycorey
d6f4b00e16
🔥 whitespace
2014-05-09 11:40:27 -07:00
probablycorey
9d81df8670
Remove x86 instructions because they aren't supported.
...
Based on comment by https://github.com/atom/atom/pull/2117/files#r12489527
2014-05-09 11:40:18 -07:00
Corey Johnson
14a430b939
Merge pull request #2128 from alfredxing/body-fullscreen-class
...
Add `fullscreen` class to body when in full screen
2014-05-09 11:36:39 -07:00
Corey Johnson
07de4a70a1
Merge pull request #2117 from sophearak/master
...
Add troubleshoot document libudev in Ubuntu 14.04
2014-05-09 11:30:39 -07:00
Corey Johnson
eb84ac829b
Merge pull request #2114 from Someguy123/master
...
Add troubleshooting to Windows build instructions
2014-05-09 11:29:50 -07:00
Corey Johnson
b8db56a77b
Merge pull request #2113 from MitchelSBlake/patch-1
...
Add more sublime parity keybindings
2014-05-09 11:25:46 -07:00
Corey Johnson
1036f16d1e
Merge pull request #2111 from Locke23rus/update-linux-keymaps
...
🐧 Fix #2103 , #2100 Update platform bindings for linux/win.
2014-05-09 11:13:13 -07:00
Nathan Sobo
5ed1cfc259
Merge pull request #1923 from atom/ns-fix-scrollbar-overlap
...
Refine scrollbar interactions
2014-05-09 11:46:35 -06:00
Nathan Sobo
ce5c29fb47
Base the visible lines on the height instead of the clientHeight
...
Because overlay scrollbars are invisible unless scrolling and even
regular scrollbars can be transparent.
2014-05-09 11:33:04 -06:00
Nathan Sobo
f0fd48202c
Refresh scrollbars when overlay/classic style preferences changes
2014-05-09 11:33:04 -06:00
Nathan Sobo
d5eb8c21b2
Only refresh editor scrollbars on stylesheet changes that require it
...
If a stylesheet is added or removed, we check if it contains a selector
for scrollbars before refreshing anything.
2014-05-09 11:33:04 -06:00
Nathan Sobo
76b9982e04
Emit stylesheet-added/removed from ThemeManager w/ CSSStyleSheet objects
...
This enables subscribers to detect not just that stylesheets have
changed, but specifically how they have changed. This is used by the
React editor component to only refresh scrollbars when a stylesheet
that actually contains selectors for scrollbar elements is added or
removed.
2014-05-09 11:33:04 -06:00
Nathan Sobo
ca7f11f7d0
Default scrollbar height/width to 15 when it's measure as 0
...
A 0 measurement indicates that overlay scrollbars are enabled, so we
just fall back to 15px in that case so the user can hover directly over
the scrollbar to scroll.
2014-05-09 11:33:04 -06:00
Nathan Sobo
1c1ace90db
Hide and show scrollbars before measuring them after stylesheet changes
...
We measure the scrollbar-corner node when there's a stylesheet change,
but Chromium won't apply the new style if it was already visible before
the change. This commit hides and shows it before measuring so we get
accurate values.
2014-05-09 11:33:04 -06:00
Nathan Sobo
bdd605e85b
Explicitly assign dummy scrollbars to the correct width/height
...
Previously, dummy scrollbars were always 15px wide/tall. This caused
them to obscure the ability to click for the entire 15px region, even if
the actual scrollbar was styled to be much thinner. Now we explicitly
measure the size of scrollbars on mount and when the stylesheets change
and set the height/width explicitly.
2014-05-09 11:33:04 -06:00
Nathan Sobo
e1b4b921ba
Hide scrollbar when not scrollable in a given direction
2014-05-09 11:33:04 -06:00
Nathan Sobo
ab1ede5fe6
Add a dummy scrollbar corner
...
Horizontal / vertical scrollbars render a 'corner' on the lower right
when they would otherwise overlap. I previously relied on drawing both
dummy scrollbars at their full width/height so the corner got rendered,
but that interfered with the display of the horizontal scrollbar in
certain circumstances because it was too wide to scroll. This commit
provides that behavior with an absolutely positioned div with the same
dimensions as the intersection of scrollbars when both are visible.
2014-05-09 11:33:04 -06:00
Nathan Sobo
5e6d91d66c
Don't allow spec window size to interfere with the size of the editor
2014-05-09 11:33:04 -06:00
Nathan Sobo
dbd271f70a
Don't obscure last character of long lines with vertical scrollbar
...
This entailed quite a few changes to dial in scrollbars. The scrollbars
are now adjusted in size to account for the width of the opposite
scrollbar. If the width or height are not explicitly constrained and we
are scrollable in the opposite direction that is constrained, we account
for the width of the opposite scrollbar in assigning a natural height
or width based on the content.
2014-05-09 11:33:04 -06:00
Nathan Sobo
527ada47f9
Account for gutter width in scrollWidth of horizontal scrollbar
...
Because the scrollbar now spans the entire editor but the scrollable
area does not include the gutter, we need to add the current width of
the gutter to the scroll width of the horizontal scrollbar to allow
it to scroll to the end of the longest lines.
2014-05-09 11:33:03 -06:00
Nathan Sobo
afb70d0a95
Remove stray return in spec
2014-05-09 11:33:03 -06:00
Nathan Sobo
b5f910ad06
Update line number padding when max digits changes
2014-05-09 11:33:03 -06:00
Nathan Sobo
e412371b88
Remove logging
2014-05-09 11:33:03 -06:00
Nathan Sobo
7b4bc16531
Fix specs that broke when accounting for horizontal scrollbar height
2014-05-09 11:33:03 -06:00
Nathan Sobo
e6df30e94c
Respect horizontal scrollbar when rendering the vertical, and vice versa
...
We set overflow to hidden in the opposite scroll direction only if we
can't actually scroll in that direction, causing the white square where
neither scrollbar overlaps to appear at the lower right corner.
2014-05-09 11:33:03 -06:00
Nathan Sobo
d9ba9262bf
Update scrollTop to valid position when scrollbar disappears
2014-05-09 11:33:03 -06:00
Nathan Sobo
c4be32a5dd
Revert "Revert "Don't obscure the last line of the editor with the horizontal scrollbar""
...
This reverts commit 1d634e471e .
2014-05-09 11:33:03 -06:00
Corey Johnson
0a32f6b5f0
Merge pull request #2050 from Spice-King/win-cmd-spawn-fix
...
Fix running .cmd stubs through BufferedProcess
2014-05-09 09:12:31 -07:00
Kyle Filz
f9fe5efbb0
Fix running .cmd stubs through BufferedProcess
...
ChildProcess.spawn only will run .exe files on Windows, not .cmd, .bat,
.anythingElse.
See joyent/node#2318 for more information.
2014-05-09 09:04:36 -05:00
Kirill Nikitin
87e723e33b
🐧 Fix #2103 , #2100 Update platform bindings for linux/win.
2014-05-09 17:57:55 +04:00
Kevin Sawicki
3f0302b256
Upgrade to apm@0.52.0
2014-05-09 13:52:31 +02:00
Ivan Žužak
88d024e73b
Upgrade to feedback@0.33.0
2014-05-09 12:23:06 +01:00
Sophearak THA
47a2e57633
📝 Add troubleshoot document libudev in Ubuntu 14.04
2014-05-09 14:44:57 +07:00
abe33
e7acbb314e
😕 Forgot to replace most references to clipboardMetadata
...
Never attempt to fix a PR right before going to sleep!
2014-05-09 09:33:35 +02:00
Cthulhux
d6a4c70929
FreeBSD
...
Signed-off-by: Cthulhux <zeug@tuxproject.de >
2014-05-09 09:28:50 +02:00
Alfred Xing
839cad0c2a
Add fullscreen class to body when in full screen
...
Add a `fullscreen` class to body when full screen is triggered, as suggested
by @orderedlist in #1694
2014-05-08 20:36:46 -07:00
Chris S
d3845db403
Add troubleshooting to Windows build instructions
2014-05-09 04:04:43 +01:00
Scott Blake
3d68bdf126
Add more sublime parity keybindings
2014-05-08 22:57:32 -04:00
Daniel Hengeveld
0d190d2cd4
Merge pull request #2112 from atom/why-ghfw
...
Explain why GH4W
2014-05-08 19:21:53 -07:00
Paul Betts
4afae028ec
Explain why GH4W
2014-05-08 19:00:53 -07:00
Paul Betts
5165f0df88
Merge remote-tracking branch 'origin/master' into winreadme
...
Conflicts:
README.md
2014-05-08 18:06:05 -07:00
Corey Johnson
5b7b3501a6
Merge pull request #2081 from xcvd/master
...
Shift backspace keymap
2014-05-08 17:03:25 -07:00
Corey Johnson
c3937d0c4c
Merge pull request #2073 from captn3m0/master
...
Make atom build behind firewalls
2014-05-08 16:53:31 -07:00
Corey Johnson
6e27208c5c
Merge pull request #2108 from atom/cj-update-build-docs
...
Update build docs
2014-05-08 16:42:34 -07:00
Corey Johnson
91342db0ba
Tweak build instruction content
2014-05-08 16:34:54 -07:00
Corey Johnson
8f7123ae12
Update build instruction links
2014-05-08 16:31:10 -07:00
Corey Johnson
3a22b3d4b8
Move build instructions to separate files
2014-05-08 16:30:44 -07:00
Corey Johnson
919ca82ccd
Update building section of docs
2014-05-08 16:16:31 -07:00
Corey Johnson
d35baac054
Add build instructions section to docs folder
2014-05-08 16:16:13 -07:00
Eric Engeström
9302242299
Allowing node > 1.0 (no reason not to already do that, I guess)
2014-05-09 00:45:13 +02:00
Eric Engeström
ed90a78ea5
Replacing string comparison with actual int comparison
2014-05-09 00:42:40 +02:00
Corey Johnson
9aa2df7cee
Merge pull request #2059 from bradgearon/master
...
append .cmd to apm in package-manager.coffee if platform is win32
2014-05-08 15:14:36 -07:00
Corey Johnson
41ea18a8f1
Merge pull request #2047 from cameronmcefee/master
...
Wordsmith the Atom readme
2014-05-08 15:10:39 -07:00
Corey Johnson
5cf37fd13e
Merge pull request #2045 from atom/cj-tabs-be-weird
...
Make Atom smarter about guessing if a file uses soft or hard tabs
2014-05-08 15:09:32 -07:00
abe33
3e12695914
💄 Clear object deconstruction in Selection::copy
2014-05-09 00:07:46 +02:00
abe33
ed1c8897ec
😅 Forgot to remove the test focus
2014-05-09 00:07:00 +02:00
abe33
75eb0182e9
💄 Use skinny arrow instead
2014-05-09 00:03:40 +02:00
abe33
554165ca48
💄 Harmonize lineForRow calls in specs
2014-05-09 00:02:31 +02:00
abe33
5a5cb869e2
💄 Replace have with has in spec description
2014-05-08 23:59:55 +02:00
Corey Johnson
a649d75ab8
Merge remote-tracking branch 'origin/master' into cj-tabs-be-weird
...
Conflicts:
package.json
2014-05-08 14:36:50 -07:00
Corey Johnson
255cdbb60a
Avoid problems with version pattern ^X.Y.Z
...
Older versions of npm don't recognize that pattern
2014-05-08 14:14:26 -07:00
Corey Johnson
bd4e56fd08
Upgrade to text-buffer@2.2.2
2014-05-08 14:01:30 -07:00
Corey Johnson
5246d784db
Upgrade to text-buffer@2.2.1
2014-05-08 13:50:54 -07:00
Brad Gearon
e945b83318
remove os require use process.platform instead
2014-05-08 12:38:35 -05:00
Kevin Sawicki
38bd996996
Merge pull request #2052 from AngelEzquerra/ignore_mercurial_files
...
Add mercurial directories to default list of ignored names
2014-05-08 19:23:40 +02:00
Kevin Sawicki
8f3a72e11b
Merge pull request #2071 from lee-dohm/doc-fix
...
📝 Some simple documentation fixes
2014-05-08 19:21:00 +02:00
Kevin Sawicki
ddc62efb44
Upgrade to pathwatcher@1.2.4
2014-05-08 19:17:17 +02:00
Kevin Sawicki
8f08e497a0
Upgrade to scrollbar-style@0.4.0
2014-05-08 19:16:47 +02:00
xcvd
8048f8af5f
Shift backspace keymap
...
Within windows build shift-backspace currently does nothing. Behaviour
untested in linux (perhaps linux.cson should be modified too?)
2014-05-08 11:53:47 +01:00
Cthulhux
4fc4e36902
+FreeBSD, -bullshit
...
Signed-off-by: Cthulhux <zeug@tuxproject.de >
2014-05-08 09:38:16 +02:00
Abhay Rana
c66d3fdba0
Make atom build behind firewalls
...
This is to get `npm install` to work behind firewalls where `git://` is blocked.
2014-05-08 12:24:34 +05:30
Lee Dohm
9b49c2f987
📝 Some simple documentation fixes
2014-05-07 22:38:51 -07:00
Paul Betts
bceed13606
Fix Windows build instructions
2014-05-07 20:08:09 -07:00
Brad Gearon
d99c9edc43
append .cmd to apm in package-manager.coffee if platform is win32
...
avoids NOENT error when searching for packages
2014-05-07 18:35:05 -05:00
Cameron McEfee
31306a3243
Apply @probablycorey's suggestions
2014-05-07 15:04:39 -07:00
Angel Ezquerra
67de17e0c3
Add mercurial directories to default list of ignored names
...
atom already ignored git and svn directories. It makes sense to ignore
mercurial (.hg) directories as well.
2014-05-07 23:56:29 +02:00
Corey Johnson
3371252656
Merge pull request #1995 from dpen2000/patch-1
...
Update README.md
2014-05-07 14:37:53 -07:00
Nathan Sobo
a7e9037e5b
Upgrade language-go for grammar improvements in atom/language-go#18
2014-05-07 14:44:30 -06:00
Cameron McEfee
b3e376ce7c
This doesn't need to change.
2014-05-07 13:03:59 -07:00
Cameron McEfee
d24b664873
fix io typo
2014-05-07 13:00:30 -07:00
Cameron McEfee
b8394830a0
Wordsmith the readme
2014-05-07 12:59:58 -07:00
probablycorey
7d76105530
Merge remote-tracking branch 'origin/master' into cj-tabs-be-weird
2014-05-07 12:59:23 -07:00
probablycorey
bbe399196f
Upgrade to find-and-replace@0.101.0
2014-05-07 12:49:45 -07:00
probablycorey
8c6cdf7358
Upgrade to text-buffer@2.2.1
2014-05-07 12:34:34 -07:00
dpen2000
f71bb9349b
Update README.md
...
Change 2010 express edition link because old one redirects to a general page about Visual Studio
2014-05-07 14:26:40 -05:00
probablycorey
6bb260140b
Don't use comment lines to determine soft/hard tabs.
...
Closes atom/language-php#24
Closes #1733
2014-05-07 12:18:05 -07:00
Nathan Sobo
88aec85f92
Upgrade pathwatcher to support windows builds
2014-05-07 12:24:02 -06:00
Kevin Sawicki
61cdee9743
Upgrade to language-less@0.9.0
2014-05-07 09:20:30 -07:00
Kevin Sawicki
15c3efa6e4
💄 Add variable names for clarity
2014-05-07 09:14:42 -07:00
Kevin Sawicki
a1835efb4e
Merge pull request #1988 from Ferk/master
...
Fix for source tarballs error on 'set-version' (not a git repository)
2014-05-07 09:12:49 -07:00
Kevin Sawicki
5e0f132d33
Merge pull request #1991 from evinugur/master
...
ignore Thumbs.db in workspace-view and in actual atom gitignore
2014-05-07 09:05:56 -07:00
Kevin Sawicki
2c7c4c95f2
Merge pull request #2013 from pborreli/typos
...
Fixed typos
2014-05-07 08:56:19 -07:00
Kevin Sawicki
81f115d3db
Merge pull request #2006 from Heather/patch-1
...
Visual C++ 2010 should be SP1
2014-05-07 08:48:48 -07:00
Kevin Sawicki
c4f872acff
Upgrade to apm 0.51.0
2014-05-07 08:43:25 -07:00
Nathan Sobo
b3dbb18889
Upgrade reactionary for cleanup / removal of unused 'class' feature
2014-05-07 09:23:51 -06:00
Cheng Zhao
02a278d80c
Mention the mkdeb task, closes #1969 .
2014-05-07 22:54:20 +08:00
Nathan Sobo
c7954a4c5e
Upgrade path watcher for variable name fix on windows
2014-05-07 08:15:51 -06:00
Cheng Zhao
61fff23be2
Upgrade to atom-shell@0.12.3
2014-05-07 16:31:37 +08:00
Pascal Borreli
7070ed8ae4
Fixed typos
2014-05-07 08:52:58 +01:00
Heather
101b18e408
Visual C++ 2010 should be SP1
...
else-way there will be "failure during conversion to COFF"
description on StackOverflow: http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval
2014-05-06 22:15:45 -07:00
Cheng Zhao
f0bd3b1c20
Ignore the "paste" event, fixes #1945 .
...
Somehow on Linux the "paste" event is emitted when user presses ctrl-v,
even if the ctrl-v has been captured by window event handler. This
should be a bug of Chromium.
2014-05-07 10:39:01 +08:00
Corey Johnson
921bf8501f
Merge pull request #1993 from mattbelland/docs-grammar-fix
...
Remove unnecessary conjunction and spaces
2014-05-06 19:30:08 -07:00
Matt Belland
594a2d201b
Remove unnecessary conjunction and spaces
2014-05-06 19:19:43 -07:00
Evin Ugur
cb0ba55871
ignore Thumbs.db in workspace-view and in actual atom gitignore
2014-05-06 21:24:11 -04:00
Fernando C.V
27bcf046b1
Take version from package.json also when there's no .git directory (source releases)
2014-05-07 02:55:07 +02:00
Kevin Sawicki
44f19610b6
Add grunt.cmd
2014-05-06 17:03:19 -07:00
Kevin Sawicki
a1d2e253ea
Upgrade to apm 0.50.0
2014-05-06 16:53:33 -07:00
Kevin Sawicki
a961a8f644
Upgrade to apm@0.49.0
2014-05-06 16:14:52 -07:00
probablycorey
86b7fec0bb
Update build requirements in readme
2014-05-06 15:55:10 -07:00
Kevin Sawicki
6060e0d8a9
Upgrade to symbols-view@0.51.0
2014-05-06 15:37:41 -07:00
Kevin Sawicki
c160601a9d
Upgrade to spell-check@0.35.0
2014-05-06 15:15:32 -07:00
abe33
56a1ecf6c1
Adds specs for multi selections clipboard handling
2014-05-07 00:13:04 +02:00
Kevin Sawicki
648441ee5c
Update to scrollbar-style@0.3.0
2014-05-06 15:04:59 -07:00
Kevin Sawicki
03f0e084e1
Merge pull request #1978 from kelunik/master
...
Use headings to enable links
2014-05-06 15:03:49 -07:00
Niklas Keller
ab57dc840f
Use headings to enable links
2014-05-07 00:01:59 +02:00
Eric Engeström
2ff5309d54
Allow newer version of nodejs
2014-05-07 00:00:44 +02:00
Kevin Sawicki
a308903735
Merge pull request #1975 from giodamelio/patch-1
...
Add message about 64bit to the Linux requirements fixes #1973
2014-05-06 14:53:24 -07:00
Gio d'Amelio
b6cb604330
Add message about 64bit to the Linux requirements fixes #1973
2014-05-06 14:52:22 -07:00
Kevin Sawicki
fb557e9b90
Merge pull request #1972 from dsine-de/patch-1
...
fixed Windows path slash
2014-05-06 14:32:17 -07:00
dsine-de
3180ab067c
fixed Windows path slash
2014-05-06 23:31:31 +02:00
abe33
4b7d982eb4
💄 Fix typo in pasteText method comments
2014-05-06 23:26:13 +02:00
abe33
fbabc6f455
Implements multiple selections clipboard paste
...
Includes:
- Passing the selection index in the `Editor::mutateSelectedText`
method callback
- Storing all the selections content on many calls of
`Selection::copy` with `maintainClipboard = true` in a metadata
`selections` array
- Handling clipboard with a `selections` metadata in
the`Editor::pasteText` method
2014-05-06 23:19:39 +02:00
Kevin Sawicki
fa759d8128
Upgrade to apm 0.48.0
2014-05-06 14:10:56 -07:00
Kevin Sawicki
e9ed45671f
Merge pull request #1935 from tombh/1814-linux-compat-show-error-on-startup
...
If atom.sh has non-zero exit show errors captured by nohup. Refers to #1814
2014-05-06 13:32:17 -07:00
Kevin Sawicki
8cc871f326
Merge pull request #1957 from bogdan-kulynych/master
...
Add node and npm versions to Linux build instructions, as mentioned in #1814
2014-05-06 12:48:16 -07:00
Corey Johnson
3651adbefd
Upgrade to language-javascript@v0.25.0
2014-05-06 12:24:09 -07:00
Bogdan
ff70ded25b
Correct npm version
2014-05-06 22:04:12 +03:00
Bogdan
244c06b524
Add node and npm versions to Linux build instructions, as mentioned in #1814
2014-05-06 21:44:17 +03:00
Kevin Sawicki
e7309b254c
Merge pull request #1951 from bonh/master
...
Make sure gyp uses Python 2 (#1933 )
2014-05-06 11:16:36 -07:00
Jeff Bonhag
0cdce9c665
Make sure gyp uses Python 2 ( #1933 )
...
gyp/npm uses /usr/bin/python to build, which is a problem on systems where
/usr/bin/python is Python 3 or higher. Fortunately, you can tell npm which
Python to use.
2014-05-06 14:10:40 -04:00
Kevin Sawicki
7a10bf1c33
Indent install option
2014-05-06 10:35:53 -07:00
Kevin Sawicki
a6d5a4ab5d
Merge pull request #1941 from qJake/master
...
Add Git for Windows as Windows build requirement
2014-05-06 10:34:38 -07:00
Kevin Sawicki
68f3c98872
Upgrade to apm@0.47.0
2014-05-06 10:32:39 -07:00
qJake
0b8c0cc431
Add Git for Windows as Windows build requirement
2014-05-06 12:28:16 -05:00
Kevin Sawicki
d9eaf8d334
Update to scrollbar-style@0.2.0
2014-05-06 10:24:58 -07:00
Corey Johnson
8d29ec4116
Prepare 0.95.0 release
2014-05-06 10:19:14 -07:00
Kevin Sawicki
806ff4e141
Resolve path to apm
...
Refs #1936
2014-05-06 09:56:03 -07:00
Corey Johnson
4b0ddbf2ab
Upgrade to feedback@0.32.0
2014-05-06 09:55:45 -07:00
Thomas Buckley-Houston
1ea54f8c92
🐧 If atom.sh has non-zero exit show errors captured by nohup. Refers to #1814
2014-05-06 17:21:01 +01:00
Kevin Sawicki
31cb4c58c2
Upgrade to apm@0.46.0
2014-05-06 09:15:07 -07:00
Kevin Sawicki
b9bffc32b0
Upgrade to release-notes@0.29.0
2014-05-06 09:15:07 -07:00
Corey Johnson
b267a781da
Upgrade to welcom@0.13.0
2014-05-06 09:11:24 -07:00
Corey Johnson
6f7209c68b
Upgrade to feedback@0.31.0
2014-05-06 09:06:24 -07:00
Corey Johnson
fb6782ef31
Update clone url in readme
2014-05-06 08:42:18 -07:00
Kevin Sawicki
fae8aafc17
Merge pull request #1929 from pierredup/patch-1
...
Fix link to API in README
2014-05-06 08:31:18 -07:00
Pierre du Plessis
ba38dddf4d
Fix link to API in README
2014-05-06 17:29:37 +02:00
Kevin Sawicki
0a4600409a
Merge pull request #1927 from aaronraimist/master
...
Updates Jasmine link
2014-05-06 08:26:38 -07:00
Aaron Raimist
706e4476d5
Updates Jasmine link
...
📝
Updates Jasmine link in CONTRIBUTING.md
2014-05-06 10:25:35 -05:00
Kevin Sawicki
c113a0a217
Merge pull request #1926 from bfrohs/patch-1
...
Show code necessary to create emoji
2014-05-06 08:24:00 -07:00
Brandon Frohs
ef05278537
Show code necessary to create emoji
...
Touch screens without `:hover` are unable to see the tooltip.
2014-05-06 11:22:01 -04:00
Kevin Sawicki
1254425ba8
Fix windows links
2014-05-06 08:11:32 -07:00
Corey Johnson
e3641286e7
Merge pull request #1924 from atom/cj-readme-requirements
...
Update build requirements
2014-05-06 07:48:05 -07:00
Corey Johnson
3a03f470c7
Use .bat fence instead of .sh
2014-05-06 07:43:08 -07:00
Kevin Sawicki
4ea44d9612
Prepare 0.94.0 release
2014-05-06 07:03:21 -07:00
Kevin Sawicki
15c2540c29
Merge branch 'master' into cj-readme-requirements
2014-05-06 06:49:58 -07:00
Kevin Sawicki
112f90979c
Upgrade to language-xml@0.12.0
2014-05-06 06:39:10 -07:00
Kevin Sawicki
cbe73fd916
Read LICENSE.md as UTF8
2014-05-06 06:39:10 -07:00
Ivan Žužak
3ea28c8ed6
Upgrade to language-gfm@0.34.0
2014-05-06 15:33:58 +02:00
Cheng Zhao
5a219a9087
Upgrade to atom-shell@0.12.2
2014-05-06 10:22:39 +08:00
Kevin Sawicki
fe4016a49d
🐧 Mention separate build/install
2014-05-05 17:37:38 -07:00
Corey Johnson
31b06b2e47
Update script/build directions
2014-05-05 17:15:59 -07:00
Corey Johnson
cf6d83a896
Update windows version requirement
2014-05-05 17:13:10 -07:00
Corey Johnson
084e4ab830
Use previous windows readme directions
2014-05-05 16:18:32 -07:00
Corey Johnson
5a53b34697
Add more specific node details
2014-05-05 16:15:10 -07:00
Corey Johnson
8f3b76d3c9
Update Windows requirements
2014-05-05 16:13:38 -07:00
Kevin Sawicki
f5df111b5c
Add Linux platform note and keyring install command
2014-05-05 16:05:24 -07:00
Corey Johnson
bb2527bbb8
Add stub linux and windows requirements
2014-05-05 15:49:29 -07:00
Corey Johnson
eb31c6c85f
Add OS X build requirements
2014-05-05 15:33:20 -07:00
Corey Johnson
546f81f2d0
Fix spacing
2014-05-05 15:33:03 -07:00