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

839 Коммитов

Автор SHA1 Сообщение Дата
axel%pike.org d21a2d98d9 bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf 2003-08-01 11:44:17 +00:00
bzbarsky%mit.edu 93aa1eeb86 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
bzbarsky%mit.edu d0666152a5 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu ddba83b841 Fix up name resolution under forms to not find elements that are just
randomly in the document.  Bug 148782, r=caillon, sr=jst
2003-07-15 02:07:55 +00:00
bzbarsky%mit.edu 9cb380a7ff Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu 094e6e3f3a Make comment change requested by caillon in review that I forgot about 2003-07-08 09:23:32 +00:00
bzbarsky%mit.edu c0d3c15a88 DOM properties that return URIs should return absolute URIs when they
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu 0c5dc097d7 Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu 0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
jkeiser%netscape.com 78ba276e17 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
rbs%maths.uq.edu.au a3601b3e47 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky 2003-06-25 01:14:25 +00:00
dbaron%dbaron.org fe7914e2c9 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky 2003-06-18 01:59:57 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
bsmedberg%covad.net 978e0a964c Bug 208111 - Remove nsIDocument::GetArena which is unused. r=sicking sr=peterv 2003-06-04 13:10:02 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
aaronl%netscape.com 653e5df5d2 Bug 185846. Create ISimpleDOMText for accessibility API support of pieces of text smaller than a node. r=bolian, sr=alecf, a=asa 2003-05-17 09:00:57 +00:00
peterv%netscape.com f9585fa161 Part of fix for bug 203192 (Improvements to XSLT loading). r=sicking, sr=jst, a=asa. 2003-05-05 09:17:36 +00:00
heikki%netscape.com 1dfcfb8f7c Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst. 2003-04-23 00:07:37 +00:00
jst%netscape.com 8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
leon.zhang%sun.com 526c0515e9 Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
jst%netscape.com f1b9b87862 Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-04-19 00:28:09 +00:00
sfraser%netscape.com c2827fb6e7 Bug 193053: drag and drop-related changes to allow for the dragging and copying of image bits, and to allow dragging into the file system. r=pinkerton/brade, sr=bryner/bz. 2003-04-18 20:20:04 +00:00
brade%netscape.com 0c3baccfc4 remove deprecated interfaces (bug 197121) 2003-04-17 19:42:27 +00:00
brade%netscape.com a064e8c50b removing old file; replaced with widget/public/nsIClipboardDragDropHooks.idl 2003-04-17 13:22:40 +00:00
brade%netscape.com fb3e924d63 changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr 2003-04-17 13:21:15 +00:00
brade%netscape.com bf11f4765e copy hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:16:36 +00:00
heikki%netscape.com e485f5fcdf Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky. 2003-04-15 18:13:13 +00:00
sfraser%netscape.com 05e5f933f1 Forward-declare nsIPresShell in nsISelectionPrivate.h. 2003-04-04 02:36:12 +00:00
sfraser%netscape.com 28c61bb42b Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
bzbarsky%mit.edu b4ecec8c75 Make sure not to call LoadImage before LoadImageWithChannel for standalone
images.  Bug 121084; also fixes bug 34165.  r=pavlov, sr=jst
2003-04-02 03:27:20 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
peterlubczynski%netscape.com b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
peterlubczynski%netscape.com 07b7bbfa07 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 02:22:03 +00:00
heikki%netscape.com 0ee437d7ac Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
bzbarsky%mit.edu 13dcd19c90 More build system stuff for bug 83774. r=pavlov, sr=jst 2003-03-19 01:17:07 +00:00
bzbarsky%mit.edu d9626bd65a Build system changes for bug 83774. Enables the new code, but doesn't use it
yet.  r=pavlov, sr=jst
2003-03-19 01:16:16 +00:00
bzbarsky%mit.edu 6f9799a38d Error defs for bug 83774. r=pavlov, sr=jst 2003-03-19 01:11:23 +00:00
bzbarsky%mit.edu e274d4eb2d New files for bug 83774. r=pavlov, sr=jst 2003-03-19 01:08:22 +00:00
bzbarsky%mit.edu 1b837cdd65 Make the CSS parser not throw on attempts to parse lengths with unknown units
(bug 197212).  Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423).  r+sr=dbaron
2003-03-17 03:58:06 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
sicking%bigfoot.com 9ed65880ca Bug 184159: Make scripts with for- and event-attributes not lock up the xml-contentsink.
r=peterv sr=jst
2003-03-04 12:12:48 +00:00
jst%netscape.com 819f27dd06 Fixing bug 191579. Make <script for='window' event='onload'> execute as inline script like it used to. r=bzbarsky@mit.edu, sr=peterv@netscape.com 2003-02-27 00:49:36 +00:00
bzbarsky%mit.edu 494a5203ff Removing nsIDocumentContainer -- it's unused and not planning to be used. Bug
193543, r=sicking, sr=jst
2003-02-22 19:54:11 +00:00
dbaron%dbaron.org 4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
sicking%bigfoot.com dcc6361443 Bug 174713: Make XPath on HTML documents behave consistently and HTML-ish. This makes the XPath-functions name() and local-name() return upper-case names and makes nametests case-insensitive.
r=peterv sr=jst a=asa
2003-02-14 00:59:40 +00:00
peterv%netscape.com c1e3bc0d5e Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst. 2003-01-22 03:25:51 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
bryner%netscape.com 7567117773 Combine content and layout into a single library (bug 106161). r=dbaron, sr=jst. 2003-01-14 07:08:59 +00:00
sicking%bigfoot.com c75bd1b336 Bug 187611: Set the proper Content-Type of XSLT generated documents
r=peterv sr=jst
2003-01-09 15:45:45 +00:00
sicking%bigfoot.com c134137876 Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz
2003-01-06 14:55:13 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
rbs%maths.uq.edu.au 5c9db7b7ec Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
caillon%returnzero.com 02dff0ba15 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com fb1fbfd6b3 fix bustage 2002-11-25 09:33:11 +00:00
sicking%bigfoot.com b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
jfrancis%netscape.com 0c756dc3b3 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
jst%netscape.com b129f6ff18 Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu 2002-11-21 23:53:06 +00:00
kin%netscape.com 5d19412ecc Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
content/base/public/nsIContentIterator.h
  content/base/src/nsContentIterator.cpp
  content/base/src/nsGeneratedIterator.cpp
  content/build/nsContentCID.h
  content/build/nsContentModule.cpp
  embedding/components/find/src/nsFind.cpp
  layout/html/style/src/nsFrameContentIterator.cpp

  - Removed MakePre() and MakePost() from the nsIContentIterator interface.
  - Traversal must now be specified at time of creation.
  - Fixed nsContentIterator Init() methods so that they correctly calculate
    mFirst and mLast.
  - Modified PositionAt() to check if the node is in the traversal range.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2002-11-21 15:07:49 +00:00
