Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Alastor Wu 139cf6cc13 Bug 1571908 - part3 : optimize the result of adjusting position for cues with 'snapToLines=false'. r=heycam
When adjusting cues with `snapToLines=false`, first we would generate an array with all different axises which we would use to move cue on the specific direction.

However, for the different writing directions, we should have different priority for the moving directions.
For example, if the wriring direction is `horizontal`, which means cues will grow from the top to the bottom, then moving cues along the `y` axis should be more important than moving cues along the `x` axis, and vice versa for those cues growing from the left to right, or from the right to the left.

After decided the moving direction, then we have to decide the moving offset. Now we use line box's Bsize as a basic moving unit.

Moving cues, however, by such as large distance as a time would cause too many redudant space between cue boxes, which doesn't provide a good enough visual arrangement result. Therefore, we divide the Bsize by a factor, which can control the granularity of the moving unit and can still preverse a reasonable space between boxes. That can provide way better visual result than the one we had used before, and still has certain good performance comparing with moving 1px at a time.

Differential Revision: https://phabricator.services.mozilla.com/D41131

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
.cargo Bug 1573550: Bump Cranelift to 72b97fcb398537c6bb3ab73c45c428652321cbb6; r=jseward 2019-08-19 10:46:24 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1574950 - atk: Set returned values to -1 in case of errors, as newly documented in atk r=Jamie 2019-08-20 22:42:49 +00:00
browser Bug 1575388 - Mark browser_temporary_permissions.js as passing with Fission. r=kmag 2019-08-21 02:36:32 +00:00
build Bug 1571613 - basic support for Power ISA SIMD detection (v2). r=glandium 2019-08-21 03:36:55 +00:00
caps Bug 1573720 - Convert security.view-source.reachable-from-inner-protocol to a static pref. r=bzbarsky 2019-08-15 05:29:35 +00:00
chrome Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
config Bug 1575135 - Make configure sandbox open() look more like python 3's. r=nalexander 2019-08-21 04:44:43 +00:00
devtools Bug 1559268 - Prevent service worker shutdown while debugging in parent-intercept mode r=ochameau,perry 2019-08-20 05:29:34 +00:00
docshell Backed out 9 changesets (bug 1574296, bug 1561705) for devtools failures in browser_dbg-breaking-from-console.js 2019-08-20 06:48:20 +03:00
dom Bug 1571908 - part3 : optimize the result of adjusting position for cues with 'snapToLines=false'. r=heycam 2019-08-21 07:10:26 +00:00
editor Bug 1572685 - part 13: Get rid of HTMLEditRules::mReturnInEmptyLIKillsList r=m_kato 2019-08-20 01:53:35 +00:00
extensions Bug 1572240 - Part 6: Remove nsIPermissionManager.testPermissionOriginNoSuffix; r=baku 2019-08-19 14:38:47 +00:00
gfx Bug 1574994 part 1 - Remove/replace display:-moz-inline-grid and -moz-inline-stack in tests. r=emilio 2019-08-19 21:19:04 +00:00
gradle/wrapper Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander 2019-07-24 18:48:54 +00:00
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-08-15 01:06:23 +03:00
intl Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE 2019-08-19 13:00:44 +03:00
ipc Bug 1572240 - Part 2: Introduce nsIBrowser.contentBlockingAllowListPrincipal; r=baku 2019-08-19 14:38:34 +00:00
js Bug 1575135 - Remove unused subprocess imports. r=nalexander 2019-08-20 16:39:30 +00:00
layout Bug 1571612 - P2: Collect flush req and flush telemetry. r=heycam 2019-08-21 01:43:30 +00:00
media Bug 1574512 - Fix error handling in nr_ice_set_target_for_default_local_address_lookup() r=bwc 2019-08-20 15:46:59 +00:00
memory Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-08-13 07:15:25 +00:00
mfbt Bug 1573938 - Never collect wrapper JSObjects when recording/replaying, r=mccr8. 2019-08-16 20:51:12 +00:00
mobile Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium 2019-08-21 03:07:16 +00:00
modules Bug 1574538 - Enable CoreAnimation by default. r=jrmuizel 2019-08-20 18:44:20 +00:00
mozglue Bug 1571613 - basic support for Power ISA SIMD detection (v2). r=glandium 2019-08-21 03:36:55 +00:00
netwerk Bug 1564221 - Make nsITransportSecurityInfo builtinclass r=keeler 2019-08-20 21:38:24 +00:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to use NSPR 4.22. 2019-08-19 14:23:11 +00:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-08-13 07:15:25 +00:00
python Bug 1575135 - Make configure complain on non-unicode strings. r=nalexander 2019-08-20 21:31:34 +00:00
remote bug 1540655: remote: document how to vendor Puppeteer; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:34 +00:00
security Bug 1564221 - Make nsITransportSecurityInfo builtinclass r=keeler 2019-08-20 21:38:24 +00:00
services Bug 1574382 - use yaml to parse TPS tests. r=tcsc 2019-08-19 20:55:05 +00:00
servo Bug 1574994 part 2 - Remove display:-moz-inline-grid/-moz-inline-stack. r=emilio 2019-08-19 21:19:04 +00:00
startupcache Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
storage Bug 1567739 - Stop using deprecated rust libc integer types in storage_variant and kvstore. r=lina 2019-07-23 00:13:43 +00:00
taskcluster Bug 1574275 - Update builds to use Rust 1.37. r=glandium 2019-08-21 03:29:13 +00:00
testing Bug 1572155 - Make validationURL use baseURI r=marcosc 2019-08-20 03:45:58 +00:00
third_party Bug 1575008 - Update parking_lot dependency to 0.9.0 r=aosmond 2019-08-19 21:28:51 +00:00
toolkit Bug 1573264: Add configure support for detecting llvm-dlltool; r=glandium 2019-08-21 04:34:32 +00:00
tools Bug 1575158 - BlocksRingBufferGeckoExtensions.h - r=gregtatum 2019-08-20 22:52:34 +00:00
uriloader Bug 1573051 - Use both SHParseDisplayName and CreateUri to validate a uri. r=aklotz 2019-08-19 22:10:32 +00:00
view Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
widget Bug 1575419 - Don't allow triggering another main thread paint from within a main thread paint. r=mattwoodrow 2019-08-21 02:30:32 +00:00
xpcom Bug 1486637 - Backout bug 1486637 and related patches. r=agashlin 2019-08-19 19:43:17 +00:00
xpfe/appshell Bug 1574090 - Make fission.autostart available via StaticPrefs. r=njn 2019-08-16 07:35:29 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1568232 - Run raptor cold page-load test job on fenix and refbrow. r=perftest-reviewers,davehunt 2019-07-31 16:31:42 +00:00
.eslintignore bug 1540655: build, remote: add mach command for vendoring Puppeteer; r=firefox-build-system-reviewers,chmanchester 2019-08-16 12:58:06 +00:00
.eslintrc.js Bug 1564555 - Enable some more ESLint rules for layout. r=Standard8,dholbert 2019-07-18 21:00:21 +00:00
.flake8 Bug 1573566 - Move the real libxul definition in a subdirectory. r=froydnj 2019-08-16 21:44:10 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore bug 1540655: remote: ignore non-vendored Node.js assets; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:17 +00:00
.hgtags No bug - Tagging mozilla-central e596664275d5e3e2fdcb7fa8d1447289f99269c3 with FIREFOX_NIGHTLY_69_END a=release DONTBUILD CLOSED TREE 2019-07-08 16:13:40 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1572622 - Merge remote.js into all.js. r=ato 2019-08-13 23:49:39 +00:00
.prettierrc
.taskcluster.yml Bug 1459355: Don't pass parameters as part of actions; r=dustin 2019-08-09 17:02:15 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1572859 - Package more aggressively when building GeckoView (and Fennec) within Gradle. r=agi 2019-08-14 20:38:42 +00:00
Cargo.lock Bug 1575008 - Update parking_lot dependency to 0.9.0 r=aosmond 2019-08-19 21:28:51 +00:00
Cargo.toml Bug 1573550: Bump Cranelift to 72b97fcb398537c6bb3ab73c45c428652321cbb6; r=jseward 2019-08-19 10:46:24 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
configure.in
configure.py Bug 1575135 - Make configure complain on non-unicode strings. r=nalexander 2019-08-20 21:31:34 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach
Makefile.in Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium 2019-08-21 03:07:16 +00:00
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
package-lock.json Bug 1567134 - Update the node modules packages for the builders. r=ahal 2019-07-18 13:10:40 +00:00
package.json Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola. 2019-07-17 10:35:44 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle Bug 1533465 - Add Gradle script for substituting local GeckoView into downstream consumers. r=sebastian 2019-08-15 21:18:24 +00:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.