3269 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
0c7a6dba2f # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser


git-svn-id: svn://10.0.0.236/trunk@63595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:51:59 +00:00
pollmann%netscape.com
191038a9c7 Bug 28143: Set selectedIndex to -1 should deselect all options (2 of 2 - when frame does not exist) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:46:43 +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
hyatt%netscape.com
2aa21dfc54 Adding licenses to XBL files.
git-svn-id: svn://10.0.0.236/trunk@63577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:14:34 +00:00
jst%netscape.com
daf83bdd00 Fixing the remaining part of #12559. r=gagan
git-svn-id: svn://10.0.0.236/trunk@63568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:22:07 +00:00
norris%netscape.com
93ee43a3b2 added updatePrincipal function to nsDocument. r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63542 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:20:04 +00:00
norris%netscape.com
17c637de9c Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)


git-svn-id: svn://10.0.0.236/trunk@63539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:12:56 +00:00
norris%netscape.com
304b246cd7 Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris
git-svn-id: svn://10.0.0.236/trunk@63538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:09:58 +00:00
nisheeth%netscape.com
9317eafd78 r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
jst%netscape.com
d639a6b9e5 Remove the last virtual fuctions from nsGenericElement, this reduces the size of most element nodes in mozilla by 4 bytes. r=troy@netscape.com,bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@63511 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:29:01 +00:00
saari%netscape.com
ec7629c39d Null checking for saftey in some of the focus code. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@63505 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:47:19 +00:00
nhotta%netscape.com
ae0c89be06 Removed headers and constants for nsFactory, bug 11880, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@63499 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:58:40 +00:00
karnaze%netscape.com
ef33586f26 bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods.
git-svn-id: svn://10.0.0.236/trunk@63493 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:39:22 +00:00
attinasi%netscape.com
ade61276ef Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:49:42 +00:00
nhotta%netscape.com
27150a7d9b Changed to use nsILocaleService instead of nsLocaleFactory, bug 18338, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@63475 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:48:39 +00:00
dbaron%fas.harvard.edu
10ef096dc9 Fix leak statistics by logging all releases, and fix one extra release. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63415 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:35:22 +00:00
dbaron%fas.harvard.edu
dd3116b06a Fix leak of style contexts. r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:26:13 +00:00
jim_nance%yahoo.com
55ae4a6a68 Fix for uninitialized variable
r=waterson


git-svn-id: svn://10.0.0.236/trunk@63411 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 19:07:35 +00:00
norris%netscape.com
09ff59d528 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63404 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 17:48:12 +00:00
rods%netscape.com
d9ce7addbc Fixed GetSelectedIndex so it gets it out of the pressate when there is no frame.
for PDT+ bug 32119, I am checking in the fix in on the Tip,
ducarroz will check it in on the branch
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63400 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:29:48 +00:00
waterson%netscape.com
bc9b1d0a0b Get rid of dead code.
git-svn-id: svn://10.0.0.236/trunk@63375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:26:25 +00:00
jst%netscape.com
8a0ea8c8e5 Backing out my last change since it broke the tree, sorry.
git-svn-id: svn://10.0.0.236/trunk@63363 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 03:11:52 +00:00
jst%netscape.com
1045f00b64 Fixing what (at least used to) crashes #28489. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63359 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:10:28 +00:00
jst%netscape.com
f68730e139 Removing the last virtual functions from nsGenericElement, this reduces the size of every element object by 4 bytes. r=troy@netscapce.com
git-svn-id: svn://10.0.0.236/trunk@63356 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:55:47 +00:00
dougt%netscape.com
6f9fac33b3 adding GetSecurityInfo to the nsIChannel. bug 29646 r= warren.
git-svn-id: svn://10.0.0.236/trunk@63320 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:07:37 +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
bryner%uiuc.edu
b71d6e40c0 Fixing a stupid leak from mousewheel scrolling. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@63259 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:27:45 +00:00
akkana%netscape.com
eed43f5587 nsCOMPtr tainting problem -- need to include nsIParserService.h
git-svn-id: svn://10.0.0.236/trunk@63222 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:12:11 +00:00
akkana%netscape.com
910ccafcb4 29032, 29239: linebreaks in <pre> and in plaintext mail.
19137: preserve style of copied text.          r=mjudge


