Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core, test] Add BiDi unit test | Chris Loer | 2018-10-15 | 1 | -2/+7 |
| | | | | | | - Port of arabic.test.js from mapbox-gl-rtl-text - Modify BiDi::getLine to remove trailing nulls in the event UBIDI_REMOVE_BIDI_CONTROLS causes the string to shorten. - Patch vendored ICU to avoid undefined undefined bit shifting behavior (triggered sanitizer failure) | ||||
* | [core] Bidi support for styled text. | Chris Loer | 2018-10-15 | 1 | -0/+102 |
| | | | | Remove use of QString from non-ICU Qt stub bidi implementation since we weren't making use of it. | ||||
* | [tidy] modernize-use-nullptr | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -3/+3 |
| | |||||
* | [core] Fix compilation error with older libicu versions | Bruno de Oliveira Abinader | 2017-05-02 | 1 | -1/+1 |
| | |||||
* | [core] Safeguard ICU UChar usage | Bruno de Oliveira Abinader | 2017-03-02 | 1 | -5/+7 |
| | |||||
* | [core] Reserve vector size | John Firebaugh | 2017-02-27 | 1 | -0/+2 |
| | |||||
* | [core] Avoid some string copies in bidi implementation | John Firebaugh | 2017-02-27 | 1 | -6/+7 |
| | | | | As of C++11, it's safe to preallocate std::[u16]string and write to the buffer via &s[0] (C++17 makes it possible via .data() as well). | ||||
* | [core] remove trailing whitespace, add trailing newlines, add space after // | Konstantin Käfer | 2017-01-27 | 1 | -1/+1 |
| | |||||
* | Port raggedness-minimizing line breaking from gl-js. | Chris Loer | 2017-01-05 | 1 | -14/+10 |
| | |||||
* | Cleaning up line breaking code. | Chris Loer | 2017-01-05 | 1 | -38/+41 |
| | | | | | | * Don't include trailing spacing (as opposed to whitespace) in lineLength * Modify BiDi interface to require initial bidi layout and linebreaking to happen in one call. * Code style changes suggested by @kkaefer | ||||
* | [core] Added BidiImpl to avoid ICU types exposure | Bruno de Oliveira Abinader | 2016-12-12 | 1 | -14/+17 |
| | |||||
* | [build] ICU is now configured per platform | Bruno de Oliveira Abinader | 2016-12-12 | 1 | -0/+125 |