Commit Graph

3184 Commits

Author SHA1 Message Date
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
dmose%netscape.com
a143fa5a57 Fix MOZ_TRACK_MODULE_DEPS bustage with --enable-xpctools (bug 72120). Only touches unix build-system. r=cls@seawood.org 2001-03-24 06:14:28 +00:00
brendan%mozilla.org
e174e2e0fe Fix old 1.4-era bogus code for setting JSPD_ARGUMENT or JSPD_VARIABLE given a heavyweight activation (68825, r=shaver, sr=jband). 2001-03-24 00:31:43 +00:00
nboyd%atg.com
53f72f3639 Fix bug 72921. 2001-03-22 21:56:12 +00:00
jband%netscape.com
44bbed25cc [Not part of mozilla build]. Fix for bug pointed out by Celso Aguiar <caguiar@Adobe.COM>. 2001-03-22 20:11:26 +00:00
brendan%mozilla.org
b0da40da16 - [jsemit.c] Fix horrid stupid bugs generating JSOP_ARGCNT and JSOP_ARGSUB,
where any occurrence of arguments.length or arguments[0], e.g., would be
  "optimized" to use those bytecodes.  This is just wrong if the occurrence
  is an operand of delete, ++, --, or the left-hand-side of an assignment
  operator!

- [jsfun.c, jsinterp.c]  args_getProperty etc. must use JS_GetInstancePrivate,
  not JS_GetPrivate, as the arguments object is exposed, and can be made a
  prototype of other objects that do not have private data, or private data
  that's a JSStackFrame*.  Same goes for fun_getProperty, js_GetArgument, etc.

- [jsfun.c, jsobj.c, jsstr.c]  No need to specialize fun_delProperty and
  str_delProperty to help convince users and ECMA conformance tests that
  fun.length and str.length are direct properties of instances, instead of
  being delegated to Function.prototype.length and String.prototype.length.
  This special case is done universally in js_DeleteProperty for all SHARED
  and PERMANENT proto-properties.

- [jshash.c]  Sneaking this followup-fix for bug 69271 in: use JS_HASH_BITS
  rather than hardcoded 32.

- [jsobj.c, jsscope.[ch]]  Fix misnamed js_HashValue (it takes a jsid, so it
  is now js_HashId).

- [jsscript.c] script_compile needs to call JS_InstanceOf, to ensure that obj
  is a Script object.
2001-03-22 02:52:42 +00:00
mkaply%us.ibm.com
b5d1baa259 #72563
r=javier, a=jband
Change some PR_CALLBACK to JS_DLL_CALLBACK and vice versa and remove IBM cruft
2001-03-21 01:35:39 +00:00
brendan%mozilla.org
d97301d838 Add JS_MapGCRoots for complete enumeration of GC roots (72465, r/sr={shaver,jband}). 2001-03-21 01:33:39 +00:00
shaver%mozilla.org
40f315f196 67797: add Components.isSuccessCode (r=jag, sr=jband) 2001-03-19 21:34:05 +00:00
brendan%mozilla.org
6138a388e4 Fix JS_ArenaRealloc to cope with alignment shift from realloc (72034, r=shaver, sr=jband, a=asa). 2001-03-16 08:06:08 +00:00
brendan%mozilla.org
206a6316cd Fix bug 69271, r=waterson, sr=shaver:
- Don't ape java.lang.String's bogo-sampling hash function for "long" (>=16
  char) strings.
- Theory and practice comment in jsdhash.h helps analyze when to use double
  hashing (most of the time) vs. when to use chaining.
- Subroutine ChangeTable from JS_DHashTableOperate so it can be called from
  JS_DHashTableEnumerate, if the latter finds that enough entries have been
  removed to be worth a shrink or compress cycle.
