Terrence Cole
f66b486531
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
2015-12-30 08:52:14 -08:00
Jeff Walden
4f31020ada
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
2015-12-28 16:15:52 -06:00
sajitk
67836f0590
Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn
2015-11-15 14:48:08 +01:00
sajitk
baaf9550be
Bug 1201997 - Part 3 - Make internally used methods private. r=froydn
2015-11-15 14:48:02 +01:00
sajitk
4f43509d00
Bug 1201997 - Part 2 - Removing unused methods from the nsDeque class. r=froydn
2015-11-15 14:47:55 +01:00
sajitk
516b58a3a2
Bug 1201997 - Part 1 - Converted compiled test to gtest for nsDeque class. Added tests to test untested methods. r=froydn
2015-11-15 14:47:49 +01:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Jason Orendorff
24d3e52551
Bug 1054756, part 5 - Remove Class::convert.
2015-03-20 16:28:59 -05:00
Wes Kocher
acbbcd2aca
Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
...
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Jason Orendorff
b7001bb468
Bug 1054756, part 5 - Remove Class::convert.
2015-03-20 16:28:59 -05:00
Chris Peterson
752223fd52
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Chris Peterson
db45e51be4
Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8
2015-09-07 23:56:16 -07:00
Nicholas Nethercote
12fec02dfb
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Birunthan Mohanathas
4ea66ae385
Bug 968520 - Add mozilla::fallible to FallibleArray calls in tests. r=froydnj
2015-06-08 13:39:49 -07:00
Gerald Squelart
b0473cdce9
Bug 1153295 - Unit tests. r=nfroyd
2015-04-27 18:40:00 -04:00
Jan de Mooij
960e7c935d
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Andrew McCreight
00f75cda98
Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Gerald Squelart
8481811dd7
Bug 1131445 - variadic NS_NewRunnableMethodWithArgs with storage&passing argument type decorators. r=waldo
2015-03-01 18:12:00 +01:00
Tom Schuster
7c3552a7df
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
2015-01-24 16:38:08 +01:00
Ehsan Akhgari
02d4859a55
Bug 1117211 - Move the XPCOM gtests temporarily placed in xpcom/glue/tests/gtest into xpcom/test/gtest now that it exists; r=froydnj
2015-01-05 11:30:36 -05:00
Ehsan Akhgari
ad34fcfc86
Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj
2015-01-05 11:25:41 -05:00
Ehsan Akhgari
1be15e7f98
Bug 1112970 - Increase the slack value for TestExpirationTracker to 30ms; r=froydnj
2015-01-05 11:25:18 -05:00
Terrence Cole
8765b633f5
Bug 1105069 - Part 21: Remove AsCell in preference of GCCellPtr; r=jonco, r=mccr8
2014-12-14 08:27:52 -08:00
Ehsan Akhgari
9234e1642a
Bug 1111224 - Move TestExpirationTracker.cpp to gtest and enable it; r=froydnj
2014-12-15 15:43:22 -05:00
Wes Kocher
04e99db3ba
Backed out changeset c6287220baaf (bug 1111224) for Windows build bustage on a CLOSED TREE
2014-12-15 14:55:09 -08:00
Ehsan Akhgari
a64b009c75
Bug 1111224 - Move TestExpirationTracker.cpp to gtest and enable it; r=froydnj
2014-12-15 15:43:22 -05:00
Ehsan Akhgari
4027ff2fd5
Bug 1111152 - Move TestEncoding.cpp to gtest and enable it; r=froydnj
2014-12-15 15:42:41 -05:00
Ehsan Akhgari
d0b892ff57
Bug 1111151 - Move TestCRT.cpp to gtest and enable it; r=froydnj
2014-12-15 15:41:37 -05:00
Ehsan Akhgari
8042c490ea
Bug 1111149 - Move TestArray.cpp to gtest and enable it; r=froydnj
2014-12-15 15:39:28 -05:00
Ehsan Akhgari
32b90a88dd
Bug 1110956 follow-up: Fix a build bustage on non-unified builds
2014-12-12 22:11:23 -05:00
Ehsan Akhgari
78c1e1734b
Bug 1110956 follow-up: Use EXPECT macros instead of ASSERT
2014-12-12 21:52:22 -05:00
Ehsan Akhgari
c0fc74f962
Bug 1110956 - Port TestStrings.cpp to gtest and enable it; r=froydnj
2014-12-12 19:05:10 -05:00
Wes Kocher
35d64e56ae
Backed out changeset d468b88bdb23 (bug 1110956)
2014-12-12 16:34:21 -08:00
Wes Kocher
9398048070
Backed out changeset 71378a872c99 (bug 1110956)
2014-12-12 16:33:57 -08:00
Ehsan Akhgari
bb3a6d1985
Bug 1110956 follow-up: Actually re-enable the test that was commented out
2014-12-12 19:10:48 -05:00
Ehsan Akhgari
3e771739a2
Bug 1110956 - Port TestStrings.cpp to gtest and enable it; r=froydnj
2014-12-12 19:05:10 -05:00
Jason Orendorff
ddde8586c6
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
2014-11-22 12:23:39 -06:00
Jason Orendorff
6c66fe3b7e
Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
2014-12-02 16:56:35 -06:00
Terrence Cole
3851b20cc1
Bug 1107349 - Always build in enerational GC support; r=jonco
2014-12-04 09:45:05 -08:00
Jon Coppeard
04b6fb5783
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Mike Hommey
39eb2895ce
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Mike Hommey
2d0876a533
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00
Birunthan Mohanathas
8a4a4c8465
Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj
2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
ce774b1fa6
Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj
2014-06-26 18:35:39 -07:00
Terrence Cole
02580ae798
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
2014-05-14 19:48:09 -07:00
Ryan VanderMeulen
912d8f0dcf
Backed out changeset 36bfb1d8b8fe (bug 1010655) for Cpp test crashes.
2014-05-16 14:52:13 -04:00
Terrence Cole
4a30cbdfd1
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
2014-05-14 19:48:09 -07:00
Terrence Cole
f705d32ae7
Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
2014-04-11 15:19:05 -07:00