Gecko engine for Wine
Go to file
Nicholas Nethercote c176fc94fe Bug 1214072 (part 2) - Implement transparency properly for BMP images. r=seth.
Currently we don't implement transparency at all in BMP images except for an
odd-duck case of BMPs within ICOs.

This patch does the following.

- It implements transparency properly for 16bpp and 32bpp images via bitfield
  masking. (For 32bpp images this also requires handling colors via bitfield
  masking.) The patch maintains the existing BMP-within-ICO transparency
  handling.

- It also reworks BitFields::Value::Set().

  * It now works correctly if the run of 1s goes all the way to bit 31 (the
    old code didn't set mBitWidth).

  * If the mask is 0, will give an mRightShift of 0 (old code gave 32, and
    right-shifting by 32 is dodgy).

  * It's now easier to read.

- It renames transparent.bmp as transparent-if-within-ico.bmp. Ironically
  enough this file currently uses BITFIELDS compression and is WinBMPv5 format,
  which means it contains well-specified alpha data. In order to use it to test
  the hacky BMP-within-ICO transparency scheme the patch changes it to be
  WinBMPv3 format with RGB compression (i.e. no compression). I left the
  now-excess bytes (including the bitfields) in the info header in place
  because that's allowed -- thanks to the start of the pixel data being
  specified by the |dataoffset| field -- they'll just be ignored.

- It tweaks the naming of the relevant gtests and some of their finer details
  to work with the new way of doing things.

This fixes all four remaining failures in bmpsuite.
2015-10-13 21:20:10 -07:00
accessible Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
addon-sdk merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
b2g Merge m-c to inbound, a=merge 2015-10-26 14:38:13 -07:00
browser Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz 2015-10-27 13:38:02 +09:00
build merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
caps Bug 1218039 - Add a nice interface for both C++ and JS to access the principal kind. r=gabor 2015-10-26 11:18:14 -07:00
chrome Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
config Merge b2ginbound to central, a=merge 2015-10-20 14:59:07 -07:00
db/sqlite3 Bug 1214713 - Upgrade SQLite to version 3.9.1. r=mak 2015-10-21 12:19:31 -04:00
devtools Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz 2015-10-27 13:38:02 +09:00
docshell Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
dom Bug 1194991 - Part b: coerce WebIDL constants to the correct type; r=khuey 2015-10-27 09:18:12 +01:00
editor Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
embedding Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
extensions Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium. 2015-10-19 18:05:20 -07:00
gfx Bug 1217550 - In debug build, drop a note if we use SkiaGL canvas. Simplify logging defines and flags for non-critical errors. r=benwa 2015-10-23 14:08:00 +02:00
gradle/wrapper Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian 2015-10-21 15:07:55 -07:00
hal Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
image Bug 1214072 (part 2) - Implement transparency properly for BMP images. r=seth. 2015-10-13 21:20:10 -07:00
intl Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
ipc Bug 1207539 - Remove !JS_IsRunning(aCx) assertion from RilConsumer::ConnectWorkerToRIL; r=mrbkap 2015-10-27 09:18:11 +01:00
js Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
layout Bug 1216857 - Notify selection dialog to update its position if carets are logically visible. r=TYLin 2015-10-23 10:21:16 +08:00
media Bug 1212908 - Update a=simulcast to match new grammar in 03 draft. r=mt 2015-10-20 10:31:26 -05:00
memory Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium. 2015-10-19 18:05:20 -07:00
mfbt Bug 1214958 - Add operators &=, |=, and ^= to mozilla::DebugOnly. r=froydnj 2015-10-19 20:42:28 -07:00
mobile Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz 2015-10-27 13:38:02 +09:00
modules Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
mozglue Bug 1216354 - Disable LSan leak checking by default in mozglue. r=glandium 2015-10-22 09:33:43 -07:00
netwerk Bug 1218284 - Match signed packages' with trust origin without suffix. r=valentin 2015-10-26 15:30:38 +08:00
nsprpub Bug 1216283, NSPR_4_11_BETA1, r=keeler 2015-10-20 12:37:29 +02:00
other-licenses Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium. 2015-10-19 18:05:20 -07:00
parser Bug 1217422 - Remove for-each from parser/. r=jst 2015-10-19 02:20:47 +09:00
probes
python merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
rdf Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
security Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
services Merge m-c to fx-team, a=merge 2015-10-22 16:58:03 -07:00
startupcache Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
storage Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
testing Bug 1211402 - dump hazards.txt into log file, r=me 2015-10-26 15:46:49 -07:00
toolkit Bug 1198883 - Part 2: Added WebRTC ICE candidates to Telemetry. r+vladan 2015-10-08 14:44:50 -07:00
tools Bug 1216970 - Make the copying more obvious in ProfilerImpl::GetStacktrace. r=froydnj 2015-10-23 11:43:00 +08:00
uriloader Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
view Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel 2015-10-21 23:10:05 +02:00
webapprt Bug 1203159 - Remove DevTools support from webapprt. r=myk 2015-10-21 12:22:57 -05:00
widget Bug 1210182 - Implement GrallocTextureHostBasic r=nical 2015-10-26 22:43:07 -07:00
xpcom Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj 2015-10-27 06:54:25 +02:00
xpfe Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
xulrunner Bug 1217687 - Revert back to including /devtools via toolkit. r=glandium 2015-10-23 06:04:45 -05:00
.clang-format
.clang-format-ignore
.eslintrc Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps 2015-09-30 14:44:48 +01:00
.gdbinit
.gitignore Bug 1214256 - Add talos virtualenv and tp5n files to .hgignore and .gitignore. r=gps 2015-10-13 12:35:42 -04:00
.hgignore Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian 2015-10-21 15:07:55 -07:00
.hgtags No bug - Tagging mozilla-central fcef8ded82219c89298b4e376cfbdfba79a1d35a with FIREFOX_AURORA_43_BASE a=release DONTBUILD CLOSED TREE 2015-09-21 10:11:56 -04:00
.lldbinit
.ycm_extra_conf.py
aclocal.m4 Bug 1205012 - Allow rust source code in SpiderMonkey; r=mshal 2015-09-18 13:55:29 -07:00
Android.mk
AUTHORS Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb 2015-08-12 20:19:11 -07:00
build.gradle Bug 1123416 - Part 3: Limit IntelliJ objdir indexing. r=sebastian 2015-10-20 15:30:44 -07:00
client.mk Fixup for bug 1188766 for valgrind bustage on a CLOSED TREE. r=me 2015-08-11 07:45:36 +09:00
client.py
CLOBBER Bug 1215696 - Bump clobber. r=KWierso 2015-10-19 16:31:46 -07:00
configure.in merge mozilla-inbound to mozilla-central a=merge 2015-10-22 11:45:11 +02:00
GNUmakefile
gradlew Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian 2015-10-21 15:07:55 -07:00
LEGAL
LICENSE
mach
Makefile.in Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg 2015-10-14 08:02:34 +09:00
moz.build Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg 2015-10-14 08:02:34 +09:00
mozilla-config.h.in
README.txt No bug, Update README.txt for ftp changes, r=bustage-check CLOSED TREE 2015-08-30 21:53:27 +12:00
settings.gradle Bug 1123416 - Part 5: Make a 'thirdparty' Gradle project in the source directory. r=sebastian 2015-10-20 15:32:50 -07:00

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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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 -
    http://nightly.mozilla.org/