Commit graph

11 commits

Author SHA1 Message Date
Dan Williams
b0ee0cbb46 2006-02-21 Dan Williams <dcbw@redhat.com>
* gnome/libnm_glib/libnm_glib.c
		- Use __func__ everywhere we can
		- Code cleanups
		- Use dbus pending calls rather than blocking
		- Reduce busywaits for our thread to start and stop
			(gnome.org #330562)
		- (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
			stomp on others using the default shared dbus connection.
			Fixes #rh177546# and gnome.org #326572


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1480 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-21 06:25:50 +00:00
Christopher Aillon
aa89e85d0b 2005-10-17 Christopher Aillon <caillon@redhat.com>
* gnome/libnm_glib/libnm_glib.c:
	Make libnm_glib_unregister_callback () actually unregister the callback


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1034 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-17 21:37:26 +00:00
Christopher Aillon
150bf7ca2d 2005-10-14 Christopher Aillon <caillon@redhat.com>
* gnome/libnm_glib/libnm_glib.c:
	* gnome/libnm_glib/libnm_glib.h:
	Use guint instead of gint for callback IDs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1022 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-10-14 19:51:14 +00:00
Christopher Aillon
314e6fc426 2005-09-10 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet.c:
	* gnome/applet/applet-dbus-devices.c:
	* gnome/applet/applet-dbus-info.c:
	* gnome/applet/passphrase-dialog.c:
	* gnome/libnm_glib/libnm_glib.c:
	* gnome/vpn-properties/nm-vpn-properties.c:
	* src/autoip.c:
	* src/backends/NetworkManagerRedHat.c:
	* src/named-manager/nm-named-manager.c:
	* src/NetworkManagerAPList.c:
	* src/NetworkManager.c:
	* src/NetworkManagerDbus.c:
	* src/NetworkManagerDevice.c:
	* src/NetworkManagerPolicy.c:
	* src/NetworkManagerSystem.c:
	* src/nm-dbus-device.c:
	* src/nm-dbus-nm.c:
	* src/vpn-manager/nm-vpn-manager.c:
	* src/vpn-manager/nm-vpn-service.c:
	* test/libnm_glib_test.c:
	* test/nminfotest.c:
	* test/nmtestdevices.c:
	Fix up a bunch of 'unused variable' compiler warnings


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@959 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-11 02:32:30 +00:00
Christopher Aillon
31027d4d42 2005-09-07 Christopher Aillon <caillon@redhat.com>
* gnome/applet/menu-items.c:
	* gnome/applet/nm-device.c:
	* gnome/applet/wireless-network.c:
	* gnome/libnm_glib/libnm_glib.c:
	* src/NetworkManagerDbusUtils.c:
	* vpn-daemons/vpnc/src/nm-vpnc-service.c:
	g_malloc0 doesn't return NULL


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@944 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-09-07 06:44:42 +00:00
Dan Williams
438d37f1c8 2005-08-04 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-info.c
	  gnome/applet/applet-dbus-info.h
		- (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
			to store key, key type, and auth method rather than just auth method
		- (nmi_dbus_update_network_info): new function
		- (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo

	* gnome/applet/passphrase-dialog.c
		- (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
			of saving the info ourselves

	* gnome/libnm_glib/libnm_glib.c
		- Remove the stupid version check for dbus

	* src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
		- (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'

	* src/NetworkManagerDbus.c
	  src/NetworkManagerDbus.h
		- (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
			more than just the auth method

	* src/NetworkManagerDevice.c
		- Update network info at the appropriate times


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@817 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-04 11:37:51 +00:00
Robert Love
02d0a20a45 2005-07-22 Robert Love <rml@novell.com>
* gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@806 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-07-22 17:20:26 +00:00
David Zeuthen
e4ec2dab44 2005-06-17 David Zeuthen <davidz@redhat.com>
* gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
        API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
        Also add new methods can_export, import_file and export.

        * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
        to the main UI

        * gnome/vpn-properties/nm-vpn-properties.c:
        Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
        nm-vpn-ui-interface.h.
        (update_edit_del_sensitivity): Also update "Export" sensitivity
        (add_vpn_connection): Also add new SVC_NAME column
        (import_settings): New function
        (retrieve_data_from_selected_connection): New function
        (edit_cb): Use retrieve_data_from_selected_connection to simplify
        this function
        (export_cb): New function
        (init_app): Also setup the "export" widget
        (main): Support the --import-service and --import-file commandline
        arguments

        * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
        D-BUS 0.34


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@700 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-06-17 04:23:07 +00:00
Dan Williams
140114bb7d 2005-05-05 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss:
	* gnome/libnm_glib/libnm_glib.c
		- Fix for dbus-0.33


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@608 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-05 20:11:31 +00:00
Dan Williams
276e0a4d30 2005-05-04 Dan Williams <dcbw@redhat.com>
* Remove NM_STATE_SCANNING from NetworkManager.h and applet code

	* Fix some holes in device activation and retaining the currently connected
		access point


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@602 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-04 18:11:40 +00:00
Dan Williams
a5dd14c305 2005-04-27 Dan Williams <dcbw@redhat.com>
* Merge the applet and the info-daemon, and move the converged
                applet under gnome/applet
        * Move libnm_glib to gnome/libnm_glib
        * Convert most dbus calls between the applet, info-daemon, and NM
                into async calls
        * Fix a few things valgrind noticed
        * Make NM broadcast state more reliably


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@586 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-04-27 18:05:16 +00:00
Renamed from libnm_glib/libnm_glib.c (Browse further)