Narcis Beleuzu
359bfccedf
Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
...
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu
68e8bbdcbe
Bug 1574475 - Delete FTP code r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D111246
2021-04-22 13:41:33 +00:00
jenny
b409296712
Bug 1703670: Removed expired telemetry probe networking.ftp_opened_channels_files and networking.ftp_opened_channels_listings r=chutten,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D111268
2021-04-10 13:42:04 +00:00
Valentin Gosu
62a591a46e
Bug 1702374 - Make sure FTP URL does not contain special characters r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D111098
2021-04-08 08:11:31 +00:00
Dragana Damjanovic
00a8ab1e9e
Bug 1690615 - Move DNS lookup into DnsAndConnectSocket r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D104464
2021-02-12 14:57:09 +00:00
Simon Giesecke
ab6f0a7137
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Valentin Gosu
0bda58b253
Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-15 10:39:56 +00:00
Razvan Maries
287a69b58e
Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
...
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Valentin Gosu
700aeb523b
Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-14 12:06:27 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Jean-Yves Avenard
05adafa9ef
Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
...
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.
This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget
Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Michal Novotny
8091dd1fb5
Bug 1610810 - FTP download prompt appears while authentication dialog is displayed, r=valentin
...
Set nsFtpChannel's content-type to application/octet-stream only when downloading a file.
Differential Revision: https://phabricator.services.mozilla.com/D61494
2020-02-03 19:22:37 +00:00
Gabriele Svelto
f03cdb2b2d
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ 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/D55444
2019-12-06 09:17:57 +00:00
Sylvestre Ledru
0f8c6db00f
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D54686
2019-11-26 14:35:02 +00:00
Christian Holler
aa35d4c6cf
Bug 1590447 - Fix FTP hang with RETR/STOR. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D50082
2019-10-25 08:03:14 +00:00
Michal Novotny
9b3a023f60
Bug 1579507 - Fix non-working FTP telemetry probes, r=valentin
...
We don't close the channel cleanly most of the time, so the probes need to be moved to a place where we have positive response from the server and the data transfer is about to start.
Differential Revision: https://phabricator.services.mozilla.com/D49657
2019-10-17 20:02:47 +00:00
Michal Novotny
de06fb006f
Bug 1579507 - Collect telemetry on FTP usage, r=valentin
...
These probes should allow us to compute:
- percentage of users that use FTP
- percentage of navigations using FTP protocol to fetch directory listing
- percentage of navigations using FTP protocol to fetch resource
Differential Revision: https://phabricator.services.mozilla.com/D48770
2019-10-14 08:26:45 +00:00
Christian Holler
7aa58b5428
Bug 1584490 - Check for FTP LIST 1xx response before completing command. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D47408
2019-10-02 16:10:11 +00:00
Christian Holler
0184fb1a69
Bug 1562288 - Properly close FTP stream when base stream was closed. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D36367
2019-06-28 19:02:17 +00:00
Boris Zbarsky
286ad96e74
Bug 1558726. Stop using [array] in nsISocketTransportService. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D34668
2019-06-13 04:21:32 +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
Sebastian Streich
8d14f5fb41
Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27647
2019-04-25 12:16:35 +00:00
Sylvestre Ledru
b31009da86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Valentin Gosu
ea3eb469ce
Bug 1532324 - Remove manual NS_RELEASE from netwerk/* r=JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D22005
2019-03-05 18:43:02 +00:00
Jonathan Kingston
3ef1df37e1
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
2019-02-27 23:41:31 +00:00
Jonathan Kingston
649c453cbd
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
2019-02-27 23:41:04 +00:00
Dorel Luca
2dfae9a24a
Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
...
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston
4334f239c3
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
2019-02-24 20:26:59 +00:00
Jonathan Kingston
d6fffaf979
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
2019-02-24 20:26:16 +00:00
Christoph Kerschbaumer
bf0e6db3d9
Bug 1528973: Move newProxiedChannel2 being the only implementation within nsIProxiedProtocolHandler.idl. r=valentin
2019-02-19 15:42:42 +01:00
Gijs Kruitbosch
afd8324400
Bug 1523249, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D17965
2019-01-30 11:39:42 +00:00
Tooru Fujisawa
5ef6d9cc06
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09: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
Dragana Damjanovic
a878910e3b
Bug 1497868 - In nsFtp, close data pipe as well. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D12740
2018-11-27 19:48:20 +00:00
Henri Sivonen
dbf0625dbd
Bug 1485343 - Avoid locale-dependent C standard library functions in FTP code. r=valentin
...
MozReview-Commit-ID: CXcluPKLwIv
Differential Revision: https://phabricator.services.mozilla.com/D4315
2018-08-27 09:11:30 +00:00
Andrea Marchesini
c2055bb4ff
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb
2018-07-17 21:37:48 +02:00
Andi-Bogdan Postelnicu
cb91211b37
Bug 1453795 - Necko - Initialize member fields in classes/ structures. r=michal
2018-06-14 11:19:07 +03:00
Andi-Bogdan Postelnicu
99cba2dd23
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
2018-04-30 19:46:04 +03: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
Valentin Gosu
4cf154a8b5
Bug 1433958 - Change code that sets nsIURI.filePath to use nsIURIMutator r=mayhemer
...
MozReview-Commit-ID: GYHpakKPEbe
2018-02-26 20:43:45 +01:00
Valentin Gosu
bc25f5f950
Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer
...
MozReview-Commit-ID: HVyZ3E1XuLN
2018-02-26 20:43:45 +01:00
Andrea Marchesini
66a055c50b
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 4 - Get rid of NS_NewAsyncStreamCopier, r=smaug
2017-11-22 11:19:25 +01:00
Nicholas Nethercote
b627e2c831
Bug 1410794 (attempt 2) - Change some |string| occurrences in nsIPrefBranch.idl to |ACString|. r=erahm.
...
This makes the code nicer. In particular, it removes many getter_Copies()
calls. The patch also converts a lot of nsCStrings to nsAutoCString, which will
avoid heap allocation in the common case.
The patch also renames PREF_CopyCharPref() as PREF_GetCStringPref(), because
it's actually getting a string, not a char, and that matches the existing
GetCString() and GetDefaultCString() methods. Correspondingly, it also renames
PREF_SetCharPref() as PREF_SetCStringPref().
The |aPrefName| arguments in nsIPrefBranch.idl remain as |string| because they
almost always involve passing in C string literals, and passing "foo" is much
nicer than passing NS_LITERAL_CSTRING("foo").
It's worth noting that early versions of this patch used |AUTF8String| instead
of |ACString|. But it turns out that libpref stores prefs internally as Latin1.
And |ACString| is compatible with Latin1 but |AUTF8String| isn't, because
non-ASCII Latin1 strings are not valid UTF-8!
MozReview-Commit-ID: D3f7a1Vl1oE
2017-10-27 10:30:33 +11:00
Chris Peterson
aa0b19027c
Bug 870698 - Part 3: Replace Insert("") with InsertLiteral(""). r=erahm
...
MozReview-Commit-ID: 7ERQfcVAiRx
2017-09-05 12:41:31 -07: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
Nicholas Nethercote
42d8740878
Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm.
2017-08-21 20:01:27 +10:00
Nicholas Nethercote
723f585d9c
Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
...
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.
The patch also removes a couple of unused declarations from
nsIStringBundle.idl.
Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
2017-08-04 14:40:52 +10:00
Masatoshi Kimura
c0943e4f30
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00