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

1206 Коммитов

Автор SHA1 Сообщение Дата
Uli Link 0296770901 Bug 445951 - missing keyword 'public' in xpcom/glue/nsAutoLock.h, r=bsmedberg 2008-08-18 20:39:19 +02:00
Robert O'Callahan fb7a994159 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan 842b3fea92 Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan 34de2392a2 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Manish Singh d2f474a8aa Bug 442870 – CompressWhitespace can freeze the browser. r=bsmedberg 2008-08-14 12:16:24 +02:00
Mike Hommey 3f314aee54 Bug 438688 – String formatter fails to format the same argument twice. r=bsmedberg 2008-08-14 12:11:25 +02:00
Benjamin Smedberg 088d1de487 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
Bernd d8f4877b29 limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky 2008-07-16 17:02:18 +02:00
Ben Turner fee386e2e0 Bug 435122 - "Use TraceMalloc to get stack traces of potential deadlocks". r=bsmedberg+dbaron. 2008-06-26 10:12:42 -07:00
Robert O'Callahan 00c8f1363c Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Jeff Walden e383cdb1c7 Bug 429930 - NS_ABORT_IF_FALSE lies and doesn't abort if the given condition is false, making it exactly equivalent to NS_ASSERTION. Make it abort so we can use it when we really want a fatal assertion, if only the NS_ASSERTION macro implemented it. r+sr=shaver 2008-06-04 22:24:05 -04:00
David Mandelin 0540f825ba Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg 2008-05-20 11:26:03 -07:00
Benjamin Smedberg 858a24815d Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin 2008-05-01 15:12:33 -04:00
Benjamin Smedberg b31d75638a Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
philringnalda@gmail.com 4bd4bc8d8e Bug 413477 - nsStringAPI needs RFind set of functions, patch by Prasad Sunkari (prasad@medhas.org), r=bsmedberg, a=beltzner 2008-04-08 23:01:13 -07:00
jorendorff@mozilla.com ed7b848805 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
2008-04-07 17:37:54 -05:00
timeless@mozdev.org b0e4df4591 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
jorendorff@mozilla.com 0fa05c1636 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-02 16:35:13 -05:00
neil@parkwaycc.co.uk 140e9a1621 Trivial const correctness followup to bug 420373 r=bsmedberg a=beltzner 2008-04-01 07:13:27 -07:00
jorendorff@mozilla.com b4821af3f5 Merge from cvs-trunk-mirror to mozilla-central. (This doesn't build, thanks to bug 425080, which I'll fix next.)
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-26 11:42:07 -05:00
reed@reedloden.com 811d778582 Bug 420373 - "need a way to distinguish GREs based on architecture in nsGREGlue" [p=mozilla@rosenauer.org (Wolfgang Rosenauer) r=bsmedberg a1.9b5=schrep] 2008-03-21 21:25:34 -07:00
Benjamin Smedberg daa1480d05 Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-20 12:42:05 -04:00
timeless@mozdev.org 7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org 022712406a Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
dbaron@dbaron.org b1f404f0bb Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
reed@reedloden.com 63cef0cdff Bug 421615 - "unused variable ‘tmp’ in NS_IMPL_CYCLE_COLLECTION_0" [p=tuukka.tolvanen@gmail.com (Tuukka Tolvanen [sp3000]) r+sr=dbaron a1.9=beltzner] 2008-03-14 09:23:31 -07:00
benjamin@smedbergs.us f7f9006427 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-10 17:07:41 -04:00
dbaron@dbaron.org d7e5cb7c5b Fix -Wconversion warnings that prevent compiling netwerk/cookie/src/ (which makes warnings fatal) with gcc 4.3 on x86_64. b=409384 r=bsmedberg a=beltzner 2008-03-06 15:03:50 -08:00
benjamin@smedbergs.us e623eb1082 Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-27 11:33:49 -05:00
benjamin@smedbergs.us 62231824a0 Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek 2008-02-27 11:28:13 -05:00
dougt@meer.net a1ca1ae26e Fixes for Windows CE. b=418662, r=bsmedberg, a=damons 2008-02-22 16:22:47 -08:00
dcamp@mozilla.com c95417266e Bug 417404: Fix nsCOMPtr version of NS_ProxyRelease(). r/sr=bsmedberg, b1.9=sayrer 2008-02-21 15:45:22 -08:00
Olli.Pettay@helsinki.fi 22dc5c4af2 bug 380454, r=benjamin, sr=sicking 2008-02-21 04:47:26 -08:00
neil@parkwaycc.co.uk a369b229ee Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 01:43:15 -08:00
Olli.Pettay@helsinki.fi d7832061bb Back out Bug 380454 2008-02-19 05:47:15 -08:00
Olli.Pettay@helsinki.fi 922f5f425a Bug 380454, r=benjamin, sr=sicking 2008-02-19 05:15:37 -08:00
reed@reedloden.com 985694bc9f Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+] 2008-02-13 03:34:46 -08:00
reed@reedloden.com a2aaecca91 Bug 333308 - "make clean and make distclean miss various files" [p=mh+mozilla@glandium.org (Mike Hommey) r=bsmedberg a1.9=schrep] 2008-02-13 03:33:38 -08:00
reed@reedloden.com 9299fa1687 Bug 413488 - "nsACString::Find in nsStringAPI is buggy!" [p=prasad@medhas.org (Prasad Sunkari [prasad]) r=bsmedberg a=blocking1.9+] 2008-02-13 02:49:32 -08:00
reed@reedloden.com 3a5bb8204d Bug 411256 - "AIX linker error for trunk build xpcom module :ERROR: Undefined symbol: .PR_dtoa" (Remove standalone glue dependencies on NSPR) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=dwitte a1.9=schrep] 2008-02-07 11:49:18 -08:00
peterv@propagandism.org 17f5f4406d Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
peterv@propagandism.org 8affa46361 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org 55896575d9 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
Olli.Pettay@helsinki.fi 0fec3d686c Bug 401433, leak in nsTArray, r+sr=sicking 2008-01-25 03:32:59 -08:00
neil@parkwaycc.co.uk 7e86c805ca Bug 411061 nsAutoTArray uses an inefficient first-time allocation strategy r=bsmedberg a=schrep 2008-01-19 05:47:46 -08:00
benjamin@smedbergs.us 2dd673ce5a Revert bug 410927 because it didn't really help perf and hurt codesize a little bit 2008-01-15 08:46:15 -08:00
jruderman@hmc.edu 39e022d484 Fix typo 2008-01-14 20:49:38 -08:00
timeless@mozdev.org 66687b1110 Bug 292940 partial OOM audit for nsStringArray and nsCStringArray r=darin, r=bsmedberg, sr=mrbkap, a=mtschrep thanks to ryanvm@gmail.com for unbitrotting 2008-01-14 13:01:40 -08:00
dwitte@stanford.edu 3f33f45d2a thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
dwitte@stanford.edu 86ada27c83 backing out the rest. 2008-01-11 02:56:35 -08:00
dwitte@stanford.edu cc924d2d23 relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu f300515e36 backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu 09217db711 thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00
peterv@propagandism.org 0c31e852c0 Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron. 2008-01-10 06:10:03 -08:00
benjamin@smedbergs.us b49ce99581 Test-land bug 410927 to get performance numbers, r=dbaron 2008-01-09 06:21:43 -08:00
dwitte@stanford.edu c711729cf4 fix OS/2 bustage. 2007-12-21 17:06:43 -08:00
dwitte@stanford.edu 74674f7f69 add assertion. 2007-12-21 03:22:31 -08:00
dwitte@stanford.edu 2dbb432c39 backing out change. 2007-12-20 01:33:03 -08:00
dwitte@stanford.edu d3a1fc3baa relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu 8dcce35b39 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu 7ca9551428 test growing the array by a minimum amount (taken from nsVoidArray). 2007-12-19 01:56:28 -08:00
dwitte@stanford.edu 1b77c59691 testing allocator change for Ts impact. 2007-12-19 01:14:15 -08:00
dwitte@stanford.edu 9a3a4249f4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu 1d9282cd47 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu 8345ef1233 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
jonas@sicking.cc 390f6ff8c2 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
jwalden@mit.edu 8c59f2d9ac Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
bent.mozilla@gmail.com 491c9c1063 Bug 396369 - "Overload forget method on nsCOMPtr/nsRefPtr to work with out parameters". r=dbaron, sr=bsmedberg, a=damons. 2007-11-11 10:56:45 -08:00
jst@mozilla.org d7d6ffb392 Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com 2007-11-01 15:51:57 -07:00
cbarrett@mozilla.com 6e88ffabca Typo fix and poking tinderbox. No bug. 2007-10-29 22:51:33 -07:00
peterv@propagandism.org 2e01f470e6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org 8aff563c48 Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org abb09e26b6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
peterv@propagandism.org a84948aa32 Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org 3a33ff3fcf Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
reed@reedloden.com 59d2451ae9 Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer] 2007-10-19 16:26:52 -07:00
reed@reedloden.com b60e8823f4 Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com 2145eeea65 Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -07:00
jag@tty.nl f7413d87e3 Fix bustage from previous checkin for bug 392055. Move #define of XPCOM_GLUE_AVOID_NSPR from nsISupportsImpl.h to nscore.h. r/a=bsmedberg 2007-09-28 13:33:32 -07:00
jag@tty.nl 21a7ac27e2 Bug 392055: NS_ENSURE_SUCCESS should print out the error code. Original patch by Shawn Wilsher (sdwilsh) <comrade693+bmo@gmail.com>, updated by me to handle the standalone xpcom glue case and to use printf safely. r=bsmedberg, sr=bzbarsky, a=dsicore. 2007-09-28 11:59:07 -07:00
gavin@gavinsharp.com a26384b973 Back out bug 392055 due to bustage 2007-09-23 20:44:28 -07:00
sdwilsh@shawnwilsher.com 22251f3876 Bug 392055 - NS_ENSURE_SUCCESS should print out the error code. r=benjamin, sr=bzbarsky, a=bzbarsky 2007-09-23 19:04:47 -07:00
asqueella@gmail.com a78c95dac8 fix bug 369214 (ASSERTION: The observer list changed while being iterated over!: 'count == mObservers.Count()' in libpr0n) by switching the observers list to use nsTObserverArray. r=stuart a=1.9 blocker 2007-09-22 12:40:57 -07:00
scott@scott-macgregor.org fc5215cfe6 Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage. Patch by prasad <prasad@medhas.org> sr=bsmedberg a=bsmedberg 2007-09-20 16:14:25 -07:00
roc+@cs.cmu.edu 9972360428 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
aaronr@us.ibm.com b0d3a4fa64 forgot to fix a review comment for checkin I did for bug 395349 2007-09-18 11:45:28 -07:00
aaronr@us.ibm.com 4d5884fb58 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
jwalden@mit.edu d09c44d69c Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
bent.mozilla@gmail.com 18ccb0dcf0 Bug 387584 - "ASSERTION: should not have buffer of zero size [@nsTArray_base::EnsureCapacity]". Patch by Sergey Yanovich <ynvich@gmail.com>. r+a=bsmedberg. 2007-08-30 09:59:34 -07:00
bent.mozilla@gmail.com dca0f40dcc Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 16:37:22 -07:00
dbaron@dbaron.org cc638cec42 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:46:43 -07:00
bzbarsky@mit.edu 3200cf8f82 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking. 2007-08-20 15:55:06 -07:00
philringnalda@gmail.com 3432251d59 Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz 2007-08-17 20:48:16 -07:00
benjamin@smedbergs.us ee8b81eaac Bug 350132 - Deadlock in JS/XPCOM proxy, r=brendan 2007-08-16 13:51:50 -07:00
benjamin@smedbergs.us 9d35d07d20 Backing out bug 214164 due to non-libxul bustage... WTF? :-( 2007-08-08 14:41:43 -07:00
benjamin@smedbergs.us 828d788035 Bug 214164 - Reduce nsTHashtable codesize by making sOps a class static. This patch was originally from bug 201034 r=jkeiser :-) and was backed out because GCC 3.3- were stupid. Since we don't support those any more, relanding a=bz 2007-08-08 07:40:35 -07:00
benjamin@smedbergs.us 5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
dtownsend@oxymoronical.com b1622ba267 Bug 390143: NS_IMPL macros are broken for implementing 11 interfaces.
r=bsmedberg, a=wanted-1.9
2007-08-02 11:14:28 -07:00
cbiesinger@gmx.at 5412d34bc5 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
bzbarsky@mit.edu 429a656eaf Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
dolske@mozilla.com 6f49cea2c4 Bug 388189: console spewage: "(all right -- a generic module!)". r=dougt, sr=benjamin 2007-07-16 12:00:14 -07:00
benjamin@smedbergs.us cc074e3032 Bug 386445 - mac build stops with "multiple definitions of symbol nsINIParser::GetSrings", also changes to building mac dylibs with -single_module, r=luser,jag 2007-07-11 10:26:11 -07:00
neil@parkwaycc.co.uk 10de8387c8 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
benjamin@smedbergs.us f1593a410c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
dbaron@dbaron.org 0ecbf11058 Keep the purple bit in sync with the purple buffer when suspect and forget calls are dropped on the floor. b=385548 r=graydon 2007-06-27 10:51:48 -07:00
dbaron@dbaron.org 2211b60f82 Back out 385548 to try to fix test orange. 2007-06-26 22:26:38 -07:00
dbaron@dbaron.org 247f9667fd Don't set the purple bit when suspect calls are dropped on the floor. b=385548 r=graydon 2007-06-26 21:47:40 -07:00
benjamin@smedbergs.us b21f7b3a04 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us c93d1d5be6 Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
benjamin@smedbergs.us d782232066 Revert all of bug 383167 changes because they're not enough... going to try again later. 2007-06-25 11:40:57 -07:00
benjamin@smedbergs.us 7b42bb19aa Bug 383167 - Need buildid in an external file, r=luser sr=jst 2007-06-25 08:25:59 -07:00
benjamin@smedbergs.us 0b85a560e2 Bug 384513 - make the visibility pragma checks aware of mach-o and not just ELF, and re-enable libxul by default, r=mento+shebs 2007-06-19 07:53:05 -07:00
kherron@fmailbox.com da99532a78 Bug 177150 - Some mozilla-config.h defines require additional cflags for embedders. Patch by <mook.moz+mozbz@gmail.com>. r=benjamin, sr=dbaron. 2007-06-16 13:02:15 -07:00
benjamin@smedbergs.us 92d4647e82 Bustage followup from bug 381315 2007-05-25 08:37:59 -07:00
benjamin@smedbergs.us 402aaf98ed Bug 381315 - nsINIParser crashes when linked against a static CRT (opera profile migrator), r=dougt 2007-05-25 08:05:11 -07:00
Olli.Pettay@helsinki.fi 2390b0efe2 Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -07:00
neil@parkwaycc.co.uk f9c1f8a635 Bug 379339 StringBegins/EndsWith inconsistent with nsReadableUtils.cpp r=bsmedberg sr=darin 2007-05-07 04:09:54 -07:00
bent.mozilla@gmail.com 2c4edbd812 Bug 37795 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg. 2007-04-26 06:53:48 -07:00
benjamin@smedbergs.us 2111848195 Bug 375449 - NS_InvokeByIndex not exported from xpcom, only from xpcom_core, r=dbaron 2007-04-24 10:02:51 -07:00
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu ff22fdf79c Reland bug 326603, which got accidentally backed out by the landing of bug313309. 2007-04-18 12:27:39 -07:00
peterv@propagandism.org e6f2b66bd5 Fix for bug 373693 (Cycle collector makes AddRef about 6x slower). r=graydon, sr=dbaron. 2007-04-18 03:10:35 -07:00
benjamin@smedbergs.us c00f02c81a Bug 339898 - Unresolved text symbol PR_InternalNow when using the standalone glue, r=timeless 2007-04-02 08:29:41 -07:00
dbaron@dbaron.org e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
dbaron@dbaron.org af8ff51b78 Consolidate duplicated code into the beginning of the double-hashing loop. b=374906 r=brendan 2007-03-27 08:32:38 -07:00
jwalden@mit.edu 093b1f6231 Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg 2007-03-25 00:31:45 -07:00
dbaron@dbaron.org cb86161398 Avoid the need for a getKey callback in jsdhash/pldhash. b=374906 r=brendan 2007-03-23 16:32:40 -07:00
neil@parkwaycc.co.uk 417d5864d4 Slightly safer and neater fix for strict aliasing bug 351231 r+sr=dbaron 2007-03-23 13:26:20 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
peterv%propagandism.org 5a1ed9c668 Fix for bug 374096 (Cycle collector doesn't collect all the cycles it could). r=graydon, sr=dbaron. 2007-03-16 12:52:47 +00:00
dbaron%dbaron.org fd94166307 When stabilized during destruction, report AddRef to 2 and Release to 1, to avoid confusing nsTraceRefcnt logging (part 2). b=370702 r=graydon sr=peterv 2007-03-05 21:11:21 +00:00
asqueella%gmail.com 5d7e185ab4 Bug 366742 - printf_stderr should be declared as NS_COM_GLUE
p=Andrew Miller <ak.miller@auckland.ac.nz>
r=bsmedberg, sr=shaver
2007-02-20 20:28:53 +00:00
graydon%mozilla.com 1eb71df829 Bug 370702, fix to the return value from nsCycleCollectingAutoRefCnt::incr() when stable.
r=dbaron
2007-02-17 04:49:56 +00:00
gerv%gerv.net 8e8acc58af Bug 236613: change to MPL/LGPL/GPL tri-license. 2007-02-14 17:33:38 +00:00
sharparrow1%yahoo.com 55aba527d3 Bug 369690: nsPresContext::mImageLoaders uses wrong key; r+sr=bzbarsky 2007-02-09 20:44:10 +00:00
jonas%sicking.cc a9f34ee020 Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking 2007-01-30 21:21:06 +00:00
bent.mozilla%gmail.com f79b2fa2c4 Bug 366592 - "Add comparison operators to external string API". r=bsmedberg. 2007-01-17 21:10:02 +00:00
bent.mozilla%gmail.com 76b4881f9a Bug 366619 - "Move nsAutoLock and nsAutoMonitor to the glue". nsAutoLock.cpp and nsAutoLock.h were moved from xpcom/threads, see there for CVS history. r=bsmedberg. 2007-01-12 20:55:53 +00:00
brendan%mozilla.org 2e4976944e Add macrology for presetting double hashtable capacity to avoid growth given a known initial population (356116, r=dbaron). 2007-01-10 22:11:34 +00:00
mozilla%weilbacher.org 7112ab4748 [OS/2] Bug 355077: fix xulrunner-stub to work on OS/2, p=abwillis1+me, r=mkaply 2007-01-10 08:43:08 +00:00
jst%mozilla.org 0ec7665da8 Landing 64-bit fixes for bug 333078. r=graydon@mozilla.com, sr=bugmail@sicking.cc 2007-01-05 23:59:18 +00:00
graydon%mozilla.com 4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
bmlk%gmx.de 5f3f2bb2d3 be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc 2006-12-26 14:24:15 +00:00
roc+%cs.cmu.edu 356c992817 Bug 363767. Add AppendElements() API (that appends empty elements) to nsTArray. r=sicking,sr=darin 2006-12-18 01:17:23 +00:00
gerv%gerv.net caae487a24 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-12-11 09:45:41 +00:00
brendan%mozilla.org 21fcbfb1ba Back out last checkin. 2006-12-05 15:46:19 +00:00
brendan%mozilla.org 029e2627fd Add JS_DHASH_{,DEFAULT_}CAPACITY macros for realloc-free init (356116, r/sr=mrbkap+shaver/dbaron). 2006-12-05 00:52:05 +00:00
jwalden%mit.edu a48182c886 Bug 361792 - Signed-unsigned comparison in nsVoidArray.cpp. r+sr=darin 2006-11-28 00:32:30 +00:00
roc+%cs.cmu.edu 0577095280 Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking 2006-11-26 22:01:24 +00:00
kjh-5727%comcast.net 70b1c37b63 Bug 351231: type-pun warnings from nsCOMPtr, part II. r+sr=dbaron. 2006-11-23 16:10:43 +00:00
kjh-5727%comcast.net e7bf3029de Bug 351231: type-pun warnings from nsCOMPtr. r+sr=dbaron. 2006-11-23 13:21:27 +00:00
vladimir%pobox.com 82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com 3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
cvshook%sicking.cc 636e4e6e5f Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
benjamin%smedbergs.us 122614bb23 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher 2006-11-20 17:03:38 +00:00
benjamin%smedbergs.us 62c212952b Backout xptcall because linux tboxes are stupid, I think. 2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us f618238f02 Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher 2006-11-16 18:29:33 +00:00
benjamin%smedbergs.us 03610c78ba Bug 360836 - queryinterface isn't nulling the outparam in failure cases, r=dbaron 2006-11-16 02:29:45 +00:00
benjamin%smedbergs.us ae862feefe Bug 313309 - Table-driven QI, part 4 (the final piece!) - this could be a test-landing depending on how perf numbers turn out, r=shaver 2006-11-15 22:10:57 +00:00
benjamin%smedbergs.us 8c57888aec Bug 313309 - Table-driven QI part 3 - use weak statics for interface IDs, r=shaver. This will break VC6 and gcc2.9x, which is ok 2006-11-14 21:21:37 +00:00
benjamin%smedbergs.us 217948472d Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano 2006-11-13 17:53:01 +00:00
pavlov%pavlov.net 0b5a3c2706 backing out 345517 due to leak test bustage 2006-11-10 04:42:03 +00:00
benjamin%smedbergs.us c8bc8c9265 Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano 2006-11-09 15:02:29 +00:00
bzbarsky%mit.edu 0a16504492 Remove now-useless include. Bug 359224 followup, r+sr=sicking 2006-11-04 02:00:31 +00:00
cvshook%sicking.cc 131b924b08 Back out previous checkin, ENABLE_TESTS is not available inside code 2006-11-03 00:52:40 +00:00
cvshook%sicking.cc d6695ccad2 Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds. 2006-11-02 22:42:34 +00:00
tor%cs.brown.edu 5eb0b60933 Bug 359224 - include nsTraceRefcnt.h so NS_BUILD_REFCNT_LOGGING is valid.
Patch by amenzie@us.ibm.com, r+sr=sicking.
2006-11-02 21:09:47 +00:00
cvshook%sicking.cc abafb3f44d fix copy/paste error 2006-11-02 19:50:59 +00:00
cvshook%sicking.cc 6a984be708 Ugh, too many versions of this patch that builds on different places. This should be right. 2006-11-02 19:44:06 +00:00
cvshook%sicking.cc 480afae792 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
cvshook%sicking.cc d29b5d7174 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:31:05 +00:00
bzbarsky%mit.edu 3c0294cc84 Add a way to efficiently insert a bunch of identically constructed elements at a
given location in an nsTArray.  Bug 357630, r=sicking, sr=darin
2006-11-02 04:12:24 +00:00
cvshook%sicking.cc 90d76fcf8b trying to fix redness 2006-10-17 22:11:53 +00:00
cvshook%sicking.cc b31519be79 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +00:00
db48x%yahoo.com cc270ac04a bug 356734: nsBaseHashtable.h casts a pointer to a PRBool, which gives an error in 64 bit gcc
r=dbradly, sr=biesi
2006-10-17 04:00:01 +00:00
cvshook%sicking.cc 0aa00ad601 backout of previous patch due to redness and warnings 2006-10-12 19:08:45 +00:00
cvshook%sicking.cc f16f92f4ff Bug 355754: Add nsTPtrArray and nsTConstPtrArray. r=darin/bz sr=bz 2006-10-12 18:35:12 +00:00
mats.palmgren%bredband.net 2cc99b4386 Don't crash on OOM. b=353997 r+sr=darin 2006-09-30 05:15:57 +00:00
sergei_d%fi.tartu.ee 01d37fecbd Bug 332074, [BEOS]Fix XPCOMGlue for BeOS, p=sergei_d, r=thesuckiestemail, r=bsmedberg 2006-09-27 16:07:06 +00:00
benjamin%smedbergs.us 1da2d4ac46 Build bustage, io.h only exists on windows. 2006-09-12 18:50:10 +00:00
benjamin%smedbergs.us c70d78a351 Bug 340443 - Not possible to use the XPCOM glue with the static CRT, r=neil sr=darin 2006-09-12 18:22:40 +00:00
jruderman%hmc.edu 0c9fdb883f Bug 324911, use different error messages for out-of-range in ElementAt and FastElementAt. r+sr=sicking. 2006-09-06 00:22:52 +00:00
benjamin%smedbergs.us 279fbbf5a4 Bug 334528 - xulrunner-stub requires the MSVC runtimes to be present; this also fixes embedders and component authors who want to link to the XPCOM glue libraries with various CRTs, r=darin 2006-08-30 15:57:03 +00:00
timeless%mozdev.org 6d112f0859 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
jst%mozilla.jstenback.com 95c7fd00f8 Fixing bug 348062. Making nsContentList hold strong references to the nodes in the list. r+sr=bzbarsky@mit.edu 2006-08-25 17:45:25 +00:00
benjamin%smedbergs.us 267d087a63 Bug 319843 - XULRunner windows are grouped in the taskbar (and all XULRunner apps have the same firewall settings), r=darin 2006-08-17 14:22:04 +00:00
benjamin%smedbergs.us 440b1ab0a4 Windows bustage from bug 347183 2006-08-08 19:00:18 +00:00
benjamin%smedbergs.us ef6b6ab3b4 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
benjamin%smedbergs.us 77fb1c667e b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
Original committer: vladimir%pobox.com
Original revision: 1.10
Original date: 2004/08/30 22:25:27
2006-08-08 17:10:07 +00:00
benjamin%smedbergs.us 0a78b2f378 Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.9
Original date: 2004/04/18 14:18:13
2006-08-08 17:10:04 +00:00
benjamin%smedbergs.us a5d2407490 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com
Original revision: 1.8
Original date: 2004/01/15 06:14:12
2006-08-08 17:10:01 +00:00
benjamin%smedbergs.us 9ab3cd45db Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 1.7
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:58 +00:00
benjamin%smedbergs.us a1e7cb0de1 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 1.6
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:55 +00:00
benjamin%smedbergs.us 34c8343db1 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
Original committer: gerv%gerv.net
Original revision: 1.5
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:52 +00:00
benjamin%smedbergs.us a52c52b043 updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
Original committer: dmose%mozilla.org
Original revision: 1.4
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:49 +00:00
benjamin%smedbergs.us b3268361ae Added constructor functions for nsEnumeratorUtils.
Original committer: warren%netscape.com
Original revision: 1.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:46 +00:00
benjamin%smedbergs.us c4487eb2fe Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
Original committer: waterson%netscape.com
Original revision: 1.2
Original date: 1999/04/24 02:38:52
2006-08-08 17:09:43 +00:00
benjamin%smedbergs.us 816fba83fd b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
Original committer: vladimir%pobox.com
Original revision: 3.13
Original date: 2004/08/30 22:25:27
2006-08-08 17:09:40 +00:00
benjamin%smedbergs.us 1f35ed0481 Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 3.12
Original date: 2004/04/18 14:18:13
2006-08-08 17:09:37 +00:00
benjamin%smedbergs.us c2909ccbfa Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 3.11
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:34 +00:00
benjamin%smedbergs.us 08639a43f6 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 3.10
Original date: 2003/01/08 23:04:15
2006-08-08 17:09:31 +00:00
benjamin%smedbergs.us 37cc428e55 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 3.9
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:28 +00:00
benjamin%smedbergs.us 67daf0f8a4 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
Original committer: dougt%netscape.com
Original revision: 3.8
Original date: 2002/09/07 17:12:47
2006-08-08 17:09:25 +00:00
benjamin%smedbergs.us 85a72d93c3 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
Original committer: dougt%netscape.com
Original revision: 3.7
Original date: 2001/10/19 20:52:43
2006-08-08 17:09:22 +00:00
benjamin%smedbergs.us 12865d33e8 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
Original committer: gerv%gerv.net
Original revision: 3.6
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:19 +00:00
benjamin%smedbergs.us 94b26c419b updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
Original committer: dmose%mozilla.org
Original revision: 3.5
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:16 +00:00
benjamin%smedbergs.us bdec7fd46f got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
Original committer: scc%netscape.com
Original revision: 3.4
Original date: 1999/08/23 10:11:15
2006-08-08 17:09:13 +00:00
benjamin%smedbergs.us 3e7d5b1a2e Added constructor functions for nsEnumeratorUtils.
Original committer: warren%netscape.com
Original revision: 3.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:10 +00:00
benjamin%smedbergs.us 5aded0f8b7 Fixed nsICollection (and Count in particular) to be xpidl friendly.
Original committer: warren%netscape.com
Original revision: 3.2
Original date: 1999/05/13 04:56:02
2006-08-08 17:09:07 +00:00
benjamin%smedbergs.us 2fd49449c0 Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsEnumeratorUtils.cpp
Original committer: waterson%netscape.com
Original revision: 3.1
Original date: 1999/04/24 02:38:54
2006-08-08 17:09:04 +00:00
benjamin%smedbergs.us 21e011a642 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.11
Original date: 2005/12/13 21:12:38
2006-08-08 17:09:01 +00:00
benjamin%smedbergs.us 0a37ce6355 Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.10
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:58 +00:00
benjamin%smedbergs.us 30efba836c Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan

Original committer: timeless%mozdev.org
Original revision: 1.9
Original date: 2005/11/25 19:48:01
2006-08-08 17:08:55 +00:00
benjamin%smedbergs.us 26f2ffd198 Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.8
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:52 +00:00
benjamin%smedbergs.us 105a8585cf Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com
Original revision: 1.7
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:49 +00:00
benjamin%smedbergs.us f4d5e2867e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 1.6
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:46 +00:00
benjamin%smedbergs.us cf81c89e30 Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc
Original committer: bzbarsky%mit.edu
Original revision: 1.5
Original date: 2002/11/26 18:57:56
2006-08-08 17:08:43 +00:00
benjamin%smedbergs.us 5f16c93259 need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron

Original committer: bzbarsky%mit.edu
Original revision: 1.4
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:40 +00:00
benjamin%smedbergs.us 9bbc39a68d fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 1.3
Original date: 2002/10/07 19:03:35
2006-08-08 17:08:37 +00:00
benjamin%smedbergs.us ba76d53caa from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build

Original committer: alecf%netscape.com
Original revision: 1.2
Original date: 2002/10/01 18:29:30
2006-08-08 17:08:34 +00:00
benjamin%smedbergs.us c8ccd4e6e9 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115

This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.cpp
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:31 +00:00
benjamin%smedbergs.us 29b2d6ae22 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.8
Original date: 2005/12/13 21:12:41
2006-08-08 17:08:28 +00:00
benjamin%smedbergs.us ce8797942d Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.7
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:25 +00:00
benjamin%smedbergs.us 8060aec60c Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.6
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:22 +00:00
benjamin%smedbergs.us 2e67e2a63e Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com
Original revision: 1.5
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:19 +00:00
benjamin%smedbergs.us ec2c3e9d6b Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 1.4
Original date: 2003/03/15 01:04:09
2006-08-08 17:08:16 +00:00
benjamin%smedbergs.us d2f609f624 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 1.3
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:13 +00:00
benjamin%smedbergs.us 417460f7ae need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron

Original committer: bzbarsky%mit.edu
Original revision: 1.2
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:10 +00:00
benjamin%smedbergs.us ce4bb9ad33 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115

This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.h
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:07 +00:00
benjamin%smedbergs.us 9ca8e85066 Bug 347114 - nsVoidArray::SetArray implementation is marked inline incorrectly, r=obvious build bustage 2006-08-03 13:34:20 +00:00
benjamin%smedbergs.us 4243c38899 Bug 345517 - xpcom/glue fixups required to move browser/ code to use the glue, r=darin 2006-07-31 19:37:30 +00:00
sergei_d%fi.tartu.ee b66d351891 [BeOS]Fixing XPCOM Glue-standalone bustage, p=sergei_d, r=benjamin, affects only BeOS-port 2006-07-24 20:33:19 +00:00
darin%meer.net edc7e0ce24 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-27 23:13:48 +00:00
darin%meer.net 1e7da7adf8 backing out patch for bug 332730 2006-06-20 17:50:49 +00:00
darin%meer.net 753dd7db43 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-20 02:05:10 +00:00
benjamin%smedbergs.us 0ce991da3a Bug 339105 - nsUnicharPtrHashKey, r=darin 2006-06-15 13:48:29 +00:00
brettw%gmail.com efa80a10a5 Bug 340595 r+a=darin Bug in nsTArray::SetLength 2006-06-07 17:00:18 +00:00
brendan%mozilla.org fa309dd75b Eliminate warnings, clean up assertion translation. 2006-06-05 20:35:07 +00:00
benjamin%smedbergs.us e0c5b54688 Bug 337731 - Make gnomevfs use frozen linkage, r=darin 2006-05-23 19:50:24 +00:00
benjamin%smedbergs.us bf889b560a Bustage fix, bug 338734 2006-05-22 14:56:00 +00:00
benjamin%smedbergs.us 5cf5cfff96 Bug 338734 - Make nsProxyRelease available to frozen-linkage code, r=darin 2006-05-22 14:19:13 +00:00
benjamin%smedbergs.us 10a6c9e4c4 friend declarations need the same declspec on windows, so to avoid complexity just make the semi-private data public 2006-05-19 23:00:22 +00:00
benjamin%smedbergs.us b4210273da Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
darin%meer.net ea010b8b75 fixes bug 337752 "gcc 3.2.2 generates bad code for nsRunnableMethod<T>" r=bsmedberg 2006-05-12 20:18:13 +00:00
darin%meer.net e53eb29e72 fixing upload to a file channel and the win32 vc6 build bustage (out with NS_NewRunnableMethod and in with NS_NEW_RUNNABLE_METHOD) 2006-05-10 22:49:04 +00:00
darin%meer.net 8602491b67 fixes SunOS (putt) bustage 2006-05-10 18:27:21 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us b43891b82e Bug 335248 - Add StringBeginsWith and several other functions to the frozen CRTGlue/stringapi, r=darin 2006-05-04 18:34:45 +00:00