Commit Graph

8254 Commits

Author SHA1 Message Date
Ryan Lortie
3e30e8a87e make tests not dynamic link against /lib/libglib
For some reason, even though the tests are linked against libgobject.la
and libgobject.la mentions libglib.la as a dependency, the tests are
running against the system glib instead of the in-tree one.

Adding the libglib.la file as an explicit LDFLAG fixes it.
2010-02-10 11:35:01 -05:00
Ryan Lortie
1e655eb02c merge GVariant 2010-02-10 11:35:01 -05:00
Matej Urbančič
2afe2325c4 Updated Slovenian translation 2010-02-10 16:34:53 +01:00
Matthias Clasen
243e340d6e bump version 2010-02-09 10:35:01 -05:00
Matthias Clasen
1831ff2d30 2.23.3 2010-02-09 10:20:37 -05:00
Matthias Clasen
f570cf99b3 Doc cleanups 2010-02-09 09:16:23 -05:00
Matthias Clasen
a68c0cde8f Updates 2010-02-09 08:46:50 -05:00
Ryan Lortie
bd6a88aef7 gstrfuncs.h: needs gmacros.h for G_BEGIN_DECLS 2010-02-08 00:44:32 -05:00
Theppitak Karoonboonyanan
0be1a4fb97 Updated Thai translation. 2010-02-08 09:57:37 +07:00
Ryan Lortie
e04c9c699c add missing #include "config.h" 2010-02-07 15:43:06 -05:00
Ryan Lortie
218c691ca3 remove #include <glib.h> from some .c files
include individual headers instead
2010-02-07 03:14:28 -05:00
Ryan Lortie
ea2917b01f gurifuncs.c: #include "string.h" -> <string.h> 2010-02-07 03:08:08 -05:00
Ryan Lortie
9f30337573 GVariantTypeInfo: free hash table when not in use 2010-02-07 02:52:07 -05:00
Ryan Lortie
80538aba7e merge the GVariant serialiser 2010-02-06 10:26:02 -05:00
Ryan Lortie
eea6042f5f GMappedFile: minimal changes to support GBuffer
Just reorganise the GMappedFile struct to be binary compatible with
GBuffer.  If GBuffer becomes public later then we can revisit this.
2010-02-06 10:19:29 -05:00
Ryan Lortie
3f4b7f6d37 add private GBuffer type 2010-02-06 10:18:08 -05:00
Tim-Philipp Müller
813d0d17a6 Don't leak filename in g_io_modules_scan_all_in_directory
https://bugzilla.gnome.org/show_bug.cgi?id=608159
2010-02-06 13:37:04 +01:00
Hans Breuer
4adde81771 Fix inconsistent line-endings
Apparently CRLF (windows format) was checked in from Linux
causing modified by checkout under windows. See:
http://help.github.com/dealing-with-lineendings/
http://mail.gnome.org/archives/gtk-devel-list/2009-July/msg00041.html
2010-02-06 13:22:39 +01:00
Tor Lillqvist
00b55e2bc7 Drop empty elements from the VS9 vcproj files
Dunno if this makes sense, if one lets VS edit the it will put them
back anyway. But it's more pleasing to the eye.
2010-02-06 10:42:28 +02:00
Jonh Wendell
10cd6df4a8 Updated Brazilian Portuguese translation 2010-02-05 11:09:26 -03:00
Ryan Lortie
5e753d6abc rename test: gvarianttype -> gvariant
More test cases will be added to this file.
2010-02-04 20:32:39 -05:00
Petr Kovar
9a990cea0c Update Czech translation 2010-02-04 23:54:15 +01:00
Tor Lillqvist
762e18d8ce Further work on VS9 project files 2010-02-04 19:59:12 +02:00
Tor Lillqvist
021643cda4 Clarify use of struct stat on Windows 2010-02-04 19:59:05 +02:00
Tor Lillqvist
5589d2b455 Internally use the _stati64 API explicitly on Windows
Avoids warnings and confusion when compiling with MSVC.
2010-02-04 19:58:55 +02:00
Tor Lillqvist
05291c0d11 Enable libtool compatible DLL naming in the VS9 projects 2010-02-04 19:58:21 +02:00
Ryan Lortie
bfd60d8835 GVariantType test case: assert all memory freed
Make sure we've freed all TypeInfos at the end of the test.
2010-02-04 09:08:51 -05:00
Ryan Lortie
6d6d7a8bb2 GVariantTypeInfo tweaks
1) always emit ending type FIXED for fixed sized items

    The serialiser needs to know if it dealing with a fixed sized item
    in case the serialised data is corrupt and the item has the wrong
    size.

  2) add a macro that will be used by test cases to check that all
     memory has been freed.
