Commit Graph

621 Commits

Author SHA1 Message Date
Tor Lillqvist
285b31e7a5 Don't enforce shared library build only on Windows. It might well make
2008-04-03  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't enforce shared library build only on
	Windows. It might well make sense to build static libraries in
	some use cases.

	* glib/gutils.c: Don't compile the DllMain if building libglib
	statically. Also in that case don't return NULL from
	_glib_get_installation_directory(), but return the installation
	directory of the program's .exe file.


svn path=/trunk/; revision=6818
2008-04-03 20:17:15 +00:00
Alexander Larsson
6d1e6c60d0 Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
2008-03-20  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
	Patch from ephraim_owns@hotmail.com


svn path=/trunk/; revision=6746
2008-03-20 11:44:12 +00:00
Tor Lillqvist
e2ee29dd2c Don't bother defining Autoconf variables for glib.def, gmodule.def,
2008-03-16  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't bother defining Autoconf variables for
	glib.def, gmodule.def, gobject.def and gthread.def when this can
	be handled easily in */Makefile.am which are the only files that
	use them. Remove also TESTGMODULE_EXP which isn't used at all.

	* */Makefile.am: Corrsponding changes.


svn path=/trunk/; revision=6722
2008-03-16 10:16:57 +00:00
Alexander Larsson
7437486b36 Use right define name for f_fstypename member check
2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (g_local_file_query_filesystem_info):
	Use right define name for f_fstypename member check

2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Add required includes for f_fstypename member check.
	

svn path=/trunk/; revision=6703
2008-03-14 09:19:09 +00:00
Alexander Larsson
7dc75d707c Added. Added. Added. Added. Added. Added. Added. Added. Added. Added.
2008-03-14  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * fen/Makefile.am: Added.
        * fen/fen-data.[ch]: Added.
        * fen/fen-dump.[ch]: Added.
        * fen/fen-helper.[ch]: Added.
        * fen/fen-kernel.[ch]: Added.
        * fen/fen-missing.[ch]: Added.
        * fen/fen-node.[ch]: Added.
        * fen/fen-sub.[ch]: Added.
        * fen/gfendirectorymonitor.[ch]: Added.
        * fen/gfenfilemonitor.[ch]: Added.
        * giomodule.c:
	Added Solaris FEN file notification backend.
	Patch from Lin Ma <Lin.Ma@Sun.COM>


svn path=/trunk/; revision=6702
2008-03-14 08:58:24 +00:00
Tor Lillqvist
367d77233b Expand gio/win32/Makefile.
2008-03-12  Tor Lillqvist  <tml@novell.com>

	* configure.in: Expand gio/win32/Makefile.

2008-03-12  Tor Lillqvist  <tml@novell.com>

	Bug 517419 - gio win32 directory monitor
	Implementation by Vlad Grecescu.
	
	* win32/Makefile.am
	* win32/gwin32directorymonitor.h
	* win32/gwin32directorymonitor.c: New files.

	* giomodule.c: Set up the GWin32DirectoryMonitor plumbing.

	* Makefile.am: Add the win32 subdirectory.


svn path=/trunk/; revision=6698
2008-03-12 19:09:11 +00:00
Matthias Clasen
ed26bc056a Bump version
svn path=/trunk/; revision=6694
2008-03-12 16:19:10 +00:00
Sebastian Dröge
0dc34bf29a Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
* configure.in:
* glib/gthread.h: Prevent the compiler from warning about breaking
strict-aliasing rules when using gcc 4.3 and G_LOCK on C sources.

svn path=/trunk/; revision=6691
2008-03-12 15:36:38 +00:00
Matthias Clasen
b6ab5c133d Bump version
svn path=/trunk/; revision=6668
2008-03-11 00:40:10 +00:00
Matthias Clasen
536278adfd Bump version to 2.16.0
svn path=/trunk/; revision=6658
2008-03-10 16:53:25 +00:00
Alexander Larsson
3cacbe8178 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD) Patch from
2008-03-07  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (g_local_file_query_filesystem_info):
	Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
	Patch from Jasper Lievisse Adriaanse


