712 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
2fbc7d38bb 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


git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00
bzbarsky%mit.edu
89492262a3 Build system changes for bug 83774. Enables the new code, but doesn't use it
yet.  r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139733 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 01:16:16 +00:00
bzbarsky%mit.edu
5861678ec0 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139643 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 04:09:24 +00:00
dbaron%dbaron.org
0346a5aa02 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277
git-svn-id: svn://10.0.0.236/trunk@139548 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:13:23 +00:00
dbaron%dbaron.org
2b52a19bb4 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277
git-svn-id: svn://10.0.0.236/trunk@139547 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:12:32 +00:00
bzbarsky%mit.edu
e522d41466 The time for this line hath not yet come. Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@139422 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 02:29:55 +00:00
bzbarsky%mit.edu
16b3162eea Make :target work for history loads too. Bug 197277, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139410 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 01:16:31 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
6f87b85c6b Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138693 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 05:47:36 +00:00
heikki%netscape.com
2486aaecbe Bug 165606, document.load throws wrong error code when security settings prevent load, r=mstoltz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138390 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 23:08:45 +00:00
bzbarsky%mit.edu
7e7bcd2eb7 Fix double-delete on error return. Bug 188729 stuff, r=sicking, sr=peterv, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137895 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 14:52:46 +00:00
sicking%bigfoot.com
c1c018c702 Bug 188729: Break refcounting-cycles during load.
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@136332 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 22:32:18 +00:00
dbaron%dbaron.org
19a9279a84 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
git-svn-id: svn://10.0.0.236/trunk@136266 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:10:53 +00:00
dbaron%dbaron.org
0653a5fa91 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
sicking%bigfoot.com
34e90f95bb Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@135885 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 14:55:13 +00:00
rbs%maths.uq.edu.au
bc2c3e42db No need to attempt to load mathml.css if not necessary, b=183866, r=heikki, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135358 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 22:22:12 +00:00
peterv%netscape.com
b3b291a3a0 Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@135132 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 15:06:40 +00:00
peterv%netscape.com
c369eaabd8 Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@135130 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:58:13 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
harishd%netscape.com
3c4e24e3c6 Avoid unnecessary string copies in nsFixPtr. b=169764, r=heikki, sr=peterv.
** Patch provided by jst@netscape.com **


git-svn-id: svn://10.0.0.236/trunk@135091 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 01:46:46 +00:00
peterv%netscape.com
496da7acfd Fix for bug 165532 (Disable cross-site loading of XSLT stylesheets by default). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@134676 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 09:20:43 +00:00
bzbarsky%mit.edu
c3731640d3 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.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
sicking%bigfoot.com
60b76c0448 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


git-svn-id: svn://10.0.0.236/trunk@134640 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 23:24:57 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
db4678c2f2 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@134395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 08:33:30 +00:00
darin%netscape.com
b59017f198 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134319 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 07:40:16 +00:00
jst%netscape.com
0fcfc0bc39 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
git-svn-id: svn://10.0.0.236/trunk@134285 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 23:53:06 +00:00
bzbarsky%mit.edu
d96d71689f Remove more dead code. bug 102437, r=heikki, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@133345 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 00:28:24 +00:00
bzbarsky%mit.edu
5cce5589b3 clean up some array stuff in nsDocument. Bug 177543, r=peterv, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133245 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 02:36:24 +00:00
bzbarsky%mit.edu
bb8abbf51f remove old cruft; view-source has not been XML in two years. Bug
102437, r=bbaetz, sr=heikki


git-svn-id: svn://10.0.0.236/trunk@133240 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 01:50:35 +00:00
sicking%bigfoot.com
f55387b5f5 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


git-svn-id: svn://10.0.0.236/trunk@132375 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 20:09:13 +00:00
sicking%bigfoot.com
6245eba57d 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


git-svn-id: svn://10.0.0.236/trunk@132357 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 05:28:36 +00:00
sicking%bigfoot.com
d8d0cac658 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


git-svn-id: svn://10.0.0.236/trunk@132337 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-21 21:35:23 +00:00
seawood%netscape.com
f9eb727003 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


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
heikki%netscape.com
5bee27e8e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@131749 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 00:38:29 +00:00
sicking%bigfoot.com
8e66ad6d8e 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


git-svn-id: svn://10.0.0.236/trunk@131580 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 07:03:15 +00:00
darin%netscape.com
e56625b347 fixes bug 170789 "HTTP Accept: header should be tailored to context of the
request" r=dougt sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@130569 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 04:22:13 +00:00
dbaron%fas.harvard.edu
c2de335afb Fix leaks from nsDocument::mPrincipal by making it an nsCOMPtr. b=170201 r=mstoltz sr=jst
git-svn-id: svn://10.0.0.236/trunk@130316 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 01:27:44 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
sicking%bigfoot.com
3ffbd92c7f Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@128818 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 06:57:25 +00:00
bzbarsky%mit.edu
d79855a0c1 nsIExpatSink changed... deal with that. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@128619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 11:57:35 +00:00
axel%pike.org
f078dbeb93 bug 156523, don't load alternate XSLT stylesheets, r=sicking, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@128440 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 06:53:59 +00:00
henry.jia%sun.com
d4a65691fd Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
Patch by leon.zhang@sun.com
r=Henry, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:29:58 +00:00
bzbarsky%mit.edu
91868318af Adding files for Load/Save. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@127440 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 02:05:22 +00:00
heikki%netscape.com
fbe40219c9 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.
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
peterv%netscape.com
31de3f5600 Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@126889 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 08:45:30 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
0fccde2c29 respect content-style-type HTTP header and support the <meta> tag in
XML.  Bug 161268, r=peterv, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@126516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:51:48 +00:00