bruce%cybersight.com
b2d33a03a2
End of lines are good. Fixing ports bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57962 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 04:56:08 +00:00
hyatt%netscape.com
aba1a4f130
Still trying to fix Wensleydale. Stupid crack baby compiler.
...
git-svn-id: svn://10.0.0.236/trunk@57919 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 07:18:01 +00:00
hyatt%netscape.com
bab9d9f501
Fix wensleydale bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57918 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:41:04 +00:00
hyatt%netscape.com
3b7a587238
Landing XBL scrollbars.
...
git-svn-id: svn://10.0.0.236/trunk@57906 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:31:45 +00:00
hyatt%netscape.com
d165e0ee5c
More tweaks.
...
git-svn-id: svn://10.0.0.236/trunk@57542 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:55:37 +00:00
hyatt%netscape.com
f823b03f70
More massaging to allow for XML docs with no webshells.
...
git-svn-id: svn://10.0.0.236/trunk@57541 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:50:02 +00:00
hyatt%netscape.com
0911a05ccb
XML content sink should not require a non-null webshell. XBL doesn't use
...
webshells. r=me
git-svn-id: svn://10.0.0.236/trunk@57539 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:33:00 +00:00
vidur%netscape.com
c34925bd34
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
...
git-svn-id: svn://10.0.0.236/trunk@56332 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:51:58 +00:00
jband%netscape.com
191411b358
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
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
tbogard%aol.net
b5cb13131e
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +00:00
ftang%netscape.com
17cbeb77e7
fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
...
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +00:00
scc%netscape.com
fd67f20a6a
Make observers support weak references. Bug #18682 ; r=dp.
...
git-svn-id: svn://10.0.0.236/trunk@55580 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:06:36 +00:00
vidur%netscape.com
a68ed6e2a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@55253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:29:18 +00:00
tbogard%aol.net
067920c238
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.
git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
warren%netscape.com
eb9a891946
Eliminated the libs build pass.
...
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
buster%netscape.com
1e648d27d6
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
git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
vidur%netscape.com
ecb6eb504e
fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki.
...
git-svn-id: svn://10.0.0.236/trunk@53718 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:01:12 +00:00
norris%netscape.com
331cf153db
* 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
git-svn-id: svn://10.0.0.236/trunk@53631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:07:31 +00:00
tbogard%aol.net
67a365111c
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
...
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
ftang%netscape.com
f274743ebb
fix 16808. change hard coded utf-8'to UTF-8', get charset hint from webshell. r=nhotta
...
git-svn-id: svn://10.0.0.236/trunk@53070 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 05:50:10 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
nisheeth%netscape.com
424a4cc34c
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.
...
git-svn-id: svn://10.0.0.236/trunk@52640 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 01:48:54 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
warren%netscape.com
1d1448afe5
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
...
git-svn-id: svn://10.0.0.236/trunk@52529 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 06:49:44 +00:00
nisheeth%netscape.com
3810554e35
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.
...
git-svn-id: svn://10.0.0.236/trunk@52517 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:49:57 +00:00
brendan%mozilla.org
f980be0221
(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.
git-svn-id: svn://10.0.0.236/trunk@52347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:43:30 +00:00
nisheeth%netscape.com
151090fbb2
r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny.
...
git-svn-id: svn://10.0.0.236/trunk@52033 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:50:37 +00:00
rbs%maths.uq.edu.au
328d62f08f
[MathML] removing registration hooks. They are now handled by nsLayoutModule.
...
git-svn-id: svn://10.0.0.236/trunk@50407 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:48:05 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
kipp%netscape.com
99aaa55232
Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
...
git-svn-id: svn://10.0.0.236/trunk@50066 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:35:04 +00:00
kipp%netscape.com
53b538cfc8
Support SizeOf methods
...
git-svn-id: svn://10.0.0.236/trunk@49891 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:47:46 +00:00
waterson%netscape.com
4fa6ebaa6d
Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp.
...
git-svn-id: svn://10.0.0.236/trunk@49759 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:12:21 +00:00
rbs%maths.uq.edu.au
7f3f2e7069
Adding remaining MathML hooks. r:peterl.
...
git-svn-id: svn://10.0.0.236/trunk@49664 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 11:05:49 +00:00
vidur%netscape.com
529603023b
Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
...
git-svn-id: svn://10.0.0.236/trunk@49502 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:07:04 +00:00
kipp%netscape.com
aa5496085d
Removed atom table hacks
...
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
rpotts%netscape.com
22e6b8be31
Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
...
git-svn-id: svn://10.0.0.236/trunk@48177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 06:34:24 +00:00
kipp%netscape.com
8ebf1dd75a
Squish a warning or two
...
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
briano%netscape.com
46226f556f
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@47244 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:02:20 +00:00
ftang%netscape.com
3c63aad80a
fix bug 12500
...
git-svn-id: svn://10.0.0.236/trunk@45956 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:48:20 +00:00
sspitzer%netscape.com
d477f04e12
add newline to end of file to please certain UNIX compilers.
...
git-svn-id: svn://10.0.0.236/trunk@45876 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 10:43:00 +00:00
nisheeth%netscape.com
9a418f414b
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.
...
git-svn-id: svn://10.0.0.236/trunk@45321 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 10:06:17 +00:00
nisheeth%netscape.com
623d44aef7
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.
...
git-svn-id: svn://10.0.0.236/trunk@44988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 07:31:08 +00:00
vidur%netscape.com
778fc0379d
Parse delimiters out of Comment nodes. CharacterData Nodes now return an empty childNodes list instead of null.
...
git-svn-id: svn://10.0.0.236/trunk@44469 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 07:35:45 +00:00
nisheeth%netscape.com
e63340baee
Fix build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@44401 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 23:09:52 +00:00
nisheeth%netscape.com
96d6fad95b
Adding the methods for creating entity, documenttype, named node maps, notations. Contributed by Johnny Stenback (jst@citec.fi).
...
git-svn-id: svn://10.0.0.236/trunk@44385 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:26:57 +00:00
nisheeth%netscape.com
112ab82227
Adding files that implement the entity, notation, documenttype and namednodemap interfaces. Contributed by Johnny Stenback (jst@citec.fi).
...
git-svn-id: svn://10.0.0.236/trunk@44383 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:22:36 +00:00
vidur%netscape.com
29bf6d365c
Changed method signature of EvaluateScript to return nsresult. Added nsJSThreadContextStack pushing and popping around script evaluation.
...
git-svn-id: svn://10.0.0.236/trunk@43669 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 20:36:31 +00:00