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

3224 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com 479d30c766 Synchronized with latest sources. 2001-04-10 07:09:43 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
nboyd%atg.com a717446397 Remove SecuritySupport code that doesn't apply to the Invoker case. 2001-04-10 01:47:50 +00:00
brendan%mozilla.org f99ab5259a Fix Function.prototype.to{Source,String} to parenthesize function objects that were expressed rather than declared (73760, r=rogerl, sr=shaver). 2001-04-10 01:10:28 +00:00
nboyd%atg.com 48141e355a Revert default of generatingDebug back to false to fix regressions. 2001-04-09 23:52:04 +00:00
nboyd%atg.com 517b2d35e4 Fix NPE. 2001-04-09 23:43:19 +00:00
jband%netscape.com 7fd9e073e2 fix bug 70360 - adding an additional gchook event. r=shaver sr=brendan. fix bug 73761 - property cache does *bad* things if accessed during finalization. sr=brendan. checkin patch from vidur regarding off-by-on in result code iteration. sr=jband on vidur's patch 2001-04-09 23:22:07 +00:00
brendan%mozilla.org 7c4a8fb64d Add __lookupGetter__ and __lookupSetter__ (71992, r=rogerl, sr=shaver). 2001-04-08 23:23:34 +00:00
shaver%mozilla.org f6998c25a6 74848: make LiveConnect objects NATIVE, to avoid startup crash, r=smfr/sr=brendan 2001-04-05 22:20:47 +00:00
dprice%netscape.com 8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
brendan%mozilla.org cd37f8447b - Add JS_GetReservedSlot, JS_SetReservedSlot, and JSCLASS_HAS_RESERVED_SLOTS(n)
to the JS API, for per class extra slots beyond JSSLOT_PRIVATE (or starting
  there for a class that lacks JSCLASS_HAS_PRIVATE).  To avoid penalizing all
  instances, these slots are allocated only upon first property-owned slot
  allocation, or upon first JS_SetReservedSlot.

  This entailed adding getRequiredSlot and setRequiredSlot hooks to the
  JSObjectOps struct, and making obj->slots self-describing, a la BSTR.  It
  also afforded me a chance to clean up obj->slots locking so that non-native
  JSObjectOps didn't risk unlocked accesses!  Now there are thread-safe hooks
  for all uses of obj.

  First consumer is the new, DOM-glue-unifying XPConnect, which needs two
  slots per wrapped function.  Hence the change to js_FunctionClass.flags'
  initializer.

- Commented the heck out of JSClass and JSObjectOps function typedefs in
  jspubtd.h.  I hope embedders see these comments!

- Fix JS_XDRValue's default case to handle int exclusively, there is no other
  possible type (and therefore no JSMSG_BAD_JVAL_TYPE error).

- Clean up tabs in select old, tab-ridden files and sections.

- s/\<fh\>/file/g for stdio FILE * canonical variable names.
2001-04-05 01:53:24 +00:00
cls%seawood.org 6b9b11db88 Fix jsmath.o related dependencies.
Bug #74707 a=jj@netscape.com
2001-04-04 21:00:11 +00:00
beard%netscape.com 70edd7de6a Configuration for Mac OS X final (Darwin 1.3) 2001-04-04 19:48:12 +00:00
brendan%mozilla.org e29e0e312d Quote reserved identifiers as well as non-lexical-identifier property ids in object literals (73598, r=jband, sr=shaver). 2001-04-04 07:45:22 +00:00
shaver%mozilla.org bda16c1f58 sigh, fix direct-inclusion-of-jsgc.h bustage in TestXPC 2001-04-04 05:53:58 +00:00
shaver%mozilla.org 29ce85e14c fixing bustage from fat-fingering before committing 2001-04-04 05:06:59 +00:00
shaver%mozilla.org 7c71f778bd 73645: use JSDHashTable for JSRuntime.gcRootsHash and .gcLocksHash.
r=waterson-the-dhash-fiend, sr=brendan-the-other-dhash-fiend
2001-04-04 04:30:41 +00:00
shaver%mozilla.org 7858a64e1c 74637: track scc's string changes, to fix infinite recursion when manipulating
a wrapped JSString. r=smfr, sr=scc.
2001-04-04 04:02:21 +00:00
rickg%netscape.com 169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
scc%mozilla.org 30235156ce fix torino bustage 2001-04-03 00:42:48 +00:00
scc%mozilla.org 70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
nboyd%atg.com a867dbf67d Subject:
Minor fix to JSDebugger
        Date:
             Wed, 28 Mar 2001 16:34:24 -0800
       From:
             Christopher Oliver <coliver@mminternet.com>
 Organization:
             Primary Interface LLC
         To:
             nboyd@atg.com




