7112 Commits

Author SHA1 Message Date
Tor Lillqvist
7bac7f4474 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:40:03 +02:00
Tor Lillqvist
54bbf29f15 Further work on VS9 project files 2010-02-04 19:57:38 +02:00
Tor Lillqvist
cff040704e Clarify use of struct stat on Windows 2010-02-04 19:54:50 +02:00
Tor Lillqvist
4b995337fe Internally use the _stati64 API explicitly on Windows
Avoids warnings and confusion when compiling with MSVC.
2010-02-04 19:20:08 +02:00
Tor Lillqvist
e27528cacc Enable libtool compatible DLL naming in the VS9 projects 2010-02-04 15:24:56 +02:00
Tor Lillqvist
46ac248e74 Use inherited properties in all configurations in gmodule, too 2010-02-04 15:00:15 +02:00
Tor Lillqvist
44f967f963 Use README.txt instead of README for Windows developer friendliness 2010-02-04 14:51:56 +02:00
Tor Lillqvist
aabcffc6ad Update README for VS9 build 2010-02-04 14:50:36 +02:00
Tor Lillqvist
1b036c3896 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:36:23 +02:00
Tor Lillqvist
d8fe5a4670 Don't use deprecated g_win32 API 2010-02-04 14:35:26 +02:00
Tor Lillqvist
dce6ec3b7f Put a version info resource also in the gio DLL
Also, distribute gio/gio.rc(.in).
2010-02-04 01:01:57 +02:00
Tor Lillqvist
bbd9273d9e Update copyright years 2010-02-04 00:11:44 +02:00
Tor Lillqvist
47ec8bd70f 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:09:28 +02:00
Tor Lillqvist
a4f8aba4dd Link with dnsapi.lib also in 32-bit builds 2010-02-02 21:24:45 +02:00
Tor Lillqvist
1df72e5d8c Include also testglib.vcproj in tarball 2010-02-02 21:23:27 +02:00
Sven Herzberg
4eef1b6783 properly abort instead of looping infinitely
Fixes: Bug 568760 - nautilus freezes due to a bug in garray.c:322

* glib/garray.c: increase the size of potential return values by
  using an unsigned result; properly check if we still handle valid size
  proposals, return the original request if there's no usable size left
* tests/array-test.c: reproduce the error condition of the bug report
2010-01-13 15:41:21 +01:00
Matthias Clasen
2fa2f18ef5 Bump version 2010-01-06 20:56:59 -05:00
Matthias Clasen
cd2765c6c4 2.22.4 2.22.4 2010-01-06 20:55:52 -05:00
Matthias Clasen
a227525d61 Updates 2010-01-06 19:32:12 -05:00
Matthias Clasen
2c0c35af56 Fix the filename roundtrip check
The check was always failing because the code was comparing
the wrong strings. Reported in bug 605977.
(cherry picked from commit f2d8f6287d6e3fcb9e58402c2051d557f7e41632)
2010-01-06 19:24:45 -05:00
Ryan Lortie
40005647ed GUnixFDMessage: fix a small typo in an extra check
In the deserialise function, GUnixFDMessage was comparing 'level' to
both SOL_SOCKET and SCM_RIGHTS.  It is correct to compare 'type' to
SCM_RIGHTS.  The code passed tests only because:

1) it's a "should always be OK" double-check

2) SOL_SOCKET and SCM_RIGHTS, by chance, both have the value '1' on
   Linux systems.
