Brian Birtles
8c5dba9bf8
Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj
...
In TimeStamp_windows.cpp and TimeStamp_darwin.cpp, in
TimeStamp::FromMilliseconds we cast the floating-point number of ticks to
a 64-bit integer before passing to TimeStamp::FromTicks(int64_t).
This means that we skip the check for integer overflow performed by
TimeStamp::FromTicks(double).
This patch simply removes that cast so that we perform overflow checking.
It also adds an assertion to ElementAnimation since this is one place where
the lack of overflow checking was producing a negative value where it should
not.
2014-06-25 09:42:18 +09:00
Nicholas Nethercote
bb9d51e11e
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Brian Birtles
388f4b8402
Bug 1004365 part 3b.1 - Add % operator to TimeDuration; r=froydnj
2014-06-11 14:19:08 +09:00
Brian Birtles
4f07dbc313
Bug 1004365 part 2 - Add TimeDuration != operator; r=froydnj
2014-06-11 14:19:07 +09:00
Ehsan Akhgari
ec1fd6e139
Bug 1022033 - Disable NS_lroundup30 on clang-cl; r=jrmuizel
...
This function contains inline assembly which clang-cl can't compile yet.
2014-06-06 20:13:48 -04:00
Robert O'Callahan
d182a3b471
Bug 1015664. Part 3: Remove NS_HIDDEN_VISIBILITY from NS_IMETHOD_VISIBILITY. r=bsmedberg
2014-06-03 00:08:27 +12:00
Robert O'Callahan
915297325e
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Brian Birtles
ac0d6ba61a
Bug 1016757 - Add TimeDuration::operator* (const uint64_t) const, i.e. accept an unsigned 64-bit integer as a multiplier; r=froydnj
2014-05-30 09:45:39 +09:00
Ehsan Akhgari
a6264cb1ae
Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj
2014-05-25 21:16:01 -04:00
Mats Palmgren
164b7824a1
Bug 1009263 - Add nsCheapSets::Clear() method that removes all entries and return it to minimal size in terms of memory use. r=bsmedberg
2014-05-17 23:10:53 +00:00
Andrew McCreight
1a4ed8fb12
Bug 1008420, part 2 - Split out a refcountless nsArray base class. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
3d4c19a17a
Bug 1008420, part 1 - Delete trailing whitespace from nsArray. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
27f0eee9f8
Bug 971264 - Remove nsHashtable. r=bsmedberg
2014-05-15 09:52:57 -07:00
Benoit Jacob
472e4472e0
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04:00
Birunthan Mohanathas
504b581650
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
James Kitchener
45d0d241fd
Bug 1000030 - Don't let Windows overwrite length 0 strings. r=dmajor
2014-04-26 04:03:00 -04:00
Kyle Huey
bb4b172be0
Bug 994971: Don't export nsObserverService.h. r=bsmedberg
...
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
abaa6708cb
Bug 993734: Stop pretending that the observer service is threadsafe. r=bsmedberg
...
--HG--
extra : rebase_source : 233d626d1127cc9c82adb6d486b1ad599bb060ce
2014-04-14 12:04:26 -07:00
Ryan VanderMeulen
f6d009af86
Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
...
CLOSED TREE
2014-04-14 18:27:52 -04:00
Ryan VanderMeulen
c66c8e6d3f
Backed out 2 changesets (bug 993734, bug 995405) for Windows bustage on a CLOSED TREE.
...
Backed out changeset 3797f7c91ed2 (bug 993734)
Backed out changeset 9d4032c2f237 (bug 995405)
2014-04-14 15:39:28 -04:00
Kyle Huey
54f8bae9b6
Bug 994971: Don't export nsObserverService.h. r=bsmedberg
2014-04-14 12:04:27 -07:00
Kyle Huey
d4f255e74a
Bug 993734: Stop pretending that the observer service is threadsafe. r=bsmedberg
2014-04-14 12:04:26 -07:00
Shu-yu Guo
58c41cce91
Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop)
2014-04-03 19:29:40 -07:00
Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Anuj Agarwal
0abe2b9d0d
Bug 975745 - Remove nsStringKey. r=froydnj
2014-03-18 14:25:40 -07:00
Neil Rashbrook
921625ab05
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
f83724018d
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Andrew McCreight
d28f18cd38
Bug 984008, part 4 - Remove nsISupportsKey. r=froydnj
2014-03-17 10:21:26 -07:00
Kyle Huey
567b9398be
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
56d26ad256
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Georg Fritzsche
3670e1bc8f
Bug 983101 - unused variable 'kNsPerSec' in TimeStamp_darwin.cpp, r=froydnj
2014-03-13 12:52:43 +01:00
Andrew McCreight
f3ff79a425
Bug 975037, part 3 - Remove trailing whitespace from nsPersistentProperties. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
3cc4fddb4d
Bug 975037, part 2 - Use smart pointers in nsPersistentProperties. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
e04b26cca5
Bug 975037, part 1 - Inline nsPersistentProperties::Init. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
c479f2a541
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
L. David Baron
dfb9ad9186
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Andrew McCreight
1b7ffdaedf
Bug 967929 - Remove nsSupportsHashtable. r=bsmedberg
2014-02-24 17:16:11 -08:00
Andrew McCreight
d7f56f6857
Bug 968012, part 3 - Remove nsVoidKey which was only used by nsWindowDataSource. r=froydnj
2014-02-11 14:56:45 -08:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Jacek Caban
561e839426
Bug 969330 - Fix -Werror=int-to-pointer-cast in windows-only code. r=ehsan
2014-02-10 12:05:22 +01:00
Jacek Caban
bd25562ba8
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
...
--HG--
extra : rebase_source : 2f81dd18df59e0498a577c437954c5b1f52f8e28
2014-02-06 17:42:58 +01:00
Andrew McCreight
d4d9c59385
Bug 968234 - Remove trailing whitespace from nsHashtable.{h,cpp} rs=bsmedberg
2014-02-06 07:54:53 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Carsten "Tomcat" Book
81aa764e2f
Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE
2014-01-07 15:18:43 +01:00
Jacek Caban
cec8f40264
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2014-01-07 14:54:52 +01:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nomis101
3daa640e18
Bug 909914 - Add a missing include to avoid error: "Use of undeclared identifier 'getpid'" when building with enable-macos-target=10.9; r=smichaud
2013-12-20 13:06:42 +01:00
Nicholas Nethercote
e02408b49d
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00