1005 Commits

Author SHA1 Message Date
graydon%mozilla.com
84186f595b Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@218043 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 01:33:02 +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
75bfd7865e Bug 333078: XPCOM cycle collector, first performance-related followup patch.
Reorganizes collection throttling to coincide with existing JS_GC scheme.


git-svn-id: svn://10.0.0.236/trunk@217799 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 01:44:42 +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
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
b964499284 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215705 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 21:31:33 +00:00
vladimir%pobox.com
81dc6dcbb9 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215700 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 20:48:47 +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
gavin%gavinsharp.com
9e78eda24c Bug 342670
git-svn-id: svn://10.0.0.236/trunk@215680 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:50:35 +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
mats.palmgren%bredband.net
77dba5b664 Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215416 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 00:48:56 +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
mats.palmgren%bredband.net
9a25d17ebb Backing out the NS_LIKELY/NS_UNLIKELY change to see if it fixes Tinderbox orange. b=340244
git-svn-id: svn://10.0.0.236/trunk@215062 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 22:52:19 +00:00
mats.palmgren%bredband.net
54cfbc0751 Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@215037 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 17:41:03 +00:00
vladimir%pobox.com
0f27f72b91 b=354984, patches to build with vista RC1 SDK, r=darin
git-svn-id: svn://10.0.0.236/trunk@214087 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 20:38:29 +00:00
cbiesinger%web.de
9768036c39 bug 348748 make NS_*_CAST always use C++-style casts (in preparation for
removing the macros altogether)
r=bsmedberg sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@209146 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-04 23:04:57 +00:00
vladimir%pobox.com
76959cb1ff b=327161, real and final fix for btek's orange in uuidgenerator glibc brokenness, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@207399 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 00:52:21 +00:00
vladimir%pobox.com
219c7ab903 b=327161, uuidgenerator stuff, attempt to fix btek from previous checkin, r=bz
git-svn-id: svn://10.0.0.236/trunk@207377 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:04:01 +00:00
vladimir%pobox.com
d7d171f363 b=327161, nsUUIDGenerator subject to reseeding woes, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@207347 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 18:53:34 +00:00
benjamin%smedbergs.us
b0525d621c Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin
git-svn-id: svn://10.0.0.236/trunk@206417 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 18:27:25 +00:00
gavin%gavinsharp.com
09597af3f8 Bug 322169: Clear Private Data does not clear JS Console, patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor, r=darin
git-svn-id: svn://10.0.0.236/trunk@203096 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:49:33 +00:00
sspitzer%mozilla.org
49e75eee09 fix for bug #341190
Software update should forward information about specific operating system version.

r=darin


git-svn-id: svn://10.0.0.236/trunk@201665 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 06:32:03 +00:00
mark%moxienet.com
c0764f0307 Copy'n'paste (340071) and drag'n'drop (340890) between Mozilla app running natively and Mozilla app running under Rosetta translation does not work [properly]. Byte-swap UTF-16 text in private flavors when running under Rosetta. r=josh sr=pink a/1.8.1=me
git-svn-id: svn://10.0.0.236/trunk@199998 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 17:14:00 +00:00
bzbarsky%mit.edu
37930f4f77 Make nsUUIDGenerator use the low bits, not the high ones, so we actually get
random numbers on 64-bit systems.  Bug 335549, r=vlad, sr=roc


git-svn-id: svn://10.0.0.236/trunk@199951 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 04:40:21 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
bent.mozilla%gmail.com
ffd74d2c73 Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@198922 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 23:37:10 +00:00
joshmoz%gmail.com
4f6ed4fe6d add a comment for my last checkin, b=339987
git-svn-id: svn://10.0.0.236/trunk@198899 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:20:52 +00:00
joshmoz%gmail.com
51cd8132db Make Mac OS X debug trap impl use raise(SIGTRAP) instead of Mac OS X debugging function so we're only required to set the XPCOM debug env variable and not also the Mac OS X debug break variable. Also make GNUC/x86 test more robust, include '__i386__' in the test because not all platforms define '__i386' (Mac OS X is one of those, though it doesn't really matter here since we do a separate test for Mac OS X). b=339987 r=mento sr=dougt
git-svn-id: svn://10.0.0.236/trunk@198898 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:06:43 +00:00
bzbarsky%mit.edu
bac81d19fc Make it ok to call nsUUIDGenerator from off the main thread. Bug 334983,
r=vlad, sr=darin


