Commit Graph

333 Commits

Author SHA1 Message Date
Gregor Wagner
2af79b2c82 Cache result of Number2String (bug 513530, r=brendan). 2009-09-04 16:28:30 -07:00
Andreas Gal
e646399910 Inline GetUnitString fast path (513373, r=sayrer). 2009-08-28 16:30:41 -07:00
Andreas Gal
d519506f6e js_GetExistingStringAtom should check for unit strings (512996, r=jorendorff). 2009-08-28 15:53:55 -07:00
Andreas Gal
f67a25df76 Avoid bit twiddling on double values (513063, r=brendan). 2009-08-27 13:59:19 -07:00
Brendan Eich
c3a7193321 Unit strings not in atom table means we must always mark them unless shutting down the runtime (511835, r=gal). 2009-08-21 17:28:05 -07:00
Andreas Gal
07dfc0fbc3 Atomize unit strings at birth (511567, r=shaver). 2009-08-19 19:37:59 -07:00
Luke Wagner
e8720d14b0 Bug 507458 - clear the waters a bit regarding JSVAL_BOOLEAN 2009-08-12 16:39:23 -07:00
Andreas Gal
414cfa1bd1 When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo). 2009-07-27 21:10:12 -07:00
Brendan Eich
7d2cabeb24 Fix 502630 (r=Waldo). 2009-07-16 13:16:27 -07:00
Andreas Gal
6e32ef4468 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Jason Orendorff
e37a73d431 Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Brendan Eich
2d2a5dfe04 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Andreas Gal
00a608f948 Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
4af509178e upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Jim Blandy
daab0107e2 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Igor Bukanov
1929780174 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00
Jim Blandy
918bbe5eae 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
Jeff Walden
e6b7aa6610 Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan 2009-02-03 13:56:25 -08:00
Brendan Eich
1a344ffefb Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal). 2008-11-13 00:30:20 -08:00
Andreas Gal
fd9de39309 Backed out changeset a40f2117bcc0 2008-11-12 17:39:48 -08:00
Brendan
7b8d11c0f0 Add imacros to support conversion of arbitrary JSObjects (456511, r=gal). 2008-11-12 16:55:45 -08:00
Andreas Gal
1126eb957f Emit JSOP_APPLY for .call(...) (462445, r=brendan). 2008-10-30 16:01:53 -07:00
Andreas Gal
0adc66c64c Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan). 2008-10-30 15:38:10 -07:00
Andreas Gal
7b79539df3 Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan). 2008-10-29 13:30:41 -07:00
Brendan Eich
793bd032de Bug 462103 - TM: We don't trace some variants of string + other type (gal+brendan red-headed stepchild). 2008-10-29 00:14:30 -07:00
Robert Sayre
51cf7423ca Bug 408838 - DOM binding for native JSON. r+sr=shaver 2008-10-01 02:13:58 -04:00
Arpad Borsos
5c3d798db7 Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla) 2008-09-07 00:21:43 +02:00
Jim Blandy
d8cc274426 Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE.  However, that name
is very similar to that of an existing header file, jsconfig.h.  This
patch renames the existing header file, and updates all references to
it.
2008-09-05 10:19:17 -07:00
Igor Bukanov
b222c9b672 [Bug 440184] js_(Lock|Unlock) are defined as external non-inline functions to prevent linkage errors with js shell. r=brendan 2008-07-17 10:22:45 +02:00
Igor Bukanov
1aa5c32a96 [Bug 432881] SM: JSVAL_VOID as a pseudo-boolean. r=brendan 2008-06-25 11:43:02 +02:00
Benjamin Smedberg
86da87a6f2 Return to building spidermonkey as C++, because we believe we found the cause of the perf regression elsewhere (non-code). 2008-05-27 16:58:12 -04:00
Benjamin Smedberg
e310131a6f Back out revision bd9c9cbf9ec8 (build spidermonkey as C++) for perftesting and profit. 2008-05-27 12:19:17 -04:00
1650653ff4 Bug 387935, Always build JS as C++, r=benjamin 2007-07-16 11:40:49 -07:00