Commit Graph

12774 Commits

Author SHA1 Message Date
Dan Winship
51609ec943 tests/gdatetime: fix new_from_unix test
When creating a struct tm for "1990-01-01T00:00:00" to pass to
mktime(), we have to set tm_isdst to -1; leaving it set to 0 will
result in the wrong time being generated when run in a timezone where
January 1 would normally be tm_isdst==1 (ie, in southern hemisphere
DST-observing countries, like Australia).

https://bugzilla.gnome.org/show_bug.cgi?id=670254
2012-04-04 14:49:15 -04:00
Daniel Mustieles
f0a3241eab Updated Spanish translation 2012-04-04 17:18:59 +02:00
Gabor Kelemen
e133f31896 Updated Hungarian translation 2012-04-04 17:02:04 +02:00
Dan Winship
47adef84da Fix warnings caused by an ifdeffed-out test case 2012-04-04 10:47:04 -04:00
Matej Urbančič
142b0455ff Updated Slovenian translation 2012-04-04 13:42:44 +02:00
Rodrigo Moya
9aa19e1d96 Use 'if test' for checking auto* variables' values 2012-04-04 11:55:40 +02:00
Rodrigo Moya
118c42e747 Always include G_SOCKET_FAMILY_UNIX value in GSocketFamily
This is needed because glib-mkenums doesn't handle #ifdef values in
enums, and so it needs to have all values always defined in the enum.
When not available, define the missing values to a negative value.
2012-04-04 11:39:03 +02:00
Guillaume Desmottes
091d652120 use GLIB_DEPRECATED_IN_2_32_FOR to deprecate g_value_{g,s}et_schar
https://bugzilla.gnome.org/show_bug.cgi?id=673439
2012-04-03 16:46:13 +02:00
Will Thompson
f2c77ee718 g_input_stream_read[_finish]: document returning 0 on EOF
g_input_stream_read() does state that it returns 0 on end of file, but
not in the Returns: line, so it's easy to miss on a quick skim-read.

g_input_stream_read_async() documents that g_input_stream_read_finish()
returns 0 on end of file, but g_input_stream_read_finish() itself does
not.

https://bugzilla.gnome.org/show_bug.cgi?id=673174
2012-04-02 18:10:35 +01:00
Matthias Clasen
27d95bd81f Rework the libelf configure checks one more time
It seems that there is quite a bit of variation out there, in
terms of libelf versions and API. Make the checks more thorough,
by not only checking for elf_begin, but also some of the shdr function
that we need. Also, explicitly check for libelf.h.

This should address bug 673132 and 673253.
2012-04-02 09:09:11 -04:00
Matthias Clasen
e51c3b4cfe Use new hashset api in the hash set tests 2012-04-02 09:09:11 -04:00
Matthias Clasen
c2318a18f9 Dispose test object
While not very important, it means one less untested function
in the coverage report.
2012-04-02 09:09:11 -04:00
Matthias Clasen
c173c0beb4 Drop g_thread_init from tests
This is not needed anymore.
2012-04-02 09:09:11 -04:00
Matthias Clasen
9ea9471d26 Improve GBusObjectManager test coverage 2012-04-02 09:09:10 -04:00
David King
548337b042 docs: Fix typo in glib-compile-schemas man page 2012-04-02 10:22:56 +01:00
Matthias Clasen
bebbc69081 Improve boxed test coverage
This commit add basic tests for all GLib types that are registered
as boxed types.
2012-04-01 23:08:42 -04:00
Matthias Clasen
e7c0f10ee0 Drop some unused PCRE sources
There is no point in compiling these, since we are not calling
any of the functions in them.
2012-04-01 23:08:42 -04:00
Daniel Nylander
0f469c2631 Updated Swedish translation 2012-04-01 13:11:33 +02:00
Antoine Jacoutot
829db4cec3 gthread-posix: fix typo in error message 2012-03-31 22:48:42 +02:00
Antoine Jacoutot
1494544958 gresource: libelf, try pkg-config first then fall-back to AC_CHECK_LIB
On some systems gelf.h may not be stored under the top level include
directory in which case we need to add the correct include paths in
cflags by using pkg-config(1).
2012-03-31 20:22:51 +02:00
Robert Ancell
4143842eb4 Add missing allow-none annotations for function parameters.
Found using:
find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
2012-03-31 20:34:28 +11:00
Matthias Clasen
4cf5d25316 Fix a link
As pointed out in bug 673139, the link to the mailing list
information page was outdated.
2012-03-30 17:34:37 -04:00
ManojKumar Giri
5f0ff457ce Updated Odia Translation 2012-03-30 18:10:03 +05:30
Christian Persch
e3cc48f289 resources: compiler: Respect absolute paths
When a <file> already has an absolute path, use it directly instead of trying to
locate it in the --sourcedir directories.

