1. 25 Oct, 2001 2 commits
    • 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
    • Tor Lillqvist's avatar
      Updates. · 7d916740
      Tor Lillqvist authored
      2001-10-26  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Updates.
      
      	* tests/makefile.mingw.in
      	* tests/makefile.msc.in: Remove mainloop-test here, too.
      
      gobject:
      
      	* makefile.mingw.in: When running glib-genmarshal, set PATH to
      	include ../glib.
      7d916740
  2. 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
  3. 21 Jul, 2001 1 commit
    • Hans Breuer's avatar
      intial implementation of new API functions. Not sure if it behaves as · 35923250
      Hans Breuer authored
      2001-07-21  Hans Breuer  <hans@breuer.org>
      
      	* glib/giowin32.c : intial implementation of new API functions.
      	Not sure if it behaves as intended ...
      
      	* glib.def : removed, glib/glib.def is the file used since moved
      	* glib/glib.def : updated
      
      	* tests/makefile.msc : added iochannel-test
      35923250
  4. 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
  5. 29 Mar, 2001 1 commit
  6. 06 Jan, 2001 1 commit
    • Tor Lillqvist's avatar
      Get len using strlen() if arg is negative in the Win32 code, too. · deb68e15
      Tor Lillqvist authored
      2001-01-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gconvert.c (g_locale_to_utf8, g_locale_from_utf8): Get len using
      	strlen() if arg is negative in the Win32 code, too.
      
      	* giowin32.c: Changes necessary to be able to run
      	mainloop-test. We can't close the fd that our (internal) reader
      	thread is sitting doing a blocking read() from. We must terminate
      	the thread first. Keep track of thread handle, and close it when
      	thread is dying. Start reader thread with the lower-level
      	CreateThread() instead of _beginthreadex() from the C runtime, in
      	order to be able to use TerminateThread(). Hopefuly this isn't
      	harmful.
      
      	* glib.def: Update.
      
      	* tests/makefile.{mingw,msc}.in (TESTS): Add mainloop-test and
      	unicode-encoding.
      
      	* tests/mainloop-test.c: Portability: <unistd.h>, need <fcntl.h>
      	on Win32.
      
      	* tests/unicode-encoding.c (process): Add missing "line" argument
      	to fail(). On Win32, convert UTF-16LE, as libiconv'c ivonf always
      	converts to UTF-16BE if we ask for unspecific UTF-16.
      	(main) Handle also '\r'.
      deb68e15
  7. 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
  8. 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
  9. 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
  10. 06 Oct, 2000 2 commits
    • Tor Lillqvist's avatar
      Fix the Win32-only code to use current API, · 18e7dc02
      Tor Lillqvist authored
      2000-10-06  Tor Lillqvist  <tml@iki.fi>
      
      	* tests/gio-test.c (main): Fix the Win32-only code to use current
      	API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
      18e7dc02
    • 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
  11. 01 May, 2000 1 commit
  12. 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
  13. 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
  14. 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
  15. 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
  16. 13 Apr, 1999 1 commit
    • Tor Lillqvist's avatar
      Mention the tests directory. · fb55f005
      Tor Lillqvist authored
      	* README.win32: Mention the tests directory.
      
      	* glib.def: Add the functions from grand.c.
      
      	* glibconfig.h.win32: Add unsigned max values, and the format
       	strings.
      
      	* makefile.msc: Add grand.
      
      	* tests/{date-test,node-test}.c: Include <stdlib.h> for exit().
      
      	* tests/makefile.msc: New file.
      fb55f005