Commit Graph

101 Commits

Author SHA1 Message Date
jst%netscape.com
053748f710 Fixing bug 38357. Passing a document node to nsRange::SelectNode() crashed mozilla, now it properly throws the exception INVALID_NODE_TYPE_ERR if the node type is incorrect. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:44:44 +00:00
sfraser%netscape.com
5d806b0567 Add null check.
git-svn-id: svn://10.0.0.236/trunk@67741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:50:18 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
mjudge%netscape.com
d068ec5d0f moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection
git-svn-id: svn://10.0.0.236/trunk@64717 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:17:22 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
vidur%netscape.com
b012506fc2 Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58875 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:51:51 +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
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
braddr%puremagic.com
d8fb5871d7 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc


git-svn-id: svn://10.0.0.236/trunk@52044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
1dde1a4f56 Ooops.. tree closed, better back these out for now. Sorry.
git-svn-id: svn://10.0.0.236/trunk@51979 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
7767d9393b Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)


git-svn-id: svn://10.0.0.236/trunk@51977 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:24:21 +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
cmanske%netscape.com
81ec3d768f Changed ifdef so we can use ToString for non-debug purposes. r=akkana
git-svn-id: svn://10.0.0.236/trunk@49363 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 21:52:10 +00:00
jfrancis%netscape.com
88a64c92bc fixing dom range gravity bug (see bug 13251)
git-svn-id: svn://10.0.0.236/trunk@46307 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 05:27:44 +00:00
akkana%netscape.com
a26cb0367a Ifdef DEBUG, then when doing nsRange::ToString, also dump node contents
to stdout via List() so we can see what's in the range besides text.


git-svn-id: svn://10.0.0.236/trunk@43721 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:20:57 +00:00
jfrancis%netscape.com
4b7c2c1325 fixing unix bustage. compilers: viva la difference!
git-svn-id: svn://10.0.0.236/trunk@42437 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 12:14:39 +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
vidur%netscape.com
ae363befb4 Fixed incorrect inclusion of text elements in tag stack creation in CreateContextualFragment.
git-svn-id: svn://10.0.0.236/trunk@41431 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:26:16 +00:00
jfrancis%netscape.com
0cda9473d1 fix for bug 9842 (aka 8227) plus some thread safety improvements
git-svn-id: svn://10.0.0.236/trunk@41046 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 08:41:42 +00:00
jfrancis%netscape.com
35bcb68470 fix for bug 9935
git-svn-id: svn://10.0.0.236/trunk@41043 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 05:31:05 +00:00
jfrancis%netscape.com
783ce6aaf5 thread safety comes to nsRange
git-svn-id: svn://10.0.0.236/trunk@38273 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 11:14:08 +00:00
jfrancis%netscape.com
88a21299f0 fixed bug in CompareEndPoints()
git-svn-id: svn://10.0.0.236/trunk@37697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 13:40:09 +00:00
jfrancis%netscape.com
bfd9b82db2 a little neatening
git-svn-id: svn://10.0.0.236/trunk@37684 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 08:39:24 +00:00
jfrancis%netscape.com
33b54daf18 care and feeding of the compiler...
git-svn-id: svn://10.0.0.236/trunk@36007 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 23:32:22 +00:00
jfrancis%netscape.com
c905921f4d spring cleaning of interfaces
git-svn-id: svn://10.0.0.236/trunk@36005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 23:02:48 +00:00
jfrancis%netscape.com
2a4f8f3946 fixing bug that broke selection in docs with generated content
git-svn-id: svn://10.0.0.236/trunk@35951 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 00:12:59 +00:00
mjudge%netscape.com
ac94f8e4e0 oops forgot one
git-svn-id: svn://10.0.0.236/trunk@35904 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:50:20 +00:00
mjudge%netscape.com
571f2a1a16 up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect.
git-svn-id: svn://10.0.0.236/trunk@35903 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:36:44 +00:00
jfrancis%netscape.com
a84649ba07 bug 8287; rvd sfraser; aprvd buster; aprvd chofmann
git-svn-id: svn://10.0.0.236/trunk@35735 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:38:51 +00:00
akkana%netscape.com
5731d83f36 Vidur's initial implementation of Insert HTML Fragment
git-svn-id: svn://10.0.0.236/trunk@33637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:38:38 +00:00
jfrancis%netscape.com
4c900f0761 fixed dom range gravity error
git-svn-id: svn://10.0.0.236/trunk@32758 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:28:04 +00:00
jfrancis%netscape.com
b3b7e270b4 fixing overly noisy asserts
git-svn-id: svn://10.0.0.236/trunk@31584 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 06:18:07 +00:00
jfrancis%netscape.com
b833e5348b better error handling
git-svn-id: svn://10.0.0.236/trunk@31384 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:43:30 +00:00
vidur%netscape.com
64db19daaa Backing out unintentional checkin
git-svn-id: svn://10.0.0.236/trunk@31341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:24:45 +00:00
vidur%netscape.com
98da6aed8d Fixed uninitialized variable problem.
git-svn-id: svn://10.0.0.236/trunk@31339 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:21:50 +00:00
vidur%netscape.com
5ed31d3cbe Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:35 +00:00
jfrancis%netscape.com
26ba976656 better error detection/handling + some cleanup
git-svn-id: svn://10.0.0.236/trunk@31041 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:29:01 +00:00
vidur%netscape.com
d40d103c73 Added nsIDOMNSRange method with InsertFragment method. Stub implementation for now.
git-svn-id: svn://10.0.0.236/trunk@29559 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:16:04 +00:00
kipp%netscape.com
12a0ca23a4 Removed compiler warnings
git-svn-id: svn://10.0.0.236/trunk@29555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:17 +00:00
sfraser%netscape.com
7ec6297b08 Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces.
git-svn-id: svn://10.0.0.236/trunk@27658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:26 +00:00
jfrancis%netscape.com
b0a8d0fd29 fix for another range gravity bug; rvwd and apprd kostello; appr chofmann
git-svn-id: svn://10.0.0.236/trunk@26799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 06:00:44 +00:00
jfrancis%netscape.com
8ae361be22 fix for range gravity bug
git-svn-id: svn://10.0.0.236/trunk@26509 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:57:01 +00:00
jfrancis%netscape.com
928892f905 fixed refcounting bugs plus a little cleanup
git-svn-id: svn://10.0.0.236/trunk@23340 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:21:04 +00:00
jfrancis%netscape.com
87c745f970 bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface"
git-svn-id: svn://10.0.0.236/trunk@23149 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 01:20:02 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
brade%netscape.com
115b5fd0fb reduce compiler warnings on Macintosh by adding comparison in loop (around assignments)
git-svn-id: svn://10.0.0.236/trunk@22724 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:50:41 +00:00
mjudge%netscape.com
49a8c115d7 Fixing nsCOMPtr misusage.
git-svn-id: svn://10.0.0.236/trunk@21479 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:06:48 +00:00
mcafee%netscape.com
a8d48b571d Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@21258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:32:58 +00:00