Commit Graph

148 Commits

Author SHA1 Message Date
Andreas Gal
625f0b8d66 Remove unused -DJS_USE_SAFE_ARENA build option (508095, r=brendan). 2009-08-04 14:51:06 -07:00
Robert Sayre
0f696ab5ef Merge tracemonkey to mozilla-central. 2009-07-29 17:05:05 -04:00
Siddharth Agarwal
1d4cdaa8e3 Part of bug 503756 -- Rename the js/ mozilla-config.h to js-confdefs.h. r=bsmedberg, jimb
--HG--
extra : rebase_source : 8b0956fef406cde43c329c76bf63594a882216e4
2009-07-30 00:05:05 +05:30
Andreas Gal
e7f2714ea1 When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo). 2009-07-27 21:10:12 -07:00
Robert Sayre
9d7a5baf9d Merge backout. 2009-07-24 14:02:23 -04:00
Robert Sayre
131858e620 Backed out changeset 8f6d8ce284ff 2009-07-24 14:02:01 -04:00
Robert Sayre
710cad8b2a Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Nicholas Nethercote
5e1d4a5859 Bug 503449 - lirasm: always build it with the js shell, and fix some breakage. r=jorendorff. 2009-07-24 08:41:59 +10:00
Wesley W. Garland
74b5263a84 Bug 502696 js_CompareAndSwap on sparc should not use PRLock() r=jorendorff sr=benjamin 2009-07-24 17:41:42 +08:00
Robert Sayre
b172ec27fd Merge tracemonkey to mozilla-central. 2009-07-13 18:19:51 -04:00
Florian Queze
6f16d6f944 Bug 468569 - after building in srcdir, make distclean doesn't clean up enough. r=ted 2009-07-13 13:46:23 +02:00
Graydon Hoare
3b37933d2d Bug 502953 - Followup patch to remove residual makefile entries, r=dvander.
--HG--
extra : rebase_source : 5e0c1dea8ad190a0fd432a4c8a2791e1cccd7e2f
2009-07-09 13:33:16 -07:00
Graydon Hoare
e46aedbb11 Bug 502953 - Remove dead TraceTreeDrawer, r=dvander. 2009-07-07 15:31:03 -07:00
Johnny Stenback
a511964116 Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Graydon Hoare
7c5590c0aa Bug 473989 - Adjust trace-test.js part of 'make check' in js/src to handle win32 properly, r=bsmedberg. 2009-06-26 12:37:58 -07:00
Graydon Hoare
25425ac136 Bug 473989 - Enable trace-test on 'make check', r=ted. 2009-06-25 12:47:00 -07:00
Andreas Gal
92ec85914f Build optimized JS shell with -O3 when using gcc (494994, r=sayrer). 2009-05-26 18:53:42 -07:00
Jim Blandy
d4637280de Bug 485141: Build fixes for Symbian in js/src patch=harry.li r=jimb 2009-05-18 11:07:39 -07:00
Ginn Chen
ac039c2c65 Bug 492705 Rename jsdtracef.c to jsdtracef.cpp r=sayrer
--HG--
rename : js/src/jsdtracef.c => js/src/jsdtracef.cpp
2009-05-14 14:38:17 +08:00
Robert Sayre
89a3a2d114 Merge mozilla-central to tracemonkey. 2009-05-06 11:16:59 -07:00
nnethercote@mozilla.com
1f7e5c0ef5 kill builtins.tbl (479888, r=jorendorff). 2009-05-05 17:36:26 -07:00
Benjamin Smedberg
614ee0fc2d Bustage fix from last-minute rework of bug 481350 2009-04-08 10:31:33 -04:00
Benjamin Smedberg
5000827e05 Bug 481350 - Fail when imacros.c.out is out of date, r=jorendorff/ted 2009-04-08 10:18:25 -04:00
Vladimir Vukicevic
9be2078d7e b=488608; enable jemalloc on CE6; r+sr=stuart 2009-04-24 10:31:18 -07:00
Vladimir Vukicevic
801b1f9b61 Backed out changeset 1eec75c27e2f 2009-04-24 10:43:19 -07:00
Vladimir Vukicevic
aa56e5c711 b=488608; enable jemalloc on CE6; r+sr=stuart 2009-04-24 10:31:18 -07:00
Brad Lassey
183b8bf73f bug 485227 - Don't force link jemalloc on windows ce r=ted, crowder 2009-03-31 12:27:25 -04:00
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Jim Blandy
9391012cb0 Bug 479258: Don't define <stdint.h> types in public headers. r=brendan
On systems that don't have <stdint.h> (i.e., Microsoft, which is
tragically underfunded and cannot spare the resources necessary to
provide and support this header: http://tinyurl.com/absoh8),
SpiderMonkey header files should not introduce definitions for these
types, as doing so may conflict with client code's attempts to provide
its own definitions for these types.

