451 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
d297060662 #212695
r=sicking, sr=bzbarsky
Make scrolling to anchors work the first time in chrome XHTML


git-svn-id: svn://10.0.0.236/trunk@144903 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-16 20:15:46 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
7b2fed7678 Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144421 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 05:34:26 +00:00
jst%netscape.com
12e6402a4b Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me.
git-svn-id: svn://10.0.0.236/trunk@144168 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 23:59:34 +00:00
bzbarsky%mit.edu
63ed4e4cd2 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


git-svn-id: svn://10.0.0.236/trunk@144079 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:20:40 +00:00
alecf%flett.org
30f0244a1c 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


git-svn-id: svn://10.0.0.236/trunk@144059 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 18:32:10 +00:00
jst%netscape.com
45f72e0474 Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
git-svn-id: svn://10.0.0.236/trunk@144012 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:26:28 +00:00
alecf%flett.org
71e5d724e5 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


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 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


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
alecf%flett.org
1c89787dc0 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


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
bzbarsky%mit.edu
636fa48493 Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@142936 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:49:22 +00:00
darin%netscape.com
1d9c4bbeb7 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00
jst%netscape.com
04fa5631ab Removing unused file that should have been removed with the checkin for bug 199399.
git-svn-id: svn://10.0.0.236/trunk@141800 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 07:15:05 +00:00
heikki%netscape.com
7d903cec11 Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@141640 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 00:07:37 +00:00
jst%netscape.com
4fac069d27 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141626 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 21:57:25 +00:00
jst%netscape.com
4132f747e7 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
git-svn-id: svn://10.0.0.236/trunk@141424 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:28:09 +00:00
heikki%netscape.com
543e87012a Bug 201131, provide an alternative, monospaced pretty print style, r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@141324 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:41:09 +00:00
dbaron%dbaron.org
ad3dfeb1ed Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst
git-svn-id: svn://10.0.0.236/trunk@140927 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:16:39 +00:00
heikki%netscape.com
40aa3e1b20 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@140645 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 18:57:33 +00:00
heikki%netscape.com
32f4994ba0 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.
git-svn-id: svn://10.0.0.236/trunk@140600 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:44:39 +00:00
axel%pike.org
c9fcbf8464 bug 199484, xml pretty printing regressed, fix the contract ID for XSLT document transformer, r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@140499 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:50:42 +00:00
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
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