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
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Andrea Marchesini
59a2afcb49
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-29 17:02:53 +01:00
Cameron McCormack
24937cc162
Back out bug 1177916 (changeset d4c34d7fb112) for test_urlSearchParams.html failure.
2015-06-27 12:18:19 +10:00
Andrea Marchesini
7bcafddd2e
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-26 17:44:34 -07:00
Andrea Marchesini
e381040919
Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug
2015-06-24 12:15:59 -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
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Ehsan Akhgari
cb3c3961e2
Bug 1118413 - Mark virtual overridden functions as MOZ_OVERRIDE in places; r=mak
2015-01-24 14:51:35 -05:00
Mike Hommey
632dbaeb90
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Ehsan Akhgari
5847679c76
Bug 1060974 - Fix more bad implicit constructors in places; r=mak
2014-09-03 18:25:36 -04:00
Mike Hommey
36dfbb3bbc
Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal
2014-09-03 14:16:37 +09:00
Mike Hommey
aec0b61280
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Andrea Marchesini
ffe9ef5b47
Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan
2014-08-07 17:45:21 -07:00
Mike Hommey
c1d57ebc0b
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
5a398d97ca
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
1a33ab8a10
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
3a4c10762c
Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps
2014-07-23 13:29:44 +09:00
Benoit Jacob
029e0e533d
Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan
2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Andrea Marchesini
fefe23a3c0
Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan
2014-02-03 16:48:38 +00:00
Ryan VanderMeulen
97015d953f
Backed out changeset 2d021370c57f (bug 965990) for causing bug 973307.
2014-02-21 16:54:42 -05:00
Andrea Marchesini
93c7cf2a05
Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan
2014-02-03 16:48:38 +00:00
Mike Hommey
899aaeaf09
Bug 960544 - Link some cppunittests against mozjs when it is a shared library. r=gps
2014-01-24 07:57:02 +09:00
Jon Coppeard
a0f8c76bef
Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium
2014-01-17 10:18:19 +00:00
Andrea Marchesini
a551066aef
Bug 959684 - Implement URLSearchParams stringifier. r=ehsan
2014-01-15 09:50:18 -05:00
Jon Coppeard
4485a1f09b
Bug 951230 - Link test_IHistory against JS engine to fix link error with GGC r=glandium
2014-01-08 10:44:56 +00:00
Ehsan Akhgari
68bfe70f09
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
Andrea Marchesini
d30d3ae7f6
Bug 887836 - URLSearchParams and URL, r=ehsan, r=bz, r=smaug
2013-12-12 19:30:27 +00:00
Mike Hommey
7f7e4faac1
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Birunthan Mohanathas
b55ff3bd65
Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan
2013-10-10 16:38:05 -04:00
Boris Zbarsky
5e24bc289d
Bug 908530 part 1. Make Link::GetURI return a raw pointer so we don't have to include nsIURI.h in Link.h. r=khuey
2013-08-23 22:42:39 -04:00
Ms2ger
29328591d6
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
41e2d63696
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Catalin Iacob
f88cdc0744
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
2013-06-23 14:03:39 +02:00
David Zbarsky
ddf6b838bf
[Bug 879998] Remove some dead code in content/ r=Ms2ger, emk
2013-06-07 14:05:57 -07:00
Aryeh Gregor
6714817176
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Kyle Machulis
331f36baa9
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
ec9b53db93
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
0419a0b889
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-03-29 13:56:18 -07:00
Mike Shal
24be52d653
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
ec2f914881
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f96c000ea2
Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted
2013-02-25 13:19:09 -08:00
Raymond Lee
d50e2ce34e
bug 839034 - move markPageAsXXX methods to nsINavHistoryService r=mak sr=gavin
2013-02-27 10:54:09 +08:00
Marco Bonardo
d9d13aa967
Bug 832133 - Stop using addvisit() in toolkit cpp tests.
...
r=Mano
2013-01-25 11:16:24 +01:00
Marco Bonardo
adf690e2bf
Bug 619623 - Wait for the WAL checkpoint in case that helps avoiding the intermittent failure in test_IHistory.cpp
...
r=test-only-experiment-not-worth-it a=nonlibxul
2013-01-22 14:25:03 +01:00
Benedict Singer
60573205f5
Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky
2012-12-07 09:35:14 -05:00