glib/gio/tests
Dan Winship e56498ee0b Fix usage of _GNU_SOURCE
_GNU_SOURCE must be defined before including any other (system)
header, so defining it in glib-unix.h (and hoping no one has included
anything else before that) is wrong. And the "#define _USE_GNU"
workaround for this problem in gnetworkingprivate.h is even wronger
(and still prone to failure anyway due to single-include guards).

Fix this by defining _GNU_SOURCE in config.h when building against
glibc. In theory this is bad because new releases of glibc may include
symbols that conflict with glib symbols, which could then cause
compile failures. However, most people only see new releases of glibc
when they upgrade their distro, at which point they also generally get
new releases of gcc, which have new warnings/errors to clean up
anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=649201
2011-05-03 07:07:41 -04:00
..
schema-tests compile schemas test: open ranges for all types 2011-03-31 15:15:09 +05:30
.gitignore Update .gitignores 2011-05-02 09:54:15 -04:00
actions.c Rename methods on GActionGroup to include 'action' 2010-10-19 01:16:46 +02:00
appinfo-test2.desktop Cleanups 2010-07-05 00:56:12 -04:00
appinfo-test-gnome.desktop Add some more appinfo tests 2010-07-04 20:51:06 -04:00
appinfo-test-notgnome.desktop Add some more appinfo tests 2010-07-04 20:51:06 -04:00
appinfo-test.c Merge the wip/gapplication branch 2010-06-07 13:48:42 -04:00
appinfo-test.desktop Add some more appinfo tests 2010-07-04 20:51:06 -04:00
appinfo.c Add tests about file associations 2010-07-30 19:51:20 -04:00
async-close-output-stream.c Add bug references to some tests 2010-08-13 21:23:23 -04:00
buffered-input-stream.c Plug a mem leak in buffered-input-stream test 2010-09-03 15:57:26 -04:00
buffered-output-stream.c Improve coverage of buffered output stream tests 2010-07-30 19:51:21 -04:00
contenttype.c Misc test additions 2010-07-05 03:09:36 -04:00
contexts.c Plug a mem leak in contexts test 2010-09-03 16:00:15 -04:00
converter-stream.c Silence a bunch of -Wunused-but-set-variable warnings 2011-04-08 15:44:25 -04:00
data-input-stream.c Add g_data_input_stream_read_upto{,async,finish} 2010-09-13 13:14:25 -04:00
data-output-stream.c Plug a huge mem leak in data-output-stream test 2010-09-03 15:55:10 -04:00
de.po Merge GSettings tests 2010-04-17 01:48:05 -04:00
desktop-app-info.c tests: unbreak desktop-app-info test for jhbuild 2010-12-28 12:18:51 +01:00
echo-server.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
enums.xml.template GSettings: major refactor. Add enums, range. 2010-06-16 18:17:53 -04:00
file.c Silence a bunch of -Wunused-but-set-variable warnings 2011-04-08 15:44:25 -04:00
filter-cat.c Add GZIP header processing to GZlibCompressor/GZlibDecompressor 2010-08-17 17:37:32 +02:00
filter-streams.c Fix warning 2010-06-09 10:32:36 +02:00
g-file-info.c Plug a mem leak in g-file-info test 2010-09-03 15:37:08 -04:00
g-file.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
g-icon.c Make gio/tests/g-icon pass again 2010-11-27 16:56:44 -05:00
gapplication-example-actions.c gio: Remove unused variables from test 2010-12-02 20:11:28 +01:00
gapplication-example-cmdline2.c Fix another faulty GApplicationCommandline example 2011-04-08 17:02:01 -04:00
gapplication-example-cmdline3.c Avoid an interaction between GApplication and GOption 2011-04-08 07:19:38 -04:00
gapplication-example-cmdline.c Tweak GApplication docs 2010-11-02 23:02:05 -04:00
gapplication-example-open.c Tweak GApplication docs 2010-11-02 23:02:05 -04:00
gapplication.c Add test case for G_APPLICATION_NON_UNIQUE 2011-04-10 07:56:06 -04:00
gdbus-addresses.c Improve dbus address test coverage 2010-08-08 21:32:03 -04:00
gdbus-bz627724.c Add work-around for Bug 627724 2010-09-10 16:23:14 -04:00
gdbus-connection-flush-helper.c Bug 618882 – No way to ensure that a message is sent 2010-07-07 15:03:03 -04:00
gdbus-connection-slow.c GDBus: Move "slow" connection test cases into separate test program 2010-09-23 15:49:04 -04:00
gdbus-connection.c Bug 632544 – Cannot send a locked message with PRESERVE_SERIAL flag 2010-12-13 13:09:38 -05:00
gdbus-error.c Add some more test about gdbus_error apis 2010-08-07 18:55:21 -04:00
gdbus-example-export.c remove the redundant interface_name parameter 2010-05-13 13:09:58 -04:00
gdbus-example-objectmanager-client.c gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes 2011-04-25 09:29:18 -04:00
gdbus-example-objectmanager-server.c gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes 2011-04-25 09:29:18 -04:00
gdbus-example-own-name.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-peer.c GDBusServer: Make ::new-connection return whether the connection was claimed 2010-09-09 14:02:31 -04:00
gdbus-example-proxy-subclass.c Bug 621213 – GDBusProxy and well-known names 2010-06-11 18:21:27 -04:00
gdbus-example-server.c GDBus: Add GDBusSendMessageFlags 2010-07-19 16:07:57 -04:00
gdbus-example-subtree.c Update the GDBus subtree example for the new API 2010-07-19 15:03:54 -04:00
gdbus-example-unix-fd-client.c GDBus: Add GDBusSendMessageFlags 2010-07-19 16:07:57 -04:00
gdbus-example-watch-name.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-watch-proxy.c Bug 621213 – GDBusProxy and well-known names 2010-06-11 18:21:27 -04:00
gdbus-exit-on-close.c Fix gdbus-exit-on-close test case 2010-08-03 12:47:07 -04:00
gdbus-export.c Add a (currently failing) testcase 2011-02-15 19:49:24 -05:00
gdbus-introspection.c Fix memory leaks in the gdbus introspection parser 2011-02-15 02:29:15 -05:00
gdbus-message.c GDBusMessage: Don't reset serial number when copying 2010-09-09 15:15:13 -04:00
gdbus-names.c GDBus: fix name test cases 2010-09-23 16:28:59 -04:00
gdbus-non-socket.c Bug 627188 – gdbus-non-socket test occasionally fails 2010-08-18 13:09:04 -04:00
gdbus-peer.c Fix usage of _GNU_SOURCE 2011-05-03 07:07:41 -04:00
gdbus-proxy-well-known-name.c Bug 621213 – GDBusProxy and well-known names 2010-06-11 18:21:27 -04:00
gdbus-proxy.c Plug a mem leak in the gdbus-proxy test 2010-09-03 16:05:28 -04:00
gdbus-serialization.c Fix some compiler warnings from gcc 4.6 2011-04-15 15:51:25 -04:00
gdbus-sessionbus.c GDBus: Don't use abstract sockets in test code 2010-09-23 19:16:25 -04:00
gdbus-sessionbus.h Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-test-codegen.c gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes 2011-04-25 09:29:18 -04:00
gdbus-tests.c GDBus: Use thread-default GMainContext in _g_assert_property_notify + friends 2011-04-11 10:51:37 -04:00
gdbus-tests.h Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-testserver.py GDBus: Remove cached value if a property is invalidated 2010-05-14 12:56:09 -04:00
gdbus-threading.c GDBus: Add GDBusSignalFlags and use it in g_dbus_connection_signal_subscribe() 2010-07-19 15:05:10 -04:00
gschema-compile.c compile schemas test: open ranges for all types 2011-03-31 15:15:09 +05:30
gsettings.c Improve test coverage 2011-02-13 23:49:19 -05:00
httpd.c Silence a bunch of -Wunused-but-set-variable warnings 2011-04-08 15:44:25 -04:00
io-stream.c Add g_io_stream_splice_async/finish() 2010-12-13 17:36:12 +01:00
live-g-file.c Silence a bunch of -Wunused-but-set-variable warnings 2011-04-08 15:44:25 -04:00
live-g-file.txt Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
Makefile.am Fix build broken by previous commit 2011-04-23 19:26:56 -04:00
memory-input-stream.c Plug a mem leak in the memory-input-stream test 2010-09-03 15:31:37 -04:00
memory-output-stream.c Improve coverage of memory stream tests 2010-07-30 19:51:21 -04:00
network-address.c Plug a mem leak in network-address test 2010-09-03 16:01:10 -04:00
org.gtk.test.gschema Merge GSettings tests 2010-04-17 01:48:05 -04:00
org.gtk.test.gschema.xml GSettings: add G_SETTINGS_BIND_INVERT_BOOLEAN flag 2010-08-03 02:09:10 -04:00
pollable.c Add pollable input/output streams 2010-11-26 15:08:08 -05:00
proxy.c Fix some compiler warnings from gcc 4.6 2011-04-15 15:51:25 -04:00
readwrite.c Plug a mem leak in readwrite test 2010-09-03 15:44:28 -04:00
resolver.c gio: Add a count to the resolver test for number of enumerators 2010-12-07 19:39:24 +01:00
send-data.c GSocketClient: add a timeout property 2010-08-14 15:26:16 -04:00
simple-async-result.c Improve the async result test coverage 2010-08-08 21:32:03 -04:00
sleepy-stream.c Silence a bunch of -Wunused-but-set-variable warnings 2011-04-08 15:44:25 -04:00
socket-client.c tls: Make g_tls_{client|server}_connection_new() return a GIOStream 2010-12-07 19:39:24 +01:00
socket-common.c Add initial TLS (SSL) support to gio 2010-11-26 15:57:11 -05:00
socket-server.c tls: Make g_tls_{client|server}_connection_new() return a GIOStream 2010-12-07 19:39:24 +01:00
socket.c Make g_unix_connection_send_fd() work as expected. 2011-01-12 16:01:32 -05:00
srvtarget.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
test-codegen.xml gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes 2011-04-25 09:29:18 -04:00
testenum.h Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
unix-fd.c GUnixSocketAddress: handle abstract sockets with non-0-padded names 2010-04-22 11:54:41 -04:00
unix-streams.c Fix a possible deadlock 2010-08-03 10:41:21 -04:00
volumemonitor.c volume monitor: don't unref NULL 2010-10-05 02:29:47 -04:00
win32-streams.c Add GWin32InputStream and GWin32OutputStream classes 2010-04-19 11:54:56 +03:00