Andrew McCreight
ae88d3a894
Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
471b1a13bf
Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
62325fa9f3
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
06019be17e
Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst
2012-08-20 11:34:33 -07:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
541453729c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
David Zbarsky
b462ec011a
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
Ms2ger
17e25febb8
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Benjamin Peterson
b97eb065c8
Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst
2012-08-07 10:39:47 -07:00
Ms2ger
a45a0051cf
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
Aryeh Gregor
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Zbarsky
d50e4a7565
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Ms2ger
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
1c0d6a2933
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
c6bffb8f7c
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
94472714fc
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
fe9aa1e2db
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Aryeh Gregor
4cd4d55f74
Bug 778681 part 5 - Convert nsXULTemplateQueryProcessorRDF::mBindingDependencies from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
cc5b835612
Bug 778681 part 3 - Convert nsXULTemplateQueryProcessorRDF::mQueries from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
50c29f19f4
Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Neil Deakin
91964d02eb
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
Aryeh Gregor
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
bcce1c96d2
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Ryan VanderMeulen
a2282bd7e8
Merge m-c to inbound.
2012-07-20 20:19:31 -04:00
Olli Pettay
cf203e6e6c
Bug 775972 - crash in nsGenericElement::BindToTree, r=bz
2012-07-21 00:55:19 +03:00
Olli Pettay
e9cea4305c
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Olli Pettay
9590583311
Bug 773945, remove nsXULElement::mPrototype, part 6, r=bz
2012-07-19 12:21:40 +03:00
Olli Pettay
d0359571b1
Bug 773945, remove nsXULElement::mPrototype, part 5, r=bz
2012-07-19 12:18:01 +03:00
Olli Pettay
e84fb0914b
Bug 773945, remove nsXULElement::mPrototype, part 4, r=bz
2012-07-19 12:14:27 +03:00
Olli Pettay
1561080c51
Bug 773945, remove nsXULElement::mPrototype, part 3, r=bz
2012-07-14 18:28:54 +03:00
Olli Pettay
c50f03fc47
Bug 773945, remove nsXULElement::mPrototype, part 2, r=bz
2012-07-19 11:31:47 +03:00
Olli Pettay
bca8bf5697
Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz
2012-07-14 14:28:35 +03:00
Ryan VanderMeulen
2661c4efbe
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Benjamin Peterson
7243e1144c
Bug 761723 - Load chrome source code when it's needed for Function.prototype.toSource(). r=bz
...
--HG--
extra : rebase_source : d8b058ff15515ad3fcce7e8ebffa016dbf1d2df4
2012-07-20 20:19:42 +02:00
Ryan VanderMeulen
7faaa873f9
Merge m-c to inbound.
2012-07-14 08:48:58 -04:00
Boris Zbarsky
79d455ef13
Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug
2012-07-13 19:29:14 -04:00
Olli Pettay
7db906c14c
Bug 773803 - Remove nsIScriptObjectOwner, r=bz
...
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Nathan Froyd
a7eb97f896
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Capella
fc1d905831
Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger
2012-07-09 08:36:05 -04:00
L. David Baron
1de6e6c5f1
Back out changeset d49beb57db23 (bug 558516) for causing all Mac builds to crash in nsXULElement::GetAttrValue and for causing a single mochitest-1 failure.
2012-07-13 18:01:25 -07:00
Boris Zbarsky
38d44f587c
Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug
2012-07-13 19:29:14 -04:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Bill McCloskey
2fab59d87e
Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug)
2012-06-26 13:35:29 -07:00