git-svn-id: svn://10.0.0.236/trunk@63208 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:08:27 +00:00
putterman%netscape.com
dec7a82372 Fix for 15142. Fixing typo makes secondary sort now work.
git-svn-id: svn://10.0.0.236/trunk@63206 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:03:46 +00:00
karnaze%netscape.com
45de05a1fb bug 7112 - do not convert align=center on table into text-align=center, r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@63204 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:52:21 +00:00
karnaze%netscape.com
0f7fbb851d bug 27993, 30332 - treat rowspan/colspan=0 like Nav in quirks mode rather than according to html 4.
git-svn-id: svn://10.0.0.236/trunk@63203 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:50:57 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
attinasi%netscape.com
d039db6c10 Fixed build breakage - local API change snuck in to my checkin.
git-svn-id: svn://10.0.0.236/trunk@63198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:37:00 +00:00
attinasi%netscape.com
39a3c92b6b Removed code that was causing a reframe when the class of an element changed. This is unnecessary and causes performance problems (reframes are expensive). b=21225 r=dcone,pierre
git-svn-id: svn://10.0.0.236/trunk@63187 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:04:21 +00:00
attinasi%netscape.com
71ee99d1fa Fixed a problem where loading an image into second browser window was not updating the dimensions. Also added temporary code to put the image type in the title, even though the image type is not really accurate yet. b=24478 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63177 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:58:12 +00:00
attinasi%netscape.com
9519b13665 Removed NavQuirk where FONT tags were ignored if an element was explicitly sized, since we couldn't know if it was explicitly sized by an *implicit* style rule or by another FONT tag. b=25810 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63172 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:54:36 +00:00
pierre%netscape.com
cfc46042f9 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided.
git-svn-id: svn://10.0.0.236/trunk@63156 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 11:44:00 +00:00
bryner%uiuc.edu
d419808175 Change mousewheel debugging messages to use PR_LOG instead of being turned
on by an #ifdef.  This will enable nightly build users to generate useful
debugging output.


git-svn-id: svn://10.0.0.236/trunk@63128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:34:52 +00:00
dbaron%fas.harvard.edu
d017095281 1) Make PRE line layout backwards compatible in quirks mode (related to bug 26998).
2) Don't use strings when I can use atoms.
3) Fix bug 28472 by correcting error in earlier checkin.
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@63109 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:14:57 +00:00
dbaron%fas.harvard.edu
e96bd9a82b Fix bug 28570, leak of nsXULPrototypeDocument and nsJSContext (and things they owned). r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:11:02 +00:00
beard%netscape.com
e8fb300544 uncovered leak exposes a crasher, this fixes it. r=waterson
git-svn-id: svn://10.0.0.236/trunk@63092 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:58:01 +00:00
bryner%uiuc.edu
52aae81167 Changing nsresult -> NS_IMETHODIMP.
git-svn-id: svn://10.0.0.236/trunk@63006 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:02:23 +00:00
bryner%uiuc.edu
8c80411e00 Fixing build bustage. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@63000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:29:00 +00:00
bryner%uiuc.edu
516bef93d5 Clean up handling of mousewheel prefs by removing built-in caching, and
use a shutdown observer so we can release the prefs service if
necessary.  r=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@62998 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:03:44 +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
blizzard%redhat.com
38572a5d11 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@62992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:08:28 +00:00
rhp%netscape.com
bb8cdfecb1 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
git-svn-id: svn://10.0.0.236/trunk@62973 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:47:36 +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
pierre%netscape.com
ed6f7b2bac #30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face.
git-svn-id: svn://10.0.0.236/trunk@62901 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:30:29 +00:00