Commit Graph

5129 Commits

Author SHA1 Message Date
pschwartau%netscape.com
f88776bc0a Moving all catch guard tests from the ecma_3/Exceptions directory to the js1_5/Exceptions directory, since this is non-ECMA syntax. 2003-06-14 01:16:36 +00:00
brendan%mozilla.org
12de161f6f Try to fix HPUX bustage. 2003-06-14 00:10:09 +00:00
brendan%mozilla.org
1758ac34e1 Need jsconfig.h and #if JS_HAS_XDR...#endif around guts of file (208586, r=pschwartau). 2003-06-13 23:58:36 +00:00
brendan%mozilla.org
e053dfcfc1 - Add an environment object, to reflect the shell's environment variables.
- Cleaned up command line argument processing so the arguments object is
  available to all scripts (-f foo.js or the final bar.js non-option arg).
  Also made - work in all cases (-f - or - as the final arg) to mean stdin.
- Miscellaneous formatting and style cleanup.
2003-06-13 21:25:10 +00:00
pschwartau%netscape.com
9bdc9ea55b Improving readability. 2003-06-13 18:09:45 +00:00
pschwartau%netscape.com
6b9c65b8d7 Improving readability. 2003-06-13 01:18:18 +00:00
pschwartau%netscape.com
288425ab00 Initial add. Regression test for bug 209067.js 2003-06-12 23:07:27 +00:00
brendan%mozilla.org
9abcc83528 Oops, this should have been checked in as part of the bug 208586 landing. 2003-06-12 00:26:40 +00:00
brendan%mozilla.org
05be1e35a2 More resolve cleanup: eliminate cx->resolving (redundant w.r.t. cx->resolvingTable && cx->resolvingTable->entryCount); use JS_DHASH_ADD and test for non-null key part, not LOOKUP-and-test-non-busy-then-ADD. 2003-06-11 23:43:56 +00:00
igor%mir2.org
31641ef33a Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=208293 :
Patch from Steve Beal to fix my bug in Context.readReader.
2003-06-11 13:27:23 +00:00
igor%mir2.org
12a288b564 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=207999 :
EcmaError constructor now takes a generic Scriptable and not NativeError so classes outside org.mozilla.javascript can use it.
2003-06-11 07:36:11 +00:00
igor%mir2.org
4b523296c6 Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=207968 :
As suggested by Roland Knight, WrappedException does not call exception.fillInStackTrace() to prevent hiding of the original stack trace.
2003-06-11 07:33:22 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
pschwartau%netscape.com
5bb72599e3 Initial add. Regression test for bug 208496. 2003-06-09 21:01:09 +00:00
pschwartau%netscape.com
a7b53cf365 Removing in order to rename test as regress-208496-001.js 2003-06-09 21:00:02 +00:00
brendan%mozilla.org
b7c5f4bd8b Subtly better comment for last change. 2003-06-08 20:31:06 +00:00
brendan%mozilla.org
668326c888 Followup fix to remaining problem pointed out by Itaj Sherman (208496). 2003-06-08 18:55:53 +00:00
brendan%mozilla.org
0117803d6b Slight comment tweaks to last checkin. 2003-06-07 21:31:00 +00:00
brendan%mozilla.org
d484baa7a8 Minimal ECMA-262 Edition 3 config, plus cleanup to other configs (208586, r=shaver). 2003-06-07 21:08:45 +00:00
brendan%mozilla.org
cbad68cb9e Hide arg and var properties of function objects from with statements (208496, r=rogerl). 2003-06-06 21:43:14 +00:00
pschwartau%netscape.com
03098d0886 Making sections 5 and 6 a little sharper. 2003-06-06 20:55:38 +00:00
brendan%mozilla.org
4cb2da47b8 Canonical forever loops. 2003-06-06 19:00:40 +00:00
pschwartau%netscape.com
49163c4ca4 Adding more cases to the test. 2003-06-06 18:34:49 +00:00
pschwartau%netscape.com
5f7a2f190c Initialize the |actual| variable so it doesn't hold |undefined|. 2003-06-06 00:02:30 +00:00
pschwartau%netscape.com
f284d473d5 Initial add. Regression test for bug 208496. 2003-06-05 23:54:44 +00:00
brendan%mozilla.org
27c26166cd Unify on JS_DHASH_ADD to avoid gratuitous lookup-before-add in cx->resolvingTable (r=me again). 2003-06-05 18:49:13 +00:00
dbradley%netscape.com
453bdc97a8 Bug 205768 - Enumeration of wrapped IDispatch objects is broken. r=adamlock, sr=alecf. 2003-06-05 11:57:03 +00:00
brendan%mozilla.org
83d0fc9e6f One more self-reviewed speedup nitpick. 2003-06-04 02:29:02 +00:00
brendan%mozilla.org
682fda84a7 Unify double/{hi,lo} union to fix bad ifdef'ing for ARM in jsnum.c (208048, r=rogerl). 2003-06-04 00:12:18 +00:00
brendan%mozilla.org
06f549bd5f Remove useless and redundant code from a few places in the *SWITCH generator (r=self). 2003-06-03 04:29:30 +00:00
brendan%mozilla.org
11ed254ddb 64-bit portability fix from Thomas Moestl <t.moestl@tu-bs.de> (207673, r=me). 2003-06-02 19:04:36 +00:00
igor%mir2.org
db16eb9355 To store properties, replace UintMap by a linked list. The former creates 2 objects (UintMap itself and int array) to store int properties and 3 objects (additional object array) to store object properties but vast majority of Nodes has no more then 2 properties with single-property-node contributing most to the majority. 2003-06-02 06:35:57 +00:00
brendan%mozilla.org
33cce84916 Disable DEBUG_brendan stuff. 2003-05-30 20:25:42 +00:00
brendan%mozilla.org
2851f144f1 Constipation and comment spelling fixes. 2003-05-30 20:23:59 +00:00
pschwartau%netscape.com
542950e60a Updating JS_GetImplementationVersion() to date of latest JS release (67111). 2003-05-30 00:10:38 +00:00
timeless%mozdev.org
fc568807c5 Bug 207327 @mozilla.org/js/jsd/app-start-observer;2 isn't registering itself correctly as an app-startup observer service
r=rginda
2003-05-28 22:34:20 +00:00
dbradley%netscape.com
aa6f9be384 Bug 163018 - This patch fixes some problems the original patch created when building SpiderMonkey. This basically renames LIB to LIBDIR because of the conflict with the compiler's use of LIB. r=cls, sr=brendan 2003-05-27 14:46:21 +00:00
timeless%mozdev.org
4da679c883 Bug 205523 `java_wrapper_obj' might be used uninitialized in jsj_WrapJSObject
r=beard sr=dmose
2003-05-23 22:14:15 +00:00
timeless%mozdev.org
30ad7506e5 Bug 205247 warning: `JSBool ReportOutOfMemory(class XPCCallContext &)' defined but not used
r=dbradley sr=dmose
2003-05-23 22:06:27 +00:00
brendan%mozilla.org
45dec14534 White space cleanup. 2003-05-21 23:15:12 +00:00
igor%mir2.org
d1ca7cd329 Pass IRFactory to Parser.parse instead of Parser constructor so Parser initialization would not require IRFactory which needs Interpreter in turn . 2003-05-21 12:09:08 +00:00
igor%mir2.org
f46fd7f3b0 Layout cosmetics 2003-05-21 11:48:32 +00:00
brendan%mozilla.org
27e8c9452b Remove ancient include of jshash.h, no longer needed since the double hashing and property tree changes went in. 2003-05-21 02:20:59 +00:00
igor%mir2.org
6b6368d8c8 Added WrapFactory.wrapAsJavaObject to simplify customization of LiveConnect 2003-05-20 12:46:09 +00:00
igor%mir2.org
e449bd5853 Adding missed final qualifier to the declaration of js_NaN_date_str field 2003-05-20 08:10:48 +00:00
brendan%mozilla.org
5a9aff3e93 Comment and 80th column violation tweaks. 2003-05-19 22:01:57 +00:00
igor%mir2.org
fde9643eed Addition of seal function to Rhino shell to seal all supplied arguments. 2003-05-19 15:53:23 +00:00
brendan%mozilla.org
ed8733c3ca Out of date comment fixed. 2003-05-17 22:34:09 +00:00
igor%mir2.org
3f84d7fe70 Resolving http://bugzilla.mozilla.org/show_bug.cgi?id=203013 :
Changing behavior of sealed objects to throw an exception on any attempt to modify them including changing values of existing properties. In the same time making object sealed does not affect read-only status of its properties which allows to override properties of objects with a sealed object as a prototype.

Rhino shell now accepts -sealedlib option to seal all standard objects.
2003-05-16 14:25:57 +00:00