Commit Graph

13873 Commits

Author SHA1 Message Date
Tambet Ingo
326d1e8679 2007-09-12 Tambet Ingo <tambet@gmail.com>
* src/vpn-manager/nm-vpn-connection.[ch]: 
        * src/vpn-manager/nm-vpn-manager.[ch]:
        * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling
        * code. Using 
        dbus-glib, GObjects, signals etc.

        * libnm-glib/nm-vpn-manager.[ch]: 
        * libnm-glib/nm-vpn-connection.[ch]: Now that the NM
        * implementation changed
        so much, rewrite these too.

        * libnm-glib/Makefile.am: Add new files to build, build new
        * binding files for
        the new introspection files.

        * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from
        * here.

        * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that
        * was shadowing
        the header with the same name from libnm-utils.

        * libnm-glib/nm-vpn-plugin.[ch]: Implement.

        * libnm-util/Makefile.am: Add nm-utils.[ch] to build.

        * introspection/nm-vpn-plugin.xml: Implement.

        * introspection/nm-vpn-connection.xml: Implement.

        * introspection/nm-vpn-manager.xml: Implement.

        * src/NetworkManagerSystem.c
        * (nm_system_vpn_device_set_from_ip4_config): Remove
        the named manager argument, it can just as easily get it as the
caller.
        (nm_system_vpn_device_unset_from_ip4_config): Ditto.

        * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.

        * src/nm-dbus-manager.h: Fix up the name_owner signal signature.

        * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove,
        * use one from
        libnm-utils.

        * libnm-util/nm-connection.c: Ditto.

        * src/NetworkManagerMain.h: Remove, it's finally empty.

        * configure.in: Remove utils/ from build.

        * include/NetworkManagerVPN.h: Add some more defines to reduce
        * the amount
        of hard-coded strings.

        * utils/: Move it over to libnm-util.

        * test/Makefile.am: Link against libnm-util now that util/ is
        * gone.

        * dispatcher-daemon/Makefile.am: Ditto.

        * src/Makefile.am: Ditto.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2798 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-12 16:23:53 +00:00
Tambet Ingo
be3a380b08 2007-09-12 Tambet Ingo <tambet@gmail.com>
* src/nm-vpnc-service.[ch]: Rewrite. Derive from NMVPNPlugin.

        * src/nm-vpnc-service-vpnc-helper.c: Rewrite using dbus-glib.

        * auth-dialog/main.c: Populate the properties hash with the
        * passwords.

        * properties/nm-vpnc.c: The VPN connection properties are all
        * hash tables now.

        * src/nm-utils.[ch]: Remove. Use the same things from
        * libnm-util.

        * configure.in: Check libnm_glib module as well now that we use
        * NMVPNPlugin.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2797 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-12 16:18:15 +00:00