bratell%lysator.liu.se 60ab58236e Bug 165893 - avoid refetching the parser service all the time. r=jst@netscape.com, sr=bzbarsky@mit.edu 2002-11-19 13:39:20 +00:00
peterlubczynski%netscape.com fce1225257 Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst 2002-11-18 07:48:10 +00:00
cmanske%netscape.com 722881b278 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
bryner%netscape.com 8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
rpotts%netscape.com d21d1c4d9e fix build bustage... i'm a doofus 2002-11-07 06:03:50 +00:00
rpotts%netscape.com 6a2d2e0134 bug #174404 (r=adam, sr=jst) Support the optional FOR and EVENT attributes on the SCRIPT tag 2002-11-07 05:17:21 +00:00
sicking%bigfoot.com 3984ee537d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 05:28:36 +00:00
heikki%netscape.com 919aef29e4 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
sicking%bigfoot.com de70300d00 bug 64945 stage two.
Prettyprint without modifying the DOM by using an XBL binding. Use viewsource.css for styling. Also refactor a real sync-load service and make transformiix and XBL use it.

r=jkeiser sr=darin
2002-10-09 07:03:15 +00:00
leaf%mozilla.org cb3b34050d removing file from bogus file copy. file shouldn't be in this location! 2002-09-20 23:18:04 +00:00
peterv%netscape.com 7a93a8cbf1 Fix for bug 163810 (Option Object created, own properties added, but Mozilla "forgets" them after some time.). r=sicking, sr=jst. 2002-09-20 13:40:53 +00:00
bryner%netscape.com 11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
sicking%bigfoot.com 443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
sicking%bigfoot.com 3dcee9b795 Bug 159314: Fastload is wasteful wrt nodenames. Instead of serializing nodename+namespaceURI for each element/attribute, serialize a table of all nodename+namespaces used by a document and then serialize pointers into that.
r=jst sr=hyatt
2002-09-03 22:31:38 +00:00
jfrancis%netscape.com 308ab1fe69 fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz 2002-08-29 08:17:41 +00:00
jkeiser%netscape.com 32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com 8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
dougt%netscape.com 22ffaadb79 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu d4cc4f7061 Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky 2002-08-16 11:29:20 +00:00
dbaron%fas.harvard.edu 768c965b07 Attempt to fix page load regression. b=35768 2002-08-14 14:01:39 +00:00
dbaron%fas.harvard.edu 48e2161f68 Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky 2002-08-14 13:16:35 +00:00
dbaron%fas.harvard.edu 79638e5f49 Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768 2002-08-14 12:34:39 +00:00
heikki%netscape.com 3c4832e229 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
jst%netscape.com 5707cc67d2 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com 2002-08-13 00:50:50 +00:00
aaronl%netscape.com fac59ec279 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst 2002-08-10 08:15:30 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
peterv%netscape.com 1182ac5c30 Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst. 2002-08-09 08:45:30 +00:00
sicking%bigfoot.com 39c966dd38 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa
2002-07-30 21:26:32 +00:00
jkeiser%netscape.com 48d56fccd2 Add documentation comments (bug 159065), r=sicking, sr=bz/jst, a=asa 2002-07-27 05:02:38 +00:00
sicking%bigfoot.com a51a99a196 Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
b=156452 r=bz sr=jst a=asa
2002-07-23 22:16:45 +00:00
sicking%bigfoot.com c2e51f12c5 Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
2002-07-18 05:53:28 +00:00
sicking%bigfoot.com 17bc6e66e4 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending
2002-07-16 13:09:15 +00:00
sicking%bigfoot.com e19f713214 Add sameorigin checks to treewalker
b=156452, r=mstoltz, sr=jst, a=chofmann
2002-07-15 19:25:27 +00:00
bzbarsky%mit.edu ab1e5e8701 Bug 153519 -- parent ContentLists to their root elements. r=peterv, sr=jst 2002-07-09 00:44:20 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
bzbarsky%mit.edu ab09ad1a83 Make content lists lazy. Bug 104603, r=jkeiser, sr=jst 2002-06-28 01:30:09 +00:00
caillon%returnzero.com 4318c04f8d Bug 154401. Cannot paste HTML on clipboard into composition or editor windows.
r=bzbarsky, sr=kin
2002-06-26 21:05:00 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
caillon%returnzero.com 56487d7001 Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
Bug 144014 r=bzbarsky sr=jst
2002-06-25 20:03:06 +00:00
rpotts%netscape.com 424c54035e bug #147741 (r=jst, sr=darin) Call nsIContentPolicy for toplevel and subdocuments. 2002-06-21 22:47:42 +00:00
peterv%netscape.com d5b273bc97 Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. 2002-06-20 12:04:22 +00:00
kin%netscape.com 8996b9ec1c Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:43:32 +00:00
harishd%netscape.com c5b2e00d88 Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst 2002-06-11 23:23:12 +00:00
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
rods%netscape.com 1d956bc3a5 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi
2002-05-09 22:02:44 +00:00
rods%netscape.com 288186b2f3 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 13:47:53 +00:00
rods%netscape.com 5f8760cbcd backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com b1cb2953ae Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
jst%netscape.com f3bec601cc Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com 2002-04-25 23:04:52 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
mozilla.BenB%bucksch.org eae3a5f7c3 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new class to build
r=akk, sr=jst
2002-04-16 18:24:14 +00:00
mozilla.BenB%bucksch.org cc4a595485 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new files
r=akk, sr=jst
2002-04-16 18:19:09 +00:00
caillon%returnzero.com f14a42b26d Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa. 2002-04-12 10:11:00 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
akkana%netscape.com 24f016af08 129122: add a new serializer mode (used primarily by mail) in which
<br> tags within <pre> blocks are translated to newlines.
  r=nhotta,ducarroz,tmutreja sr=sspitzer
