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

656 Коммитов

Автор SHA1 Сообщение Дата
norris%netscape.com c840ad52eb Fix bug 325937.
Reviewed by brendan.
1998-09-29 00:31:47 +00:00
nisheeth%netscape.com 6d9432bedc Defensive programming to avoid crashing on a NULL lo_image added to lo_ImageObserver(). Thanks a lot to ben@algroup.co.uk for reporting this problem and providing a partial fix. 1998-09-29 00:24:15 +00:00
shaver%netscape.com c6040f6d55 Wire up Perignon stuff #if DOM.
Remove some unused variables.
1998-09-28 23:39:17 +00:00
beard%netscape.com 4766a67727 Moved LiveConnect initialization calls to end of lm_ReallyInitMocha, so that the rest of libmocha will be initialized properly. 1998-09-28 22:59:08 +00:00
shaver%netscape.com 7c5ad30549 - Update Unix make goo to handle our new MOZILLA_CLIENT dependencies.
- Added TODO and STYLE_NOTES
- Added style data to DOM_Element
- Added GetCleanEntryData convenience function
- Added internal dom_SetElementAttribute with optional suppressing of callback
  invocation
- Added style init code
- Style support (everything)
- Fix text initialization thinko
1998-09-28 22:51:50 +00:00
cmanske%netscape.com 7ba71e0c36 Fixed lots of Composer bugs. Implemented delete/copy accross table cell boundaries 1998-09-28 22:51:10 +00:00
cmanske%netscape.com 1699ba6a74 New function supplied by ftang for Composer checking of bad charsets when loading a page 1998-09-28 21:36:23 +00:00
cyeh%netscape.com ffd5407695 removing old NSPR20 #ifdefs 1998-09-28 20:49:33 +00:00
cyeh%netscape.com aab3b5a872 remove old NSPR20 #ifdefs 1998-09-28 20:45:35 +00:00
cyeh%netscape.com 373cfdd065 removing old NSPR20 #ifdef 1998-09-28 20:38:02 +00:00
ftang%netscape.com 889061f833 fix cannot convert cases 1998-09-28 19:24:13 +00:00
ftang%netscape.com 68fe067062 move 4.5 fix into mozilla 1998-09-28 19:23:21 +00:00
akkana%netscape.com 31ed9027aa Eliminate a bunch of warnings 1998-09-28 19:06:17 +00:00
cyeh%netscape.com f626f548c2 (Actually mlm)
- Fix return of NULL that should be (JSCFResult) 0
1998-09-25 23:48:51 +00:00
cyeh%netscape.com 1a89503957 (Actually mlm)
- Remove double definition of LMWindowGroup to avoid lossage
1998-09-25 23:48:24 +00:00
leaf%mozilla.org 442449475f (Actually mlm) Branch landing: Multithreading libmocha in mozilla. - Add new file lm_wngrp.c 1998-09-25 22:22:36 +00:00
mlm%netscape.com 78de77333c Branch landing: Multithreading libmocha in mozilla.
- Add context parameter to LM_LockJS and friends.
1998-09-25 22:06:47 +00:00
mlm%netscape.com cd9a2958bb Branch landing: Multithreading in libmocha.
- Add parameters to LM_LockJS and friends.
1998-09-25 22:06:09 +00:00
mlm%netscape.com a400056596 Branch landing: Multithreading libmocha in mozilla.
- New file to toss contexts into thread group lists and otherwise deal
   with multithreading data.
1998-09-25 22:05:22 +00:00
mlm%netscape.com 044e008d91 Branch landing: Multithreading libmocha in mozilla.
- Add multiple window groups to allow windows to execute JS on
   different threads.
- Add new context parameters to JS and libmocha functions for thread
   safety.
