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
Benjamin Smedberg
e51ae6d5b8
Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley
2015-05-01 10:23:44 -04:00
Stephen Pohl
f0b4518034
Bug 1077282: Work around the fact that mozharness is not yet aware of the new GreD on OSX (bug 1080338). r=bsmedberg
2014-10-10 15:07:06 -04:00
Stephen Pohl
743f796a95
Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg
2014-10-10 15:06:57 -04:00
Stephen Pohl
003243b553
Mac v2 signing - Bug 1064952 - Update Cpp unit test harness for the new v2 bundle structure on OSX. r=jmaher
2014-09-29 11:51:39 -07:00
Alessio Placitelli
abe2e52213
Bug 943511 - Remove allocator parameters from methods using nsSegmentedBuffer. r=bsmedberg
2013-12-11 14:14:56 -05:00
Benjamin Smedberg
09b6a154f1
Bug 921502 - Use a JS component to collect telemetry from the startup cache C++ test, instead of using raw JSAPI, r=nfroyd
2013-09-30 16:09:28 -04:00
Dan Gohman
94cd9b8531
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Justin Lebar
55b13879fc
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
2013-08-27 15:10:28 -07:00
Nicholas Nethercote
f7d6f07d24
Bug 898914 (part 1) - Remove JSBool.
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
f30b759645
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
2013-08-06 23:59:54 -07:00
Jon Coppeard
3d1569a54e
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Bobby Holley
2a9cdf6f89
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Birunthan Mohanathas
2c21bfc514
Bug 784739 - Switch from NULL to nullptr in startupcache/; r=ehsan
2013-07-31 11:44:43 -04:00
Jon Coppeard
775f06b442
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
beb4a5c20d
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
ba2b6e849c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Ms2ger
0f5ec02bbb
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00
Ehsan Akhgari
5dac65068d
Bug 868785 - Fix rooting hazards in TestStartupCache.cpp; r=till
2013-05-04 20:01:27 -04:00
Steve Fink
aa52f543fe
Bug 866432 - Replace AutoValueRooter with JS::Rooted<JS::Value> in gecko. r=smaug
2013-04-26 21:08:15 -07:00
Bobby Holley
62810bd0f1
Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor
2013-04-29 11:16:22 -07:00
Bobby Holley
954b1c5319
Bug 864363 - Fix standalone unit test to use the JSRuntime from XPConnect. r=bsmedberg
...
It turns out that the JS engine asserts that we only ever have one JSRuntime
per thread. So when we spin up XPConnect in XPCOM initialization, we run into
assertions when this standalone test does JS_NewRuntime. FWIW, it probably
shouldn't be creating a random runtime and then passing that cx into Gecko
APIs anyway.
It sure would be nice if C++ unit tests could run with internal linkage... :-(
2013-04-22 16:49:52 -04:00
Jeff Walden
356abe8832
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
Jose Cortes
e30353c6b2
Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
2013-03-15 22:22:01 -07:00
Nathan Froyd
5bc8171a44
Bug 833127 - fix startupcache test issues identified by asan; r=mwu
2013-01-21 19:17:20 -05:00
Ehsan Akhgari
0d97a08bd7
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05:00
Graeme McCutcheon
a28a0a7bee
Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras
2012-10-11 09:50:41 +01:00
Graeme McCutcheon
ad87dfcca5
Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu
2012-10-11 09:17:15 +01:00
Ehsan Akhgari
8c1637eeeb
Backed out 3 changesets (bug 724513) for a 20-30% Ts regression across the board
...
Backed out changeset 006eb98e9d6f (bug 724513)
Backed out changeset f418d97d12ac (bug 724513)
Backed out changeset 1baac3f2334c (bug 724513)
2012-10-31 11:28:21 -04:00
Graeme McCutcheon
b7f77d1386
Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras
2012-10-11 09:50:41 +01:00
Graeme McCutcheon
093e8b91b5
Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu
2012-10-11 09:17:15 +01:00
Bill McCloskey
9a730f6852
Bug 714050 - Add support for optional JS helper threads (r=luke)
2012-10-16 11:57:09 -07:00
Luke Wagner
e633be6975
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07:00
Ehsan Akhgari
243c878d26
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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Luke Wagner
e569917dad
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
2012-06-20 08:57:29 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Igor Bukanov
62a47e535b
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
David Mandelin
232a121344
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
2012-03-06 15:52:55 -08:00
David Mandelin
4038954f95
Bug 733260: remove typedef jsuint, r=luke
2012-03-05 18:43:45 -08:00
Nathan Froyd
4a858538af
Bug 711297 - add tests for STARTUP_CACHE_AGE_HOURS histogram; r=mwu
2012-02-22 14:11:32 -05:00
Nathan Froyd
81805b6b8d
Bug 609710 - Fix warnings in TestStartupCache.cpp; r=mwu f=Ms2ger
2011-12-29 15:06:00 -05:00
Jeff Walden
ad1841814e
Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
2011-12-18 01:00:42 -05:00
Benjamin Smedberg
418db1bcbc
Disable the hang detector for bug 429592 while running the startup cache tests because they intentionally hang the browser to trigger the startup timeout. feedback=mwu on IRC
2011-11-04 15:13:40 -04:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Michael Wu
04a1a03df6
Bug 664898 - Cleanup startup cache api, r=taras
2011-07-20 00:39:09 -07:00
Benedict Hsieh
4706dbadd5
Bug 593349 - Startup cache writing algorithm causes severe fragmentation r=dwitte a=blocking-final
2010-09-30 14:48:23 -07:00
1937fc7ec8
bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg
2010-08-12 12:37:44 -07:00