698 Commits

Author SHA1 Message Date
pinkerton%netscape.com
806664bf2f make the menu positioning use the new look&feel metric for whether or not popups can appear over the taskbar/menubar bug 21154. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63873 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:10:09 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
hyatt%netscape.com
f74659b698 Marking my territory.
git-svn-id: svn://10.0.0.236/trunk@63579 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:24:48 +00:00
hyatt%netscape.com
2eea7163c1 Marking my territory. ;)
git-svn-id: svn://10.0.0.236/trunk@63578 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:15:24 +00:00
jst%netscape.com
96aefc9b5d Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559


git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
hyatt%netscape.com
66123cf87d Fix for bug #32212.
git-svn-id: svn://10.0.0.236/trunk@63289 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 11:27:01 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
pinkerton%netscape.com
987a665e03 fix the popup positioning code to work better when sliding a popup along its parent's alignment axis to fit it on screen. now cannot go off the top or the right but is pinned to it. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63141 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:13:15 +00:00
hyatt%netscape.com
a19b6cd72b Landing new progressmeter.
git-svn-id: svn://10.0.0.236/trunk@62993 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:16:43 +00:00
hyatt%netscape.com
b5f669c6b3 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button.
git-svn-id: svn://10.0.0.236/trunk@62912 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:46 +00:00
hyatt%netscape.com
cf8e00290e Making menus give feedback even when disabled. r=ben
git-svn-id: svn://10.0.0.236/trunk@62759 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 10:37:57 +00:00
hyatt%netscape.com
f4bb1b633f Fixing two bugs in menulist. r=ben
git-svn-id: svn://10.0.0.236/trunk@62758 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 10:20:34 +00:00
hyatt%netscape.com
76b9649ff5 new button files, will replace titledbutton
git-svn-id: svn://10.0.0.236/trunk@62643 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:39:21 +00:00
hyatt%netscape.com
3c38ca0e4e new xul widgets & cleanup of existing widgets
git-svn-id: svn://10.0.0.236/trunk@62639 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:34:29 +00:00
waterson%netscape.com
0286571f17 Bug 30557. Force an immediate reflow after creating a content chain. r=hyatt, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62445 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:27:37 +00:00
waterson%netscape.com
44339eaa9f Bug 30866. Be sure to pass the right content node to nsTreeRowGroupFrame::IndexInRow(). r=hyatt, a=jar
git-svn-id: svn://10.0.0.236/trunk@62444 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:26:19 +00:00
slamm%netscape.com
adb1452d9d Add NS_SUCCEEDED() check for GetContent() call. May have caused start up assertion on Linux. It's tough to reproduce. Even if this was not the source of the problem, the extra check does not hurt. Follow up checkin to fix for bug 29813. r=evaughan a=jevering
git-svn-id: svn://10.0.0.236/trunk@62368 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 02:33:52 +00:00
slamm%netscape.com
f30b6019c3 Add 'collapsed' for collapsing splitter siblings. Bug 29813. r=evaughan,mcafee a=jevering
git-svn-id: svn://10.0.0.236/trunk@62352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:15:44 +00:00
slamm%netscape.com
f84132e692 Add collapsed='true' for splitter siblings when the are collapsed. A style rule in global.css will then hide the sibling. It used to work by setting the style directly. Bug 29813. r=evaughan,mcafee a=jevering
git-svn-id: svn://10.0.0.236/trunk@62350 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:14:53 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
hyatt%netscape.com
f7d7323ecc Fix for 30369. r=ben
git-svn-id: svn://10.0.0.236/trunk@62220 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 12:00:35 +00:00
evaughan%netscape.com
3d18c43a45 Fix for bug #30305
-r hyatt -a jar


git-svn-id: svn://10.0.0.236/trunk@62219 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 09:42:06 +00:00
waterson%netscape.com
58ea22f3b2 Fix compiler warning; remove unused variable. Hyatt meant to do this.
git-svn-id: svn://10.0.0.236/trunk@62178 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:56:32 +00:00
hyatt%netscape.com
a2f0ca7406 Fix for bug #29556, r=waterson, a=jar
git-svn-id: svn://10.0.0.236/trunk@62175 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:35:29 +00:00
hyatt%netscape.com
7c438bb6ab part 2 of fix for bug #25073, r=pink,evaughan, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62104 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 02:08:02 +00:00
evaughan%netscape.com
160d198560 fix for bug 25073
-r hyatt -a jevering


