1678 Commits

Author SHA1 Message Date
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 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.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
badami%netscape.com
a873d62951 Fix waring during compile
bug 62188 sr=jst a=asa patch=ayn2@cornell.edu


git-svn-id: svn://10.0.0.236/trunk@116525 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 05:51:12 +00:00
jfrancis%netscape.com
687502ad16 fix for 130245: range gravity not following spec;
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@116514 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 01:07:09 +00:00
badami%netscape.com
750d1eda15 plain text copy is bad
bug 125732 r=akkana sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116471 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:26:33 +00:00
badami%netscape.com
06c3c54a95 nsXMLContentSerializer::AppendTextData() causes assertion in nsDependentString::Rebind()
bug 119335 r=akkana sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116470 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:20:15 +00:00
badami%netscape.com
b2aab151e4 [serializer]Composer breaks lines at inappropriate positions
bug 85184 r=akkana sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:14:57 +00:00
bryner%netscape.com
97fd40e754 Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116424 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:49:23 +00:00
mkaply%us.ibm.com
3fa5718c88 #125432
r=pedemont, sr=blizzard, a=roc+moz
OS/2 only - use the web page font for entryfields, buttons, and lists since our chrome font is a bitmap font that can't be scaled.


git-svn-id: svn://10.0.0.236/trunk@116400 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:07:47 +00:00
badami%netscape.com
9bb0081936 Support start number for lists in plain text output
bug 62188 r=bratell sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@116380 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 08:21:51 +00:00
rods%netscape.com
a9b8c03c41 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


git-svn-id: svn://10.0.0.236/trunk@116307 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 15:23:54 +00:00
dbaron%fas.harvard.edu
e9f90d8c2a Prevent nsDocument from calling |Release| on a stylesheet that it doesn't own when told to remove that stylesheet. Fixes a theme switching crash. b=129620 r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@116178 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 21:05:27 +00:00
dbaron%fas.harvard.edu
564273d1d2 Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@116103 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:48:26 +00:00
rods%netscape.com
3f19270582 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


git-svn-id: svn://10.0.0.236/trunk@116053 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:57:33 +00:00
rods%netscape.com
d493013619 When object tags are sub-documents they should be treated as IFrames for printing
Bug 128142
sr=attinasi r=dcone a=asa


git-svn-id: svn://10.0.0.236/trunk@116052 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:44:57 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
ducarroz%netscape.com
792f53e71f Fix for bug 68087. Don't generate a blank line after a <div>. R= akkana, SR=jst, A=asa
git-svn-id: svn://10.0.0.236/trunk@115988 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:33:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
b9be6f3f0d Fix bug 57524, r=peterv, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@115856 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:39:40 +00:00
rods%netscape.com
65023cbef8 1) This adds in a new layout atom for the SequenceFrame
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115714 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 12:55:20 +00:00
badami%netscape.com
013dbec8be Pasted text from beginning of line always appends a newline
bug=75283 r=bratell@lysator.liu.se sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115712 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 10:47:19 +00:00
badami%netscape.com
b21da840a7 Save As generates &apos; in attributes with single quotes
bug=120674 r=adamlock sr=jst a=asa patch=tmureja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 10:06:59 +00:00
shaver%mozilla.org
035b12c4cf Bugs 128682 and 128416: dragging images that are within links causes drop
of relative image source URL, not absolute link target URL. r=bryner, sr=ben,
a=roc+moz.


git-svn-id: svn://10.0.0.236/trunk@115686 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 22:18:51 +00:00
dbaron%fas.harvard.edu
6ef2ae37f0 Fix typo in nsRuleNode::ClearCachedDataInSubtree so it only clears data associated with |aRule|. This fixes a crash since nsStyleContext::ClearStyleData didn't make the same mistake and clean up dangling pointers to the incorrectly deleted data. b=105619 r=bzbarsky sr=brendan a=shaver
git-svn-id: svn://10.0.0.236/trunk@115660 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 00:02:00 +00:00
pinkerton%netscape.com
ddc4e56e6d api for overriding aspects of content-area drag&drop. r=ccarlen/sr=sfraser/a=shaver. bug# 126069
git-svn-id: svn://10.0.0.236/trunk@115506 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:19:04 +00:00
rods%netscape.com
3de996f11f Don't call these methods when the PO is not printable.
Bug 127639 r=dcone sr=attinas a=asa