1998-09-25 22:04:34 +00:00
mlm%netscape.com 16b663637d Branch landing: Multithreading libmocha in mozilla.
- Change semantics of LM_LockJS to add context parameter.
1998-09-25 22:03:37 +00:00
ramiro%netscape.com b32f678a1b Fix busted build. Dont return a value for a void function. 1998-09-25 17:31:36 +00:00
saari%netscape.com 0879f85bb3 MacOS only Modifications to StringLib. It now functions like the Unix version where we have all of the strings in a giant case statement instead of in resources. This is necessary for moving to Pro4 and reducing the number of resources in the Mac Navigator. 1998-09-25 14:45:53 +00:00
mcafee%netscape.com 10b8ee26c7 Uninitialized variable warning from gcc 1998-09-25 10:47:56 +00:00
mcafee%netscape.com 5279fc9fe4 Unix Non-latin1 PostScript conversion enhancement, thanks to <junker@jazz.snu.ac.kr> for providing this fix. Details of the fix are at http://jazz.snu.ac.kr/~junker/work/mozilla/unixps.html. Non-latin1 title printing in xl_annotate_page. Give charset info and URL in postscript output. Give attribute info in postscript output. Give papersize info in DSC comment. Be more liberal in parsing AFM files. Non-latin1 underline and strikeout decoration enabled. Japanese printing charset is fixed to SJIS(in resource file). 1998-09-25 10:21:50 +00:00
mcafee%netscape.com b0b84047ac Moved N_FONTS, PS_BBox, PS_CharInfo, PS_FontInfo to include/xlate.h, added XP_ParseAFMFile() to xlate.h 1998-09-25 10:19:18 +00:00
mcafee%netscape.com 4b55ea6862 Added parseAFM.c 1998-09-25 10:17:52 +00:00
mcafee%netscape.com c8fa9110f3 Initial version, thanks to <junker@jazz.snu.ac.kr> for providing this pd source from Adobe. 1998-09-25 10:16:57 +00:00
akkana%netscape.com 1d2cdca4b7 Remove rosetta references from mail compose code 1998-09-24 21:46:32 +00:00
mcafee%netscape.com d876d89de3 Check for null pointer; print context doesn't have history. r=morse,nisheeth 1998-09-24 21:41:53 +00:00
cyeh%netscape.com 0ad0e066d9 remove old NSPR20 #ifdef 1998-09-24 21:01:00 +00:00
cyeh%netscape.com 1572c7238d remove old NSPR20 #ifdef 1998-09-24 20:35:44 +00:00
kin%netscape.com 834a91aa73 Modified edt_InitEscapes() to check for '>'. This will make composer write
out &gt; into the HTML stream instead of the '>' character.
1998-09-24 14:33:09 +00:00
mcafee%netscape.com fdbf61376c Fix mkdir() problem for BSDI, thanks to <driehuis@playbeing.org> for this patch 1998-09-24 09:43:55 +00:00
ftang%netscape.com d784f3b507 Fix UTF8 problem 1998-09-24 09:23:19 +00:00
ftang%netscape.com c12622f11f fix the wrong measurement problem in UTF8 by calling the new UTF8 function 1998-09-24 09:22:32 +00:00
ftang%netscape.com d9351da6f8 implement better UTF8 drawing support. Implement mid and end truncation for UTF8 1998-09-24 09:18:25 +00:00
akkana%netscape.com 82eac3a99d Remove obsolete rosetta references 1998-09-23 19:49:14 +00:00
sdagley%netscape.com be32986b1d Added prototype for lo_ProcessHeader so the Mac will build. How any platform builds without I don't know (but I'd guess they don't have warnings for un-prototyped functions). 1998-09-23 01:45:44 +00:00
cls%seawood.org f8e16c2e40 Moved files accidentally placed in MOZ_EDITOR ifdef. 1998-09-22 23:03:47 +00:00
toshok%netscape.com 61f0398d10 add handling for header elements in reflow. especially fixes alignment lossage. 1998-09-22 22:51:43 +00:00
ftang%netscape.com 0d55e5643d fix bug 324313 in Mozilla first. Reviwed by erik 1998-09-22 22:14:02 +00:00
wtc%netscape.com 3b8cb781fb NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.
1998-09-22 16:59:57 +00:00
cls%seawood.org d0aa3e2bd1 Sync'd Makefile.ins with corresponding Makefiles. Fixed problems with autoconf build. Thanks to Christopher Blizzard <blizzard@appliedtheory.com> and Tom Rini <trini@kernel.crashing.org>. 1998-09-22 03:47:27 +00:00
toshok%netscape.com 3f688b1963 rework grid relayout. This fixes lots of things, like the problems of grid cells disappearing on resize, and grid cells that were specified with a fixed size acting like they were assigned a percentage on resize. 1998-09-22 02:14:49 +00:00
nisheeth%netscape.com 2c96225c3d Adding code submitted by Ori Kravitz (orik@mercury.co.il) that informs listeners
of keyboard/mouse events before passing the events to JS.  This is part of the
layout probe project that is trying to add test automation interfaces to the
layout engine.
1998-09-22 00:01:23 +00:00
beard%netscape.com 6cfcdb72d4 Changed use of stricmp to XP_STRCASECMP, fixed reference to platform-specific pText field in LO_TextStruct_struct. 1998-09-21 23:51:48 +00:00
nisheeth%netscape.com 1336a846e3 Checking in changes made for the Layout Probe API project by Ori Kravitz
(orik@mercury.co.il) and Andrei Romanov (aromanov@segue.com).
1998-09-21 21:54:50 +00:00
norris%netscape.com 5ab9ae41fe Fix bug 122041 "get illegal url when having foo.html?http://norris.html" 1998-09-21 17:49:36 +00:00
kin%netscape.com 69386a2ac0 Fix for bug #318302: "Undo" leaves a line of text
Removed call to StartTyping(), in CEditBuffer::ReturnKey(), for the
case where bTyping is false.
Reviewed by cmanske. Approved by marek.

