1. 15 Oct, 2010 1 commit
  2. 27 Feb, 2006 2 commits
    • Michael Natterer's avatar
      map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings · 7324be3c
      Michael Natterer authored
      2006-02-27  Michael Natterer  <mitch@imendio.com>
      	* gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the
      	"Gtk/TouchscreenMode" XSettings property, remove trailing
      	* gdk/x11/checksettings.c: #include <string.h> and sprinkled some
    • Tim Janik's avatar
      moved and renamed the gdk_settings_names and gdk_settings_map. · e33012b8
      Tim Janik authored
      Mon Feb 27 14:52:50 2006  Tim Janik  <timj@imendio.com>
              * gdkevents-x11.c:
              * gdksettings.c: moved and renamed the gdk_settings_names and
              * gdk/x11/checksettings.c: test program for the gdk_settings_map array.
              * gdk/x11/Makefile.am: run checksettings as part of make check.
  3. 12 Jul, 2005 1 commit
  4. 06 Mar, 2004 1 commit
  5. 10 Sep, 2002 1 commit
  6. 24 Nov, 2001 1 commit
    • Manish Singh's avatar
      gdk/linux-fb/gdkdrawable-fb2.c update to latest Pango API · dc0b9c80
      Manish Singh authored
      Sat Nov 24 13:39:51 2001  Manish Singh  <yosh@gimp.org>
              * gdk/linux-fb/gdkdrawable-fb2.c
              * gdk/linux-fb/gdkpango-fb.c: update to latest Pango API
              * gdk/linux-fb/gdkwindow-fb.c: implement gdk_window_show_unraised
              * gdk/linux-fb/gdkfont-fb.c (gdk_font_load): plug memleak on
              * gdk/linux-fb/gdkfbswitch.c: minor cleanups
  7. 21 Dec, 2000 1 commit
  8. 08 Dec, 2000 1 commit
    • Alexander Larsson's avatar
      Docs, docs, anyone want docs! · 3e3cc022
      Alexander Larsson authored
      2000-12-06  Alexander Larsson  <alexl@redhat.com>
      	* docs/README.linux-fb:
      	* docs/Makefile.am:
      	Initial GtkFB docs.
      	* gdk/linux-fb/Makefile.am:
      	Define GDK_DATA_PREFIX.
      	* gdk/linux-fb/gdkmain-fb.c:
      	Fix typo.
      	Change default display to /dev/fb0.
      	* gdk/linux-fb/gdkpango-fb.c:
      	Add $(prefix)/share/fonts/ to font path.
  9. 05 Dec, 2000 1 commit
    • Alexander Larsson's avatar
      Use italic instead of oblique in font aliases. · b7118c80
      Alexander Larsson authored
      2000-12-05  Alexander Larsson  <alexl@redhat.com>
      	* gdk/linux-fb/gdkpango-fb.c:
      	Use italic instead of oblique in font aliases.
      	* gdk/linux-fb/gdkrender-fb.c (gdk_fb_fill_span_generic,
      	_gdk_fb_gc_calc_state): Support GDK_XOR, add g_warning for
      	other unsupported functions.
  10. 04 Dec, 2000 2 commits
    • Alexander Larsson's avatar
      Divide size by 2, not multiply. · d7714461
      Alexander Larsson authored
      2000-12-04  Alexander Larsson  <alexl@redhat.com>
      	* gdk/linux-fb/gdkfont-fb.c (gdk_text_width): Divide size by 2, not
      	* gdk/linux-fb/gdkpango-fb.c:
      	Copied some 26.6 scaling macros from pango to clean up the rounding.
      	(pango_fb_font_get_glyph_info): Correct sign on x value.
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Removed unreferenced external functions.
      	* modules/linux-fb/Makefile.am: Use ` instead of '.
      	* modules/linux-fb/basic.c:
      	Remove dead code. In particular the dummy lang engine which broke all
      	pango layouts in GtkFB. Don't include tables-big.i anymore.
      	* modules/linux-fb/tables-big.i:
      	Upgrade to latest version from pango. Left for reference, basic_ranges
      	moved to basic.c.
    • Alexander Larsson's avatar
      Return positive descent. · 15c81f52
      Alexander Larsson authored
      2000-12-04  Alexander Larsson  <alexl@redhat.com>
      	* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
      	Return positive descent.
  11. 01 Dec, 2000 1 commit
    • 1's avatar
      Note: GtkFB now requires Freetype 2 final. · f3e06d23
      1 authored
      2000-12-01    <alexl@redhat.com>
      	* gdk/linux-fb/Makefile.am:
      	* modules/linux-fb/Makefile.am:
      	Freetype 2 final uses freetype-config
      	* gdk/linux-fb/gdkpango-fb.c:
      	Upgrade to use Freetype 2 final.
      	More flexible support for font aliases, this also fixes a bug with
      	GtkFontSelector, as the aliases must be visible in the font/family list,
      	or GtkFontSelector reads uninitialized memory.
  12. 25 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      Huge GtkFB patch with lots of small bugfixes and initial selections implementation. · 1c805555
      Alexander Larsson authored
      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).
      	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.
  13. 22 Nov, 2000 1 commit
  14. 13 Nov, 2000 2 commits
    • Alexander Larsson's avatar
      Cleanup and reindent of GtkFB. · be698675
      Alexander Larsson authored
      Added some serial mouse support.
      Updates to latest Gtk+/pango
    • Sebastian Wilhelmi's avatar
      GCompareFunc -> GEqualFunc where applicable. · b664be5f
      Sebastian Wilhelmi authored
      2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      	* gdk/linux-fb/gdkcolor-fb.c, gdk/nanox/gdkmain-nanox.c,
      	gdk/win32/gdkcolor-win32.c, gdk/win32/gdkwin32id.c,
      	gdk/x11/gdkcolor-x11.c, gdk/x11/gdkvisual-x11.c, gdk/x11/gdkxid.c,
      	gtk/gtkgc.c, gtk/gtkrc.c, gtk/gtktext.c: GCompareFunc ->
      	GEqualFunc where applicable.
      	* gdk/linux-fb/gdkpango-fb.c: pango_font_description_compare ->
      	pango_font_description_equal as changed in pango.
      	* gdk/nanox/gdkmain-nanox.c: gdk_xid_compare -> gdk_xid_equal.
      	* gdk/win32/gdkcolor-win32.c: gdk_colormap_cmp -> gdk_colormap_equal.
      	* gdk/win32/gdkwin32id.c: gdk_handle_compare -> gdk_handle_equal.
      	* gdk/x11/gdkcolor-x11.c: gdk_colormap_cmp -> gdk_colormap_equal.
      	* gdk/x11/gdkvisual-x11.c: gdk_visual_compare -> gdk_visual_equal.
      	* gdk/x11/gdkxid.c: gdk_xid_compare -> gdk_xid_equal.
      	* gtk/gtkgc.c: gtk_gc_key_compare -> gtk_gc_key_equal and
      	gtk_gc_drawable_compare -> gtk_gc_drawable_equal.
      	* gtk/gtkrc.c: gtk_rc_style_compare -> gtk_rc_style_equal and
      	gtk_rc_styles_compare -> gtk_rc_styles_equal.
  15. 07 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      use g_object_new() instead of g_type_create_instance() which is a private · 224f6ec5
      Alexander Larsson authored
      2000-11-07  Alexander Larsson  <alla@lysator.liu.se>
      	* gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
      	gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkimage-fb.c,
      	gdk/linux-fb/gdkpango-fb.c, gdk/linux-fb/gdkpixmap-fb.c,
      	use g_object_new() instead of g_type_create_instance() which
      	is a private function for fundamental type implementations.
      	* gdk/linux-fb/gdkinput-ps2.c:
      	Use MEDIUMRAW instead of RAW keycodes. Remove keyboard state-table
      	instead just store the current modifier state. Add a (somewhat broken)
      	keyboard input parser for XLATE mode too, if we couldn't use MEDIUMRAW.
      	Rename exported function gdk_input_ps2_get_mouseinfo to
      	* gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkprivate-fb.h,
      	gdk_input_ps2_get_mouseinfo was renamed to gdk_input_get_mouseinfo.
  16. 02 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      Add last argument to t_type_register_static call. · 214c61d5
      Alexander Larsson authored
      2000-11-02  Alexander Larsson  <alexl@redhat.com>
      	* gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
      	gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
      	gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
      	Add last argument to t_type_register_static call.
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Add last argument to t_type_register_static call.
      	export the get_image drawable virtual function.
      	* gdk/linux-fb/gdkimage-fb.c:
      	Add last argument to t_type_register_static call.
      	rename gtk_image_get to _gdk_fb_get_image and
      	export it for use by gdkdrawable-fb2.
      	* gdk/linux-fb/gdkprivate-fb.h:
      	export _gdk_fb_get_image.
      	* gdk/linux-fb/gdkselection-fb.c:
      	Add new api call stubs.
      	* gtk/Makefile.am:
      	Missing ( in linux-fb part.
      	* modules/linux-fb/Makefile.am:
      	Must link with gdk_pixbuf or get unresolved symbol.
  17. 07 Aug, 2000 2 commits
  18. 03 Aug, 2000 1 commit
  19. 24 Jul, 2000 1 commit
    • Elliot Lee's avatar
      (Part 2) Remove gdk_*_lookup() defines, since they are defined by the · 6d7a643f
      Elliot Lee authored
      (Part 2)
      	* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
      	individual backends already.
      	* gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together
      	again. Yes, there really is a good reason for this, if you are using the gdkregion
      	internals, and if you're not, why do you care?
      	* gdk/gdkwindow.c: Fix inverted condition
      	* gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely).
      	* gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb
      	* gtk/gtkrange.c: Redraw trough when moving.
      	* gtk/gtktypeutils.c: Fix warning by adding const cast.
      	* modules/linux-fb/basic.c: Fix unknown glyph retrieval.
  20. 20 Jun, 2000 1 commit