Commit Graph

4561 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
8a55f7964d Relanding bug 326777, r=bsmedberg, sr=jst 2007-07-10 17:57:17 -07:00
bzbarsky@mit.edu
b684e745b0 Backing out to fix red 2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
e57cc08535 Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events.  Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
dbaron@dbaron.org
044741fe41 Make ExplainLiveExpectedGarbage traverse the suspectCurrent roots, since now that it's more accurate, more graph is always better. b=387005 r=graydon 2007-07-08 12:26:44 -07:00
jwalden@mit.edu
e3c4baccae 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
dbaron@dbaron.org
174c979c27 Make Fault give more information, #ifdef DEBUG_CC. b=386947 r=graydon 2007-07-05 15:38:38 -07:00
dbaron@dbaron.org
8e293c01db In ExplainLiveExpectedGarbage, print only the externally-referenced nodes from which the expected garbage is reachable. b=387005 r=graydon 2007-07-05 15:20:16 -07:00
dbaron@dbaron.org
2f9c58d2d1 Make suspectCurrent assertion not fire constantly after we Fault. b=386664 r+sr=peterv 2007-07-03 14:21:57 -07:00
jruderman@hmc.edu
cdf7d8d9e6 Fix bug 383426 (OOM crash). r=peterv, sr=roc. 2007-07-02 23:03:11 -07:00
benjamin@smedbergs.us
75dc0cfd4c 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
benjamin@smedbergs.us
fe2499cb49 From bug 383167, package up the xpcom/system XPTs correctly, r=luser 2007-07-02 06:04:22 -07:00
sharparrow1@yahoo.com
1aec3714f6 Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc 2007-07-01 22:22:51 -07:00
dbaron@dbaron.org
ad25bf5b7f Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-27 13:41:26 -07:00
dbaron@dbaron.org
eb0effca3c Fix gcc warning about casting string literal to char*, DEBUG-only. 2007-06-27 13:40:52 -07:00
dbaron@dbaron.org
c406f481be 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
jwatt@jwatt.org
1fff33d333 Fixing bug 383769. nsLocalFile::EnsureShortPath should check if GetShortPathNameW failed. r=benjamin@smedbergs.us 2007-06-27 01:36:03 -07:00
dbaron@dbaron.org
32b9b04c86 Back out 385548 to try to fix test orange. 2007-06-26 22:26:38 -07:00
dbaron@dbaron.org
02448989cf 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
sdwilsh@shawnwilsher.com
63c8d13237 Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger 2007-06-26 17:45:52 -07:00
benjamin@smedbergs.us
5ebfce3c70 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
bd5749568a Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
dbaron@dbaron.org
eb732c3fce Print the warning message for failure to suspect or unlink only for the objects that are the roots of what would have been collected. b=385549 r=graydon 2007-06-25 13:36:24 -07:00
benjamin@smedbergs.us
035e643c90 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
97afb0c802 Bug 383167 - Need buildid in an external file, r=luser sr=jst 2007-06-25 08:25:59 -07:00
enndeakin@sympatico.ca
d165145397 Bug 382034, support optional args in idl, try again with fix for crash calling toString, r+sr=shaver 2007-06-25 07:23:26 -07:00
enndeakin@sympatico.ca
2364c01e63 Bug 382034, back out due to test content/base/test/test_bug352728.html failing 2007-06-22 08:21:13 -07:00
enndeakin@sympatico.ca
23b79c6763 Bug 382034, support optional arguments in idl, r+sr=shaver 2007-06-22 07:22:20 -07:00
dbaron@dbaron.org
86b826726a Back out again. 2007-06-21 17:30:41 -07:00
dbaron@dbaron.org
1b35379c96 See if using mScanDelay of 1 instead of 0 fixes the leak regression. 2007-06-21 16:49:37 -07:00
dbaron@dbaron.org
8a1ffc4a83 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-21 16:02:53 -07:00
asqueella@gmail.com
7cb7471f2a Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
benjamin@smedbergs.us
5d108b6b27 Bug 385189 - mac builds without libxul failing to compile due to macmorefiles, r=mento 2007-06-20 12:22:01 -07:00
benjamin@smedbergs.us
df99122343 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
ajschult@verizon.net
1561f7be2a Bug 384748: xpidl can generate garbage .java filenames. r=jhpedemonte 2007-06-18 21:04:11 -07:00
graydon@mozilla.com
16a5902d61 Bug 384942, dump graph on cycle collection fault.
r=dbaron
2007-06-18 18:29:10 -07:00
kherron@fmailbox.com
8d9db0e22f Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
kherron@fmailbox.com
2084922e5c 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
dbaron@dbaron.org
d4580a96f6 Back out bug 381199. 2007-06-13 17:12:16 -07:00
dbaron@dbaron.org
315c9bfadc Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-13 16:22:19 -07:00
philringnalda@gmail.com
8344cdecca Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin 2007-06-10 23:10:27 -07:00
bzbarsky@mit.edu
de40ae1d88 Fix NS_InputStreamIsBuffered to detect buffered empty streams correctly. Bug368328, patch by Ryan Jones <sciguyryan@gmail.com>, r=bsmedberg, sr=biesi 2007-06-08 09:00:09 -07:00
peterv@propagandism.org
2646ce169d Fix for bug 383651 (Re-entrancy into nsCycleCollector::Collect can result in a crash). Patch by ak.miller@auckland.ac.nz, r=graydon, sr=dbaron. 2007-06-08 03:17:21 -07:00
dbaron@dbaron.org
bcec47ef49 Don't loop through all the possible shutdown collections when we suspect all native wrappers. b=383234 r+sr=peterv 2007-06-06 15:09:00 -07:00
dbaron@dbaron.org
56b18ce3b6 Shutdown in one cycle when we set mScanDelay to 0. b=383234 r+sr=peterv 2007-06-06 15:08:25 -07:00
dbaron@dbaron.org
df22213243 strdup when allocating mName so we have useful pointers. b=383234 r+sr=peterv 2007-06-06 15:07:29 -07:00
dbaron@dbaron.org
ace8e8711d Print info about things that are suspected on the extra collections at shutdown to catch deficiencies in traversal that cause us to need the extra collections. b=383234 r+sr=peterv 2007-06-06 15:06:56 -07:00
dbaron@dbaron.org
99dfb4bbf6 When explaining why expected garbage was not collected, list the known references when some were unknown. b=383234 r+sr=peterv 2007-06-06 15:06:00 -07:00
dbaron@dbaron.org
c429e4bd0f Make nsTraceRefcnt print addresses along with serial numbers, and fix warning about casting to a function pointer. b=383234 r=peterv 2007-06-06 15:05:25 -07:00
dbaron@dbaron.org
747b9fa729 Make DEBUG_CC compile again. b=383234 r+sr=peter 2007-06-06 15:04:26 -07:00
joshmoz@gmail.com
eb98521dbc fix some gcc 4 warnings in xpcom. patch by Christian Haberstroh. b=382753 r=bent sr=bsmedberg 2007-06-04 08:44:43 -07:00
wtc@google.com
ac2afcf8a6 Bugzilla Bug 376568: the definition of PR_STATIC_ASSERT has been moved fromprerror.h to prlog.h. r=jwalden sr=roc 2007-05-28 07:51:08 -07:00
benjamin@smedbergs.us
6dab4def3e Bustage followup from bug 381315 2007-05-25 08:37:59 -07:00
benjamin@smedbergs.us
4fe3b7fb69 Bug 381315 - nsINIParser crashes when linked against a static CRT (opera profile migrator), r=dougt 2007-05-25 08:05:11 -07:00
benjamin@smedbergs.us
54a5d174eb Bug 337492 - Fix destructor race condition in proxy events, initial patch by Alex Fritze, with additional comments by me, r=me+dbaron 2007-05-25 04:18:18 -07:00
peterv@propagandism.org
83f90c2c83 Fix warning. 2007-05-25 03:57:38 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
Olli.Pettay@helsinki.fi
b166f9ba56 Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 13:45:13 -07:00
Olli.Pettay@helsinki.fi
0a6d3668cd Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -07:00
bent.mozilla@gmail.com
cf6a9947a6 Bug 379565 - "Figure out a way to prevent people from using static ns(C)String instances". r=bsmedberg. 2007-05-16 13:10:18 -07:00
asqueella@gmail.com
3c8901d1d8 Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt 2007-05-13 09:48:39 -07:00
jonas@sicking.cc
36cb23b6c1 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
bdfbc4a316 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
ccae61e56a Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
jonas@sicking.cc
1c214cc3a2 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
9179b005a4 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
neil@parkwaycc.co.uk
94371423ae Bug 379339 StringBegins/EndsWith inconsistent with nsReadableUtils.cpp r=bsmedberg sr=darin 2007-05-07 04:09:54 -07:00
dbaron@dbaron.org
0f8b649a97 Remove extra class names to address Neil's comments. b=378514 2007-05-03 16:07:26 -07:00
gavin@gavinsharp.com
3b23c3bc14 Bug 364297: add a new per-profile default-pref directory and associated directory service keys, and a way to trigger pref service default pref reloading to facilitate the change of default prefs without affecting exisiting users, r=mconnor, sr=bsmedberg 2007-05-02 13:13:33 -07:00
pedemont@us.ibm.com
1fbdceaa6c Bug 348710 - Fix array handling bug. Add support for sized strings. Update unit tests to test array parameters. XULRunner only. 2007-05-02 09:39:19 -07:00
smontagu@smontagu.org
fa6eefc1a9 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 2007-04-29 10:51:38 -07:00
smontagu@smontagu.org
4266bdbdc9 Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC 2007-04-26 11:56:30 -07:00
bent.mozilla@gmail.com
410a990fb7 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
dbaron@dbaron.org
c7cfb02cfd Record results of cycle collection traversal so we only have to call the traversal APIs once per collection. b=378514 sr=peterv r=graydon 2007-04-25 14:12:11 -07:00
peterv@propagandism.org
44535293b8 Fix for bug 376854 (CycleCollector depends on uninitialized values (ageSelectionCallback and nsPurpleBuffer::BumpGeneration)). r/sr=dbaron. 2007-04-25 11:33:55 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
smontagu@smontagu.org
360c411c82 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin 2007-04-25 07:48:12 -07:00
alfred.peng@sun.com
1d9fcd63fd Followup from bug 375449. Fix the bustage for Solaris SPARC/x86.r=benjamin. 2007-04-25 06:42:13 -07:00
benjamin@smedbergs.us
1add5b4227 Followup from bug 375449, #define renaming doesn't work with assembly files. 2007-04-24 10:28:02 -07:00
benjamin@smedbergs.us
bc865ae32f Bug 375449 - NS_InvokeByIndex not exported from xpcom, only from xpcom_core, r=dbaron 2007-04-24 10:02:51 -07:00
dbaron@dbaron.org
436a51a9c7 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 2007-04-23 16:34:33 -07:00
benjamin@smedbergs.us
2e25a321f8 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
peterv@propagandism.org
fa1d45ea66 Fix for bug 372110 (Make cycle-collection debugging features optional at compile time). r=graydon, sr=jst. 2007-04-21 10:43:19 -07:00
peterv@propagandism.org
6d262baa21 Reorder members to make struct smaller and try to lower MH down again. 2007-04-20 01:51:31 -07:00
peterv@propagandism.org
01dc49f9b9 Fix for bug 377606 (Switch cycle collector to more efficient hashtables). Patch by graydon, r=peterv, sr=dbaron. 2007-04-20 01:01:01 -07:00
bzbarsky@mit.edu
fa8fd3eba6 Reland bug 326603, which got accidentally backed out by the landing of bug313309. 2007-04-18 12:27:39 -07:00
peterv@propagandism.org
7498a7fcd9 Fix for bug 373693 (Cycle collector makes AddRef about 6x slower). r=graydon, sr=dbaron. 2007-04-18 03:10:35 -07:00
gavin@gavinsharp.com
ae334e4da0 Bug 377189: fix nsIFileTest.cpp compilation, patch by Bernhard Rosenkraenzer <bero@arklinux.org>, r=dougt 2007-04-16 11:09:29 -07:00
dbaron@dbaron.org
10314006af Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
jwalden@mit.edu
28e59734d6 Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc 2007-04-12 15:19:26 -07:00
peterv@propagandism.org
5be4000455 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
timeless@mozdev.org
e5da1d89a3 Bug 370061 - OpenBSD: sync with reality, they've had GCC3 for a long timepatch by martynas@openbsd.org r=timeless 2007-04-09 12:59:11 -07:00
benjamin@smedbergs.us
8e55a1314b Bug 339898 - Unresolved text symbol PR_InternalNow when using the standalone glue, r=timeless 2007-04-02 08:29:41 -07:00
sayrer@gmail.com
a798c7caa7 Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky 2007-03-28 22:33:45 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
20ccc7a91d Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 08:34:14 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
dbaron@dbaron.org
f24f1c6523 Consolidate duplicated code into the beginning of the double-hashing loop. b=374906 r=brendan 2007-03-27 08:32:38 -07:00
peterv@propagandism.org
d1329c5052 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron. 2007-03-27 02:49:06 -07:00
roc+@cs.cmu.edu
ab2533b6bd Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking 2007-03-26 20:38:21 -07:00
sayrer@gmail.com
43a131f86e Backout previous change, as it caused bustage elsewhere. 2007-03-26 12:39:22 -07:00
sayrer@gmail.com
b2da4b6602 Backout previous change, as it caused bustage elsewhere. 2007-03-26 12:37:59 -07:00
sayrer@gmail.com
01e7229275 Backout previous change, as it caused bustage elsewhere. 2007-03-26 12:32:40 -07:00
sayrer@gmail.com
277bb77024 fix build bustage on gcc 4.1.2. no bug. r=bsmedberg 2007-03-26 10:47:52 -07:00
sayrer@gmail.com
472dcc8373 fix build bustage on gcc 4.1.2. no bug. r=bsmedberg 2007-03-26 10:43:07 -07:00
jwalden@mit.edu
d352fc4921 Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg 2007-03-25 00:31:45 -07:00
jwalden@mit.edu
72db7ae2c3 Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg 2007-03-25 00:28:06 -07:00
dbaron@dbaron.org
d5b8384219 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
06fbbde8b2 Slightly safer and neater fix for strict aliasing bug 351231 r+sr=dbaron 2007-03-23 13:26:20 -07:00
peterv@propagandism.org
a48211b9d5 Backing out change for debugging tinderbox orange. 2007-03-23 09:10:21 -07:00
peterv@propagandism.org
821b938944 Temporarily enable cycle collection timing for debug builds to figure out tinderbox orange. Will back out after qm-xserve01 tinderbox has cycled. 2007-03-23 08:11:53 -07:00
hg@mozilla.com
465265d0d4 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