74 Commits

Author SHA1 Message Date
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
sicking%bigfoot.com
df3526ebc0 Bug 174093: Make ExprParser out-of-memory safe.
r=Pike sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@134871 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 01:49:26 +00:00
axel%pike.org
c82618c0b3 bug 179537, fix baseURI and PR_LOG in xslt, r=peterv, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@133743 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 12:59:31 +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
peterv%netscape.com
947b301ed2 Part of fix for bug 155578 (branch for refactoring XSLTProcessor and interfaces). Remove unused context node argument. r=Pike, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@128554 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 12:43:53 +00:00
sicking%bigfoot.com
4e95691bba Fix whitespacehandling by looking for xml:space-attributes when needed and only when needed.
b=163856 r=Pike sr=bz


git-svn-id: svn://10.0.0.236/trunk@128227 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 04:13:18 +00:00
peterv%netscape.com
a5c621c75d Fix for bug 94456 (wrappers need performance increase, support conformance). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@127764 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 12:05:50 +00:00
peterv%netscape.com
3b230194dd Warning fixes. r=Pike, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@126753 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 12:30:02 +00:00
peterv%netscape.com
f21892e8db Landing TX_BRIDGE_1_1_BRANCH.
Rewrite pretty much all variable and parameter handling. Makes global and local variables be handled differently. Global variables are no longer part of the variables stack, and are lazily evaluated. Fixes bugs 117658, 92929 and some unfiled bugs and fixes remaining parts of bugs 83651 and 96802. Patch by sicking, r=Pike sr=bz.

Fix for bug 156464: fix rounding problems in module, allow patterns without any '0's in the integer part and fix problems with grouping for standalone. Patch by sicking, r=Pike sr=bz.

Fix for bug 157340 (Probable bugs in extensions/transformiix/source/base/txMozillaString.h). Patch by peterv, r=Pike, sr=bz.

Fix for bug 146967 (Clean up Transformiix strings). Patch by peterv, r=sicking, sr=jst.

Fix for bug 156464 (Remove static strings from Transformiix). Patch by peterv, r=Pike, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@126495 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 12:28:27 +00:00
sicking%bigfoot.com
5c0c3e89f7 Key template modes, template names, decimalformats, attributesets and keys on expanded name rather then qualified name.
b=96082 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@124940 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 05:04:24 +00:00
peterv%netscape.com
2cd6ed3ec9 Fix for bug 146967 (Clean up Transformiix strings). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@124492 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 14:15:01 +00:00
sicking%bigfoot.com
1bf6d687de Bug 88623: Remove the txList::iterator function and the ListIterator typedef
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@124134 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 23:09:13 +00:00
peterv%netscape.com
043c260894 Fix for bug 88623 (Cleanup Transformiix code). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@124094 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 12:42:13 +00:00
sicking%bigfoot.com
47a022a475 Remove obsolete and potentially harmfull ctor from ProcessorState.
b=88623 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@123858 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 01:27:40 +00:00
axel%pike.org
f1b78d408d bug 113611, XPath and XSLT contexts. fixes bugs 96410, 102293, 92106, 110266, 116534 and a bunch of other cases not filed. This mostly fixes namespaces and some really bad speed issues by fixing the time when namespaces are resolved, how default priorities are computed and how templates are matched.
HUGE PERFWIN :-)
r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@122650 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 05:00:31 +00:00
axel%pike.org
1ed849cbc2 bug 70855, add NSPR logging to transformiix, mere printf's for standalone. r=peterv, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@119389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 10:28:57 +00:00
sicking%bigfoot.com
02e68e1d98 Bug 96478. Change the use of getAttributeNode and getAttribute to getAttr
r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@115637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 09:19:54 +00:00
sicking%bigfoot.com
6265d66757 Speed up NodeSets by always keeping them in document order. Only sort when we get nodes in random order (such as for id()) or when merging NodeSets.
This removes the need for the sortByDocumentOrder function.

b=85893 r=Pike rs=jag


git-svn-id: svn://10.0.0.236/trunk@113703 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 14:22:34 +00:00
peterv%netscape.com
627640cc69 Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112688 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 13:38:51 +00:00
sicking%bigfoot.com
d34792caa9 Implementation of the xsl:apply-imports instruction.
b=94002 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@112168 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 10:37:00 +00:00
sicking%bigfoot.com
83d3186807 Hackarond to get namespacehandling in a little better shape. Now we always resolve namespaces against at least *some* node.
b=110266 r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@110282 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 20:54:50 +00:00
sicking%bigfoot.com
33dadb9240 Bug 95779 - Key cached expressions and patterns on node they appear in rather then string.
r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@107785 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 23:46:36 +00:00
sicking%bigfoot.com
09b20ef1df Bug 105979 - Cleanup NodeSetFunctionCall and Tokenizer classes
r=Pike,peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@107781 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 23:34:06 +00:00
sicking%bigfoot.com
608050c81c Make Double purly static. Fix some bugs and exactness problems in Double::toString and Double::toDouble. Remove the Integer class.
b=96143 r=Pike sr=scc


git-svn-id: svn://10.0.0.236/trunk@107295 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-04 23:27:23 +00:00
sicking%bigfoot.com
a6127eabfa Move document-order logic from DOMHelper to the Nodes. Kill the DOMHelper class since it's no longer needed.
Also fix an off-by-one error in the documentorder sorting routine.

r=Pike, peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@106951 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 14:32:14 +00:00
axel%pike.org
03728af7e3 bug 104042, plug leaks in variable code and import frames. checking in for sicking@bigfoot.com, r=me, peterv, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@106032 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 07:32:19 +00:00
sicking%bigfoot.com
9302ceb7d0 Support LRE stylesheets
b=104052 r=peterv rs=brendan


