1395 Commits

Author SHA1 Message Date
stephend%netscape.com
a8b401eb33 Bug 109500. Memory leak of 52 bytes in grid code. Patch by Brian Ryner (bryner@netscape.com). r=bryner@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114500 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:44:17 +00:00
bryner%netscape.com
05857104bf Bug 124258 - radio buttons and checkboxes not sizing wide enough for their labels. Make sure the pref size we return for the image isn't smaller than the min size specified in CSS. r=pinkerton, rs=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114484 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 05:51:47 +00:00
bryner%netscape.com
f16c8107c5 Bug 124963 - Table becomes excessively wide with XBL checkboxes. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:08:08 +00:00
dean_tessman%hotmail.com
37652babe4 Bug 12201 - Access keys on commands don't work in submenus
r=varga sr=blake


git-svn-id: svn://10.0.0.236/trunk@114376 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:14:26 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
a8d03c78ee Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114147 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 19:00:56 +00:00
varga%utcru.sk
f80b4baaa6 Fix for bug 94654. outliner: don't draw image if column is too narrow
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114135 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:52:24 +00:00
varga%utcru.sk
7221c00cf9 Fix bad comment.
git-svn-id: svn://10.0.0.236/trunk@114077 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:51:24 +00:00
varga%utcru.sk
530d5a669e Fix for bugs:
121241 - Misplaced insertion line for outliner DND
120976 - Drop feedback needs some polishing
r=pink, sr=hyatt
Thanks for reviews and testing by zach.

- added new atom "dragSession"
- renamed atom "drop" to "dropOn"
- added new pseudo class -moz-outliner-drop-feedback
- added new paint method PaintDropFeedback()
- drop feedback in between rows is now painted at the same position for both orientations.


git-svn-id: svn://10.0.0.236/trunk@114067 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:18 +00:00
kin%netscape.com
9d69384546 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:39:15 +00:00
wtc%netscape.com
2ceb928784 Bugzilla bug 117479: define the PR_ABS macro only if it is not defined.
The patch is contributed by Roland.Mainz@informatik.med.uni-giessen.de.
r=wtc. sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@113866 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:08:39 +00:00
bryner%netscape.com
0d3b6c94cc bug 123645 - make sure not to paint the list-style-image for a nsImageBoxFrame if we're using -moz-appearance and a native theme is available. r=blake, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113746 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:46:07 +00:00
bzbarsky%mit.edu
c1d76095eb Fix bustage. "i" is already declared.
git-svn-id: svn://10.0.0.236/trunk@113670 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:11:01 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
varga%utcru.sk
62fd668a27 Fix for 122794. Outliner columns ordered incorrectly.
- use selection sort instead of quick sort, since quick sort in unstable
r=bryner, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@113660 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:44:51 +00:00
bryner%netscape.com
1a11ac5be2 Rest of the patch for bug 122542. I accidentely checked in the incomplete patch. r=varga, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113543 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 23:22:10 +00:00
alecf%netscape.com
43bee42ecd more dependency updates
git-svn-id: svn://10.0.0.236/trunk@113536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 21:29:01 +00:00
varga%utcru.sk
295a8002c4 Fix for bugs:
120299 - Drop feedback is narrow first time
121187 - drag of message summary line (even without drop) garbles bounding box

r=sfraser, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@113471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 00:13:07 +00:00
dean_tessman%hotmail.com
e8149ab232 Forgot the .h for 122057.
git-svn-id: svn://10.0.0.236/trunk@113409 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 06:55:41 +00:00
dean_tessman%hotmail.com
d20cb76545 122057 - springloaded folders trigger too easily
r=varga@utcru.sk, sr=ben


git-svn-id: svn://10.0.0.236/trunk@113406 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 06:36:28 +00:00
bryner%netscape.com
20a287ba58 bug 122542 - make outliner content view only respond to ContentInserted/ContentRemoved notifications concerning its own outliner. Also fix html option support. r=varga, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113395 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 03:21:38 +00:00
heikki%netscape.com
10484cc5cc Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:12:36 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
waterson%netscape.com
e42395b6b7 Bug 122367. I give up. Force block frames to have NS_BLOCK_SPACE_MGR bit set. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@113176 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:10:14 +00:00
pinkerton%netscape.com
a7cee19a47 twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser.
git-svn-id: svn://10.0.0.236/trunk@113139 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:10:57 +00:00
bryner%netscape.com
b5bc1766ea Bug 120974 - fix QI method on nsOutlinerBodyFrame so it doesn't get wrapped in an nsBoxToBlockAdaptor. Move Reflow() logic into GetPrefSize and SetBounds. r=varga, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@112970 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 00:58:46 +00:00
bryner%netscape.com
b4d0800861 Bug 101032 - fix nsScrollBoxObject::EnsureElementsVisible in the case where the scrollbox is not at 0,0. Patch from shanec@activestate.com, r=bryner, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@112966 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 23:27:27 +00:00
sgehani%netscape.com
3463b5a96b Make tooltip pref be honored within same session of browser.
b = 113831; r = morse; sr = hewitt


