34 Commits

Author SHA1 Message Date
joki%netscape.com
bcf5da502c Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
scc%netscape.com
b981dc83f5 Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354. Also fixes a leak in the same routine. r=buster, a={chofmann, brendan}
git-svn-id: svn://10.0.0.236/trunk@58268 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:56:25 +00:00
sspitzer%netscape.com
e111e775da checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@56754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 21:24:37 +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
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
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
waqar%netscape.com
b0564cd829 # 15904, 19582
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
  comment nodes.


git-svn-id: svn://10.0.0.236/trunk@54337 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:13:03 +00:00
waqar%netscape.com
8e98416f47 # 16610
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.


git-svn-id: svn://10.0.0.236/trunk@53165 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 01:48:25 +00:00
waqar%netscape.com
90fdd6824c # 6071, 15904
r vidur
d Fixes the problem with comment delimiters.


git-svn-id: svn://10.0.0.236/trunk@53161 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 01:28:32 +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
kipp%netscape.com
199585b860 Use nsTextContentChangeData to pass down to the reflow logic the effect on the text
git-svn-id: svn://10.0.0.236/trunk@51393 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:40:51 +00:00
kipp%netscape.com
66125fa907 r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
git-svn-id: svn://10.0.0.236/trunk@50895 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:36:07 +00:00
waqar%netscape.com
2e88f3fb20 #9777
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.


git-svn-id: svn://10.0.0.236/trunk@50878 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 22:18:23 +00:00
waqar%netscape.com
b576ab2cb5 # 9777
r vidur
d When splitText has an index error, it used to send NS_ERROR not it sends
  the proper DOM index size error.


git-svn-id: svn://10.0.0.236/trunk@49910 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 00:06:53 +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
rpotts%netscape.com
e6270075bd Null terminate the new buffer.
git-svn-id: svn://10.0.0.236/trunk@44979 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 05:12:11 +00:00
kipp%netscape.com
e8e2636fba Implement GetTextLength and CopyText methods from revised nsITextContent API
git-svn-id: svn://10.0.0.236/trunk@44911 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:40:47 +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
jfrancis%netscape.com
1231913111 fixing range dom gravity bug first exposed by bug #10231
git-svn-id: svn://10.0.0.236/trunk@42436 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 10:33:09 +00:00
joki%netscape.com
065c158182 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:54:34 +00:00
rickg%netscape.com
f7d448b2c7 updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28566 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:12:55 +00:00
vidur%netscape.com
b9573ee9ea Fix for bug 5141. The parentNode of a standalone Node is no longer a DocumentFragment, but is now, according to the spec, just null.
git-svn-id: svn://10.0.0.236/trunk@27966 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:56:25 +00:00
sfraser%netscape.com
dd4cde6089 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems.
git-svn-id: svn://10.0.0.236/trunk@27270 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:15:16 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
danm%netscape.com
d4b9511aad changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool.
git-svn-id: svn://10.0.0.236/trunk@20883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 04:39:22 +00:00
mcafee%netscape.com
8e4341cd89 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
git-svn-id: svn://10.0.0.236/trunk@20851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:00 +00:00
akkana%netscape.com
0ebe0a4652 Rename nsISelection to nsIFrameSelection
git-svn-id: svn://10.0.0.236/trunk@20457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:12:28 +00:00
mjudge%netscape.com
2a9e445535 Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00
kostello%netscape.com
75d16ce80a Updated XIF code to match the new selection work.
git-svn-id: svn://10.0.0.236/trunk@18198 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:45:17 +00:00
vidur%netscape.com
7908dffae7 Fix to get default namespaces to work. Cleanup of DOM handling of character data.
git-svn-id: svn://10.0.0.236/trunk@18189 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:33:03 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
vidur%netscape.com
d81e61b1ff Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
git-svn-id: svn://10.0.0.236/trunk@17775 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:14:02 +00:00