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

252 Коммитов

Автор SHA1 Сообщение Дата
sayrer%gmail.com 0d2f67fa51 bug 361005. remove nsCRT::strdup from layout. r+sr=bz 2006-11-17 01:49:06 +00:00
bzbarsky%mit.edu 84053a9abd When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc
2006-11-13 21:27:44 +00:00
gavin%gavinsharp.com 2156c6d99b Bug 353410: useless null check in nsPrintEngine::SetupToPrintContent, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=roc 2006-09-20 18:26:15 +00:00
bmlk%gmx.de 3b2bf8ecb8 remove debug cruft (MOZ_LAYOUTDEBUG) and say that printing is finished once the regression dump is done bug 339500 r=sharparrow1 sr=dbaron 2006-09-09 04:52:57 +00:00
sayrer%gmail.com 9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
mats.palmgren%bredband.net ff9ebb7df2 Fix Print/Preview crash when (sub-)document doesn't have root content. b=345159 r+sr=bzbarsky 2006-07-25 16:05:49 +00:00
sharparrow1%yahoo.com 341097b456 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc. 2006-07-21 00:16:07 +00:00
bzbarsky%mit.edu bf01cece13 Deal with the messed-up way changing any print-preview settings works by ignoring random calls to TurnScriptingOn which are trying to turn it off when it's already off. This way we only track the state when the first TurnScriptingOff call came through. Bug 340119, r+sr+branch181=sicking 2006-06-02 20:29:05 +00:00
Olli.Pettay%helsinki.fi cb1f0a0bb9 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu 7d7cc60668 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst 2006-04-22 00:06:30 +00:00
sharparrow1%yahoo.com 3dba8a1b8c Bug 333926: Don't create a widget for documents when printing (fix cocoa printing). r+sr=roc. 2006-04-18 00:37:53 +00:00
sharparrow1%yahoo.com 3b62c93943 Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com 1e650e3784 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
bzbarsky%mit.edu 3b307aca09 Fix bug 325991 -- spinning event queues requires more care. r=jst, sr=shaver 2006-02-07 22:24:47 +00:00
sharparrow1%yahoo.com ac6fed3850 Bug 321433 - Don't enable selection for printing. r+sr=roc. 2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com 8debca1822 Bug 326157: Get rid of unnecessary clipping code. r+sr=roc. 2006-02-07 02:22:06 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu 77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
masayuki%d-toybox.com 856897abff Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc 2005-11-30 13:24:00 +00:00
bzbarsky%mit.edu fe494a9f14 Don't paint selection shading on images when printing. Bug 312415, r+sr=roc 2005-11-29 16:26:22 +00:00
masayuki%d-toybox.com 8211dc3b14 Oops, currently the Tree is closed, backing out previous check-in. b=317289 2005-11-29 05:50:24 +00:00
masayuki%d-toybox.com 9a0e324461 Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc 2005-11-29 05:40:36 +00:00
jst%mozilla.jstenback.com 8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
roc+%cs.cmu.edu 4fbeaa90bb Bug 303023. Fix printing of SVG EMBED elements. r+sr=dbaron 2005-11-24 00:48:40 +00:00
timeless%mozdev.org 17f5f5429f Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org 3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
peterv%propagandism.org a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
roc+%cs.cmu.edu f8d744f15d Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers. 2005-08-31 02:16:03 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
cbiesinger%web.de 26a83fee9a bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mats.palmgren%bredband.net dd31c1c22e Allow spacebar to scroll in Print Preview. b=158362 r=neil sr=bzbarsky a=benjamin 2005-07-26 00:21:29 +00:00
mats.palmgren%bredband.net 9e90d126c5 Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa 2005-07-21 00:15:27 +00:00
masayuki%d-toybox.com b3c6b8174a Bug 217332 When I ask for only pages 1 to 1 to be printed, page 2 prints as well. If the page has IFRAME r+sr=roc, a=benjamin 2005-07-20 08:45:22 +00:00
bzbarsky%mit.edu eb8a6b7fe6 Make sure to disable scripting in all subframes while in print preview; fixes
crashes.  Bug 299107, patch by Martijn Wargers <martijn.martijn@gmail.com>,
r+sr=bzbarsky, a=bsmedberg
2005-07-13 19:10:00 +00:00
roc+%cs.cmu.edu c682260f76 Bug 297669. Don't specially avoid reflowing/printing zero-size subdocuments when printing. Fixes a hang. r+sr=me,a=chofmann,patch by Martijn Wargers 2005-06-24 02:10:58 +00:00
bryner%brianryner.com aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu 7fefa798b7 Bug 291775. Fix print preview UI by making nsPrintEngine::GetSeqFrameAndCountPagesInternal use the frame constructor API to correctly find the page sequence frame. r+sr=bzbarsky,a=chofmann 2005-04-26 03:17:07 +00:00
bzbarsky%mit.edu 14a25b0710 Don't show username/password in the URI we print. Bug 186695, r=jst, sr=darin 2005-03-18 04:16:02 +00:00
bsmedberg%covad.net 3219ac4125 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey) 2005-03-10 04:38:35 +00:00
neil%parkwaycc.co.uk a3392e7e6c Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
bzbarsky%mit.edu 1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
dbaron%dbaron.org d1da171a4f Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc 2004-12-24 22:27:57 +00:00
ginn.chen%sun.com 3ead8bc443 Bug 274685 [print]Mozilla can't print frame correctly
patch=leon.sha@sun.com r=roc sr=roc
2004-12-22 03:26:29 +00:00
smontagu%smontagu.org 6a9211d8aa Fix a crash in printing pages with non-visible elements. Bug 275262, r+sr=roc 2004-12-21 11:51:13 +00:00
dbaron%dbaron.org 972b29f4a1 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
bsmedberg%covad.net 60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
dbaron%dbaron.org 958a20f89e Fix make install bustage. 2004-12-09 23:39:48 +00:00
dbaron%dbaron.org 953fdd4a1f Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles. 2004-12-07 18:09:28 +00:00
dbaron%dbaron.org 615caad017 Remove unneeded include. b=272151 2004-12-07 02:49:12 +00:00
shaver%mozilla.org af61b217ff Bug 267352: make sure frame construction events are flushed before starting
to print, to fix regression (form inputs print blank) from 228557. r=darin,
sr=jst, a=roc.
2004-11-17 16:38:01 +00:00
neil%parkwaycc.co.uk 2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu a2afb45863 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
bryner%brianryner.com dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
neil%parkwaycc.co.uk 6f47653428 Bug 255929 Can't drag scrollbar in Print Preview r+sr=roc 2004-08-18 19:17:13 +00:00
bryner%brianryner.com 6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
jst%mozilla.jstenback.com 23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu 89005ed71c Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
neil%parkwaycc.co.uk d1e2c2e843 Bug 245641 Make scrollbars draggable in print preview again r/sr=jst 2004-06-16 08:11:30 +00:00
neil%parkwaycc.co.uk 0159845314 Bug 245024 Fix crash in print preview by blocking click events r/sr=jst 2004-06-04 22:06:05 +00:00
roc+%cs.cmu.edu cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bryner%brianryner.com 7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com 77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
jst%mozilla.jstenback.com 01f5eea0f1 Checking in for roland.mainz@nrubsig.org, bug 234982. Making print errors always be reported to the user. r+sr=roc@ocallahan.org 2004-02-20 20:59:55 +00:00
tor%cs.brown.edu 1b99ebfbae Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.
2004-02-19 21:58:40 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com 433c389ddf Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
dbaron%dbaron.org 586744e7f3 Make debugging code compile on gcc. Fix warnings. b=232711 r+sr=bryner 2004-02-02 22:42:29 +00:00
bryner%brianryner.com 4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
hpradhan%hotpop.com a5975523b9 bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
hpradhan%hotpop.com 4d399b535b bug 232035 : fix leak and cleanup some stuff in printing code r=dbaron sr=jst 2004-01-28 11:17:14 +00:00
hpradhan%hotpop.com 3b99f154bd bug 231233 : nsPrintData.h cleanup r+sr=jst 2004-01-24 07:23:56 +00:00
bryner%brianryner.com ef5c330583 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
peterv%propagandism.org 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
roc+%cs.cmu.edu 9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bryner%brianryner.com 9d69e4a727 Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron 2004-01-09 22:54:09 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com 16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
dbaron%dbaron.org 1480a770ab Fix backwards captions on print error dialogs (printing vs. print preview). b=230342 Patch from Isaac Hwak Han <isaachh@mailc.net>. r+sr=dbaron 2004-01-08 01:24:09 +00:00
bryner%brianryner.com e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bryner%brianryner.com 080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com 4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
mkaply%us.ibm.com 24c9c52092 Bug #212821
r=mkaply, sr=roc, a=mkaply
Allows show all pages in print preview
2003-09-05 20:09:25 +00:00
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
timeless%mozdev.org 1ff05676de Bug 213461 Want a way to specify single-sided or double-sided printing
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2003-08-01 01:56:15 +00:00
bzbarsky%mit.edu 93aa1eeb86 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com 9819e5e8fa Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
bzbarsky%mit.edu 2d8c24058a Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
cbiesinger%web.de 91ae833035 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two 2003-04-17 20:17:01 +00:00
bryner%netscape.com 3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
aaronl%netscape.com 20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
roc+%cs.cmu.edu 67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu bd79dbf27b Re-enable print preview gui stuff (which was mostly off) on GTK and Xlib
ports.  Bug 187125, patch by Roland.Mainz@informatik.med.uni-giessen.de (Roland
Mainz), r=smontagu, sr=rbs
2003-01-10 00:53:28 +00:00
smontagu%netscape.com f3c37e67d5 Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser. 2003-01-09 00:22:16 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
caillon%returnzero.com 0f9a81eb48 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz
2002-12-04 02:03:17 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
rods%netscape.com c16e250910 Instead of at the end of of the PO it needs to be in the middel of reflow
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
2002-11-22 13:06:58 +00:00
rods%netscape.com 0bf43fd793 The search for the selected frames was not looking in all the child lisst for each frame
Bug 181228 r=dcone sr=jst
2002-11-22 13:02:05 +00:00
timeless%mozdev.org 384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
rods%netscape.com 5f6bdfe19c change STF threshold to 60%
Bug 175316 r=dcone sr=alecf a=dbaron
2002-10-24 09:31:52 +00:00
rods%netscape.com 855fd85355 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
2002-10-08 13:17:56 +00:00
seawood%netscape.com f2acbeccf8 Fixing static build bustage caused by checkin for bug 158110. 2002-10-04 00:27:14 +00:00
rods%netscape.com c29b4912ff Removing unwanted part of patch 2002-10-03 11:28:48 +00:00
rods%netscape.com 51646a434c Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer
2002-10-03 10:48:59 +00:00
rods%netscape.com 7b4aca7912 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2002-09-26 11:25:04 +00:00
rods%netscape.com 16849ef0da Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
rods%netscape.com 0563ea1f59 IFrames need their own calculation for placement, different from Frameset frames
Bug 167775 r=dcone sr=kin
2002-09-12 13:20:38 +00:00
rods%netscape.com 493c71a327 Make sure the Print Data is cleaned up when exiting PP
Bug 164384 r=pete sr=kin a=asa
2002-09-10 01:57:09 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
rods%netscape.com e2bf68e0fb Checked in from wrong tree. 2002-09-03 23:25:17 +00:00
rods%netscape.com 24609f73f8 Bug 164250 Instrument the PrintEngine for print testing
r=dcone sr=kin
2002-09-03 23:21:15 +00:00
rods%netscape.com aba304f7d5 Bug 165122 rearrange initializer r=rods sr=bz 2002-09-03 14:40:53 +00:00
rods%netscape.com 55343734f9 checks visibility on IFrames so it knows whether it needs to print/dislpay them
Bug 158195 sr=jst r=dcone
2002-08-26 14:37:59 +00:00
rods%netscape.com fa04fb294e Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst
2002-08-21 12:01:05 +00:00
rods%netscape.com 503207a2ce The allows TAB events to be processed. This seems to work fine, because the
forms controls can never get focus. I did a lot of testing and the focus goes
to the toolbar and doesn't go to any forms controls.
Bug 145388 r=dcone sr=attinasi
2002-05-23 10:48:37 +00:00
rods%netscape.com 1d956bc3a5 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi
2002-05-09 22:02:44 +00:00
rods%netscape.com 15a673155f Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
rods%netscape.com 288186b2f3 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 13:47:53 +00:00
rods%netscape.com 5f8760cbcd backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com b1cb2953ae Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
rods%netscape.com 1756fd22db Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:33:24 +00:00