Commit Graph

2713 Commits

Author SHA1 Message Date
mscott%netscape.com
70b70cf844 Bug #34769 (this change is actually dougt's). Don't allow the chrome cache channel to stomp on it's original
uri if it's already been set.
r=waterson,mscott
a=leaf
2000-04-10 00:25:22 +00:00
waterson%netscape.com
315557d12e Bug 34726. Add an out parameter to ConflictSet::Add() that indicates whether the new instantiation triggered any new rules to be matched. The caller then uses this parameter to decide whether or not to add the key of a rule cluster to the 'newkeys' set. r=rjc, a=leaf 2000-04-07 19:22:59 +00:00
waterson%netscape.com
15adcd65d2 Bug 34408. Fix botched checkin that left '#if 0' in the code. a=leaf 2000-04-07 18:24:15 +00:00
saari%netscape.com
8642c8be3a Checking in fix for Waterson for M15 bug #34464, Mac menus crashing after you close a window. Waterson did the work, I just reviewed. r=saari, a=leaf 2000-04-06 22:43:18 +00:00
waterson%netscape.com
3133985689 Bug 34714. Only add 'default' containment properties if the 'containment' attribute *isn't* set on the root. r=rjc, a=leaf 2000-04-06 22:01:32 +00:00
waterson%netscape.com
1b703e36d5 Bug 34408. Force <treeitem> to reframe when open/close attribute changes. r=hyatt 2000-04-06 21:53:12 +00:00
cls%seawood.org
adef1ac6f6 Minor changes to incoporate OS/2 into our build system. Bug #34106
We now set MOZ_{JPEG,ZLIB,PNG}_{CFLAGS,LIBS}, XPCOM_LIBS, MOZ_COMPONENT*_LIBS, WIDGET_DLL, GFXWIN_DLL and MOZ_JS_LIBS in configure.
Added os2 specific arguments to configure.
Added os2 target arch section to configure.
Modified a handful of Makefile.ins to use MOZ_JS_LIBS, MOZ_COMPONENT_LIBS, & EXTRA_DSO_LIBS where necessary.
2000-04-05 06:08:04 +00:00
waterson%netscape.com
7b851fb8ab Fix windows bustage introduced trying to fix solaris bustage. 2000-04-05 05:48:33 +00:00
waterson%netscape.com
921a7f1697 Renamed to nsXULTemplatebuilder.cpp 2000-04-05 05:22:14 +00:00
waterson%netscape.com
79215cf024 Fix build bustage on Solaris Workshop compiler. 2000-04-05 05:18:42 +00:00
waterson%netscape.com
f835a34327 Bug 29507. Clean up PresShell refcounting. r=troy 2000-04-05 05:17:36 +00:00
mkaply%us.ibm.com
cedcce6c59 # 34082
r= waterson@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:39:51 +00:00
sspitzer%netscape.com
965bee004d fix for #34443. fix by waterson, r=sspitzer. now, it just asserts. 2000-04-05 00:50:20 +00:00
hyatt%netscape.com
ea2d786aaa Eliminating nsIFocusableContent 2000-04-04 23:54:06 +00:00
waterson%netscape.com
713bcb8c56 Remove redundant class forward decls that were causing VC++ internal compiler errors. 2000-04-04 08:32:58 +00:00
waterson%netscape.com
f070169ada Ok, really fix HP-UX this time. 2000-04-04 08:19:51 +00:00
waterson%netscape.com
c0d96583c0 Fix build bustage on HP-UX. Access to protected classes only allowed by 'friends'. 2000-04-04 07:28:31 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
waterson%netscape.com
03acc506a2 Add new XUL template builder to the build. 2000-04-04 00:47:20 +00:00
waterson%netscape.com
4f51782966 Add new template builder to the Mac build. 2000-04-04 00:46:44 +00:00
waterson%netscape.com
4624cf597f Add new XUL template builder to the windows build. 2000-04-04 00:44:18 +00:00
waterson%netscape.com
62b54345cf Rename Key::Hash(const void*) to avoid ambiguity on Mac. 2000-04-04 00:40:41 +00:00
mkaply%us.ibm.com
ee4cad8887 # 33859
r= waterson@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-04-03 22:47:44 +00:00
jst%netscape.com
44d3c72ca2 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +00:00
waterson%netscape.com
e0626a8313 Reduce allocation overhead in ConflictSet; lazily create hashtable in MatchSet. NOT YET IN THE BUILD. 2000-04-03 07:55:35 +00:00
waterson%netscape.com
5fd1e516f9 Leak fixes. NOT YET IN THE BUILD. 2000-04-03 06:44:41 +00:00
waterson%netscape.com
ea9019498e Bug 26402, try number two. Do event handler recompilation and 'style' attribute fixup in nsXULElement::SetDocument(). Fix uninitialized out params in nsXULElement::GetAttribute() and nsXULElement::GetClasses(). 2000-04-03 05:36:17 +00:00
scc%netscape.com
8ffaada718 making string conversions explicit 2000-04-03 05:28:56 +00:00
scc%netscape.com
49201b0040 making string conversions explicit 2000-04-03 05:13:05 +00:00
jst%netscape.com
94e684ba9d Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
waterson%netscape.com
37ec600551 Fix nsCOMPtr bustage on Linux. NOT YET PART OF THE BUILD. 2000-04-02 09:22:50 +00:00
waterson%netscape.com
37e1e5cda4 Fix memory leaks, problems with incrmental update. NOT YET IN THE BUILD. 2000-04-02 09:11:00 +00:00
waterson%netscape.com
d3d9596fe6 Fix performance problem with KeySet, removing content from a container. NOT YET IN THE BUILD. 2000-04-02 01:55:46 +00:00
jst%netscape.com
9f4e5b9940 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
waterson%netscape.com
f3fc4cb99b Check in new and improved rule matching for XUL templates. NOT YET IN THE BUILD. a=leaf 2000-04-01 01:38:55 +00:00
waterson%netscape.com
d29d5f9d44 Bug 34061. Fix uninitialized memory problems when called from nsXULDocument::AddSubtreeToDocument(). 2000-03-31 19:01:56 +00:00
hyatt%netscape.com
b6dec09958 Fumbling around trying to fix 800K leak. 2000-03-31 10:26:25 +00:00
attinasi%netscape.com
1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
waterson%netscape.com
93fb73ad56 Bug 26402. Compile event handlers when content is inserted into the document. r=hyatt 2000-03-31 04:03:25 +00:00
waterson%netscape.com
e703ba7bc1 Fix off-by-one error that could occur if you try to inspect an RDF container during renumbering. 2000-03-31 03:52:55 +00:00
jim_nance%yahoo.com
dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
tbogard%aol.net
beaea69674 Set the command using the enumerated type rather than the string type. 2000-03-29 06:10:04 +00:00
tbogard%aol.net
35bdf3c6fd Do the GetDocShell using the nsIScriptGlobalObject interface instead of the nsPIDOMWindow interface. 2000-03-29 05:39:04 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
hyatt%netscape.com
14a3084ba3 Fixing radio element crasher. Duh. 2000-03-29 01:17:24 +00:00
sspitzer%netscape.com
e15055f154 fix a typo in the comment. 2000-03-28 04:53:57 +00:00
rickg%netscape.com
c9b2e5d794 removed reference to nsString2 2000-03-26 23:17:01 +00:00
scc%netscape.com
210cd384fb small changes to clients of string converting APIs 2000-03-26 10:52:00 +00:00
rjc%netscape.com
0091b3af6e Clean up: functions which return booleans should not return nsresults. 2000-03-26 09:16:58 +00:00
rjc%netscape.com
9ae6ccb84d Fix a simple signed/unsigned warning, as well as a bad return. 2000-03-26 09:07:16 +00:00
scc%netscape.com
dc583b4b31 small changes to clients of string converting APIs 2000-03-26 08:19:48 +00:00
rickg%netscape.com
e79a132325 changed Parser(stream) to accept mimetype 2000-03-25 03:32:55 +00:00
jim_nance%yahoo.com
bebfa35340 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
rjc%netscape.com
45b03ef51e Do not strip out duplicate RDF commands here (we need multiple separators to pass through.) 2000-03-24 02:40:24 +00:00
hyatt%netscape.com
88438460a7 XUL <textfield> lives! 2000-03-23 22:17:37 +00:00
hyatt%netscape.com
20ae9f7e3c Adding support for new XUL widgets. 2000-03-23 09:58:49 +00:00
mstoltz%netscape.com
319b923a3a Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
hyatt%netscape.com
6dcde80980 Giving XUL a <script> tag. r=danm 2000-03-23 01:17:08 +00:00
hyatt%netscape.com
36d4b3240a Fix for 32699. Dynamic overlays should work once more. 2000-03-22 23:56:56 +00:00
hyatt%netscape.com
11ec7eda8a Changing XUL template syntax to use <textnode> for wrapped text creation rather
than <text>, which is now a genuine XUL element.
2000-03-22 21:57:35 +00:00
hyatt%netscape.com
845130e95a Fixing a bug in the skin/locale installation function. 2000-03-22 09:28:42 +00:00
hyatt%netscape.com
5495e7d940 Implemented chrome installation APIs. 2000-03-22 01:30:04 +00:00
leaf%mozilla.org
8e5c168460 adding newline to end of file to fix workshop compiler. r=granrose 2000-03-21 21:51:55 +00:00
hyatt%netscape.com
48c294c136 Marking my territory. ;) 2000-03-21 13:15:24 +00:00
hyatt%netscape.com
14b45dd3a4 removed files: mozilla/rdf/chrome/public/nsIChromeEntry.idl 2000-03-21 12:55:53 +00:00
hyatt%netscape.com
9cd675cfab removed files: mozilla/rdf/chrome/src/nsChromeEntry.cpp 2000-03-21 12:50:25 +00:00
hyatt%netscape.com
fca7ca2b94 Patching my hideous chrome registry leaks. 2000-03-21 12:43:25 +00:00
hyatt%netscape.com
6f6ed819cb added files: mozilla/rdf/chrome/src/nsChromeUIDataSource.cpp 2000-03-21 12:00:30 +00:00
hyatt%netscape.com
3544bbff63 Adding support for UI display of installed skins and locales. 2000-03-21 11:57:39 +00:00
hyatt%netscape.com
f6309c86b7 Adding per package skin/locale-switching capabilities. 2000-03-21 11:01:58 +00:00
hyatt%netscape.com
6e3f4c5b2e Stubbing out the installation/uninstallation APIs for the chrome registry. 2000-03-21 10:49:21 +00:00
hyatt%netscape.com
1f899f3314 Landing the new chrome registry with skin/locale switching support. 2000-03-21 10:42:22 +00:00
norris%netscape.com
c093b2538b added updatePrincipal function to nsDocument. r=norris (this is mstoltz's checkin) 2000-03-21 04:20:04 +00:00
nisheeth%netscape.com
77b74c100d 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. 2000-03-21 03:25:16 +00:00
hyatt%netscape.com
eb590233a8 Fix for bug #32587. 2000-03-21 02:05:15 +00:00
nhotta%netscape.com
fa26301684 Removed headers and constants for nsFactory, bug 11880, r=rjc. 2000-03-20 23:58:40 +00:00
nhotta%netscape.com
367e07ec52 Changed to use nsILocaleService instead of nsLocaleFactory, bug 18338, r=rjc. 2000-03-20 22:48:39 +00:00
rjc%netscape.com
87b21b797a Add support for #IEFavoriteFolder 2000-03-20 07:58:30 +00:00
waterson%netscape.com
975a57065b Bug 21006, 30710. Reference count |Assertion| objects to avoid clobbering them from beneath an active assertion enumerator. r=rjc, a=jar. 2000-03-20 00:51:57 +00:00
tonyr%fbdesigns.com
7d368f5633 Make nsISupports interfaces threadsafe so proxy objects can be created. r=waterson 2000-03-18 18:38:14 +00:00
waterson%netscape.com
0413d7071d Doh! I checked in the wrong patch onto the tip. Thanks for wiping my chin, rjc. 2000-03-18 06:24:19 +00:00
rjc%netscape.com
5d16c645ad Fix bug # 24836: correctly serialize RDF data. Review: waterson@netscape.com. 2000-03-18 05:28:53 +00:00
waterson%netscape.com
94d5f591ad Get rid of dead code. 2000-03-18 05:26:25 +00:00
waterson%netscape.com
e1d9416b05 Bug 27739. Leak the key bindings table for now, so we're sure not to lose it if all the XUL documents go away. This is a temporary solution, pending a real fix when hyatt jettisons this for XBL. r=hyatt, a=jar 2000-03-18 05:24:50 +00:00
waterson%netscape.com
a2b14e8f3e Bug 32187. Make sure to re-serialize RDF/XML using UTF-8 for UCS-2 strings. r=rjc,ftang. a=bobj,jar. 2000-03-18 05:22:42 +00:00
hyatt%netscape.com
75662ac1f7 Fix for bug #32214. 2000-03-17 23:09:57 +00:00
dougt%netscape.com
915bc75c0f adding GetSecurityInfo to the nsIChannel. bug 29646 r= warren. 2000-03-17 22:07:37 +00:00
dougt%netscape.com
8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
jst%netscape.com
872a669579 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
2000-03-17 13:27:00 +00:00
hyatt%netscape.com
c9c6127ea8 Fix for bug #32212. 2000-03-17 11:27:01 +00:00
putterman%netscape.com
0d9ec530bb Fix for 15142. Fixing typo makes secondary sort now work. 2000-03-17 00:03:46 +00:00
dbaron%fas.harvard.edu
5998b290c6 Fix bug 28570, leak of nsXULPrototypeDocument and nsJSContext (and things they owned). r=waterson@netscape.com 2000-03-16 01:11:02 +00:00
beard%netscape.com
4fc51fbd02 uncovered leak exposes a crasher, this fixes it. r=waterson 2000-03-15 23:58:01 +00:00
rjc%netscape.com
df47fab4ca When processing IE Favorites (on Windows), handle eof correctly. 2000-03-15 09:08:45 +00:00
ftang%netscape.com
b84d6f192d change type from char to PRUnichar so the problem tracking code in 28424 won't be to noisy. 2000-03-15 05:19:29 +00:00
hyatt%netscape.com
d0c662c931 handling disabled case for checkboxes and radios. 2000-03-13 13:05:46 +00:00
rickg%netscape.com
59808e15af removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
rickg%netscape.com
5dc7d01987 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
hyatt%netscape.com
f1f3c62f2b new xul widgets 2000-03-11 10:31:34 +00:00
norris%netscape.com
060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
tbogard%aol.net
c881cb9260 Use the docShell APIs instead of the webShell ones where possible. 2000-03-11 00:22:48 +00:00
waterson%netscape.com
775fd4e50b Bug 30887. Check mDocument before dereferencing to update style rule. Happens when setting 'style' attribute on an element that is not in the doc tree. r=hyatt, a=jar. 2000-03-08 06:05:45 +00:00
tbogard%aol.net
d90b8bcda9 When the channel is cancelled, don't ignore it, actually cancel and don't sent OnStartRequests if one hasn't been sent yet. If an OnStop is pending, send a OnStopRequest with cancelled in it. bug #30625. r=jud, waterson a=jevering 2000-03-08 03:54:07 +00:00
waterson%netscape.com
7b0457913d Bug 27222. Add a parser observer, so we're always guaranteed to be notified when an overlay completes (even if the overlay wasn't there). Keeps us from 'hanging' when an overlay file is missing. r=harishd, a=jevering 2000-03-07 02:33:44 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
tbogard%aol.net
ada2eb3f19 Adding support to get to the nsIWebBrowser from the browser element. Fix for 27161. r=pavlov a=jevering 2000-03-04 07:59:14 +00:00
tbogard%aol.net
168ad6720e Adding support to get to the nsIDocShell from the iframe element. Fix for 27161. r=pavlov a=jevering 2000-03-04 07:58:56 +00:00
waterson%netscape.com
1c955c9ed2 Bug 29148. Put OnStartLoad() on an event, as well as OnStopLoad(). Avoids re-entrancy where re-entrancy should never be. r=rjc, a=jar. 2000-03-03 23:17:10 +00:00
waterson%netscape.com
f119fe3159 Bug 29148. Initialize out-params to sane values before returning an error. There are lots of places that don't check return codes on these methods. r=rjc, a=jar. 2000-03-03 23:15:34 +00:00
waterson%netscape.com
3a38a69faa Bug 29148. Don't abort in the case where an invalid stylesheet reference has somehow made it into the prototype document, but the stylesheet was never put into the cache (an empty CSS file will cause this to happen). Instead, just keep on truckin'. r=rjc, a=jar 2000-03-03 23:14:09 +00:00
cls%seawood.org
09c37a19ec Fix for compilers that can't deal with the extra ; that results in an "incorrectly terminated declaration" (namely Sun's Workshop 5.0 & AIX's xlC) 2000-03-02 15:27:09 +00:00
scc%netscape.com
d1724d8b93 Added new radiogroup files to the project on behalf of hyatt (since camelot is down) r=hyatt, a=jar 2000-03-02 10:07:10 +00:00
hyatt%netscape.com
d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
waterson%netscape.com
bcc180b908 Bug 25364. Use nsCOMPtr where appropriate; make sure to getter_AddRefs() when calling GetShellAt(). r=travis, hyatt a=jar. 2000-03-01 07:27:31 +00:00
hyatt%netscape.com
b87c565b99 Fix for bug #29410. r=vidur, a=rickg 2000-03-01 01:43:34 +00:00
pollmann%netscape.com
3328c4a8ea Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg 2000-02-29 06:51:05 +00:00
jdunn%netscape.com
dd4717cd8d adding newline 2000-02-28 20:50:38 +00:00
rjc%netscape.com
14065c7824 Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset. Patch from m_kato@ga2.so-net.ne.jp Review: ftang, dougt, and myself. Approval: jar 2000-02-26 02:19:34 +00:00
pinkerton%netscape.com
4e3e72a47c saari at pink's machine again, another generated file 2000-02-26 02:03:04 +00:00
pinkerton%netscape.com
bd834b5c7f saari checking in on pink's machine, fixing build, adding generated DOM idl file 2000-02-26 01:48:04 +00:00
rjc%netscape.com
df001914ec Part of fix for bug # 25876: bookmarks drag&drop behavior modification. Approval: jevering Review: waterson 2000-02-26 01:26:02 +00:00
saari%netscape.com
7e48b21ecd fix for 28467, a=jar, r=hyatt 2000-02-26 00:59:41 +00:00
saari%netscape.com
dbaa79f38a Fix PDT+ 28467, windows jumping z-order to front on load. r=hyatt a=jar 2000-02-26 00:58:12 +00:00
jdunn%netscape.com
70d3a43f78 checkin newlines for hpux
r= pepper@netscape.com
2000-02-25 23:45:53 +00:00
waterson%netscape.com
c1897bf17d Bug 28632. Check container to see if contents have -ever- been built before 'rebuilding'. If no content has been built yet, then trying to rebuild causes bizarre things to happen (like, two of everything). r=rjc,putterman. a=jar 2000-02-25 23:08:43 +00:00
hyatt%netscape.com
5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
hyatt%netscape.com
f91f06ca13 added files: mozilla/rdf/content/src/nsJSXULMenuListElement.cpp, mozilla/rdf/content/src/nsJSXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsJSXULCheckboxElement.cpp, mozilla/rdf/content/src/nsJSXULRadioElement.cpp, mozilla/rdf/content/src/nsXULMenuListElement.cpp, mozilla/rdf/content/src/nsXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsXULCheckboxElement.cpp, mozilla/rdf/content/src/nsXULRadioElement.cpp 2000-02-25 08:36:48 +00:00
bryner%uiuc.edu
6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
law%netscape.com
e52299f99b Fix from Chris Waterson to suppress bogus assertion failure when adding overlays to personal toolbar; this is a prerequisite to other changes for bug #11871; r=waterson@netscape.com, a=jevering@netscape.com 2000-02-25 02:28:45 +00:00
bienvenu%netscape.com
89181e6adc fix handling of uri's with 8 bit characters, a=phil r=waterson 24692 2000-02-23 20:51:36 +00:00
waterson%netscape.com
887eabb12d Bug 28473. Make style resolution cheaper when 'width' and 'height' attributes are changed on a <window>. r=hyatt, a=jevering. 2000-02-22 06:09:41 +00:00
danm%netscape.com
698eb199f8 stop up small but profuse leak on NT; probably a runtime lib bug. r=waterson a=jevering 2000-02-22 04:13:24 +00:00
pollmann%netscape.com
239cf4050e Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg 2000-02-19 02:41:48 +00:00
waterson%netscape.com
85010931c6 Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering. 2000-02-19 00:56:13 +00:00
akkana%netscape.com
6334f4c02d Fix tree blocker 28396. Suggested by hyatt, r=me, a=granrose 2000-02-18 19:43:06 +00:00
hyatt%netscape.com
88b9a0adac Popup fixes. r=saari 2000-02-18 09:38:59 +00:00
saari%netscape.com
0add201695 Fix for PDT+ bug 23085, Pressing enter in open web location dialog doesn't work if dialog is opened from keybinding but does work if opened from menu. Changed XUL keybinding executing to prevent reentrant execution of bindings. This dialog didn't work because it was modal and in the middle of waiting for the inital xulkey+L binding to finish when you hit enter, so we smacked our reentrancy guard and didn't execute the enter key binding. r = hyatt 2000-02-18 08:40:32 +00:00
waterson%netscape.com
0b9f6cb34b Bug 27925. Check document's principal before loading RDF datasources; if principal == system principal, let it do whatever it wants, otherwise check each datasource's URL to ensure that it comes from the same origin as the document. Prevents, for example, untrusted XUL content from loading bookmarks. r=norris, a=chofmann 2000-02-17 21:05:52 +00:00
waterson%netscape.com
725a6b2b3d Revert fix for 26947, 27271 due to bad interaction with the 'find' datasource that causes crash-on-exit. a=chofmann. 2000-02-16 22:44:15 +00:00
waterson%netscape.com
21c4ae46b3 Bugs 27947, 27271. Re-order content-model-to-layout notification to avoid an incremental reflow. This ensures that 1) all menus will be completely created before they are displayed, and 2) the 'oncreate' handler runs after RDF content has been generated. r=hyatt 2000-02-16 07:36:35 +00:00
joki%netscape.com
c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
mkaply%us.ibm.com
a5a271e8e6 # 25555
r= watterson@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:25:57 +00:00
hyatt%netscape.com
d87c5f540d Checking in an API and implementation for the enumeration of the user's search path,
as well as for the enumeration of all installed objects in the chrome registry.
2000-02-15 10:05:29 +00:00
hyatt%netscape.com
d277b0cfef Checking in the modified nsIChromeEntry object, which will be the
workhorse of the new chrome search path.
2000-02-15 09:56:00 +00:00
sspitzer%netscape.com
505b02bd76 case sensitivity problem. r=sfraser 2000-02-15 09:42:41 +00:00
sfraser%netscape.com
3a99973849 Add nsControllerCommandManager.cpp to build, as part of work for bug 18395. r=hyatt, pinkerton 2000-02-15 08:51:31 +00:00
sfraser%netscape.com
92e0c2ac71 First Checked In. 2000-02-15 08:42:25 +00:00
sfraser%netscape.com
3a4f4a0f9f Add nsIControllerCommand.idl. r=pinkerton 2000-02-15 08:41:38 +00:00
sfraser%netscape.com
6d4df147fc Add nsIControllerCommand.idl to build. WIP for bug 18395. r=pinkerton, hyatt 2000-02-15 08:40:52 +00:00
pinkerton%netscape.com
30921af68e now that mac correctly converts control-click to a right-click, we no longer need the #ifdef for mac when launching a context menu. r=saari. 2000-02-15 07:15:00 +00:00
waterson%netscape.com
8ce00f5245 Bug 25303. Remember container into which content was inserted and the index of first insertion, rather than the first element that was inserted. With the latter approach, we were sending incorrect ContentAppended notifications to layout when the insertion sort would move the position of the 'first' inserted element. r=rjc@netscape.com. 2000-02-15 07:08:45 +00:00
saari%netscape.com
93e6429500 Fix for mac bustage 2000-02-15 06:06:53 +00:00
tbogard%aol.net
388bc2b3e6 Added some commented out code to illustrate how we might potentially obtain the held docShell object from the htmlinnerframe. 2000-02-15 05:19:43 +00:00
putterman%netscape.com
d1428bcbdb Speed up sorting. r=rjc. Bug 26131. 2000-02-15 05:05:29 +00:00
saari%netscape.com
539dc8d145 Adding files for Travis 2000-02-15 04:58:55 +00:00
tbogard%aol.net
e90f418de4 Support for the new interfaces on the browserElement and iframeElement. r=hyatt 2000-02-15 04:47:33 +00:00
tbogard%aol.net
8770fa62be Adding the new interface definitions for BrowserElement and IFrameElement. r=hyatt 2000-02-15 04:28:20 +00:00
tbogard%aol.net
0904e12722 New files for defining the BrowserElement and IFrameElement interfaces. r=hyatt 2000-02-15 04:25:53 +00:00
hyatt%netscape.com
ce49a1bab9 Fixing bad bug in key listener... would have made typing slow in Editor. 2000-02-15 01:33:36 +00:00
hyatt%netscape.com
6882634a8f Fix for bug #23387. 2000-02-13 22:57:52 +00:00
dp%netscape.com
8494b2f6e0 bug# 13732 Removing brprof from the build. r=akkanna 2000-02-12 18:50:36 +00:00
hyatt%netscape.com
546064e2fc Addendum to 20764 2000-02-12 10:47:33 +00:00
hyatt%netscape.com
5b1a23bf63 Fix for bug #20764. 2000-02-12 10:08:52 +00:00
saari%netscape.com
5ee75e51de Fixing delete key regression. r=hyatt 2000-02-12 05:52:24 +00:00
akkana%netscape.com
7a994dd6db 27431 -- avoid slew of printfs complaining about GetCharCode from KeyDown, and speed up xul key bindings. r=brade 2000-02-11 22:11:39 +00:00
hangas%netscape.com
e3be9f19a1 Checking in for saari, fix for key bindings with no xulkey="true" (bug 26484). r=hangas 2000-02-11 01:21:35 +00:00
hyatt%netscape.com
59c456d260 Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.
2000-02-11 00:59:32 +00:00
kmcclusk%netscape.com
cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
hyatt%netscape.com
96132f8ef9 Giving the XUL key listener a spanking. 2000-02-09 09:35:30 +00:00
hyatt%netscape.com
8ac3ffd335 Fixing command dispatcher horkage. r=saari 2000-02-09 03:14:03 +00:00
dp%netscape.com
3c5ef57426 Fixing build bustage. 2000-02-09 02:43:48 +00:00
hyatt%netscape.com
6dd01225a8 Command dispatcher fix for PDT+ focus issues on Linux. r=saari 2000-02-09 01:32:42 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
joki%netscape.com
3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
waterson%netscape.com
d4305ba238 Tweak MOZ_COUNT_[CTOR|DTOR] macros. 2000-02-06 02:56:06 +00:00
waterson%netscape.com
617c766449 Bug 26129. Replace timer with a PLEvent. GTK timers (in this specific case) seem to be confused when a modal event queue has been pushed. By using a PLEvent, we get the same effect, but are able to grab the outermost queue to ensure that our callback to fire OnEndDocumentLoad gets kicked. r=mscott 2000-02-06 01:30:16 +00:00
alecf%netscape.com
1cb5e2dedd when form elements are generated via a template, set the form to the XUL Doc's hidden form so that the element behaves correctly.
r=waterson
2000-02-05 01:03:39 +00:00
warren%netscape.com
dcfe43430c Fixed indentation. 2000-02-04 12:18:27 +00:00
warren%netscape.com
7879538143 fixed typo 2000-02-04 12:17:39 +00:00
warren%netscape.com
591856a337 Implemented GetOwner/SetOwner. r=mscott 2000-02-04 08:55:05 +00:00
alecf%netscape.com
a59485a7ad hook up this object to the globalobjectowner so that we can report errors
r=waterson
2000-02-04 01:42:05 +00:00
waterson%netscape.com
65ae380cbe Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc 2000-02-03 08:51:49 +00:00
waterson%netscape.com
3ecb7666ea Bug 26304. Make sure the nsXULSortService updates does 'deep' SetDocument() calls when twiddling content nodes: regressed with fixes for 20677 and 23905. r=scc,rjc. 2000-02-03 07:57:51 +00:00
waterson%netscape.com
b0ab68c1e3 Bug 20677, 23905, attempt number 2. This time, in the DOM methods, we make sure to do a 'deep' set on mDocument *before* calling to their nsIContent brethren. This ensures that any code in layout that wants to access the document gets the right value. r=scc 2000-02-03 07:55:34 +00:00
pp%ludusdesign.com
63dc886c6b Removed hand-made QueryInterface that wasn't used for a long time.
r=pinkerton@netscape.com
2000-02-03 01:25:38 +00:00
brade%netscape.com
67968bcb5e fix access paths for move to CW5 (bug #25949) 2000-02-02 23:21:51 +00:00
valeski%netscape.com
a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
brade%netscape.com
27ca515c4c fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
waterson%netscape.com
8dd7b2ed23 Revert changes that cause mail sort to crash. 2000-02-02 19:46:03 +00:00
norris%netscape.com
c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
waterson%netscape.com
a26daa2f0d Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt 2000-02-01 22:57:36 +00:00
pp%ludusdesign.com
48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
akkana%netscape.com
65781a368d 18033: Emacs XBL key bindings for unix. r=hyatt 2000-01-31 23:47:40 +00:00
beard%netscape.com
64f273abee fix nsIAtom leak. bug=25778, r=waterson 2000-01-31 23:29:08 +00:00
putterman%netscape.com
8b85fc4a60 Fix for bug 25833 for mscott. r=scottip. Can now bring up more than one dialog and more than
one instance of an app.
2000-01-31 18:55:27 +00:00
vidur%netscape.com
e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
hyatt%netscape.com
6face65492 Fix for bug#15946 2000-01-28 03:41:24 +00:00
hyatt%netscape.com
98a3a526b1 Getting rid of createPopup 2000-01-28 03:04:40 +00:00
sspitzer%netscape.com
5f82aeba31 fix for crash in bug #25339, r=hyatt. the problem is someone is trying to select a null
element in the tree (from js).  now, on to fix that problem.
2000-01-28 01:30:29 +00:00
waterson%netscape.com
08bc91f490 Bug 25292, 25166. Get rid of extra calls to [Begin|End]Load() in synchronous load case (these are called normally from the ProxyStream hack). 2000-01-28 00:29:42 +00:00
hyatt%netscape.com
1b09ed7f43 Making the XUL key listener a bubbler. Removing its capability to handle
textareas and inputs.
2000-01-27 09:43:19 +00:00
waterson%netscape.com
ef7cd32608 Doh! Be sure to release the parser when the load completes. 2000-01-27 06:17:13 +00:00
waterson%netscape.com
767cad41f2 Bug 24499, 15586. Hold strong ref to nsIRDFXMLSinkObservers; add onError() method to nsIRDFXMLSinkObserver API; be sure to notify observers in synchronous load case. r=shaver 2000-01-27 02:24:20 +00:00
bryner%uiuc.edu
3d0ba93428 Fix build bustage (typo in Makefile.in). a=mcafee. 2000-01-27 01:15:38 +00:00
hyatt%netscape.com
e1a2c1dbd1 Did I bone this checkin or what. 2000-01-27 00:43:29 +00:00
hyatt%netscape.com
e815d2acc0 added files: mozilla/rdf/content/src/nsXULPopupElement.cpp 2000-01-27 00:13:41 +00:00
hyatt%netscape.com
2e9246da80 Left out some files. 2000-01-27 00:13:26 +00:00
hyatt%netscape.com
3f3077a871 left out a couple of files. 2000-01-27 00:12:37 +00:00
hyatt%netscape.com
757fc8d376 More popup work. 2000-01-26 23:30:10 +00:00
hyatt%netscape.com
a2d76d1666 added files: mozilla/rdf/content/src/nsJSXULPopupElement.cpp 2000-01-26 22:46:31 +00:00
hyatt%netscape.com
0162350f8c Adding a new popup element. 2000-01-26 22:45:34 +00:00
sspitzer%netscape.com
1a7841574a change PR_ASSERT to NS_ASSERTION. on linux, PR_ASSERT calls abort, and
I was getting getting to the PR_ASSERT when copying text in a quoted mail message.  r=akkana, a=leaf
2000-01-26 20:39:28 +00:00
norris%netscape.com
7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
jband%netscape.com
eef6de8432 Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe
2000-01-26 08:38:10 +00:00
waterson%netscape.com
07c10d9502 Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils. 2000-01-26 01:56:56 +00:00
waterson%netscape.com
a566daa16c Use NS_REINTERPRET_CAST instead of including private header files. 2000-01-26 01:55:59 +00:00
hyatt%netscape.com
ed3ccb2fbf Multiple selection capability configurable in trees now. 2000-01-25 10:30:51 +00:00
hyatt%netscape.com
e73642a84e Making key bindings faster. 2000-01-25 09:31:42 +00:00
hyatt%netscape.com
ec1342578e Fixing Linux bustage. 2000-01-25 08:39:53 +00:00
hyatt%netscape.com
0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
putterman%netscape.com
3ca3cf5499 r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this. 2000-01-25 05:09:23 +00:00
waterson%netscape.com
776ac8a3e9 Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc 2000-01-25 04:07:41 +00:00
nisheeth%netscape.com
22a5959edb Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
jfrancis%netscape.com
75b2d70c6e fixing rdf build bustage 2000-01-23 00:25:21 +00:00
waterson%netscape.com
d100985675 Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan 2000-01-22 22:00:35 +00:00
waterson%netscape.com
4ecd5496e9 Make comments javadoc-style. 2000-01-22 20:55:26 +00:00
troy%netscape.com
8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
waterson%netscape.com
d009ef8c34 Gak. Forgot to comment the oddity that may occur... 2000-01-19 06:00:25 +00:00
waterson%netscape.com
fef380fbe7 Remove bogobotch that is breaking cloneNode(). r=brendan 2000-01-19 05:51:30 +00:00
hyatt%netscape.com
ce38b38ecb Got the progid of the XUL element factory wrong. r=waterson 2000-01-19 04:31:39 +00:00
hyatt%netscape.com
b8c4dff420 Adding a XUL element factory so that the XML content sink over in layout will
be able to make XUL elements. r=waterson
2000-01-19 03:28:06 +00:00
hyatt%netscape.com
1d0e1d86fd Patching XUL documents so that they support extensibility of content creation.
Patching the RDF generic builder so that it can build any type of content
element (using the generic factory building interface). r=waterson
2000-01-19 03:11:39 +00:00
rjc%netscape.com
edaebbff0b A few small sorting tweaks. 2000-01-19 02:39:40 +00:00
rjc%netscape.com
7ac034530e Enable the optimized binary insertion node with end-point interpolation. (Sort-of) review: putterman@netscape.com 2000-01-19 01:44:29 +00:00
waterson%netscape.com
ae980a54a6 Bug 24144. [Add|Remove]Channel() are now performed by the protocols, so don't try to do it in SetLoadGroup(). r=warren 2000-01-17 19:37:41 +00:00
waterson%netscape.com
d5fbf22774 Bug 24134. Re-apply r1.233, which was steamrollered by tao's recent checkin. Re-using the r=valeski here. 2000-01-17 19:34:23 +00:00
rjc%netscape.com
822b28d53c More preparations to land an optimized binary insertion node. (Going to test more later. Currently #ifdef'ed out.) 2000-01-17 13:15:44 +00:00
rjc%netscape.com
c478f38a12 Prepare to land an optimized binary insertion sort. (Going to test more later. Currently #ifdef'ed out.) 2000-01-17 11:00:13 +00:00
rjc%netscape.com
8f14d36af0 Small optimizations. 2000-01-17 07:02:17 +00:00
rpotts%netscape.com
be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
danm%netscape.com
5a261c8ad9 reapplying changes from rev 1.234, which was lost as part of 1.235 2000-01-15 05:53:41 +00:00
alecf%netscape.com
94b65d019c attempted fix at build bustage. I have no idea if this is the "right" thing or not but it gets the build green 2000-01-15 03:51:31 +00:00
tao%netscape.com
da49ef2262 bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00
mscott%netscape.com
d5354ef4c7 Bug #24007 --> you can't remove xul elements from html elements in JS
this was because of an unitialized variable in layout because xul elements
don't support the notion of ranges.
r=waterson
2000-01-15 01:37:16 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rjc%netscape.com
b2951b5f50 Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-14 01:21:55 +00:00
brendan%mozilla.org
dfaa05987e InitStandardClasses so JS compiler makes well-prototyped objects (22048,22098 r=shaver). 2000-01-14 00:49:30 +00:00
danm%netscape.com
05825e9716 removing initial window sizing from StartLayout (now done in nsWebShellWindow). Long overdue change; also necessary as part of bug 15775. r:hyatt@netscape.com 2000-01-13 23:49:25 +00:00
waterson%netscape.com
a8efb387b8 Bug 23799. Ignore failure from GetContentType() in StartDocumentLoad(), because some channels may not have yet resolved the content type. In this case, cross our fingers and pray that it's text/xul. r=valeski 2000-01-13 23:23:51 +00:00
waterson%netscape.com
ce2f72d531 Remove some additional bogoasserts. 2000-01-13 23:18:05 +00:00
rjc%netscape.com
f84f23778b Attempt to fix wensleydale (SunOS 5.6) bustage. 2000-01-13 11:03:56 +00:00
rjc%netscape.com
6222e5412c Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-13 10:16:32 +00:00
hyatt%netscape.com
25002cc5a7 Fix Linux bustage. 2000-01-13 09:20:58 +00:00
hyatt%netscape.com
7868624ce2 Giving XUL elements the capability to own bindings. 2000-01-13 08:48:33 +00:00
alecf%netscape.com
714e7a48a9 expose the form controls in a XUL document in the "controls" DOM attribute
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
waterson%netscape.com
e3393dd236 Remove assertion from nsRDFDOMNodeList::Item(); it was being triggered from JS, and it really isn't a "fatal" program condition. 2000-01-13 02:49:10 +00:00
waterson%netscape.com
c098826ddd Bugs 20724, 23715. Add a fixed-size allocator for nsXULAttribute objects. Always atomize 'id' attributes so nsXULElement::GetID() can be fast. r=hyatt 2000-01-13 02:22:16 +00:00
sspitzer%netscape.com
1c84b93a3a fix warning. 2000-01-12 08:57:41 +00:00
waterson%netscape.com
468ebfdd06 Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt 2000-01-12 03:23:48 +00:00
rjc%netscape.com
b945bae5b3 Somehow, we lost some of the magical attributes we need to check for. (coalescing dup arcs, and allowing negative arcs) 2000-01-12 01:47:23 +00:00
rjc%netscape.com
02fab863f0 Tweak resource cache usage. Change from putterman, Review from me 2000-01-11 22:03:53 +00:00
waterson%netscape.com
c0a53ad72f Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott 2000-01-11 21:18:19 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rjc%netscape.com
898f051fc7 Use native ptr [via .get()] 2000-01-11 08:41:15 +00:00
rjc%netscape.com
86f0302402 Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget. 2000-01-11 08:38:47 +00:00
rjc%netscape.com
423ba787b8 Move resource cache up from the XUL sort service into the generic builder. Review: me 2000-01-11 06:28:28 +00:00
waterson%netscape.com
971c4ab2ab Take out crufty debug printfs. 2000-01-11 02:49:18 +00:00
waterson%netscape.com
46e921da0f Bug 18631. Add GetDataSources() method to nsIRDFCompositeDataSource. r=scottip,rjc 2000-01-11 01:59:12 +00:00
jdunn%netscape.com
cb0c532e85 Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
2000-01-11 01:45:34 +00:00
waterson%netscape.com
7c4e7b7f4b Remove unused files. 2000-01-10 23:21:24 +00:00
hyatt%netscape.com
fa8f3d858e Making nsIXULContent visible. 2000-01-10 04:03:12 +00:00
hyatt%netscape.com
1152f9e9ba Teaching the XUL DOM how to keep anonymous content events from being seen
by enclosing explicit content.
2000-01-10 03:57:49 +00:00
rpotts%netscape.com
023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
hyatt%netscape.com
f8c91fadf4 Making tree scrolling faster. 2000-01-08 02:18:14 +00:00
waterson%netscape.com
0a61fb89c2 Bug 21477. Add |nsIContent** aFirstGeneratedChild| parameter to several methods that is used as an 'out' parameter to determine the first generated child in a subtree. This allows us to send the correct |ContentAppended()| notification to layout. Fixes the 'unfurling menu' problem. r=rjc 2000-01-08 00:27:04 +00:00
brendan%mozilla.org
cfe8cb3e89 (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
waterson%netscape.com
64b35bf780 Bug 23352. Add sanity checks to catch bogus params n' stuff earlier. r=rjc 2000-01-08 00:23:27 +00:00
alecf%netscape.com
e533d87b8a one more time! this time don't look inside templates, instead look inside <treechildren> of trees
r=scottip
2000-01-07 00:38:24 +00:00
alecf%netscape.com
cf3ead0374 followup fix for #12895 - actually find the content correctly
r=scottip
2000-01-07 00:00:27 +00:00
norris%netscape.com
bc5eba8a49 Fix 10194 and 14979.
r=mstoltz@netscape.com
2000-01-06 22:03:30 +00:00
waterson%netscape.com
73e507347d Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard 2000-01-06 20:01:56 +00:00
nhotta%netscape.com
1cb7735520 Fixed memory leak, bug 22281, r=waterson. 2000-01-06 19:47:20 +00:00
colin%theblakes.com
cd12022687 Add MOZ_TIMER_LIBS. r=jdunn 2000-01-06 11:11:38 +00:00
alecf%netscape.com
c78c629151 fix my previous checkin after talking to hyatt - we'll be getting the outer frame, so iterate through the children and QI on each one, sending EnsureRowIsVisible to each when it succeeds
r=hyatt
2000-01-06 09:19:31 +00:00
alecf%netscape.com
cb1027f2f0 add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner
2000-01-06 07:54:43 +00:00
rjc%netscape.com
62f4513c6e Fix a small bug with determining when an item is truly an IE Favorite as opposed to a IE Favorite folder. Review: waterson@netscape.com 2000-01-06 00:51:35 +00:00
waterson%netscape.com
6a57be329f Bug 16516. Canonify all 'chrome:' URLs before loading XUL documents. Ensures that persistence and XUL cache keys work properly. Obsolete the 'main' property in the chrome registry. Expose a 'canonify' method on the chrome registry. r=hyatt 2000-01-06 00:31:06 +00:00
waterson%netscape.com
4c6aed1d16 Bug 19033. Wait until the parse is complete to set the 'root' element in the prototype document. This ensures that malformed XUL with too few close-tags won't leave the prototype document with a dangling pointer to a destroyed element. r=hyatt 2000-01-06 00:29:30 +00:00
rjc%netscape.com
dede3f136b Comment out. 2000-01-05 06:05:27 +00:00
rjc%netscape.com
df78798a1d Windows only. 2000-01-05 05:10:07 +00:00
rjc%netscape.com
9af18a56a6 First part of fix for bug # 6770: use nsIPlatformCharset for IE Favorites (Windows). 2000-01-05 05:08:32 +00:00
dougt%netscape.com
28b40a90dd Including nsString.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:40:10 +00:00
dougt%netscape.com
cb77941934 Including nsIFileSpec instead of nsFileSpec. Part of the prep work for landing
nsIFile
2000-01-03 23:39:40 +00:00
dougt%netscape.com
2828862aaa Including nsIFileSpec instead of nsFileSpec. Part of the prep work for landing
nsIFile
2000-01-03 23:38:57 +00:00
dougt%netscape.com
4d1a1b38ed Converting to use nsIModule macro. r=dp. 2000-01-03 23:37:30 +00:00