Added parens around a set of conditions in CEditBuffer::PasteText() to prevent
the occassional dereferencing of a null pointer.
1998-09-21 17:33:14 +00:00
ftang%netscape.com 0b35c0c373 fix mac 1998-09-19 03:00:21 +00:00
ftang%netscape.com 9d213b59bc Make the history entry to store UTF8 text. We will graduately change FE code also to deal with UTF8 in history database. We need this to make the RDF history access correctly handle Multilingual text 1998-09-19 00:33:04 +00:00
ftang%netscape.com e4bcf595cb fix bug 147200 by merge nova code 1998-09-19 00:30:31 +00:00
ftang%netscape.com 0e805f0244 fix 147200 by merge nova code 1998-09-19 00:25:16 +00:00
ftang%netscape.com c4d9f9b036 fix bug 147200 by merge code from nova 1998-09-19 00:23:58 +00:00
ftang%netscape.com 95ab6a19f8 fix bug 147200 by merge code from nova
1. Add t61 conversion table
2. change Japanese conversion table on window to use the cp932 table instead.
1998-09-19 00:22:09 +00:00
sudu%netscape.com e6cde8540d New caps manager related changes 1998-09-17 18:12:52 +00:00
brendan%netscape.com 6c4208d233 Fix missing ->pseudos and speak the same boolean as the comment uses. 1998-09-17 07:43:13 +00:00
brendan%netscape.com d2f2052545 Pity the machines that lack long long (and be explicit when losing bits). 1998-09-17 06:46:20 +00:00
brendan%netscape.com 48e6c26d5f Keep windows building via xp.h, with an XXX comment. 1998-09-17 06:44:33 +00:00
morse%netscape.com c93d6a5568 second attempt to change Bool to PRBool 1998-09-16 20:18:05 +00:00
morse%netscape.com a1e2301cb2 back out change to fix build bustage 1998-09-16 19:11:51 +00:00
morse%netscape.com 30c8baeae2 changed Bool and XP_Bool to PRBool 1998-09-16 18:26:39 +00:00
shaver%netscape.com b29cf1f862 fix dom.h/dom_priv.h mixup 1998-09-16 18:11:22 +00:00
shaver%netscape.com 2886b9a12f perignon now compiles, and back out brendan's xp.h change 1998-09-16 14:45:07 +00:00
mcafee%netscape.com 2d6de2d94f Uninitialized variable compiler warnings on Linux 1998-09-16 09:01:25 +00:00
mcafee%netscape.com e75e683b6a Uninitialized variable compiler warnings on Linux 1998-09-16 08:25:31 +00:00
mcafee%netscape.com 92e0d37356 Uninitialized variable compiler warnings on Linux 1998-09-16 08:13:29 +00:00
mcafee%netscape.com 41da4b0013 Uninitialized variable compiler warnings on Linux 1998-09-16 07:45:58 +00:00
mcafee%netscape.com c3f350280d Uninitialized variable compiler warnings on Linux 1998-09-16 07:32:19 +00:00
mcafee%netscape.com 88e6eeb9b9 Uninitialized variable compiler warnings on Linux 1998-09-16 07:22:06 +00:00
slamm%netscape.com 479a25f9f1 Fix build bustage. xp_ncent.c includes htrdf.h which include pa_parse.h. Adding 'parse' to the REQUIRES line. 1998-09-15 23:39:20 +00:00
rjc%netscape.com 6de9cc5f52 Additional changes for supporting HT_LayoutComplete(). 1998-09-15 22:07:34 +00:00
nisheeth%netscape.com 45ff8cd241 Build list of meta tags on top_state and pass them to RDF HT once layout
completes.  Delete the meta tag list once RDF HT is done looking at it.
This enables functionality like automatically sucking in META info into the
RDF hierarchy when you add a bookmark.
1998-09-15 18:37:49 +00:00
toshok%netscape.com e36cffc2ed Fix bugzilla bug 741 (typo in laybuiltin.c -- builtin->width should be builtin_width. contributed by rkl@connect.org.uk.) Also, move the builtin's layer at the end of lo_UpdateStateAfterBuiltinLayout. 1998-09-14 08:53:43 +00:00
cmanske%netscape.com cdc430043f Fixed table editing bugs. Ctrl key now needed to size table with mouse 1998-09-12 01:46:12 +00:00
hyatt%netscape.com 4e92a95c04 Fix for Aurora custom icons. Reviewed by Nisheeth and DP. 1998-09-11 22:24:27 +00:00
brendan%netscape.com eac532ad80 - Use 8 space hard tabstops like god and IBM intended, but indent-tabs-mode:nil
should eliminate hard tabs anyway (so 8 is just in case one gets thru -- LXR
  was not displaying this source well with 4).