git-svn-id: svn://10.0.0.236/trunk@115370 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 13:29:48 +00:00
pinkerton%netscape.com
e7701eccba fix problem with dragging urls to the desktop on win32. the drag flags weren't correctly set. r=brade/sr=sfraser/a=shaver. bug: 127703
git-svn-id: svn://10.0.0.236/trunk@115321 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:12:48 +00:00
cbiesinger%web.de
6889b4fa22 Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
Remove the DOM dependendecies from gfx/src/xprint/


git-svn-id: svn://10.0.0.236/trunk@115277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 15:32:03 +00:00
hidday%geocities.com
cb447f80d2 Bug 16605: text node child-adding functions throw wrong exception.
Modified nsGenericDOMDataNode::ReplaceChild() to throw
HIERARCHY_REQUEST_ERR instead of NOT_FOUND_ERR, per the spec.
sr=jst@netscape.com a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 10:51:50 +00:00
timeless%mac.com
30eddece55 Bug 66035 Image urls are copied with text selection
patch by rossi@telnet.at r=hixie sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@115231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:39:35 +00:00
rods%netscape.com
46c42a9045 We were sending Progress notification from the destructor of the PrintData.
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting  was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc


git-svn-id: svn://10.0.0.236/trunk@115150 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:23:11 +00:00
hidday%geocities.com
f7e9f57834 Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115149 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 12:21:15 +00:00
sgehani%netscape.com
dc2420a155 Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@115066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:19:39 +00:00
rods%netscape.com
41c01215ce It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@115018 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:21:25 +00:00
rods%netscape.com
d45c6e25f1 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@115015 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:33 +00:00
locka%iol.ie
bc1c25f6fb Treat NOFRAMES content as CDATA during serialisation to prevent entity subsitution. b=122077 r=harishd@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114972 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:50:16 +00:00
roc+%cs.cmu.edu
d392c57939 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
rods%netscape.com
221670b5c2 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114923 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:49:27 +00:00
badami%netscape.com
8331526176 [serializer]nested lists don't convert to plain text properly.
bug 95224 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114917 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:23:24 +00:00
dbaron%fas.harvard.edu
84d82a83f8 Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114868 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:11:57 +00:00
cltbld%netscape.com
9442b10401 backing out changes per McAfee's request - kysmith
git-svn-id: svn://10.0.0.236/trunk@114809 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 19:25:48 +00:00
brade%netscape.com
473e783afe remove nsIDiskDocument.idl; bug 102033, r=akkana, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@114799 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:26:14 +00:00
timeless%mac.com
540443268d nebiros bustage [Error: Different types for "?:" (nsAString and void).] -- fix attempt #1
git-svn-id: svn://10.0.0.236/trunk@114794 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 14:20:00 +00:00
badami%netscape.com
fa461c8fe9 Pasted text from beginning of line always appends a newline
bug 75283 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114792 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 12:29:02 +00:00
badami%netscape.com
a6de6cd010 [serializer]Using blockquote screws up composer's pretty-print.
bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114789 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:33:15 +00:00
badami%netscape.com
57672d7802 HTML serializer doesn't use the base uri for generating absolute url's
bug 80081 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114788 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:30:27 +00:00
badami%netscape.com
66897d1108 Emoticons can't be copied as originally drawn
bug 57098 patch=tmutreja@netscape.com r=ben.bucksch@beonex.com sr=jst


git-svn-id: svn://10.0.0.236/trunk@114787 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:25:43 +00:00
badami%netscape.com
d02969f676 Composer won't break long tags
bug 103207 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114786 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:22:17 +00:00