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

7645 Коммитов

Автор SHA1 Сообщение Дата
ramiro%netscape.com 92c6dafaec Use real XtCallbacks instead of a hack. 1998-09-08 12:22:21 +00:00
ramiro%netscape.com b00abf5b3c Add layable children info. 1998-09-08 12:15:55 +00:00
ramiro%netscape.com 9b2b711b98 Add XfeSubResourceGetWidgetXmStringValue(). 1998-09-08 11:59:26 +00:00
brendan%netscape.com 40006025df Oops! How did that ever work on my Win32 build? 1998-09-08 05:49:12 +00:00
brendan%netscape.com f8bbc56e36 js.c jsemit.c jsemit.h jsgc.c jsinterp.c jsopcode.c jsopcode.def
- Switch improvements:
  - JSOP_CONDSWITCH is a 1 byte nop, not variable length with the same kind
    of immediate operand as JSOP_LOOKUPSWITCH (which is useless except for
    decompilation).  New scheme uses SRC_COMMA notes on each JSOP_CASE opcode,
    usually 2 bytes per note, and a typically-1-byte 2nd offset on SRC_SWITCH:
      1 + 2 * ncases
    vs. the previous JSOP_LOOKUPSWITCH immediate, which consumed:
      4 * ncases
    bytes after the switch opcode just for decompilation.
  - SRC_SWITCH has two offsets, first to end of switch as before, the second
    to first case if JSOP_CONDSWITCH, for decompilation.
  - Optimize switches with all-constant cases using JSOP_TABLESWITH, or if
    that can't be used, JSOP_LOOKUPSWITCH, before falling back on ECMAv2's
    JSOP_CONDSWITCH.
  - Use cx->gcDisabled when evaluating case exprs at compile time for old,
    pre-ECMAv2 switches, to prevent branch-callback-based GC invocations
    from ripping apart the unrooted temporary script for each case expr.
  - Fixed up stale SRC_SWITCH comments in jsemit.h.

jsemit.c jsemit.h
  - TREE_CONTEXT_INIT to match ATOM_LIST_INIT, not English word order.
  - Reorganized JSCodeGenerator to sort of match argument order to
    js_InitCodeGenerator.
  - Got rid of confusing CG_RESET* macros and used memset(cg, 0, sizeof *cg)
    and non-zero-default init in js_InitCodeGenerator.  js_ResetCodeGenerator
    just releases the code and temp arena pools and leaves the cg in a state
    where it must be re-initialized (as before, but more obvious).
  - In the same spirit, don't do partial "resets" or src and trynotes in their
    js_FinishTaking*Notes functions -- those are friends of jsscript.c and are
    not general, idempotent functions.

jsapi.c jsapi.h jsarray.c jsatom.c jsatom.h jscntxt.c jsemit.c jsmsg.def
jsnum.c jsobj.c jsopcode.c jsregexp.c jsscan.c jsstr.c jsxdrapi.
  - Use PR_snprintf rather than sprintf always, so we don't have to worry
    about systems with 64-bit longs that overflow 12-byte buffers and open
    Morris-Worm-type security holes.
  - Trim extra spaces, fix hanging indentation, and similar anal retention.
  - Renamed JSMSG_BAD_PROTO_SORT to JSMSG_BAD_SORT_ARG cuz that's what it
    is complaining about.
  - SRC_CATCHGUARD still lived in comments, but it's SRC_CATCH in code.

jscntxt.c jscntxt.h jsinterp.c
  - Packed nearby JSPackedBools and added a new one: gcDisabled, for use by
    jsemit.c's pre-ECMAv2 switch case expr eval.
  - Rip out old js_InterpreterHooks stuff from original liveconnect (moja).
  - Remove javaData and savedErrors from JSContext.  Leaving it to fur or
    shaver to remove javaData from jsscript.h.
