1. 03 Oct, 2002 1 commit
    • 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
  2. 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
  3. 01 Oct, 2002 5 commits
  4. 30 Sep, 2002 11 commits
  5. 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
  6. 28 Sep, 2002 2 commits
  7. 27 Sep, 2002 11 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
    • Federico Mena Quintero's avatar
      Free the context if we cannot allocate the HeaderBuf. · 743a039c
      Federico Mena Quintero authored
      2002-09-27  Federico Mena Quintero  <federico@ximian.com>
      
      	* io-ico.c (gdk_pixbuf__ico_image_begin_load): Free the context if
      	we cannot allocate the HeaderBuf.
      743a039c
    • Federico Mena Quintero's avatar
      Fix the update region notification to handle top-to-bottom and · 8cec022f
      Federico Mena Quintero authored
      2002-09-27  Federico Mena Quintero  <federico@ximian.com>
      
      	* io-bmp.c (OneLine): Fix the update region notification to handle
      	top-to-bottom and bottom-to-top BMPs correctly.
      8cec022f
    • 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
    • Owen Taylor's avatar
      Fix some signed/unsigned warnings. (#85863, David L. Cooper II) · afecb32d
      Owen Taylor authored
      Fri Sep 27 17:23:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
              (#85863, David L. Cooper II)
      afecb32d
    • Owen Taylor's avatar
      ri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com> · f3f02c0e
      Owen Taylor authored
              * gtk/gtklabel.c : Replaced instances where strlen (label->label) is
              used to get a byte code with strlen (label->text) as label->text
              contains the actual display text, while label->label contains
              markup / mnemonics. (#92683, Patch from Shivram U
              <shivaram.upadhyayula@wipro.com>, with some additions.)
      
              * gtk/gtklabel.c (gtk_label_set_uline_text_internal):
              Fix a leftover, now incorrect comment.
      f3f02c0e
    • Owen Taylor's avatar
      Handle the case where the first page isn't visible. (#90336, bug tracked · 8be3514f
      Owen Taylor authored
      Fri Sep 27 16:15:11 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtknotebook.c (gtk_notebook_get_event_window_position):
              Handle the case where the first page isn't visible.
              (#90336, bug tracked down by Chema Celorio)
      8be3514f
    • Owen Taylor's avatar
      Change accelerator from C_ut to Cu_t. (#82747, Paolo Maggi) · 6d915693
      Owen Taylor authored
      Fri Sep 27 15:57:15 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkstock.c (builtin_items): Change accelerator
              from C_ut to Cu_t. (#82747, Paolo Maggi)
      6d915693
    • Owen Taylor's avatar
      Reset the animation iter on unrealize as well as unmap. (#94336) · 4816a141
      Owen Taylor authored
      Fri Sep 27 15:27:45 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkimage.c (gtk_image_unrealize): Reset the
              animation iter on unrealize as well as unmap.
              (#94336)
      
              * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't
              turn a value of "" into NULL. (#94157, Vitaly Tishkov)
      4816a141
  8. 26 Sep, 2002 1 commit
  9. 25 Sep, 2002 3 commits
    • Havoc Pennington's avatar
      fix GtkWindowMnemonic to have a separate typedef · 1689117c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
      	typedef
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
      	FULLSCREEN state
      
      	* tests/testgtk.c (get_state_controls): add
      	fullscreen/unfullscreen test
      
      	* gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
      	variable
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
      	variable
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_window_manager_changed): emit
      	window_manager_changed signal
      
      	* gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
      	window_manager_changed signal
      
      	* gdk/x11/gdkevents-x11.c
      	(gdk_x11_screen_get_window_manager_name): new function
      
      	* gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
      	skip_taskbar_hint, skip_pager_hint properties
      	(gtk_window_set_skip_taskbar_hint):
      	(gtk_window_get_skip_taskbar_hint):
      	(gtk_window_set_skip_pager_hint):
      	(gtk_window_get_skip_pager_hint):
      	(gtk_window_fullscreen):
      	(gtk_window_unfullscreen): new functions
      
      	* gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
      
      	* gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
      	values
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
      	(gdk_window_set_skip_pager_hint):
      	(gdk_window_fullscreen):
      	(gdk_window_unfullscreen): new functions
      	(set_initial_hints): set fullscreen here if appropriate
      1689117c
    • Owen Taylor's avatar
      Add gdk_screen_make_display_name(), which returns a display name that can · d41f210d
      Owen Taylor authored
      Wed Sep 25 10:51:24 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c:
              Add gdk_screen_make_display_name(), which returns a
              display name that can be used to open a display with the
              screen as the default (Based on patch from Mark McLoughlin,
              #86013)
      d41f210d
    • Owen Taylor's avatar
      Patch from Eric Warmenhoven, #94123 · 1c41ed3e
      Owen Taylor authored
      Wed Sep 25 08:50:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Eric Warmenhoven, #94123
      
              * gdk/gdkmouse-fb.c: Add scrolling support for
              imps2 mice.
      
              * gdk/linux-fb/gdkimage-fb.c: Fix compilation error
              in last gdkimage-fb.c commit.
      1c41ed3e