Граф коммитов

6618 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 0d87e318d8 Fix ancient misordering of addProperty before slot store (279289, r=shaver). 2005-03-29 19:24:33 +00:00
brendan%mozilla.org adf436987a Make js_GetScriptLineExtent JS_FRIEND_API for the js shell's sake. 2005-03-29 16:55:43 +00:00
brendan%mozilla.org acfbf271cb Fix EmitJump to AddSpanDep if in all necessary cases (155081, the small crash-fix patch). 2005-03-29 02:45:03 +00:00
brendan%mozilla.org 5330862d15 Fix bogus assertion reported a while ago (sorry, I forgot by whom). 2005-03-29 02:40:23 +00:00
brendan%mozilla.org 2ce3bc9c0d Add getslx for testing js_GetScriptLineExtent, and make GetTrapArgs work as ValueToScript does. 2005-03-29 02:39:01 +00:00
brendan%mozilla.org 03428adbbe - Fix longstanding goof in js_PushLocalRoot, where m (n % local-root-chunk)
was returned rather than n (the index of lrs->scopeMark).  I'm mortified.
- Followup fix to GC local rooting fix in ParseNodeToXML -- missed a few
  early returns from what used to be no-local-roots switch cases.
2005-03-29 01:40:30 +00:00
brendan%mozilla.org a55482b90a - Revert recent change to js_NewXMLSpecialObject API, it was based on me
misreading the spec.
- Improve XML constant folding by decompiling CDATA, comments, and PIs in
  non-constant XML literals -- those containing {embedded-expressions}.
