1. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  2. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  3. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  4. 12 Nov, 2004 2 commits
  5. 08 Nov, 2004 1 commit
  6. 07 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      New convenience function to add a filter for image files which can be · 7a08ab25
      Matthias Clasen authored
      2004-11-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilefilter.h:
      	* gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats):
      	New convenience function to add a filter for image files
      	which can be loaded by GdkPixbuf. (#145388, Anders Carlsson)
      
      	* tests/testfilechooser.c: Test the image filter.
      7a08ab25
  7. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  8. 02 Jun, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #138807. · 3127f29e
      Federico Mena Quintero authored
      2004-06-02  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #138807.
      
      	* gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument.
      	(gtk_fnmatch_intern): Likewise; also implement this option.
      
      	* gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype.
      
      	* gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the
      	no_leading_period argument of _gtk_fnmatch().
      	(attempt_file_completion): Likewise.
      
      	* gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the
      	no_leading_period argument of _gtk_fnmatch().
      3127f29e
  9. 06 Mar, 2004 1 commit
  10. 01 Mar, 2004 1 commit
    • Morten Welinder's avatar
      Simplify semantics and check for errors. · 8ddff5b0
      Morten Welinder authored
      2004-03-01  Morten Welinder  <terra@gnome.org>
      
      	* gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
      	semantics and check for errors.
      
      	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.
      
      	* gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
      	display_name is NULL.
      8ddff5b0
  11. 22 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Free the path fields. · 56913b4b
      Federico Mena Quintero authored
      2004-01-21  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
      	Free the path fields.
      
      	* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): Free
      	the root_path, reported by <scott@asofyet.org>
      	(gtk_file_system_model_finalize): Unref the file system.
      
      	* gtk/gtkfilefilter.c (filter_rule_free): default:
      	g_assert_not_reached().
      	(gtk_file_filter_finalize): Free the filter->name, reported by
      	<scott@asofyet.org>
      	(gtk_file_filter_finalize): Free the rules list.
      56913b4b
  12. 15 Nov, 2003 1 commit
    • Hans Breuer's avatar
      updated added all the new tests · 947b32b7
      Hans Breuer authored
      2003-11-15  Hans Breuer  <hans@breuer.org>
      
      	* gdk/makefile.msc gdk/gdk.def
                  gtk/gtk.def gtk/makefile.msc.in : updated
      	* tests/makefile.msc : added all the new tests
      
      	* gtk/gtkfilefilter.c(finalize) : initialize filter
      	from object not from itself
      
      	* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
      	modified as less as posible to have aworking implementation
      	on win32. There maybe the desire to merge the unchanged pats into
      	a common base class.
      	Also implemented a simple glib based bookmark handling, which
      	is currently missing in gtkfilesystemunix.[hc] but can be copied
      	over there.
      	* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
      
      	* gdk/win32/gdkwindow-win32.c : implement
      	gdk_window_set_keep_above() and gdk_window_set_keep_below()
      
      	* tests/testmerge.c : don't include unistd.h unconditionally,
      	#define STDOUT_FILENO if it isn't defined
      
      	* tests/testfilechooser.c : make it compile on win32
      947b32b7
  13. 27 Oct, 2003 1 commit
    • Manish Singh's avatar
      #include <X11/extensions/Xrandr.h> if we have RandR support, for · afad91fe
      Manish Singh authored
      Mon Oct 27 15:47:58 2003  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
              we have RandR support, for XRRUpdateConfiguration declaration.
      
              * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch
              declaration.
      
              * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make
              length a gsize variable, since that's what g_file_get_contents()
              expects.
      afad91fe
  14. 23 Oct, 2003 3 commits
    • Matthias Clasen's avatar
      Add "Since: 2.4" to all API doc comments. · 1dc3b26f
      Matthias Clasen authored
      Thu Oct 23 23:22:15 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilefilter.c:
      	* gtk/gtkfilechooser.c: Add "Since: 2.4" to all API doc comments.
      1dc3b26f
    • Matthias Clasen's avatar
      Move GtkCombo and GtkOptionMenu to the "Deprecated" chapter. Add · 4200df5b
      Matthias Clasen authored
      Thu Oct 23 22:41:02 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtk-docs.sgml: Move GtkCombo and GtkOptionMenu to
      	the "Deprecated" chapter. Add GtkFileChooser, GtkFileChooserDialog,
      	GtkFileChooseWidget and GtkFileFilter.
      
      	* gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.
      4200df5b
    • Owen Taylor's avatar
      gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework · b3bae3b4
      Owen Taylor authored
      Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
              gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
              gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
              Basic framework for the new file selector widget.
      
              * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
              gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
              Initial implementation of the GtkFileChooser user interface.
      
              * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
              for Unix files.
      
              * configure.in gtk/Makefile.am gtk/xdgmime: Build code
              for freedesktop.org MIME system on Unix.
      
              * tests/testfilechooser.c: Test program for GtkFileChooser
      
              * tests/prop-editor.c: Add support for properties on interfaces.
      b3bae3b4
  15. 15 Sep, 2003 1 commit
  16. 23 Jul, 2003 1 commit
    • Owen Taylor's avatar
      File filter objects. · 733f4489
      Owen Taylor authored
      Wed Jul 23 11:23:43 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtkfilefilter.[ch]: File filter objects.
      
              * gtkfilechooser.[ch] gtkfilechooserutils.[ch]: Add
              file filtering to API.
      
              * gtkfilechooserimpldefault.c: Implement file filters.
      
              * testfilechooser.c: Try out the filter functionality.
      
              * gtkfilesystemmodel.c: Add
              _gtk_file_system_model_set_filter() to set a callback
              function for filtering.
      
              * gtkfilechooserutils.c: Propagate property notification
              to the receiver.
      
              * fnmatch.c: Copy this from GTK+ temporarily to get
              UTF-8 pattern matching functionality.
      733f4489