Commit Graph

15047 Commits

Author SHA1 Message Date
Tambet Ingo
73c459e884 Add .gitignore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3353 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 20:28:11 +00:00
Gil Forcada
ae8300c53b Updated Catalan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3350 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 15:44:39 +00:00
Gil Forcada
e256bab26f Updated Catalan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3349 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 15:40:23 +00:00
Gil Forcada
8e22b3bb9f Updated Catalan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3348 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 15:37:57 +00:00
Gil Forcada
7ae0e41a46 Updated Catalan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3347 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 15:37:25 +00:00
Saleem Abdulrasool
616663c69d new initscripts for Gentoo
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3346 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 06:07:50 +00:00
Dan Williams
8ffe21b65f 2008-02-27 Dan Williams <dcbw@redhat.com>
Patch from Will Stephenson <wstephenson@kde.org>

	* Makefile.am
	  configure.in
		- Set up spec autogeneration infrastructure

	* docs/NetworkManager DBUS API.txt
		- Note how old this doc is and where to look for the canonical
			D-Bus specification

	* introspection/*
		- Add annotations and comments



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3345 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 02:07:21 +00:00
Dan Williams
036e09cb49 2008-02-27 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (device_cleanup): cleanup any association attempt that might be in
			progress
		- (nm_device_802_11_wireless_dispose): device_cleanup() already
			destroys the AP list



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3344 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-27 23:10:09 +00:00
Dan Williams
d70072b20a 2008-02-25 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-settings.c
		- (set_property): use g_value_dup_object() to ref the object as was
			intended originally



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3343 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-25 22:08:45 +00:00
Dan Williams
ca97fe6469 2008-02-25 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-utils.c
		- (nm_utils_ssid_to_utf8): use a dynamically allocated buffer



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3342 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-25 22:07:40 +00:00
Dan Williams
ade314556c 2008-02-25 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
		- (nm_setting_compare): Fix C&P error from r3068 that caused settings
			comparisons to always succeed; clarify assignment of values to
			'different'



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3341 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-25 22:06:18 +00:00
Dan Williams
00a3dfbafa 2008-02-24 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c
	  libnm-util/nm-setting.h
		- (nm_setting_compare): fix 'fuzzy' compare logic; add IGNORE_ID bits;
			fix return value to match nm_connection_compare() meaning



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3340 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-25 03:32:43 +00:00
Dan Williams
91eb286b27 Clarify meaning of return value
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3339 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-25 03:18:46 +00:00
Dan Williams
85437f110d 2008-02-24 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-wireless.c
		- (nm_setting_wireless_class_init): 'seen bssids' should be ignored for
			fuzzy matches



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3338 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-25 03:16:48 +00:00
Wadim Dziedzic
38b9ac6778 2008-02-24 Wadim Dziedzic <wadimd@svn.gnome.org>
* pl.po: Updated polish translation

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3337 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-23 23:12:46 +00:00
Dan Williams
316abd62fd 2008-02-20 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-connection.c
	  libnm-util/nm-connection.h
		- (nm_connection_compare): accept compare flags and pass them to the
			setting compare function

	* libnm-util/nm-setting.c
	  libnm-util/nm-setting.h
		- (nm_setting_compare): accept compare flags; ignore properties that are
			marked fuzzy

	* libnm-util/nm-setting-connection.c
	  libnm-util/nm-setting-wireless.c
	  libnm-util/nm-setting-ppp.c
	  libnm-util/nm-setting-wired.c
		- Mark some setting properties as ignorable when doing a fuzzy compare

	* src/nm-device.c
		- (device_activation_precheck): use exact compare



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3336 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-21 04:34:34 +00:00
Dan Williams
f53230715e 2008-02-20 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (nm_policy_device_change_check): get scope off the connection, not
			using the manager helper

	* src/nm-manager.c
	  src/nm-manager.h
		- (get_scope_for_proxy): rename from get_type_for_proxy()
		- (connection_get_settings_cb): set scope and path on connection, not
			using GObject data items
		- (get_connection_for_proxy): don't need to return path, since that
			can be gotten from the connection
		- (get_connection_for_proxy): get path off the connection, not from
			parameters
		- (connection_removed_cb, connection_updated_cb): don't need to get
			path from get_connection_for_proxy(); get scope off the connection
			instead of using GObject data items
		- (connection_added_default_handler, add_one_connection_element): use
			nm_connection_get_path() not nm_manager_get_connection_dbus_path()
		- (nm_manager_get_connection_dbus_path): remove
		- (nm_manager_get_connection_scope): remove



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3335 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-21 03:04:18 +00:00
Dan Williams
fd0ab916c8 2008-02-20 Dan Williams <dcbw@redhat.com>
* Global rename of NMConnectionSettings -> NMExportedConnection to cut down
		on confusing names

	* Add 'path' and 'scope' properties to NMConnection since both NM and the
		applet were having to hack this in anyway.  Remove the 'path' stuff from
		NMExportedConnection

	* Internally rename NMConnectionType -> NMConnectionScope

	* Provide default implementations of the 'get_id' and 'get_settings' methods
		of NMExportedConnection



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3334 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-20 22:37:39 +00:00
Dan Williams
ba4da641b5 Fix c&p error
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3333 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-20 19:32:29 +00:00
Inaki Larranaga Murgoitio
dfaf05375d 2008-02-20 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* LINGUAS: Added 'eu' (Basque) entry.
	* eu.po: Added Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3332 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-20 10:41:05 +00:00
Inaki Larranaga Murgoitio
cdadda4d29 2008-02-20 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* LINGUAS: Added 'eu' (Basque) entry.
	* eu.po: Added Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3331 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-20 10:40:02 +00:00
Inaki Larranaga Murgoitio
d80f2dc95c 2008-02-20 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* LINGUAS: Added 'eu' (Basque) entry.
	* eu.po: Added Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3330 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-20 10:38:51 +00:00
Inaki Larranaga Murgoitio
7a7accfc68 2008-02-20 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* LINGUAS: Added 'eu' (Basque) entry.
	* eu.po: Added Basque translation.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3329 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-20 10:37:29 +00:00
Yannig Marchegay
99c1ebdf69 Updated Occitan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3328 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-19 21:33:07 +00:00
Ilkka Tuohela
ce8d3405f9 Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3327 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-19 05:06:31 +00:00
Ilkka Tuohela
e740834141 Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3326 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-19 05:03:01 +00:00
Yair Hershkovitz
2df0f2c8d3 added hebrew translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3324 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-17 11:40:05 +00:00
Yair Hershkovitz
0e1cb2ab79 added hebrew translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3323 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-17 11:38:47 +00:00
Dan Williams
df56b5485d 2008-02-15 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (device_cleanup): release the AP list here too so that the AP list
			doesn't survive across suspend/resume and up/down.  There is some
			room for optimization, for example blow the list away when the card
			brought back up, but only if the device has only been down for a
			minute or more.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3322 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-15 23:17:44 +00:00
Dan Williams
67763ef3cd 2008-02-15 Dan Williams <dcbw@redhat.com>
* src/nm-hal-manager.c
		- (modem_device_creator): recognize new HAL modem capabilities



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3321 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-15 23:12:56 +00:00
Pawan Chitrakar
635eefa389 Updated Nepali Translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3319 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-14 10:23:35 +00:00
Ignacio Casal Quinteiro
d356d9c389 Updated Galician Translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3318 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-13 15:27:24 +00:00
Dan Williams
70afa9214b 2008-02-12 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg-fedora/plugin.c
		- (watch_path): handle IN_DELETE_SELF too
		- (handle_connection_changed): notify when removing a connection
		- (stuff_changed): don't warn on unknown inotify watches; handle the
			case of a file moving out of the profile directory



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3312 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-12 20:25:12 +00:00
Dan Williams
9f7149568e 2008-02-12 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg-fedora/parser.c
		- (make_ip4_setting): bring IPv4 setting handling more up to spec



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3311 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-12 20:22:20 +00:00
Dan Williams
6130a4f6b8 2008-02-12 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-utils.c
		- (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
			just any empty array



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3310 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-12 20:21:36 +00:00
Dan Williams
5b87ceab92 2008-02-12 Dan Williams <dcbw@redhat.com>
* system-settings/src/nm-system-config-interface.c
	  system-settings/src/nm-system-config-interface.h
		- (load_connections): get_connections() should now return an allocated
			GSList that the system settings service will free

	* system-settings/plugins/ifcfg-fedora/plugin.c
	  system-settings/plugins/ifcfg-fedora/parser.h
	  system-settings/plugins/ifcfg-fedora/parser.c
		- Fix up inotify issues; handle keys-* files, handle new files appearing
			in the profile directory, handle resolv.conf file changes




git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-12 19:20:18 +00:00
Dan Williams
e476f3a6e5 2008-02-10 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-3-ethernet.c
		- (real_bring_up): save the supplicant interface state signal id
		- (real_bring_down): disconnect from the supplicant interface state
			signal



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3304 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-10 17:23:23 +00:00
Dan Williams
ce4d802a3e Fix type passed to signal handler
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3303 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-08 19:41:19 +00:00
Dan Williams
9587569b5a 2008-02-07 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in
	  initscript/RedHat/NetworkManagerDispatcher.in
		- Add new-style LSB init headers



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3302 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 21:37:43 +00:00
Artur Flinta
14f91e5625 2008-02-07 Artur Flinta <aflinta@svn.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3301 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 21:29:17 +00:00
Dan Williams
b1c9d520b1 Remove debug print
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3300 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 20:31:13 +00:00
Dan Williams
bee138144b 2008-02-07 Dan Williams <dcbw@redhat.com>
* system-settings/src/dbus-settings.c
	  system-settings/src/dbus-settings.h
		- (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
			table of secrets
		- (connection_settings_get_secrets): consolidate error returns into
			one place; use the new get_secrets() plugin interface function to
			get secrets from the plugin itself rather than using GObject data
			magic

	* system-settings/src/main.c
		- (connection_added_cb, connection_removed_cb, free_plugin_connections,
		   load_connections): keep a private list of the plugin-returned
			connections, don't use the plugin's GSList

	* system-settings/plugins/ifcfg-fedora/plugin.c
		- (watch_path): watch the path, not the filename (duh)
		- (reload_all_connections): use the direct hash/equal functions; the
			ones for int aren't appropriate here
		- (get_secrets, system_config_interface_init): implement the
			get_secrets() function
		- (build_one_connection, find_connection_by_path): ifcfg file path is
			now in the connection's ConnectionData instead of being a GObject
			data property
		- (handle_profile_item_changed): ifcfg file path is now in the
			connection's ConnectionData instead of being a GObject data property;
			be sure to copy secrets over from the new connection to the existing
			connection when updating the connection's settings
		- (init): sc_plugin_inotify_init() returns success/fail, not the inotify
			file descriptor

	* system-settings/plugins/ifcfg-fedora/parser.c
	  system-settings/plugins/ifcfg-fedora/parser.h
		- (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
		   connection_data_copy_secrets, connection_data_free,
		   connection_data_add): new functions; connection data manipulation
		- (make_wireless_security_setting): stuff secrets into the
			connection data, not as GObject data items; make sure to close
			the keys ifcfg file
		- (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
			connection data to the connection



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3299 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 20:11:31 +00:00
Dan Williams
4cdb4287ec Update changelog for last commit
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3298 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 18:48:16 +00:00
Dan Williams
88deb6ea35 2008-02-07 Dan Williams <dcbw@redhat.com>
* system-settings/src/nm-system-config-interface.c
	  system-settings/src/nm-system-config-interface.h
		- Add a get_secrets() interface function to retrieve secrets for a
			specific setting of a specific connection.  Document the interface
			a bit more too.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3297 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 18:47:47 +00:00
Dan Williams
a14d0b6184 2008-02-07 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (handle_auth_or_fail): new function; consolidate device activation
			failure check after a certain number of failures getting secrets
		- (supplicant_connection_timeout_cb, real_act_stage2_config,
		   real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
			the connection if secrets were requested more than a few times
		- (real_act_stage3_ip_config_start): don't clear the wireless secrets
			tries here; otherwise they are cleared before the IP configure
			timeout, which happens with open system WEP when key is wrong
		- (activation_success_handler): clear wireless secrets tries here too



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3296 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 18:45:22 +00:00
Dan Williams
17a9938480 2008-02-07 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
		- (connection_updated): clear invalid tag when connection gets updated
			to allow that connection to be tried again
		- (nm_policy_new): save signal ids so they can be disconnected when
			the policy is destroyed
		- (nm_policy_destroy): stop any in-progress state change idle handler,
			and disconnect all signals from the manager object so that none
			of the policy functions gets called after the policy is destroyed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3295 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 18:41:42 +00:00
Dan Williams
feb93a6a9b 2008-02-06 Dan Williams <dcbw@redhat.com>
Patch from Ryan Ayers <rayers.public@dividia.net>

	* src/nm-openvpn-service-openvpn-helper.c
		- (main): respect server-provided DNS search domain



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3294 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-06 18:34:12 +00:00
Dan Williams
44dab5321f 2008-02-06 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (finalize): remove devices a bit earlier; clean up system settings
			poke
		- (nm_manager_name_owner_changed): clean up system settings poke when
			the service appears, and try to restart it if it fails
		- (poke_system_settings_daemon_cb): try to get the system settings
			service started through D-Bus service activation
		- (initial_get_connections): start the system settings daemon if it's
			not already running



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3293 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-06 16:50:43 +00:00
Dan Williams
f20d9b2625 2008-02-05 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-config.c
		- (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
			broadcast networks too



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3291 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-05 15:44:41 +00:00
Dan Williams
1065f22f02 2008-02-04 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg-fedora/parser.c
		- (make_wireless_security_setting): fix spelling; unencrypted networks
			need key_mgmt set too
		- (parser_parse_file): validate ifcfg file name and don't try to parse
			.bak files; ensure that an error is set whenever NULL gets returned



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3290 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-04 23:18:16 +00:00