1. 29 Jun, 2003 1 commit
  2. 28 Jun, 2003 1 commit
    • Tor Lillqvist's avatar
      Fix for #111028, thanks to J. Ali Harlow, who writes: I found that the · 323bcc61
      Tor Lillqvist authored
      2003-06-28  Tor Lillqvist  <tml@iki.fi>
      
      	Fix for #111028, thanks to J. Ali Harlow, who writes:
      	I found that the GdkPixmap->GdkImage reference really isn't
      	important. It's only really there to have somewhere convenient to
      	store the location of the pixel data in the pixmap and as an easy
      	way of accessing the dimensions of that data. I have therefore put
      	together a fix which removes this reference entirely which seems
      	to solve the problem.
      
      	* gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32):
      	Instead of a pointer to a GdkImage, keep a pointer to the pixels
      	directly.
      
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove.
      	(_gdk_win32_new_image): New function, replacing the above. Creates
      	a GdkImage without any associated GdkPixmap.
      	(gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead.
      
      	* gdk/win32/gdkprivate-win32.h: Remove from here, too.
      
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap)
      	* gdk/win32/gdkdrawable-win32.c (blit_from_pixmap)
      	* gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn)
      	* gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description):
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize,
      	gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new)
      	Corresponding changes.
      323bcc61
  3. 27 Jun, 2003 1 commit
    • Soeren Sandmann's avatar
      Make it compile with C89 compilers. · 8597f100
      Soeren Sandmann authored
      Fri Jun 27 03:56:59 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Make
      	it compile with C89 compilers.
      
      Thu Jun 26 21:41:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
      	and "is_expanded" if the new value is different fromt he old one.
      8597f100
  4. 25 Jun, 2003 1 commit
  5. 24 Jun, 2003 3 commits
    • Matthias Clasen's avatar
      Add a blurb for shadow_type. · 3ec234a6
      Matthias Clasen authored
      2003-06-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type.
      
      	* gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser):
      	(gtk_widget_class_list_style_properties): Use same parameter names as in
      	header (to silence gtk-doc).
      
      	* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
      3ec234a6
    • BST 2003  Tony Gale's avatar
      Thread support updates from Owen. Various suggestions from Steve Chaplin. · 7395e4da
      BST 2003 Tony Gale authored
      Tue Jun 24 20:00:45 BST 2003  Tony Gale <gale@gtk.org>
      
              * docs/faq/gtk-faq.sgml: Thread support updates
              from Owen. Various suggestions from Steve Chaplin.
      7395e4da
    • Mohammad DAMT's avatar
      Updated Indonesian translation · 2baea297
      Mohammad DAMT authored
      2003-03-24  Mohammad DAMT  <mdamt@bisnisweb.com>
      
      	* id.po: Updated Indonesian translation
      2baea297
  6. 22 Jun, 2003 2 commits
    • Tor Lillqvist's avatar
      Mention dup'd bug#s. · 7bd14447
      Tor Lillqvist authored
      7bd14447
    • Tor Lillqvist's avatar
      When emulating X11's automatic grab on button down, pass owner_events as · 25359a2a
      Tor Lillqvist authored
      2003-06-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): When
      	emulating X11's automatic grab on button down, pass owner_events
      	as FALSE. According to the XLib spec, automatic grabs use True for
      	owner_events when OwnerGrabButtonMask is selected, and I don't see
      	the X11 backend doing that. (#110271)
      	(find_window_for_pointer_event): Improve debugging output.
      25359a2a
  7. 17 Jun, 2003 2 commits
    • Tor Lillqvist's avatar
      Look for DLLs also in the bin subdirectory, where libtool 1.5 installs · 36485f1c
      Tor Lillqvist authored
      2003-06-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
      	subdirectory, where libtool 1.5 installs them.
      
      	* README.win32: Point to FSF's binary Win32 distribution of
      	gettext-runtime.
      36485f1c
    • Matthias Clasen's avatar
      Add rule to regenerate man pages from Docbook. (man_MANS): Add · fcffe5a1
      Matthias Clasen authored
      2003-06-17  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf/Makefile.am: Add rule to regenerate man pages from
      	Docbook.
      	(man_MANS): Add gdk-pixbuf-csource.1, gdk-pixbuf-query-loaders.1.
      	(content_files): Add gdk-pixbuf-csource.xml,
      	gdk-pixbuf-query-loaders.xml.
      
      	* gdk-pixbuf/gdk-pixbuf-csource.xml: New refentry, containing the
      	former gdk-pixbuf/gdk-pixbuf-csource.1, converted to Docbook.
      
      	* gdk-pixbuf/gdk-pixbuf-query-loaders.xml: New refentry.
      
      	* gdk-pixbuf/gdk-pixbuf-csource.1:
      	* gdk-pixbuf/gdk-pixbuf-query-loaders.1: Man pages generated from
      	the .xml sources.
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: Include gdk-pixbuf-csource.xml and
      	gdk-pixbuf-query-loaders.xml.
      
      	* gtk/Makefile.am: Add rule to regenerate man pages from Docbook.
      	(man_MANS): Add gtk-query-immodules-2.0.1
      	(content_files): Add gtk-query-immodules-2.0.xml
      
      	* gtk/gtk-query-immodules-2.0.xml: New refentry.
      
      	* gtk/gtk-query-immodules-2.0.1: Man page generated from the .xml
      	source.
      
      	* gtk/gtk-docs.sgml: Include gtk-query-immodules-2.0.xml.
      
      
      	* acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
      	macros to check for XML catalog contents and path, borrowed from
      	gtk-doc.
      	* configure.in: New option --enable-man to enable regeneration of
      	man pages from Docbook, if the necessary tools are found.
      fcffe5a1
  8. 14 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Document new properties as 2.4 additions. · ec280c7b
      Matthias Clasen authored
      2003-06-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c (gtk_calendar_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init):
      	* gtk/gtkalignment.c (gtk_alignment_class_init):
      	* gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
      	as 2.4 additions.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs
      	to the proper place, immediately before the g_signal_new() call.
      
      	* gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags
      	more obvious.  (#115122, Jeff Franks)
      ec280c7b
  9. 12 Jun, 2003 1 commit
    • Anders Carlsson's avatar
      Special case pixmaps. (#114880) · 79895e30
      Anders Carlsson authored
      2003-06-12  Anders Carlsson  <andersca@codefactory.se>
      
      	* gtk/gtkwidget.c: (event_window_is_still_viewable):
      	Special case pixmaps. (#114880)
      79895e30
  10. 11 Jun, 2003 2 commits
  11. 10 Jun, 2003 1 commit
    • Hidetoshi Tajima's avatar
      New function for XIM instantiate callback. New function where call to · 66933a6b
      Hidetoshi Tajima authored
      Tue Jun 10 11:23:48 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
      
      	* modules/input/gtkimcontextxim.c (xim_instantiate_callback): New
      	function for XIM instantiate callback.
      	* modules/input/gtkimcontextxim.c (xim_info_try_im): New function
      	where call to XOpenIM() or XRegisterIMInstantiateCallback() is
      	actually made.
      	* modules/input/gtkimcontextxim.c (xim_destroy_callback): New function
      	for XIM's destroy callback.
      	* modules/input/gtkimcontextxim.c (get_im): add a check if info->im
      	is set or not - if it's not set, call xim_info_try_im() to try to
      	initiaize it.
      	* modules/input/gtkimcontextxim.c (reinitialize_ic): reset
      	filter_key_release flag of the context.
      	* modules/input/gtkimcontextxim.c (get_ic_real): removed
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move
      	code from the removed get_ic_real().
      
      	For XIM instantiation, destruction and re-instantiation. With
      	this, Gtk+ apps will be able to connect or reconnect to the XIM,
      	when it starts after the apps, or when the XIM gets lost and recover.
      	(#113099, #107782).
      66933a6b
  12. 09 Jun, 2003 8 commits
    • Kristian Rietveld's avatar
      Merged from stable. · 801531ca
      Kristian Rietveld authored
      Mon Jun 10 01:12:31 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
      	check if width is !null, not *width. Doh.
      801531ca
    • Kristian Rietveld's avatar
      Merged from stable. · bf2e5fc1
      Kristian Rietveld authored
      Tue Jun 10 01:09:33 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
      	Remove the weird dx logic, get all cell_area and background_area
      	calculations right. Not sure what was up with it before. (Fixes
      	#110989, testcase from Vasco Alexandre da Silva Costa).
      bf2e5fc1
    • Soeren Sandmann's avatar
      Make it compile with C89 compilers · 171fd90c
      Soeren Sandmann authored
      Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* tests/testgtk.c: Make it compile with C89 compilers
      171fd90c
    • Matthias Clasen's avatar
      Install boolean property "overwrite". (gtk_text_view_[gs]et_property): · 056bd009
      Matthias Clasen authored
      2003-06-10  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
      	property "overwrite".
      	(gtk_text_view_[gs]et_property): Handle "overwrite".
      	* gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
      	and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)
      056bd009
    • Matthias Clasen's avatar
      Install boolean child properties "resize" and "shrink". · 4363aee1
      Matthias Clasen authored
      2003-06-09  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child
      	properties "resize" and "shrink".
      	(gtk_paned_[gs]et_child_property): Implementations of
      	GtkContainer::[gs]et_child_property.
      	* tests/testgtk.c (toggle_resize, toggle_shrink): Use the new
      	paned child properties instead of remove/add hacks.  (#114667,
      	Soeren Sandmann)
      4363aee1
    • Owen Taylor's avatar
      Back out event->window test - it wasn't needed because of the call to · cf566674
      Owen Taylor authored
      Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_button_press): Back
              out event->window test - it wasn't needed because
              of the call to get_widget_coordinates().
      
              * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
              call to gtk_widget_grab_focus() when not clicking on
              any tabs. (Real fix for #114534)
      cf566674
    • Owen Taylor's avatar
      Use application/x-rootwindow-drop for root window drops. (#108670, Alex · 85d8c337
      Owen Taylor authored
      Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
      
              * tests/testdnd.c: Use application/x-rootwindow-drop for
              root window drops. (#108670, Alex Larsson)
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop):
              Accept either application/x-rootwin-drop (what GTK+ has always used)
              or application/x-rootwindow-drop (what the XDND standard specifies).
      85d8c337
    • Owen Taylor's avatar
      Before delivering an event to a widget, check that (if relevant), the · 075958ac
      Owen Taylor authored
      Fri Jun  6 11:07:33 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c (event_window_still_viewable):
              Before delivering an event to a widget, check that
              (if relevant), the event's window is still viewable.
              (#105642, Dennis Björklund)
      
              * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy):
              NULL out private->parent, since after destruction
              it might not be valid any more.
      
              * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some
              accesses before g_return_val_if_fail(). Treat
              DESTROYED windows as unmapped.
      075958ac
  13. 08 Jun, 2003 3 commits
    • Owen Taylor's avatar
      Recompute unconditionally in gtk_entry_style_set, and in a new · 0815e69c
      Owen Taylor authored
      Thu Jun  5 09:28:03 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c: Recompute unconditionally in
              gtk_entry_style_set, and in a new gtk_label_screen_changed().
              Protect the guts of recompute_idle_func() with
              gtk_widget_has_screen(). (#114040, Morten Welinder)
              Fix FALSE/0 confusion.
      0815e69c
    • Soeren Sandmann's avatar
      swap G and B. Fixes (#114669) · d94c09a1
      Soeren Sandmann authored
      Sun Jun  8 18:27:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B.
      	Fixes (#114669)
      d94c09a1
    • Owen Taylor's avatar
      Fix bug with set_adjustment (viewport, NULL); · 16400b3a
      Owen Taylor authored
      Sun Jun  8 11:27:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with
              set_adjustment (viewport, NULL);
      16400b3a
  14. 07 Jun, 2003 1 commit
  15. 06 Jun, 2003 8 commits
    • Owen Taylor's avatar
      Many fixes, along with extensive cleanups and refactoring of code to · 0b7c616a
      Owen Taylor authored
      Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and
              refactoring of code to reduce duplication; fixes include:
      
              - gtk_viewport_realize(): Position the window correct from adjustment
              values. (#110737, Michael Natterer)
      
              - Remove some division-by-zero checks in places where there is no
              longer division. (#110737)
      
              - gtk_viewport_class_init: Make the hadjustment/vadjustment properties
              G_PARAM_CONSTRUCT, so that there will always be adjustments, even
              if gtk_viewport_new isn't used (#101135, Thomas Leonard).
      
              - Switch over to encapsulated lazy-creation for hadjustment/
              vadjustment; even with the CONSTRUCT property, we need this after
              destroy.
      
              - When updating the adjustment, immediate set their values to
              match the the current range of the viewport, and update the
              viewport position to match the value of the new adjustments.
              (Part of #1165
      0b7c616a
    • Tor Lillqvist's avatar
      Fix typo. · f91ae980
      Tor Lillqvist authored
      2003-06-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkprivate-win32.h: Fix typo.
      f91ae980
    • Tor Lillqvist's avatar
      Set graphics_exposures and subwindow_mode, too, even if they aren't · 37ccf562
      Tor Lillqvist authored
      2003-06-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set
      	graphics_exposures and subwindow_mode, too, even if they aren't
      	currently used.
      37ccf562
    • Kristian Rietveld's avatar
      Merged from stable. · e0e04dd8
      Kristian Rietveld authored
      Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (do_expand_collapse),
      	(expand_collapse_timeout), (cancel_arrow_animation): made
      	expand_collapse_timeout a wrapper with locks around
      	do_expand_collapse, made cancel_arrow_animation use
      	do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
      	Peter Bloomfield).
      e0e04dd8
    • Hidetoshi Tajima's avatar
      Add a 'finalizing' flag to keep preedit-[start,changed,end] signals from · 16191e52
      Hidetoshi Tajima authored
      Fri Jun  6 11:05:45 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
      
      	* modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM):
      	* modules/input/gtkimcontextxim.c (preedit_start_callback,
      	preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag
      	to keep preedit-[start,changed,end] signals from being called during
      	finalization (#111861).
      16191e52
    • Noah Levitt's avatar
      Ignore button presses that are not on the tab (#114534). · e7937497
      Noah Levitt authored
      2003-06-05  Noah Levitt  <nlevitt@columbia.edu>
      
      	* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
      	presses that are not on the tab (#114534).
      e7937497
    • Owen Taylor's avatar
      Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation · ff5da262
      Owen Taylor authored
      Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>
      
              * demos/Makefile.am: Conditionalize deendencies for
              gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe).
              Buildtest-inline-pixbufs.h in srcdir. Don't try to build
              test-inline-pixbufs.h if we don't have libpng.
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
              Add a dependency on gdk-pixbuf.loaders when not
              cross-compiling, remove the dependency on gdk-pixbuf-csource
              when not cross compiling.
      ff5da262
    • Owen Taylor's avatar
      Handle gtk_window_get_geometry_info() returning NULL. (#107311, John · d4ed293d
      Owen Taylor authored
      Thu Jun  5 20:12:51 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_get_default_size): Handle
              gtk_window_get_geometry_info() returning NULL.
              (#107311, John Finlay)
      d4ed293d
  16. 05 Jun, 2003 4 commits
    • Owen Taylor's avatar
      Subtract off twice the border width from the width/height, not 1x the · 27c08ab4
      Owen Taylor authored
      Thu Jun  5 19:24:33 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off
              twice the border width from the width/height, not
              1x the border width. (#106336, Rodney Dawes)
      27c08ab4
    • Owen Taylor's avatar
      If at the end of the buffer, move to the end iter - parallels behavior of · 9cb6de1f
      Owen Taylor authored
      Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
              If at the end of the buffer, move to the end iter -
              parallels behavior of move_iter_to_previous_line.
              (#81960, Padraig O'Briain)
      9cb6de1f
    • Owen Taylor's avatar
      #80023, Yao Zhang, TOKUNAGA Hiroyuki · 6bbdea92
      Owen Taylor authored
      Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>
      
              #80023, Yao Zhang, TOKUNAGA Hiroyuki
      
              * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
              Account for the preedit cursor offset if the iter passed
              in is at the same place as the insertion cursor.
      
              * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
              Encapsulate getting the insertion cursor location.
      
              * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
              Pass the real y/height to the IM context. Take
              text_view->x/yoffset into account.
      6bbdea92
    • Owen Taylor's avatar
      Never scroll on focus in (#81893, Patch from Paolo Maggi) · 4d5b395f
      Owen Taylor authored
      Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.[ch]: Never scroll on focus in
              (#81893, Patch from Paolo Maggi)
      
              * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages):
              Scroll to the current cursor location before handling
              the action, in case the user just tabbed in
              and the cursor is offscreen.
      4d5b395f