git-svn-id: svn://10.0.0.236/trunk@62102 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 01:50:43 +00:00
hyatt%netscape.com
1af26409c0 XUL RadioGroup element, not used in XUL. r=ben, a=jar
git-svn-id: svn://10.0.0.236/trunk@62045 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 10:00:09 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
pinkerton%netscape.com
e271139371 rewrite of popup positioning code to avoid placing a popup on top of the parent frame it is anchored to and to prevent moved popups from coming up under the mouse when they are too big or too close to the edge of the screen. Fixes bugs 29141 21155 23191. r=saari,hyatt a=jevering.
git-svn-id: svn://10.0.0.236/trunk@62028 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 04:08:04 +00:00
evaughan%netscape.com
d40b1bea18 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 03:01:30 +00:00
mjudge%netscape.com
6e4b783256 a=jar r= whomever reviewed it before. saari i think. this SHOULD have went in before cvs merge error i didnt catch sorry my bad.
git-svn-id: svn://10.0.0.236/trunk@61983 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 21:49:53 +00:00
pinkerton%netscape.com
5a18d87dc9 patches from dean_tessman@hotmail.com for bug 17159. Teach popups about if they are context menus and accept right clicks to select menu items if they are. r=hyatt, a=jar.
git-svn-id: svn://10.0.0.236/trunk@61946 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 03:12:51 +00:00
hyatt%netscape.com
66d2c06c5b Fix for bug #28856. r=karnaze,troy a=jar
git-svn-id: svn://10.0.0.236/trunk@61936 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 02:33:41 +00:00
Jerry.Kirk%Nexwarecorp.com
ab728b8336 Change default "option" key from Alt to Ctrl for Neutrino.
This is for PHOTON only.


git-svn-id: svn://10.0.0.236/trunk@61865 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 13:06:06 +00:00
pinkerton%netscape.com
cad1c45230 fix for 28781 which leaked a presShell during menu creation causing a crash with animated gifs. r=scc a=jevering/jar.
git-svn-id: svn://10.0.0.236/trunk@61843 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:46:47 +00:00
mjudge%netscape.com
7e7b74915f bug for IME input activation wrongly causing the menu to be activated. r=ftang,jfrancis, a=jar hyatt pdt+ bug dont remember which one
git-svn-id: svn://10.0.0.236/trunk@61701 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:57:37 +00:00
jdunn%netscape.com
37b9bd8b80 checkin newlines for hpux
r= pepper@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61697 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:45:53 +00:00
Jerry.Kirk%Nexwarecorp.com
bf28975875 Change
#ifndef XP_UNIX
  to
#if !defined(XP_UNIX) || defined(NTO)
so the ALT key will bring up menus under Neutrino.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@61668 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 14:29:45 +00:00
hyatt%netscape.com
0ec8033fbe Fix Linux bustage. No biggy. Just an nsCOMPtr flub. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@61663 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 10:30:19 +00:00
hyatt%netscape.com
4ccb7d43f3 XUL Property APIs, b=26109, r=ben
git-svn-id: svn://10.0.0.236/trunk@61661 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 08:37:49 +00:00
evaughan%netscape.com
28b6c97e2a Fixes for bugs: 28460, 27573, 27242, 24721
-r waterson -a jar


git-svn-id: svn://10.0.0.236/trunk@61648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:18:34 +00:00
pinkerton%netscape.com
df6e462b3f don't fetch the image unless we are in the layer that is being drawn. r=evaughan,hyatt, a=jar.
git-svn-id: svn://10.0.0.236/trunk@61570 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 03:42:40 +00:00
pinkerton%netscape.com
19ca7a3b9e Fix for bug 25073. groupName for radio button items was not being set
initially if the item was checked in the content model when the frame
was created. Now always make sure we set that member. r=hyatt a=rickg


git-svn-id: svn://10.0.0.236/trunk@61411 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 01:50:48 +00:00
saari%netscape.com
5eaa6343ea Fix for PDT+ 26618. Typing for hyatt, r=saari
git-svn-id: svn://10.0.0.236/trunk@61366 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 23:33:51 +00:00
hyatt%netscape.com
888bcc2eb8 Partial fix for #26618. r=saari
git-svn-id: svn://10.0.0.236/trunk@61365 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 22:29:20 +00:00
hyatt%netscape.com
2d8247be5a Adding guards. Harmless.
git-svn-id: svn://10.0.0.236/trunk@61297 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 10:22:20 +00:00
hyatt%netscape.com
7049c9cba6 fix for 27879, r=saari
git-svn-id: svn://10.0.0.236/trunk@61296 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 10:05:14 +00:00
hyatt%netscape.com
69a4ba6038 Fix for bug #28334. r=saari
git-svn-id: svn://10.0.0.236/trunk@61294 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 08:57:28 +00:00
hyatt%netscape.com
a4b12a48be Fix for PDT+ bug #18595. r=saari.
git-svn-id: svn://10.0.0.236/trunk@61292 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 08:05:56 +00:00
jdunn%netscape.com
659b2712ed Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00