Commit Graph

19 Commits

Author SHA1 Message Date
Aryeh Gregor
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masatoshi Kimura
3e6e227f79 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Matt Brubeck
5dba9a6481 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
c475039a40 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Tom Schuster
12330004a5 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
c7e7021207 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
62a47e535b 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
f0690b22d1 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Igor Bukanov
6fefb1df81 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo 2012-02-05 21:07:23 +01:00
Igor Bukanov
ae7ab9b03a backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
12633fbfdd bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo 2012-02-05 21:07:23 +01:00
Igor Bukanov
889c9d4073 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Igor Bukanov
4856d2ecff 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
0da18b7a47 Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger
50803e1f02 Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Jeff Walden
12e010ddeb 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
316ce7cd16 Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden 2011-12-01 13:30:28 -08:00
William Chen
9698231df5 Bug 664783 - Implement FileReaderSync for Workers. r=bent+sicking. 2011-08-15 20:40:38 -07:00