1. 17 Aug, 2016 2 commits
    • Thomas Haller's avatar
      all: cleanup includes in header files · 0bdcab10
      Thomas Haller authored
      - don't include "nm-default.h" in header files. Every source file must
        include as first header "nm-default.h", thus our headers get the
        default include already implicitly.
      
      - we don't support compiling NetworkManager itself with a C++ compiler. Remove
        G_BEGIN_DECLS/G_END_DECLS from internal headers. We do however support
        users of libnm to use C++, thus they stay in public headers.
      
      (cherry picked from commit f19aff89)
      0bdcab10
    • Thomas Haller's avatar
      all: cleanup includes in header files · f19aff89
      Thomas Haller authored
      - don't include "nm-default.h" in header files. Every source file must
        include as first header "nm-default.h", thus our headers get the
        default include already implicitly.
      
      - we don't support compiling NetworkManager itself with a C++ compiler. Remove
        G_BEGIN_DECLS/G_END_DECLS from internal headers. We do however support
        users of libnm to use C++, thus they stay in public headers.
      f19aff89
  2. 05 Aug, 2015 1 commit
  3. 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
  4. 15 Jul, 2014 2 commits
    • Dan Winship's avatar
      libnm-util, libnm-glib: whitespace fixes · 2570c5a1
      Dan Winship authored
      Fix indentation, kill trailing whitespace, split some long lines.
      2570c5a1
    • Dan Winship's avatar
      libnm-util, libnm-glib: standardize copyright/license headers · cb7e1893
      Dan Winship authored
      - Remove list of authors from files that had them; these serve no
        purpose except to quickly get out of date (and were only used in
        libnm-util and not libnm-glib anyway).
      
      - Just say "Copyright", not "(C) Copyright" or "Copyright (C)"
      
      - Put copyright statement after the license, not before
      
      - Remove "NetworkManager - Network link manager" from the few files
        that contained it, and "libnm_glib -- Access network status &
        information from glib applications" from the many files that
        contained it.
      
      - Remove vim modeline from nm-device-olpc-mesh.[ch], add emacs modeline
        to files that were missing it.
      cb7e1893
  5. 26 Aug, 2008 1 commit
  6. 27 Jul, 2008 1 commit
  7. 07 Nov, 2007 1 commit
    • Tambet Ingo's avatar
      2007-11-07 Tambet Ingo <tambet@gmail.com> · 6b79d40a
      Tambet Ingo authored
              Rework NMSetting structures: Move each setting to it's own file.
              Convert to GObject. Remove home grown setting types and use
      GTypes.
              Use GObject property introspection for hash conversion,
      enumerating
              properties, etc.
      
              * libnm-util/nm-setting-connection.[ch]
              * libnm-util/nm-setting-ip4-config.[ch]
              * libnm-util/nm-setting-ppp.[ch]
              * libnm-util/nm-setting-vpn.[ch]
              * libnm-util/nm-setting-vpn-properties.[ch]
              * libnm-util/nm-setting-wired.[ch]
              * libnm-util/nm-setting-wireless.[ch]
              * libnm-util/nm-setting-wireless-security.[ch]
      
              New files, each containing a setting.
      
              * libnm-util/nm-setting-template.[ch]: A template for creating
              * new
              settings. To use it, just replace 'template' with the new
      setting
              name, and you're half-way done.
      
              * libnm-util/nm-setting.c: Convert to GObject and use GObject
              introspection instead of internal types and tables.
      
              * libnm-util/nm-connection.c: Adapt the new NMSetting work.
      
              * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
              GValue types defined by dbus-glib for composed types like
      collections,
              structures and maps.
      
              * src/*: The API of NMSetting and NMConnection changed a bit:
              * Getting
              a setting from connection takes the setting type now. Also,
      since
              the settings are in multiple files, include relevant settings.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3068 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      6b79d40a