Commit Graph

7623 Commits

Author SHA1 Message Date
sayrer%gmail.com
ca9fad66bb Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@222580 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 05:33:45 +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
5948490569 Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222463 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:34:15 +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
peterv%propagandism.org
3fa85f1e05 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@222453 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 09:49:06 +00:00
roc+%cs.cmu.edu
ed9e4d793e Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@222444 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:38:21 +00:00
sayrer%gmail.com
28f1d6c396 Backout previous change, as it caused bustage elsewhere.
git-svn-id: svn://10.0.0.236/trunk@222420 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 19:39:22 +00:00
sayrer%gmail.com
d4486152fa Backout previous change, as it caused bustage elsewhere.
git-svn-id: svn://10.0.0.236/trunk@222419 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 19:37:59 +00:00
sayrer%gmail.com
420b699120 Backout previous change, as it caused bustage elsewhere.
git-svn-id: svn://10.0.0.236/trunk@222418 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 19:32:40 +00:00
sayrer%gmail.com
67b23f6e4c fix build bustage on gcc 4.1.2. no bug. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 17:47:52 +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
jwalden%mit.edu
3aa1dfb759 Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222344 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 07:28:06 +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
8ac207ff45 Backing out change for debugging tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@222269 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 16:10:21 +00:00
peterv%propagandism.org
a2c5132fa9 Temporarily enable cycle collection timing for debug builds to figure out tinderbox orange. Will back out after qm-xserve01 tinderbox has cycled.
git-svn-id: svn://10.0.0.236/trunk@222260 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 15:11:53 +00:00
jst%mozilla.org
7e34e04a6d Fixing bug 374239. Add debugging code that will print time spent in various parts of nsCycleCollector::Collect(). r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@222050 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 23:21:31 +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
graydon%mozilla.com
dc9729938a Bug 368869, previous commit had a typo: s/bool/PRBool/, s/false/PR_FALSE/.
git-svn-id: svn://10.0.0.236/trunk@221951 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 23:47:01 +00:00
graydon%mozilla.com
b9117b23eb Bug 368869 - Make cycle collection suspect all native wrapper roots
r=brendan, sr=jst


git-svn-id: svn://10.0.0.236/trunk@221947 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 23:05:03 +00:00
joshmoz%gmail.com
c245aa3385 XPCOM cycle collector is initialized statically, don't do that. b=369336 r=graydon sr=vlad
git-svn-id: svn://10.0.0.236/trunk@221866 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 06:15:10 +00:00
gavin%gavinsharp.com
5ee8270181 Fix windows unit test bustage by reverting previous change (bug 332389 comment 24)
git-svn-id: svn://10.0.0.236/trunk@221773 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 11:10:11 +00:00
joshmoz%gmail.com
16cd7cb165 remove unnecessary exception handling code in unit test for bug 332389. r=jwalden
git-svn-id: svn://10.0.0.236/trunk@221771 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 09:19:40 +00:00
joshmoz%gmail.com
816a4d4554 xpcshell unit test for bug 332389, ensure that GetParent() returns nsnull at the top of the volume. patch by Wladimir Palant. b=332389 r=josh
git-svn-id: svn://10.0.0.236/trunk@221770 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 07:42:59 +00:00
dbaron%dbaron.org
d017dd7469 Add debugging code to cycle collector to give information about objects it has been told ought to be freed. b=372766 r=graydon sr=peterv
git-svn-id: svn://10.0.0.236/trunk@221648 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:00:14 +00:00
peterv%propagandism.org
f83d032e9f Take care of reviewer comment (bug 373219).
git-svn-id: svn://10.0.0.236/trunk@221606 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:49:45 +00:00
peterv%propagandism.org
fbe71aa7e3 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@221603 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:14:06 +00:00
jwalden%mit.edu
99ee4e7ebe Bug 367467 - Allow inputstream generation at the end of data in a storage stream (i.e., so reading from the new stream automatically blocks/throws and doesn't even read any data). r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@221602 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 12:28:55 +00:00
peterv%propagandism.org
b8fb6042d5 Try to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@221536 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:31:14 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
joshmoz%gmail.com
b1bbf339d9 nsLocalFile::GetParent() doesn't return nsnull at top of volume. patch by Wladimir Palant. b=332389 r=sayrer r=josh
git-svn-id: svn://10.0.0.236/trunk@221485 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 22:17:01 +00:00
bzbarsky%mit.edu
95e07ea4ea Relanding bug 368523 now that we've established it's the reason for the Txul change.
git-svn-id: svn://10.0.0.236/trunk@221403 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:25:10 +00:00
bzbarsky%mit.edu
6e4d76337c Back out bug 368523 to test performance impact
git-svn-id: svn://10.0.0.236/trunk@221396 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 18:23:15 +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
dbaron%dbaron.org
e623156ce9 Make nsCycleCollector::Fault do something in debug builds. b=372320 r=graydon sr=peterv
git-svn-id: svn://10.0.0.236/trunk@221342 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 21:07:51 +00:00
bzbarsky%mit.edu
17017014fc Don't hook malloc by default (still hook it if asked to via the env vars), and
when it's hooked ignore free(0) calls.  Bug 368523, r=graydon, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@221191 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 01:08:03 +00:00
benjamin%smedbergs.us
23dedb2af1 Linux ppc followup from bug 349002, patch by Willie Walker <william.walker@sun.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@221166 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 18:44:08 +00:00
pavlov%pavlov.net
6e50282a93 adding new round/ceil/floor that behave like (or call through to) the libc versions. splitting them out in to a file so they don't have a dependency on nscoord. bug 372027. r=vlad, sr=roc, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@221091 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 20:57:13 +00:00
bzbarsky%mit.edu
3c646ad803 No need to enter the monitor in our destructor. Bug 371374 followup, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@221054 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 02:28:53 +00:00
bzbarsky%mit.edu
7a460332bb Fix leak when using XPCOM proxies. Bug 371374, patch by Bas Schouten
<bas.schouten@joost.com>, r=bsmedberg, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@220828 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 17:38:45 +00:00
benjamin%smedbergs.us
56e0ee480d Bug 368297 - Fail to find plugins under MOZ_PLUGIN_PATH, patch by Boying Lu <brian.lu@sun.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@220656 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 19:45:48 +00:00
benjamin%smedbergs.us
2632165c74 Bug 78081 - Don't export intermediate libraries, r=luser
This is going to break camino until those build scripts are updated.


git-svn-id: svn://10.0.0.236/trunk@220633 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 15:13:36 +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
jwalden%mit.edu
f50dfb960e Bug 361791 - Unnecessary signed-unsigned casts, warnings in xpidl_util.c. r=timeless, sr=darin
git-svn-id: svn://10.0.0.236/trunk@220534 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 00:02:19 +00:00
peterv%propagandism.org
de048b9d64 Fix for bug 367779 (Make cycle collection through JS objects more reliable). r=jst, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@220522 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 20:05:32 +00:00
peterv%propagandism.org
160ab8ca70 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@220513 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 14:38:04 +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
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +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