Instead, have jstypes.h define JS{Int,Uint}{8,16,32,64,Ptr} types
based on configure's results, and make jsstdint.h into an uninstalled
header for use within SpiderMonkey that does whatever is necessary to
get definitions for the <stdint.h> types.

The changes to make the appropriate SpiderMonkey .cpp files #include
"jsstdint.h" explicitly are in a separate patch, for ease of review.
2009-03-18 11:38:15 -07:00
Ted Mielczarek
d0e46c0bc4 bug 480144 - fix spidermonkey to compile on mingw. r=bsmedberg,jorendorff 2009-03-11 11:56:58 -04:00
Graydon Hoare
7b0eb4b3f2 Bug 473989 - Temporarily back-out / disable trace-test on make check, due to failing tinderbox. 2009-03-04 22:10:00 -08:00
Graydon Hoare
9bfa6dc356 Bug 473989 - Make check should run trace-test.js when ENABLE_JIT is defined, r=ted. 2009-03-03 18:59:28 -08:00
Benjamin Smedberg
c3c3067a9f Followup to bug 478443 - The creation of these directories also depends on the existence of nsinstall. This was found in tryserver clobber builds. 2009-02-19 21:52:17 -05:00
Benjamin Smedberg
2027008879 Bug 478443 - fix for pymake: provide an explicit value for RM so that we don't rely on the gmake implicit value. Fix some rules in js/src that don't make much sense r=ted 2009-02-19 10:33:11 -05:00
Jim Blandy
ede7e6d142 Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Vladimir Vukicevic
d317d0075d b=480796; detect whether ARM chip has VFP and/or v6t2 instructions; r=gal 2009-03-20 15:53:33 -07:00
Brendan Eich
849c76814c Give up on automation due to intermittent redness (r=jst). 2009-02-02 18:52:12 -08:00
Brendan Eich
f851419b1a Try hardest to fix redness (r=me). 2009-02-02 15:15:19 -08:00
Brendan Eich
20c89faa69 Try harder to fix redness (r=bsmedberg). 2009-02-02 14:33:03 -08:00
Brendan Eich
e69c309ec4 Try to fix redness (r=ted). 2009-02-02 14:17:59 -08:00
Brendan Eich
ef51420787 Bug 476181 - imacros.c.out out of date; also Makefile.in bustage/cleanup (r=ted/jorendorff). 2009-02-02 13:56:34 -08:00
Benjamin Smedberg
82ba665418 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Benjamin Smedberg
09ffef3261 Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Benjamin Smedberg
db11be65b9 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Richard Brown
4843c71538 Bug 482747 - js/src/Makefile.in DESTDIR support. r=jim 2009-04-20 20:08:34 +02:00
Ted Mielczarek
68f2eb86cc bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Jim Blandy
a04892f62e Bug 465640: Use autoconf to declare stdint types on platforms that don't have stdint.h r=bsmedberg
At configure time, check for <stdint.h>.  If we don't have it, find
integer types of various sizes.  On Windows, where we can't run
compilation tests in configure, hard-code definitions suggesting the
use of the built-in __intN types for the exact-size types, and
<stddef.h> for the pointer-sized types.

Use namespace-clean names for the preprocessor macros we define.
Since these types are used in the public JavaScript API, the configure
script needs to place the definitions it finds in js-config.h, the
installed configure-generated header, so it can be used by jsapi.h and
that gang.

New header js/src/jsstdint.h does what it takes to get definitions for
the exact-size and pointer-size integral types.  It includes
<stdint.h> when available, uses the types found by configure.in to
define the {,u}int{8,16,32,64,ptr}_t types itself, or uses the __intN
types and the <stddef.h> header.

Remove now-unnecessary and possibly conflicting definitions of intN_t
types from js/src/nanojit/avmplus.h.
2009-01-13 10:50:24 -08:00
Benjamin Smedberg
fec9af26d0 Bug 463172 - add a --disable-jit option, r=ted 2009-01-13 11:34:51 -05:00
Ted Mielczarek
d8bff4cf58 bug 471188 - stop calling 'make install' for spidermonkey. r=bsmedberg,jimb 2009-01-08 13:51:27 -05:00
Phil Ringnalda
7663cc21c2 Merge for backout of changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:51:35 -08:00