2001-03-14 07:42:32 +00:00
mkaply%us.ibm.com
7293463cd8 OS/2 TB break
Need calling convention
2001-03-14 05:28:27 +00:00
disttsc%bart.nl
caf305d989 Fix MOZ_TRACK_MODULE_DEPS builds (like senna) bustage, adding "necko" to REQUIRES, r=cls 2001-03-14 03:46:23 +00:00
beard%netscape.com
752a3f6947 fix Mac build bustage. 2001-03-14 03:24:20 +00:00
rginda%netscape.com
f5faf87633 fix for mac bustage, I think 2001-03-14 03:12:07 +00:00
Peter.VanderBeken%pandora.be
41ef1026fe part 3 of bug 48972 check in: mac changes. r=brendan, sr=shaver 2001-03-14 02:43:32 +00:00
rginda%netscape.com
d2be3bc932 part 2 of bug 48972 check in. peterv to check in mac changes. r=brendan, sr=shaver 2001-03-14 02:41:55 +00:00
rginda%netscape.com
92e3bfdeb7 part one of checkin for bug 48974, idl additions. sr=shaver, r= brendan 2001-03-14 02:39:23 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
pschwartau%netscape.com
1a4a8aa95b Fixing minor error in one path; and fixing whitespace. 2001-03-13 02:28:04 +00:00
pschwartau%netscape.com
e30e5c11cb Put js1_5/Regress/regress-68498-003.js on Rhino skip list. Rhino does not support indirect eval. 2001-03-13 02:10:47 +00:00
pschwartau%netscape.com
242d2dfad3 Rhino doesn't implement toSource(). Adding js1_5\Regress\regress-44009.js to skip list - 2001-03-13 02:02:32 +00:00
pschwartau%netscape.com
3b2b7aedcd Initial add. This is Norris' testcase from bug 56883. 2001-03-13 01:23:34 +00:00
pschwartau%netscape.com
6756cd1e2c Rhino doesn't allow indirect calls to eval; adding such tests to the Rhino skip list - 2001-03-12 21:09:14 +00:00
shaver%mozilla.org
fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
nboyd%atg.com
5f7badd05f Print name of function in toString 2001-03-12 19:05:36 +00:00
nboyd%atg.com
77fee58f07 Infinity/Math.min(0,-0) should produce -Infinity 2001-03-12 16:53:02 +00:00
nboyd%atg.com
dfacb25c9f Close thread hazard hole. 2001-03-12 14:55:47 +00:00
pschwartau%netscape.com
c5f6fdb14f Initial add of WINNT5.0.mk file (bug 71543). Copied from WINNT4.0.mk. 2001-03-11 04:59:23 +00:00
brendan%mozilla.org
b1bad82b83 Fix js_LookupProperty to resolve iff the resolved-in object owns its own scope (jband private bug, r=jband, sr=shaver). 2001-03-11 02:35:10 +00:00
nboyd%atg.com
f1901fba16 More changes from Igor. 2001-03-10 11:51:15 +00:00
nboyd%atg.com
4e07e9b5bf Add method to set security support after creation. 2001-03-10 11:50:50 +00:00
mkaply%us.ibm.com
cea152bf84 WIN95 build breakage vis hwaara
Since Win95 can't recursively invoke NMAKE, need fdlibm in DIRS statement
2001-03-10 00:43:00 +00:00
rogerl%netscape.com
05b771613b Fix #58031. sr=brendan. Crash in Array.prototype.toLocaleString() 2001-03-10 00:20:42 +00:00
rogerl%netscape.com
e0a0360d95 Fix #57187. sr=brendan,r=shaver. Reorder lines to avoid warning. 2001-03-10 00:17:37 +00:00
rogerl%netscape.com
b63c641dab Fix bug #56868. sr=brendan,r=mccabe. Error object [[Class]] property. 2001-03-10 00:16:32 +00:00
pschwartau%netscape.com
b44b477470 Updated JS_GetImplementationVersion() to date of latest JS release (67111, r=rginda, sr=jband). 2001-03-09 07:36:48 +00:00
mkaply%us.ibm.com
9556809498 #59855
r=pchwartau, sr=brendan
Just add an _IS_LITTLE_ENDIAN for XP_OS2 for now. Eventually, we need to figure
out how to get jstypes.h included in here, since it already has a LITTLE_ENDIAN define.
2001-03-09 04:07:15 +00:00
mkaply%us.ibm.com
a313c85544 #59855
r=pchwartau, sr=brendan
Rework makefile.win and js.mak for the eventual ability to include jstypes.h in fdlibm.h
Not turned on yet because I can't get it working right on Linux
2001-03-09 04:05:44 +00:00
mkaply%us.ibm.com
816366c8e4 #59855
r=pchwartau, sr=brendan
Get JS standalong building with Makefile.ref on Win32
2001-03-09 04:02:36 +00:00
shaver%mozilla.org
24ccdbda1f 71107: make inner-peeking properly set HEAVYWEIGHT for all outer functions (r=jband,sr=brendan) 2001-03-07 03:14:25 +00:00
pschwartau%netscape.com
3806f206fa Initial add. Regression test for bug 71107. 2001-03-07 01:30:15 +00:00
matthias%sorted.org
712e352a43 replicated SpiderMonkey fix for bug 67773 2001-03-06 13:57:01 +00:00
brendan%mozilla.org
a14dfbe234 I'm a Linux loser, warnings don't affect me. 2001-03-06 02:45:35 +00:00
brendan%mozilla.org
dfe2d8965b Death to tabs\! 2001-03-06 02:05:03 +00:00
brendan%mozilla.org
69ab37f337 bugs 31003 and (mostly) 68045, r=rogerl, sr=shaver&hyatt
- Fix bug where script jssrcnote vector terminator was not XDRed.
- Ensure that memory is cleared by serializing zero padding bytes as needed
  under JS_XDRBytes and JS_XDRString.
- Fix JS_XDRValue to handle undefined and null JS types properly (bug 31003).
  Also make it cast from jsint to uint32 and back carefully, so as to work
  with negative numbers even on targets where jsval is a signed 64 bit type.
- Add JS_XDRScript public API.
- Optimize the per-JSXDRState class registry so it uses a JSDHashTable upon
  searching for a class-id by name in an overpopulated (for linear search)
  registry table.
- Clean up API nits such as JS_XDRNewBase => JS_XDRInitBase, with parameter
  list rotation to put cx last (JS_XDRInitBase is an infallible init helper,
  not an error-reporting, cx-comes-first, API entry point).
- Fix some XXX comments, unneeded masks, other nits.
- Make sure all JS XDR API functions start with JS_XDR.
2001-03-06 01:56:30 +00:00
beard%netscape.com
78cb105183 Bug #70883, leaks in LiveConnect. sr/r=brendan 2001-03-05 15:41:12 +00:00
matthias%sorted.org
8d348ad77e * made shell.Global a subclass of ImporterTopLevel
* fixed ImporterTopLevel constructor - it now calls
cx.initStandardObjects before defining any functions. The old
constructor is still around for backwards compatibility.
2001-03-05 08:46:10 +00:00
beard%netscape.com
88aa0bfd2c fix for bug #69210, r/sr=brendan 2001-03-04 21:26:19 +00:00
beard%netscape.com
5f32ec9e35 bug #70240, sr=beard, r=brendan 2001-03-04 21:20:31 +00:00