Commit Graph

82 Commits

Author SHA1 Message Date
Robert Sayre
1d56325898 Merge mozilla-central to tracemonkey. 2010-06-24 13:47:08 -07:00
Saint Wesonga
15c5e882f9 Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer 2010-06-24 13:32:07 -07:00
Brendan Eich
e672f52623 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Nicholas Nethercote
f0550e09e5 Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject (attempt 2; attempt 1 was backed out due to conflicts). r=brendan. 2010-05-12 18:57:36 -07:00
Robert Sayre
c55787e463 Merge tracemonkey to mozilla-central. a=1hr 2010-04-25 08:59:57 -04:00
Andreas Gal
92692442a2 optimize JSON stringify. bug 561592. r=dvander 2010-04-25 08:51:05 -04:00
Robert Sayre
27452b9484 Bug 560650 - TM: json code should use JS_Enumerate. r=gal 2010-04-24 14:18:10 -04:00
Andreas Gal
df7122d975 backing out clean up bug 560167 due to massive conflicts with the iterator patch 2010-04-23 20:49:06 -07:00
Nicholas Nethercote
a46ca032d4 Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject. r=brendan. 2010-04-22 16:37:41 -07:00
Nicholas Nethercote
4139494dcc Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan. 2010-04-14 18:57:30 -07:00
Nicholas Nethercote
00c793c05f Backed out changeset 681b0067e61b due to massive breakage 2010-04-14 17:09:17 -07:00
Nicholas Nethercote
e240c1f235 Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan. 2010-04-14 16:18:03 -07:00
Andreas Gal
a887d81302 Inline the object allocation path (558003, r=sayrer). 2010-04-10 16:16:35 -07:00
Robert Sayre
5690b40895 Update json.cpp comment. a=1hr 2010-04-24 19:05:48 -04:00
Robert Sayre
c08105c9c5 Bug 505228. JSON.stringify generates non standard output if space is defined. r=sayrer 2010-04-09 15:38:27 -04:00
Nicholas Nethercote
26d8277a75 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Robert Sayre
fc4b9ec6e1 FF 3.5.2 native JSON.stringify replacer applied only to array items, not object properties. bug 509184. r=waldo 2010-04-07 12:35:43 -04:00
Robert Sayre
7666a5588b Bug 554798: msvc warning in json.cpp. r=waldo 2010-04-01 16:54:03 -04:00
Robert Sayre
8f95952051 Bug 554152: Fix handling of space parameter match final spec. r=waldo 2010-04-01 16:22:49 -04:00
Robert Sayre
904cc3ed9d Bug 554079: JSON.parse should reject control characters. r=waldo 2010-04-01 16:20:35 -04:00
Robert Sayre
842cbb7211 JSON stringify and parse have the wrong length. bug 554082. r=waldo 2010-04-01 16:19:45 -04:00
Jeff Walden
ed80c98a49 Readd jsdbgapi.cpp, json.cpp, jsopcode.cpp, and jstracer.cpp changes from bug 548702. 2010-03-29 19:47:40 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Jason Orendorff
60d5805e46 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden.
--HG--
extra : rebase_source : bec4d9441aa2af8488a04aa8604a65b7387cda6d
2010-03-22 18:21:10 -05:00
Chris Leary
8e0decc494 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-21 16:07:48 -07:00
Luke Wagner
1e33f57b39 Backed out changeset 6403442ffa1d (failure on windows, winnt.h defines TokenType!) 2010-03-18 22:26:47 -07:00
Chris Leary
2400e09e63 Bug 553423 - JS scanner namespacing cleanup (r=lw) 2010-03-18 22:15:51 -07:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Andreas Gal
18afa9f743 Setters/getters can be callable objects (547912, r=brendan). 2010-02-22 22:25:09 -08:00
Andreas Gal
bd338bc100 Test whether obj IsCallable instead of VALUE_IS_FUNCTION for call and apply (547046, r=mrbkap). 2010-02-22 14:07:50 -08:00
Jeff Walden
285792a4b4 Bug 430133 - Implement ES3.1's Object.defineProperty and Object.defineProperties. r=jorendorff 2009-06-05 12:56:45 -07:00
Robert Sayre
57d0498f8e Add a missing credit to trigger a re-compile. 2009-11-30 11:15:10 -05:00
Luke Wagner
8f8e40faaa Bug 510360 - early return in json.cpp might skip necessary postamble (r=sayrer) 2009-10-17 23:30:40 -07:00
Jeff Walden
12df1ce230 Bug 518663 - Fix some typos in JSAutoTempValueRooter uses. r=dvander 2009-09-24 14:48:24 -07:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
Jeff Walden
c8f686672d Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap 2009-07-21 19:35:59 -07:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Luke Wagner
5c14309cd1 Bug 511750 - factor template utilities into js::tl (r=brendan)
--HG--
extra : rebase_source : a5a396811268e71af8e56c66dab491f3081bc20a
2009-09-01 18:46:19 -07:00
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
Luke Wagner
3cf8a59c01 Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan) 2009-08-14 16:10:59 -07:00
David Mandelin
6e0758faf2 Trailing whitespace cleanup, no_r=me 2009-08-20 15:21:14 -07:00
Luke Wagner
1f36a4f0c2 Bug 503952 - Use JSTempVector in jsstr.cpp (r=waldo)
--HG--
extra : rebase_source : ac955b5d784ca8fc9a61129e580c2751beb4109f
2009-08-14 16:10:59 -07:00
Luke Wagner
94a2c2cadd Bug 503952 - replace JSStringBuffer with JSTempVector in json.cpp 2009-08-13 17:22:55 -07:00
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