1. 11 Dec, 1999 1 commit
    • Tor Lillqvist's avatar
      Must mark also gdk_error_warnings and gdk_error_code as GDKVAR, as they · 9c00803e
      Tor Lillqvist authored
      1999-12-11  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdkprivate.h: Must mark also gdk_error_warnings and
      gdk_error_code as GDKVAR, as they are referred outside GDK.
      
      * gdk/win32/gdkinput-win32.c: Remove debugging leftover.
      
      * gdk/win32/gdkwindow-win32.c (gdk_window_new): Assure title is
      non-NULL.
      
      * gtk/gtkdnd.c
      * gtk/gtklayout.c
      * gtk/gtkplug.c
      * gtk/gtkselection.c
      * gtk/gtksocket.c
      * gtk/gtkwindow.c: Include x11/gdkx.h *or* win32/gdkwin32.c as
      appropriate. There must be a cleaner way to handle this?
      
      * gtk/gtkrc.c: Must include windows.h on Win32.
      
      * gtk/testgtk.c: No need to include gdkx.h.
      
      * gtk/makefile.cygwin: Correct invokation of genmarshal.pl.
      9c00803e
  2. 21 Nov, 1999 1 commit
    • Tor Lillqvist's avatar
      Fix typo. · 7944e647
      Tor Lillqvist authored
      1999-11-21  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdk.c (gdk_keyval_convert_case): Fix typo.
      
      * gdk/gdkconfig.h.win32: New file.
      
      * gdk/win32/makefile.cygwin: Build just a static archive here.
      
      * gdk/makefile.cygwin: New file. Get the win32-specific stuff
      for the DLL from the static archive built above.
      
      * gdk/gdk.def: Moved here from the win32 subdirectory.
      
      * gdk/win32/*: Adapt for the changed private struct organisation.
      
      * gtk/makefile.{cygwin,msc}: Get gdk library from ../gdk now.
      7944e647
  3. 19 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Use G_OS_WIN32. · 46da5c2b
      Tor Lillqvist authored
      1999-10-19  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/maketypes.awk: Use G_OS_WIN32.
      
      * gtk/gtk.def: Add some missing entry points. Also some non-public
      ones, but PyGTK porter claims to need them.
      
      * gtk/makefile.{cygwin,msc}: Drop some unneeded headers from the
      built-in type generation.
      46da5c2b
  4. 13 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Don't use TextOutW for GDK_FONT_FONT fonts (which is all we have for now, · 018d0982
      Tor Lillqvist authored
      1999-10-14  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for
      GDK_FONT_FONT fonts (which is all we have for now, we don't
      emulate fontsets). The X11 version uses plain XDrawString in that
      case, too. The string passed to gdk_draw_text_wc seems to be in
      fact (at least, when used by gtkentry and gtktext) either in a
      single-byte charset, or a DBCS. Not Unicode.
      
      This fixes the problem in gtkfontsel, where even if you had
      selected a font with a non-Latin1 charset (windows-greek, for
      instance), the preview still used Latin-1 glyphs.
      
      * gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't
      use GetTextExtentPoint32W, use GetTextExtentPoint32A.
      (gdk_font_load): Recognize the demibold etc weights, even if we
      don't have the corresponding constants in the headers.
      (gdk_font_hash_insert): Use same hash mechanism as in the X11
      version. Should save font resources a bit, when we don't have
      multiple HFONTs for the same font.
      
      * gdk/win32/gdkprivate.h: Add the names field as in the X11
      version.
      018d0982
  5. 05 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Corresponding changes as in X11 backend. · d23e3848
      Tor Lillqvist authored
      1999-10-05  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/*.[ch]: Corresponding changes as in X11 backend.
      
      * gdk/win32/gdkcompat.c: New file, actually provide an
      implementation for the deprecated functions. (Just temporarily.)
      
      * gtk/gtkfilesel.c: Fix an #ifdef syntax botch.
      
      * gtk/makefile.{cygwin,msc}: Update gdk_headers.
      
      * gdk/win32/gdk.def gtk/gtk.def: Updates.
      d23e3848
  6. 16 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Fix start and end radial endpoint calculations which were totally wrong. · 0455fa30
      Tor Lillqvist authored
      	* gdk/win32/gdkdraw.c (gdk_draw_arc): Fix start and end radial
      	endpoint calculations which were totally wrong. (A little RTFMing
      	helps a lot ;-)
      
      	* gtk/makefile.{cygwin,msc}: Use libintl extracted from glibc
      	from a separate directory, not from gettext, because of licensing
      	issues (we want to use the LGPL version).
      
      	* README.win32: Mention the intl from glibc vs from gettext issue.
      0455fa30
  7. 21 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Update gcc build instructions. Mention gettext is GPL. · 45a33960
      Tor Lillqvist authored
      	* README.win32: Update gcc build instructions. Mention gettext is
       	GPL.
      
      	* gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Get correct
       	supported cursor size with GetSystemMetrics.
      
      	* gdk/win32/gdkfont.c
      	* gtk/gtkfontsel.c: Guard against some font weight and charset
       	symbols being undefined (in mingw32 headers).
      
      	* gdk/win32/makefile.cygwin
      	* gtk/makefile.cygwin
      	* gtk/gtkthemes.c: No longer need to have differently named
      	gcc-built DLLs when using gcc-2.95 and -fnative-struct.
      45a33960
  8. 12 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Less logging verbiage. · e3c310e5
      Tor Lillqvist authored
      	* gdk/win32/gdkdraw.c (gdk_draw_pixmap): Less logging verbiage.
      
      	* gdk/win32/gdkevents.c: Fix long-standing bug in key
       	events. The key.string wasn't zero-terminated, still we strdup'ed
       	it in gdk_event_copy(). Synthesize crossing events for button
       	events before possible propagation.
      
      	* gdk/win32/gdkwindow.c: Log gdk_window_set_title.
      
      	* gdk/win32/makefile.cygwin
      	* gtk/makefile.cygwin: Use new DLL naming style for the
       	GCC-compiled ones.
      
      	* gdk/win32/makefile.msc
      	* gtk/makefile.msc: Cosmetics mostly.
      
      	* gtk/gtk.def: Add missing entry points.
      
      	* gtk/gtksocket.c: Add dummy gtk_socket_get_type() for Win32.
      e3c310e5
  9. 03 Jul, 1999 1 commit
  10. 25 Apr, 1999 1 commit
    • Tor Lillqvist's avatar
      Support added for building using a GNU toolchain on Win32, · 1c84483f
      Tor Lillqvist authored
      	gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
      
      	* gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
      	* config.h.win32: Changes for gcc.
      	* gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
      	* gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
      	* gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
      	* gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
      	Protect shl stuff unavaiilable with mingw32 headers.
      	* gdk/win32/gdkevents.c: Fix typo.
      	* gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
      	* gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
      	* gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
      	* gdk/win32/gdkprivate.h: Make up for some stuff missing from
      	the mingw32 headers.
      	* gdk/win32/makefile.msc: Use latest Wintab kit and glib.
      	* gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
      	definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
      	Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/gtkmain.c: No use warning about developer version on Win32,
      	there aren't any non-developer versions anyhow.
      	* gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/makefile.msc: Use pthread from another directory. Minor other
      	changes.
      1c84483f