166 Commits

Author SHA1 Message Date
axel%pike.org
4fb40ae405 warning fix, r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@140687 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 08:00:00 +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
peterv%netscape.com
4869edd950 Removing obsolete code. r=sicking.
git-svn-id: svn://10.0.0.236/trunk@138944 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 12:50:23 +00:00
axel%pike.org
5fe9d894b6 bug 190499, xpath number 2 string conversion buggy for small numbers, changed implementation to use moz string api, r=sicking, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@137134 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 08:26:46 +00:00
peterv%netscape.com
95fb72189b Fix stupid error in last checkin.
git-svn-id: svn://10.0.0.236/trunk@136840 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 13:39:17 +00:00
peterv%netscape.com
cbe858b0cc 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@136808 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 04:27:59 +00:00
peterv%netscape.com
65bedbff6c Fix some warnings.
git-svn-id: svn://10.0.0.236/trunk@136796 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 04:00:19 +00:00
peterv%netscape.com
c593729f51 Fix for bug 74786 (String cleanup). Non-copying tokenizer. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136787 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:33:07 +00:00
peterv%netscape.com
b92e5ede69 Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136784 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:25:51 +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
peterv%netscape.com
2818aa9cf2 Fix for bug 74786 (String cleanup). Non-copying tokenizer. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136755 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 22:06:32 +00:00
axel%pike.org
118072a2cd not part of build, remove broken uri parsing from transformiix standalone
git-svn-id: svn://10.0.0.236/trunk@136728 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 14:12:11 +00:00
peterv%netscape.com
06049a405e Remove redundant line.
git-svn-id: svn://10.0.0.236/trunk@136662 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 12:54:25 +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
axel%pike.org
4bee99bdba bug 157142, remove transformiix standalone special code in favour of module nspr stuff, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@136647 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 21:48:08 +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
ddba650706 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@136524 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 14:09:42 +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
axel%pike.org
964e9908e7 bug 184086, number conversion in XSLT is LOCALE independent, r=sicking, sr=jag
git-svn-id: svn://10.0.0.236/trunk@136198 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-11 19:19:14 +00:00
peterv%netscape.com
9ef9b667e3 That shouldn't have gone in.
git-svn-id: svn://10.0.0.236/trunk@136022 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:44:35 +00:00
peterv%netscape.com
925853e46c Make final fix for bug 74786 (String cleanup) easier by simplifying the Transformiix DOM. r=sicking, sr=jst. r=Pike on the parts not part of the Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@136021 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:40:42 +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
05840e756e bug 157142, transformiix standalone should use XPCOM atoms. r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135520 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 13:45:06 +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
axel%pike.org
f79cd7bb75 backout 74786, gcc 2.96 sucks
git-svn-id: svn://10.0.0.236/trunk@135120 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 11:09:06 +00:00
axel%pike.org
bdc822f042 bug 74786, prepare for string cleanup, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135119 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 09:51:17 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
axel%pike.org
4befb464f0 bug 155578, refactor XSLTProcessor, landing trivial parts to make diff usefull. Function reordering in XSLTProcessor, txExpandedNameMap::remove, r=sicking, sr=bz
git-svn-id: svn://10.0.0.236/trunk@128449 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 08:34:48 +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
05ca9a5742 Fix for bug 163955 (Header cleanup for transformiix). r=sicking, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@127853 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 12:22:47 +00:00
sicking%bigfoot.com
68c5f24c91 Bug 94036: Rewrite implementation of xsl:number. Also implement errorhandling for txList and NS_ConvertASCIItoUCS2 for standalone.
r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@127651 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 22:16:09 +00:00
peterv%netscape.com
2f7532fe44 Fix warnings. r=Pike, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@127157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 12:48:27 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +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
9f524ba3a3 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126081 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:26:32 +00:00
sicking%bigfoot.com
c52d22c28d Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@125447 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:53:28 +00:00
peterv%netscape.com
76b49d7465 Temporarily disable the code that caused the slowdown in Txul, Tp and Ts. Bug 156452.
git-svn-id: svn://10.0.0.236/trunk@125297 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 15:46:39 +00:00
sicking%bigfoot.com
7ef44d6e76 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending


git-svn-id: svn://10.0.0.236/trunk@125294 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 13:09:15 +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
b6a46a5d60 Readding file that accidentaly got removed in a merge.
git-svn-id: svn://10.0.0.236/trunk@124505 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 16:59:05 +00:00
axel%pike.org
e46f8f1ce2 bustage fix for standalone, not part of build
git-svn-id: svn://10.0.0.236/trunk@124495 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 14:54:15 +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
aa5f72e822 Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@124095 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 13:17:12 +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
peterv%netscape.com
20ddec95d1 New files for bug 88623 (Cleanup Transformiix code). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@124090 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 10:37:02 +00:00