Commit 6be35d4e authored by Christian Hergert's avatar Christian Hergert
Browse files

libide: include config.h from sources

This is needed so that we can apply version macros correctly
in the future.
parent b8fefaf1
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-application-addin" #define G_LOG_DOMAIN "ide-application-addin"
#include "config.h"
#include "application/ide-application-addin.h" #include "application/ide-application-addin.h"
/** /**
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-application-color" #define G_LOG_DOMAIN "ide-application-color"
#include "config.h"
#include "application/ide-application.h" #include "application/ide-application.h"
#include "application/ide-application-private.h" #include "application/ide-application-private.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-application-open" #define G_LOG_DOMAIN "ide-application-open"
#include "config.h"
#include "application/ide-application.h" #include "application/ide-application.h"
#include "application/ide-application-private.h" #include "application/ide-application-private.h"
#include "workbench/ide-workbench.h" #include "workbench/ide-workbench.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-application-tests" #define G_LOG_DOMAIN "ide-application-tests"
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buffer-addin" #define G_LOG_DOMAIN "ide-buffer-addin"
#include "config.h"
#include <libpeas/peas.h> #include <libpeas/peas.h>
#include "application/ide-application.h" #include "application/ide-application.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buffer-change-monitor" #define G_LOG_DOMAIN "ide-buffer-change-monitor"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include "buffers/ide-buffer.h" #include "buffers/ide-buffer.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buffer-manager" #define G_LOG_DOMAIN "ide-buffer-manager"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <gtksourceview/gtksource.h> #include <gtksourceview/gtksource.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buffer" #define G_LOG_DOMAIN "ide-buffer"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-unsaved-file" #define G_LOG_DOMAIN "ide-unsaved-file"
#include "config.h"
#include "ide-debug.h" #include "ide-debug.h"
#include "application/ide-application.h" #include "application/ide-application.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-unsaved-files" #define G_LOG_DOMAIN "ide-unsaved-files"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <errno.h> #include <errno.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buildconfig-configuration-provider" #define G_LOG_DOMAIN "ide-buildconfig-configuration-provider"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <gio/gio.h> #include <gio/gio.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buildconfig-configuration" #define G_LOG_DOMAIN "ide-buildconfig-configuration"
#include "config.h"
#include "buildconfig/ide-buildconfig-configuration.h" #include "buildconfig/ide-buildconfig-configuration.h"
struct _IdeBuildconfigConfiguration struct _IdeBuildconfigConfiguration
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buildconfig-pipeline-addin" #define G_LOG_DOMAIN "ide-buildconfig-pipeline-addin"
#include "config.h"
#include "ide-debug.h" #include "ide-debug.h"
#include "buildconfig/ide-buildconfig-configuration.h" #include "buildconfig/ide-buildconfig-configuration.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-buildsystem-plugin" #define G_LOG_DOMAIN "ide-buildsystem-plugin"
#include "config.h"
#include <libpeas/peas.h> #include <libpeas/peas.h>
#include "buildconfig/ide-buildconfig-configuration-provider.h" #include "buildconfig/ide-buildconfig-configuration-provider.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-log" #define G_LOG_DOMAIN "ide-build-log"
#include "config.h"
#include <string.h> #include <string.h>
#include "application/ide-application.h" #include "application/ide-application.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-manager" #define G_LOG_DOMAIN "ide-build-manager"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-pipeline-addin" #define G_LOG_DOMAIN "ide-build-pipeline-addin"
#include "config.h"
#include "ide-context.h" #include "ide-context.h"
#include "buildsystem/ide-build-pipeline-addin.h" #include "buildsystem/ide-build-pipeline-addin.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-pipeline" #define G_LOG_DOMAIN "ide-build-pipeline"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <dazzle.h> #include <dazzle.h>
#include <libpeas/peas.h> #include <libpeas/peas.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-stage-launcher" #define G_LOG_DOMAIN "ide-build-stage-launcher"
#include "config.h"
#include "ide-debug.h" #include "ide-debug.h"
#include "buildsystem/ide-build-log.h" #include "buildsystem/ide-build-log.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-stage-mkdirs" #define G_LOG_DOMAIN "ide-build-stage-mkdirs"
#include "config.h"
#include <glib.h> #include <glib.h>
#include <glib/gprintf.h> #include <glib/gprintf.h>
#include <glib/gstdio.h> #include <glib/gstdio.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-stage-transfer" #define G_LOG_DOMAIN "ide-build-stage-transfer"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include "ide-context.h" #include "ide-context.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-stage" #define G_LOG_DOMAIN "ide-build-stage"
#include "config.h"
#include <string.h> #include <string.h>
#include "ide-debug.h" #include "ide-debug.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-system-discovery" #define G_LOG_DOMAIN "ide-build-system-discovery"
#include "config.h"
#include "buildsystem/ide-build-system-discovery.h" #include "buildsystem/ide-build-system-discovery.h"
G_DEFINE_INTERFACE (IdeBuildSystemDiscovery, ide_build_system_discovery, G_TYPE_OBJECT) G_DEFINE_INTERFACE (IdeBuildSystemDiscovery, ide_build_system_discovery, G_TYPE_OBJECT)
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-system" #define G_LOG_DOMAIN "ide-build-system"
#include "config.h"
#include <string.h> #include <string.h>
#include "ide-context.h" #include "ide-context.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-target-provider" #define G_LOG_DOMAIN "ide-build-target-provider"
#include "config.h"
#include "ide-context.h" #include "ide-context.h"
#include "ide-debug.h" #include "ide-debug.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-target" #define G_LOG_DOMAIN "ide-build-target"
#include "config.h"
#include "buildsystem/ide-build-target.h" #include "buildsystem/ide-build-target.h"
G_DEFINE_INTERFACE (IdeBuildTarget, ide_build_target, IDE_TYPE_OBJECT) G_DEFINE_INTERFACE (IdeBuildTarget, ide_build_target, IDE_TYPE_OBJECT)
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-compile-commands" #define G_LOG_DOMAIN "ide-compile-commands"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <json-glib/json-glib.h> #include <json-glib/json-glib.h>
#include <string.h> #include <string.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-dependency-updater" #define G_LOG_DOMAIN "ide-dependency-updater"
#include "config.h"
#include "ide-dependency-updater.h" #include "ide-dependency-updater.h"
G_DEFINE_INTERFACE (IdeDependencyUpdater, ide_dependency_updater, IDE_TYPE_OBJECT) G_DEFINE_INTERFACE (IdeDependencyUpdater, ide_dependency_updater, IDE_TYPE_OBJECT)
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-simple-build-target" #define G_LOG_DOMAIN "ide-simple-build-target"
#include "config.h"
#include "buildsystem/ide-build-target.h" #include "buildsystem/ide-build-target.h"
#include "buildsystem/ide-simple-build-target.h" #include "buildsystem/ide-simple-build-target.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-configuration-row" #define G_LOG_DOMAIN "ide-build-configuration-row"
#include "config.h"
#include "buildui/ide-build-configuration-row.h" #include "buildui/ide-build-configuration-row.h"
struct _IdeBuildConfigurationRow struct _IdeBuildConfigurationRow
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-configuration-view" #define G_LOG_DOMAIN "ide-build-configuration-view"
#include "config.h"
#include <ide.h> #include <ide.h>
#include <string.h> #include <string.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-log-panel" #define G_LOG_DOMAIN "ide-build-log-panel"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <ide.h> #include <ide.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-panel" #define G_LOG_DOMAIN "ide-build-panel"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <ide.h> #include <ide.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-perspective" #define G_LOG_DOMAIN "ide-build-perspective"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include "buildui/ide-build-configuration-row.h" #include "buildui/ide-build-configuration-row.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-plugin" #define G_LOG_DOMAIN "ide-build-plugin"
#include "config.h"
#include <libpeas/peas.h> #include <libpeas/peas.h>
#include <ide.h> #include <ide.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-stage-row" #define G_LOG_DOMAIN "ide-build-stage-row"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include "buildui/ide-build-stage-row.h" #include "buildui/ide-build-stage-row.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-build-workbench-addin" #define G_LOG_DOMAIN "ide-build-workbench-addin"
#include "config.h"
#include <dazzle.h> #include <dazzle.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-environment-editor-row" #define G_LOG_DOMAIN "ide-environment-editor-row"
#include "config.h"
#include "buildui/ide-environment-editor-row.h" #include "buildui/ide-environment-editor-row.h"
struct _IdeEnvironmentEditorRow struct _IdeEnvironmentEditorRow
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-environment-editor" #define G_LOG_DOMAIN "ide-environment-editor"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include "buildui/ide-environment-editor.h" #include "buildui/ide-environment-editor.h"
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-configuration-manager" #define G_LOG_DOMAIN "ide-configuration-manager"
#include "config.h"
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <libpeas/peas.h> #include <libpeas/peas.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define G_LOG_DOMAIN "ide-configuration-provider" #define G_LOG_DOMAIN "ide-configuration-provider"