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

318 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com 47538a875b Tweaked return key handling to pay attention to m_bUseCurrentTextFormat value when adjusting text format 1998-07-27 16:34:48 +00:00
cmanske%netscape.com 483c38944c Added check for null pointer in lo_ValidEditableElement 1998-07-27 16:14:29 +00:00
cmanske%netscape.com 337a275b1c Implemented smart detection of character format (to be used for next text type) depending on last arrow key usage 1998-07-27 15:45:27 +00:00
cmanske%netscape.com 6d0756cceb Fixed Composer bug 227527 - Implemented autodelete of single space in table cell when new text is typed. 1998-07-27 04:17:18 +00:00
cmanske%netscape.com a0c0858748 Added detection of element clicked on to determine text format to use 1998-07-27 02:01:51 +00:00
cmanske%netscape.com bc1adf040b Lots of Composer bug fixes and continued work on table and list editing 1998-07-27 01:09:58 +00:00
kin%netscape.com 40ccd5cdd2 Fix for 5.0SF1 in bug #300901: Lose <br> inside a cell in a table
Modified lo_LayoutTag() to set hard linebreaks for NSDTs.
Reviewed by toshok and nisheeth.
1998-07-24 23:59:46 +00:00
kin%netscape.com d87bbc4eed Fix for bug #300809: Composer adds and deletes tags; bad image display;
HTML does not validate
Modified CEditContainerElement::PrintEnd() to fix problem where we were
not closing all CENTER tags.
1998-07-24 23:04:39 +00:00
brade%netscape.com dd03b437cf make editor call API change 1998-07-24 04:15:11 +00:00
brade%netscape.com b6007dfca1 remove warnings on Macintosh; clean up internal API calls 1998-07-24 04:14:39 +00:00
brade%netscape.com 5a14a053cb remove warnings on Macintosh; clean up internal API calls (if'd out for now) 1998-07-24 04:12:58 +00:00
brade%netscape.com 2d6855c8a7 fix warnings (only for Macintosh) 1998-07-24 03:58:28 +00:00
brade%netscape.com 2cac994947 fix warning on Macintosh 1998-07-24 01:56:47 +00:00
akkana%netscape.com f78a0a8613 244341: infinite loop/hang in text layout. Reviewed by Nisheeth.
Thanks to Matthew Dillon <dillon@backplane.com> for the fix!
1998-07-24 00:39:30 +00:00
ramiro%netscape.com 5d09002103 C++ comment begone from c code. thank you. 1998-07-23 18:22:43 +00:00
hyatt%netscape.com 5940bef488 Landing SHACK changes from RDF branch. 1998-07-23 17:44:04 +00:00
cmanske%netscape.com 8b569a0b10 Fixed bugs 174178, 188530, 299735. Implemented new drag cell and table behavior 1998-07-23 04:18:49 +00:00
cmanske%netscape.com c1d76b73f3 Fixed problem with clearing is_new_document flag in edit buffer when reusing existing new-doc buffer 1998-07-21 23:36:03 +00:00
cmanske%netscape.com c056561675 Fixed bad XP_BOOL usage. Submitted by Kazushi Marukawa (jam@pobox.com) 1998-07-21 22:57:04 +00:00
cmanske%netscape.com 4c19c09810 Added flag to signal editor when laying out images in Composer 1998-07-21 04:13:04 +00:00
cmanske%netscape.com 30889b7f89 Fixed problem with loading images in Composer 1998-07-21 02:38:18 +00:00
cmanske%netscape.com 64893f1236 Fixed SF1 bug 148158 as well as problems with loading images into an editor document 1998-07-21 01:59:47 +00:00
dfm%netscape.com 91d899a2d0 Landed privacy features from PRIVACY_BRANCH_070898; Transaction Receipts
and Privacy Policies are still switched off, so mozilla/privacy doesn't
build by default.
1998-07-20 18:40:09 +00:00
pinkerton%netscape.com b00d7da90c turn on Hyatt's hack for chrome images on mac. Still off on X. 1998-07-20 16:09:34 +00:00
kin%netscape.com cfeec46577 Fix for 5.0 SF1in bug #301716: Table WIDTH parameter lost when loaded in
composer

Changed the type of the m_iWidth field of the CEditTableElement class from
XP_Bool to int32.

Reviewed by mjudge.
1998-07-16 22:19:46 +00:00
kin%netscape.com 79c4ad6e14 Fix for 5.0 SF1in bug #300809: Composer adds and deletes tags; bad image
display; HTML does not validate
There are actually 3 different bugs reported in 300809. This checkin fixes
the problem where the spacing and the image are too close: <P></P><BR><IMG>

edtbuf.cpp:
    - Modified CEditBuffer::ParseOpenTag() so we don't discard a <BR> that
      comes after a </P>.
    - Commented out code that adds a blank container before a table that
      follows a </P>.

edtele.cpp:
    - Modified CEditContainerElement::AdjustContainers() to add a blank
      container after a paragraph that ends with a </P> tag.
1998-07-16 21:56:54 +00:00
nisheeth%netscape.com 6abffe75f6 Fix for bug #300477 to stabilize the table freeing changes. This fixes
the crash that occurred when you aborted the loading of the Netscape home
page.
1998-07-16 08:42:43 +00:00
toshok cf441af448 Only call lo_SetLineBreak if we indeed inserted a line break - fixes SF1 P0 bug 300047. 1998-07-14 22:16:21 +00:00
toshok c216d3363b switch order of if checks. gets rid of a SF1 P0 bug 300045. 1998-07-14 21:39:00 +00:00
kin 2eb9f3cb02 Fix for SF1in bug 299356: Indentation increases line spacing for same indent
level
Modified CEditBuffer::IndentContainer (case 0) to combine adjacent
blockquote containers.

Reviewed by mjudge.
1998-07-13 23:22:50 +00:00
mjudge 057f36a321 117388 110370 are both solved by this change. tadaaa 1998-07-13 22:55:01 +00:00
nisheeth 35b3c34967 Fix the Mac build bustage... 1998-07-10 07:05:12 +00:00
nisheeth 128b8245f2 Fix for bug #173417 and bug #186496. Reviewed by toshok.
We redo the way tables get freed.
Earlier when the LO_TABLE element got freed, it would free stuff that hangs
of the subsequent LO_CELL elements.  Now, only table related stuff gets freed
and the LO_CELL peer data structures get freed when the LO_CELL is freed.
Lots of code that was if-defed or commented out since Mariner hit the tip
has been removed to improve code readability.
1998-07-10 01:03:46 +00:00
mjudge c098bc6cc6 Fixing Sf1in. no number but definate crash. no initializer for int i=0 1998-07-07 16:49:37 +00:00
nisheeth 73cdb97051 Fix for bug 123318. Only do the textblock checks in lo_BoundaryJumpingPrev()
and lo_BoundaryJumpingNext() for the editor context.
If you don't do it the editor, backspacing between lines gets hosed.
If you do it for the browser, selection goes into an infinite loop.
1998-07-07 06:31:07 +00:00
nisheeth 9b35fbe8c1 Fix for bug 232611 which was a duplicate of bug 120234 which got fixed in 4.06.
Fix was reviewed by rjc and dp when it went into the 4.06 branch.
Fixed the case where an unclosed single quote in a
tag causes the STYLE attribute to not be found. This was causing
an infinite loop where layout would process the style attribute repeatedly.
See bug report for details. Affected code is inside lo_ProcessStyleAttribute().
1998-07-07 05:57:50 +00:00
nisheeth 444445552c Fix for Mac build bustage. 1998-07-05 01:51:33 +00:00
nisheeth 9c70ee8fb5 Approved by Don. Checking in latest Layout Probe API implementation from
the 4.06 branch into the mozilla tip.  This API is not being called from
anywhere and hence cannot affect stability.
1998-07-04 23:25:24 +00:00
cmanske a9cff01872 Fixed Composer SF1 in bugs 26852, 123355, 148474, 233518. Reviewed by mjudge 1998-07-02 01:20:39 +00:00
spider 8f94f24ac8 Normandy Merge .... 1998-06-22 21:21:28 +00:00
cmanske 856457d48b Fixed SF1 Composer bugs 117881, 122061, 147518, 148003. Reviewed by mjudge 1998-06-21 19:03:10 +00:00
akkana db78357a7b 94115: don't show unnecessary horizontal scrollbars on resize.
Reviewed by cmanske.
1998-06-19 23:18:04 +00:00
mjudge 0080fb0592 Bugs numbers 78936,78922,78925,78926,78934,78939,105689,139286,139301,139359 1998-06-19 04:00:49 +00:00
nisheeth 288dbf57ac Fix for bug#124552. No code review needed coz fix is smaller than 5 lines.
Now text layout looks at both the state structure and the current text block
for propagating anchor information when a new text layout element is created.
1998-06-16 03:05:10 +00:00
cmanske fdacde33b7 Finished fix for SF1 bug 123355 - force JavaScript on for Composer Plugins. Reviewed by mjudge. 1998-06-15 21:44:23 +00:00
nisheeth 074f460e7b Fix for bug#112027. Reviewed by Dan. The crash was occuring for the case
when the MULTICOL tag had no content.  Fixed lo_rl_FitMultiColumn()
to handle that case.
1998-06-12 22:35:50 +00:00
mjudge 819704e1aa bug 113680 fix for horizontal rule strangeness after tables. when reflowing tables, do not reflow beyond the last cell 1998-06-12 16:05:46 +00:00
nisheeth dcbb949f5a Fix for bug 123984. Approved by don. LO_SelectAll was crashing in
lo_FindDocumentEdge() because state->end_last_line was not being set
properly during layout of the document.  Fixed.
1998-06-12 06:09:51 +00:00
cmanske 006921c7e8 Fixed SF1 bugs 65190, 105787, 123355. Reviewed by mjudge, approved by brade, don 1998-06-12 01:22:22 +00:00
nisheeth f19cf5302a Fix for bug #108358. No code review coz its a one liner. Fixes the infinite
loop by letting us break out on a condition that wasn't being checked
earlier in lo_LayoutTextBlock() in laytext.c.  Thanks a lot to Jeff
Caldwell (look@shell.lazerlink.net) for the patch.
1998-06-12 01:16:59 +00:00
nisheeth 5a0a7aac9a Fix for bug 124273. Reviewed by toshok. Commented out call to
LO_PopStyleSheetTagByIndex() in lo_RelayoutCell() in laytable.c.
This should fix lots of crashes on rendering pages with stylesheets.
1998-06-11 23:39:15 +00:00
gordon 608a073452 Fixing Mac bustage by adding typecast. Approved by sar. 1998-06-10 23:04:18 +00:00
toshok 62649b53f5 fix relayout of preformatted text (and hopefully help out in the
relayout of normal text as well.)  Make sure we start at the element
immediately following the LO_TextBlock (if possible, otherwise start
at the startTextElement.)  Also, loop up to and including the
endElement.  Lastly, insert new soft line breaks after recycling the
old ones.
1998-06-10 19:12:01 +00:00
toshok bfb691fe55 Make line breaks at the start and end of a PRE section hard, so they persist across resizes (part of the fix for 123300. 1998-06-10 18:58:14 +00:00
toshok bcdd237c1b Add one liners about the PRE_*, QUOTE_* and SUBDOC_* #defines. 1998-06-10 16:54:35 +00:00
pinkerton 3facc9f2fc Fix bug #12413 in single signon (appr don, rev morse). 1998-06-10 15:20:06 +00:00
nisheeth d4e2e2cc89 Fix for bug 123208. Fixes the problem of nested tables with 100% height
getting heights of 10000 pixels.  Thanks to Tim Rowley (tor@cs.brown.edu)
for providing a patch that was very close to the real fix.  You saved me
a lot of work!
1998-06-10 06:56:10 +00:00
morse 906f82ef14 fix tree bustage on mac 1998-06-07 17:24:46 +00:00
morse 7bab560296 change for single signon 1998-06-07 16:06:49 +00:00
morse 0eea59e38c single signon changes 1998-06-07 15:56:07 +00:00
morse 9f2b5d0fe3 single signon changes 1998-06-06 00:21:25 +00:00
cmanske caffa1d536 Fixed SF1 list HTML bugs for Composer. Reviewed by mjudge. 1998-06-05 15:00:23 +00:00
pinkerton 562338fe0e Fix some mac problems in single signon and cookie management. Also fix problems when no security is available (ie, free source). 1998-06-04 17:47:31 +00:00
rjc 39313b8464 Merging RDF_BRANCH onto tip. 1998-06-03 17:32:56 +00:00
jgellman 3eed711ae4 merge from OJI branch 1998-06-03 00:37:20 +00:00
scc 48c6bf24d4 First Checked In. 1998-06-02 23:54:58 +00:00
cmanske a5f3979505 Added outdent list level when Enter key is pressed and current item is empty 1998-06-01 16:21:19 +00:00
spence 444d9e89cc fixed some shack layout problems 1998-06-01 07:28:55 +00:00
cmanske 16165eb124 Composer bug fixes and more feature work 1998-05-30 22:51:37 +00:00
morse f182637034 lock the signon list when it is in use 1998-05-30 22:37:35 +00:00
morse 08e2dc72ab fix buid bustage 1998-05-29 23:32:51 +00:00
sfraser b866fec03a Fix a warning about an uninitialized variable 1998-05-28 19:39:58 +00:00
pnunn 30c50cb8b4 fix for #84300. print images at printer resolution not screen resolution. 1998-05-28 18:53:31 +00:00
morse c91b031751 bug 122126, reviewed by mjudge 1998-05-28 17:41:09 +00:00
morse 98b58a9063 bug 122126, reviewed by mjudge 1998-05-28 17:13:10 +00:00
nisheeth a73ce9efe3 Fix for bug 113155. We were losing the form_data->value of hidden text fields when executing "history.go(0)". Now we keep the value around between session history traversals. Thanks to ludovic for the fix.
----------------------------------------------------------------------
1998-05-28 14:24:16 +00:00
sfraser 061bb4d1e2 First Checked In. 1998-05-23 01:14:17 +00:00
toshok 45462c7240 apparently digital unix's c compiler has a problem with the work 'readonly' (it appears to be a reserved word, as far as that compiler goes). So, I'm changing all occurences of the readonly form element attribute to read_only. Thanks to berkley@cs.wustl.edu (Berkley Shands) for the report and suggested fix. 1998-05-18 21:58:00 +00:00
nisheeth 922d9bcee0 val was not being initialized properly lo_LayoutBlockSpacer(). Fixed. Thanks
to Kathy Brade (brade@netscape.com) for catching this.
1998-05-18 20:44:34 +00:00
briano ca603c2e7d 'Fixed' the warning about the supposed trigraph. a=djw 1998-05-15 17:16:49 +00:00
spence 4eb140af05 fix ifdef bustage 1998-05-13 22:35:20 +00:00
donm 7f3915aa45 fixed unix build bustage. LO_BUILTIN requires #define SHACK and lo_ele.h 1998-05-13 21:59:20 +00:00
spence df5c81bf3c shack layout element 1998-05-12 23:22:14 +00:00
spence 409797545b handle relayout of shack elements 1998-05-12 23:04:58 +00:00
spence 7167bcc0b0 shack elements are tabable 1998-05-12 21:57:20 +00:00
spence cae98da4dc pick up src param for shack elements 1998-05-12 21:19:19 +00:00
spence 4bc5d9bcb6 doc info relfects shack elements 1998-05-12 21:18:46 +00:00
spence 81efe7aeb4 changes for shack layout element 1998-05-12 19:16:46 +00:00
spence 50ae367d0a changes for shack layout element 1998-05-12 19:10:35 +00:00
spence cf1a85d1b7 changes for shack layout element 1998-05-12 19:03:13 +00:00
spence 821cd1cec4 changes for shack layout element 1998-05-12 18:55:51 +00:00
spence 1aed4945d5 changes for shack layout element 1998-05-12 18:42:16 +00:00
spence 5b03fa3472 changes for shack layout element 1998-05-12 18:33:45 +00:00
spence a7d45e7b25 new shack layout element 1998-05-12 18:22:49 +00:00
spence 17ca15528c new layout element for shack objects 1998-05-11 19:54:46 +00:00
cmanske 02bd526c7c Fixed another memory bug in Composer 1998-05-08 18:51:58 +00:00
cmanske 25a86272c2 Fixed memory crash bug in new Composer table code 1998-05-08 01:12:10 +00:00
toshok 71e0cb97a5 Remove #ifdef's for TEXT_CHUNK_LIMIT, since it's always defined to something. 1998-05-07 21:16:02 +00:00
toshok b30378f5a4 I know I'm going to get strung up for this, but I just can't read this file without a window that's like 150 columns wide. 1998-05-07 21:12:03 +00:00
toshok 8034cc1873 remove huge commented out chunks of code (that have been commented out since time began, it seems.) also added a couple of fairly bogus comments at the beginnings of lo_Push/PopAlignment 1998-05-07 20:44:45 +00:00
nisheeth e8625a959f Added a check in LO_RelayoutOnResize() to bail if the document is being
laid out.
1998-05-05 17:27:23 +00:00
hyatt 00e4431602 Fix to ensure that radio buttons and checkboxes are drawn with the proper background color.
Reviewed by Nisheeth.
1998-05-02 00:43:19 +00:00
montulli f756969e8d make layout module name be lay instead of layout to be compatible with unix 1998-04-30 23:30:20 +00:00
montulli cb08b1bd84 export layout.h into layout public include directory 1998-04-30 20:33:35 +00:00
nisheeth a971fa33f1 - Added #ifdef DOM to layout.h
- Backing out some changes in layout.c that should not have gotten checked in...
1998-04-29 10:47:20 +00:00
nisheeth d864ac89a5 Touchdown of MARINER_DOM_BRANCH. 1998-04-29 10:13:27 +00:00
nisheeth ea7e325503 Warning fixes. Thanks to Rick Osborne (rick@spacey.net). 1998-04-29 08:41:05 +00:00
nisheeth c03cfd3d2c Warning fix. Thanks to tenthumbs@cybernex.net. 1998-04-29 08:39:56 +00:00
nisheeth 211caa8b82 Adding stubs for the Layout Probe API. 1998-04-28 21:41:20 +00:00
cmanske e2eea4c9fd More table editing bug fixes. Copy/Paste arbitrary selected cell sets and deleting columns, rows fixed. More resizing bugs fixed. 1998-04-27 14:37:46 +00:00
sar 41880a45ca change MOZ_SRC references to DEPTH 1998-04-21 21:22:54 +00:00
valeski 8875a442fe compiler warning fix (paren inclusion) submitted by dkindred@cmu.edu . approved/rev'd by nisheeth 1998-04-21 17:17:35 +00:00
cmanske 0c472629da Fixed Table Editing bugs in Composer. Thanks to donwulff@iki.fi for finding a bug 1998-04-17 21:32:18 +00:00
nisheeth f1967ae089 Fix for text overflowing inside nested tables. Fix for background colors not
being inherited properly inside tables.
1998-04-15 05:28:39 +00:00
nisheeth ae5f88b527 Fix for nested comments. Thanks to Jan Kroken (jankr@nntp.ifi.uio.no) for the
patch.
1998-04-15 04:13:55 +00:00
nisheeth abd011db52 LO_UnlockLayout() was being called multiple times in LO_Reflow().
Thanks to Nicholas A. Ambrose (nicka@interdyn.com) for the patch.
1998-04-15 04:01:00 +00:00
nisheeth 327c45b1c0 Documentation patch. Thanks to Pete Bevin (moose@bestiary.com) for submitting
it.
1998-04-15 03:54:08 +00:00
ltabb 781c480871 Free the lizard 1998-03-28 02:44:41 +00:00