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

1820 Коммитов

Автор SHA1 Сообщение Дата
waldemar%netscape.com 90841bc4f5 *** empty log message *** 2000-03-02 02:02:58 +00:00
waldemar%netscape.com 82e0a78bbf Visual C++ version 2000-03-02 01:54:49 +00:00
rogerl%netscape.com 95c0fa78cd Switch to using new DToA stuff for numberToString(). 2000-03-02 00:30:01 +00:00
rogerl%netscape.com 3c768b3595 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 27bf8b62c9 Fix endian bug for BigInteger constructor. 2000-03-01 23:25:23 +00:00
waldemar%netscape.com af3eb40851 File Removed. 2000-03-01 23:21:46 +00:00
waldemar%netscape.com 304cd1ed29 First Checked In. 2000-03-01 23:20:12 +00:00
rogerl%netscape.com ef2e5e54d8 Hmm, better do that negate. 2000-03-01 22:20:48 +00:00
rogerl%netscape.com 748b87a17e Oops, remove debugging hack. 2000-03-01 22:20:09 +00:00
rogerl%netscape.com a008ae5e92 Fixing Unicode ECMA 3 compliance issues 2000-03-01 22:15:35 +00:00
rogerl%netscape.com e151b3c183 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 5f47eeafb0 Fix bug 6063. 2000-03-01 21:35:38 +00:00
norris%netscape.com b83c29fdca 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 3343bc84e0 Added parser output classes 2000-03-01 07:00:31 +00:00
waldemar%netscape.com 3c5779cbdb Added linked list and arena destructor utilities 2000-03-01 07:00:05 +00:00
beard%netscape.com 08212e4ea0 importable XML project file for CWPro5 (with CWPro4 Java Tools) 2000-03-01 01:12:20 +00:00
beard%netscape.com fa18215c91 CWPro5 format project (using CWPro4 Java tools). 2000-03-01 01:00:38 +00:00
beard%netscape.com f110483063 added LazilyLoadedCtor.java 2000-03-01 00:57:29 +00:00
norris%netscape.com 6263da13e6 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 892c58dabf 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 5affa1af78 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 3a408c8323 gc_allocator test 2000-02-29 16:01:57 +00:00
beard%netscape.com 186f182de8 allocator for garbage collection 2000-02-29 01:48:02 +00:00
norris%netscape.com 27fe170e77 Guard against possible NullPointerException if the Context has not been properly entered. 2000-02-28 18:40:34 +00:00
norris%netscape.com b3abf5ad73 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 878bf1fad6 Fix warning. 2000-02-28 18:32:19 +00:00
norris%netscape.com b7b070831b Generalize error test to catch any catches appearing after a catch-all. 2000-02-28 18:28:45 +00:00
jband%netscape.com bec540695e 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 bbfe27364b 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 c66aafca3a Enable catchguard with new 'if' syntax.
Implement check.
2000-02-24 19:35:22 +00:00
rogerl%netscape.com b7638d4d26 Ported toFixed, toExponential & toPrecision to NativeNumber from C sources. 2000-02-23 18:46:36 +00:00
norris%netscape.com a85fa9f811 Move JavaObjectToLong to be a conformance rather than a negative test. 2000-02-23 18:29:35 +00:00
shaver%mozilla.org 5deb3eee46 fix #25581 (leaking JSScript, r=beard, a=waterson) 2000-02-23 06:09:04 +00:00
waldemar%netscape.com b0e0b87f08 Work on adding parser 2000-02-23 01:54:30 +00:00
waldemar%netscape.com 8ebb1df155 Added .h files to project 2000-02-23 01:53:08 +00:00
waldemar%netscape.com a0acd5a160 Fixed non-DEBUG warning 2000-02-23 01:51:44 +00:00
waldemar%netscape.com 4239da4d1e Added arenas 2000-02-23 01:40:48 +00:00
bruce%cybersight.com ad45d64472 Fixes a memory leak. r=shaver,a=waterson 2000-02-22 22:22:02 +00:00
beard%netscape.com 13332c133b building into dist/liveconnect. *NOT PART OF MOZILLA BUILD* 2000-02-21 22:51:29 +00:00
waldemar%netscape.com d58243bab1 Backed out extraneous change 2000-02-21 19:52:47 +00:00
waldemar%netscape.com 6839cfa61f Added x86 gcc support 2000-02-21 19:49:21 +00:00
waldemar%netscape.com a701bf114d Added debug flags 2000-02-21 19:48:45 +00:00
waldemar%netscape.com f93144b04b Unix makefile 2000-02-19 10:03:07 +00:00
waldemar%netscape.com c1153ce581 Updated for GCC 2000-02-19 10:01:53 +00:00
waldemar%netscape.com fd5730911e Fixed signed/unsigned warning 2000-02-19 09:32:45 +00:00
waldemar%netscape.com 4f6ade43db Fixed GCC incompatibilities 2000-02-19 09:26:59 +00:00
jband%netscape.com 3041f6ac4e 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 0ffe9d5214 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 97b2229648 Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out. 2000-02-18 17:38:11 +00:00
norris%netscape.com 0a702e28d6 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 d72f2d137f Added decode/encode URI handling. 2000-02-18 00:22:02 +00:00
norris%netscape.com 7c93fc996d 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 dd21b7e32d Remove untrue comment. 2000-02-17 22:31:43 +00:00
norris%netscape.com aefac0c5f0 Update implementation version. 2000-02-17 22:31:16 +00:00
norris%netscape.com ef296d762f 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 53f217c2b8 Add to "dont-test" list. 2000-02-16 18:35:10 +00:00
norris%netscape.com b73bd41b86 Add support for dynamic scopes and fix remaining test failures in the tip. 2000-02-16 17:40:53 +00:00
cls%seawood.org 89d57d0dd8 Temporary fix for bug #24892 2000-02-16 07:58:45 +00:00
dveditz%netscape.com dc71859afb registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
rginda%netscape.com 06d4a1efb7 Fix for 26725, r=jband 2000-02-16 06:26:21 +00:00
rginda%netscape.com 40e551de92 Fix for JS bug 26463. r=rogerl 2000-02-16 01:02:25 +00:00
rogerl%netscape.com 297c0ad32a Bug #9141, prevent recurse death for greedy matching on MAC.
r=rginda
2000-02-16 00:49:34 +00:00
norris%netscape.com 2029e26895 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 047f41715b 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 711b1a24cc Fix contributors list. 2000-02-15 00:09:58 +00:00
rogerl%netscape.com 318f0369a0 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 db94be8b0b 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 ed4a19ac7b r=brendan@mozilla.org
Prepare for new setter/getter syntax.
2000-02-11 22:19:33 +00:00
rogerl%netscape.com d632ed5956 r=mccabe
bug #22866
Support unicode line/paragraph separators.
2000-02-11 22:17:56 +00:00
rogerl%netscape.com c090d759bc r=norris
Deal with precendence warning whinings
2000-02-11 22:16:55 +00:00
beard%netscape.com 8068795290 added DTOA.java 2000-02-09 23:15:27 +00:00
rogerl%netscape.com 04e79bc44a Changed implementation of toString(<base>) to use Waldemar's code from
SpiderMonkey.
2000-02-09 19:52:31 +00:00
mccabe%netscape.com d38a48ba5a 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 accca6ac13 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 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
brendan%mozilla.org 6c650cca5d Comment/cosmetic changes only (r=shaver@mozilla.org). 2000-02-07 07:28:25 +00:00
norris%netscape.com 968aa458f4 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 b011c9aaf1 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 cd95a8bb37 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 8d4074ad39 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 9a3054bba5 Fixed bug 2000-02-05 00:39:58 +00:00
waldemar%netscape.com 8cc88bfb5a Fixed & bugs 2000-02-04 23:54:29 +00:00
waldemar%netscape.com b7990b4910 Fixed syntax error 2000-02-04 23:54:08 +00:00
pinkerton%netscape.com df598e0b9f oops, messed up the optimized target. now fixed. 2000-02-04 05:22:37 +00:00
pinkerton%netscape.com ca825bef77 fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
brendan%mozilla.org f70f30872e - 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 d6177ed1aa r=Norris
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00
waldemar%netscape.com 58d5f8fec3 VC6 project and workspace 2000-02-03 08:27:00 +00:00
waldemar%netscape.com 5acd2ebc45 Updated for VC6 2000-02-03 08:25:01 +00:00
jband%netscape.com 610d83d7b1 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 71150b6069 Uncompressed version (so it can be in your classpath on all platforms.) 2000-02-03 00:48:50 +00:00
rogerl%netscape.com 8320a45b74 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
rginda%netscape.com 03db56724d Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js 2000-02-02 20:21:34 +00:00
waldemar%netscape.com 0a7d68a759 Turned off optimizations and inlining in debug build 2000-02-02 08:51:16 +00:00
waldemar%netscape.com 0c26dbf247 Changed to match parser.h 2000-02-02 08:50:54 +00:00
waldemar%netscape.com c1d408f4ee Added ArrayAutoPtr and reworked cstring -> String conversions 2000-02-02 08:50:26 +00:00
waldemar%netscape.com 8ed7282c18 Added parsing of numerals and token printing 2000-02-02 08:48:40 +00:00
waldemar%netscape.com 1216266a7a Cleaned up and added String routines 2000-02-02 08:47:54 +00:00
waldemar%netscape.com 666c772717 Added lexer call 2000-02-02 08:47:03 +00:00
waldemar%netscape.com 969ef01100 Fixed bug 2000-02-02 08:46:36 +00:00