67 Commits

Author SHA1 Message Date
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
pollmann%netscape.com
25950ae574 Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92992 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 08:33:57 +00:00
hyatt%netscape.com
6f8aa53d7e Fix for 70877, enabling outliner. r=dr, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88701 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:16:42 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
evaughan%netscape.com
a87e4943ba Autoscrolling menus feature landing #32730
-r hyatt, saari


git-svn-id: svn://10.0.0.236/trunk@73042 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:15:04 +00:00
hyatt%netscape.com
39e792b3fa Eliminating browser, editor, and iframe content objects.
git-svn-id: svn://10.0.0.236/trunk@71150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:22:20 +00:00
hyatt%netscape.com
dcb1062d06 Adding box object instantiation code.
git-svn-id: svn://10.0.0.236/trunk@71059 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:00:40 +00:00
jst%netscape.com
8e6e4f5c99 Register the computed DOM style component.
git-svn-id: svn://10.0.0.236/trunk@70336 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:14:19 +00:00
shaver%mozilla.org
bcfe1cd20b more work on 37983's content-policy love, r=brendan
git-svn-id: svn://10.0.0.236/trunk@69735 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:40:40 +00:00
mjudge%netscape.com
2fd2c81f9d exporting nsDOMSelection and nsXIFconverter as com elements to be made from CIDs
git-svn-id: svn://10.0.0.236/trunk@69542 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:08:04 +00:00
mjudge%netscape.com
2f9bd42697 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
nisheeth%netscape.com
bf1e322201 Add support for loading an XML document from script within a XUL document also.
git-svn-id: svn://10.0.0.236/trunk@69088 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:02:32 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
hyatt%netscape.com
c29836f8bc XBL now works with HTML, XUL, SVG, MathML, and XML!
git-svn-id: svn://10.0.0.236/trunk@68891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:42:40 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
mjudge%netscape.com
1879d9f615 adding in new cids and new factories for nsgeneratedcontent and nsgeneratedsubtree iterators
git-svn-id: svn://10.0.0.236/trunk@64718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:18:45 +00:00
cmanske%netscape.com
4c4c8e8cf0 Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp
git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:58:02 +00:00
hyatt%netscape.com
2dde3c372d Forgot to commit the layout build directory. r=waterson
git-svn-id: svn://10.0.0.236/trunk@58222 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 04:11:23 +00:00
hyatt%netscape.com
16717ba255 Adding the XBL implementation (stubbed).
git-svn-id: svn://10.0.0.236/trunk@57529 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 09:25:48 +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
troy%netscape.com
3513334988 Moved a bunch of stuff out to a nsIFrameDebug interface
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
dp%netscape.com
f06f488185 Removing use of mRefCnt directly. Also, removed all use of refcounted
variable as creations were always refcounted. r=kipp


git-svn-id: svn://10.0.0.236/trunk@52077 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 11:42:15 +00:00
dp%netscape.com
ccb30ad195 bug#16742 Fixing delete on nsISupports. Thanks for patch from
<heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing
operating on refcnt directly. r=troy r=dp


git-svn-id: svn://10.0.0.236/trunk@51693 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-24 16:19:42 +00:00
waterson%netscape.com
30e53d03e9 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
kipp%netscape.com
cd7adcfa5b r=troy; Removed some of my own debug noise
git-svn-id: svn://10.0.0.236/trunk@49831 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:50:30 +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
kipp%netscape.com
7994e0d12d Turned into a module
git-svn-id: svn://10.0.0.236/trunk@49463 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:14:14 +00:00
kipp%netscape.com
e0fc9cb532 Setup html and xul atoms too
git-svn-id: svn://10.0.0.236/trunk@45693 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:01:32 +00:00
mjudge%netscape.com
329d39ba11 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
peterl%netscape.com
50249c39d8 addref lookup tables from factory
git-svn-id: svn://10.0.0.236/trunk@39937 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:17:29 +00:00
akkana%netscape.com
a878369d02 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
kostello%netscape.com
e69948ccbb Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp


git-svn-id: svn://10.0.0.236/trunk@34518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:35:02 +00:00
akkana%netscape.com
0e075a7b80 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments
git-svn-id: svn://10.0.0.236/trunk@33807 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:22:53 +00:00
peterl%netscape.com
c39d4db3d8 added css loader
git-svn-id: svn://10.0.0.236/trunk@32137 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:04:12 +00:00
kipp%netscape.com
bb52ff4425 Added component support to this library
git-svn-id: svn://10.0.0.236/trunk@30559 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:26:13 +00:00
vidur%netscape.com
178501cc8f Added Option constructor support to factory.
git-svn-id: svn://10.0.0.236/trunk@30198 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:52:03 +00:00
hyatt%netscape.com
79d6609992 Fixes to layout to allow nsHTMLCSSStyleSheet to be instantiable from outside
the layout DLL.


git-svn-id: svn://10.0.0.236/trunk@22808 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:06:31 +00:00
kipp%netscape.com
ad6702e668 Removed dependency on static constructor
git-svn-id: svn://10.0.0.236/trunk@22128 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:03:45 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
jfrancis%netscape.com
665de0a76a ground work for new content subtree iterator
git-svn-id: svn://10.0.0.236/trunk@20691 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 09:15:13 +00:00
jfrancis%netscape.com
ba034ddb21 XPCOMified nsContentIterator; added it to layout factory CreateInstance code
git-svn-id: svn://10.0.0.236/trunk@20526 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:28:12 +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
waterson%netscape.com
4fb93e8735 Exposed EventListenerManager.
git-svn-id: svn://10.0.0.236/trunk@18684 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:58:49 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +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