Commit Graph

680 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e81a8f702d Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Projjol Banerji
06258b976a Bug 956857 - Fix busted semantics for subject parameter in "xpcom-category-entry-removed" notification. r=bsmedberg 2014-01-29 17:07:35 -05:00
ZappaMan
85d643bdb6 Bug 956095 - Fix compiler warnings in TestCOMArray by initializing pointers. r=dougt 2014-01-16 08:26:00 -05:00
Ehsan Akhgari
ebd358dfd7 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
Ms2ger
fe059e78f7 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Alessio Placitelli
92adedf291 Bug 943511 - Remove allocator parameters from methods using nsSegmentedBuffer. r=bsmedberg 2013-12-11 14:14:56 -05:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Mike Shal
94d19c46f2 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Jacek Caban
843b3659fc Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2013-12-04 13:19:09 +01:00
Mike Hommey
bf60896454 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Dan Minor
69e7d3a78d Bug 943390 - Unit test TestTArray.cpp fails on Windows XP opt builds; r=froydnj 2013-11-29 12:48:08 -05:00
Makoto Kato
ed24a20324 Bug 942645 - Remove old OS_RELEAE reference. r=glandium 2013-11-29 13:52:22 +09:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
b95448fc0b Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Jim Chen
da081c4f7c Bug 935089 - Make ArrayLength, ArrayEnd, and PodArrayZero accept mozilla::Array argument; r=Waldo 2013-11-12 17:31:15 -05:00
Mike Hommey
6b4f0058ce Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Mike Hommey
ff32f10568 Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
Dan Minor
f9aa32126e Bug 931062 - Unit test TestPLDHash.cpp fails on Android; r=njn 2013-11-04 09:28:34 -05:00
Nicholas Nethercote
8240e2f282 Bug 933074 - Allow a pldhash to be reasonably overloaded if it cannot be grown further. r=jorendorff.
--HG--
extra : rebase_source : 0760f78d5332b4791899c1db649493eeca10b978
2013-10-30 18:22:31 -07:00
Mike Hommey
ff4fa14954 Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Ed Morley
8b64bfe0b1 Backed out changeset 38a50c61c285 (bug 931062) for compilation failures on a CLOSED TREE 2013-11-01 14:23:37 +00:00
Nicholas Nethercote
3ff451117b Bug 931062 - Skip one test in TestPLDHash.cpp on Android because it tends to OOM; r=njn 2013-10-28 12:30:07 -07:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Nicholas Nethercote
ad5dabe541 Bug 927705 (part 3) - Add a C++ unit test for pldhash. r=jorendorff.
--HG--
extra : rebase_source : 58cddfff7da6116af7512097c3a6172ca1c06b87
2013-10-21 15:44:03 -07:00
Ms2ger
3e9906c7f2 Merge inbound to m-c. 2013-10-20 10:40:40 +02:00
Ms2ger
20a321f0b5 Bug 908142 - Part c: Move FAIL_ON_WARNINGS to moz.build in xpcom/tests/; r=gps 2013-10-20 09:25:19 +02:00
Ehsan Akhgari
387a4f7600 Bug 928040 - Remove some prtypes.h inclusions from xpcom/; r=bsmedberg
--HG--
extra : rebase_source : 2f238320ba8330a27aa986af1146446dcb5d7128
2013-10-18 20:34:57 -04:00
Mike Hommey
6aeae2f437 Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps 2013-10-17 07:55:16 +09:00
Birunthan Mohanathas
8931f631a5 Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan 2013-10-10 16:42:16 -04:00
Arun
60bc4a7e82 Bug 881237- Unlock mLock before logging, r=bsmedberg 2013-10-09 10:38:34 -04:00
Gregory Szorc
ed68c2482b Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Ehsan Akhgari
276e4b787c Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Cykesiopka
b947cdc80e Bug 914272 - Move IS_COMPONENT to mozbuild. r=joey 2013-09-19 17:29:32 -04:00
Mike Hommey
16d06af70c Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Mats Palmgren
bf7df8d447 Bug 911283 - Introduce nsTArray::SetLengthAndRetainStorage which unlike SetLength does not deallocate/reallocate the internal storage. Use it in NS_FillArray. r=bsmedberg 2013-09-08 02:05:02 +00:00
Valentin Gosu
14afabb9f3 Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg 2013-09-06 21:29:24 -04:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Geoff Brown
220e4a5f85 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Ted Mielczarek
55aac01bc2 Bug 906734 - Put TestHarness.h profile directories under runcppunittest's temp directory. r=Waldo 2013-08-20 11:59:51 -04:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Geoff Brown
ebce935b9a Bug 902081 - Skip xpcshell test_systemInfo.js on android; r=ctalbert 2013-08-18 11:58:34 -06:00
Brian O'Keefe
3fd496e231 Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Ms2ger
93933b0de8 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Po-Chun Chang
5f1c3aebb0 Bug 898691 - Avoid wasted work in TestTextFormatter.cpp. r=jlebar 2013-08-05 19:43:26 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Paul Adenot
a2430a6b16 Bug 894941 - Move SSE.{h,cpp} and arm.{h,cpp} to mozglue/build/. r=glandium
--HG--
rename : xpcom/glue/SSE.cpp => mozglue/build/SSE.cpp
rename : xpcom/glue/SSE.h => mozglue/build/SSE.h
rename : xpcom/glue/arm.cpp => mozglue/build/arm.cpp
rename : xpcom/glue/arm.h => mozglue/build/arm.h
rename : xpcom/tests/ShowSSEConfig.cpp => mozglue/tests/ShowSSEConfig.cpp
2013-07-26 18:46:31 +02:00
Ms2ger
fb6790e6d8 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Joshua Cranmer
7b9a04da79 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
03b669f709 Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Gregory Szorc
bcf3de711c Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Ms2ger
ccd0592159 Bug 888644 - Install TestHarness.h the usual way; r=ted 2013-07-10 11:55:34 +02:00
Reuben Morais
48736c4fb4 Bug 877003 - Convert TestSettingsAPI.cpp to a mochitest-chrome. r=fabrice
--HG--
extra : rebase_source : d338fc0222346f4ddd043b32d43462c6365f16f5
2013-05-31 15:28:46 -07:00
Gabor Krizsanits
94a2af0a2c Bug 875405 - fixing unpushed cx usages. r=bholley 2013-05-30 16:54:46 +02:00
Jon Coppeard
6fec5f0632 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ed Morley
ebb42781a7 Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
a5f7aee9a5 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Joshua Cranmer
3c65985c73 Bug 868285 - Fix static checking builds, part 4: kill dehydra stack checking tests. r=bsmdberg 2013-05-27 16:05:22 -05:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Gregor Wagner
3230f13de0 Bug 852429 - Disable TestSettingsAPI test until bug 862355 is fixed. r=bent 2013-05-03 09:40:10 -07:00
Geoff Brown
5931069e78 Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-04-30 12:38:18 -06:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
67dfb66e7a Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor 2013-04-29 11:16:22 -07:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Gavin Sharp
a4c3308b1b bug 862152: remove obsolete xpcom/tests/utils code, r=bsmedberg
--HG--
extra : transplant_source : ytT%C26%9B%27d%AB%A4%EA%5E%F3%21%7F%0AV%B9%86%00
2013-04-16 08:27:42 -07:00
aceman
2d19ac6495 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Joshua Cranmer
5588a09e5f Bug 767563 - Add a clang static checker, part 2: Implement the MOZ_MUST_OVERRIDE attribute. r=ehsan 2013-03-23 21:13:24 -05:00
Boris Zbarsky
1a84a2d4dd Bug 822281. Stop assuming XPCOM timers can't fire early (at least where IEEE doubles are concerned). r=avih 2013-03-22 23:47:58 -04:00
Fabrice Desré
7c3b1d3b99 Bug 852543 - B2G desktop builds failing during make check on m-c r=bsmedberg 2013-03-22 10:33:08 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Nathan Froyd
6c2ee6841f Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg 2013-03-01 15:11:21 -05:00
Kyle Huey
c0cec0dc5b Bug 849654: Kill nsDataHashtableMT. r=bsmedberg 2013-03-12 14:26:57 -07:00
Kyle Huey
7f0da9e89b Bug 849654: Kill nsClassHashtableMT. r=bsmedberg 2013-03-12 13:33:40 -07:00
Gregory Szorc
a8e6b873d4 Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Boris Zbarsky
880e764352 Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik 2013-02-13 10:11:53 -05:00
Chris Peterson
481aeddb5f 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
20c220f8b4 Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking 2013-02-04 22:05:40 +00:00
Mats Palmgren
93d3d7b2b4 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
10701d89a1 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
e1d9c076e4 bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan 2013-01-10 03:39:40 -05:00
Gregor Wagner
32759d8b5e Bug 827499 - SettingsService: Fix locking problem. r=bent 2013-01-08 12:04:25 +01:00
Gregor Wagner
67dcf8dae0 Bug 827237 - Followup: Disable settings test. r=me 2013-01-07 16:31:11 +01:00
Masatoshi Kimura
1d7f495207 Bug 826231 - Enable FAIL_ON_WARNINGS on MSVC in xpcom/tests. r=ehsan 2013-01-04 12:49:25 +09:00
Ehsan Akhgari
2cf729e283 Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Shriram Kunchanapalli
bbed330a6b 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
b5e27745c8 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
b510abf604 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
4bb6a2c22b 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
701b783680 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
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Mike Hommey
95d176978d 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
1e767c97ea Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:46:38 -08:00
Gregor Wagner
d1ebf22b39 Backout Bug 811414 for breaking B2G 2012-11-14 13:09:21 -08:00
Gregor Wagner
ec389cf5db Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:00:51 -08:00
Andrew Quartey
96949afbbf Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Kartikaya Gupta
81d461ccdf 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
1482122303 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
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb 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
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a 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
7ac97fd5f9 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
da37508e9b 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
4bedd96175 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
60ca58cba0 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
0e23b26077 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrea Marchesini
48b684aaaf Bug 797871 - Fix nsMultiplexInputStream.Seek. r=dougt 2012-10-11 06:26:30 -04:00
Jeff Walden
dede03d303 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
50d314a70a 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
e95607fd91 Bug 798065 - Fix integer underflow in nsTArray::LastIndexOf. r=cjones 2012-10-04 15:23:41 -07:00
Andrew Quartey
e0477b23d8 Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
9f926a0d71 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Isaac Aggrey
5a625049e0 Bug 795351: Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() with stdint macros; r=ehsan 2012-09-28 17:08:26 -05:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Jim Blandy
6ba9527009 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
b0c0deaf39 Bug 789837 - Properly set dependencies on .deps directories. r=ted 2012-09-11 09:43:32 +02:00
Aryeh Gregor
5a68b81a9b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Gregor Wagner
3b332a6a7f Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Paul Adenot
c4a8714f46 Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-09-04 14:53:52 -07:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Gene Lian
f3d96e2210 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
7163f76e66 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
06499b0759 Backed out changeset 581cdaf67a25
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Ehsan Akhgari
0fd9123eac 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
2292447bff Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-08-21 16:01:36 -07:00
Ryan VanderMeulen
351d01c8ff Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail 2012-08-21 18:45:54 -04:00
Paul Adenot
1a76a826c4 Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-08-15 15:46:08 -07:00
Aryeh Gregor
2fba4d0a70 Bug 782614 - Don't return nsresult from main() (xpcom/); r=bsmedberg 2012-08-07 20:17:27 +03:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Honza Bambas
541453729c 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
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Ms2ger
5a4f28eb7b Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg 2012-08-09 09:09:31 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00