Commit Graph

2805 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
c3d6b55ca5 Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan 2001-12-06 05:45:07 +00:00
roc+%cs.cmu.edu
f50ba53535 Bug 87839. Mark a view as transparent if it is being clipped smaller than the frame. r=kmcclusk,sr=attinasi 2001-12-06 03:16:35 +00:00
dbaron%fas.harvard.edu
ec4c20b4ce Only do state-recovery update of nsBlockReflowState::mPrevChild on the transition from a line we don't reflow to a line we do reflow. b=111676 r=attinasi sr=hyatt 2001-12-06 00:30:06 +00:00
hyatt%netscape.com
91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
dcone%netscape.com
b35d112da4 bug=96870 r=rods sr=attinasi. This add abilty to print and print preview background images and color. 2001-12-04 22:46:41 +00:00
evaughan%netscape.com
b5e2981ee1 Facelift for nsBoxToBlockAdaptor -r hyatt -sr waterson #110328
Grid memory leak -r naving -sr hewitt #109490
2001-12-03 23:41:13 +00:00
hwaara%chello.se
94d94c566e #78365, make scrolling="off" and scrolling="on" work for frameset elements.
r=fabian, sr=attinasi
2001-12-03 23:36:40 +00:00
smontagu%netscape.com
68c01ded67 Fix for Bug 17644 [INLINE-H] negative text-indent paragraphs starting with images, r=dbaron, sr=roc+moz 2001-12-03 23:30:32 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
mkaply%us.ibm.com
6db8af531a #107905
r=mkaply, sr=attinasi
OS/2 only - don't shortcut font computations for fixed with fonts
2001-11-30 22:47:57 +00:00
attinasi%netscape.com
face58bdef Blocked images will no longer show the broken image icon, nor will they show ALT text. Repairs alleged 'regression' from previous ALT text fixes. b=109090 r=alexsavulov sr=kin 2001-11-30 20:47:06 +00:00
kin%netscape.com
190a0000f7 Fix for bug 111264: nsTextFrame::SetSelected() calls Invalidate() with empty rect.
Prevent SetSelected() from generating invalidate warnings by
preventing calls to Invalidate with an empty rect.

