brendan%mozilla.org
3c54211db3
Support ECMA reference type return from native methods (44997, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@77793 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:45:50 +00:00
waldemar%netscape.com
97e6c5b6f8
Added jsdhash.c
...
git-svn-id: svn://10.0.0.236/trunk@77783 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 20:41:33 +00:00
jband%netscape.com
89a9d35563
fix to un-bust XPCONNECT_STANDALONE build (#ifdef'd out code for the browser) from shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@77761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 10:44:28 +00:00
brendan%mozilla.org
c9d77da5ce
Fix GC_MARK_DEBUG bustage (r=dbaron, not part of build unless you -D it).
...
git-svn-id: svn://10.0.0.236/trunk@77730 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:41:36 +00:00
brendan%mozilla.org
096321676e
Forgot to round capacity up to nearest power of two\! r=bienvenu.
...
git-svn-id: svn://10.0.0.236/trunk@77727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:12:40 +00:00
beard%netscape.com
d290a13566
bug #44187 : added guards to prevent crashes when Java not available. r=jband
...
git-svn-id: svn://10.0.0.236/trunk@77714 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:37:42 +00:00
brendan%mozilla.org
0207da2575
Script to NSPR-ize and 'PL-ize' jsdhash.[ch] so they fit (sort of) over in xpcom/ds.
...
git-svn-id: svn://10.0.0.236/trunk@77630 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:30:33 +00:00
nboyd%atg.com
2a7c228b2c
Better javadoc
...
git-svn-id: svn://10.0.0.236/trunk@77617 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 13:41:15 +00:00
mkaply%us.ibm.com
70ef4ad5d1
#50212
...
r=brendan, a=brendan
OS/2 GCC doesn't define _M_IX86
git-svn-id: svn://10.0.0.236/trunk@77538 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:04:59 +00:00
brendan%mozilla.org
0440304a84
Finish fixing 42221, for sure.
...
git-svn-id: svn://10.0.0.236/trunk@77493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:09:47 +00:00
mccabe%netscape.com
75a6a93183
Potential fix to 50313
...
Initialize stack variable to NULL on suspicion that later possibly-unset use of it is causing crash.
git-svn-id: svn://10.0.0.236/trunk@77287 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:10:31 +00:00
brendan%mozilla.org
e85122f78b
Clean up JSObjectOps layering violations by adding mark and clear ops; JSClass gets a corresponding mark op so classes with unregistered roots in private data can mark them. The JS API gets a new JS_MarkGCThing entry point for JSObjectOps.mark implementors. Prerequisite check-in for bug 49816 and others (r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@77238 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:30:22 +00:00
brendan%mozilla.org
deff25d80d
Lazily define escape and unescape (via js_InitStringClass) only #ifndef MOZILLA_CLIENT, because the DOM must predefine backward-compatible versions of these functions that 'stick' (42221, r=mccabe).
...
git-svn-id: svn://10.0.0.236/trunk@77234 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:05:41 +00:00
mccabe%netscape.com
aa91430462
Fix to 39141.
...
Check for empty element case in array literals ( first element in [,'foo'] ) now uses the next token instead of the previous one when constructing the node, so the first element gets TOK_COMMA instead of TOK_LB.
This fixes a crash from previously accepted JS.
r=rogerl
git-svn-id: svn://10.0.0.236/trunk@77230 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:44:35 +00:00
brendan%mozilla.org
358cfb3146
Macro-ize FPU mode fixing and do it on ever js_InitNumberClass; also, simplify #ifdefs to unify OS2 with XP_PC && _M_IX86 case (50212, r=mkaply@us.ibm.com).
...
git-svn-id: svn://10.0.0.236/trunk@77165 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 03:14:50 +00:00
jband%netscape.com
bc10558244
bug 49748. Fix crash due to JS loader holding xpconnect service too long. Also add unimplemented method to xpconnect service and fix cast for bug 49641. r=shaver@mozilla.org a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@77068 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:50:27 +00:00
beard%netscape.com
539f40b9d0
use QueryElementAt() to save space and time. r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@77046 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:10:47 +00:00
brendan%mozilla.org
3cd8b4a611
Eliminate silly gcc warning.
...
git-svn-id: svn://10.0.0.236/trunk@77035 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:14:17 +00:00
brendan%mozilla.org
6c9b35da11
Add strict warning about trailing comma in object initializers being non-ECMA (50001, r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@76986 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:55:43 +00:00
rogerl%netscape.com
3f8f37a462
Fixed printOperands to handle <NaR>
...
git-svn-id: svn://10.0.0.236/trunk@76929 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:07:19 +00:00
rogerl%netscape.com
cbac8d2364
Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
...
all constructors.
git-svn-id: svn://10.0.0.236/trunk@76928 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:06:52 +00:00
rogerl%netscape.com
584b358c88
r,a=beard@netscape.com. Bug #45415 , fix LiveConnect memory leak.
...
git-svn-id: svn://10.0.0.236/trunk@76902 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:31:09 +00:00
nboyd%atg.com
be0e6d98d2
Fix bug 48930: work around a MS JIT bug.
...
git-svn-id: svn://10.0.0.236/trunk@76889 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 17:04:21 +00:00
waldemar%netscape.com
d65c76bf4d
Added arguments to attributes; made 'use', 'namespace', and 'constructor' into keywords and simplified resulting grammar; merged attribute definitions into const definitions; made eval use function call syntax; renamed 'language' to 'use'.
...
git-svn-id: svn://10.0.0.236/trunk@76859 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:31:37 +00:00
waldemar%netscape.com
b50d4fceda
Added \Q escape
...
git-svn-id: svn://10.0.0.236/trunk@76858 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:29:34 +00:00
waldemar%netscape.com
9913136f52
Added line-break constraint
...
git-svn-id: svn://10.0.0.236/trunk@76857 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:29:01 +00:00
waldemar%netscape.com
7167e52443
Made terminal constraint error message more detailed
...
git-svn-id: svn://10.0.0.236/trunk@76856 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:28:01 +00:00
brendan%mozilla.org
31fe262dfa
Fix UMR on ok in JS_ResolveStandardClass (46703, r=rogerl).
...
git-svn-id: svn://10.0.0.236/trunk@76823 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:25:17 +00:00
pavel%gingerall.cz
6fe04f8f41
- JSVALToSV handles perl objects in the right way
...
git-svn-id: svn://10.0.0.236/trunk@76780 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 16:52:49 +00:00
nboyd%atg.com
1c1de668a5
Fix bug 49325.
...
git-svn-id: svn://10.0.0.236/trunk@76778 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 15:56:15 +00:00
nboyd%atg.com
4bdf743ca1
Fix class path
...
git-svn-id: svn://10.0.0.236/trunk@76777 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 15:51:57 +00:00
brendan%mozilla.org
ee6d41f982
Re-constipate JSClass.name.
...
git-svn-id: svn://10.0.0.236/trunk@76709 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 19:17:32 +00:00
jband%netscape.com
2dab0327a4
fix the warnings that went along with the last bustage fix - in case one of the compilers needs it. brendan can fix as he likes in the morning
...
git-svn-id: svn://10.0.0.236/trunk@76704 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 10:36:45 +00:00
jband%netscape.com
1d8567d550
fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@76703 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 10:22:13 +00:00
brendan%mozilla.org
75009b9c23
Move shell to DIRS from ENABLE_TESTS ifdef addition to DIRS (r=mccabe,leaf).
...
git-svn-id: svn://10.0.0.236/trunk@76700 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:41:34 +00:00
brendan%mozilla.org
3802be8867
Support lazy initialization of standard classes and their associated global functions/properties (46703, r=jband,rogerl).
...
git-svn-id: svn://10.0.0.236/trunk@76699 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:37:07 +00:00
brendan%mozilla.org
d11bf9753e
Add stub entry struct and ops for const void *keys, split out JS_DHashTableRawRemove, beefed up comments (part of 46703, r=jband).
...
git-svn-id: svn://10.0.0.236/trunk@76698 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:36:32 +00:00
cls%seawood.org
d28864bd45
Use the -n32 ABI as the default for Irix 6.x but allow the option to disable it.
...
git-svn-id: svn://10.0.0.236/trunk@76696 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:05:05 +00:00
jband%netscape.com
346250862d
Add support for -w and -s for reporting warnings and doing strict JS checking (as supported by the engine). Also update the usage info. ra=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@76683 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:28:01 +00:00
jband%netscape.com
2045a6679c
Adding better diagnostic message to help in finding and fixing mismatched calls to JS_AddNamedRoot/JS_RemoveRoot. ra=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@76681 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:25:16 +00:00
beard%netscape.com
b9a8e7093c
added debugger classes.
...
git-svn-id: svn://10.0.0.236/trunk@76680 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:42:05 +00:00
brendan%mozilla.org
b9dbc566ac
Add jsdhash.
...
git-svn-id: svn://10.0.0.236/trunk@76594 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:04:53 +00:00
nboyd%atg.com
6c5a6c1c92
Fix for bug 49302
...
git-svn-id: svn://10.0.0.236/trunk@76556 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 12:37:32 +00:00
nboyd%atg.com
1be29d3f63
Fix 49301.
...
git-svn-id: svn://10.0.0.236/trunk@76555 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 12:28:46 +00:00
rogerl%netscape.com
3c89b06dc3
Backing out fix to see if Linux build passes alivetest.
...
git-svn-id: svn://10.0.0.236/trunk@76520 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:30:57 +00:00
rogerl%netscape.com
e1d7a156e3
Bug #31255 . r,a=brendan. Once more unto the '-->' accepted as line comment
...
fix.
git-svn-id: svn://10.0.0.236/trunk@76456 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:46:04 +00:00
rogerl%netscape.com
7a6dd29961
Bug #39141 , r=mccabe, a=beard. Fix crash for empty array initializer.
...
git-svn-id: svn://10.0.0.236/trunk@76453 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:43:26 +00:00
shaver%mozilla.org
84ea4561c3
Fix 47354 and 39975 by providing a system-privileged scope backstop for
...
JS Components, and teaching the ScriptSecurityManager to check for
XPC-wrapped native objects in the scope chain when looking for an
object's principal. r=jband/a=brendan
git-svn-id: svn://10.0.0.236/trunk@76407 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:01:02 +00:00
nboyd%atg.com
0846db0ec2
Merge changes from EXP_DEBUGGER branch into tip.
...
Implements simple command-line debugger for scripts.
git-svn-id: svn://10.0.0.236/trunk@76330 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 15:54:46 +00:00
mccabe%netscape.com
9657613bc1
Fix to 39438.
...
Add a TokenStream entry to the regexp parser state so that regexps compiled at script-compilation time can report filename and line number on error.
git-svn-id: svn://10.0.0.236/trunk@76171 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 23:55:07 +00:00