Граф коммитов

1828 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com 9594ff55ad r=rginda
Make shared lib thingy configurable.
2000-03-02 23:21:04 +00:00
rogerl%netscape.com 429c1db8e9 r=brendan,rginda
Added ECMA3 compliant getter/setter syntax.
Fixed bugs
	- #28686, mishandling of \$ in replace()
	- #27902, eval not detected as heavyweight indicator for non ECMA
			context version.
2000-03-02 23:21:03 +00:00
beard%netscape.com 8875ed1f5c can't use operator new to allocate containers that use GC_allocator, because the Mac heap zone isn't scanned. 2000-03-02 21:06:36 +00:00
beard%netscape.com e6d16f593a added gc_traits_finalizable to use GC finalization facilities to call destructors. 2000-03-02 20:58:26 +00:00
cls%seawood.org 08e716cb3e Reverted part of slamm's checkin so that non-official builds (including tinderboxes) stop on errors. Changed makefiles to use gmake's -C option instead of 'cd'. 2000-03-02 12:41:47 +00:00
waldemar%netscape.com a07f1abdee *** empty log message *** 2000-03-02 03:46:10 +00:00
waldemar%netscape.com 3abb50f20b Workarounds for VC6 bugs 2000-03-02 03:43:40 +00:00
waldemar%netscape.com 31bb7ef286 Added Visual C++ workspace 2000-03-02 02:06:40 +00:00
waldemar%netscape.com 9c407890b0 *** empty log message *** 2000-03-02 02:02:58 +00:00
waldemar%netscape.com ad182ae0cb Visual C++ version 2000-03-02 01:54:49 +00:00
rogerl%netscape.com 271ec11a32 Switch to using new DToA stuff for numberToString(). 2000-03-02 00:30:01 +00:00
rogerl%netscape.com 69d4d5e142 Need to pass expressions containing unicode identifiers as split strings
since the string processing will convert the unicode sequences into regular
characters before the identifier is recognized. The fact that Monkey was
cool with this is a separate bug.
2000-03-01 23:28:14 +00:00
rogerl%netscape.com f704383014 Fix endian bug for BigInteger constructor. 2000-03-01 23:25:23 +00:00
waldemar%netscape.com 130574d5ec File Removed. 2000-03-01 23:24:20 +00:00
waldemar%netscape.com 144c5973df First Checked In. 2000-03-01 23:24:19 +00:00
rogerl%netscape.com 94975b3a1c Hmm, better do that negate. 2000-03-01 22:20:48 +00:00
rogerl%netscape.com 684459eed5 Oops, remove debugging hack. 2000-03-01 22:20:09 +00:00
rogerl%netscape.com c9d7bb356f Fixing Unicode ECMA 3 compliance issues 2000-03-01 22:15:35 +00:00
rogerl%netscape.com 0123e33bfd Fixing Unicode ECMA 3 compliance issues.
Fixed bug in $ handling for ECMA 3 (don't support \$)
2000-03-01 22:14:34 +00:00
norris%netscape.com a74b41a9c1 Fix bug 6063. 2000-03-01 21:35:38 +00:00
norris%netscape.com c2e981fdf2 Switch back to using getDeclaredMethods--I was able to get it working with a
security manager.
2000-03-01 18:26:43 +00:00
waldemar%netscape.com 5afe7c41b7 Added parser output classes 2000-03-01 07:00:31 +00:00
waldemar%netscape.com cc161a3dad Added linked list and arena destructor utilities 2000-03-01 07:00:05 +00:00
beard%netscape.com a0c7e9ebf2 importable XML project file for CWPro5 (with CWPro4 Java Tools) 2000-03-01 01:12:20 +00:00
beard%netscape.com 1a942c72f1 CWPro5 format project (using CWPro4 Java tools). 2000-03-01 01:00:38 +00:00
beard%netscape.com 5cf73aa879 added LazilyLoadedCtor.java 2000-03-01 00:57:29 +00:00
norris%netscape.com d111d58045 1. Implement a new method of Context that allows embedders to disable or clear cached items
2. Change from using Class.getDeclaredMethods to Class.getMethods since the former may cause
   security problems. Implement a cache to ameleorate the possible performance degredation.
3. Add a new class to lazily load constructors to improve performance
2000-02-29 21:35:45 +00:00
norris%netscape.com fc2ff1cb84 Remove reference to parent scope for Java methods. This was resulting in dangling
references that were never released to a large pool of objects.
2000-02-29 17:27:56 +00:00
beard%netscape.com 6a76191c91 gc_traits used to control whether a type is allocated using GC_malloc vs. GC_malloc_atomic. 2000-02-29 16:03:24 +00:00
beard%netscape.com c2f0490a2b gc_allocator test 2000-02-29 16:01:57 +00:00
beard%netscape.com 5748379d82 allocator for garbage collection 2000-02-29 01:48:02 +00:00
norris%netscape.com aea0fb6d79 Guard against possible NullPointerException if the Context has not been properly entered. 2000-02-28 18:40:34 +00:00
norris%netscape.com dfb69c7a8d Some users with JDK 1.1 but JDK 1.2 security were getting NullPointerExceptions here. 2000-02-28 18:38:37 +00:00
norris%netscape.com b5a79f600f Fix warning. 2000-02-28 18:32:19 +00:00
norris%netscape.com a54067df23 Generalize error test to catch any catches appearing after a catch-all. 2000-02-28 18:28:45 +00:00
jband%netscape.com 417094058a Fix bug 28982. Call to JS_ClearScope in property setter (e.g. window.location = "foo")
was causing defered calls to js_FreeSlot to do wild pointer writes into slots that
were no longer owned by the object. Also this improves the fix to 14462 (see note
in 28982 from brendan). r=brendan@mozilla.org a=jar@netscape.com
2000-02-26 23:47:33 +00:00
bryner%uiuc.edu 6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
norris%netscape.com 851e9b0870 Enable catchguard with new 'if' syntax.
Implement check.
2000-02-24 19:35:22 +00:00
rogerl%netscape.com 3726b9fb19 Ported toFixed, toExponential & toPrecision to NativeNumber from C sources. 2000-02-23 18:46:36 +00:00
norris%netscape.com 218d1595d0 Move JavaObjectToLong to be a conformance rather than a negative test. 2000-02-23 18:29:35 +00:00
shaver%mozilla.org 60daa8a8d1 fix #25581 (leaking JSScript, r=beard, a=waterson) 2000-02-23 06:09:04 +00:00
waldemar%netscape.com 0fca92837a Work on adding parser 2000-02-23 01:54:30 +00:00
waldemar%netscape.com fdd3317995 Added .h files to project 2000-02-23 01:53:08 +00:00
waldemar%netscape.com aa5e162709 Fixed non-DEBUG warning 2000-02-23 01:51:44 +00:00
waldemar%netscape.com 1385512113 Added arenas 2000-02-23 01:40:48 +00:00
bruce%cybersight.com e789f4a295 Fixes a memory leak. r=shaver,a=waterson 2000-02-22 22:22:02 +00:00
beard%netscape.com 1b076ba222 building into dist/liveconnect. *NOT PART OF MOZILLA BUILD* 2000-02-21 22:51:29 +00:00
waldemar%netscape.com db41e85aa9 Backed out extraneous change 2000-02-21 19:52:47 +00:00
waldemar%netscape.com ffbd92eb71 Added x86 gcc support 2000-02-21 19:49:21 +00:00
waldemar%netscape.com 2b2ab50498 Added debug flags 2000-02-21 19:48:45 +00:00
waldemar%netscape.com fe36f6f9bc Unix makefile 2000-02-19 10:03:07 +00:00
waldemar%netscape.com 51fdaf2000 Updated for GCC 2000-02-19 10:01:53 +00:00
waldemar%netscape.com 1604239c48 Fixed signed/unsigned warning 2000-02-19 09:32:45 +00:00
waldemar%netscape.com 46af6a2ba4 Fixed GCC incompatibilities 2000-02-19 09:26:59 +00:00
jband%netscape.com 2902b13e55 NOT PART OF SEAMONKEY BUILD - removed misplaced semi-colon added by toshok on 6 Sep 1999 which had converted a conditional block into a non-conditional block and made the debugger completely non functional 2000-02-19 02:34:05 +00:00
jband%netscape.com 4d59da1ce5 fix bug 28381. Make xpcshell bypass the caps security manager. dougt has looked at and used this but is not around for a 'r='. a=jar 2000-02-19 00:14:44 +00:00
norris%netscape.com c4a75c3727 Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out. 2000-02-18 17:38:11 +00:00
norris%netscape.com 656a44d953 Add equals() and equalsIgnoreCase() to the String object, at the suggestion of Tom Beauvais <tbeauvais@bowstreet.com> 2000-02-18 17:37:27 +00:00
rogerl%netscape.com 011ec66cec Added decode/encode URI handling. 2000-02-18 00:22:02 +00:00
norris%netscape.com 695ad099fa Fix cases of LiveConnected classes that have a field and methods with the same name.
Also clean up Bean properties, making implementation more efficient.
2000-02-17 22:32:37 +00:00
norris%netscape.com a0b34a5bc1 Remove untrue comment. 2000-02-17 22:31:43 +00:00
norris%netscape.com f051596d19 Update implementation version. 2000-02-17 22:31:16 +00:00
norris%netscape.com 9badc84057 Add tests for fields and methods with the same name, and for bean properties. 2000-02-17 19:28:33 +00:00
norris%netscape.com 255e39d7e2 Add to "dont-test" list. 2000-02-16 18:35:10 +00:00
norris%netscape.com 3a479188da Add support for dynamic scopes and fix remaining test failures in the tip. 2000-02-16 17:40:53 +00:00
cls%seawood.org 5d9778ac08 Temporary fix for bug #24892 2000-02-16 07:58:45 +00:00
dveditz%netscape.com f620060761 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
rginda%netscape.com 4a4e1595ae Fix for 26725, r=jband 2000-02-16 06:26:21 +00:00
rginda%netscape.com 545de1b470 Fix for JS bug 26463. r=rogerl 2000-02-16 01:02:25 +00:00
rogerl%netscape.com 0d6278177c Bug #9141, prevent recurse death for greedy matching on MAC.
r=rginda
2000-02-16 00:49:34 +00:00
norris%netscape.com 6d54dce0ca Avoid static never-released reference to streams; causes problems for Patrick Beard's use of the shell. 2000-02-15 17:08:31 +00:00
jband%netscape.com d5f3a1ff79 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
2000-02-15 06:43:51 +00:00
norris%netscape.com 4187c3d263 Fix contributors list. 2000-02-15 00:09:58 +00:00
rogerl%netscape.com adda1105ce Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
be friday or something.
Correct bug# is 26060.
2000-02-11 23:00:21 +00:00
rogerl%netscape.com 64cbad6efe r=brendan@mozilla.org
bug #26857
Fix for evaluating multi-part script prologs in advance.
2000-02-11 22:21:15 +00:00
rogerl%netscape.com 34fb934c53 r=brendan@mozilla.org
Prepare for new setter/getter syntax.
2000-02-11 22:19:33 +00:00
rogerl%netscape.com a952f351c4 r=mccabe
bug #22866
Support unicode line/paragraph separators.
2000-02-11 22:17:56 +00:00
rogerl%netscape.com 76de968c08 r=norris
Deal with precendence warning whinings
2000-02-11 22:16:55 +00:00
beard%netscape.com b49ea8f4c9 added DTOA.java 2000-02-09 23:15:27 +00:00
rogerl%netscape.com 49e2fdfbfb Changed implementation of toString(<base>) to use Waldemar's code from
SpiderMonkey.
2000-02-09 19:52:31 +00:00
mccabe%netscape.com 278d8d2829 Added comment recommending rooting of new script objects, to address problems experienced by netscape.public.mozilla.jseng developers.
Also verbiage refactory.

r=brendan
2000-02-08 01:38:20 +00:00
rogerl%netscape.com 1b01852975 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
2000-02-08 01:24:53 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
brendan%mozilla.org 8f35d9a247 Comment/cosmetic changes only (r=shaver@mozilla.org). 2000-02-07 07:28:25 +00:00
norris%netscape.com d58c9a657d Fix 18860 impossible to call applet's public methods from JavaScript
(fix from jeff.dyer@compilercompany.com, r=norris)
2000-02-06 23:34:50 +00:00
risto%netscape.com 65c0d3c80a 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
2000-02-05 07:23:36 +00:00
brendan%mozilla.org a3a7b17f1f Argh, fix stupid typo that sometimes breaks for/in loops (26595, r=jband@netscape.com). 2000-02-05 02:04:16 +00:00
brendan%mozilla.org 544df81550 Fix crash reported in bug 26595 (r=jband@netscape.com) via better compilation-frame conditioning. 2000-02-05 01:54:13 +00:00
waldemar%netscape.com c1057de79c Fixed bug 2000-02-05 00:39:58 +00:00
waldemar%netscape.com 97ff1329f4 Fixed & bugs 2000-02-04 23:54:29 +00:00
waldemar%netscape.com ed715c8685 Fixed syntax error 2000-02-04 23:54:08 +00:00
pinkerton%netscape.com 31d1e5651b oops, messed up the optimized target. now fixed. 2000-02-04 05:22:37 +00:00
pinkerton%netscape.com 7d8250392f fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
brendan%mozilla.org 1462b9a294 - 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.
2000-02-04 02:01:49 +00:00
rogerl%netscape.com ac432c6284 r=Norris
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00
waldemar%netscape.com c1326568e6 VC6 project and workspace 2000-02-03 08:27:00 +00:00
waldemar%netscape.com aef6520d4d Updated for VC6 2000-02-03 08:25:01 +00:00
jband%netscape.com 678368622b 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 2000-02-03 03:25:53 +00:00
rginda%netscape.com 03f03d45ee Uncompressed version (so it can be in your classpath on all platforms.) 2000-02-03 00:48:50 +00:00
rogerl%netscape.com 1a7b6442d8 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.
2000-02-03 00:44:03 +00:00