Commit Graph

924 Commits

Author SHA1 Message Date
reed@reedloden.com
fe89775410 Bug 315305 - "Improve nsILocalFile error reporting on Mac" [p=smfr r=ccarlen sr=dougt a1.9=sayrer] 2007-10-14 20:05:20 -07:00
benjamin@smedbergs.us
2bd5a10828 Bug 398566 - Set MOZ_FIX_LINK_PATHS unconditionally, r=luser a=sayrer 2007-10-13 14:13:50 -07:00
jst@mozilla.org
45005266fc Fixing bug 398465. Eliminate dead code from nsPipeOutputStream. r=jwalden+bmo@mit.edu, sr=benjamin@smedbergs.us, a=sayrer@gmail.com 2007-10-13 09:39:13 -07:00
bent.mozilla@gmail.com
0f82960824 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron. 2007-10-03 17:57:09 -07:00
jst@mozilla.org
e8ab62c7c1 Fixing solaris build bustage when building with tests enabled. r=sayrer, sr=biesi, a=jst 2007-10-02 16:11:18 -07:00
benjamin@smedbergs.us
e56c3d784d Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron 2007-10-02 12:16:30 -07:00
roc+@cs.cmu.edu
20e5bb075c Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon 2007-09-30 14:34:56 -07:00
Olli.Pettay@helsinki.fi
2fb8ea7b56 back out Bug 373462 / bug 385322 (again :( ) 2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
a6aedd78ae Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst 2007-09-29 08:02:57 -07:00
jag@tty.nl
925a01f85a 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
8bd7c5cef0 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
dholbert@cs.stanford.edu
a1da58e6f5 Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits. r=bz sr=roc blocking1.9=dbaron 2007-09-25 10:12:17 -07:00
gavin@gavinsharp.com
f2774a0bcb Back out bug 392055 due to bustage 2007-09-23 20:44:28 -07:00
sdwilsh@shawnwilsher.com
cc8e5bfb57 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
Olli.Pettay@helsinki.fi
f9c785fb8b backout the test patch for Bug 373462 and 385322 2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
1d42d7ad32 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc' 2007-09-23 07:05:27 -07:00
asqueella@gmail.com
70469d1cb5 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
Olli.Pettay@helsinki.fi
3d3dee855b backout patch for Bug 373462, Bug 385322 2007-09-21 03:00:47 -07:00
Olli.Pettay@helsinki.fi
08d334c65d Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking 2007-09-21 01:54:36 -07:00
jwalden@mit.edu
036312c5b7 Yet another fix for Windows calling convention differences. 2007-09-21 01:18:36 -07:00
jwalden@mit.edu
f3cec9de81 Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition. 2007-09-21 01:12:07 -07:00
jwalden@mit.edu
e01dc9e11d Fix bustage from TestPipe.cpp; turns out NS_NewPipe2 isn't exported from XPCOM -- who knew? r+a=bustage 2007-09-21 00:59:09 -07:00
jwalden@mit.edu
08317171e2 Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz 2007-09-20 23:17:59 -07:00
scott@scott-macgregor.org
bc1961884c try to fix mac orange again. 2007-09-20 17:34:42 -07:00
scott@scott-macgregor.org
cd3973f8f1 try to fix the orange mac tinderbox builds by adjusting the Makefile.in rule. Thanks to bsmedberg for suggesting the fix. 2007-09-20 16:56:10 -07:00
scott@scott-macgregor.org
f9d06920f7 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
0c7941bd6b Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead). 2007-09-18 17:24:27 -07:00
roc+@cs.cmu.edu
559a8984a7 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
bc836c5219 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
2c8a07cf79 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
dbaron@dbaron.org
39d72c1b19 Remove incorrect use of NS_METHOD. b=394566 r+sr=peterv a=bzbarsky 2007-09-17 17:30:06 -07:00
bzbarsky@mit.edu
7fbc1dc914 Improve docs. Bug 396069, r+sr=biesi, a=bsmedberg 2007-09-17 15:30:58 -07:00
mozilla@weilbacher.org
ee0bb25b48 [OS/2] Bug 395576: extension of downloaded files are upper-cased sometimes, r=mkaply 2007-09-16 13:46:35 -07:00
jst@mozilla.org
6ef90c26fb Fixing bug 395651. Make our UTF-8 and UTF-16 comparison code etc more robust when dealing with invalid UTF-16 data. r+sr=jonas@sicking.cc, a=jst@mozilla.org/jonas@sicking.cc 2007-09-14 16:09:49 -07:00
benjamin@smedbergs.us
ac165ea888 Bug 393935 - Crash [@nsProxyObject::LockedFind] due to threads racing, r=brendan 2007-09-14 11:21:28 -07:00
reed@reedloden.com
d6ae5cb8ef Bug 395280 - "Build failure on Sparc Linux due to xptcall API changes" [p=marc@petit-huguenin.org (Marc Petit-Huguenin) r=bsmedberg a=damons] 2007-09-10 14:26:01 -07:00
jst@mozilla.org
bf80270f3b Fixing bug 394275. Fix problem with UTF16 to UTF8 character conversions when dealing with broken UTF16 characters. r+sr=jonas@sicking.cc 2007-09-07 13:28:27 -07:00
mozilla@weilbacher.org
cdd5eae28c [OS/2] Bug 394837: saving files doesn't work when WPS not active, r=mkaply 2007-09-06 14:44:05 -07:00
sharparrow1@yahoo.com
287e3b3a5d Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky. 2007-09-05 18:26:57 -07:00
sharparrow1@yahoo.com
70dae41e30 Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky. 2007-09-05 18:13:42 -07:00
jwalden@mit.edu
87b3f470a2 Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change 2007-09-05 15:31:12 -07:00
cbiesinger@gmx.at
af888adb39 381812 improved testcase for storage stream behaviour when the stream hasn't been written to r=bsmedberg 2007-09-05 13:30:18 -07:00
jag@tty.nl
d535057a5e Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg 2007-09-05 02:13:57 -07:00
jwalden@mit.edu
f57320c98b 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
asqueella@gmail.com
a70495c235 Bug 372298 - xpcom/io: 10K codesize reduction by fixing string array p=Alfred Kayser <alfredkayser@nl.ibm.com> r+a=bsmedberg 2007-09-02 14:57:11 -07:00
asqueella@gmail.com
4d33ba5d39 Bug 375778 - Read-Only Files Changed to Read-Write p=Simon Bunzli (busy) <zeniko@gmail.com> r=dougt, sr=bsmedberg, a=bz 2007-09-02 14:50:48 -07:00
thunder@mozilla.com
cfe7ec5883 Bug 392967: Load app and extension prefs separately. r=bsmedberg 2007-08-31 19:16:47 -07:00
cbiesinger@gmx.at
0ff9cf25bd add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag. r+sr+a=bz 2007-08-31 13:19:37 -07:00
jwalden@mit.edu
287840b3af Unbreak DEBUG_CC on Windows (calling convention mismatch); apparently nobody really uses it there. NPOTDB, rs=sicking 2007-08-30 14:47:26 -07:00
bent.mozilla@gmail.com
8164ad7e6d 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
c1a27644d9 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky. 2007-08-28 16:37:22 -07:00
pavlov@pavlov.net
448c760419 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg. original patch from David Humphrey <david.humphrey@senecac.on.ca> 2007-08-28 13:44:12 -07:00
dbaron@dbaron.org
333618edd4 Back out a small part of bug 391848 to fix bustage for some people (and add a comment warning about the problem). 2007-08-27 22:42:25 -07:00
dbaron@dbaron.org
f587e91942 Do stack walking on a single thread to avoid deadlocks during thread creation. b=391321 r=robarnold@mozilla.com sr=jmathies@mozilla.com (delegated by bsmedberg) a1.9=bzbarsky@mit.edu 2007-08-27 22:42:04 -07:00
dbaron@dbaron.org
bb94f6cdcf Fix bustage. 2007-08-22 18:29:54 -07:00
dbaron@dbaron.org
c7baafe98b Print path to expected garbage along with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:47:47 -07:00
dbaron@dbaron.org
1a55872e93 When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan 2007-08-22 17:47:24 -07:00
dbaron@dbaron.org
456ce4796e 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
sdwilsh@shawnwilsher.com
d84e1dbbf7 Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor 2007-08-21 10:22:02 -07:00
bzbarsky@mit.edu
03372522d9 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking. 2007-08-20 15:55:06 -07:00
mats.palmgren@bredband.net
d81d25fa31 Add a missing return. b=392782 r+sr+a1.9=dbaron 2007-08-20 14:31:48 -07:00
bent.mozilla@gmail.com
2089413461 Bug 385250 - "IsVoid and IsTerminated may return something other than PR_TRUE and PR_FALSE". r=dbaron, sr=jag, a=bz. 2007-08-19 20:09:30 -07:00
dbaron@dbaron.org
3d844b932b Allow builds compiled with VC8 to function with older versions of dbghelp.dll. b=391848 r+a=bsmedberg 2007-08-19 14:38:31 -07:00
dbaron@dbaron.org
7344964330 Debugging code and cleanup from fixing Windows stack traces to work on VC8-compiled builds in addition to VC7.1-compiled builds. b=391848 r=bsmedberg a=bzbarsky 2007-08-19 14:37:55 -07:00
philringnalda@gmail.com
d90d948a45 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
cbiesinger@gmx.at
5e31e355aa fixing orange, the new behaviour is better 2007-08-17 14:20:55 -07:00
cbiesinger@gmx.at
07c4078d63 381812 make it possible to get storage input streams for empty streams r=bsmedberg 2007-08-17 13:27:50 -07:00
benjamin@smedbergs.us
d02d574d6f Bug 350132 - Deadlock in JS/XPCOM proxy, r=brendan 2007-08-16 13:51:50 -07:00
dbaron@dbaron.org
316ba54207 Enable Linux stack walking code on Mac OS X. b=336517 r+a=bsmedberg 2007-08-15 17:03:29 -07:00
dbaron@dbaron.org
dc6322123e Include file name and line number in Windows stack traces. b=391850 r+a=bsmedberg 2007-08-14 09:34:32 -07:00
dbaron@dbaron.org
367db6a074 Merge nsStackFrameWin and nsStackFrameUnix into nsStackWalk. b=391793 r+a=bsmedberg 2007-08-13 12:37:36 -07:00
dbaron@dbaron.org
35c35b77da Remove nsTraceRefcnt::LoadLibrarySymbols, which is no longer needed due to the error handling in SymGetModuleInfoEspecial. b=391793 r+a=bsmedberg 2007-08-13 12:36:57 -07:00
ginn.chen@sun.com
f9c3192b6a Bug 374689 Fix build issues r+a=dbaron 2007-08-12 22:29:55 -07:00
dbaron@dbaron.org
9afc343b9e Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan 2007-08-10 15:20:48 -07:00
dbaron@dbaron.org
31a5daa88d Export a stack walking API (usable from C or C++) from XPCOM. b=374689 r=bsmedberg a=bzbarsky 2007-08-10 14:32:49 -07:00
dbaron@dbaron.org
0963614ac2 Split the address->symbol mapping from the rest of the stack walking code. b=374829 r=bsmedberg a=bzbarsky 2007-08-10 14:29:37 -07:00
dbaron@dbaron.org
e6a0747a5d Export a stack walking API (usable from C or C++) from XPCOM. b=374689 r=bsmedberg a=bzbarsky 2007-08-10 14:28:22 -07:00
bzbarsky@mit.edu
6cd5e2c07c Add a stack-and-abort value of XPCOM_DEBUG_BREAK 2007-08-10 12:42:58 -07:00
benjamin@smedbergs.us
8d592536a0 Bug 383553 - Crash on quit in nsTimerImpl::Release, r=dbaron sr=brendan 2007-08-09 11:37:02 -07:00
benjamin@smedbergs.us
ed8cd5f3b9 Backing out bug 214164 due to non-libxul bustage... WTF? :-( 2007-08-08 14:41:43 -07:00
benjamin@smedbergs.us
7052ae973f 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
mrbkap@gmail.com
4bf9fb0512 Fix broken printf to fix a compile warning. bug 390855, r+sr+a=bsmedberg 2007-08-07 18:47:40 -07:00
aaronr@us.ibm.com
4583a01fbf make nsStringContainer_base smaller bug 390849, r+sr+a=bsmedberg 2007-08-07 16:37:44 -07:00
sharparrow1@yahoo.com
6e635b361e Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky 2007-08-07 12:16:52 -07:00
bzbarsky@mit.edu
57d1cb60be Make it possible to serialize an nsISerializable instance to an arbitrary stream, not just to the fastload file. Bug 390474, r=bsmedberg, sr=brendan, a=bsmedberg. 2007-08-06 19:00:55 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
benjamin@smedbergs.us
8e69de1ff8 Bug 389718 - Hide xptcall shared stubs, x86 and a matching x86-64 change, r=dbaron a=bz 2007-08-06 12:30:51 -07:00
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
dtownsend@oxymoronical.com
ebfa6d5d6b 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
benjamin@smedbergs.us
ac46d67a69 Bug 390190 - XULRunner loads system sqlite3 (and can then crash), patch by redfive (mozilla@jgaunt.com), r=me a=mconnor for landing into close M7 tree 2007-07-30 13:17:18 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
enndeakin@sympatico.ca
4ada13e2d9 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
dcamp@mozilla.com
67423b50ef Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
cbiesinger@gmx.at
9ae7c9de67 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
bzbarsky@mit.edu
0363001136 Fix string leak. Bug 389191, r=josh, sr=bsmedberg 2007-07-24 13:19:03 -07:00
bzbarsky@mit.edu
dc8de3f8f7 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
cbiesinger@gmx.at
7938f2525a add a comment explaining the 0x20..0x7f range 2007-07-23 20:30:00 -07:00
asqueella@gmail.com
5c3b32733e Bug 339069 - Optimization for RFindInReadable
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dbaron
2007-07-23 18:30:19 -07:00
cbiesinger@gmx.at
3fec674918 bug 389106 escape spaces even for the OnlyNonASCII flag
r=bzbarsky sr=dveditz
2007-07-23 17:28:42 -07:00
sdwilsh@shawnwilsher.com
bef3969f5f Bug 306907 - Build libsqlite as a standard name separate shared library. Patch by Michael Wu <michael.wu@mozilla.com>, Robert Relyea <rrelyea@redhat.com>, Ryan VanderMeulen <ryanvm@gmail.com>, and Shawn Wilsher <me@shawnwilsher.com>. r=benjamin 2007-07-18 09:20:12 -07:00
bzbarsky@mit.edu
ad85e1d5b5 Make fastload handle short reads from its underlying buffered stream. Bug
387588, r+sr=biesi
2007-07-17 18:54:55 -07:00
jwalden@mit.edu
aed9b5ce09 Bug 388276 - Build failed on solaris x86 due to checkin for 372428. Patch by Leon Sha <leon.sha@sun.com>, r=cls 2007-07-17 14:23:24 -07:00
mozilla@weilbacher.org
5f91fc1ead [OS/2] Bug 348533: fix build break due to missing glue, removing support for old VAC plugins in libxul builds, r=benjamin 2007-07-17 14:13:17 -07:00
benjamin@smedbergs.us
b10e67d2e6 Bug 368854 - Use new compiler/linker flags added in VC8 to improve security, r=luser 2007-07-17 06:31:28 -07:00
sdwilsh@shawnwilsher.com
ed0d5c29a2 Backout of Bug 306907 2007-07-16 14:32:03 -07:00
sdwilsh@shawnwilsher.com
61f8ec5ce3 Bug 306907 - Build libsqlite as a standard name separate shared library. Patch by Michael Wu <michael.wu@mozilla.com>, Robert Relyea <rrelyea@redhat.com>, Ryan VanderMeulen <ryanvm@gmail.com>, and Shawn Wilsher <me@shawnwilsher.com>. r=benjamin 2007-07-16 14:23:29 -07:00
dolske@mozilla.com
3993fb25c6 Bug 388189: console spewage: "(all right -- a generic module!)". r=dougt, sr=benjamin 2007-07-16 12:00:14 -07:00
dolske@mozilla.com
8d016bf95e Bug 386281: "Type Manifest File:" spewed to console on launch. r=dougt, sr=benjamin 2007-07-14 18:15:26 -07:00
dbaron@dbaron.org
afa55bb19c Explain another possibility in this debugging printf. DEBUG_CC only. 2007-07-14 12:06:10 -07:00
jst@mozilla.org
a5ca1451f3 Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org 2007-07-11 13:46:43 -07:00
benjamin@smedbergs.us
27c6275bc8 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
11ed13d71f 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
bzbarsky@mit.edu
552e3572df Try to fix orange: sGlobalObserver can get set during event processing, not
just unset.  Bug 326777
2007-07-10 20:01:56 -07:00
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