roc+%cs.cmu.edu
aface91878
Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky
2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
3da18aa1d2
Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
...
282973, r+sr=jst
2005-02-21 16:39:01 +00:00
cvshook%sicking.cc
ef83c8a4f6
Give XSLT transformed documents a container so that events and focus work properly. Bug 236596.
...
r/sr=peterv
2005-02-05 13:41:00 +00:00
bryner%brianryner.com
f575a675b2
Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
2005-01-31 23:47:26 +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
neil%parkwaycc.co.uk
f29d0d0920
Bug 274703 sizeToContent doesn't compute the correct size in certain cases e.g. after setting description text r=jst sr=bz
2005-01-15 18:01:22 +00:00
bryner%brianryner.com
e464405de3
Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky.
2005-01-15 00:10:19 +00:00
bzbarsky%mit.edu
38e3d448d9
Make DocumentViewerImpl::CopyImageContents also put the image URI on the
...
clipboard in the text flavor; a big step toward having a single "copy image"
command that puts it on the clipboard in all relevant flavors in a meaningful
way. Bug 135300, patch by O. Atsushi (Torisugari) <torisugari@gmail.com>,
r=bzbarsky, sr=jst
2005-01-12 04:11:26 +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
bmlk%gmx.de
d3197a9276
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
2004-12-26 19:48:54 +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
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
dbaron%dbaron.org
468d2b70e8
Remove unneeded include. b=272151
2004-12-07 02:28:38 +00:00
bzbarsky%mit.edu
5d84790d77
Put an update view batch around zoom-setting so we don't get drawing
...
artifacts. Bug 270032, r+sr=roc
2004-12-01 03:28:44 +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
dbaron%dbaron.org
dc1efc09e8
Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc
2004-10-13 21:59:26 +00:00
roc+%cs.cmu.edu
6c4ebb2c18
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
2004-10-09 01:39:21 +00:00
jst%mozilla.jstenback.com
03052a2f27
Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
2004-09-23 23:39:16 +00:00
cbiesinger%web.de
f3e06d119c
Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
...
r+sr=roc
2004-09-16 13:02:54 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
9984902fd6
Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
ee55fda1f1
Back out previous round of bug 72747 changes due to Tp regression.
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
31bf95ea38
Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
8b8587dcc0
Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
2004-09-03 21:58:39 +00:00
bryner%brianryner.com
d082d2bf5e
More nsIPresShell deCOMtamination:
...
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.
Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
c200b49750
Back out the rest of bug 72747 due to Tp regression.
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
5948a3cb75
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
2004-08-26 17:11:20 +00:00
peterv%propagandism.org
f000eed21d
Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst.
2004-08-25 14:17:40 +00:00
neil%parkwaycc.co.uk
a33872e9fe
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
2004-08-05 11:38:42 +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
dbaron%dbaron.org
2faa2566a0
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
2004-07-28 07:08:41 +00:00
cbiesinger%web.de
2f7bab80a2
removing unused variable, r+sr=bzbarsky
2004-07-18 20:57:52 +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
cbiesinger%web.de
ae7223e9f1
bug 196380
...
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
2004-06-05 17:57:00 +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
bzbarsky%mit.edu
c718dee3f4
Make sure to flush out content and style updates when calling sizeToContent.
...
Bug 244235, r+sr=jst
2004-05-28 16:03:09 +00:00
bzbarsky%mit.edu
a7bff6ad5b
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
smontagu%smontagu.org
e1f6e10871
Fix flipping of Arabic text when pasted to clipboard. Bug 197375, r+sr=bzbarsky
2004-05-23 09:15:23 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
aaronleventhal%moonset.net
ee7a038786
Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc
2004-05-20 03:14:41 +00:00
roc+%cs.cmu.edu
cab775b57b
Backing out 233441.
2004-05-17 16:29:13 +00:00
aaronleventhal%moonset.net
3f2e78bb29
Bug 242790. Tabbing, accessibility and other things broken because GetSubDocumentFor regressed. r=bryner, sr=jst
2004-05-07 11:57:10 +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
dveditz%cruzio.com
6e4e4e733e
bug 240449 infinite loop tickled by some skins, r=bsmedberg, sr=dbaron, a=brendan
2004-04-14 08:19:27 +00:00
roc+%cs.cmu.edu
1ec2c3be37
Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
2004-04-13 03:03:18 +00:00
bsmedberg%covad.net
255960bb10
Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
2004-03-09 19:59:09 +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
roc+%cs.cmu.edu
7c84914071
Bug 230697. Extend MOZ_FORCE_PAINT_AFTER_ONLOAD so that CSS background image loads delay firing of the onload event. r+sr=bz
2004-02-20 06:00:35 +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
timeless%mozdev.org
4b56a45a39
1.148 <jst@mozilla.jstenback.com> 09 Jan 2004 15:54
...
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission.
Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
Fix MOZ_TIMELINE r+sr=bz
Not part of the build
2004-02-13 22:19:50 +00:00
bzbarsky%mit.edu
817f6d4f30
Fix bug 232798 -- make sure to set the link handler on the prescontext to null
...
when destroying the document viewer. r+sr=jst
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com
64ad19a801
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
2004-02-11 06:09:51 +00:00
bryner%brianryner.com
92499cbd13
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +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
bryner%brianryner.com
42adb9f1be
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
08f53379c4
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
2004-01-31 22:41:40 +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
bryner%brianryner.com
2bddef83ba
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
bryner%brianryner.com
d33dc031f2
Revert nsAutoPtr usage here at least until we better understand the bloat. Bug 64116, sr=bzbarsky.
2004-01-11 09:34:07 +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
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
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
timeless%mozdev.org
90d07db2d1
Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
...
r=jst sr=jst
2003-11-03 13:17:00 +00:00
timeless%mozdev.org
0c124554b7
MOZ_TIMELINE - Bug 222134
2003-10-23 10:23:30 +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
bryner%brianryner.com
82310bc4ec
If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron.
2003-09-26 21:45:15 +00:00
bzbarsky%mit.edu
3ebb71a449
Make userContent.css come after the prefs sheet in the user sheet list (so that
...
rules in userContent.css can override prefs). Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
bryner%brianryner.com
2fcdb4e2d5
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
roc+%cs.cmu.edu
0b8cd870e1
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +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
rbs%maths.uq.edu.au
c95c35d2ca
Stop animated images with Esc key or Stop button, b=70030, r=akkana, sr=jst
2003-07-11 20:19:34 +00:00
caillon%returnzero.com
3659da7f9c
Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug.
2003-07-03 23:33:36 +00:00
caillon%returnzero.com
4cc64cee34
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
alecf%flett.org
b7fa256d74
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +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
sfraser%netscape.com
352be220ed
Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
2003-04-22 18:11:12 +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
bzbarsky%mit.edu
36a26eca9c
No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst
2003-04-04 22:37:52 +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
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
peterlubczynski%netscape.com
b5850784ea
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +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
jst%netscape.com
1f6f27bce8
Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com
2003-02-27 01:38:20 +00:00
timeless%mozdev.org
c6fb3f4dda
Bug 193824 Remove unused globals from nsDocumentViewer.cpp
...
r=smontagu sr=alecf
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu
a47e2fa451
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
roc+%cs.cmu.edu
1c6c3011c3
Bug 180921. Make nsDocumentViewer::Show call nsDocumentViewer::MakeWindow instead of duplicating code. Fixes a bug where subdoc view linkage was added to MakeWindow but not Show. r=jkeiser,sr=jst
2003-02-22 21:48:39 +00:00
dbaron%dbaron.org
03366794e8
Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky
2003-01-21 00:47:14 +00:00
cbiesinger%web.de
b7a5577747
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +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
342abe6814
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
bzbarsky%mit.edu
fe53f95e60
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
2002-12-03 05:48:14 +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
ff4a3fb80d
Make it so SetDocument doesn't get set when returning from PP
...
Bug 176201 r=dcone sr=jst
2002-11-18 14:34:09 +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
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
d8b1751919
Have the DV ref coun itself if the the DV is being Clsoed while printing or a pending print.
...
Bug 165445 r=dcone sr=rpotts
2002-10-01 21:57:15 +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
rjesup%wgate.com
e74f7b07e5
Bustage fix for 126346 - checked in the wrong version of this file.
2002-09-06 19:16:11 +00:00
rjesup%wgate.com
a6da2110b6
Bug 126346: make iframes inherit text zoom values. Re-commiting after mods
...
to deal with 1.5% Tp regression in last commit. r=dbaron, sr=jst, a=roc+moz
2002-09-06 18:46:19 +00:00
jkeiser%netscape.com
0717b547f2
Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
2002-09-06 05:44:31 +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
24609f73f8
Bug 164250 Instrument the PrintEngine for print testing
...
r=dcone sr=kin
2002-09-03 23:21:15 +00:00
aaronl%netscape.com
223216a863
Bug 163897. Can't copy image location. r=rods,caillon, sr=bzbarsky
2002-08-29 01:01:31 +00:00
shanjian%netscape.com
fd1c7b2e6c
#162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
...
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
2002-08-26 20:13:31 +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
henry.jia%sun.com
566036896f
5th patch for bug 158080
...
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 06:20:45 +00:00
alecf%netscape.com
f7ad4265ef
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
aaronl%netscape.com
0f8d4f1827
Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst
2002-08-01 21:36:02 +00:00
bzbarsky%mit.edu
0b57e2e387
Fix tab switching in embedding apps. Bug 139294,
...
r=philipl@mail.utexas.edu , sr=jst, a=asa
2002-07-23 03:45:06 +00:00
rods%netscape.com
d1ba61dd4b
When a FrameSet Frame's contains a FrameSet the mFrameType for the PrintObject
...
is always set to an eFrame. Which is fine when printing "AsIs"
but is incorrect when when printing "Each Frame Separately".
When printing "Each Frame Separately" the Frame really acts like a frameset.
So we need to set it to an eFrame
Bug 157918 r=dcone sr=kin a=scc
2002-07-22 10:55:07 +00:00
rods%netscape.com
cfc2ea8421
need to check BUSY_FLAGS_PAGE_LOADING before printing
...
Bug 157632 r=dcone sr=jst a=scc
2002-07-18 09:09:54 +00:00
ccarlen%netscape.com
04b6fab64b
Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
2002-07-13 00:18:46 +00:00
ducarroz%netscape.com
1bb98ce41b
Fix for bug 156772: Replace the pair NS_ADDREF_THIS/NS_RELEASE_THIS by nsCOMPtr<nsIDocumentViewer>
...
kungFuDeathGrip(this). R=rods, SR=jst
2002-07-11 18:11:12 +00:00
rods%netscape.com
1ba1fcde85
Implement progress dialog for printing and PP that show before reflow
...
Bug 154136 r=dcone/sgehani sr=alecf
2002-07-09 12:39:02 +00:00
jst%netscape.com
f2ccfa37c0
Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org
2002-07-09 02:49:58 +00:00
rods%netscape.com
9ad7dc90a0
use the title unless empty then use URL instead. And change
...
the progress dialog to display title intead of url
Bug 156305 r=dcone sr=waterson
2002-07-09 02:33:29 +00:00
rods%netscape.com
c23a2a8368
If the user or JS requests to print while the document is still loading the DV
...
will print it in the LoadComplete
Bug 137739 r=dcone sr=jst
2002-06-28 13:39:44 +00:00
bryner%netscape.com
b2750b78bc
Bug 151607 - fix an uninitialized variable in DocumentViewerImpl::PrintDocContent that was causing a later crash. r=rods, sr=sspitzer.
2002-06-27 22:20:59 +00:00
rods%netscape.com
545f2640f9
We do not want to skip page ejects when printing the selection
...
BUg 153964 r=dcone sr=kin
2002-06-25 22:11:56 +00:00
dbaron%fas.harvard.edu
e63a11c0e8
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
peterv%netscape.com
d5b273bc97
Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst.
2002-06-20 12:04:22 +00:00
rods%netscape.com
944a302a29
Need to call EndObservingDocument before destroy of PresShell
...
Bug 152536 r=dcone sr=jst
2002-06-19 22:18:43 +00:00
rods%netscape.com
89bbd44ace
Add PR_LOGGING for printing
...
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
dbaron%fas.harvard.edu
155b9b60cb
Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson
2002-06-12 03:32:24 +00:00
roc+%cs.cmu.edu
3cd559ba29
Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
2002-06-12 03:22:35 +00:00
cbiesinger%web.de
15a321ca78
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
2002-06-11 20:47:04 +00:00
rods%netscape.com
caa5458797
Don't check the range boolean for ending the page
...
Bug 146296 r=dcone sr=waterson a=asa
2002-06-07 14:30:17 +00:00
dbaron%fas.harvard.edu
e6315d638a
Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu
8d231a5fae
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
2002-05-23 23:09:31 +00:00
rods%netscape.com
b9efd96eca
unregisters the focus listener after a new one is installed.
...
Bug 145388 r=dcone sr=jst
2002-05-21 19:37:28 +00:00
rods%netscape.com
55cdb88790
Adds a new arg to the PP call. The new arg is not being used, it is
...
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi
2002-05-16 13:51:54 +00:00
rods%netscape.com
68b0319c10
Changing CID to ContractID and const char* to const char xxx[]
...
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com
517bc877a1
Static build bustage fix
2002-05-14 14:15:19 +00:00
rods%netscape.com
0c5c90b638
This patch does the following:
...
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +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
7848ffedc6
Need to call StartPrint to initialize the Seq Frame
...
Bug 143089 r=dcone sr=kin
2002-05-08 20:11:14 +00:00
rods%netscape.com
464860f81c
OK, really fixing the HP bustage this time.
2002-05-07 15:33:06 +00:00
rods%netscape.com
50dc137d4e
fixed build bustage on HP
2002-05-07 14:07:28 +00:00
rods%netscape.com
51a39e7277
These files are no longer needed.
...
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 14:03:30 +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
c19ef82a9c
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 14:10:12 +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
racham%netscape.com
486f60f0e0
Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer
2002-04-28 01:43:23 +00:00
peterv%netscape.com
f1d35b4a9d
Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
2002-04-25 11:58:08 +00:00
rods%netscape.com
bb4148f2e9
printing properties must be moved to global jar
...
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2002-04-24 13:15:13 +00:00
jst%netscape.com
18f1c685f6
Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com
2002-04-24 00:33:56 +00:00
rods%netscape.com
bdb9588496
mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
...
Bug 139459 r=dcone sr=attinasi
2002-04-24 00:26:54 +00:00
rods%netscape.com
ee07c55f61
Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
...
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi
2002-04-23 12:05:43 +00:00
jst%netscape.com
d2298f34f2
Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com
2002-04-22 23:48:14 +00:00
jst%netscape.com
70e9ad0081
Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
2002-04-22 23:12:18 +00:00
jst%netscape.com
c5afc3b674
Fixing typo in a comment...
2002-04-19 23:56:45 +00:00
jst%netscape.com
14dc7f7425
Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
2002-04-19 23:55:45 +00:00
jst%netscape.com
ea45ab47a7
Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com
2002-04-18 19:50:31 +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
6cc2d64532
Original check work with passing back NS_OK, it appears something in the front-end
...
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi
2002-04-15 13:30:32 +00:00
rods%netscape.com
7003507aa7
For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
...
Bug 136785 r=dcone sr=attinasi
2002-04-15 13:22:05 +00:00
rods%netscape.com
56c0612f03
The real fix is to enable the printing of XUL docs, which is what is crashing.
...
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +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
rods%netscape.com
c477cf19b3
Although the front-end should be disabled and not allow the user to make any
...
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime
2002-04-09 14:17:56 +00:00
rods%netscape.com
1d4852267d
Clamps ShrinkTOFit to 50%
...
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime
2002-04-06 13:09:15 +00:00
rods%netscape.com
d2b6d22083
Stop it from calling EndPage method when printing selection
...
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime
2002-04-06 13:02:17 +00:00
timeless%mac.com
a84a7e233f
http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
...
Backing out the fix for bug 52334
approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e
Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 22:42:19 +00:00
rods%netscape.com
6d6859123b
it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
...
off a little earlier
Bug 134283 r=dcone sr=attinasi a=asa adt=jaime
2002-04-04 13:04:21 +00:00
jst%netscape.com
020632bdc1
Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d
Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 02:09:19 +00:00
blakeross%telocity.com
5e34851046
108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan
2002-04-03 04:16:28 +00:00
rods%netscape.com
565d88ab19
Reads the "brand name" property and then caches it so it can use it on documents with no title.
...
Bug 133193 r=dcone sr=attinasi a=dbaron
2002-03-27 03:02:42 +00:00
rods%netscape.com
ca589fdb8d
Generically enables the browser to cache the curent presentation (frames,
...
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
mscott%netscape.com
86a6d0814b
Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance
2002-03-26 05:01:49 +00:00
akkana%netscape.com
09db554fe7
70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa
2002-03-26 01:05:03 +00:00
rods%netscape.com
b3a87921ff
This patch is actually part of Bug 115136, but I think its best to get this part
...
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in
DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using
them yet.
Bug 132827 r=dcone sr=attinasi a=asa
2002-03-25 03:19:32 +00:00
rods%netscape.com
e3c71475b1
Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
...
Bug 128449 r=dcone sr=attinasi a=asa
2002-03-23 18:07:51 +00:00
rods%netscape.com
dbb633ac74
The original patch worked fine for regular documents but didn't work for mail
...
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
2002-03-23 16:48:58 +00:00
dcone%netscape.com
c0b90242cd
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
2002-03-22 14:49:29 +00:00
rods%netscape.com
a165972d6f
Backing out changes for Bug 131174
2002-03-22 00:42:48 +00:00
rods%netscape.com
b4898103a0
This disallows printing or print preview to work if the document is busy.
...
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron
2002-03-20 22:50:42 +00:00
rods%netscape.com
aa1233cc10
Besides turning on the pref, I needed to move the initialization code for
...
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc
2002-03-20 12:43:13 +00:00
rods%netscape.com
10caff52d1
Removing uwanted debug staments to fix bustage.
2002-03-16 14:08:39 +00:00
rods%netscape.com
c42fa2528c
1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
...
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 13:08:45 +00:00
rods%netscape.com
9e6a587a72
Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
2002-03-15 14:49:09 +00:00
rods%netscape.com
20d6c55150
1) Removes most all the unneeded data from nsPrintOptions service. All data
...
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
object. The items not saved are those used during the printing process and
it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define
"back stop" prefs for picking up first. Then the printer specific prefs
can override those settings.
For example, we may define in prefs that the default paper size 8.5x11,
then if if the "save PS prefs" is turned on, for a given printer it might
save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
or written.
2002-03-15 13:55:54 +00:00
rods%netscape.com
b04e03e883
The document viewer was only clamping on values above 100%, the Front-end UI
...
was doing the clamping on 50-100%, I have changed the back-end to do no
clamping and the front will now allow values between 10 and 500%, these seem
reasonable.
Bug 127508 r=sgehani sr=alecf a=asa
2002-03-10 15:23:54 +00:00
rods%netscape.com
4192ff3428
1) Added a new method to nsIWebBrowserPrint iface that enables you to get the current PS being used to print or PP
...
2) Change the PP toolbar code to use the current PS instead of the global
Bug 127969 r=dcone sr=attinasi a=asa
2002-03-07 12:57:33 +00:00
rods%netscape.com
56c2710b00
When object tags are sub-documents they should be treated as IFrames for printing
...
Bug 128142
sr=attinasi r=dcone a=asa
2002-03-07 12:44:57 +00:00