Gecko engine for Wine
Go to file
Ehsan Akhgari ab697fda8e Bug 788014 - Part 1: Define nsrefcnt to be unsigned long unconditionally on Windows; r=jrmuizel
On Windows, IUknown::AddRef and IUnknown::Release are defined to
return ULONG, which is defined as unsigned long.  The existing
code relies on the PR_BYTES_PER_LONG macro which is #defined in
prtypes.h to always be 4 on Windows.  If we remove the prtypes.h
inclusion from nscore.h, in the places where prtypes.h is not
included by other things, we will fall into the other path in the
#ifdef condition which defines nsrefcnt to be unsigned int, which
causes the signature of AddRef and Release to change, which
results in linker errors.

There are a couple of reasons why this change is correct:

1. On both Win32 and Win64, the size of the long type is 4 bytes,
always.  And prtypes.h doesn't detect the size of longs, it just
assumes it, so this check is really a tautology.
2. If the size of the long type changes on Windows, sometime,
the return value of AddRef and Release on Windows should change
size as well in order to maintain binary compatibility with
IUnknown, and before this change, the code would fail to hold
that promise.

--HG--
extra : rebase_source : 8333582b494aaca17c91cf35287a084083219050
2012-09-07 15:09:01 -04:00
accessible Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-06 10:11:28 -04:00
b2g bug 776783 - download Gaia from people if it isn't present locally r=cjones 2012-09-07 15:54:17 -07:00
browser Bug 787650 - Add element id attributes to pageInfo.xul. r=adw 2012-09-07 16:23:01 -04:00
build Bug 788971 - Pymake chokes when native commands raise exceptions without a "code" attribute. r=ted 2012-09-08 02:54:05 +05:30
caps Bug 787580 - Root all jsval at the API surface; r=sfink sr=dmandelin 2012-09-04 16:40:12 -07:00
chrome Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
config Bug 788954 - Remove export-idl rule. r=ted 2012-09-06 14:46:41 +02:00
content Bug 743755 - Remove OSMesa support r=bjacob 2012-09-07 18:35:22 -04:00
db/sqlite3 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
dbm Bug 780009: Update NSS to NSS_3_13_6_RTM. Note that this overwrites 2012-08-10 18:36:28 -07:00
docshell Bug 785642 - Return failure from nsDocShell::CaptureState if SaveWindowState returns null; r=mrbkap 2012-09-06 09:25:05 +02:00
dom Backout 1566e8499cb8 and fcc61274ec43 (bug 744700) due to mochitest orange. 2012-09-07 16:51:41 -04:00
editor Bug 788404, return unconditionally from attempts to insert from drop to prevent mutliple copies of text from appearing in contenteditable areas, r=ehsan 2012-09-07 15:57:10 -04:00
embedding Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
extensions Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
gfx Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-07 19:07:32 -04:00
hal Bug 789130: Unregister hal observers on HalParent::ActorDestroy(), and make Unregister*() functions resilient to unregister-of-not-registered observers. r=jlebar 2012-09-06 14:58:36 -07:00
image Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
intl Bug 786687 - Add null check for passed parameter to NS_strlen r=dougt 2012-09-04 11:12:33 -04:00
ipc Bug 787588 - d_reclen is dead on DragonFly since 64bit inode support. r=landry 2012-09-06 21:47:27 +02:00
js Bug 789552 - Zero the exact rooting list heads in the JSRuntime; r=sfink 2012-09-07 15:23:30 -07:00
layout Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky 2012-09-07 15:57:06 -07:00
media Bug 694484 - OpenSL backend for libcubeb, r=kinetik 2012-09-04 17:45:08 -03:00
memory Bug 787675 - When jemalloc hits a fatal assertion, crash within a new stack frame, in the hopes of making the crashstats more understandable. r=glandium 2012-09-03 22:01:24 -04:00
mfbt Bug 781313 - Move the euclidGcd and lcm algos form nsStyleAnimation.cpp to mfbt/MathAlgorithms.h r=dbaron,luke 2012-08-26 22:58:23 -03:00
mobile Bug 786073 - Don't animate lock icon when switching or restoring tabs (r=mfinkle) 2012-09-07 20:11:42 +01:00
modules Bug 743755 - Remove OSMesa support r=bjacob 2012-09-07 18:35:22 -04:00
mozglue Bug 783331 - Add Phdr pointer and count to dl_iterate_phdr implementation. r=nfroyd 2012-08-29 08:55:57 +02:00
netwerk Bug 405407: Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput. Patch originally by Alfred Kayser, updated by Josh Aas, final fix from Michal Novotny. r=michal 2012-09-06 10:10:08 -04:00
nsprpub Bug 778845 - Must upgrade Aurora 16 to NSPR 4.9.2 final, r=wtc 2012-08-02 23:04:47 +02:00
other-licenses Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg 2012-08-08 17:08:17 -04:00
parser Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
probes Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
profile Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
python Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
rdf Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
security Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
services Bug 589468 - Part 2/2: Change "computer" to "device" in all strings regarding desktop Firefox Sync. r=mconnor 2012-08-29 17:09:32 -07:00
startupcache Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
storage Bug 433129 - Add a storage.nfs_filesystem preference and change the underlying file system to an nfs-friendly one when it's set. r=asuth 2012-09-06 17:58:46 -04:00
testing Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07:00
toolkit Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-07 11:28:56 -07:00
tools Bug 770996, force firefox binary on Mac so that partner builds can use partials, r=catlee NPOTB 2012-09-07 11:57:28 +12:00
uriloader Bug 788923 - Part 2: Use the load group of the document that the source node belongs to when prefetching links; r=bzbarsky 2012-09-07 14:06:44 -04:00
view Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
webapprt Bug 787971 - Fix warnings about function pointers in gtk2 webapprt; r=glandium 2012-09-06 09:25:05 +02:00
widget Bug 786979 - Use a new constant for returning ICoreWindow from GetNativeData. r=bbondy 2012-09-07 14:51:02 -05:00
xpcom Bug 788014 - Part 1: Define nsrefcnt to be unsigned long unconditionally on Windows; r=jrmuizel 2012-09-07 15:09:01 -04:00
xpfe Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
xulrunner Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted 2012-09-05 12:10:21 -07:00
.gdbinit Bug 184013 - Add a .gdbinit containing useful debugging macros to the tree so that it is found automagically; r=jimb 2012-05-03 20:06:14 -04:00
.gitignore Bug 758823 - Don't create egg-info directories when populating virtualenv; r=ted 2012-09-04 10:45:45 -07:00
.hgignore Bug 758823 - Don't create egg-info directories when populating virtualenv; r=ted 2012-09-04 10:45:45 -07:00
.hgtags Added tag FIREFOX_AURORA_17_BASE for changeset fd72dbbd6920 2012-08-27 12:19:51 -07:00
aclocal.m4 Bug 778740 - Allow to use Linux kernel headers for perf events. r=khuey 2012-08-04 08:55:00 +02:00
allmakefiles.sh Bug 740854 - Remove --disable-auto-deps, SYSTEM_MAKEDEPEND, MOZ_NATIVE_MAKEDEPEND and associated crap. r=ted 2012-08-28 00:57:16 +05:30
client.mk Bug 781431 - A few minor build system improvements. r=ted 2012-08-15 22:06:43 +05:30
client.py Bug 782784 - client.py update_nss and update_nspr should toggle the trailing whitespace line, r=glandium 2012-08-16 08:28:57 +02:00
configure.in bug 776783 - package profile into B2G desktop builds r=ted 2012-09-07 10:00:10 -07:00
LEGAL
LICENSE
Makefile.in Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
mozilla-config.h.in Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
README.txt added nightly.mozilla.org mention to README.txt, pushing to a CLOSED TREE, a=davidb 2011-03-30 08:23:52 -03: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:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/