Commit Graph

15187 Commits

Author SHA1 Message Date
Antonio Scandurra
acbe228901 Ignore ref and key properties in TextEditor.prototype.update 2017-02-27 11:15:53 +01:00
simurai
65ecab401d Add "Experimental" to the description 2017-02-22 09:49:42 +09:00
simurai
ec9aec6686 Merge branch 'master' into sm-custom-title-bar 2017-02-21 21:56:53 +09:00
Damien Guard
e04c31445d Merge pull request #13754 from hron/normalize-disk-drive-letter
Normalize disk drive letter in path on Windows
2017-02-20 09:54:19 -08:00
Aleksei Gusev
fd9dbb6e87 Normalize disk drive letter in path on Windows
Currently atom creates two buffers for the same file if passed
paths use difference case for disk drive letter,
e.g. d:\file.txt and D:\file.txt
2017-02-18 11:32:44 +03:00
Max Brunsfeld
060b027e2a Respect the --resource-path flag 2017-02-17 14:16:53 -08:00
Antonio Scandurra
4acd477559 Merge pull request #13818 from atom/ns-as-return-all-decorations
Return decorations for markers from *all* marker layers from decorationsForScreenRowRange
2017-02-17 11:15:15 +01:00
Antonio Scandurra
85dde00e82 Merge branch 'master' into as-use-babel6 2017-02-16 12:59:05 +01:00
Antonio Scandurra
af8773aa3f Add more transforms 2017-02-16 11:24:03 +01:00
Nathan Sobo
70c122ae23 Add metadata to track unexplained decorations of destroyed cursor marker 2017-02-15 18:12:21 -07:00
Max Brunsfeld
97340ee4c5 Merge pull request #13810 from atom/mb-fix-state-key-when-opening-new-files
Restore correct directory's project state when opening a new file from the CLI
2017-02-15 14:13:28 -08:00
Antonio Scandurra
5a0433b006 Upgrade to babel 6 and apply fewer transformations to babel files 2017-02-15 17:02:00 +01:00
Max Brunsfeld
f50b197c58 Avoid hangs when opening minified files
* Force soft wraps for lines that exceed 500 chars
* Don't pass more than 500 chars to first-mate
2017-02-14 16:21:50 -08:00
Nathan Sobo
e736656380 Don't pass default marker layer to decoration manager 2017-02-14 11:44:56 -07:00
Nathan Sobo
28508d9a3f Make decorationsForScreenRowRange return all decorations
Even if they are for markers that aren't on the default marker layer
2017-02-14 11:44:38 -07:00
Nathan Sobo
edc9745018 Merge pull request #13817 from atom/ns-dont-decorate-destroyed-layers
Throw exceptions when decorating destroyed marker layers
2017-02-14 11:16:51 -07:00
Nathan Sobo
3b55cfad24 Merge pull request #13781 from atom/mb-ns-no-events-in-project-teardown
Avoid emitting path change events while destroying the Project
2017-02-14 09:47:37 -07:00
Nathan Sobo
4abcace5c3 Throw exceptions when decorating destroyed marker layers 2017-02-14 09:44:02 -07:00
Max Brunsfeld
aea6896c2b Restore correct directory's project state when opening a new file from the command line 2017-02-13 17:23:11 -08:00
Nathan Sobo
e5c0dd1695 Remove toString call 2017-02-13 11:49:46 -07:00
Nathan Sobo
3c525d98a2 Quality Text global 2017-02-13 11:49:34 -07:00
Nathan Sobo
ee749bf286 Assign className in DOMElementPool when building new elements
Also, improve test coverage
2017-02-13 11:27:44 -07:00
Nathan Sobo
6fa5c17cfb Add back DOMElementPool.freeDescendants 2017-02-13 10:58:58 -07:00
Nathan Sobo
1528561c9b Only free elements that the DOMElementPool created 2017-02-13 10:46:37 -07:00
Nathan Sobo
5753b75f09 Fail assertion with content metadata if the same element is freed twice
This changes the element pool to only remove elements' children right
before we use an element again in order to preserve the structure of
double-freed elements. This will aid in debugging double-free
occurrences. It's also less work in cases where nodes aren't reused.
2017-02-13 10:30:51 -07:00
Nathan Sobo
2ad6f83239 Allow metadata to be passed to atom.assert 2017-02-13 10:29:04 -07:00
Nathan Sobo
01f0bd56af Use a Map instead of an object to store freeElementsByTagName 2017-02-13 10:03:01 -07:00
Nathan Sobo
d7db7af722 Remove closure allocations from DOMElementPool build methods 2017-02-13 09:56:37 -07:00
Nathan Sobo
bb9d1f49c0 Convert DOMElementPool and specs to JS 2017-02-13 09:51:20 -07:00
Max Brunsfeld
162a85a0e1 Add assertion to debug NaN startRow on TextEditorPresenter
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-02-10 16:03:16 -08:00
Max Brunsfeld
e07dcec54b Avoid emitting path change events while destroying the Project 2017-02-09 13:45:27 -08:00
Damien Guard
eebc81f6ea Version is used for release channels on windows 2017-02-08 23:24:54 -08:00
Nathan Sobo
c6cae5b8fd Store represented directory paths directly on AtomWindow in main process
Fixes #13729