1998-09-08 05:39:51 +00:00
cls%seawood.org 97fe5038d8 Changed EDITOR env to MOZ_EDITOR. Submitted by Tim Rowley <tor@cs.brown.edu> 1998-09-08 04:52:26 +00:00
cls%seawood.org b50f8d55a9 Unset NO_EDITOR when mail-compose is enabled and removed unused variables. 1998-09-08 03:57:15 +00:00
cls%seawood.org 5885fd71da Made sure CC is being passed down to detect scripts. 1998-09-08 03:50:42 +00:00
cls%seawood.org a12f997037 Removed unused variables. 1998-09-08 03:45:34 +00:00
cls%seawood.org 71de1017e2 Let user set CC & CXX to propagate the c and c++ compiler throughout the main build. 1998-09-08 03:33:40 +00:00
briano%netscape.com e23030cebb Deleting the 'patcher' subdir from DIRS. Not used. 1998-09-08 03:12:37 +00:00
raman%netscape.com 78f11963f9 Checking bug fixes for SmartUpdate. It is not part of the build system 1998-09-07 21:49:56 +00:00
kipp%netscape.com bed4212b55 Allocated another IID 1998-09-07 19:15:41 +00:00
kipp%netscape.com 14f368b295 Added GetHints to nsIRenderingContext API 1998-09-07 19:12:44 +00:00
shaver%netscape.com 1b8a52cf14 remove some unbelievably dump debugging code (I no longer randomly dump core) 1998-09-07 18:50:13 +00:00
sdagley%netscape.com 70e3c96e43 Add new Privacy prefs sub-pane under Navifator, move cookie settings there (trusted cookie checkbox and config button not implemented yet), add new prefs checkbox for saving name and password, add new prefs checkbox for warning when server has no privacy policy. 1998-09-07 06:04:24 +00:00
toshok%netscape.com 8241003a21 uhh... remove xphist.* from the build. 1998-09-06 22:03:50 +00:00
toshok%netscape.com 923f34b7f7 add xp_hist.c/h. not built. 1998-09-06 22:03:12 +00:00
toshok%netscape.com 1e07a3223d we need lo_alignStrings when we don't have memory arenas too. not just when EDITOR is defined. 1998-09-06 21:00:43 +00:00
ramiro%netscape.com 05938d1eea BSD/OS 3.x and 4.x no longer define ___386BSD__ (which really existed
only for backward compatibility with the old Jolitz BSD releases).
Anyways, this patch makes it compile again.
Thanks to Bert Driehuis <driehuis@playbeing.org>.
1998-09-06 19:42:08 +00:00
ramiro%netscape.com 5a05803c8b Convert '/' to '_' in the output of uname.
Thanks to Bert Driehuis <driehuis@playbeing.org>.
1998-09-06 19:40:05 +00:00
brendan%netscape.com 46aa885dda Remove '(balance' comments, fix hanging indents, other nits. 1998-09-06 19:23:06 +00:00
brendan%netscape.com 609066b387 Fix switch comments, it's not a ternary node any longer. 1998-09-06 19:19:04 +00:00
terry%netscape.com 4c91268bc4 Chouck isn't here; fix owner of LibMocha. 1998-09-06 15:03:41 +00:00
brendan%netscape.com ecee262fc9 - Use consistent spelling in the API: "Callback" not "CallBack" -- it's a one
word neologism, not two words.
- Use consistent neighboring terseness ("error" rather than "err" in intercaps
  identifiers).
- Don't leave pointers in JSErrorReport to freed memory if bailing on OOM in
  jscntxt.c:js_ExpandErrorArguments.
- Hanging indentation, code fusion via continue, and other misc. cleanups.
1998-09-06 08:07:35 +00:00
kipp%netscape.com 61611f7457 Fixed linux compiling bugs 1998-09-06 04:16:22 +00:00
kipp%netscape.com 0c82a0be08 Updated to support latest API's 1998-09-06 00:21:40 +00:00
kipp%netscape.com 2ad3f46c7a Create text using NS_NewTextNode API 1998-09-06 00:21:22 +00:00
kipp%netscape.com 8b636969ce Use nsITextContent to initialize text node 1998-09-06 00:20:59 +00:00
kipp%netscape.com 82cc65979e Cleaned up some whitespace 1998-09-06 00:19:49 +00:00
kipp%netscape.com c60bfd6b7d Expose NS_QuoteForHTML; remove duplicate frame ctor method decls 1998-09-06 00:19:14 +00:00
kipp%netscape.com 0b5a4b9013 Layer on top of nsGenericDOMData for full implementation 1998-09-06 00:18:43 +00:00
kipp%netscape.com ff90fc5738 Added nsTextNode 1998-09-06 00:18:26 +00:00
kipp%netscape.com 1534e59e9e Nuked old content code 1998-09-06 00:18:12 +00:00
kipp%netscape.com ee91dcd8d9 Removed some cruft; added NS_NewTextNode 1998-09-06 00:17:30 +00:00
kipp%netscape.com 8a91f40acf new 1998-09-06 00:16:36 +00:00
troy%netscape.com 57985dd0dc Reserved an IID 1998-09-06 00:15:45 +00:00
kipp%netscape.com eb23d4b11d Use allocated IID; update interface to be XPCOM'd and updated the methods 1998-09-06 00:15:10 +00:00
kipp%netscape.com e626e4021d Allocated iid for nsITextContent 1998-09-05 23:28:08 +00:00
kipp%netscape.com 86f83878fd Added a macro and normalized auto-string initialization; reordered methods slightly just to annoy rickg :-) 1998-09-05 23:21:42 +00:00
cls%seawood.org 8fecf096df Removed libaddr and libmsg Makefile.ins 1998-09-05 23:17:44 +00:00
cls%seawood.org 416565adb4 Added missing / to command.c target. 1998-09-05 21:35:59 +00:00
michaelp%netscape.com a8320310e0 added Scrolled() method. and support to call it. fixed NS_RELEASE(rc) bug in
pres shell as reported by pierre.
1998-09-05 20:57:57 +00:00
cls%seawood.org c35abe6d37 Added --enable-mail-compose option. 1998-09-05 20:40:43 +00:00
kipp%netscape.com 63293e335d Stub out fe routine so that app will link 1998-09-05 20:13:34 +00:00
kipp%netscape.com cf36f83d69 Added missing files to the build 1998-09-05 20:11:17 +00:00
cls%seawood.org a1294edb2f Updated. 1998-09-05 10:25:13 +00:00
pierre%netscape.com 82283d0a33 fixed other crashes in Comparators and ref counts 1998-09-05 10:25:04 +00:00
cls%seawood.org 01fbb7d3e1 Fixing autoconf breakage. LO_BuiltinStruct is the same for both the OJI and non-OJI cases. 1998-09-05 10:23:12 +00:00
pierre%netscape.com 966e45e916 fixed other crash mTimers becomes a LArray, not a LArray* 1998-09-05 09:16:58 +00:00