1. 10 Dec, 2007 2 commits
  2. 09 Dec, 2007 1 commit
  3. 07 Dec, 2007 5 commits
  4. 06 Dec, 2007 7 commits
  5. 05 Dec, 2007 1 commit
    • 18:59:59  Tim Janik's avatar
      run tests in current dir after setting up the logging directory, so their · 9ba5da2f
      18:59:59 Tim Janik authored
      2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
      
              * gtk+/Makefile.decl: run tests in current dir after setting up the
              logging directory, so their results get properly merged into the
              resulting test log.
      
              * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
              tests to loop over registered Gdk/Gtk+ types.
      
              * gtk+/tests/objecttests.c: new test program, implements automated
              property tests. several properties are blacklisted because they
              seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
              can be used to test blacklisted properties and see which proprty failed.
      
      
      
      svn path=/trunk/; revision=19115
      9ba5da2f
  6. 04 Dec, 2007 2 commits
  7. 03 Dec, 2007 4 commits
    • Richard Hult's avatar
      Don't crash when dragging from a source that doesn't support uri lists · f411b93c
      Richard Hult authored
      2007-12-03  Richard Hult  <richard@imendio.com>
      
      	* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
      	Don't crash when dragging from a source that doesn't support uri
      	lists (bug #499868, Paul Davis).
      
      svn path=/trunk/; revision=19102
      f411b93c
    • Richard Hult's avatar
      Don't crash when a parent relative bg pixmap is set, and no parent has a · 4a1478d6
      Richard Hult authored
      2007-12-03  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_impl_quartz_begin_paint_region): Don't crash when a
      	parent relative bg pixmap is set, and no parent has a bg
      	pixmap. Fixes bug #500804.
      
      svn path=/trunk/; revision=19100
      4a1478d6
    • Matthias Clasen's avatar
      Two optimizations for icon cache lookups. · f9e4618b
      Matthias Clasen authored
      2007-12-03  Matthias Clasen  <mclasen@redhat.com>
      
              Two optimizations for icon cache lookups.
      
              * gtk/gtkiconcache.[hc]:
              * gtk/gtkicontheme.c: Remember the directory index for
              subdirectories, instead of running over the directory list
              again and again.
      
              * gtk/gtkiconcache.c (find_image_offset): Remember the last
              chain and try it first; this helps with the the usage patterns
              in gtkicontheme.c, where the same icon is queried for a lot
              of subdirectories.
      
      
      svn path=/trunk/; revision=19099
      f9e4618b
    • 15:18:17  Tim Janik's avatar
      use 'grep -o' to extract _get_type functions from header files. this · f83588f8
      15:18:17 Tim Janik authored
      2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
      
              * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
              functions from header files. this should be portable across linux and
              Mac OS, unlike the previpous sed expression.
      
      
      
      svn path=/trunk/; revision=19098
      f83588f8
  8. 01 Dec, 2007 1 commit
    • Cody Russell's avatar
      [Win32]: On Windows, queue a redraw of child2 whenever we set the pane · 48110a50
      Cody Russell authored
      2007-12-1  Cody Russell  <bratsche@gnome.org>
      
              * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:      
              On Windows, queue a redraw of child2 whenever we set
              the pane handle position.  This is unfortunately kind
              of hacky, but solves the visual artifacts that were
              occuring on at least certain types of child widgets
              (e.g., text views and tree views) that are inside
              horizontal or vertical panes. (#144269)
      
      
      svn path=/trunk/; revision=19095
      48110a50
  9. 30 Nov, 2007 2 commits
  10. 29 Nov, 2007 1 commit
  11. 28 Nov, 2007 2 commits
    • Tor Lillqvist's avatar
      Tack on "/share/locale" to GTK_LOCALEDIR so that the code in · 82b031d9
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	* config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
      	that the code in _gtk_get_localedir() will find the slashes.
      
      
      svn path=/trunk/; revision=19084
      82b031d9
    • Tor Lillqvist's avatar
      A proper build of GNU libintl is supposed to export the variable · 10825b14
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	A proper build of GNU libintl is supposed to export the variable
      	_nl_msg_cat_cntr. configure looks for that variable in order to
      	recognize GNU gettext. If it sees that it is indeed GNU gettext
      	that is used, it decides to install message catalogs in
      	share/locale, otherwise in lib/locale. Until now on Windows I have
      	built GTK+ against a build of GNU gettext that did not export
      	_nl_msg_cat_cntr. But this will change, so we can't assume message
      	catalogs are always in lib/locale.
      
      	* gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
      	GTK_LOCALEDIR being either in "lib" or "share". Move the function
      	before the inclusion of gtkprivate.h so that it sees the original
      	GTK_LOCALEDIR.
      
      	* gtk-zip.sh.in: Check whether the message catalogs are in
      	share/locale or lib/locale.
      
      
      svn path=/trunk/; revision=19083
      10825b14
  12. 27 Nov, 2007 6 commits
    • Tor Lillqvist's avatar
      Improve portability. The -o option is present only in newish GNU egreps. · 2159f9c7
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/Makefile.am: Improve portability. The -o option is present
      	only in newish GNU egreps. Use one more sed in the pipeline
      	instead.
      
      
      svn path=/trunk/; revision=19082
      2159f9c7
    • Tor Lillqvist's avatar
      Fix #375893, patch by Ben Hague: · d0f50cde
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	Fix #375893, patch by Ben Hague:
      
      	* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
      	around GetLogicalDrives() that takes also the viewable drive
      	restrictions in the Registry (which are usually the result of an
      	Active Directory Group Policy) into account.
      
      	(check_volumes, gtk_file_system_win32_list_volumes) Call
      	get_viewable_logical_drives() instead of GetLogicalDrives().
      
      
      svn path=/trunk/; revision=19079
      d0f50cde
    • Matthias Clasen's avatar
      Zero some variables to silence valgrind. (#495124, Morten Welinder) · cd2d87b4
      Matthias Clasen authored
      2007-11-27  Matthias Clasen <mclasen@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
              variables to silence valgrind.  (#495124, Morten Welinder)
      
      
      svn path=/trunk/; revision=19077
      cd2d87b4
    • Allison Karlitskaya's avatar
      add clarification stating that the construct_child function is responsible · 08e15bbb
      Allison Karlitskaya authored
      2006-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
              that the construct_child function is responsible for returning a
              reference.
              * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
              objects from constructors
              * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
              g_object_ref() to this construction function (it's the only
              implementer in GTK)
      
              Fixes #496645.
      
      
      svn path=/trunk/; revision=19075
      08e15bbb
    • Allison Karlitskaya's avatar
      remove concept of root objects and just refcount all objects in the · 490af125
      Allison Karlitskaya authored
      2006-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * gtkbuilder.c: remove concept of root objects and just refcount
              all objects in the builder.  Fixes #496651.
      
      
      svn path=/trunk/; revision=19074
      490af125
    • Allison Karlitskaya's avatar
      fix invalid free · 029de426
      Allison Karlitskaya authored
      2007-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * tests/buildertest.c (test_window): fix invalid free
      
      
      svn path=/trunk/; revision=19073
      029de426
  13. 26 Nov, 2007 6 commits
    • Josselin Mouette's avatar
      reviewed by: Federico Mena Quintero · 21a30978
      Josselin Mouette authored
      2007-11-26  Josselin Mouette <joss@malsain.org>
      
              reviewed by: Federico Mena Quintero
      
              * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
              (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
              (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
              Make the shortcuts activate with a single click. (#148828)
              Fix a few things affected by the change:
                - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
                  where no shortcut is selected.
                - Don't activate a shortcut in the response callback.
                - Filter out duplicate entries in volumes and bookmarks to 
                  avoid the selection to change when reordering them with DnD.
      
      
      svn path=/trunk/; revision=19072
      21a30978
    • Matthias Clasen's avatar
      Fix up some doc comments to shut up gtk-doc. · 7819005e
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkmain.c:
              * gtk/gtknotebook.c:
              * gtk/gtkplugprivate.h:
              * gtk/gtksocket.c:
              * gtk/gtksocketprivate.h:
              * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
      
      
      svn path=/trunk/; revision=19066
      7819005e
    • Matthias Clasen's avatar
      Use $CUPS_CONFIG instead of hardcoded cups-config. (#495574, Richard Hult) · f5034f40
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
              (#495574, Richard Hult)
      
      
      
      svn path=/trunk/; revision=19062
      f5034f40
    • Matthias Clasen's avatar
      Change some labels to be clearer. String change ! (#376361, Sven Neumann) · fa0328da
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
              String change !   (#376361, Sven Neumann)
      
      
      svn path=/trunk/; revision=19061
      fa0328da
    • Matthias Clasen's avatar
      Short-circuit on destroy. (gtk_notebook_destroy): Destroy tab_label · 3132888e
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
              destroy.
              (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
              Welinder)
      
      
      svn path=/trunk/; revision=19059
      3132888e
    • Matthias Clasen's avatar
      Improve alternative button ordering. (#476827, Yevgen Muntyan, patch by · 9936134d
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkassistant.c: Improve alternative button
              ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
      
      
      svn path=/trunk/; revision=19057
      9936134d