Terrence Cole
f6bee6364e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink
...
--HG--
extra : rebase_source : e36c89af9c362e781d9ca9aceee42779258328b5
2014-01-14 17:19:07 -08:00
Garrett Robinson
c3275ebb9b
Bug 883975 - CSP 1.1 hash-source. r=sstamm, r=dholbert, r=mrbkap
2014-01-02 11:14:06 -08:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Bobby Holley
7f8af296c3
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-11 17:51:58 -08:00
Phil Ringnalda
d1ba8751f2
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Bobby Holley
b548f86f52
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-06 12:01:42 -08:00
Carsten "Tomcat" Book
8797042644
Backed out changeset 767065f0560b (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:59 +01:00
Bobby Holley
2e847fca05
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-05 21:34:17 -08:00
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Garrett Robinson
e97987f422
Bug 855326 - CSP 1.1 nonce-source for scripts and styles r=mrbkap r=dholbert r=geekboy
2013-11-08 15:44:39 -08:00
Daniel Holbert
0d7ef379ad
backout 57213b64023b (bug 855326) for build bustage in debug builds
...
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
7cbc01f239
Bug 855326 - CSP 1.1 nonce-source for scripts and styles. r=mrbkap r=dholbert r=geekboy
2013-11-08 09:20:43 -08:00
Birunthan Mohanathas
7b51758e7a
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Peter Van der Beken
69e7c5ae55
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger
88bbf03777
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Sid Stamm
3004080c1a
bug 836922 - support mulitiple CSP policies at the same time. r=jst,grobinson
2013-09-12 09:25:32 -07:00
Ehsan Akhgari
3956f8e1f5
Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley
2013-09-06 13:50:24 -04:00
Andrew McCreight
3228f67147
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Tom Schuster
00c715381f
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Ehsan Akhgari
a9bd6887cc
Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE
2013-08-15 18:20:00 -04:00
Tom Schuster
ef6d3d8a6b
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Ehsan Akhgari
c0a07f27fe
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Jon Coppeard
c1b9a0f0bd
Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug
2013-06-18 11:00:38 +01:00
Jon Coppeard
7bcacd601c
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
David Zbarsky
ef70ce04b7
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Boris Zbarsky
5e7cf4462d
Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv
2013-04-24 14:59:15 -04:00
David Zbarsky
e7c500d80d
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Jose Cortes
47c6e6e146
Bug 842186 - Replace use of jsval with JS::Value in dom/base. r=jwalden
...
From 1a684ed61615d32965201e55335478d5f403ac4a Mon Sep 17 00:00:00 2001
cpp files in the dom/base/ directory. r=jwalden
---
dom/base/Crypto.cpp | 3 +-
dom/base/DOMRequest.cpp | 12 +++---
dom/base/DOMRequest.h | 4 +-
dom/base/Navigator.cpp | 10 ++---
dom/base/nsDOMJSUtils.h | 6 +--
dom/base/nsDOMWindowUtils.cpp | 20 ++++-----
dom/base/nsGlobalWindow.cpp | 24 +++++------
dom/base/nsIJSNativeInitializer.h | 4 +-
dom/base/nsJSEnvironment.cpp | 73 +++++++++++++++++----------------
dom/base/nsJSEnvironment.h | 8 ++--
dom/base/nsJSTimeoutHandler.cpp | 4 +-
dom/base/nsJSUtils.h | 2 +-
dom/base/nsStructuredCloneContainer.cpp | 10 ++---
13 files changed, 91 insertions(+), 89 deletions(-)
--HG--
extra : rebase_source : af1420550a745aba9fd6c20297ac3cd0075f5ead
2013-04-11 18:52:10 -04:00
Boris Zbarsky
5df1da36da
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Sid Stamm
525de67a06
Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz
2012-10-15 13:54:58 -07:00
David Zbarsky
f982db0249
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Boris Zbarsky
cae5a1d2b0
Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken
2013-01-07 10:29:00 -05:00
Boris Zbarsky
10f061af02
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Andrew McCreight
2fa5d0a9d8
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Olli Pettay
f62ac2c85e
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Jacek Szpot
bea8356b2c
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Andrew McCreight
671b32897c
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -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
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Cameron McCormack
a87f2dea9f
Bug 774071 - Remove unused variable from nsJSScriptTimeoutHandler. r=jst
...
--HG--
extra : rebase_source : dd59071435f2df97afb9bc63736279ae3cb00a0d
2012-07-17 05:34:00 +10:00