1. 23 Sep, 2002 5 commits
  2. 22 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Eric Warmenhoven to with miscellaneous linux-fb fixes, · 5102e76f
      Owen Taylor authored
      Sun Sep 22 18:22:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/linux-fb/{gdkinput.c,gdkkeyboard-fb.c,gdk/linux-fb/gdkmain-fb.c,
              gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c}:
              Patch from Eric Warmenhoven to with miscellaneous linux-fb
              fixes, including a fix for a crash in
              gdk_keymap_get_entries_for_keycode (#87420)
      5102e76f
  3. 21 Sep, 2002 2 commits
    • Matthias Clasen's avatar
      Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383) · 083c3aef
      Matthias Clasen authored
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkgc.c (gdk_gc_get_type):
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_type):
      	* gtk/gtkimcontext.c (gtk_im_context_get_type):
      	* gtk/gtkprogress.c (gtk_progress_get_type):
      	* gtk/gtkoldeditable.c (gtk_old_editable_get_type):
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type):
      	* gtk/gtkwidget.c (gtk_widget_get_type):
      	* gtk/gtkseparator.c (gtk_separator_get_type):
      	* gtk/gtkscrollbar.c (gtk_scrollbar_get_type):
      	* gtk/gtkscale.c (gtk_scale_get_type):
      	* gtk/gtkrange.c (gtk_range_get_type):
      	* gtk/gtkpaned.c (gtk_paned_get_type):
      	* gtk/gtkmisc.c (gtk_misc_get_type):
      	* gtk/gtkitem.c (gtk_item_get_type):
      	* gtk/gtkcontainer.c (gtk_container_get_type):
      	* gtk/gtkbbox.c (gtk_button_box_get_type):
      	* gtk/gtkbox.c (gtk_box_get_type):
      	* gtk/gtkbin.c (gtk_bin_get_type):
      	* gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
      	G_TYPE_FLAG_ABSTRACT.  (#72383)
      083c3aef
    • Tor Lillqvist's avatar
      Copy from X11 backend. The old version mishandled consecutive newlines. · d0cac482
      Tor Lillqvist authored
      2002-09-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11
      	backend. The old version mishandled consecutive newlines.
      
      	* tests/testgtkrc: Remove obsolete mention of gtk-engines and
      	Pixmap theme engine on Win32.
      d0cac482
  4. 20 Sep, 2002 2 commits
  5. 19 Sep, 2002 3 commits
    • Tor Lillqvist's avatar
      On Win32, look explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, · 8a4c5247
      Tor Lillqvist authored
      2002-09-20  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkmain.c (gtk_get_default_language): On Win32, look
      	explicitly for LANG, LC_ALL and LC_CTYPE, and if not found, use
      	g_win32_getlocale(). The setlocale() in msvcrt.dll would return a
      	locale name in the form Swedish_Finland for sv_FI.
      8a4c5247
    • Tor Lillqvist's avatar
      Delete leftover declarations of the obsolete Win32-only functions · d8a49627
      Tor Lillqvist authored
      2002-09-20  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkfont.h: Delete leftover declarations of the obsolete
      	Win32-only functions gdk_font_full_name_get() and
      	gdk_font_full_name_free().
      
      	* gdk/gdk.def: Delete from here, too.
      
      	* gdk/win32/gdkfont-win32.c (logfont_to_xlfd,
      	gdk_font_full_name_get, gdk_font_full_name_free): Delete
      	implementation, and helper functions.
      
      	(pattern_match, InnerEnumFontFamExProc, EnumFontFamExProc,
      	gdk_font_list_new, gdk_font_list_free): Delete unused functions.
      
      	(gdk_text_width, gdk_text_width_wc) Instead of code duplication,
      	let gdk_text_extents() and gdk_text_extents_wc() do the job.
      
      	* gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
      	Don't use the above removed functions in debugging output.
      
      	* gdk/win32/gdkdisplay-win32.c
      	* gdk/win32/gdkmain-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkselection-win32.c
      	* gdk/win32/gdkinput-win32.h
      	* gdk/win32/gdkinput.c: Make it compile again, pass a GdkDisplay in
      	a couple of places.
      d8a49627
    • Owen Taylor's avatar
      Fix usage of compat GTK_TYPE_ macros without including gtkobject.h. · 3f5ad789
      Owen Taylor authored
      Thu Sep 19 16:39:29 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtksettings.h (GTK_SETTINGS_GET_CLASS): Fix
              usage of compat GTK_TYPE_ macros without including
              gtkobject.h.
      
              * gdk/x11/gdkevents-x11.[ch]: Set a flag when initializing
              to avoid having extra settings-notify events sent
              when not needed.
      3f5ad789
  6. 16 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Stockify color picker icon. (#89880) · 703b02db
      Matthias Clasen authored
      	* gtk/stock-icons/stock_color_picker_25.png:
      	* gtk/stock-icons/Makefile.am (VARIABLES1):
      	* gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER):
      	* gtk/gtkiconfactory.c (get_default_icons):
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
      	picker icon.   (#89880)
      703b02db
  7. 14 Sep, 2002 1 commit
  8. 13 Sep, 2002 1 commit
  9. 11 Sep, 2002 8 commits
    • Tor Lillqvist's avatar
      Merge from gtk-2-0: · 3e58667f
      Tor Lillqvist authored
      2002-09-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from gtk-2-0:
      
      	* gdk/win32/gdkkeys-win32.c (print_keysym_tab): Factor out
      	debugging output to new function.
      3e58667f
    • Tor Lillqvist's avatar
      Merge from gtk-1-3-win32-production and gtk-2-0: · 0db40009
      Tor Lillqvist authored
      2002-09-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from gtk-1-3-win32-production and gtk-2-0:
      
      	* gdk/win32/gdkinput-win32.c (gdk_input_init): Use
      	GetSystemMetrics (SM_C[XY]SCREEN) instead of
      	gdk_screen_{width,height}().
      
      	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Don't
      	use return value from GlobalSize() as length of string when
      	calling MultiByteToWideChar(). Pass -1 instead (zero-terminated
      	string). Thanks to Iwasa Kazmi.
      0db40009
    • Tor Lillqvist's avatar
      Use correct function name in warning messages. · f713eb82
      Tor Lillqvist authored
      2002-09-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Use correct
      	function name in warning messages.
      f713eb82
    • Tor Lillqvist's avatar
      Merge from gtk-2-0: · c06ae8c2
      Tor Lillqvist authored
      2002-09-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from gtk-2-0:
      
      	* gdk/win32/gdkgeometry-win32.c: Add GDK_NOTE debugging output
      	to some functions, related to moving and resizing and expose
      	and antiexpose queue processing. Use %p to output HWNDs.
      
      	Tentative fix for #79720 based on code by Florent Duguet:
      
      	* gdk/win32/gdkgeometry-win32 (gdk_window_queue_append): New
      	static function. Checks length of translate_queue, calls
      	_gdk_window_process_expose() if length is >= 128. Then appends
      	to translate_queue.
      	(gdk_window_queue_translation,_gdk_windowing_window_queue_antiexpose):
      	Call gdk_window_queue_append().
      c06ae8c2
    • Tor Lillqvist's avatar
      Merge from gtk-2-0: · 1acfb9ae
      Tor Lillqvist authored
      2002-09-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from gtk-2-0:
      
      	* gdk/win32/gdkevents-win32.c: Some spacing and indentation cleanup.
      
      	* gdk/win32/gdkevents-win32.c (_gdk_events_init): Search if the
      	system has some input locale identifier that uses a Latin
      	keyboard. This is needed to be able to get the virtual-key code
      	for the latin characters corresponding to ASCII control
      	characters. If no such keyboard is present, try to load one
      	then. Will this upset users with no wish to ever use a Latin-based
      	keyboard layout?
      
      	(vk_from_char): Convert all ASCII control chars to the
      	corresponding uppercase char before calling VkKeyScanEx(). Idea by
      	Florent Duguet. Makes Control-C work again. To make it hopefully
      	work like I think it should on non-Latin keyboards, too, use
      	latin_locale when looking for the corresponding keycode.
      
      	Fix for #81831 by Tim Evans:
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't call
      	_gdk_event_button_generate() here, it would append the double- or
      	triple-click events too early, before the single-click event.
      
      	(real_window_procedure): If we got a single-click event, call
      	_gdk_event_button_generate() to perhaps append the double- or
      	triple-click event after that.
      
      	Merge from gtk-1-3-win32-production branch:
      
      	* gdk/win32/gdkevents-win32.c (propagate): Check for parent being
      	NULL before trying to propagate to it, and return FALSE in that
      	case. (If parent is NULL, we are handling gdk_parent_root, and
      	probably should have noticed that and bailed out earlier. But
      	better late than never.)
      1acfb9ae
    • Tor Lillqvist's avatar
      Merge from gtk-2-0: · 86a90abf
      Tor Lillqvist authored
      2002-09-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from gtk-2-0:
      
      	* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
      	render_line_vertical): Some spacing cleanup. Return TRUE.
      86a90abf
    • Jonathan Blandford's avatar
      Make GtkTreeRowReference a boxed type. · e8215b33
      Jonathan Blandford authored
      Wed Sep 11 15:48:38 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make
      	GtkTreeRowReference a boxed type.
      
      	* gtk/gtkliststore.c (gtk_list_store_finalize): free the root
      	list.
      
      	* gtk/gtktreestore.c (gtk_tree_store_finalize): free the root
      	nodes.
      e8215b33
    • Soeren Sandmann's avatar
      Draw radio buttons more symmetric. Draw shadow out bevels slightly · 429409d4
      Soeren Sandmann authored
      Wed Sep 11 12:33:34 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkstyle.c: Draw radio buttons more symmetric. Draw shadow
      	out bevels slightly different. Fix drawing of top right corner of
      	etched in shadows.
      429409d4
  10. 10 Sep, 2002 3 commits
  11. 09 Sep, 2002 1 commit
  12. 08 Sep, 2002 1 commit
    • Tor Lillqvist's avatar
      Add AM_CONDITIONAL calls also in the non-x11 branch. Otherwise we get · 762c7d55
      Tor Lillqvist authored
      2002-09-08  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Add AM_CONDITIONAL calls also in the non-x11
      	branch. Otherwise we get "conditional \"$1\" was never defined.
      	Usually this means the macro was only invoked conditionally."
      	errors when running configure if using automake 1.6a. Yeah, I know
      	that autogen.sh says to use automake 1.4, but on Win32 I more or
      	less have to use the bleeding edge. I think.
      
      Fix an earlier ChangeLog entry to include the file name:
      
      2002-08-31  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkfilesel.c: Include <sys/cygwin.h on Cygwin, for
      762c7d55
  13. 07 Sep, 2002 1 commit
  14. 06 Sep, 2002 4 commits
  15. 05 Sep, 2002 2 commits
  16. 04 Sep, 2002 2 commits
  17. 03 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Quit on destroy. · 752cd443
      Matthias Clasen authored
      	* demos/testanimation.c (do_image):
      	(do_nonprogressive): Quit on destroy.
      
      	* demos/testpixbuf.c (main): test load-at-size.
      	(expose_func): draw transparent pixbufs against a checkerboard
      	pattern. (#91829)
      752cd443
  18. 01 Sep, 2002 1 commit