git-svn-id: svn://10.0.0.236/trunk@196494 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-14 22:41:47 +00:00
darin%meer.net
506ad714d2 fix btek bustage.
git-svn-id: svn://10.0.0.236/trunk@196259 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:47:50 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us
dd146efb7b Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h


git-svn-id: svn://10.0.0.236/trunk@195900 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 16:11:14 +00:00
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
gavin%gavinsharp.com
22425f5122 Bug 333302: OOM [@ NS_NewInterfaceRequestorAggregation], patch by Ryan Flint <rflint@dslr.net>, r=timeless, sr=darin
git-svn-id: svn://10.0.0.236/trunk@194365 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 23:39:49 +00:00
peterv%propagandism.org
d04fb5dec2 Fix for bug 332908 (nsUUIDGenerator should use CFUUIDCreate on OS X). r=vlad, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@193743 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 21:48:47 +00:00
darin%meer.net
d52d34fca1 restoring warning per bsmedberg
git-svn-id: svn://10.0.0.236/trunk@193292 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 00:59:02 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
mark%moxienet.com
20d06ba923 331827 Provisional build patch to make gtk2/darwin builds functional out of the box. There may be additional changes needed for static builds. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@193147 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 20:06:17 +00:00
dbaron%dbaron.org
ee0c4c2b8e Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
git-svn-id: svn://10.0.0.236/trunk@192881 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 23:21:27 +00:00
bryner%brianryner.com
7ec5e10667 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
git-svn-id: svn://10.0.0.236/trunk@192401 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 04:59:42 +00:00
mkaply%us.ibm.com
d6529a89aa #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2


git-svn-id: svn://10.0.0.236/trunk@191996 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 19:56:32 +00:00
timeless%mozdev.org
3cd791230d Bug 327997 warning C4005: 'EXTERN_C' : macro redefinition nscore.h and winnt.h
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@191815 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 01:49:10 +00:00
mnyromyr%tprac.de
64a25c8847 Bug 328900: Crash in StuffFixedBuffer; r=bsmedberg, sr=darin
git-svn-id: svn://10.0.0.236/trunk@191606 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 20:30:58 +00:00
benjamin%smedbergs.us
9d75222418 Bug 328855 - Support x86-64 in nsStackFrameUnix, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@191410 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 18:28:54 +00:00
benjamin%smedbergs.us
4a30ab1ce3 Typo from bug 325229, caught by dbaron.
git-svn-id: svn://10.0.0.236/trunk@191155 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 16:11:33 +00:00
benjamin%smedbergs.us
4bf3112d3d Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6
git-svn-id: svn://10.0.0.236/trunk@191063 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us
40064a30ee Bug 313309 part 3 - relanding now that all the mac tinderboxen have been upgraded to xcode 1.5+ - use a weak static data symbol for NS_GET_IID instead of an inline function. Have to use templates to trick compilers into emitting a weak symbol. r=shaver
git-svn-id: svn://10.0.0.236/trunk@191047 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 18:31:02 +00:00
cls%seawood.org
40e7ef5034 Fix mingw cross-compile bustage.
Original patch by <basic@mozdev.org>.
Bug #320646 r=cls


git-svn-id: svn://10.0.0.236/trunk@190537 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-19 07:43:19 +00:00
mark%moxienet.com
312c2ed8c4 323657 Fixing XULRunner bustage by moving nsMacUtils class to nsMacUtilsImpl. r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190526 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 21:09:59 +00:00
mark%moxienet.com
8676063f50 323657 Add a new MacUtils XPCOM service with an isUniversalBinary utility attribute to determine whether or not the running application is universal. r=bsmedberg sr=darin
git-svn-id: svn://10.0.0.236/trunk@190359 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 16:19:53 +00:00