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

1688 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu 822db5374e Don't make the optimization of not calling the parent context's GetStyleData when there are 'em' or similar units for the 'font-size' property, where those units imply inheritance. b=131454 r=bzbarsky sr=hyatt a=asa 2002-03-19 01:32:16 +00:00
dbaron%fas.harvard.edu 21232a3675 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa 2002-03-19 01:29:20 +00:00
kin%netscape.com 5e71b8cdc1 Fix for bug #120366 (Crash in nsRange::CopyContents())
mozilla/content/base/src/nsRange.cpp
    mozilla/content/base/src/nsRange.h

      - Rewrote DeleteContents() and CloneContents() to use the content
        subtree iterator.
      - Added RangeSubtreeIterator class, CloneParentsBetween() and
        CollapseRangeAfterDelete().
      - Removed CopyContents() and CloneSibsAndParents().

r=jfrancis@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2002-03-18 14:38:11 +00:00
karnaze%netscape.com 773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
dbaron%fas.harvard.edu 0b816e3591 Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver 2002-03-16 15:34:43 +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
alecf%netscape.com 022cb413be fix for bug 101887 - make transformiix no longer depend on appshell by removing an unneeded #include and CID declaration
patch=jonsmirl@mediaone.net
sr=alecf
r=peterv
a=asa
2002-03-16 05:34:49 +00:00
heikki%netscape.com 3116e5c047 Bug 110544, improving comment parsing by avioding string copies and other trickery. r=harishd, sr=jst, a=asa. 2002-03-16 03:03: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
rbs%maths.uq.edu.au 8f6916c2d9 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 2002-03-15 09:45:31 +00:00
badami%netscape.com 95d3e736aa Fix waring during compile
bug 62188 sr=jst a=asa patch=ayn2@cornell.edu
2002-03-14 05:51:12 +00:00
jfrancis%netscape.com 3733db6901 fix for 130245: range gravity not following spec;
r=glazman; sr=kin; a=asa
2002-03-14 01:07:09 +00:00
badami%netscape.com 4ebc52c78b plain text copy is bad
bug 125732 r=akkana sr=jst a=asa patch=tmutreja@netscape.com
2002-03-13 06:26:33 +00:00
badami%netscape.com 27d5bba4cc nsXMLContentSerializer::AppendTextData() causes assertion in nsDependentString::Rebind()
bug 119335 r=akkana sr=jst a=asa patch=tmutreja@netscape.com
2002-03-13 06:20:15 +00:00
badami%netscape.com 6edffd5f4d [serializer]Composer breaks lines at inappropriate positions
bug 85184 r=akkana sr=jst a=asa patch=tmutreja@netscape.com
2002-03-13 06:14:57 +00:00
bryner%netscape.com a34c68fa0b 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. 2002-03-12 21:49:23 +00:00
mkaply%us.ibm.com 9353dc61cc #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.
2002-03-12 15:07:47 +00:00
badami%netscape.com 18076c6c57 Support start number for lists in plain text output
bug 62188 r=bratell sr=jst a=asa
2002-03-12 08:21:51 +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
dbaron%fas.harvard.edu 8eb306f3b6 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 2002-03-08 21:05:27 +00:00
dbaron%fas.harvard.edu e3bc7ee7fd 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 2002-03-07 23:48:26 +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
bryner%netscape.com d2229cbf68 - 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.
2002-03-07 03:34:29 +00:00
ducarroz%netscape.com 670b9192c0 Fix for bug 68087. Don't generate a blank line after a <div>. R= akkana, SR=jst, A=asa 2002-03-06 22:33:33 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu aa71e5728d Fix bug 57524, r=peterv, sr=jst, a=asa 2002-03-05 22:39:40 +00:00
rods%netscape.com 7719fefba4 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
2002-03-04 12:55:20 +00:00
badami%netscape.com d9b02ffe39 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
2002-03-04 10:47:19 +00:00
badami%netscape.com fae3417863 Save As generates &apos; in attributes with single quotes
bug=120674 r=adamlock sr=jst a=asa patch=tmureja@netscape.com
2002-03-04 10:06:59 +00:00
shaver%mozilla.org c8a5e7083d 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.
2002-03-03 22:14:50 +00:00
dbaron%fas.harvard.edu 0db63d0d91 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 2002-03-03 00:00:16 +00:00
pinkerton%netscape.com b259f044cb api for overriding aspects of content-area drag&drop. r=ccarlen/sr=sfraser/a=shaver. bug# 126069 2002-02-28 22:19:04 +00:00
rods%netscape.com f53bdb3606 Don't call these methods when the PO is not printable.
Bug 127639 r=dcone sr=attinas a=asa
2002-02-26 13:29:48 +00:00
pinkerton%netscape.com da10f70d92 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 2002-02-25 22:12:48 +00:00
cbiesinger%web.de 559f8fc646 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/
2002-02-23 15:32:03 +00:00
hidday%geocities.com b057574143 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
2002-02-23 10:51:50 +00:00
timeless%mac.com 3e6948a33f Bug 66035 Image urls are copied with text selection
patch by rossi@telnet.at r=hixie sr=jst a=shaver
2002-02-22 16:39:35 +00:00
rods%netscape.com d7865275df 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
2002-02-21 13:23:11 +00:00
hidday%geocities.com 2356de3a72 Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz
2002-02-21 12:21:15 +00:00
sgehani%netscape.com 4ff1572cca Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt
2002-02-20 06:19:39 +00:00
rods%netscape.com 57797bf5fc It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi
2002-02-20 03:21:25 +00:00
rods%netscape.com 785aacab83 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
2002-02-20 03:18:33 +00:00
locka%iol.ie 3215031adc Treat NOFRAMES content as CDATA during serialisation to prevent entity subsitution. b=122077 r=harishd@netscape.com sr=jst@netscape.com 2002-02-19 22:50:16 +00:00
roc+%cs.cmu.edu 59d3d1ebd0 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 2002-02-19 21:33:26 +00:00
smontagu%netscape.com 37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
rods%netscape.com ae0b7240a9 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
2002-02-19 11:49:27 +00:00
badami%netscape.com 4a2babc3df [serializer]nested lists don't convert to plain text properly.
bug 95224 patch=tmutreja@netscape.com r=akkana sr=jst
2002-02-19 10:23:24 +00:00