2002-04-10 21:25:15 +00:00
peterv%netscape.com 083b5b8143 Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr. 2002-04-05 11:29:40 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
rbs%maths.uq.edu.au 420e613bd4 Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa 2002-04-04 15:42:45 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
heikki%netscape.com ffc7f73b64 Bug 126669, we need to pass in aHasChildren parameter to the start tag serializing function because the node that is passed in may be a shallow copy, thereby making it impossible to determine if it originally had children, in the method itself. This fixes case where saving XHTML produces non-wellformed output. r=akkana,tmutreja, sr=jst, a=asa,ADT. 2002-04-02 21:12:51 +00:00
jkeiser%netscape.com e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
jkeiser%netscape.com 31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com 39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
bryner%netscape.com 653df3043e Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
sicking%bigfoot.com 058a33eded Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
bryner%netscape.com 54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu f2747806e2 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 23:54:46 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
bryner%netscape.com a34c68fa0b Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa. 2002-03-12 21:49:23 +00:00
badami%netscape.com 18076c6c57 Support start number for lists in plain text output
bug 62188 r=bratell sr=jst a=asa
2002-03-12 08:21:51 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
pinkerton%netscape.com b259f044cb api for overriding aspects of content-area drag&drop. r=ccarlen/sr=sfraser/a=shaver. bug# 126069 2002-02-28 22:19:04 +00:00
brade%netscape.com 20ca584e7c remove nsIDiskDocument.idl; bug 102033, r=akkana, sr=smfr 2002-02-18 15:26:14 +00:00
pinkerton%netscape.com 1dc8ab7ecd pulling content-area drag&drop out of JS and into C++ so it is available to embedding. Now built-in to <browser> tag. r=brade/sr=ben. bug#45605 2002-02-17 19:32:08 +00:00
pinkerton%netscape.com 2d43aec1ae new files for embedding dnd impl. r=brade/sr=ben. bug#45605 2002-02-17 19:28:13 +00:00
radha%netscape.com 96c4cacf9c Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, darin,nisheeth 2002-01-31 19:38:16 +00:00
jst%netscape.com 54aad376d7 WIP for an interface for the new frame and iframe loader. Not part of the build yet. 2002-01-29 06:31:26 +00:00
jst%netscape.com ae54304ade Fixing bug 116551. DeCOMtaminating nsINodeInfo, inlining most of the trivial methods and leaving some as virtuals, move some of the members from nsNodeInfo to nsINodeInfo. r=sicking@bigfoot.com, sr=waterson@netscape.com 2002-01-03 04:51:02 +00:00
rods%netscape.com 7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
shanjian%netscape.com bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
rods%netscape.com 8c3c03fd7e enabling print progress
Bug 113917 r=dcone sr=attinasi
2001-12-21 01:25:16 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
mjudge%netscape.com 453a8f9235 moved file here from embedding for the build order issue. fixing bustage. 2001-12-18 02:40:08 +00:00
mjudge%netscape.com 50bfd9ef58 7868 api change for selection SetDisplayFlags in nsISelectionDisplay idl. r=saari bug bs=7868 2001-12-18 01:12:02 +00:00
jst%netscape.com 362692e337 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com. 2001-12-16 06:59:31 +00:00
sfraser%netscape.com 24653793a6 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:07:43 +00:00
rods%netscape.com c72800ef27 Initial check in for BUg 113917 (not in the build yet) 2001-12-14 22:40:12 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
jst%netscape.com 70c3c11153 We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com 2001-12-11 09:03:38 +00:00
hewitt%netscape.com 19bd06047a 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
peterv%netscape.com 9b4ac10992 Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst. 2001-11-30 09:50:25 +00:00
danm%netscape.com 8530850de6 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts 2001-11-16 02:03:19 +00:00
dbaron%fas.harvard.edu 88158430a4 Attempt to fix HP runtime bustage. b=83836 2001-11-11 20:46:42 +00:00
dbaron%fas.harvard.edu c25fe11d0f Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
jst%netscape.com 144090f3bb Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com 2001-11-03 08:13:48 +00:00
hyatt%netscape.com 19490453c9 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
brade%netscape.com 9ec46d28dc remove fileSpec, remove tabs, and change api to use nsIURI instead of nsIFile (bug #104883) 2001-11-01 15:26:27 +00:00
bzbarsky%mit.edu 27d3c2549e Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com d161575ba4 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com 2001-10-19 21:02:39 +00:00
dougt%netscape.com 942988df26 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu 21be92cac9 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu c13153fb53 Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
2001-10-19 13:50:30 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
peterv%netscape.com 8f39c146b9 Fix for bug 97687 ([serializer]cs/gecko: copying using keyboard shortcuts>paste>source pasted {Country=US}) r=heikki, sr=jst. 2001-10-02 10:02:07 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 5b28996bde Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
timeless%mac.com 4d364f1035 Bugzilla Bug 98929 Implementation of Content-Language in HTTP
patch by drepper@cygnus.com r=peterv sr=jst
2001-09-11 21:12:23 +00:00
alecf%netscape.com 298c713fa2 add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
pierre%netscape.com c164042a1e Bug 93371 (WRMB: Treat classes case insensitively in quirks mode). Back out ianh's patch in nsCSSParser.cpp and nsHTMLAttributes.cpp. Treat classes and IDs case insensitively as described in Bug 35522. r=glazman (+dbaron/jst) sr=hyatt 2001-09-07 00:23:37 +00:00
jst%netscape.com 797497c51d Fixing leaks introduced by my fix for 91241. Breaking circular namespace manager -> XUL element factory -> namespace manager reference that kept one namespace manager and one XUL and XML element factory alive. sr=jband@netscape.com 2001-09-06 06:18:31 +00:00
jst%netscape.com 7e2f925135 Fixing bug 91241. Don't use the service manager to get the element factory everty time it's needed, cache it per namespace id, we spent about 0.9% of startup getting the element factory service. r=dp@netscape.com, sr=rpotts@netscape.com 2001-09-05 04:20:54 +00:00
bzbarsky%mit.edu a0c586aa4f Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
dbaron%fas.harvard.edu be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu 5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
hyatt%netscape.com 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
jst%netscape.com fccc55b07b Fixing bug 95904. Comment changes only, patch mostly by drepper@cygnus.com. 2001-08-21 01:43:29 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
peterv%netscape.com 62ef4ca538 Fix for bug 73936 (xsl:include/xsl:import/document() doesn't work). r=Pike/sicking, sr=jst. 2001-08-02 20:29:20 +00:00
saari%netscape.com 2a7349540e fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
kin%netscape.com 907212d677 Fixes from kin@netscape.com and brade@netscape.com
for bug #86450: pasting plaintext into text area loses significant whitespace

    content/base/src/nsDocumentEncoder.cpp
        - Look for -moz-pre-wrap in the correct attribute ("style").

    editor/base/nsHTMLDataTransfer.cpp
    editor/base/nsPlaintextDataTransfer.cpp
        - Set the correct mime-type on the encoder and transfer data.
        - Pass correct init flags to encoder.

    layout/base/src/nsCopySupport.cpp
    layout/base/src/nsCopySupport.h:
        - Added IsPlainTextContext() method.
        - Modified HTMLCopy() to pass correct init flags and
          mime-type to the encoder during plaintext copy.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
2001-07-13 13:38:10 +00:00
jst%netscape.com 7ad971a08f Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com 2001-07-11 09:09:30 +00:00
harishd%netscape.com 7ef87f6bbd 40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
2001-07-05 22:20:34 +00:00
sicking%bigfoot.com e1c81db973 Precan the XSLT namespace in the namespace manager. b=84335, r=peterv, sr=jst 2001-06-26 11:31:54 +00:00
dbaron%fas.harvard.edu 9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
anthonyd%netscape.com 02eef931ca changes to comment, no code changes 2001-06-15 19:42:16 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
peterv%netscape.com 4d452fd30a Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann. 2001-05-30 19:17:42 +00:00
pollmann%netscape.com 1ac7a3715e Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-05-30 11:26:21 +00:00
jst%netscape.com 881ec0a39f Checking in vidur@netscape.com's fix for bug 81994 which caused scripts on webpages to be executed twice when calling DemoteContainer() in the html content sink. r=nisheeth@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org 2001-05-25 07:03:04 +00:00
pollmann%netscape.com c5ba0c1202 Bug 77834: Adding nsIContentList.h, not part of the build. 2001-05-22 03:40:56 +00:00
valeski%netscape.com 206a778ca4 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API. 2001-05-21 22:40:10 +00:00
jst%netscape.com 556608fe56 Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-05-19 07:02:50 +00:00
peterv%netscape.com d8dc78eb98 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
vidur%netscape.com d692a32b9a Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst 2001-05-17 05:54:16 +00:00
vidur%netscape.com db688702a4 Part of fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst 2001-05-17 05:20:51 +00:00
anthonyd%netscape.com 974e5cf01c comments for nsISelection.idl, nothing but comments being added, nothing to see here 2001-05-15 06:10:38 +00:00
jst%netscape.com f7460d0269 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. 2001-05-08 16:46:42 +00:00
heikki%netscape.com a009f495a9 Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur. 2001-04-30 23:35:09 +00:00
jfrancis%netscape.com 6561038a28 adding NSIRangeUtil implementation and interface to content so that folks outside of layout will have some way to compare dom points to ranges or other points. Groundwork for 65557, among others. r=fm; sr=kin 2001-04-28 12:02:14 +00:00
erik%netscape.com 4b8e61185d bug 75066; author=simon@softel.co.il; r=jst; sr=erik; diffs from IBM bidi
project (e.g. Arabic, Hebrew)
2001-04-12 23:35:24 +00:00
pollmann%netscape.com c109661ded Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-02 00:45:52 +00:00
hyatt%netscape.com 88ce9916be Fix for 73695. r=danm, sr=waterson 2001-03-29 01:30:03 +00:00
waterson%netscape.com 6021e0d2c0 Bug 71911. Fix MIPSpro bustage; patch courtesy John Vandenberg <zeroJ@null.net>. r=waterson, sr=shaver 2001-03-29 00:44:21 +00:00
valeski%netscape.com 169a5140b5 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
waterson%netscape.com d669429d9d Bug 71530. Implement RDF outliner. Break nsXULTemplateBuilder into two subclasses: nsXULContentBuilder and nsXULOutlinerBuilder. Explode helper classes into separate files. Fix ownership and communication between nsXULElement, nsXULDocument, and nsXULTemplateBuilder. r=hyatt, sr=ben 2001-03-23 10:56:18 +00:00
jst%netscape.com 62e88d8c15 Fixing bugs 64523, 50018, 57626, 59024, 61413 and probably others, making the document and form JS engine resolve hooks find what they're supposed to find, and nothing more, making the element-by-name and element-by-id lookup in the document be hashtable based to avoid walking the whole DOM tree over and over again when resolving names on the document object and also on form objects. This is an order of magnitude speedup for pages that contain a large number of form controls, such as hotmail and aol mail. Also did a bunch of cleanup here n' there. r=pollmann@netscape.com, sr=vidur@netscape.comI. 2001-03-22 08:51:52 +00:00
erik%netscape.com c5bd1e8ade bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
joki%netscape.com 8e53706e23 Fix 49120 (Force event handler compilation when properties accessed from JS) and 53640 (Fix event capture to work starting from text nodes) r:peterv, sr:jst 2001-03-13 11:37:16 +00:00
hyatt%netscape.com a540a46a90 Fix for 70704 and 71261. r=pierre, sr=attinasi 2001-03-13 02:34:02 +00:00
Peter.VanderBeken%pandora.be ddc5379649 Expose Reset from nsIDocument. r=jag, sr=jst. 2001-03-12 06:39:27 +00:00
heikki%netscape.com 2ced3d1826 Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson. 2001-03-08 02:41:16 +00:00
locka%iol.ie 79f80cf493 Removed some unused forward definitions, added documentation. b=64327 sr=vidur@netscape.com 2001-03-01 13:42:49 +00:00
cls%seawood.org 3580b1cac0 Adding and updating necessary .cvsignore files. Bug #61550 2001-02-24 06:22:49 +00:00
waterson%netscape.com 9fe59f23f0 Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
Peter.VanderBeken%pandora.be fc57601cdc Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com. 2001-02-19 17:51:42 +00:00
jst%netscape.com 86fcb5549b Removing unused file. 2001-02-19 13:14:10 +00:00
heikki%netscape.com 915749084a Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
heikki%netscape.com de35f432ad Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 11:56:40 +00:00
heikki%netscape.com de8d58f084 Checking in new files needed for layout split. Not part of the build yet. 2001-02-17 09:53:29 +00:00
hyatt%netscape.com 6d784c14e8 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
dbaron%fas.harvard.edu f17bd918ed Adding newline to end of file to fix HP bustage. 2001-02-15 15:22:22 +00:00
jfrancis%netscape.com fed9703e2b bug 50497: plaintext copy loses newlines on paste bug 57292: copy of table cell contents shouldn't copy cell bug 57170: some inline style not preserved across copy paste for all above: r=akkana; sr=sfraser 2001-02-15 13:22:26 +00:00
nhotta%netscape.com 198263a11a Changed to control entity (CER) generation by a document charset, bug 65324, r=jst, sr=vidur. 2001-02-13 01:00:14 +00:00
pollmann%netscape.com 26e414d3ed Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 05:46:46 +00:00
dbaron%fas.harvard.edu 1e046d05c0 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
dbaron%fas.harvard.edu b4301cc0a7 Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com 2001-01-25 14:19:38 +00:00
sfraser%netscape.com a0dda75954 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
akkana%netscape.com d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
jst%netscape.com f3491667e7 Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com 2001-01-07 03:06:19 +00:00
jst%netscape.com 3c2288e0b9 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
cmanske%netscape.com f731cf305a Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org c7984c2caa backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com b6319b5e1c Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage) 2000-12-20 03:15:16 +00:00
cmanske%netscape.com 3313e50daa Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin 2000-12-20 01:36:41 +00:00
locka%iol.ie 2b03ecf7c9 New encoder fixup helper interface. b=57996, r=jst 2000-11-30 01:08:22 +00:00
heikki%netscape.com 3870ddca29 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
jst%netscape.com 17691505d4 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst. 2000-10-11 22:50:14 +00:00
jst%netscape.com 6ea631e28c 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
2000-10-07 10:57:30 +00:00
Peter.VanderBeken%pandora.be 42e80d8d81 Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org. 2000-09-16 20:53:08 +00:00
mjudge%netscape.com e2be918716 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 2000-09-14 11:45:01 +00:00
mjudge%netscape.com d74f430c75 private interface for selection 2000-09-14 05:24:18 +00:00
mjudge%netscape.com 62b3714065 not in build yet. adding for beta3 bug on api change 2000-09-14 05:22:37 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jst%netscape.com 65092804c2 Adding new file, not part of the build. 2000-09-11 22:10:08 +00:00
jst%netscape.com ce95288e37 Adding character offsets to various methods. Not part of the build. 2000-09-10 00:09:14 +00:00
jst%netscape.com c552790c44 Whitespace changes, not part of the build. 2000-09-09 23:53:39 +00:00
jst%netscape.com 5234fdf91a Change interface to allow the implementation to be more efficient. Not part of the build. 2000-09-09 23:52:59 +00:00
vidur%netscape.com 5aa91138cd Removed unnecessary attribute serializer. This is not part of the build yet. 2000-09-09 22:03:58 +00:00
jst%netscape.com 78fa3435fb New file, not part of the build yet. 2000-09-09 21:47:23 +00:00
jst%netscape.com a29c8269e1 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
akkana%netscape.com 3c2341c61c 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
Peter.VanderBeken%pandora.be d41d21ad60 Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:35:19 +00:00
jst%netscape.com ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
nisheeth%netscape.com b65a3881e0 - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
mkaply%us.ibm.com 5004137c2d OS/2 and AIX Tinderbox break
I have no idea why we don't like having two semicolons in a row, but who the heck would put them there?
2000-08-12 20:26:33 +00:00
hyatt%netscape.com 8da2baf3ca Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan 2000-08-12 06:28:02 +00:00
anthonyd%netscape.com 940be572c5 bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe
2000-07-28 22:12:45 +00:00
mjudge%netscape.com 7317580268 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
valeski%netscape.com 175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
akkana%netscape.com 481b7a5c02 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.
2000-07-10 19:46:59 +00:00
vidur%netscape.com 17415ac9ff Fix for bug 31376. Just modifying an incorrect comment. 2000-06-23 22:23:37 +00:00
mjudge%netscape.com 976a8c3ec6 fix for 42188,42347 r=akkana . use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:01:19 +00:00
vidur%netscape.com 109a49d66d Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst 2000-06-21 23:56:52 +00:00
rbs%maths.uq.edu.au 26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
erik%netscape.com c23d6c3503 bug 32206; add charset observer methods; r=buster; a=ftang 2000-06-01 23:11:40 +00:00
hyatt%netscape.com 2bd2b3bce1 Fixing bugs in skin switching. 2000-05-27 20:03:14 +00:00
harishd%netscape.com 130caf11f0 Added DumpContent() triggered by parser [ for regression test ].
r=rickg
a=rickg
2000-05-26 19:45:32 +00:00
hyatt%netscape.com 21e5ef59a2 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
jst%netscape.com 930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
shaver%mozilla.org 2da0ab457d Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
jst%netscape.com cb9ed532cf More utility frunctions in nsINodeInfoManager. 2000-05-14 23:45:32 +00:00
jst%netscape.com 4b767ec567 Adding more utility functions to nsINodeInfo. 2000-05-14 18:34:35 +00:00
mjudge%netscape.com 320b76a769 exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them 2000-05-13 08:06:37 +00:00
jst%netscape.com f9fe8d6f06 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com f0dce37b28 Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
mjudge%netscape.com 55912eddb8 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. 2000-05-11 04:25:43 +00:00
nisheeth%netscape.com 2277ba5c45 Add support for loading an XML document from script within a XUL document also. 2000-05-10 23:02:32 +00:00
jst%netscape.com ee4b181034 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. 2000-05-10 13:13:39 +00:00
hyatt%netscape.com 334e31b473 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
jst%netscape.com 02a6c2e0e3 Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com 2000-05-08 14:29:44 +00:00
mjudge%netscape.com b0fb7f6753 tabbing 2000-05-08 04:00:26 +00:00
shaver%mozilla.org 54a1f23972 first part of ContentPolicy stuff (#37983, r=brendan) 2000-05-05 05:28:49 +00:00
nisheeth%netscape.com 7e37fb4356 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
mjudge%netscape.com 7e5a6b3cd7 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com 2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com 5709d8739f Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
anthonyd%netscape.com 815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
hyatt%netscape.com aa7305bcb3 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
nisheeth%netscape.com 0111dba11b Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:39:15 +00:00
mjudge%netscape.com 988739343b adding in new init methods for the new nsGeneratedContentIterator! 2000-03-31 07:14:02 +00:00
attinasi%netscape.com 1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
akkana%netscape.com 7a61aa1ec0 Fix an entity bug for Naoki: Japanese entities weren't being correctly
pasted.  This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug.  r=nhotta
2000-03-28 00:10:44 +00:00
mstoltz%netscape.com 319b923a3a Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
akkana%netscape.com 46ace3d54b 23980: convert relative href= and src= to absolute. r=sfraser 2000-03-22 01:33:59 +00:00
norris%netscape.com 0ac075877f Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris 2000-03-21 04:09:58 +00:00
nisheeth%netscape.com 77b74c100d r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
jst%netscape.com 872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
mjudge%netscape.com b32999a1de 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. 2000-02-10 04:35:51 +00:00
vidur%netscape.com e8157b30cb 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 2000-01-28 23:43:12 +00:00
norris%netscape.com 7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
nisheeth%netscape.com 22a5959edb Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
hyatt%netscape.com cd53596229 Adding an interface for the creation of elements. r=waterson 2000-01-19 03:09:12 +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
mjudge%netscape.com a2b920ea2f new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
mjudge%netscape.com b51f84b3de massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +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
akkana%netscape.com fcd5b16fd6 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
hyatt%netscape.com 7ab98f7f26 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +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
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
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
akkana%netscape.com e3cc1232e1 Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana 1999-11-03 03:08:04 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
mjudge%netscape.com 7d0e807931 massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
kipp%netscape.com b573d95fee r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements 1999-10-21 20:22:02 +00:00
peterl%netscape.com ed18a01643 Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp%netscape.com 15a0ec26fa r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
peterl%netscape.com a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com a3aede8c1c First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
kipp%netscape.com 3eaba4f422 Support SizeOf methods 1999-10-05 23:47:46 +00:00
norris%netscape.com 716e97dd9c Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
akkana%netscape.com de16d09cda Add OutputWrap flag, and add comments for the other flags 1999-09-29 20:17:51 +00:00
mgleeson1%netscape.com 1e66807868 fix for UNIX ports r=kipp, a=hofmann,kipp 1999-09-23 19:02:23 +00:00
kipp%netscape.com 6c23f4f233 Work around purify nonsense with bitfields 1999-09-22 00:38:57 +00:00
rpotts%netscape.com 69eebbead3 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
rpotts%netscape.com 032c26ba52 Added a missing NS_DEFINE_STATIC_IID_ACCESSOR... 1999-09-16 08:50:18 +00:00
harishd%netscape.com 57c84af12e Fixing build bustage...hopefully.
Missed a file
1999-09-15 18:28:10 +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
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
kipp%netscape.com b509ac661c Added in GetTextLength and CopyText methods for the MathML folks 1999-08-27 21:40:13 +00:00
sfraser%netscape.com 2e370244a4 No longer need a pres shell for the document encoder; remove it. 1999-08-25 21:42:20 +00:00
akkana%netscape.com ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
evaughan%netscape.com a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
mcafee%netscape.com 6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +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
akkana%netscape.com feb61c6d4c Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication 1999-07-19 22:41:49 +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
akkana%netscape.com a3fb11b98f 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.
1999-07-14 18:54:29 +00:00
peterl%netscape.com af351c6728 cleanup 1999-07-07 01:19:31 +00:00
peterl%netscape.com 35831e358b changed attribute impact api 1999-07-07 01:18:59 +00:00
waterson%netscape.com a9e63d1095 Add GetIID(). 1999-06-30 19:28:16 +00:00
akkana%netscape.com 66024861e2 - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
scc%netscape.com 4973918df6 Added |GetIID()| 1999-06-29 20:28:56 +00:00
warren%netscape.com 45b706bd8c Fixed necko ifdef. 1999-06-29 00:25:46 +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 bde10cf3a0 More necko changes. 1999-06-25 01:53:22 +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
akkana%netscape.com c91c3d0b61 Remove selection methods from nsIDocument -- they were bogus anyway, real selection lives in the pres shell 1999-06-22 21:47:45 +00:00
peterl%netscape.com 61dec32772 added UseForMedium (for faster medium testing) 1999-06-15 06:14:31 +00:00
peterl%netscape.com e5916cf43f added new create child namespace 1999-06-15 06:14:09 +00:00
peterl%netscape.com fa94e3b67e removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com 683648b5be 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
1999-06-10 00:35:02 +00:00
akkana%netscape.com 2b9b55f748 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com b80a790741 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
akkana%netscape.com fdb319aff9 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
peterl%netscape.com f645149863 changed style rule API to use array 1999-05-26 23:44:32 +00:00
peterl%netscape.com 3a5019cbfb added insert style sheet method 1999-05-18 23:02:25 +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
kipp%netscape.com 066324ed8b Moved from webshell directory 1999-05-06 19:25:10 +00:00
pinkerton%netscape.com 7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
ftang%netscape.com 2e97bf7dcc change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
scc%netscape.com f033719a36 Added required GetIID methods 1999-04-23 16:48:32 +00:00
peterl%netscape.com 04f5fc38c1 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
waterson%netscape.com 050221001c Added GetIID() method so this can be used with nsCOMPtr. 1999-04-12 18:08:43 +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
kipp%netscape.com a0ef7d0fd6 Added a new method 1999-03-27 01:20:02 +00:00
ftang%netscape.com 3af2e4fcc5 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp 1999-03-27 00:58:41 +00:00
jfrancis%netscape.com eaed4a3df3 exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface. 1999-03-23 11:54:52 +00:00
vidur%netscape.com 695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
scc%netscape.com 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com 006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
hyatt%netscape.com 271401155d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +00:00