1849 Commits

Author SHA1 Message Date
norris%netscape.com
6fa66f0fbf Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@61303 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 17:38:11 +00:00
norris%netscape.com
ace24c0613 Add equals() and equalsIgnoreCase() to the String object, at the suggestion of Tom Beauvais <tbeauvais@bowstreet.com>
git-svn-id: svn://10.0.0.236/trunk@61302 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 17:37:27 +00:00
rogerl%netscape.com
953cb1b9d4 Added decode/encode URI handling.
git-svn-id: svn://10.0.0.236/trunk@61254 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:22:02 +00:00
norris%netscape.com
8d1cff6594 Fix cases of LiveConnected classes that have a field and methods with the same name.
Also clean up Bean properties, making implementation more efficient.


git-svn-id: svn://10.0.0.236/trunk@61235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:32:37 +00:00
norris%netscape.com
330ce860f8 Remove untrue comment.
git-svn-id: svn://10.0.0.236/trunk@61234 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:31:43 +00:00
norris%netscape.com
ebfb18f5e2 Update implementation version.
git-svn-id: svn://10.0.0.236/trunk@61233 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:31:16 +00:00
norris%netscape.com
183d590857 Add tests for fields and methods with the same name, and for bean properties.
git-svn-id: svn://10.0.0.236/trunk@61209 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 19:28:33 +00:00
norris%netscape.com
756f91f2b6 Add to "dont-test" list.
git-svn-id: svn://10.0.0.236/trunk@61136 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 18:35:10 +00:00
norris%netscape.com
09350fcf30 Add support for dynamic scopes and fix remaining test failures in the tip.
git-svn-id: svn://10.0.0.236/trunk@61135 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 17:40:53 +00:00
cls%seawood.org
68b542e781 Temporary fix for bug #24892
git-svn-id: svn://10.0.0.236/trunk@61119 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:58:45 +00:00
dveditz%netscape.com
9f13883da5 registry speed ups (part of 12817)
git-svn-id: svn://10.0.0.236/trunk@61112 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:45:20 +00:00
rginda%netscape.com
caa642de2a Fix for 26725, r=jband
git-svn-id: svn://10.0.0.236/trunk@61089 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:26:21 +00:00
rginda%netscape.com
7bc8a3298e Fix for JS bug 26463. r=rogerl
git-svn-id: svn://10.0.0.236/trunk@60990 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:02:25 +00:00
rogerl%netscape.com
46789026f0 Bug #9141, prevent recurse death for greedy matching on MAC.
r=rginda


git-svn-id: svn://10.0.0.236/trunk@60982 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:49:34 +00:00
norris%netscape.com
4505665f23 Avoid static never-released reference to streams; causes problems for Patrick Beard's use of the shell.
git-svn-id: svn://10.0.0.236/trunk@60895 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 17:08:31 +00:00
jband%netscape.com
c87818af7f Reimplement the Components.[ID,Exception,Constructor] properties in C++. These
things were completely unusable due to security restriction in anything besides
xpcshell. This fixes bug 26879 and helps a lot for bug 8700 because is reduces
the work done for JSContext creation.

Also, ease the burden of xptcall porters by doing IS_COMPONENT for all unix platforms.

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@60819 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 06:43:51 +00:00
norris%netscape.com
2843476366 Fix contributors list.
git-svn-id: svn://10.0.0.236/trunk@60751 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 00:09:58 +00:00
rogerl%netscape.com
906664fef9 Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
be friday or something.
Correct bug# is 26060.


git-svn-id: svn://10.0.0.236/trunk@60528 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:00:21 +00:00
rogerl%netscape.com
55516c09bf r=brendan@mozilla.org
bug #26857
Fix for evaluating multi-part script prologs in advance.


git-svn-id: svn://10.0.0.236/trunk@60514 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:21:15 +00:00
rogerl%netscape.com
5433804427 r=brendan@mozilla.org
Prepare for new setter/getter syntax.


git-svn-id: svn://10.0.0.236/trunk@60513 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:19:33 +00:00
rogerl%netscape.com
c31ce73e9e r=mccabe
bug #22866
Support unicode line/paragraph separators.


git-svn-id: svn://10.0.0.236/trunk@60512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:17:56 +00:00
rogerl%netscape.com
fb68bd916d r=norris
Deal with precendence warning whinings


git-svn-id: svn://10.0.0.236/trunk@60510 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:16:55 +00:00
beard%netscape.com
b701e23042 added DTOA.java
git-svn-id: svn://10.0.0.236/trunk@60257 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 23:15:27 +00:00
rogerl%netscape.com
2da230d083 Changed implementation of toString(<base>) to use Waldemar's code from
SpiderMonkey.


git-svn-id: svn://10.0.0.236/trunk@60249 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:52:31 +00:00
mccabe%netscape.com
e704ac16c8 Added comment recommending rooting of new script objects, to address problems experienced by netscape.public.mozilla.jseng developers.
Also verbiage refactory.

r=brendan


git-svn-id: svn://10.0.0.236/trunk@60031 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:38:20 +00:00
rogerl%netscape.com
b0fb5acb33 r=brendan@mozilla.org
Bug #14462, lot's of discussin there about these changes, but here's
Brendan's description :
In order, changes in the patch are:

- Rename JSSLOT_ITR_STATE to be JSSLOT_ITER_STATE (avoid cybercrud abbreviation
as cbrcrd, no more six-char id limits!).

- Property cache tests must occur with the object's scope-lock held, to close a
race with delete (js_DestroyProperty, always called with the property's scope
locked).  Once the cache has been hit, and before the lock is released, the
property's refcount must be bumped.  This requires re-acquisition of the lock
and js_DropScopeProperty afterward.