- Fix GC local rooting in ParseNodeToXML, it was pretty broken.
2005-03-28 23:12:42 +00:00
brendan%mozilla.org a976083473 Back out recent attempts to fix 287107 and follow-on bugs; back to drawing board. 2005-03-28 08:25:30 +00:00
brendan%mozilla.org bc87e38439 Comment tweak. 2005-03-27 20:30:46 +00:00
brendan%mozilla.org 0120c22ebc Make top-level PIs and comments respect their XML.ignore* flags (246441 cont'd). 2005-03-27 20:18:51 +00:00
brendan%mozilla.org de47825124 Maintain XMLPI target and content as non-null -- if no content, use empty string (private communcation w/ bclary). 2005-03-27 16:08:42 +00:00
brendan%mozilla.org 89d3070223 Clear pending results after fetching 'em in XPCWrappedJSClass::CallMethod (287490, r=dbradley, sr=jst). 2005-03-24 23:37:47 +00:00
brendan%mozilla.org a64a9d93c1 Fix so JSNewResolveOp can define id in an unrelated object and return it (not needed now for 274784, may be useful later, good for js, r=shaver). 2005-03-24 22:28:09 +00:00
shaver%mozilla.org 9becf054e2 Bug 287441: add __LOCATION__ property so JS components can tell where they're
loaded from.  r=dbradley.
2005-03-24 18:24:09 +00:00
brendan%mozilla.org a48523b662 Unregress 1.73's breakage of NS_COMFALSE return from a JS method (287107, r=dbradley, sr=jst). 2005-03-23 02:39:47 +00:00
cbiesinger%web.de f6c5f13bb9 270224 create nsIPropertyBag2 for easier getting of values from a propertybag
r=shaver sr=darin
2005-03-22 18:16:53 +00:00
bob%bclary.com 3a1fc4546b Update Martin's email 2005-03-21 19:09:10 +00:00
brendan%mozilla.org 50b7b41cf9 Remove dead code pointed out by njaguar@gmail.com. 2005-03-20 05:00:15 +00:00
bob%bclary.com 4218d0f595 Add ability to run js/tests from browsers. Bug 263119 2005-03-18 19:09:59 +00:00
brendan%mozilla.org 56197d45f3 Kludge tracing code (DEBUG only) to cope with JSOP_FORELEM oddment (286216). 2005-03-15 22:22:45 +00:00
igor%mir2.org b62a161c65 Fixing bug 286251: removal of double call to initFunction which was spotted by Gilles Barnier <gilles.barnier@veritas.com>. 2005-03-15 17:13:02 +00:00
bob%bclary.com 7a651eaca7 modify to follow ecma3 specification. See bug 281606 2005-03-15 00:28:38 +00:00
bryner%brianryner.com a821ecc6cf Inline access to XPCWrappedNative's nsISupports pointer, with do_QueryWrappedNative nsCOMPtr helper (bug 285404). r=jst, sr=darin. 2005-03-10 00:39:28 +00:00
bob%bclary.com 1b89a28222 Update changed line number in function testRealError() 2005-03-09 20:23:55 +00:00
brendan%mozilla.org ae25f3cc23 Propagate special and compile-n-go flags from top frame when pushing a compiler frame, EXCEPT when pushing a frame for a function body -- there, propagate compile-n-go (285219, r=shaver). 2005-03-09 01:02:27 +00:00
brendan%mozilla.org 80cc46ef48 Back out last change, reopening bug 285219 (see bug 285244). 2005-03-08 22:35:30 +00:00
dmose%mozilla.org a153f8ebe8 Fix MinGW build bustage. Thanks to sharparrow1@yahoo.com for the patch. r=dbradley, sr=dmose. 2005-03-08 22:24:08 +00:00
brendan%mozilla.org 9802bc0ab5 Propagate special and compile-n-go flags from top frame when pushing a compiler frame (285219, r=shaver). 2005-03-08 06:23:10 +00:00
bob%bclary.com 4ffb4e1c8d tweak function arguments to match use. 2005-03-07 04:54:52 +00:00
bob%bclary.com 56359ef5a8 Initial add. Regression test for bug 155081, by ajschult@verizon.net 2005-03-07 04:48:08 +00:00
bob%bclary.com 1bd1eade04 Initial add. Test for __noSuchMethod__ handler, by brendan@mozilla.org 2005-03-07 04:43:16 +00:00
bob%bclary.com 08f5d32ba7 Initial add. Regression test for bug 273931, by brendan@mozilla.org 2005-03-07 04:39:49 +00:00
bob%bclary.com d8fd9ea457 Initial add. Regression test for bug 257751, by bugzilla@gemal.dk, jerfa@yahoo.com 2005-03-07 04:35:43 +00:00
bob%bclary.com 9fc990d1ac Initial add. Regression test for bug 255555, by jerfa@yahoo.com 2005-03-07 04:31:23 +00:00
bob%bclary.com 5a18505745 Initial add. Regression test for bug 260106, by liorean@gmail.com 2005-03-07 04:25:44 +00:00
bob%bclary.com b1669738e3 Initial add. Regress test for bug 283349, by igor@mir2.org 2005-03-07 04:20:59 +00:00
bob%bclary.com 77e48e3ed3 Initial add. Regression test for bug 280844, by igor@mir2.org 2005-03-07 02:55:17 +00:00
bob%bclary.com afe62315e1 Initial add. Regression test for bug 283972, by Martin.Honnen@arcor.de 2005-03-07 02:46:10 +00:00
brendan%mozilla.org 1d7fdf8411 When converting from list to hashtable in js_IndexAtom, arrange to preallocate the table's buckets array to the list length, and set table->nentries (buglet reported by tellme.com folks). 2005-03-04 18:23:58 +00:00
bob%bclary.com ff7c720248 Fix error where testcase did not test conversion of the object to a string. Note this does not accurately test the true problem of evaluating the object in the js shell 2005-03-04 06:24:16 +00:00
bob%bclary.com a91090fc40 Initial add. Regression test for bug 167328, by pschwartau@meer.net 2005-03-04 03:26:50 +00:00
bob%bclary.com e8b1da722d Initial add. Regression test for bug 155081, by ajschult@verizon.net 2005-03-04 00:17:19 +00:00
timeless%mozdev.org 6acd2a12ba Bug 284549 crash if nsIClassInfo.getInterfaces includes a null interface [@ HashIIDPtrKey]
r=shaver sr=shaver
2005-03-03 23:41:12 +00:00
bob%bclary.com 514fdb52bb Initial add. Regression test for bug 119719 2005-03-03 22:00:16 +00:00
bob%bclary.com 52c97d663e Initial add. Regression test for bug 58116 2005-03-03 21:25:31 +00:00
bob%bclary.com bc33efc364 Initial add. Regression test for bug 249211, by dcourtin@systemplus.fr 2005-03-03 18:59:05 +00:00
bob%bclary.com 55f9667cd4 Initial add. Regression test for bug 245148, by bebabo@swissonline.ch 2005-03-03 18:51:11 +00:00
bob%bclary.com 76537bb595 Initial add. Regression test for bug 281930, by jerfa@yahoo.com 2005-03-03 18:32:13 +00:00
bob%bclary.com e666fc56c9 Initial add. Regression test for bug 280769, by igor@mir2.org 2005-03-03 17:03:05 +00:00
bob%bclary.com 919fd14406 Update section 2 to handle changed Spidermonkey behavior. Bug 284123 2005-03-02 11:29:10 +00:00
bob%bclary.com ea083903ed Initial add. Regression test for bug 238945, by hhschwab@gmail.com 2005-03-01 22:16:28 +00:00
bob%bclary.com 9a83d6a5c4 fix error where status was used instead of summary 2005-03-01 18:58:08 +00:00
bob%bclary.com 5d62eabbf0 Separate testcases for 32K boundary in regexp bytecode jump offset and 64K boundary of [] offset in regexp search string. bug 280769 2005-03-01 17:08:17 +00:00
bob%bclary.com 6e032cdbbd Initial add. Regression testcases for bug 280769, by igor@mir2.org 2005-03-01 17:04:51 +00:00
bob%bclary.com a54bf61c9e Initial add. Regression test for bug 240577 2005-03-01 16:57:07 +00:00
bob%bclary.com 92bd1f8def remove redeclaration of variable N which hid argument. 2005-03-01 08:59:45 +00:00
bob%bclary.com 143e99dc98 Modify to include 3 sections for N=20000, 0xFFFF, 100000 2005-03-01 01:45:46 +00:00
bob%bclary.com 7feebf75e8 Initial add. Regression test for bug 280769, comment 12 by igor@mir2.org 2005-03-01 00:59:48 +00:00
bob%bclary.com ee8dd0b527 Initial add. Regression test for bug 254296, by kal_el1938@hotmail.com 2005-02-28 19:04:03 +00:00
igor%mir2.org c9b019c48a Patch from Attila Szegedi, szegedia@freemail.hu to address an issue with bug fix for bug 274467. From comment 24:
Patch for wrapping unchecked exceptions from Java method invocations

Recently we had a problem with a NPE occurring in a Java method - it wasn't
wrapped into WrappedException and subsequently we did not see the interpreter
script stack traces. This is because unchecked throwables aren't wrapped into
InvocationTargetException. I changed the relevant code in MemberBox.java to
wrap all exceptions (checked and unchecked) into WrappedException. BTW, this is
now consistent with how JavaMembers.get() and JavaMembers.put() work - they
also wrap all exceptions into WrappedException, not just
InvocationTargetException.
2005-02-28 12:39:04 +00:00
bob%bclary.com 02b4b8df17 Initial add. Regression test for bug 281606, by sukhisoul@yahoo.com 2005-02-28 12:27:37 +00:00
bob%bclary.com 7d8903c658 remove o instanceof o testcase, bug 281606 2005-02-28 12:10:37 +00:00
bob%bclary.com 682d0f7cf6 Initial add. Regression test for bug 261887, by osfo@home.se 2005-02-28 03:52:46 +00:00
bob%bclary.com 56eb7d08ef Initial add. Regression test for bug 261886, by osfo@home.se 2005-02-28 03:52:02 +00:00
mrbkap%gmail.com 4a98e6c61a bug 274888: Use the correct type for indexing into the input so that backtracking works when it is longer than 65535 characters. r=brendan 2005-02-27 18:32:57 +00:00
bob%bclary.com 246224ff53 Add Alexander Law as primary contributor 2005-02-27 15:30:28 +00:00
bob%bclary.com f68375559c Initial add. Regression test for bug 280769, by aldenfloyd@gmail.com 2005-02-26 23:55:30 +00:00
bob%bclary.com 42717d0581 Initial add. Regression test for bug 169559 2005-02-26 23:50:56 +00:00
bob%bclary.com 45d1db3555 Initial add. Regression test for bug 165201, by brendan@mozilla.org 2005-02-26 23:45:45 +00:00
bob%bclary.com 4ad675c930 Initial add. Regression test for bug 283477, by sjoerd@w3future.com 2005-02-26 21:39:32 +00:00
bob%bclary.com 27fb70bbf9 Initial add. Regression test for bug 274888, by sjoerd@w3future.com 2005-02-26 21:29:59 +00:00
brendan%mozilla.org 04aee5ffc8 Cosmetic tweak. 2005-02-26 18:29:00 +00:00
brendan%mozilla.org 9513c8157e Fix from Igor Bukanov <igor@mir2.org> for 283064 (r=me). 2005-02-26 18:28:14 +00:00
bob%bclary.com 140153aece Initial add. List of obsolete spidermonkey tests 2005-02-26 05:03:53 +00:00
bob%bclary.com 78f30a3ba0 Initial add. Regression test for bug 255245, by celsoaguiar@hotmail.com, brendan@mozilla.org 2005-02-26 04:59:58 +00:00
bob%bclary.com c09d0918cd Initial add. Regression test for bug 233483, by m-wada@japan.com 2005-02-26 04:48:48 +00:00
brendan%mozilla.org 6d3b81b8d1 Deal with undefined as well as empty namespace prefix in GetNamespace (283349, r=igor, sr=shaver). 2005-02-25 01:19:35 +00:00
cbiesinger%web.de b9f88b57ee 282339 patch by Frank Wein <bugzilla@mcsmurf.de> r=pschwartau
add a comment that these tests won't work in non-english locales
2005-02-24 19:13:36 +00:00
brendan%mozilla.org 7f56bfbe27 Fix almost-10-year-old lastIndex bug reported by Sjoerd Visscher <sjoerd@w3future.com> (283477, r=me). 2005-02-24 18:59:41 +00:00
bob%bclary.com f5dee5050c Initial add. Regression test for bug 203278, by igor@mir2.org 2005-02-24 06:43:32 +00:00
bob%bclary.com 7c7ea5e8b5 Initial add. Regression test for bug 277779, by martin.honnen@arcor.de 2005-02-24 05:48:45 +00:00
bob%bclary.com 10aae62902 Initial add. Regression test for bug 277683, by martin.honnen@arcor.de 2005-02-24 05:46:57 +00:00
bob%bclary.com af1873fda6 Initial add. Regression test for bug 277664, by martin.honnen@arcor.de 2005-02-24 05:44:35 +00:00
bob%bclary.com 5a322e0b72 Initial add. Regression test for bug 277650, by martin.honnen@arcor.de 2005-02-24 05:42:20 +00:00
bob%bclary.com 7bddcf3482 Initial add. Regression test for bug 3649, by mff@research.att.com 2005-02-24 05:38:10 +00:00
bob%bclary.com 00418450e9 Initial add. Regression test for bug 278873, by vogge@vlbg.dhs.org 2005-02-24 05:34:39 +00:00
bob%bclary.com 935e026365 Initial add. Regression test for bug 278725, by silver@warwickcompsoc.co.uk, ajvincent@gmail.com, timeless@mozdev.org 2005-02-24 05:32:32 +00:00
bob%bclary.com 94b3c6ff00 Initial add. Regression test for bug 276103, by gianugo@apache.org 2005-02-24 05:29:06 +00:00
bob%bclary.com 68cf7ba4d9 Initial add. Regression test for bug 275378, by martin.zvieger@sphinx.at 2005-02-24 05:26:39 +00:00
brendan%mozilla.org e313350da8 Implement specialized Deutsch-Schorr-Waite under js_MarkXML to avoid stack overflow (280844, r=igor, sr=shaver). 2005-02-24 05:24:26 +00:00
bob%bclary.com 00db9170a3 Initial add. Regression test for bug 274035, by jerfa@yahoo.com 2005-02-24 05:24:22 +00:00
bob%bclary.com da41251406 Initial add. Regression test for bug 271716, by cbiesinger@gmx.at 2005-02-24 05:21:47 +00:00
bob%bclary.com a8c86a0eca Initial add. Regression test for bug 260541, by troy@entheossoft.com 2005-02-24 05:19:30 +00:00
bob%bclary.com 57aa3fce6a Initial add. Regression test for bug 256798, by brendan@mozilla.org 2005-02-24 05:17:02 +00:00
bob%bclary.com 6517529a60 Initial add. Regression test for bug 256617, by igor@mir2.org 2005-02-24 05:15:09 +00:00
bob%bclary.com fa07bccfdd Initial add. Regression test for bug 256501, by igor@mir2.org 2005-02-24 05:13:11 +00:00
bob%bclary.com 8713cdd855 Initial add. Regression test for bug 254974, by timeless@mozdev.org 2005-02-24 05:11:21 +00:00
bob%bclary.com e18651f973 Initial add. Regression test for bug 254375, by timeless@mozdev.org 2005-02-24 05:09:32 +00:00
bob%bclary.com 66c489af81 Initial add. Regression test for bug 252892, by archer@meta-comm.com, brendan@mozilla.org 2005-02-24 05:06:49 +00:00
bob%bclary.com 77265a8b06 Initial add. Regression test for bug 248444, by timeless@mozdev.org 2005-02-24 05:04:36 +00:00
bob%bclary.com 9d3b2d753a Initial add. Regression test for bug 247179, by jim@jibbering.com, malcolm-bmo@farside.org.uk 2005-02-24 05:02:35 +00:00
bob%bclary.com 6b66535c94 Initial add. Regression test for bug 246964, by brendan@mozilla.org, bzbarsky@mit.edu, steven.chapel@sbcglobal.net 2005-02-24 04:58:33 +00:00
bob%bclary.com 68901aedf2 Initial add. Regression test for bug 246911, by thingol@mail.ru 2005-02-24 04:55:50 +00:00
bob%bclary.com 4f86eeb06f Initial add. Regression test for bug 245795, by timeless@mozdev.org 2005-02-24 04:54:04 +00:00
bob%bclary.com 5a75bf0901 Initial add. Regression test for bug 245308, by silver@warwickcompsoc.co.uk 2005-02-24 04:52:14 +00:00
bob%bclary.com 7ee48e192c Initial add. Regression test for bug 245113, by jerfa@yahoo.com 2005-02-24 04:49:50 +00:00
bob%bclary.com 9d4bc03944 Initial add. Regression test for bug 244619, by hassman@czilla.cz 2005-02-24 04:45:09 +00:00
bob%bclary.com 58fa55dcf0 Initial add. Regression test for bug 244470, by jerfa@yahoo.com 2005-02-24 04:42:41 +00:00
bob%bclary.com 46c992afa8 Initial add. Regression test for bug 243869, by ajvincent@gmail.com 2005-02-24 04:40:21 +00:00
bob%bclary.com b8fdd52164 Initial add. Regression test for bug 243389, by bugzilla@gemal.dk 2005-02-24 04:38:29 +00:00
bob%bclary.com f2f7f0314f Initial add. Regression test for bug 243174, by brendan@mozilla.org 2005-02-24 04:36:11 +00:00
bob%bclary.com 46de67889e Initial add. Regression test for bug 240317 2005-02-24 04:33:59 +00:00
bob%bclary.com 564a6f7814 Initial add. Regression test for bug 238881, by brendan@mozilla.org 2005-02-24 04:31:56 +00:00
brendan%mozilla.org 0cbc6f1d33 Fix instanceof to throw a TypeError if the RHS doesn't have a [[HasInstance]] internal method, per ECMA-262 Ed. 3 (r=shaver). 2005-02-24 00:06:43 +00:00
bob%bclary.com 852e442fdb Initial add. Regression test for bug 237461, by archer@meta-comm.com 2005-02-23 22:51:45 +00:00
bob%bclary.com 5fe13223b2 Initial add. Regression test for bug 233483, by m-wada@japan.com 2005-02-23 22:48:26 +00:00
bob%bclary.com 29416c0de6 Initial add. Regression test for bug 231518, by dragosan@dragosan.net, martin.honnen@arcor.de 2005-02-23 22:44:38 +00:00
bob%bclary.com d60d7d6f75 Initial add. Regression test for bug 230216, by brendan@mozilla.org 2005-02-23 22:41:54 +00:00
bob%bclary.com 30c598528e Initial add. Regression test for bug 230216, by igor@mir2.org 2005-02-23 22:40:21 +00:00
bob%bclary.com 4336d30b8e Initial add. Regression test for bug 229006, by dbaron@mozilla.org 2005-02-23 22:34:39 +00:00
bob%bclary.com 551f4e2c27 Initial add. Regression test for bug 203278, by igor@mir2.org 2005-02-23 22:32:31 +00:00
bob%bclary.com 7754c46559 Initial add. Regression test for bug 203278, by ash@huntwork.com 2005-02-23 22:30:40 +00:00
bob%bclary.com 719e38587d Initial add. Regression test for bug 174709, by Q42.nl, martijn.martijn@gmail.com 2005-02-23 22:27:37 +00:00
bob%bclary.com c4df7d638f Initial add. Regression test for bug 162392. 2005-02-23 22:23:02 +00:00
brendan%mozilla.org e2c403d6f4 Fix from Juergen Kreileder <jk@blackdown.de> for 32-bit processes on 64-bit OSes that map the heap up against the 0x100000000 wall (279273, r=shaver). 2005-02-23 21:36:10 +00:00
brendan%mozilla.org 99917980ea Avoid recycling an overlarge arena from the evil arena_freelist, in case the new consumer is itself oversized and therefore owns the entire allocation (283234, r=shaver). 2005-02-23 21:31:58 +00:00
bob%bclary.com 8422dd5fb6 Initial add. Regression test for bug 10278. 2005-02-23 21:27:57 +00:00
brendan%mozilla.org 32a06e8050 Specialize for QARG and QVAR types within JOF_NAME format in js_DecompileValueGenerator (281487, r=shaver). 2005-02-23 02:40:40 +00:00
brendan%mozilla.org 5b39984627 Null |obj| VM register for correct |this| binding (281930, r=shaver). 2005-02-22 23:25:49 +00:00
igor%mir2.org d6d018f0b6 Resolving bug 282595: patch from Juerg lehni <juerg@scratchdisk.com> to allow
for several setters for bean properties.
2005-02-18 23:06:39 +00:00
shaver%mozilla.org 0667b9db73 Bug 273931: pop With objects from scope chain as appropriate, when resetting
stack depth due to exception-handling flow control jumps. r=brendan.
2005-02-18 16:06:49 +00:00
timeless%mozdev.org 712a1eccb6 Bug 273953 Crash during GC after leaving page in URL
patch by dbradley@gmail.com r=jst sr=brendan
2005-02-18 06:39:11 +00:00
brendan%mozilla.org dff15a4252 Fix off-by-one-slot bug in logic guarding mark on obj->slots - 1 (279858, r=shaver, a=dbaron). 2005-02-17 19:07:59 +00:00
igor%mir2.org c57a9a3c25 Implementing bug 274467: Add JavaScript stack trace to exceptions
The changes are based on that patch from Attila Szegedi, szegedia@freemail.hu.
2005-02-16 19:57:03 +00:00
igor%mir2.org 4130b9bffa Fixing bug 282447: patch from Attila Szegedi <szegedia@freemail.hu> to fix NullPointerException. 2005-02-16 12:11:42 +00:00
brendan%mozilla.org 2af476b070 Fix Detecting to cope with no active frames on cx (281984, r=jst). 2005-02-15 19:20:00 +00:00
gerv%gerv.net 368104ffe6 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-13 00:07:56 +00:00
gerv%gerv.net 8c57572d65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-12 20:11:18 +00:00
igor%mir2.org 7bdfe51648 Fixing bug 281537, a regression introduced due to work on bug 280047. It was reported by Attila Szegedi, szegedia@freemail.hu, who also provided the initial patch. 2005-02-09 15:46:50 +00:00
igor%mir2.org bb1ee0458d Implementing bug 281247: JDK compatibility is implemented through VMBridge class and its subclasses to avoid excessive reflection usage. 2005-02-07 07:34:32 +00:00
igor%mir2.org 7ef36e99a0 I removed unused Context argument from various SomeObject.init methods to decrease code bloat. 2005-02-06 01:56:46 +00:00
igor%mir2.org 26f82f20b1 I chaged JavaAdapter to store ContextFactory in the proxy object directly instead of extracting it from scope. It ensures that the proper factory is used to reenter Context objects even if scope stored in the adapter is manipulated and no longer contains the reference to factory. 2005-02-06 01:14:24 +00:00
igor%mir2.org 73ddc72a0e Fixing bug 281067: patch from Attila Szegedi, szegedia@freemail.hu, to allow to garbage collect unused Rhino classes. 2005-02-04 15:53:05 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
brendan%mozilla.org b9fc239625 Update JSNewResolveOp's comment to talk about the new JSRESOLVE_ flags. 2005-02-03 22:25:10 +00:00
gerv%gerv.net dabddf2034 Bug 236613: change to MPL/LGPL/GPL tri-license. This checkin does not actually change any licenses, but makes indentation and comment-formatting fixes so that the relicensing script is able to parse all the license blocks in the js/ directory. Once the smoke has cleared, I'll do the second step. 2005-02-02 23:52:03 +00:00
darin%meer.net ec8b7d8f85 applying shaver's review nit for bug 235499 2005-02-02 22:22:45 +00:00
darin%meer.net c9632fecf5 landing xpconnect patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=shaver sr=jst 2005-02-02 22:20:28 +00:00
igor%mir2.org 90f67281a3 Fixing bug 280629: Compatibility patch to add Main.dispose() 2005-02-01 20:41:21 +00:00
nboyd%atg.com d8a2fd79c1 Update link to ECMA standard 2005-02-01 18:49:56 +00:00
brendan%mozilla.org bfd333af3f Fix GC_MARK_DEBUG-#ifdef'd code for E4X (timeless private bug). 2005-02-01 02:35:31 +00:00
brendan%mozilla.org 6cf3e9a4ec Improve GC_MARK_DEBUG strings a bit, tweak a comment. 2005-02-01 00:54:34 +00:00
brendan%mozilla.org c7eaba5a0a Pass origobj, not obj, to OBJ_GET_PROPERTY for for-each-in on non-XML objects (bug reported by Martin Honnen, diagnosis by jband). 2005-01-31 07:19:07 +00:00
brendan%mozilla.org 9ae86dc9bc Fix js_LineNumberToPC to cope with code reordering, especially in JSOP_CONDSWITCH (1113352, r=shaver). 2005-01-29 18:31:46 +00:00
dbaron%dbaron.org 13ad340e6a Convert CR-LF and CR linebreaks to LF. 2005-01-28 20:01:46 +00:00
brendan%mozilla.org 72fd33f7f7 Toggle JSOPTION_COMPILE_N_GO around compilation in JS_EvaluateUCInStackFrame (280086, r=shaver). 2005-01-28 18:14:05 +00:00
igor%mir2.org 356370801a Implementing bug 280047: Undefined no longer implements Scriptable 2005-01-27 16:35:39 +00:00
igor%mir2.org 21add3734f Always use Undefined.instance and not Context.getUndefinedValue() for consistency. 2005-01-27 00:59:59 +00:00
igor%mir2.org 0791ba8d5b Changing deprecated EcmaError.getErrorObject to return null for smaller footprint 2005-01-27 00:57:38 +00:00
igor%mir2.org bacb410d10 Fixing JavaDoc formating 2005-01-27 00:55:08 +00:00
brendan%mozilla.org e8a73cb887 s/DEBUG_brendan/DEBUG_notme/g 2005-01-25 19:39:45 +00:00
brendan%mozilla.org b0ace36743 Fix old bug in JSOP_CONDSWITCH codegen (278873, r=shaver). 2005-01-25 19:34:37 +00:00
brendan%mozilla.org fe6b4edf3e Followup to fix for 123668, to handle newborns and mark small object slots before checking for stack-quota-exceeded (Deutsch-Schorr-Waite). 2005-01-25 09:02:22 +00:00
brendan%mozilla.org e6e76123d4 Fix js_GetArgsObject to skip debugger/eval frames (162392, r=shaver). 2005-01-25 05:56:37 +00:00
brendan%mozilla.org 485450f512 Add getpda shell function for debugging. 2005-01-25 03:22:16 +00:00
brendan%mozilla.org fad77d58a6 Fix GC hole in JSOP_NAMEDFUNOBJ found by tellme.com folks (279636, r=jband). 2005-01-25 02:22:25 +00:00
nboyd%atg.com fef9cb9470 Seppia 2005-01-24 15:46:44 +00:00
brendan%mozilla.org c15a134cdd Back up one token after skipping a now-tokenized (now as of E4X) comment (279483, r=shaver). 2005-01-24 00:02:59 +00:00
igor%mir2.org 6d48a85ee1 Reverting Ref to the original implementation which did not pass an additional
"Scriptable target" argument to Ref.(get|set|has|delete) methods. The idea was
to optimize away in many cases creation of Ref instances, but given that modern
JVM can GC short-lived objects efficiently it does not sound right to have code
complexity now in the hope of slightly more efficient implementation later.
2005-01-22 20:26:08 +00:00
igor%mir2.org f73e4917d6 Removal of GETVAR SETVAR -> NAME SETNAME transformations during code generation
for functions with activation records  as NodeTransformer never introduce VAR
node if activation would be created.
2005-01-22 00:06:00 +00:00
igor%mir2.org 0bb1b838fc 1. Removal of passing of unused scope argument to ScriptRuntime.in|instanceOf
2. Compacting interpreter loop via reusing common parts for binary operations.
2005-01-21 18:03:41 +00:00
igor%mir2.org 22e3a1efca Removal of passing unused scope argument to ScriptRuntime.in|instanceOf 2005-01-21 18:02:11 +00:00
igor%mir2.org 1cd55fde7f Removal of invoker optimization as under JDK >= 1.4 it does not make things
visibly faster and under GCJ it makes thinks worse.
2005-01-20 19:45:27 +00:00
nboyd%atg.com df0b403f21 adding xmoon 2005-01-20 18:30:29 +00:00
brendan%mozilla.org 598a3544b0 Fix XMLToXMLString to cope with a tag name in a default namespace that is not the declared default namespace for the tag (277779, r=shaver). 2005-01-20 01:02:49 +00:00
brendan%mozilla.org 22297bb5b0 Disallow PIs with target name 'xml' (277683, r=shaver). 2005-01-20 00:56:34 +00:00
brendan%mozilla.org 8e5f3c26bb Enforce Unique Att Spec for XML in JS (277664, r=shaver). 2005-01-20 00:50:59 +00:00
brendan%mozilla.org 7579b86c27 Allow xml:lang and other xml namespace ids (277650, r=shaver). 2005-01-20 00:46:17 +00:00
brendan%mozilla.org 4134210595 Remove bogus assert in MarkGCThing, fix order of operation in js_NewObject to avoid losing the newborn root (278725, r=shaver). 2005-01-19 02:25:40 +00:00
igor%mir2.org 22cf07ef28 Work on bug 264637: BaseFunction.functionName is removed as was suggested by Attila Szegedi <szegedia@freemail.hu> :
I assume "functionName" in BaseFunction could also undergo a similar treatment
of being replaced with an abstract getFunctionName() method, couldn't it? The
function name is either calculable from other data (FieldAndMethods, overloaded
case of NativeJavaMethod*, NativeJavaConstructor, InterpetedFunction) or fixed
(NativeRegExpCtor) in lots of subclasses.
2005-01-17 13:06:34 +00:00
brendan%mozilla.org 496ad03465 Patch from Erik Fabert <jerfa@yahoo.com> to fix splice/concat/slice number-of-formals 'length' property values (274035, r=me). 2005-01-15 04:34:39 +00:00
igor%mir2.org 45600b4578 Fixing bug 277537: implementing isXMLName() 2005-01-14 14:13:56 +00:00
nboyd%atg.com 7aaca38a0f Add Lombardi 2005-01-14 13:34:29 +00:00
igor%mir2.org 585ec6072c Test case for isXMLName(s) 2005-01-13 19:42:38 +00:00
jst%mozilla.jstenback.com 1dac01dd1c s/JS_FALSE/NULL/ in return value in JSParseNode* method. sr=me 2005-01-12 19:59:54 +00:00
jst%mozilla.jstenback.com 24525db32d Fixing bug 265174. Quiet down compiler warnings on Linux x86_64. r+sr=brendan@mozilla.org 2005-01-12 19:56:32 +00:00
timeless%mozdev.org 53083ce68a Bug 277887 r:\mozilla\js\src\liveconnect\jsj_JavaClass.c(549) : warning C4113: 'JSBool (__cdecl *)(JSContext *,JSObject *,jsid,JSObject ** ,JSProperty ** ,const char *,uintN)' differs in parameter lists from 'JSLookupPropOp'
fallout from bug 246441
r=brendan
2005-01-12 19:21:11 +00:00
timeless%mozdev.org 34eceab05c Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00
igor%mir2.org 7f1b90a034 *** empty log message *** 2005-01-12 17:44:22 +00:00
igor%mir2.org 65bd8f3f3c Fixing bug 277935: now parser throws syntax error on assignments to descendants like x..y = 1 2005-01-12 14:21:06 +00:00
brendan%mozilla.org 7f453727e7 Make reserved identifiers a strict warning, not an error (240317, r=shaver). 2005-01-12 05:18:17 +00:00
igor%mir2.org 1aed76340a Added check for a..b += xxx as well 2005-01-11 15:46:51 +00:00
igor%mir2.org e02144e350 Test case for Rhino bug 277935 2005-01-11 15:39:51 +00:00
igor%mir2.org 571c08aac0 JavaDoc fix: refer to WrapFactory, not already removed WrapHandler 2005-01-11 10:50:36 +00:00
igor%mir2.org d4f9f16668 Less bloated implementation of Kit.semicolonSplit 2005-01-10 01:26:36 +00:00
igor%mir2.org 8f38ec0317 Fix from Dave Russo <d-russo@ti.com>:
While investigating how Rhino loads Java packages I came across what
appears to be a "typo" bug in NativeJavaTopPackage.java; a missing
semicolon in a string results in minor performance degradation for
script accessing the java.lang.reflect and java.lang.io packages.
2005-01-10 01:25:26 +00:00
brendan%mozilla.org 8fa7ab7b9a Unregress default exception reporting (276061, r=shaver, a=asa). 2005-01-07 03:35:36 +00:00
brendan%mozilla.org c64caec7ca Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver, TAKE 2). 2005-01-05 06:15:03 +00:00
brendan%mozilla.org 6493d88e8f Always call the standard input 'typein', as xpcshell does, in error reports. 2005-01-05 04:29:35 +00:00
brendan%mozilla.org 8d4a4248c6 Back out, broke liveconnect at least. 2005-01-05 03:58:19 +00:00