1. 21 Nov, 2002 1 commit
  2. 26 Sep, 2001 1 commit
    • Tor Lillqvist's avatar
      Retract my change earlier today. Don't preset autoconf variables in a try · 18190575
      Tor Lillqvist authored
      2001-09-26  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Retract my change earlier today. Don't preset
      	autoconf variables in a try to match both mingw and MSVC. Instead,
      	he who packages a prebuilt GLib developer distribution for Win32
      	runs configure twice: once for mingw, once for MSVC, and then uses
      	diff -D on the glibconfig.h files to generate a suitably ifdeffed
      	glibconfig.h for distribution that suits both compilers. (Ditto
      	for config.h, although that file wouldn't be distributed in a
      	developer package, but in a source package for Win32 users who
      	want to build GLib but can't use configure.)
      
      	* glibconfig.h.win32.in
      	* config.h.win32.in: Generated by using diff -D as described above.
      
      	* tests/makefile.mingw.in (.c.exe): Correct name of gthread (import)
      	library.
      
      gthread:
      2001-09-26  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.mingw.in: Fix couple of typos.
      
      	* gthread.def: Add g_thread_init_with_errorcheck_mutexes.
      18190575
  3. 17 Sep, 2001 1 commit
    • Tor Lillqvist's avatar
      Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on · 020b44f5
      Tor Lillqvist authored
      2001-09-17  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Add variable for LT_CURRENT minus LT_AGE (the
      	suffix used by libtool on Win32 for DLLs). Set variables for the
      	compiled resource files on Windows. Handle the native Win32
      	gthread stuff.
      
      	* glib/Makefile.am
      	* gmodule/Makefile.am
      	* gobject/Makefile.am: (Win32) Add minor hacks to link in the object
      	file produced from the resource file. Use the lt-compile-resource
      	script from the build module. The non-hack way would be to teach
      	libtool, autoconf and automake about .rc files (which are a kind
      	of source code, after all, that gets compiled to object
      	files). But then there would be problems for those who wouldn't have
      	bleeding edge auto* and libtool.
      
      	* glib/glib.def
      	* gobject/gobject.def: Updates.
      
      	* glib/glib.rc.in
      	* gmodule/gmodule.rc.in
      	* gobject/gobject.rc.in
      	* gthread/gthread.rc.in: Update InternalName and OriginalFilename to
      	match libtool's naming convention for DLLs.
      
      	* glib/gutils.c: Ditto when constructing the DLL name in the
      	definition for GLIB_LOCALE_DIR.
      
      	* glib/makefile.mingw.in
      	* gmodule/makefile.mingw.in
      	* gobject/makefile.mingw.in
      	* gthread/makefile.mingw.in: Update import library names.
      020b44f5
  4. 04 Sep, 2001 1 commit
    • Tor Lillqvist's avatar
      Update. Don't mention pthreads. · 07741c07
      Tor Lillqvist authored
      
      2001-09-04  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update. Don't mention pthreads.
      
      	* build-dll: Remove, moved to the build module.
      
      	* glibconfig.h.win32.in: Don't mention pthreds here, either.
      
      	* glib/gstrfuncs.c: Mark the correct variable for export from DLL.
      
      	* glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to
      	rename the win32_watch_funcs variable here, too.
      
      	* */makefile.mingw.in: Don't use version number in import library
      	name. Use whole version number in DLL name. Use build-dll from the
      	build module.
      07741c07
  5. 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
  6. 22 May, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Removed POSIX_*. Defined G_THREAD_SOURCE to "gthread-win32.c". · d6ed8e36
      Sebastian Wilhelmi authored
      
      2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
              * config.h.win32.in: Removed POSIX_*. Defined G_THREAD_SOURCE to
              "gthread-win32.c".
      
              * glibconfig.h.win32.in: Define G_HAVE_ISO_VARARGS for gcc, don't
              know about MSC. Define G_THREADS_IMPL_WIN32 instead of
              G_THREADS_IMPL_POSIX and define the right static mutex macros and
              types.
      
              * build/win32/make.mingw (CXX): Removed PTHREAD defs. Added
      	-O2 -Wall to compile flags.
      
              * gthread/gthread-impl.c (g_thread_init): Move the thread
      	implementation initialization to before assigning
        	GThreadFuncs, which now is just struct assigned and not
      	memcpy'ed. Completed check for zero members of GThreadFuncs.
      
              * gthread/makefile.mingw: Don't link to pthread anymore.
      
              * gthread/gthread-win32.c: New file for native thread support for
              win32. Thanks to Hans Breuer <hans@breuer.org> to got me
              kickstarted.
      
              * gthread/Makefile.am: Also distribute gthread-win32.c.
      d6ed8e36
  7. 25 Jan, 2001 1 commit
  8. 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
  9. 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
  10. 21 Sep, 2000 1 commit
    • Tor Lillqvist's avatar
      Add gconvert.o. Use libiconv. · 599be596
      Tor Lillqvist authored
      2000-09-21  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.mingw.in: Add gconvert.o. Use libiconv.
      
      	* config.h.win32.in: Define HAVE_GETCWD.
      
      	* glib.def: Add new entry points.
      
      	* gthread/makefile.mingw.in: Use pthreads macros from ../build.
      599be596
  11. 14 Jul, 2000 1 commit
    • Tor Lillqvist's avatar
      Include the "build" module in GLib, too, to make it more self-contained. · 45adcf12
      Tor Lillqvist authored
      2000-07-15  Tor Lillqvist  <tml@iki.fi>
      
      * Makefile.am (SUBDIRS): Include the "build" module in GLib, too,
      to make it more self-contained. If your CVS client doesn't
      automatically get it, do a cvs get build in glib.
      
      * */makefile.mingw.in: Include make.mingw from build in the glib
      source directory.
      45adcf12
  12. 13 May, 2000 1 commit
    • Tor Lillqvist's avatar
      makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to · 77866eaf
      Tor Lillqvist authored
      2000-05-13  Tor Lillqvist  <tml@iki.fi>
      
      * makefile.mingw.in
      * tests/makefile.mingw.in
      * build-dll: Rename makefile.cygwin(.in) to
      makefile.mingw(.in), which better describes what it is. Move the
      build of gmodule, gthread and gobject DLLs to makefiles in those
      directories. Move resource file handling and build number bump to
      build-dll, where it sits much cleaner.
      
      * README.win32
      * Makefile.am (EXTRA_DIST): Update accordingly.
      
      * glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and
      G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
      implementations.
      
      * glib.def: Add g_strcanon.
      
      * gtree.c (g_tree_node_rotate_left): Remove unused variables.
      
      * gwin32.c (g_win32_opendir): Remove unneeded statement.
      
      gmodule:
      
      * makefile.mingw.in: New file, with gmodule stuff
      moved from ../makefile.mingw.in.
      
      * Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw.
      
      gobject:
      * makefile.mingw.in
      * gobject.def
      * gobject.rc.in: New files, for Win32 (mingw) build.
      
      * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
      corresponding non-*.in files.
      
      * gtype.h: (Win32:) Mark _g_type_fundamental_last for
      export/import from DLL.
      
      gthread:
      * makefile.mingw.in: New file, with gthread stuff moved from
      ../makefile.mingw.in.
      
      * Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
      77866eaf