Commit Graph

626 Commits

Author SHA1 Message Date
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