3528 Commits

Author SHA1 Message Date
rods%netscape.com
6b7c1e4878 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112811 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 02:07:03 +00:00
alecf%netscape.com
fd6d75b30f fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112785 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:26:44 +00:00
jst%netscape.com
b9772d48fe Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
alexsavulov%netscape.com
60208b116d fix for bug 70972 (object element does not respect CSS width and height
for non-plugins) r= peter lubczynski sr= attinasi


git-svn-id: svn://10.0.0.236/trunk@112614 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:30:50 +00:00
rods%netscape.com
ccd0e3e698 Fixes the problem where PrintPreview is getting multiple Initial reflows
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan


git-svn-id: svn://10.0.0.236/trunk@112569 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:53:02 +00:00
rods%netscape.com
d2614abdf5 mPrintSettings wasn't be properly set and therefore it wasn't getting the margins correctly
BUg 120621 r=dcone sr=attinasi a=blizzard


git-svn-id: svn://10.0.0.236/trunk@112470 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:45:06 +00:00
attinasi%netscape.com
95bad745a0 Loading and Broken image icons will no longer be drawn if the image size is smaller than the icon size. This fixes a problem where garbage was being left on the screen after the image loaded, because the Linux RenderingContext does not corectly clip image drawing. b=109418, r=pavlov, sr=blizzard, a=blizard on behalf of drivers
git-svn-id: svn://10.0.0.236/trunk@112467 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:17:12 +00:00
bnesse%netscape.com
eca0daca42 Fix for bug 104445. Make nsPluginInstance a scrollbar listener so it can notify plugins they are scrolling. Also fixes bug 76085. r=peterl, sr=sfraser, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@112450 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:12:29 +00:00
rods%netscape.com
1174e8e035 Fixes width of viewer area in PrintPreview
Bug 109564 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112286 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:24:09 +00:00
alecf%netscape.com
bfe2c85e5b factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag
git-svn-id: svn://10.0.0.236/trunk@112213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:57:29 +00:00
peterlubczynski%netscape.com
834721d540 Fix for plugins consuming context menu events, bug 118789 r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@112204 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:45:26 +00:00
av%netscape.com
21a5c77ebb Fix for bug 110094 -- winless plugins don't get right coordinates when scrolled, r=bnesse, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112116 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:16:37 +00:00
attinasi%netscape.com
779d9368ff Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
git-svn-id: svn://10.0.0.236/trunk@112109 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 22:05:26 +00:00
waterson%netscape.com
b2f8754193 Bug 52242. Include space manager information when computing auto-sized block's height. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112082 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:04:30 +00:00
dbaron%fas.harvard.edu
45b310844b Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
pierre%netscape.com
1617fcb71c 103594 "Clean up colors prefs code in nsPresShell". Remove PREFS_USE_OVERRIDE, insert the pref sheet at the
beginning of the User level. r=glazman+fantasai/sr-attinasi


git-svn-id: svn://10.0.0.236/trunk@112069 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 14:47:21 +00:00
pierre%netscape.com
846071ee39 89503 "font-size:0 ignored". When the font size is 0, set the x-height, ascent and descent to 0 in the TextReflowData. r=rbs/sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112063 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 13:21:55 +00:00
rods%netscape.com
ce2a82ca0c This enables platforms to set a pref as to whether they allow print from print preview.
Bug 118623 r=roland sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112025 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:58:46 +00:00
rods%netscape.com
4d93f82379 Gets title and url from PrintService instead of PrintSettings
Bug 117894 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112022 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:32:32 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu
307538c3e3 Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111960 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:10:46 +00:00
attinasi%netscape.com
ecb20fc642 Fixed problem with images splitting when they should not be. b=111255 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111948 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:32:55 +00:00
jdunn%netscape.com
01a246e76f AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu


git-svn-id: svn://10.0.0.236/trunk@111825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:16:05 +00:00
timeless%mac.com
39778a4e97 Bug 84380 Need a component that generates thai presentation forms
patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls, r=pradhat, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111782 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 02:32:43 +00:00
bernd.mielke%snafu.de
05a135ab75 completing the backout of my checkin for bug 110596
git-svn-id: svn://10.0.0.236/trunk@111720 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:28:12 +00:00
brade%netscape.com
5028888db3 remove unused statics kCRangeCID, kCClipboardCID, kCTransferableCID, and kHTMLConvertCID for savings of 64 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111705 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:52:36 +00:00
brade%netscape.com
0137943f93 remove unused static kIOServiceCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111694 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:39:24 +00:00
brade%netscape.com
b22b10b32f remove unused static kIStyledContentIID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111693 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:38:41 +00:00
brade%netscape.com
5639df86ad remove unused statics kWidgetCID, kScrollingViewCID, kViewCID saving 48 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111692 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:38:01 +00:00
bernd.mielke%snafu.de
ba490e401c bug 118794 remove pxiel frame error r=mkaply sr=attinasi
bug 110596 adding form frames to debug reflow - part2 r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111688 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:27:41 +00:00
aaronl%netscape.com
d7044d9fdc Last part of fix for bug 118633 - null frame checks. r=jgaunt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@111659 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 10:53:57 +00:00
waterson%netscape.com
063768d26a Print the rest of the linebox flags when debugging reflow. Debug-only change.
git-svn-id: svn://10.0.0.236/trunk@111640 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 03:04:29 +00:00
waterson%netscape.com
e72c8455d0 Bug 99461 and it's ilk. Remove hack that blasts tables into the same space. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@111638 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 03:01:13 +00:00
dcone%netscape.com
9fbb0ab01d bug = 117072. r=rods sr=attinasi. set the paintbackground to true before paint. Fixes paint preview.
git-svn-id: svn://10.0.0.236/trunk@111571 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 14:58:52 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +00:00
rods%netscape.com
10030f36c5 IMproved printing error codes
Bug 86378 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111525 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:21:08 +00:00
ftang%netscape.com
347228b64b fix bug 116976 for big endian machine. change the ill GetBidiProperty implementation to make it work under big endian machinese. Should fix the API later. r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@111522 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 00:51:39 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
rods%netscape.com
804f5291cc Fixes free memory read
Bug 113917 r=rods sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@111483 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 13:31:18 +00:00
dbaron%fas.harvard.edu
ba011ecd80 Clean up nsBlockFrame::RemoveFrame and add assertion to nsFrameList. b=114222 r=waterson sr=kin
git-svn-id: svn://10.0.0.236/trunk@111449 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:17:41 +00:00
dbaron%fas.harvard.edu
4a32ed3c58 Bug 117374: nsBlockFrame::UpdateSpaceManager is no longer needed since nsBlockReflowState::RecoverFloaters does the same work.
Bug 113895:  Pass |aDeltaY| as 0 for recursive calls to RecoverFloaters.
b=117374  r=attinasi  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111448 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:14:00 +00:00
dbaron%fas.harvard.edu
e149e57952 Fix tabbing through image maps and fix Windows crash right-clicking on image maps by reverting my changes to nsImageMap from bug 110911 and by giving the primary frame map larger entries to accomodate mapping from a content node to a frame with a different |mContent|. b=115481, 114377 r=bryner sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111415 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 15:22:52 +00:00
waterson%netscape.com
6357150a06 Bug 116230 et al; fix-on-a-fix for bug 91423. Don't always retarget to the primary frame: stop at the first continuation after a hard-break if there is one. Also, move retargeting to reflow state setup. r=rbs, sr=nobody.
git-svn-id: svn://10.0.0.236/trunk@111391 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:42:36 +00:00
rods%netscape.com
2ca048b06c Putting changes back in. This wasn't the cause of the slower page loads
git-svn-id: svn://10.0.0.236/trunk@111296 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 13:23:47 +00:00
rods%netscape.com
38b0c7a252 Partial back of check to look for bloat
git-svn-id: svn://10.0.0.236/trunk@111295 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 11:28:48 +00:00
bernd.mielke%snafu.de
d82d0e7dd4 bug 116577 avoid debug reflow access to Element(-1) r=jesup sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111294 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 09:00:40 +00:00
waterson%netscape.com
6f61230818 Bug 117769. Remove vestigial |aStopPulling| parameter from nsBlockFrame::PullFrameFrom; clean up surrounding logic. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@111253 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 22:10:13 +00:00
rods%netscape.com
ee8a5e4640 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
av%netscape.com
91ceaa2491 Bug 116392 -- passing key events to windowless plugins, patch by peterl, r=av, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@111164 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:32:55 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00