Dan Williams
594dd3f208 2007-09-12 Dan Williams <dcbw@redhat.com>
Wireless connections can be made with config data from the applet now.
	
	Yay.

	* src/supplicant-manager/nm-supplicant-config.h
	  src/supplicant-manager/nm-supplicant-config.c
		- (nm_supplicant_config_new): kill unused init parameter 'iface'
		- (nm_supplicant_config_add_setting_wireless,
		   nm_supplicant_config_add_setting_wireless_security): new functions;
			add key/value pairs from the settings objects to the supplicant
			config

	* src/nm-device-802-11-wireless.c
		- (cull_scan_list): fix check to not prune currently associated AP
		- (build_supplicant_config, real_act_stage2_config): call the functions
			of the NMSupplicantConfig that parse settings objects rather than
			doing it manually here



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2796 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-12 04:53:23 +00:00
Dan Williams
7d0e13919c 2007-09-12 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
	  src/supplicant-manager/nm-supplicant-marshal.list
		- (nm_supplicant_interface_class_init): fix stupid mistake, the
			"connection-error" signal arguments should be STRING not CHAR



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2795 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-12 04:48:16 +00:00
Dan Williams
ef1624f204 2007-09-12 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.c
	  src/NetworkManagerUtils.h
		- (nm_utils_hexstr2bin): new function



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2794 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-12 04:45:18 +00:00
Dan Williams
7e079e3111 2007-09-11 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (connection_get_settings_cb): emit connection-added signal
		- (connection_removed_cb): uncomment bits for system settings service,
			send connection-removed when appropriate
		- (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
			the stack by trying to g_object_set_data() on something that's
			not a GObject; handle case where settings service returns
			empty settings hash table



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2793 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 23:28:41 +00:00
Dan Williams
d17ea3aaab 2007-09-11 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (connection_added, connection_removed): trigger device change checks
			on connection changes



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2792 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 23:25:00 +00:00
Dan Williams
1893a7ee9c 2007-09-11 Dan Williams <dcbw@redhat.com>
* src/nm-activation-request.c
		- (connection_secrets_updated_cb): fix c&p error in signal emission



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2791 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 23:23:51 +00:00
Dan Williams
277fcb5dc4 2007-09-11 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (real_connection_secrets_updated): fix erroneous check



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2790 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 23:23:01 +00:00
Dan Williams
ab4aa2d752 2007-09-11 Dan Williams <dcbw@redhat.com>
* introspection/nm-device.xml
	  libnm-glib/nm-device.c
	  libnm-glib/nm-device.c
		- Fix Activate call argument borkage; Activate takes 3 arguments



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2789 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 19:33:29 +00:00
Dan Williams
504b69874f 2007-09-11 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-access-point.c
	  libnm-glib/nm-access-point.c
		- (nm_access_point_get_frequency): now returns guint32 to match
			property change on 2007-09-10



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2788 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 19:31:59 +00:00
Dan Williams
e8ad28dc98 Small warning message argument cleanup
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2787 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 19:22:31 +00:00
Dan Williams
3884f45949 2007-09-11 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_new): s/index/idx, stupid system header
			somewhere defines 'index' and I missed this one when I fixed the
			shadow declaration errors earlier



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2786 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 19:21:51 +00:00
Dan Williams
82fd08b4f8 Fix wrong check when clearing activation request
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2785 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 19:20:34 +00:00
Dan Williams
e705a7082e 2007-09-11 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-connection.c
		- (nm_connection_update_secrets, need_secrets_check): move
			802-11-wireless-security need_secrets checks to the setting object
			itself, where it belongs

	* libnm-util/nm-setting.c
	  libnm-util/nm-setting.h
		- (nm_setting_need_secrets): new function
		- (setting_wireless_security_verify,
		   nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
		- (setting_wireless_security_need_secrets): mostly copy code over
			from nm-connection.c



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2784 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 18:28:36 +00:00
Dan Williams
2e4cabc55e Ignore secrets updates for uninteresting settings
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2783 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 18:25:34 +00:00
Dan Williams
937d1add73 2007-09-11 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
	  libnm-util/nm-setting.h
		- (nm_setting_update_secrets): new function; add a virtual function that
			subclasses can implement to update their secrets
		- (setting_wireless_security_update_secrets): implement that function
			for the 802-11-wireless-security subclass

	* libnm-util/nm-connection.c
	  libnm-util/nm-connection.h
		- (nm_connection_update_secrets): update secrets for a Setting and
			emit a signal on success

	* src/nm-manager.c
	  src/nm-manager.h
	  src/nm-marshal.list
		- (connection_get_settings_cb): enable system settings bits
		- (nm_manager_get_connection_secrets, get_secrets_cb): add function
			to request secrets from the settings dbus service and to
			push those secrets to the NMConnection itself

	* src/nm-activation-request.c
	  src/nm-activation-request.h
		- Attach to the 'secrets-updated' signal of the NMConnection that's
			currently being activated, and proxy that signal to other listeners.
			Goes through the activation request because the activation request
			is the thing that manages the lifetime of the NMConnection that's
			being activated.

	* src/nm-device-802-11-wireless.c
		- (real_connection_secrets_updated): implement the connection secrets
			updated notification and restart activation when secrets are
			received
		- (real_act_stage2_config): request secrets from the settings dbus
			service if secrets are needed

	* src/nm-device.c
	  src/nm-device.h
		- (clear_act_request, nm_device_activation_cancel,
		   nm_device_deactivate_quickly, nm_device_dispose): consolidate places
			where the activation request is cleared
		- (nm_device_activate, connection_secrets_updated_cb): attach to the
			updated secrets signal of activation request and add a function
			that subclasses can override to handle it easily



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2782 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 18:02:27 +00:00
Tambet Ingo
d52a52421a Squashed commit of the following:
commit aea4b8344368d815ec84ef867b2dec8eecb4a304
Author: Tambet Ingo <tambet@gmail.com>
Date:   Tue Sep 11 10:15:14 2007 +0300

    2007-09-11  Tambet Ingo  <tambet@gmail.com>

    	* src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
    	removal of NetworkManagerAPList.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2781 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-11 07:15:06 +00:00
Dan Williams
8b905b9762 2007-09-10 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
	  introspection/nm-access-point.xml
		- Change 'freq' property to a guint32 instead of a double since we
			weren't using the floating point bits anyway



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2780 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-10 19:56:31 +00:00
Dan Williams
0930458ea4 2007-09-10 Dan Williams <dcbw@redhat.com>
* NetworkManagerAP.c
	  NetworkManagerAP.h
	  NetworkManagerPolicy.c
	  NetworkManagerSystem.c
	  NetworkManagerUtils.c
	  NetworkManagerUtils.h
	  nm-device-802-11-wireless.c
	  nm-device-802-3-ethernet.c
	  nm-hal-manager.c
	  nm-manager.c
	  vpn-manager/nm-dbus-vpn.c
		- Warning fixes; casts and removal of unused variables



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2779 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-10 19:51:25 +00:00
Dan Williams
4c028c7cef 2007-09-10 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h
		- Kill NMNetworkType; AP types don't matter any more

	* src/NetworkManagerAPList.c
	  src/NetworkManagerAPList.h
	  src/Makefile.am
		- Kill; NMAccessPointList has outlived it's usefulness

	* src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
		- (match_cipher, security_compatible, nm_ap_check_compatible): new
			functions; check if an NMConnection object is compatible with the
			settings of this AP
		- (freq_to_channel, channel_to_freq): utility functions for
			channel <-> frequency conversion

	* src/nm-device.c
	  src/nm-device.h
		- (nm_device_get_best_connection): pass the specific object around
			 (which might be the object path of a specific AP to connect to).
			 The get_best_connection() call should populate this on return
			 if needed (wireless does).

	* src/nm-device-802-3-ethernet.c
		- (real_get_best_connection): handle specific_object argument

	* src/NetworkManager.c
	  src/NetworkManagerMain.h
		- Remove unused includes

	* src/nm-device-802-11-wireless.c
	  src/nm-device-802-11-wireless.h
		- Convert the ap_list into a GSList from an NMAccessPointList
		- No need for caching the 'activation_ap' since this is now determined
			from the specific_object of the activation request, which is
			populated from the get_best_connection() call or from a user request
		- (nm_device_802_11_wireless_update_bssid): fix warning
		- (get_wireless_capabilities): fix error message format arguments
		- (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
		- (find_best_connection, real_get_best_connection): implement
		- (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
			move here from NetworkManagerAPList
		- (ap_need_secrets): remove; moved to nm-connection.c where it belongs
		- (real_act_stage1_prepare): just ensure an AP exists, connection is
			already verified earlier
		- (real_act_stage2_config): use nm_connection_need_secrets()

	* src/NetworkManagerPolicy.c
		- (nm_policy_auto_get_best_device): handle specific objects
		- (create_connection): remove; automatic connection creation functionality
			is handled by the Connection objects
		- (nm_policy_device_change_check): handle specific_object

	* libnm-util/nm-connection.c
		- (wireless_sec_need_secrets, nm_connection_need_secrets): implement



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2778 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-10 19:11:40 +00:00
Dan Williams
0b94b3d318 2007-09-10 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (query_connections): fix uninitialized variable problem that caused
			segfault
		- (nm_manager_add_device): take devices down on startup so that we can
			be assured that nm_device_is_up() won't short-circuit the init
			process.  Hack until the is_up check gets split into two pieces
			that aren't behaviorally confusing.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2777 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-10 18:31:56 +00:00
Dan Williams
fba106c5b0 2007-09-09 Dan Williams <dcbw@redhat.com>
* introspection/nm-device.xml
		- The 'Activate' method now takes 3 arguments, a service name for the
		settings service (user or system), the object path of the connection
		to activate, and the specific object to activate, if any

	* src/nm-device-interface.c
		- (nm_device_interface_error_quark, nm_device_interface_error_get_type):
		Add error bits
		- (impl_device_activate): adapt to new Activate arguments; validate
		the service name and get the Connection object from the NMManager
		before starting to activate the device with the specified connection

	* src/nm-device-802-3-ethernet.c
		- (real_get_best_connection): find the best connection, or create a
		default one if no existing connections can be used

	* src/NetworkManagerPolicy.c
		- (nm_policy_auto_get_best_device): Get the device's best connection
		and only pick the device if it has one
		- (nm_policy_device_change_check): disable wireless bits for now until
		wireless get_best_connection() can be implemented (replacing "best_ap");
		don't create a default connection here as the device subclass will do
		that if needed

	* src/nm-manager.h
	  src/nm-manager.c
		- (nm_manager_get): make NMManager a singleton and expose the getter
		internally
		- Rework internal NMManager connection handling to use the same
		routines for both the system and user settings services.  Most calls
		take a new NMConnectionType argument specifying either system or user
		connections
		- (nm_manager_get_connection_by_object_path): new function; get a
		connection keyed on its object path

	* src/NetworkManager.c
		- (main): use nm_manager_get()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2776 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-09 22:18:42 +00:00
Espen Stefansen
23c4044ea6 2007-09-09 Espen Stefansen <espens@svn.gnome.org>
* nb.po: Updated Norwegian bokmål translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2775 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-09 20:35:51 +00:00
Dan Williams
04c7310517 2007-09-09 Dan Williams <dcbw@redhat.com>
* src/nm-device.h
	  src/nm-device.c
		- (nm_device_get_best_connection): new function; get best connection
			for the device at that time



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2774 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-09 17:58:44 +00:00
Dan Williams
8f76d5f2e0 2007-09-09 Dan Williams <dcbw@redhat.com>
* src/nm-device-interface.h
		- Add NMDeviceInterfaceError with an UnknownConnection error



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2773 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-09 17:58:19 +00:00
Dan Williams
b1872d9ac2 2007-09-09 Dan Williams <dcbw@redhat.com>
Stupid mistake on my part; object path and interface for settings service
	and connection objects can be the same, only the service name must be
	different for the system and user settings services.

	* include/NetworkManager.h
	  src/nm-manager.c
	  introspection/nm-settings-connection.xml
	  introspection/nm-settings.xml
	  libnm-glib/nm-settings.c
		- (nm_connection_settings_init, query_user_connections,
		   new_connection_cb): Unify NetworkManagerSettings and Connection
		   interface name and object path



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2772 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-09 14:48:31 +00:00
Dan Williams
1e9c50f196 Fix wrong debug comment
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2768 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-07 00:38:53 +00:00
Dan Williams
c5d0e07d00 2007-09-06 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-object.c
		- (nm_object_get_string_property, nm_object_get_object_path_property,
		   nm_object_get_int_property, nm_object_get_uint_property,
		   nm_object_get_boolean_property, nm_object_get_byte_property,
		   nm_object_get_double_property, nm_object_get_byte_array_property):
			clear GValues after copying their contents, fixes memory leaks
			after every property access because dbus-glib copies the values
			from the DBusMessage into the GValue already.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2767 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-06 19:17:44 +00:00
Dan Williams
5dc24dd407 2007-09-06 Dan Williams <dcbw@redhat.com>
* introspection/nm-access-point.xml
		- Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
			them to be.  There's some magic property name parsing going on in
			dbus-glib that breaks up property names based on studly-caps and
			puts - between words.

	* libnm-glib/nm-access-point.c
		- (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
			Fix property names



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-06 19:15:49 +00:00
Dan Williams
8af139dff4 2007-09-06 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (nm_manager_user_connections_destroy): clear the user connections hash
			table, don't destroy it
		- (finalize): only destroy the hash table on NMManager finalization



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2765 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-06 19:13:00 +00:00
Dan Williams
d1ac371963 2007-09-02 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h
	  libnm-glib/nm-settings.c
		- defines for the user settings daemon D-Bus bits

	* src/NetworkManager.c
		- Remove stuff that referred to the old NetworkManagerInfo service

	* src/vpn-manager/nm-dbus-vpn.h
		- Move old NMI defines to the only place they are used still

	* libnm-util/nm-connection.c
	  libnm-util/nm-connection.h
	  src/nm-activation-request.c
		- Make NMConnection a GObject subclass so we can do spiffy stuff with it

	* src/nm-manager.c
	  src/nm-manager.h
		- Get connections and their settings from the user settings daemon
			at the appropriate times



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2763 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-03 01:12:23 +00:00
Dan Williams
074dfc3f56 2007-09-02 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
		- (nm_settings_verify): correct setting name is 'connection', not 'info'
		- (setting_wireless_hash): set the right value on the item



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2762 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-03 01:08:34 +00:00
Dan Williams
6cc9c20a9f Compile libnm-util with PIC
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2761 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-03 01:07:10 +00:00
Dan Williams
a461ac3b84 2007-09-02 Dan Williams <dcbw@redhat.com>
* test/Makefile.am
	  test/nminfotest.c
		- Remove, no longer useful



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2760 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-02 23:57:56 +00:00
Dan Williams
c4194f501e Update MAINTAINERS
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-02 23:57:41 +00:00
Dan Williams
73d81d0a7c Don't use EXIT_FAILURE/EXIT_SUCCESS
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2758 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-31 02:05:20 +00:00
Dan Williams
52033721dd 2007-08-30 Dan Williams <dcbw@redhat.com>
* src/Makefile.am
	  src/NetworkManagerDbus.c
	  src/NetworkManagerDbus.h
	  src/vpn-manager/nm-dbus-vpn.c
		- Remove, no longer necessary.  Move last bits to the only place its
		used, in nm-dbus-vpn.c

	* src/NetworkManagerAPList.c
	  src/nm-device.c
	  src/NetworkManager.c
	  src/nm-device-802-11-wireless.c
	  src/vpn-manager/nm-vpn-manager.c
	  src/vpn-manager/nm-vpn-service.c
	  src/NetworkManagerPolicy.c
	  src/nm-manager.c
		- Remove usage of NetworkManagerDbus.h, and kill the obfuscation
		that was message_is_error()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2757 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-31 02:01:44 +00:00
Dan Williams
daa923bc98 Include signal.h in nm-hal-manager.c
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2756 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 22:43:17 +00:00
Dan Williams
a6346fac4a Fix some warnings and other errors
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2755 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 21:54:56 +00:00
Dan Williams
05add38724 2007-08-30 Dan Williams <dcbw@redhat.com>
* libnm-util/sha1.c
		- Include config.h to get defines for endiannes (gnome.org #420216)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2753 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 14:07:22 +00:00
Dan Williams
53c23a2144 2007-08-30 Dan Williams <dcbw@redhat.com>
Patch from Philip Withnall <bugzilla@tecnocode.co.uk>

	* src/ppp-manager/Makefile.am
		- use -fPIC (gnome.org #471825)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2752 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 13:52:47 +00:00
Dan Williams
d596c6113b SSID is a required setting
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2750 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 03:34:12 +00:00
Dan Williams
5106f2451c Don't segfault on NULL settings values
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2749 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 03:15:52 +00:00
Dan Williams
fdbfbc1d6e connection setting must have at least name and type
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2748 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 03:15:32 +00:00
Dan Williams
ad0f89c69f 2007-08-29 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h
		- Keep NMConnection object path in sync

	* libnm-glib/nm-settings.c
	  libnm-glib/nm-settings.h
		- Break D-Bus object registration out of the init function, because
		every object that's exported over D-Bus needs to use the _same_
		DBusConnection.  Otherwise, each object would get a different object
		path tree and wouldn't be callable.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2747 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-30 02:45:29 +00:00
Dan Williams
9aab44b772 2007-08-29 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.h
	  libnm-util/nm-setting.c
	  libnm-util/nm-connection.c
	  src/NetworkManagerPolicy.c
		- 'info' settings object should be 'connection' says the spec
		at NetworkManagerConfigurationSpecification



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2746 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-29 21:27:52 +00:00
Dan Williams
3e4d340871 2007-08-29 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-settings.c
	  libnm-glib/nm-settings.h
		- make the dbus path a property of the object, and autogenerate it.
		It can't be composed of the 'id' field becuase that's not available
		yet during the GObject creation in nm_connection_settings_init()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2745 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-29 21:13:46 +00:00
Dan Williams
8bd92323e4 2007-08-29 Dan Williams <dcbw@redhat.com>
* introspection/nm-settings-connection.xml
	  introspection/nm-settings.xml
		- Service name -> NetworkManagerUserSettings because two services
		can't share part of the same path.  I'm not really sure how we'll use
		the same code with the system-settings daemon...



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-29 21:12:24 +00:00
Dan Williams
12169f7407 2007-08-28 Dan Williams <dcbw@redhat.com>
* src/nm-device-interface.c
	  src/nm-device-interface.h
		- Kill one more bit of NMData



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2743 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-28 15:58:01 +00:00