Commit Graph

756 Commits

Author SHA1 Message Date
Matthias Clasen
50f422b5fd Bump version 2010-05-14 22:30:19 -04:00
Matthias Clasen
02af71c7ff bump version 2010-05-14 11:49:15 -04:00
Matthias Clasen
6223341cac Merge branch 'gdbus-merge'
Conflicts:
	docs/reference/gio/gio-docs.xml
	docs/reference/gio/gio-sections.txt
	gio/tests/Makefile.am
2010-05-13 23:08:34 -04:00
Ryan Lortie
1165007023 Add configure check for memmem() 2010-05-14 00:53:59 +02:00
David Zeuthen
d0a14469d0 Initial GDBus code-drop from GDBus-standalone repo
Things compile and the test-suite passes. Still need to hook up
gio.symbols and docs. There are still a bunch of TODOs left in the
sources that needs to be addressed.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-05-06 14:21:32 -04:00
Matthias Clasen
c50754c7c9 bump version 2010-04-23 20:50:27 -04:00
Matthias Clasen
8f82b994c9 bump version 2010-04-22 22:24:38 -04:00
Matthias Clasen
4c276d05aa Bump version 2010-04-19 19:09:15 -04:00
Matthias Clasen
ca4f0a3d6d Bump version 2010-04-19 17:33:03 -04:00
Matthias Clasen
80ac5df96b Reset interface age to 0 2010-04-19 15:07:52 -04:00
Tor Lillqvist
9af8b83211 Add GWin32InputStream and GWin32OutputStream classes
Correspond to GUnixInputStream and GUnixOutputStream. No true async
support though. But that is how the Win32 API is, for files not
explicitly opened for so-called overlapped IO.

The API to create these streams takes Win32 HANDLEs. Not file
descriptors, because file descriptors are specific to the C library
used. The user code and GLib might be using different C libraries.

Also add a test program for the new classes, and a gio-windows-2.0.pc
file.
2010-04-19 11:54:56 +03:00
Ryan Lortie
ac5c1e2db6 set version to 2.25.0 2010-04-16 14:30:12 -04:00
Matthias Clasen
22dc3dd648 Bump version 2010-03-26 15:09:13 -04:00
Matthias Clasen
55e44a67e6 Bump version to 2.24.0 2010-03-26 10:39:56 -04:00
Ryan Lortie
468bbbfce1 Bump version 2010-03-21 20:07:45 -05:00
Ryan Lortie
2a209cb251 make check / makedistcheck fixes 2010-03-21 12:54:36 -05:00
Ryan Lortie
f6166be24d Bump version 2010-03-08 11:53:36 -05:00
Matthias Clasen
0a1ce31b6e Bump version 2010-02-21 21:38:33 -05:00
Matthias Clasen
6c1a914d51 Fix build on Solaris 8
System header fun. See bug 610131.
2010-02-21 15:55:10 -05:00
Christian Kellner
bb4f63d639 GFile: Support for splice(2) in copy_fallback
The (linux specific) system call splice can be
used to transfer data between file descriptors
whitout copying them into user space.
See bug #604086 for additional details.
2010-02-15 13:25:50 +01:00
Matthias Clasen
243e340d6e bump version 2010-02-09 10:35:01 -05:00
Tor Lillqvist
3f3c163aa2 Put a version info resource also in the gio DLL
Also, distribute gio/gio.rc(.in).
2010-02-04 00:37:13 +02:00
Ryan Lortie
40eae351b1 Bug 548967 - 1 bit mutex lock: add tests
Add a test case for the new API.

Always check the emulated futex(2) implementation, even on systems with
futex support.
2010-01-28 18:41:20 -05:00
Ryan Lortie
669b0f2d6b Bug 548967 - 1 bit mutex lock
Add support for a mutex lock that consumes only one bit of storage
inside of an integer on systems that support futexes.  Futex is emulated
(at a higher cost) on systems that don't have it -- but only in the
contended case.
2010-01-28 12:40:46 -05:00
Martin Pitt
3658727cfa always use our own internal assertion message symbol
Re-using glibc's __abort_msg symbol causes linking problems, since the symbol
is declared private. Always use our own__glib_abort_msg symbol to store
assertion messages, to avoid compatibility and linking problems.

