Commit 7f328023 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Added. Added. Added. Added.

2007-11-28  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * abicheck.sh: Added.
        * makegioalias.pl: Added.
        * pltcheck.sh: Added.
        * gio.symbols: Added.
	* *.c:
        * inotify/*.c
	Initial work on adding symbol handling.

	* gvfs.h:
	Correct ifdef guard name

        * fam/Makefile.am:
        * inotify/Makefile.am:
        * xdgmime/Makefile.am:
	Include toplevel Makefile.decl


svn path=/trunk/; revision=5972
parent 61582bd9
2007-11-28 Alexander Larsson <alexl@redhat.com>
* Makefile.am:
* abicheck.sh: Added.
* makegioalias.pl: Added.
* pltcheck.sh: Added.
* gio.symbols: Added.
* *.c:
* inotify/*.c
Initial work on adding symbol handling.
* gvfs.h:
Correct ifdef guard name
* fam/Makefile.am:
* inotify/Makefile.am:
* xdgmime/Makefile.am:
Include toplevel Makefile.decl
2007-11-27 Matthias Clasen <mclasen@redhat.com>
* gcontenttype.c: Move doc comments to the unix section.
......
include $(top_srcdir)/Makefile.decl
NULL =
SUBDIRS=
......@@ -6,6 +8,21 @@ if OS_UNIX
SUBDIRS += xdgmime
endif
gio.def: gio.symbols
(echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gobject.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > gobject.def
gioalias.h: gio.symbols
$(PERL) $(srcdir)/makegioalias.pl < $(srcdir)/gio.symbols > gioalias.h
gioaliasdef.c: gio.symbols
$(PERL) $(srcdir)/makegioalias.pl -def < $(srcdir)/gio.symbols > gioaliasdef.c
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh pltcheck.sh
endif
endif
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GLib-GIO\" \
-I$(top_builddir) \
......@@ -19,8 +36,9 @@ AM_CPPFLAGS = \
lib_LTLIBRARIES = libgio-2.0.la
marshal_sources = \
gio-marshal.h \
gio-marshal.c \
gio-marshal.h \
gio-marshal.c \
makegioalias.pl \
$(NULL)
if CROSS_COMPILING
......@@ -215,8 +233,13 @@ gioinclude_HEADERS = \
gvolumemonitor.h \
$(NULL)
# these sources (also mentioned above) are generated.
BUILT_SOURCES = gio-marshal.h gio-marshal.c gioalias.h gioaliasdef.c
EXTRA_DIST = \
gio-marshal.list \
gio.symbols \
$(NULL)
CLEANFILES = \
......
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
nm -D -g --defined-only .libs/libgio-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
include $(top_srcdir)/Makefile.decl
NULL =
module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
......
......@@ -25,6 +25,8 @@
#include "glibintl.h"
#include <gioerror.h>
#include "gioalias.h"
/**
* SECTION:gappinfo
* @short_description: Application information and launch contexts
......@@ -33,8 +35,6 @@
* #GAppInfo and #GAppLaunchContext are used for describing and launching
* installed system applications.
*
* @Note: These may/will be moved to Gtk+ in the future.
*
**/
static void g_app_info_base_init (gpointer g_class);
......@@ -594,3 +594,6 @@ g_app_launch_context_launch_failed (GAppLaunchContext *context,
if (class->launch_failed != NULL)
class->launch_failed (context, startup_notify_id);
}
#define __G_APP_INFO_C__
#include "gioaliasdef.c"
......@@ -24,6 +24,8 @@
#include "gasynchelper.h"
#include "gioalias.h"
/**
* SECTION:gasynchelper
* @short_description: Asynchronous Helper Functions
......
......@@ -24,6 +24,8 @@
#include "gasyncresult.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gasyncresult
* @short_description: Asynchronous Function Results
......@@ -167,3 +169,6 @@ g_async_result_get_source_object (GAsyncResult *res)
return (* iface->get_source_object) (res);
}
#define __G_ASYNC_RESULT_C__
#include "gioaliasdef.c"
......@@ -28,6 +28,8 @@
#include <string.h>
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gbufferedinputstream
* @short_description: Buffered Input Stream
......@@ -1359,4 +1361,8 @@ g_buffered_input_stream_skip_finish (GInputStream *stream,
return data->bytes_skipped;
}
#define __G_BUFFERED_INPUT_STREAM_C__
#include "gioaliasdef.c"
/* vim: ts=2 sw=2 et */
......@@ -27,6 +27,8 @@
#include "string.h"
#include "glibintl.h"
#include <gioalias.h>
/**
* SECTION:gbufferedoutputstream
* @short_description: Buffered Output Stream
......@@ -758,4 +760,7 @@ g_buffered_output_stream_close_finish (GOutputStream *stream,
return TRUE;
}
#define __G_BUFFERED_OUTPUT_STREAM_C__
#include "gioaliasdef.c"
/* vim: ts=2 sw=2 et */
......@@ -27,6 +27,7 @@
#include "gcancellable.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gcancellable
......@@ -334,4 +335,5 @@ g_cancellable_cancel (GCancellable *cancellable)
}
}
#define __G_CANCELLABLE_C__
#include "gioaliasdef.c"
......@@ -28,6 +28,8 @@
#include "gcontenttypeprivate.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gcontenttype
* @short_description: platform specific content typing
......@@ -868,3 +870,6 @@ g_content_types_get_registered (void)
}
#endif /* Unix version */
#define __G_CONTENT_TYPE_C__
#include "gioaliasdef.c"
......@@ -25,6 +25,8 @@
#include "gdatainputstream.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdatainputstream
* @short_description: Data Input Stream
......@@ -854,3 +856,6 @@ g_data_input_stream_read_until (GDataInputStream *stream,
return data_until;
}
#define __G_DATA_INPUT_STREAM_C__
#include "gioaliasdef.c"
......@@ -25,6 +25,8 @@
#include "gdataoutputstream.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdataoutputstream
* @short_description: Data Output Stream
......@@ -473,3 +475,6 @@ g_data_output_stream_put_string (GDataOutputStream *stream,
&bytes_written,
cancellable, error);
}
#define __G_DATA_OUTPUT_STREAM_C__
#include "gioaliasdef.c"
......@@ -74,8 +74,6 @@ GDataOutputStream* g_data_output_stream_new (GOutputStream *base_stream)
void g_data_output_stream_set_byte_order (GDataOutputStream *stream,
GDataStreamByteOrder order);
GDataStreamByteOrder g_data_output_stream_get_byte_order (GDataOutputStream *stream);
void g_data_output_stream_set_expand_buffer (GDataOutputStream *stream,
gboolean expand_buffer);
gboolean g_data_output_stream_put_byte (GDataOutputStream *stream,
guchar data,
......
......@@ -36,6 +36,8 @@
#include <glib/gstdio.h>
#include "glibintl.h"
#include "gioalias.h"
#define DEFAULT_APPLICATIONS_GROUP "Default Applications"
#define MIME_CACHE_GROUP "MIME Cache"
......@@ -2190,3 +2192,6 @@ get_all_desktop_entries_for_mime_type (const char *base_mime_type)
return desktop_entries;
}
#define __G_DESKTOP_APP_INFO_C__
#include "gioaliasdef.c"
......@@ -29,6 +29,8 @@
#include "gvfs.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdirectorymonitor
* @short_description: Directory Monitor
......@@ -489,3 +491,6 @@ g_directory_monitor_emit_event (GDirectoryMonitor *monitor,
update_rate_limiter_timeout (monitor, limiter->send_virtual_changes_done_at);
}
}
#define __G_DIRECTORY_MONITOR_C__
#include "gioaliasdef.c"
......@@ -25,6 +25,8 @@
#include "gsimpleasyncresult.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gdrive
* @short_description: Virtual File System drive management
......@@ -383,3 +385,6 @@ g_drive_eject_finish (GDrive *drive,
return (* iface->mount_finish) (drive, result, error);
}
#define __G_DRIVE_C__
#include "gioaliasdef.c"
......@@ -32,6 +32,8 @@
#include "gdummyfile.h"
#include "gioalias.h"
static void g_dummy_file_file_iface_init (GFileIface *iface);
typedef struct {
......
......@@ -34,6 +34,8 @@
#include "gpollfilemonitor.h"
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfile
* @short_description: File and Directory Handling
......@@ -4605,3 +4607,6 @@ g_file_replace_contents_finish (GFile *file,
return TRUE;
}
#define __G_FILE_C__
#include "gioaliasdef.c"
......@@ -28,6 +28,8 @@
#include <glib-object.h>
#include "glibintl.h"
#include "gioalias.h"
/**
* SECTION:gfileattribute
* @short_description: Key-Value Paired File Attributes
......@@ -906,3 +908,6 @@ g_file_attribute_info_list_add (GFileAttributeInfoList *list,
list_update_public (priv);
}
#define __G_FILE_ATTRIBUTE_C__
#include "gioaliasdef.c"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment