Commit Graph

449 Commits

Author SHA1 Message Date
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Serge Gautherie
9f99b401d6 Bug 430112 - <nsAutoLock.cpp>: 2 "warning: unused variable status"; (Bv1) Split the init to 2 instructions; r=benjamin 2009-07-06 22:01:37 +02:00
Peter Van der Beken
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Hiroyuki Ikezoe
7630621a0e Bug 494412 – Make error message more clear when we can't load xpcom due to lack of memory; (XPCOM part); r=benjamin 2009-06-26 09:46:09 +09:00
Chris Jones
1c0eb2d506 bug 491977: fix "leak" of deadlock detector statics. r=bsmedberg 2009-06-16 12:36:44 -07:00
Arpad Borsos
497b2e227d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
palo misik
d5531db087 Bug 490587 - "Warning in mozilla/xpcom/glue/nsGenericFactory.cpp" [r=benjamin] 2009-06-14 01:37:38 -07:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Doug Turner
7e69536472 Bug 488862 - crash while geolocation is retrieving data [@ nsGeolocation::RemoveRequest]. r=dbaron, sr=smaug, r=ctalbert on tests 2009-06-11 17:46:46 -07:00
Benjamin Smedberg
cef8a68e25 Bug 492948 - Windows XULRunner stub can't discover the GRE anymore, due to using NS_ConvertUTF8toUTF16 before having loaded XPCOM, r=blassey 2009-05-20 17:00:45 -04:00
Dave Townsend
99034adf24 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos
584155ddb7 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Benjamin Smedberg
02d969acec Fix trace-malloc build bustage from bug 488175... tracemalloc/nsTraceMalloc.h is no longer 2009-05-18 14:32:00 -04:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Peter Van der Beken
e267b828d9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken
3c7951a396 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Peter Van der Beken
b865be6ac9 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Chris Jones
ae05aca0b1 bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg 2009-05-14 13:07:30 -07:00
Hiroyuki Ikezoe
2f26e53e88 Bug 490275 - Memory leak in xpcom/glue/standalone/nsGlueLinkingWin.cpp; r=benjamin 2009-05-14 16:17:53 +02:00
Hiroyuki Ikezoe
8afc777241 Bug 488157. Use UTF8 instead of native codepages during startup. r=bsmedberg
--HG--
extra : rebase_source : 22bea59e453f953f3efd43d6d945d9d9fee70ce5
2009-05-13 22:16:45 +12:00
L. David Baron
5efb37b7c1 Make cycle collector's purple buffer consist of entries that the objects in the purple buffer can point to, and remove the notion of scan delay (which was previously set to 0). (Bug 490695) r+sr=peterv r=bsmedberg 2009-05-06 13:46:04 -07:00
L. David Baron
8adbc0edb6 Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg 2009-05-06 13:46:01 -07:00
Chris Jones
8a3e35ae54 Bug 456272: deadlock detector improvements 2009-05-04 21:57:15 -07:00
Chris Jones
0023bdaa7d Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones
d2b61202f4 Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Chris Jones
0b7ce64dae bug 489135: fix old PRMonitor leak, init debug var in mozilla::Monitor. r=smontagu 2009-04-21 00:33:12 +02:00
Chris Jones
002151e9b2 Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Hiroyuki Ikezoe
1c927ffb50 bug 487174 - Modify nsXULStub to launch from GRE folder on WinCE r=bsmedberg 2009-04-13 22:49:06 -04:00
Andrew Sutherland
90c18f2fff Bug 487551 - nsTArray.IndexOf may scan beyond array bounds for non-zero start argument. fix: base 'end' off of Elements rather than iter. r=bsmedberg 2009-04-10 18:08:00 -07:00
Boris Zbarsky
0ed08e296f Bug 403199. Don't log addref/release of nsSimpleNestedURI, becuse it doesn't work right when someone addrefs the derived class but releases the base class canonical nsISupports, due to aggregation. r=dbaron 2009-04-09 14:01:16 -04:00
Florian Queze
74975efad2 Bug 451501. EmptyEnumratorImpl::QueryInterface needs to support nsIUTF8StringEnumerator. r+sr=bsmedberg 2009-04-06 12:26:25 +12:00
Neil Rashbrook
65fb85e371 Bustage fix for bug 331165 2009-03-25 13:33:03 +00:00
Neil Rashbrook
031c516b05 Fix allocator abuses: bug 331165 r+sr=bsmedberg; bug 484309 r+sr=bsmedberg; bug 484312 r+sr=biesi 2009-03-25 13:19:08 +00:00
Peter Van der Beken
5027e033b5 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 6062975766022118372d2e52f81659f87276b8ec
2009-03-18 19:02:48 +01:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Peter Van der Beken
69e9aba8c8 Backing out f385e435c082, fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed), to try to fix orange. 2009-03-19 14:05:26 +01:00
Peter Van der Beken
f6b313dc83 Fix for bug 481677 (Avoid hash lookups in XPCWrappedNative::GetNewOrUsed). r=bz, sr=jst.
--HG--
extra : rebase_source : 9e25f0d56df57d65559e18acd49412e3e164821e
2009-03-18 19:02:48 +01:00
Ben Newman
7994a27471 Bug 470282 - nsProxyRelease.h include guard is not setup properly. r+bnewman 2009-03-11 20:22:48 -07:00
Josh Aas
ab3b25ec6a Port xpcom to 64-bit Mac OS X, part 1. b=478687 r=mstange sr=bsmedberg 2009-03-06 12:32:57 -06:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Ben Turner
6efddae719 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
L. David Baron
e84f7f11b1 Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap 2009-01-10 08:28:16 -08:00
L. David Baron
ef141b8d52 Synchronize pldhash with recent changes to jsdhash by rerunning through plify_jsdhash.sed. 2009-01-10 08:28:16 -08:00
Robert O'Callahan
0a88efce86 Bug 462593. Add nsPtrHashKey<T> to XPCOM. r=bsmedberg 2009-01-09 13:12:33 +13:00
L. David Baron
add2ce5a81 Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg 2009-01-06 15:21:00 -08:00
timeless@mozdev.org
019a5db754 Bug 444918 - Crash when closing epiphany [@ NS_HasPendingEvents_P] ifndef MOZILLA_INTERNAL_API, r=bsmedberg 2009-01-04 10:59:17 -08:00
Benjamin Smedberg
8e93542d35 Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Brad Lassey
c217f58544 Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg 2008-12-03 08:42:03 -05:00
Brad Lassey
4342224fbe Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg 2008-12-03 08:41:12 -05:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Henry Jia
2b7c0d663c Bug 178189 - |nsCOMPtr|: do we still care about VC++4.2? and if not, can we remove this comment; r=(scc + benjamin) 2008-09-29 00:17:30 +02:00
Jesse Ruderman
9b6ab3d11b Fix a regression from my patch for bug 445999 in the self-assignment case. 2008-09-10 16:23:00 -07:00
Jesse Ruderman
79639ae449 Fix bug 445999, nsCStringArray::operator= leaks all strings that were in the destination array. r=bsmedberg 2008-09-10 15:02:06 -07:00
Arpad Borsos
534fd11101 Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin 2008-09-07 00:04:10 +02:00
Arpad Borsos
d68db2352e Bug 451477 - NS_INTERFACE_TABLE_INHERITED10 defined twice; r=benjamin 2008-09-06 23:47:54 +02:00
Boris Zbarsky
21251ac0c5 Bug 449233. Assert when decrementing the jsdhash/pldhash recursion level past 0. r=dbaron,brendan, sr=dbaron 2008-08-26 13:02:04 -04:00
Uli Link
d3623a5d74 Bug 445951 - missing keyword 'public' in xpcom/glue/nsAutoLock.h, r=bsmedberg 2008-08-18 20:39:19 +02:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Manish Singh
d2c44cd814 Bug 442870 – CompressWhitespace can freeze the browser. r=bsmedberg 2008-08-14 12:16:24 +02:00
Mike Hommey
e5e6493be7 Bug 438688 – String formatter fails to format the same argument twice. r=bsmedberg 2008-08-14 12:11:25 +02:00
Benjamin Smedberg
e8fa485944 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
Bernd
8346cb9495 limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky 2008-07-16 17:02:18 +02:00
Ben Turner
de0ede1dc2 Bug 435122 - "Use TraceMalloc to get stack traces of potential deadlocks". r=bsmedberg+dbaron. 2008-06-26 10:12:42 -07:00
Robert O'Callahan
c29eac2bf6 Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst 2008-06-23 11:12:40 +12:00
Jeff Walden
71119aeb18 Bug 429930 - NS_ABORT_IF_FALSE lies and doesn't abort if the given condition is false, making it exactly equivalent to NS_ASSERTION. Make it abort so we can use it when we really want a fatal assertion, if only the NS_ASSERTION macro implemented it. r+sr=shaver 2008-06-04 22:24:05 -04:00
David Mandelin
d591c8c92c Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg 2008-05-20 11:26:03 -07:00
Benjamin Smedberg
2a99c5e4ae Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin 2008-05-01 15:12:33 -04:00
Benjamin Smedberg
b3c6962a6c Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
philringnalda@gmail.com
e20c3514d6 Bug 413477 - nsStringAPI needs RFind set of functions, patch by Prasad Sunkari (prasad@medhas.org), r=bsmedberg, a=beltzner 2008-04-08 23:01:13 -07:00
jorendorff@mozilla.com
e366e3a8e5 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
2008-04-07 17:37:54 -05:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
jorendorff@mozilla.com
1dd1d9f71d Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-02 16:35:13 -05:00
neil@parkwaycc.co.uk
474182c235 Trivial const correctness followup to bug 420373 r=bsmedberg a=beltzner 2008-04-01 07:13:27 -07:00
jorendorff@mozilla.com
4d6eed1e29 Merge from cvs-trunk-mirror to mozilla-central. (This doesn't build, thanks to bug 425080, which I'll fix next.)
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-26 11:42:07 -05:00
reed@reedloden.com
fc03af34f4 Bug 420373 - "need a way to distinguish GREs based on architecture in nsGREGlue" [p=mozilla@rosenauer.org (Wolfgang Rosenauer) r=bsmedberg a1.9b5=schrep] 2008-03-21 21:25:34 -07:00
Benjamin Smedberg
300dc2107c Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-20 12:42:05 -04:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
reed@reedloden.com
2c38571548 Bug 421615 - "unused variable ‘tmp’ in NS_IMPL_CYCLE_COLLECTION_0" [p=tuukka.tolvanen@gmail.com (Tuukka Tolvanen [sp3000]) r+sr=dbaron a1.9=beltzner] 2008-03-14 09:23:31 -07:00
benjamin@smedbergs.us
1f36c2d078 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-10 17:07:41 -04:00
dbaron@dbaron.org
9eacf21f91 Fix -Wconversion warnings that prevent compiling netwerk/cookie/src/ (which makes warnings fatal) with gcc 4.3 on x86_64. b=409384 r=bsmedberg a=beltzner 2008-03-06 15:03:50 -08:00
benjamin@smedbergs.us
8e65489719 Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-27 11:33:49 -05:00
benjamin@smedbergs.us
27523547f0 Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek 2008-02-27 11:28:13 -05:00
dougt@meer.net
c8c57fc064 Fixes for Windows CE. b=418662, r=bsmedberg, a=damons 2008-02-22 16:22:47 -08:00
dcamp@mozilla.com
a5b6797073 Bug 417404: Fix nsCOMPtr version of NS_ProxyRelease(). r/sr=bsmedberg, b1.9=sayrer 2008-02-21 15:45:22 -08:00
Olli.Pettay@helsinki.fi
d9c6b362ae bug 380454, r=benjamin, sr=sicking 2008-02-21 04:47:26 -08:00
neil@parkwaycc.co.uk
48d3824f0d Bug 330101 nsTArray binary search for when array is sorted r=bsmedberg a=schrep 2008-02-21 01:43:15 -08:00
Olli.Pettay@helsinki.fi
4fb70691e9 Back out Bug 380454 2008-02-19 05:47:15 -08:00
Olli.Pettay@helsinki.fi
47d9b2c76f Bug 380454, r=benjamin, sr=sicking 2008-02-19 05:15:37 -08:00
reed@reedloden.com
2696e083e0 Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+] 2008-02-13 03:34:46 -08:00
reed@reedloden.com
0ba0ded3b4 Bug 333308 - "make clean and make distclean miss various files" [p=mh+mozilla@glandium.org (Mike Hommey) r=bsmedberg a1.9=schrep] 2008-02-13 03:33:38 -08:00
reed@reedloden.com
93653ed0c8 Bug 413488 - "nsACString::Find in nsStringAPI is buggy!" [p=prasad@medhas.org (Prasad Sunkari [prasad]) r=bsmedberg a=blocking1.9+] 2008-02-13 02:49:32 -08:00
reed@reedloden.com
113229c9e7 Bug 411256 - "AIX linker error for trunk build xpcom module :ERROR: Undefined symbol: .PR_dtoa" (Remove standalone glue dependencies on NSPR) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=dwitte a1.9=schrep] 2008-02-07 11:49:18 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
Olli.Pettay@helsinki.fi
f00dc3e841 Bug 401433, leak in nsTArray, r+sr=sicking 2008-01-25 03:32:59 -08:00
neil@parkwaycc.co.uk
cc2f2427fc Bug 411061 nsAutoTArray uses an inefficient first-time allocation strategy r=bsmedberg a=schrep 2008-01-19 05:47:46 -08:00
benjamin@smedbergs.us
c292fa1ba6 Revert bug 410927 because it didn't really help perf and hurt codesize a little bit 2008-01-15 08:46:15 -08:00
jruderman@hmc.edu
52ecd1bbb4 Fix typo 2008-01-14 20:49:38 -08:00
timeless@mozdev.org
ea05f7ef31 Bug 292940 partial OOM audit for nsStringArray and nsCStringArray r=darin, r=bsmedberg, sr=mrbkap, a=mtschrep thanks to ryanvm@gmail.com for unbitrotting 2008-01-14 13:01:40 -08:00
dwitte@stanford.edu
97a45f037f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
dwitte@stanford.edu
66d4df40f5 backing out the rest. 2008-01-11 02:56:35 -08:00
dwitte@stanford.edu
8a6c4d235f relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu
d2b6f4f5ed backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu
1798542e9f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00
peterv@propagandism.org
bd933a00a4 Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron. 2008-01-10 06:10:03 -08:00
benjamin@smedbergs.us
8e70ca711d Test-land bug 410927 to get performance numbers, r=dbaron 2008-01-09 06:21:43 -08:00
dwitte@stanford.edu
8a06010627 fix OS/2 bustage. 2007-12-21 17:06:43 -08:00
dwitte@stanford.edu
4c3f53bfbf add assertion. 2007-12-21 03:22:31 -08:00
dwitte@stanford.edu
0f35ea18c4 backing out change. 2007-12-20 01:33:03 -08:00
dwitte@stanford.edu
e1f9209274 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
2b31364ac3 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
95392ed6a3 test growing the array by a minimum amount (taken from nsVoidArray). 2007-12-19 01:56:28 -08:00
dwitte@stanford.edu
08084acaeb testing allocator change for Ts impact. 2007-12-19 01:14:15 -08:00
dwitte@stanford.edu
63050186f2 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
8b3567b59d backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
3b75d76adb implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
jonas@sicking.cc
5378dfb532 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
jwalden@mit.edu
a9b2dc0526 Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
bent.mozilla@gmail.com
28d1174ece Bug 396369 - "Overload forget method on nsCOMPtr/nsRefPtr to work with out parameters". r=dbaron, sr=bsmedberg, a=damons. 2007-11-11 10:56:45 -08:00
jst@mozilla.org
858f753261 Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com 2007-11-01 15:51:57 -07:00
cbarrett@mozilla.com
9cfd810589 Typo fix and poking tinderbox. No bug. 2007-10-29 22:51:33 -07:00
peterv@propagandism.org
0614d590fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
26b136edfe Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
eae43da5fc Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
peterv@propagandism.org
89c081734f Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
7496875bfa Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
reed@reedloden.com
ffa3ace89f Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer] 2007-10-19 16:26:52 -07:00
reed@reedloden.com
e2df9b35fd Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com
62f4ae88bd Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -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
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
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
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
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
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
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
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
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
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
benjamin@smedbergs.us
d02d574d6f Bug 350132 - Deadlock in JS/XPCOM proxy, r=brendan 2007-08-16 13:51:50 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Olli.Pettay@helsinki.fi
0a6d3668cd Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -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
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
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
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
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
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
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
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
jwalden@mit.edu
d352fc4921 Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg 2007-03-25 00:31:45 -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
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