1. 18 Apr, 2008 1 commit
  2. 17 Apr, 2008 5 commits
  3. 16 Apr, 2008 5 commits
  4. 15 Apr, 2008 6 commits
    • Dan Williams's avatar
      2008-04-15 Dan Williams <dcbw@redhat.com> · a993d446
      Dan Williams authored
      	Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
      
      	* src/NetworkManagerSystem.h
      	  src/backends/NetworkManagerArch.c
      	  src/backends/NetworkManagerDebian.c
      	  src/backends/NetworkManagerFrugalware.c
      	  src/backends/NetworkManagerGeneric.c
      	  src/backends/NetworkManagerGeneric.h
      	  src/backends/NetworkManagerGentoo.c
      	  src/backends/NetworkManagerMandriva.c
      	  src/backends/NetworkManagerPaldo.c
      	  src/backends/NetworkManagerRedHat.c
      	  src/backends/NetworkManagerSlackware.c
      	  src/backends/NetworkManagerSuSE.c
      	  src/nm-device.c
      		- (nm_generic_device_add_ip6_link_address,
      		   nm_system_device_add_ip6_link_address): remove
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3564 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      a993d446
    • Dan Williams's avatar
      2008-04-15 Dan Williams <dcbw@redhat.com> · 1c885c6a
      Dan Williams authored
      	Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
      
      	* src/backends/NetworkManagerArch.c
      	  src/backends/NetworkManagerDebian.c
      	  src/backends/NetworkManagerFrugalware.c
      	  src/backends/NetworkManagerGeneric.c
      	  src/backends/NetworkManagerGeneric.h
      	  src/backends/NetworkManagerGentoo.c
      	  src/backends/NetworkManagerMandriva.c
      	  src/backends/NetworkManagerPaldo.c
      	  src/backends/NetworkManagerRedHat.c
      	  src/backends/NetworkManagerSlackware.c
      	  src/backends/NetworkManagerSuSE.c
      	  src/NetworkManagerSystem.h
      		- flush_routes -> flush_ip4_routes
      		- flush_addresses -> flush_ip4_addresses
      
      	* src/NetworkManagerSystem.c
      	  src/nm-device.c
      	  src/vpn-manager/nm-vpn-connection.c
      		- flush only IPv4 addresses; don't touch IPv6 routes and addresses
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3563 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      1c885c6a
    • Dan Williams's avatar
      2008-04-15 Dan Williams <dcbw@redhat.com> · 1e1c99af
      Dan Williams authored
      	Remove exposure of wireless-tools mode types in the API.
      
      	* include/NetworkManager.h
      		- Define NM80211Mode enum
      
      	* introspection/generic-types.xml
      		- Describe NM_802_11_MODE enum
      		- Remove IW_MODE_* enum
      
      	* introspection/nm-access-point.xml
      	  libnm-glib/nm-access-point.c
      	  libnm-glib/nm-access-point.h
      		- 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
      
      	* introspection/nm-device-802-11-wireless.xml
      	  libnm-glib/nm-device-802-11-wireless.c
      	  libnm-glib/nm-device-802-11-wireless.h
      		- 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
      
      	* libnm-util/nm-setting-wireless.c
      	  src/NetworkManagerAP.c
      	  src/NetworkManagerAP.h
      	  src/nm-device-802-11-wireless.c
      	  src/nm-device-802-11-wireless.h
      	  test/nm-tool.c
      		- Use NM80211Mode not IW_MODE_*
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3562 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      1e1c99af
    • Dan Williams's avatar
      2008-04-15 Dan Williams <dcbw@redhat.com> · 95c44ecc
      Dan Williams authored
      	Enhance nm-online based on a patch from Bill Nottingham.
      
      	* test/nm-online.c
      		- Add a '-q' option
      		- Add help messages and option summary
      		- Add long-format options
      		- Add a '-x' option to exit if NM isn't running or isn't connecting
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3561 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      95c44ecc
    • Tambet Ingo's avatar
      2008-04-15 Tambet Ingo <tambet@gmail.com> · 0d91f460
      Tambet Ingo authored
      	* libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
      
      	* libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3560 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      0d91f460
    • Dan Williams's avatar
      2008-04-15 Dan Williams <dcbw@redhat.com> · 84011a9a
      Dan Williams authored
      	* nm-setting-ip4-config.c
      		- (ip4_addresses_from_gvalue): handle NULL address array
      
      	* nm-setting-8021x.c
      		- (verify_tls, verify_ttls): warn on failed verification
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3559 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      84011a9a
  5. 13 Apr, 2008 1 commit
  6. 10 Apr, 2008 7 commits
  7. 08 Apr, 2008 12 commits
    • Dan Williams's avatar
      2008-04-08 Dan Williams <dcbw@redhat.com> · 9a495061
      Dan Williams authored
      	* libnm-glib/nm-object-cache.c
      	  libnm-glib/nm-settings.c
      	  src/dhcp-manager/nm-dhcp-manager.c
      	  system-settings/plugins/ifcfg-fedora/plugin.c
      	  system-settings/plugins/ifcfg-suse/plugin.c
      	  system-settings/src/nm-system-config-hal-manager.c
      	  libnm-util/nm-utils.c
      		- Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
      			not threadsafe anyway
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3548 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      9a495061
    • Dan Williams's avatar
      Correct path · 48ef1090
      Dan Williams authored
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3547 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      48ef1090
    • Dan Williams's avatar
      2008-04-08 Dan Williams <dcbw@redhat.com> · c066672f
      Dan Williams authored
      	* system-settings/src/main.c
      		- (load_stuff, device_added_cb, device_removed_cb): device added/removed
      			callbacks take a device type too
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3546 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c066672f
    • Dan Williams's avatar
      Remove unused function · 958a96de
      Dan Williams authored
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3545 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      958a96de
    • Dan Williams's avatar
      2008-04-08 Dan Williams <dcbw@redhat.com> · 0825542f
      Dan Williams authored
      	The system settings service will now create a new default DHCP connection
      	for wired devices that have no existing applicable connection.
      
      	* system-settings/src/nm-system-config-hal-manager.c
      	  system-settings/src/nm-system-config-hal-manager.h
      		- (nm_system_config_hal_manager_get_type_for_udi): new function
      
      	* system-settings/src/dbus-settings.c
      	  system-settings/src/dbus-settings.h
      		- (nm_sysconfig_settings_get_connections): new function
      		- (nm_sysconfig_settings_is_device_managed): new function
      
      	* system-settings/src/main.c
      		- (load_stuff): check for wired devices that need a default connection
      		- (get_details_for_udi): get interface and MAC address from HAL
      		- (add_default_dhcp_connection): add a default connection for a wired
      			device if needed
      		- (device_added_cb, device_removed_cb): do the right thing with
      			wired devices and their default connections on HAL device events
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3544 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      0825542f
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · c53aa093
      Dan Williams authored
      	* libnm-glib/nm-device.c
      	  libnm-glib/nm-device.h
      		- Proxy the 'managed' property
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3543 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c53aa093
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · ff2b85dc
      Dan Williams authored
      	* src/nm-gsm-device.c
      	  src/nm-cdma-device.c
      		- (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
      			handler to transition to DISCONNECTED
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3542 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      ff2b85dc
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · 34d5841b
      Dan Williams authored
      	Patch from Bill Nottingham
      
      	* dispatcher-daemon/NetworkManagerDispatcher.c
      		- ignore backup/packaging crufy (rh #440143)
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3541 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      34d5841b
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · 54aac188
      Dan Williams authored
      	* include/NetworkManager.h
      		- Remove the DOWN and CANCELLED device states
      		- Add UNMANAGED and UNAVAILABLE device states
      		- Document the device states
      
      	* introspection/nm-device.xml
      	  src/nm-device-interface.c
      	  src/nm-device-interface.h
      		- Add the 'managed' property
      
      	* test/nm-tool.c
      		- (detail_device): print out device state
      
      	* src/NetworkManagerSystem.h
      	  src/backends/NetworkManagerArch.c
      	  src/backends/NetworkManagerDebian.c
      	  src/backends/NetworkManagerFrugalware.c
      	  src/backends/NetworkManagerGentoo.c
      	  src/backends/NetworkManagerMandriva.c
      	  src/backends/NetworkManagerPaldo.c
      	  src/backends/NetworkManagerRedHat.c
      	  src/backends/NetworkManagerSlackware.c
      	  src/backends/NetworkManagerSuSE.c
      		- (nm_system_device_get_system_config, nm_system_device_get_disabled
      		   nm_system_device_free_system_config): remove; they were unused and
      			their functionality should be re-implemented in each distro's
      			system settings service plugin 
      
      	* src/nm-gsm-device.c
      	  src/nm-gsm-device.h
      	  src/nm-cdma-device.c
      	  src/nm-cdma-device.h
      		- (*_new): take the 'managed' argument
      
      	* src/nm-device.c
      		- (nm_device_set_address): remove, fold into nm_device_bring_up()
      		- (nm_device_init): start in unmanaged state, not disconnected
      		- (constructor): don't start device until the system settings service
      			has had a chance to figure out if the device is managed or not
      		- (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
      			don't set device state here, let callers handle that as appropriate
      		- (nm_device_dispose): don't touch the device if it's not managed
      		- (set_property, get_property, nm_device_class_init): implement the
      			'managed' property
      		- (nm_device_state_changed): bring the device up if its now managed,
      			and deactivate it if it used to be active
      		- (nm_device_get_managed, nm_device_set_managed): do the right thing
      			with the managed state
      
      	* src/nm-hal-manager.c
      		- (wired_device_creator, wireless_device_creator, modem_device_creator):
      			take initial managed state and pass it along to device constructors
      		- (create_device_and_add_to_list): get managed state and pass to
      			type creators
      
      	* src/nm-device-802-11-wireless.c
      		- (real_can_activate): fold in most of
      			nm_device_802_11_wireless_can_activate()
      		- (can_scan): can't scan in UNAVAILABLE or UNMANAGED
      		- (link_timeout_cb): instead of deactivating, change device state and
      			let the device state handler to it
      		- (real_update_hw_address): clean up
      		- (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
      			handler to transition to DISCONNECTED if the device isn't rfkilled
      
      	* src/nm-device-802-3-ethernet.c
      		- (set_carrier): move above callers and get rid of prototype
      		- (device_state_changed): when entering UNAVAILABLE state, schedule an
      			idle handler to transition to DISCONNECTED if the device has a
      			carrier
      		- (real_update_hw_address): clean up
      		- (link_timeout_cb, ppp_state_changed): change state instead of calling
      			deactivation directly as deactivation doesn't change state anymore
      
      	* src/NetworkManagerPolicy.c
      		- (schedule_activate_check): yay, remove wireless_enabled hack since
      			the NMManager and wireless devices work that out themselves now
      		- (device_state_changed): change to a switch and update for new device
      			states
      		- (device_carrier_changed): remove; device handles this now through
      			state changes
      		- (device_added): don't care about carrier any more; the initial
      			activation check will happen when the device transitions to
      			DISCONNECTED
      
      	* src/nm-manager.c
      		- (dispose): clear unmanaged devices
      		- (handle_unmanaged_devices): update unmanaged device list and toggle
      			the managed property on each device when needed
      		- (system_settings_properties_changed_cb): handle signals from the
      			system settings service
      		- (system_settings_get_unmanaged_devices_cb): handle callback from
      			getting the unmanaged device list method call
      		- (query_unmanaged_devices): ask the system settings service for its
      			list of unmanaged devices
      		- (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
      			devices
      		- (manager_set_wireless_enabled): push rfkill state down to wireless
      			devices directly and let them handle the necessary state transitions
      		- (manager_device_state_changed): update for new device states
      		- (nm_manager_add_device): set initial rfkill state on wireless devices
      		- (nm_manager_remove_device): don't touch the device if it's unmanaged
      		- (nm_manager_activate_connection): return error if the device is
      			unmanaged
      		- (nm_manager_sleep): handle new device states correctly; don't change
      			the state of unavailable/unmanaged devices
      
      	* libnm-glib/nm-device-802-11-wireless.c
      		- (state_changed_cb): update for new device states
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3540 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      54aac188
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · d773c898
      Dan Williams authored
      	* marshallers/nm-marshal.list
      		- Add VOID:STRING,UINT marshaller for system settings HAL manager
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3539 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      d773c898
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · 5ba11eec
      Dan Williams authored
      	* system-settings/src/main.c
      		- (unmanaged_devices_changed_cb, register_plugin): proxy changes from
      			plugins to the dbus settings object
      		- (load_stuff): start the dbus service after grabbing unmanaged devices
      		- (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
      		- (log_handler, logging_setup, logging_shutdown): log output to syslog
      		- (main): switch default logging to syslog with a 'debug' option to
      			output to console; start up the HAL manager
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3538 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      5ba11eec
    • Dan Williams's avatar
      2008-04-07 Dan Williams <dcbw@redhat.com> · 67149b36
      Dan Williams authored
      	* introspection/nm-settings-system.xml
      	  introspection/Makefile.am
      		- Define the unmanaged devices interface for the system settings service
      
      	* system-settings/src/nm-system-config-hal-manager.c
      	  system-settings/src/nm-system-config-hal-manager.h
      	  system-settings/src/nm-system-config-hal-manager-private.h
      	  system-settings/src/Makefile.am
      		- Add a lightweight HAL manager object for tracking network devices for
      			the purpose of determining unmanaged devices and which devices need
      			the default DHCP connections
      
      	* system-settings/src/nm-system-config-interface.c
      	  system-settings/src/nm-system-config-interface.h
      		- (nm_system_config_interface_init): add the HAL manager as an argument
      		- (nm_system_config_interface_get_unmanaged_devices): implement
      		- Define 'unmanaged-devices-changed' signal
      
      	* system-settings/src/dbus-settings.c
      	  system-settings/src/dbus-settings.h
      		- Implement the unmanaged devices interface; some cleanups
      
      	* system-settings/plugins/ifcfg-suse/plugin.c
      		- Fixup for plugin interface changes
      
      	* system-settings/plugins/ifcfg-fedora/plugin.c
      		- (get_ether_device_udi): new function; find the device that has
      			a specified MAC address and return its UDI
      		- (get_udi_for_connection): new function; try to find the specific
      			device a connection is locked to, if any
      		- (device_added_cb, device_removed_cb): update unmanaged device list in
      			response to HAL events
      		- (get_unmanaged_devices): new function; return unmanaged device list
      		- (build_one_connection): set the connection's locked device, if any
      		- (write_auto_wired_connection): remove
      		- (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
      		- (handle_connection_changed): alert listeners that the unmanaged device
      			list has changed
      		- (init): fixup for plugin interface changes, implement unmanaged devices
      
      	* system-settings/plugins/ifcfg-fedora/parser.c
      	  system-settings/plugins/ifcfg-fedora/parser.h
      		- (connection_data_free): clean up connection UDI
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3537 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      67149b36
  8. 07 Apr, 2008 2 commits
  9. 05 Apr, 2008 1 commit
    • Dan Williams's avatar
      2008-04-05 Dan Williams <dcbw@redhat.com> · 04227844
      Dan Williams authored
      	* Makefile.am
      	  configure.in
      	  marshallers/Makefile.am
      	  marshallers/nm-marshal-main.c
      	  marshallers/nm-marshal.list
      		- Consolidate marshallers
      
      	* libnm-glib/nm-marshal-main.c
      	  libnm-glib/nm-marshal.list
      	  src/marshallers/Makefile.am
      	  src/marshallers/nm-marshal-main.c
      	  src/marshallers/nm-marshal.list
      		- Remove
      
      	* libnm-glib/Makefile.am
      	  src/Makefile.am
      	  src/dhcp-manager/Makefile.am
      	  src/ppp-manager/Makefile.am
      	  src/supplicant-manager/Makefile.am
      	  src/vpn-manager/Makefile.am
      		- Use consolidated marshallers
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3533 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      04227844