Commit Graph

519 Commits

Author SHA1 Message Date
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
sicking%bigfoot.com
4e99a9c765 Need these as well to build. 2002-09-04 07:26:02 +00:00
sicking%bigfoot.com
443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
bzbarsky%mit.edu
2ca6027e50 nsIExpatSink changed... deal with that. Not part of build. 2002-08-31 11:57:35 +00:00
axel%pike.org
1b155ee4fd bug 156523, don't load alternate XSLT stylesheets, r=sicking, sr=heikki 2002-08-29 06:53:59 +00:00
henry.jia%sun.com
227be5af9c 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
2002-08-19 04:29:58 +00:00
bzbarsky%mit.edu
12ba3fc7f0 Adding files for Load/Save. Not part of build. 2002-08-16 02:05:22 +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
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
seawood%netscape.com
301b1a4ca8 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
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
567fd42683 respect content-style-type HTTP header and support the <meta> tag in
XML.  Bug 161268, r=peterv, sr=dbaron.
2002-08-06 13:51:48 +00:00
henry.jia%sun.com
566036896f 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
2002-08-06 06:20:45 +00:00
jkeiser%netscape.com
4cc1b4cabf Add comments (bug 159065), r=sicking, sr=jst/bz, a=asa 2002-07-27 02:33:47 +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
mstoltz%netscape.com
6e12a5ca9f 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.
2002-07-02 17:58:24 +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
heikki%netscape.com
27bd54e7fe Bug 151933, xml:base should call CheckLoadURI like HTML base. r=harishd, sr=jst. 2002-06-24 19:53:50 +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
mstoltz%netscape.com
6f5d99be4c 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
2002-06-14 23:54:18 +00:00
heikki%netscape.com
00249d5998 Forgot to remove extra addref. 2002-06-14 23:19:59 +00:00
heikki%netscape.com
b461c2b1a3 Bug 151745, need to stabilize XPCOM object before using (prevents a crash in SVG). Patch from alex.fritze@crocodile-clips.com, r=peterv, sr=heikki. 2002-06-14 20:02:29 +00:00
heikki%netscape.com
3aa2bfb797 Bug 125583, disable automatic XLinks in mail, and make it so that pref dom.disable_open_during_load also disables all automatic XLinks that try to open in new window. r=harishd, sr=jst. 2002-06-14 18:52:16 +00:00
heikki%netscape.com
6acf10e067 Bug 132105, XLinks must pay attention to the popup prefs. r=harishd, sr=jst. 2002-06-04 20:24:37 +00:00
harishd%netscape.com
1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +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
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
alecf%netscape.com
9348ce8ac8 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
2002-04-29 20:29:54 +00:00
peterv%netscape.com
f1d35b4a9d Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst. 2002-04-25 11:58:08 +00:00
seawood%netscape.com
c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +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
heikki%netscape.com
fee3074107 Bug 137632, effectively back out bug 59774 for XML. Going back/forward in history positions us correctly with anchors again. r=radha, sr=jst. 2002-04-16 22:21:54 +00:00
heikki%netscape.com
6cf402c80c Bug 136788, when going back and forth in history we still need to call StartLayout and EndLoad. Patch from peterv, r=jst, sr=heikki. 2002-04-15 22:53:58 +00:00