Chris Leary
f8e0e912ab
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
Chris Leary
8a58ce9072
Bug 657537: clean up jschar inflation/deflation. (r=Waldo)
2011-05-26 15:50:05 -07:00
Chris Leary
a2d213f0d0
Bug 619561: GC telemetry hooks for TestPilot study. (r=billm)
2011-05-20 13:40:06 -07:00
Brad Lassey
66de27b901
bug 617115 - support building with andorid NDKr5 r=ted
2011-04-01 16:47:37 -07:00
Rafael Ávila de Espíndola
8f5366a4c0
Bug 631928 - Check for libffi_cv_as_x86_pcrel should not look for just "warning". r=ted
2011-04-22 01:23:35 +02:00
Paul Biggar
72c7701093
Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
...
This changes the allocation API, in the following way:
js_malloc -> {cx->,rt->,OffTheBooks::}malloc
js_calloc -> {cx->,rt->,OffTheBooks::}calloc
js_realloc -> {cx->,rt->,OffTheBooks::}realloc
js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
js_new -> {cx->,rt->,OffTheBooks::}new_
js_new_array -> {cx->,rt->,OffTheBooks::}new_array
js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_
This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Chris Leary
7afebf6fe0
Back out changeset bf416ede0518
2011-03-21 10:47:52 -07:00
Chris Leary
49a0071d4a
Bug 640375: Fix CTypes marking code compartment assertion. (r=mrbkap)
2011-03-21 09:55:19 -07:00
Jeff Walden
ff7d62dfcb
Bug 637905 - Add (asserted-infallible) append methods to js::Vector, for use when the vector in question has previously had space reserved, and use them a bunch of places. r=luke
...
--HG--
extra : rebase_source : 89002f1cb5160d89e90a22e54bdca1d57bf9deda
2011-02-18 18:32:29 -08:00
Andreas Gal
f5b9aeb7d0
Remove obsolete JSMarkOp API (bug 638291, r=jorendorff).
2011-03-05 14:50:11 -08:00
Blair McBride
1ebeb8905e
Bug 631059 - Creating a FunctionType pointer instance from a JS function can fail. r=dwitte a=bsmedberg
2011-02-18 00:05:24 +13:00
Chris Leary
7cd988f331
Merge tracemonkey and mozilla-central. (a=blockers)
2011-02-11 09:56:19 -08:00
Marco Bonardo
f90b23b9f3
Backout Bug 631059 due to m-oth failure a=orange
2011-02-11 16:50:17 +01:00
Blair McBride
8ef2ed4de1
Bug 631059 - Creating a FunctionType pointer instance from a JS function can fail.
...
r=dwitte a=bsmedberg
2011-02-11 15:48:31 +01:00
Jim Blandy
b775bfcb46
Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
...
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ull Link
86a18d503e
Bug 545634 - AIX failure to run configure script in js/ctypes/libffi; r=ted,dwitte a=bsmedberg
...
--HG--
extra : rebase_source : aee56c53afb1dadc3e667b04e4b4836c18cdf7e5
2011-02-09 15:02:31 -05:00
Dan Witte
a3c42c21e9
Add commit for bug 605421 to libffi.patch. NPOB, a=aidan
2011-01-18 16:00:36 -08:00
Chris Leary
6805a382ac
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00
Nicholas Nethercote
ed55695802
Bug 624878 - Remove dangerous uses of vanilla (throw-on-failure) |operator new|. r=lw.
2011-01-17 19:44:10 -08:00
Blake Kaplan
07d616bae5
Bug 624540 - Assertion failure: compartment mismatch in cycle collector during xpcom-shutdown. r=gal, a=blocking2.0+
2011-01-11 17:01:10 -08:00
Sudarsana Nagineni
7dc00d2a6a
Bug 605421 - libffi: VFP hard-float calling convention support r=dwitte a=approval2.0
2011-01-13 17:38:19 +02:00
Luke Wagner
d8719356c0
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Igor Bukanov
52ea348c4c
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37
Backed out changeset 8e119f847f97 (build busted)
2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-02 15:36:25 +01:00
Dan Witte
878fac07fc
Bug 585124 - Fix leak [@StructType::DefineInternal]. r=Waldo, a=bsmedberg
2010-10-19 09:37:03 -07:00
Robert Sayre
ba8adf47b3
Merge mozilla-central to tracemonkey.
2010-10-08 21:56:00 -04:00
Brian Hackett
abdc87c9ca
Header changes for sixgill, annotations. bug 601129, r=jorendorff
2010-10-01 21:00:55 -07:00
Luke Wagner
5eeb7d4ff7
Bug 587914 - js::Valueify in static data constructors causes runtime initialization (r=igor)
...
--HG--
extra : rebase_source : 09f2d8b620985eff96468ef7875cab8751a93d18
2010-10-01 17:53:08 -07:00
Andreas Gal<gal@uci.edu>
e16c674f2a
Bug 599762 - TM: set right compartment in js::ctypes::CClosure::ClosureStub r=gwagner
2010-09-29 15:46:25 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Mike Hommey
f0f9c84d72
Bug 594611 - Fix stack allocation for ffi function calls on x86-64. r=dwitte, a=bsmedberg
2010-09-15 14:34:37 +02:00
Mike Hommey
07319448c4
Bug 594611 - Use upstream fix for stack allocation for ffi function calls on x86-64. r=dwitte,a2.0=bsmedberg
2010-10-07 14:19:37 +02:00
Robert Sayre
53e582b692
Merge tracemonkey to mozilla-central. a=blockers
2010-09-14 18:18:32 -07:00
Nicholas Nethercote
837cae8aad
Bug 590834 - Clean up number-to-string code. r=jwalden.
2010-09-13 13:08:25 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Igor Bukanov
edc6d00c4e
bug 477999 - JS_SuspendRequest should suspend requests from all contexts . r=gal,anygregor
2010-08-30 20:46:18 +02:00
Dan Witte
401da66f49
Really revert libffi comment spelling fix since it's not upstream. a=NPOTB
2010-08-30 15:38:36 -07:00
Dan Witte
904aa1ee11
Bug 589413 - Failure to open libnss3.so when Firefox path contains UTF-8 characters. Part 1 part 2: default to UTF8. r=Waldo, a=final+
2010-09-13 10:54:02 -07:00
Dan Witte
fbc0be1b6e
Bug 589413 - Failure to open libnss3.so when Firefox path contains UTF-8 characters. Part 1: ctypes implementation. r=Waldo, a=final+
2010-09-13 10:54:02 -07:00
Edmund Wong
7ef58c704b
Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only)
2010-08-15 15:50:02 -07:00
Dan Witte
14456b5938
Bug 585175 - Don't automangle ctypes stdcall symbols for WINAPI. r=bsmedberg, a=blocker
2010-08-10 09:10:50 -07:00
Robert Sayre
ca10e5d657
Merge mozilla-central to tracemonkey.
2010-08-06 15:41:41 -07:00
Dan Witte
37e120853b
Bug 573087 - Automangle ctypes stdcall symbols. r=bsmedberg, a=blocker
2010-08-05 16:49:52 -07:00
Dan Witte
348d0617cf
Update libffi.patch.
2010-08-05 16:49:52 -07:00
Dan Witte
9f61d27e6a
Apply libffi.patch.
2010-08-05 16:49:52 -07:00
Dan Witte
883d6ca049
Mark script files as executable.
2010-08-05 16:49:52 -07:00
Dan Witte
fbed7fb6e0
Pull libffi git revision 3aeecc9eb1a6feba6549849cdd335c926415a4fc to fix bug 528129, bug 556902, bug 538002, bug 581909, bug 573066, bug 564966, and bug 556521. r+a=bsmedberg
2010-08-05 16:49:52 -07:00
Neil
5846822884
Bug 581909 - Don't pass -safeseh to ml64 because the behaviour is buggy. r=dwitte
2010-08-03 14:05:54 -07:00
Eli Friedman
dc13880547
Bug 579686 - StringToInteger not declared before first use in CTypes.cpp. r=dwitte, a=blocking
2010-08-03 14:01:47 -07:00