svn path=/trunk/; revision=6638
2008-03-07 14:36:15 +00:00
Matthias Clasen
49308058d0 bump version
svn path=/trunk/; revision=6595
2008-02-25 19:38:54 +00:00
Matthias Clasen
fa206b48be Bump version
svn path=/trunk/; revision=6505
2008-02-11 22:33:02 +00:00
Matthias Clasen
5e45af1f07 Check for getmntent_r
svn path=/trunk/; revision=6491
2008-02-10 05:22:39 +00:00
Tor Lillqvist
0deb77b180 Unfortunately the mingw implementations of C99-style snprintf and
2008-02-07  Tor Lillqvist  <tml@novell.com>

	* configure.in: Unfortunately the mingw implementations of
	C99-style snprintf and vsnprintf don't seem to be quite good
	enough, at least not in mingw-runtime-3.14. I don't know exactly
	what the problem is, but it is related to floating point
	formatting and decimal point vs. comma, and the symptoms show up
	in some dialogs in GIMP, presumably also elsewhere. The simple
	tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
	rigorous enough to notice, though. So preset
	ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".


svn path=/trunk/; revision=6482
2008-02-07 13:07:19 +00:00
Matthias Clasen
fc8bebd0c0 forgotten file
svn path=/trunk/; revision=6455
2008-02-06 02:59:47 +00:00
18:42:42 Tim Janik
dfa5b08805 generate gobject/tests/Makefile.
2008-02-05 18:42:42  Tim Janik  <timj@imendio.com>

        * configure.in: generate gobject/tests/Makefile.


svn path=/trunk/; revision=6453
2008-02-05 17:43:09 +00:00
Sebastian Dröge
96bcb8af0c Check for gmtime_r. Missing part of bug #511807.
* configure.in: Check for gmtime_r. Missing part of bug #511807.

svn path=/trunk/; revision=6443
2008-02-03 10:54:13 +00:00
Yannig MARCHEGAY
e508268839 Updated Occitan translation
svn path=/trunk/; revision=6442
2008-02-01 17:45:33 +00:00
Johan Dahlin
b1fd99b62a Remove oc since oc.po is gone.
2008-01-30  Johan Dahlin  <johan@gnome.org>

        * configure.in: Remove oc since oc.po is gone.


