Eric Rahm
1828042c1f
Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell
2016-01-05 13:05:19 -08:00
Phil Ringnalda
52aade6b43
Back out 3e168e5a04bf (bug 1174972) for build bustage
...
CLOSED TREE
2016-01-11 20:04:40 -08:00
Eric Rahm
f8d0e8949c
Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell
2016-01-05 13:05:19 -08:00
Christoph Kerschbaumer
71921c1eac
Bug 1232803 - Convert JS callsites to use open2 within xpcom/ (r=sicking)
2016-01-11 12:17:10 -08:00
Chris Manchester
a58dc78ade
Bug 1237447 - Disable the crashreporter when crashing intentionally in TestPLDHash. r=njn
...
--HG--
extra : commitid : BIAIgGAkCYL
2016-01-07 12:27:10 -08:00
Eric Rahm
77c03426ad
Bug 1223222 - Part 2: Add tests for NSPRLogModulesParser. r=froydnj
2016-01-05 12:15:59 -08:00
Shu-yu Guo
1768759efb
Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm)
2016-01-06 16:02:16 -08:00
Nathan Froyd
cedf0dc1a3
No bug - remove tab from xpcom/test/gtest/moz.build file; r=me
...
DONTBUILD because whitespace only changes are always green.
2016-01-04 16:17:53 -05:00
Geoff Brown
c0573a940f
Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher
2015-12-21 14:24:08 -07:00
Nicholas Nethercote
d180cd4a92
Bug 1181444 (part 1) - Remove nsBaseHashtable::EnumerateRead(). r=froydnj.
...
--HG--
extra : rebase_source : c07a83a2984ca4e67f3441d9e18b6bbac772495d
2015-11-22 14:39:01 -08:00
Mike Hommey
70a5b9589d
Bug 1227388 - Finish removing dehydra support. r=mshal
...
Dehydra/Treehydra is unmaintained, broken (iirc), and obsoleted by clang
static analysis. We've removed parts of the build system support for it, but
not all. This is meant to remove the remains.
2015-11-25 08:23:25 +09:00
sajitk
6418c52357
Bug 1201997
- Part 1 - Converted compiled test to gtest for nsDeque class. Added tests to test untested methods. r=froydn
...
--HG--
rename : xpcom/tests/TestDeque.cpp => xpcom/glue/tests/gtest/TestNsDeque.cpp
2015-11-15 14:47:49 +01:00
Chris Peterson
4a9be99fc7
Bug 1220544 - Fix -Wunreachable-code warnings in xpcom. r=mccr8
...
xpcom/glue/PLDHashTable.cpp:471:10 [-Wunreachable-code-return] 'return' will never be executed
xpcom/tests/TestAutoPtr.cpp:324:9 [-Wunreachable-code] code will never be executed
xpcom/tests/TestBlockingProcess.cpp:6:11 [-Wunreachable-code-return] 'return' will never be executed
2015-11-02 21:03:03 -08:00
Nathan Froyd
a5557d1390
Bug 1219246 - use UniquePtr instead of nsAuto*Ptr in xpcom/; r=erahm
2015-10-31 13:47:14 -04:00
Birunthan Mohanathas
d72daf8147
Bug 1185763 - Part 7: Add test for r-value nsTArray::AppendElements. r=froydnj
2015-11-02 07:53:26 +02:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Nathan Froyd
78c64c0cde
Backout 5649b6b8cec3 (bug 1219246) for Linux xpcshell bustage
2015-10-31 13:34:06 -04:00
Nathan Froyd
a5bf910f3f
Bug 1219246 - use UniquePtr instead of nsAutoArrayPtr in xpcom/; r=erahm
2015-10-28 09:50:29 -04:00
Carsten "Tomcat" Book
6d8a42769f
Backed out changeset d84d5faa4852 (bug 1201997
) for m2 perma failures
...
--HG--
rename : xpcom/glue/tests/gtest/TestNsDeque.cpp => xpcom/tests/TestDeque.cpp
extra : rebase_source : 689453beeca1b317d9b2f57889ba1b133b628821
2015-10-30 15:53:22 +01:00
Honza Bambas
ba03a4f818
Bug 1219726 - Nit: Tokenizer.ShortcutChecks gtest should use nsDependentCSubstring. r=nfroyd
2015-10-29 05:58:00 +01:00
sajitk
d4bc9904dc
Bug 1201997: Part 1 - Converted compiled test to gtest for nsDeque class. Added tests to test untested methods. r=froydn
...
--HG--
rename : xpcom/tests/TestDeque.cpp => xpcom/glue/tests/gtest/TestNsDeque.cpp
extra : rebase_source : 76fe6e0468ad1e0402a536bcb313bd4bb83f9c17
2015-10-29 19:55:00 +01:00
Tooru Fujisawa
1619a85fbf
Bug 1217424 - Remove for-each from xpcom/. r=bholley
...
--HG--
extra : commitid : 6mnwhyI2pYK
2015-10-19 05:43:45 +09:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
c947ee6806
Bug 1126295 - Move TestAtoms.cpp to gtest and enable it; r=froydnj
...
commit 7d4543037c618cc0e95b6f1801c2187e3361c82a (HEAD, explicit)
Author: Ehsan Akhgari <ehsan@mozilla.com>
Bug 1126295 - Move TestAtoms.cpp to gtest and enable it; r=froydnj
--HG--
rename : xpcom/tests/TestAtoms.cpp => xpcom/tests/gtest/TestAtoms.cpp
2015-01-27 09:28:45 -05:00
sajitk
b564e1db32
Bug 996105 - Added tests for registry access. Fixed wrong condition in ReadStringValue code. r=bsmedberg
...
--HG--
extra : amend_source : 8b78a62b071a515f3652e77c2abd37561ebf3380
2015-10-14 11:17:07 +05:30
Nigel Babu
640106b762
Backed out changeset 7077589b174c (bug 996105) for failing its own tests ON A CLOSED TREE
2015-10-13 16:10:39 +05:30
sajitk
5491f00db4
Bug 996105 - Added tests for registry access. Fixed wrong condition in ReadStringValue code. r=bsmedberg
2015-09-27 17:16:00 +02:00
Aryeh Gregor
c48c61128c
Bug 1213862 - Align nsString whitespace handling with web specs; r=froydnj
2015-10-12 20:47:57 +03:00
Hiroyuki Ikezoe
00b0491dd0
Bug 1167627 - Part 3: Use mozinfo in xpcom/. r=bsmedberg
2015-10-11 21:48:00 +02:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Tooru Fujisawa
5d153352bf
Bug 1207499 - Part 13: Remove use of expression closure from xpcom/. r=froydnj
...
--HG--
extra : commitid : DVEzMkDSqJL
extra : rebase_source : 6d705caf89dfde999ed144d702c8d9173844e86a
2015-09-23 18:42:20 +09:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote
6f036921dc
Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
...
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Chris Peterson
0dbaae1ce2
Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8
2015-09-07 23:56:16 -07:00
Nicholas Nethercote
2ee4fd783b
Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
...
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
59683492e5
Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
...
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
...
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b
Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
...
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Andrew McCreight
5446225d17
Bug 1201271 - Warn about unused results for more methods of nsTArray. r=froydnj
...
This leaves alone the AppendElement methods.
2015-09-15 15:30:44 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Ben Kelly
233c4ec7a9
Bug 1203680 P4 Fix bug in nsStorageStream with reading streams created before data is populated. r=froydnj
2015-09-15 10:15:45 -07:00
Kyle Huey
0efe211e55
Bug 1200922: Add the ability to shut down a thread asynchronously. r=froydnj
2015-09-14 18:24:43 -07:00
Wes Kocher
a336f83a0a
Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
...
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Ben Kelly
79ccea7ed6
Bug 1203680 P4 Fix bug in nsStorageStream with reading streams created before data is populated. r=froydnj
2015-09-14 12:04:56 -07:00
Ben Kelly
e0bbb6d4d2
Bug 1203760 P2 Add gtests for nsPipeInputStream AsyncRead(). r=froydnj
2015-09-14 08:49:09 -07:00
Honza Bambas
3506e6ec97
Bug 1199775 - mozilla::Tokenizer improvements vol 2. r=nfroyd
2015-09-02 06:20:00 +02:00
Wes Kocher
ba9de6a2f7
Backed out changeset f5b2a11c64c9 (bug 1201271) for bustage
2015-09-09 15:56:21 -07:00