1. 07 Mar, 2004 1 commit
  2. 28 Feb, 2004 1 commit
    • Hans Breuer's avatar
      updated externals, including those from bug #135386 · 4d470362
      Hans Breuer authored
      2003-02-28  Hans Breuer  <hans@breuer.org>
      
      	* glib/glib.def : updated externals, including those
      	from bug #135386
      
      	* glib/makefile.msc.in : build gatomic.c
      
      	* glibconfig.h.win32.in : removed duplicate definition
      	of G_MAXSIZE, typedef void* GPid instead of int
      
      	* tests/child-test.c  glib/gmain.c :
      	applied patch from J. Ali Harlow <ali@juiblex.co.uk> to fix
      	g_child_watch implementation on win32, bug #50296
      4d470362
  3. 13 Dec, 2003 1 commit
    • Hans Breuer's avatar
      get_filename_charset() needs to return false for filenames not encoded in · 35a6cff8
      Hans Breuer authored
      2003-12-13  Hans Breuer  <hans@breuer.org>
      
      	* glib/gconvert.c : get_filename_charset() needs to
      	return false for filenames not encoded in utf-8,
      	which is always true on win32
      
      	* glibconfig.h.win32.in : (u)int64 modifier isn't the
      	gcc 'll' but always the msvcrt one 'I64'
      
      	* glib/glib.def : updated
      35a6cff8
  4. 05 Aug, 2003 1 commit
    • Hans Breuer's avatar
      for msvc build · 1fd50a14
      Hans Breuer authored
      2003-08-05  Hans Breuer  <hans@breuer.org>
      
      	* glib/gnulib/makefile.msc : (new file) for msvc build
      
      	* glib/gnulib/vasnprintf.c : use glib/galloc.h
      
      	* glib/gnulib/printf.h : #include <stdio.h> for FILE*
      
      	* glib/makefile.msc.in : replace trio with gnulib
      
      	* glib/glib.def : updated externals
      
      	* glib/guniprop.c : fix for guniprop.c(582) : error C2082:
      	redefinition of formal parameter 'len'
      1fd50a14
  5. 20 Jul, 2003 1 commit
    • Hans Breuer's avatar
      for msvc build · 2781d5f6
      Hans Breuer authored
      2003-07-20  Hans Breuer  <hans@breuer.org>
      
      	* glib/trio/makefile.msc : (new file) for msvc build
      
      	* glib/glib.def : removed some duplicated entries
      
      	* glib/gscanner.c : add same workaround for MSVC(5.0)
      	which does not allow to cast an uint64 to float.
      	Same as in gvaluetransform.c
      	Also move #include <io.h> behind inclusion of "glib.h"
      	which defines the needed G_OS_WIN32
      
      	* glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
      	as well as shell32.lib
      
      	* tests/spawn-test.c : include <io.h> on win32
      2781d5f6
  6. 21 Nov, 2002 1 commit
  7. 05 Jan, 2002 1 commit
    • Hans Breuer's avatar
      moved warning to error pragmas to their own file to not force 'good · abc754fa
      Hans Breuer authored
      2002-01-05  Hans Breuer  <hans@breuer.org>
      
      	* glibconfig.h.win32.in
      	  msvc_recommended_pragmas.h (new file) : moved warning to
      	error pragmas to their own file to not force 'good practice'
      	programming in downstream libs and apps. Instead the new header
      	will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
      	makefile.msc
      	* */makefile.msc.in : use -FImsvc_recommended_pragmas.h
      abc754fa
  8. 23 Nov, 2001 1 commit
    • Hans Breuer's avatar
      added -Zm400 to DEPCFLAGS to avoid : gunidecomp.h(5846) : fatal error · 70f84628
      Hans Breuer authored
      2001-11-23  Hans Breuer  <hans@breuer.org>
      
      	* glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
      	gunidecomp.h(5846) : fatal error C1076: compiler limit :
      	internal heap limit reached; use /Zm to specify a higher limit
      
      	* glibconfig.h.win32.in : added recommended pragma list for
      	msvc again. They are an invaluable help of letting the
      	compiler catch bugs.
      70f84628
  9. 18 Nov, 2001 1 commit
    • Hans Breuer's avatar
      remove g_log_domain_glib usage/export · 6425f545
      Hans Breuer authored
      2001-11-18  Hans Breuer  <hans@breuer.org>
      
      	* glib/glib.def :
      	* glib/makefile.msc.in : remove g_log_domain_glib usage/export
      
      	* tests/makefile.msc.in : add iochannel-test
      6425f545
  10. 05 Nov, 2001 1 commit
    • Hans Breuer's avatar
      simplified wrapper around dirent functions to improve portability of · 3a86505c
      Hans Breuer authored
      2001-11-04  Hans Breuer  <hans@breuer.org>
      
      	* glib/gdir.[hc] : (new files) simplified wrapper around dirent
      	functions to improve portability of downstream libs/apps
      	* glib/makefile.msc.in : use them
      	* glib/glib.def : export them
      	* config.h.win32.in : needing HAVE_DIRENT_H defined
      3a86505c
  11. 25 Oct, 2001 1 commit
    • Tor Lillqvist's avatar
      Update. · 3729dc28
      Tor Lillqvist authored
      2001-10-26  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/glib.def: Update.
      
      	* tests/makefile.{mingw,msc}.in: Add ../* to PATH before running
      	tests to find DLLs. Separate the interactive tests, don't run them
      	in the check target.
      
      	* */makefile.msc.in: Include make.msc from GLib's build directory.
      3729dc28
  12. 27 Sep, 2001 1 commit
    • Bruno Haible's avatar
      When the sublangid is SUBLANG_DEFAULT, return the locale of the language's · 34462896
      Bruno Haible authored
      2001-09-24  Bruno Haible  <haible@clisp.cons.org>
      
      	* glib/gwin32.c (g_win32_getlocale): When the sublangid is
      	SUBLANG_DEFAULT, return the locale of the language's main country,
      	not a country-neutral locale. E.g. "en_US" instead of "en". Add
      	handling of LANG_SORBIAN. Fix typo for SUBLANG_CHINESE_SIMPLIFIED
      	(China == CN, CH == Switzerland). Ignore empty environment
      	variable values.
      
      2001-09-28  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/makefile.{mingw,msc}.in: Add localcharset.o. Just copy the
      	source file from libcharset and compile in this directory.
      
      	* glib/giochannel.c: Mark rest of g_set_error strings for
      	translation, too.
      
      	* glib/giowin32.c: Add some debugging output functions, call them
      	when debugging.
      	(create_events, g_io_win32_msg_write): Free message fetched with
      	g_win32_error_message ().
      	(g_io_win32_check): Indentation fixes.
      	(g_io_win32_fd_read,g_io_win32_sock_read): Don't always return
      	G_IO_STATUS_NORMAL. Do return G_IO_STATUS_EOF if we got 0 bytes,
      	like on Unix. This helps making the test programs run
      	successfully.
      
      	* glib/gmain.c (g_poll): Return the code ifdeffed out with
      	TEST_WITHOUT_THIS. Can't remember why it was ifdeffed out. Things
      	seem to work as previously with the code in place. Especially
      	spawn-test didn't work with the code ifdeffed out (Bug#61067).
      
      	* glib/grand.c (g_rand_new): Don't try to use /dev/urandom unless
      	on Unix.
      
      	* glib/gspawn-win32-helper.c (WinMain): Remove Sleep(10000)
      	accidentally left in.
      
      gthread:
      
      2001-09-28  Tor Lillqvist  <tml@iki.fi>
      
      	* gthread-win32.c: Use an extra level of indirection for GMutex.
      	It is now a pointer either to a pointer to a CRITICAL_SECTION
      	struct, or to a mutex HANDLE. This is needed in case the user
      	defines G_ERRORCHECK_MUTEXES. G_MUTEX_SIZE must correctly reflect
      	the size of *GMutex, but this used to vary depending on whether we
      	at run-time chose to use CRITICAL_SECTIONs or mutexes.
      	(g_mutex_free_win32_cs_impl, g_cond_free_win32_impl): Call
      	DeleteCriticalSection() when done with it.
      
      	* gthread-impl.c (g_thread_init_with_errorcheck_mutexes): Call
      	g_thread_impl_init() before accessing
      	g_thread_functions_for_glib_use_default, as the
      	g_thread_impl_init() function might modify it.
      
      po:
      
      2001-09-28  Tor Lillqvist  <tml@iki.fi>
      
      	* POTFILES.in: Add iochannel.c and giowin32.c.
      
      	* sv.po: Remove a bogus fuzziness indicator.
      34462896
  13. 25 Sep, 2001 1 commit
    • Tor Lillqvist's avatar
      More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF, · 1c8de25a
      Tor Lillqvist authored
      2001-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: More Win32 automake macros. For .def files:
      	GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp
      	files: TESTGMODULE_EXP (for programs that need to export symbols,
      	just testgmodule here). A new conditional, MS_LIB_AVAILABLE to
      	test whether the Microsoft librarian ("ar") is available to build
      	MS import libraries.
      
      	* glib/Makefile.am
      	* gmodule/Makefile.am: Use above. New rule to build MS import
      	library.
      
      	* glib/makefile.msc.in
      	* tests/makefile.msc.in
      	* tests/makefile.mingw.in: Use same DLL and import library names as
      	libtool.
      
      gmodule:
      2001-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.mingw.in: Fix missing end @ in @LT_CURRENT@.
      
      	* makefile.msc.in: Use same DLL and import library names as
      	libtool.
      
      gobject:
      2001-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Use new macros for .def file, and check for
      	MS_LIB_AVAILABLE, new rule to build MS import library.
      
      	* makefile.msc.in: Use same DLL and import library names as
      	libtool.
      
      gthread:
      2001-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Use new macros for .def file, and check for
      	MS_LIB_AVAILABLE, new rule to build MS import library.
      
      	* makefile.msc.in: Use same DLL and import library names as
      	libtool.
      1c8de25a
  14. 21 Sep, 2001 1 commit
    • Hans Breuer's avatar
      added rule for glibconfig.h · fdc27bb8
      Hans Breuer authored
      2001-09-21  Hans Breuer  <hans@breuer.org>
      
      	* makefile.msc : added rule for glibconfig.h
      
      	* glib/giowin32.c (g_io_channel_new_file) : always open
      	in binary mode
      
      	* glib/glib.def : updated externals
      
      	* glib/gwin32.c : re-added LANG_* and SUBLANG_* definitions,
      	which are missing from the msvc 5.0 win32 sdk
      
      	* glib/makefile.msc.in : added gbsearcharry
      fdc27bb8
  15. 30 Aug, 2001 1 commit
    • Tor Lillqvist's avatar
      After being away for about five months, I'm back working on this... For · 74b4d8c2
      Tor Lillqvist authored
      2001-08-30  Tor Lillqvist  <tml@iki.fi>
      
      	After being away for about five months, I'm back working on
      	this...  For now, still using same build setup for Win32. Probably
      	will change to not including version numbers in the import library
      	names, though. (But the DLL names would still include them,
      	possibly even also the micro version number.) That would be more
      	Unix-like. Also, will have to check out newest mingw tool versions
      	to see if the build-dll script now can be retired.
      
      	* makefile.mingw
      	* makefile.msc: New files, no need to generate from .in as
      	they don't contain references to automake variables.
      
      	* makefile.mingw.in
      	* makefile.msc.in: Removed.
      
      	* glib.rc.in: Remove
      	* glib/glib.rc.in: Moved here.
      
      	* Makefile.am
      	* glib/Makefile.am: Corresponding changes.
      
      	* glib/glib.def: Fix typo, add new entries.
      
      	* glib/gspawn-win32-helper.c: More debugging. Doesn't work
      	currently (or then it never has on Win2k, which I now use?)
      
      	* glib/gstrfuncs.c
      	* glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32.
      
      	* */makefile.mingw.in: Reflect new location of glib library.
      74b4d8c2
  16. 20 Jul, 2001 1 commit
    • Hans Breuer's avatar
      make it compile again · 847d8e92
      Hans Breuer authored
      2001-07-20  Hans Breuer  <hans@breuer.org>
      
      	* glib/glib/giowin32.c : make it compile again
      
      	* glib/glib.def : updated exports
      
      	* glib/makefile.msc.in :
      	* glib/makefile.mingw.in :
      	* tests/makefile.msc.in : reflect glib move
      
      	* tests/mainloop-test.c : #include <io.h> for _pipe()
      
      	* tests/gio-test.c : casts for strict compiler settings
      
      	* makefile.msc.in : new master makefile reflecting the glib
      	move. The '.in' isn't really needed anymore, because there
      	is no version number in it
      847d8e92
  17. 24 May, 2001 1 commit
  18. 13 Apr, 2001 1 commit
    • Hans Breuer's avatar
      updated · 08525434
      Hans Breuer authored
      2001-04-14  Hans Breuer  <hans@breuer.org>
      
      	* glib.def :
      	* makefile.msc.in : updated
      
      	* gpattern.c : include "gutils.h" to resolve the inline hassle
      08525434
  19. 01 Mar, 2001 1 commit
    • Tor Lillqvist's avatar
      Remove test for initial double backslash (UNC path), this will of course · b6ba941b
      Tor Lillqvist authored
      2001-03-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gutils.c (g_path_is_absolute): (Win32) Remove test for initial
      	double backslash (UNC path), this will of course be matched by the
      	test for an initial G_DIR_SEPARATOR right up front. Silly me.
      	(g_find_program_in_path): Implement on Win32.
      	(g_get_any_init): (Win32) Also look for the USERPROFILE env var
      	indicating the home directory equivalent.
      
      	* testglib.c (main): Test g_find_program_in_path() on Win32 by
      	looking for more.com and regedit.exe.
      
      	* glib.def: Add g_find_program_in_path.
      b6ba941b
  20. 16 Jan, 2001 1 commit
    • Tor Lillqvist's avatar
      Define ENABLE_NLS and GETTEXT_PACKAGE. · a9d05d4c
      Tor Lillqvist authored
      2001-01-17  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32.in: Define ENABLE_NLS and GETTEXT_PACKAGE.
      
      	* makefile.mingw.in
      	* makefile.msc.in: Use the GNU intl library.
      
      	* gwin32.c (g_win32_get_package_installation_directory): New
      	function. To be used by various GLib-using packages to get their
      	installation directory, which should be stored in the Registry by
      	some installer.
      
      	* gwin32.h: Declare it.
      
      	* testglib.c (main): Test it.
      
      	* gutils.c: On Win32, define GLIB_LOCALE_DIR using
      	g_win32_get_package_installation_directory().
      
      	* glib.def: Update.
      a9d05d4c
  21. 29 Dec, 2000 1 commit
    • Tor Lillqvist's avatar
      Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. · cf1c65ae
      Tor Lillqvist authored
      2000-12-29  Tor Lillqvist  <tml@iki.fi>
      
      	* glibconfig.h.win32.in: Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG.
      
      	* glib.def: Update.
      
      	* {.,*}/makefile.{mingw,msc}.in: Add -DG_ENABLE_DEBUG.
      cf1c65ae
  22. 14 Dec, 2000 1 commit
  23. 01 Dec, 2000 1 commit
    • Tor Lillqvist's avatar
      Include make.msc from GLib's build subdir. · 74987b2c
      Tor Lillqvist authored
      2000-12-01  Tor Lillqvist  <tml@iki.fi>
      
      	* {.,*}/makefile.msc.in: Include make.msc from GLib's build subdir.
      
      	* makefile.{mingw,msc}.in (glib_OBJECTS): Add gunibreak.
      
      	* glib.def: Update correspondingly.
      74987b2c
  24. 28 Nov, 2000 1 commit
    • Tor Lillqvist's avatar
      Patches by Hans Breuer: · 55c7329d
      Tor Lillqvist authored
      2000-11-28  Tor Lillqvist  <tml@iki.fi>
      
      	Patches by Hans Breuer:
      
      	* gspawn-win32.c: Move the code for gspawn-win32-helper to its own
      	file.
      
      	* makefile.{mingw,msc}.in: Change accordingly.
      
      	* gspawn-win32-helper.c: New file.
      
      	* Makefile.am (EXTRA_DIST): Add it.
      
      	* gmarkup.c (find_current_text_end): Fix assertion not to check an
      	uninitialised variable.
      
      	* gboxed.c: Include <string.h> for memset ().
      55c7329d
  25. 26 Nov, 2000 1 commit
    • Tor Lillqvist's avatar
      Add gqsort. · dcce67b0
      Tor Lillqvist authored
      2000-11-22  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.{mingw,msc}.in: Add gqsort.
      
      	* glib.def: Update.
      
      	* gobject.def: Update.
      dcce67b0
  26. 30 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Check for mkstemp. · 6acee58b
      Tor Lillqvist authored
      2000-10-30  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Check for mkstemp.
      
      	* gutils.c (g_mkstemp): New function. If HAVE_MKSTEMP, just call
      	it, otherwise use code lifted from glibc.
      
      	* gutils.h: Declare it.
      
      	* glib.def: Here, too.
      6acee58b
  27. 27 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Add gmarkup. · 09683edc
      Tor Lillqvist authored
      2000-10-27  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.{mingw,msc}.in (glib_OBJECTS): Add gmarkup.
      
      	* glib.def: Add missing functions.
      
      	* tests/makefile.{mingw,msc}.in (TESTS): Add markup-test.
      09683edc
  28. 26 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Cosmetics. · 7ea09e45
      Tor Lillqvist authored
      2000-10-26  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.{mingw,msc}.in: Cosmetics.
      7ea09e45
  29. 19 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Pass -DGSPAWN_HELPER when building it. Link with user32.lib. · 4905022b
      Tor Lillqvist authored
      2000-10-19  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.msc.in: Pass -DGSPAWN_HELPER when building it. Link
      	with user32.lib.
      
      	* gspawn-win32.c
      	* gfileutils.c: Make them compile with picky MSVC.
      
      	* gwin32.h: New file. Move Win32-only stuff that isn't related to
      	GIOChannels here from giochannel.h.
      
      	* Makefile.am: Add it here.
      
      	* giochannel.h: Move stuff to gwin32.h.
      
      	* glib.h: On Win32, include gwin32.h.
      4905022b
  30. 16 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. · fb4de1c5
      Tor Lillqvist authored
      2000-10-16  Tor Lillqvist  <tml@iki.fi>
      
      	* giowin32.c (reader_thread): Some more debugging output.
      	(g_io_channel_win32_poll): Remove unused vars.
      
      	* gfileutils.c: Changes for Win32, with no unistd.h and no
      	S_ISLNK().
      
      	* gspawn-win32.c: Implementation of the g_spwan_* functions for
      	Win32. Due to the general non-Unixness of Win32, much of the
      	functionality that is relatively clean to implement on Unix, is
      	hard to do on Win32. We must use a separate helper program to
      	change directory, close extra file descriptors, redirect the std
      	ones, as needed, and only then start the child process. No child
      	process pid can be returned, unfortunately. Or if we used
      	CreateProcess directly, it probably could. (Now we use the spawnv*
      	functions from msvcrt.)
      
      	* glib.def: Add new entry points.
      
      	* glib.def
      	* giowin32.c: Remove g_io_channel_win32_wait_for_condition(),
      	g_io_channel_win32_poll() subsumes it.
      
      	* gbacktrace.h: G_BREAKPOINT for MSVC (on the ix86).
      
      	* gwin32.c (g_win32_getlocale): Use "sp" for
      	LANG_CROATIAN+SUBLANG_SERBIAN_LATIN.
      
      	* makefile.{mingw,msc}.in (glib_OBJECTS): Add new files.
      	Add gspawn-win32-helper.exe rule.
      
      	* tests/makefile.{mingw,msc}.in (TESTS): Add shell-test and
      	spawn-test.
      
      	* tests/spawn-test.c: (run_tests): On Win32, don't try to run
      	/bin/sh, but ipconfig (no special significance in choosing that,
      	just a program that outputs something to stdout).
      fb4de1c5
  31. 06 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Revamp to be like makefile.mingw.in, make the MSVC build actually work · 8e847255
      Tor Lillqvist authored
      2000-10-06  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.msc.in: Revamp to be like makefile.mingw.in, make
      	the MSVC build actually work again.
      
      	* gmodule/makefile.msc.in
      	* gobject/makefile.msc.in
      	* gthread/makefile.msc.in: New files, like their mingw counterparts.
      
      	* gmodule/Makefile.am
      	* gobject/Makefile.am
      	* gthread/Makefile.am: Make and distribute them.
      
      	* */makefile.mingw.in: Allow override of GLib version number from
      	the build/win32/module.defs file.
      
      	* glib.def: Add new entry point.
      
      	Fixes from Hans Breuer:
      
      	* glib.h (struct DIR): Keep the last readdir result cached inside
      	the DIR struct, to enable several DIRs being open simultaneously.
      
      	* gwin32.c (g_win32_readdir): Use the above instead of static.
      
      	* giowin32.c (g_io_channel_win32_make_pollfd): Insert cast to keep
      	MSVC happy.
      8e847255
  32. 30 Jun, 2000 1 commit
    • Tor Lillqvist's avatar
      Add new entry points. · 3250d07c
      Tor Lillqvist authored
      2000-07-01  Tor Lillqvist  <tml@iki.fi>
      
      * glib.def: Add new entry points.
      
      * makefile.{mingw,msc}.in: Add the new Unicode object files.
      
      2000-07-01  Tor Lillqvist  <tml@iki.fi>
      
      * gobject.def: Update added and renamed entry points.
      
      * makefile.mingw.in: Add gvaluetypes.o.
      3250d07c
  33. 01 May, 2000 1 commit
  34. 04 Nov, 1999 1 commit
  35. 31 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      New functions. · 1146c6fb
      Tor Lillqvist authored
      	* gstrfuncs.c (g_strccpy, g_strecpy): New functions.
      
      	* glib.h: Declare and document them. Define the deprecated
      	g_strescape as a macro that calls g_strecpy.
      
      	* tests/strfunc-test.c (main): Test them.
      
      	* makefile.{cygwin,msc}.in
      	* tests/makefile.{cygwin,msc}.in: Remove gstack and its test
      	program.
      
      	* glib.def: Additions and removals.
      
      	* README.win32: Improve gcc build instructions.
      
      	* build-dll: Also build import library for MSVC.
      1146c6fb
  36. 12 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Correct URL for mingw runtime sources. · da87b1ac
      Tor Lillqvist authored
      	* README.win32: Correct URL for mingw runtime sources.
      
      	* build-dll: Combine commands with &&.
      
      	* glib.h: Map also rmdir() and hypot() for MSVCRT library.
      
      	* makefile.cygwin.in
      	* tests/makefile.cygwin.in: New DLL naming style. GCC-compiled DLLs are
       	now called *.gcc.dll, to avoid binary incompatibilities with
       	MSVC-compiled versions.
      
      	* makefile.msc.in: Cosmetics.
      da87b1ac
  37. 02 Jul, 1999 1 commit
  38. 20 Jun, 1999 1 commit
    • Tor Lillqvist's avatar
      Update the pthreads snapshot version we want. Advice how to hand-expand · be80f9a1
      Tor Lillqvist authored
      	* README.win32: Update the pthreads snapshot version we want.
      	Advice how to hand-expand the makefile.*.in files.
      
      	* config.h.win32.in: Define values needed by Sebastian Wilhelmi's
      	new thread stuff.
      
      	* glib.def: Add new functions.
      
      	* glibconfig.h.win32.in: Update the pthreads snapshot version.
      	Fix typo.
      
      	* gthread.c: Include config.h, guard inclusion of unistd.h.  When
       	using gcc on Win32, g_thread_functions_for_glib_use must be marked
       	for export here, too.
      
      	* gtimer.c: Implement g_usleep on native Win32 using Sleep (which
      	only has millisecond granularity, though).
      
      	* makefile.cygwin.in
      	* makefile.msc.in: Update pthreads snapshot version. File
      	name changes. Remove testgthread.
      
      	* tests/makefile.cygwin.in
      	* tests/makefile.msc.in: Add thread-test. Link with gthread lib.
      
      	* gthread-posix.c: Guard pthread_attr_setscope call with test
      	for _POSIX_THREAD_PRIORITY_SCHEDULING, which should be defined
      	in a <pthread.h> that supports that feature.
      be80f9a1
  39. 06 May, 1999 1 commit
    • Tor Lillqvist's avatar
      New files, used to generate corresponding non-.in files when making a · 2b688f54
      Tor Lillqvist authored
      	* makefile.msc.in makefile.cygwin.in glibconfig.h.win32.in
       	config.h.win32.in tests/makefile.msc.in tests/makefile.cygwin.in:
       	New files, used to generate corresponding non-.in files when
       	making a dist. This is just so the version numbers will be kept in
       	synch automatically.
      
      	* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
       	@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
      
      	* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
      
      	* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
       	then exit.
      
      	* glib.def: Add a couple of functions.
      2b688f54
  40. 24 Apr, 1999 1 commit
    • Tor Lillqvist's avatar
      Support added for building using a GNU toolchain on Win32, · 2aa1277d
      Tor Lillqvist authored
      	i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2).
      
      	* README.win32: Updated.
      	* build-dll makefile.cygwin tests/makefile.cygwin: New files.
      	* glib.h glib.def glibconfig.h.win32 makefile.msc: Slight updates.
      	* gmain.c: No need to include <fcntl.h> and <io.h> on Win32.
      	* gmain.c gutils.c testglib.c tests/string-test.c: Test for
      	NATIVE_WIN32, not _MSC_VER.
      	* gmutex.c: Must declare g_thread_functions_for_glib_use as
      	exported (using the GUTILS_C_VAR macro).
      	* gutils.c gmodule/libgplugin_[ab].c: LibMain not needed.
      	* gmodule/gmoduleconf.h.win32: Need underscore with gcc.
      	* gthread/gthread.c: With gcc on Win32, must use memcpy to assign
      	value of g_thread_functions_for_glib_use (?).
      	* makefile.msc tests/makefile.msc: Cosmetics.
      2aa1277d