(cherry picked from commit baf20e09842a97c2d7925dff5ff9c6d35e36b27d)
2010-01-06 19:24:36 -05:00
Matthias Clasen
aecd2616c7 Fix a memleak
An early exit in expand_application_parameters forgot to free
a GString. Reported by Steve Grubb.
(cherry picked from commit b00c6d7fb5798b4e528554e1221a553ab95506ed)
2010-01-06 19:24:28 -05:00
Matthias Clasen
6a8828d40f Fix an off-by-one error
Reported by Steve Grubb.
(cherry picked from commit 6cee86a3efc98333282218f8eb1e0149a7cd703d)
2010-01-06 19:24:20 -05:00
Javier Jardón
41b3928069 [docs] Fix 'Deprecated' tag on some win32 functions
Fix g_win32_get_package_installation_directory() and
g_win32_get_package_installation_subdirectory_utf8()
(cherry picked from commit 73ca6f70199353c22bf2d6aa99d5cd1eaea76702)
2010-01-06 19:23:36 -05:00
Javier Jardón
70731424fd [docs] Fix 'Deprecated' tag in g_date_set_time()
(cherry picked from commit 85e00d3a9433a5f83f9897c832fa00e4e0540e2c)
2010-01-06 19:23:29 -05:00
Kamal Mostafa
2ad84bbc03 Fix typo "Performace" in gtester-report Details pop-up window
(cherry picked from commit 046e521b4f08a88c889620225faea7284356eb23)
2010-01-06 19:22:26 -05:00
Dan Winship
1a0f372907 Fix UnixWare build by not using "sa_len" as a variable name
https://bugzilla.gnome.org/show_bug.cgi?id=604875
(cherry picked from commit 28d91b5bb6f0543c259976d8338a7b4d95054dd3)
2010-01-06 19:22:05 -05:00
Haakon Sporsheim
bd6dce6046 Avoid compilation warning from MSVC
Signed-off-by: Tor Lillqvist <tml@iki.fi>
2010-01-05 11:29:55 +02:00
Matthias Clasen
84e791e580 Revert the g_set_prgname change
This change breaks our API and causes warnings from essentially all applications.
See bug 563627.
2009-12-21 09:21:12 -05:00
Gian Mario Tagliaretti
7e9ad3d746 Remove wrong file imports, only gio/gio.h should be included 2009-12-16 23:38:39 +01:00
Tor Lillqvist
3d546303e8 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:30:39 +02:00
Matthew W. S. Bell
3a7a950b2b Initialise variable in g_time_val_from_iso8601()
The function does not initialise the struct tm,
giving it improper values of tm_isdst making the result
an hour out.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=603540
(cherry picked from commit 2321e5aed07154761223bb124770beba56700e41)
2009-12-10 01:16:38 -05:00
Alexander Larsson
31f928a2c3 Remove default implementation of async filter steam ops
Not only is the default implementation broken (it causes infinite recursion
as seen in bug #603982), but its also worthless. If we just fall back on the
default stream operations we automatically get async version based on
the sync filter stream operations, which is what we want.
(cherry picked from commit 4fbbe190b7cbfd271bbb18428bc103ebffa41112)
2009-12-07 22:15:27 +01:00
Matthias Clasen
a8027e093e Bump version 2009-12-01 08:22:54 -05:00
Matthias Clasen
227609c73b 2.22.3 2.22.3 2009-12-01 08:21:55 -05:00
Matthias Clasen
189453aa81 Disable a test that does not work 2009-12-01 00:06:11 -05:00
Matthias Clasen
14e22aae00 Updates 2009-11-30 23:43:33 -05:00
Ryan Lortie
8a190a155c Bug 598712 - can't detect text file with backspace
looks_like_text(): Allow '\b' to appear in text files.
(cherry picked from commit 48e2a570439373882cf755567e1d147bc5dd50e5)
2009-11-30 23:31:50 -05:00
Cody Russell
7c177e274a gtester should fail even if -k is passed
(cherry picked from commit 04d83e8e503a07e7b4279227c8f992ddf7c6ef4e)
2009-11-30 23:31:26 -05:00
Ryan Lortie
7a1b265e97 Bug 595138 - GFile not robust with invalid input
Improve handling of g_file_query_default_handler() when called on an
invalid GFile (ie: one created with an invalid URI).
(cherry picked from commit 9681d7e75f2d1296a890bfa64b3478ea7025df62)
2009-11-30 23:30:38 -05:00
Carles Ferrando
be89d5034b Updated Catalan Valencian translation 2009-11-29 19:32:56 +01:00
Alexander Larsson
b0e4df9375 Pass in the right device to vfs->local_file_add_info for symlinks
We used to pass the path for the symlink, but the device of the target
which is wrong and breaks metadata access.

https://bugzilla.gnome.org/show_bug.cgi?id=593809
(cherry picked from commit 2b2195bf68bf68837dc9f6b4765d3716694f42b3)
2009-11-26 16:07:13 +01:00
Mures Andone
c5b846eb13 Fixed bug 91 (GIO monitoring not working due to bad assert)
https://bugzilla.gnome.org/show_bug.cgi?id=593856
(cherry picked from commit 96f41b62836810563c4f69ba6d053e91c638728a)
2009-11-26 15:41:58 +01:00
Tor Lillqvist
fbde782a2a Include all of share/gtk-doc/html to get also the gio docs
Also add -D switches to not pointlessly include entries for directories
in the zip files.
2009-11-10 14:19:59 +02:00
Tor Lillqvist
7a3ce3f5e0 Avoid gcc warning about redeclaration of atexit() on MinGW 2009-11-10 01:37:13 +02:00
Tor Lillqvist
1f604fe208 Don't call WSAEventSelect() on -1
If g_io_win32_sock_close() has been called on a socket channel, don't
later in g_io_win32_free() call WSAEventSelect() on its fd which has
been set to -1.
2009-11-04 23:59:18 +02:00
Hib Eris
e7f6869b7e 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:09:13 +02:00
Carlo Bramini
0f5d8b4cba Make g_file_test() behave on Windows more like as on POSIX
Patch from bug #572252.
2009-11-03 14:32:16 +02:00
Benjamin Otte
07e22befad Properly nul-terminate return values from g_convert()
The patch ensures that multibyte character sets are properly
nul-terminated. This is an issue because the documentation claims to
return a "nul-terminated" string and users of the API assume that means
a proper nul-termination in the resulting character set.

I looked at Pidgin and GStreamer code and found at least 3 cases where
this was happening.

This patch also reverts the documentation change from
8c936178a130f06511164dbd317180177da6b448 as that is now no longer
necessary.
2009-10-28 19:26:39 +01:00
Benjamin Otte
8c936178a1 Clarify documentation about g_convert() nul-terminated returns
THere is effectively no nul-termination for multibyte characters.
2009-10-27 21:38:36 +01:00