git-svn-id: svn://10.0.0.236/trunk@105498 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 11:57:52 +00:00
peterv%netscape.com
ebdf68cab6 Fix for bug 88623 (Cleanup Transformiix code). Removing some warnings, fixing txResultStringComparator::compareValues, adding isEmpty to our string class. r=sicking, r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@105492 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 09:26:59 +00:00
sicking%bigfoot.com
1c52e25eca Implement format-number() and <xsl:decimal-format>
b=65983 r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@105410 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 12:33:54 +00:00
sicking%bigfoot.com
6da57db490 Implement import precedence for attributesets, matchable templates, named templates and whitespace filtering.
b=83651 r=Pike, peterv, jst-review.pl sr=jst


git-svn-id: svn://10.0.0.236/trunk@104473 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:54:12 +00:00
peterv%netscape.com
2d8c635e96 Fix for bug 65858 (Rework XSLT sorting). r=sicking, Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@104106 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 12:58:57 +00:00
sicking%bigfoot.com
f46a1c678e Cleanup the generate-id() xpath function implementation.
b=101672 r=peterv, Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@103978 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:30:33 +00:00
sicking%bigfoot.com
b44d102f77 Make the XPath engine handle CDATA sections as text-nodes.
b=92786 r=peterv, pike sr=jst

Mixed small fixes and comments.
b=99792 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@103025 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:02:57 +00:00
axel%pike.org
45ecfc4658 bug 98704, kill ContextState|ProcessorState|DOMHelper::getParentNode, r=sicking, peterv; sr=jst
git-svn-id: svn://10.0.0.236/trunk@102864 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 09:23:44 +00:00
sicking%bigfoot.com
6cafa71f04 Implement xsl:import. This dosn't implement any import precedence but gives us the infrastructure to do so.
b=78068 r=peterv sr=shaver


git-svn-id: svn://10.0.0.236/trunk@102608 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 16:09:57 +00:00
sicking%bigfoot.com
5c701fdeff Fix default-priorities for patterns and priorities for templates.
b=84677 r=Pike sr=shaver


git-svn-id: svn://10.0.0.236/trunk@101359 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:42:16 +00:00
sicking%bigfoot.com
06d6d324d4 Fix crash by makeing sure that no Expr objects are deleted until the entire transform is done.
b=91332 r=Pike sr=shaver


git-svn-id: svn://10.0.0.236/trunk@101345 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:12:07 +00:00
axel%pike.org
13a975470e bug 54490, xsl:strip- and preserve-space need wildcards, r=sicking, peterv, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@100786 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 19:42:31 +00:00
peterv%netscape.com
718f5bc984 Fix for bug 73936 (xsl:include/xsl:import/document() doesn't work). r=Pike/sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@100223 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:29:20 +00:00
peterv%netscape.com
8a538c4480 Part of bug 88623 (Cleanup Transformiix code). Remove unnecesary comment lines, no code changes. r=Pike, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@98504 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 00:47:47 +00:00
sicking%bigfoot.com
81cadcb90b Rewrite of XPath Lexer and Parser. Also implement the remaining XPath features (Unary minus and processing-insruction(Literal)). Bug 75102.
Lexer changes by Pike, parser and expressionclasses changes by me.
r=peterv Pike(on my code) me(on pikes code), sr=jst


git-svn-id: svn://10.0.0.236/trunk@98365 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 13:54:38 +00:00
peterv%netscape.com
9171e652d7 Fix for bug 85548 (Move Transformiix to PRInt32/PRUint32), mostly search and replace. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@97947 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 14:10:28 +00:00
sicking%bigfoot.com
4f180f7ffc Implement <xsl:key> and the key() xslt function. Also extend the Map class to enable it to own either it's key-objects or it's value-objects, not just both.
b=65986, r=peterv,pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@97941 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 11:58:57 +00:00
sicking%bigfoot.com
22c58974aa Implement default templates using code rather then inserting them in the xslt-document DOM. bug 86270. r=peterv sr=jst a=asa (for drivers)
Also fix soon-to-be bustage from 72810 landing


git-svn-id: svn://10.0.0.236/trunk@97591 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 07:07:14 +00:00
margaret.chan%sun.com
84dab1b3e2 Bug 81161 - libtransformiix.so: symbol __1cDstdEcout_: referenced symbol not found. Patch provided mostly by peterv@netscape.com. Fixed by skipping all the cout calls. r=cls, sr=scc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97559 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:00:37 +00:00
peterv%netscape.com
0484b075cb Fix for bug 81414 (transformiix standalone won't build, MOZ_XSL->!TX_EXE). Code by Axel Hecht, r=peterv/cls, sr=scc, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@96817 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 16:45:36 +00:00
axel%pike.org
1586661037 Backing out fix for 81414, I have no idea what win is doing here
git-svn-id: svn://10.0.0.236/trunk@96807 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 12:55:01 +00:00
axel%pike.org
1fb49fa1e5 bug 81414, build standalone transformiix, MOZ_XSL->!TX_EXE, r=peterv,cls, sr=scc, a=dbaron (on behalf of drivers)
git-svn-id: svn://10.0.0.236/trunk@96804 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 11:30:48 +00:00
axel%pike.org
189fb5766d fix for 77889; item(k) -> getNextSibling; r/a=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94888 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 14:22:49 +00:00
peterv%netscape.com
21fb022a8b Fix for bug 71367 (use Node::getBaseURI to resolve relative urls for import and include). Not part of default build. Patch by sicking, r=me, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@92092 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 14:04:52 +00:00