22 Commits

Author SHA1 Message Date
shaver%netscape.com
f5b3e91eb2 Wire up Perignon stuff #if DOM.
Remove some unused variables.


git-svn-id: svn://10.0.0.236/trunk@11301 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:39:17 +00:00
mcafee%netscape.com
f6757ceb72 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10128 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:45:58 +00:00
shaver%netscape.com
5f49f22fb7 Move current_node and top_node to top_state, to protect them from tables.
Handle table and row and cell data.
(We do nested-table text now.)


git-svn-id: svn://10.0.0.236/trunk@8788 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:52:27 +00:00
cmanske%netscape.com
568fe32f26 Fixed P0 Composer bug 312249 (backspacing when lines wrap) with help/review/approval by nisheeth. Also layout's part of fix to 310966 (changing doc colorsof current windows)
git-svn-id: svn://10.0.0.236/trunk@7598 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:06:57 +00:00
ftang%netscape.com
7b30af3acf Comment out problemtic XP_ASSERT. We should double check editor when we
introduce Thai line breaking into mozill


git-svn-id: svn://10.0.0.236/trunk@7247 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:12:42 +00:00
nisheeth%netscape.com
bad06dcb17 Fix for bug 129639: Only add the new linefeed for preformatted text inside
lo_RelayoutTextElements().  This fixes the extra line feeds that were
being generated for regular text.


git-svn-id: svn://10.0.0.236/trunk@7242 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:01:27 +00:00
ftang%netscape.com
412d0bb646 Check in change to make it easier to do different line breaking.
Prepare for Thai line break to land. approved by thshok


git-svn-id: svn://10.0.0.236/trunk@7029 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:44:33 +00:00
toshok%netscape.com
5b7053a1c6 make sure to initialize all parts of the LO_TextStruct structure. this was causing UMR's in the XFE (and causing the text to just not be displayed).
git-svn-id: svn://10.0.0.236/trunk@6753 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:41:17 +00:00
akkana%netscape.com
1021fec2f1 244341: infinite loop/hang in text layout. Reviewed by Nisheeth.
Thanks to Matthew Dillon <dillon@backplane.com> for the fix!


git-svn-id: svn://10.0.0.236/trunk@6343 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:39:30 +00:00
toshok
6fbaecdce2 Only call lo_SetLineBreak if we indeed inserted a line break - fixes SF1 P0 bug 300047.
git-svn-id: svn://10.0.0.236/trunk@5516 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:16:21 +00:00
toshok
858173e862 switch order of if checks. gets rid of a SF1 P0 bug 300045.
git-svn-id: svn://10.0.0.236/trunk@5512 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:39:00 +00:00
nisheeth
6ce86321db 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.


git-svn-id: svn://10.0.0.236/trunk@3860 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 03:05:10 +00:00
nisheeth
eee6bb3c86 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.


git-svn-id: svn://10.0.0.236/trunk@3696 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:16:59 +00:00
gordon
ea82f7554a Fixing Mac bustage by adding typecast. Approved by sar.
git-svn-id: svn://10.0.0.236/trunk@3634 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 23:04:18 +00:00
toshok
c4be407277 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.


git-svn-id: svn://10.0.0.236/trunk@3610 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 19:12:01 +00:00
jgellman
cb4014892b merge from OJI branch
git-svn-id: svn://10.0.0.236/trunk@2980 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:37:20 +00:00
toshok
aa0742196b Remove #ifdef's for TEXT_CHUNK_LIMIT, since it's always defined to something.
git-svn-id: svn://10.0.0.236/trunk@1245 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:16:02 +00:00
toshok
69c01e024d 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.
git-svn-id: svn://10.0.0.236/trunk@1244 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:12:03 +00:00
toshok
ffbf7864d1 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
git-svn-id: svn://10.0.0.236/trunk@1240 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 20:44:45 +00:00
nisheeth
010ada78cf Warning fix. Thanks to tenthumbs@cybernex.net.
git-svn-id: svn://10.0.0.236/trunk@838 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 08:39:56 +00:00
valeski
dd762d0835 compiler warning fix (paren inclusion) submitted by dkindred@cmu.edu . approved/rev'd by nisheeth
git-svn-id: svn://10.0.0.236/trunk@457 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 17:17:35 +00:00
ltabb
8ed5afe62c Free the lizard
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00