Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Upgrade Electron to v1.6.x #12696

Merged
merged 407 commits into from May 19, 2017
Merged

Upgrade Electron to v1.6.x #12696

merged 407 commits into from May 19, 2017
This pull request is big! We’re only showing the most recent 250 commits.

Commits on May 5, 2017

  1. Render overlay decorations

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b6f71bc View commit details
    Browse the repository at this point in the history
  2. Support class property on overlay decorations

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    47761a4 View commit details
    Browse the repository at this point in the history
  3. Use spies instead of monkey patching

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f2e2475 View commit details
    Browse the repository at this point in the history
  4. Add avoidOverflow: false option for overlays

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    5297e7a View commit details
    Browse the repository at this point in the history
  5. Add static TextEditor.viewForOverlayItem method to avoid using global

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1676617 View commit details
    Browse the repository at this point in the history
  6. Use the atom.views scheduler in TextEditorComponent

    This ensures smooth scheduling interactions with autocomplete-plus
    overlays so they measure their dimensions at the right time.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4707803 View commit details
    Browse the repository at this point in the history
  7. Refactor

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    555273f View commit details
    Browse the repository at this point in the history
  8. Factor editor component update into high-level phases

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    251078d View commit details
    Browse the repository at this point in the history
  9. Fix wrong variable name

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    9045283 View commit details
    Browse the repository at this point in the history
  10. Integrate properly with Atom scheduler

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    fadde63 View commit details
    Browse the repository at this point in the history
  11. Only update scrollTop/Left when they change

    This avoids forcing a reflows in some circumnstances.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6fefef0 View commit details
    Browse the repository at this point in the history
  12. Start on custom gutters

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    16694a2 View commit details
    Browse the repository at this point in the history
  13. Associate gutters with their elements and support showing/hiding gutters

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    d8b22fb View commit details
    Browse the repository at this point in the history
  14. ⬆️ etch to allow arbitrary objects as keys

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1b1cffb View commit details
    Browse the repository at this point in the history
  15. Adjust left position of scroll container when gutter container resizes

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    d5d3cfc View commit details
    Browse the repository at this point in the history
  16. WIP: Render gutters before initial measurement

    The shouldUpdate method is just returning true for now. We probably need
    to find a new approach to representing line number decorations that's
    easier to diff, perhaps a sparse array?
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4e834da View commit details
    Browse the repository at this point in the history
  17. Set the height of the line number gutter explicitly

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6158346 View commit details
    Browse the repository at this point in the history
  18. Store line, line number decorations in arrays and avoid slicing

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2880534 View commit details
    Browse the repository at this point in the history
  19. Cache subtrees to avoid duplicating work within a single frame

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1620204 View commit details
    Browse the repository at this point in the history
  20. Avoid using += with let variables to avoid let compound assigment deopt

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2faec0b View commit details
    Browse the repository at this point in the history
  21. Unfocus test

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4da579c View commit details
    Browse the repository at this point in the history
  22. ⬆️ etch

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b66a2ba View commit details
    Browse the repository at this point in the history
  23. Blink cursors; still needs tests

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    76b834e View commit details
    Browse the repository at this point in the history
  24. Implement a fast path for cursor blink to minimize battery impact

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    0cc19aa View commit details
    Browse the repository at this point in the history
  25. Add smoke test for cursor blink

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    eb22b58 View commit details
    Browse the repository at this point in the history
  26. Correctly assign gutter container vnode

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    3b71128 View commit details
    Browse the repository at this point in the history
  27. Ensure nextUpdateOnlyBlinksCursor argument is true, not just truthy

    We pass the bound scheduleUpdate method as an event handler to a variety
    of subscription methods, some of which supply arguments.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    7da588c View commit details
    Browse the repository at this point in the history
  28. Speed up cursor blink test

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    acf996f View commit details
    Browse the repository at this point in the history
  29. Add setInputEnabled and don't handle textInput if it is disabled

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8652222 View commit details
    Browse the repository at this point in the history
  30. Test and fix the center option to autoscroll

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    eb588d4 View commit details
    Browse the repository at this point in the history
  31. Cache prefixed scope names

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    171e4e8 View commit details
    Browse the repository at this point in the history
  32. WIP: Start on block decorations

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b32b760 View commit details
    Browse the repository at this point in the history
  33. Use LineTopIndex to convert from/to rows to/from pixel positions

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    5a6935a View commit details
    Browse the repository at this point in the history
  34. Add fast path when no block decorations need to be measured

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f7632a9 View commit details
    Browse the repository at this point in the history
  35. Use Array.push instead of array[i] = when adding line components

    Albeit (potentially) slower, this will allow to add a dynamic number of
    block decoration nodes before and after a given line.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    7a0a41a View commit details
    Browse the repository at this point in the history
  36. Render block decorations between lines

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e289283 View commit details
    Browse the repository at this point in the history
  37. Test scrolling down with block decorations

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    015f196 View commit details
    Browse the repository at this point in the history
  38. Handle inserting and updating block decorations

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4cd9a36 View commit details
    Browse the repository at this point in the history
  39. Splice LineTopIndex when a textual change occurs

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    316df28 View commit details
    Browse the repository at this point in the history
  40. Don't use etch for lines rendering

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    919c5a0 View commit details
    Browse the repository at this point in the history
  41. Copy the full SHA
    7474b4b View commit details
    Browse the repository at this point in the history
  42. Align line number nodes with line nodes

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b264d47 View commit details
    Browse the repository at this point in the history
  43. Copy the full SHA
    bc8b548 View commit details
    Browse the repository at this point in the history
  44. Hide cursors with non-empty selection if showCursorsOnSelection is false

    Also, remove some barely used public APIs around cursor visibility that
    don't make much sense and are not ideal for performance. We don't want
    to subscribe to the visibility of each cursor.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8aae3ab View commit details
    Browse the repository at this point in the history
  45. Update line number gutter when invalidating a visible block decoration

    When two or more decorations in the same tile were invalidated but the
    sum of their height didn't change, we were previously failing to
    recognize that the line numbers gutter needed to be re-rendered. With
    this commit, whenever a block decoration is visible and gets
    invalidated, we will force the line number gutter to always update.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8103bd6 View commit details
    Browse the repository at this point in the history
  46. Remeasure block decorations when editor width changes

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    054c133 View commit details
    Browse the repository at this point in the history
  47. Fix typo

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b6cd473 View commit details
    Browse the repository at this point in the history
  48. Re-measure and update rendered content when editor styles change

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    95c8950 View commit details
    Browse the repository at this point in the history
  49. Don't update editor component if we know we are not visible

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2c6490c View commit details
    Browse the repository at this point in the history
  50. Remove stray logging

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    7aec696 View commit details
    Browse the repository at this point in the history
  51. Don't re-measure if editor has become invisible

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6e6dce2 View commit details
    Browse the repository at this point in the history
  52. Fix test

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    3fce3eb View commit details
    Browse the repository at this point in the history
  53. Clear highlight nodes when recycling line tiles

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    99e3c62 View commit details
    Browse the repository at this point in the history
  54. Include more properties in LinesTileComponent.shouldUpdate

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    060a884 View commit details
    Browse the repository at this point in the history
  55. Remove unused var

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b99ddfd View commit details
    Browse the repository at this point in the history
  56. Remove highlight caching for now

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8aabd02 View commit details
    Browse the repository at this point in the history
  57. Slice lines and decorations passed to LinesTileComponent

    This ensures the component's shouldUpdate method works correctly.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c83cd34 View commit details
    Browse the repository at this point in the history
  58. Don't count the dummy line in block decoration test

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8707cab View commit details
    Browse the repository at this point in the history
  59. Fix bad syntax in src/initialize-benchmark-window.js

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c8aeee9 View commit details
    Browse the repository at this point in the history
  60. Import octicon-mixins in static/text-editor.less

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6742025 View commit details
    Browse the repository at this point in the history
  61. Fix lint errors and delete dead code

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    a99237b View commit details
    Browse the repository at this point in the history
  62. Further optimize line replacement

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2993f3c View commit details
    Browse the repository at this point in the history
  63. Copy the full SHA
    1d8f4f2 View commit details
    Browse the repository at this point in the history
  64. Update fake gutter container interface in gutter-spec.coffee

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    0210b0b View commit details
    Browse the repository at this point in the history
  65. Stop calling initialize in ViewRegistry tests

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b7a421e View commit details
    Browse the repository at this point in the history
  66. Don't reuse resize detectors across TextEditorComponent instances

    Due to the way element-resize-detector schedules the delivering of
    resize events, this will ensure that creating an editor while the clock
    is mocked won't prevent subsequent tests using the real clock from
    getting such events.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e2cf60a View commit details
    Browse the repository at this point in the history
  67. Fix spec/text-editor-spec.coffee

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1d01d49 View commit details
    Browse the repository at this point in the history
  68. Register style elements change events in AtomEnvironment.initialize

    ...and fix spec/workspace-element-spec.js
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f3c48c8 View commit details
    Browse the repository at this point in the history
  69. Copy the full SHA
    5df17f0 View commit details
    Browse the repository at this point in the history
  70. Skip obsolete tests for now, but delete them later

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    0a702d1 View commit details
    Browse the repository at this point in the history
  71. Add data-grammar to editor element

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2a1ba7f View commit details
    Browse the repository at this point in the history
  72. Add data-encoding to editor element

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    26b9273 View commit details
    Browse the repository at this point in the history
  73. Add deprecated shadow root property to editor element

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    03702a1 View commit details
    Browse the repository at this point in the history
  74. Don't share block decoration/character measurement vnodes across inst…

    …ances
    
    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8372d08 View commit details
    Browse the repository at this point in the history
  75. Position dummy line element absolutely and make it invisible

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8378717 View commit details
    Browse the repository at this point in the history
  76. Replace element-resize-detector with experimental ResizeObserver API

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    893da22 View commit details
    Browse the repository at this point in the history
  77. Test clicking more locations outside of the lines

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    9bf0ea8 View commit details
    Browse the repository at this point in the history
  78. Don't use position: relative on atom-text-editor

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    9881182 View commit details
    Browse the repository at this point in the history
  79. Account for scrollbars and padding in autoHeight/Width mode

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e602b5c View commit details
    Browse the repository at this point in the history
  80. Hide scrollbars in mini editors

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    336aa0f View commit details
    Browse the repository at this point in the history
  81. Fix clicking fold placeholders by ignoring pointer events on cursors div

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    87eb16f View commit details
    Browse the repository at this point in the history
  82. Give cursors at the end of lines the width of an 'x' character

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f83ad6b View commit details
    Browse the repository at this point in the history
  83. Add has-selection class to editors with non-empty selections

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    bfa410b View commit details
    Browse the repository at this point in the history
  84. Delete obsolete code and tests related to text editor rendering

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    eb33b5c View commit details
    Browse the repository at this point in the history
  85. Get TextEditorElement tests passing

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c8f2fbb View commit details
    Browse the repository at this point in the history
  86. Fix lint errors

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    174bac3 View commit details
    Browse the repository at this point in the history
  87. Set lineHeightInPixels on model for backward compatibility

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    0441625 View commit details
    Browse the repository at this point in the history
  88. Replace getDefaultCharacterWidth with getBaseCharacterWidth

    That's the language we use throughout the implementation now and a more
    accurate name for the concept.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e423b83 View commit details
    Browse the repository at this point in the history
  89. Convert text-editor-element-spec to JS

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    5000f9e View commit details
    Browse the repository at this point in the history
  90. Use async/await in text-editor-element-spec

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    a9d0f82 View commit details
    Browse the repository at this point in the history
  91. Add TextEditorElement.pixelPositionForScreen/BufferPosition

    These methods require us to render off-screen lines in some
    circumstances in order to measure them, so this commit extends the
    rendering of the longest line to include arbitrary lines.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    a536c59 View commit details
    Browse the repository at this point in the history
  92. Add deprecated rootElement property

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    84c20d9 View commit details
    Browse the repository at this point in the history
  93. Round column measurements to nearest whole pixel

    This preserves the expected behavior for positioning overlays, etc so
    that package tests keep passing.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c76fc5a View commit details
    Browse the repository at this point in the history
  94. Assign bufferRow property to line number nodes

    I wish we didn't need this, but it's currently relied on by several
    packages including bookmarks.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    5b07334 View commit details
    Browse the repository at this point in the history
  95. Don't pane focus when pane model is destroyed

    This avoids a non-failure error message when resetting the environment
    in some specs.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    15ecbed View commit details
    Browse the repository at this point in the history
  96. Honor the updateSynchronously parameter

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f7c55b9 View commit details
    Browse the repository at this point in the history
  97. Disconnect resize observers in overlay components on editor detach

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6eed22a View commit details
    Browse the repository at this point in the history
  98. Assign placeholder text on the model only when the attribute is present

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    55950f9 View commit details
    Browse the repository at this point in the history
  99. Disable ResizeObserver temporarily in resize callback to avoid warning

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    240a472 View commit details
    Browse the repository at this point in the history
  100. Add keys to gutterContainer and scrollContainer to avoid recycling issue

    Previously, when the gutter container was removed due to the editor
    becoming mini, the lack of keys caused the gutter to be updated with the
    recycled cursors vnode. But then we tried to remove the cursors vnode
    not realizing it had been moved and tore down all the references.
    
    We probably need to revisit whether it makes sense to recycle vnodes.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4d8137a View commit details
    Browse the repository at this point in the history
  101. Delegate (get|set)(Height|Width) to element

    Rather than storing these values on the editor model.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    69a29b2 View commit details
    Browse the repository at this point in the history
  102. Add back the measureDimensions method since some packages rely on it

    Ideally, packages would resize and then wait for an update. But we set
    up an example of calling measureDimensions directly in find-and-replace
    so the easiest thing for now is just to keep this method around.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    19f5535 View commit details
    Browse the repository at this point in the history
  103. Delegate getFirst/LastVisibleScreenRow from model to component

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    493b735 View commit details
    Browse the repository at this point in the history
  104. Delegate setFirstVisibleScreenRow from the model to the component

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4f52637 View commit details
    Browse the repository at this point in the history
  105. Delegate get/setFirstVisibleScreenColumn from the model to the component

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    eb7cdf2 View commit details
    Browse the repository at this point in the history
  106. Guard gitFirst/LastVisibleScreenRow

    These methods are sometimes called by the model before the editor has
    been attached to the DOM.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    5ea4096 View commit details
    Browse the repository at this point in the history
  107. Drop tests for set/getFirstVisibleScreenRow

    These are now tested in text-editor-component-spec
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e232a86 View commit details
    Browse the repository at this point in the history
  108. Return false from isLineCommentedAtBufferRow if no line yet exists

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    9da6e22 View commit details
    Browse the repository at this point in the history
  109. Set updatedSynchronously to false in text-editor-element-spec

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    129749f View commit details
    Browse the repository at this point in the history
  110. Don't update synchronously in text-editor-element-spec

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    996e046 View commit details
    Browse the repository at this point in the history
  111. Add tests for TextEditorElement.setScrollTop/Left

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4c8fd0c View commit details
    Browse the repository at this point in the history
  112. Use position: relative for .line-number elements

    ...because packages like `.git-diff` are relying on this behavior to
    position their decorations. This didn't seem to degrade layout times, so
    it makes sense to just add it to keep package breakage to a minimum.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    3d29db4 View commit details
    Browse the repository at this point in the history
  113. Honor the gutter-hidden attribute correctly

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    552fbf7 View commit details
    Browse the repository at this point in the history
  114. Copy the full SHA
    2a688db View commit details
    Browse the repository at this point in the history
  115. Copy the full SHA
    9ccfd34 View commit details
    Browse the repository at this point in the history
  116. Implement TextEditor.prototype.getRowsPerPage

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f9cb1f8 View commit details
    Browse the repository at this point in the history
  117. Restore editor scroll position across reloads

    This commit introduces the concept of a scrollTopRow and
    scrollLeftColumn which is used to query and update the logical scroll
    position.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f2070ef View commit details
    Browse the repository at this point in the history
  118. Fix pageUp/Down tests by using a real element

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    24e03ee View commit details
    Browse the repository at this point in the history
  119. Don't remove non accented character from history, improve test coverage

    Unfortunately Chromium does not trigger a `compositionstart` before
    firing the text input event for the non accented character. Using `undo`
    to remove such character from the history is risky because it could be
    grouped with a previous change, thus making Atom undo too much.
    
    With this commit we simply keep the behavior master exhibits as of
    today. In the process of rewriting this code path, however, we fixed a
    bug that occurred when opening the accented character menu while holding
    another key, and improved test coverage as well by simulating the events
    the browser triggers.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c38da71 View commit details
    Browse the repository at this point in the history
  120. Only enable cursor blink optimization when updateSync is using scheduler

    This ensures that direct calls to updateSync from places like scroll
    handlers never take this optimization path.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    348d085 View commit details
    Browse the repository at this point in the history
  121. Fix lint error

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    dfe647d View commit details
    Browse the repository at this point in the history
  122. Don't render decorations for invalidated markers

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b242f03 View commit details
    Browse the repository at this point in the history
  123. Make process.platform easier to mock

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2f356f8 View commit details
    Browse the repository at this point in the history
  124. Add middle mouse pasting on Linux

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1e6a1c6 View commit details
    Browse the repository at this point in the history
  125. Fix cursor positioning around fold markers

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    9d79b01 View commit details
    Browse the repository at this point in the history
  126. Add data-screen-row to line nodes

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e4659aa View commit details
    Browse the repository at this point in the history
  127. Copy the full SHA
    3bca09b View commit details
    Browse the repository at this point in the history
  128. Add cursor decorations

    These decorations allow the class and style of a cursor associated with
    any marker to be customized.
    
    /cc @t9md
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    3d6921c View commit details
    Browse the repository at this point in the history
  129. Add TextEditorComponent.screenPositionForPixelPositionSync

    This method can be used to translate a pixel position to a screen
    position even if the line is not currently rendered on screen.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1cc68e4 View commit details
    Browse the repository at this point in the history
  130. Give line numbers the full width of the line number gutter

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    5bbbe1d View commit details
    Browse the repository at this point in the history
  131. Consolidate editor style sheets

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    77f04c4 View commit details
    Browse the repository at this point in the history
  132. Drop floats

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c338227 View commit details
    Browse the repository at this point in the history
  133. Use Math.round for positions that are at the end of a line

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    a890528 View commit details
    Browse the repository at this point in the history
  134. Schedule component updates directly from the model

    The only event-based APIs we kept are for listening to changes in block
    decoration markers.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6a083e1 View commit details
    Browse the repository at this point in the history
  135. Fix more lint errors

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8f5e421 View commit details
    Browse the repository at this point in the history
  136. Update mock text editor in gutter-container-spec.coffee

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    906b3b0 View commit details
    Browse the repository at this point in the history
  137. Fix shift-scroll on Windows and Linux

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    72d6316 View commit details
    Browse the repository at this point in the history
  138. Restore scrollbar positions correctly on reload

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    37b5d2e View commit details
    Browse the repository at this point in the history
  139. Copy the full SHA
    f45ff05 View commit details
    Browse the repository at this point in the history
  140. Provide an editorElement shim on TextEditor

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    59ae239 View commit details
    Browse the repository at this point in the history
  141. Add a pixelPositionForMouseEvent method

    This was a private method in the previous implementation that was used
    by some packages.
    
    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    e1ae374 View commit details
    Browse the repository at this point in the history
  142. Use cursor:text on atom-text-editor elements

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    efdb044 View commit details
    Browse the repository at this point in the history
  143. Don't remeasure scrollbars for mini editors

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4bcace1 View commit details
    Browse the repository at this point in the history
  144. Add highlight decoration classes to region elements as well

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    6ed7cd9 View commit details
    Browse the repository at this point in the history
  145. Add highlights class for package compatibility

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    207cd31 View commit details
    Browse the repository at this point in the history
  146. Add scrollbar classes in case any packages or themes target them

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    0996d90 View commit details
    Browse the repository at this point in the history
  147. Remove some redundant styling

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    44539b1 View commit details
    Browse the repository at this point in the history
  148. Add missing methods on TextEditorElement

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b54dbb5 View commit details
    Browse the repository at this point in the history
  149. Add intersectsVisibleRowRange on TextEditorElement

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    a5a8044 View commit details
    Browse the repository at this point in the history
  150. Add TextEditorElement.pixelRectRangeForScreenRange for compatibility

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    305fd14 View commit details
    Browse the repository at this point in the history
  151. WIP: Start extracting gutter component

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1ca4c69 View commit details
    Browse the repository at this point in the history
  152. Initialize all measurements to 0

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    656cabd View commit details
    Browse the repository at this point in the history
  153. 🎨

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    8c7f4d9 View commit details
    Browse the repository at this point in the history
  154. Pass props to GutterContainerComponent instead of reaching up to parent

    There are still a few rootComponent references remaining in the
    LineNumberGutterComponent. These should be removed and instead we should
    consult this data when constructing the line numbers to render.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    7d7a6ab View commit details
    Browse the repository at this point in the history
  155. Eliminate caching of linesVnode

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b23dcb7 View commit details
    Browse the repository at this point in the history
  156. Extract CursorsAndInputComponent

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    82cdf80 View commit details
    Browse the repository at this point in the history
  157. Eliminate cached placeholderTextVnode

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    d92e0fc View commit details
    Browse the repository at this point in the history
  158. Update gutter container only once per frame unless its width changes

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    97125ad View commit details
    Browse the repository at this point in the history
  159. Update cursors only once per frame (after content has been measured)

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1544e3b View commit details
    Browse the repository at this point in the history
  160. Update lines content only once per frame

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    4b34c47 View commit details
    Browse the repository at this point in the history
  161. Cache derived dimensions during each phase of updateSync

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    45e9591 View commit details
    Browse the repository at this point in the history
  162. Fix build failures

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    638bb78 View commit details
    Browse the repository at this point in the history
  163. Copy the full SHA
    7235148 View commit details
    Browse the repository at this point in the history
  164. Set autoHeight: true explicitly in benchmarks

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    46daf64 View commit details
    Browse the repository at this point in the history
  165. Eliminate strictly contained divs wrapping lines and highlights

    I was hoping to strictly contain the layouts of highlights an lines
    separately, since they are updated during different render phases.
    Unfortunately, strict containment requires both divs to be positioned
    absolutely. This in turn creates separate stacking contexts for lines
    and highlights, which makes it impossible to render highlights in front
    lines which themes sometimes need to do. For example,
    atom-material-syntax pushes bracket matcher highlights to the front so
    they are not obscured by the theme's solid black cursor line background.
    
    /cc @as-cii. You should examine my work here and make sure I'm not
    screwing something up with your line/block decoration update code.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    bd6eedc View commit details
    Browse the repository at this point in the history
  166. Fix error when attaching soft-wrap editor in synchronous update mode

    Taking the initial measurement was setting the soft wrap column, which
    was triggering a display layer reset, which was scheduling an update.
    This update occurred at an unexpected time causing an exception.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c7228f6 View commit details
    Browse the repository at this point in the history
  167. Avoid blowing away classes assigned on the editor element by packages

    /cc @t9md
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c36303e View commit details
    Browse the repository at this point in the history
  168. Fix lint errors

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    16b2fba View commit details
    Browse the repository at this point in the history
  169. Copy the full SHA
    570cfde View commit details
    Browse the repository at this point in the history
  170. Use scope ids instead of tags

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f17baf4 View commit details
    Browse the repository at this point in the history
  171. Implement text decorations in rendering layer

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    ac8a908 View commit details
    Browse the repository at this point in the history
  172. Never create empty spans at the beginning of a row

    This was happening when a text decoration overlapped a row, but the next
    boundary was located exactly at the beginning of it.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c2b8541 View commit details
    Browse the repository at this point in the history
  173. Make first-mate scope ids always larger than built-in ones

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    ccc35b5 View commit details
    Browse the repository at this point in the history
  174. ⬆️ text-buffer

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    de2cfb5 View commit details
    Browse the repository at this point in the history
  175. Don't activate scrollPastEnd for autoHeight editors

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    001fef4 View commit details
    Browse the repository at this point in the history
  176. Update DOM in screenPositionForPixelPosition if needed

    Some packages are interacting with this method assuming this behavior,
    so this commit eliminates `screenPositionForPixelPositionSync` and
    instead just performs the DOM update in `screenPositionForPixelPosition`
    if it is needed.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    fe13279 View commit details
    Browse the repository at this point in the history
  177. Account for vertical scrollbar width when soft-wrapping lines

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    42bb02c View commit details
    Browse the repository at this point in the history
  178. Set overflow: hidden and contain: layout paint on lines

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    abfcfb3 View commit details
    Browse the repository at this point in the history
  179. Pass mini attribute when creating new TextEditor from TextEditorElement

    This avoids content being shifted over due to rendering and measuring
    the gutter on element creation and then subsequently hiding it.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c00ad62 View commit details
    Browse the repository at this point in the history
  180. Rename method to match old implementation

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    1b1973d View commit details
    Browse the repository at this point in the history
  181. Avoid requesting horizontal measurement when auto-scrolling vertically

    This was leaving a measurement request in the map that was getting
    picked up on the next frame. In some cases, the requested measurement
    row was not present, causing an exception.
    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c5c4809 View commit details
    Browse the repository at this point in the history
  182. Only resolve update promise after final render phase

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    0c7030c View commit details
    Browse the repository at this point in the history
  183. Maintain the scroll position when changing font size

    Nathan Sobo authored and Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    bc34344 View commit details
    Browse the repository at this point in the history
  184. Fix remaining test failures in core

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    c541d39 View commit details
    Browse the repository at this point in the history
  185. Fix remaining linting warnings

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    97d2d7f View commit details
    Browse the repository at this point in the history
  186. Update class list even when the editor is not attached

    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    f7b79b4 View commit details
    Browse the repository at this point in the history
  187. Don't create empty nodes when a text decoration ends next to a text tag

    This was causing problems in measurements because in that code path we
    assume that text nodes are never empty. This commit also adds a test
    verifying this invariant when a text decoration ending right after a
    text tag is added.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    2855e01 View commit details
    Browse the repository at this point in the history
  188. Don't 'contain: paint' line elements

    This fixes
    #13880 (comment) once
    again.
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    b9783b1 View commit details
    Browse the repository at this point in the history
  189. Update width of content when approximate longest screen row changes

    Antonio Scandurra authored and Nathan Sobo committed May 5, 2017
    Copy the full SHA
    15f25a7 View commit details
    Browse the repository at this point in the history
  190. Remove dead code

    Nathan Sobo committed May 5, 2017
    Copy the full SHA
    edf1b7f View commit details
    Browse the repository at this point in the history
  191. Fix clicking past the content height

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    df4116d View commit details
    Browse the repository at this point in the history
  192. Move cursors within a transaction to batch marker layer update events

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    a7f658a View commit details
    Browse the repository at this point in the history
  193. Call editor.setEditorWidthInChars only when the value changed

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 5, 2017
    Copy the full SHA
    245f294 View commit details
    Browse the repository at this point in the history
  194. Merge pull request #13880 from atom/ns-editor-rendering

    Rewrite editor rendering layout to use new browser features and virtual DOM
    Antonio Scandurra committed May 5, 2017
    Copy the full SHA
    ecef2af View commit details
    Browse the repository at this point in the history

