beard%netscape.com
28f310212a
Manages interactions with outer class loaders.
...
git-svn-id: svn://10.0.0.236/trunk@80734 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 17:43:51 +00:00
brendan%mozilla.org
63292a133f
Remove not-found property caching (55624, r=shaver a=jband).
...
git-svn-id: svn://10.0.0.236/trunk@80727 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 14:38:21 +00:00
nboyd%atg.com
61afa72365
Add support for new Ant-based buildfile.
...
git-svn-id: svn://10.0.0.236/trunk@80582 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 16:26:17 +00:00
nboyd%atg.com
4ff3fec0c1
Remove reference that javadoc couldn't find
...
git-svn-id: svn://10.0.0.236/trunk@80581 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 16:25:36 +00:00
nboyd%atg.com
8da49fc983
Reformat code.
...
git-svn-id: svn://10.0.0.236/trunk@80580 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 16:25:14 +00:00
mccabe%netscape.com
555583f56a
Fix to 55117. Warn on DEBUG of any GC roots remaining at engine shutdown.
...
r=rogerl@netscape.com
a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@80489 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:55:38 +00:00
jband%netscape.com
db1c83ebf1
fix bug 55139. fix broken JSObject parenting of wrapped natives for JS components. r=shaver@mozilla.org a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@80427 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:15:43 +00:00
jband%netscape.com
10181595d5
part of bug 55139. Add debug only diagnostic code for dump JSObjects. r=shaver@mozilla.org a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@80425 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:13:53 +00:00
jband%netscape.com
127d0b4529
fix bug 55151. This fixes a trunk only regression caused by me in a previous checkin. I missed that an 'if' block contained both a report of an error (that we might want to skip) and also a few lines of necessary error handling code. r=mccabe@netscape.com a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@80424 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:13:48 +00:00
brendan%mozilla.org
8047b77647
Fix old bug that stored iter_state even after OBJ_ENUMERATE error (55201, r=rogerl, a=jband).
...
git-svn-id: svn://10.0.0.236/trunk@80391 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:43:17 +00:00
nboyd%atg.com
70a139109c
Allow superclass to appear anywhere in the list of classes in the JavaAdapter argument list.
...
git-svn-id: svn://10.0.0.236/trunk@80267 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 18:34:02 +00:00
beard%netscape.com
97df5944a1
avoid an infinite loop on EOF.
...
git-svn-id: svn://10.0.0.236/trunk@80253 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 06:23:11 +00:00
nboyd%atg.com
49ec458ad6
Avoid creating multiple wrappers.
...
git-svn-id: svn://10.0.0.236/trunk@80215 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 20:46:08 +00:00
nboyd%atg.com
ae9c9e955c
Do cheap test first.
...
git-svn-id: svn://10.0.0.236/trunk@80211 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 17:10:00 +00:00
jband%netscape.com
ffdceb7dee
Mostly submitted patches...
...
- Fix bug 54264 from Jon Smirl <jonsmirl@mediaone.net>
Do cleanup of thread local storage on main thread.
- Fix bug 54275 from Jon Smirl <jonsmirl@mediaone.net>
Release components in shell before shutting down xpcom
- Fix bug 54310 from Jon Smirl <jonsmirl@mediaone.net>
Call JS_DestroyScript in xpcshell and js.c
- Fix bug 54352 from Jon Smirl <jonsmirl@mediaone.net>
Cleanup what static data we can in xpclog.
- Initial fix of bug 54473
Don't report warnings as errors in wrapped JS calls.
- Fix bug 54462 from Mark Hammond <MarkH@ActiveState.com>
Fix jband's stupid use of uint8 for method indexes.
- Use environment rather than prefs for #ifdef'd debug options
- Don't report NS_ERROR_FACTORY_REGISTER_AGAIN as an error.
r=mccabe@netscape.com a=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 08:16:09 +00:00
mccabe%netscape.com
2dd5d88811
Propagate fix to 41872 from the standalone JS shell to the standalone XPConnect-enabled JS shell. Make warnings on by default in the standalone JS shell, and introduce the -W option to suppress warnings if needed. Retained the -w option (enable warnings) in case somebody was using it.
...
This file doesn't go into the Mozilla distribution.
r=brendan,r=jband
git-svn-id: svn://10.0.0.236/trunk@80179 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:42:29 +00:00
mccabe%netscape.com
0307c96649
Fix to 41872. Make warnings on by default in the standalone JS shell, and introduce the -W option to suppress warnings if needed. Retained the -w option (enable warnings) in case somebody was using it.
...
This file is not part of the Mozilla build.
r=brendan
git-svn-id: svn://10.0.0.236/trunk@80177 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:24:22 +00:00
nboyd%atg.com
b83be8c5eb
Allow null returns from SecuritySupport methods if someone only
...
wants to implement LiveConnect filtering
git-svn-id: svn://10.0.0.236/trunk@80143 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 13:49:47 +00:00
brendan%mozilla.org
4e4aa590e8
Fix bungled GC_KEEP_ATOMS logic (51954, r=mccabe, a=jband).
...
git-svn-id: svn://10.0.0.236/trunk@80110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:18:15 +00:00
brendan%mozilla.org
2d9eb5eb2d
Don't leave fp->sp above fp->spbase when returning, js_Invoke may GC on the way out (53123, r=mccabe, a=jband).
...
git-svn-id: svn://10.0.0.236/trunk@80109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:13:25 +00:00
cls%seawood.org
5210420bb0
Do not use c++ comments in c file. Breaks WS5.0 compiler.
...
git-svn-id: svn://10.0.0.236/trunk@80063 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 08:08:02 +00:00
mccabe%netscape.com
30978dc1d7
Fix to 54307. Patch courtesy Jon Smirl <jon@mediaone.net>.
...
Clean up several locks that jsdtoa uses, when JS_THREADSAFE.
a=brendan
r=mccabe
git-svn-id: svn://10.0.0.236/trunk@80053 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:14:32 +00:00
mccabe%netscape.com
5ab17af9a7
Remove unused function prototype.
...
r=jband
git-svn-id: svn://10.0.0.236/trunk@80048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 02:47:40 +00:00
mccabe%netscape.com
459c2f3979
Fix to 54305, free array holding fat locks. Patch courtesy Jon Smirl <jonsmirl@mediaone.net>.
...
a=brendan
r=mccabe
git-svn-id: svn://10.0.0.236/trunk@80018 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:52:27 +00:00
jband%netscape.com
218ad77245
NOT PART OF BUILD. fixing tools bustage
...
git-svn-id: svn://10.0.0.236/trunk@79970 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 10:24:36 +00:00
pschwartau%netscape.com
9bd84a2465
Adding new test case for scope check and creating js1_5 test suite.
...
git-svn-id: svn://10.0.0.236/trunk@79950 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 21:24:09 +00:00
nboyd%atg.com
0ed7fc4c54
Miscellaneous formatting changes.
...
git-svn-id: svn://10.0.0.236/trunk@79946 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:07:45 +00:00
nboyd%atg.com
d815f995a1
Drop unneeded references.
...
git-svn-id: svn://10.0.0.236/trunk@79945 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:06:47 +00:00
nboyd%atg.com
a077088af8
Fix enum.js regression.
...
git-svn-id: svn://10.0.0.236/trunk@79944 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:04:20 +00:00
waldemar%netscape.com
5dd5dfffc6
Added void and classof operators
...
git-svn-id: svn://10.0.0.236/trunk@79933 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 06:08:53 +00:00
waldemar%netscape.com
531c0dfeb8
Made implements clauses js2-only
...
git-svn-id: svn://10.0.0.236/trunk@79928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 08:15:06 +00:00
brendan%mozilla.org
22321f285c
Fix two distinct bugs with similar symptoms (53123, r=law, a=jband).
...
git-svn-id: svn://10.0.0.236/trunk@79925 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 01:26:03 +00:00
jeff.dyer%compilercompany.com
46c56443e5
#45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security.
...
git-svn-id: svn://10.0.0.236/trunk@79879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 13:48:20 +00:00
waldemar%netscape.com
7f85fa8f1a
Major revisions for Sep 18 and 21 language changes
...
git-svn-id: svn://10.0.0.236/trunk@79866 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:16:22 +00:00
waldemar%netscape.com
6abc9a93ec
Removed "constructor" keyword
...
git-svn-id: svn://10.0.0.236/trunk@79865 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:14:56 +00:00
jband%netscape.com
bfe1b51ce8
- Use the thread context service rather than our own JSContext. This makes
...
us less unthreadsafe. Use THREADSAFE nsISupports impl macro. bug 52936
- Add JS_{Begin,End}Request. bug 39373
- Call xpc->InitClass on each global - not just the superglobal. bug 52591
- Remove some gotos using auto classes for cleanup.
- Converted WITH_SERVICE calls to do_GetService.
- Consistent placement of contractID strings.
a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79709 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:30:32 +00:00
jband%netscape.com
b010fc6451
rest of the fix for bug 53268. a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@79703 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:56:42 +00:00
brendan%mozilla.org
52e543f81e
Fix 53268, r=jband.
...
git-svn-id: svn://10.0.0.236/trunk@79688 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:37:02 +00:00
rogerl%netscape.com
19dd3fd7d2
Cleanup warning fix.
...
git-svn-id: svn://10.0.0.236/trunk@79542 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:56:49 +00:00
rogerl%netscape.com
9cb4c52c59
Fixed warnings for gcc build.
...
git-svn-id: svn://10.0.0.236/trunk@79541 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:35:05 +00:00
beard%netscape.com
6530afb6ed
Fixed startup/terminate routines.
...
git-svn-id: svn://10.0.0.236/trunk@79518 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:38:23 +00:00
beard%netscape.com
b9d21d46b2
[Not part of build] Really increase default heap size, to 8192.
...
git-svn-id: svn://10.0.0.236/trunk@79502 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:50:00 +00:00
beard%netscape.com
d2cdd88fd3
Bumped up memory/stack.
...
git-svn-id: svn://10.0.0.236/trunk@79501 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:34:41 +00:00
brendan%mozilla.org
fa61a08216
Add strict warning for undefined property reference (foo.bar where bar names no object in foo or its prototypes; r=jband).
...
git-svn-id: svn://10.0.0.236/trunk@79499 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:24:11 +00:00
brendan%mozilla.org
861e26cb89
Fix JS_BeginRequest to avoid self-deadlock if called from a finalizer (52808, r=jband).
...
git-svn-id: svn://10.0.0.236/trunk@79498 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:18:17 +00:00
jband%netscape.com
238a849b3f
fix shutdown crasher bug 52940. We can't leave the thread context stack service thinking that the context we are about to delete is still valid. a,r=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@79495 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:09:48 +00:00
beard%netscape.com
f8403f8fec
Create SIOUX console with menus, etc. r=jband, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@79481 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:49:46 +00:00
brendan%mozilla.org
8619f05fe8
Censor all Call objects, per ECMA-262 (r=rogerl, 53037).
...
git-svn-id: svn://10.0.0.236/trunk@79480 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:35:22 +00:00
brendan%mozilla.org
523ce70589
- Fix encodeURI, decodeURI, etc. common subroutines to avoid realloc'ing char
...
by char, by using a larger chunk size (64 chars) for linear growth. Also got
rid of ASCII-oriented add_bytes subroutine and related sprintf usage.
- Avoid reloading loop invariant str->chars all the time in encode and decode.
- Avoid creating garbage strings for unescaped and reserved character sets, by
using statically initialized jschar array constants.
- Expand tabs, clean up 80th column violations, use prevailing style, etc.
git-svn-id: svn://10.0.0.236/trunk@79467 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:17:30 +00:00
nboyd%atg.com
0e00432009
Expand javadoc.
...
git-svn-id: svn://10.0.0.236/trunk@79432 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:38:02 +00:00