After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759989 - Add GNetworkMonitor support for win32
Add GNetworkMonitor support for win32
Status: RESOLVED DUPLICATE of bug 685442
Product: glib
Classification: Platform
Component: gio
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-12-30 03:51 UTC by Eion Robb
Modified: 2018-01-17 12:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
win32 impl of GNetworkMonitor (17.40 KB, text/plain)
2015-12-30 03:51 UTC, Eion Robb
Details
header of win32 impl of GNetworkMonitor (2.39 KB, text/plain)
2015-12-30 03:52 UTC, Eion Robb
Details

Description Eion Robb 2015-12-30 03:51:57 UTC
Created attachment 318019 [details]
win32 impl of GNetworkMonitor

The GNetworkMonitor system doesn't currently support win32 network monitoring, the attached has been taken from Pidgin and ported to the GNetworkMonitor object as Pidgin is planning on using GNetworkMonitor in an upcoming first

I've also backported it to load as a module since we're only going to use it with gio 2.32
Comment 1 Eion Robb 2015-12-30 03:52:21 UTC
Created attachment 318020 [details]
header of win32 impl of GNetworkMonitor
Comment 2 Christian Hergert 2016-08-26 04:15:41 UTC
I'm not a maintainer on this stuff, so take my comments with a grain of salt. Sorry the bug has sat here for so long. I'm not sure what happened with that other than win32 things do not get a lot of eyeballs.

I know that pidgin has a different coding style than glib, but when presenting code for inclusion please format it to match the codebase at hand.

Also, this appears to have #ifdef's to aid in backporting for Pidgin. This, of course, makes sense for an application, but for something intended to land in glib this stuff should be removed to ease the reviewers lives. Our reviewers go through an incredible amount of patches, and those with the lowest barrier to review generally get reviewed first.

Also, the attachements are just uploaded files. Please submit a patch from a git commit (so you get proper attribution) as well as updating the build system to build the included files.

I'm not sure if the other backends have unit tests, but if they do, we should try to provide something similar.

Hope that helps you move forward.
Comment 3 Philip Withnall 2018-01-17 12:53:51 UTC
A different version of this has been committed in bug #685442.

*** This bug has been marked as a duplicate of bug 685442 ***