Граф коммитов

54 Коммитов

Автор SHA1 Сообщение Дата
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 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 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
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
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
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
nisheeth%netscape.com cdf47730e3 Fixing build warning. 1999-09-20 21:35:50 +00:00
briano%netscape.com cfc3c850ed General cleanup. 1999-09-14 01:02: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
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
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +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 5846e500d5 fixed ref counting of global atoms 1999-05-26 23:56:57 +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
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
vidur%netscape.com 66a4fb1a65 Fixes to get CDATASections working again. Also changes to fix XML links. 1999-03-02 23:22:05 +00:00
cyeh%netscape.com fe763fea21 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +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
joki%netscape.com 76111374a3 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +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
vidur%netscape.com 19388472d7 new files 1999-01-12 08:45:23 +00:00
jfrancis%netscape.com bad257e0cd more dom range gravity work 1998-12-30 08:28:16 +00:00
peterl%netscape.com e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
jfrancis%netscape.com 3e69dc07c3 Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +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
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
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
joki%netscape.com 09cd62b18e Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00