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

1705 Коммитов

Автор SHA1 Сообщение Дата
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
mccabe%netscape.com 79ebcf1cfb Changes to allow Spider Monkey to be compiled under C++.
Courtesy Bill Gibbons <bill@gibbons.org>

His comments:

Here are the changes to JSRef to make it compile either as C or C++. Mostly the changes are to add missing casts (since C++ doesn't have implict conversion from void* to other pointer types nor implicit casts from ints to enumerations) plus a few random things like the use of "private" as a variable name.

There are a few other minor bug fixes; in particular:

  * A long statement with and'ed conditions is reformatted to make it easier to remove other builtin objects (e.g. Date).

  * A #if was added to jsscript.c for the JS_HAS_SCRIPT_OBJECT off case.

  * In jsmath a #ifdef was changed to #if.

My notes also mention...

  * jsobj.c should include jsopcode.h

  * jsfun.c - doesn't link if JS_HAS_ARGS_OBJECT is off

  * jsarray.c - a reference to js_ValueToSource should be conditional on JS_HAS_TOSOURCE

r=mccabe
2000-02-02 01:10:31 +00:00
rginda%netscape.com 1d924eef6a Fix bitrot in RhinoEnv.java and DataTypes_017.java.
fresh build of jstests.jar
2000-02-02 00:57:03 +00:00
norris%netscape.com 131271ae68 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
rginda%netscape.com a1985df10f initial add 2000-02-02 00:22:23 +00:00
rginda%netscape.com 14d480a8f6 fresh build 2000-02-02 00:18:57 +00:00
rginda%netscape.com 2f5c2fe68d initial add of compiled testdriver 2000-02-01 22:48:52 +00:00
jband%netscape.com ba8be566fd trivial block scope loop counter variable rename to squelch shadow warning.r=jband 2000-02-01 10:53:34 +00:00
mccabe%netscape.com 94158a3912 Warning fixes. (Found one semantic problem in nsCLiveconnect.cpp)
r=mozbot
2000-02-01 09:12:58 +00:00
jband%netscape.com 321d0f8624 add improved support for dumping the JS stack from the native debugger or using the 'debugger' statement in JavaScript. Doc coming to the mozilla site soon. r=mccabe 2000-02-01 08:48:17 +00:00
jband%netscape.com 669ded1e87 added files: mozilla/js/src/xpconnect/src/xpcdebug.cpp 2000-02-01 08:48:00 +00:00
norris%netscape.com e19ea68179 Fix use of unsupported typedef.
r=Jerry.Kirk@Nexwarecorp.com
2000-01-31 23:10:12 +00:00
norris%netscape.com 80ced8d288 Remove unused private method. 2000-01-31 18:49:07 +00:00
waldemar%netscape.com 8fa12341dc Added numerics.cpp 2000-01-29 08:25:59 +00:00
waldemar%netscape.com 641ea32367 Fixed NOT_REACHED 2000-01-29 08:25:36 +00:00
waldemar%netscape.com 17fc0df39c Added NATIVE_INT64 flag 2000-01-29 08:25:02 +00:00