1. 28 Aug, 2018 1 commit
  2. 10 May, 2016 1 commit
  3. 04 Jan, 2016 1 commit
    • Chun-wei Fan's avatar
      config.h.win32.in: Update for _lock_file() · aa352168
      Chun-wei Fan authored
      The Visual Studio versions that we support supports locking functions in
      their CRT, so support that to optimize things a bit.  Also update the
      config.h.win32.in so that its entries are more in line with the ones in
      the autootols builds, and make sure that we use UNIX line endings.
      aa352168
  4. 06 Mar, 2015 1 commit
    • Chun-wei Fan's avatar
      Update config.h.win32.in for sincos() · 064f4db0
      Chun-wei Fan authored
      There was an added check in configure.ac for sincos() for gtkgears.c, where
      that function is actually a GCC- and glibc-specific extension, which is
      not available on Windows.  Reflect on this in config.h.win32.in for the
      Visual Studio/Windows builds.
      064f4db0
  5. 10 Nov, 2014 1 commit
  6. 18 Dec, 2013 1 commit
    • Chun-wei Fan's avatar
      Update config.h.win32.in for Visual C++ 2013 · 37d074da
      Chun-wei Fan authored
      A number of C99 math.h functions, along with inttypes.h were included for
      Visual C++ 2013, along with much improved C99 capabilities, so update
      config.h.win32.in to reflect this.
      37d074da
  7. 30 Aug, 2013 1 commit
    • Chun-wei Fan's avatar
      Update config.h.win32(.in) · 6278c404
      Chun-wei Fan authored
      Define _GDK_EXTERN more in line with the definition of it on Windows as
      defined in configure.ac, and add a MinGW variant for it as well
      6278c404
  8. 16 Aug, 2013 1 commit
  9. 28 May, 2013 1 commit
    • Chun-wei Fan's avatar
      Update Visual Studio Build Files · 9b217a0d
      Chun-wei Fan authored
      -Update the pre-configured config.h.win32(.in) to define _GDK_EXTERN as
       __declspec (dllexport) as we are not using .def files to export symbols
       anymore.
      -Update the GDK/GTK DLL projects and the property sheets to stop using
       the .symbols/.def files
      -Update the property sheets to "install" the newly-introduced GTK headers
      -Update the gtk3-demo project to build the new demo sources that must be
       built
      9b217a0d
  10. 01 Feb, 2013 1 commit
  11. 23 Jan, 2013 1 commit
  12. 29 Aug, 2012 1 commit
  13. 23 Jun, 2012 1 commit
  14. 02 Mar, 2012 1 commit
  15. 21 Feb, 2012 1 commit
  16. 20 Aug, 2011 1 commit
    • Chun-wei Fan's avatar
      Update config.h.win32.in · 0f458f1e
      Chun-wei Fan authored
      -Only define HAVE_STRINGS_H when MSVC is not used
      -Define HVE_STDINT_H for Visual C++ 2010 and later, as Visual C++ 2010
       does ship with a "proper" stdint.h by default
      -Add check macros HAVE_RINT and HAVE_ROUND--they are only defined when
       MSVC is not used
      -Remove obsolete check macros
      0f458f1e
  17. 02 Dec, 2010 1 commit
  18. 12 Apr, 2010 2 commits
  19. 04 Jul, 2009 1 commit
  20. 05 Jun, 2008 1 commit
  21. 12 Mar, 2008 1 commit
  22. 11 Mar, 2008 1 commit
    • Michael Natterer's avatar
      removed linux-fb backend files. · e8c3fbf4
      Michael Natterer authored
      2008-03-11  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/linux-fb/*: removed linux-fb backend files.
      
      	* acconfig.h
      	* config.h.win32.in
      	* docs/README.linux-fb
      	* gtk/Makefile.am: remove remaining traces of linux-fb.
      
      	* gtk/gtkwindow-decorate.c: same here. There is some code that
      	calls into linux-fb to set window move/resize callbacks. I put it
      	in #if 0 as a reminder because we did use decorated windows with
      	the DirectFB backend and it did work, so I don't really know why
      	this code is needed or how it could work with DirectFB back then.
      	The file does actually compile now if DECORATE_WINDOWS is defined,
      	but I didn't test with DirectFB to check if it does anything.
      
      
      svn path=/trunk/; revision=19749
      e8c3fbf4
  23. 28 Nov, 2007 1 commit
  24. 19 Jan, 2007 1 commit
    • Tor Lillqvist's avatar
      Build Wintab support always on Windows. Don't require the Wintab SDK. · f6b4585c
      Tor Lillqvist authored
      2007-01-19  Tor Lillqvist  <tml@novell.com>
      
      	Build Wintab support always on Windows. Don't require the Wintab
      	SDK.
      
      	* configure.in: Drop the --with-wintab option. Drop the
      	HAVE_WINTAB feature test macro and Automake variable.
      
      	* acconfig.h
      	* config.h.win32.in: Drop HAVE_WINTAB.
      
      	* gdk/win32/gdkevents-win32.c 
      	* gdk/win32/gdkinput.c 
      	* gdk/win32/gdkinput-win32.h 	
      	* gdk/win32/gdkinput-win32.c
      	* gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
      	unconditional.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
      	to load wintab32.dll dynamically here. If it is found look up the
      	handful Wintab functions we use.
      	(rest of file): Use these function pointers instead of calling the
      	functions from wntab32x.lib. The code in wntab32x.lib did the same
      	thing anyway: tried to load wintab32.dll, and looked up the
      	addresses of the actual functions from it.
      
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am: Drop the libwntab32x hacks.
      
      	* gdk/win32/wintab.h
      	* gdk/win32/pktdef.h: New files. Copied from the Wintab
      	SDK. Copyright blurb says: "The text and information contained in
      	this file may be freely used, copied, or distributed without
      	compensation or licensing restrictions."
      
      	* README.win32: Update a bit. Remove the text about the Wintab
      	SDK.
      
      
      svn path=/trunk/; revision=17186
      f6b4585c
  25. 01 Nov, 2005 1 commit
  26. 03 Mar, 2002 1 commit
  27. 18 Nov, 2001 1 commit
    • Hans Breuer's avatar
      make it compile with msvc: !HAVE_UNISTD_H; no label without op, even if · d9eb9ba9
      Hans Breuer authored
      2001-11-18  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H;
      	no label without op, even if it's a no-op.
      
      	* gtk/gtk.def :
      	* gtk/makefile.msc.in : reflect marshaler split, some clean-up
      
      	* config.h.win32.in : remove definition of HAVE_DIRENT_H
      	* gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't
      	required anymore, replace it.
      	* gtk/queryimmodules.c : DIR -> GDir replacement, also
      	getcwd() -> g_get_current_dir()
      
      	* gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c
      	Even 'noisy laugh' scolling appears to work, though I still can't
      	claim to have fully understood what it is supposed to do ...
      d9eb9ba9
  28. 08 Nov, 2001 1 commit
    • Tor Lillqvist's avatar
      Add headers. Add section about ActiveIMM. · 15d20507
      Tor Lillqvist authored
      2001-11-08  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Add headers. Add section about ActiveIMM.
      
      	* configure.in: Add --with-ie55 flag to specify the location of
      	the "IE55 libs and headers" package downloadable from Microsoft,
      	which contains, among other things, the Active IMM header dimm.h
      	and UUID library uuid.lib. Use test -f instead of AC_CHECK_FILE.
      	Require GLib 1.3.10.
      
      	* config.h.win32.in: New version, produced by merging two
      	configure-generated ones (for gcc and MSVC). Hopefully #defines
      	the same flags that the previous, hand-written one, did.
      
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am: Handle the uuid library from the IE55 lib.
      
      	* gdk/win32/gdkevents-win32.c: Conditionalize ActiveIMM
      	stuff. Remove unused GdkIOClosure.
      
      	* gdk/win32/surrogate-dimm.h: Remove, use real dimm.h instead (if
      	available).
      
      	* gdk/win32/libie55uuid.la: New file, handwritten libtool wrapper
      	for uuid.lib. (Does it really have to be this hard to use an
      	existing library with libtool? Probably I am missing something.)
      15d20507
  29. 31 Mar, 2001 1 commit
    • Hans Breuer's avatar
      disable USE_MMX for msvc build cause the assembler doesn't fit and is out · 6ff97d2e
      Hans Breuer authored
      2001-03-31  Hans Breuer  <hans@breuer.org>
      
      	* config.h.win32.in : disable USE_MMX for msvc build cause
      	the assembler doesn't fit and is out of my scope. Disable
      	USE_GMODULE for msvc build as wel. The right way to share
      	binaries on win32 would be to use libtiff.dll etc. To reduce
      	installation hassles IMO it's better to include all fileformats
      	builtin to gdk-pixbuf
      
      	* gdk-pixbuf/makefile.msc : new file
      
      	* gdk/gdk.def : updated
      
      	* gdk/win32/gdkevents-win32.c : don't erase the background if
      	.no_bg is set. It improves the scrolling (e.g. of testgtk main
      	buttons
      	* gdk/win32/gdkgeometry-win32.c : added comment about the above
      
      	* gdk/win32/gdkwindow-win32.c : added three new functions like
      	the X version. Only one is implemented, because the other two
      	"gdk_window_begin_(resize|move)_drag" got no docs and appear to
      	be default behaviour on win32 anyway ...
      
      	* gtk/gtk.def : updated
      
      	* gtk/makefile.msc.in : update for new files, use glib-genmarshal
      	from where it was built and add an additional rule to automagically
      	build gtkmarshal.[hc]
      
      	* gtk/gtkfilesel.c (open_new_dir) : don't increase n_entries
      	before array access for the current entry isn't finished
      
      	* gtk/gtktreeitem.c (gtk_tree_item_subtree_button_click) :
      	use g_return_val_if_fail
      
      	* gtk/testgtk.c (window_controls) : don't use the *wrong* size
      	for the static array, but let the compiler calculate it. It
      	makes me wonder if gcc isn't capable to catch bugs like this ...
      6ff97d2e
  30. 17 Jan, 2001 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkmain.c Use the new · 576ef7f2
      Tor Lillqvist authored
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkmain.c
      	* gtk/gtkrc.c: (Win32) Use the new
      	g_win32_get_package_installation_(sub)directory() functions.
      
      	* config.h.win32.in: New file.
      
      	* config.h.win32: Removed.
      
      	* configure.in: Output config.h.win32.
      
      	* Makefile.am: Add it to EXTRA_DIST.
      
      	* gtk/gtk.def: Update.
      
      2001-01-16  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_show, gdk_window_hide):
      	Eliminate redraws when input-only windows are shown or
      	hidden. Thanks to jpe@archaeopteryx.com.
      
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf-io.c (get_libdir): (Win32) Use the new
      	g_win32_get_package_installation_subdirectory() function.
      	(gtk_win32_get_installation_directory): Remove this then.
      576ef7f2
  31. 03 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Guard definition of alloca(). glib.h now handles that. · 69ac9451
      Tor Lillqvist authored
      2000-10-03  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32: Guard definition of alloca(). glib.h now handles
      	that.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add new entry points.
      
      	Changes just to make GTK+ build without errors on Win32. No hope
      	of it working in its current state, though...:
      
      	* gdk/win32/gdkselection-win32.c: Remove gcc -Wall warnings.  Add
      	some functions from the X11 backend, just to make GTK+ build.
      
      	* gdk/makefile.mingw.in
      	* gtk/makefile.mingw.in: Use correct gdk_pixbuf version
      	number. Add new object files.
      
      	* gtk/gtkclipboard.c: Include gdkwin32.h on Win32. Use
      	GetMessageTime to get timestamp (where on X11 uses
      	gdk_x11_get_server_time()).
      69ac9451
  32. 25 Jul, 2000 2 commits
    • Tor Lillqvist's avatar
      Generate gtk/makefile.mingw. · 20e675e1
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Generate gtk/makefile.mingw.
      
      	* config.h.win32: Add GETTEXT_PACKAGE.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Updates.
      
      	* gdk/gdkfont.h
      	* gdk/gdkpixmap.h: Remove temporary Win32-only functions, we don't
      	need them any longer.
      
      	* gdk/gdkinput.h: Mark gdk_core_pointer for export/import.
      
      	* gdk/win32/*.c: More work.
      
      	* gdk/win32/gdkpango-win32.c: New file.
      
      	* gtk/makefile.mingw.in: New file
      
      	* gtk/makefile.cygwin: Removed
      
      	* gtk/Makefile.am: Update accordingly.
      
      	* gtk/gtkmain.c: Use gtk_win32_get_installation_directory().
      
      	* gtk/gtktextdisplay.c: No need to include pangox.h, pango.h
      	is enough.
      
      	* gtk/gtktypeutils.c: Mark glib_debug_objects for import.
      20e675e1
    • Tor Lillqvist's avatar
      Include the build directory. · 5ac61d3e
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Include the build directory.
      
      	* configure.in: Generate build/Makefile and build/win32/Makefile.
      
      	* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Updates.
      
      	* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
      	PANGOWIN32_LIBS and gdk_pixbuf.
      
      	* gdk/win32: Compiles, but no doubt doesn't work at all.
      
      	* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
      
      	* gdk/win32/gdkinput.c: New file, temporarily.
      
      	* gdk/win32/gdkinput-win32.h: New file
      
      	* gdk/win32/gdkinputprivate.h: Remove.
      
      	* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
      	made externally visible.
      5ac61d3e
  33. 04 Nov, 1999 1 commit
    • Tor Lillqvist's avatar
      Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to · f527b890
      Tor Lillqvist authored
      1999-11-04  Tor Lillqvist  <tml@iki.fi>
      
      * config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to
      get the Platform SDK to get <dimm.h>.
      
      * gdk/win32/gdkevents.c: More event handling fixes and
      simplification. Never generate motion events with is_hint true. We
      used to do that on bogus grounds earlier. Windows sends
      WM_MOUSEMOVE messages on button events even if the mouse hasn't
      moved, ignore these.
      
      * gdk/win32/gdkfont.c: Load all fonts as (pretended) fontsets.
      
      * gdk/win32/gdkglobals.c
      * gdk/win32/gdkprivate.h: Define a typedef for the pointer to
      the TrackMouseEvent function, and use it.
      
      * gdk/win32/gdkwindow.c: Terminate widechar string with a zero
      char before calling WideCharToMultiByte in order to get a string
      for the window title.
      
      * gdk/win32/gdkdnd.c: Some more random hacking, ifdeffed out.
      
      * gdk/win32/gdk.def: Remove obsolete functions.
      
      * gdk/win32/makefile.{cygwin,msc}: Remove gdkcompat.{o,obj}. Add
      /nodefaultlib and /defaultlib switches.
      
      * gtk/gtkrc.c: s/gwin_getlocale/g_win32_getlocale/.
      f527b890
  34. 31 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Add new keysyms from X11R6.4 (including EuroSign). · 00c5e838
      Tor Lillqvist authored
      1999-10-31  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdkkeysyms.h: Add new keysyms from X11R6.4 (including
      EuroSign).
      
      * gdk/gdktypes.h: Add note about wchar_t not necessarily being the
      same type as GdkWChar, especially on Win32.
      
      * gdk/win32/*.c: Change gdk_root_parent to be a pointer.
      
      * gdk/win32/*.c: Assume all strings are UTF-8. Convert to Unicode
      before passing to Windows GDI for drawing etc. Convert to the
      system default codepage before passing to Windows as window
      titles.
      
      * gdk/win32/gdkprivate.h: Add more fields to GdkWindowPrivate to
      support changing input locale on the fly.
      
      * gdk/win32/gdkevent.c: Support input language (keyboard locale)
      on-the-fly changes. Convert incoming characters from the current
      codepage to Unicode (and then to a UTF-8 multi-byte string) based
      on the current input language. Use keysym<->Unicode mapping tables
      and functions borrowed from xterm sources.
      
      Support IMEs (Input Method Editors) for CJK languages. On non-CJK
      editions of Win9x, use the ActiveX-based Active IMM (Input Method
      Manager) if available. IMEs and the Active IMM are available under
      the disguise of Chinese, Korean and Japanese support for IE and
      Outlook Express from "Windows Update" for Win98. On Win2k, the CJK
      support is present in all editions (as long as you install it).
      
      Call DispatchMessage from gdk_events_queue() (and thus
      gdk_WindowProc()), instead of duplicating the code in
      gdk_WindowProc().
      
      Reworked the grab handling and propagation code, factored out
      duplicated code snippets into separate functions. Other cleanups,
      too.
      
      * gdk/win32/surrogate-dimm.h: Provide just the bits we need from
      the <dimm.h> header describing the Active IMM.
      
      * gdk/win32/gdkfont.c: Pretend to support fontsets, but so far
      just do the same as for "single" fonts.
      
      * gdk/win32/gdk.c: Call CoInitialize() (COM initialisation) from
      gdk_init_check, and CoUninitialize() from gdk_exit_func. Handle
      the new keysyms from gdkkeysyms.h.
      
      * gtk/gtkfontsel.c (Win32): Load the font for the preview as a
      fontset, so that gtkentry uses wide characters.
      
      * gtk/gtkrc.c (Win32): Get the locale with gwin_getlocale(). Call
      GTk+'s system directory "gtk+", not "gtk".
      00c5e838
  35. 25 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      README.win32 Add HAVE_WINTAB. Undefine it if bulding without the Wintab · 51046a9f
      Tor Lillqvist authored
      	* README.win32
      	* config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without
       	the Wintab SDK.
      
      	* gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work
       	OK, but getting closer. Guard against bogus tilt data from Wacom
       	ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to
       	enable easier building without Wintab.
      
      	* gdk/win32/gdkinput.h
      	* gdk/win32/gdkevents.c
      	* gdk/win32/gdkwindow.c: Minor changes related related to above.
      
      	* gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11
       	code. As we have just one visual on Win32, no sense to have it in a
       	table, and no need for the hash table.
      51046a9f
  36. 14 Jun, 1999 1 commit
    • Tor Lillqvist's avatar
      Mention using GNU gettext. Enable NLS stuff. Use GNU gettext. Minor header · a6afd23c
      Tor Lillqvist authored
      	* README.win32: Mention using GNU gettext.
      	* config.h.win32: Enable NLS stuff.
      	* gtk/makefile.msc: Use GNU gettext.
      	* gdk/win32/gdkdnd.c: Minor header reorg.
      	* gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly
      	cosmetics.
      	* gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public.
      	* gtk/gtkmain.c (Win32): Use it in bindtextdomain() call.
      a6afd23c
  37. 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
  38. 16 Mar, 1999 1 commit
    • Tor Lillqvist's avatar
      Check for lstat. · db30076b
      Tor Lillqvist authored
      * configure.in: Check for lstat.
      
      * config.h.win32: Add non-definition of HAVE_LSTAT, just for
      completeness.
      
      * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
      
      * gtk/gtk.def: Removed CRs.
      
      * gtk/makefile.msc: Correct include path to Win32 GDK version (in
      ..\gdk\win32).
      
      * gdk/win32/makefile.msc: Correct upwards relative paths.
      db30076b