Commit Graph

853 Commits

Author SHA1 Message Date
alex%croczilla.com
1fce2c4058 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
a4d8e15629 Fix some IsFocusable methods to do the right thing. Bug 261707, r=aaronl, sr=jst 2004-10-07 01:15:40 +00:00
bzbarsky%mit.edu
e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu
f440132946 Make the XUL content sink store the right namespace for "xmlns" attributes.
Bug 256165, r=peterv, sr=jst
2004-09-16 18:38:07 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
dbaron%dbaron.org
9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
gerv%gerv.net
ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
peterv%propagandism.org
8d23023aab Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
peterv%propagandism.org
45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
e628e82cc1 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
cbiesinger%web.de
da701f865c Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
r+sr=bz
2004-07-17 21:45:37 +00:00
jst%mozilla.jstenback.com
23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
jst%mozilla.jstenback.com
e3726ac002 Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org 2004-07-15 05:24:40 +00:00
tor%cs.brown.edu
be84fdf585 Bug 235826 - <svg:script> implementation.
Patch by alex@croczilla.com, r=sicking, sr=jst
2004-07-06 22:52:03 +00:00
cbiesinger%web.de
2bb5f1d3a1 replace EqualsWithConversion by EqualsLiteral where possible
bug 248687 r+sr=roc
2004-06-26 14:32:11 +00:00
peterv%propagandism.org
a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu
a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com
2416426a01 Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu 2004-05-18 20:58:12 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
peterv%propagandism.org
752b71ca12 Correct comments (mozilla/htmlparser -> mozilla/parser/htmlparser). 2004-05-05 14:08:34 +00:00
bzbarsky%mit.edu
32a4619a53 Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
silver%warwickcompsoc.co.uk
022d627b12 Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
r+sr=bzbarsky
2004-05-02 19:48:54 +00:00
jst%mozilla.jstenback.com
77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bzbarsky%mit.edu
6dbe4b7af8 Pretttyprinted "special root" documents shouldn't load styleshets or execute
scripts.  Bug 230579, r=sicking, sr=peterv
2004-04-20 17:12:48 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu
1a3232906d Clear the namespace stack on a well-formedness error, since we're clearing our
state then.  Bug 239546, r=sicking, sr=peterv
2004-04-14 19:31:33 +00:00
jst%mozilla.jstenback.com
3b9482b945 Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org. 2004-04-13 03:21:50 +00:00
sicking%bigfoot.com
9614803598 Bug 238327: Implement the svg:style element.
Changes to svg-only files r=afri  (not part of build)
Changes to transformiix files r=peterv sr=jst
Changes to other files r/sr=jst
2004-04-12 23:21:42 +00:00
sicking%bigfoot.com
386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
4d12ed012a De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
sicking%bigfoot.com
a24b8a0c5a Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
bzbarsky%mit.edu
80f670494e Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
up to nsDocument so they're available in XHTML documents.  Bug 69840, r+sr=jst
2004-03-02 22:39:46 +00:00
bryner%brianryner.com
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu
b760cf0139 Reset ourselves to the new URI when doing a Load(), instead of resetting to
null.  Bug 233952, r+sr=jst
2004-02-19 23:10:47 +00:00
bzbarsky%mit.edu
ec51aa8877 Remove redundant CheckLoadURI function in nsXMLElement. Bug 41907, r+sr=jst 2004-02-19 21:51:10 +00:00
sicking%bigfoot.com
99077ffa6f Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst
2004-02-10 19:36:43 +00:00
peterv%propagandism.org
713c734ef8 Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst. 2004-02-10 10:58:13 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
dbaron%dbaron.org
96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
hpradhan%hotpop.com
51b35949b2 bug 229575 : refactor some code that was common between
the xml and html content sinks into nsContentSink
r=sicking sr=jst
2004-01-28 12:14:17 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
bzbarsky%mit.edu
cdb84804de Move the methods for handling inline style and attribute style sheets up to
nsDocument.  Bug 230947, r+sr=jst
2004-01-22 03:35:09 +00:00
peterv%propagandism.org
fbd88a1d66 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst. 2004-01-18 11:59:21 +00:00
sicking%bigfoot.com
7dae6dd93c Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst
2004-01-15 17:07:27 +00:00
caillon%returnzero.com
107a86d7ae Correcting the usage of mozAutoDocUpdate here, see bug 230283.
r+sr=bzbarsky over irc.
2004-01-15 03:18:03 +00:00
timeless%mozdev.org
ece20662c7 Bug 229804 CSS Errors in content/x?l/tests
patch by bc@bclary.com r=heikki sr=dbaron
2004-01-15 03:08:01 +00:00
bzbarsky%mit.edu
8093efd14c Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu
15a648ab14 Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
bzbarsky%mit.edu
d8cae3fdfb Don't leave garbage on the namespace stack in failure cases. Bug 230360,
r=sicking, sr=jst
2004-01-10 21:43:32 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
jst%mozilla.jstenback.com
277869dd27 Fixing bug 230283. Don't notify the document about insertion of the document element when there is no document element. r=jonas@sicking.cc, sr+a=dbaron@dbaron.org. 2004-01-09 22:55:13 +00:00
bzbarsky%mit.edu
dc81cddb5d Make sure to not leave bogus namespaces on the stack. Bug 230236, r+sr=jst 2004-01-08 04:25:43 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
hpradhan%hotpop.com
40d0360227 backing out last two checkins since they had no effect on Tp 2003-12-24 13:43:25 +00:00
hpradhan%hotpop.com
7384e4cf47 bug 229163 : One more attempt to try and fix perf regression r=sicking sr=jst 2003-12-24 11:03:19 +00:00
hpradhan%hotpop.com
e77142b163 bug 229163 : Going back to using an nsISupportsArray
to try and fix perf regression r=sicking sr=jst
2003-12-24 07:45:06 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
sicking%bigfoot.com
d18fc01d4d Bug 228124: Deal with documents without root-element in xml prettyprinter.
Patch by jst. r=me sr=bz
2003-12-16 19:33:09 +00:00
jst%mozilla.jstenback.com
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
bryner%brianryner.com
823f2f2aa7 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
peter%propagandism.org
84dc28afc8 Additional fix for bug 224313 (). 2003-11-03 09:18:29 +00:00
peter%propagandism.org
284bcfd09e Fix for bug 223751 (documentType's nodeValue should be null). r/sr=jst. 2003-10-30 12:24:28 +00:00
caillon%returnzero.com
150adb2e29 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu
75c3e6a121 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com
66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
44da342b5c Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
bzbarsky%mit.edu
e6c035f551 Make XML prettyprinting work again. Bug 222539, r=sicking, sr=peterv 2003-10-20 19:33:46 +00:00
sicking%bigfoot.com
e97fb73528 Bug 199613: Don't put textnodes in the root of the document when parsing XML and XUL since the DOM doesn't allow that.
r=peterv sr=jst
2003-10-15 20:10:47 +00:00
bzbarsky%mit.edu
90bce6cd8e Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
hpradhan%hotpop.com
f237380c43 still bug 218837 : backing out all the backouts. they did not work. 2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com
b83defcb1a One final attempt to fix Tp regression from bug 218837 2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com
ad3f361692 bug 218837 : Refactor some code duplicated in the xml and html
content sinks into a base class r=sicking sr=peterv
2003-10-05 07:29:50 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
9d984dc99a Fix GetID to not try to get attrs in unknown namespaces. Bug 220027, r=peterv, sr=jst 2003-09-24 13:22:09 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bryner%brianryner.com
2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
caillon%returnzero.com
f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
pete%alphanumerica.com
764a4bb15c backing out changes. It is breaking Camino
b=216646

--pete
2003-08-19 13:52:41 +00:00
pete%alphanumerica.com
26f8f671c5 b=206947 r=heikki sr=jst
Fixing "rampant leaks" when handing the sink to the parser when there
is no docshell present.

--pete
2003-08-18 19:02:58 +00:00
roc+%cs.cmu.edu
0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
peter%propagandism.org
7ad65ca897 Fix for bug 215117 (SetRootContent handling in nsXMLContentSink is rotten). r=Pike, sr=jst. 2003-08-05 19:34:04 +00:00
hjtoi%comcast.net
dacfce48bc Bug 214381, incorrect characters in prettyprint dtd, patch from vberon@mecano.gme.usherb.ca, r=smontagu, sr=heikki (me). 2003-08-01 16:58:18 +00:00
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
d9a8191591 Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst 2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu
61f21f8dac Last checkin accidentally reversed the sense of the aContent test; fixing that. 2003-07-29 07:37:48 +00:00
jst%netscape.com
cacb22d3cf Fixing bug 209717. Making document.load() use the caller's URI as the base URI. r=caillon@aillon.org, sr=hjtoi-bugzilla@comcast.net 2003-07-28 23:12:46 +00:00
bzbarsky%mit.edu
e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
sicking%bigfoot.com
ce8e39f85e Fix build bustage 2003-07-25 22:41:05 +00:00
sicking%bigfoot.com
288231e8cf Bug 190305: Make xml prettyprinting localizeable. Patch by vberon@mecano.gme.usherb.ca
r=sicking, Pike sr=bz
2003-07-25 22:11:19 +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
caillon%returnzero.com
91b7c60bee Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
4e7c966d11 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
dbaron%dbaron.org
47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com
9819e5e8fa Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
caillon%returnzero.com
7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
mkaply%us.ibm.com
18a2437f46 #212695
r=sicking, sr=bzbarsky
Make scrolling to anchors work the first time in chrome XHTML
2003-07-16 20:15:46 +00:00
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +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
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
49a70c351d Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst
2003-07-03 05:34:26 +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
bzbarsky%mit.edu
fd57f310f1 Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
jst%netscape.com
5132df367b Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me. 2003-06-25 23:59:34 +00:00
bzbarsky%mit.edu
3906cefb0c Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
alecf%flett.org
10e1d18eaf fix for bug 209780 - do UTF16->UTF8 conversion outside the recursion, so that we don't constantly convert the string we're looking for
r=dbaron, sr=jst
2003-06-23 18:32:10 +00:00
jst%netscape.com
947ba67a9d Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org. 2003-06-21 00:26:28 +00:00
bryner%netscape.com
97504df874 Remove unused content code. Bug 207021, r=jst, sr=alecf. 2003-06-17 17:53:06 +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
7a80f56a23 209583 - Fix a regression where XMLDocument.getElementByID() was broken
r+sr=bzbarsky
2003-06-16 21:47:16 +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
bzbarsky%mit.edu
2d8c24058a Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
darin%netscape.com
41280f92f9 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
jst%netscape.com
838e624f93 Removing unused file that should have been removed with the checkin for bug 199399. 2003-04-25 07:15:05 +00:00
heikki%netscape.com
02957c1efe This change shouldn't have gone in. Anyway, this is not part of the build. 2003-04-23 00:09:18 +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
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
heikki%netscape.com
2e4c9751c1 Bug 201131, provide an alternative, monospaced pretty print style, r=sicking, sr=jst. 2003-04-17 18:41:09 +00:00
dbaron%dbaron.org
3232789770 Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst 2003-04-09 21:16:39 +00:00
heikki%netscape.com
b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
alecf%netscape.com
bff73e5ad2 fix for bug 199503 - consolidate layout atoms into the main layout atom lists
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
heikki%netscape.com
2fcfad024a Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin. 2003-04-02 21:44:39 +00:00
axel%pike.org
5a4b07d901 bug 199484, xml pretty printing regressed, fix the contract ID for XSLT document transformer, r/sr=peterv 2003-04-01 19:50:42 +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
sicking%bigfoot.com
d3b6d8390a Compiled XSLT stylesheets. Improves speed, implements forwards-compatible-parsing and handling of unknown extension-elements. Also fixes some random edgecasebugs such as recursive merged named-attribute-sets and empty strings in copy-of.
Patch mainly by sicking, but large parts also by Pike and peterv.

Tracker is bug 185797. r=Pike/sicking rs=peterv.
2003-03-26 01:10:14 +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
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
heikki%netscape.com
7546a28ccf Bug 139276, implement synchronous document.load(), r=jst, sr=darin. 2003-03-21 19:22:52 +00:00
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +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
2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
heikki%netscape.com
74aeae05a2 Bug 198127, change cursor when on expander, r+sr=bzbarsky. 2003-03-19 01:22:01 +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
heikki%netscape.com
87762f8831 Bug 197966, minus sign did not change to plus when unexpanded, patch from sicking, r=jkeiser, sr=bzbarsky. 2003-03-19 00:32:46 +00:00
bzbarsky%mit.edu
8c4fcee132 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron
2003-03-18 04:09:24 +00:00
dbaron%dbaron.org
45a2292829 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:13:23 +00:00
dbaron%dbaron.org
156161466a Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:12:32 +00:00
bzbarsky%mit.edu
83e88b0845 The time for this line hath not yet come. Fix build bustage. 2003-03-14 02:29:55 +00:00
bzbarsky%mit.edu
caefc412a3 Make :target work for history loads too. Bug 197277, r+sr=dbaron 2003-03-14 01:16:31 +00:00
heikki%netscape.com
7e49ea37d5 Bug 185873, remove bad CSS rule that made us print only the first page of a pretty printed XML document, r=sicking, sr=dbaron. 2003-03-13 19:54:17 +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
5cb0c35587 Bug 195886: Adjust the prettyprint code to the fact that we don't target events at textnodes any more.
r/sr=bz
2003-03-05 12:17:55 +00:00
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
heikki%netscape.com
e37c900518 Bug 165606, document.load throws wrong error code when security settings prevent load, r=mstoltz, sr=peterv. 2003-02-24 23:08:45 +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
bzbarsky%mit.edu
78eed0300d Fix double-delete on error return. Bug 188729 stuff, r=sicking, sr=peterv, a=dbaron 2003-02-17 14:52:46 +00:00
sicking%bigfoot.com
89c3e94d25 Bug 188729: Break refcounting-cycles during load.
r=peterv sr=bz
2003-01-14 22:32:18 +00:00
dbaron%dbaron.org
1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
dbaron%dbaron.org
098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +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
rbs%maths.uq.edu.au
3169fbb948 No need to attempt to load mathml.css if not necessary, b=183866, r=heikki, sr=bzbarsky 2002-12-16 22:22:12 +00:00
peterv%netscape.com
3e0b9a5864 Bustage fix. 2002-12-11 15:06:40 +00:00
peterv%netscape.com
8788097e61 Bustage fix. 2002-12-11 14:58:13 +00:00
peterv%netscape.com
d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
harishd%netscape.com
c9b70ccd8e Avoid unnecessary string copies in nsFixPtr. b=169764, r=heikki, sr=peterv.
** Patch provided by jst@netscape.com **
2002-12-11 01:46:46 +00:00
caillon%returnzero.com
342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
peterv%netscape.com
6b7553595b Fix for bug 165532 (Disable cross-site loading of XSLT stylesheets by default). r=sicking, sr=bz. 2002-12-03 09:20:43 +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
sicking%bigfoot.com
4ef08f6409 Bug 169124: Make the XSLT contentsink create generic xml-elements for all elements to get around limitations with xhtml elements. Also do some cleaning in the XML contentsink.
r=harishd sr=peterv
2002-12-02 23:24:57 +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
b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
darin%netscape.com
d9541f875d fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +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
bzbarsky%mit.edu
ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +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
bzbarsky%mit.edu
c6779ecae9 Remove more dead code. bug 102437, r=heikki, sr=rbs 2002-11-08 00:28:24 +00:00
bzbarsky%mit.edu
38fa7c0f02 clean up some array stuff in nsDocument. Bug 177543, r=peterv, sr=alecf 2002-11-07 02:36:24 +00:00
bzbarsky%mit.edu
065318d040 remove old cruft; view-source has not been XML in two years. Bug
102437, r=bbaetz, sr=heikki
2002-11-07 01:50:35 +00:00
sicking%bigfoot.com
8778c5ff12 Bug 158457: Properly call StartDocumentLoad when loading XSLT stylesheets and let that deal with stopping scripts and stylesheets from being loaded instead of manually stopping that in the XSL contentsink.
r=harishd sr=peterv a=asa
2002-10-22 20:09:13 +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
sicking%bigfoot.com
e5c6aaae8b Landing XSLT branch. Tracking bug is 155578, fixes bugs 46633, 54659, 73492, 70369, 85408, 90157, 130161, 109918, 150916 and 170097
* New scriptable interfaces to XSLT
* Make HTML-output create real html
* cleanup the XSLTProcessor class

Patch by sicking, pike and peterv

r=sicking/pike, sr=peterv, a=asa
2002-10-21 21:35:23 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +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
dbaron%fas.harvard.edu
29c30c5f3e Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
darin%netscape.com
71bb3b05de fixes bug 170789 "HTTP Accept: header should be tailored to context of the
request" r=dougt sr=bzbarsky
2002-09-27 04:22:13 +00:00
dbaron%fas.harvard.edu
c47e593427 Fix leaks from nsDocument::mPrincipal by making it an nsCOMPtr. b=170201 r=mstoltz sr=jst 2002-09-24 01:27:44 +00:00
hyatt%netscape.com
e8710c1495 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
sicking%bigfoot.com
f224a6be00 These files should be part of the build just yet. 2002-09-04 07:43:10 +00:00