1. 13 Nov, 2014 1 commit
    • Dan Winship's avatar
      all: consistently include config.h · 3bfb163a
      Dan Winship authored
      config.h should be included from every .c file, and it should be
      included before any other include. Fix that.
      
      (As a side effect of how I did this, this also changes us to
      consistently use "config.h" rather than <config.h>. To the extent that
      it matters [which is not much], quotes are more correct anyway, since
      we're talking about a file in our own build tree, not a system
      include.)
      3bfb163a
  2. 07 Jun, 2014 1 commit
  3. 27 May, 2014 1 commit
  4. 03 Aug, 2013 1 commit
  5. 10 Nov, 2011 1 commit
  6. 23 Feb, 2011 1 commit
    • Dan Williams's avatar
      libnm-util: remove nm_warning/nm_info/nm_error macros · eab58511
      Dan Williams authored
      Clients need to do their own logging using glib or whatever; these
      macros while somewhat helpful were not flexible and are not a
      substitute for actual logging in the client.  g_warning, g_message,
      and g_error are more suitable anyway.
      eab58511
  7. 18 Feb, 2011 2 commits
  8. 12 Mar, 2010 1 commit
  9. 20 Dec, 2008 1 commit
  10. 19 Dec, 2008 1 commit
    • Dan Williams's avatar
      Re-add WINS support to the IPv4 config · a020ed21
      Dan Williams authored
      Don't do anything with WINS servers (dispatcher scripts installed with
      samba could certainly update samba's idea of WINS servers), but at least
      provide them so that the VPNs that can get upstream WINS servers can
      at least make other stuff aware of them.
      a020ed21
  11. 14 Nov, 2008 1 commit
  12. 29 Oct, 2008 1 commit
    • Dan Williams's avatar
      2008-10-29 Dan Williams <dcbw@redhat.com> · bfb72436
      Dan Williams authored
      	* libnm-util/libnm-util.ver
      	  libnm-util/nm-setting-ip4-config.c
      	  libnm-util/nm-setting-ip4-config.h
      		- Make properties private and add accessor functions
      
      	* callouts/nm-dispatcher-action.c
      	  libnm-glib/libnm-glib-test.c
      	  libnm-util/nm-utils.c
      	  src/NetworkManagerPolicy.c
      	  src/NetworkManagerSystem.c
      	  src/NetworkManagerUtils.c
      	  src/dhcp-manager/nm-dhcp-dhclient.c
      	  src/dhcp-manager/nm-dhcp-manager.c
      	  src/dnsmasq-manager/nm-dnsmasq-manager.c
      	  src/nm-device-wifi.c
      	  src/nm-device.c
      	  src/nm-hso-gsm-device.c
      	  src/nm-ip4-config.c
      	  src/nm-ip4-config.h
      	  src/ppp-manager/nm-ppp-manager.c
      	  src/vpn-manager/nm-vpn-connection.c
      	  system-settings/plugins/ifcfg-fedora/reader.c
      	  system-settings/plugins/ifcfg-suse/parser.c
      	  system-settings/plugins/ifcfg-suse/plugin.c
      	  system-settings/plugins/ifupdown/parser.c
      	  test/nm-tool.c
      	  vpn-daemons/vpnc/properties/nm-vpnc.c
      		- Use IP4 accessor functions
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4233 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      bfb72436
  13. 07 Aug, 2008 2 commits
    • Dan Williams's avatar
      2008-08-07 Dan Williams <dcbw@redhat.com> · bcae3129
      Dan Williams authored
      	* introspection/nm-ip4-config.xml
      	  libnm-glib/libnm-glib-test.c
      	  libnm-glib/nm-ip4-config.c
      	  libnm-glib/nm-ip4-config.h
      	  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/dhcp-manager/nm-dhcp-manager.c
      	  src/nm-device.c
      	  src/nm-ip4-config.c
      	  src/nm-ip4-config.h
      		- Remove NIS logic; should be done from dispatcher scripts instead
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3909 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      bcae3129
    • Dan Williams's avatar
      2008-08-07 Dan Williams <dcbw@redhat.com> · 881370ab
      Dan Williams authored
      	* include/NetworkManager.h
      		- Add the DHCP4Config D-Bus interface
      
      	* libnm-glib/Makefile.am
      	  libnm-glib/nm-dhcp4-config.c
      	  libnm-glib/nm-dhcp4-config.h
      		- Handle DHCP4 config objects exported by NM over D-Bus
      
      	* libnm-glib/nm-device.c
      	  libnm-glib/nm-device.h
      		- Add a 'dhcp4-config' property
      
      	* libnm-glib/libnm-glib-test.c
      		- Print out DHCP4 config for devices
      		- Fix some crashes when no connections are active
      
      	* src/nm-device-interface.c
      	  src/nm-device.c
      	  src/nm-dhcp4-config.c
      	  src/nm-dhcp4-config.h
      		- Treat dhcp4-config object as an object path at the D-Bus interface so
      			that when it doesn't exist we can proxy it as "/" which dbus-glib
      			doesn't let us do when the property type is G_TYPE_OBJECT
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3905 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      881370ab
  14. 07 Jul, 2008 1 commit
  15. 26 Jun, 2008 1 commit
  16. 10 Jun, 2008 2 commits
  17. 06 May, 2008 1 commit
    • Dan Williams's avatar
      2008-05-06 Dan Williams <dcbw@redhat.com> · 51503b2d
      Dan Williams authored
      	* src/dhcp-manager/nm-dhcp-manager.c
      		- (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
      			NMIP4Config to support multiple IP addresses
      
      	* src/NetworkManagerUtils.c
      		- (nm_utils_merge_ip4_config): update for multiple IP addresses
      
      	* src/nm-ip4-config.c
      	  src/nm-ip4-config.h
      		- Store a list of IPv4 address/netmask/gateway tuples
      		- (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
      		   nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
      		   nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
      		   nm_ip4_config_set_address): remove
      		- (nm_ip4_config_take_address, nm_ip4_config_add_address,
      		   nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
      			new functions; handle multiple IPv4 addresses
      
      	* src/nm-device.c
      	  src/ppp-manager/nm-ppp-manager.c
      	  src/vpn-manager/nm-vpn-connection.c
      	  src/NetworkManagerPolicy.c
      	  test/nm-tool.c
      	  libnm-glib/libnm-glib-test.c
      		- update for changes to NMIP4Config for multiple IPv4 addresses
      
      	* src/NetworkManagerSystem.c
      		- (nm_system_device_set_ip4_route): don't add the route if any address
      			is on the same subnet as the destination
      		- (check_one_address): ignore the exact match, just match family and
      			interface index
      		- (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
      			an interface
      		- (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
      		- (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
      
      	* introspection/nm-ip4-config.xml
      		- Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
      		- Add 'addresses' property which is an array of (uuu) tuples of
      			address/netmask/gateway
      
      	* libnm-util/nm-setting-ip4-config.c
      		- (set_property): use ip-address <-> GValue converters from nm-utils.c
      
      	* libnm-glib/nm-ip4-config.c
      	  libnm-glib/nm-ip4-config.h
      		- Handle D-Bus interface changes to support multiple IP addresses
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3637 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      51503b2d
  18. 27 Mar, 2008 1 commit
    • Dan Williams's avatar
      2008-03-27 Dan Williams <dcbw@redhat.com> · c01b4c9e
      Dan Williams authored
      	* nm-object.c
      		- (nm_object_queue_notify): don't notify multiple times for the same
      			property
      
      	* nm-object-private.h
      		- (handle_ptr_array_return): return NULL if the given array is NULL or
      			if it has zero elements
      
      	* nm-ip4-config.c
      		- (finalize): use g_ptr_array_foreach() when freeing domains
      		- (nm_ip4_config_get_domains): use handle_ptr_array_return()
      
      	* nm-active-connection.c
      		- (nm_active_connection_get_devices): use handle_ptr_array_return()
      
      	* nm-device-802-11-wireless.c
      	  nm-device-802-11-wireless.h
      		- (nm_device_802_11_wireless_get_access_points): return const; use
      			handle_ptr_array_return()
      
      	* nm-types.c
      		- (nm_object_array_demarshal): always create an array, even of length
      			zero, to distinguish between "NM returned no items" and "haven't
      			asked NM yet"
      
      	* nm-client.c
      		- (dispose): free active connections too
      		- (proxy_name_owner_changed): free active connections too when NM goes
      			away
      		- (nm_client_get_devices): return const; use handle_ptr_array_return()
      		- (nm_client_get_active_connections): use handle_ptr_array_return()
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3506 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c01b4c9e
  19. 24 Mar, 2008 1 commit
    • Dan Williams's avatar
      2008-03-24 Dan Williams <dcbw@redhat.com> · 00735165
      Dan Williams authored
      	Massive fixup of libnm-glib to:
      	a) have all objects (with the exception of VPN) cache their properties and
      		update them asynchronously on PropertiesChanged signals from NM
      	b) return internal const data for most attributes/properties instead of
      		allocated values that the caller must free
      	c) cache wrapped objects such that a given D-Bus path will always map to the
      		same GObject returned by libnm-glib
      	d) remove a few signals and move them to GObject property notifications
      	e) match recent NM D-Bus API changes for activation/deactivation
      	f) remove some private functions from libnm-glib headers
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3491 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      00735165
  20. 14 Mar, 2008 1 commit
    • Dan Williams's avatar
      2008-03-14 Dan Williams <dcbw@redhat.com> · a90c522d
      Dan Williams authored
      	* include/wireless-helper.h
      	  include/Makefile.am
      		- One place for all the junk needed for #including wireless.h
      
      	* test/nm-tool.c
      	  src/NetworkManagerAP.c
      	  src/wpa.c
      	  src/Makefile.am
      	  libnm-util/nm-utils.c
      	  libnm-util/nm-setting-wireless.c
      	  libnm-glib/nm-device-802-11-wireless.c
      	  libnm-glib/nm-access-point.c
      	  libnm-glib/libnm-glib-test.c
      		- include wireless-helper.h, not iwlib.h
      
      	* configure.in
      		- Don't need libiw really, just need to check for wireless.h
      
      	* src/kernel-types.h
      		- Remove; used types moved into wpa.c
      
      	* src/nm-device-802-11-wireless.c
      		- (nm_device_802_11_wireless_update_signal_strength,
      		   real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
      		   nm_device_802_11_wireless_set_mode,
      		   nm_device_802_11_wireless_get_frequency,
      		   nm_device_802_11_wireless_get_ssid,
      		   nm_device_802_11_wireless_set_ssid,
      		   nm_device_802_11_wireless_get_bitrate,
      		   nm_device_802_11_wireless_get_bssid,
      		   nm_device_802_11_wireless_disable_encryption): use ioctl() directly
      			instead of iwlib functions
      
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3462 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      a90c522d
  21. 12 Mar, 2008 2 commits
    • Dan Williams's avatar
      2008-03-12 Dan Williams <dcbw@redhat.com> · ea7fd7ff
      Dan Williams authored
      	Harmonize the 802.11 bitrate API
      
      	* introspection/nm-access-point.xml
      		- 'Rate' -> 'MaxBitrate'; clarify units
      
      	* introspection/nm-device-802-11-wireless.xml
      		- Clarify units of 'Bitrate'
      
      	* src/NetworkManagerAP.c
      	  src/NetworkManagerAP.h
      		- (set_property, get_property, nm_ap_class_init): rename 'rate'
      			property to 'max-bitrate'
      		- (foreach_property_cb): convert rate to Kb/s
      
      	* src/nm-device-802-11-wireless.c
      		- (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
      
      	* libnm-glib/nm-access-point.c
      	  libnm-glib/nm-access-point.h
      		- 'rate' -> 'max-bitrate'
      
      	* test/nm-tool.c
      	  libnm-glib/libnm-glib-test.c
      		- Fix up for these changes
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3432 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      ea7fd7ff
    • Dan Williams's avatar
      2008-03-12 Dan Williams <dcbw@redhat.com> · f30cf17b
      Dan Williams authored
      	Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
      	convert the libnm-glib NMDevice8023Ethernet to cached properties
      
      	* introspection/nm-device-802-3-ethernet.xml
      		- New 'Carrier' property
      		- New 'PropertiesChanged' signal
      
      	* introspection/nm-device.xml
      		- Remove 'Carrier' property
      		- Remove 'CarrierChanged' signal
      
      	* src/nm-device-interface.c
      	  src/nm-device-interface.h
      		- (nm_device_interface_init): remove 'carrier' property and
      			'carrier-changed' signal
      
      	* src/nm-device.c
      	  src/nm-device.h
      		- (nm_device_get_carrier, nm_device_set_carrier): remove
      		- (nm_device_activate_stage5_ip_config_commit): don't bother updating
      			the link here; wired device will handle that
      		- (handle_dhcp_lease_change): don't bother updating link here
      		- (get_property, nm_device_class_init): remove carrier property
      
      	* src/nm-device-802-11-wireless.c
      		- (real_update_link, nm_device_802_11_wireless_class_init): remove
      			real_update_link(); wireless devices don't use carrier at all
      		- (link_timeout_cb, supplicant_iface_state_cb_handler,
      		   supplicant_iface_connection_state_cb_handler,
      		   supplicant_mgr_state_cb_handler): remove anything to do with carrier
      
      	* src/nm-device-802-3-ethernet.c
      	  src/nm-device-802-3-ethernet.h
      		- (nm_device_802_3_ethernet_carrier_on,
      		   nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
      			instead of nm_device_set_carrier()
      		- (device_state_changed): update link from sysfs on activation;
      			replaces real_update_link()
      		- (real_update_link): remove, replaced by device_state_changed()
      		- (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
      		- (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
      		- (real_get_generic_capabilities, real_can_interrupt_activation): use
      			new get_carrier function
      		- (get_property): add 'carrier' property
      		- (nm_device_802_3_ethernet_class_init): add 'carrier' property and
      			hook into property-changed signal helper
      
      	* src/NetworkManagerPolicy.c
      		- (device_carrier_changed): will only ever be called with a wired device
      		- (device_added): only hook up to carrier-changed for wired devices
      
      	* libnm-glib/nm-device.c
      	  libnm-glib/nm-device.h
      		- (constructor, nm_device_class_init): remove carrier-changed signal
      		- (device_carrier_changed_proxy): remove; unused
      		- (nm_device_get_carrier): remove; carrier a property of wired devices
      
      	* libnm-glib/nm-device-802-3-ethernet.c
      	  libnm-glib/nm-device-802-3-ethernet.h
      		- Convert to cached properties like AP and Wireless objects
      		- (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
      			instead of a 'char *', return value should not be freed
      		- (nm_device_802_3_ethernet_get_carrier): return current carrier status
      		- (constructor): hook into properties-changed helper
      		- (set_property, get_property): new functions
      		- (nm_device_802_3_ethernet_class_init): export GObject properties
      
      	* test/nm-tool.c
      		- (detail_device): strdup the wired hardware address too since it's
      			cached now
      
      	* libnm-glib/libnm-glib-test.c
      		- (dump_wired): strdup the wired hardware address too since it's
      			cached now
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3428 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      f30cf17b
  22. 13 Nov, 2007 1 commit
  23. 09 Oct, 2007 1 commit
    • Tambet Ingo's avatar
      2007-10-09 Tambet Ingo <tambet@gmail.com> · 24adbe3f
      Tambet Ingo authored
              * src/NetworkManagerUtils.c
              (nm_utils_is_empty_ssid):
              (nm_utils_escape_ssid):
              (nm_utils_same_ssid): Remove. These functions are copied and
      pasted in a 
              lot of places, so they belong to libnm-utils instead.
      
              Now with 100% less compiler warnings:
      
              * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove,
              * unused.
              (nm_dbus_unescape_object_path): Ditto.
              (nm_utils_ssid_to_utf8): Ditto.
              (nm_utils_is_empty_ssid): Move here from
      src/NetworkManagerUtils.c
              (nm_utils_escape_ssid): Ditto.
              (nm_utils_same_ssid): Ditto.
      
              * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
              (add_one_connection_element): Remove an unused variable.
              (impl_manager_get_active_connections): Ditto.
      
              * src/NetworkManagerPolicy.c (get_device_connection): Remove an
              * unused
              variable.
      
              * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove
              * a leftover
              from the previous commit.
      
              * src/nm-device-802-11-wireless.c (set_current_ap): Remove
              * unused variable.
              (real_act_stage1_prepare): Ditto.
              (activation_success_handler): Ditto.
              (get_property): Ditto.
      
              * src/nm-device-802-3-ethernet.c (real_get_best_connection):
              * Remove unused
              variable.
      
              * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check
              * for 'ifname',
              it's always set.
      
              * src/supplicant-manager/nm-supplicant-config.c 
              (nm_supplicant_config_add_setting_wireless): Cast the
      GByteArray's 'guint8 *'
              to expected "char *".
              (nm_supplicant_config_add_setting_wireless): Ditto.
              (nm_supplicant_config_remove_option): Remove, not used.
      
              * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is
              * a guint32,
              not double.
              (test_wireless_enabled): Ifdef out unused function.
              (device_deactivate): Ditto.
              (device_state_changed): Ditto.
              (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
              (nm_utils_escape_ssid): Ditto.
      
              * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in
              * libnm-utils.
              (nm_utils_is_empty_ssid): Ditto.
      
              * libnm-glib/nm-client.c
              * (nm_client_free_active_connection_element): Remove
              unused variable.
      
              * libnm-util/nm-setting.c (setting_wireless_destroy): Remove
              * unused variable.
              (setting_vpn_properties_update_secrets): Ditto.
              (int_to_gvalue): Ifdef out for now, not used.
              (byte_to_gvalue): Ditto.
      
              * libnm-util/dbus-dict-helpers.c
              * (_nmu_dbus_add_dict_entry_string_array): 
              Unused, remove.
      
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2960 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      24adbe3f
  24. 05 Oct, 2007 1 commit
    • Dan Williams's avatar
      2007-10-05 Dan Williams <dcbw@redhat.com> · 37f9149c
      Dan Williams authored
      	* libnm-glib/nm-access-point.c
      	  libnm-glib/nm-access-point.h
      		- (nm_access_point_get_hw_address): return 'const char *', not 'char *'
      			because the value is cached internally now.  Callers should not
      			free the internal value.
      		- Make signal name defines private
      
      	* test/nm-tool.c
      	  libnm-glib/libnm-glib-test.c
      		- Don't free value returned from nm_access_point_get_hw_address()
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2935 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      37f9149c
  25. 03 Oct, 2007 1 commit
    • Dan Williams's avatar
      2007-10-03 Dan Williams <dcbw@redhat.com> · fc8130dd
      Dan Williams authored
      	* src/nm-device-802-11-wireless.c
      	  src/nm-device-802-11-wireless.h
      	  introspection/nm-device-802-11-wireless.xml
      		- GetActiveNetworks -> GetAccessPoints
      		- ActiveNetwork -> ActiveAccessPoint
      		- NetworkAdded -> AccessPointAdded
      		- NetowrkRemoved -> AccessPointRemoved
      
      	* libnm-glib/nm-device-802-11-wireless.c
      	  libnm-glib/nm-device-802-11-wireless.h
      		- network-added signal -> access-point-added
      		- network-removed signal -> access-point-removed
      		- nm_device_802_11_wireless_get_active_network() ->
      			nm_device_802_11_wireless_get_active_access_point()
      		- nm_device_802_11_wireless_get_network_by_path() ->
      			nm_device_802_11_wireless_get_access_point_by_path()
      		- nm_device_802_11_wireless_get_networks() ->
      			nm_device_802_11_wireless_get_access_points()
      
      	* libnm-glib/libnm-glib-test.c
      	  test/nm-tool.c
      	  src/NetworkManagerPolicy.c
      		- Fixups for Network -> AccessPoint
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2928 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      fc8130dd
  26. 24 Sep, 2007 1 commit
  27. 28 Aug, 2007 1 commit
    • Dan Williams's avatar
      2007-08-28 Dan Williams <dcbw@redhat.com> · 7a8f33aa
      Dan Williams authored
      	Remove NMAPSecurity objects, they are replaced with flags on the APs for
      	each AP's capabilities, and by NMConnection/NMSettings objects for user
      	defined connections.
      
      	* include/NetworkManager.h
      		- Redefine 802.11 security properties.  There are now device capabilities
      			and AP flags and AP security flags.  It was way to unclear before.
      
      	* src/Makefile.am
      	  src/nm-ap-security-leap.h
      	  src/nm-ap-security-leap.c
      	  src/nm-ap-security-wpa-eap.c
      	  src/nm-ap-security-wpa-eap.h
      	  src/nm-ap-security-private.h
      	  src/nm-ap-security-wpa-psk.c
      	  src/nm-ap-security-wpa-psk.h
      	  src/nm-ap-security-wep.c
      	  src/nm-ap-security-wep.h
      	  src/nm-ap-security.c
      	  src/nm-ap-security.h
      		- Removed, to be replaced with NMConnection/NMSettings objects
      
      	* src/nm-dbus-nmi.c
      	  src/nm-dbus-nmi.h
      		- Removed, to be replaced by code that talks to the new info daemon
      			interface and gets NMConnection/NMSettings objects
      
      	* src/backends/NetworkManagerSuSE.c
      		- Remove usage of NMAPSecurity; should be replaced by a system-level
      			info-daemon that does the same thing but talks the new info-daemon
      			D-Bus interface
      
      	* src/NetworkManagerAP.h
      	  src/NetworkManagerAP.c
      	  src/NetworkManagerAPList.c
      	  libnm-glib/libnm-glib-test.c
      		- Remove usage of NMAPSecurity objects and adjust to new flags for
      			WPA/RSN
      
      	* libnm-glib/nm-access-point.c
      	  libnm-glib/nm-access-point.h
      	  introspection/nm-access-point.xml
      	  test/nm-tool.c
      		- Adjust to new flags for AP security
      
      	* utils/nm-utils.c
      	  utils/nm-utils.h
      	  src/vpn-manager/nm-dbus-vpn.c
      		- Remove D-Bus pending call stuff from nm-utils and put it in the VPN
      			stuff which is the only place it's used
      
      	* src/nm-device-interface.c
      	  src/nm-device-interface.h
      	  introspection/nm-device.xml
      	  src/nm-activation-request.c
      	  src/nm-activation-request.h
      	  src/nm-device.c
      		- Add a new 'specific_object' argument that hints to NM what actual
      			AP or other device-specific thing the connection should apply to.
      			NMConnection objects can apply to more than one actual device/AP.
      
      	* libnm-util/nm-connection.c
      	* libnm-util/nm-connection.h
      		- Add 'have_secrets" call stubs
      
      	* libnm-util/cipher.h
      		- Move NM_AUTH_TYPE_* defines here for now
      
      	* src/nm-device-802-11-wireless.c
      		- Remove usage of NMAPSecurity, to be replaced with NMConnection/
      			NMSettings objects
      
      	* src/NetworkManagerDbus.c
      	* src/NetworkManagerPolicy.c
      		- Remove usage of update_allowed_networks, should be pushing data in
      			a different manner
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2738 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      7a8f33aa
  28. 27 Jun, 2007 1 commit
  29. 07 May, 2007 1 commit
    • Tambet Ingo's avatar
      2007-05-07 Tambet Ingo <tambet@ximian.com> · ff0fd77b
      Tambet Ingo authored
      	* libnm-glib/Makefile.am: Link with libnm-util to gain access to
      	NMConnection.
      
      	* libnm-glib/nm-device-802-11-wireless.c:
      	(nm_device_802_3_ethernet_activate): Remove.
      
      	* libnm-glib/nm-device-802-3-ethernet.c
      	(nm_device_802_3_ethernet_activate): Remove.
      
      	* libnm-glib/nm-device.c (nm_device_activate): Implement.
      
      	* src/nm-device-802-3-ethernet.c: Implement the new activation using
      	NMConnection.
      
      	* src/nm-device-802-11-wireless.c: Store an activation AP once the
      	activation has started.
      	Implement the new activation using NMConnection.
      
      	* src/nm-activation-request.c: Store a generic connection object instead
      	of a wireless-specific AP.
      
      	* src/NetworkManagerPolicy.c (create_connection): Implement. Depending
      	on device type, create a device specific connection object suitable for
      	device activation.
      
      	* src/nm-device.c (nm_device_activate): Re-implement. Call the device
      	specific check to validate the connection and on success start the
      	activation.
      
      	* src/nm-device-interface.h: Add a activate virtual function to the
      	interface definition.
      
      	* src/nm-device-interface.c (nm_device_interface_activate): Implement.
      	(impl_device_activate): Implement.
      
      	* introspection/nm-device.xml: Add a generic device activation interface
      	that accepts an abstract NMConnection structure that has device-specific
      	information in it.
      
      	* introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
      	activation interface.
      
      	* introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
      	activation interface.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2569 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      ff0fd77b
  30. 16 Mar, 2007 1 commit
    • Tambet Ingo's avatar
      2007-03-16 Tambet Ingo <tambet@ximian.com> · e1c3b553
      Tambet Ingo authored
      	* libnm-glib/nm-device.c (nm_device_get_description): Implement.
      
      	* libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
      	"manager-running" signal that notifies the appearance/disappearance of NM.
      	(nm_client_sleep): Implement.
      
      	* libnm-glib/nm-device.c:
      	* libnm-glib/nm-device-802-11-wireless.c: 
      	* libnm-glib/nm-device-802-3-ethernet.c: 
      
      	Don't inherit from DBusGProxy, add a proxy to private
      	data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
      	for anything but their own dbus interface. DBusGProxy objects support only one
      	interfaces and to work around this, NMDevice has spearate proxy for each dbus
      	interface. The nice side effect of this change is that we do not create a new
      	DBusGProxy object for each property access.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2479 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      e1c3b553
  31. 02 Mar, 2007 1 commit
    • Tambet Ingo's avatar
      2007-03-02 Tambet Ingo <tambet@ximian.com> · 352caa34
      Tambet Ingo authored
      	* libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
      	We get signalled when it changes.
      
      	* libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
      	when it changes.
      
      	* libnm-glib/nm-device.c: Cache the device state property.
      
      	* libnm-glib/nm-access-point.c: Cache the strength property.
      
      	* src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
      	The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
      	and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
      	until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
      	the device is down, activating, or activated (in case of A/B/G cards).
      	Remove some old dead ifdef'ed out code that used to configure wireless devices,
      	it's all done through supplicant now.
      
      	* src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
      	counting issues with pending calls which caused leaks and crashes when
      	interface was removed (now that the interface actually gets removed).
      
      	* src/nm-call-store.c: Make a copy of data before running a foreach
      	with user callback on it - The most common usage pattern is to cancel
      	(and thus remove) all pending calls with foreach which would modify
      	the hash table we're iterating over.
      
      	* src/nm-manager.c: When a device is added, make sure it is "up". When
      	it's removed or disabled due to disabling wireless or networking, bring
      	it down.
      
      	* include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
      
      	* src/nm-device-802-11-wireless.c: 
      	* src/nm-device-802-3-ethernet.c: 
      	* src/nm-device.c:
      		- Remove "init" virtual function, all gobjects have a place for that
      		  already (constructor).
      		- Replace "start" virtual function with "bring_up", devices can be
      		  brought up and down more than just on startup now.
      		- Add "is_up" virtual function.
      		- Implement one way to bring a device down instead of previous 4 different
      		  ways, each of witch did something different.
      
      	* src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
      	all it needs is the device interface.
      
      	Get rid of NMData.dev_list (3 members to go).
      	Get rif of NMData in a lot of places.
      
      	* gnome/libnm_glib/libnm_glib.c: Make it compile again.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2395 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      352caa34
  32. 19 Feb, 2007 1 commit
    • Tambet Ingo's avatar
      2007-02-19 Tambet Ingo <tambet@ximian.com> · 3dcd9d2d
      Tambet Ingo authored
      	* src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
      	Handle device state changes and disconnect VPN if it's device deactivates.
      
      	* src/nm-dbus-nm.c: 
      	* src/nm-dbus-nm.h: 
      	* src/nm-dbus-device.c: 
      	* src/nm-dbus-device.c: 
      	* src/nm-dbus-net.c: 
      	* src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
      
      	* src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
      
      	* src/nm-device.c (nm_device_get_by_udi):
      	(nm_device_get_by_iface): Remove. This doesn't belong here and is already
      	implemented in the correct location (NMManager).
      	Rip out all the test_device stuff.
      
      	* src/NetworkManagerPolicy.c: Remove the leftover activation success and
      	failure handlers, it's all done by NMDevice already.
      
      	* src/NetworkManager.c: Move the signal handling here from nm-logging.c
      	Remove the iochannel hack to route the unix signals to the main thread since
      	we're not threaded anymore.
      
      	* src/NetworkManagerAP.c: Implement HWAddress property.
      
      	* src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
      	automatically with dbus-glib.
      
      	* src/nm-netlink-monitor.c: 
      	* src/nm-netlink-monitor.h:
      		- Move it low in the class hierarchy, don't reference any NM types.
      		- Remove private data from the header.
      		- Use type safe checks in public API methods.
      		- Make it a singleton so we don't have to pass the single reference around.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2339 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      3dcd9d2d
  33. 16 Feb, 2007 1 commit
    • Tambet Ingo's avatar
      2007-02-16 Tambet Ingo <tambet@ximian.com> · c4005138
      Tambet Ingo authored
      	* introspection/nm-ip4-config.xml: Implement.
      
      	* libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
      
      	* libnm-glib/nm-ip4-config.c:
      	* libnm-glib/nm-ip4-config.c: Implement.
      
      	* src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
      	securities. APs reference security.
      
      	* src/nm-device-802-11-wireless.c: Implement missing properties that need to
      	be exported over DBUS.
      
      	* src/nm-device-802-3-ethernet.c: Ditto.
      
      	* src/NetworkManagerAP.c:
      	* src/NetworkManagerAP.h:
      		- Convert to GObject, export over DBUS.
      
      	* src/nm-ip4-config.h:
      	* src/nm-ip4-config.h:
      		- Convert to GObject, export over DBUS.
      
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2322 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c4005138
  34. 12 Feb, 2007 2 commits
    • Tambet Ingo's avatar
      2007-02-12 Tambet Ingo <tambet@ximian.com> · 7eeefaea
      Tambet Ingo authored
      	* libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
      
      	* libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
      
      	* introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
      	'HwAddress'.
      
      	* introspection/nm-device.xml: Remove 'UseDhcp' property.
      
      	* introspection/nm-access-point.xml: Remove 'Broadcast' property.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2310 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      7eeefaea
    • Tambet Ingo's avatar
      2007-02-12 Tambet Ingo <tambet@ximian.com> · 8a4c57f6
      Tambet Ingo authored
      	Totally break NetworkManager. Please use 0.6 branch until futher notice.
      
      	* src/:
      		- Remove old low-level dbus interface implementations and replace them
      		  with dbus-glib one.
      
      	* configure.in:
      		- Require dbus-glib >= 0.72.
      		- Plug in new sources to build.
      
      	* libnm-glib/:
      		- Implement GObject wrappers on top of DBUS glib auto-generated bindings
      		  to make it more convenient to use from GObject based programs.
      
      	* introspection/:
      		- Implement DBUS XML introspection files, used by both NM and libnm-glib.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      8a4c57f6