1399 Commits

Author SHA1 Message Date
pinkerton%netscape.com
b227c84c1e implement NS_THEME_TOOLBAR_SEPARATOR, also patch outliner to support it. r=bryner,smfr/sr=blake/a=shaver. bug#127722
git-svn-id: svn://10.0.0.236/trunk@115322 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:14:55 +00:00
bryner%netscape.com
0b3d0b4c69 Backing out my checkin for bug 127189 -- it caused a regression.
git-svn-id: svn://10.0.0.236/trunk@115274 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 07:18:23 +00:00
bryner%netscape.com
68356dd711 Bug 127189 - make sizetopopup=true set the min size as well as the preferred size. r=jag, sr=hyatt, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@115265 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:42:48 +00:00
jaggernaut%netscape.com
4d91459de3 Get rid of assertion at startup. This block shouldn't have been moved by my checkin for bug 959.
git-svn-id: svn://10.0.0.236/trunk@115158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 17:57:25 +00:00
varga%utcru.sk
1f4bcbb88a Fix for bug 125687. An assertion fix.
- check for negative row index
r=bryner, sr=hyatt, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115157 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 17:07:33 +00:00
jaggernaut%netscape.com
b202b509c0 Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115151 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:39:39 +00:00
hewitt%netscape.com
43735b115e 110165 - Crash scrolling in addressing widget, r=hyatt, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@114997 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:19:08 +00:00
alecf%netscape.com
f85a67075e 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


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +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
akkana%netscape.com
1623070ca0 80805: old patch, should have been checked in earlier. r=cmanske sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114866 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:06:41 +00:00
bryner%netscape.com
d09b3a5ffb bug 125859 - GetCellWidth() doesn't take into account indentation if we haven't painted yet. r=pavlov, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114722 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 05:56:48 +00:00
aaronl%netscape.com
1a47678bfb Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114634 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:35:09 +00:00
dean_tessman%hotmail.com
2db802dff3 Bug 53029 - Menu highlight by ALT key should be cleared by next key event
Windows-specific changes to match behavior when a key is pressed that is not a valid access key.
r=pink, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114570 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:53:26 +00:00
timeless%mac.com
18aaee49b0 Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +00:00
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