1385 Commits

Author SHA1 Message Date
jgaunt%netscape.com
c2b6e01af8 bug 72054 -- make f10 work on UNIX and others
This is a checkin for Jay Yan from the Sun China team
r=jgaunt
sr=sfraser
a=asa


git-svn-id: svn://10.0.0.236/trunk@116606 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 01:35:06 +00:00
akkana%netscape.com
1b2ac57468 109380: Add an editor accessor to the editor box object. r=brade sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@116572 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 20:48:45 +00:00
ftang%netscape.com
d72a74f65b fix bug 130071. r=nhotta sr=hyatt, a=roc+moz
make the Asian localization display access key correctly if the last char is a ":"


git-svn-id: svn://10.0.0.236/trunk@116438 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:39:52 +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
rods%netscape.com
cdc9d9dd89 Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc


git-svn-id: svn://10.0.0.236/trunk@116394 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 14:16:57 +00:00
hyatt%netscape.com
e47e30f4ce Fix for 122369, XBL form selects show scrollbars when their size=the number of options. This fixes that problem. r=bryner, sr=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@116388 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 10:13:05 +00:00
jdunn%netscape.com
2da0ba8cc7 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


git-svn-id: svn://10.0.0.236/trunk@116144 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 12:37:00 +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
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
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
kin%netscape.com
a97cad95f6 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


git-svn-id: svn://10.0.0.236/trunk@115909 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:52:06 +00:00
dean_tessman%hotmail.com
1dce016ad7 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


git-svn-id: svn://10.0.0.236/trunk@115800 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:35:22 +00:00
dean_tessman%hotmail.com
e27fdb2ae7 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


git-svn-id: svn://10.0.0.236/trunk@115799 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:28:49 +00:00
varga%utcru.sk
c941d6aacc 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


git-svn-id: svn://10.0.0.236/trunk@115741 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:19:51 +00:00
peterv%netscape.com
6aaceba52a Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115694 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 02:25:08 +00:00
bernd.mielke%snafu.de
610f6ff57d 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


git-svn-id: svn://10.0.0.236/trunk@115683 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:53:56 +00:00
morse%netscape.com
c30bfac365 bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:26:49 +00:00
bryner%netscape.com
a50077091c 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.
git-svn-id: svn://10.0.0.236/trunk@115482 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:28:39 +00:00
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