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
Перейти к файлу
Jonathan Chan 016ee566a7 Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth
Previously we just took the input angle mod 2π, which will leave negative input
angles as negative. By checking if the input mod 2π is negative and if so
adding 2π and then taking that mod 2π again we can ensure that we end up with a
an angle in the range [0, 2π].

We only do this if the result of the initial mod is negative because this adds
rounding error that is enough to mess up whether 135 is determined to be closer
to 90 or 180, for example.

We add a test for this as well.

Also fix property_database.js to account for this (we assert that -90deg should
compute to the same value as the initial value, but it should actually compute
to 270deg).

MozReview-Commit-ID: Faf0f7wIEg3

--HG--
extra : rebase_source : 6b2d15f90e541fcb8b6083e15772eee514603e57
2017-07-07 16:03:37 -07:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Backed out changeset 7ec72cbf67b6 (bug 1380471) for Windows 2012 static bustage. r=backout on a CLOSED TREE 2017-07-14 10:00:52 +02:00
addon-sdk Bug 1373061 - Fallback on en-US in sdk/l10n.get. r=Pike 2017-07-07 11:32:53 -07:00
browser Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
build Bug 1380964 - Get and upload useful sccache logs. r=gps 2017-07-14 09:46:38 +09:00
caps Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk. 2017-07-12 15:13:37 +10:00
chrome Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap 2017-07-10 14:24:54 -07:00
config Bug 1367940 - Pass the make jobserver file descriptors down to cargo. r=gps 2017-07-13 20:07:49 +09:00
db Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
devtools Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
docshell Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk. 2017-07-12 15:13:37 +10:00
dom Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
editor Bug 1380717 - Updates more tests within editor/ to comply with new data: URI inheritance model. r=masayuki 2017-07-14 12:14:23 +02:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
gfx Merge inbound to central, a=merge 2017-07-14 17:14:43 -07:00
gradle/wrapper
hal Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
image Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
intl Bug 1380752 - Convert tests within intl/ to comply with new data: URI inheritance model. r=smaug 2017-07-14 12:17:41 +02:00
ipc Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
js Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
layout Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth 2017-07-07 16:03:37 -07:00
media Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
memory merge mozilla-inbound to mozilla-central a=merge 2017-07-11 12:51:59 +02:00
mfbt Backed out changeset 1a49d403a9a4 (bug 1374024) for bustage 2017-07-13 11:10:31 +02:00
mobile Merge inbound to central, a=merge 2017-07-14 17:14:43 -07:00
modules Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
mozglue Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
netwerk Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
nsprpub Bug 1372579, uplift NSPR_4_16_BETA2, r=me 2017-07-14 17:23:45 +02:00
other-licenses Bug 1375472 - Use an optimized build of the 7-zip SFX stub. r=rstrong 2017-07-05 10:17:00 -07:00
parser Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1380132 - Part 2 - Set MOZ_DEVELOPER_OBJ_DIR before launching Firefox. r=gps 2017-07-12 17:01:56 -07:00
rdf Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
security Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
services Bug 1380835 - Don't check queries with `excludeQueries` for cycles in the bookmark validator. r=tcsc 2017-07-13 19:52:57 -07:00
servo servo: Merge #17696 - Sync Servo / Gecko image-orientation rounding; pass as enum (from jyc:image-orientation-redux); r=Manishearth 2017-07-14 18:54:45 -07:00
startupcache Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
storage Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
taskcluster Bug 1379868 - Stop running mochitest-gl on tc Windows 7 non-e10s; r=jmaher 2017-07-14 10:51:14 -06:00
testing Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
third_party No bug - Revendor rust dependencies 2017-07-14 10:05:27 +00:00
toolkit Merge m-c to autoland, a=merge 2017-07-14 17:27:36 -07:00
tools Bug 1380003 - Create avoid-Date-timing eslint rule, r=standard8 2017-07-11 12:34:20 -04:00
uriloader Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk. 2017-07-12 15:13:37 +10:00
view Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
widget Merge inbound to central, a=merge 2017-07-14 17:14:43 -07:00
xpcom Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
xpfe Bug 1378147. Hold strong refs to elements when calling various functions that can run script. r=mystor 2017-07-13 23:46:59 -04:00
.clang-format Backed out changeset b14cbbf5256a (bug 1378250) on request from sylvestre 2017-07-05 16:55:27 +02:00
.clang-format-ignore Bug 1376488 - Remove some old paths from ThirdPartyPaths.txt. r=sylvestre, r=andi 2017-06-27 10:49:00 -04:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1371038: Add configs for doing DMD builds r=Callek 2017-06-22 12:49:03 -04:00
.eslintignore Bug 1378788 - Clean up .eslintignore and clarify the directories that don't have js files. r=mossop 2017-07-06 15:31:07 +01:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1288432 - Use new mozlint configuration for flake8 linter, r=bc 2017-06-02 09:46:01 -04:00
.gdbinit
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.hgignore Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.hgtags No bug - Tagging mozilla-central f9605772a0c9098ed1bcaa98089b2c944ed69e9b with FIREFOX_BETA_55_BASE a=release DONTBUILD CLOSED TREE 2017-06-12 12:50:30 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.taskcluster.yml Bug 1380391 - Index decision tasks under pushlog_id r=dustin 2017-07-12 10:56:02 -07:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
Android.mk
CLOBBER Bug 1353650 - Part 12: Updating ICU requires a clobber. r=clobber 2017-05-11 05:44:35 -07:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1380964 - Get and upload useful sccache logs. r=gps 2017-07-14 09:46:38 +09:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle Bug 1352602 - Part 2: Use build system SDK versions in Gradle configurations. r=maliu 2017-06-21 10:52:30 -07:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties
gradlew
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
moz.configure Bug 1370209 - Allow setting --disable-rust-debug when --enable-debug is used. r=froydnj 2017-07-10 10:46:31 -04:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1351608 - Add eslint-plugin-no-unsanitized to eslint-plugin-mozilla r=Standard8. 2017-07-03 20:07:00 +01:00
old-configure.in Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
package.json Bug 1351608 - Add eslint-plugin-no-unsanitized to eslint-plugin-mozilla r=Standard8. 2017-07-03 20:07:00 +01:00
settings.gradle Backed out 2 changesets (bug 1355625) for causing bustage a=backout 2017-06-22 12:05:56 -07:00
test.mozbuild

README.txt

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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/