Commit Graph

86 Commits

Author SHA1 Message Date
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Andreas Gal
e7f2714ea1 When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo). 2009-07-27 21:10:12 -07:00
David Mandelin
cfb0d1fd1b Bug 506821: clean up trailing whitespace, r=brendan 2009-07-27 18:40:12 -07:00
Igor Bukanov
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
Andreas Gal
1af8dfb112 Avoid integer division in NewGCThing path (503157, r=jwalden). 2009-07-14 17:06:09 -07:00
Andreas Gal
f552010935 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Brendan Eich
107bba886d Bug 503524 - JSON.stringify does not condition number-typed space parameter per spec (r=sayrer). 2009-07-10 16:02:38 -04:00
Brendan Eich
4e705018ab Optimize stringify edge case. r=sayrer/jorendorff. 2009-07-10 15:13:54 -04:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Robert Sayre
d6c962680a Bug 493586. JSON.parse replacer function doesn't elide object values correctly. r=brendan 2009-05-18 20:12:51 -04:00
Robert Sayre
e381e4649f Fix up whitespace. CLOSED TREE 2009-05-07 17:22:33 -07:00
Robert Sayre
8b3982769a Bug 442059 - [native JSON] allow to blacklist keys by name when encoding to JSON. r=brendan 2009-05-07 13:28:21 -07:00
Brendan Eich
50b885546d Shoot me now (489089). 2009-04-21 22:50:51 -07:00
Brendan Eich
a27f8153f6 Oh for crying out loud (489089). 2009-04-21 18:09:44 -07:00
Brendan Eich
0aadb94a7b Bug 489089 - JSON.parse is way slower than it needs to be (r=igor/sayrer). 2009-04-21 12:09:27 -07:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Robert Sayre
598602fe5d Bug 482899 - Don't call the reviver function when the JSON parse fails. r=jwalden 2009-03-12 03:27:15 -04:00
Robert Sayre
9e67170bdc Do things in a different order. Bug 482861. r=jwalden 2009-03-12 02:18:59 -04:00
Jason Orendorff
dbb0b6a149 Bug 481218 - js_IsCallable returns false for functions. r=brendan.
--HG--
extra : rebase_source : 52d3cba36f3fa1301223cb579bd75ec7bbd5d130
2009-03-11 10:46:45 -05:00
Robert Sayre
100a8e68be Bug 476374 - JSON.parse does not support reviver argument as defined in spec. r=jorendorff 2009-03-03 12:55:11 -05:00
Robert Sayre
9104b2a35e Take out printfs. no relation to orange 2009-03-03 10:46:56 -05:00
Robert Sayre
5cbf3014e0 Check where we're calling JSON functions for a few runs. Temporary debug stuff. 2009-03-03 01:27:10 -05:00
Robert Sayre
c5f751c11f Bug 459161 - Process first argument to JSON stringify and parse methods as specified by ES3.1, part 2. r=jorendorff 2009-03-02 17:00:28 -05:00
Robert Sayre
a5180ef247 Bug 465371 - Native JSON stringification aborts on functions and xml but returns JS_TRUE. r=shaver 2009-02-25 00:53:49 -05:00
Robert Sayre
d0521c26b5 Bug 459161 - Process first argument to JSON stringify and parse methods as specified by ES3.1. r=shaver 2009-02-13 15:34:39 -05:00
Blake Kaplan
093ecbb6c7 Bug 463715 - Be less wasteful when emitting escapes. r=sayrer 2008-11-11 15:09:20 -08:00
Robert Sayre
8e4a6beb13 Bug 462778. Fix JSON top crash. r=brendan 2008-11-07 18:10:39 -05:00
Robert Sayre
c79f329ed4 Bug 459293. Sites not loading - redeclaration const JSON error on console. r=brendan 2008-10-16 01:20:57 -04:00
Robert Sayre
79bbd2eb93 Bug 459300. JSON should use internal JS functions where it makes sense. r=brendan 2008-10-12 20:48:48 -04:00
Robert Sayre
1dcc178640 Bug 459259 - Consolidate code for retrieving top of the JSON parser's object stack. r=brendan 2008-10-09 14:18:31 -04:00
Robert Sayre
5feaaba5f2 Bug 459160 - json.cpp misuses rooting api. r=mrbkap 2008-10-08 23:22:35 -04:00
Robert Sayre
bef8140a39 Bug 458959. this.JSON is enumerable. r+sr=mrbkap 2008-10-08 19:33:26 -04:00
Robert Sayre
9f7138d61c Bug 459065. JSON space patrol. r=gal 2008-10-08 13:31:07 -04:00
Robert Sayre
690f7346b8 Bug 408838. Native JSON. r/sr=shaver 2008-10-06 16:54:12 -04:00
Reed Loden
a4f6f0e831 Back out Robert Sayre's patch from bug 408838 due to test failures (changeset 2fe3cb0c9f7c). 2008-10-01 03:22:30 -05:00
Robert Sayre
c59514f66e Bug 408838 - DOM binding for native JSON. r+sr=shaver 2008-10-01 02:13:58 -04:00