1. 24 Jul, 2015 1 commit
    • Dan Winship's avatar
      all: rename nm-glib-compat.h to nm-glib.h, use everywhere · 3452ee2a
      Dan Winship authored
      Rather than randomly including one or more of <glib.h>,
      <glib-object.h>, and <gio/gio.h> everywhere (and forgetting to include
      "nm-glib-compat.h" most of the time), rename nm-glib-compat.h to
      nm-glib.h, include <gio/gio.h> from there, and then change all .c
      files in NM to include "nm-glib.h" rather than including the glib
      headers directly.
      
      (Public headers files still have to include the real glib headers,
      since nm-glib.h isn't installed...)
      
      Also, remove glib includes from header files that are already
      including a base object header file (which must itself already include
      the glib headers).
      3452ee2a
  2. 21 Nov, 2014 2 commits
    • Dan Winship's avatar
      tui: rework how editor pages work · 2afb1acb
      Dan Winship authored
      Instead of having NmtEditorPage be a widget itself, have it just be an
      object that returns a list of NmtEditorSections, where
      NmtEditorSection is a subclass of NmtNewtSection.
      
      (This will be important when adding VPN pages, which will be split up
      into multiple sections, but with the different sections needing to
      cooperate on updating the NMSettingVpn. This reorganization lets us
      have an NMPageVpn containing multiple sections, with the NMPageVpn
      object handling the coordination between the sections.)
      2afb1acb
    • Dan Winship's avatar
      tui: rename two classes · 277ed5be
      Dan Winship authored
      Rename NmtPageDevice to NmtEditorPageDevice, and rename NmtPageGrid to
      NmtEditorGrid.
      
      Now all types with names starting with "NmtPage" are instantiable page
      types, not abstract classes or low-level widgets.
      277ed5be
  3. 04 Sep, 2014 1 commit
    • Dan Winship's avatar
      all: stop using virtual interface-name properties · ab26964c
      Dan Winship authored
      The virtual :interface-name properties (eg,
      NMDeviceBond:interface-name) are deprecated in favor of
      NMSettingConnection:interface-name, and nm_connection_verify() ensures
      that their values are kept in sync. So (a) there is no need to set
      those properties when we can just set
      NMSettingConnection:interface-name instead, and (b) we can replace any
      calls to the setting-specific get_interface_name() methods with
      nm_connection_get_interface_name() or
      nm_setting_connection_get_interface_name().
      ab26964c
  4. 01 Aug, 2014 1 commit
    • Dan Winship's avatar
      libnm: add NetworkManager.h, disallow including individual headers · d0b05b34
      Dan Winship authored
      Add NetworkManager.h, which includes all of the other NM header, and
      require all external users of libnm to use that rather than the
      individual headers.
      
      (An exception is made for nm-dbus-interface.h,
      nm-vpn-dbus-interface.h, and nm-version.h, which can be included
      separately.)
      d0b05b34
  5. 30 Jul, 2014 1 commit
    • Dan Winship's avatar
      clients: reorganize source tree, put all the installed clients together · 3d25d704
      Dan Winship authored
      Create a new clients/ subdirectory at the top level, and move cli/ and
      tui/ into it, as well as nm-online.c (which was previously in test/,
      which made no sense).
      
      cli/ was split into two subdirectories, src/ and completion/. While
      this does simplify things (given that the completion file and the
      binary both need to be named "nmcli"), it bloats the source tree, and
      we can work around it by just renaming the completion file at install
      time. Then we can combine the two directories into one and just have
      it all under clients/cli/.
      3d25d704
  6. 13 Dec, 2013 1 commit