Also fix the test case to work with out of tree builds (such as "make
distcheck"), and re-enable it.

https://bugzilla.gnome.org/show_bug.cgi?id=594872
2010-01-26 11:22:31 +01:00
Matthias Clasen
e84a3f8248 Bump version 2010-01-25 14:16:09 -05:00
Dan Winship
6c3551fedb [configure] More -lresolv-checking-fixing
https://bugzilla.gnome.org/show_bug.cgi?id=586150
2010-01-18 12:53:11 -05:00
Dan Winship
956b3b507d [configure] Fix res_query check for OS X
https://bugzilla.gnome.org/show_bug.cgi?id=586150
2010-01-13 12:02:39 -05:00
Alexander Larsson
94b8613b5f Use unconditional thread calls in gio and gobject
If threads are available we always enable threads in gobject, which
means all gio/gobject code can enable the unconditional thread calls.

This is a minor optimization since we avoid a bunch of unnecessary
is-threads-enabled checks.

https://bugzilla.gnome.org/show_bug.cgi?id=606775
2010-01-12 21:37:50 +01:00
Hiroyuki Ikezoe
37716bd00a Use GCC atomic builtin operations.
Fix for bug #531902.
2010-01-07 19:33:39 +09:00
Martin Pitt
da66897950 Support storing assertion messages into core dump
Crash interception/debugging systems like Apport or ABRT capture core dumps for
later crash analysis. However, if a program exits with an assertion failure,
the core dump is not useful since the assertion message is only printed to
stderr.

glibc recently got a patch which stores the message of assert() into the
__abort_msg global variable.
(http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=48dcd0ba)
That works fine for programs which actually use the standard C assert() macro.

This patch adds the same functionality for glib's assertion tests. If we are
building against a glibc which already has __abort_msg (2.11 and later, or
backported above git commit), use that, otherwise put it into our own field
__glib_assert_msg.

Usage:

  $ cat test.c
  #include <glib.h>

  int main() {
      g_assert(1 < 0);
      return 0;
  }

  $ ./test
  **ERROR:test.c:5:main: assertion failed: (1 < 0)
  Aborted (Core dumped)

  $ gdb --batch --ex 'print (char*) __abort_msg' ./test core
  [...]
  $1 = 0x93bf028 "ERROR:test.c:5:main: assertion failed: (1 < 0)"

https://bugzilla.gnome.org/show_bug.cgi?id=594872
2009-12-23 15:51:11 +00:00
Matthias Clasen
88261680f5 Bump version 2009-12-21 10:56:03 -05:00
Tor Lillqvist
a0bcd63304 Don't check for headers we include unconditionally
Don't bother checking for winsock2.h and mswsock.h in the configure
script as we include these unconditionally when building for Windows
anyway.
2009-12-14 03:16:55 +02:00
Tor Lillqvist
8dc200db04 Check for <wspiapi.h> and use it if present
Should help bug #603527 if glib is built in an environment that has
<wspiapi.h>.
2009-12-14 03:09:46 +02:00
Ryan Lortie
74a970f754 Add byteswap macros for gsize/gssize. 2009-11-30 19:53:30 -05:00
Matthias Clasen
8df6191a32 Bump version 2009-11-30 00:11:10 -05:00
Matthias Clasen
43149aafe0 Bump version to 2.23.0 2009-11-28 01:30:27 -05:00
Alexander Larsson
8cb1252d92 Add zlib dependency to gio
Will be used by compression APIs
2009-11-23 16:22:52 +01:00
Hib Eris
9c292a831f Fix check for C++ compiler when cross-compiling
Use AC_CHECK_TOOLS instead of AC_CHECK_PROGS. Patch from bug #577711.
2009-11-03 15:06:29 +02:00
Matthias Clasen
3daaa459e3 Bump version 2009-10-07 10:31:19 -04:00
Matthias Clasen
eeaf8c5120 Bump version 2009-09-29 23:08:03 -04:00
Matthias Clasen
cc95c60c69 Fix location of gdb macros
These files need to be put in a location that corresponds to the
location of the libraries, so we need to take the runtime-libdir
path into account.
2009-09-24 10:26:46 -04:00
Matthias Clasen
dcee4d4a66 Bump version 2009-09-24 10:25:54 -04:00
Matthias Clasen
74326a3865 Set version to 2.22.0 2009-09-22 09:41:04 -04:00
Matthias Clasen
e77b827884 Bump version 2009-09-04 21:20:09 -04:00
Benjamin Otte
3826963e65 Use lchmod instead of stat + chown if available
Fallout of the NOFLOOW_SYMLINKS fix from bug 593406
2009-09-01 21:53:35 +02:00
Luca Ferretti
ef5aef582e Fix bump version 2009-08-24 21:28:11 +02:00
Matthias Clasen
83d3242d12 Bump version 2009-08-24 14:15:13 -04:00
Matthias Clasen
f04a35e43b Bump version 2009-08-08 21:44:23 -04:00
Martin Nordholts
e4bf2ac41d Support silent build rules with automake 1.11
Support silent build rules, requires at least automake-1.11. Enable by
either passing --enable-silent-rules to configure or passing V=0 to
make. Bug #588863.
2009-07-17 16:57:37 +02:00