Граф коммитов

10050 Коммитов

Автор SHA1 Сообщение Дата
peterv%netscape.com c09d266bf1 Part of fix for bug 155578 (branch for refactoring XSLTProcessor and interfaces). Cleanup only to ease branch landing, no functional changes. r=Pike, rs=jst. 2005-11-02 07:38:38 +00:00
peterv%netscape.com d7f4cd7d8a Fix for bug 163955 (Header cleanup for transformiix). r=sicking, rs=jst. 2005-11-02 07:38:37 +00:00
sicking%bigfoot.com ac6b4f1df4 Bug 181803: Invalidate nsXPathResult when the nodevalue of a node is changed.
r=Pike sr=peterv a=asa
2005-11-02 07:38:36 +00:00
sicking%bigfoot.com 1f79a0be97 backing out. Didn't mean to hit the commit-button 2005-11-02 07:38:35 +00:00
sicking%bigfoot.com ee5e2ac00b *** empty log message *** 2005-11-02 07:38:34 +00:00
sicking%bigfoot.com b44092cb06 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2005-11-02 07:38:33 +00:00
roc+%cs.cmu.edu f0a479c7c2 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2005-11-02 07:38:32 +00:00
peterv%netscape.com 1aaf1b3b24 Fix for bug 163955 (Header cleanup for transformiix). r=sicking, rs=jst. 2005-11-02 07:38:31 +00:00
sicking%bigfoot.com 5bfbe3e246 Bug 162398: Make XPath lexer look at entire qname when checking for operators.
r=Pike sr=bz
2005-11-02 07:38:30 +00:00
peterv%netscape.com cecab4e362 Fix warnings. r=Pike, rs=jst. 2005-11-02 07:38:29 +00:00
axel%pike.org cb809662cd bug 155578, refactor XSLTProcessor, landing trivial parts to make diff usefull. Function reordering in XSLTProcessor, txExpandedNameMap::remove, r=sicking, sr=bz 2005-11-02 07:38:28 +00:00
sicking%bigfoot.com 0964eff38f Bug 174093: Make ExprParser out-of-memory safe.
r=Pike sr=peterv a=asa
2005-11-02 07:38:27 +00:00
sicking%bigfoot.com 0e24894a24 Fix whitespacehandling by looking for xml:space-attributes when needed and only when needed.
b=163856 r=Pike sr=bz
2005-11-02 07:38:26 +00:00
sicking%bigfoot.com 7fe22802f6 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
2005-11-02 07:38:25 +00:00
peterv%netscape.com 1e0e6ea24e Fix for bug 163955 (Header cleanup for transformiix). r=sicking, rs=jst. 2005-11-02 07:38:24 +00:00
peterv%netscape.com bd177f5f8a Adding back widget to REQUIRES. 2005-11-02 07:38:23 +00:00
peterv%netscape.com c5a606a9f3 Fix for bug 101890 (break linkage from transformiix to layout). r=Pike, sr=jst. 2005-11-02 07:38:22 +00:00
axel%pike.org 7484157ddd bug 46754, remove transformiix copy of expat. Not part of build. build transformiix standalone on windows again.
changes to build system are r=cls, changes to transformiix r=peterv
2005-11-02 07:38:21 +00:00
peterv%netscape.com 3a2308f865 Fix for bug 94456 (wrappers need performance increase, support conformance). r=sicking, sr=jst. 2005-11-02 07:38:20 +00:00
peterv%netscape.com 2789f2eab5 Bustage fix for Transformiix standalone. 2005-11-02 07:38:19 +00:00
peterv%netscape.com 5f0c4561ab Fix for bug 155915 (txMozillaXMLOutput drops previous documentElement on creating transformiix wrapper). r=Pike, sr=jst. 2005-11-02 07:38:18 +00:00
peterv%netscape.com 02a354d465 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.
2005-11-02 07:38:17 +00:00
peterv%netscape.com e4fef6827b Warning fixes. r=Pike, rs=jst. 2005-11-02 07:38:16 +00:00
sicking%bigfoot.com 563a0dd3b6 Key template modes, template names, decimalformats, attributesets and keys on expanded name rather then qualified name.
b=96082 r=peterv sr=jst
2005-11-02 07:38:15 +00:00
peterv%netscape.com 3ee5e9bcd3 Part of fix for bug 155578 (branch for refactoring XSLTProcessor and interfaces). Remove unused context node argument. r=Pike, sr=bz. 2005-11-02 07:38:14 +00:00
bryner%netscape.com 5fa6c45471 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2005-11-02 07:38:13 +00:00
sicking%bigfoot.com fa91177c27 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending
2005-11-02 07:38:12 +00:00
axel%pike.org abdc071112 bug 184086, number conversion in XSLT is LOCALE independent, r=sicking, sr=jag 2005-11-02 07:38:11 +00:00
peterv%netscape.com 54923a0f00 Rename Transformiix string API to be in synch with Mozilla's. Part of bug 74786 (String cleanup). r=sicking, rs=jst. 2005-11-02 07:38:10 +00:00
peterv%netscape.com 48fdc9ba5e 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.
2005-11-02 07:38:09 +00:00
sicking%bigfoot.com 1b95429df6 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa
2005-11-02 07:38:08 +00:00
sicking%bigfoot.com 11a2e2feb4 Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
2005-11-02 07:38:07 +00:00
peterv%netscape.com 1da27bd025 Temporarily disable the code that caused the slowdown in Txul, Tp and Ts. Bug 156452. 2005-11-02 07:38:06 +00:00
sicking%bigfoot.com 48fbe179ac Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending
2005-11-02 07:38:05 +00:00
axel%pike.org 98a3fc7e87 bustage fix for standalone, not part of build 2005-11-02 07:38:04 +00:00
peterv%netscape.com 8580dc2fa8 Fix for bug 146967 (Clean up Transformiix strings). r=Pike, sr=jst. 2005-11-02 07:38:03 +00:00
peterv%netscape.com a63a31b5a1 Bustage fix. 2005-11-02 07:38:02 +00:00
peterv%netscape.com 497c762a24 Fix for bug 88623 (Cleanup Transformiix code). r=Pike, sr=jst. 2005-11-02 07:38:01 +00:00
peterv%netscape.com e05d387e26 Correct error in patch for bug 96647. Transformiix standalone only, doesn't affect mozilla build. (Last one, I promise) 2005-11-02 07:38:00 +00:00
peterv%netscape.com b9434ef3fe Correct error in patch for bug 96647. Transformiix standalone only, doesn't affect mozilla build. 2005-11-02 07:37:59 +00:00
peterv%netscape.com 6fdebd8f34 Fix Transformiix standalone bustage (does not affect Mozilla build). r=Pike. 2005-11-02 07:37:58 +00:00
peterv%netscape.com f64aa0b1e3 Fix for bug 146966 (Standalone Transformiix outputs HTML with XML prolog). r=Pike, sr=jst. 2005-11-02 07:37:57 +00:00
peterv%netscape.com 872f2b4eab Part of fix for bug 155578 (branch for refactoring XSLTProcessor and interfaces). Remove unused context node argument. r=Pike, sr=bz. 2005-11-02 07:37:56 +00:00
sicking%bigfoot.com b6c5e7f0aa Bug 88623: Remove the txList::iterator function and the ListIterator typedef
r=peterv sr=jst
2005-11-02 07:37:55 +00:00
peterv%netscape.com 6b56a1ac31 Bustage fix. 2005-11-02 07:37:54 +00:00
peterv%netscape.com d2c1810275 Fix for bug 136272 (definition of isDigit may be incomplete). r=sicking, sr=jst. 2005-11-02 07:37:53 +00:00
sicking%bigfoot.com 2380dd4af9 Attribute axis should not include namespace declarations.
b=123357 r=peterv sr=jst
2005-11-02 07:37:52 +00:00
peterv%netscape.com 96f912afc2 Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. 2005-11-02 07:37:51 +00:00
axel%pike.org f555da27e1 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
2005-11-02 07:37:50 +00:00
sicking%bigfoot.com 72cbe9dea6 Bug 96478. Change the use of getAttributeNode and getAttribute to getAttr
r=peterv sr=jst a=asa
2005-11-02 07:37:49 +00:00
sicking%bigfoot.com a56edb1b0c 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
2005-11-02 07:37:48 +00:00
peterv%netscape.com 399ca0da47 Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr. 2005-11-02 07:37:47 +00:00
dbaron%fas.harvard.edu 29a8dd3923 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2005-11-02 07:37:46 +00:00
darin%netscape.com ea610529da b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2005-11-02 07:37:45 +00:00
sicking%bigfoot.com 7dd2dd53a6 Bug 123343. Make <base> and <meta http-equiv=".."> work in XSLT generated pages. Also adds keeping track of stylesheet index for inserted stylesheets.
r=peterv sr=jst a=roc+moz
2005-11-02 07:37:44 +00:00
peterv%netscape.com 3ed534b0f2 Fix for bug 146965 (Standalone Transformiix outputs invalid XML). r=sicking, sr=jst. 2005-11-02 07:37:43 +00:00
peterv%netscape.com 68ae6b4713 Correct error in patch for bug 96647. Transformiix standalone only, doesn't affect mozilla build. 2005-11-02 07:37:42 +00:00
peterv%netscape.com d980bd86f3 Fix for bug 126214 (peterv broke XSLT system-property function). r=sicking, sr=jst. 2005-11-02 07:37:41 +00:00
peterv%netscape.com de65411e1d Fix for bug 146964 (Bug in format-number XSLT function). r=sicking, sr=jst. 2005-11-02 07:37:40 +00:00
peterv%netscape.com 3195d893d2 Fix for bug 126463 (Occurances of uninitialized variables being used before being set (in extensions/transformiix).) r=sicking, sr=jst, a=asa. 2005-11-02 07:37:39 +00:00
sicking%bigfoot.com ebde346572 Bug 140687: Make substring() for all start-indexes
r=Pike, sr=jst
2005-11-02 07:37:38 +00:00
sicking%bigfoot.com 3029e0f9bc Cleanup BooleanFunctionCall and StringFunctionCall, fixes bugs in lang(), substring() and a few more.
b=104758 r=Pike sr=jag
2005-11-02 07:37:37 +00:00
sicking%bigfoot.com 6ad850987a Fix IRIX bustage 2005-11-02 07:37:36 +00:00
sicking%bigfoot.com 6255654f32 Make relational comparisons between NodeSets and booleans follow the spec.
b=116540 r=Pike sr=jst
2005-11-02 07:37:35 +00:00
sicking%bigfoot.com 28f01b536c Fix whitespacehandling by looking for xml:space-attributes when needed and only when needed.
b=163856 r=Pike sr=bz
2005-11-02 07:37:34 +00:00
peterv%netscape.com 1ef2bc52d6 Fix for bug 103235 (Implement DOM Level 3 XPath WD). r=sicking, sr=jst, a=dbaron. 2005-11-02 07:37:33 +00:00
peterv%netscape.com 809559323a Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2005-11-02 07:37:32 +00:00
alecf%netscape.com 8783e800be one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2005-11-02 07:37:31 +00:00
peterv%netscape.com 1de7660eb4 Bustage fix. 2005-11-02 07:37:30 +00:00
dougt%netscape.com b89e6d73c7 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2005-11-02 07:37:29 +00:00
seawood%netscape.com b8c1ceec4f Apply patches from FreeBSD's Ports system.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch.
Bug #112987 r=cls a=asa
2005-11-02 07:37:28 +00:00
sicking%bigfoot.com 5fef009a66 Fix one *nix build bustage 2005-11-02 07:37:27 +00:00
sicking%bigfoot.com 8d0ed41f75 Bug 122001. Implement txExpandedNameMap. Add QName parsing and some operators to txExpandedName.
r=peterv sr=jst a=asa
2005-11-02 07:37:26 +00:00
sicking%bigfoot.com c8066d4eaa Final part of bug 59912. Call SetDocument before adding any attributes on elements in the result of XSLT-transformations. This fixes (at least) onclick-like attributes.
r=peterv sr=jst
2005-11-02 07:37:25 +00:00
peterv%netscape.com 5398b85bc0 Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst. 2005-11-02 07:37:24 +00:00
sicking%bigfoot.com dfdf39e082 Fix crasher in key()'s when context-node is a document.
b=120074 r=Pike,peterv sr=jst
2005-11-02 07:37:23 +00:00
sicking%bigfoot.com 983e50d6f6 [Not part of build]
Make standalone TransforMiiX build again. Fix merge-conflict resolved the wrong way.

