Commit Graph

355 Commits

Author SHA1 Message Date
L. David Baron
d627c1e309 Add assertions that fire when callers using nsAutoLock or nsAutoMonitor use PR_NewLock or PR_NewMonitor directly. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
L. David Baron
8de770e5b6 Initialize statics in OnSemaphoreCreated so that we get data about locks created before any locks are locked. (Bug 594666) r=cjones 2011-03-29 08:43:23 -07:00
L. David Baron
5d2e1c3f7a Make nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor inline so that they have no overhead in non-DEBUG. (Bug 594666) r=cjones 2011-03-29 08:43:22 -07:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Neil Rashbrook
96fa789ca2 Bug 540322 Add some missing methods to the external string API r=bsmedberg 2011-03-25 11:39:38 +00:00
Rafael Ávila de Espíndola
4b8cd0c2c8 Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
Mark Banner
e1f8617d86 Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg 2011-03-23 15:13:41 -04:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Rich Walsh
1c2645bfa7 Bug 611934 - OS/2 - implement fallocate() and fix build break; r=taras a=bsmedberg
--HG--
extra : rebase_source : fa550cc278888ae6b6cb0a36875b1287ebdd6bc3
2011-02-02 13:51:22 -05:00
Mounir Lamouri
e89c5d6486 Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst 2011-01-19 12:13:54 +01:00
Makoto Kato
0b448d34d8 Bug 625629 - Don't define MMX in SSE.h since Microsoft compiler for x64 doesn't support MMX. r=jlebar a=bustage-fix 2011-01-18 14:08:47 +09:00
Jonathan Protzenko
99c88d604b Move comment for nsTObserverArray near the start of the file, r=bz a=bz over IRC. DONTBUILD 2011-01-14 18:15:27 +01:00
Justin Lebar
3e89ff8ac2 Bug 585708 - Part 2: Move CPUID code out of SSE.h and into SSE.cpp. r,a2.0=dbaron
--HG--
extra : rebase_source : 70d336e2e0f4df5d807bc520c44740e17d69eb40
2010-12-16 10:42:52 -08:00
Justin Lebar
642adce7f3 Bug 585708 - Part 1: Rework SSE.h so that it supports and encourages putting intrinsics in a file separate from the main code. r,a2.0=dbaron
--HG--
extra : rebase_source : 6bc2169ba4e451e1d8a36540614024fe40902e62
2010-08-11 16:49:42 -07:00
Rafael Ávila de Espíndola
f73cc161b4 Bug 622142 - nsTArray class depends on invalid unqualified lookup into dependent bases of class templates; r,a=bsmedberg 2011-01-12 16:37:20 -05:00
Chris Jones
b7a60499b6 Bug 610823: Make nsTArray infallible by default. r=sicking a=blocker 2011-01-06 20:49:35 -08:00
timeless@mozdev.org
3799bc5da5 Bug 569454 bad ownership model for allProperties in GRE_GetGREPathWithProperties, r+a=bsmedberg 2010-12-09 01:22:00 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Makoto Kato
6f13e49a7d Bug 592551 - dist\include\nsTArray.h(416) : warning C4244: 'return' : conversion from '__int64' to 'nsTArray_base::index_type', possible loss of data. r=bsmedberg a=bsmedberg 2010-11-17 14:51:05 +09:00
Marco Bonardo
e473967fee Bug 611639 - NS_ProxyRelease does not work for RefPtrs.
r=shaver a=blocking
2010-11-16 01:08:57 +01:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
8b81995ada Bug 598862, part 1: Add mozilla::ScopedClose to do just that to an fd. sr=bsmedberg 2010-11-08 20:48:59 -06:00
Kyle Huey
3952caa12e Bug 603844: Annotate some xlst classes with leak logging. r=sicking sr=dbaron 2010-12-02 11:15:48 -05:00
Michal Novotny
ed3636fead Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Robert O'Callahan
50f59c86bf Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Ryan VanderMeulen
d3b7d04d97 Bug 606070 - warning C4244: 'return' : conversion from 'const PRUint64' to 'PLDHashNumber' in nsHashKeys.h r,a=bzbarsky
--HG--
extra : rebase_source : e0f4a753c9408c85165a9d3047be00e6c8ca757c
2010-11-06 14:53:37 +00:00
Jacek Caban
fdcabe2dd8 Bug 589807 - printf_stderr doesn't check if _dup call succeeded r,a=benjamin
--HG--
extra : rebase_source : a68963a26fb6479ba006e4bd8a9945230426fb22
2010-11-06 14:23:15 +00:00
Daniel Holbert
a2fa1fe7f6 (no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD 2010-12-07 15:54:20 -08:00
Benjamin Smedberg
24467f20eb Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h> 2010-11-17 18:14:11 -05:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Ben Turner
fca93ac512 Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Benjamin Smedberg
3930901751 Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Mounir Lamouri
4291f1e845 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
c12906c97c Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Steve Krulewitz
e157dd74d7 Bug 323376 - nsTextFormatter::ssprintf adds extra '\0' to result; Patch by Steve Krulewitz, updated by Jonathan Protzenko; r=darin approval2.0=beltzner 2010-10-21 11:56:33 +01:00
Boris Zbarsky
53a6a5fae9 Bug 605492 part 2. Add a way to get an outer window object given its window id via windowutils. r=mrbkap 2010-10-20 20:24:16 -04:00
Kyle Huey
9b468f97d9 Bug 604940: Add various things to GARBAGE. r=Mitch a=NPOTB 2010-10-19 17:19:37 -04:00
Josh Matthews
c1bb516ed8 Bug 594222 - Prevent RemoveObservers from being called more than once. r=dougt a=dougt 2010-09-07 18:22:00 -04:00
Brian Hackett
abdc87c9ca Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
L. David Baron
eb648d738f Add NS_COM_GLUE to fix non-libxul bustage from bug 592520. r=taras a=dveditzSheriff 2010-09-16 15:43:15 -07:00
Taras Glek
beb03cd5bb Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+ 2010-09-16 13:21:12 -07:00
Brian Crowder
6d2f11959b Bug 567267 - Move nsIEncodedChannel logic to base Http class, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Peter Van der Beken
febc52d054 Fix for bug 466157 (Better CC logging for nodes). r=dbaron, a=jst.
--HG--
extra : rebase_source : 57ff8e5558708e188a5e1e444094a522138c20b1
2009-02-27 15:48:26 +01:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Andrew Zitnay
e50f8c9030 Bug 586523 - Provide a version of xpcomglue_s compiled with -DMOZ_NO_MOZALLOC, r=bsmedberg
--HG--
extra : rebase_source : bd6f919688fb0dd3193c38c443a73e5a70135198
2010-08-25 10:21:08 -04:00