mrbkap%gmail.com
c45204aeea
bug 311022: Don't recreate wrappers that already exist. r=jst sr=bzbarsky
2005-10-04 22:58:01 +00:00
brendan%mozilla.org
835fe3c2fd
Revise XML vs. HTML comment/CDATA handling to require JSOPTION_XML for former (311071, r/sr=mrbkap/shaver, a=dbaron).
2005-10-04 20:25:34 +00:00
nboyd%atg.com
bd3f939051
Update for next release version
2005-10-04 19:20:04 +00:00
brendan%mozilla.org
57373235e5
Tweak E4X auto-detection to cope with more HTML comment madness (310993, r=mrbkap).
2005-10-04 06:48:32 +00:00
brendan%mozilla.org
2f585832b3
Check stack depth in MarkSharpObjects too (310864, r=mrbkap).
2005-10-04 05:03:58 +00:00
brendan%mozilla.org
62d08e875f
Fix for..in to work with split windows, while not regressing other lookup-redirect cases (310742, r=mrbkap).
2005-10-04 00:36:42 +00:00
bryner%brianryner.com
6f71a4a3a0
Use memory-mapped files for compiling JS components (bug 279839). r=shaver, sr=jst.
2005-10-03 23:34:58 +00:00
mrbkap%gmail.com
dc67d85812
bug 309840: Allow unescaped / in character classes in regexp literals. r/sr=brendan/shaver
2005-10-03 18:30:24 +00:00
mrbkap%gmail.com
7e506bc162
bug 310539: Fix bustage on the AIX tinderbox. Patch from Igor Bukanov <igor.bukanov@gmail.com>. r=mrbkap sr=brendan
2005-10-03 17:19:20 +00:00
brendan%mozilla.org
71d9dacdfb
Patch by Igor and me (mostly Igor in substance) to fix corner cases, optimize hole cases (310425, r/sr=mrbkap/shaver).
2005-10-02 06:27:07 +00:00
mrbkap%gmail.com
a1d295f9e4
bug 310456: Make sure that fun->u.script is non-null, since we set interpreted before we're sure to have a script. r=shaver
2005-09-30 21:39:11 +00:00
igor%mir2.org
27dc23cc25
1. Added QuitAction interface to specify the action to perform when quit is called. By default Global does nothing and shell explicitly call initQuitAction with code to call System.exit().
...
2. Added toint32 to be on pair with SpiderMonkey
2005-09-30 08:28:51 +00:00
bob%bclary.com
e69c473247
startTest() must follow bug number in order to report bug number, no bug, not part of the build
2005-09-30 02:44:11 +00:00
bob%bclary.com
91af505e5b
Add callback to allow browser based tests to report test results to stdout, no bug, not part of the build
2005-09-30 02:40:36 +00:00
bob%bclary.com
62d2480021
Update automated test talkback ids, no bug, not part of the build
2005-09-30 02:38:35 +00:00
mrbkap%gmail.com
34240f13ec
Bug 280769: Handle overly-large regular expressions without crashing. Patch by Igor Bukanov <igor.bukanov@gmail.com>. r=mrbkap sr=brendan
2005-09-30 00:46:42 +00:00
mrbkap%gmail.com
2180d58572
Back out the first patch from bug 307317 to see if it helps bug 308678.
2005-09-30 00:39:18 +00:00
mrbkap%gmail.com
eb89e7f513
bug 284032: Add a function to allow easy testing of JS_ValueToInt32 from the js shell. Patch from Brendan. r=mrbkap
2005-09-30 00:23:14 +00:00
mrbkap%gmail.com
fedf62a8f8
bug 284032: Make sure to get the right fp when skipping over native frames in the DVG. Patch from Brendan. r=mrbkap
2005-09-30 00:19:48 +00:00
mrbkap%gmail.com
3884e9dfd2
bug 308856: Provide an API to iterate over the properties of an object (such that if the object is native, the enumerate hook is not called). Patch from Brendan. r/sr=mrbkap/shaver
2005-09-29 23:39:48 +00:00
mrbkap%gmail.com
0b77246139
bug 308856: Only ignore enumerated properties when obj2 is actually in the prototype of obj (and thus will be enumerated when the prototype is enumerated). r=brendan
2005-09-29 23:36:54 +00:00
mrbkap%gmail.com
aefbbd73e2
bug 309897: Make sure to not shrink XML arrays when doing so would shrink the capacity to less than the needed size. Patch from Brendan. r/sr=mrbkap/shaver
2005-09-29 23:31:36 +00:00
mrbkap%gmail.com
24c439b988
Fix Brendan's naming nit (bug 308806)
2005-09-29 23:15:40 +00:00
mrbkap%gmail.com
0c01573eca
bug 308806: changes to an object's toString method are not reflected when calling toLocaleString. r=shaver
2005-09-29 21:54:37 +00:00
igor%mir2.org
7ce791784f
Fixing bug 310482: I missed loading "this: for put_field.
2005-09-29 21:23:30 +00:00
bob%bclary.com
4d2601aecd
Object.prototype.toLocaleString should track Object.prototype.toString, Regression test for bug 308806 by Bryant Chen, not part of the build
2005-09-29 19:09:51 +00:00
nboyd%atg.com
8914f71a8e
Rhino now implements the array extras
2005-09-28 16:18:14 +00:00
nboyd%atg.com
cfae79c4c1
Fix bug 310323: implement new array extras (forEach, indexOf, filter, map,
...
some, every)
2005-09-28 16:13:27 +00:00
peterv%propagandism.org
8702e6b0aa
Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin.
2005-09-28 13:13:27 +00:00
bob%bclary.com
6c6bfef31d
Bug 309925, fix regression in parsing dates containing HH:MM caused by bug 301738, r=mrbkap, sr=brendan
2005-09-27 04:10:38 +00:00
brendan%mozilla.org
74f950ee9e
Fix pointer testing via JS_LIKELY (rather fix a few callers than put cvs diff jsinterp.c inside the macro...
2005-09-26 18:48:39 +00:00
bob%bclary.com
aea0225e02
Regression test for bug 309925
2005-09-25 08:46:56 +00:00
brendan%mozilla.org
c784c4d16c
Hack around XML filtering predicate expression design flaw (309894, r/sr=mrbkap/shaver).
2005-09-24 18:56:10 +00:00
brendan%mozilla.org
9bea533899
Fix bogus assertion on line 1814.
2005-09-24 07:16:18 +00:00
brendan%mozilla.org
b6f6d30bdc
Y combinator in JS.
2005-09-24 01:53:12 +00:00
brendan%mozilla.org
ed6d00a19d
Fix regression biting .js files that wrongly include HTML comments (309712, r/sr=mrbkap/shaver).
2005-09-23 15:58:47 +00:00
brendan%mozilla.org
b8a174a759
Fix 309695, regression from 308085 (r/a=me).
2005-09-23 06:27:01 +00:00
bob%bclary.com
e2722e8911
replace print with printStatus to prevent print dialog in browser tests, no bug, not part of the build
2005-09-22 19:59:31 +00:00
brendan%mozilla.org
8f091ec697
Fix sparse tableswitches properly, and cull useless expressions in functions (308085, r/sr=mrbkap/shaver).
2005-09-22 03:27:23 +00:00
bob%bclary.com
f567979cf4
Regression test for bug 232182, Display non-ascii characters in JS Exceptions, by Michael Daumling
2005-09-21 19:08:04 +00:00
bob%bclary.com
b319754cc2
Regression test for Date parse compatibility with MSIE, bug 301738
2005-09-21 19:01:55 +00:00
nboyd%atg.com
a477e8b0f2
Propagating from website:
...
revision 1.22
date: 2005/09/21 00:08:50; author: syamagu%mozilla.gr.jp; state: Exp; lines:
+29 -23
tidying markup
2005-09-21 14:17:40 +00:00
igor%mir2.org
9994b04a15
Restoring docs afterbad update
2005-09-20 22:14:18 +00:00
igor%mir2.org
a743c20ce0
Restoring new docs
2005-09-20 22:11:54 +00:00
brendan%mozilla.org
67571135d6
Oops.
2005-09-20 21:53:17 +00:00
brendan%mozilla.org
446e00bfba
Enable E4X while preserving the HTML script tag content 'comment hiding hack' of yore (309242, r/sr=mrbkap/shaver).
2005-09-20 21:48:26 +00:00
nboyd%atg.com
468b76b8be
Synchronize with website prior to 1.6R2 release.
2005-09-19 11:37:42 +00:00
brendan%mozilla.org
147dc332f9
Fix for..in enumeration of XPCNativeWrappers (301498, r/sr=bz/jst).
2005-09-19 06:29:22 +00:00
nboyd%atg.com
f13176bd25
Update for 1.6R2 release date.
2005-09-19 00:20:39 +00:00
bob%bclary.com
1681dc6b9e
String concat should not be O(N**2), bug 56940, by djoham@criadvantage.com
2005-09-19 00:14:12 +00:00
bob%bclary.com
2ea821912d
String concat should not be O(N**2), bug 157334, by Phil Schwartau
2005-09-19 00:11:00 +00:00
bob%bclary.com
87e717f92f
Do not crash String.split(regexp) when regexp contains parens, bug 112626, by Christian Schneider
2005-09-19 00:08:00 +00:00
bob%bclary.com
0be1580a91
12.6.4 - LHS for (LHS in expression) execution, bug 299641, by mozilla@florian.loitsch.com
2005-09-19 00:04:06 +00:00
bob%bclary.com
6d5ebc73a7
Check JS only recursion stack overflow, bug 295666, by Georgi Guninski
2005-09-19 00:01:41 +00:00
bob%bclary.com
d27ba6096b
Math.random should be random, bug 211590, by zack-weg@gmx.de
2005-09-18 23:58:55 +00:00
bob%bclary.com
93a7229b50
Properly report / in a literal regexp class as an error, bug 173067, by Phil Schwartau
2005-09-18 23:56:36 +00:00
bob%bclary.com
6df3a7466b
Do not crash due to js_NewRegExp initialization, bug 167658, by Georg Maass
2005-09-18 23:54:13 +00:00
bob%bclary.com
c4ae928121
String(number) == xxxx:0000 for some numbers, bug 140852, by John Morrison
2005-09-18 23:50:53 +00:00
bob%bclary.com
609ae71e0b
Do not crash in js_ReportIsNotDefined(), bug 139316, by Robert Ginda
2005-09-18 23:48:02 +00:00
bob%bclary.com
7f94176e93
Do not crash - JSOP_THIS should null obj register, bug 116228, by Christian Bodart
2005-09-18 23:44:49 +00:00
bob%bclary.com
0bc7601748
Do not crash javascript warning duplicate arguments, bug 115436, by Alex Vincent
2005-09-18 23:42:33 +00:00
bob%bclary.com
d6959068dd
Set Function arguments, bug 292215, by Erik Fabert
2005-09-18 23:39:45 +00:00
bob%bclary.com
9e88ae8cf8
Function.prototype.toSource should not override Function.prototype.toString, bug 178389, by Bart
2005-09-18 23:36:57 +00:00
bob%bclary.com
e289a3a289
Do not crash when newline separates function name from arglist, bug 123371, by kinmoz@netscape.net
2005-09-18 23:33:29 +00:00
bob%bclary.com
551fb82177
sort should not by O(N^2) on sorted data, bug 99120, by Phil Schwartau
2005-09-18 23:30:20 +00:00
bob%bclary.com
d6ba818915
Handle Arrays with holes properly, bug 299644, by mozilla@florian.loitsch.com
2005-09-18 23:26:25 +00:00
bob%bclary.com
2b450bae69
E4X - Function.prototype.toString should not quote {} attribute values, bug 302097, by Blake Kaplan
2005-09-18 21:40:34 +00:00
bob%bclary.com
3ee93802fb
Do not crash with XMLList filters, bug 301596, by Mike Shaver
2005-09-18 21:34:01 +00:00
bob%bclary.com
6f50c5d585
Parse XML entities in Function.prototype.toString, bug 301573, by Seno Aiko
2005-09-18 21:29:57 +00:00
bob%bclary.com
acdce42409
never perpetrate a silent failure, bug 301553, by Wladimir Palant
2005-09-18 21:28:40 +00:00
bob%bclary.com
6c0a21415d
add emacs modeline, no bug, not part of the build
2005-09-18 20:50:34 +00:00
bob%bclary.com
6d11aa1fb9
convert msg argument in printStatus(msg) to string, add BigO function to estimate Big O of a data set, no bug, not part of the build.
2005-09-18 20:49:21 +00:00
bob%bclary.com
65ea6beaed
add setBoolPref(prefName, newValue) to allow browser based tests to get/set preferences
2005-09-18 20:47:38 +00:00
bob%bclary.com
dee0493edb
Determine location of js shell binary
2005-09-18 20:46:15 +00:00
bob%bclary.com
7b4bd884b3
include config.mk to Maketests to determine location of js shell binary
2005-09-18 20:45:02 +00:00
igor%mir2.org
d3457ec733
Fixing bug 309029: remind parser about Context.compileFunction case.
2005-09-18 11:11:06 +00:00
bzbarsky%mit.edu
fc941fb73d
Attempt to fix AIX bustage -- bug 308899
2005-09-17 04:20:51 +00:00
bzbarsky%mit.edu
8a8841aa28
Fix TOO_MUCH_GC issue with XPCNativeInterfaces. Bug 307313 r=dbradley, sr=brendan
2005-09-16 15:41:08 +00:00
timeless%mozdev.org
fa17aaefd1
Adding support to spidermonkey standalone (not part of gecko build) for
...
mingw:
uname -a
MINGW32_NT-5.1 PROFILER 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown
uname -r
1.0.10(0.46/3/2)
uname -m
i686
uname -s
MINGW32_NT-5.1
mingw is really mean to /'s in commands, so since cl and friends are happy
to use - instead, i'm switching the flags to do so.
2005-09-16 07:23:16 +00:00
mrbkap%gmail.com
b326071feb
bug 306727: Treat octal escapes the same in strict mode and non-strict mode (but still warn!). r=brendan
2005-09-16 00:20:36 +00:00
brendan%mozilla.org
fcbce4f4f6
Fix two GC scanning holes: local root stack gaffe (only top scope was marked), E4X filtering predicate operand stack hiding (fixed to share instead of push; both from bug 308111, r/sr=mrbkap/shaver).
2005-09-15 01:48:16 +00:00
mrbkap%gmail.com
31b8f7c359
bug 308566: Make our handling of invalid backrefs imitate how IE does it, and don't crash. r=brendan
2005-09-14 23:40:03 +00:00
brendan%mozilla.org
2cdb0aa1d9
Three different fixes to help us start up with WAY_TOO_MUCH_GC defined (307317, r+sr from bz/mrbkap/shaver).
2005-09-14 22:35:43 +00:00
mrbkap%gmail.com
a7aa886188
bug 308395: Give gdb a fighting chance in catching JS_Asserts by sending an "int $3" before abort()ing. r=brendan
2005-09-14 17:30:10 +00:00
mrbkap%gmail.com
1077614fd8
bug 307980: Allow a window object to be passed to the Sandbox constructor so that we can guarantee a script will have the correct principals when it tries to access properties on the window. r=brendan sr=shaver
2005-09-13 21:42:04 +00:00
gerv%gerv.net
35149ea17d
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-09-13 18:40:56 +00:00
mrbkap%gmail.com
03df34dd12
bug 307005: If the passed-in object itself isn't an XPCNativeWrapper, look up its prototype chain for one so we don't throw if a property was found on a wrapped prototype of a non-wrapped object. r=jst sr=brendan
2005-09-13 16:48:28 +00:00
bob%bclary.com
6f28acc293
Use File::Temp to generate temporary files, no bug, not part of the build.
2005-09-08 19:16:27 +00:00
timeless%mozdev.org
41f9259974
Bug 307469 jsopcode.c doesn't build w/ !JS_HAS_XML_SUPPORT
...
r=brendan
2005-09-08 18:54:43 +00:00
jst%mozilla.jstenback.com
07ba15436d
Followup change for bug 307289. Adding comment per jband's suggestion, and a warning to catch callers that restore the current prototype.
2005-09-08 16:34:29 +00:00
nboyd%atg.com
5e466c921a
Add new bug fix link.
2005-09-08 13:47:32 +00:00
jst%mozilla.jstenback.com
a5d3d7a52b
Probable fix for bug 307289. Make sure we get the wrapped native prototypes put in all the right maps etc when we're restoring a prototype in a scope so that the right cleanup happens during shutdown. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-08 00:29:03 +00:00
brendan%mozilla.org
20881f858a
Missing change for JS1.6 support (307315, r/sr=mrbkap/shaver).
2005-09-07 18:56:21 +00:00
mrbkap%gmail.com
fc2c9e5234
bug 305884: Protect cx->exception from getting collected by delaying setting cx->throwing until after cx->exception is safe on the stack. Patch by Brendan, r=mrbkap sr=shaver
2005-09-07 17:12:38 +00:00
mrbkap%gmail.com
ff54a0bf4c
bug 307278: Remove the horribly outdated js shell implementation. r=brendan
2005-09-06 23:20:41 +00:00
brendan%mozilla.org
b03abf03d2
Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver).
2005-09-06 17:43:36 +00:00
bob%bclary.com
fda3209ca7
Bug 98901, JS Regression testcase for stack overflow concatenating variables, not part of the build.
2005-09-06 15:04:03 +00:00
brendan%mozilla.org
085ece7010
Warning fix.
2005-09-06 06:50:45 +00:00
bob%bclary.com
707e75e6ad
Bug 303427 - remove extraneous newline in assertion XPConnect is being called on a scope without a Components property, r,sr=jst,a=asa
2005-09-04 17:35:20 +00:00
peterv%propagandism.org
bdf521706e
Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan.
2005-09-02 18:21:23 +00:00
brendan%mozilla.org
ed36b25391
Fix js_PeekTokenSameLine assertion to handle already-peeked TOK_EOL (306794, r=mrbkap, DEBUG-only).
2005-09-02 17:54:41 +00:00
brendan%mozilla.org
7221d2df07
Fix failure to root temporary result under Array.prototype.sort (306788, r/sr=mrbkap/shaver).
2005-09-02 17:49:05 +00:00
mrbkap%gmail.com
476eec3f0b
bug 306738: uneval on a getter outputs mismatched parentheses. r=brendan
2005-09-02 16:59:14 +00:00
igor%mir2.org
f33158e1f3
Fixing bug #306825 : now shell.Global can be used as scope objects in servlets
2005-09-02 14:18:40 +00:00
mrbkap%gmail.com
c192827172
bug 306740: Add a compile-only option to the JS and XPC shells. Patch by Shane Caraveo <shanec@ActiveState.com> with a couple of nits from me. r=mrbkap sr=brendan
2005-09-01 23:17:27 +00:00
jst%mozilla.jstenback.com
bdc67edde4
Landing the second part of the fix for bug 304423. Make XPCWrappedNative::GetWrappedNativeOfJSObject() deal with the case where the prototype found through the funobj is not the current prototype for the given class (i.e. it's a prototype for the right class and scope, but one from before prototypes were refreshed). r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-01 23:08:57 +00:00
jst%mozilla.jstenback.com
e8c667e03b
Relanding the fix for bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-01 23:02:57 +00:00
mrbkap%gmail.com
97d610cc86
bug 306617: The generic function dispatcher should imitate Function.call and Function.apply. r=brendan sr=shaver
2005-09-01 21:46:15 +00:00
brendan%mozilla.org
81a2503669
Fix to bug reported by daumling@adobe.com (306633, r/sr=daumling/shaver) where eval swallows strict warnings.
2005-09-01 21:26:27 +00:00
jst%mozilla.jstenback.com
82f4e9911c
Backing out my fix for bug 304423 since it broke the Txul tests.
2005-09-01 05:39:58 +00:00
jst%mozilla.jstenback.com
03b0092894
Fixing bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-09-01 03:51:12 +00:00
bob%bclary.com
bdf5838886
Clone WINNT5.1.mk for Windows Server 2003
2005-08-31 19:56:10 +00:00
bsmedberg%covad.net
3e2adc9538
Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan
2005-08-31 17:20:09 +00:00
mrbkap%gmail.com
5befaddbbf
bug 306591: Make sure that this is an object, since we're calling functions that operate only on objects. r=brendan sr=shaver
2005-08-31 17:08:24 +00:00
igor%mir2.org
85981364ca
Info about bug 306584
2005-08-31 16:36:32 +00:00
igor%mir2.org
38754de3cc
Fixing bug 306584:
...
Do not assume that all frames have line number information available.
2005-08-31 16:24:24 +00:00
bob%bclary.com
055731f546
Add support files for test automation, no bug
2005-08-31 05:36:58 +00:00
bob%bclary.com
afda88c22c
CVS ignore menu.html, menubody.html, no bug
2005-08-31 05:07:12 +00:00
bob%bclary.com
a4b2d8f8ce
Check in modifications to allow lc3 tests to be run in the browser, no bug
2005-08-31 04:52:30 +00:00
bob%bclary.com
8ce6f71386
Check in modifications to allow lc2 tests to be run in the browser, no bug
2005-08-31 04:47:33 +00:00
bob%bclary.com
7f3100012a
Change print to printStatus so that test can be run in browser without invoking window.print, no bug.
2005-08-31 04:43:19 +00:00
bob%bclary.com
2b8ed2e56a
Set gPageCompleted so Spider can detect test completion, no bug.
2005-08-31 04:41:49 +00:00
bob%bclary.com
3418d59578
Change make variable JS to TEST_JS to match automation variable name standards, no bug.
2005-08-31 04:40:11 +00:00
bob%bclary.com
7aae6198a9
remove \d{1,s} from list of invalid regular expressions due to fix for bug 289628
2005-08-31 04:30:34 +00:00
bzbarsky%mit.edu
37d151a259
Fix bug 305959 -- only return "function" from typeof for Scripts, functions,
...
and regexps. Patch by Blake Kaplan <mrbkap@gmail.com>, r=brendan
2005-08-31 04:26:08 +00:00
mrbkap%gmail.com
9b3a263f66
bug 306467: Store an nsIScriptObjectPrincipal in the private data of the sandbox global object so that the global object passes security checks. r=brendan
2005-08-30 23:24:21 +00:00
mrbkap%gmail.com
1aaaf979d1
bug 306382: Make sure that Components.utils.evalInSandbox reports an error if evaluating the JS didn't succeed. r=shaver sr=brendan
2005-08-30 16:28:00 +00:00
nboyd%atg.com
d6566fc090
Update for later release date, update release notes, remove "pre" from
...
version.
2005-08-30 13:51:34 +00:00
igor%mir2.org
fde1e4c79d
Reference to bug 306419
2005-08-30 10:51:08 +00:00
igor%mir2.org
5f0d4e4d05
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:45:45 +00:00
igor%mir2.org
a9e51cc6d5
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:27:42 +00:00
igor%mir2.org
d6e61cc76d
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:20:21 +00:00
igor%mir2.org
69072d60f2
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:05:47 +00:00
igor%mir2.org
5fa4884387
Cosmetics: tabs removal
2005-08-30 09:54:24 +00:00
igor%mir2.org
5cbdd9c628
Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static.
2005-08-30 09:50:01 +00:00
igor%mir2.org
7f6f3aec0b
Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static.
2005-08-30 09:42:05 +00:00
igor%mir2.org
25ef00d21e
1. Removal of unused import statements.
...
2. Replacing cx.(toNumber|toString|toObject) by Context.\1 as the
methods are static,
2005-08-30 09:41:02 +00:00
igor%mir2.org
fba63a50fd
Removal of unused import statements.
2005-08-30 09:39:01 +00:00
igor%mir2.org
6498bc1f4d
Replacing cx.VERSION_1_2 by Context.VERSION_1_2 as the field is static.
2005-08-30 08:31:48 +00:00
igor%mir2.org
384cd9c17f
1. Replacing cx.reportRuntimeError1 by Context.reportRuntimeError1
...
since the method is static.
2. Replacing cx.getSourcePositionFromStack by
Context.getSourcePositionFromStack since the method is static. That
allowed to remove Context.getCurrentContext() call before.
2005-08-30 08:26:54 +00:00
igor%mir2.org
c668b3c584
1. Replacing cx.getSourcePositionFromStack by Context.getSourcePositionFromStack since the method is static.
...
2. That allowed to remove Context.getCurrentContext() call before.
2005-08-30 07:58:33 +00:00
igor%mir2.org
ef2989bbd2
Yet another update of JS function as Java interface implementation to print explicit error messages when conversion is not possible.
2005-08-30 07:50:08 +00:00
brendan%mozilla.org
48765162d8
Generic static method automation to simplify things for callers of generic prototype methods (304828, r=mrbkap, sr=shaver).
2005-08-30 04:28:45 +00:00
mrbkap%gmail.com
896d2331f1
bug 289628: Emulate Perl's handling of invalid min/max quantifiers (and match other browsers). r=brendan
2005-08-30 00:25:49 +00:00
igor%mir2.org
86a29d689a
Fixing copy-source target to generate proper distribution jars.
2005-08-29 23:24:05 +00:00
igor%mir2.org
3a40845319
Cleanup of JS function as Java interface implementation:
...
1. I removed caching of indicators of which types to convert: it just consumes extra memory without any noticeable benefits.
2. Better comments.
2005-08-29 19:27:17 +00:00
igor%mir2.org
44c06a2fa5
Yet another improvement in not-a-function reporting. Now for foo.bar() when bar does not exist Rhino prints "Can not find function bar"
2005-08-29 14:59:27 +00:00
igor%mir2.org
738a8a6d14
Removal of useless import statementes.
2005-08-29 13:25:32 +00:00
igor%mir2.org
cad58c28dd
Implementing bug 306308: now java.lang.reflect.Proxy is used for function->interface conversion
2005-08-29 10:57:30 +00:00
igor%mir2.org
2077eeee97
Added fixed bug 306268
2005-08-29 06:03:36 +00:00
igor%mir2.org
d30cd8e00d
Eliminating dead code in ScriptRuntime.evalSpecial: Context.compileString
...
never returns with null.
It was reported by Olinda Spider, pat@mcnerthney.com .
2005-08-28 23:44:41 +00:00
igor%mir2.org
568a9d911e
Fixing bug 306268: Patch from Olinda Spider, pat@mcnerthney.com, to fix dot
...
query decompilation.
2005-08-28 23:25:22 +00:00
igor%mir2.org
d50e01de2f
Added ref to bug 306258
2005-08-28 20:43:39 +00:00
igor%mir2.org
0a9495cbab
Fixing 306258: now Rhino can be compiled with Ant under JDK 1.5
2005-08-28 19:51:23 +00:00
igor%mir2.org
45ac052fd9
Changing the example to use the supported syntax, the older syntax did not
...
work since 1.5R1 release or so.
2005-08-28 19:49:21 +00:00
igor%mir2.org
65aa2efb15
Fixing 306258: Allow to compile under JDK 1.5
2005-08-28 19:15:21 +00:00
igor%mir2.org
49ea153d41
Updating with info about direct function->interface conversion
2005-08-28 18:46:13 +00:00
igor%mir2.org
0670d5111d
Ignoring exception during (Input|Output)Stream.close() from external
...
processes. On Windows it may throw IOException if process terminates too
fast.
2005-08-27 21:24:29 +00:00
igor%mir2.org
3b8b7c9e4d
Tools are listed on the main Rhino page
2005-08-27 21:17:57 +00:00
igor%mir2.org
866ed2a25e
Rhino tools are listed explicitly on the main documentation page.
2005-08-27 21:17:02 +00:00
igor%mir2.org
ef9789ff94
Added Windows-specific examples using runCommand
2005-08-27 21:16:14 +00:00
igor%mir2.org
1f522d6b88
Cosmetics: delete-trailing-blanks
2005-08-27 19:50:55 +00:00
mrbkap%gmail.com
bb9dbb8c6c
bug 303108: Components.utils.evalInSandbox should throw exceptions that tell the caller what went wrong, instead of always throwing NS_ERROR_FAILURE. r=shaver
2005-08-26 23:41:06 +00:00
mrbkap%gmail.com
8479515072
bug 305883: Protect against the empty XML list to fix a crash when emitting code for |<></>|. Also fix the decompiler to handle XMLLists correctly. r=brendan
2005-08-26 18:34:41 +00:00
nboyd%atg.com
064c8fbcd7
Modify command for building docs directory so that owner.js is included.
2005-08-26 13:55:53 +00:00
mrbkap%gmail.com
b9b46b0f14
bug 302834: Components.utils.evalInSandbox should return the result of the given operations. Introduce a new Sandbox constructor to pass in as the second argument. Also bring the one use of evalInSandbox in the tree up to date with the new API. r=shaver/brendan
2005-08-25 16:38:58 +00:00
szegedia%freemail.hu
8eca3d00aa
Fix for 305753: "NativeJavaMethod objects have incorrect parent when using parent scopes"
2005-08-25 08:44:40 +00:00
jst%mozilla.jstenback.com
186df31af2
Fixing bug 305528. Make XPCWrappedNative::GetWrappedNativeOfJSObject() attempt to find a wrapper using obj's outer object if it can't find one using obj. r=shaver@mozilla.org, sr=brendan@mozilla.org
2005-08-25 04:30:31 +00:00
brendan%mozilla.org
1ed0bc339f
Restore lost for(i in null); compat (bug 292731, r=mrbkap).
2005-08-24 18:15:53 +00:00
bzbarsky%mit.edu
344d326ae4
Make sure all XPCWrappedNatives get their equality op called. Bug 305288, also
...
fixes bug 305421. r+sr=jst
2005-08-23 23:01:37 +00:00
mrbkap%gmail.com
27d65f3d6e
bug 305583: Toggle on the XML option, even if the script wasn't invoked with it when the XMLList constructor is used. r=brendan
2005-08-23 17:10:47 +00:00
mrbkap%gmail.com
f5f9a83b8e
bug 280769: Clean up the whitespace in jsregexp.c in preparation for fixing large regexp crashes. Patch by Igor Bukanov <igor@mir2.org>. r/sr=mrbkap/brendan
2005-08-23 16:47:12 +00:00
mrbkap%gmail.com
23f130619e
Fix stupid OOM leak. r+a=shaver (bug 305628)
2005-08-23 16:25:18 +00:00
mrbkap%gmail.com
228d38d67d
bug 292731: Use the same optimization for with as we do for for-in; trying to fix the Tp loss caused by the removal of this optimization when we tried doing this the other way. r=brendan (on IRC)
2005-08-22 22:30:08 +00:00
brendan%mozilla.org
c4b1629671
Have to check this instanceof XML in natives after all (305335, r/sr=mrbkap/shaver, a=me).
2005-08-22 22:19:34 +00:00
mrbkap%gmail.com
11127076c8
bug 132949: fix some of the more egregious bugs in jsfile.c, this also cleans up some of the style nits, but is nowhere a complete patch. Use jsfile.c at your own risk! rs=shaver
2005-08-22 17:30:44 +00:00
mrbkap%gmail.com
4b96a2d85d
bug 292731: be consistent in calling valueOf when using for-in. r=brendan
2005-08-22 17:09:53 +00:00
szegedia%freemail.hu
d6f90ca3f3
Fix for 305323: Rhino fails to select the appropriate overloaded method
...
This was due to a bug where code deviated from the section 3.3.6.1 of the LC3 specification. This commit makes the code compliant with the referenced spec section.
2005-08-21 13:29:32 +00:00
brendan%mozilla.org
10ffd02555
Put E4X-only stuff within #if JS_HAS_XML_SUPPORT.
2005-08-19 23:35:00 +00:00
brendan%mozilla.org
d843f56d76
Forgot this fix to the fix for 301956 -- wahhhh!
2005-08-19 23:29:58 +00:00
brendan%mozilla.org
2f04b441fc
Patch to bug 305002 written by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>.
2005-08-19 01:48:48 +00:00
brendan%mozilla.org
557ce72429
C++ auto-storage-class helpers for requests and local roots (needed for 301265 and other bugs).
2005-08-17 16:26:14 +00:00
dougt%meer.net
f80c96ae61
WinCE only. Disable opt for xpconnect. Did I mention that the windows ce optimizer blows? bug=304714. r=shaver, a=asa
2005-08-17 06:21:05 +00:00
timeless%mozdev.org
8b6b9351df
Bug 303596 DEBUG_CheckClassInfoClaims should tolerate NS_ERROR_OUT_OF_MEMORY
...
r=jst sr=jst
2005-08-17 05:36:36 +00:00
timeless%mozdev.org
c8203fe0fd
Bug 303521 !!! Object's nsIClassInfo lies about it's interfaces!!! s.b. "its"
...
r=jst sr=jst
2005-08-17 03:44:45 +00:00
mrbkap%gmail.com
36994cffde
bug 289933: functions, RegExps, and Script objects should all be of type "function" for compatibility with older SpiderMonkeys and to more closely imitate ECMA. r=brendan
2005-08-16 21:40:55 +00:00
jst%mozilla.jstenback.com
1499e16a02
Fixing bug 301476. Make XPCNativeWrapper's checkAccess hook always forward to the wrapper's checkAccess hook, if it's got one. r=shaver@mozilla.org, sr=brendan@mozilla.org
2005-08-16 20:08:39 +00:00
bsmedberg%covad.net
f0d2e05a7e
Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin
2005-08-15 18:29:55 +00:00
nboyd%atg.com
3a2d85fe19
Doc changes for 1.6R2.
2005-08-15 02:43:50 +00:00
igor%mir2.org
12199852d5
Addressing bug 303460:
...
1. Now shell can take compile script. This based on the initial patch from
Patrick Beard <pcbeard@mac.com>.
2. Using common code to read source and compiled scripts and for script
execution.
2005-08-14 14:36:17 +00:00
igor%mir2.org
1263f7496d
Cosmetics: removal of end-of-line whitespace
2005-08-14 14:24:52 +00:00
timeless%mozdev.org
7a1fcd9d72
Bug 127760 - complete patch file for OpenUNIX and OpenServer ports
...
js patch
patch by kean@armory.com r=shaver
2005-08-12 23:39:46 +00:00
brendan%mozilla.org
a6ae68d5c6
Comment tweak I forgot to bug mrbkap about.
2005-08-12 22:57:40 +00:00
jst%mozilla.jstenback.com
e23ea875f3
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
2005-08-12 04:11:00 +00:00
brendan%mozilla.org
8a7b609c4e
Comment tweak, still avoids subjunctive but qualifies the crash case as fixed.
2005-08-12 03:32:29 +00:00
mrbkap%gmail.com
d4a97ba613
bug 304376: Fix hash table refcounting problem while recursively entering a marked object. r+a=brendan
2005-08-12 00:46:56 +00:00
bsmedberg%covad.net
8992fb4c7d
Backout bug 299992 - too much odd platform-specific bustage
2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
e9c48557e9
Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard
2005-08-11 20:40:53 +00:00
igor%mir2.org
24fc203bfa
Fixing smalljar target:
...
1. It includes jdk13 package to make the jar usable.
2. It excludes e4x classes as they are useless without xbean.jar and xbean
is several times bigger then the whole js.jar.
2005-08-11 08:42:14 +00:00
szegedia%freemail.hu
4a717e7f5a
RFE 303572: access to underlying RhinoException in rethrown error objects
2005-08-08 08:49:09 +00:00
brendan%mozilla.org
b9b591601d
Restore compatibility: allow function(){} at statement level, treating it as an expression statement (303723, r=shaver).
2005-08-08 06:54:59 +00:00
brendan%mozilla.org
de22c50452
Fix null ptr deref crash on shortid-bearing proto-property watch (303277, r=shaver).
2005-08-07 19:46:58 +00:00
igor%mir2.org
dca0a2a07a
RefCallable is new member of public API
2005-08-07 10:05:47 +00:00
szegedia%freemail.hu
1ef1277ed4
A bit more descriptive error message -- states also what the object *is* instead of only telling it isn't a function.
2005-08-05 14:59:44 +00:00
nboyd%atg.com
a5ad20b1f7
Update some documentation references to versions to describe 1.6 and E4X.
2005-08-04 17:38:23 +00:00
timeless%mozdev.org
5726619847
Bug 303213 integer overflow in js
...
patch by mrbkap r=brendan a=brendan
2005-08-04 01:52:01 +00:00
timeless%mozdev.org
5df47986a3
Bug 303213 integer overflow in js
...
patch by brendan r=mrbkap a=brendan
2005-08-03 17:56:43 +00:00
timeless%mozdev.org
c77df217d1
Visual Age properly complained about C++ comments in a C file
...
fixing.
2005-08-02 18:46:14 +00:00
timeless%mozdev.org
0a5213fbe2
fixing some more 64bit non macro usage instances
2005-08-02 16:34:45 +00:00
timeless%mozdev.org
f6b3916b12
hoping that the build bustage is macro related
2005-08-02 16:12:27 +00:00
timeless%mozdev.org
d2b31f1255
Bug 281137 Add profiling column for functions excluding other functions running
...
jsd part
patch by silver@warwickcompsoc.co.uk r=shaver sr=dmose a=bsmedberg
2005-08-02 15:53:59 +00:00
igor%mir2.org
05eb249aed
Fixing bug 298786: bad type inference caused infinite loop in the compiler.
2005-08-01 14:02:27 +00:00
igor%mir2.org
63eb7d49ba
Bug 278701: patch based on code from James Eggleston <james.eggleston@vega.de> to deiconify debugger window on breakpoints.
2005-08-01 13:50:33 +00:00
igor%mir2.org
c5deb378f3
Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays.
2005-08-01 13:48:32 +00:00
igor%mir2.org
90ebe1bf30
Resolving bug 299613
...
New interface RefCallable simplifies implementation of function-call-as-rvalue
in Java code. In addition native objects is required to implemet only Callable
interface, not Function, to serve as target of () operator.
2005-07-31 14:27:36 +00:00
igor%mir2.org
5839d1a3e2
Fixing bug 291591
...
\<LineTerminator> in string literals is removed from the resulting string to follow SpiderMonkey and C/C++
2005-07-31 13:48:46 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
2005-07-30 20:57:07 +00:00
bob%bclary.com
4ba662faf3
Date Parsing - fix regression from bug 273292, improve MSIE compatibility, bug 301738. r=mrbkap, r=shaver, a=asa
2005-07-30 03:15:49 +00:00
bob%bclary.com
488023703c
ECMA Compliance: fix daylight savings time before 1970, Bug 58116. Patch by Mike McCabe <mike+mozilla@meer.net>. r+a=shaver
2005-07-30 00:00:05 +00:00
bzbarsky%mit.edu
e45e9c1699
Include pointers to the JSObjects involved when printing out the path in the
...
GC_MARK_DEBUG log. Bug 295434, r+a=shaver
2005-07-29 15:15:48 +00:00
bzbarsky%mit.edu
6e9cbfcb44
Make XPCNativeWrapper call the wrapped native's classinfo resolve/get/set
...
hooks. Makes native wrappers work in lots of nasty DOM0 corner cases. Bug
296967, r=mrbkap, sr=jst, a=asa
2005-07-29 15:11:08 +00:00
mrbkap%gmail.com
b2ecd424ea
bug 302531: QuoteString doesn't deal with not outputting anything. Also fix some whitespace nits. r=shaver a=brendan
2005-07-28 18:16:30 +00:00
mrbkap%gmail.com
3e48666511
bug 302439: Spandep fu doesn't skip unused JSOP_TABLESWITCH jump table entries. Patch by brendan (except for the whitespace cleanup by me), r=shaver a=brendan
2005-07-28 17:39:44 +00:00
timeless%mozdev.org
07c3882b90
Bug 301491 [@ js_LinkFunctionObject]
...
r=brendan sr=shaver a=brendan
2005-07-28 17:18:09 +00:00
bzbarsky%mit.edu
8077a028f9
Reland patch for bug 300562. Patch by brendan. r=jst, sr=shaver, a=brendan
2005-07-28 16:19:06 +00:00
timeless%mozdev.org
22de97b33b
Bug 302100 I just downloaded Firefox 1.06, and it crashes at 004A6170 whenever I try to view any page [@ nsJSPrincipalsSubsume] using PAC
...
r=mrbkap sr=shaver a=bsmedberg
2005-07-28 15:26:05 +00:00
nboyd%atg.com
882189d2fd
Fix bug 302501. Constructor property shouldn't be readonly.
2005-07-28 14:12:03 +00:00
bob%bclary.com
c18d228a2c
Regression test for bug 300858, crash sorting arrays with holes
2005-07-28 07:32:26 +00:00
bob%bclary.com
0c36e43a6a
Regression test for bug 301692, by Seno Aiko
2005-07-28 07:28:34 +00:00
mrbkap%gmail.com
7fe260fe29
bug 301692: Fix typos (extraneous ! in a < condition) and style nits. r+a=brendan
2005-07-28 07:06:20 +00:00
bob%bclary.com
024eac051a
Add regression testcase for bug 292455, by Martin Honnen
2005-07-28 06:49:17 +00:00
bob%bclary.com
01c18759df
Add regression testcase for bug 301545, by Axel Hecht
2005-07-28 06:45:28 +00:00
bob%bclary.com
0b94961a45
function prototypes are now enumerable, bug 299642. Hat tip to mrkbap
2005-07-28 06:30:14 +00:00
bob%bclary.com
949fcbe078
add bug number 297025 to test, no bug
2005-07-28 06:27:19 +00:00
bob%bclary.com
9dcc00b831
add bug number 289630 to test, no bug
2005-07-28 06:26:16 +00:00
bob%bclary.com
97d772d33a
jsDriver.pl - Add Failure indicators for automated testing
2005-07-28 03:37:12 +00:00
bob%bclary.com
e4def52223
Do not crash in args_resolve enumerating |arguments|, bug 291213. Test by David Baron
2005-07-28 03:33:22 +00:00
bob%bclary.com
451d0c1c1c
ECMA 262, 10.1.3 - Function Declarations, bug 299639. Test by mozilla@florian.loitsch.com
2005-07-28 03:17:06 +00:00
bob%bclary.com
0ed4afbec5
Add tests for Date.toLocaleFormat, bug 291494
2005-07-28 02:34:07 +00:00
bob%bclary.com
a40af3be93
ECMA 262-3 12.4 - wrap function expressions in parens since expression statements can not begin with a comma or function keyword
2005-07-28 01:14:32 +00:00
mrbkap%gmail.com
8e9858b476
bug 302412: Make sure to call QuoteString on XML strings so non-ASCII strings get properly escaped. Prefer to use small precedences instead of the op = JSOP_NOP hack in the decompiler. JSOP_JSEXPR is a bad name for a bytecode, use the more-consistent name JSOP_STARTXMLEXPR. r+a=brendan
2005-07-28 00:38:40 +00:00
bob%bclary.com
3bab970ee1
function prototypes are now enumerable, bug 299642. Hat tip to mrbkap
2005-07-27 22:28:25 +00:00
mrbkap%gmail.com
2257a6416b
bug 302097: E4X toString incorrectly quotes JS tag expressions that are used as attributes. r+a=shaver
2005-07-27 16:10:26 +00:00
mrbkap%gmail.com
02f7438649
bug 301692: E4X toString quotes the returned XML string. r+a=shaver
2005-07-26 20:43:09 +00:00
wr%rosenauer.org
0e4b5d6149
Bug 302173 JS engine doesn't work on PPC/Linux because of gcc optimization, r+a=shaver
2005-07-26 13:28:08 +00:00
joshmoz%gmail.com
45cb947e65
export MACOSX_DEPLOYMENT_TARGET and kill MACOS_DEPLOYMENT_TARGET. Allows us to build on x86 Macs right out of cvs (note that we still crash a lot straight from cvs, but it runs). Patch by Mark Mentovai. b=298543 r=josh sr=peterv a=bsmedberg
2005-07-23 21:17:40 +00:00
mrbkap%gmail.com
a433fbeebb
bug 301574: Allow XML mode to be enabled explicitly by the XML constructor. r+a=brendan
2005-07-22 20:22:28 +00:00
brendan%mozilla.org
134696824a
No silent failures! (301553, r=shaver).
2005-07-22 16:55:15 +00:00
brendan%mozilla.org
ecbf37a541
Expand entities only in TSF_XMLONLYMODE (r=mrbkap, who helped a great deal; a=me).
2005-07-21 22:15:36 +00:00
shaver%mozilla.org
a5ea7b7872
Bug 301545: avoid crash when attribute-op name collides with local var or arg
...
by taking an early out from LookupArgOrVar for JSOP_QNAMEPART. r+a=brendan.
2005-07-21 19:18:15 +00:00