Hi Norris,

Attached is a minor fix to the JSDebugger GUI that causes the tool-bar buttons to all have the same width.
I checked out and modified a file from CVS today.  See the screenshot below.

Cheers,

Chris
2001-03-29 01:44:45 +00:00
nboyd%atg.com 8adfb2b57f Fix problem where errors wouldn't get source positions. 2001-03-28 14:42:37 +00:00
pinkerton%netscape.com c3982c4c90 allow macs with low memory to build optimized by setting the |lowmem| option. bug 72945. r=peterv/sr=shaver. 2001-03-27 23:08:32 +00:00
mkaply%us.ibm.com 4ed544fdd7 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
mkaply%us.ibm.com 03a1e715f0 OS/2 breakage - need callback 2001-03-27 16:37:01 +00:00
mkaply%us.ibm.com 685df10668 OS/2 bustage - need callback 2001-03-27 14:35:06 +00:00
nboyd%atg.com 0173c9bc63 Fix 73555. 2001-03-27 14:01:53 +00:00
pschwartau%netscape.com d13898379b Minor corrections to code and whitespace. 2001-03-27 07:53:14 +00:00
pschwartau%netscape.com a3239107a6 Minor fixes to code and whitespace. 2001-03-27 07:43:17 +00:00
pschwartau%netscape.com 5297fc374c Minor corrections to code and style - 2001-03-27 07:16:36 +00:00
shaver%mozilla.org 1426b1e1b4 correct cast to fix build bustage 2001-03-27 06:44:00 +00:00
waterson%netscape.com 08720a72b7 Fix windows bustage. 2001-03-27 06:39:05 +00:00
waterson%netscape.com 3e355a7cf3 Bug 73540. Make sure [JS|PL]DHashTable clear live entries while finalizing. Remove induction variable from [JS|PL]_DHashEnumerate() along the way. r=brendan, sr=shaver 2001-03-27 06:24:25 +00:00
shaver%mozilla.org ed22e0a7d8 50602: Add support in XPConnect for sharing of refcounted string BufferHandles,
in both directions.
72552: Remedy overzealous CHECK_REQUEST placement in jsapi.c, to produce a
       minimal-but-complete set of engine entry points that require a Request
       for safe execution.
r=brendan, sr=jband, assist=scc,pinkerton
2001-03-27 06:04:44 +00:00
pschwartau%netscape.com c728cf55e2 Initial add. Testcase for the internal [[Class]] property of Objects. 2001-03-27 05:50:08 +00:00
pschwartau%netscape.com 1260fc471b Initial add. Utility functions for testing Objects. 2001-03-27 05:48:48 +00:00
shaver%mozilla.org e4dd2dcd91 63027: Adding evalInSandbox to JS component loader script-context, to permit
JS components to execute script code with restricted privileges and
       controlled access to their (privileged) environment. r=brendan,
       sr=jband.
2001-03-27 05:35:52 +00:00
mkaply%us.ibm.com 5f5b489750 #73191
r=beard, sr=brendan
Remove CRT_CALL - change to PR_CALLBACK or JS_DLL_CALLBACK appropriately
2001-03-26 23:21:53 +00:00
pschwartau%netscape.com d01c71b92c In some shells, carriage returns are "\n"; in others, "\r\n". Look for either possibility - 2001-03-26 22:00:53 +00:00
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