nisheeth%netscape.com
7e37fb4356
1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
...
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
sfraser%netscape.com
18e706dc0d
Add an UpdateCommandState method to the command maanger.
2000-05-01 01:33:22 +00:00
danm%netscape.com
2ede8155e7
add popup and popupset atoms. bug 33675
2000-04-28 20:33:52 +00:00
danm%netscape.com
399e50832e
implement _child popup content. bug 33675. code=hyatt
2000-04-28 20:31:26 +00:00
mjudge%netscape.com
ab335c2318
fixed str bustage.
2000-04-28 07:51:09 +00:00
hyatt%netscape.com
140f02ceaf
Tweak.
2000-04-28 06:35:49 +00:00
mjudge%netscape.com
64d7efcbdb
small change to the way you get selection
2000-04-28 06:22:07 +00:00
waterson%netscape.com
53247daf40
Fix memory churn caused by implicit nsString ctor.
2000-04-27 06:44:13 +00:00
waterson%netscape.com
d6cae7298a
Fix memory churn caused by implicit nsString ctor.
2000-04-27 05:53:36 +00:00
waterson%netscape.com
8f606badd7
Move template builder 'release' to SetScriptGlobalObject() so that we'll always release the template builders regardless of whether someone else leaks the nsXULDocument object.
2000-04-27 00:32:02 +00:00
jst%netscape.com
af8646bbb5
Landing DOM Level 2 CSS and Views interfaces and implementation.
2000-04-26 13:58:56 +00:00
sfraser%netscape.com
6c4ec7544f
Implemented new calls on the command manager which are callthroughs from the controller, with a context parameter.
2000-04-26 06:15:40 +00:00
waterson%netscape.com
100ae07bb5
Remove assertions so that you can set properties on XUL elements.
2000-04-26 03:49:39 +00:00
waterson%netscape.com
b7a3e69134
Remove XIF assertions. akk and mjudge say this is ok.
2000-04-26 03:47:15 +00:00
mjudge%netscape.com
2cfb602409
making string conversions explicit. scc
2000-04-26 01:13:55 +00:00
sfraser%netscape.com
a171ece905
Add some null checks to prevent crashes if calling GetControllerAt with an index that is too large.
2000-04-26 00:58:14 +00:00
waterson%netscape.com
079ecb2f99
Bug 34619. Fixed-size allocators for nsXULTemplateBuilder, try numero dos, with egcs fixed.
2000-04-25 04:11:53 +00:00
waterson%netscape.com
5051f62fad
Back out changes: they broke egcs.
2000-04-25 01:28:09 +00:00
waterson%netscape.com
ae8d8c7160
Bug 34619. Judicious use of fixed size allocators to reduce overhead.
2000-04-25 01:24:24 +00:00
waterson%netscape.com
6ed7f258ec
Use fixed size arena allocator for element map.
2000-04-25 01:21:57 +00:00
waterson%netscape.com
05bfe47153
Bug 35815. Implement <bindings> for XUL templates.
2000-04-24 04:22:26 +00:00
joki%netscape.com
c534678c60
Fix for bug 23373, allow prevention of context menu via mousedown handler
2000-04-24 02:07:06 +00:00
anthonyd%netscape.com
815b66f915
drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
2000-04-20 23:11:41 +00:00
waterson%netscape.com
bdcb7aec30
Bug 10208. Correctly update 'empty' attribute when a container's contents are changed.
2000-04-19 05:39:26 +00:00
pinkerton%netscape.com
f8160f1400
set the popup node on tooltips.
2000-04-18 02:34:32 +00:00
waterson%netscape.com
323fb9085e
Fix build bustage.
2000-04-17 17:51:01 +00:00
scc%netscape.com
c709f689ab
making string conversions explicit
2000-04-17 14:47:33 +00:00
scc%netscape.com
ee58499ab3
making string conversions explicit
2000-04-17 14:40:25 +00:00
scc%netscape.com
8495fc494c
making string conversions explicit
2000-04-17 14:30:23 +00:00
waterson%netscape.com
6170746169
Fix uninitialized variable, caught by shalabh@pspl.co.in
2000-04-17 02:07:00 +00:00
mccabe%netscape.com
71eac1e422
Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
...
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.
2000-04-15 01:56:47 +00:00
jst%netscape.com
5cd69c3154
Update the DOM interface to DOM Level 2, only stubs so far.
2000-04-13 21:21:02 +00:00
waterson%netscape.com
7fc48dcee5
Bug 34565. Initial support for extended <template> syntax.
2000-04-13 21:13:00 +00:00
waterson%netscape.com
25a338cc46
Fix compiler warning; use of uninitialized variable.
2000-04-13 20:04:13 +00:00
waterson%netscape.com
8c1fa57510
Add commentary, Value::GetType() method.
2000-04-13 20:03:39 +00:00
waterson%netscape.com
2464cb88da
Be sure to initialize out parameter when FindChildByTag() doesn't find anything.
2000-04-13 20:02:38 +00:00
sspitzer%netscape.com
9d87bda031
bulletproofing fix for bug #35568 . r=waterson.
2000-04-12 07:38:17 +00:00
waterson%netscape.com
aa23398ba7
Add nsXULAtoms.cpp to the build.
2000-04-12 05:00:32 +00:00
waterson%netscape.com
0cd1973ec7
Initial revision.
2000-04-12 04:49:28 +00:00
tbogard%aol.net
1fbf6ea566
Changed to use the enumeration rather than the string based parameter to the parser loading mode.
2000-04-11 23:48:37 +00:00
waterson%netscape.com
71dff3183c
Bug 35360. Fix UMRs in MatchList discovered by bruce@cybersight.com.
2000-04-11 22:36:53 +00:00
waterson%netscape.com
0b9683de47
Bug 35392. Fix leaking MemoryElement when already in set. r=beard -- thanks for wiping my chin.
2000-04-11 22:35:43 +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
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
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
waterson%netscape.com
03acc506a2
Add new XUL template builder to the build.
2000-04-04 00:47:20 +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
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
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
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
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
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
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
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
48c294c136
Marking my territory. ;)
2000-03-21 13:15:24 +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
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
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
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