Commits on May 8, 2017

  1. Fix rendering artifacts when resizing with soft wraps

    Previously, we were accidentally depending on the state of the display
    layer when forcing it to update its index. This caused us to not index
    enough content to cover the visibile area, which meant we weren't
    querying enough lines to fill the screen in some situations.
    Nathan Sobo committed May 8, 2017
    Copy the full SHA
    f76e850 View commit details
    Browse the repository at this point in the history
  2. ⬆️ text-buffer

    Nathan Sobo committed May 8, 2017
    Copy the full SHA
    681a1cb View commit details
    Browse the repository at this point in the history
  3. 🐎 Ensure rendered tile count is stable when scrolling

    Signed-off-by: Nathan Sobo <nathan@github.com>
    maxbrunsfeld committed May 8, 2017
    Copy the full SHA
    1c8847c View commit details
    Browse the repository at this point in the history

Commits on May 9, 2017

  1. Delete more dead code

    Antonio Scandurra committed May 9, 2017
    Copy the full SHA
    5be2db6 View commit details
    Browse the repository at this point in the history
  2. Don't populate more screen rows than necessary

    Antonio Scandurra committed May 9, 2017
    Copy the full SHA
    7f3794b View commit details
    Browse the repository at this point in the history
  3. Use explicit state to recycle tiles instead of modulo scheme

    This avoids updating tiles unnecessarily when changing the number of
    rendered tiles.
    
    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 9, 2017
    Copy the full SHA
    be2aaa0 View commit details
    Browse the repository at this point in the history
  4. Null out component when editor is destroyed to minimize leaks

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 9, 2017
    Copy the full SHA
    ca3395b View commit details
    Browse the repository at this point in the history
  5. Dispose nodes associated with a LineComponent when replacing it

    Antonio Scandurra committed May 9, 2017
    Copy the full SHA
    f58fd74 View commit details
    Browse the repository at this point in the history
  6. ⬆️ etch

    Antonio Scandurra committed May 9, 2017
    Copy the full SHA
    f2aba0a View commit details
    Browse the repository at this point in the history
  7. Don't change number of tiles based on block decorations

    This means we may render more tiles than necessary when we have block
    decorations, but it prevents changing the number of rendered tiles
    during scrolling with certain combinations of line height and editor
    height. If it ever becomes a problem we can get smarter about
    subtracting the height of the visible block decorations from the editor
    height, but for now this gives us more reliable performance for the
    common case.
    Nathan Sobo committed May 9, 2017
    Copy the full SHA
    4eecf8d View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. Copy the full SHA
    ebf2aaa View commit details
    Browse the repository at this point in the history
  2. Don't populate more screen rows than necessary

    See 4eecf8d.
    Antonio Scandurra committed May 10, 2017
    2
    Copy the full SHA
    ab20fc3 View commit details
    Browse the repository at this point in the history
  3. Use bufferRowsForScreenRows to compute line numbers

    Antonio Scandurra committed May 10, 2017
    Copy the full SHA
    955cf98 View commit details
    Browse the repository at this point in the history
  4. ⬆️ line-top-index

    Antonio Scandurra committed May 10, 2017
    Copy the full SHA
    42b397e View commit details
    Browse the repository at this point in the history
  5. ⬆️ etch

    Antonio Scandurra committed May 10, 2017
    Copy the full SHA
    c12882a View commit details
    Browse the repository at this point in the history
  6. Ignore mismatched tags between lines in TokenizedBufferIterator

    Previously the DisplayLayer would have issues when closing tags that had
    not been previously opened, requiring us to guard against mismatched
    scopes at the frontier of asynchronous tokenization (see 5cfe971 for
    more information).
    
    Now the DisplayLayer gracefully handles closing tags that had not been
    opened, meaning we can eliminate this costly logic.
    
    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 10, 2017
    Copy the full SHA
    e89552e View commit details
    Browse the repository at this point in the history
  7. ⬆️ text-buffer

    Antonio Scandurra committed May 10, 2017
    Copy the full SHA
    58a9682 View commit details
    Browse the repository at this point in the history
  8. Optimize isFoldable

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 10, 2017
    Copy the full SHA
    3c87b74 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. Copy the full SHA
    dc6653f View commit details
    Browse the repository at this point in the history
  2. Fix blurring the editor when no hidden input is present

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    a0ed201 View commit details
    Browse the repository at this point in the history
  3. Change editor.bufferRowsForScreenRows to include the supplied endScre…

    …enRow
    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    f3a96c9 View commit details
    Browse the repository at this point in the history
  4. Re-enable a test that was previously failing

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    39a5705 View commit details
    Browse the repository at this point in the history
  5. Delete unused code

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    32f03c8 View commit details
    Browse the repository at this point in the history
  6. 💄

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    1b27df6 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'master' into tj-upgrade-electron

    # Conflicts:
    #	script/package.json
    #	src/task.coffee
    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    729ae0e View commit details
    Browse the repository at this point in the history
  8. ⬆️ electron

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    c0af383 View commit details
    Browse the repository at this point in the history
  9. ⬆️ text-buffer

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    25a2d5f View commit details
    Browse the repository at this point in the history
  10. 💄 Fix more lint errors

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    955d11b View commit details
    Browse the repository at this point in the history
  11. Use buffer coordinates in isFoldedAtCursorRow

    This avoid an extra screen-to-buffer coordinate translation.
    
    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 11, 2017
    Copy the full SHA
    c59e972 View commit details
    Browse the repository at this point in the history
  12. Don't clip screen range when autoscrolling from Cursor

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 11, 2017
    Copy the full SHA
    2f2f481 View commit details
    Browse the repository at this point in the history
  13. Prevent unnecessary clipping of buffer range in isFoldedAtBufferRow

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 11, 2017
    Copy the full SHA
    8ff5d81 View commit details
    Browse the repository at this point in the history
  14. ⬆️ first-mate

    Antonio Scandurra committed May 11, 2017
    Copy the full SHA
    354e0ca View commit details
    Browse the repository at this point in the history
  15. Mock Date.now in spec helper in addition to _.now

    Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
    Nathan Sobo authored and maxbrunsfeld committed May 11, 2017
    2
    Copy the full SHA
    80f0331 View commit details
    Browse the repository at this point in the history
  16. 1
    Copy the full SHA
    f8ecf92 View commit details
    Browse the repository at this point in the history
  17. Eliminate reliance on local storage in HistoryManager

    It's causing test failures locally and enough time has passed that most
    user data should be transitioned to indexed DB by now.
    Nathan Sobo committed May 11, 2017
    Copy the full SHA
    d584bd6 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    2e2b35c View commit details
    Browse the repository at this point in the history
  19. Avoid polluting test with click events on the test runner

    We now pass an isolated document into the AtomEnvironment instance under
    test to avoid accidentally handling clicks on the test runner itself.
    Nathan Sobo committed May 11, 2017
    Copy the full SHA
    8743298 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2017

  1. Destroy environment to silence leaked editor warning

    Nathan Sobo committed May 12, 2017
    Copy the full SHA
    6c6d38a View commit details
    Browse the repository at this point in the history
  2. Fix atom.setSize spec when window is full screen

    Nathan Sobo committed May 12, 2017
    Copy the full SHA
    b7218e5 View commit details
    Browse the repository at this point in the history
  3. Silence error output in test

    Nathan Sobo committed May 12, 2017
    Copy the full SHA
    5a9582e View commit details
    Browse the repository at this point in the history
  4. Fix lint errors

    Nathan Sobo committed May 12, 2017
    Copy the full SHA
    ffd154e View commit details
    Browse the repository at this point in the history
  5. Unspy Date.now when jasmine.useRealClock is called

    Nathan Sobo committed May 12, 2017
    Copy the full SHA
    e62d1b9 View commit details
    Browse the repository at this point in the history
  6. Upgrade packages so tests pass with a mocked Date.now

    Nathan Sobo committed May 12, 2017
    Copy the full SHA
    3c34e3f View commit details
    Browse the repository at this point in the history
  7. Fix editor component tests on Windows

    Antonio Scandurra committed May 12, 2017
    Copy the full SHA
    0d4e2b3 View commit details
    Browse the repository at this point in the history
  8. ⬆️ first-mate

    Antonio Scandurra committed May 12, 2017
    Copy the full SHA
    5848e9b View commit details
    Browse the repository at this point in the history
  9. Fix editor element tests on Windows

    Antonio Scandurra committed May 12, 2017
    Copy the full SHA
    9653399 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. Update foldable icon when a row's foldability changes

    Antonio Scandurra committed May 16, 2017
    Copy the full SHA
    4c5127c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ad6202c View commit details
    Browse the repository at this point in the history
  3. Always allow to destroy free-form folds from the gutter

    Antonio Scandurra committed May 16, 2017
    Copy the full SHA
    3b3505d View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into tj-upgrade-electron

    Antonio Scandurra committed May 16, 2017
    Copy the full SHA
    d44876f View commit details
    Browse the repository at this point in the history
  5. ⬆️ text-buffer

    Antonio Scandurra committed May 16, 2017
    Copy the full SHA
    b15a59a View commit details
    Browse the repository at this point in the history
  6. 🎨

    Antonio Scandurra committed May 16, 2017
    Copy the full SHA
    a106a3b View commit details
    Browse the repository at this point in the history
  7. ⬆️ bracket-matcher

    Antonio Scandurra committed May 16, 2017
    Copy the full SHA
    dad08f2 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2017

  1. Use custom snapshot row translation to prevent Electron 1.6 reload crash

    Adding a source map for the entire snapshot was expensive in terms of
    memory and seemed to be triggering some sort of bug in Chromium when
    reloading with the DevTools open.
    
    The custom row translation relies on a much more compact representation
    of the data and avoids the crash.
    
    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 19, 2017
    Copy the full SHA
    2c35005 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into tj-upgrade-electron

    Antonio Scandurra committed May 19, 2017
    Copy the full SHA
    d158e44 View commit details
    Browse the repository at this point in the history
  3. Fix lint errors

    Signed-off-by: Nathan Sobo <nathan@github.com>
    Antonio Scandurra authored and Nathan Sobo committed May 19, 2017
    Copy the full SHA
    a7066e3 View commit details
    Browse the repository at this point in the history