Commit Graph

13394 Commits

Author SHA1 Message Date
karnaze%netscape.com
789e7e3040 bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa. 2002-03-08 15:34:33 +00:00
jdunn%netscape.com
16e84921e2 fixing AIX bustage and sticking with the c++ standard for "friend" and
"function protyping" guidelines

Submitted by pkw@austin.ibm.com
# 43311
sr=jaggernaut@netscape.com
a=asa@mozilla.org
2002-03-08 12:37:00 +00:00
dbaron%fas.harvard.edu
b2a1159768 Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042. 2002-03-08 02:25:59 +00:00
bryner%netscape.com
7fa0f8cb95 Don't crash when the user changes OS themes (bug 129314). This avoids reconstructing the rule tree, which is unnecessary and currently buggy. r=pinkerton, sr=hyatt, a=asa. 2002-03-08 00:53:04 +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
alexsavulov%netscape.com
da4ab3b23c forgot some comments in the source... damn the tree will burs 2002-03-07 21:18:26 +00:00
jkeiser%netscape.com
0ffd29f281 Move radio buttons to content (bug 108308). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-07 20:53:40 +00:00
alexsavulov%netscape.com
9d2234ac01 fix for bug 121368 - prevents the method nsCSSFrameConstructor::ReframeContainingBlock
to execute during a reflow and so destroy the frame tree that's in reflow
sr= attinasi, r= karnaze, a= asa
2002-03-07 20:51:05 +00:00
karnaze%netscape.com
74a917c925 bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa 2002-03-07 15:33:49 +00:00
karnaze%netscape.com
200dab5fc2 bug 127471 - construct the correct nsStyleBorder for border collapse cells, . sr=roc, r=alexsavulov, a=asa 2002-03-07 15:23:08 +00:00
peterlubczynski%netscape.com
bdade5d500 Fix for % sizing of object frame, bug 106602 r=serge sr=attinasi a=roc+moz 2002-03-07 15:22:24 +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
roc+%cs.cmu.edu
f1ceb9bb57 Bug 35274. Make event handling in layout respect clipping. r=dbaron,sr=attinasi,a=asa 2002-03-07 07:03:03 +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
pavlov%netscape.com
9f6fa2c683 fixing 76177. r=cmanske sr=jst a=shaver 2002-03-06 22:45:55 +00:00
rbs%maths.uq.edu.au
645c7a9b56 bug 128454 - lquote/rquote attributes are not honored in <ms>, r=roc, sr=attinasi, a=asa 2002-03-06 22:24:35 +00:00
rbs%maths.uq.edu.au
4514dae43b bug 92896 - incorrect position of bullets next to child blocks if the font-size within the child block is different, r=dbaron, sr=attinasi, a=asa 2002-03-06 22:22:24 +00:00
bernd.mielke%snafu.de
71fc2ecfc9 bug 122899 encapsulate debug code r=karnaze sr=attinasi a=roc+moz
bug 128229 pass stylechange reflow to table childrens r=karnaze sr=roc+moz a=asa
2002-03-06 15:56:32 +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
kin%netscape.com
5fa3628533 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp

    - Modified SyncViewWithFrame() to sync the frame's origin
      with the view, after the view is positioned.

  mozilla/layout/xul/base/src/nsSliderFrame.cpp

    - Traverse view hierarchy instead of the frame hierarchy
      when calculating the offset from the slider frame to
      the rootView. This fixes mouse tracking problems in
      the auto-complete widget's popup menu scrollbar when the
      popup menu frame and view are sync'd to the same position.

