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

7500 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com 9fe029fa1d More AM classes and moving from LActiveScroller to LScrollerView. 1998-09-08 18:01:57 +00:00
dcone%netscape.com 2b42318180 added a .h to the file Vidur added 1998-09-08 16:37:05 +00:00
ramiro%netscape.com 51fe1f7a8f Cleanup fe_getPixelFromRGB(). Move it to xfe/colors.c and rename it to
fe_GetPixelFromRGBString().
1998-09-08 14:01:20 +00:00
ramiro%netscape.com 5f90408924 Use real XtCallbacks instead of a hack. 1998-09-08 12:22:21 +00:00
ramiro%netscape.com 667a16bc02 Add layable children info. 1998-09-08 12:15:55 +00:00
ramiro%netscape.com 798ea15cbf Add XfeSubResourceGetWidgetXmStringValue(). 1998-09-08 11:59:26 +00:00
brendan%netscape.com aeb3f1e6b9 Oops! How did that ever work on my Win32 build? 1998-09-08 05:49:12 +00:00
brendan%netscape.com 347aaac8d3 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 cb5493bab6 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 c36419fd9c Unset NO_EDITOR when mail-compose is enabled and removed unused variables. 1998-09-08 03:57:15 +00:00
cls%seawood.org 7b76aca63e Made sure CC is being passed down to detect scripts. 1998-09-08 03:50:42 +00:00
cls%seawood.org 32db200c39 Removed unused variables. 1998-09-08 03:45:34 +00:00
cls%seawood.org aab6806cc6 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 37da37f84b Deleting the 'patcher' subdir from DIRS. Not used. 1998-09-08 03:12:37 +00:00
raman%netscape.com b571f8fe11 Checking bug fixes for SmartUpdate. It is not part of the build system 1998-09-07 21:49:56 +00:00
kipp%netscape.com 1088a3e974 Allocated another IID 1998-09-07 19:15:41 +00:00
kipp%netscape.com 40af4d3fae Added GetHints to nsIRenderingContext API 1998-09-07 19:12:44 +00:00
shaver%netscape.com e0252e3206 remove some unbelievably dump debugging code (I no longer randomly dump core) 1998-09-07 18:50:13 +00:00
sdagley%netscape.com 2fce49c79b 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 cc713c5901 uhh... remove xphist.* from the build. 1998-09-06 22:03:50 +00:00
toshok%netscape.com 6912abe452 add xp_hist.c/h. not built. 1998-09-06 22:03:12 +00:00
toshok%netscape.com 7259ab0777 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 f031b93280 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 d2b577e14a 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 9d404730f1 Remove '(balance' comments, fix hanging indents, other nits. 1998-09-06 19:23:06 +00:00
brendan%netscape.com 93281b559a Fix switch comments, it's not a ternary node any longer. 1998-09-06 19:19:04 +00:00
terry%netscape.com ef3712508c Chouck isn't here; fix owner of LibMocha. 1998-09-06 15:03:41 +00:00
brendan%netscape.com 310fe6513e - 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 a35948217a Fixed linux compiling bugs 1998-09-06 04:16:22 +00:00
kipp%netscape.com 0ee0d144c6 Updated to support latest API's 1998-09-06 00:21:40 +00:00
kipp%netscape.com b097632eb3 Create text using NS_NewTextNode API 1998-09-06 00:21:22 +00:00
kipp%netscape.com cae3221de5 Use nsITextContent to initialize text node 1998-09-06 00:20:59 +00:00
kipp%netscape.com 6f9dedccda Cleaned up some whitespace 1998-09-06 00:19:49 +00:00
kipp%netscape.com 833260255c Expose NS_QuoteForHTML; remove duplicate frame ctor method decls 1998-09-06 00:19:14 +00:00
kipp%netscape.com ecd28a1c73 Layer on top of nsGenericDOMData for full implementation 1998-09-06 00:18:43 +00:00
kipp%netscape.com 620e6b4220 Added nsTextNode 1998-09-06 00:18:26 +00:00
kipp%netscape.com 2e6b32bd08 Nuked old content code 1998-09-06 00:18:12 +00:00
kipp%netscape.com a28f9196c0 Removed some cruft; added NS_NewTextNode 1998-09-06 00:17:30 +00:00
kipp%netscape.com b4eebb5585 new 1998-09-06 00:16:36 +00:00
troy%netscape.com 77c0d137b9 Reserved an IID 1998-09-06 00:15:45 +00:00
kipp%netscape.com a375a0f8f7 Use allocated IID; update interface to be XPCOM'd and updated the methods 1998-09-06 00:15:10 +00:00
kipp%netscape.com b54c1c9cff Allocated iid for nsITextContent 1998-09-05 23:28:08 +00:00
kipp%netscape.com 067c25cae2 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 d79a916b5d Removed libaddr and libmsg Makefile.ins 1998-09-05 23:17:44 +00:00
cls%seawood.org 35ab428b51 Added missing / to command.c target. 1998-09-05 21:35:59 +00:00
michaelp%netscape.com d6a0988c76 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 9fde85a9b9 Added --enable-mail-compose option. 1998-09-05 20:40:43 +00:00
kipp%netscape.com 3a5caa94af Stub out fe routine so that app will link 1998-09-05 20:13:34 +00:00
kipp%netscape.com be8a3fdf7a Added missing files to the build 1998-09-05 20:11:17 +00:00
cls%seawood.org 94d0672b0c Updated. 1998-09-05 10:25:13 +00:00