nisheeth@netscape.com
1e8ee09ab7
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
824ba18df3
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
warren@netscape.com
98a64ebc39
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
40b5c6964f
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
9835f2a8ec
(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
9c9fb65e66
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
aa357e53ae
[MathML] removing registration hooks. They are now handled by nsLayoutModule.
1999-10-12 01:48:05 +00:00
waterson@netscape.com
b8728f9b49
Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp.
1999-10-05 00:12:21 +00:00
rbs@maths.uq.edu.au
1e7a207305
Adding remaining MathML hooks. r:peterl.
1999-10-02 11:05:49 +00:00
vidur@netscape.com
7f051e3171
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
14498bdaac
Removed atom table hacks
1999-09-30 21:17:28 +00:00
rpotts@netscape.com
17f3a2f093
Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:34:24 +00:00
kipp@netscape.com
e9732b7feb
Squish a warning or two
1999-09-17 20:16:37 +00:00
briano@netscape.com
635d6efa69
General cleanup.
1999-09-14 01:02:20 +00:00
ftang@netscape.com
170fa05969
fix bug 12500
1999-09-03 22:48:20 +00:00
nisheeth@netscape.com
0c2a981b2c
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
b934a4b73e
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
ccabacda10
Fix for bug 11483. Scripts were not getting loaded on XML pages.
1999-08-11 23:24:59 +00:00
nisheeth@netscape.com
fd67f88e34
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
nisheeth@netscape.com
5221d48a89
Add static GetIID() method for creating smart pointers to nsIXMLContentSink.
1999-07-28 01:17:09 +00:00
rickg@netscape.com
9e8c855244
replaced calls to deprecated nsString API
1999-07-26 00:37:24 +00:00
vidur@netscape.com
fedbce2269
Forms can now be container content.
1999-07-22 23:28:16 +00:00
warren@netscape.com
ccfdb6afee
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
peterl@netscape.com
6d5f40b161
string usage cleanup
1999-07-18 00:34:53 +00:00
peterl@netscape.com
aad11a45e7
string usage cleanup
...
sync to new entity api
1999-07-18 00:34:41 +00:00
warren@netscape.com
61a33642b8
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
e90f8b0010
Removing ifdef XML_PSEUDO_ELEMENT which is never defined.
1999-07-14 17:59:19 +00:00
warren@netscape.com
66090be01f
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
peterl@netscape.com
e837c6fe93
force quirks off for XML
1999-07-07 01:33:27 +00:00
andreas.otte@primus-online.de
b7a7d8272b
NECKO only: replacing GetBuffer with ToNewCString and some error checking
1999-07-06 23:08:16 +00:00
warren@netscape.com
1496c3eec1
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
99d02a6d85
Add GetIID().
1999-06-30 19:28:16 +00:00
nisheeth@netscape.com
4f90f74a90
Replacing nsIURI.h with nsIURL.h in the include list.
1999-06-28 15:06:33 +00:00
nisheeth@netscape.com
298355164f
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
ea53a4c8e3
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
9979b14102
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
3b026e97ba
various #ifdef NECKO fixes.
1999-06-27 16:12:20 +00:00
warren@netscape.com
0dddd47c95
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
warren@netscape.com
c56575d679
Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
1999-06-25 02:17:37 +00:00
warren@netscape.com
753ac43fff
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
valeski@netscape.com
3737aa0d15
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
ab64ea999e
sync to css loader api change (default namespace)
1999-06-15 06:22:46 +00:00
peterl@netscape.com
f1d6f3cf1b
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
267c040579
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
c1c3d44e1f
tweaks to css loader handling
1999-05-26 23:59:00 +00:00
peterl@netscape.com
278f0bcc78
use css loader to load css sheets
...
better css handling
1999-05-26 23:58:06 +00:00
peterl@netscape.com
368c655c35
added css loader support
1999-05-18 23:16:26 +00:00
neeti@netscape.com
b8c43a5bb8
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
8c4b5ba767
Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
1999-05-11 20:22:35 +00:00
nisheeth@netscape.com
ac1759356e
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