vidur%netscape.com
11ade64c3d
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
44049e083f
Need newline at end of file for some unixes. a=leaf
2000-01-19 19:17:22 +00:00
hyatt%netscape.com
566aac5bcf
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
c22daf14de
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
7dc196d66e
End of lines are good. Fixing ports bustage.
2000-01-16 04:56:08 +00:00
hyatt%netscape.com
c3878c4380
Still trying to fix Wensleydale. Stupid crack baby compiler.
2000-01-15 07:18:01 +00:00
hyatt%netscape.com
85b9c795b4
Fix wensleydale bustage.
2000-01-15 06:41:04 +00:00
hyatt%netscape.com
797cd22ff4
Landing XBL scrollbars.
2000-01-15 05:31:45 +00:00
hyatt%netscape.com
a3401afc57
More tweaks.
2000-01-12 10:55:37 +00:00
hyatt%netscape.com
66b5edddeb
More massaging to allow for XML docs with no webshells.
2000-01-12 10:50:02 +00:00
hyatt%netscape.com
f025587b37
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
272db862ac
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
ef9c82db1e
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
22cbc2c1bb
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
2a8449664a
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
db5cd594e2
Make observers support weak references. Bug #18682 ; r=dp.
1999-12-07 14:06:36 +00:00
vidur%netscape.com
1cf2db67a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
1999-12-04 01:29:18 +00:00
tbogard%aol.net
eb96099e6d
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
2db26922a6
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
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
tbogard%aol.net
af1ce8d410
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
93551f1751
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
34ecf73507
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
vidur%netscape.com
3b0f268fc3
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
5b4b0169aa
* 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
8c8bbce9a7
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
6d97a605ce
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
5312eacf8c
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
83c519bf89
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
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com
332749d6fa
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
9d79a81d45
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
f81d5969c6
(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
ff14b7a0cf
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
7900952c3a
[MathML] removing registration hooks. They are now handled by nsLayoutModule.
1999-10-12 01:48:05 +00:00
kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
kipp%netscape.com
cfa92fd85e
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
3eaba4f422
Support SizeOf methods
1999-10-05 23:47:46 +00:00
waterson%netscape.com
b9528fb7bc
Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp.
1999-10-05 00:12:21 +00:00
rbs%maths.uq.edu.au
93ac1da9b5
Adding remaining MathML hooks. r:peterl.
1999-10-02 11:05:49 +00:00
vidur%netscape.com
140612e133
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
c37ecb974c
Removed atom table hacks
1999-09-30 21:17:28 +00:00
nisheeth%netscape.com
10937e98a3
Fixing build warning.
1999-09-20 21:35:50 +00:00
rpotts%netscape.com
f7a23e30ca
Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:34:24 +00:00
kipp%netscape.com
d63ca4aef1
Squish a warning or two
1999-09-17 20:16:37 +00:00
briano%netscape.com
97faab6716
General cleanup.
1999-09-14 01:02:20 +00:00
ftang%netscape.com
abfeb59953
fix bug 12500
1999-09-03 22:48:20 +00:00
sspitzer%netscape.com
b494799f9e
add newline to end of file to please certain UNIX compilers.
1999-09-03 10:43:00 +00:00
nisheeth%netscape.com
a3d25a6149
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
a576de8c20
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
7aec7c434b
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
98514ba507
Fix build bustage.
1999-08-24 23:09:52 +00:00
nisheeth%netscape.com
a8f29b5e3c
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
4f94ca838d
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
43c7cb9748
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
684c74e9b5
Fix for bug 11483. Scripts were not getting loaded on XML pages.
1999-08-11 23:24:59 +00:00
nisheeth%netscape.com
88a7a3eadb
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
nisheeth%netscape.com
4e5aff98b2
Add static GetIID() method for creating smart pointers to nsIXMLContentSink.
1999-07-28 01:17:09 +00:00
rickg%netscape.com
f4902b78bc
replaced calls to deprecated nsString API
1999-07-26 00:37:24 +00:00
vidur%netscape.com
0ebbf485db
Forms can now be container content.
1999-07-22 23:28:16 +00:00
warren%netscape.com
bf8423a769
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
peterl%netscape.com
33759cf899
string usage cleanup
1999-07-18 00:34:53 +00:00
peterl%netscape.com
82742cc403
string usage cleanup
...
sync to new entity api
1999-07-18 00:34:41 +00:00
warren%netscape.com
84bd74a4fd
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
817c0d49e4
Removing ifdef XML_PSEUDO_ELEMENT which is never defined.
1999-07-14 17:59:19 +00:00
warren%netscape.com
61c8d73b43
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
peterl%netscape.com
b2f56f9f62
force quirks off for XML
1999-07-07 01:33:27 +00:00
andreas.otte%primus-online.de
001ff1afea
NECKO only: replacing GetBuffer with ToNewCString and some error checking
1999-07-06 23:08:16 +00:00
warren%netscape.com
bd73f68e8b
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
a9e63d1095
Add GetIID().
1999-06-30 19:28:16 +00:00
nisheeth%netscape.com
684b70fd14
Replacing nsIURI.h with nsIURL.h in the include list.
1999-06-28 15:06:33 +00:00
nisheeth%netscape.com
dbca200533
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
46687bfc33
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
6e140506a0
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
32de4bf808
various #ifdef NECKO fixes.
1999-06-27 16:12:20 +00:00
warren%netscape.com
fbd6d1dc57
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
warren%netscape.com
4001aade80
Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
1999-06-25 02:17:37 +00:00
warren%netscape.com
1f76168d21
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
valeski%netscape.com
e23b3c673c
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
8eae23158b
sync to css loader api change (default namespace)
1999-06-15 06:22:46 +00:00
nisheeth%netscape.com
fcf33c238f
Patch from Johny Stenback (jst@citec.fi). Thanks a lot.
1999-06-11 19:08:39 +00:00
peterl%netscape.com
24bee1ac96
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
4ad268acd8
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
9a7d3f32e2
tweaks to css loader handling
1999-05-26 23:59:00 +00:00
peterl%netscape.com
e1efc3ec2f
use css loader to load css sheets
...
better css handling
1999-05-26 23:58:06 +00:00
peterl%netscape.com
4672a0483f
fixed ref counting of global atoms
1999-05-26 23:56:57 +00:00
peterl%netscape.com
ef63b400f9
added css loader support
1999-05-18 23:16:26 +00:00
neeti%netscape.com
41dc3a3222
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
26a71e3928
Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
1999-05-11 20:22:35 +00:00
nisheeth%netscape.com
456d374c32
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
cd8197867b
set the document character set to UTF-8 for XSL document
1999-04-27 23:42:22 +00:00
ftang%netscape.com
31fe1fe2f7
call SetDocumentCharset method to pass default charset to the parser
1999-04-26 17:58:50 +00:00
nisheeth%netscape.com
732f173e3d
Fix off by one error for arrow that points out XML error locations.
1999-04-24 10:23:39 +00:00
rickg%netscape.com
13ca296be6
update to sync with nsString2
1999-04-22 05:49:39 +00:00
rickg%netscape.com
5e42a35ab3
updates to sync with nsString2 api
1999-04-21 23:54:24 +00:00
joki%netscape.com
b6f2484b5b
New api's into nsEventStateManager for content state change (hover,focus,active)
1999-04-12 21:24:07 +00:00
waterson%netscape.com
bb23be7a55
Added GetIID() so that this can be used with nsCOMPtr.
1999-04-12 18:10:08 +00:00
vidur%netscape.com
d801e996bd
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
1c2882e5e6
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
29ed08771b
Handle NO_STATIC_LIB being set, when all this file does is create a static library.
1999-03-25 21:21:47 +00:00