Andrew McCreight
7f27900535
Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
171e4aa044
Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug
2012-08-24 09:50:06 -07:00
Andrew McCreight
0d31841b85
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
8c296bbcd4
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
d09de1cd52
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
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
5fe7a22e2c
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
8d316c5861
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
Ms2ger
8fcd7f8f16
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Benjamin Peterson
82fd98ee23
Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst
2012-08-07 10:39:47 -07:00
Ms2ger
c861fd0028
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
Aryeh Gregor
5662d18449
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Zbarsky
fe804d085c
[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
cb4d106015
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
22c224dfc2
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
66cf41f9e9
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72
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
b927c10310
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Ms2ger
2df498e0e9
Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz
2012-08-04 09:43:59 +02:00
Ms2ger
37e07936d4
Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz
2012-08-04 09:43:59 +02:00
Aryeh Gregor
d7d206d4e3
Bug 778681 part 5 - Convert nsXULTemplateQueryProcessorRDF::mBindingDependencies from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
64852ca5cf
Bug 778681 part 3 - Convert nsXULTemplateQueryProcessorRDF::mQueries from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Aryeh Gregor
54dd66bf37
Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz
2012-07-30 16:48:02 +03:00
Neil Deakin
b960ff246c
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
58769bb9d6
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Ryan VanderMeulen
ef318bebea
Merge m-c to inbound.
2012-07-20 20:19:31 -04:00
Olli Pettay
407132a3d4
Bug 775972 - crash in nsGenericElement::BindToTree, r=bz
2012-07-21 00:55:19 +03:00
Olli Pettay
c992398490
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Olli Pettay
7a23f78fd5
Bug 773945, remove nsXULElement::mPrototype, part 6, r=bz
2012-07-19 12:21:40 +03:00
Olli Pettay
4901839542
Bug 773945, remove nsXULElement::mPrototype, part 5, r=bz
2012-07-19 12:18:01 +03:00
Olli Pettay
213d7fe4ca
Bug 773945, remove nsXULElement::mPrototype, part 4, r=bz
2012-07-19 12:14:27 +03:00
Olli Pettay
5df5edb994
Bug 773945, remove nsXULElement::mPrototype, part 3, r=bz
2012-07-14 18:28:54 +03:00
Olli Pettay
6e7dc0fe0d
Bug 773945, remove nsXULElement::mPrototype, part 2, r=bz
2012-07-19 11:31:47 +03:00
Olli Pettay
ea0631cee7
Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz
2012-07-14 14:28:35 +03:00
Ryan VanderMeulen
7ad11464cb
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Benjamin Peterson
1fa0503687
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
a997433ec6
Merge m-c to inbound.
2012-07-14 08:48:58 -04:00
Boris Zbarsky
afeb4900cc
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
6e882d2abe
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
5b30baa4c3
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
0c8f8b8dd4
Bug 704311 - Element CopyInnerTo shouldn't be const, r=jst, f=ms2ger
2012-07-09 08:36:05 -04:00
L. David Baron
71c22b5654
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
0babbffbf2
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
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Bill McCloskey
99ad1c23c4
Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug)
2012-06-26 13:35:29 -07:00