- Don't nest jsapi.h outside the idempotent-include #ifndef in dom.h.
- Include xp.h to get this code working on Windows (to cope with some kind of
  compiled header problem).
- Fix bad JS_GetEmptyStringValue calls that were treated as returning JSString*
  rather than jsval, and fed into STRING_TO_JSVAL.
- Avoid tagging and untagging a jsval to test for a null JSString* return.
- Fiddle formatting in a couple of places.
- Avoid leaving cdata->data null after realloc failure.  Use of a local temp
  (data2) also improves generated code by eliminating memory ambiguity.
1998-09-11 19:46:23 +00:00
pinkerton%netscape.com b37e88adc6 adding QA_Partner support. 1998-09-11 19:00:41 +00:00
shaver%netscape.com 8803a12976 perignon grows (and throbs) 1998-09-10 22:14:52 +00:00
shaver%netscape.com 20bf2e3991 first Perignon work (not built by anything yet) and generic attribute support 1998-09-10 14:21:43 +00:00
waterson%netscape.com e8d8d141d0 Added code to the process_deferred_image_info() callback to check for new image info on a visible image and do reflow if necessary. r=nisheeth 1998-09-10 01:04:56 +00:00
waterson%netscape.com fb03cea4b6 Added code to just lay out an image and mark the context as requiring reflow when an unsized image is encountered. Also, dont bother calling LO_SetImageInfo() if w/h hasnt changed. r=nisheeth,mjudge 1998-09-10 01:04:51 +00:00
cls%seawood.org af731eee4a Sync'd. 1998-09-09 08:15:05 +00:00
sdagley%netscape.com 51ce5af2d9 Implement real version of FE_CheckConfirm 1998-09-08 21:32:03 +00:00
ftang%netscape.com 1f902f6c46 check in comment about history code may need to change later. No code change. 1998-09-08 20:21:23 +00:00
akkana%netscape.com 8ad1f09c73 Remove vcards from MOZ_MAIL_COMPOSE 1998-09-08 19:30:41 +00:00
beard%netscape.com 9bf1588597 Lazy LiveConnect fixes. 1998-09-08 19:11:50 +00:00
pinkerton%netscape.com 55abd366a0 use LScrollerView 1998-09-08 18:07:48 +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
shaver%netscape.com 1b8a52cf14 remove some unbelievably dump debugging code (I no longer randomly dump core) 1998-09-07 18:50:13 +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
cls%seawood.org a1294edb2f Updated. 1998-09-05 10:25:13 +00:00
shaver%netscape.com 191f8c640b Start of infrastructure for DOM-as-one-true-attr-source. Implement
DOM_NewElement.  Defend against NULL NodeOps.
1998-09-05 04:36:38 +00:00
shaver%netscape.com ac073e9c77 Remove DOMSetAttribute event guck (now tweak on mocha thread with layout
lock held, and signal reflow via event).  Check doc_id before trusting
LO_Element *s.  Make <TD>.bgcolor mutable.  Use DOM_NewElement instead
of inline hackery.  Defend against NULL returns from DOM_HTMLPopElementByType.
Make PR_ASSERTs XP_ASSERT for sake of brave users.
1998-09-05 04:34:13 +00:00
shaver%netscape.com 8449fcec22 Add COW textattrs. Clean up lo_SetColor. Make <TD>.bgcolor mutable.
Remove some debugging cruft.
1998-09-05 04:29:56 +00:00
nisheeth%netscape.com 42a7d509f2 Fix for bug #313278. Some links were unclickable. Added initialization code in lo_NewElement() for all the common fields shared across layout elements. Now, all the common fields should get sane values assigned to them at creation time. 1998-09-04 23:55:04 +00:00
akkana%netscape.com 03e219b8eb Fix some unresolved symbols for MOZ_MAIL_COMPOSE build.
Won't affect default build.
1998-09-04 22:30:14 +00:00