gtk2/gdk
Alexander Larsson 1c805555ce Huge GtkFB patch with lots of small bugfixes and initial selections implementation.
2000-11-23  Alexander Larsson  <alexl@redhat.com>

	* gdk/linux-fb/gdkselection-fb.c:
	Initial selection implementation.

	* gtk/gtkselection.c:
	if GDK_WINDOWING_FB defined, include linux-fb/gdkfb.h and look up
	requestor in gtk_selection_request.

	* gdk/linux-fb/gdkfb.h, gdk/linux-fb/gdkglobals-fb.c:
	Added gdk_selection_property atom.

	* gdk/linux-fb/gdkprivate-fb.h:
	Export _gdk_selection_window_destroyed.
	Removed mask_off_x/y from GdkCursorPrivateFB.
	Removed hbearing, added top, left to PangoFBGlyphInfo.

	* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_destroy):
	Call _gdk_selection_window_destroyed
	(_gdk_windowing_window_init): Don't call gdk_cursor_new() before
	the root window has been created.
	(static_dx_hack, static_dy_hack, compare_draw_rects,
	gdk_fb_window_move_resize): Remove unnecessary sort of rectangles
	in region. They are already sorted. Instead just traverse them in
	reverse if draw_direction < 0.

	* gdk/linux-fb/gdkinput-ps2.c (send_button_event):
	Double-clicks must be sent after the normal button_press.
	(gdk_fb_cursor_unhide): Remove usage of mask_off_x/y. Clean up.

	* gdk/linux-fb/gdkgeometry-fb.c (gdk_window_scroll):
	Pass _gdk_fb_screen_gc instead of NULL.

	* gdk/linux-fb/gdkmain-fb.c (_gdk_windowing_init_check):
	Initialize gdk_selection_property.
	(gdk_event_make): Remove unused code.

	* gdk/linux-fb/gdkcursor-fb.c:
	Make the pixmap for the cursor the same size as the mask. Also remove
	the mask_off_x/y fields in GdkCursorPrivateFB and combine
	_gdk_cursor_new_from_pixmap() and gdk_cursor_new_from_pixmap()
	Now the whole cursor is visible.

	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_drawable_3):
	Fix bug where xdest+height instead of ydest+height was used
	to calculate if the source and dest overlapped. This fixes the
	redraw bug when the main window in testgtk was scrolled when
	partially covered by a tall window.
	Copy rectangles in region in order depending on draw_direction.
	Also moved the draw_direction flipping of start_y and end_y into
	the gc functions, as this might not be what all of them want.
	(gdk_fb_draw_lines): Support dashed lines.
	(gdk_fb_draw_glyphs): Clean up glyph placement. Also fix positioning
	so that the text is positioned correctly (was 1 pixel high).

	gdk/linux-fb/gdkgc-fb.c:
	Initialize cap_style to GTK_CAP_BUTT. This fixes a problem where
	all lines were drawn a pixel to short. Also checked the default of
	the rest of the values, and they're the same as X now.

	* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_glyph_info):
	Clean up pixel positioning of the glyphs. Just use bgy->top and
	bgy->left. Also used PANGO_PIXEL where appropriate and added 0.5
	to all divisions to get correct rounding behaviour.

	* gdk/linux-fb/gdkrender-fb.c (gdk_fb_draw_drawable_generic,
	gdk_fb_draw_drawable_memmove, gdk_fb_draw_drawable_aa_24):
	Moved start_y/end_y flip into draw_drawable implementations.
	Flip also x rendering when draw_direction < 0.
	Remove unneccesary multiply with draw_direction.
2000-11-25 15:44:35 +00:00
..
linux-fb Huge GtkFB patch with lots of small bugfixes and initial selections implementation. 2000-11-25 15:44:35 +00:00
nanox Nov 17 20:14:20 2000 Owen Taylor <otaylor@redhat.com> 2000-11-18 01:49:50 +00:00
win32 Nov 17 20:14:20 2000 Owen Taylor <otaylor@redhat.com> 2000-11-18 01:49:50 +00:00
x11 GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and gdk_arg_no_debug_cb to 2000-07-31 10:16:45 +00:00
gdk.def gdk/gdk.def Update. 2000-11-11 18:39:57 +00:00
gdk.h Add a couple of missing G_GNUC_CONST's. 2000-11-13 19:47:31 +00:00
gdkcc.h Started 1999-10-01 23:18:30 +00:00
gdkcolor.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkcolor.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkcompat.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkcursor.h s/refcount/ref_count/. 2000-02-13 08:16:48 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkdraw.c urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if 2000-10-25 22:34:14 +00:00
gdkdrawable.h Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkevents.c Only ref the window if it isn't NULL. 2000-11-01 15:55:48 +00:00
gdkevents.h Add comment that GdkXEvent isn't only for XEvent, but in general for 2000-11-17 21:59:04 +00:00
gdkfont.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkfont.h Generate gtk/makefile.mingw. 2000-07-25 20:38:35 +00:00
gdkgc.c urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if 2000-10-25 22:34:14 +00:00
gdkgc.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkglobals.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdki18n.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkim.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkimage.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkimage.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkinput.h Generate gtk/makefile.mingw. 2000-07-25 20:38:35 +00:00
gdkinternals.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkkeysyms.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkkeyuni.c Doc comment fixing. (Mostly non-matching parameter names.) 2000-09-07 18:07:59 +00:00
gdkpango.c Draw underlines one pixel higher. 2000-11-15 00:23:37 +00:00
gdkpango.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkpixbuf-drawable.c New function to create a pixbuf pointing to a subregion of another pixbuf. 2000-11-01 07:07:46 +00:00
gdkpixbuf-render.c Clip the rectangle to be rendered to the drawable, since 2000-11-01 16:34:23 +00:00
gdkpixbuf.h contrib subdir 2000-10-09 17:22:20 +00:00
gdkpixmap.c urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if 2000-10-25 22:34:14 +00:00
gdkpixmap.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkproperty.h Remove g_convert (moved to glib) and now useless utf_to_latin1() 2000-09-14 16:41:20 +00:00
gdkrectangle.c Applied patch from Peter Osterlund to simplify the code while keeping the 2000-08-03 13:18:01 +00:00
gdkregion-generic.c i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
gdkrgb.c Fix off-by-one error when destroying allocated segments on failure. 2000-11-18 17:01:01 +00:00
gdkrgb.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkselection.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdktypes.h i2000-11-22 Alexander Larsson <alexl@redhat.com> 2000-11-22 10:07:34 +00:00
gdkvisual.h Started 1999-10-01 23:18:30 +00:00
gdkwindow.c urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if 2000-10-25 22:34:14 +00:00
gdkwindow.h Move list pointer forwards before removing item from list. (Crash reported 2000-10-04 19:53:53 +00:00
Makefile.am Nov 17 20:14:20 2000 Owen Taylor <otaylor@redhat.com> 2000-11-18 01:49:50 +00:00
makefile.mingw.in Guard definition of alloca(). glib.h now handles that. 2000-10-03 21:00:49 +00:00
makefile.msc Update. 2000-10-09 19:49:42 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00