Commit Graph

242 Commits

Author SHA1 Message Date
L. David Baron
41cc87c278 Fire assertions when guard objects are used as temporaries. (Bug 531460) r=cjones 2010-04-04 11:15:18 -07:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Pearce
11fa7ac0dd Bug 556424 - mozilla::MonitorAutoEnter::NotifyAll() should notify all. r=cjones 2010-04-01 19:54:03 -07:00
Daniel Holbert
eb483b552f Bug 551298, patch A followup i: Add thread safety assertions to AddRef/Release implementations. r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
5192e33d44 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
56db19649c Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert
ef92ece024 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
L. David Baron
60a39f5bec Add mechanism for assertions that fire when a guard object is used as a temporary. (Bug 531460) r=bsmedberg 2010-03-26 10:12:39 -04:00
Mike Hommey
7467611ddb Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Dão Gottwald
55d6554fde Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey
02861ae602 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Jonathan Watt
9380758ab8 Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
--HG--
extra : rebase_source : 676b497a4fda08ec509c2ce9fdc7060af8be1663
2010-03-15 11:38:50 +00:00
Uli Link
d5626e719c Bug 537967 - Moving FILE_ILLEGAL_CHARACTERS from nsCRT.h to nsCRTGlue.h for frozen linkages, r=bsmedberg,sr=shaver 2010-03-07 15:15:31 +01:00
Neil Rashbrook
003d545f7b Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Mark Banner
4e935520e6 Bustage fix following bug 541594 - revert NS_strtok change that appears to be causing hangs and fix ini parser to work as intended. rs=dolske 2010-02-10 11:55:18 +00:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Mitchell Field
d25f469072 Bug 542222 - Followup fix for Reduce recursion in makefiles. r=rstrong 2010-02-05 23:25:10 -08:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Jacek Caban
b57cc9e69d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Brian Birtles
4cd9f0f1e3 Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg 2010-01-12 12:00:49 -08:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
L. David Baron
a9163bab67 Add mozilla::AutoRestore to restore values at the end of a C++ scope. (Bug 518756) r=bsmedberg 2009-12-11 08:13:19 -08:00
L. David Baron
efcc888ba4 Add SSE.h to consolidate code for Intel CPU feature detection at both compile-time and run-time. (Bug 513422) r=vlad 2009-12-11 08:13:19 -08:00
Reed Loden
86d20f782a Backout patch from bug 528964 due to bustage. 2009-12-03 03:18:52 -06:00
zbychs@gmail.com
ec24a6ee73 Bug 528964 - "Memory leak in GRE_GetGREPathWithProperties" [r=bsmedberg] 2009-12-03 03:07:44 -06:00
cbiesinger@gmail.com
70988940df Bug 529701 - nsCategoryCache could add a category observer twice in some situation (r=bsmedberg) 2009-11-25 13:50:01 -08:00
Marco Bonardo
86a4770bb1 Bug 522353 - nsCategoryCache is still observing category changes after xpcom-shutdown, r=biesi, moa=bsmedberg 2009-11-19 14:15:05 +01:00
timeless@mozdev.org
a34c72abd2 Bug 464043 - change nsDeque to use malloc for mData, r=bsmedberg 2009-11-14 16:45:42 -08:00
Benjamin Smedberg
43b1c28f44 Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron 2009-11-09 14:30:01 -05:00
L. David Baron
398fdfe781 Fix comment, per bug 520661 comment 4. 2009-10-30 14:31:41 -07:00
Benjamin Smedberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
699dcb26a7 Add runtime NS_IsMainThread checks to protect the cycle collector's purple buffer, and make NS_IsMainThread faster on our major platforms. (Bug 521750) r=peterv 2009-10-28 10:28:57 -07:00
Benjamin Smedberg
7d138d4786 Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron 2009-10-28 10:28:57 -07:00
Boris Zbarsky
e02c1954a4 Bug 523651. Add a CallQueryInterface that works well with nsCOMPtr. r=bsmedberg 2009-10-23 16:24:47 -04:00
L. David Baron
c33d8babd5 Make nsDeque handle allocation failure better. (Bug 520661) r=bsmedberg 2009-10-07 20:22:42 -07:00
Henri Sivonen
7e34492c18 Bug 517943 - Need a way to append the contents of an nsTArray to another without copying. r=benjamin, sr=dbaron. 2009-09-24 20:26:31 +03:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hiroyuki Ikezoe
889e998826 Bug 502146 – On WinCE, GRE_GetPathFromRegKey fails even if GRE exists on device. r=blassey 2009-08-08 12:29:13 +09:00
L. David Baron
d71ea7085b Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg 2009-07-20 07:04:41 -04:00
Blake Kaplan
96a04e8df6 Bug 501840 - Avoid a warning when a cycle collection participant doesn't use tmp. r+sr=peterv 2009-07-16 13:06:26 -07:00
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