Tom Schuster
8812f84312
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Ehsan Akhgari
1ed269270a
Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE
2013-08-15 18:20:00 -04:00
Tom Schuster
63f6d15be9
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Ehsan Akhgari
99058b577c
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
2e729aa83d
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
b028ce34ad
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
5b896f6665
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
f2943090bd
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
b7033dea1a
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Boris Zbarsky
f3f44cfa74
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
720289e06b
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Jose Cortes
1068414e39
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
03afb391b8
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
df0af40028
Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz
2012-10-15 13:54:58 -07:00
David Zbarsky
46284ae633
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
b7ae90666d
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
29436c441d
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
7cfdd2ca05
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
ffeef3a759
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Olli Pettay
c806b877ae
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
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Andrew McCreight
fbe861f103
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Ehsan Akhgari
e368dc9c85
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
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Cameron McCormack
5ca61925e7
Bug 774071 - Remove unused variable from nsJSScriptTimeoutHandler. r=jst
...
--HG--
extra : rebase_source : dd59071435f2df97afb9bc63736279ae3cb00a0d
2012-07-17 05:34:00 +10:00
Ehsan Akhgari
4830dd98a3
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mark Capella
62db5d9389
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Ms2ger
339ed99017
Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst
2012-03-29 23:09:13 +02:00
Ms2ger
1442c59d93
Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst
2012-03-11 09:53:05 +01:00
Saint Wesonga
6ba339c937
Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst
2012-02-07 15:28:08 -05:00
Jeff Walden
735580ff0e
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Jignesh Kakadiya
398b32d0b8
Bug 709493 - Return JSObject* from nsIScriptHandler::GetScriptObject() rather than returning void to remove casting. f=Ms2ger r=bz
2011-12-15 21:03:33 +01:00
Peter Van der Beken
20669cb83c
Bug 699810 - nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetObjectFunction. r=jst.
...
--HG--
extra : rebase_source : b55f8b50db84abd135d98c881ba9ee7e0b9f73d8
2011-11-07 13:55:59 +01:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Brian Hackett
c632b70b2b
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Andrew McCreight
2a53256a9b
Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent
2011-06-23 14:10:52 -07:00
Chris Leary
47dfb01d0c
Merge mozilla-central to tracemonkey.
2011-04-11 16:54:01 -07:00
Luke Wagner
7cc466a826
Bug 647337 - rm script filename prefix and flag stuff (r=mrbkap)
2011-04-07 14:25:32 -07:00
Peter Van der Beken
a571493d4a
Fix for bug 584048 (Clean up cycle collection code) - move unlinking of JS members from root into unlink. r=bent.
2010-11-08 16:02:49 +01:00
Luke Wagner
ee5173d043
Bug 613457 - clean up string interfaces (r=njn)
...
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Luke Wagner
56b2810a26
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Igor Bukanov
c074b68d29
bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal
2010-10-28 17:15:53 +02:00
Peter Van der Beken
ff06945d22
Fix for bug 466157 (Better CC logging for nodes). r=dbaron, a=jst.
...
--HG--
extra : rebase_source : 57ff8e5558708e188a5e1e444094a522138c20b1
2009-02-27 15:48:26 +01:00
timeless@mozdev.org
cdae723183
Bug 537630 - crash [@ nsJSScriptTimeoutHandler::SetLateness(unsigned int)], r=smaug
2010-04-19 06:32:00 -07:00