Commit Graph

6066 Commits

Author SHA1 Message Date
Matthias Clasen
e14f918de9 2.17.0
svn path=/trunk/; revision=6948
2008-05-27 21:22:45 +00:00
Matthias Clasen
5adb336b65 Updates
svn path=/trunk/; revision=6947
2008-05-27 19:56:26 +00:00
Matthias Clasen
4058fcdc73 Updates
svn path=/trunk/; revision=6946
2008-05-27 19:49:17 +00:00
Matthias Clasen
8aa6abbd6c Additions
svn path=/trunk/; revision=6945
2008-05-27 16:46:43 +00:00
Matthias Clasen
2356ba3471 Update to Unicode 5.1
svn path=/trunk/; revision=6944
2008-05-27 16:20:27 +00:00
Matthias Clasen
689a9e4b1a Revert the patch for bug 527214 and related changes. GTimer
is supposed to work without threads.


svn path=/trunk/; revision=6943
2008-05-27 16:00:51 +00:00
Michael Natterer
ab81018b52 Forgot ChangeLog
svn path=/trunk/; revision=6942
2008-05-27 14:53:43 +00:00
Michael Natterer
1ab3525c93 glib/tmpl/gurifuncs.sgml new files.
2008-05-27  Michael Natterer  <mitch@gimp.org>

	* glib/tmpl/gurifuncs.sgml
	* glib/tmpl/testing.sgml: new files.

	* glib/tmpl/unicode.sgml
	* glib/tmpl/macros_misc.sgml
	* glib/tmpl/checksum.sgml: regenerated.

	* Updated lots of svn:ignore all over the place.


svn path=/trunk/; revision=6941
2008-05-27 14:51:16 +00:00
Matthias Clasen
8b08deaaf5 Bug 535021 – g_param_spec_internal documentation should
describe purpose of nick and blurb

        * gobject/tmpl/gparamspec.sgml: Explain nicks and blurbs
        some more.

svn path=/trunk/; revision=6940
2008-05-27 14:18:14 +00:00
simon.zheng
58e4b46343 Fix #533369. Check whether memeber statvfs.f_basetype available or not.
2008-05-27  simon.zheng  <simon.zheng@sun.com>

	* configure.in: Fix #533369. Check whether memeber statvfs.f_basetype 
        available or not.
	* gio/glocalfile.c: (g_local_file_query_filesystem_info):
        Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.


svn path=/trunk/; revision=6939
2008-05-27 07:51:13 +00:00
Matthias Clasen
adae23350a PCRE 7.7
svn path=/trunk/; revision=6938
2008-05-27 04:17:54 +00:00
Michael Natterer
c9db84f9f2 declare g_memory_output_stream_get_data_size().
2008-05-26  Michael Natterer  <mitch@imendio.com>

	* gmemoryoutputstream.h: declare
	g_memory_output_stream_get_data_size().


