742 Commits

Author SHA1 Message Date
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
ed003c2587 These files should be part of the build just yet.
git-svn-id: svn://10.0.0.236/trunk@128820 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 07:43:10 +00:00
sicking%bigfoot.com
817b04f093 Need these as well to build.
git-svn-id: svn://10.0.0.236/trunk@128819 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 07:26:02 +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
henry.jia%sun.com
148ed167a2 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +00:00
mstoltz%netscape.com
8946598190 Bug 152725 - Get URL passed to cookie module from document principal, not document URL.
THis ensures that cookies set by javascript URL pages are set in the correct domain.
r=morse, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@124514 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 17:58:24 +00:00
dbaron%fas.harvard.edu
7c4652cc16 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
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
peterv%netscape.com
473737daaa Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@123686 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 12:04:22 +00:00
mstoltz%netscape.com
3cba7a04ae 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@123373 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:54:18 +00:00
harishd%netscape.com
d043ec8b24 Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121993 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:46:16 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
peterv%netscape.com
f55dfe4eb5 Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119822 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 11:58:08 +00:00
heikki%netscape.com
0a3e483e19 Bug 137632, effectively back out bug 59774 for XML. Going back/forward in history positions us correctly with anchors again. r=radha, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119161 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:21:54 +00:00
heikki%netscape.com
e5db6b53ff Bug 136788, when going back and forth in history we still need to call StartLayout and EndLoad. Patch from peterv, r=jst, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@119008 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:53:58 +00:00
peterv%netscape.com
e6fea376e0 Fix for bug 135895 (XHTML <style> element not working). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@118851 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:24:32 +00:00
peterv%netscape.com
19d065539b Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr.
git-svn-id: svn://10.0.0.236/trunk@118245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 11:29:40 +00:00
bryner%netscape.com
301e41ca20 fix tinderbox orange caused by uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@118183 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 01:19:28 +00:00
radha%netscape.com
7d669b0814 Fix for bug 59774. Save scrollbar positions in sessionhistory when jumping from one anchor to another in a page. r=adamlock sr=alecf a=asa. Approved by ADT.
git-svn-id: svn://10.0.0.236/trunk@118146 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:10:10 +00:00
rbs%maths.uq.edu.au
0b3c5b285b 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
git-svn-id: svn://10.0.0.236/trunk@118125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 15:42:45 +00:00
seawood%netscape.com
d3763b0b64 Error 600: "nsXMLContentSink.cpp", line 793 # Type specifier is omitted; "int" is no longer assumed.
Fixing hpux tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@117641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 11:01:09 +00:00
jst%netscape.com
ac5bb875bc Checking in heikkki@netscape.com's fix for bug 93218, making the XML content sink process HTTP headers. r=harishd@netscape.com, sr=darin@netscape.com, a=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@117614 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:19:14 +00:00
sicking%bigfoot.com
4256d59c55 Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@117531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:13:57 +00:00
dbaron%fas.harvard.edu
8f2c550aff Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117347 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:46:13 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 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
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00