Commit Graph

242 Commits

Author SHA1 Message Date
Benoit Jacob
4369473239 Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Jeff Muizelaar
0c87fbf8db Bug 751727. Remove NSPR TimeStamp implementation. r=roc
PR_IntervalNow() is not necessarily monotonic and so we shouldn't be using it
for implementing TimeStamp, especially now that it is exposed to web content
(Bug 539095).

Furthermore, it seems that the nspr implementation is being used
unintentionally on some platforms. For example, we used to use it on Android
and just now I see that it is being used in FF12 on Ubuntu.

--HG--
extra : rebase_source : cacc7f2c1d614631b93768e5979cc0820db46d54
2012-05-04 01:17:55 -04:00
Shriram Kunchanapalli
c75394595e Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Andrew McCreight
c7b15dad64 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Nicholas Nethercote
76a872e30a Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ryan VanderMeulen
796cc4c59a Backout 48213b973bfb (bug 695515) due to suspected OSX orange. 2012-04-24 20:51:53 -04:00
Anant Narayanan
7e7843a3d2 Bug 695515 - Remove last use of memmem. r=khuey 2012-04-24 08:21:12 -07:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Peter Van der Beken
bded75e901 Add include guards to nsVariant.h. No bug. r=bz. 2012-03-29 13:18:32 -07:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Jacob Holzinger
86f648606c Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Nathan Froyd
b3d19acfde Bug 730825 - Part 2: remove nsDoubleHashtable.h; r=bsmedberg 2012-03-02 09:52:26 -05:00
Justin Lebar
b3d892cff8 Bug 729952 - Part 2: Use a better hash function in nsCRT, nsTHashtable, and pldhash. r=bz 2012-03-02 17:20:44 -05:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Boris Zbarsky
7b360ea8bd Bug 730414 followup comment to address review comments 2012-02-29 21:44:02 -05:00
Boris Zbarsky
1922ecc1d7 Bug 730414. Expose a quick way to get a hash key for an atom. r=bsmedberg 2012-02-29 21:40:51 -05:00
Nathan Froyd
c8b733f8f6 Bug 700659 - Delete nsHashSets code. r=bsmedberg 2012-02-27 11:26:58 -05:00
Nathan Froyd
a3e91bce47 Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
aceman
a12e7ea1ef Bug 406336 - Fix indexOf and enumerate documentation. r=benjamin 2012-02-22 14:05:23 +01:00
Robert O'Callahan
6a985084a0 Bug 727695. Add TimeDuration::FromMicroseconds. r=cjones 2012-02-19 21:53:40 +13:00
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Andrew McCreight
4d058d5e0d Bug 720292 - add more cycle collector edge names. r=smaug 2012-01-23 15:25:53 -08:00
Nicholas Nethercote
be3470fa42 Bug 715770 (part 3) - Remove nsRecyclingAllocator. r=bsmedberg. 2012-01-17 17:29:52 -08:00
Daniel Holbert
1a6709d70c Bug 679832 followup: Use StdInt.h-provided intptr_t to let nsCheapSets int-to-void* cast be cross-platform. r=bsmedberg 2012-01-12 17:01:18 -08:00
Jeff Walden
91b680ff1c Bug 716112 - Add an optional second argument to MOZ_ASSERT to allow explanations to accompany assertions, if desired. r=cjones
--HG--
extra : rebase_source : a6be7ef89c91a58df489057ca4ea67791b6881a0
2012-01-06 15:51:27 -06:00
Daniel Holbert
63d66d9e9c Bug 679832: In nsCheapSets, cast 32-bit value to intptr_t before converting it to 64-bit void*, to silence GCC 4.6 warning. r=bsmedberg 2012-01-11 12:45:55 -08:00
Joe Drew
b73ab1950d Bug 717047 - Use <cmath> instead of math.h in nsMathUtils.h. r=bjacob
--HG--
extra : rebase_source : 4062a696008f27124c477367b043bc0f1d96710e
2012-01-10 18:04:12 -05:00
Brian R. Bondy
f3519a8442 Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Jeff Walden
82023879ca Bug 714572 - Fix nearly all clang warnings building image/. r=bholley
--HG--
extra : rebase_source : 585983448ac6dae86d309530d5ddbda856bdcfa9
2012-01-02 14:23:41 -06:00
Jeff Muizelaar
8a457ae88d Bug 714649. Make ExpirationTrackerObserver final. r=roc
This deals with the warning about virtual destructors and will probably let us
devirtualize the call to ->Destroy()
2012-01-02 12:23:00 -05:00
Jeff Muizelaar
cb1130ecfa Bug 711491. Add a StringBuilder class. r=bgirard
--HG--
extra : rebase_source : ff726c89f01ca985167e7b0e7a45f6ef86cc27e6
2011-12-16 08:53:30 -05:00
Nicholas Nethercote
c43ea04499 Bug 712835 (part 3 of 3) - Move AtomImpl and PermanentAtomImpl out of the header. r=khuey.
--HG--
extra : rebase_source : d3fafaa3582faa1642b146d06fe0dfc457639e0a
2011-12-22 17:24:44 -08:00
Nicholas Nethercote
ccbf00b745 Bug 712835 (part 2 of 3) - Add a memory reporter for the nsAtomTable. r=khuey.
--HG--
extra : rebase_source : 3c934649d072e0d519c905cb8baf49b12bce0312
2011-12-22 17:24:43 -08:00
Jeff Walden
6fc5b5e274 Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke 2011-12-19 16:58:30 -05:00
Jeff Walden
47be809fe0 Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : e87978380d0821746e7df78dfacc7e381aefccb3
2011-12-17 22:47:45 -05:00
Matt Brubeck
efc97fe9ac Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures 2011-12-19 10:43:08 -08:00
Jeff Walden
208159aab8 Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : 8ca811fe7427626e39f677a672986a27829b0feb
2011-12-17 22:47:45 -05:00
Ed Morley
a5f3676554 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-09 11:12:51 +00:00
Neil Rashbrook
d11585e633 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Honza Bambas
103f3eb202 Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold 2011-12-09 00:14:42 +01:00
Ed Morley
b1b5515356 Backout 9a59028a3510 (bug 676349) on suspicion of breaking Win PGO builds 2011-12-07 02:22:09 +00:00
Honza Bambas
15b4352a07 Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold 2011-12-06 12:16:16 +01:00
Ed Morley
fddedbce14 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Neil Deakin
58982e7cf0 Bug 94199, part 3, add GetValue method to nsISupportsKey, r=bsmedberg 2011-11-03 16:39:08 -04:00
Jiten Thakkar
90a4845b1b Bug 683517 - Make nsExpirationTracker expire all tracked objects when memory-pressure notification is observed. r=roc 2011-10-28 18:36:00 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00