Tom Ritter
ba506d111b
Bug 1392641 Check return value for functions declared with warn_unused_result r=bagder,nwgh
...
MozReview-Commit-ID: BJj3Lvtntd6
2017-08-25 14:37:44 -05:00
Tom Ritter
0ed9b7afa4
Bug 1392642 Remove unused variables in netwerk/ to silence warnings r=bagder,nwgh
...
MozReview-Commit-ID: LLTB5RJ4ZMz
2017-08-24 12:03:19 -05:00
Mats Palmgren
ab38010c2c
Bug 1376469 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: BPEFZeLkNp
2017-06-28 01:03:17 +02: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
Jan Keromnes
8c70b9b9ed
Bug 1372853 - Use nullptr in /netwerk (clang-tidy: modernize-use-nullptr). r=valentin
2017-06-16 01:35:00 -04:00
Valentin Gosu
ee6dca6a9e
Bug 1368549 - Remove MOZ_WIDGET_GONK from netwerk/* r=mcmanus
...
MozReview-Commit-ID: J2njLbNwlco
2017-05-29 22:09:04 +02:00
Liang-Heng Chen
382393f0b1
Bug 1321841 - Better checksum for "live" adapters. r=bagder
...
MozReview-Commit-ID: Ldql5weiLyy
2017-01-18 05:40:00 -05:00
Markus Stange
e9c7153982
Bug 1323100 - Use NS_NewNamedThread for the Link Monitor thread. r=froydnj
...
MozReview-Commit-ID: ETOGkxMgknN
2016-12-21 11:32:39 +01:00
Andi-Bogdan Postelnicu
15794c143e
Bug 1311669 - replace default bodies of special member functions with = default; r=valentin
...
MozReview-Commit-ID: YxHWVHUyDq
2016-11-01 14:44:09 +02:00
Tom Schuster
1b6fc2bed7
Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan
2016-10-04 17:57:51 +02: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
Alexandre Lissy
b2834a3543
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book
c0a2b46b9b
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Jim Chen
e8f534d407
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06: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
Benjamin Smedberg
cfd17e06ca
Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
...
MozReview-Commit-ID: EGqHHhCD7vD
2016-07-07 12:14:25 -04:00
Daniel Stenberg
758a979ea7
Bug 1281188 - Add network identification telemetry to Mac version, r=mcmanus
2016-06-21 10:08:00 +02:00
Daniel Stenberg
8d3ee665b3
Bug 1280861 - network identification telemetry for Windows, r=mcmanus
2016-06-20 10:30:00 +02:00
Nicholas Nethercote
66fadb3d03
Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
2016-06-06 12:22:14 +10:00
Nicholas Nethercote
c519ffddd9
Backout 0ed86240bc77 for bustage.
2016-06-06 11:51:44 +10:00
Nicholas Nethercote
b02b871e83
Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
2016-06-06 09:21:00 +10:00
Daniel Stenberg
e9a968bc1d
Bug 1273165 - Sync networkid calculation with the event coalescing. r=mcmanus
2016-05-16 08:09:00 -04:00
Thomas Zimmermann
d1cb498d20
Bug 1273900: Replace |sprintf| with |snprintf| in netwerk/system/linux/, r=daniel
...
MozReview-Commit-ID: 5sKgcIK3ZKp
2016-05-19 09:21:18 +02:00
Chris Peterson
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
57a1006d4d
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Daniel Stenberg
d63a6fc0b1
Bug 1271131 - check inet_ntoa return code before use, r=mcmanus
2016-05-08 14:25:00 +02:00
Daniel Stenberg
6e61b32cf0
Bug 1240932 - figure out 'network id' on Windows, r=mcmanus
2016-04-28 04:52:00 +02:00
Daniel Stenberg
176f5e459d
Bug 1240932 - figure out 'network id' on OS X, r=mcmanus
2016-04-28 04:51:00 +02:00
Daniel Stenberg
2dae8bfac4
Bug 1240932: add Telemetry to record network id successes, r=mcmanus
2016-04-11 07:24:00 +02:00
Daniel Stenberg
b75697894e
Bug 1240932 - figure out 'network id' on Linux. r=mcmanus
2016-04-11 06:53:00 +02:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Daniel Stenberg
48c7023105
Bug 1245059 - Disable NotifyIpInterfaceChange use for now. r=mcmanus
2016-03-18 16:26:00 -04:00
Daniel Stenberg
3ddc1f671e
Bug 1112499 - Set up shutdown pipe before new thread starts. r=keeler
2016-02-26 14:29:00 -05:00
Patrick McManus
8fbab5e11a
Bug 739029 - null check a thread allocation in notifyaddrlistener r=bagder
2016-02-19 15:21:28 -05:00
Daniel Stenberg
cee0918c0c
Bug 1246850 - check the NotifyIpInterfaceChange() return code, r=mcmanus
2016-02-09 01:31:00 +01:00
Xidorn Quan
92839c2a29
Bug 1241901 part 1 - Remove nsAutoPtr uses in nsNotifyAddrListener on Linux. r=bagder
2016-01-30 10:33:41 +11:00
Bogdan Postelnicu
91bcb9acd1
Bug 1240515 - change allocator for addr and localaddr from malloc to new, since the smart pointer that is used uses delete operator. r=dragana
2016-01-20 12:31:01 +02:00
Ryan VanderMeulen
fe3cd47486
Bug 1234548 - Remove unused variables. r=bustage
2016-01-17 13:07:38 -05:00
Dragana Damjanovic
52f9e5a4d4
Bug 1234548 - Don't send network change events if routes are changed. r=mcmanus, r=bagder
2016-01-11 07:40:00 -05:00
Dragana Damjanovic
e132d688dd
Bug 1235509 - Link monitor should not fire link change events for the refresh of the ipv6 lifetime. r=bagder
2016-01-11 06:42:36 -08:00
Patrick McManus
050f902acb
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu
2015-11-02 23:35:29 -05:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Daniel Stenberg
34bd9dc3d4
Bug 1201037 - coalesce network-events on Windows, r=mcmanus
2015-10-08 03:52:00 +02:00
Daniel Stenberg
2d3933bda9
Bug 1201037 - (Linux) squash network-change events during 1000ms, r=mcmanus
2015-10-08 03:50:00 +02:00