7646 Commits

Author SHA1 Message Date
smontagu%smontagu.org
51eda83633 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin. Recheckin including fix for bug 378839, r=bsmedberg, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@225228 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 17:51:38 +00:00
smontagu%smontagu.org
ca062bd6b8 Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC
git-svn-id: svn://10.0.0.236/trunk@225103 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 18:56:30 +00:00
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
dbaron%dbaron.org
9704b1f374 Record results of cycle collection traversal so we only have to call the traversal APIs once per collection. b=378514 sr=peterv r=graydon
git-svn-id: svn://10.0.0.236/trunk@225045 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 21:12:11 +00:00
peterv%propagandism.org
03af169f9c Fix for bug 376854 (CycleCollector depends on uninitialized values (ageSelectionCallback and nsPurpleBuffer::BumpGeneration)). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@225023 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 18:33:55 +00:00
peterv%propagandism.org
4d197ac7f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
smontagu%smontagu.org
148de41ea7 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@225008 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 14:48:12 +00:00
alfred.peng%sun.com
e6b9e158c7 Followup from bug 375449. Fix the bustage for Solaris SPARC/x86.
r=benjamin.


git-svn-id: svn://10.0.0.236/trunk@225005 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 13:42:13 +00:00
benjamin%smedbergs.us
171a0984e9 Followup from bug 375449, #define renaming doesn't work with assembly files.
git-svn-id: svn://10.0.0.236/trunk@224951 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 17:28:02 +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
dbaron%dbaron.org
6a785b4c10 Followup fixes to making cycle collector use more efficient hashtables: shrink size of table and fix warnings on 64-bit machines. b=377606 sr=peterv r=graydon
git-svn-id: svn://10.0.0.236/trunk@224912 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 23:34:33 +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
peterv%propagandism.org
348a390880 Fix for bug 372110 (Make cycle-collection debugging features optional at compile time). r=graydon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@224841 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 17:43:19 +00:00
peterv%propagandism.org
acbb120b72 Reorder members to make struct smaller and try to lower MH down again.
git-svn-id: svn://10.0.0.236/trunk@224783 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 08:51:31 +00:00
peterv%propagandism.org
155d3aa1fe Fix for bug 377606 (Switch cycle collector to more efficient hashtables). Patch by graydon, r=peterv, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@224781 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 08:01:01 +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
gavin%gavinsharp.com
7352ceb031 Bug 377189: fix nsIFileTest.cpp compilation, patch by Bernhard Rosenkraenzer <bero@arklinux.org>, r=dougt
git-svn-id: svn://10.0.0.236/trunk@224576 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 18:09:29 +00:00
dbaron%dbaron.org
c291f28c4e Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@224556 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:23:00 +00:00
jwalden%mit.edu
3c39115095 Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224470 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 22:19:26 +00:00
peterv%propagandism.org
2e4ca48649 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@224381 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-10 22:05:44 +00:00
timeless%mozdev.org
859e54f3f6 Bug 370061 - OpenBSD: sync with reality, they've had GCC3 for a long time
patch by martynas@openbsd.org r=timeless


git-svn-id: svn://10.0.0.236/trunk@224321 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 19:59:11 +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
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