1. 03 Mar, 2002 12 commits
    • Sven Neumann's avatar
      lowercase configure --help output. · 32dea2db
      Sven Neumann authored
      2002-03-03  Sven Neumann  <sven@gimp.org>
      
      	* m4macros/gtk-2.0.m4: lowercase configure --help output.
      32dea2db
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · ad51485d
      Kjartan Maraas authored
      2002-03-03  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      ad51485d
    • Jonathan Blandford's avatar
      Write documentation Write documentation · 4a20e66f
      Jonathan Blandford authored
      Sun Mar  3 01:36:21 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/tmpl/gtktreeviewcolumn.sgml: Write documentation
      	* gtk/tmpl/gtktreeview.sgml: Write documentation
      4a20e66f
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8
    • Owen Taylor's avatar
      Fixes for uninstalled operation with module suffixes other than .so and in · b47b15f6
      Owen Taylor authored
      Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for uninstalled operation with module suffixes
              other than .so and in general for platforms like AIX where
              the module suffix isn't predictable. (#72185, problems
              reported by Miroslaw Dobrzanski-Neumann)
      
              * modules/input/Makefile.am (gtk.immodules): Query .la
              files rather than shared objects in .libs when creating the
              uninstalled gtk.immodules file.
      
              * gtk/gtkmain.c (_gtk_find_module): Look for .la files
              after looking for the normal soname extension to handle
              cases where the soname extension isn't predictable,
              like AIX.
      
              * gtk/gtkthemes.c (gtk_theme_engine_load): Don't
              call g_module_build_path... leave that to
              gtk_rc_find_module_in_path.
      
              * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
              tests/testgtk.c (test_init): tests/testtext.c (test_init)
              tests/testdnd.c (test_init): Point gdk-pixbuf to .la
              files rather than poking in .libs for .so files.
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
              .libs from GDK_PIXBUF_MODULEDIR.
      b47b15f6
    • Owen Taylor's avatar
      If we can't load the module using the g_module_build_path() filename, try · b3c0813b
      Owen Taylor authored
      Sat Mar  2 22:11:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf-io.c (_gdk_pixbuf_load_module): If we
              can't load the module using the g_module_build_path()
              filename, try loading it as a .la file.
      
              * test-loaders.c: Look for modules in current directory
              rather than .libs, so we find the right .la files.
      
              * test-loaders.c: Back out some accidental commits.
      b3c0813b
    • Owen Taylor's avatar
      Handle NO_WINDOW widgets with windows that are children of widget->window. · 76cf3d95
      Owen Taylor authored
      Sat Mar  2 20:58:30 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_reparent): Handle NO_WINDOW
      	widgets with windows that are children of widget->window.
      	(#50279)
      
      	* tests/testgtk.c: Add eventboxes to the example so that
      	we are reparenting between different GdkWindows.
      76cf3d95
    • Owen Taylor's avatar
      Shell script used to strip dependencies out of .la files. · 809a11fe
      Owen Taylor authored
             * gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
              used to strip dependencies out of .la files.
      809a11fe
    • Owen Taylor's avatar
      Bullet-proof against integer overflow. · ed5fc07f
      Owen Taylor authored
      Sat Mar  2 21:28:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf.c (gdk_pixbuf_new): Bullet-proof against integer
              overflow.
      ed5fc07f
    • Owen Taylor's avatar
      Add a note to the docs about how to use this in the context of changeable · f5b8bde7
      Owen Taylor authored
      Sat Mar  2 20:39:38 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
              Add a note to the docs about how to use this in the
              context of changeable accelerators. (#72382, Mark Patton)
      f5b8bde7
    • Owen Taylor's avatar
      Add -lX11 into x_libs. · 80bef5ac
      Owen Taylor authored
      Sat Mar  2 19:48:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Add -lX11 into x_libs.
      80bef5ac
    • Chyla Zbigniew's avatar
  2. 02 Mar, 2002 13 commits
    • Andraz Tori's avatar
      Updated Slovenian translation · 09064674
      Andraz Tori authored
      09064674
    • Owen Taylor's avatar
      Add a --enable-explicit-deps option to control whether dependency · 15f8a55f
      Owen Taylor authored
      Fri Mar  1 00:46:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Add a --enable-explicit-deps option to control
              whether dependency libraries are written into .la files and .pc
              files.  Default is auto: if static libraries are off and shlib
              dependencies are found, don't write deps.
      
              * gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script
              used to strip dependencies out of .la files.
      
              * Makefile.am: Add a slightly modified distcheck rule that passes
              --enable-gtk-doc to the configure inside.
              (So that 'make dist' succeeds inside.)
      
              * configure.in: If pango was compiled with
              --disable-explicit-deps, then repeat the checks for X and
              freetype ourselves so we don't depend on linking to libraries
              that pango doesn't reveal in the link line. Add some more paranoia
              for whether what we detect ourselves matches what Pango backends
              we found.
      15f8a55f
    • Tor Lillqvist's avatar
      Output gdk-pixbuf/gdk_pixbuf.rc. · 93d74e25
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Output gdk-pixbuf/gdk_pixbuf.rc.
      93d74e25
    • Owen Taylor's avatar
      Move a couple of function docs into the C file. · ac8a994a
      Owen Taylor authored
      Sat Mar  2 15:46:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/tmpl/gtkentry.sgml: Move a couple of function
              docs into the C file.
      ac8a994a
    • Tor Lillqvist's avatar
      Remove. · 5d5f53d9
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-pixbuf.rc.in: Remove.
      
      	* gdk_pixbuf.rc.in: Name like this instead (wrong name used by
      	mistake by Hans).
      
      	* makefile.msc: Corresponding changes.
      
      	* Makefile.am: Use gdk_pixbuf.rc on Win32. Distribute it.
      5d5f53d9
    • Tor Lillqvist's avatar
      gdk/gdk.def Add and (trivially) implement · 7fee0db1
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.def
      	* gdk/win32/gdkevents-win32.c: Add and (trivially) implement
      	gdk_pointer_grab_info_libgtk_only() and
      	gdk_keyboard_grab_info_libgtk_only().
      
      2002-03-02  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (build_keypress_event): Reorder
      	code, keyval should get a value in all cases now.
      	(build_keyrelease_event): Set GDK_CONTROL_MASK here, too, if it
      	was a control character produced with Alt+keypad digits.
      	(gdk_event_translate): Minor cleanups to keyboard input
      	handling. Still need more major work.
      7fee0db1
    • Owen Taylor's avatar
      Don't do special focus handling if draw_indicator is not set. (#64723, · aba1c9a7
      Owen Taylor authored
      Sat Mar  2 16:12:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
              do special focus handling if draw_indicator is not set.
              (#64723, Damon Chaplin.)
      aba1c9a7
    • Owen Taylor's avatar
      Clamp @Max parameter passed in to [0, MAX_SIZE], improve docs. Fix default · 8d3278f0
      Owen Taylor authored
      Sat Mar  2 15:48:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_new_with_max_length,
              gtk_entry_set_max_length): Clamp @Max parameter passed in to
              [0, MAX_SIZE], improve docs. Fix default and range
              for ::max-length property, range for ::ncursor_position,
              ::selection_bound properties. (#55916, Vitaly Tishkov)
      
              * gtk/gtkmain.c (rewrite_event_for_grabs): Fix typo
      8d3278f0
    • Owen Taylor's avatar
      Robustify tracking of pointer grab window. · b54e5f4c
      Owen Taylor authored
      Fri Mar  1 18:39:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h,
              gdkwindow-x11.c}: Robustify tracking of pointer grab window.
      
              * gdk/x11/gdkmain-x11.c: Keep track of current keyboard
              grab window.
      
              * gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only,
              gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk
              API for finding out current grab information.
      
              * gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events
              so that the effective behavior of owner_events = TRUE is changed
              to "deliver events to same window group normally" instead
              of "deliver events to same application normally. #69934
      
              * gtk/gtkrange.c: Use an explicit gtk_grab_add() so that
              it works within the GtkList combo, where there is a
              owner_events = FALSE gdk_pointer_grab() already in effect.
              (#65006, reported by Damon Chaplin)
      b54e5f4c
    • Owen Taylor's avatar
      Default to --disable-gtk-doc (avoid Jade breakage) and --disable-static · dfe57247
      Owen Taylor authored
      Sat Mar  2 14:32:50 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Default to --disable-gtk-doc (avoid Jade
              breakage) and --disable-static (static linking causes
              problems with Xft changes.)
      
              * autogen.sh: Add --enable-gtk-doc by default.
      
              * Makefile.am: Add a 'mydistcheck' rule that passes
              --enable-gtk-doc to the configure since that is needed
              for 'make dist'.
      
              * docs/tutorial/Makefile.am (dist-hook): Don't distribute
              the PDF file. (Rule doesn't work on my system, plus it's
              big.)
      
              * gtk/Makefile.am: 'make dist' fixes.
      dfe57247
    • Owen Taylor's avatar
      Switch style of stamp file usage. · f832e348
      Owen Taylor authored
      Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am: Switch style of stamp file usage.
      
              * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
              enumeration/fags TYPE variables over to macros for get_type() functions,
              for lazy definition and to get rid of expensive relocations.
      
              * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
              gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
              gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
              definitions over manually coded get_type() functions.
      
              * gtk/gtk.def: Updates for above
      
              * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
              Remove from CVS, no longer used.
      
              * configure.in: Remove checks for awk.
      f832e348
    • Sven Neumann's avatar
      updated German translation. · 36e686e6
      Sven Neumann authored
      2002-03-02  Sven Neumann  <sven@gimp.org>
      
      	* de.po: updated German translation.
      36e686e6
    • Tim Janik's avatar
      fix typo. · 688c3bf0
      Tim Janik authored
      Sat Mar  2 04:44:10 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.c (gtk_accel_group_connect_by_path): fix typo.
      688c3bf0
  3. 01 Mar, 2002 15 commits
    • Kristian Rietveld's avatar
      set first_cell to FALSE after first iteration · aa83195a
      Kristian Rietveld authored
      Fri Mar  1 23:59:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set
              first_cell to FALSE after first iteration
      
              * gtk/gtktreeview.c (validate_visible_area): reduce usage of
              GTK_RBNODE_GET_HEIGHT, check for node != NULL,
              (gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed
              (gtk_tree_view_search_iter): select iter after scrolling
      aa83195a
    • Tor Lillqvist's avatar
      Remove unneeded Win32 stuff inside #ifdef G_OS_WIN32. (Leftover from when · 58f74422
      Tor Lillqvist authored
      2002-03-02  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkitemfactory.c: Remove unneeded Win32 stuff inside #ifdef
      	G_OS_WIN32. (Leftover from when gtkitemfactory.c handled files.)
      58f74422
    • Tor Lillqvist's avatar
      gdk/gdkkeys.c (gdk_keyval_convert_case) If the keyval to be converted is · d237e855
      Tor Lillqvist authored
      2002-03-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkkeys.c (gdk_keyval_convert_case)
      	* gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval
      	to be converted is one of those that consist of a Unicode
      	character plus our special flag bit, use the
      	g_unichar_to{lower,upper} functions (Bug#73112).
      
      	* gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for
      	the GDK keysym symbols. As we include gdkkeysyms.h, we know they
      	are there. And if GDK keysyms some day are added/removed, this
      	function needs changes, too, anyway.
      d237e855
    • Owen Taylor's avatar
      Fix some reported (but not significant) UMR's from purify. (#73160, Morten · b924594e
      Owen Taylor authored
      Fri Mar  1 17:00:28 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpolyreg-generic.c: Fix some reported (but not significant)
      	UMR's from purify. (#73160, Morten Welinder)
      b924594e
    • Owen Taylor's avatar
      Initialize the scrollbar spacing variable in the class to -1, and then · a6774264
      Owen Taylor authored
      Fri Mar  1 16:48:19 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkscrolledwindow.c: Initialize the scrollbar spacing
      	variable in the class to -1, and then take that to mean
      	"default" (3) rather than putting 3 in the class directly.
      	This gives us some wiggle room to make it a per-instance
      	rather than a per-class property later.
      a6774264
    • jacob berkman's avatar
      replace uses of test -e with more portable test -f · 3842f2f1
      jacob berkman authored
      2002-03-01  jacob berkman  <jacob@ximian.com>
      
      	* Makefile.am (install-data-hook):
      	(dist-hook): replace uses of test -e with more portable test -f
      3842f2f1
    • Owen Taylor's avatar
      Don't delete forward across line boundaries when in overwrite mode. · 206119c9
      Owen Taylor authored
      Fri Mar  1 14:49:35 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete
      	forward across line boundaries when in overwrite mode.
      	(#73145, reported by Ettore Perazzoli)
      206119c9
    • Owen Taylor's avatar
      Fix signed-unsigned error that was accidentally causing negative values to · f4c06611
      Owen Taylor authored
      Fri Mar  1 10:31:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_reorder_child):
      	Fix signed-unsigned error that was accidentally causing
      	negative values to append, do it intentionally. Fix docs
      	to say that negative values append. (Alexey A. Malyshev,
      	#73108)
      f4c06611
    • Owen Taylor's avatar
      Add note about gtk_notebook_reorder_child(). · 3098a031
      Owen Taylor authored
      Fri Mar  1 10:35:15 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/changes-2.0.sgml: Add note about gtk_notebook_reorder_child().
      3098a031
    • Alexey Malyshev's avatar
      gtk+/gtk/gtkitemfactory.c fixed a little type in docs for · 30e9527d
      Alexey Malyshev authored
      2002-03-01 Alexey Malyshev <maa@sparc.spb.su>
      
              * gtk+/gtk/gtkitemfactory.c
      	fixed a little type in docs for gtk_notebook_set_show_border()
      30e9527d
    • Owen Taylor's avatar
      Really make it work for paths with underline accelerators. (#69247) · 409fb50c
      Owen Taylor authored
      Fri Mar  1 09:05:19 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkitemfactory.c (gtk_item_factory_delete_entries):
              Really make it work for paths with underline accelerators. (#69247)
      409fb50c
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · d782d59e
      Stanislav Visnovsky authored
      2002-03-01  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation.
      d782d59e
    • Yuri Syrota's avatar
      Updated Ukrainian translation · b8d1794b
      Yuri Syrota authored
      b8d1794b
    • Havoc Pennington's avatar
      free the tab array for custom tabs, reported by Paolo Maggi #72980 · 8836674a
      Havoc Pennington authored
      2002-02-28  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
      	for custom tabs, reported by Paolo Maggi #72980
      8836674a
    • Owen Taylor's avatar
      include gdkkeysysms.h if compiling gdk_keyval_convert_case. · fce84d05
      Owen Taylor authored
      Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkkeys.c: include gdkkeysysms.h if
              compiling gdk_keyval_convert_case.
      
              * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
              <Control>Tab <Control><Shift>Tab to cycle between
              all menu bars in a toplevel once one is up.
      
              * tests/testgtk.c: Add a second menubar, this
              example is already full of crack anyways.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
              unhandled events up to the parent menu shell.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
              pop up the menu if the parent menu shell is still active.
      
              * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
              old_focus argument, export privately.
      fce84d05