Gabriele Svelto
eeb9bfc398
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55443
2019-12-06 09:16:44 +00:00
Christian Holler
04c2a16877
Bug 1595692 - Handle missing base64 challenge in NegotiateAuth. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D53989
2019-11-22 21:17:10 +00:00
Valentin Gosu
c94ab4e7da
Bug 1595242 - Move the offthread negotiate auth to dispatch to the background thread pool r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D52904
2019-11-15 19:45:17 +00:00
Sylvestre Ledru
ad31adba4c
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
2019-05-01 08:47:10 +00:00
Benjamin Bouvier
5e1b39e9bd
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
80067cb2aa
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
2018-11-01 10:39:58 +00:00
Ehsan Akhgari
9ce6826a2e
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
2018-11-01 14:21:47 +00:00
Andreea Pavel
d827748f3f
Backed out 3 changesets (bug 1502774) for causing multiple crashes - bug 1503201 a=backout
...
Backed out changeset 6b821f5b12ae (bug 1502774)
Backed out changeset b3bf57d996a7 (bug 1502774)
Backed out changeset 32a581482291 (bug 1502774)
2018-10-30 21:18:29 +02:00
Ehsan Akhgari
b1529b82d9
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
2018-10-29 14:59:16 +00:00
Ehsan Akhgari
519e100c43
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
2018-10-29 14:59:14 +00:00
Narcis Beleuzu
b53a346c33
Backed out 3 changesets (bug 1502774) for mingwclang bustages on include/sspi.h. CLOSED TREE
...
Backed out changeset a1f9c4666855 (bug 1502774)
Backed out changeset 07648e9d8400 (bug 1502774)
Backed out changeset b403c3c786ee (bug 1502774)
2018-10-29 17:01:21 +02:00
Ehsan Akhgari
b37a88f3b9
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
2018-10-29 14:40:29 +00:00
Ehsan Akhgari
3fd1367bc4
Bug 1502774 - Part 1: Remove XPCOM component registrations for HTTP authenticator classes r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10025
2018-10-29 14:40:29 +00:00
Nicholas Nethercote
cd127441a0
Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium
...
There are surprisingly many of them.
(Plus a couple of unnecessary checks after `new` calls that were nearby.)
2018-08-28 15:56:01 +10:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Chris Peterson
6137e4ff8b
Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
...
MozReview-Commit-ID: CrkIP4iHP1U
2017-09-03 22:14:11 -07:00
Chris Peterson
4e9c1d3429
Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
...
MozReview-Commit-ID: A0u9PP49OW3
2017-09-03 22:12:56 -07:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Nicholas Nethercote
fcd4f4fa21
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
2017-06-30 19:05:41 -07:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Sylvestre Ledru
bd2094596d
Bug 1366882 - Fix a resource leak - CID 1402588 r=erahm
...
MozReview-Commit-ID: Al0Vlxewy0V
2017-05-24 19:39:26 +02:00
Eric Rahm
57c5d96dc0
Bug 1344081 - Switch to Base64Decode in nsHttpNegotiateAuth::GenerateCredentials. r=jduell
...
MozReview-Commit-ID: 4A5tEV5Fb8
2017-03-13 19:09:26 -07:00
Valentin Gosu
2132972d98
Bug 1340486 - Remove duplication of code at nsHttpNegotiate/NTLMAuth::TestPref and MatchesBaseURI r=mayhemer
...
MozReview-Commit-ID: L8oS7TFnHJm
2017-02-27 17:57:59 +01:00
Wes Kocher
7edbcda21d
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Honza Bambas
abac0b6eef
Bug 1328791 - Fix trusted uri list parser for Negotiate/NTLM auth. r=jduell
2017-02-16 13:40:00 -05:00
Tom Tromey
48da5b7de4
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Andi-Bogdan Postelnicu
7f269f9611
Bug 1319703 - Use C++11's override and remove virtual where applicable in extensions/. r=jduell
...
MozReview-Commit-ID: LsLJ4CnXbJ9
2016-11-23 11:39:13 +02:00
Andi-Bogdan Postelnicu
565676c170
Bug 1319703 - Replace default bodies of special member functions with = default; in extensions/. r=jduell
...
MozReview-Commit-ID: 9NvziFVvmRS
2016-11-23 11:38:56 +02:00
Honza Bambas
03696d97d8
Bug 1313016 - Pref to send default NTLM creds in PB, Always send default creds to proxies in PB. r=jduell
2016-11-11 03:45:00 -05:00
Ryan VanderMeulen
84e63d78a0
Backed out changeset d1ef75d52b01 for landing with the wrong bug number in the commit message.
2016-11-11 10:44:54 -05:00
Honza Bambas
3094573174
Bug 1248564 - Pref to send default NTLM creds in PB, Always send default creds to proxies in PB. r=jduell
2016-11-11 03:45:00 -05:00
Honza Bambas
0e9c0be3bf
Bug 1291700 - Allow negotiate/ntml to work when in the 'Never remember history' mode. r=jduell
2016-08-16 06:24:00 -04:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Jan Horak
a56656388f
Bug 890908 - Move Negotiate auth off main thread. r=mayhemer
2016-07-14 03:32:00 -04:00
Carsten "Tomcat" Book
bc3f5ce221
Backed out changeset 1fe1c3b03d08 (bug 890908) on developer request
2016-06-03 05:51:06 +02:00
Jan Horak
74d18066d6
Bug 890908 - "Move Negotiate auth off main thread". r=mayhemer
2016-05-20 06:07:00 +02:00
Carsten "Tomcat" Book
32b42c0b0a
Backed out changeset e3f130f1eb76 (bug 890908) for suspicion that something in this push caused failing Crashtests and Android/Valgrind issues on a CLOSED TREE
2016-05-23 11:37:57 +02:00
Jan Horak
a62f07ac7c
Bug 890908 - "Move Negotiate auth off main thread". r=mayhemer
2016-05-20 06:07:00 +02:00
Jan Horak
5a68d9e1b1
Bug 1248564 - "Default authentication credentials (NTLM, Kerb) used in private mode". r=mayhemer
2016-03-08 08:49:00 +01:00
Arnaud Bienner
fe0b5732f1
Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
2015-08-14 00:49:15 +02:00
Botond Ballo
3c50c1e080
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
2015-05-26 14:33:55 -04:00
Phil Ringnalda
4c7e666e55
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
3602e7412d
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
2015-05-25 20:45:17 -04:00
Eric Rahm
ddc8ac650b
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00