218 Commits

Author SHA1 Message Date
peter%propagandism.org
982c84bfba Additional fix for bug 218756 (Update to latest DOM Level 3 XPath specification). r=Pike, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@147805 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 18:41:34 +00:00
peter%propagandism.org
9dda0d4b9c Rest of fix for bug 221387 (XPathExpression.createExpression doesn't throw NAMESPACE_ERR). r=Pike, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@147804 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 18:38:27 +00:00
sicking%bigfoot.com
07be961d9e Bug 218770: speed up sorting by using NS_QuickSort and reducing number of allocations.
r=Pike sr=peterv


git-svn-id: svn://10.0.0.236/trunk@147691 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 17:11:21 +00:00
axel%pike.org
89dc7ab032 fixup whitespace for bustage, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@147332 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 15:15:01 +00:00
neil%parkwaycc.co.uk
8f541768c0 Fix Pike's build bustage r=bsmedberg sr=bustage
git-svn-id: svn://10.0.0.236/trunk@147330 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 13:03:47 +00:00
axel%pike.org
8e328f2600 bug 206445, nsresult based error reporting in XPath expression parser and lexer, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147326 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 12:32:42 +00:00
peter%propagandism.org
ab75ca10cf Fix for bug 218756 (Update to latest DOM Level 3 XPath specification). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@146840 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:04:15 +00:00
bryner%brianryner.com
101a9e4e72 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
sicking%bigfoot.com
92a3bdc409 Bug 205703: Reduce binarysize by not inlineing ExprResult::Release.
r/sr=peterv


git-svn-id: svn://10.0.0.236/trunk@145628 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 21:34:17 +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
sicking%bigfoot.com
1813c2a50b Backing out patch from bug 210528 to fix ports bustage
git-svn-id: svn://10.0.0.236/trunk@144293 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 20:11:13 +00:00
sicking%bigfoot.com
9d78e45465 Bug 210528: Modernize XPath-classes to use nsAutoPtr
r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@144280 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 18:44:22 +00:00
sicking%bigfoot.com
5f5a943690 Bug 209667: Make it possible to hold an nsRefPtr to a class that lacks an empty ctor. I'll back this out if it breaks any ports.
r=jag sr=dbaron on the nsCOMPtr.h part
r=Pike sr=peterv on the transformiix part


git-svn-id: svn://10.0.0.236/trunk@143941 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 18:21:39 +00:00
sicking%bigfoot.com
5c31368707 Attempt at fixing ports bustage
git-svn-id: svn://10.0.0.236/trunk@143795 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 15:49:25 +00:00
sicking%bigfoot.com
91727cadd0 Try to fix build bustage and also fix a couple of new warnings.
git-svn-id: svn://10.0.0.236/trunk@143778 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 23:50:40 +00:00
sicking%bigfoot.com
3a8ac80259 Bug 205703: Refcount Expr-results, to avoid cloning, and recycle them, to avoid memorymanagement.
r=Pike sr=peterv


git-svn-id: svn://10.0.0.236/trunk@143775 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 22:31:20 +00:00
aaronl%netscape.com
290c0f8aa6 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +00:00
peterv%netscape.com
9c8b55b39a Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@142943 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 13:46:20 +00:00
peterv%netscape.com
5dd2a2b2ac Fix for bug 203978 (Invalid read of size 4 const nsString FunctionCall::INVALID_PARAM_VALUE(NS_LITERAL_STRING("invalid parameter value for function: "));). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@142941 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 12:30:32 +00:00
sicking%bigfoot.com
b2bcab5b4b Bug 203384: When no document has been set in the nsXPathEvaluator we should be case sensitive.
r=peterv sr=heikki a=asa


git-svn-id: svn://10.0.0.236/trunk@142377 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 19:00:06 +00:00
sicking%bigfoot.com
3a23086c46 Bug 203229: Use strings better by using existing stringobjects inside ExprResults if one exists.
r=Pike sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@142227 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 19:54:39 +00:00
axel%pike.org
1c79395044 bug 204456, remove #defined errorcodes, r=sicking, sr=peterv, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142165 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-06 07:35:23 +00:00
heikki%netscape.com
859a062c5f Bug 203384, document could be null, for example when calling from XPointer processor, patch from jst, r=sicking, sr=heikki, a=asa.
git-svn-id: svn://10.0.0.236/trunk@141945 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 20:46:24 +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
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
57fca16e25 Fix comments.
git-svn-id: svn://10.0.0.236/trunk@140654 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 20:37:17 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +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
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
peterv%netscape.com
2ab9ec4493 Fix for bug 179720 (implement real result tree fragments). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@139326 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 14:07:30 +00:00
sicking%bigfoot.com
a44b5b66ff fix bustage
git-svn-id: svn://10.0.0.236/trunk@137897 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 15:43:54 +00:00
sicking%bigfoot.com
cb25c0f155 Bug 193586: Fix reference-cycle in nsXPathEvaluator->document->nsXPathEvaluatorTearoff
r=peterv sr=jst a=dbaron


git-svn-id: svn://10.0.0.236/trunk@137894 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 14:30:03 +00:00
sicking%bigfoot.com
37c5c969e9 Bug 174713: Make XPath on HTML documents behave consistently and HTML-ish. This makes the XPath-functions name() and local-name() return upper-case names and makes nametests case-insensitive.
r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@137794 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 00:59:40 +00:00
sicking%bigfoot.com
d7cc2320cf Bug 190628: Make some string-functions behave according to spec when second argument is an empty-string.
r=Pike sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@137100 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 01:01:05 +00:00
peterv%netscape.com
fc3af3e754 Fix for bug 157142 (link transformiix standalone to XPCOM). Make resolveQName take nsIAtom**. r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136786 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:31:45 +00:00
peterv%netscape.com
e782da7ad8 Fix for bug 157142 (link transformiix standalone to XPCOM). Better txStack and remove use of NamedMap for documents. r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136783 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:24:40 +00:00
peterv%netscape.com
2785d19081 Fix for bug 74786 (String cleanup). Non-copying tokenizer. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136765 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 00:04:08 +00:00
sicking%bigfoot.com
7ed1750027 Remove txAtom.h and remove uses of special tx-macros for atoms.
b=157142 r=Pike sr=peterv


git-svn-id: svn://10.0.0.236/trunk@136648 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 23:17:13 +00:00
sicking%bigfoot.com
4e8212e9c8 Bug 157142: get rid of txAtom typedef
r=Pike rs=peterv


git-svn-id: svn://10.0.0.236/trunk@136564 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 00:37:12 +00:00
peterv%netscape.com
bde6e9fce5 Fix for bug 74786 (String cleanup). Remove Transformiix string wrappers. r=sicking, sr=jst. r=Pike on the Transformiix standalone parts.
git-svn-id: svn://10.0.0.236/trunk@136510 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:49:20 +00:00
dbaron%dbaron.org
f5b5bace95 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@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
peterv%netscape.com
77250f9370 Rename Transformiix string API to be in synch with Mozilla's. Part of bug 74786 (String cleanup). r=sicking, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@135523 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 15:18:35 +00:00
axel%pike.org
6a9a4c017e bug 157142, link transformiix standalone to xpcom, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135459 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 10:03:23 +00:00
sicking%bigfoot.com
fda411b22c Bug 184362: kill nsISupportsArray in transformiix
r=bz sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135089 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 01:22:37 +00:00
sicking%bigfoot.com
445a3477d8 Bug 181803: Invalidate nsXPathResult when the nodevalue of a node is changed.
r=Pike sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@134903 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 19:54:46 +00:00
sicking%bigfoot.com
e1b830d3a7 backing out. Didn't mean to hit the commit-button
git-svn-id: svn://10.0.0.236/trunk@134899 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 17:49:27 +00:00