Previously, when adding a window, we were unable to read its current
project paths out of the hash of the URL during window initialization
because the window still considered itself to be loading. Rather than
fixing this issue, we decided to completely eliminate the sharing of
state between processes in the window.location and instead switch to
cached synchronous RPC for the loadSettings and a dedicated RPC-based
mechanism for the project paths.
2017-02-07 13:15:27 -07:00
undefined
14348855ef Show first project path as window title if no pane items are open
Fixes #13647.

This restores the behavior we had prior to #13475 when there are no pane
items while preserving its improved behavior for paths outside of the
current project.
2017-02-06 16:02:20 -07:00
Lee Dohm
00d68c0d76 📝 🔥 broken TextEditorElement link 2017-02-06 07:53:29 -08:00
Damien Guard
83266c7486 Revert "Normalize disk drive letter in path on Windows" 2017-02-06 07:10:18 -08:00
Damien Guard
f3468d2955 Merge pull request #13725 from hron/normalize-disk-drive-letter
Normalize disk drive letter in path on Windows
2017-02-04 17:51:40 -08:00
Aleksei Gusev
ae76925926 Normalize disk drive letter in path on Windows
Currently atom creates two buffers for the same file if passed
paths use difference case for disk drive letter,
e.g. d:\file.txt and D:\file.txt
2017-02-01 18:32:08 +03:00
Lee Dohm
7e7224c670 Merge pull request #13563 from shreyasminocha/master
Updated documentation about keys outside config schema
2017-01-27 18:13:23 -08:00
Ian Olsen
1cabda53fc Merge pull request #13657 from atom/io-close-deleted-tabs-option
Add option for closing deleted file tabs
2017-01-25 15:00:07 -08:00
Antonio Scandurra
e49ac783f8 Fix infinite recursion when calling getLastSelection from onDidAddCursor 2017-01-24 12:18:09 +01:00
Damien Guard
50f49cf794 Honor removing projects from the Windows jump list 2017-01-23 20:54:25 -08:00
Lee Dohm
88a190532c Merge pull request #13680 from Down10/patch-1
Add description text to the File Encoding list
2017-01-23 16:34:01 -08:00
Jesse Burgheimer
3615f500d9 Update config-schema.js
Caught a typo.
2017-01-23 11:45:44 -08:00
Jesse Burgheimer
eec0d7263d Sorted the list by description titles
I kept the Chinese entries together, however.
2017-01-23 11:43:32 -08:00
Antonio Scandurra
c5fbb79ac9 Merge pull request #13668 from atom/as-dont-throw-exception-for-malformed-css
Don't transform deprecated selectors containing malformed CSS
2017-01-23 13:36:23 +01:00
Jesse Burgheimer
379d045095 Added description text to the File Encoding list
I updated the list of text encodings that appear in the Settings configuration menu to properly reflect the code pages supported by [encoding-selector](https://github.com/atom/encoding-selector), as well as present descriptive text in the selection menu.

In the process, I removed what appeared to be a duplicate entry ('iso88597').

Note: I don't know if this change will affect the functionality of the menu, but I presume a more experience coder can figure this out.
2017-01-22 23:50:01 -08:00
Ian Olsen
22a881323c Move shouldDestroyBufferOnFileDelete callback to TextBuffer constructor
Also add setting the callback to buffers created via deserialization.
2017-01-20 13:52:49 -08:00
Nathan Sobo
82741c7cac Merge pull request #13664 from atom/fb-as-show-cursor-on-selection
Add showCursorOnSelection config
2017-01-20 14:07:21 -07:00
Antonio Scandurra
93f2e34ded Don't transform deprecated selectors containing malformed CSS 2017-01-20 15:09:57 +01:00