Emilio Cobos Álvarez
85ab2ab799
Bug 1893683 - Remove ns{A,C}String and other xpcom dependencies from nsStringBuffer. r=smaug,media-playback-reviewers,karlt
...
* nsStringBuffer::FromString -> nsTSubString::GetStringBuffer
* nsStringBuffer::ToString -> nsTSubString::Assign(nsStringBuffer*, len)
* Move refcounting inline but refcount-logging and other XPCOM-related
things out-of-line.
Differential Revision: https://phabricator.services.mozilla.com/D208771
2024-05-09 08:34:35 +00:00
Makoto Kato
6df52964ee
Bug 1836432 - Use nsresult exception mode for GeckoAppShell.getDNSDomains. r=geckoview-reviewers,necko-reviewers,valentin,ohall
...
There is some OOM errors by `GeckoAppShell.getDNSDomains`. Since
`nsAndroidNetworkLinkService::GetDnsSuffixList` can returns `nsresult`, we
should return error instead of crash.
Differential Revision: https://phabricator.services.mozilla.com/D179791
2023-06-04 10:53:32 +00:00
Andi-Bogdan Postelnicu
b65cdc23a6
Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,geckoview-reviewers,agi
...
Updated with clang-format version 11.0.1 (taskcluster-GI8pmG3eQ_OSXfjFfr2yFw)
\# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D113294
2021-04-26 15:52:25 +00:00
Valentin Gosu
42872d08e2
Bug 1675542 - Add stubs for Android and OSX impl of nsINetworkLinkService.resolvers r=necko-reviewers,dragana
...
Depends on D96084
Differential Revision: https://phabricator.services.mozilla.com/D96085
2021-03-15 17:58:03 +00:00
Aaron Klotz
854c89a6ba
Bug 1637452: Part 7 - Fix JNI includes in netwerk; r=necko-reviewers,valentin
...
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.
Differential Revision: https://phabricator.services.mozilla.com/D75370
2020-05-15 17:04:32 +00:00
Michal Novotny
12f5ea5e34
Bug 1617036 - Remove NETWORK_TIME_BETWEEN_NETWORK_CHANGE_EVENTS probe r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D63571
2020-02-24 15:09:40 +00:00
Sylvestre Ledru
36a1079e0f
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D58175
2020-01-09 21:50:11 +00:00
Kershaw Chang
2fbf1fb425
Bug 1598676 - P2: Send dns suffix list updated event (Windows/Linux/Android) r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D54901
2019-11-27 11:14:44 +00:00
Valentin Gosu
0f13c114b2
Bug 1565008 - TRR: Check for Proxy on Windows to use platform DNS r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D54092
2019-11-24 14:54:02 +00:00
Valentin Gosu
5d80087a4a
Bug 1565004 - Add nsINetworkLinkService.vpnDetected r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D52168
2019-11-21 10:43:02 +00:00
Cosmin Sabou
a64d5e3a85
Backed out 2 changesets (bug 1565004) for xpc failures on netwerk/test/unit/test_trr.js.
...
Backed out changeset 3d6d67621349 (bug 1565004)
Backed out changeset ef016d00ec9b (bug 1565004)
2019-11-20 18:40:16 +02:00
Valentin Gosu
ed0fa5b6be
Bug 1565004 - Add nsINetworkLinkService.vpnDetected r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D52168
2019-11-20 14:33:11 +00:00
Valentin Gosu
3d81b44859
Bug 1589446 - Send the network id notification on networkID change (Android) r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D53362
2019-11-19 10:33:30 +00:00
Valentin Gosu
11d60be4ee
Bug 1588218 - Expose DNS suffix list (Android) r=michal,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D51561
2019-11-14 20:39:34 +00:00
Michal Novotny
c92cce9f2c
Bug 1589447 - Add network id change event on Linux and Android, r=kershaw,valentin
...
This patch adds network ID change event to Linux and Android. On these platforms network ID change event is equal to network change event.
Differential Revision: https://phabricator.services.mozilla.com/D50391
2019-11-14 13:37:50 +00:00
Dorel Luca
5d712e68df
Backed out changeset 6384318223b4 (bug 1588218) for Linting failure on mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java. CLOSED TREE
2019-11-11 23:16:27 +02:00
Valentin Gosu
985a4cb083
Bug 1588218 - Expose DNS suffix list (Android) r=michal,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D51561
2019-11-11 20:51:42 +00:00
Narcis Beleuzu
d6d3609815
Backed out 2 changesets (bug 1589461, bug 1589447) for wpt failures on report-only-in-meta.sub.html
...
Backed out changeset e58350a47d50 (bug 1589461)
Backed out changeset abdcdc97cd4c (bug 1589447)
2019-10-29 19:05:09 +02:00
Michal Novotny
4aa62015cc
Bug 1589461 - Add network id change event (Android), r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D50429
2019-10-29 09:04:13 +00:00
Michal Novotny
2ff8feef6c
Bug 1589447 - Add network id change event (linux), r=kershaw
...
This patch splits network change event into 2 events:
1) network ID change event
It is sent when the calculated ID differs from the previous one.
2) network change event
It is sent when the network ID has changed or when any address has been added, removed or changed.
Differential Revision: https://phabricator.services.mozilla.com/D50391
2019-10-29 09:37:58 +00:00
Valentin Gosu
e580355783
Bug 1558840 - Add nsINetworkLinkService.dnsSuffixList implementation for windows r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D48556
2019-10-10 16:21:19 +00:00
Michal Novotny
c93ab67d0c
Bug 1561944 - Implement nsINetworkLinkService.networkID for Android r=valentin
...
Patch changes nsAndroidNetworkLinkService so it uses NetlinkService for network ID calculation as well as for notifications about network changes.
Differential Revision: https://phabricator.services.mozilla.com/D43385
2019-09-19 13:47:46 +00:00
Valentin Gosu
4c7d176e5e
Bug 1561005 - Add empty GetNetworkID impl for Android r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D35883
2019-06-28 11:42:05 +00:00
Mihai Alexandru Michis
c43f57b189
Backed out 8 changesets (bug 1395914, bug 1561005) for causing bustages in nsNetworkLinkService and nsNotifyAddrListener.cpp CLOSED TREE
...
Backed out changeset c552aeab0fbf (bug 1561005)
Backed out changeset 61cf9ae8abcf (bug 1561005)
Backed out changeset 5c33e521c0e8 (bug 1561005)
Backed out changeset 82eeb4c5e535 (bug 1561005)
Backed out changeset 6b3b29de9c78 (bug 1561005)
Backed out changeset 719b3b61b9a9 (bug 1395914)
Backed out changeset 2b23587aa5ff (bug 1395914)
Backed out changeset 47f2f3e8d5f9 (bug 1395914)
2019-06-28 14:37:13 +03:00
Valentin Gosu
a781fb67c7
Bug 1561005 - Add empty GetNetworkID impl for Android r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D35883
2019-06-27 09:03:28 +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
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
Gabriele Svelto
7e234e998c
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
2018-11-28 17:25:23 +00:00
Jim Chen
7db9a1b7e6
Bug 1292323 - Update WrapForJNI usages; r=snorp
...
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.
Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Jim Chen
e8f534d407
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book
58f5467519
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
0ea27022be
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Jim Chen
60b2a7d4b1
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05: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
snigdha
724d084f99
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ryan VanderMeulen
86af8bac61
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
238d3a6bf5
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Chris Kitching
69fdb42135
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Mark Finkle
c3d9a1bcfe
Bug 939680 - Implement nsINetworkLinkService.linkType on Android r=blassey
2013-11-18 23:43:09 -05:00
Ryan VanderMeulen
4501219603
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e115439e46
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08: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
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01: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
Matt Brubeck
50a726550f
Bug 691054 - Back out bug 667980 (getNetworkLinkType) on Android because of scary permissions [r=dougt]
2011-10-03 16:34:43 -07: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
Brad Lassey
fb5c5d8935
bug 661282 - make xpcshell run on android r=bsmedberg
2011-06-26 22:05:51 -04:00
Doug Turner
e87e69b04d
Bug 667980: Expose network connection type to chrome. r=dougt
...
Add an attribute to nsINetworkLinkService that represents the connection type,
and add code to the android back-end to expose the connection type and notify
when it changes.
2011-07-10 15:24:05 -07:00
Makoto Kato
1915067b53
Bug 616075 - HTML5 offline event support for Android. r=mwu a=blocking-fennec
2011-01-20 20:06:13 +09:00