Commit Graph

704 Commits

Author SHA1 Message Date
Benjamin Otte
2262d76b33 Move gio tests from gio/tests/ to tests/gio/
This avoids getting tests built every time when working on libgio and
running make in the gio/ directory.
2009-07-01 19:03:19 +02:00
David Zeuthen
0ccd18bc83 Bug 586675 – Runtime library location
Introduce an option to specify the runtime location for libraries via
a relative path to libdir.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-06-23 12:58:35 -04:00
Matthias Clasen
440bf5bee5 Use pipe2 when available
This avoids a small window for races between pipe and fdset.
Reported in bug 579933 by Thiago Macieira.
2009-06-19 23:44:29 -04:00
Matthias Clasen
854a43a3cd Fix build on mingw
Mingw does not have sys/uio.h. This was reported in bug 585937.

Author:    Matthias Clasen <mclasen@redhat.com>
2009-06-19 23:25:18 -04:00
Matthias Clasen
f4a64cb068 Bump version to 2.21.3 2009-06-15 13:27:40 -04:00
Matthias Clasen
8a3a3d797e Use inotify_init1 when available
To avoid leaking the inotify fd. Fixes bug 585478.
2009-06-14 22:29:17 -04:00
Matthias Clasen
661bb521d1 Bump version 2009-05-28 23:50:48 -04:00
Alexander Larsson
623f99dc3d Add required defines on solaris for GSocket to build (#582856)
Turns out that the msg_control and related things are not defined in the
system headers unless you define some _XOPEN_SOURCE things.
2009-05-27 11:11:37 +02:00
Christian Persch
fc9a888b8c Add G_G[U]INTPTR_FORMAT and G_GINTPTR_MODIFIER
Add macros for printf formatting for g[u]intptr. Bug 569376.
2009-05-23 17:58:10 +02:00
Alexander Larsson
145cec3c93 Import GInitable, GSocket and dependencies from gnio
This adds:
GInitable - failable object constructor interface
GAsyncInitable - async failable object constructor interface
GSocket - Platform independent lowlevel berkely socket style object
GSocketControlMessage - For passing control messages over GSocket
GUnixFDMessage - unix fd passing socket control message

Some changes were done during the import from gnio to make things
work in glib. For instance, types were moved to other headers, header
file boiler plate were updated to glib style and gio.symbols stuff
was added.
2009-05-14 15:44:36 +02:00
Alexander Larsson
33c00e5c33 Add g_network_address_parse
This is useful if you want to allow users to specify
the hostname and optionally a port.
2009-05-14 15:34:12 +02:00
Matthias Clasen
757f9281d7 Bump version to 2.21.1 2009-05-03 18:08:50 -04:00
Matthias Clasen
ff104337d9 Bump version to 2.21.0 2009-05-02 21:58:30 -04:00
paul
61f130015b Fix socket-related configure tests on old platforms
include <sys/types.h> in case <sys/socket.h> doesn't. #580299
2009-04-26 13:22:10 -04:00
Dan Winship
c94d3f9288 Add GResolver, a glib-ish interface to DNS
GResolver provides asynchronous (and synchronous-but-cancellable) APIs
for resolving hostnames, reverse-resolving IP addresses back to
hostnames, and resolving SRV records. Part of #548466.
2009-04-22 08:36:32 -04:00
Dan Winship
68fc055627 Add network address and socket types
Types and methods for dealing with IPv4 and IPv6 addresses (and UNIX
domain socket addresses under UNIX). This does not include code for
actual socket I/O.

Originally from "gnio". Much of the code was written by Christian
Kellner, Samuel Cormier-Iijima, and Ryan Lortie.

Part of #548466.
2009-04-22 08:36:10 -04:00
Matthias Clasen
b85834c223 Bump version 2009-04-11 18:10:24 -04:00
Alexander Larsson
6cff88ba18 Bug 575555 – Use fsync() when replacing files to avoid data loss on
2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * configure.in:
	Look for fsync().

        * glib/gfileutils.c:
        (write_to_temp_file):
	fsync temp file if destination file exists

2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * glocalfileoutputstream.c:
        (g_local_file_output_stream_close):
        (_g_local_file_output_stream_replace):
	fsync temp file before closing if replacing target file

	

svn path=/trunk/; revision=7991
2009-03-16 16:03:13 +00:00
Matthias Clasen
621ef866b1 Bump version
svn path=/trunk/; revision=7978
2009-03-13 05:45:53 +00:00
Matthias Clasen
5a8a224ff0 2.20.0
svn path=/trunk/; revision=7976
2009-03-13 05:44:11 +00:00
Matthias Clasen
7707cf78b1 Bump version
svn path=/trunk/; revision=7944
2009-03-02 06:49:25 +00:00
Matthias Clasen
d1e4cc4ec0 Bump version
svn path=/trunk/; revision=7941
2009-03-02 05:52:09 +00:00
Matthias Clasen
6438f1689c Bump version
svn path=/trunk/; revision=7878
2009-02-17 18:48:26 +00:00
Matthias Clasen
cf3c12cb6d Bump version
svn path=/trunk/; revision=7870
2009-02-17 02:51:46 +00:00
Matthias Clasen
e194c48373 bump version
svn path=/trunk/; revision=7847
2009-02-02 21:42:11 +00:00
Matthias Clasen
a9243ac8f6 Bump version
svn path=/trunk/; revision=7844
2009-02-02 19:19:53 +00:00
Christian Persch
17b9b43a7a Add G_GOFFSET_FORMAT and friends. Bug #563141.
* configure.in:
	* docs/reference/glib/glib-sections.txt:
	* docs/reference/macros_misc.sgml:
	* docs/reference/glib/tmpl/types.sgml: Add
	G_GOFFSET_FORMAT and friends. Bug #563141.

svn path=/trunk/; revision=7834
2009-01-28 14:09:18 +00:00
Matthias Clasen
a5fd60a8ac Define an ENABLE_REGEX macro
* configure.in: Define an ENABLE_REGEX macro

        * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
        is not defined.


svn path=/trunk/; revision=7815
2009-01-18 06:53:44 +00:00
Matthias Clasen
84cca3b58d Bump version
svn path=/trunk/; revision=7779
2009-01-05 18:08:25 +00:00
Matthias Clasen
6e5efcdb1d Use visibility attribute for new enough sun cc. Patch by Chris Wang
* configure.in: Use visibility attribute for new enough sun cc.
        Patch by Chris Wang


svn path=/trunk/; revision=7760
2009-01-03 01:00:38 +00:00
Matthias Clasen
184d6b2c4a Bump version
svn path=/trunk/; revision=7748
2008-12-15 20:03:12 +00:00
Matthias Clasen
154fe24134 Add an implementation for the CRIS and CRISv32 architectures, by Peter
* configure.in:
        * glib/gatomic.c: Add an implementation for the CRIS and CRISv32
        architectures, by Peter Kjellerstedt


svn path=/trunk/; revision=7732
2008-12-08 04:27:37 +00:00
Matthias Clasen
26a4a31b1a Bump version
svn path=/trunk/; revision=7723
2008-12-01 20:03:38 +00:00
Matthias Clasen
52bfda3aea Bump version
svn path=/trunk/; revision=7718
2008-12-01 14:48:22 +00:00
Matthias Clasen
181c615ca4 Bug 557603 – carbon check output misplaced
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 557603 – carbon check output misplaced

        * configure.in: Call AC_PROG_CPP early to avoid it messing up
        carbon check output. Fix proposed by Christian Persch



svn path=/trunk/; revision=7703
2008-11-28 20:17:15 +00:00
Matthias Clasen
08cae5cd63 Nicer indices
svn path=/trunk/; revision=7665
2008-11-21 07:28:50 +00:00
Tor Lillqvist
24fcd3cef8 Expand also build/win32/vs9/Makefile.
2008-11-02  Tor Lillqvist  <tml@novell.com>

	* configure.in: Expand also build/win32/vs9/Makefile.


svn path=/trunk/; revision=7641
2008-11-02 19:43:52 +00:00
Matthias Clasen
8959a9dfe7 Bump version
svn path=/trunk/; revision=7613
2008-10-17 00:06:03 +00:00
Sven Herzberg
62510425df Bug 556101 – static mutex yields warnings with g++ Reviewed by Tim Janik
2008-10-13  Sven Herzberg  <sven@imendio.com>

	Bug 556101 – static mutex yields warnings with g++
	Reviewed by Tim Janik

	* configure.in: added an intermediate cast to gpointer


svn path=/trunk/; revision=7598
2008-10-13 12:54:13 +00:00
Behdad Esfahbod
644ac7fe14 With libtool 2.x, regenerate libtool early. Based on bug 552107, patch by
2008-10-10  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: With libtool 2.x, regenerate libtool early.
        Based on bug 552107, patch by Patryk Zawadzki


svn path=/trunk/; revision=7592
2008-10-10 23:55:38 +00:00
Matthias Clasen
a44ff6ef33 Bump version to 2.19.0
2008-09-18  Matthias Clasen <mclasen@redhat.com>

        * configure.in: Bump version to 2.19.0

        * ChangeLog.pre-2-18: rotate ChangeLog

        * === branch for 2.18 ===


svn path=/trunk/; revision=7510
2008-09-18 14:47:14 +00:00
Matthias Clasen
d369843405 Bump version
svn path=/trunk/; revision=7507
2008-09-17 23:58:48 +00:00
Behdad Esfahbod
bf6222e785 Fix description of module shared library suffix.
2008-09-15  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Fix description of module shared library suffix.


svn path=/trunk/; revision=7494
2008-09-15 18:59:25 +00:00
Matthias Clasen
6905f5c524 Bump version
svn path=/trunk/; revision=7436
2008-09-02 20:20:04 +00:00
Matthias Clasen
691c77e37d Bump version to 2.18.0
svn path=/trunk/; revision=7430
2008-09-02 17:47:54 +00:00
Ryan Lortie
ef4df848e0 [REVERT] Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28  Ryan Lortie  <desrt@desrt.ca>

        [REVERT] Bug 548612 – g_strstr_len() should use memmem when available

        * configure.in:
        * glib/gstrfuncs.c (g_strstr_len): revert use of memmem (see bug)


svn path=/trunk/; revision=7413
2008-08-28 22:55:36 +00:00
Matthias Clasen
0eca17a9f2 Fix selinux linking
svn path=/trunk/; revision=7412
2008-08-28 19:45:58 +00:00
Bastien Nocera
5e2a6047ea Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28  Bastien Nocera  <hadess@hadess.net>

	Bug 548612 – g_strstr_len() should use memmem when available

	* configure.in: detect whether memmem is available in the C library
	* glib/gstrfuncs.c (g_strstr_len): use memmem for g_strstr_len() if
	available in it's available, as it could be optimised by the C library
	* tests/string-test.c (main): Add a few tests for g_strstr_len()


svn path=/trunk/; revision=7407
2008-08-27 23:23:23 +00:00
Matthias Clasen
f1d6c42b3d Bump version
svn path=/trunk/; revision=7369
2008-08-18 13:21:56 +00:00
Matthias Clasen
d94f2b42be Accept lesser mmaps
svn path=/trunk/; revision=7356
2008-08-15 03:41:14 +00:00