No bug. r=hwaara.
2005-11-02 07:37:22 +00:00
sicking%bigfoot.com 6ae80af038 Bug 95779 - Key cached expressions and patterns on node they appear in rather then string.
r=Pike sr=jst
2005-11-02 07:37:21 +00:00
bzbarsky%mit.edu a9cc46e1a9 Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2005-11-02 07:37:20 +00:00
sicking%bigfoot.com 4cc683aa0d Bug 105979 - Cleanup NodeSetFunctionCall and Tokenizer classes
r=Pike,peterv sr=jst
2005-11-02 07:37:19 +00:00
jaggernaut%netscape.com cb08fc5e40 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2005-11-02 07:37:18 +00:00
seawood%netscape.com 0e324837fc Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2005-11-02 07:37:17 +00:00
sicking%bigfoot.com a29555dcb9 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
2005-11-02 07:37:16 +00:00
axel%pike.org 0445c09b06 bug 104042, more leaked exprResults. r=peterv, sr=jst 2005-11-02 07:37:15 +00:00
axel%pike.org 0c99f91d9e bug 104042, fix leaks in main (ifstream) and UnionExpr::evaluate (adding a null check and some iteratorlove, too), r=sicking@bigfoot.com,peterv, sr=jst 2005-11-02 07:37:14 +00:00
axel%pike.org 00665d5961 bug 70855, add NSPR logging to transformiix, mere printf's for standalone. r=peterv, sr=heikki 2005-11-02 07:37:13 +00:00
dbaron%fas.harvard.edu b594ba685d Removing remnants of warren's s/printf/PRINTF/ landing from the tree. b=94480 r=pavlov sr=darin 2005-11-02 07:37:12 +00:00
peterv%netscape.com 6dbe002cae 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. 2005-11-02 07:37:11 +00:00
dbaron%fas.harvard.edu 558132da05 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2005-11-02 07:37:10 +00:00
sicking%bigfoot.com cad07af2bb 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
2005-11-02 07:37:09 +00:00
peterv%netscape.com 61344cb748 Fix for bug 105808 (We need atomtables for all xslt elements and attributes). r=Pike, sicking, sr=jst. 2005-11-02 07:37:08 +00:00
sicking%bigfoot.com 22667910ed Implement format-number() and <xsl:decimal-format>
b=65983 r=Pike sr=jst
2005-11-02 07:37:07 +00:00
peterv%netscape.com 009fdc44d4 Fix for bug 65858 (Rework XSLT sorting). r=sicking, Pike, sr=jst. 2005-11-02 07:37:06 +00:00
sicking%bigfoot.com 5ab951d60b Cleanup the generate-id() xpath function implementation.
b=101672 r=peterv, Pike sr=jst
2005-11-02 07:37:05 +00:00
sicking%bigfoot.com 53180d2c08 Implement xsl:import. This dosn't implement any import precedence but gives us the infrastructure to do so.
b=78068 r=peterv sr=shaver
2005-11-02 07:37:04 +00:00
sicking%bigfoot.com b479218e23 Clean up NumberFunctionCall.cpp: make all numberfunctions NaN and Inf safe, make round() work on windows, make all numberfunctions out-of-mem safe
b=102185 r=Pike sr=shaver
2005-11-02 07:37:03 +00:00
peterv%netscape.com f5041e9ea0 Fix for bug 73936 (xsl:include/xsl:import/document() doesn't work). r=Pike/sicking, sr=jst. 2005-11-02 07:37:02 +00:00
peterv%netscape.com e6db0e7b24 Warning fixes. r=sicking, rs=jst. 2005-11-02 07:37:01 +00:00
sicking%bigfoot.com ef07623669 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
2005-11-02 07:37:00 +00:00
sicking%bigfoot.com dc2754f073 Make PathExpr::matches more clever and remove specialcasing of absolute path expressions
b=97107 r=peterv sr=jst
2005-11-02 07:36:59 +00:00