timeless%mozdev.org
d8a7648921
Bug 325780 refactor debug_brendan/debug_notme
...
r=shaver
2006-02-09 06:02:02 +00:00
timeless%mozdev.org
27bc7e1293
Bug 326223 JS_PARANOID_REQUEST dies in spidermonkey (JS_NewContext)
...
r=brendan
2006-02-09 05:51:16 +00:00
timeless%mozdev.org
b60caedd4a
Bug 266208 [@ js_PCToLineNumber] because of crash due to infinite recursion
...
r=rginda sr=brendan
2006-02-09 05:47:55 +00:00
brendan%mozilla.org
df5adab66e
Fix JSOP_CLOSURE failure to set todo to do-nothing value (326453, r=mrbkap).
2006-02-08 20:53:37 +00:00
brendan%mozilla.org
e013bbc92a
Another followup fix.
2006-02-07 21:53:54 +00:00
brendan%mozilla.org
2f4f8e46e8
Better followup fix for 325960 (r=mrbkap).
2006-02-07 21:50:47 +00:00
mrbkap%gmail.com
5c97348f90
Initialize the new frame's pc as well. Followup patch for bug 325960, r=shaver
2006-02-07 21:37:26 +00:00
mrbkap%gmail.com
7d72129844
Protect js_ConstructObject callers from gc hazards and some other stuff. bug 325425, r=igor sr=brendan
2006-02-07 20:09:53 +00:00
brendan%mozilla.org
5f4afe36c2
Avoid nesting js_Interpret for heavyweight and other hard-case interpreted function calls (325960, r=mrbkap).
2006-02-07 19:51:29 +00:00
brendan%mozilla.org
961761ffa1
Long-missing wait for GC supplied by Michael Daumling <daumling@adobe.com> (325521, r=me).
2006-02-07 08:25:23 +00:00
mrbkap%gmail.com
2650e3af17
Don't make bad assumptions about finding properties. Mutable proto chains combining with cloned function objects can cause properties to not actually be found. bug 319683, r=brendan
2006-02-07 02:05:52 +00:00
brendan%mozilla.org
cbe1f60bee
Fix misnamed formal parameter glitch.
2006-02-05 04:15:22 +00:00
bclary%bclary.com
e4bb03723d
Regression test for bug 325750, by Biju
2006-02-03 16:24:00 +00:00
bclary%bclary.com
7845a43e15
rename incorrectly named tests for section E4X ECMA 357 11.1.4, no bug, not part of the build
2006-02-03 16:22:06 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
szegedia%freemail.hu
6fe4ed788a
Fix for bug #323054 : nonexisting optional standard objects like XML don't cause ObjectOutputStream to throw an exception anymore.
2006-02-03 11:47:20 +00:00
szegedia%freemail.hu
21116c4e55
Fix for bug #323054 : nonexisting optional standard objects like XML don't cause ObjectOutputStream to throw an exception anymore.
2006-02-03 11:07:32 +00:00
mrbkap%gmail.com
6960e8d82b
If a function becomes heavyweight in the middle of an inline call, remember to pop the call object when it returns. bug 325540, r=brendan
2006-02-03 01:19:31 +00:00
brendan%mozilla.org
3cdb5fa370
Arghhhhhh.
2006-02-02 19:55:20 +00:00
brendan%mozilla.org
44d4de8561
Add purely stack allocated rooting facility (325269, r=igor).
2006-02-02 06:46:32 +00:00
bclary%bclary.com
e2e8ff0a12
Rename regress-234389-n.js back to regress-234389.js, no bug, not part of the build
2006-02-01 07:42:00 +00:00
mrbkap%gmail.com
877666903d
Fix a stupid mistake where an error return would cause us to not destroy a script. no bug, r=brendan
2006-02-01 03:18:17 +00:00
mrbkap%gmail.com
ca26119a70
Actually fill the setting cache when we get boolean properties. bug 324688, r=brendan
2006-02-01 00:25:50 +00:00
brendan%mozilla.org
7fa34ea903
Fix foo += bar for undefined foo to throw, not bind foo to undefined (321757, r=mrbkap).
2006-01-31 20:53:30 +00:00
pavlov%pavlov.net
b214f64899
attempt to fix vc6 build bustage
2006-01-31 03:33:02 +00:00
jst%mozilla.jstenback.com
390dd19a05
Landing fix for bug 323156. XPCDispConvert::JSArrayToCOMArray does not convert empty arrays correctly. Patch by gdavis@nsisoftware.com, r=dbradley@gmail.com, sr=jst@mozilla.org
2006-01-31 01:47:01 +00:00
jst%mozilla.jstenback.com
8ae6b9d703
Landing fix for bug 310102. XPCDispTearOff::Invoke() processes DISPARAMS in wrong direction. Patch by gdavis@nsisoftware.com, r=dbradley@gmail.com, sr=jst@mozilla.org
2006-01-31 01:40:54 +00:00
jst%mozilla.jstenback.com
4175562ab2
Landing fix for bug 310097. XPCDispConvert will not convert SAFEARRAY of VARIANT. Patch by gdavis@nsisoftware.com, r=dbradley@gmail.com, sr=jst@mozilla.org
2006-01-31 01:38:52 +00:00
igor%mir2.org
16694bbe3b
Bug 322772: Replacing js_CompareStrings by js_EqualStrings in implementation
...
of "==", "!=", "===" and "!==". r=brendan r=mrbkap
2006-01-30 05:58:17 +00:00
mrbkap%gmail.com
3673fdffdd
Braces and style patrol (no bug, implicit-r=brendan)
2006-01-28 01:27:33 +00:00
brendan%mozilla.org
0e7b56bdb0
Fix span-dependent instruction selection to work with incremental compilation (324650, r=mrbkap).
2006-01-26 21:05:40 +00:00
igor%mir2.org
ce556a47ef
Bug 319719: The previous commit still managed to break builds on Unix-like
...
systems where PATH does not include ".". The fix is to explicitly prefix
with ./ the command to execute.
2006-01-26 10:32:50 +00:00
igor%mir2.org
581ca02192
Bug 319719: JS scanner checks for keywords using pregenerated C source
...
avoiding the cost of atomizing keyword strings. This is an updated version
of the previous rather bad commit to address Makefile issues. r=brendan
2006-01-26 08:47:51 +00:00
igor%mir2.org
7be74bd85e
Bug 322772: I added js_EqualStrings which is a faster version of
...
js_CompareStrings when testing only for string equality. r=brendan
2006-01-26 08:01:54 +00:00
brendan%mozilla.org
6f9022b8dc
Add JS_LeaveLocalRootScopeWithResult API (324592, r=mrbkap).
2006-01-26 07:19:25 +00:00
mrbkap%gmail.com
dc17d38af4
bug 324694: Reparameterize js_CheckPrincipalsAccess to avoid eager calls to js_AtomToPrintableString. r=brendan
2006-01-25 22:54:34 +00:00
mrbkap%gmail.com
19ac043c95
bug 323501: Having a scripted caller is important. r=brendan
2006-01-25 19:53:14 +00:00
mrbkap%gmail.com
f2e995bf4e
bug 324422: Protect things from being garbage collected out from under us. r=brendan
2006-01-25 02:27:59 +00:00
mrbkap%gmail.com
dc8debf170
bug 323979: Check the correct parse node for arity. r=shaver
2006-01-25 00:23:00 +00:00
igor%mir2.org
162c50fae7
Bug 291003: fdlibm no longer used on Linux as recent C library there do
...
the job on its own. r=shaver
2006-01-24 21:40:12 +00:00
mark%moxienet.com
18681d809c
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00
igor%mir2.org
cdf0f2bfd1
Reverting commit for bug 319719: Makefile changes broke too much builds.
2006-01-22 21:08:05 +00:00
brendan%mozilla.org
186da35074
Attempt to fix Windows bustage.
2006-01-22 06:56:34 +00:00
igor%mir2.org
a755447074
Bug 319719: JS scanner checks for keywords using pregenerated C source
...
avoiding the cost of atomizing keyword strings. r=brendan
2006-01-22 01:14:20 +00:00
brendan%mozilla.org
919e2c19c7
Fix comment glitches.
2006-01-21 15:54:13 +00:00
brendan%mozilla.org
c22d539f90
Fix DEBUG_brendan code to track Igor's change.
2006-01-20 21:37:45 +00:00
mrbkap%gmail.com
0f54694d49
Make this file vim-friendly.
2006-01-19 01:00:49 +00:00
igor%mir2.org
f3ed9ece6b
Bug 323765: VarPrefix is thread-safe now. r=brendan
2006-01-18 11:17:21 +00:00
mrbkap%gmail.com
5ea1608db4
bug 319872: Don't free the sentinal value. r=brendan
2006-01-18 02:22:55 +00:00
shaver%mozilla.org
6b682d8476
Bug 321021: Add option to preserve exceptions thrown from outermost frames,
...
rather than convert to error reports. r=mrbkap, sr=brendan.
2006-01-18 00:29:35 +00:00
igor%mir2.org
1dd2a80816
Bug 294499: GC directly calls malloc instead of using JSArena for paged
...
allocation to avoid overhead of arena headers that GC does not use. r=brendan
2006-01-17 01:26:35 +00:00
brendan%mozilla.org
76676f8d41
Remove bogus arena-pool alignment parameters (323529, r=igor).
2006-01-15 21:57:26 +00:00
brendan%mozilla.org
6b2687cd65
Fix uintN/size_t 64-bit hazards (323510, r=daumling).
2006-01-15 17:52:42 +00:00
brendan%mozilla.org
15e8ed8136
Update DUMP_CALL_TABLE (NPOTB) code to track 322001.
2006-01-14 17:49:58 +00:00
igor%mir2.org
9bb7bef927
Fixing bug 323267:
...
Sweep script's filenames after the main GC sweep loop so the filenames are
still available for a destroy script hook. r=brendan
2006-01-14 02:30:49 +00:00
brendan%mozilla.org
8def00c88a
Add missing null check (323338, r=mrbkap).
2006-01-14 01:09:42 +00:00
brendan%mozilla.org
8ada639a87
Fix errors that were JSEXN_NONE to have a valid exception type, so that they can be thrown by default (e.g., strict warnings with the werror option set as well as strict; 323314, r=mrbkap).
2006-01-13 22:20:30 +00:00
bob%bclary.com
ae5466f096
JS Test Library - handle global object toString containing address in debug builds
2006-01-13 19:50:49 +00:00
bob%bclary.com
a5c6dd653b
JS Test Library - whitespace fixes
2006-01-13 19:47:27 +00:00
bob%bclary.com
aad9bef095
JS Test Library - add calls to collect garbage after test completed
2006-01-13 19:45:55 +00:00
bob%bclary.com
1115ebbc97
JS Test Library - update make file for tests, remove make macros
2006-01-13 19:44:20 +00:00
bob%bclary.com
83d0c13b75
JS Test Library - properly escape embedded tags in output to browser windows, add call to actual GC from the JSDebugger service
2006-01-13 19:26:59 +00:00
bob%bclary.com
93fce770be
JS Test Library - move regression test for bug 309242 from js1_6 to js1_5 since it requires that e4x not be explicitly turned on, bug 309242
2006-01-13 19:20:34 +00:00
bob%bclary.com
98d595c8f1
JS Test Library - fix test suite counts in menu.html, no bug, not part of the build.
2006-01-13 16:40:00 +00:00
bob%bclary.com
6cf6cd7ec2
Regression test for bug 322430
2006-01-13 16:25:56 +00:00
bob%bclary.com
e36b8a8e51
JS Test Library - make sure JavaScriptOptions has the appropriate permission, no bug, not part of the build
2006-01-13 16:23:39 +00:00
bob%bclary.com
fd437cd2c7
Regression test for bug 322836
2006-01-13 14:32:01 +00:00
bob%bclary.com
f51470f8d7
Regression test for bug 321547, by Biju
2006-01-13 11:14:34 +00:00
bob%bclary.com
2575a92058
Correct regression test for bug 321874
2006-01-12 20:52:44 +00:00
bob%bclary.com
c6e8b2d257
Regression test for bug 321874, by Yuh-Ruey Chen, Brendan Eich
2006-01-12 19:58:56 +00:00
bob%bclary.com
7a33b91acf
Regression test for bug 321971, by Brendan Eich
2006-01-12 18:35:41 +00:00
bob%bclary.com
951f819ce0
Regression test for bug 322177, by Jesse Ruderman
2006-01-12 18:27:08 +00:00
bob%bclary.com
d3959aaebc
Regression test for bug 322499, by Brendan Eich
2006-01-12 17:00:53 +00:00
bob%bclary.com
b635faf7c5
Regression test for bug 322772
2006-01-12 16:47:16 +00:00
bob%bclary.com
dbe0af71ef
Regression test for bug 322957, by Igor Bukanov
2006-01-12 16:35:25 +00:00
bob%bclary.com
39c96a52c6
Regression test for bug 320119, by Jason Barnabe
2006-01-12 10:21:09 +00:00
timeless%mozdev.org
8397d43a6a
Bug 106386 Correct misspellings in source code
...
patch by philippuryear@gmail.com r=timeless rs=brendan
2006-01-12 07:57:31 +00:00
timeless%mozdev.org
afb80273e3
Bug 106386 Correct misspellings in source code
...
patch by ispiked@gmail.com r=timeless r=rginda
2006-01-12 06:32:57 +00:00
timeless%mozdev.org
db6058784b
Bug 320951 ASSERTION: file too large: 'Error', mozJSComponentLoader.cpp line 1084
...
r=dbradley sr=darin
2006-01-11 08:26:44 +00:00
brendan%mozilla.org
c13b1fee49
80th column policing.
2006-01-11 05:23:29 +00:00
brendan%mozilla.org
920c7d93ed
Fix typo in enum tag.
2006-01-11 05:18:30 +00:00
mrbkap%gmail.com
aef4030125
bug 322971: Fix this botched return value. r+sr=shaver
2006-01-10 21:43:17 +00:00
mrbkap%gmail.com
dccb9e4d1e
bug 322836: negative lookahead assertions don't always work correctly (when the first op is simple). r=brendan
2006-01-10 18:28:56 +00:00
brendan%mozilla.org
09649658de
Remove deprecated with statement usage strict warning (322430, r=shaver).
2006-01-09 20:53:06 +00:00
igor%mir2.org
6d3273e94c
Implementing bug 322001:
...
JSFunction is shrinked via removal of nref field
and moving interreter-only or native-only fields into union. r=brendan
2006-01-09 08:26:26 +00:00
brendan%mozilla.org
a6da68bcef
Allow set-call, grouped, and e4x LHS in for-in loop (321874, r=mrbkap).
2006-01-09 05:14:52 +00:00
mrbkap%gmail.com
b694b9110c
bug 321522: The sandbox object needs to come from a new context, not the old
...
context. r=shaver sr=brendan
2006-01-06 22:28:18 +00:00
brendan%mozilla.org
de21c01432
Better GC_MARK_DEBUG code (315783, NPOTB but r=bz).
2006-01-06 06:32:11 +00:00
shaver%mozilla.org
739ee70523
bug 315783: fix GC_MARK_DEBUG crash when marking E4X text nodes, r=mrbkap
2006-01-06 05:28:19 +00:00
brendan%mozilla.org
37762e3c1d
Remove e4x singleton entrainment hazards and hide naked * as value (322499, r=mrbkap).
2006-01-06 02:08:35 +00:00
brendan%mozilla.org
4630140dc0
Avoid stupid GCC warning introduced by last checkin.
2006-01-05 20:32:05 +00:00
brendan%mozilla.org
6012ecfa36
Fix up disassembly of 24-bit-immediate formats (DEBUG-only 316862, r=shaver).
2006-01-04 05:53:16 +00:00
brendan%mozilla.org
c925fdd1d4
Fix bindname/setname extension to 24-bit immediate atom index (321971, r=shaver).
2006-01-04 05:42:21 +00:00
bob%bclary.com
136e8d8253
Update template boilerplate for 2006, no bug, not part of the build
2006-01-03 04:16:14 +00:00
bob%bclary.com
c9e314a303
Regression testw fo rbug 322135, by Joaquin Cuenca Abela, Martin Honnen
2006-01-03 03:40:42 +00:00
brendan%mozilla.org
dcde3a8d3b
Fix from Igor Bukanov <igor.bukanov@gmail.com> to reorder allocations to avoid pigeon-hole problem (322045, r=me).
2006-01-03 01:41:46 +00:00
gerv%gerv.net
1dca58927a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-12-31 12:14:46 +00:00
bob%bclary.com
ef4a583e95
Regression test for bug 319683, by Jan-Klaas Kollhof
2005-12-30 22:26:16 +00:00
bob%bclary.com
92511be465
Regression test for bug 321757, by Joaquin Cuenca Abela, Brendan Eich
2005-12-30 21:58:27 +00:00
joshmoz%gmail.com
9444c564c2
ECMA and C99 specs do not agree on all results for pow(). When using libm for JavaScript math functions, we need to convert libm's differing C99 results to ECMA-compliant results. This change might be all we need to get our libm implementation ECMA compliant, so we can examine moving js math functions over to OS libraries on all platforms. b=320770 r=mento sr=brendan
2005-12-29 20:19:54 +00:00
bob%bclary.com
25181e996b
Regression test for bug 253150
2005-12-28 22:09:13 +00:00
bob%bclary.com
5813f8ba72
Correct Regression test for bug 164697, See bug 321669
2005-12-28 06:34:58 +00:00
brendan%mozilla.org
48c8a3daba
Fix lvalue=>rvalue handling todo with parenthesization and assignment (320032, r=mrbkap).
2005-12-28 05:36:29 +00:00
bob%bclary.com
d65fad2850
Regression test for bug 188211, by Phil Schwartau
2005-12-28 02:39:35 +00:00
bob%bclary.com
17f05b1ad0
Regression test for bug 176125, by Phil Schwartau
2005-12-28 02:06:20 +00:00
bob%bclary.com
1d8591f027
Regression test for bug 164697
2005-12-28 01:21:09 +00:00
bob%bclary.com
15e5ed7051
Regression test for bug 127243, by Giscard Girard, Brendan Eich
2005-12-27 23:08:06 +00:00
bob%bclary.com
acf3157c3c
Regression test for bug 106244, by neil@parkwaycc.co.uk
2005-12-27 22:24:45 +00:00
brendan%mozilla.org
ac177f0bb6
Assertion tweaks to find dropped exceptions (NPOB, 321446).
2005-12-27 06:35:18 +00:00
bob%bclary.com
fdee8e29fc
Regression test for bug 315147, by Michael Daumling
2005-12-27 05:10:17 +00:00
brendan%mozilla.org
bdd0cf228c
Fix failure to propagate failure in regexp_exec_sub (321446, r=mrbkap).
2005-12-27 02:53:04 +00:00
bob%bclary.com
68de9cc18c
Regression test for bug 321549, by Biju
2005-12-27 00:54:42 +00:00
bob%bclary.com
ef4809fb70
Regression test for bug 319391, by gwatmuff, Jesse Ruderman
2005-12-26 21:45:04 +00:00
brendan%mozilla.org
ce850ec47c
Fix XML name scanner to allow { after : (321549, r=mrbkap).
2005-12-26 21:21:50 +00:00
bob%bclary.com
c7b2a4e04b
Regression test for bug 317714, by Andrew Schultz
2005-12-26 21:05:38 +00:00
bob%bclary.com
7b70e3b99e
Regression test for bug 317533, by shutdown
2005-12-26 20:40:17 +00:00
brendan%mozilla.org
15ecc97688
Nit-pick a doubled blank line.
2005-12-24 07:34:16 +00:00
brendan%mozilla.org
f17aecb8ad
Respect the sacred 80th column.
2005-12-24 07:03:26 +00:00
bob%bclary.com
a22c7856b7
Regression test for bug 315990, by Jesse Ruderman
2005-12-24 06:49:58 +00:00
bob%bclary.com
6a2f7969e9
Regression test for bug 315436, by Michael Daumling
2005-12-24 06:37:51 +00:00
bob%bclary.com
5b75289252
Regression test for bug 294302, by Alex Russell
2005-12-24 03:26:25 +00:00
shaver%mozilla.org
4b841da7b9
Bug 319490: return in finally should clear pending exceptions. r=mrbkap,
...
sr=brendan.
2005-12-24 01:09:19 +00:00
bob%bclary.com
b9a9953584
Regression test for regression caused by bug 285219, bug 320172, by shutdown
2005-12-24 01:03:44 +00:00
bob%bclary.com
98c737bbd9
Regression test for bug 320008, by simon
2005-12-23 09:41:59 +00:00
bob%bclary.com
c44877a5bc
Regression test for bug 320032, by Brendan Eich
2005-12-23 09:30:45 +00:00
bob%bclary.com
9b98edb552
Regression test for bug 320887, by Blake Kaplan
2005-12-23 09:23:26 +00:00
timeless%mozdev.org
87ecd7816a
Bug 301341 make building narcissus w/ Makefile.ref easier
...
r=mrbkap sr=brendan
2005-12-22 00:12:29 +00:00
brendan%mozilla.org
f608dee739
Fix shared permanent optimization in hasOwnProperty to be confined to a single class of objects (320854, r/sr=mrbkap/shaver).
2005-12-19 21:14:31 +00:00
bob%bclary.com
5b0d3052c6
Regression test for bug 320854, by Brendan Eich, not part of the build
2005-12-19 20:49:02 +00:00
bob%bclary.com
c6d79334bd
Regression test for bug 319384, attempt to catch conversion error
2005-12-19 09:18:19 +00:00
mrbkap%gmail.com
cd4f6d4a38
bug 320008: Double-quotes in attributes in constructs parsed by the XML constructor get double-escaped, turning into &quot; r=brendan
2005-12-16 23:02:22 +00:00
brendan%mozilla.org
5dc8159c05
Fix typo pointed out by Gavin.
2005-12-16 22:08:11 +00:00
brendan%mozilla.org
f548d87078
Tricky fix to allow non-ECMA Function.prototype extensions to be readonly except when delegated to from other classes (320119, r/sr=mrbkap/shaver).
2005-12-16 19:32:44 +00:00
mrbkap%gmail.com
3e57ee0c74
Bustage fix from bug 319296.
2005-12-16 02:03:49 +00:00
jst%mozilla.jstenback.com
f80210c06e
Fixing bug 319296. This fixes a problem where we could end up in a situation where a nsIXPCScriptable helper would be used for a class info object when the helper is obviously written only for the class described by the class info. r=mrbkap@gmail.com, sr=brendan@mozilla.org
2005-12-16 00:32:15 +00:00
mrbkap%gmail.com
f143012f3e
bug 320172: Functions that call eval need to be heavyweight functions so that var declarations in their eval'd string have a varobj to call home. r=brendan
2005-12-15 02:30:16 +00:00
mrbkap%gmail.com
6e2a3be5dd
bug 319872: Test for integer overflow while escaping stuff. r=brendan
2005-12-13 23:18:03 +00:00
bsmedberg%covad.net
75f0b3fd3c
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
2005-12-13 17:55:43 +00:00
gerv%gerv.net
adbec5dbff
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-12-13 13:25:40 +00:00
bsmedberg%covad.net
718ca7a4a6
Bug 315090 - convert xpconnect utils/tests to use frozen linkage, r=shaver
2005-12-12 15:08:16 +00:00
mrbkap%gmail.com
6246fb009e
Fix comment nit from bug 319264.
2005-12-11 06:49:02 +00:00
mrbkap%gmail.com
d3eee0b215
bug 319264: Fix double-free reporting strict warnings about assigning to read-only properties. r=brendan
2005-12-11 06:44:29 +00:00
brendan%mozilla.org
f20ad4a946
Fix delegation to function object for length and other properties (313570, r/sr=mrbkap/shaver).
2005-12-10 18:46:37 +00:00
brendan%mozilla.org
903070e2a9
Revert to pre-E4X handling of eval(s) = x to avoid compile-time error reporting (319391, r=mrbkap).
2005-12-09 20:23:38 +00:00
mrbkap%gmail.com
de8bf51b19
bug 318489: It's impossible to use one of the constructors from an XPCNativeWrapped object. Add an IDL interface for these constructors and fix XPCNativeWrapper to forward Construct requests onto its wrapped native. r=jst sr=brendan
2005-12-09 19:08:45 +00:00
mrbkap%gmail.com
dadb1cbbfa
bug 319172: Innerize the global object for subscript loading so that functions are compiled with the right parent (leading to the inner window, not the outer window). r=shaver sr=brendan
2005-12-09 18:58:23 +00:00
bob%bclary.com
47d43c752e
Regression test for bug 314890, by Jeff Thompson, not part of the build
2005-12-08 20:47:46 +00:00
bob%bclary.com
bd4d91f4d4
Regression test for bug 318922, by Biju, not part of the build
2005-12-08 19:56:08 +00:00
bob%bclary.com
188d53f190
Regression test for bug 319384, by Boris Zbarsky, not part of the build
2005-12-08 19:08:37 +00:00
brendan%mozilla.org
0e628dfa78
Comment typos fixed.
2005-12-08 17:59:45 +00:00
brendan%mozilla.org
5473753429
Fix uninitialized variable use in an assertion (311583, r=igor).
2005-12-07 22:42:06 +00:00
mrbkap%gmail.com
c1c671891e
bug 319384: Don't use unsigned objects for signed values. Also give the "can't convert to integer" error an exception type so that it can be caught. r=daumling@adobe.com sr=brendan
2005-12-07 20:49:52 +00:00
brendan%mozilla.org
47984fd9cc
Add missing TOK_XMLSPACE case (one-line fix to 318922, r=mrbkap).
2005-12-06 23:40:36 +00:00
bzbarsky%mit.edu
709973dd99
Make sure to keep memberval alive while we use it. Bug 318969, r=mrbkap, sr=jst
2005-12-06 04:48:19 +00:00
brendan%mozilla.org
1385a88fa8
Fix some style nits.
2005-12-05 23:41:30 +00:00
brendan%mozilla.org
0b0e90d50c
Patch from Michael Daumling <daumling@adobe.com> to let the OOM message be localized (318767, r=me).
2005-12-05 21:35:15 +00:00
brendan%mozilla.org
2f2cb5e85a
Fix XML folding to skip name nodes with list arity due to embedded {expr} terms (318922, r=mrbkap).
2005-12-05 05:26:50 +00:00
bsmedberg%covad.net
d54d3d7b09
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
2005-12-03 15:27:17 +00:00
dbaron%dbaron.org
f2a37733b9
Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
f95e73dac7
Fixing bug 318873. Crash in js_GetLocalizedErrorMessage(). Patch by tor@acm.org, r+sr=jst@mozilla.org
2005-12-03 07:32:07 +00:00
brendan%mozilla.org
a9762daf5d
Michael Daumling <daumling@adobe.com> patch to allow user-defined errors, finally (thanks to Michael for doing this; 215173, r=mrbkap/me).
2005-12-03 02:31:21 +00:00
bsmedberg%covad.net
18d1271404
Bustage fix, bug 316416, nested classes are not automatically friendly.
2005-12-02 17:09:19 +00:00
bsmedberg%covad.net
28e3019754
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
2005-12-02 16:34:42 +00:00
brendan%mozilla.org
d0fdbe647b
Followup to maximize error-reporting code sharing (315436, r=daumling).
2005-12-01 21:05:12 +00:00
brendan%mozilla.org
16b5d0988a
Fix from Michael Daumling <daumling@adobe.com> to make read-only assignment a strict warning (315436, r/sr=mrbkap/brendan).
2005-12-01 02:26:35 +00:00
dougt%meer.net
0b8260d91c
Allowing js to be statically linked, if desired. r=bsmedberg. b=236617
2005-11-30 17:38:49 +00:00
mrbkap%gmail.com
4e4b58e6fa
bug 307526: Add a -i option to the two shells to force interactive mode so that it's possible to use xpcshell from Emacs (where isatty returns bad results). r=dmose sr=brendan
2005-11-29 23:52:28 +00:00
dougt%meer.net
a6e31396b5
PR_MemMap is busted on WINCE. Until it is fixed, disable memory map access in js loader. b=318077. r=dougt. WINCE only.
2005-11-29 05:44:40 +00:00
mrbkap%gmail.com
3a77b12867
bug 317476: The error thrown by JS_ReportError is not catchable. r=brendan
2005-11-28 20:42:30 +00:00
mrbkap%gmail.com
b51cc879fb
bug 317533: Don't get confused by final if statements when determining if a function always returns a value. r=brendan
2005-11-28 20:35:13 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
brendan%mozilla.org
9d0de76443
Fix bad regression in fix for 316885 (317714, r=shaver).
2005-11-25 07:49:05 +00:00
bob%bclary.com
7c234773e0
Improve BigO reporting, no bug, not part of the build
2005-11-24 04:54:52 +00:00
bob%bclary.com
b756f93fe2
Test for version() function's existence so that test does not fail in the browser, no bug, not part of the build
2005-11-24 04:51:38 +00:00
bob%bclary.com
9990df994c
Correct erroneous tests, no bug, not part of the build
2005-11-24 04:49:48 +00:00
bob%bclary.com
0c69c8767b
Fix test by constructing valid date from toDateString() and toLocaleTimeString(), no bug, not part of the build
2005-11-24 04:46:08 +00:00
bob%bclary.com
562ff36e70
Remove @ native from global toString in debug builds, no bug, not part of the build
2005-11-24 04:43:16 +00:00
bob%bclary.com
002d82bd70
Add JavaScript language version to mime attribute of js1_x browser tests, no bug, not part of the build
2005-11-24 04:40:43 +00:00
bob%bclary.com
1bdaa6408a
Remove jsbrowser, e4xbrowser from browser target, no bug, not part of the build
2005-11-24 04:39:15 +00:00
bob%bclary.com
2f785718f4
Add call to test() to display status messages, no bug, not part of the build
2005-11-24 04:01:38 +00:00
bob%bclary.com
b30d745874
BUGNUMBER is not a URL, no bug, not part of the build
2005-11-24 03:51:58 +00:00
bob%bclary.com
85cb04ad3b
Change GLOBAL string to be calculated from global this.toString() to eliminate erroneous errors in debug builds, no bug, not part of the build
2005-11-24 03:41:37 +00:00
bob%bclary.com
0c224a23a1
Improve BigO calculations, no bug, not part of the build
2005-11-24 03:25:06 +00:00
bob%bclary.com
e961da4da3
Rename regress-234389.js to regress-234389-n.js since successful test throws an exception, no bug, not part of the build
2005-11-24 03:07:55 +00:00
jag%tty.nl
4a7d85ba3e
Sorry, no tabs allowed here. (whitespace-only change, r=jack, sr=lumpy)
2005-11-23 07:09:37 +00:00
brendan%mozilla.org
fc8c3998b8
No switch for threaded interpreter (121414, r=igor).
2005-11-22 04:47:42 +00:00
brendan%mozilla.org
21b200f08b
Root me harder (316885 r/sr=igor/shaver).
2005-11-22 00:47:05 +00:00
dougt%meer.net
d2a7417e56
Fixing build bustage on minimo linux. Shell doesn't compile when building against minimo.
2005-11-22 00:12:49 +00:00
igor%mir2.org
df24c9296d
Fixing bug 316879:
...
I hope this time the implementation of optimization for int-only operations
is the right one. review=brendan
2005-11-22 00:03:04 +00:00
mrbkap%gmail.com
1631ef2f9d
bug 316990: Allow hasOwnProperty to work, even with split windows, by checking that the returned object is actually the inner object of |this|. r=brendan
2005-11-21 19:40:55 +00:00
bob%bclary.com
2b90ed855c
Regression test for bug 96526, behavior has changed due to bug 311583, holes are no longer represented by undefined in array.toSource()
2005-11-21 07:25:33 +00:00
timeless%mozdev.org
98c84e24ac
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bryner%brianryner.com
9aa84f551d
Only issue a warning if we failed to map a file, not an assertion. This doesn't violate any built-in assumptions. Bug 317205, r=shaver.
2005-11-21 03:27:32 +00:00
brendan%mozilla.org
1d59dac7f6
Fix bogus assertion.
2005-11-20 21:37:14 +00:00
igor%mir2.org
922e2e894c
Removal of the previous commit: my patch brought bogus assert in JSOP_NEG:
...
the result of -rval can fit jsint even if rval is not int in cases like when
rval is "1" string.
2005-11-20 19:25:47 +00:00
igor%mir2.org
6b6b0f28b6
Fixing bug 316879:
...
Special treatment of int values in numeric operations for faster and smaller
code. r=brendan
2005-11-20 18:14:21 +00:00
bob%bclary.com
8619eb83da
Regression test for bug 232182, by Michael Daumling
2005-11-20 06:47:15 +00:00
bob%bclary.com
03e59d0c06
Obsolete ecma_3/Statements/regress-121744.js, no bug, not part of the build.
2005-11-20 06:15:10 +00:00
bob%bclary.com
e9c41dcab9
Test for shell only constructs to prevent false negatives when running tests in the browser, no bug, not part of the build
2005-11-20 06:10:46 +00:00
bob%bclary.com
88e1c12a5e
Modify test to handle script error path when running in the browser, no bug, not part of the build
2005-11-20 06:08:42 +00:00
bob%bclary.com
eb0dcad057
Handle negative results tests in browser based tests, no bug, not part of the build
2005-11-20 06:06:54 +00:00
bob%bclary.com
6c7a3b0acc
Change default mode from Quirks to Standards in browser based tests, no bug, not part of the build
2005-11-20 06:01:39 +00:00
bob%bclary.com
7bf0c1bd09
Remove obsolete JS test automation scripts, no bug, not part of the build
2005-11-20 05:59:09 +00:00
bob%bclary.com
c17f87551f
Modify JS test automation to be driven by external text files containing lists of urls, no bug, not part of the build.
2005-11-20 05:56:58 +00:00
igor%mir2.org
765babd101
Fix for bug 311583:
...
Not uneval(array) uses elision, not undefined, to represent array holes.
r=brendan
2005-11-20 01:12:58 +00:00
igor%mir2.org
d1471187a3
Fixing bug 316993 +jump generation cleanup
2005-11-19 22:57:49 +00:00
brendan%mozilla.org
d190f94f8e
Threaded interpreter, first step toward more aggressive optimizations (121414, r=shaver).
2005-11-19 03:20:17 +00:00
brendan%mozilla.org
6af9912379
Toasted Windows, not able to debug till tomorrow, backing out.
2005-11-18 06:19:46 +00:00
brendan%mozilla.org
86ccad8608
Threaded interpreter, first step toward more aggressive optimizations (121414, r=shaver).
2005-11-18 04:22:25 +00:00
igor%mir2.org
cbf3b32676
Fix for bug 302849: js shell calls setlocal, r=shaver
2005-11-17 17:32:00 +00:00
igor%mir2.org
2f5e6f0d10
Fix for bug 312138:
...
js_HeapSort terminates as soon as sort function indicates so. r=brendan
2005-11-16 10:02:57 +00:00
bzbarsky%mit.edu
f02076fb6f
Get principals for XPConnect wrapped natives off their scope instead of walking
...
their parent chain. Add some asserts to check that this actually does give the
same result, which it should with splitwindow. Bug 289655, r=dbradley, sr=jst
2005-11-16 02:12:21 +00:00
bzbarsky%mit.edu
b4e353549f
Keep reading from the sync stream till we're done. Bug 303376, r=darin, sr=jst
2005-11-16 02:04:10 +00:00
bob%bclary.com
6c8cc6658d
Regression test for bug 315509, by moz_bug_r_a4
2005-11-14 19:25:22 +00:00
brendan%mozilla.org
e22351e864
Fix old logic bug in useless expression eliminator (315990, r=mrbkap).
2005-11-11 20:20:19 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
24c101cf4c
bug 315925: Fix some nits in TestUtf8 including better bad-argument handling and general JS style nits. r=brendan
2005-11-10 22:19:22 +00:00
pkw%us.ibm.com
9c71c9931d
AIX bustage fix after checkin of Bug 315288 enabled UTF-8 strings in JS. Changed C++ style comment to C style comment. No bug.
...
r=shaver@mozilla.org
2005-11-10 21:03:28 +00:00
bsmedberg%covad.net
caee95c028
Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst
2005-11-10 16:19:44 +00:00
mrbkap%gmail.com
ee19e5b458
bug 315797: The label goes after the variables that were never set. r=brendan
2005-11-10 07:09:22 +00:00
mrbkap%gmail.com
e5b2badc4d
bug 315509: array_unshift doesn't deal with holes in the array correctly. Patch from moz_bug_r_a4@yahoo.com. r=mrbkap
2005-11-08 20:58:28 +00:00
dougt%meer.net
57e921b9c8
WindowsCE doesn't really have a console per se. displaying the xpc shell as it isn't build on windows ce. WINCE only.
2005-11-07 20:58:30 +00:00
bob%bclary.com
22347fd8e9
JavaScript Test Library - test size of string operands, not number of iterations of concat
2005-11-07 07:26:33 +00:00
bob%bclary.com
cef24765d4
JavaScript Test Library - automation, proper handling of exit codes for timed executions
2005-11-07 07:10:59 +00:00
bob%bclary.com
bfe41df825
JavaScript Test Library - add test path to ecma_3/Date/shell.js
2005-11-07 07:03:15 +00:00
mrbkap%gmail.com
030dd22ead
bug 315147: Error JSMSG_UNDEFINED_PROP should be JSEXN_REFERENCEERR (pointed out by Michael Daumling). r=brendan
2005-11-05 02:01:17 +00:00
mrbkap%gmail.com
809abae6c7
bug 232182: Allow SpiderMonkey to deal with UTF-8 strings (controlled by a define). Patch from Michael Daumling <daumling@adobe.com>. r=shaver
2005-11-05 01:06:30 +00:00
szegedia%freemail.hu
6260d33506
Added enter() and exit() methods to ContextFactory - behave identically to enter() and exit() in Context, except that the context factory on which the methods are invoked is used instead of the ContextFactory.global
2005-11-04 13:37:45 +00:00
szegedia%freemail.hu
6074b83bc6
Bugzilla #312702 : Feature for limiting call stack depth in interpeter
2005-11-04 13:10:56 +00:00
bob%bclary.com
dd021cc4ed
Regression test for bug 314887
2005-11-04 07:32:54 +00:00
mrbkap%gmail.com
cfd7dbec0a
bug 314890: Add in a fast early-out pointer comparison for quick string compares. r=brendan
2005-11-03 22:01:09 +00:00
brendan%mozilla.org
db4481ee41
Don't store non-GC-things in local roots (3148887, r=mrbkap).
2005-11-03 17:50:04 +00:00
brendan%mozilla.org
fa44e6b5aa
Augh.
2005-11-03 02:23:59 +00:00
brendan%mozilla.org
0f10624173
Oops.
2005-11-03 01:56:52 +00:00
brendan%mozilla.org
999f42157c
Whitespace policing.
2005-11-03 01:45:06 +00:00
brendan%mozilla.org
da295763b5
Better AMD64 detection, courtesy wtchang, in bug 226094.
2005-11-03 01:39:39 +00:00
brendan%mozilla.org
1dba545634
MSVC on AMD64 LLP64 type model support (226094, r=me on patch from Michael Moy <mmoy@yahoo.com>).
2005-11-03 01:22:09 +00:00
mrbkap%gmail.com
f014b5fc1f
bug 294302: Map JSMSG_CANT_OPEN to a real exception type so that shell scripts can catch failed loads. r=brendan
2005-11-03 00:16:14 +00:00
mrbkap%gmail.com
9bd744a01e
bug 313220: Push the sandbox's context onto the context stack so that functions that need to use the current fp can find it. r=brendan sr=shaver
2005-11-02 22:07:15 +00:00
bsmedberg%covad.net
5a3dee9942
Bug 307168 - Add configure test for GCC bug that prevent the pragma-visibility stuff from working properly on some configurations, and also clean up usages of HAVE_VISIBILITY_PRAGMA which should really be HAVE_VISIBILITY_ATTRIBUTE r=roc+wolfiR, previous revisions reviewed by bryner
2005-11-02 14:14:18 +00:00
timeless%mozdev.org
d72cc699d0
Bug 276979 Unrooted JSObject in nsXPCWrappedJSClass::DelegatedQueryInterface crashes [@ js_LookupPropertyWithFlags ]
...
r=mrbkap sr=bz
2005-11-02 04:07:55 +00:00
bob%bclary.com
dd7fc0840a
Regression test for bug 313592, by Seno Aiko
2005-11-01 19:00:33 +00:00
brendan%mozilla.org
46a92c27aa
Use explicit local roots in native methods (313763, r/sr=igor/shaver).
2005-11-01 01:13:36 +00:00
mrbkap%gmail.com
a94fa7d326
bug 314401: Handle a null scopeobj (don't crash, report an error instead). This is my version of a patch from moz_bug_r_a4@yahoo.com. r=brendan
2005-10-31 19:50:49 +00:00
mrbkap%gmail.com
317210d2b9
bug 314456: Handle the empty string better. r/sr=brendan/dveditz
2005-10-31 19:31:55 +00:00
bob%bclary.com
e7f6c4ecd9
Regression test for bug 313929, use XML to defer error to runtime
2005-10-29 11:26:23 +00:00
bob%bclary.com
ce28095302
Regression test for bug 313929, by Seno Aiko
2005-10-29 06:32:23 +00:00
mrbkap%gmail.com
be646f33a3
bug 313375: Oops, we're locking the wrong object! r=brendan sr=jst
2005-10-28 22:45:12 +00:00
brendan%mozilla.org
ab5e44bb8d
Fix script_thaw to set its local root.
2005-10-28 18:14:44 +00:00