Commit f524bb78 authored by Michael Biebl's avatar Michael Biebl

New upstream version 1.8.16

parent 7fe57dd1
......@@ -55,6 +55,8 @@ SUBDIRS = \
. \
po
dflt_cppflags = -std=gnu99
###############################################################################
icon16dir = $(datadir)/icons/hicolor/16x16/apps
......@@ -171,6 +173,7 @@ shared_files = \
noinst_LTLIBRARIES += src/utils/libutils-libnm.la
src_utils_libutils_libnm_la_CPPFLAGS = \
$(dflt_cppflags) \
"-I$(srcdir)/shared" \
$(GTK3_CFLAGS) \
$(LIBNM_CFLAGS)
......@@ -189,6 +192,7 @@ if WITH_LIBNM_GTK
noinst_LTLIBRARIES += src/utils/libutils-libnm-glib.la
src_utils_libutils_libnm_glib_la_CPPFLAGS = \
$(dflt_cppflags) \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY \
"-I$(srcdir)/shared" \
$(GTK3_CFLAGS) \
......@@ -210,6 +214,7 @@ check_programs += src/utils/tests/test-utils
src_utils_tests_test_utils_SOURCES = src/utils/tests/test-utils.c
src_utils_tests_test_utils_CPPFLAGS = \
$(dflt_cppflags) \
"-I$(srcdir)/shared/" \
"-I$(srcdir)/src/utils" \
$(GTK3_CFLAGS) \
......@@ -280,6 +285,7 @@ nodist_src_wireless_security_libwireless_security_libnm_la_SOURCES = \
$(wireless_security_c_gen)
src_wireless_security_libwireless_security_libnm_la_CPPFLAGS = \
$(dflt_cppflags) \
"-I$(srcdir)/shared" \
"-I$(srcdir)/src/utils" \
"-I$(srcdir)/src/libnma" \
......@@ -305,6 +311,7 @@ nodist_src_wireless_security_libwireless_security_libnm_glib_la_SOURCES = \
$(wireless_security_c_gen)
src_wireless_security_libwireless_security_libnm_glib_la_CPPFLAGS = \
$(dflt_cppflags) \
$(GTK3_CFLAGS) \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY \
"-I$(srcdir)/shared" \
......@@ -391,6 +398,7 @@ nodist_src_libnm_gtk_libnm_gtk_la_SOURCES = \
$(libnm_gtk_c_gen)
src_libnm_gtk_libnm_gtk_la_CFLAGS = \
$(dflt_cppflags) \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY \
-DICONDIR=\""$(datadir)/icons"\" \
-DBINDIR=\""$(bindir)"\" \
......@@ -448,6 +456,7 @@ endif
check_programs += src/libnm-gtk/tests/test-mobile-providers
src_libnm_gtk_tests_test_mobile_providers_CPPFLAGS = \
$(dflt_cppflags) \
-DTEST_DATA_DIR=\""$(abs_srcdir)/src/libnm-gtk/tests"\" \
"-I$(srcdir)/shared" \
"-I$(srcdir)/src/libnm-gtk" \
......@@ -547,6 +556,7 @@ nodist_src_libnma_libnma_la_SOURCES = \
$(libnma_c_gen)
src_libnma_libnma_la_CFLAGS = \
$(dflt_cppflags) \
-DICONDIR=\""$(datadir)/icons"\" \
-DBINDIR=\""$(bindir)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
......@@ -696,6 +706,8 @@ connection_editor_hc_real = \
src/connection-editor/ce-polkit-button.h \
src/connection-editor/ce-polkit.c \
src/connection-editor/ce-polkit.h \
src/connection-editor/ce-utils.c \
src/connection-editor/ce-utils.h \
src/connection-editor/connection-helpers.c \
src/connection-editor/connection-helpers.h
......@@ -708,6 +720,7 @@ nodist_src_connection_editor_nm_connection_editor_SOURCES = \
$(connection_editor_c_gen)
src_connection_editor_nm_connection_editor_CPPFLAGS = \
$(dflt_cppflags) \
-DICONDIR=\""$(datadir)/icons"\" \
-DBINDIR=\""$(bindir)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
......@@ -833,6 +846,7 @@ nodist_src_nm_applet_SOURCES = \
$(nm_applet_c_gen)
src_nm_applet_CPPFLAGS = \
$(dflt_cppflags) \
-DICONDIR=\""$(datadir)/icons"\" \
-DBINDIR=\""$(bindir)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
......
This diff is collapsed.
=======================================================
network-manager-applet-1.8.16
Overview of changes since network-manager-applet-1.8.14
=======================================================
* Fix various issues that causes GtkApplication to quit at the wrong time.
* Read the Mobile Providers database from a build-time determined location.
* Modernize Gtk+ 3.0 use in preparations for Gtk+ 4.0.
* Update Brazilian Portuguese, Polish, Turkish, German translation.
=======================================================
network-manager-applet-1.8.14
Overview of changes since network-manager-applet-1.8.12
......
......@@ -21,5 +21,5 @@ PKG_NAME=nm-applet
)
if test -z "$NOCONFIGURE"; then
"$srcdir/configure" --enable-maintainer-mode "$@"
"$srcdir/configure" --enable-maintainer-mode --enable-more-warnings=error "$@"
fi
......@@ -68,6 +68,9 @@
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Mobile Broadband Service Provider Information Database location */
#undef MOBILE_BROADBAND_PROVIDER_INFO_DATABASE
/* git commit id of the original source code version */
#undef NMA_GIT_SHA
......
......@@ -7,6 +7,9 @@
/* ISO codes prefix */
#mesondefine ISO_CODES_PREFIX
/* Mobile Broadband Service Provider Information Database location */
#mesondefine MOBILE_BROADBAND_PROVIDER_INFO_DATABASE
/* Define if more asserts are enabled */
#mesondefine NM_MORE_ASSERTS
......
This diff is collapsed.
......@@ -2,7 +2,7 @@ AC_PREREQ([2.63])
m4_define([nma_major_version], [1])
m4_define([nma_minor_version], [8])
m4_define([nma_micro_version], [14])
m4_define([nma_micro_version], [16])
m4_define([nma_version],
[nma_major_version.nma_minor_version.nma_micro_version])
......@@ -97,6 +97,29 @@ else
AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX],["$prefix"],[ISO codes prefix])
fi
# Check for mobile-broadband-provider-info for Mobile Broadband wizard
AC_MSG_CHECKING([whether to disable mobile-broadband-provider-info at build-time])
AC_ARG_ENABLE([mobile-broadband-provider-info],
AS_HELP_STRING([--disable-mobile-broadband-provider-info],[do not check for mobile-broadband-provider-info at build-time]),
[],[disable_mobile_broadband_provider_info_check=no])
if test x$disable_mobile_broadband_provider_info_check = xno ; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
if test x$disable_mobile_broadband_provider_info_check = "xno" ; then
AC_DEFINE_UNQUOTED([MOBILE_BROADBAND_PROVIDER_INFO_DATABASE],["`$PKG_CONFIG --variable=database mobile-broadband-provider-info`"],[Mobile Broadband Service Provider Information Database location])
PKG_CHECK_MODULES(MOBILE_BROADBAND_PROVIDER_INFO, [mobile-broadband-provider-info],
[],
[echo -e "\n$MOBILE_BROADBAND_PROVIDER_INFO_PKG_ERRORS.\n"
echo "Consider installing the package or adjusting the PKG_CONFIG_PATH environment variable."
echo "You can also disable build-time check for 'mobile-broadband-provider-info' via --disable-mobile-broadband-provider-info";
exit 1;])
else
AC_DEFINE_UNQUOTED([MOBILE_BROADBAND_PROVIDER_INFO_DATABASE],["$prefix/share/mobile-broadband-provider-info/serviceproviders.xml"],[Mobile Broadband Service Provider Information Database location])
fi
dnl
dnl API documentation
dnl
......@@ -290,11 +313,10 @@ GLIB_CONFIG_NMA
GLIB_GSETTINGS
AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
NM_COMPILER_WARNINGS([yes])
NM_COMPILER_WARNINGS(CFLAGS, [yes])
NM_LTO
NM_LD_GC
AC_ARG_WITH(more-asserts,
AS_HELP_STRING([--with-more-asserts=level], [Enable more assertions for debugging (default: 0)]),
[more_asserts=${with_more_asserts}],
......
......@@ -407,7 +407,8 @@ nma_cert_chooser_get_cert (<em class="parameter"><code><a class="link" href="NMA
</div>
<div class="refsect3">
<a name="nma-cert-chooser-get-cert.returns"></a><h4>Returns</h4>
<p> the certificate path</p>
<p>the certificate path. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-1.8.0.html" title="Index of API available in version 1.8.0">1.8.0</a></p>
</div>
......@@ -434,7 +435,8 @@ nma_cert_chooser_get_cert_uri (<em class="parameter"><code><a class="link" href=
</div>
<div class="refsect3">
<a name="nma-cert-chooser-get-cert-uri.returns"></a><h4>Returns</h4>
<p> the certificate URI</p>
<p>the certificate URI. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-1.8.0.html" title="Index of API available in version 1.8.0">1.8.0</a></p>
</div>
......@@ -595,7 +597,8 @@ nma_cert_chooser_get_key (<em class="parameter"><code><a class="link" href="NMAC
</div>
<div class="refsect3">
<a name="nma-cert-chooser-get-key.returns"></a><h4>Returns</h4>
<p> the key path</p>
<p>the key path. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-1.8.0.html" title="Index of API available in version 1.8.0">1.8.0</a></p>
</div>
......@@ -622,7 +625,8 @@ nma_cert_chooser_get_key_uri (<em class="parameter"><code><a class="link" href="
</div>
<div class="refsect3">
<a name="nma-cert-chooser-get-key-uri.returns"></a><h4>Returns</h4>
<p> the key URI</p>
<p>the key URI. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-1.8.0.html" title="Index of API available in version 1.8.0">1.8.0</a></p>
</div>
......
......@@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="libnma Reference Manual">
<link rel="up" href="api-reference.html" title="libnma API reference">
<link rel="prev" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">
<link rel="prev" href="NMAMobileWizard.html" title="NMAMobileWizard">
<link rel="next" href="NMAVpnPasswordDialog.html" title="NMAVpnPasswordDialog">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
......@@ -21,7 +21,7 @@
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="api-reference.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libnma-nma-mobile-wizard.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="NMAMobileWizard.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="NMAVpnPasswordDialog.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
......
......@@ -16,6 +16,8 @@
 <span class="dim">|</span> 
<a class="shortcut" href="#glsE">E</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsN">N</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsO">O</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsS">S</a>
......@@ -37,6 +39,9 @@
<a name="glsE"></a><h3 class="title">E</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-element-type"></a>element-type</span></dt>
<dd class="glossdef"><p>Generics and defining elements of containers and arrays.</p></dd>
<a name="glsN"></a><h3 class="title">N</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-nullable"></a>nullable</span></dt>
<dd class="glossdef"><p>NULL may be passed as the value in, out, in-out; or as a return value.</p></dd>
<a name="glsO"></a><h3 class="title">O</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-out"></a>out</span></dt>
<dd class="glossdef"><p>Parameter for returning results. Default is <acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>.</p></dd>
......
This diff is collapsed.
......@@ -181,11 +181,11 @@
</dt>
<dd></dd>
<dt>
<a class="link" href="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod" title="NMAMobileWizardAccessMethod">NMAMobileWizardAccessMethod</a>, struct in <a class="link" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">nma-mobile-wizard</a>
<a class="link" href="NMAMobileWizard.html#NMAMobileWizardAccessMethod" title="NMAMobileWizardAccessMethod">NMAMobileWizardAccessMethod</a>, struct in <a class="link" href="NMAMobileWizard.html" title="NMAMobileWizard">NMAMobileWizard</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="libnma-nma-mobile-wizard.html#NMAMobileWizardCallback" title="NMAMobileWizardCallback ()">NMAMobileWizardCallback</a>, user_function in <a class="link" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">nma-mobile-wizard</a>
<a class="link" href="NMAMobileWizard.html#NMAMobileWizardCallback" title="NMAMobileWizardCallback ()">NMAMobileWizardCallback</a>, user_function in <a class="link" href="NMAMobileWizard.html" title="NMAMobileWizard">NMAMobileWizard</a>
</dt>
<dd></dd>
<dt>
......@@ -285,15 +285,15 @@
</dt>
<dd></dd>
<dt>
<a class="link" href="libnma-nma-mobile-wizard.html#nma-mobile-wizard-destroy" title="nma_mobile_wizard_destroy ()">nma_mobile_wizard_destroy</a>, function in <a class="link" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">nma-mobile-wizard</a>
<a class="link" href="NMAMobileWizard.html#nma-mobile-wizard-destroy" title="nma_mobile_wizard_destroy ()">nma_mobile_wizard_destroy</a>, function in <a class="link" href="NMAMobileWizard.html" title="NMAMobileWizard">NMAMobileWizard</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="libnma-nma-mobile-wizard.html#nma-mobile-wizard-new" title="nma_mobile_wizard_new ()">nma_mobile_wizard_new</a>, function in <a class="link" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">nma-mobile-wizard</a>
<a class="link" href="NMAMobileWizard.html#nma-mobile-wizard-new" title="nma_mobile_wizard_new ()">nma_mobile_wizard_new</a>, function in <a class="link" href="NMAMobileWizard.html" title="NMAMobileWizard">NMAMobileWizard</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="libnma-nma-mobile-wizard.html#nma-mobile-wizard-present" title="nma_mobile_wizard_present ()">nma_mobile_wizard_present</a>, function in <a class="link" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">nma-mobile-wizard</a>
<a class="link" href="NMAMobileWizard.html#nma-mobile-wizard-present" title="nma_mobile_wizard_present ()">nma_mobile_wizard_present</a>, function in <a class="link" href="NMAMobileWizard.html" title="NMAMobileWizard">NMAMobileWizard</a>
</dt>
<dd></dd>
<a name="idxU"></a><h3 class="title">U</h3>
......
......@@ -27,7 +27,7 @@
<span class="refentrytitle"><a href="libnma-nma-ui-utils.html">nma-ui-utils</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="libnma-nma-mobile-wizard.html">nma-mobile-wizard</a></span><span class="refpurpose"></span>
<span class="refentrytitle"><a href="NMAMobileWizard.html">NMAMobileWizard</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="NMAMobileProvidersDatabase.html">NMAMobileProvidersDatabase</a></span><span class="refpurpose"></span>
......
......@@ -15,11 +15,11 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">libnma Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for libnma 1.8.13.
for libnma 1.8.16.
The latest version of this documentation can be found on-line at
<a class="ulink" href="https://developer.gnome.org/libnma/index.html" target="_top">https://developer.gnome.org/libnma/</a>.
<a class="ulink" href="https://gnome.pages.gitlab.gnome.org/network-manager-applet/libnma/" target="_top">https://gnome.pages.gitlab.gnome.org/network-manager-applet/libnma/</a>
</p></div>
<div><p class="copyright">Copyright © 2017 The network-manager-applet Authors</p></div>
<div><p class="copyright">Copyright © 2017, 2018 The network-manager-applet Authors</p></div>
<div><div class="legalnotice">
<a name="id-1.1.4"></a><p>
Permission is granted to copy, distribute and/or modify this
......@@ -52,7 +52,7 @@
<span class="refentrytitle"><a href="libnma-nma-ui-utils.html">nma-ui-utils</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="libnma-nma-mobile-wizard.html">nma-mobile-wizard</a></span><span class="refpurpose"></span>
<span class="refentrytitle"><a href="NMAMobileWizard.html">NMAMobileWizard</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="NMAMobileProvidersDatabase.html">NMAMobileProvidersDatabase</a></span><span class="refpurpose"></span>
......
......@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="libnma Reference Manual">
<link rel="up" href="api-reference.html" title="libnma API reference">
<link rel="prev" href="api-reference.html" title="libnma API reference">
<link rel="next" href="libnma-nma-mobile-wizard.html" title="nma-mobile-wizard">
<link rel="next" href="NMAMobileWizard.html" title="NMAMobileWizard">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
......@@ -20,7 +20,7 @@
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="api-reference.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="api-reference.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libnma-nma-mobile-wizard.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="NMAMobileWizard.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libnma-nma-ui-utils"></a><div class="titlepage"></div>
......
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<book xmlns="http://www.devhelp.net/book" title="libnma Reference Manual" link="index.html" author="" name="libnma" version="2" language="c" online="https://developer.gnome.org/libnma/index.html">
<book xmlns="http://www.devhelp.net/book" title="libnma Reference Manual" link="index.html" author="" name="libnma" version="2" language="c" online="https://gnome.pages.gitlab.gnome.org/network-manager-applet/libnma/">
<chapters>
<sub name="libnma API reference" link="api-reference.html">
<sub name="nma-ui-utils" link="libnma-nma-ui-utils.html"/>
<sub name="nma-mobile-wizard" link="libnma-nma-mobile-wizard.html"/>
<sub name="NMAMobileWizard" link="NMAMobileWizard.html"/>
<sub name="NMAMobileProvidersDatabase" link="NMAMobileProvidersDatabase.html"/>
<sub name="NMAVpnPasswordDialog" link="NMAVpnPasswordDialog.html"/>
<sub name="NMAWifiDialog" link="NMAWifiDialog.html"/>
......@@ -19,11 +19,11 @@
<keyword type="function" name="nma_utils_setup_password_storage ()" link="libnma-nma-ui-utils.html#nma-utils-setup-password-storage"/>
<keyword type="function" name="nma_utils_menu_to_secret_flags ()" link="libnma-nma-ui-utils.html#nma-utils-menu-to-secret-flags"/>
<keyword type="function" name="nma_utils_update_password_storage ()" link="libnma-nma-ui-utils.html#nma-utils-update-password-storage"/>
<keyword type="function" name="NMAMobileWizardCallback ()" link="libnma-nma-mobile-wizard.html#NMAMobileWizardCallback"/>
<keyword type="function" name="nma_mobile_wizard_new ()" link="libnma-nma-mobile-wizard.html#nma-mobile-wizard-new"/>
<keyword type="function" name="nma_mobile_wizard_present ()" link="libnma-nma-mobile-wizard.html#nma-mobile-wizard-present"/>
<keyword type="function" name="nma_mobile_wizard_destroy ()" link="libnma-nma-mobile-wizard.html#nma-mobile-wizard-destroy"/>
<keyword type="struct" name="NMAMobileWizardAccessMethod" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod"/>
<keyword type="function" name="NMAMobileWizardCallback ()" link="NMAMobileWizard.html#NMAMobileWizardCallback"/>
<keyword type="function" name="nma_mobile_wizard_new ()" link="NMAMobileWizard.html#nma-mobile-wizard-new"/>
<keyword type="function" name="nma_mobile_wizard_present ()" link="NMAMobileWizard.html#nma-mobile-wizard-present"/>
<keyword type="function" name="nma_mobile_wizard_destroy ()" link="NMAMobileWizard.html#nma-mobile-wizard-destroy"/>
<keyword type="struct" name="NMAMobileWizardAccessMethod" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod"/>
<keyword type="function" name="nma_mobile_access_method_ref ()" link="NMAMobileProvidersDatabase.html#nma-mobile-access-method-ref"/>
<keyword type="function" name="nma_mobile_access_method_unref ()" link="NMAMobileProvidersDatabase.html#nma-mobile-access-method-unref"/>
<keyword type="function" name="nma_mobile_access_method_get_name ()" link="NMAMobileProvidersDatabase.html#nma-mobile-access-method-get-name"/>
......@@ -119,11 +119,11 @@
<keyword type="constant" name="NMA_CERT_CHOOSER_FLAG_CERT" link="NMACertChooser.html#NMA-CERT-CHOOSER-FLAG-CERT:CAPS"/>
<keyword type="constant" name="NMA_CERT_CHOOSER_FLAG_PASSWORDS" link="NMACertChooser.html#NMA-CERT-CHOOSER-FLAG-PASSWORDS:CAPS"/>
<keyword type="constant" name="NMA_CERT_CHOOSER_FLAG_PEM" link="NMACertChooser.html#NMA-CERT-CHOOSER-FLAG-PEM:CAPS"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.provider-name" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod.provider-name"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.plan-name" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod.plan-name"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.devtype" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod.devtype"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.username" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod.username"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.password" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod.password"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.gsm-apn" link="libnma-nma-mobile-wizard.html#NMAMobileWizardAccessMethod.gsm-apn"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.provider-name" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod.provider-name"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.plan-name" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod.plan-name"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.devtype" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod.devtype"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.username" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod.username"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.password" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod.password"/>
<keyword type="member" name="NMAMobileWizardAccessMethod.gsm-apn" link="NMAMobileWizard.html#NMAMobileWizardAccessMethod.gsm-apn"/>
</functions>
</book>
......@@ -32,7 +32,7 @@
<span class="lineart"></span> <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk4/GtkBin.html#GtkBin-struct">GtkBin</a>
<span class="lineart"></span> <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk4/GtkWindow.html#GtkWindow-struct">GtkWindow</a>
<span class="lineart"></span> <span class="lineart">├──</span> <a href="/usr/share/gtk-doc/html/gtk4/GtkAssistant.html#GtkAssistant-struct">GtkAssistant</a>
<span class="lineart"></span> <span class="lineart"></span> <span class="lineart">╰──</span> <a class="link" href="libnma-nma-mobile-wizard.html#NMAMobileWizard">NMAMobileWizard</a>
<span class="lineart"></span> <span class="lineart"></span> <span class="lineart">╰──</span> <a class="link" href="NMAMobileWizard.html" title="NMAMobileWizard">NMAMobileWizard</a>
<span class="lineart"></span> <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk4/GtkDialog.html#GtkDialog-struct">GtkDialog</a>
<span class="lineart"></span> <span class="lineart">├──</span> <a class="link" href="NMAVpnPasswordDialog.html" title="NMAVpnPasswordDialog">NMAVpnPasswordDialog</a>
<span class="lineart"></span> <span class="lineart">╰──</span> <a class="link" href="NMAWifiDialog.html" title="NMAWifiDialog">NMAWifiDialog</a>
......
......@@ -12,11 +12,12 @@
<releaseinfo>
for libnma &package_version;.
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="https://developer.gnome.org/libnma/index.html">https://developer.gnome.org/libnma/</ulink>.
<ulink role="online-location" url="https://gnome.pages.gitlab.gnome.org/network-manager-applet/libnma/">https://gnome.pages.gitlab.gnome.org/network-manager-applet/libnma/</ulink>
</releaseinfo>
<copyright>
] <year>2017</year>
<year>2017</year>
<year>2018</year>
<holder>The &package_tarname; Authors</holder>
</copyright>
......
<SECTION>
<FILE>nma-cert-chooser</FILE>
<TITLE>NMACertChooser</TITLE>
NMACertChooserFlags
nma_cert_chooser_set_cert
nma_cert_chooser_set_cert_uri
......@@ -89,6 +90,7 @@ nma_mobile_providers_database_get_type
<SECTION>
<FILE>nma-mobile-wizard</FILE>
<TITLE>NMAMobileWizard</TITLE>
NMAMobileWizardAccessMethod
NMAMobileWizardCallback
nma_mobile_wizard_new
......
......@@ -20,42 +20,45 @@ AC_DEFUN([_NM_COMPILER_FLAG], [
])
dnl Check whether a particular compiler flag is supported,
dnl add it to CFLAGS if it is
dnl append it to the specified variable if the check succeeds.
dnl NM_COMPILER_FLAG([ENV-VAR], [FLAG], [ACTION-IF-SUPPORTED], [ACTION-IF-NOT-SUPPORTED])
AC_DEFUN([NM_COMPILER_FLAG], [
_NM_COMPILER_FLAG([$1], [], [
CFLAGS="$CFLAGS $1"
$2
], [$3])
_NM_COMPILER_FLAG([$2], [], [
eval "AS_TR_SH([$1])='$$1 $2'"
$3
], [$4])
])
dnl Check whether a particular warning is not emitted with code provided,
dnl disable it in CFLAGS if the check fails.
dnl append an option to disable the warning to a specified variable if the check fails.
dnl NM_COMPILER_WARNING([ENV-VAR], [C-SNIPPET], [WARNING]])
AC_DEFUN([NM_COMPILER_WARNING], [
_NM_COMPILER_FLAG([-W$1], [$2], [CFLAGS="$CFLAGS -W$1"], [CFLAGS="$CFLAGS -Wno-$1"])
_NM_COMPILER_FLAG([-W$2], [$3], [eval "AS_TR_SH([$1])='$$1 -W$2'"], [eval "AS_TR_SH([$1])='$$1 -Wno-$2'"])
])
dnl NM_COMPILER_WARNINGS([ENV-VAR], [MORE-WARNINGS])
AC_DEFUN([NM_COMPILER_WARNINGS],
[AC_ARG_ENABLE(more-warnings,
AS_HELP_STRING([--enable-more-warnings], [Possible values: no/yes/error]),
set_more_warnings="$enableval",set_more_warnings=$1)
set_more_warnings="$enableval",set_more_warnings=$2)
AC_MSG_CHECKING(for more warnings)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
AC_MSG_RESULT(yes)
dnl This is enabled in clang by default, makes little sense,
dnl and causes the build to abort with -Werror.
CFLAGS_SAVED="$CFLAGS"
CFLAGS="$CFLAGS -Qunused-arguments"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([])], [], CFLAGS="$CFLAGS_SAVED")
CFLAGS_SAVED="$$1"
eval "AS_TR_SH([$1])='$$1 -Qunused-arguments'"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([])], [], eval "AS_TR_SH([$1])='$CFLAGS_SAVED'")
unset CFLAGS_SAVED
dnl clang only warns about unknown warnings, unless
dnl called with "-Werror=unknown-warning-option"
dnl Test if the compiler supports that, and if it does
dnl attach it to the CFLAGS.
NM_COMPILER_WARNING([unknown-warning-option], [])
NM_COMPILER_WARNING([$1], [unknown-warning-option], [])
CFLAGS_MORE_WARNINGS="-Wall -std=gnu99"
CFLAGS_MORE_WARNINGS="-Wall"
if test "x$set_more_warnings" = xerror; then
CFLAGS_MORE_WARNINGS="$CFLAGS_MORE_WARNINGS -Werror"
......@@ -89,7 +92,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wno-unused-parameter \
; do
dnl GCC 4.4 does not warn when checking for -Wno-* flags (https://gcc.gnu.org/wiki/FAQ#wnowarning)
_NM_COMPILER_FLAG([$(printf '%s' "$option" | sed 's/^-Wno-/-W/')], [],
_NM_COMPILER_FLAG([-Wall $(printf '%s' "$option" | sed 's/^-Wno-/-W/')], [],
[CFLAGS_MORE_WARNINGS="$CFLAGS_MORE_WARNINGS $option"], [])
done
unset option
......@@ -97,37 +100,48 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
dnl Disable warnings triggered by known compiler problems
dnl https://bugzilla.gnome.org/show_bug.cgi?id=745821
NM_COMPILER_WARNING([unknown-attributes], [#include <glib.h>])
NM_COMPILER_WARNING([$1], [unknown-attributes], [#include <glib.h>])
dnl https://bugzilla.gnome.org/show_bug.cgi?id=744473
NM_COMPILER_WARNING([typedef-redefinition], [#include <gio/gio.h>])
NM_COMPILER_WARNING([$1], [typedef-redefinition], [#include <gio/gio.h>])
dnl https://llvm.org/bugs/show_bug.cgi?id=21614
NM_COMPILER_WARNING([array-bounds],
NM_COMPILER_WARNING([$1], [array-bounds],
[#include <string.h>]
[void f () { strcmp ("something", "0"); }]
)
dnl https://llvm.org/bugs/show_bug.cgi?id=22949
NM_COMPILER_WARNING([parentheses-equality],
NM_COMPILER_WARNING([$1], [parentheses-equality],
[#include <sys/wait.h>]
[void f () { if (WIFCONTINUED(0)) return; }]
)
dnl systemd-dhcp's log_internal macro and our handle_warn are sometimes
dnl used in void context,u sometimes in int. Makes clang unhappy.
NM_COMPILER_WARNING([unused-value],
NM_COMPILER_WARNING([$1], [unused-value],
[#define yolo ({ (666 + 666); })]
[int f () { int i = yolo; yolo; return i; }]
)
dnl clang 3.9 would like to see "{ { 0 } }" here, but that does not
dnl look too wise.
NM_COMPILER_WARNING([missing-braces],
NM_COMPILER_WARNING([$1], [missing-braces],
[union { int a[1]; int b[2]; } c = { 0 }]
)
CFLAGS="$CFLAGS_MORE_WARNINGS $CFLAGS"
dnl a new warning in gcc 8, glib 2.55 doesn't play nice yet
dnl https://bugzilla.gnome.org/show_bug.cgi?id=793272
NM_COMPILER_WARNING([$1], [cast-function-type],
[#include <glib-object.h>]
[typedef struct { GObject parent; } NMObject;]
[typedef struct { GObjectClass parent; } NMObjectClass;]
[static void nm_object_init (NMObject *object) { } ]
[static void nm_object_class_init (NMObjectClass *object) { }]
[G_DEFINE_TYPE (NMObject, nm_object, G_TYPE_OBJECT)]
)
eval "AS_TR_SH([$1])='$CFLAGS_MORE_WARNINGS $$1'"
else
AC_MSG_RESULT(no)
fi
......
......@@ -21,7 +21,7 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
],[dnl
AC_ARG_ENABLE(introspection,
AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
[Enable introspection for this build]),,
[Enable introspection for this build]),,
[enable_introspection=auto])
])dnl
......
project(
'network-manager-applet', 'c',
version: '1.8.14',
version: '1.8.16',
license: 'GPL2+',
default_options: [
'buildtype=debugoptimized',
......@@ -130,6 +130,16 @@ else
config_h.set_quoted('ISO_CODES_PREFIX', nma_prefix)
endif
# Check for mobile-broadband-provider-info for Mobile Broadband wizard
enable_mobile_broadband_provider_info = get_option('mobile_broadband_provider_info')
message('whether to enable mobile-broadband-provider-info at build-time: ' + enable_mobile_broadband_provider_info.to_string())
if enable_mobile_broadband_provider_info
mobile_broadband_provider_info_dep = dependency('mobile-broadband-provider-info')
config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', mobile_broadband_provider_info_dep.get_pkgconfig_variable('database'))
else
config_h.set_quoted('MOBILE_BROADBAND_PROVIDER_INFO_DATABASE', join_paths(nma_prefix, 'share', 'mobile-broadband-provider-info', 'serviceproviders.xml'))
endif
gio_dep = dependency('gio-2.0', version: '>= 2.38')
gmodule_export_dep = dependency('gmodule-export-2.0')
libsecret_dep = dependency('libsecret-1', version: '>= 0.18')
......
......@@ -6,6 +6,7 @@ option('team', type: 'boolean', value: true, description: 'Enable team configura
option('gcr', type: 'boolean', value: true, description: 'Enable advanced certificate chooser.')
option('more_asserts', type: 'string', value: '0', description: 'Enable more assertions for debugging.')
option('iso_codes', type: 'boolean', value: true, description: 'check for iso-codes at build-time')
option('mobile_broadband_provider_info', type: 'boolean', value: true, description: 'check for mobile-broadband-provider-info at build-time')
option('ld_gc', type: 'boolean', value: true, description: 'Enable garbage collection of unused symbols on linking')
option('gtk_doc', type: 'boolean', value: true, description: 'use gtk-doc to build documentation')
option('introspection', type: 'boolean', value: true, description: 'Enable introspection for this build')
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -4,7 +4,10 @@
<requires lib="gtk+" version="3.10"/>
<object class="GtkDialog" id="8021x_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="margin_start">5</property>
<property name="margin_end">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="title" translatable="yes">802.1X authentication</property>
<property name="resizable">False</property>
<property name="modal">True</property>
......@@ -63,10 +66,14 @@
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox1">
<object class="GtkBox" id="hbox1">
<property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="margin_start">5</property>
<property name="margin_end">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="image1">
......@@ -83,7 +90,8 @@
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox1">
<object class="GtkBox" id="vbox1">
<property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
......@@ -106,15 +114,15 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">12</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel" id="network_name_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Network name:</property>
<property name="label" translatable="yes">_Network name</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">network_name_entry</property>
<property name="xalign">0</property>
<property name="xalign">1</property>
</object>
<packing>
<property name="left_attach">0</property>
......@@ -135,7 +143,8 @@
</packing>
</child>
<child>
<object class="GtkVBox" id="security_vbox">
<object class="GtkBox" id="security_vbox">
<property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
......
......@@ -6,7 +6,10 @@
<property name="width_request">450</property>
<property name="height_request">250</property>
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="margin_start">5</property>
<property name="margin_end">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="modal">True</property>
<property name="window_position">center-on-parent</property>
<property name="icon_name">stock-peferences</property>
......@@ -59,13 +62,18 @@
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox2">
<object class="GtkBox" id="vbox2">
<property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>