1. 12 Aug, 2008 2 commits
    • Tambet Ingo's avatar
      2008-08-12 Tambet Ingo <tambet@gmail.com> · 0f534a9f
      Tambet Ingo authored
      	Start documenting libnm-glib public API using gtk-doc.
      
      	* libnm-glib/nm-serial-device.c:
      	* libnm-glib/nm-object.c:
      	* libnm-glib/nm-gsm-device.c:
      	* libnm-glib/nm-device.c:
      	* libnm-glib/nm-device-wifi.c:
      	* libnm-glib/nm-device-ethernet.c:
      	* libnm-glib/nm-client.c:
      	* libnm-glib/nm-cdma-device.c: Document the public API.
      
      	* docs/libnm-glib/libnm-glib.types: Implement.
      
      	* docs/libnm-glib/Makefile.am: Implement.
      
      	* autogen.sh:
      	* configure.in:
      	* Makefile.am: Add gtk-doc support.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3932 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      0f534a9f
    • Tambet Ingo's avatar
      2008-08-12 Tambet Ingo <tambet@gmail.com> · c29ae2d0
      Tambet Ingo authored
      	* src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
      
      	* src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
      	the composite result of all the IP4 configurations and call a distro
      	specific update_resolv_conf().
      	(update_resolv_conf): Implement one for directly writing to
      	/etc/resolv.conf and one for opensuse to call netconfig.
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3931 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c29ae2d0
  2. 11 Aug, 2008 11 commits
  3. 10 Aug, 2008 1 commit
  4. 09 Aug, 2008 1 commit
  5. 08 Aug, 2008 6 commits
  6. 07 Aug, 2008 7 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> · 1fa67151
      Dan Williams authored
      	* src/dhcp-manager/nm-dhcp-manager.c
      		- (nm_dhcp_manager_get_ip4_config): fix regression which caused
      			mis-handling of DHCP responses that returned more than one router
      			(found by Grant Williamson)
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3908 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      1fa67151
    • Dan Williams's avatar
      2008-08-07 Dan Williams <dcbw@redhat.com> · 641a7072
      Dan Williams authored
      	* callouts/nm-dispatcher-action.c
      		- (nm_dispatcher_action): grab device path and create the device; pass
      			the device's DHCP4 config to script caller
      		- (dispatch_scripts): dump the DHCP4 config to the environment of called
      			scripts
      
      	* libnm-glib/nm-dhcp4-config.c
      	  libnm-glib/nm-dhcp4-config.h
      		- (nm_dhcp4_config_get_options): expose
      		- (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3907 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      641a7072
    • lkanter's avatar
      Updated Russian translation · f7c34854
      lkanter authored
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3906 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      f7c34854
    • 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
    • Dan Williams's avatar
      4a076699
    • Dan Williams's avatar
      2008-08-07 Dan Williams <dcbw@redhat.com> · 762d57fa
      Dan Williams authored
      	* src/NetworkManager.c
      	  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
      		- (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3903 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      762d57fa
  7. 06 Aug, 2008 3 commits
    • Dan Williams's avatar
      2008-08-06 Dan Williams <dcbw@redhat.com> · 3c51abb5
      Dan Williams authored
      	* src/nm-vpnc-service-vpnc-helper.c
      		- (get_routes): fixup for NM route metric changes
      
      	* properties/nm-vpnc.c
      		- (get_routes, export): fixup for NM route metric changes
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3900 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      3c51abb5
    • Dan Williams's avatar
      2008-08-06 Dan Williams <dcbw@redhat.com> · 92cc4a0b
      Dan Williams authored
      	* src/nm-openvpn-service-openvpn-helper.c
      		- (get_routes): handle route metrics
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3899 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      92cc4a0b
    • Dan Williams's avatar
      2008-08-06 Dan Williams <dcbw@redhat.com> · 2c31b549
      Dan Williams authored
      	* libnm-glib/nm-ip4-config.c
      	  libnm-glib/nm-ip4-config.h
      		- Add 'routes' property
      
      	* libnm-util/nm-setting-vpn.c
      	  libnm-util/nm-setting-vpn.h
      		- Remove 'routes' property
      
      	* libnm-util/nm-setting-ip4-config.c
      	  libnm-util/nm-setting-ip4-config.h
      		- 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
      		- Add 'ignore-auto-routes' property
      		- 'routes' exposed over D-Bus is now an array of array of uint (4) to 
      			accomodate route metrics
      		- 'routes' exposed in C is now a list of NMSettingIP4Route structures
      
      	* libnm-util/nm-utils.c
      	  libnm-util/nm-utils.h
      		- Add helpers for marshalling IP4 routes
      
      	* src/NetworkManagerUtils.c
      		- (nm_utils_merge_ip4_config): handle property renames and new route
      			structure
      
      	* src/NetworkManagerSystem.c
      		- (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
      		   nm_system_vpn_device_set_from_ip4_config): respect route metrics
      
      	* src/dhcp-manager/nm-dhcp-manager.c
      		- (nm_dhcp_manager_get_ip4_config): handle new route structure
      
      	* system-settings/plugins/ifcfg-fedora/reader.c
      	  system-settings/plugins/ifcfg-fedora/writer.c
      		- Handle routes separately from addresses now that routes have a different
      			format
      
      	* introspection/nm-ip4-config.xml
      	  src/nm-ip4-config.c
      	  src/nm-ip4-config.h
      		- Rename internal routing functions
      		- 'static-routes' renamed to 'routes'
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3898 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      2c31b549
  8. 04 Aug, 2008 7 commits
    • Dan Williams's avatar
      2008-08-04 Dan Williams <dcbw@redhat.com> · 2f3820c6
      Dan Williams authored
      	Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
      
      	* src/NetworkManager.c
      	  src/nm-manager.c
      	  src/nm-manager.h
      		- More explicitly make the NMManager a singleton
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3896 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      2f3820c6
    • Dan Williams's avatar
      2008-08-04 Dan Williams <dcbw@redhat.com> · fb742077
      Dan Williams authored
      	* libnm-util/nm-connection.c
      	  libnm-util/nm-connection.h
      		- (nm_connection_verify): return error on missing 'connection' setting
      			(found by Sjoerd Simons)
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3895 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      fb742077
    • Dan Williams's avatar
      2008-08-04 Dan Williams <dcbw@redhat.com> · 36929927
      Dan Williams authored
      	Handle multiple concurrent PPP connections.
      
      	* src/ppp-manager/nm-ppp-manager.c
      	  src/ppp-manager/nm-ppp-manager.h
      		- (constructor): only PPP Manager request bus name once; each
      			NMPPPManager object gets a unique object path
      		- (nm_ppp_manager_class_init, get_property, set_property,
      		   nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
      			at construct time
      		- (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
      			remove timeout until PPP manager gets an IP4 config
      		- (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
      			the plugin can call back to this specific PPP manager instance
      
      	* src/nm-device-ethernet.c
      	  src/nm-serial-device.c
      		- Pass parent device in nm_ppp_manager_new()
      
      	* src/nm-gsm-device.c
      	  src/nm-cdma-device.c
      	  	- (device_state_changed): don't close serial device on NEED_AUTH
      	  		state changed, that's not a failure case like the rest are
      
      	* src/ppp-manager/nm-pppd-plugin.c
      		- (nm_ip_up): always use index 0 into the ipcp options, because NM always
      			binds one interface to any pppd process, thus the correct index
      			is always 0; send PHASE_DEAD on error to alert NM immediately of
      			problems; try harder to get a peer address in spite of pppd
      		- (plugin_init): use 'ipparam' as the object path back to our specific
      			PPP manager instance
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3894 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      36929927
    • Dan Williams's avatar
      2008-08-04 Dan Williams <dcbw@redhat.com> · 9ee4038c
      Dan Williams authored
      	* src/ppp-manager/nm-ppp-manager.c
      		- (impl_ppp_manager_need_secrets): rework to handle secrets better;
      			since the GSM and CDMA settings now implement need_secrets, we can
      			rely on them to do the right thing.  Where secrets are not required,
      			just pass empty strings back to the pppd plugin.
      		- (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
      		- (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
      			on successful IP4 config receipt
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3893 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      9ee4038c
    • Dan Williams's avatar
      2008-08-04 Dan Williams <dcbw@redhat.com> · e2aa0872
      Dan Williams authored
      	* libnm-util/nm-setting-cdma.c
      	  libnm-util/nm-setting-gsm.c
      		- (verify): validate username & password if they exist
      		- (need_secrets): if username given, require a password too
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3892 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      e2aa0872
    • Dan Williams's avatar
      Don't use glib 2.16 stuff · b3c09d38
      Dan Williams authored
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3891 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      b3c09d38
    • Dan Williams's avatar
      2008-08-04 Dan Williams <dcbw@redhat.com> · 4f0d00c8
      Dan Williams authored
      	* src/dnsmasq-manager/nm-dnsmasq-manager.c
      		- (create_dm_cmd_line): really don't listen on lo, despite what the
      			manpage says about --listen-address without --interface
      			(bgo #546033)
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3890 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      4f0d00c8
  9. 02 Aug, 2008 2 commits