- Reworked js_FindProperty to use a do-while loop, as cx->fp->scopeChain must be
non-null.  This avoids a gratuitous lastobj init done to "Suppress gcc warning"
in the old revision.

- Akin to the property cache hit cases in jsinterp.c and jsobj.c's
js_FindProperty, code to hold and drop the scope-property by its refcount that
was #ifdef JS_THREADSAFE must be unconditional, now that user-defined getters
and setters may delete the property id they're getting or setting.

- Fixed overlong continuation line in jsobj.h.

/be


git-svn-id: svn://10.0.0.236/trunk@60025 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:24:53 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
brendan%mozilla.org
87115d646b Comment/cosmetic changes only (r=shaver@mozilla.org).
git-svn-id: svn://10.0.0.236/trunk@59979 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 07:28:25 +00:00
norris%netscape.com
664c955bc3 Fix 18860 impossible to call applet's public methods from JavaScript
(fix from jeff.dyer@compilercompany.com, r=norris)


git-svn-id: svn://10.0.0.236/trunk@59959 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 23:34:50 +00:00
risto%netscape.com
d9a18e2f49 Changing all cvs-mirror.mozilla.org references to point to politically
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.

r=bryner


git-svn-id: svn://10.0.0.236/trunk@59873 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 07:23:36 +00:00
brendan%mozilla.org
54225d3ee2 Argh, fix stupid typo that sometimes breaks for/in loops (26595, r=jband@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@59831 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 02:04:16 +00:00
brendan%mozilla.org
2e5e3a4050 Fix crash reported in bug 26595 (r=jband@netscape.com) via better compilation-frame conditioning.
git-svn-id: svn://10.0.0.236/trunk@59830 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 01:54:13 +00:00
waldemar%netscape.com
1c777522b9 Fixed bug
git-svn-id: svn://10.0.0.236/trunk@59814 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 00:39:58 +00:00
waldemar%netscape.com
2b6f70d530 Fixed & bugs
git-svn-id: svn://10.0.0.236/trunk@59811 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:54:29 +00:00
waldemar%netscape.com
00f4b3f751 Fixed syntax error
git-svn-id: svn://10.0.0.236/trunk@59810 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:54:08 +00:00
pinkerton%netscape.com
d00dd9a869 oops, messed up the optimized target. now fixed.
git-svn-id: svn://10.0.0.236/trunk@59741 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 05:22:37 +00:00
pinkerton%netscape.com
cb0d0da5e1 fix the access paths for pro5 migration. r=macdev.
git-svn-id: svn://10.0.0.236/trunk@59731 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:27:36 +00:00
brendan%mozilla.org
43d1d6a141 - Eliminate ancient, bogus proxying of function object for its call objects (23346, r=jband@netscape.com).
- Tabs expanded as much as I could stand, without taking too much cvsblame.


git-svn-id: svn://10.0.0.236/trunk@59716 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:01:49 +00:00
rogerl%netscape.com
42e8ee5441 r=Norris
License updating, bug#15529, continuing.


git-svn-id: svn://10.0.0.236/trunk@59693 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 00:08:13 +00:00
waldemar%netscape.com
5e45870b0a VC6 project and workspace
git-svn-id: svn://10.0.0.236/trunk@59640 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 08:27:00 +00:00
waldemar%netscape.com
746b82680a Updated for VC6
git-svn-id: svn://10.0.0.236/trunk@59639 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 08:25:01 +00:00
jband%netscape.com
55b4443d06 fix XPCContext leak bug 25911 r=beard. fix DOM wrapping case where static called object does not have a static DOM scope, but is run in a DOM context; e.g. calling a JS component from within a window that calls some native service that returns a DOM window - the serive is not a DOm object and has no static DOm scope, but the call is made on a DOM context so a dynamic lookup works. r=mscott
git-svn-id: svn://10.0.0.236/trunk@59613 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:25:53 +00:00
rginda%netscape.com
be37478ee3 Uncompressed version (so it can be in your classpath on all platforms.)
git-svn-id: svn://10.0.0.236/trunk@59584 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:48:50 +00:00
rogerl%netscape.com
5df6bd4346 r=norris
Bug#24712, regexp greedy recursing wasn't handling zero kid back-tracked
state nor re-setting parenCount correctly.
Added license junk for bug#15529 (continuing).
Fix type-mismatch warning in jsstr.c
Switched off DEBUG only use of fd_pow under Windows.


git-svn-id: svn://10.0.0.236/trunk@59582 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:44:03 +00:00
rginda%netscape.com
2c322a7c7b Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js
git-svn-id: svn://10.0.0.236/trunk@59533 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 20:21:34 +00:00
waldemar%netscape.com
7c96eeaee4 Turned off optimizations and inlining in debug build
git-svn-id: svn://10.0.0.236/trunk@59516 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:51:16 +00:00
waldemar%netscape.com
dac645273e Changed to match parser.h
git-svn-id: svn://10.0.0.236/trunk@59515 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:50:54 +00:00
waldemar%netscape.com
221ea5fed5 Added ArrayAutoPtr and reworked cstring -> String conversions
git-svn-id: svn://10.0.0.236/trunk@59514 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:50:26 +00:00
waldemar%netscape.com
43fa4b73e9 Added parsing of numerals and token printing
git-svn-id: svn://10.0.0.236/trunk@59513 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:48:40 +00:00
waldemar%netscape.com
45cdb36b26 Cleaned up and added String routines
git-svn-id: svn://10.0.0.236/trunk@59512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:47:54 +00:00