pschwartau@netscape.com
fee09fdf41
Whitespace cleanup.
2002-10-17 19:25:40 +00:00
seawood@netscape.com
fc429b571e
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com > for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
dbradley@netscape.com
44df2838bb
Bug 173146 - add support to XPConnect for IDispatch interface. r=jband@netscape.com, sr=brendan@mozilla.org, a=shaver@mozilla.org
...
NOTE: Most of this code is not built by default
2002-10-17 05:29:03 +00:00
brendan@mozilla.org
173cf36c30
Comment improvements motivated by bug 173797, no code changes.
2002-10-13 19:08:07 +00:00
pschwartau@netscape.com
3d7460171f
Remove the -x check on the absolute path to xpcshell. In Perl 5.005 on Windows, the -x operator returns |false| on absolute paths, even if they are valid.
2002-10-12 02:43:17 +00:00
pschwartau@netscape.com
63e9b50f15
Use -x &xp_path() more consistently.
2002-10-12 02:08:02 +00:00
pschwartau@netscape.com
e285f72367
Re-factoring the last fix into the existing function xp_path().
2002-10-12 01:57:16 +00:00
pschwartau@netscape.com
d414dd4610
Don't hard-code "\"as the path separator for Windows (rev. 1.36). Some Windows shells (e.g. Cygwin 1.1.8) require "/".
2002-10-11 23:31:23 +00:00
pschwartau@netscape.com
4ebb91eb4c
Improving readability.
2002-10-09 20:43:35 +00:00
brendan@mozilla.org
7e4981a3cc
Don't redefine date_methods in each instance created from native code via js_NewDateObject{,Msec}, shadowing the perfectly fine date_methods in Date.prototype (173423, r=hyatt).
2002-10-09 05:50:23 +00:00
pschwartau@netscape.com
ac7c3491fb
Initial add. Regression test for bug 172699.
2002-10-08 00:37:49 +00:00
timeless@mac.com
01add7ebcb
Bug 172846 QueryInterface should not throw Components.results.NS_NOINTERFACE for Components.interfaces.nsISupports
...
r=caillon sr=bz
2002-10-06 23:14:25 +00:00
rogerl@netscape.com
f5a623db2d
Duh. Fixed C++ style comment, sorry.
2002-10-05 04:38:42 +00:00
rogerl@netscape.com
a9e2b06d28
Bug #172699 . r=rogerl, sr=brendan. Detect illegal (overlong) utf-8.
2002-10-05 04:05:56 +00:00
dbaron@fas.harvard.edu
1a8f0475ed
Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
2002-09-30 14:18:27 +00:00
bryner@netscape.com
6ccd10176d
Bug 165602 - define MACOS_DEPLOYMENT_TARGET (default to 10.1) for mach-o, and don't test for or reference 10.2-specific functions when building for 10.1. r=cls, wtc.
2002-09-28 09:19:58 +00:00
pschwartau@netscape.com
9ef6acad77
Simplifying test.
2002-09-28 02:52:28 +00:00
alecf@netscape.com
35d33e2a49
remove JSLoader.xml as its no longer part of the build
2002-09-27 18:33:38 +00:00
alecf@netscape.com
d9980fd2ef
fix for bug 79175, merge jsloader into xpconnect
...
r=dbradley, sr=brendan
2002-09-27 18:33:02 +00:00
brendan@mozilla.org
2947b594c5
- String.prototype.match, .search, and .replace all use match_or_replace as
...
a common subroutine, but only replace might need to dereference the regexp
created from a non-regexp-type argument, which is converted to string and
compiled into a regexp data struct unowned by any rooted object. This case
was broken: a dangling GlobData.regexp pointer could be dereferenced in the
"lambda replace" code under str_replace, in find_replen, *after* the call
to match_or_replace had destroyed the regexp and returned to str_replace.
Bug 167658 reported the symptoms.
- Consolidate GlobData members into a flags word, avoiding yet another ad hoc
paramter to m_or_r (forceFlat).
- Use a local root in str_match to avoid adding and removing a global root.
2002-09-23 18:33:17 +00:00
pschwartau@netscape.com
381088e6d9
Initial add. Regression test for bug 170193.
2002-09-22 22:11:40 +00:00
brendan@mozilla.org
5993125094
Fix middle-delete-function-with-duplicate-formals (170193, r=shaver).
2002-09-22 19:34:07 +00:00
pschwartau@netscape.com
3c51965aee
Initial add. Regression test for bug 169534.
2002-09-21 03:17:25 +00:00
brendan@mozilla.org
c89c6295e9
Fix Array.prototype.concat to special-case and flatten Array arguments (including |this|) only, not any object with array-like .length (169795, r=rogerl, who fixed my tired morning patch).
2002-09-20 18:45:05 +00:00
pschwartau@netscape.com
a5188643b3
Adding two new sections by igor@icesoft.no.
2002-09-20 17:43:16 +00:00
pschwartau@netscape.com
619800de90
Fixing typos.
2002-09-20 17:04:08 +00:00
seawood@netscape.com
74323a3dc4
Adding placeholders to silence cvs warnings
2002-09-20 09:14:42 +00:00
pschwartau@netscape.com
a1d65fe147
Initial add. Tests ECMA-262 Edition 3 Section 15.4.4.4. See bug 169795.
2002-09-20 03:35:24 +00:00
pschwartau@netscape.com
2a56e5c7c1
Initial add. Regression test for bug 169497.
2002-09-19 01:24:45 +00:00
brendan@mozilla.org
cfd0ab198c
Cosmetic nit-picks: respect 80-column limit, use NULL, not 0, for ptr init.
2002-09-18 18:44:47 +00:00
caillon@returnzero.com
be8dace1a1
Bug 169321 - Passing strings generated by .match or .substr into Components.lookupMethod() was throwing exceptions because those strings
...
are not atomized.
Checking in for Johnny Stenback <jst@netscape.com >
r=dbradley@netscape.com , jaggernaut@netscape.com
sr=brendan@mozilla.org
2002-09-18 13:44:43 +00:00
brendan@mozilla.org
b508c77c89
Fix blunder in obj_propertyIsEnumerable from last checkin (156354, r=shaver).
2002-09-16 23:00:03 +00:00
pschwartau@netscape.com
fcd01996ba
Initial add. Regression test for bug 156354.
2002-09-16 22:24:42 +00:00
pschwartau@netscape.com
82139e3d57
Moving all comments to the top of the file.
2002-09-16 19:13:43 +00:00
pschwartau@netscape.com
b7c71f10ae
Trivial change: more efficiency in detecting Rhino shell.
2002-09-16 18:57:22 +00:00
brendan@mozilla.org
1c26163cb1
Better macro name, nit-pick on last checkin.
2002-09-14 06:40:59 +00:00
pschwartau@netscape.com
3397f115a4
Initial add. Regression test for bug 168347.
2002-09-14 00:12:25 +00:00
brendan@mozilla.org
281a979286
Followup fix for 168347, r=rogerl: avoid temporary bloat due to QuoteString without sprinter offset retract.
2002-09-13 22:40:27 +00:00
brendan@mozilla.org
058a9bb7f6
Restore correct form of assertion removed by last rev.
2002-09-13 22:32:59 +00:00
brendan@mozilla.org
016e240529
Reorder QuoteString calls added for bug 58274 to avoid overwriting just-popped strings in the string-stack (168347, r=shaver).
2002-09-13 06:58:24 +00:00
brendan@mozilla.org
f94cd561ac
Followup fix to op vs. implicit JSOP_GETELEM blunder in last checkin (168302, r=sspitzer).
2002-09-12 21:38:07 +00:00
brendan@mozilla.org
4e7088fea2
Restore enumeable, permanent, readonly single-char elements to string objects; fix propertyIsEnumerable to work with shared permanent proto-properties (167910, r=rogerl).
2002-09-12 19:34:59 +00:00
brendan@mozilla.org
1ec5142e3f
Limit code generator recursion using iterative techniques; also limit js_EmitTree frame size using arena allocation of cg2 (96526, r=shaver).
2002-09-12 07:56:35 +00:00
brendan@mozilla.org
0d5d883545
Remove unused variable left from last checkin (not part of build).
2002-09-09 23:24:48 +00:00
pschwartau@netscape.com
19c8947f53
Initial add. Tests ECMA-262 Edition 3 Section 8.6.2.6 (default value of objects). See bug 167325.
2002-09-09 21:14:28 +00:00
brendan@mozilla.org
655f8fa344
Fix old bogus error reporting suppression around shell's implicit ToString on command result values, and clean up related #if 0 cruft after it (167325, not part of default build).
2002-09-08 21:46:13 +00:00
dougt@netscape.com
46ce738546
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt@netscape.com
aa5e4b8b34
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 05:38:16 +00:00
brendan@mozilla.org
0010e20ef3
Fix error.stack computation to avoid toString as well as toSource on objects (166743, r=rginda, a=rjesup).
2002-09-05 22:25:48 +00:00
pschwartau@netscape.com
f954f25e85
Have factored skip regress-96526.js into three separate tests. Skip them.
2002-09-04 22:56:39 +00:00