Luke Wagner
808367a518
Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink)
2014-02-13 11:17:41 -06:00
Henri Sivonen
5e2f48e8d2
Bug 848842 - Stop using heuristic detection in the File API. r=bzbarsky.
2013-12-17 12:47:25 +02:00
Ms2ger
786aa40195
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ben Turner
b5c336a791
Bug 643325 - Implement SharedWorker. r=khuey.
...
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Kyle Huey
755922ca39
Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz
2013-09-30 12:15:37 +08:00
Kyle Huey
dba62ee6e2
Back out bug 919457 for build bustage. r=me
2013-09-30 10:41:23 +08:00
Kyle Huey
7fffb0ca44
Bug 919457: Allow bindings specific to workers without the old-style worker ownership model. r=bz
2013-09-30 09:37:26 +08:00
Kyle Huey
bf31d78a83
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Boris Zbarsky
44bd3f768a
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
ef70ce04b7
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Boris Zbarsky
964948a44a
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
e8e3de45e1
Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen
2013-04-16 21:19:29 +09:00
Peter Van der Beken
bfc9de7860
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
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413
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
6d89044915
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Bobby Holley
a75f5ca4d9
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
1501d1c8ce
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
cca020df08
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Masatoshi Kimura
f43b1eff22
Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen
2012-11-09 16:00:25 -05:00
Kyle Huey
f29709dd83
Bug 793025: Convert FileReaderSync to WebIDL bindings. r=bz
2012-09-20 19:47:47 -07:00
Jeff Walden
df94506af9
Bug 789309 - Stop installing jsatom.h and jsatom.tbl. r=jorendorff
2012-09-06 17:51:50 -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
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Masatoshi Kimura
834ce504b5
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Matt Brubeck
c9d5f18376
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
c7443b0f63
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Tom Schuster
0fe26d128c
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
3a859b7a76
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
ed3f5972bd
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
60e80d55b6
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Igor Bukanov
748c9f34a7
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
38fe4ed717
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
e4e3433d0c
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
3163d5e91e
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Igor Bukanov
0c1bc419b6
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
6b0c6353bd
Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
a63b21f505
Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey
2011-12-28 09:13:38 +01:00
Jeff Walden
476c7d19c5
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
2a48036e59
Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden
2011-12-01 13:30:28 -08:00
William Chen
c4f4423774
Bug 664783 - Implement FileReaderSync for Workers. r=bent+sicking.
2011-08-15 20:40:38 -07:00