r=hyatt@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org
2002-03-06 01:52:06 +00:00
bzbarsky%mit.edu
99a387dcfb Speed up text measurement inside <pre> (major win for view source). Bug
98118, r=shanjian, sr=roc+moz, a=asa
2002-03-05 23:23:09 +00:00
bzbarsky%mit.edu
ff83e74591 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa
2002-03-05 23:17:32 +00:00
karnaze%netscape.com
8e4131e572 bug 43039 - allow col to get next col in different col group for border collapse calc. sr=attinasi, r=alexsavulov 2002-03-05 15:23:28 +00:00
dean_tessman%hotmail.com
a20e5abb3e bug 122931 - nsMenuFrame.cpp and nsMenuPopupFrame.cpp - is .Assign("") needed before GetAttr?
Removed a few Assign(NS_LITERAL_STRING("")) calls
r=varga, sr=jag, a=asa
2002-03-05 06:35:22 +00:00
dean_tessman%hotmail.com
77969c577a bug 126439 - Alt+F4 beeps in some window
only beep if the menu bar is active, instead of whenever a matching shortcut key isn't found
r=pink, sr=blake, a=asa
2002-03-05 06:28:49 +00:00
smontagu%netscape.com
5fa939f925 Fix for bug 121654, "Browser hangs when viewing a Ja message w/o MIME header with folder charset set to Arabic (IBM-864)". r=mkaply, sr=kin, a=asa 2002-03-05 00:41:35 +00:00
bryner%netscape.com
43c343c801 Bug 128749 - fix shortcut keys when a select/outliner has focus. r=pinkerton, sr=blake, a=asa. 2002-03-04 23:36:38 +00:00
alecf%netscape.com
cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
varga%utcru.sk
9d7956fec3 Fix for 121336. sometimes selection in threadpane (and folderpane) not cleared when selecting a new message.
- sync painting is evil
r=bryner, sr=roc+moz, a=asa
2002-03-04 22:15:47 +00:00
karnaze%netscape.com
cee69f0564 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov 2002-03-04 15:48:56 +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
peterv%netscape.com
9bfe5c5491 Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2002-03-04 02:25:08 +00:00
bryner%netscape.com
3d1b04a30d Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.
2002-03-03 23:31:26 +00:00
bernd.mielke%snafu.de
39e8d0d9ea bug 118980 add some debug code to xul frames to be prepared when xbl controls
break table reflow r=karnaze sr=attinasi a=roc+moz
2002-03-03 19:53:56 +00:00
bzbarsky%mit.edu
1d0e067ff2 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz
2002-03-03 19:44:41 +00:00
bryner%netscape.com
dd61e9be9f Meant to check this in as part of bug 127189. Make the XBL select widget use sizetopopup="always". Not yet turned on. 2002-03-03 07:48:38 +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
morse%netscape.com
d8c109186b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:49:30 +00:00
morse%netscape.com
662e2a6a2e bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:26:49 +00:00
bzbarsky%mit.edu
8ea594b9ba Make view-source a lot faster on bidi pages by breaking up the page into
multiple blocks.  Bug 86355, r=rbs, sr=jst, a=asa/shaver
2002-03-01 00:07:48 +00:00
rbs%maths.uq.edu.au
85a903188c re-fix bug 125541 - Need sample MathML page for what's new in m0.9.9. Fixed weird stretchy integral sign due to platform differences in FillRect(). Improved wording of the message that alerts the user about missing MathML fonts and made the dialog non-modal, r=roc+moz, sr=attinasi, a=shaver 2002-02-28 22:39:43 +00:00
kin%netscape.com
bbfc68659e Fix for bug 127211 (Events don't get to an IFRAME unless it is scrolled to the top of its parent)
Modified GetOriginToViewOffset() so that it stops traversing view's parent hierarchy if it runs across a frame with a different ViewManager.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org
2002-02-28 22:34:47 +00:00
rbs%maths.uq.edu.au
8f0239638f backing out - got confused about the status of the tree... 2002-02-28 19:28:11 +00:00
rbs%maths.uq.edu.au
427d1bee24 bug 125541 - Need sample MathML page for what's new in m0.9.9. Fixed weird stretchy integral sign due to platform differences in FillRect(). Improved wording of the message that alerts the user about missing MathML fonts and made the dialog non-modal, r=roc+moz, sr=attinasi, a=shaver 2002-02-28 19:11:02 +00:00
bryner%netscape.com
9534995ca2 bug 127189 - changing the sizetopopup attribute to have two valid "on" modes: "pref", which sets the preferred size to the popup size, and "always", which sets both the preferred and min size to the popup size. Converting all current users of sizetopopup=true to sizetopopup=pref. r=saari, sr=hyatt, s=shaver. 2002-02-28 07:28:39 +00:00
peterlubczynski%netscape.com
074652f237 Fix for topcrash attempting to paint a null frame, bug 110650 r=kmcclusk@netscape.com sr=beard 2002-02-28 04:54:50 +00:00
rods%netscape.com
77ba62c980 Fix up layout for RTL after areaframe jumbles frames.
Bug 118509 r=dcone sr=attinasi a=shaver
2002-02-27 13:03:00 +00:00
rbs%maths.uq.edu.au
1ceef9c401 bug 127227 - rowspan and columnspan regressed in MathML mtable - a spill over from the landing of the table border collapsing code in bug 41262, r=karnaze, sr=attinasi, a=shaver 2002-02-27 01:37:13 +00:00
rbs%maths.uq.edu.au
da41db0cc4 bug 126619 - fixups for the final metrics of certain MathML characters, and add transliteration for U+2212 the official Unicode minus sign (ongoing bug 119664), r=roc+moz, rs=attinasi/blizzard, a=shaver 2002-02-27 01:35:27 +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
rods%netscape.com
3b65bff5fb disable user-input for Print Preview
Bug 120745 r=dcone sr=attinasi a=asa
2002-02-26 03:30:51 +00:00
karnaze%netscape.com
eab00e2d64 bug 126742 - correct typo, setting the correct offset. sr=attinasi, r=alexsavulov, a=shaver 2002-02-26 00:43:12 +00:00
karnaze%netscape.com
2017816095 bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver 2002-02-26 00:27:42 +00:00
attinasi%netscape.com
e7305de97e Safety checks, in case the normalFont cannot be realized (due to system font exhaustion). b=117736 r=rbs sr=shaver a=asa 2002-02-26 00:13:49 +00:00
bzbarsky%mit.edu
f6115a6997 Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver
2002-02-25 22:26:26 +00:00
bzbarsky%mit.edu
15ad250cad Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver
2002-02-25 22:18:26 +00:00
pinkerton%netscape.com
58fa2f6350 implement NS_THEME_TOOLBAR_SEPARATOR, also patch outliner to support it. r=bryner,smfr/sr=blake/a=shaver. bug#127722 2002-02-25 22:14:55 +00:00
jkeiser%netscape.com
0d07fd266f bug 125124 (frame resize on unload crasher), r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=asa@mozilla.org 2002-02-25 19:23:48 +00:00
karnaze%netscape.com
e1dec1aee1 bug 124041 - prevent infinite splitting of images due to 0 avail height. sr=attinasi, r=alexsavulov, a=asa 2002-02-25 14:42:12 +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
bryner%netscape.com
f9c800b681 Backing out my checkin for bug 127189 -- it caused a regression. 2002-02-23 07:18:23 +00:00
cmanske%netscape.com
a193d9c572 Fix selection of image on click, b=123727, r=brade, sr=kin, a=asa/drivers 2002-02-23 06:54:41 +00:00
bryner%netscape.com
5c925910d6 Bug 127189 - make sizetopopup=true set the min size as well as the preferred size. r=jag, sr=hyatt, a=dbaron. 2002-02-23 03:42:48 +00:00
timeless%mac.com
066b07bd71 Bug 126667 ../../../../dist/include/content/nsCSSDeclaration.h:657: warning: comparison is always true due to limited range of data type
r=bbaetz,pink sr=alecf a=roc+moz
2002-02-22 11:58:22 +00:00
dcone%netscape.com
c4c909190e b=127042 Fix background printing.. print preview image loading. r=pavlov sr=kin a=dbaron 2002-02-22 05:41:27 +00:00
attinasi%netscape.com
10ba0aefaa Fixed big problem trying to change the position property on an absolutely positioned element, was leaving dangling placeholder frame. b=118415, r=kmcclusk, sr=jst a=shaver 2002-02-22 02:17:18 +00:00
rods%netscape.com
62e0cbabdf Get the rect of the PageContentFrame and using it. Also, painting BG
after the container and only when we are suppose to be painting the BG
Bug 126824 r=dcone sr=attinasi a=dbaron
2002-02-22 01:45:05 +00:00
bzbarsky%mit.edu
08d2ef88e2 Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz
2002-02-22 00:25:57 +00:00
jaggernaut%netscape.com
6c83a2be82 Get rid of assertion at startup. This block shouldn't have been moved by my checkin for bug 959. 2002-02-21 17:57:25 +00:00
varga%utcru.sk
35521776e2 Fix for bug 125687. An assertion fix.
- check for negative row index
r=bryner, sr=hyatt, a=roc+moz
2002-02-21 17:07:33 +00:00
jaggernaut%netscape.com
33fb0161db Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa 2002-02-21 13:39:39 +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
bernd.mielke%snafu.de
5701a854e8 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz
2002-02-21 05:36:16 +00:00
kin%netscape.com
2e601306d7 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=roc+moz@cs.cmu.edu
2002-02-21 03:03:31 +00:00
dbaron%fas.harvard.edu
21048cb4cf Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc 2002-02-21 01:36:16 +00:00
pinkerton%netscape.com
ecc86da3a2 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770 2002-02-20 21:51:25 +00:00
mkaply%us.ibm.com
362d590ed0 Fix HPUX bustage - some compilers don't like a comma on the last enum 2002-02-20 13:48:50 +00:00
pavlov%netscape.com
40b3a7ef13 bug 125713 sr=brendan 2002-02-20 07:44:35 +00:00
joki%netscape.com
8bc4a2199b Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js 2002-02-20 07:23:35 +00:00
seawood%netscape.com
046e1b6b15 Allow distributors to set specific builddate by setting MOZ_BUILD_DATE in the env.
Thanks to Christopher Blizzard <blizzard@redhat.com> for the patch.
Bug #123391 r=cls,blizzard
2002-02-20 06:21:10 +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
jkeiser%netscape.com
f929b21bf6 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com 2002-02-20 05:59:46 +00:00
peterlubczynski%netscape.com
f732ce82db Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard 2002-02-20 03:23:50 +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
joki%netscape.com
dbbee99c3a Fix 36573, send text field change event through nsPresShell central dispatch method in order to correctly set target property. r:saari, sr:jst 2002-02-20 03:20:33 +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
dbragg%netscape.com
c7478fbb13 Updating the localeVersion to 0.9.9. Fixes bug 126240. r=tao, sr=dveditz 2002-02-20 03:18:10 +00:00
hewitt%netscape.com
81d3fd97b4 110165 - Crash scrolling in addressing widget, r=hyatt, sr=dbaron 2002-02-20 02:19:08 +00:00
pinkerton%netscape.com
07a4e16549 don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736 2002-02-20 02:14:18 +00:00
alecf%netscape.com
66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
bryner%netscape.com
614ace3983 fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +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
roc+%cs.cmu.edu
808e50f18c Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi 2002-02-19 21:22:23 +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
brade%netscape.com
8e426d1ebc fix mac build bustage 2002-02-19 18:27:25 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +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
rbs%maths.uq.edu.au
60016580a6 Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi 2002-02-19 07:30:58 +00:00
rbs%maths.uq.edu.au
42e6cdab5e Add entry for the official Unicode minus sign 2002-02-19 07:24:19 +00:00