Boris Zbarsky
68c0f91dfe
Bug 868715 part 4. Use on-stack Rooted<JSObject*> for 'object' arguments in WebIDL bindings. r=peterv
2013-05-16 12:36:55 -04:00
David Zbarsky
b7033dea1a
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Boris Zbarsky
6e1db48b4d
Bug 865969 part 1. Better rooting in bindings for 'object' arguments, as well as for worker interface arguments passed as JSObject*. r=smaug
2013-05-03 19:29:07 -04:00
Masatoshi Kimura
d170276e63
Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen
2013-04-16 21:19:29 +09:00
Peter Van der Beken
c553f8a73e
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
9474e07ea6
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
6b094e2955
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Matt Joras
da70d3f085
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Bobby Holley
7c36e30523
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ryan VanderMeulen
30d168a3da
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
80ff2e8190
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Masatoshi Kimura
d8a5ab8510
Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen
2012-11-09 16:00:25 -05:00
Kyle Huey
5e093ffe72
Bug 793025: Convert FileReaderSync to WebIDL bindings. r=bz
2012-09-20 19:47:47 -07:00
Jeff Walden
a4c9e5b511
Bug 789309 - Stop installing jsatom.h and jsatom.tbl. r=jorendorff
2012-09-06 17:51:50 -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
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Masatoshi Kimura
64107ebb45
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Matt Brubeck
2b509d78a7
Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs
2012-04-24 20:47:13 -07:00
Masatoshi Kimura
ba8ae768d0
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Tom Schuster
886fac49f9
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Igor Bukanov
2d04a4fe3d
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Igor Bukanov
45a458920c
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
David Mandelin
3588ac5aae
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Igor Bukanov
3638c8cf65
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
55704654e7
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
ca990d2064
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
...
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Igor Bukanov
17db9a067b
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Igor Bukanov
b00d11ecf5
bug 723510 - Workers: double-error reporting in location.toString and incorrect assumption about JS_GetInstancePrivate. r=bent
2012-02-03 19:00:08 +01:00
Ms2ger
dc850b4531
Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
e27ef6c21a
Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey
2011-12-28 09:13:38 +01: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
Felix Fung
56ac104d63
Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden
2011-12-01 13:30:28 -08:00
William Chen
a5a375d3a6
Bug 664783 - Implement FileReaderSync for Workers. r=bent+sicking.
2011-08-15 20:40:38 -07:00