1. 19 Feb, 2001 1 commit
  2. 14 Dec, 2000 1 commit
    • Tor Lillqvist's avatar
      Add gdkkeys. · 2e70f892
      Tor Lillqvist authored
      2000-12-15  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/makefile.{mingw.in,msc} (gdk_OBJECTS): Add gdkkeys.
      
      	* gtk/gtk.def
      	* gdk/gdk.def: Update.
      
      	* gdk/win32/gdkmain-win32.c
      	* gdk/win32/gdkkeys-win32.c: New file. Move some functions from
      	gdkmain-win32.c here.
      
      	* gdk/win32/makefile.mingw.in (all): No need to make
      	gdk-win32res.o here, the makefile one step up will call us to make
      	it.
      
      	* gdk/win32/makefile.{mingw.in,msc} (gdk_win32_OBJECTS): Add
      	gdkkeys-win32.
      
      	* gdk/win32/gdkcolor-win32.c: Silence gcc -Wall.
      
      	* gdk/win32/gdkevents-win32.c (gdk_events_init): Remove leftover
      	call to g_source_add().
      
      	* gdk/win32/gdkgc-win32.c (BitmapToRegion): Plug memory
      	leak. Thanks to Andreas Kemnade.
      2e70f892
  3. 09 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Update. · 658b4b1d
      Tor Lillqvist authored
      2000-10-09  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update.
      
      	* gdk/win32/gdkgeometry-win32.c (gdk_window_clip_changed): Add two
      	lines that had been deleted by mistake (?).
      
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Handle
      	also the case fg==white and bg==black (but still not randomly
      	coloured cursors). Thanks to Wolfgang Sourdeau.
      
      	* gdk/win32/*.c: Silence gcc -Wall.
      
      	* gtk/gtk.def: Add missing entry points.
      
      	Fixes by Hans Breuer:
      
      	* gdk/makefile.msc
      	* gdk/win32/makefile.msc: Update.
      
      	* gdk/testgdk.c: If compiling with debugging (with _DEBUG defined,
      	some MSVC thing, presumably), cause breakpoint on failures. Add
      	GDK_NOR case. Call g_log_set_always_fatal.
      
      	* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_insert): Handle
      	should be pased by reference.
      
      	* gdk/win32/gdkprivate-win32.h: Correct declaration accordingly.
      
      	* gdk/win32/*.c: Correct calls to gdk_win32_handle_table_insert.
      
      	* gdk/win32/gdkevents-win32.c
      	* gdk/win32/gdkwindow-win32.c: Handle WM_CREATE.
      
      	* gdk/win32/gdkgc-win32.c: Fix mixups of drawable and
      	implementation object.
      
      	* gdk/win32/gdkimage-win32.c (gdk_image_get): Handle drawables,
      	not just windows.
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize):
      	Use the wrapper object.
      658b4b1d
  4. 08 Mar, 2000 1 commit
    • Tor Lillqvist's avatar
      Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function · ec1e8f1f
      Tor Lillqvist authored
      2000-03-07  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes:
      (gdk_win32_gdi_failed) New function for reporting errors from GDI,
      for which it is no use to call GetLastError on Win9x.
      (gdk_other_api_failed) New function, for
      general error reporting without calling GetLastError.
      (gdk_win32_api_failed) OTOH, this function always calls
      GetLastError. (gdk_win32_last_error_string) Remove this function,
      GLib has the equivalent now.
      
      * gdk/win32/gdkprivate-win32.h: Declare the above, and macros to
      call them with function name, file name and line number in the
      arguments.
      
      * gdk/win32/*.c: Use the new macros for reporting errors from GDI
      functions.
      
      * gtk/gtk.def: Add some missing entry points.
      
      * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
      gtk_paned_set_gutter_size, which don't exist any longer, as void.
      
      Fixes by Hans Breuer:
      
      * gdk/makefile.msc: Update for debugging.
      
      * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake
      implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or
      PS_DASHDOTDOT or PS_DASH styles depending on the number of entries
      in the dash_list.
      
      * gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in
      the x11 backend.
      
      * gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro.
      
      * gtk/testgtk.c: Include config.h, guard inclusion of unistd.h.
      ec1e8f1f
  5. 03 Feb, 2000 1 commit
    • Tor Lillqvist's avatar
      Use g_filename_to_utf8 to convert the font names Windows gives us from · e57b1afa
      Tor Lillqvist authored
      2000-02-04  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
      g_filename_to_utf8 to convert the font names Windows gives us from
      whatever is the default codepage to UTF-8.
      (gdk_font_load_internal) Use g_filename_from_utf8 for conversion
      in the other direction.
      
      * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
      error in debugging output.
      
      2000-02-02  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
      and height parameters to gdk_window_clear_area(). Not minus one.
      
      2000-02-01  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
      g_filename_from_utf8 functions (which were added a moment ago to
      GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
      size buffers.
      
      * gtk/gtkfilesel.h: Add comment about
      gtk_file_selection_get_filename returning the filename in the C
      runtime's encoding.
      
      * README.win32
      * gdk/gdk.def
      * gdk/makefile.{cygwin,msc}
      * gtk/gtk.def: Updates.
      
      * gdk/gdkcursor-win32.c: Initialise refcount.
      e57b1afa
  6. 11 Dec, 1999 1 commit
    • Tor Lillqvist's avatar
      gdk/Makefile.am Distribute Win32 files. · 4f5b0142
      Tor Lillqvist authored
      1999-12-11  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/Makefile.am
      * gdk/win32/Makefile.am: Distribute Win32 files.
      
      * gdk/makefile.msc: New file.
      
      * gdk/gdk.c (gdk_arg_context_parse): Fix gccism (no statement
      after label).
      
      * gdk/win32/makefile.msc: Update.
      4f5b0142