884 Commits

Author SHA1 Message Date
bent.mozilla%gmail.com
84bf540501 Bug 377995 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@225089 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 13:53:48 +00:00
benjamin%smedbergs.us
3ef40e28af Bug 375449 - NS_InvokeByIndex not exported from xpcom, only from xpcom_core, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@224950 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 17:02:52 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
e8abeb7cdd Reland bug 326603, which got accidentally backed out by the landing of bug
313309.


git-svn-id: svn://10.0.0.236/trunk@224697 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 19:27:39 +00:00
peterv%propagandism.org
3c41b377dc Fix for bug 373693 (Cycle collector makes AddRef about 6x slower). r=graydon, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@224682 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 10:10:37 +00:00
benjamin%smedbergs.us
a9a23801b2 Bug 339898 - Unresolved text symbol PR_InternalNow when using the standalone glue, r=timeless
git-svn-id: svn://10.0.0.236/trunk@224000 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-02 15:29:41 +00:00
dbaron%dbaron.org
8043a5c9c7 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222464 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:35:02 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
dbaron%dbaron.org
3a195aa165 Consolidate duplicated code into the beginning of the double-hashing loop. b=374906 r=brendan
git-svn-id: svn://10.0.0.236/trunk@222461 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:32:39 +00:00
jwalden%mit.edu
cb148f73ab Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222345 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 07:31:45 +00:00
dbaron%dbaron.org
802a8ac910 Avoid the need for a getKey callback in jsdhash/pldhash. b=374906 r=brendan
git-svn-id: svn://10.0.0.236/trunk@222293 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 23:32:41 +00:00
neil%parkwaycc.co.uk
fa43109756 Slightly safer and neater fix for strict aliasing bug 351231 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@222283 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 20:26:20 +00:00
peterv%propagandism.org
9dcb4b1958 Fix for bug 374096 (Cycle collector doesn't collect all the cycles it could). r=graydon, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@221969 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-16 12:52:47 +00:00
dbaron%dbaron.org
68c5376b67 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
git-svn-id: svn://10.0.0.236/trunk@221344 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 21:11:21 +00:00
asqueella%gmail.com
b901a33025 Bug 366742 - printf_stderr should be declared as NS_COM_GLUE
p=Andrew Miller <ak.miller@auckland.ac.nz>
r=bsmedberg, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@220596 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 20:28:53 +00:00
graydon%mozilla.com
a1571595fe Bug 370702, fix to the return value from nsCycleCollectingAutoRefCnt::incr() when stable.
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@220466 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-17 04:49:56 +00:00
gerv%gerv.net
482a23b42a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@220126 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 17:33:38 +00:00
sharparrow1%yahoo.com
33cb7eb6cb Bug 369690: nsPresContext::mImageLoaders uses wrong key; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219911 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 20:44:10 +00:00
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
bent.mozilla%gmail.com
4ea952927c Bug 366592 - "Add comparison operators to external string API". r=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@218542 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:10:02 +00:00
bent.mozilla%gmail.com
6f800a615a 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.
git-svn-id: svn://10.0.0.236/trunk@218249 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-12 20:55:53 +00:00
brendan%mozilla.org
3630262087 Add macrology for presetting double hashtable capacity to avoid growth given a known initial population (356116, r=dbaron).
git-svn-id: svn://10.0.0.236/trunk@218164 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 22:11:34 +00:00
mozilla%weilbacher.org
a2b9df40b8 [OS/2] Bug 355077: fix xulrunner-stub to work on OS/2, p=abwillis1+me, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@218108 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 08:43:08 +00:00
jst%mozilla.org
455f6f861c Landing 64-bit fixes for bug 333078. r=graydon@mozilla.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@217873 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 23:59:18 +00:00
graydon%mozilla.com
3998c66e23 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg


git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
bmlk%gmx.de
6db17ea546 be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc
git-svn-id: svn://10.0.0.236/trunk@217418 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:24:15 +00:00
roc+%cs.cmu.edu
f50a7d874f Bug 363767. Add AppendElements() API (that appends empty elements) to nsTArray. r=sicking,sr=darin
git-svn-id: svn://10.0.0.236/trunk@217103 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 01:17:23 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
brendan%mozilla.org
5ce206c2a5 Back out last checkin.
git-svn-id: svn://10.0.0.236/trunk@216480 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:19 +00:00
brendan%mozilla.org
985f53dfd3 Add JS_DHASH_{,DEFAULT_}CAPACITY macros for realloc-free init (356116, r/sr=mrbkap+shaver/dbaron).
git-svn-id: svn://10.0.0.236/trunk@216470 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 00:52:05 +00:00
jwalden%mit.edu
35d6793138 Bug 361792 - Signed-unsigned comparison in nsVoidArray.cpp. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215922 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 00:32:30 +00:00
roc+%cs.cmu.edu
5290353d07 Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215849 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-26 22:01:24 +00:00
kjh-5727%comcast.net
2b94312603 Bug 351231: type-pun warnings from nsCOMPtr, part II. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@215757 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 16:10:43 +00:00
kjh-5727%comcast.net
6f72849eb5 Bug 351231: type-pun warnings from nsCOMPtr. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@215753 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 13:21:27 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
cvshook%sicking.cc
2b2f4b6167 Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215584 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:28:14 +00:00
benjamin%smedbergs.us
e6f5a47e35 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215468 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 17:03:38 +00:00
benjamin%smedbergs.us
ea38317460 Backout xptcall because linux tboxes are stupid, I think.
git-svn-id: svn://10.0.0.236/trunk@215369 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us
d7078cf86a Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher
git-svn-id: svn://10.0.0.236/trunk@215364 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 18:29:33 +00:00
benjamin%smedbergs.us
0ffcb60cbc Bug 360836 - queryinterface isn't nulling the outparam in failure cases, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@215343 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 02:29:45 +00:00
benjamin%smedbergs.us
c408305383 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
git-svn-id: svn://10.0.0.236/trunk@215326 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 22:10:57 +00:00
benjamin%smedbergs.us
08d43e2b12 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
git-svn-id: svn://10.0.0.236/trunk@215278 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 21:21:37 +00:00
benjamin%smedbergs.us
2528600cb2 Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano
git-svn-id: svn://10.0.0.236/trunk@215204 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 17:53:01 +00:00
pavlov%pavlov.net
14fa38266d backing out 345517 due to leak test bustage
git-svn-id: svn://10.0.0.236/trunk@215087 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 04:42:03 +00:00
benjamin%smedbergs.us
b75752771b 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
git-svn-id: svn://10.0.0.236/trunk@215030 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 15:02:29 +00:00
bzbarsky%mit.edu
e06d5e4bdc Remove now-useless include. Bug 359224 followup, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@214693 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 02:00:31 +00:00
cvshook%sicking.cc
30e5ba2d08 Back out previous checkin, ENABLE_TESTS is not available inside code
git-svn-id: svn://10.0.0.236/trunk@214650 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 00:52:40 +00:00
cvshook%sicking.cc
727f17bcf0 Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds.
git-svn-id: svn://10.0.0.236/trunk@214640 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 22:42:34 +00:00
tor%cs.brown.edu
56eaef1024 Bug 359224 - include nsTraceRefcnt.h so NS_BUILD_REFCNT_LOGGING is valid.
Patch by amenzie@us.ibm.com, r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@214629 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 21:09:47 +00:00