1. 04 Oct, 2002 8 commits
    • Soeren Sandmann's avatar
      remove unused codepath. · d2aa6268
      Soeren Sandmann authored
      Fri Oct  4 21:21:47 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused
      	codepath.
      
      	* gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call
      	gtk_widget_queue_draw() instead of gtk_widget_draw().
      d2aa6268
    • Owen Taylor's avatar
      Patch from Shivram U <shivaram.upadhyayula@wipro.com> · fd83bdba
      Owen Taylor authored
      Fri Oct  4 14:49:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Shivram U <shivaram.upadhyayula@wipro.com>
      
              * gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
              (max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
              (update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
              less than or equal to max_keycode. (#79184)
      fd83bdba
    • jacob berkman's avatar
      make legal C · a746c7c0
      jacob berkman authored
      2002-10-04  jacob berkman  <jacob@ximian.com>
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
      a746c7c0
    • Owen Taylor's avatar
      Fix envars for uninstalled operation of gdk-pixbuf · 73e09842
      Owen Taylor authored
      Fri Oct  4 12:05:27 2002  Owen Taylor  <otaylor@redhat.com>
      
              * demos/Makefile.am (pixbuf_csource): Fix envars
              for uninstalled operation of gdk-pixbuf
      
              * demos/Makefile.am (test-inline-pixbufs.h): Remove
              output on failure.
      73e09842
    • Owen Taylor's avatar
      Get the name right. · ba768cd3
      Owen Taylor authored
      Fri Oct  4 12:00:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkscreen.c (gdk_screen_class_init): Get the
              name right.
      
              * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_class_init):
              Fix function that should have been static.
      ba768cd3
    • Owen Taylor's avatar
      Add a check for the Xrandr extension. · 8555f427
      Owen Taylor authored
      Fri Oct  4 11:43:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Add a check for the Xrandr extension.
      
              * gdk/gdkscreen.[ch]: Add a size-changed signal.
      
              * gdk/x11/gdkscreen-x11.[ch]: Patch from Keith packard
              to hook up ConfigureNotify events on the root window
              to the ::size-changed signal. (#94560)
      
              * gtk/gtkimcontextsimple.c: Warning fixes
      8555f427
    • Manish Singh's avatar
      Deprecation cleanup · 85d726f9
      Manish Singh authored
      Fri Oct  4 00:57:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkhscrollbar.[ch] gtkhseparator.[ch] gtkrange.[ch]
              gtkscrollbar.[ch] gtkseparator.[ch] gtkseparatormenuitem.h
              gtkvscrollbar.[ch] gtkvseparator.[ch]: Deprecation cleanup
      85d726f9
    • Manish Singh's avatar
      make it legal C · 424f913d
      Manish Singh authored
      Thu Oct  3 22:38:12 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk-pixbuf/queryloaders.c: make it legal C
      424f913d
  2. 03 Oct, 2002 6 commits
    • Eric Warmenhoven's avatar
      implement maximize for linux-fb · ccc2ccf2
      Eric Warmenhoven authored
      Thu Oct  3 16:40:18 2002 Eric Warmenhoven <eric@warmenhoven.org>
      
              * gdk/gdkevents.c, gdk/linux-fb/gdkwindow-fb.c,
              gtk/gtkwindow-decorate.c: implement maximize for linux-fb
      
              * gdk/linux-fb/gdkkeyboard-fb.c: implement raw keyboard mode
      
              * gdk/linux-fb/Makefile.am, gdk/linux-fb/gdkdnd-fb.c,
              gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkselection-fb.c,
              gdk/linux-fb/miarc.c, gdk/linux-fb/mifpolycon.c,
              gdk/linux-fb/miwideline.c, gdk/linux-fb/mizerclip.c,
              gdk/linux-fb/mizerline.c: small cleanups
      ccc2ccf2
    • Owen Taylor's avatar
      Fix error in computing length and a memory leak. (Fixes #94072, reported · 92fa2231
      Owen Taylor authored
      Thu Oct  3 19:00:55 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
              Fix error in computing length and a memory leak.
              (Fixes #94072, reported by Hema Seetharamaiah)
      
              * gtk/gtkmenu.c (gtk_menu_motion_notify): Fix &event
              used instead of event.
      92fa2231
    • Matthias Clasen's avatar
      12359a81
    • Kristian Rietveld's avatar
      get XDisplay from window instead of display, as display has not been · 040d54a5
      Kristian Rietveld authored
      Thu Oct  3 23:53:43 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_destroy): get
              XDisplay from window instead of display, as display has not been
              defined here (fixes the build).
      040d54a5
    • Owen Taylor's avatar
      Restore the pre-Xft2 code to render text directly via RENDER, · 27290036
      Owen Taylor authored
      Thu Oct  3 17:09:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/{gdkdrawable-x11.[ch],gdkpixmap-x11.c,
              gdkwindow-x11.c}: Restore the pre-Xft2 code to
              render text directly via RENDER, conditionalized
              with !HAVE_XFT2 so that we'll build again on Xft1
              systems. (#90181)
      27290036
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  3. 02 Oct, 2002 3 commits
    • Owen Taylor's avatar
      Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf · 6cb79658
      Owen Taylor authored
      Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
              gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
              as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
              function to draw_pixbuf. (#60582)
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
              Note that these functions are obsolete in the docs.
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
              Remove all the sanity checks now we make it clear
              that it is obsolete name for gdk_draw_pixbuf().
      
              * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
                gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
                tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.
      
              * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
              some warnings.
      
              * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
              bit from last gdk_event_get_screen() change.
      
              * gdk/gdkevents.c: Couple of small fixes.i
      6cb79658
    • Owen Taylor's avatar
      Add gdk_screen_set_screen()/_get_screen() which (by evil hacks) work for · ed521b3c
      Owen Taylor authored
      Wed Oct  2 17:36:42 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.[ch] gdk/x11/gdkevents-x11.[ch]: Add
              gdk_screen_set_screen()/_get_screen() which (by evil
              hacks) work for for heap allocated events and
              fall back gracefully for stack allocated events.
      ed521b3c
    • Owen Taylor's avatar
      Privately export: _gtk_settings_set_property_value_from_rc() · acbe4f18
      Owen Taylor authored
      Wed Oct  2 08:47:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtksettings.[ch]: Privately export:
              _gtk_settings_set_property_value_from_rc()
              _gtk_settings_reset_rc_values() so that we can reset
              settings set from RC files when reloading RC files.
              (#94610)
      
              * gtk/gtkrc.c: Hook up RC file setting resetting.
      acbe4f18
  4. 01 Oct, 2002 4 commits
  5. 30 Sep, 2002 11 commits
  6. 29 Sep, 2002 3 commits
    • Manish Singh's avatar
      add deprecation compile flags · d8efdf00
      Manish Singh authored
      Sun Sep 29 14:22:47 2002 Manish Singh  <yosh@gimp.org>
      
              * contrib/gdk-pixbuf-xlib/Makefile.am demos/Makefile.am
              demos/gtk-demo/Makefile.am: add deprecation compile flags
      
              * demos/testanimation.c demos/testpixbuf-save.c demos/testpixbuf.c
              demos/gtk-demo/*.c gdk-pixbuf/gdk-pixbuf-animation.c
              gdk-pixbuf/gdk-pixbuf.c: minor cleanups, getting rid of
              unnecessary casts
      d8efdf00
    • Manish Singh's avatar
      use #defines instead of enum for GtkFundamentalType compat, to prevent · 9ab61d69
      Manish Singh authored
      Sun Sep 29 13:11:13 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktypeutils.h: use #defines instead of enum for
              GtkFundamentalType compat, to prevent 64-bit vs. 32-bit
              confusion (#90400)
      9ab61d69
    • Tor Lillqvist's avatar
      Instead of forcing -fnative-struct into CFLAGS when using gcc for Win32, · b445615b
      Tor Lillqvist authored
      2002-09-29  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Instead of forcing -fnative-struct into CFLAGS
      	when using gcc for Win32, check for gcc version 3.x which uses
      	-mms-bitfields instead. Also check if either of these switches is
      	actually available at all, and warn if not. Thanks to Soren
      	Andersen for the inspiration. (#93965)
      b445615b
  7. 28 Sep, 2002 1 commit
  8. 27 Sep, 2002 4 commits
    • Matthias Clasen's avatar
      Make drawing to the root window work. (#89492) · bf67d2f1
      Matthias Clasen authored
      	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make
      	drawing to the root window work.  (#89492)
      bf67d2f1
    • Owen Taylor's avatar
      (#91249, Thomas Leonard) · e369df6b
      Owen Taylor authored
      Fri Sep 27 18:14:00 2002  Owen Taylor  <otaylor@redhat.com>
              (#91249, Thomas Leonard)
      
              * gtk/gtkselection.c (gtk_selection_convert): Initialize
              idle time to 0.
      
              * gtk/gtkselection.c: Up idle timeout to 5 minutes
              from 5 seconds.
      e369df6b
    • Owen Taylor's avatar
      Patch from J. Ali Harlow to avoid generating gtk.immodules when · 27180abb
      Owen Taylor authored
      Fri Sep 27 17:40:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/Makefile.am: Patch from J. Ali Harlow
              to avoid generating gtk.immodules when cross-compiling.
              (#87774)
      27180abb
    • Eric Warmenhoven's avatar
      Move gdk_keval_name and gdk_keyval_from_name to new gdkkeynames.c, share · 393ad738
      Eric Warmenhoven authored
      Fri Sep 27 14:30:34 2002 Eric Warmenhoven <eric@warmenhoven.org>
      
      	* gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c
      	gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and
      	gdk_keyval_from_name to new gdkkeynames.c, share implementation for
      	linux-fb and win32 (#94123)
      
      	* gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c
      	gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add
      	-DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile
      	flags
      
      	* gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't
      	initialize
      
      	* gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes
      
      	* gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions
      393ad738