nisheeth%netscape.com
db554bcdd5
Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
2000-04-01 00:39:15 +00:00
nisheeth%netscape.com
8c9cf79c1b
r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
...
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.
2000-03-30 01:41:48 +00:00
norris%netscape.com
b1bac05243
Fix bug 7264 All JavaScript running with correct principals
...
r=mstoltz
2000-03-28 03:59:46 +00:00
nisheeth%netscape.com
ff93a050e1
r=pollmann. Fix for bug 17643.
...
- Rewrote GetQuotedAttributeValue() so that it handles whitespace and attribute names inside attribute values.
- The xml stylesheet PI now only needs a href attribute to work right. Other attributes like title, media, alternate, default to null. The type attribute defaults to "text/css".
2000-03-28 00:18:13 +00:00
scc%netscape.com
9c2f6dad62
small changes to clients of string converting APIs
2000-03-26 10:06:21 +00:00
norris%netscape.com
c7afcfb732
Fix
...
32088 Circumventing Same Origin security policy using javascript: URLs
32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
jst%netscape.com
fb0a85bfac
Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com
2000-03-22 22:16:14 +00:00
jst%netscape.com
053a38dec3
Reducing the size of text nodes by 4 bytes per node. r=troy
2000-03-22 01:23:42 +00:00
nisheeth%netscape.com
e90cbb686f
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
jst%netscape.com
b768001187
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
jdunn%netscape.com
119f5cc180
just adding 'newlines' UGH!
2000-03-14 03:01:38 +00:00
rickg%netscape.com
e750a8bcc4
remove calls to deprecated string methods
2000-03-12 10:02:40 +00:00
rickg%netscape.com
4791ab3e8f
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
hyatt%netscape.com
c30fb1bab0
Improving XBL support.
2000-03-11 10:38:36 +00:00
tbogard%aol.net
8fa1a60914
Get the contentViewer from the docShell APIs rather than the webShell ones.
2000-03-11 00:29:47 +00:00
tbogard%aol.net
5ba6095a17
Converted a number of places to use the docShell APIs instead of the webShell ones.
2000-03-11 00:28:44 +00:00
cata%netscape.com
16558c54a6
Backing out fix for #7886 to fix regression #30299
2000-03-04 21:44:58 +00:00
cata%netscape.com
736559f0ba
last bit in activating charset override
2000-03-03 02:21:24 +00:00
tbogard%aol.net
5c166f4fd5
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
2000-03-02 07:13:02 +00:00
norris%netscape.com
3d5f67908e
Fix 28612 META Refresh allowed in Mail/News
...
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
nisheeth%netscape.com
0c00358163
r=pollmann. Fix for PDT+ bug 28556. We were leaking nsIAtom's in the XML content sink. Thanks to Patrick Beard for providing the fix.
2000-02-23 22:16:03 +00:00
jbetak%netscape.com
83eb9d74d1
bug 12502, View Source doesn't display non UTF-8 charsets on doc's w/o HTTP or Meta
...
r=ftang
a=bobj
2000-02-23 01:48:22 +00:00
kmcclusk%netscape.com
4d12d19a42
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
valeski%netscape.com
ba35ff22b6
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
pp%ludusdesign.com
43d7ba4273
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
warren%netscape.com
f8b1c9d37f
Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
2000-01-28 06:55:27 +00:00
nisheeth%netscape.com
71218baaf6
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
jst%citec.fi
f1efdfa159
Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org
2000-01-21 02:30:02 +00:00
vidur%netscape.com
7be4e353c8
a=chofmann. r=nisheeth, hyatt. Revised fix for bug 24442 and 24524. Switched
...
reference count handling for the content stack to use nsISupports. The previous
check introduced a leak.
2000-01-21 01:32:32 +00:00
vidur%netscape.com
2a5fbbf7a1
a=chofmann. r=vidur, troy. This is Nisheeth checking in on Vidur's machine. This fixes
...
bug 24442 and bug 24524. The content stack wasn't addref'ing the content objects pushed
onto it while the content sink destructor was releasing the content objects. This caused
a crash because the root content object would get freed one too many times. Now,
PushContent() addrefs the content object before inserting it into the content stack.
2000-01-21 00:05:36 +00:00
mcafee%netscape.com
557ce25261
Need newline at end of file for some unixes. a=leaf
2000-01-19 19:17:22 +00:00
hyatt%netscape.com
6878379a25
Fixing refcounting bugs in the XML content sink, and adding support for
...
content extensibility. Scrollbars now really use XUL elements. r=waterson
2000-01-19 04:44:10 +00:00
hyatt%netscape.com
c668589354
Adding a generic element creation interface. Converting the XML factory over
...
to using this interface. r=waterson
2000-01-19 03:10:45 +00:00
bruce%cybersight.com
604b295419
End of lines are good. Fixing ports bustage.
2000-01-16 04:56:08 +00:00
hyatt%netscape.com
08696dbb4f
Still trying to fix Wensleydale. Stupid crack baby compiler.
2000-01-15 07:18:01 +00:00
hyatt%netscape.com
e8cca37c4e
Fix wensleydale bustage.
2000-01-15 06:41:04 +00:00
hyatt%netscape.com
2692a46faf
Landing XBL scrollbars.
2000-01-15 05:31:45 +00:00
hyatt%netscape.com
6235f8d962
More tweaks.
2000-01-12 10:55:37 +00:00
hyatt%netscape.com
fb4b11f8c8
More massaging to allow for XML docs with no webshells.
2000-01-12 10:50:02 +00:00
hyatt%netscape.com
854eb17304
XML content sink should not require a non-null webshell. XBL doesn't use
...
webshells. r=me
2000-01-12 10:33:00 +00:00
vidur%netscape.com
1c0c61c381
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
1999-12-22 01:51:58 +00:00
jband%netscape.com
7d0cb0f4bb
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
tbogard%aol.net
780e191953
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
1999-12-18 02:09:29 +00:00
ftang%netscape.com
82c8e97721
fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
1999-12-13 21:00:47 +00:00
scc%netscape.com
f4ad22b9d9
Make observers support weak references. Bug #18682 ; r=dp.
1999-12-07 14:06:36 +00:00
vidur%netscape.com
a90864f224
For bug 17325. Changed signature of css loader methods. R=nisheeth.
1999-12-04 01:29:18 +00:00
tbogard%aol.net
648ace3e23
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
warren%netscape.com
a265a32348
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
buster%netscape.com
5e269fcf05
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
warren%netscape.com
aaf83521f5
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
vidur%netscape.com
e729e21e96
fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki.
1999-11-17 01:01:12 +00:00
norris%netscape.com
411aade911
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net
50379d48b1
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
ftang%netscape.com
b0b627423b
fix 16808. change hard coded utf-8'to UTF-8', get charset hint from webshell. r=nhotta
1999-11-10 05:50:10 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
nisheeth%netscape.com
0db470912b
r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered.
1999-11-03 01:48:54 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com
2a827fc8c2
Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre
1999-11-02 06:49:44 +00:00
nisheeth%netscape.com
9ae0c53b5f
r=nisheeth. Fix for bug 12323. Thanks to Ian Hickson (py8ieh=bugzilla@bath.ac.uk) for the patch. Only lowercase chars are accepted in the stylesheet PI.
1999-11-02 05:49:57 +00:00
brendan%mozilla.org
fe51b61664
(13163, r=alecf, scc, waterson, others; names available on request)
...
- Fix most of bug 13163 (see TODO for rest). This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks.
- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp. These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that.
- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString. Also changed various nsresult vars to be named rv. Also restored brace/style conformity to nsJSProtocolHandler.cpp.
- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject.
- Lots of nsCOMPtr uses added. I'm using one for mNameSpaceManager. Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak). These two managers should be moved to the window object -- TODO item below.
- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver.
- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated. This meant factoring nsJSUtils.cpp code.
- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace.
- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
nisheeth%netscape.com
9a3cd99292
r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny.
1999-10-28 01:50:37 +00:00
rbs%maths.uq.edu.au
55214258fb
[MathML] removing registration hooks. They are now handled by nsLayoutModule.
1999-10-12 01:48:05 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
kipp%netscape.com
969a1ccfe3
Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
1999-10-07 00:35:04 +00:00
kipp%netscape.com
2738c38f7f
Support SizeOf methods
1999-10-05 23:47:46 +00:00
waterson%netscape.com
24e09d82e2
Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp.
1999-10-05 00:12:21 +00:00
rbs%maths.uq.edu.au
cb8c74aba9
Adding remaining MathML hooks. r:peterl.
1999-10-02 11:05:49 +00:00
vidur%netscape.com
abef968cec
Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
1999-09-30 22:07:04 +00:00
kipp%netscape.com
90b60c0e80
Removed atom table hacks
1999-09-30 21:17:28 +00:00
rpotts%netscape.com
dd7e4f99f6
Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:34:24 +00:00
kipp%netscape.com
ef095efd3a
Squish a warning or two
1999-09-17 20:16:37 +00:00
briano%netscape.com
cfc3c850ed
General cleanup.
1999-09-14 01:02:20 +00:00
ftang%netscape.com
3d9bfed62b
fix bug 12500
1999-09-03 22:48:20 +00:00
sspitzer%netscape.com
189dd57d74
add newline to end of file to please certain UNIX compilers.
1999-09-03 10:43:00 +00:00
nisheeth%netscape.com
5c883a4105
Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state.
1999-08-31 10:06:17 +00:00
nisheeth%netscape.com
e1e0ac9466
Work in progress to integrate Keith Visco's XSL processor, Transformiix, into Gecko. All code is protected by #ifdef XSL and will not affect the build.
1999-08-28 07:31:08 +00:00
vidur%netscape.com
716f931345
Parse delimiters out of Comment nodes. CharacterData Nodes now return an empty childNodes list instead of null.
1999-08-25 07:35:45 +00:00
nisheeth%netscape.com
962fa99dbc
Fix build bustage.
1999-08-24 23:09:52 +00:00
nisheeth%netscape.com
320980e0cd
Adding the methods for creating entity, documenttype, named node maps, notations. Contributed by Johnny Stenback (jst@citec.fi).
1999-08-24 22:26:57 +00:00
nisheeth%netscape.com
a08bcbde60
Adding files that implement the entity, notation, documenttype and namednodemap interfaces. Contributed by Johnny Stenback (jst@citec.fi).
1999-08-24 22:22:36 +00:00
vidur%netscape.com
5daa6435c2
Changed method signature of EvaluateScript to return nsresult. Added nsJSThreadContextStack pushing and popping around script evaluation.
1999-08-19 20:36:31 +00:00
nisheeth%netscape.com
3e3e15a91c
Fix for bug 11483. Scripts were not getting loaded on XML pages.
1999-08-11 23:24:59 +00:00
nisheeth%netscape.com
1458ecf3e7
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
nisheeth%netscape.com
0c457a16d0
Add static GetIID() method for creating smart pointers to nsIXMLContentSink.
1999-07-28 01:17:09 +00:00
rickg%netscape.com
d9a2f8c4dd
replaced calls to deprecated nsString API
1999-07-26 00:37:24 +00:00
vidur%netscape.com
24261b3c9f
Forms can now be container content.
1999-07-22 23:28:16 +00:00
warren%netscape.com
7bcb94a320
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
peterl%netscape.com
1761d16c2a
string usage cleanup
1999-07-18 00:34:53 +00:00
peterl%netscape.com
1fc034c572
string usage cleanup
...
sync to new entity api
1999-07-18 00:34:41 +00:00
warren%netscape.com
c5684bf4d7
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
nisheeth%netscape.com
ea2bbccb91
Removing ifdef XML_PSEUDO_ELEMENT which is never defined.
1999-07-14 17:59:19 +00:00
warren%netscape.com
0cd57746e8
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
peterl%netscape.com
c5e28df980
force quirks off for XML
1999-07-07 01:33:27 +00:00
andreas.otte%primus-online.de
d968fa955b
NECKO only: replacing GetBuffer with ToNewCString and some error checking
1999-07-06 23:08:16 +00:00
warren%netscape.com
8462929dda
Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
1999-07-01 19:30:20 +00:00
waterson%netscape.com
602b1c37bf
Add GetIID().
1999-06-30 19:28:16 +00:00
nisheeth%netscape.com
c04d0276a5
Replacing nsIURI.h with nsIURL.h in the include list.
1999-06-28 15:06:33 +00:00
nisheeth%netscape.com
949a2374ff
Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
...
Currently enabled on windows only. Set MOZ_XSL to 1 in your environment and build mozilla/layout.
1999-06-28 14:49:29 +00:00
nisheeth%netscape.com
5ecb0803d5
Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
...
Currently enabled on windows only. Set MOZ_XSL to 1 in your environment and build mozilla/layout.
1999-06-28 14:17:30 +00:00
nisheeth%netscape.com
863dcf6860
Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
...
Currently enabled on windows only. Set MOZ_XSL to 1 in your environment and build mozilla/layout.
1999-06-28 14:12:07 +00:00
valeski%netscape.com
ff18ce7d6d
various #ifdef NECKO fixes.
1999-06-27 16:12:20 +00:00
warren%netscape.com
f6b9d3a028
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
warren%netscape.com
2f5289766d
Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
1999-06-25 02:17:37 +00:00
warren%netscape.com
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
valeski%netscape.com
487d9ea921
NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
1999-06-18 17:34:08 +00:00
peterl%netscape.com
f582acdf29
sync to css loader api change (default namespace)
1999-06-15 06:22:46 +00:00
nisheeth%netscape.com
2c1feab00b
Patch from Johny Stenback (jst@citec.fi). Thanks a lot.
1999-06-11 19:08:39 +00:00
peterl%netscape.com
903764ae77
added code to ignore unknown namespace prefix for attributes
...
(actually the parser should've rejected it before here)
1999-06-10 05:33:47 +00:00
nisheeth%netscape.com
af5727b090
Fix for bug 4924. Attributes created with no namespace prefix are now assigned no namespace. They were erroneously being assigned the default namespace earlier.
1999-06-04 01:16:18 +00:00
peterl%netscape.com
9142b76d62
tweaks to css loader handling
1999-05-26 23:59:00 +00:00
peterl%netscape.com
49aae09b5a
use css loader to load css sheets
...
better css handling
1999-05-26 23:58:06 +00:00
peterl%netscape.com
5846e500d5
fixed ref counting of global atoms
1999-05-26 23:56:57 +00:00
peterl%netscape.com
6041f44153
added css loader support
1999-05-18 23:16:26 +00:00
neeti%netscape.com
ab090b8c08
Fixed SetEnableRendering() in nsDocumentViewer.cpp
...
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h
1999-05-13 20:27:47 +00:00
vidur%netscape.com
b4df3c05f2
Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
1999-05-11 20:22:35 +00:00
nisheeth%netscape.com
5e6a0cda69
Pass a pointer to the document object when you call the Parse method on the parser object.f
1999-05-06 01:51:31 +00:00
ftang%netscape.com
eca6a248aa
set the document character set to UTF-8 for XSL document
1999-04-27 23:42:22 +00:00
ftang%netscape.com
c9b102c213
call SetDocumentCharset method to pass default charset to the parser
1999-04-26 17:58:50 +00:00
nisheeth%netscape.com
9b5bf70dcc
Fix off by one error for arrow that points out XML error locations.
1999-04-24 10:23:39 +00:00
rickg%netscape.com
052c8d5603
update to sync with nsString2
1999-04-22 05:49:39 +00:00
rickg%netscape.com
7718435695
updates to sync with nsString2 api
1999-04-21 23:54:24 +00:00
joki%netscape.com
26b45c4762
New api's into nsEventStateManager for content state change (hover,focus,active)
1999-04-12 21:24:07 +00:00
waterson%netscape.com
902bd20ede
Added GetIID() so that this can be used with nsCOMPtr.
1999-04-12 18:10:08 +00:00
vidur%netscape.com
f6f2f989a9
Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
1999-03-31 20:49:25 +00:00
joki%netscape.com
393a3e937e
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
briano%netscape.com
cebfc14fd8
Handle NO_STATIC_LIB being set, when all this file does is create a static library.
1999-03-25 21:21:47 +00:00
vidur%netscape.com
60c2b1e433
Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash.
1999-03-20 01:51:00 +00:00
nisheeth%netscape.com
595276432b
- Beautified error reporting of expat errors. We now don't just dump the error text out as nodes. We create the parsererror and sourcetext HTML nodes that can be styled via ua.css.
1999-03-11 05:29:36 +00:00
vidur%netscape.com
bb1650ee77
Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem
1999-03-10 01:17:49 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
nisheeth%netscape.com
282f2ef67b
- Quoted all attributes.
...
- Fixed casing on the end BookSet tag. (The expat parser enforces case-sensitivity in XML)
1999-03-09 07:44:47 +00:00
vidur%netscape.com
5b9051fe4d
Table of contents example
1999-03-09 00:36:54 +00:00
nisheeth%netscape.com
61aa27804d
Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
1999-03-06 02:01:11 +00:00
nisheeth%netscape.com
4de7406f15
We've decided to do away with the notion of an nsExpatDTD. The expat tokenizer which encapsulates the expat parser will be driven by nsWellFormedDTD. So, I'm removing the code that constructed an expat DTD for controlling the parsing of an XML document.
1999-03-03 01:57:03 +00:00
vidur%netscape.com
66a4fb1a65
Fixes to get CDATASections working again. Also changes to fix XML links.
1999-03-02 23:22:05 +00:00
nisheeth%netscape.com
6cafe14005
We no longer call RegisterDTD() on nsParser when initiating parsing of XML
...
documents.
1999-03-02 02:58:25 +00:00
nisheeth%netscape.com
aa8fbc879d
- Add expat to the windows build only...
...
- Changed nsXMLDocument such that expat gets used for XML parsing if
EXPAT is #define'd
1999-02-27 08:02:15 +00:00
kipp%netscape.com
b328181417
Support entities (bug #3112 )
1999-02-26 17:13:51 +00:00
vidur%netscape.com
3ea8fe1203
XML books test case (not part of the build so don't shoot me).
1999-02-25 02:26:53 +00:00
vidur%netscape.com
6cf6986695
Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
1999-02-23 19:18:12 +00:00
warren%netscape.com
3642da81a5
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
scc%netscape.com
ab59e4df7a
updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
1999-02-18 23:55:10 +00:00
cyeh%netscape.com
fe763fea21
Remove mozilla/layout/config and use mozilla/config instead.
1999-02-18 18:16:21 +00:00
vidur%netscape.com
10f1c9a944
Backed out bogus update to test
1999-02-18 00:19:12 +00:00
vidur%netscape.com
710c4b9575
Supported XML namespace decls as attributes of HTML content embedded in XML
1999-02-18 00:18:50 +00:00
rickg%netscape.com
bc6cb6fd89
fixed a wad of little bugs and added regression test
1999-02-16 07:38:27 +00:00
troy%netscape.com
7b2012fca2
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
5a554d526e
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
peterl%netscape.com
bbce5acbc7
fixed atom ref counting bug
1999-02-12 08:16:00 +00:00
peterl%netscape.com
8d65d14ec2
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
peterl%netscape.com
9128fe68d0
fixed bug handling multiple namespace declarations in one tag
1999-02-02 03:24:56 +00:00
joki%netscape.com
76111374a3
Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
1999-01-28 23:14:36 +00:00
peterl%netscape.com
07334e4cdb
cleaned up style sheet ordering
1999-01-23 07:09:06 +00:00
vidur%netscape.com
b9e4d31fab
Fix to get default namespaces to work. Cleanup of DOM handling of character data.
1999-01-21 19:33:03 +00:00
danm%netscape.com
a541431aa4
load XUL atoms on XML document creation
1999-01-21 03:35:24 +00:00
vidur%netscape.com
5abde0940e
Fixing build bustage
1999-01-20 00:50:07 +00:00
vidur%netscape.com
7818412fda
Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes.
1999-01-19 23:07:33 +00:00
kipp%netscape.com
06d2d8efb3
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
peterl%netscape.com
cd6525cf03
better base url handling
...
Checkin during red tree approved by sar
1999-01-15 02:09:56 +00:00
vidur%netscape.com
d6d3d60d57
Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
1999-01-14 23:14:02 +00:00
vidur%netscape.com
3348aaedd0
Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent
1999-01-12 16:37:24 +00:00
rickg%netscape.com
342564910d
sync up with mods to the parser
1999-01-09 01:11:37 +00:00
vidur%netscape.com
324cfd0b4f
Work in progres to get out-of-line document.write working. Created Reset() method in nsDocument. Fix for bug 1668.
1999-01-06 00:32:41 +00:00
jfrancis%netscape.com
bad257e0cd
more dom range gravity work
1998-12-30 08:28:16 +00:00
nisheeth%netscape.com
8f2f0826c1
Adding code protected by an ifdef for making the XML content sink initiate
...
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.
1998-12-27 08:24:04 +00:00
peterl%netscape.com
6a65735fa1
fix spelling
...
fix namespace of HTML element's attributes
1998-12-21 05:59:40 +00:00
peterl%netscape.com
e75a76898d
sync to new attribute api
1998-12-20 01:21:23 +00:00
kipp%netscape.com
12fb04dd78
Fixed numerous compiler warnings (hopefully) from the mac build
1998-12-18 17:34:34 +00:00
vidur%netscape.com
a1f3e96bff
Added asynchronous script and style loading to XML. Moved out stream loader to netlib.
1998-12-18 01:36:41 +00:00
jfrancis%netscape.com
3e69dc07c3
Adding support for notifying content that it harbors a DOMRange.
1998-12-17 07:22:28 +00:00
warren%netscape.com
b22a4e72fd
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
shaver%netscape.com
2e1488cb9a
Add --enable-debug=module1,module2 to selective turn on debugging.
...
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful. Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect. We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy. Thanks, Matt!]
1998-12-15 16:32:37 +00:00
vidur%netscape.com
ef3b4047d5
Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript.
1998-12-15 06:10:59 +00:00
vidur%netscape.com
c02f5ba512
Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
1998-12-11 17:02:37 +00:00
peterl%netscape.com
ce2c4770f0
moved name space management to name space manager, tweaked apis
1998-12-11 02:53:49 +00:00
ramiro%netscape.com
2009b728de
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
peterl%netscape.com
6a548ee74f
added inline style sheet support for contained HTML
1998-12-02 00:39:10 +00:00
waterson%netscape.com
fdf819f5ae
First Checked In.
1998-12-02 00:20:07 +00:00
vidur%netscape.com
e191547768
Fixing build bustage
1998-11-30 08:47:27 +00:00
vidur%netscape.com
e2547a120e
Moved nsGenericElement to base directory. Added basic support for document fragments.
1998-11-30 07:59:11 +00:00
rickg%netscape.com
f9d20c19aa
improvements to recursive parser calls
1998-11-26 02:56:40 +00:00
peterl%netscape.com
4222f0257e
style change notification support
1998-11-26 01:34:53 +00:00
joki%netscape.com
09cd62b18e
Add click event support for every element and initial keypress event support
1998-11-24 07:46:58 +00:00
vidur%netscape.com
4f929ce5e4
First pass to allow HTML forms to be embedded inside XML documents.
1998-11-16 06:16:17 +00:00
vidur%netscape.com
733321ca8f
Added Xlink support
1998-11-14 00:22:10 +00:00
vidur%netscape.com
a349a1e4a6
Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
1998-11-14 00:21:19 +00:00
rickg%netscape.com
1a47a78ee2
allow view-source on XML
1998-11-13 04:36:46 +00:00
vidur%netscape.com
30cdfe13ca
XML example with scripting
1998-11-12 23:57:54 +00:00
vidur%netscape.com
632a979901
Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML.
1998-11-12 23:55:47 +00:00
troy%netscape.com
2b86b49c95
Cleaned up the way construction of the root frame happens for XML documents.
...
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com
fc16d5fc42
init the html atoms too...(temporary)
1998-11-12 18:16:25 +00:00
vidur%netscape.com
b947ced837
Modified stylesheet
1998-11-12 17:17:48 +00:00
vidur%netscape.com
d73eed6d2e
new
1998-11-12 16:36:02 +00:00
vidur%netscape.com
9a325834e4
Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes.
1998-11-12 07:54:12 +00:00
vidur%netscape.com
c068c96a00
Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
1998-11-11 22:06:16 +00:00