Commit Graph

149799 Commits

Author SHA1 Message Date
alecf%netscape.com
03048eca48 not part of build, more for bug 162115:
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2005-11-02 16:04:36 +00:00
alecf%netscape.com
7e5a4b47eb match up some reviewers comments:
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2005-11-02 16:04:35 +00:00
alecf%netscape.com
6f3992e110 continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
Then, we move some of the non-trivial methods of this class into a .cpp file
2005-11-02 16:04:34 +00:00
waterson%netscape.com
c7d124ba58 Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan 2005-11-02 16:04:33 +00:00
waterson%netscape.com
e0c58f4510 Fix mac bustage. 2005-11-02 16:04:32 +00:00
waterson%netscape.com
6563ff5f12 Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson. 2005-11-02 16:04:31 +00:00
rbs%maths.uq.edu.au
30304c99a7 Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc 2005-11-02 16:04:30 +00:00
kandrot%netscape.com
29dbb2527c r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
removes a memset that sets zero bytes (so it did nothing)
2005-11-02 16:04:29 +00:00
hyatt%netscape.com
364a6e9b71 Fix bug in void array's assignment operator. r=scc 2005-11-02 16:04:28 +00:00
jst%netscape.com
fee902dd43 DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2005-11-02 16:04:27 +00:00
alecf%netscape.com
de820decc7 continue work-in-progress with freezable array.
Also introduce nsCOMArray<nsIFoo>
not part of build
2005-11-02 16:04:26 +00:00
mkaply%us.ibm.com
e95ad0f35e #43877
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2005-11-02 16:04:25 +00:00
waterson%netscape.com
6610ace60f Fix UMRs. 2005-11-02 16:04:24 +00:00
waterson%netscape.com
4912139130 Fix leak I made. r=warren 2005-11-02 16:04:23 +00:00
waterson%netscape.com
f2637c5ff7 Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty. 2005-11-02 16:04:22 +00:00
mkaply%us.ibm.com
4e84e28397 # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2005-11-02 16:04:21 +00:00
scc%netscape.com
ba15cfd0a7 Fixing runtime assert bustage. r=pinkerton 2005-11-02 16:04:15 +00:00
pinkerton%aol.net
acfaaa65bd replace &apos; with apostrophe (bug 308998) 2005-11-02 15:54:29 +00:00
cltbld
3084c5fc39 Automated update from host egg 2005-11-02 14:53:07 +00:00
bsmedberg%covad.net
b422a76be0 Bustage fix, bug 307168 2005-11-02 14:49:05 +00:00
cltbld
6fe3ae20b5 Automated update from host egg 2005-11-02 14:23:04 +00:00
bsmedberg%covad.net
5a3dee9942 Bug 307168 - Add configure test for GCC bug that prevent the pragma-visibility stuff from working properly on some configurations, and also clean up usages of HAVE_VISIBILITY_PRAGMA which should really be HAVE_VISIBILITY_ATTRIBUTE r=roc+wolfiR, previous revisions reviewed by bryner 2005-11-02 14:14:18 +00:00
sicking%bigfoot.com
1d4c1631eb Bug 182177: fix comments in nsIXSLTProcessor.idl
r=Pike sr=peterv
2005-11-02 07:43:14 +00:00
vladimir%pobox.com
cab25e1b32 b=255134, make nsICollation scriptable, r=jshin,sr=brendan 2005-11-02 07:43:13 +00:00
peterv%propagandism.org
9551f9cf33 Fix for bug 278157 (Need to correct xsl:number implementation). r=sicking, sr=jst. 2005-11-02 07:43:12 +00:00
cvshook%sicking.cc
6712535d58 Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-11-02 07:43:11 +00:00
peterv%propagandism.org
285f49b55f Fix for bug 297067 (First tag is not transformed). r=Pike, sr=jst. 2005-11-02 07:43:10 +00:00
bzbarsky%mit.edu
192304b260 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-11-02 07:43:09 +00:00
bzbarsky%mit.edu
2298c9e33f Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 07:43:08 +00:00
bzbarsky%mit.edu
13b97901e6 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-11-02 07:43:07 +00:00
peterv%propagandism.org
cd9860bc2b Fix for bug 205778 (document('') load of stylesheet conflicts with http cache). r=Pike, sr=bz. 2005-11-02 07:43:06 +00:00
peterv%propagandism.org
26959ded2f Fix for bug 226425 (xml, xslt crash using apply-templates and document). r=Pike, sr=jst. 2005-11-02 07:43:05 +00:00
peterv%propagandism.org
282e9697df Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-11-02 07:43:04 +00:00
peterv%propagandism.org
04cd1ee22e Fix for bug 306809 (oom mlk in txVariable::Convert). r/sr=bz. 2005-11-02 07:43:03 +00:00
bzbarsky%mit.edu
3a913de773 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-11-02 07:43:02 +00:00
peterv%propagandism.org
dfc83f367d Fix for bug 305296 (nsXPathResult::IterateNext() does not advance to next result). r=Pike, sr=jst. 2005-11-02 07:43:01 +00:00
peterv%propagandism.org
1142d9240c Fix for bug 248025 (cannot add a DOM Node as an xsl:param using XSLTProcessor.setParameter()). r=Pike, sr=jst. 2005-11-02 07:43:00 +00:00
bzbarsky%mit.edu
4345cf50a6 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-11-02 07:42:59 +00:00
bzbarsky%mit.edu
6a5ef5fef7 Fix build bustage 2005-11-02 07:42:58 +00:00
bzbarsky%mit.edu
d8dbba17df Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-11-02 07:42:57 +00:00
bzbarsky%mit.edu
61919217ea Set the content-type hint to text/xml for XSLT stylesheet loads. Bug 259206,
patch by peterv, r+sr=bzbarsky
2005-11-02 07:42:56 +00:00
bzbarsky%mit.edu
1814388ddf Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-11-02 07:42:55 +00:00
timeless%mozdev.org
3c37f44c08 Bug 286073 internal code should use application/xml rather than text/xml
patch by bug@annevankesteren.nl r=peterv sr=peterv
2005-11-02 07:42:54 +00:00
bsmedberg%covad.net
26a02e8e50 Move the transformiix locale file to dom/locales, r=peterv/Pike 2005-11-02 07:42:53 +00:00
cvshook%sicking.cc
cbfe0a385c Last checkin was for bug 248179 2005-11-02 07:42:52 +00:00
cvshook%sicking.cc
b5c2b76cd9 Use a better sourcelevel when setting charset through xsl:output element. Also make sure to use the proper form when setting the charset.
r/sr=bz
2005-11-02 07:42:51 +00:00
peterv%propagandism.org
086f4aa078 Fix for bug 248258 (Mozilla 1.7 and Firefox 0.8.0 Crash when I try to open this XSLT stylesheet [@ txMozillaXSLTProcessor::DoTransform ]). r=sicking, sr=jst. 2005-11-02 07:42:50 +00:00
peterv%propagandism.org
f26c1d5eb5 Fix for bug 227003 (add ::IsContentOfType to txXPathNode, txNameTest, txNodeTypeTest). r=sicking, sr=bz. 2005-11-02 07:42:49 +00:00
doronr%us.ibm.com
485af9e767 Bug 281987 - Finish out XPath extension functions. Patch by aaronr, r=sicking sr=tor a=mkaply 2005-11-02 07:42:48 +00:00
allan%beaufour.dk
e396c7cc08 Support context size and position in ns(XForms)XPathExpression. Bug 292841, r=sicking, sr=peterv, a=mkaply 2005-11-02 07:42:47 +00:00