1. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  2. 28 Jun, 2001 3 commits
    • Tim Janik's avatar
      !GTK_OBJECT_DESTROYED() -> GTK_WIDGET_REALIZE() for resize queueing. · 00f85bf8
      Tim Janik authored
      Thu Jun 28 23:53:31 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_hide): !GTK_OBJECT_DESTROYED() ->
              GTK_WIDGET_REALIZE() for resize queueing.
      
              * gtk/gtkmain.c (gtk_main_do_event): !GTK_OBJECT_DESTROYED() ->
              GTK_WIDGET_REALIZE() for post event delivery destruction upon
              GDK_DESTROY.
      
              * gtk/gtkwidget.c: added GtkWidget::event-after notification signal, to
              sompensate for former (pre-2.0) connect_after() facility.
              (gtk_widget_send_expose):
              (gtk_widget_event): assert the widget is realized, since event delivery
              to non-realized widgets is essentially a bug. event handlers should
              be able to unconditionally rely on widget->window (unless they
              emit events on their own which can trigger widget destruction).
              (gtk_widget_event_internal): removed old outdated GTK_OBJECT_DESTROYED()
              logic. event delivery happens as follows:
              a) emission of GtkWidget::event (RUN_LAST handler). returns was_handled.
              b) if !was_handled in (a) and the widget is still realized, emit event-
                 specific signal (RUN_LAST handler). returns was_handled.
              c) emission of GtkWidget::event-after for notification if the widget is
                 still realized (regardless of was_handled from previous stages, no
                 class handler). no return value.
              d) was_handled gets passed on to caller, to determine further
                 propagation. if the widget got unrealized meanwhile, was_handled
                 is returned as TRUE.
      
              * gdk/gdkevents.[hc]: added gdk_event_get_root_coords() and
              gdk_event_get_coords().
      00f85bf8
    • James Henstridge's avatar
      The following changes correspond to bug #56812 · cd3ddf90
      James Henstridge authored
      2001-06-29  James Henstridge  <james@daa.com.au>
      
      	The following changes correspond to bug #56812
      
      	* gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type
      	code for GdkDevice.
      
      	* gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for
      	GdkCursor.
      cd3ddf90
    • Havoc Pennington's avatar
      new function for mapping a window without fooling with stacking order, but · 796dc4b1
      Havoc Pennington authored
      2001-06-19  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_show_unraised): new function
      	for mapping a window without fooling with stacking order, but
      	updating the "withdrawn" flag
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Do event
      	filtering as soon as possible, moving move resize and wmspec_check
      	handling after the event filter.  Make default filter apply to all
      	events, not just those with no GdkWindow wrapped around the X
      	window. Fix a FIXME about how the window could be a pixmap using
      	RTTI; this of course assumes GDK_IS_WINDOW() is optimized.
      
      	Also, be robust against events not on a known GdkWindow.
      
      	* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server,
      	gdk_x11_ungrab_server): export reference-counted server grabs, so
      	other people can grab server over a GDK function that also does
      	so.
      796dc4b1
  3. 25 Jun, 2001 1 commit
    • Alexander Larsson's avatar
      Added --enable-fbmanager. This is some experimental code that lets several · 75fd7f09
      Alexander Larsson authored
      2001-06-25  Alexander Larsson  <alexl@redhat.com>
      
      	* configure.in:
      	Added --enable-fbmanager. This is some experimental code
      	that lets several GtkFB apps coordinate their access to the
      	framebuffer.
      
      	* acconfig.h:
      	Added ENABLE_FB_MANAGER.
      
      	* gdk/linux-fb/Makefile.am:
      	Added gdkfbmanager and gdkfbswitch.
      
      	* gdk/linux-fb/gdkkeyboard-fb.c:
      	* gdk/linux-fb/gdkmouse-fb.c:
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Split device init and open so that
      	they can be opened and closed while switched
      	away.
      
      	* gdk/linux-fb/gdkmain-fb.c:
      	Add the basic manager communication.
      
      	* gdk/linux-fb/gdkrender-fb.c:
      	Don't update to the shadow fb if we're
      	blocked by the fb manager.
      75fd7f09
  4. 24 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fix stupid error introduced last night that was making things decidedly · cc223eef
      Owen Taylor authored
      Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
      	introduced last night that was making things decidedly not work.
      
      	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
      	so that we have getter/setter pairing everywhere it makes
      	sense. (#55767)
      
      	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
      	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
      	deprecated compat macro. (#55516)
      
      	* gtk/gtklabel.[ch]: Add functions
      	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
      	gtk_label_set_label(), which mirror the property API for GtkLabel.
      	Make gtk_label_get_attributes() only reflect the attributes
      	set by gtk_label_set_attributes.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
      	from gtk_notebook_set_page().
      cc223eef
  5. 23 Jun, 2001 2 commits
    • Owen Taylor's avatar
      Fix tests for XShm.h. · 5a5580a8
      Owen Taylor authored
      Sat Jun 23 18:02:46 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Fix tests for XShm.h.
      
              * gdk/x11/gdkimage-x11.c: Cleanup error handling in
              gdk_image_new() by use of goto, properly use g_object_unref().
      5a5580a8
    • Tim Janik's avatar
      disabled g_free (image) calls, as GdkImage is an object. these should be · 92e87e40
      Tim Janik authored
      Sat Jun 23 22:03:20 2001  Tim Janik  <timj@gtk.org>
      
              * gdk/x11/gdkimage-x11.c (gdk_image_init): disabled g_free (image)
              calls, as GdkImage is an object. these should be g_obejct_unref()
              instead but that won't work because of the g_error() statement
              in gdk_x11_image_destroy(). so for now, i did s/g_free/LEAK_IMAGE/
              to spot these places.
      92e87e40
  6. 22 Jun, 2001 1 commit
    • Hans Breuer's avatar
      updated externals · f0ee2996
      Hans Breuer authored
      2001-06-22  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.def : updated externals
      
      	* gdk/win32/gdkdrawable-win32.c : corrected some casts
      	in GDK_NOTEs
      
      	* gdk/win32/gdkevents-win32.c : use _gdk_windowing_window_get_offsets
      	to translate coordinates to the internal > 16 bit system
      	Try to handle WM_WINDOWPOSCHANGED to get better performance for
      	when moving/resizing
      
      	* gdk/win32/gdkkeys-win32.c : implement gdk_keymap_get_default ()
      	and gdk_keymap_get_direction (). The latter is untested for
      	the RTL case
      
      	* gtk/gtk.def : updated externals
      
      	* gtk/gtkmain.c : gtk_get_default_language () should reurn the result
      	from pango_language_from_string (), not an already freed pointer
      
      	* gtk/stock-icons/stock_menu_sort_ascending.png : PNGs need to be
      	binary (-kb) to be useable on windoze
      f0ee2996
  7. 21 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Handle the case without XKB properly. · d809ceee
      Owen Taylor authored
      Thu Jun 21 13:42:01 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_direction): Handle
      	the case without XKB properly.
      
      	* gtk/gtkrc.c (gtk_rc_set_default_files): Remove
      	unused gtk_rc_auto_parse variable.
      
      	* gtk/gtkrc.[ch] gtk/gtkstyle.c docs/Changes-2.0.txt:
      	Remove gtk_rc_set_image_loader(), gtk_rc_load_image(), no
      	longer needed with GdkPixbuf.
      
      	* gtk/gtkrc.c (_gtk_rc_init): Make private.
      d809ceee
  8. 15 Jun, 2001 1 commit
    • Alexander Larsson's avatar
      Update to new PangoLanguage changes. · 46880b96
      Alexander Larsson authored
      2001-06-15  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkfont-fb.c (gdk_font_from_description):
      	Update to new PangoLanguage changes.
      
      	* gtk/gtkwindow-decorate.c:
      	* gtk/gtkwindow.[ch]:
      	Added setting argument to gtk_window_set_has_frame ()
      46880b96
  9. 14 Jun, 2001 3 commits
    • Owen Taylor's avatar
      Add a GtkWindowGroup struct that allows grouping together multiple windows · cf2fab90
      Owen Taylor authored
      Fri Jun  8 17:56:52 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.[ch] gtk/gtkmain.c: Add a GtkWindowGroup struct
      	that allows grouping together multiple windows so that grabs
      	within that set of windows only affect those windows.
      
      	* gtk/gtkmain.c gtk/gtkwidget.[ch]: Add a "grab_notify"
      	signal for notification when a widget becomes shadowed
      	by a grab or is no longer shadowed by a grab.
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state)
      	  gtk/gtkmain.c: (gtk_widget_grab_add): Don't allow
      	insenstive widgets to maintain a grab.
      cf2fab90
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
    • Alexander Larsson's avatar
      Add some example config files that can be used with the URW fonts. · 7d1a049b
      Alexander Larsson authored
      2001-06-14  Alexander Larsson  <alexl@redhat.com>
      
              * docs/README.linux-fb:
      	Add some example config files that can be used with the URW fonts.
      
      	* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
      	Set up the color ramps for DirectColor mode.
      7d1a049b
  10. 13 Jun, 2001 3 commits
  11. 12 Jun, 2001 1 commit
    • Alexander Larsson's avatar
      New functions. · a20b4599
      Alexander Larsson authored
      2001-06-12  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
      	gdk_keymap_get_direction): New functions.
      a20b4599
  12. 08 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add a direction-changed signal, and gdk_keymap_get_current_direction(). · da562f4d
      Owen Taylor authored
      Fri Jun  8 12:03:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkkeys.[ch]: Add a direction-changed signal,
      	and gdk_keymap_get_current_direction().
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkkeys-x11.c
      	  gdk/x11/gdkmain-x11.c gdk/x11/gdkprivate-x11.h: Track
      	the current locked group, use it to set the keymap
      	direction.
      
      	* gtk/gtksettings.c: Add a new gtk-split-cursor setting
      	to determine whether we draw a split cursor or use
      	a jumping cursor based on the current direction.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtktextlayout.[ch]:
      	Obey the split cursor setting.
      
      Fri Jun  8 11:57:50 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimmulticontext.c (activate_cb): Only activate
      	when toggling on, not when toggling off... (#55906)
      
      Wed Jun  6 10:37:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_double_buffered):
      	s/gdk_window_begin_paint/gdk_window_begin_paint_region/
      	in docs. (#55812, Vitaly Tishkov)
      da562f4d
  13. 06 Jun, 2001 2 commits
    • Alex Larsson's avatar
      Fix up error messages. · 2122f8d4
      Alex Larsson authored
      2001-06-06  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkmain-fb.c (_gdk_windowing_init_check):
      	Fix up error messages.
      2122f8d4
    • Owen Taylor's avatar
      Include gtkwidget.h (#55798, Karl Nelson) · 2304a86e
      Owen Taylor authored
      Wed Jun  6 10:34:42 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktooltips.h: Include gtkwidget.h
      	(#55798, Karl Nelson)
      
      	* gdk/x11/gdkwindow-x11.c (utf8_is_latin1): 0xff is
      	a valid latin-1 character. (Marc Lehmann, #35467)
      
      	* gdk/x11/gdkwindow-x11.c: Fix minor typo in comment.
      	(Marc Lehmann, #35467)
      2304a86e
  14. 05 Jun, 2001 2 commits
    • Owen Taylor's avatar
      s/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks) · 04de6401
      Owen Taylor authored
      Tue Jun  5 11:04:06 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpixmap.h (GDK_PIXMAP_GET_CLASS):
      	s/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks)
      
      Mon Jun  4 12:50:11 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkctree.c (gtk_ctree_insert_gnode): Add a missing
      	gtk_clist_thaw().
      04de6401
    • Havoc Pennington's avatar
      Ignore releases for buttons 6, 7 · 5b2f2133
      Havoc Pennington authored
      2001-06-04  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
      	releases for buttons 6, 7
      5b2f2133
  15. 04 Jun, 2001 2 commits
    • Havoc Pennington's avatar
      support button 6 and 7 for scroll left/right, from Thomas Broyer · 5d1c5446
      Havoc Pennington authored
      2001-06-04  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): support button 6
      	and 7 for scroll left/right, from Thomas Broyer
      5d1c5446
    • Havoc Pennington's avatar
      Handle case where we need to parse the xsetting as if it were an RC file · 1b3c9214
      Havoc Pennington authored
      2001-05-10  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtksettings.c (gtk_settings_get_property): Handle case where
      	we need to parse the xsetting as if it were an RC file string.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial
      	value of palette from settings, not from static variable
      
      	* gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to
      	xsettings translation table
      
      	* gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because
      	hardcoding the toolbar style conflicts with new customizable
      	toolbar style philosophy
      	(gtk_toolbar_class_init): add settings for default toolbar style;
      	these are used unless the app specifically forces a toolbar style
      
      	* gtk/gtksettings.c (settings_install_property_parser): only
      	return at the start if we warn and parser == NULL
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the
      	palette changed handler so we don't notify dead color selections
      
      	* gtk/gtkstyle.c (gtk_default_draw_shadow): handle
      	xthickness/ythickness of 0 or 1 properly
      	(gtk_default_draw_resize_grip): clear the background behind the
      	resize grips, and align to bottom right if we square the
      	area to be drawn.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on
      	statusbar label to 1, so it doesn't make toplevels resize oddly
      	(gtk_statusbar_size_request): add grip size to request
      	(gtk_statusbar_size_allocate): hack so the hbox still works with
      	the grip size in the request
      
      	* gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix
      	bug where showing all on a toplevel makes the toolbar
      	button text appear despite the toolbar mode
      
      	* gtk/gtkmenubar.c: add internal padding style property
      
      	* gtk/gtktoolbar.c: Add internal padding style property; add
      	shadow type style property
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget
      	state; and put Container::border_width outside the frame
      
      	* gtk/gtktextview.c: don't draw focus rectangle if we're in
      	interior focus mode, we just use blinking cursor
      1b3c9214
  16. 01 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add GDK_TYPE_RECTANGLE. · 1a6efe96
      Owen Taylor authored
      Fri Jun  1 11:31:55 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type): Add
      	GDK_TYPE_RECTANGLE.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Fix type
      	of allocation argument be GDK_TYPE_RECTANGLE.
      1a6efe96
  17. 30 May, 2001 1 commit
    • Owen Taylor's avatar
      Validate value from GDK settings against parameter spec. · 27bf39f9
      Owen Taylor authored
      Wed May 30 15:56:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtksettings.c (gtk_settings_get_property): Validate
      	value from GDK settings against parameter spec.
      
      	* gdk/x11/gdkevents-x11.c (gdk_setting_get): Add assignments
      	to temporary values and use g_value_transform(), since
      	thinking that GValue was going to be easy or efficient
      	to use was, of course, a mistake.
      
              * gtk/gtksettings.c: Add cursor blink setting.
      
      	* gdk/x11/gdkevents-x11.c: Add cursor blink X settings.
      
      	* gtk/gtkentry.c: Add cursor blinking.
      
      	* gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Use
      	cursor blink global settings.
      
      	* gtk/gtkentry.c (gtk_entry_button_press): Add notification
      	for :text_position in places where it is missing.
      27bf39f9
  18. 29 May, 2001 1 commit
    • Owen Taylor's avatar
      Use $PKG_CONFIG, not pkg-config. (#51032) · b6dde326
      Owen Taylor authored
      Tue May 29 17:40:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (GTK_DEP_CFLAGS): Use $PKG_CONFIG,
      	not pkg-config. (#51032)
      
      	* gdk/gdkproperty.h: Remove inappropriate G_GNUC_CONST
      	(fixes #51952, James Henstridge)
      b6dde326
  19. 25 May, 2001 1 commit
    • Hans Breuer's avatar
      made fil mode GDK_STIPPLED actually work -> check boxes and radio buttons · b5db5d51
      Hans Breuer authored
      2001-05-25  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkgc-win32.c : made fil mode GDK_STIPPLED actually
      	work -> check boxes and radio buttons are drawn now, even on win9x.
      	Improved line settings a bit, still no clue how to get really dotted
      	lines on win9x, on NT it's PS_ALTERNATE.
      
      	* gdk/win32/gdkwindow-win32.c : use SafeAdjustWindowRect for
      	GDK_HINT_MIN_SIZE as well
      
      	* gdk/win32/makefile.am : added gdkkeys-win32.c to EXTRA_DIST
      
      	* gtk/gtk.def : updated
      
      	* gtk/gtktreeprivate.h : change column_drop_func to be a function
      	pointer not a function pointer pointer
      
      	* tests/testdnd.c : include <stdlib.h> for putenv prototype
      
      	* tests/testsocket.c : made it compile on win32 again
      
      	* tests/makefile.msc : one more test-app uses prop-editor.obj
      b5db5d51
  20. 20 May, 2001 2 commits
  21. 16 May, 2001 1 commit
    • Owen Taylor's avatar
      Require libtool-1.4, automake-1.4p1. · 55b115ac
      Owen Taylor authored
      Sun May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>
      
              * autogen.sh (have_automake): Require libtool-1.4,
              automake-1.4p1.
      
              * acinclude.m4: Remove libtool macros.
      
              * gdk-pixbuf/Makefile.am: Add dependencies to loade
              modules.
      
              * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
              for libgdk.
      
              * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
              libgdk.la for libgtk.
      
              * modules/input/Makefile.am: Make modules have full
              dependencies.
      55b115ac
  22. 13 May, 2001 1 commit
    • Owen Taylor's avatar
      Remove creative formatting. · 868b0063
      Owen Taylor authored
      Sun May 13 18:40:04 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpixmap.h: Remove creative formatting.
      
      Thu May 10 19:22:28 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktogglebutton.c:  Patch from John Margaglione converting to
      	property API. (#51669)
      
      	* gtk/gtkscale.c: Patch from John Margaglione converting to
      	property API. (#51891)
      
      	* gtk/gtkaccellabel.c: Applied patch from Lee Mallabone, converting
      	to property API. (#50985)
      868b0063
  23. 11 May, 2001 1 commit
  24. 10 May, 2001 1 commit
    • Alexander Larsson's avatar
      Make sure you can compile out the implementation/wrapper assert macros. · 2c396fea
      Alexander Larsson authored
      2001-05-10  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Make sure you can compile out the implementation/wrapper assert
      	macros.
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Check implementation/wrappers, initialize type for pixmap dummys.
      
      	* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image):
      	Hide the cursor if reading from the screen.
      
      	* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
      	Fix sign bug in tiling code.
      
      	* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
      	Handle background pixmaps.
      2c396fea
  25. 07 May, 2001 1 commit
    • Alexander Larsson's avatar
      New function for getting toplevel window at position. · 404d1a2d
      Alexander Larsson authored
      2001-05-07  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkdnd-fb.c (get_toplevel_window_at):
      	New function for getting toplevel window at position.
      	(gdk_drag_find_window): Use get_toplevel_window () instead
      	of gdk_window_get_pointer(). (gdk_drag_status): Use
      	correct context for getting window.
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
      	g_strdup the atom name.
      
      	* gdk/linux-fb/gdkwindow-fb.c:
      	Costmetic fix.
      
      	* gtk/gtkdnd.c (gtk_drag_source_handle_event):
      	Add code for changing cursor on linux-fb backend (same as
      	win32).
      404d1a2d
  26. 06 May, 2001 1 commit
    • Hans Breuer's avatar
      updated exports · 1fa43ed5
      Hans Breuer authored
      2001-01-06  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.def : updated exports
      
      	* gdk/win32/makefile.msc : -DGDK_ENABLE_BROKEN otherwise
      	gdk won't compile anymore
      
      	* gdk/win32/gdkevents-win32.c : initialize ret_val when
      	processing GDK_FILTER functions, initialize event.key->hardware_keycode.
      	Improved gdk_flush () to not only do pending drawing operations
      	but also process all currently pending events. This should make
      	the behaviour more similar to the X11 version.
      
      	* gdk/win32/gdkgc-win32.c (predraw_set_background) : a background
      	option needs to be set even if there is no GDK_GC_BACKGROUND.
      	(gdk_win32_hdc_get) : use predraw_set_background () independent
      	of value_mask. This allows to draw dashed lines leaving the original
      	background intact.
      
      	* gdk/win32/gdkimage-win32.c (gdk_image_new_bitamp) : free data
      	after processing, because we can't reuse it as the X11 version does.
      
      	* gtk/gtk.def : updated exports
      
      	* gtk/makefile.msc.in : added ATK, removed all test apps. (I
      	would like to get rid of this file again, and use straight
      	makefile.msc again, as the other Gtk+ subdirs do)
      
      	* test/makefile.msc (new file) : build the test apps here
      1fa43ed5
  27. 04 May, 2001 1 commit
    • Alex Larsson's avatar
      Better error messages. · 3b782bdb
      Alex Larsson authored
      2001-05-04  Alex Larsson  <alla@lysator.liu.se>
      
      	* gdk/linux-fb/gdkcolor-fb.c:
      	Better error messages.
      
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_new):
      	Initialize abs_x and abs_y.
      
      	* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic):
      	Correct handling of stipple offset.
      
      	* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
      	Treat directcolor framebuffers as truecolor.
      3b782bdb
  28. 03 May, 2001 1 commit
    • Owen Taylor's avatar
      Add dependency on Atk for accessibility support. · 42cc312d
      Owen Taylor authored
      Thu May  3 14:13:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add
      	dependency on Atk for accessibility support.
      
      	* configure.in **/Makefile.am: Major reworking of substituted
      	variables for CFLAGS/LIBS to make a lot more sane and
      	keep the the compile/link lines a bit shorter.
      
      	* gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.
      42cc312d
  29. 02 May, 2001 1 commit