Nathan Froyd
b8f0f57868
Bug 792169 - introduce better, safer constructors for nsArray; r=bsmedberg
2012-09-21 12:12:32 -04:00
Ehsan Akhgari
b8d0b298fc
Bug 784859 - Part 6: Remove the need for locking in all calls to TimeStamp::Now; r=bbondy
2012-09-08 14:13:17 -04:00
Ehsan Akhgari
37cddbbf7b
Bug 784859 - Part 5: Change the implementation of GetTickCount64Fallback so that it never locks; r=bbondy
2012-09-06 11:01:06 -04:00
Ehsan Akhgari
d18ca7e2b9
Bug 784859 - Part 4: Use the native GetTickCount64 function where available; r=bbondy
2012-09-08 14:12:34 -04:00
Ehsan Akhgari
2f57874b5b
Bug 784859 - Part 3: Refactor TickCount64 to make its signature similar to GetTickCount64; r=bbondy
2012-09-08 14:12:14 -04:00
Ehsan Akhgari
36db053eeb
Bug 784859 - Part 2: Avoid locking to store the computed result in the global variable in CalibratedPerformanceCounter; r=bbondy
2012-09-06 11:01:06 -04:00
Ehsan Akhgari
06d0f0fed7
Bug 784859 - Part 1: Use QueryPerformanceCounter directly if the machine has a stable TSC; r=bbondy
2012-09-06 11:01:06 -04:00
Ehsan Akhgari
59fbcc9b3c
Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
...
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Landry Breuil
41cc4fa3d5
Bug 785738 Part 1: Use INT64_MAX/MIN instead of LL_MAXINT/MININT constants. r=ehsan
2012-08-30 09:10:26 +02:00
Joe Olivas
37f025b377
Bug 786789 - Optimize TimeDuration::ToSeconds on Windows to avoid blocked store forwards; r=ehsan
2012-08-29 21:09:01 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Kyle Huey
d540fe9d4c
Bug 774888: Error out if there's no TimeStamp implementation. r=glandium
2012-08-18 12:15:22 -07:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Aryeh Gregor
a0e6e57f67
Bug 780832 - Make nsSupportsArray::GrowArrayBy infallible. r=dougt
2012-08-07 11:21:38 +03:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
David Zbarsky
cc6c8a0c54
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
Ryan VanderMeulen
26da6164d3
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
a4d33f44cf
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
91391164b5
Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
17bdf11678
Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
David Zbarsky
4be9dc9473
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Ed Morley
0981437de6
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
7d00314751
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Matt Brubeck
091f852d76
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
06e34cc5ee
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Joshua Cranmer
e1cdfe2f05
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Mounir Lamouri
60cae3665d
Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
...
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Nathan Froyd
c91e7f86d0
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Ehsan Akhgari
b5161f97b8
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Shriram Kunchanapalli
3f61927d18
Bug 760162: Remove obsolete comment about nsCRT::mem* functions in nsCRT.h; r=dougt f=sgautherie
2012-06-06 13:19:08 +01:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Shriram Kunchanapalli
3216ac51ce
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Tim Abraldes
6338453578
bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg
2012-05-23 10:09:10 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
f8b37152ff
Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt
2012-05-18 11:41:30 +01:00
Robert Longson
a067109b15
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Benoit Jacob
6598b33e08
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
24273e706e
Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
0211452d2b
Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
e1f7c314f4
Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
04d0f2f860
Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
44add94a59
Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
52fdb22c45
Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
0293563829
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
Ed Morley
d38b916352
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
e00e2ce48b
Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
2f148bd23f
Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
50c67f59af
Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
bafa7da1bc
Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
beb3891ba6
Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
eb8bc7b70d
Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden
2012-05-14 15:50:19 -04:00
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
L. David Baron
15a828aa14
Make the Darwin TimeStamp implementation assert when used before it is initialized. (Bug 693821) r=bzbarsky
...
--HG--
extra : transplant_source : %0B%E5o%993%09%9Fx%27%C5%03NA%A9u%00%82d-%1C
2011-10-12 10:34:39 -07:00
Jeff Muizelaar
4170d0da18
Bug 564613. Add documentation to TimeStamp comparing it to C++11's time_point. r=cjones
...
--HG--
extra : rebase_source : dc9f17795565031874f11956cea168bbcee1b616
2011-10-06 11:08:59 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Luke Wagner
cc2ce861d1
Bug 684526 - Unify jsval and js::Value (r=jorendorff)
...
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Shawn Gong
7369d04bb8
Fixed bug 672641, implemented CharTokenizer which takes arbitrary char as delimiter. r=sicking
2011-07-21 11:13:06 -07:00
Ted Mielczarek
7dee353035
bug 682319 - use C99 isfinite on OS X, since finite is deprecated (and not present on iOS). r=bz
2011-08-29 11:14:27 -04:00
Jeff Muizelaar
6324ef934e
Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones
2011-08-10 19:32:35 -04:00
Michael Wu
ab15475a72
Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg
2011-08-22 19:15:54 -07:00
Phil Ringnalda
99f1c05821
Back out 902a7c3eb320 for failing to build on Windows, and 196df669baba for failing to build without it
2011-08-18 20:04:10 -07:00
Daniel Holbert
7ca73796ab
Bug 679832 followup: add an #include <stdint.h> to fix bustage on Linux Opt QT build.
2011-08-18 16:32:19 -07:00
Daniel Holbert
1c4b998234
Bug 679832: Explicitly cast to a pointer-sized integer, when converting between 32-bit ints and void* pointers in nsCheapSets.h. r=bsmedberg
2011-08-18 16:11:55 -07:00
Matheus Kerschbaum
887ff1b97a
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Matheus Kerschbaum
d996705797
Bug 677529 - Remove manual jspubtd.h inclusions from IDL files. r=Ms2ger
2011-08-14 19:12:35 +02:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Jeff Muizelaar
5ab481bfcc
Revert 17fa5a741f84.
...
The asserts were catching bug 673226 harder than we'd like.
2011-08-10 22:30:10 -04:00
Jeff Muizelaar
e7eb090882
Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones
...
--HG--
extra : rebase_source : 108c53d18227ee0932751c61c8024faf23183b82
2011-08-10 19:32:35 -04:00
Michael Wu
ccaba60ed1
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Ed Morley
24be888a22
Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt
2011-08-01 13:43:23 -04:00
Landry Breuil
3649eaecfa
Bug 674324. Remove leftover references to HAVE_CPP_MEMBER_TEMPLATES/HAVE_CPP_NUMERIC_LIMITS
...
Those should have been removed in rev e5f0916b32d3 (bug 499262)
2011-07-29 15:40:37 -04:00
Robert Longson
7115c1b565
Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas
2011-07-23 09:41:17 +01:00
Jeff Muizelaar
f5865f36e6
Bug 539093. TimeStamp implementation for OS X using mach_absolute_time. r=cjones
...
--HG--
extra : rebase_source : 66c407448f94ae1b9efa8c7d0d7291e22b5e6191
2011-07-20 14:27:10 -04:00
Jeff Muizelaar
5abdccf9ba
Bug 672207. Add toMicroseconds() for more precision. r=cjones
...
--HG--
extra : rebase_source : a363b3c67c0cebf72777347e741e2499067c1fa3
2011-07-20 13:38:34 -04:00
Yu-Hsun Lin
b3ee61fe21
Bug 486081. Remove nsTime. r=roc
...
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Matheus Kerschbaum
55aebc79d4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Kyle Huey
b908447ca8
Bug 663479: Move all IDB structured clone operations to the main thread. r=bent
2011-06-24 07:21:21 -07:00
Marco Bonardo
acc6a474c6
Revert to changeset a87ee7550f6a due to incomplete backout
2011-06-24 17:23:04 +02:00
Kyle Huey
cb9b5a078f
Bug 663479: Move all IDB structured clone operations to the main thread. r=bent
2011-06-24 07:21:21 -07:00
Jonas Sicking
caef7c47a8
Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg
2011-06-16 12:21:25 -07:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ginn Chen
bd84420522
Bug 654655 ieeefp.h is required for finite() on Solaris r=bz
2011-05-18 09:47:37 +08:00
Ed Morley
aa86759d37
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Ms2ger
48d0794225
Bug 630052, part a: Add NS_finite API to nsMathUtils; r=bz
2011-04-02 14:18:40 -04:00
Ehsan Akhgari
73dd5db57d
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
326315dab1
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Jeff Muizelaar
649e74e3f6
Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg
2011-03-31 20:14:13 -04:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
f4575bfe5e
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
4e1b7d656b
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Jeff Muizelaar
3e62f06d3f
Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg
2011-03-31 20:14:13 -04:00
L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Markus Stange
635a2437ca
Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc
2011-03-26 00:30:19 -04:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11: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
Ehsan Akhgari
6309f84e6d
Bug 635546 - Calculate the string length correctly for REG_EXPAND_SZ values expanded through nsWindowsRegKey::ReadStringValue; r=bsmedberg,jimm a=blocking-betaN+
...
The buffer length returned from ExpandEnvironmentStringsW includes the terminatng
null character, so we need to decrement it before setting the string length, as
XPCOM strings need to be stored with correct length information.
2011-02-22 11:05:26 -05:00
Ehsan Akhgari
c389b80a3c
Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver
2011-02-17 16:18:53 -05:00
Benoit Jacob
7987aa8357
Bug 601535 - fix CheckedInt warnings - r=khuey, a2.0=joe
2010-10-12 17:01:59 -04:00
Benoit Jacob
dde5763eeb
Bug 555798 - CheckedInt improvements, init by 0 - r=neil
2010-10-12 17:01:59 -04:00
Benoit Jacob
39b2609bc8
Bug 583325; CheckedInt: beware of signed right shift; r=lw
2010-08-05 09:59:37 -04:00
Benoit Jacob
af55a384ea
Bug 580034; Some CheckedInt tweaks; r=jmuizelaar
2010-08-05 09:57:06 -04:00
Neil Rashbrook
c1ba581be6
Bug 581652 Some versions of GCC don't like nsCRT::IsAsciiSpace r=jst a=bsmedberg
2010-07-27 12:45:59 +01:00
Boris Zbarsky
8a5a8c7f9e
Bug 558306 part 1.5. Make TimeDuration::FromMilliseconds take a double. r=cjones, sr=roc
2010-07-21 15:57:33 -04:00
Mounir Lamouri
530eba15e8
Bug 555559: Make nsCharSeparatedTokenizer a template that can accept varying definitions of whitespace. r=smaug,sicking sr=jst
2010-07-21 09:07:10 -07:00
Robert O'Callahan
9d2392dcc8
Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats
2010-07-16 09:08:05 +12:00
Chris Jones
593697156c
Bug 576467: Check the return value of clock_getres(). r=roc
2010-07-15 14:27:43 -05:00
Boris Zbarsky
92a03af2bc
Bug 558306 part 1. Add a TimeDuration::ToMilliseconds. r=cjones
2010-07-15 09:59:23 -04:00
Benoit Jacob
54efe381b9
b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir
2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f
b=576067; Let WebGL use CheckedInt; r=vladimir
2010-07-03 18:32:19 -04:00
Mitchell Field
eb1e793da7
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
...
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
a2833452f8
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benoit Jacob
e43682cb4c
b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir
2010-06-30 11:53:41 -04:00
Benjamin Smedberg
63c0077443
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
6e8d912e32
Fix review comments from bug 568691 comment 45.
2010-06-24 11:56:28 -04:00
Benjamin Smedberg
5cab25b52b
Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
...
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
9045c05660
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Jacek Caban
7393907967
Bug 569586 - XPCOM compilation failure on mingw-w64 due to pointer to int cast loosing precision. r=benjamin
...
--HG--
extra : rebase_source : e4d0b0b110992af5f397aea52c36a5f5ed9f56c5
2010-06-25 14:02:24 +02:00
Robert Sayre
13c247559e
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Jason Orendorff
ee50fdd206
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9
Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
...
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
d4bf1daecc
Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes)
2010-05-04 07:43:48 -07:00
Daniel Holbert
4d7b4ac88a
Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef
Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
54c4f9b04b
Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111
Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1
Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
...
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
9a289a56f1
Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
...
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
timeless@mozdev.org
c8a6358870
Bug 561709 Change the dash to an underscore in the status of nsIRecyclingAllocator, r=bsmedberg
2010-04-26 01:18:00 -07:00
Ginn Chen
3afa89d964
revert 43e12453336f, it was fixed by another changeset
2010-04-28 17:44:24 +08:00
Ginn Chen
314bd364fe
Bug 560717 Linux FPE running make check r=bsmedberg
2010-04-28 17:40:03 +08:00
Vladimir Vukicevic
838f1fb2ff
b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg
2010-04-26 14:26:40 -07:00
Vladimir Vukicevic
e3731a1e45
b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop
2010-04-26 11:13:03 -07:00
Vladimir Vukicevic
3ce92fdab6
b=480735; add infrastructure for simple timeline logging; r=bsmedberg
2010-04-20 00:04:42 -07:00
Jonas Sicking
e6aa8d8aab
Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch.
2010-03-08 08:03:55 -08:00
Jonas Sicking
0baab851d8
Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
3cfc98309e
Bug 534136 Part 5: Clean up atomtable hash entries. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
088a5c3e1c
Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08: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