560 Commits

Author SHA1 Message Date
jst%netscape.com
08e9d026e0 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
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
sicking%bigfoot.com
64ce860e2a 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.


git-svn-id: svn://10.0.0.236/trunk@140310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 01:10:14 +00:00
alecf%netscape.com
f24ccb3da0 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


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
heikki%netscape.com
9ab0181236 Bug 139276, implement synchronous document.load(), r=jst, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@139954 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:22:52 +00:00
alecf%netscape.com
59c2bfe187 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.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
heikki%netscape.com
e1c2bcdb80 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.
git-svn-id: svn://10.0.0.236/trunk@139800 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 23:45:42 +00:00
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
heikki%netscape.com
d86954c63b Bug 198127, change cursor when on expander, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@139735 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 01:22:01 +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
heikki%netscape.com
e035273959 Bug 197966, minus sign did not change to plus when unexpanded, patch from sicking, r=jkeiser, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@139726 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 00:32:46 +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
heikki%netscape.com
0c8ee6766c Bug 185873, remove bad CSS rule that made us print only the first page of a pretty printed XML document, r=sicking, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@139393 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 19:54:17 +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
sicking%bigfoot.com
eb0c2ab401 Bug 195886: Adjust the prettyprint code to the fact that we don't target events at textnodes any more.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@138938 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 12:17:55 +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
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +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
caillon%returnzero.com
8eb8abf86c 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +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
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +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
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
bryner%netscape.com
b345c67a0c 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.
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +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