svn path=/trunk/; revision=6936
2008-05-26 11:52:24 +00:00
Matthias Clasen
cdc2910103 Make tests work
svn path=/trunk/; revision=6935
2008-05-26 05:57:09 +00:00
Matthias Clasen
eb5889df59 Add a new symbol
svn path=/trunk/; revision=6934
2008-05-26 05:56:08 +00:00
Matthias Clasen
c1d7063c06 Doc improvements
svn path=/trunk/; revision=6933
2008-05-26 04:51:41 +00:00
Matthias Clasen
b68e507b6a Add g_checksum_reset
svn path=/trunk/; revision=6932
2008-05-26 04:48:24 +00:00
Matthias Clasen
2e04981e17 Add bug ref
svn path=/trunk/; revision=6931
2008-05-25 19:58:52 +00:00
Matthias Clasen
528094002f Fix a typo in the docs
svn path=/trunk/; revision=6930
2008-05-25 19:57:56 +00:00
Matthias Clasen
9f64fa6fe9 Fix docs for g_cclosure_marshal_STRING__OBJECT_POINTER. (#534177, Areg
2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gobject/tmpl/gclosure.sgml: Fix docs for
        g_cclosure_marshal_STRING__OBJECT_POINTER. (#534177, Areg Beketovski)

svn path=/trunk/; revision=6929
2008-05-25 19:53:47 +00:00
Ross Burton
8b6fdb362f Fix typo in error message (#534764).
2008-05-25  Ross Burton  <ross@burtonini.com>

	* glocalfile.c:
	Fix typo in error message (#534764).

svn path=/trunk/; revision=6928
2008-05-25 18:31:42 +00:00
Ross Burton
75a558f900 Fix circular dependency loop for gioenumtypes.h (#534759).
2008-05-25  Ross Burton  <ross@burtonini.com>

	* Makefile.am:
	Fix circular dependency loop for gioenumtypes.h (#534759).

svn path=/trunk/; revision=6927
2008-05-25 15:49:27 +00:00
Tor Lillqvist
86608084ca Cosmetics.
svn path=/trunk/; revision=6926
2008-05-25 10:27:01 +00:00
Tor Lillqvist
6938ac7b09 Bug 534319 - GLib's .pc files could use Libs.private
2008-05-25  Tor Lillqvist  <tml@novell.com>

	Bug 534319 - GLib's .pc files could use Libs.private

	* glib-2.0-uninstalled.pc.in
	* glib-2.0.pc.in
	* gmodule-2.0-uninstalled.pc.in
	* gmodule-2.0.pc.in
	* gmodule-export-2.0.pc.in
	* gmodule-no-export-2.0.pc.in: Move ICONV_LIBS and G_MODULE_LIBS to Libs.private.


svn path=/trunk/; revision=6925
2008-05-25 10:26:42 +00:00
Matthias Clasen
a41fa14e4b small doc improvement
svn path=/trunk/; revision=6924
2008-05-24 18:32:09 +00:00
Djihed Afifi
fbd41ebd2c Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=6923
2008-05-22 22:56:52 +00:00
10:49:37 Tim Janik
0782d697e5 implement G_STMT_START and G_STMT_END with do{}while(0), which is believed
2008-05-22 10:49:37  Tim Janik  <timj@imendio.com>

        * glib/gmacros.h: implement G_STMT_START and G_STMT_END with
        do{}while(0), which is believed to be widely portable, fixes:
        Bug 519026 - G_STMT_START/G_STMT_END test a non-existent preprocessor symbol



svn path=/trunk/; revision=6922
2008-05-22 08:53:15 +00:00
Behdad Esfahbod
64e1b6d84f Bug 501651 – Update glib/libcharset
2008-05-20  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501651 – Update glib/libcharset

        * configure.in:
        * glib/libcharset/Makefile.am:
        * glib/libcharset/README:
        * glib/libcharset/codeset.m4:
        * glib/libcharset/config.charset:
        * glib/libcharset/glibc21.m4:
        * glib/libcharset/libcharset-glib.patch:
        * glib/libcharset/libcharset.h:
        * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases),
        (_g_locale_charset_raw):
        * glib/libcharset/localcharset.h:
        * glib/libcharset/make-patch.sh:
        * glib/libcharset/ref-add.sin:
        * glib/libcharset/ref-del.sin:
        * glib/libcharset/update.sh:
        Update libcharset to the one shipped with libiconv-0.12.


svn path=/trunk/; revision=6921
2008-05-20 22:49:16 +00:00
Behdad Esfahbod
123dfdc5c2 Bug 459905 – Bug in wcwidth data Bug 534085 – g_unichar_iswide_cjk()
2008-05-20  Behdad Esfahbod  <behdad@gnome.org>

        Bug 459905 – Bug in wcwidth data
        Bug 534085 – g_unichar_iswide_cjk() has a totally wrong table
        * glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk):
        Regenrate wide and wide_cjk tables from Unicode 5.1.0 data directly.
        Not using Markus Kuhn's tables anymore.


svn path=/trunk/; revision=6920
2008-05-20 19:42:07 +00:00
14:31:18 Tim Janik
8fb03be5a9 Bug 503071 - Application direction changes to right to left even if theres
2008-05-20 14:31:18  Tim Janik  <timj@imendio.com>

        * reverted recent unapproved changes by Yair Hershkovitz, regarding:
        Bug 503071 - Application direction changes to right to left even if theres no translation.



svn path=/trunk/; revision=6919
2008-05-20 13:03:15 +00:00
Tor Lillqvist
7100c410d2 Don't need memory barriers when using a non-gcc compiler on Windows
2008-05-20  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't need memory barriers when using a non-gcc
	compiler on Windows either.


svn path=/trunk/; revision=6918
2008-05-20 08:03:03 +00:00
Tor Lillqvist
445bb2718b Include the dirent.h and wdirent.c from ../build/win32/dirent directly
2008-05-19  Tor Lillqvist  <tml@novell.com>

	* glib/gdir.c: Include the dirent.h and wdirent.c from
	../build/win32/dirent directly here when compiling with MSVC and
	without HAVE_DIRENT_H.


svn path=/trunk/; revision=6915
2008-05-19 12:42:14 +00:00
Tor Lillqvist
4b2a571e43 Include dirent.h with doublequotes so that it is searched from this same
2008-05-19  Tor Lillqvist  <tml@novell.com>

	* win32/dirent/dirent.c: Include dirent.h with doublequotes so
	that it is searched from this same folder first.


svn path=/trunk/; revision=6914
2008-05-19 12:39:24 +00:00
Hans Breuer
1ad74c4459 added gi18n.c
2008-05-19  Hans Breuer  <hans@breuer.org>

	* glib/makefile.msc : added gi18n.c


svn path=/trunk/; revision=6913
2008-05-19 05:22:06 +00:00
Hans Breuer
fd86d833b3 EXTRA_DIST += makefile.msc
2008-05-19  Hans Breuer  <hans@breuer.org>

	* Makefile.am : EXTRA_DIST += makefile.msc


svn path=/trunk/; revision=6912
2008-05-19 05:18:10 +00:00
Tor Lillqvist
b7b9be3526 win32/vs8/gspawn-win32-helper.vcproj New files. Build these two
2008-05-19  Tor Lillqvist  <tml@novell.com>
	
	* win32/vs8/gspawn-win32-helper.vcproj
	* win32/vs8/gspawn-win32-helper-console.vcproj: New files. Build
	these two executables.

	* win32/vs8/*.vcproj: Compile as C and not C++.

	* win32/vs8/glib-genmarshal.vcproj: Use MBS and not Unicode. (What
	this setting really means is just that we don't define the UNICODE
	and _UNICODE macros when compiling; it has no effect on what APIs
	the code might use.) Use the same IntermediateDirectory as the
	other projects.

	* win32/vs8/glib.sln: Add the gspawn-win32-helper and gspawn-win32-helper projects.


svn path=/trunk/; revision=6911
2008-05-18 21:44:16 +00:00
Tor Lillqvist
eda18d8e02 More verbiage.
svn path=/trunk/; revision=6910
2008-05-18 21:39:31 +00:00
Tor Lillqvist
fa60c1ecdf #define HELPER_CONSOLE in gspawn-win32-helper-console.c
2008-05-19  Tor Lillqvist  <tml@novell.com>

	* glib/Makefile.am: #define HELPER_CONSOLE in
	gspawn-win32-helper-console.c

	* glib/gspawn-win32-helper.c: Compile a main() instead of
	WinMain() if HELPER_CONSOLE is defined.


svn path=/trunk/; revision=6909
2008-05-18 21:38:50 +00:00
Tor Lillqvist
78bdc9397b Remove leftover svn conflict indicator.
svn path=/trunk/; revision=6908
2008-05-18 19:46:49 +00:00
Matthias Clasen
4b06cf6ce9 Bug 527214 – g_timer_elapsed() returns random values.
* glib/gtimer.c (g_timer_new()):
        Print warning if g_thread_init() has not been called yet.
        Patch by Mathias Hasselmann


svn path=/trunk/; revision=6907
2008-05-18 19:15:32 +00:00
Matthias Clasen
4f21fe18cb New function to create a content type from a mime type. (#527175, Milan
2008-05-17  Matthias Clasen  <mclasen@redhat.com>

        * gcontenttype.h:
        * gcontenttype.c: (g_content_type_from_mime_type):
        New function to create a content type from a mime type. (#527175,
        Milan Crha)


svn path=/trunk/; revision=6906
2008-05-18 02:50:48 +00:00
Jeffrey Stedfast
d238669ef0 New function to reset the state of a GChecksum. (g_checksum_new): Call
2008-05-12  Jeffrey Stedfast  <fejj@novell.com>

	* glib/gchecksum.c (g_checksum_reset): New function to reset the
	state of a GChecksum.
	(g_checksum_new): Call g_checksum_reset() instead of duplicating
	code.


svn path=/trunk/; revision=6903
2008-05-17 16:53:54 +00:00
Matthias Clasen
a30f8df3c8 fix free space information for ncpfs
svn path=/trunk/; revision=6902
2008-05-17 06:08:08 +00:00
Matthias Clasen
67b2f9a99b Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
* glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
        st_dev might be zero.



svn path=/trunk/; revision=6901
2008-05-17 06:01:43 +00:00
Matthias Clasen
537075e94c Bug 528648 – Extra >s in Object Construction section...
* gobject/tut_howto.xml: Fix a formatting glitch


svn path=/trunk/; revision=6900
2008-05-17 05:56:29 +00:00
Matthias Clasen
ce40942306 Bug 528667 – Typos in testing module documentation
* glib/gtestutils.c: Fix typos in the documentation.


svn path=/trunk/; revision=6899
2008-05-17 05:52:36 +00:00
Tor Lillqvist
b8eefbc99d Make debugging printout more compact and add more information to it. No
2008-05-17  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c: Make debugging printout more compact and add
	more information to it. No changes to actual functionality.


svn path=/trunk/; revision=6898
2008-05-17 02:34:17 +00:00
Tor Lillqvist
2ded70ee94 Improve debugging printouts. When G_MAIN_POLL_DEBUG is defined, we check
2008-05-17  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c: Improve debugging printouts. When
	G_MAIN_POLL_DEBUG is defined, we check for an environment variable
	of the same name to decide whether to print out debugging
	information or not. G_MAIN_POLL_DEBUG is always defined on Windows
	as there is more often a need to debug this stuff there. On Unix
	the definition has to be uncommented (or done on the compile
	command line).


svn path=/trunk/; revision=6897
2008-05-17 02:25:59 +00:00
Tor Lillqvist
b9cf431b95 externals. The relevant directories and files have been svn add'ed to GLib
2008-05-17  Tor Lillqvist  <tml@novell.com>

	* "build" is no longer include into GLib through
	svn:externals. The relevant directories and files have been svn
	add'ed to GLib (trunk) instead.


svn path=/trunk/; revision=6895
2008-05-17 01:36:40 +00:00
Yair Hershkovitz
49734ebc7f Added g_disable_setlocale().
2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>

	* glib/glib.symbols:
	* glib/gi18n.h: Added g_disable_setlocale().

	* glib/gi18n.c: Added g_disable_setlocale() API to disable setting
	the locale in g_i18n_init(). Dont disable translations if textdomain
	was not set before calling g_i18n_init(). Dont disable translations if
	the locale is "C".

svn path=/trunk/; revision=6894
2008-05-16 22:52:42 +00:00
Tor Lillqvist
a6cd26d656 #define _WIN32_WINNT 0x0400 to get declaration of ReadDirectoryChangesW()
2008-05-16  Tor Lillqvist  <tml@novell.com>

	* win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
	get declaration of ReadDirectoryChangesW() from Platform SDK headers.


svn path=/trunk/; revision=6893
2008-05-16 17:16:37 +00:00