https://bugzilla.gnome.org/show_bug.cgi?id=672541
2012-03-29 17:43:43 +02:00
Kalev Lember
8f8fc83670 configure: Fix alignment tests when cross compiling
When inserting custom code to AC_CHECK_ALIGNOF, make sure to not replace
the default includes, but instead append to them.

This fixes ALIGNOF_GUINT32 and ALIGNOF_GUINT64 that were both 0 when cross
compiling. The third 'unsigned long' test wasn't affected because the
AC_CHECK_ALIGNOF call didn't specify the optional 2nd parameter.
2012-03-28 12:42:49 +03:00
Chun-wei Fan
92b84e88ab Fix gspawn-win32-helper Visual C++ projects
The name of the executable for the Release|Win32 and Release|x64 configs
were mixed up.  Fix that.  DOH! for not noting this earlier.
2012-03-28 15:12:04 +08:00
Chun-wei Fan
0463fa1cb0 Fix VS property sheets
We need to accomodate for gspawn-win64-helper-console.exe for the "install"
phase too.
2012-03-28 14:57:12 +08:00
Daniel Mustieles
50a8fa5efd Updated Spanish translation 2012-03-27 21:24:37 +02:00
Dan Winship
cbb95038cf GFileMonitor: fix docs bug 2012-03-27 12:45:27 -04:00
Sandeep Sheshrao Shedmake
5a68f59e5b Updated Marathi Translations 2012-03-27 15:04:14 +05:30
Bastien Nocera
9b0734a09c all: s/availible/available/ 2012-03-27 11:01:00 +02:00
Rajesh Ranjan
ec55b19da5 hindi translation by Chandan Kumar 2012-03-27 12:22:39 +05:30
Sandeep Sheshrao Shedmake
569357dcc3 Updated Marathi Translations 2012-03-26 19:48:20 +05:30
ManojKumar Giri
bf20906ad4 Updated Odia Translation 2012-03-26 18:42:41 +05:30
Marek Černocký
72c11eda58 Updated Czech translation 2012-03-26 14:49:18 +02:00
Rudolfs Mazurs
56c2c297cd Updated Latvian translation. 2012-03-25 15:05:26 +03:00
Luca Ferretti
c80eeae316 [l10n] Updated Italian translation 2012-03-25 13:14:47 +02:00
Shankar Prasad
f8ddba0b8a Updated Kannada Translation 2012-03-25 13:26:17 +05:30
Shankar Prasad
6bd8fecfa1 Updated Kannada Translation 2012-03-25 13:24:31 +05:30
Shankar Prasad
41cccb467f Updated Kannada Translation 2012-03-25 13:03:57 +05:30
Shankar Prasad
22885b1de4 Updated Kannada Translation 2012-03-25 12:42:50 +05:30
Matthias Clasen
e927df7b7a Add a forgotten include guard
gbytes.h was missing the single-include guard.
2012-03-24 23:00:15 -04:00
Shankar Prasad
de64aa8bd7 Updated Kannada Translation 2012-03-25 00:33:10 +05:30
Daniel Nylander
257e6c4e4e Updated Swedish translation 2012-03-24 16:58:42 +01:00
Matthias Clasen
d793287b3a Bump version 2012-03-24 11:31:01 -04:00
Matthias Clasen
816554c62b 2.32.0 2012-03-24 11:28:35 -04:00
Matthias Clasen
97cc0d0179 Release notes tweaks
Update download locations, mailing list instructions, and shuffle
the version-specific notes to be at the end.
2012-03-24 10:33:38 -04:00
Raphael Kubo da Costa
d2b7ee62f9 Make the `include' glib test case build on FreeBSD.
Defining _POSIX_C_SOURCE to 0 will make time.h not create the clockid_t
typedef used by some functions in pthread.h.

The right approach here is to set it to 199309L, which creates the
typedef on FreeBSD and doesn't set __USE_UNIX98 or __USE_XOPEN2K on
glibc, which is what the test is actually testing.

https://bugzilla.gnome.org/show_bug.cgi?id=672406
2012-03-22 11:02:07 -04:00
Krishnababu Krothapalli
fd8b01ead6 Updated Telugu Translations 2012-03-22 19:56:06 +05:30
Chun-wei Fan
b08b301223 glib/gqsort.c: Fix C99ism/GCCism
-There were a number of variables that were declared in the middle of
 the block, so move these declarations to the start of the block
-There was a use of mempcpy, but it is a GCC extension, so use memcpy since
 we didn't care about the return value of the call to mempcpy.

https://bugzilla.gnome.org/show_bug.cgi?id=672095
2012-03-20 22:29:50 -04:00