2010-02-04 09:08:51 -05:00
Tor Lillqvist
cb7dfdc194 Use inherited properties in all configurations in gmodule, too 2010-02-04 15:04:22 +02:00
Tor Lillqvist
79eb03aa4f Use README.txt instead of README for Windows developer friendliness 2010-02-04 14:54:28 +02:00
Tor Lillqvist
ec19447815 Update README for VS9 build 2010-02-04 14:54:20 +02:00
Tor Lillqvist
9d444f7b12 Refactor VS9 project files
Factor out common parts into a vsprops file. Drop empty elements for
tools that aren't used.
2010-02-04 14:53:44 +02:00
Tor Lillqvist
241c7f476d Don't use deprecated g_win32 API 2010-02-04 14:53:20 +02: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
Tor Lillqvist
154a5314be Update copyright years 2010-02-04 00:12:50 +02:00
Krzesimir Nowak
33b011ce7d Add checks for NULL pointer in arrays.
Fixes: Bug 599197 -  array ref and unref functions crash on NULL
array.

* garray.c: Added safety guards to all public functions, which did
not have them earlier. Now when NULL is passed to them, they will
issue a warning and return, instead of segfaulting.
2010-02-03 21:48:39 +01:00
River Tarnell
2b121c02ef properly guard the includes
Fixes: Bug 604967 -  2.22.3 libasyncns build fails on HP-UX 11.11

* gio/libasyncns/asyncns.c: properly guard the includes of sys/select.h
  and sys/time.h
2010-02-03 17:31:02 +01:00
Tor Lillqvist
e62e7227bf Fix the "install" VS9 project
Install also ghostutils.h. Don't bother mentioning any pointless
PreprocessorDefinitions for the "install" project, as all it does is
copy files.
2010-02-03 18:12:32 +02:00
Ryan Lortie
0ac2277b49 GVariantTypeInfo changes
- rename 'type' in MemberInfo to 'type_info'
 - add 'ending_type' field to MemberInfo
 - document how to find the ending
2010-02-02 23:39:21 -05:00
Tor Lillqvist
1de58ef708 Link with dnsapi.lib also in 32-bit builds 2010-02-02 21:26:12 +02:00
Tor Lillqvist
57d3e4cba3 Include also testglib.vcproj in tarball 2010-02-02 21:26:01 +02:00
Philip Withnall
cf0e4c33fa Don't use a compiler keyword as a variable name
Appease the MS C++ compiler by using _val instead of __value as a variable
name in G_VALUE_COLLECT_INIT.

Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.
Re-closes: bgo#608602
2010-02-02 10:41:00 +00:00
Ryan Lortie
e2bc5c2112 g_bit_lock: remove double variable declarations
Remove double declaration of local static variables used for futex
emulation.

Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.
2010-02-01 18:32:34 -05:00
Dan Winship
27a080537e ghostutils: Fix a crash and add some tests
https://bugzilla.gnome.org/show_bug.cgi?id=608743
2010-02-01 18:12:39 -05:00
Ryan Lortie
3443f47ddf G{Byte,Ptr,}Array: move docs from tmpl to .c 2010-02-01 12:39:29 -05:00
Ryan Lortie
501a2906d3 GList, GSList: move docs from tmpl to .c 2010-02-01 12:39:24 -05:00
Ryan Lortie
c8c5c5a991 remove trailing whitespace breaking .gitignore 2010-02-01 10:28:39 -05:00
Ryan Lortie
4bdf7d12a8 GIOChannel: move docs from tmpl to .c 2010-02-01 10:28:39 -05:00
Ryan Lortie
4353151449 GTree, GNode: move docs from tmpl to .c 2010-02-01 10:28:39 -05:00
Ryan Lortie
d81506a154 GThreadPool: move docs from tmpl to .c 2010-02-01 10:28:39 -05:00