git-svn-id: svn://10.0.0.236/trunk@112963 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 20:15:01 +00:00
waterson%netscape.com
0ba428ed90 Bug 99691. nsBoxToBlockAdaptor shouldn't be creating space managers; instead, fix XUL <label> and <description> elements to create area frames. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112749 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:34:25 +00:00
bryner%netscape.com
ecf9539ee3 Bug 120189 - fix selection crash with xbl select widget. Move content node updating to the XBL event handlers. r=varga, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@112605 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:22:33 +00:00
rods%netscape.com
ccd0e3e698 Fixes the problem where PrintPreview is getting multiple Initial reflows
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan


git-svn-id: svn://10.0.0.236/trunk@112569 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:53:02 +00:00
dbaron%fas.harvard.edu
5f33a51792 Fix bustage in bad preprocessor syntax.
git-svn-id: svn://10.0.0.236/trunk@112293 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:50:10 +00:00
varga%utcru.sk
763dd8095d Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt


git-svn-id: svn://10.0.0.236/trunk@112268 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:01:28 +00:00
hewitt%netscape.com
2eaf7eb4f1 fixing nebiros bustage
git-svn-id: svn://10.0.0.236/trunk@112159 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 05:05:40 +00:00
dbaron%fas.harvard.edu
45b310844b Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
bzbarsky%mit.edu
2fb6462521 Fix bug 84121, problem with XUL menu sizing/positioning. Patch by
Michael Kaply <mkaply@us.ibm.com>, r=dean_tessman@hotmail.com,
r=piskozub@iopan.gda.pl, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112054 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 05:45:53 +00:00
bryner%netscape.com
29d3f67dae Bug 119837 - add a parameter to nsITheme::GetMinimumWidgetSize to specify if CSS is allowed to override the min size. r=bzbarsky, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@112053 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 05:40:37 +00:00
hewitt%netscape.com
ec249a518b 116010 - tooltips over autocomplete or menulists will size themselves to source, r=hyatt, sr=blake
git-svn-id: svn://10.0.0.236/trunk@112003 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:59:50 +00:00
hewitt%netscape.com
72a8b46e4a 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111995 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:18:10 +00:00
jdunn%netscape.com
01a246e76f AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu


git-svn-id: svn://10.0.0.236/trunk@111825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:16:05 +00:00
varga%utcru.sk
8174569821 Fix for 116739. Many assertions when moving over the blank area of outliners.
Fix for 118632. file picker can display all column arrows.
r=bryner, sr=hyatt

- getCellAt() now checks for correct mouse coordinates and sets row value
  to -1 for invalid coordinates.
- added bail out checks to all callers.


git-svn-id: svn://10.0.0.236/trunk@111793 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:47:52 +00:00
brade%netscape.com
54d20fa229 remove unused static kViewCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111704 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:46:56 +00:00
brade%netscape.com
14761c5446 comment out unused statickLookAndFeelCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111703 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:46:39 +00:00
brade%netscape.com
509eb97f42 remove unused statickCChildCID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111702 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:46:09 +00:00
brade%netscape.com
6869be649b #ifdef globals so they aren't defined when they aren't used (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111689 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:36:06 +00:00
hyatt%netscape.com
b80c821e21 Fix for 115767, dropdown list support for WinXP, r=hixie, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111517 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 00:43:20 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
hyatt%netscape.com
5d02ce1715 Fix for 118550, I screwed up minwidth and minheight on boxes. Somewhere evaughan is rolling over in his grave. r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@111501 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 20:02:19 +00:00
bryner%netscape.com
03302aa66f Outliner's pref height should be 0 if no rows= attribute was specified (not 1 row height). rs=hyatt.
git-svn-id: svn://10.0.0.236/trunk@111472 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 05:37:59 +00:00
varga%utcru.sk
110782faac Fix for 118159. over-zealous scrollbar in outliner. r=dean_tessman@hotmail.com, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111464 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 20:13:21 +00:00