Chris Peterson
cbe66ccea3
Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 20:50:05 -08:00
Neil Rashbrook
72e7888f8b
Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking
2013-02-04 22:05:40 +00:00
Mats Palmgren
5f5d30eb5b
Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan
2013-01-15 13:22:03 +01:00
Trevor Saunders
cd9ce5e64f
no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type
2013-01-11 04:43:29 -05:00
Trevor Saunders
0f94b545d6
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
Gregor Wagner
46a329cd92
Bug 827499 - SettingsService: Fix locking problem. r=bent
2013-01-08 12:04:25 +01:00
Gregor Wagner
58c8da0cf3
Bug 827237 - Followup: Disable settings test. r=me
2013-01-07 16:31:11 +01:00
Masatoshi Kimura
4a3e55941c
Bug 826231 - Enable FAIL_ON_WARNINGS on MSVC in xpcom/tests. r=ehsan
2013-01-04 12:49:25 +09:00
Ehsan Akhgari
4ad1b6649d
Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build
2013-01-03 18:36:16 -05:00
Shriram Kunchanapalli
25d2ca6bd4
Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg
2012-12-24 08:47:18 +05:30
Masatoshi Kimura
9a4812e054
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Boris Zbarsky
6efc316628
Bug 819523 part 1. Make it possible to use the various-allocator nsTArrays interchangeably as long as you're working with const objects. r=jlebar
2012-12-18 20:16:05 -05:00
Wan-Teh Chang
526918e802
Bug 634793: update NSPR to NSPR_4_9_5_BETA1 and add the TestPRIntN.cpp
...
test to verify PRInt{N} matches int{N}_t. r=ehsan,jlebar.
2012-12-14 09:01:25 -08:00
Ted Mielczarek
07431e7fdb
Bug 704368 - Skip test_nsIProcess_stress.js on Linux64 debug for intermittent failures; r=glandium
2012-12-07 09:12:01 -05:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Mike Hommey
c51f5d814d
Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
...
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Gregor Wagner
3fb2b40d93
Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley
2012-11-14 13:46:38 -08:00
Gregor Wagner
28b91e9e9a
Backout Bug 811414 for breaking B2G
2012-11-14 13:09:21 -08:00
Gregor Wagner
c88b6950ec
Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley
2012-11-14 13:00:51 -08:00
Andrew Quartey
d21a5d8004
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Kartikaya Gupta
7acbfada91
Bug 801818 - Add an API to check if the platform is a low-memory one. r=bsmedberg, blassey
2012-10-31 14:59:55 -04:00
Kyle Huey
0469a02b25
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jeff Walden
36daf707ab
Bug 804872 - TestObserverArray.cpp shouldn't invoke macros with empty arguments. This is a C99/C++11 extension, and this file isn't currently compiled as C++11. r=dholbert
2012-10-24 09:42:20 -07:00
Daniel Holbert
77d39ba769
Bug 803695: Remove "myRawPtr == myRawPtr" comparisons in TestCOMPtrEq.cpp, to fix clang "-Wtautological-compare" warning, and mark dir as warning-free. r=dbaron
2012-10-19 16:21:02 -07:00
Matthew Gregan
c90b40acf5
Bug 799234 - Fix seeking within a single stream's range within a multiplexed stream. r=biesi,amarchesini
...
--HG--
extra : rebase_source : 73658a2351a9a0a9476f6d1f4f6e5d8a77413eb5
2012-10-20 08:29:41 +13:00
Daniel Holbert
b57068badb
Bug 803641: Fix signed/unsigned-comparison build warnings in TestTArray.cpp, and mark its directory as warning-free. r=jlebar
2012-10-19 13:26:50 -07:00
Andrew Quartey
00edc52f9c
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrea Marchesini
5b7140d600
Bug 797871 - Fix nsMultiplexInputStream.Seek. r=dougt
2012-10-11 06:26:30 -04:00
Jeff Walden
a9b67c2069
Move TestBloomFilter out of XPCOM and into mfbt/tests, now that it exists. No bug, r=testingonlychange
...
--HG--
extra : rebase_source : 85a2a56bcc02bf122ee7fd21d16dffd534d1c98d
2012-10-03 17:09:59 -07:00
Ted Mielczarek
d53b2c12ef
bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
...
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
William Chen
1e6c1fa4b2
Bug 798065 - Fix integer underflow in nsTArray::LastIndexOf. r=cjones
2012-10-04 15:23:41 -07:00
Andrew Quartey
58aa97ec8b
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
6a3e28f73b
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Isaac Aggrey
e0ccbfc6c7
Bug 795351: Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() with stdint macros; r=ehsan
2012-09-28 17:08:26 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Jim Blandy
6415639ea2
Bug 790117: XPCOM test harness: Delete unused profiler control functions. r=bsmedberg
...
These functions are entirely unused, but we also now have
JS_DefineProfilingFunctions, present in both browser and JavaScript shell,
for doing what these functions were presumably intended for.
2012-09-21 16:36:13 -07:00
Mike Hommey
c652ca2011
Bug 789837 - Properly set dependencies on .deps directories. r=ted
2012-09-11 09:43:32 +02:00
Aryeh Gregor
291bfa222b
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Gregor Wagner
aa2e534506
Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent
2012-09-05 17:33:03 -07:00
Paul Adenot
79c6c3223c
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-09-04 14:53:52 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Gene Lian
17ba54e526
Bug 785298 - Tests for carrying a customized message to notify "mozsettings-changed" observers. r=gwagner
2012-08-30 17:29:00 +08:00
Gene Lian
bf14dd20ba
Bug 785298 - Settings API: set() can carry a customized message to notify "mozsettings-changed" observers. r=gwagner
2012-08-31 15:37:43 +08:00
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