svn path=/trunk/; revision=6430
2008-01-30 22:57:45 +00:00
Matthias Clasen
9646d971ac Bump version
svn path=/trunk/; revision=6404
2008-01-29 00:03:29 +00:00
Matthias Clasen
3773991fdf Fix the pcre Unicode test to work with LDFLAGS=-Wl,--as-needed. (#484261,
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Fix the pcre Unicode test to work with
        LDFLAGS=-Wl,--as-needed.  (#484261, Mark Lee)



svn path=/trunk/; revision=6387
2008-01-27 22:49:25 +00:00
Matthias Clasen
8e191a31d6 Bump version
svn path=/trunk/; revision=6349
2008-01-21 18:09:53 +00:00
Alexander Larsson
d8473705b0 Removed. Removed. Removed the included copies of the inotify headers. We
2008-01-21  Alexander Larsson  <alexl@redhat.com>

        * inotify/Makefile.am:
        * inotify/inotify-helper.c:
        * inotify/inotify-kernel.c:
        * inotify/inotify-path.c:
        * inotify/local_inotify.h: Removed.
        * inotify/local_inotify_syscalls.h: Removed.
	Removed the included copies of the inotify
	headers. We now only use the <sys/inotify.h>
	header which exists on modern systems.
	This fixes problems on ARM and SH5 (#510448)
	but is also generally much cleaner and future
	safe. For instance, if other OSes add support
	for inotify it should "just work".



svn path=/trunk/; revision=6338
2008-01-21 10:35:44 +00:00
Matthias Clasen
fcf94e391d Bump version
svn path=/trunk/; revision=6312
2008-01-14 17:13:07 +00:00
Andre Klapper
bca51e6c4a ALL_LINGUAS: remove line breaks from previous commit to get damned-lies
2008-01-12  Andre Klapper  <a9016009@gmx.de>

	* configure.in: ALL_LINGUAS: remove line breaks from previous 
	commit to get damned-lies stats correct again. Add Sinhala (si).


svn path=/trunk/; revision=6298
2008-01-12 13:33:22 +00:00
Matthias Clasen
a23f2d81f5 bump version
svn path=/trunk/; revision=6269
2008-01-07 17:00:01 +00:00
Alexander Larsson
1a41a8c6c8 Add gio/test/Makefile to AC_CONFIG_FILES
2008-01-07  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Add gio/test/Makefile to AC_CONFIG_FILES



svn path=/trunk/; revision=6259
2008-01-07 08:57:29 +00:00
Matthias Clasen
41358ed237 Bump version
svn path=/trunk/; revision=6182
2007-12-21 00:44:40 +00:00
Rahul Bhalerao
c2643afd24 Added Marathi Translations
svn path=/trunk/; revision=6094
2007-12-11 12:37:30 +00:00
Alexander Larsson
7561ec5765 Add xattr checks for OSX style API (#500506) 2007-12-03 Alexander Larsson
2007-12-03  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Add xattr checks for OSX style API (#500506)
2007-12-03  Alexander Larsson  <alexl@redhat.com>

        * glocalfileinfo.c:
	Handle OSX style xattrs API (#500506)



svn path=/trunk/; revision=6017
2007-12-03 10:23:03 +00:00
Alexander Larsson
2490a699be Allow configuration of gio-module-dir
2007-11-27  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Allow configuration of gio-module-dir
	
        * gio-2.0.pc.in:
	Export giomodules location as giomodule variable

2007-11-27  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * fam/Makefile.am:
        * inotify/Makefile.am:
	Use the user-specified giomoduledir


svn path=/trunk/; revision=5951
2007-11-27 12:39:14 +00:00
Alexander Larsson
3781343738 gio/ docs/reference/gio Merged gio-standalone into glib.
2007-11-26  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * configure.in:
        * gio-2.0-uninstalled.pc.in:
        * gio-2.0.pc.in: 
        * gio-unix-2.0-uninstalled.pc.in:
        * gio-unix-2.0.pc.in:
	* gio/
	* docs/reference/gio
	Merged gio-standalone into glib.
	
        * glib/glibintl.h:
        * glib/gutils.c:
	Export glib_gettext so that gio can use it
	Add P_ (using same domain for now)
	Add I_ as g_intern_static_string


svn path=/trunk/; revision=5941
2007-11-26 16:13:05 +00:00
Tor Lillqvist
04aec5b28d Implement #491549: On Windows, always use the native API for character set
2007-11-26  Tor Lillqvist  <tml@novell.com>

	Implement #491549: On Windows, always use the native API for
	character set conversions instead of GNU libiconv. Almost all
	codesets supported by GNU libiconv exist as Windows codepages.
	One missing feature is the "C99" and "JAVA" pseudo codesets, but I
	doubt that is worth worrying about.
	
	* glib/win_iconv.c: New file. iconv() implementation for
	Windows. Placed in the public domain by Yukihiro Nakadaira
	<yukihiro.nakadaira@gmail.com>. From
	http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
	2007-11-17 version.

	* glib/gconvert.c: Include win_iconv.c on Windows.

	* configure.in: Bypass iconv checks on Windows. 


svn path=/trunk/; revision=5937
2007-11-25 23:27:45 +00:00
Matthias Clasen
d2f111fca7 Require gtk-doc 1.8.
2007-11-25  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Require gtk-doc 1.8.

        * glib/gasyncqueue.c:
        * glib/gdate.c:
        * glib/gfileutils.c:
        * glib/gmain.c:
        * glib/gmarkup.c:
        * glib/gregex.c:
        * glib/gtestutils.c:
        * glib/gutils.c: Use gtk-doc abbreviations for
        examples in doc comments.


svn path=/trunk/; revision=5933
2007-11-25 06:05:06 +00:00
21:06:47 Tim Janik
1e55738f31 initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-21 21:06:47  Tim Janik  <timj@imendio.com>

	* Makefile.decl: initialize automake variables EXTRA_DIST and
	TEST_PROGS for unconditional appending via += in other makefiles.
	define recursive test targets: test, test-report, perf-report,
	full-report, as described here:
      http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html

	* Makefile.am:
	* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
	* build/win32/Makefile.am, build/Makefile.am:
	* docs/Makefile.am, docs/reference/Makefile.am:
	* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
	* gmodule/Makefile.am, tests/Makefile.am:
	* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
	* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
	* glib/tests/Makefile.am, glib/pcre/Makefile.am:
	* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
	* gthread/Makefile.am, glib/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.

	* glib/tests/Makefile.am: removed example testing rules.

	* glib/tests/testing.c: conditionalized performance and slow tests.

	* glib/gtestutils.h:
	* glib/gtestutils.c: work around g_test_config_vars not changing its
	exported value after value assignments, aparently due to symbol aliases.

	* glib/gtester.c: fixed off-by-one error which produced junk in logs.

	* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.


svn path=/trunk/; revision=5914
2007-11-21 20:09:46 +00:00
Tim Janik
f0187b0a1b Added gtestframework.[hc] and glib/tests/.
svn path=/trunk/; revision=5874
2007-11-20 15:00:19 +00:00
10:30:33 Tim Janik
c8de81804c updated version number to 2.15.0 for development.
2007-11-19 10:30:33  Tim Janik  <timj@imendio.com>

        * configure.in: updated version number to 2.15.0 for development.



svn path=/trunk/; revision=5866
2007-11-19 09:40:49 +00:00
Matthias Clasen
79668cdf02 Check whether assembler supports numerical local labels.
2007-11-18  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Check whether assembler supports numerical local
        labels.

        * glib/gatomic.c: Fix powerpc implementation of atomic ops for
        platforms where the assembler doesn't support numerical local
        labels.  (#445362)


svn path=/trunk/; revision=5861
2007-11-18 17:42:59 +00:00
Matthias Clasen
284c7e559b Add AM_PROG_CC_C_O.
2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * configure.in: Add AM_PROG_CC_C_O.

        * Makefile.am: Remove the install-exec-local hook and use
        configexecincludedir_DATA instead, in an attempt to avoid
        automake 1.9 <> 1.10 incompatibilities.

        * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
        automake 1.10 complains.


svn path=/trunk/; revision=5848
2007-11-09 23:40:41 +00:00
Matthias Clasen
e243169979 Require pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to be
2007-11-08  Matthias Clasen <mclasen@redhat.com>

        * configure.in:
        * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
        and in AM_PATH_GLIB_2_0 to be consistent with the use of
        PKG_PROG_PKG_CONFIG which was introduced in 0.16.  (#418778,
        Loïc Minier)


svn path=/trunk/; revision=5820
2007-11-08 05:48:35 +00:00
Matthias Clasen
10de39976c Move some inter-*.m4 includes from configure.in to acinclude.m4 to avoid
2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * acinclude.m4:
        * configure.in: Move some inter-*.m4 includes from
        configure.in to acinclude.m4 to avoid warnings when
        using automake 1.9.  (#449937)


svn path=/trunk/; revision=5812
2007-11-08 02:43:17 +00:00
Matthias Clasen
15cc4be96c Bump version
svn path=/trunk/; revision=5804
2007-11-07 06:02:46 +00:00
Matthias Clasen
e1b7097247 Bump version
svn path=/trunk/; revision=5789
2007-10-17 05:11:06 +00:00
Matthias Clasen
dc61469e8b Bump version
svn path=/trunk/; revision=5772
2007-09-16 19:51:16 +00:00
Matthias Clasen
4732600578 Replace -pthread by -lpthread for Freebsd, too. (#475619, Roy Marples)
2007-09-16  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Replace -pthread by -lpthread for
        Freebsd, too.  (#475619, Roy Marples)



svn path=/trunk/; revision=5763
2007-09-16 16:15:34 +00:00
Matthias Clasen
6972901388 Fix static build against system pcre
svn path=/trunk/; revision=5762
2007-09-16 15:48:11 +00:00
Marco Barisione
324ee4c07c fix a typo in the previous commit. (#475854, comment #4)
2007-09-11  Marco Barisione <marco@barisione.org>
	* configure.in: fix a typo in the previous commit. (#475854, comment
	#4)

svn path=/trunk/; revision=5750
2007-09-11 20:22:18 +00:00
Marco Barisione
3c4e0759d6 propagate the pcre flags to libglib and not to all parts of glib.
2007-09-11  Marco Barisione <marco@barisione.org>

	* glib/Makefile.am:
	* configure.in: propagate the pcre flags to libglib and not to all
	parts of glib. (#475854, dmacks@netspace.org)

svn path=/trunk/; revision=5749
2007-09-11 20:10:31 +00:00
Matthias Clasen
f4a8a220b5 Add arm atomic operations
svn path=/trunk/; revision=5748
2007-09-11 04:16:59 +00:00