r=jfrancis@netscape.com  sr=attinasi@netscape.com
2001-11-29 22:54:15 +00:00
rods%netscape.com
d6c67a897d This was in the patch, but somehow missed the checkin
Bug 102596 rdcone sr=attinasi
2001-11-29 10:26:51 +00:00
jst%netscape.com
db54a5d2c2 Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com 2001-11-29 08:48:53 +00:00
peterlubczynski%netscape.com
1c4ec0d246 Fix for always loading the Java VM for embed tag, patch by nis@sparc.spb.su (Igor Nekrestyanov) bug 94023 r=peterl sr=beard 2001-11-29 05:14:11 +00:00
attinasi%netscape.com
ca54f79ce1 null-ptr check for talkback crash that I cannot duplicate. b=105168 r=karnaze sr=hyatt 2001-11-29 00:10:31 +00:00
rods%netscape.com
5585201a2a Enabling the specifying of the gap around the page for Print Preview
and an offset from the edge of the page for headers and footers (used in PP and Printing)
Bug 102596 r=dcone sr=attinasi
2001-11-28 15:19:47 +00:00
dbaron%fas.harvard.edu
3645b0e30a Fix HP bustage by moving GetStyleData function templates from nsStyleStruct.h to nsIFrame.h and nsIStyleContext.h b=111883 2001-11-28 06:50:13 +00:00
dbaron%fas.harvard.edu
f7590852c8 Switch to using typesafe way of accessing style data. r=hyatt sr=waterson b=111883 2001-11-28 05:06:17 +00:00
attinasi%netscape.com
2cf04d7646 Fix for problem with horizontal auto margins in presence of padding on parent: checkin for arunan_bala@hotmail.com b=20582 r=dbaron sr=attinasi 2001-11-28 01:17:51 +00:00
mkaply%us.ibm.com
6c4dc301be #108280
r=mkaply, sr=blizzard
OS/2 only - code from Javier Pedemonte to get our fonts back after 99010
2001-11-27 22:58:37 +00:00
karnaze%netscape.com
5b097ca46e bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi. 2001-11-27 01:45:46 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
nhotta%netscape.com
359f5fea05 Adding Georgian charset GEOSTD8, contributed by giasher@wanex.net, bug 107533, r=ftang, rs=brendan. 2001-11-22 00:13:10 +00:00
attinasi%netscape.com
efa0f3d70c Moving loading and broken image icons to /res for embedding. b=110384 r=adamlock,sfraser sr=sfraser,waterson 2001-11-20 22:21:14 +00:00
peterlubczynski%netscape.com
045106c8c1 Fixing using correct attribute or parameter for Java based on tag type, fixes mayscript for Liveconnect. bug 109039 r=av sr=beard 2001-11-20 02:17:21 +00:00
aaronl%netscape.com
6f28df0916 Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content 2001-11-20 02:05:26 +00:00
timeless%mac.com
060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
rods%netscape.com
649db7a33f Temporary fix for problem with nsStrin.ReplaceSubString
We need to make sure the sure we are subst for isn't in the subst string.
Bug 110284 r=dcone sr=attinasi
2001-11-16 13:41:12 +00:00
smontagu%netscape.com
4a54e891e9 Fix crash when scrolling absolute positioned textarea by adding test to return value from |GetLine|. Bug 105004, r=rbs, sr=kin 2001-11-16 03:08:30 +00:00
dbaron%fas.harvard.edu
25c6910bda Fix overly long lines. r=kin sr=waterson b=106658 2001-11-15 07:30:09 +00:00
dbaron%fas.harvard.edu
7100fcf0d0 Fix floater state recovery to descend into blocks (which might contain floaters). b=106658 r=kin sr=waterson 2001-11-15 07:28:46 +00:00
mkaply%us.ibm.com
3f591b0d95 #36163
r=mkaply, r/sr=attinasi
Don't show Bidi control characters in the browser
2001-11-14 14:21:52 +00:00
rods%netscape.com
5b04635746 Added image animation mode constants to imgIContainer.IDL,
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (change from dcone's review comments)
Bug 2586 r=dcone sr=attinasi
2001-11-14 13:59:08 +00:00
karnaze%netscape.com
436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
attinasi%netscape.com
74800fe2b9 Fixing image that was added non-binary 2001-11-14 01:56:39 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
av%netscape.com
f514ee917e Bug 109041 -- adding call to NPP_SetWindow for windowless plugins on paint event, patch by dbrittain@superscape.com, r=av, sr=beard 2001-11-13 00:30:44 +00:00
peterlubczynski%netscape.com
b668ed8b55 Mac fix for HTML embed region being painted the default background color bug 83159 r=av sr=sfraser a=asa 2001-11-09 00:42:02 +00:00
attinasi%netscape.com
cd8d7f4f0d New image for loading and broken images icons. b=108799 r=kmcclusk sr=waterson a=blizzard/drivers 2001-11-08 21:43:54 +00:00
attinasi%netscape.com
10a8b8e284 New image for broken images icon. b=108799 r=kmcclusk sr=waterson a=blizzard/drivers 2001-11-08 21:37:24 +00:00
attinasi%netscape.com
e315cc962f New image for loading images icon. b=108799 r=kmcclusk sr=waterson a=blizzard/drivers 2001-11-08 21:36:50 +00:00
attinasi%netscape.com
27ad2e0eb2 Due to popular demand, broken images are now getting an icon and a sized-box if they have width and height and are in QuirksMode documents (see bug for pref to override). b=102281 r=kmcclusk sr=waterson 2001-11-07 05:02:42 +00:00
peterlubczynski%netscape.com
d5c3daf569 Fix for NPN_PostURL not always working correctly [like with binary file data] bug 105417 r=av sr=darin 2001-11-07 03:03:04 +00:00
peterlubczynski%netscape.com
c5dea40c77 Fix for background color not being set on the widget for plugins bug 83159 r=av sr=attinasi 2001-11-06 23:46:13 +00:00
karnaze%netscape.com
59485c067e bug 30692 - Have children of cell block use the computed width of the cell. sr=attinasi, r=alexsavulov 2001-11-06 22:57:17 +00:00
rods%netscape.com
18c0c3636f Minor fix up to my PrintPreview Checkin
Bug 107562
2001-11-06 14:34:00 +00:00
dbaron%fas.harvard.edu
01bf33644b Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt 2001-11-06 07:48:02 +00:00
attinasi%netscape.com
a7932b3a81 Oops - check for empty damageRect in nsFrame::Invalidate should be DEBUG only. b=103266 r=rbs sr=hyatt 2001-11-06 02:44:35 +00:00
attinasi%netscape.com
94f3ab9a20 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +00:00
bzbarsky%mit.edu
5de83eca7d Fix inheritance of frameborder in multiply nested framesets. Bug
108164, r=timeless, sr=attinasi
2001-11-06 00:44:25 +00:00
karnaze%netscape.com
8d3c3ea8b9 bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov 2001-11-05 00:15:51 +00:00
rods%netscape.com
bc94610da9 Fixing mem leak from my checkin (Bug 107562) 2001-11-04 11:33:28 +00:00
rods%netscape.com
cff42fbac8 Oops, I didn't mean to check this in, removing my change to turn it on again 2001-11-04 03:40:27 +00:00
rods%netscape.com
201e287809 Fix memory leaks, getting nsIWidget and not releasing it, found an extra one also 2001-11-04 02:37:07 +00:00
pavlov%netscape.com
63fa4f0a4a fixing compiler bustage. SetSharedPageData needs a return type (of void) 2001-11-03 21:49:38 +00:00
rods%netscape.com
37a4501149 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
hyatt%netscape.com
79f6e4162f Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband 2001-11-03 07:10:51 +00:00
dbaron%fas.harvard.edu
daeed9f51f Ensure that text inputs, checkboxes and radios paint over inline element backgrounds that are behind them. Fix a few build warnings. b=107244 r=rods sr=waterson 2001-11-03 06:23:19 +00:00
dbaron%fas.harvard.edu
cb4f2aea5c Fix FMR/FMW caused by translating the space manager right after deleting it. r=jag sr=waterson b=108017 2001-11-03 05:18:39 +00:00
bzbarsky%mit.edu
0d0d35c968 Add a pref (layout.frames.force_resizability) to force frames to be
resizable.  Bug 105797, r=hyatt, sr=attinasi
2001-11-02 02:19:49 +00:00
karnaze%netscape.com
3ca7ced0f8 fix crash in display reflow debugging. 2001-11-01 15:53:57 +00:00
karnaze%netscape.com
128e7ac8d2 bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov 2001-11-01 15:31:13 +00:00
karnaze%netscape.com
bbd9ace80f bug 107403 - shannond's patch to cast debug code before deleting to satisfy HP-UX. r=karnaze 2001-10-31 14:45:12 +00:00
bryner%netscape.com
de5db63a95 Debug-only change to print out the img src when the frame tree is dumped. r=pavlov, sr=waterson. 2001-10-31 04:43:48 +00:00
dbaron%fas.harvard.edu
978c81f4e8 Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt 2001-10-31 02:53:47 +00:00
rbs%maths.uq.edu.au
32cf016db5 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi 2001-10-30 22:58:00 +00:00
jst%netscape.com
b494463795 Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com 2001-10-30 10:14:06 +00:00
dbaron%fas.harvard.edu
c13d4f0b0c Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
hyatt%netscape.com
a802d9dfe8 SetParent in nsIFrame should not be inlined. r=evaughan, sr=hewitt 2001-10-30 00:01:39 +00:00
karnaze%netscape.com
e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
jaggernaut%netscape.com
cad0dc7095 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
alecf%netscape.com
6ae8a9bee0 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc 2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu
6e86902faa Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu
0a8803afaf Fix Mac debug build bustage. (Why don't we have a mac debug tinderbox?) b=86947 2001-10-25 20:19:32 +00:00
mkaply%us.ibm.com
ab90544f95 Attempt to fix OS/2 bustage 2001-10-25 13:13:28 +00:00
dbaron%fas.harvard.edu
3d44c64738 Fixing AIX and OS/2 bustage by passing by value instead of by reference to operator== and operator!=. 2001-10-25 06:34:10 +00:00
dbaron%fas.harvard.edu
02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
dbaron%fas.harvard.edu
157c017816 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
mkaply%us.ibm.com
671634a107 Fix for OS/2 and AIX bustage 2001-10-24 19:12:02 +00:00
bernd.mielke%snafu.de
a241132e43 bug 104898 the borderpadding should not influence the inner table margin relative to the
outertable frame r=karnaze sr=attinasi
2001-10-24 14:36:33 +00:00
simon%softel.co.il
c24e2968a6 Fix for bug 75034: Selection highlight on some Bidi pages was displayed in the opposite position to the actual selection. r=kin@netscape.com, sr=attinasi 2001-10-24 11:12:31 +00:00
attinasi%netscape.com
dbbe5d88fb Checkin for tingley@sundell.net - Blinking text optional via pref b=19258 r=dbaron sr=attinasi 2001-10-24 04:51:34 +00:00
bernd.mielke%snafu.de
27a1ee010b bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
r=kin sr=attinasi
2001-10-24 04:50:37 +00:00
hyatt%netscape.com
0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
bzbarsky%mit.edu
20ecea032c Make setting body.style.background invalidate the whole canvas so the
background is repainted correctly. r=kmcclusk@netscape.com, sr=attinasi
2001-10-23 22:08:30 +00:00
dougt%netscape.com
b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
bryner%netscape.com
03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
pavlov%netscape.com
b64aaa2689 fix for bug 105257 r=dbaron sr=mscott 2001-10-21 00:12:53 +00:00
pinkerton%netscape.com
5fb9dd1a7e adding a couple of prefs to make word selection better on mac. doesn't eat whitespace to next word and stops at punctuation. r=mjudge/sr=sfraser. bug# 98546 2001-10-19 14:10:22 +00:00
ftang%netscape.com
049abf1f66 fix bug 96530. delay loading of unicharutil dll till we really need it.
r=dp sr=waterson
2001-10-16 12:38:19 +00:00
dbaron%fas.harvard.edu
5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
pavlov%netscape.com
3f7d7f9384 removing lowsrc support. bug 92453. r=jag sr=attinasi 2001-10-14 01:17:08 +00:00
bernd.mielke%snafu.de
faafbd0e04 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
ftang%netscape.com
21b5119b63 fix bug 88050. remove Korean base transformation. r=jshin sr=waterson 2001-10-11 00:22:13 +00:00
dbaron%fas.harvard.edu
edc11e5ad3 Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065 2001-10-11 00:15:09 +00:00
loadrunner%betak.net
5a9892401d bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson 2001-10-09 10:15:06 +00:00
beard%netscape.com
fba17af79c Fix for bug #103431, r=peterl, sr=sfraser. 2001-10-08 22:58:59 +00:00
alexsavulov%netscape.com
6d2b09647b fix for bug 45621 - added MarkDirty for procentage child in case of nowrap
blocks, consolidated the logic in nsBlockFrame::PrepareResizeReflow
sr= attinasi, r=dbaron
2001-10-08 21:51:48 +00:00
pavlov%netscape.com
7d17e005e1 fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated) 2001-10-07 18:02:13 +00:00
hyatt%netscape.com
d033717456 fix for 101746. r=dbaron, sr=waterson 2001-10-07 00:19:01 +00:00
pavlov%netscape.com
3ec9e0aaec adding null check to fix orangeness. 2001-10-06 08:19:44 +00:00
pavlov%netscape.com
eae061c13e fix for bug 92248 r=bryner sr=jst 2001-10-06 05:08:16 +00:00
attinasi%netscape.com
065e93e80e Protection against null param for topcrash bug 100298. r=kmcclusk sr=kin 2001-10-03 00:01:04 +00:00
bzbarsky%mit.edu
105be47c10 Move the zero-check to before we divide by the number. Fixes crash when
all 3 header or all 3 footer print prefs are empty strings. Bug 102257,
r=rods, sr=shaver
2001-10-01 23:57:57 +00:00
mkaply%us.ibm.com
6dabd5cfda #81664
r=simon@softel.co.il, sr=attinasi for nsTextFrame, sr=blizzard for nsBidiPresUtils
Cleanup of bidi reordering code
2001-10-01 03:43:42 +00:00
mkaply%us.ibm.com
72816bd6d4 #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
vidur%netscape.com
4966d85f91 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts 2001-09-29 17:50:15 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
waterson%netscape.com
b173c37b0d Bug 58384, 86279. Be sure to trim letter spacing as well as word spacing in TrimTrailingWhiteSpace(). Also, explicitly add letter spacing where appropriate, instead of including it in word spacing. r=shanjian, sr=attinasi. 2001-09-28 22:39:10 +00:00
attinasi%netscape.com
4d5175753d Fixed image wrapping in tables problems. b=101674 sr=hyatt r=waterson 2001-09-28 21:42:03 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
kin%netscape.com
e3bd36cd90 Fix for bug 89236: printing is producing crash
Modified nsBlockFrame::DrainOverflowLines() so
that it reparents any floater out-of-flow frames
and their views.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com  a=pdt
2001-09-28 13:59:23 +00:00
peterlubczynski%netscape.com
f249aa3c5d Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi 2001-09-28 03:34:53 +00:00
peterlubczynski%netscape.com
7487a1bcc1 Ignore leading and trailing whitespace for src and data attributes bug 96362 r=av sr=attinasi 2001-09-28 03:29:24 +00:00
waterson%netscape.com
bac705737b Bug 73235. Don't add scrollbar's width to MES. r=attinasi, sr=hyatt 2001-09-27 20:52:45 +00:00
rbs%maths.uq.edu.au
5b02d7ca8a bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com 2001-09-27 18:34:30 +00:00
rods%netscape.com
f90b35f264 Enables the configuration of headers and footers, via 6 string in the nsIPrintOptions
3 for the header and 3 for the footer.
The new codes are &T,&U,&D,&P,&PT (see bug for explanation)
Bug 99415 r=kmcclusk, sr=attinasi a=pdt
2001-09-26 14:01:26 +00:00
peterlubczynski%netscape.com
421eef1dcc Clean up code in part for fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi 2001-09-26 02:45:20 +00:00
alecf%netscape.com
ef91a55dd7 oops missed this file - use NS_LITERAL_STRING now that API has changed 2001-09-26 01:10:14 +00:00
av%netscape.com
2e25246c6d Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi 2001-09-25 22:04:24 +00:00
rods%netscape.com
4d11ab38a1 Removed setting page height to 5 pages when printing a document "AsIs"
Also, added special case code for sizing of "AsIs" documents when they
are positioned 0,0
Bug 100797 r=kmcclusk sr=attinasi
2001-09-25 13:00:04 +00:00
attinasi%netscape.com
c4b5ba5576 Don't allow consecutive images to wrap in table cells with percentage width. r=kmcclusk sr=waterson b=100568 2001-09-25 06:31:46 +00:00
gerv%gerv.net
1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
karnaze%netscape.com
66046cb3f7 bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi. 2001-09-24 14:48:38 +00:00
pchen%netscape.com
e711f7fa3e Fix for smoketest blocker 100702, remove extra lines caused by misapplied
patch for bug 98107
2001-09-21 20:19:39 +00:00
kin%netscape.com
df98e67e74 Fix for bug #92215: [Table Printing] Mozilla crashes when printing the front page of slashdot
Modified nsBlockFrame::ReflowDirtyLines() so that it
removes any floaters on it's continuing frames list,
if they are on lines that are being pulled up.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2001-09-21 13:41:52 +00:00
waterson%netscape.com
7241191f29 Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi 2001-09-21 00:53:29 +00:00
karnaze%netscape.com
e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
edburns%acm.org
0032f800c7 bug=98107
r=peterl
sr=rpotts

/* According to the HTML 4.01 spec, at
                       * http://www.w3.org/TR/html4/types.html#type-cdata
                       * ''User agents may ignore leading and trailing
                       * white space in CDATA attribute values (e.g., "
                       * myval " may be interpreted as "myval"). Authors
                       * should not declare attribute values with
                       * leading or trailing white space.''
                       */
2001-09-19 03:34:17 +00:00
hyatt%netscape.com
18ad83890a Fix for 49874 and 98109, make iframes build their docshells and kick off their content load from frame construction, also enabling the primary content area to be dynamically shiftable. r=jag, sr=waterson 2001-09-19 01:53:00 +00:00
peterlubczynski%netscape.com
8727eab1d0 Implement plugin printing bug 27478 r=av,beard sr=attinasi 2001-09-18 02:11:09 +00:00
dbaron%fas.harvard.edu
3c55d5d6f3 Make fixed positioning code check for NS_AUTOOFFSET to fix positioning of auto-sized fixed positioned elements relative to bottom or right. b=98579 r=waterson sr=attinasi 2001-09-17 23:55:58 +00:00
attinasi%netscape.com
6787cc3c9b Fixing erroneous addition to previously reviewed and approved patch: b=97619 r=bernd sr=waterson 2001-09-17 23:13:57 +00:00
mkaply%us.ibm.com
051c211df1 #83698
r=beard, sr=jband
This code was previously r/sr for XP_UNIX. Because the OS/2 Java plugin is based on the Unix Java plugin, we need this fix too.
2001-09-14 21:16:19 +00:00
harishd%netscape.com
c5efdc8321 98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi. 2001-09-14 20:44:41 +00:00
peterlubczynski%netscape.com
3943a56f95 Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi 2001-09-12 20:43:40 +00:00
waterson%netscape.com
d76d3fdf0d Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
peterlubczynski%netscape.com
f94929cc86 Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi 2001-09-12 04:00:52 +00:00
waterson%netscape.com
e73674359b Bug 97383. Include the float's max-element-width in computation of the line's max-element-width so that we're guaranteed to place content next to a left floater. Revert some of the NOWRAP changes that should no longer be necessary. r=dbaron, sr=attinasi 2001-09-11 22:17:21 +00:00
jst%netscape.com
31c9d83acb Fixing bug 98828. Cache a few nsSpaceManager objects to avoid spending 43%cvs ci -m ! of the time spent in PresShell::ProcessReflowCommand() in new and delete. r=dbaron@fas.harvard.edu, sr=waterson@netscape.com 2001-09-11 00:55:05 +00:00
attinasi%netscape.com
2ddbc70494 Fixed performance issue by restricting the cases in which we traverse up the frame tree looking for a containing block with a real computed height. b=85016 r=karnaze sr=waterson 2001-09-11 00:12:28 +00:00
dbaron%fas.harvard.edu
9904d904df Change NS_SUCCEEDED check to null-check since GetDocument may return a null document. r=jag sr=waterson b=99056 2001-09-10 19:39:25 +00:00
attinasi%netscape.com
f69167707b Tweaked the existing CalcQuirkContainingBlockHeight method to allows for percentage based elements in deeply nested blocks, instead of just elements that are directly in the BODY. b=85016 r=karnaze sr=waterson 2001-09-08 20:09:08 +00:00
attinasi%netscape.com
6507d5d128 Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson 2001-09-08 19:26:34 +00:00
rjesup%wgate.com
3098b524ca bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi 2001-09-06 21:11:44 +00:00
waterson%netscape.com
48483431d2 Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi 2001-09-05 20:27:19 +00:00
karnaze%netscape.com
a62ed45d11 bug 95688 - null check on base url which might fix the talkback reports. sr=kin, r=alexsavulov. 2001-09-05 14:05:01 +00:00
edburns%acm.org
c87e337f09 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar f�r Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
f9570a0602 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi 2001-09-05 02:45:48 +00:00
waterson%netscape.com
07f0145166 Bug 55086. Be sure to position child views, too! r=dbaron, sr=attinasi, a=blizzard. 2001-08-31 20:14:31 +00:00
attinasi%netscape.com
0cbc8f3b4f Inline images no longer break text runs. b=32191 r=bernd,dbaron sr=waterson a=asa(obod) 2001-08-29 22:59:09 +00:00
attinasi%netscape.com
0df62e2ac6 [Checkin for alexsavulov] Improvement on patch for bug 93363. Fix for layout problem where shrinkwrapping of floats ignores padding. b=95511 r=dbaron sr=attinasi a=roc+moz 2001-08-28 00:35:08 +00:00
dbaron%fas.harvard.edu
b6e47f6467 Make middle-click pasting put things in the right place by uncommenting code that ensures Y coordinate is more important than X coordinate and by making sure the code does the right thing in case of overlap. b=57913 r=bryner sr=kin a=chofmann 2001-08-26 18:33:57 +00:00
hyatt%netscape.com
62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
brendan%mozilla.org
6d895baf1d Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
bernd.mielke%snafu.de
6c51b86add handle captions and innertable frames identical if the containing block is to small,
bug 76726 r=karnaze sr=waterson
2001-08-21 19:31:53 +00:00
rjesup%wgate.com
f48461942b Bug 96132. ~nsTypedSelection misuses arrays. r=dbaron,
sr=jst@netscape.com sr=kin@netscape.com
2001-08-21 18:38:20 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com
c1b48b4601 Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt. 2001-08-18 07:25:52 +00:00
peterlubczynski%netscape.com
fbeb63c657 Fix for crash on Mac when we don't have an mWidget, bug 83155 Browser crashes when trying to load html parameter test on mac, r=bnesse sr=waterson 2001-08-17 22:52:12 +00:00
blizzard%redhat.com
b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org
b00819c93c - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
9f2f88aa48 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
av%netscape.com
5893e07753 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson 2001-08-17 00:45:25 +00:00
peterlubczynski%netscape.com
73453e9057 Plugging leaking contentType from previous check-in. 2001-08-16 04:54:07 +00:00
peterlubczynski%netscape.com
196d33ffdc Fix for text/html and text/plain OBJECTs don't work bug 678 r=av sr=attinasi 2001-08-16 03:02:05 +00:00
av%netscape.com
fe7e6cc3e7 Fix for 82980 -- check for SRC attribute in addition to DATA added, r=peterl, sr=attinasi 2001-08-16 00:14:14 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
attinasi%netscape.com
1e1e22c2a3 Checkin for AlexSavulov@netscape.com: fixes problem of block inside of a NOWRAP block causing incorrect sizing. b=93363, r=peterl sr=attinasi 2001-08-14 00:08:08 +00:00
bryner%netscape.com
f108fef5b4 Bug 66617 - When tabbing between links on a page, the focus outline on the
previously focused link would not be redrawn if the tab caused the page to
scroll.  r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
pavlov%netscape.com
1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
bernd.mielke%snafu.de
46ebaf77da don't substract caption margins twice, bug 91057, r=karnaze sr=waterson 2001-08-09 05:24:14 +00:00
peterlubczynski%netscape.com
9fd40ef3a3 Fix for windowless plugins don't draw in the correct place when scrolled bug 93056 patch by dbrittain@superscape.com r=peterl sr=waterson 2001-08-07 01:50:32 +00:00
peterlubczynski%netscape.com
964ba1e659 Adding nsIDOMMouseMotionListener to fix Windowless plugins do not receive mouse/keyboard events bug 90574 r=av sr=waterson 2001-08-07 01:48:14 +00:00
karnaze%netscape.com
820c32c824 bug 80817 (checked in for alexsavulov) - removed table cell nowrap hack, repaired block nowrap. sr=waterson, r=karnaze. 2001-08-06 22:05:31 +00:00
hewitt%netscape.com
3203d18be2 93193 - cleaning up after align/pack xul box model changes, r=blake, sr=hyatt, 90741 - replacing box with hbox/vbox (from andersma@luther.edu), r=hewitt, sr=hyatt 2001-08-04 06:21:59 +00:00
harishd%netscape.com
a51389e84f 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
pavlov%netscape.com
6c8b46593e adding a GetImageRequest method to allow access to the image stuff. r=valeski sr=waterson 2001-08-03 21:11:03 +00:00
waterson%netscape.com
ecbcce00ce Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst 2001-08-03 07:34:28 +00:00
waterson%netscape.com
e13d9d68f5 Bug 92977. Remove redundant |MoveViewTo()| call. sr=attinasi. 2001-08-03 07:18:35 +00:00
bnesse%netscape.com
7a05d18145 Fix for bug 93305. Remove unnecessary prefs code. r=dbaron, sr=attinasi. 2001-08-02 20:48:04 +00:00
bratell%lysator.liu.se
d391c71616 Bug 91669 - use AppendInt instead of sprintf to convert from number to nsString. r=dbaron, sr=attinasi 2001-08-02 12:12:53 +00:00
peterlubczynski%netscape.com
bd1f73175a Move code for showing content viewer out of object frame, part of bug 93105 r=av sr=waterson 2001-08-02 00:03:29 +00:00
waterson%netscape.com
4cc8c3da8d Bug 79486. Make sure that |MoveChildrenTo()| correctly updates the NS_FRAME_HAS_CHILD_WITH_VIEW flag when moving child frames into the new {ib} split frames. r=dbaron, sr=attinasi. 2001-08-01 04:37:17 +00:00
dbaron%fas.harvard.edu
5c0b6349e6 Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson 2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
fb0cc1ea35 Clean up if-else cascade by condensing into one big logical expression. Based on patch by Ulrich Drepper <drepper@cygnus.com>. r=jag sr=waterson b=89791 2001-08-01 03:09:59 +00:00
dbaron%fas.harvard.edu
3d51f4ce1a Split nsHTMLReflowMetrics into a separate file (nsHTMLReflowMetrics.h rather than nsIFrame.h). b=64023 r,sr in {waterson, attinasi} 2001-08-01 01:27:50 +00:00
dbaron%fas.harvard.edu
0ab924e19b Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443. 2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
ff52e9e58d Use nsAutoVoidArray for stack-based nsLineLayout to reduce allocations. r=jag sr=waterson b=90727 2001-07-25 05:20:09 +00:00
dbaron%fas.harvard.edu
b4ea38686f Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
dbaron%fas.harvard.edu
e80523e577 Fix imagemap COORDS parsing function to handle whitespace correctly, which coincidentally fixes a crash that I don't understand. b=91432 r=jag sr=waterson 2001-07-25 05:14:18 +00:00
dbaron%fas.harvard.edu
5948e0ab2d Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson 2001-07-25 04:30:59 +00:00
shanjian%netscape.com
f44e81b6c1 #41461
This checkin correct a minor leftout in previous checkin.
r=rbs@math.uq.edu.au  sr=attinasi
2001-07-24 22:48:54 +00:00
av%netscape.com
2687f126fc Fix for bug 90152 -- corrected logic for displaying an alt content of the object tag, r=peterl, sr=watercon 2001-07-24 22:45:14 +00:00
shanjian%netscape.com
0f3690298d #41461 Japanese is not wrapped in correct position compared with ascii.
r/sr = attinasi
We should use document langGroup to load font and check width. Locale langGroup will not work well.
2001-07-24 21:45:45 +00:00
dcone%netscape.com
51d15da933 b=91321 r=peterl sr=attinasi. Moved margins in by .25 inches. 2001-07-24 13:53:52 +00:00
mjudge%netscape.com
9d539a0e0f 82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements. 2001-07-19 23:32:07 +00:00
dbaron%fas.harvard.edu
fc01a17366 Make the width of floats with |width: auto| depend only on the width of the containing block and the contents of the float and not on the available space. Remove the loop calling ReflowFloater at different positions that is no longer needed, and remove the caching of the max element size for that loop that was not being invalidated correctly between reflows. Fix handling of margin, border, and padding for computation of available width for |width: auto| floaters. r=attinasi sr=waterson b= 85876, 82314, 82315, 85216, 85874, 86746 2001-07-19 02:33:43 +00:00
dcone%netscape.com
8996f25951 bug = 82573, make sure the mMargin is initialized. r=attinasi sr=peterl 2001-07-18 20:57:10 +00:00
pollmann%netscape.com
e14232c54a Bug 43410: Correct z-index ordering of iframes. Passing in initdata that tells the widget it needs to clip sibling and child widgets prevents overlapping iframes from painting on top of one another. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com 2001-07-18 08:23:57 +00:00
jst%netscape.com
88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
attinasi%netscape.com
2f718a0c5f Misplaced #endif - fixed for opt builds 2001-07-17 22:02:11 +00:00
attinasi%netscape.com
91593a2f9f Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames 2001-07-17 21:30:17 +00:00
attinasi%netscape.com
fddb052315 Checking in for alexsavulov@netscape.com: added debug method to allow dumping of all frames from anyplace in the code. r=rbs@maths.uq.edu.au sr=attinasi@netscape.com b=80396 2001-07-17 21:29:08 +00:00
attinasi%netscape.com
33c1722127 Fixed regression (bug 90503) by restricting the full-view invalidate to the case where the height has decreased (instead of just changed). r=karnaze, sr=waterson b=86852 2001-07-17 19:35:23 +00:00
pavlov%netscape.com
8aaaf796a4 part of bug 78690. r=bryner sr=jst 2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
peterlubczynski%netscape.com
5c0a9158c3 Fix for Shockwave games not working bug 90173 r=av sr=attinasi 2001-07-14 01:36:45 +00:00
jst%netscape.com
53fe4bfab6 Fixing bug 66022, recurse to death if image attributes are touched from an images onload handler when the image is loaded from the cache. r=pavlov@netscape.com, sr=attinasi@netscape.com 2001-07-11 05:44:12 +00:00
bnesse%netscape.com
345a818aba Fix for bug 85231. Free nsTimer in PluginInstance to eliminate MLK and crash caused by it. r=av, peterl. sr=scc. 2001-07-11 02:29:45 +00:00
peterlubczynski%netscape.com
a3703928fc Slightly change pluign timer interval to fix url bar on Mac bug 88936 r=bnesse sr=sfraser 2001-07-10 03:59:39 +00:00
peterlubczynski%netscape.com
7d9fc3deba Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen 2001-07-10 02:52:50 +00:00
waterson%netscape.com
26d31464b4 Bug 90054. Remove unnecessary methods from nsIImageFrame. r=dbaron, sr=attinasi. 2001-07-10 01:30:08 +00:00
waterson%netscape.com
cdfddbfa3a Bug 89076. Remove unneccessary methods. r=dbaron, sr=attinasi. 2001-07-09 23:33:28 +00:00
waterson%netscape.com
c68f8fe6bc Bug 89533. Remove unused reflow command types. r=rbs, sr=attinasi 2001-07-09 22:44:07 +00:00
shanjian%netscape.com
49936baba8 #77394 incorrect handling of empty text nodes
r=waterson, sr=attinasi
2001-07-09 20:47:58 +00:00
attinasi%netscape.com
0929067509 Fix for bad invalidation/painting when deleting lines of text at the end of a document or mail message. b=86852 r=alexsavulov sr=waterson 2001-07-05 19:26:30 +00:00
mjudge%netscape.com
0eb68dfeb6 PDT+ 88164 backing out of bad bug for keyboard navigation. 2001-07-05 19:11:32 +00:00
dcone%netscape.com
fcb8514b6f bug=86875 took out some dead code. r=dcone sr=attinasi 2001-07-05 14:25:55 +00:00
waterson%netscape.com
123a705ccd Bug 87543. Don't try to do arithmetic when psd->mRightEdge == NS_UNCONSTRAINEDSIZE. r=rbs, sr=attinasi 2001-07-04 06:07:14 +00:00
waterson%netscape.com
5709f7405c Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi 2001-07-04 05:54:09 +00:00
dbaron%fas.harvard.edu
5c00ae3d05 Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574 2001-07-04 02:05:59 +00:00
dbaron%fas.harvard.edu
077fc4d427 Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi 2001-07-04 02:00:05 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com
e9ee70562c Bug 87381. Remove extra dirty reflow when BRS_ISINLINEINCRREFLOW. r=rbs, sr=attinasi. 2001-06-29 23:30:05 +00:00
dcone%netscape.com
d3ef97497b bug=24406. Fix printing of blank text fields.. selection criteria was wrong. r=r=kmcclusk@netscape.com sr=attinasi 2001-06-29 05:32:56 +00:00
peterlubczynski%netscape.com
d768cc430c Fix for Shockwave registration bug 85334 r=av sr=attinasi 2001-06-29 00:29:44 +00:00
simon%softel.co.il
71f6955270 Corrects the arguments in calls to GetBidiProperty. Bug 87610, r=mkaply, sr=kin. 2001-06-27 08:08:08 +00:00
anthonyd%netscape.com
673904e412 fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
2001-06-26 20:47:46 +00:00
anthonyd%netscape.com
46c896a943 backing out changes
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com
27f8fd72a2 fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
r=cmanske@netscape.com, anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-26 18:01:10 +00:00
tor%cs.brown.edu
25c43a19d0 Bug 87540 - nsImageFrame was offsetting invalidate rect by one pixel
for historical reasons (jpeg decoder used to one-index update rect).
r=kmcclusk, sr=blizzard
2001-06-25 22:14:37 +00:00
tor%cs.brown.edu
bdec5a3e6c Bug 87550 - nsImageFrame wasn't adjusting for bordering padding when
invalidating itself.  r=kmcclusk, sr=blizzard
2001-06-25 22:12:15 +00:00
kin%netscape.com
c1ab3021f5 Fix for bug #87133 Can't select last few lines of text in an Editor
Modified GetClosestLine() to include first (0) and last (n-1) line
in search if neccessary. Returned index should now be guaranteed to be
within 0 to n-1 when exiting main loop. Removed unused var and define,
added comments, and renamed countLines to numLines.

r=waterson@netscape.com,mjudge@netscape.com
sr=blizzard@mozilla.org
a=chofmann@netscape.com
2001-06-25 14:06:19 +00:00
mjudge%netscape.com
fffedf28a1 86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa 2001-06-22 14:52:48 +00:00
peterlubczynski%netscape.com
85e16867b9 Oops...last log entry was for bug 86075 2001-06-22 07:06:24 +00:00
peterlubczynski%netscape.com
f4b2a93398 Fix for <object> causing table width to be enormous patch by piskozub@iopan.gda.pl (Jacek Piskozub) r=peterl sr=jst/hyatt a=blizzard 2001-06-22 07:04:24 +00:00
ftang%netscape.com
3e782eb254 fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
kin%netscape.com
a9a12e6690 Fix for bug #86492 Double click does not bring up object props dialog.
- Fixed 'if' statement in nsFrame::GetContentAndOffsetsFromPoint()
    so that it checks contentOffset instead of the uninitialized aContentOffset.

r=jfrancis@netscape.com  sr=attinasi@netscape.com  a=blizzard@mozilla.org
2001-06-21 06:35:37 +00:00
mjudge%netscape.com
49536b7650 used false instead of PR_FALSE. 2001-06-20 06:40:48 +00:00
joki%netscape.com
2c8ad9eb1b Fix 83810, have frame unregister its window from the presShell when the window is destroyed. sr:jst, r:pollmann, a:dbaron 2001-06-20 06:20:26 +00:00
mjudge%netscape.com
18f1ea4a52 82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation. 2001-06-20 04:48:10 +00:00
mjudge%netscape.com
3dadb0fce8 have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa 2001-06-20 04:40:17 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
loadrunner%betak.net
91c70ee453 bug 85487, M091 crash at line breaker [@ nsJISx4501LineBreaker::Next],
r=ftang, sr=waterson, a=asa
2001-06-19 22:57:50 +00:00