Chris Double
8d6f9bcdad
Backed out changeset 581cdaf67a25
...
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Ehsan Akhgari
e368dc9c85
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
Paul Adenot
3e34f8a963
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-08-21 16:01:36 -07:00
Ryan VanderMeulen
8df811156e
Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail
2012-08-21 18:45:54 -04:00
Paul Adenot
666f75f381
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-08-15 15:46:08 -07:00
Aryeh Gregor
a7aaa7a89e
Bug 782614 - Don't return nsresult from main() (xpcom/); r=bsmedberg
2012-08-07 20:17:27 +03:00
Aryeh Gregor
719dcb2097
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Honza Bambas
15daadba69
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Ms2ger
4c81482ae1
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ms2ger
1d18535516
Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg
2012-08-09 09:09:31 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Siddharth Agarwal
7e3e70891e
Bug 770141 - xpcom/tests/windows/TestRegistrationOrder.cpp fails with pymake because of a design failure with command lines on Win32. Sidestep the issue by doing it in C++ instead of the shell. r=bsmedberg
...
--HG--
extra : rebase_source : d0a89124e698097a94d43ad5d8c3b49eb8b889f2
2012-07-25 22:36:12 +05:30
Joshua Cranmer
a1186c1020
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
Joshua Cranmer
d539846cab
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Cameron McCormack
525de357d7
Bug 771893 - Remove unused function from TestTArray.cpp. r=bsmedberg
...
--HG--
extra : rebase_source : 51e409bd2d6670a9b8cbdf750b1c1c15ba08ad8f
2012-07-20 04:50:46 +10:00
Ehsan Akhgari
b3a1909572
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 (more xpcom parts); blanket-r=bzbarsky
2012-07-18 11:54:26 -04:00
Vicamo Yang
69607e384f
Bug 771048: fix typo in nsAutoRef::swap, r=khuey
2012-07-10 00:19:59 +08:00
Ehsan Akhgari
a608ba681b
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 (more xpcom and gonk parts); r=jrmuizel
2012-06-19 23:41:56 -04:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Daniel Holbert
963c627976
Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner
2012-05-25 12:29:05 -07:00
Tim Abraldes
e58929288d
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487
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
Benoit Jacob
6de3cc03da
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
fa7d54dc65
Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
534e463c32
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
c170d6091a
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
0f956d7307
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469
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
95a2d59d82
Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden
2012-05-14 15:50:19 -04:00
Benoit Jacob
7ffe0143e7
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
f9040a6b65
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
Gregor Wagner
91053dc650
Bug 743336 - Settings API Service Tests. r=fabrice
2012-05-08 11:28:59 -07:00
Ryan VanderMeulen
bc43b82415
Merge m-c to inbound
2012-05-07 20:29:19 -04:00
Kyle Huey
6f999a8ca0
Bug 751585: Followup to adjust tests. (Last one I promise)
2012-05-07 17:19:31 -07:00
Kyle Huey
8afe3c9578
Bug 751585: Followup to adjust tests.
2012-05-07 15:52:32 -07:00
Ehsan Akhgari
a6ba49853c
Merge mozilla-central into mozilla-inbound
2012-05-07 19:03:55 -04:00
John Ford
d27a5c95ed
bug 747448 - convert shell calls to pwd to using core_*path functions r=khuey
2012-05-07 15:21:11 -07:00
Mike Hommey
4d48cbfae9
Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
...
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Tim Abraldes
1c0b2a68b5
bug 738501: Add `setShortcut` function to nsILocalFileWin. r=bsmedberg. a=gavin.
...
The `setShortcut` function allows us to create or update Windows shortcut (.lnk) files. The usage pattern is like so:
Create an nsILocalFileWin whose path is something.lnk
Call its `setShortcut` function to set the shortcut properties
2012-04-18 15:01:15 -07:00
Asaf Romano
42ca210005
Butage fix for bug 745466 (that test is not valid on windows).
2012-04-16 23:47:42 +03:00
Asaf Romano
bc880d784d
Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg.
2012-04-16 21:40:47 +03:00
Serge Gautherie
0d51cc4432
Bug 740769. (Cv1a) test_bug325418.js: Create separate observers, Initialize gStartTime[12] later, Use Date.now() instead of (new Date()).getTime(), "timer = null;" a bit later, Nits. r=bzbarsky.
2012-04-10 15:59:43 +02:00
Serge Gautherie
f5cb497d42
Bug 740769. (Bv1) Convert test_bug325418.js file to LF end-of-lines, Fix nsITimer.idl documentation. r=bzbarsky.
...
DONTBUILD.
2012-04-10 04:32:19 +02:00
Jacek Caban
c7a0b43a81
Bug 742281 - Append instead of assigning OS_LIBS in xpcom/tests/windows/Makefile.in r=glandium
2012-04-06 11:13:28 +02:00
Serge Gautherie
0556412b21
Bug 740769. (Av1) Fix multiple issues in test_bug325418.js. r=bzbarsky.
2012-04-05 22:59:38 +02:00
Boris Zbarsky
9801e6dd67
Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron
2012-03-12 22:54:12 -05:00