summaryrefslogtreecommitdiff
path: root/gtk/gtksearchenginesimple.c
Commit message (Collapse)AuthorAgeFilesLines
* gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.cMichael Natterer2008-03-141-2/+0
| | | | | | | | | | | | | | | 2008-03-14 Michael Natterer <mitch@imendio.com> * gdk/gdkspawn.h * gtk/gtkbuilderprivate.h * gtk/gtkfilechoosersettings.c * gtk/gtksearchenginesimple.c * gtk/tests/liststore.c * gtk/tests/treestore.c: remove single-file includes of GLib headers or replace them by <glib.h> where needed. svn path=/trunk/; revision=19877
* Fixes for bug #480123.Emmanuele Bassi2007-09-251-12/+19
| | | | | | | | | | | | | | | | | 2007-09-25 Emmanuele Bassi <ebassi@gnome.org> Fixes for bug #480123. * gtk/gtksearchenginesimple.c: (gtk_search_engine_simple_dispose), (search_thread_done_idle): Cancel the file tree walking thread when disposing the search engine implementation. * gtk/gtkfilechooserdefault.c (search_stop_searching): Forcibly stop the search engine implementation when stopping the search, instead of just unreffing the object. svn path=/trunk/; revision=18865
* Make it compileMatthias Clasen2007-07-091-2/+2
| | | | svn path=/trunk/; revision=18414
* Address some thread-safety issues. (#452598)Matthias Clasen2007-07-091-4/+5
| | | | | | | | | | 2007-07-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtksearchenginesimple.c: Address some thread-safety issues. (#452598) svn path=/trunk/; revision=18413
* Remove the MIME type calls and queries from the search engineEmmanuele Bassi2007-06-221-25/+1
| | | | | | | | | | | | | | 2007-06-22 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtksearchenginebeagle.c: * gtk/gtksearchenginesimple.c: * gtk/gtksearchenginetracker.c: Remove the MIME type calls and queries from the search engine implementations, since we use our own GtkFileSystem to filter out basing on MIME types and we cannot query MIME types anyway. The GtkQuery private object still has MIME type, as well as location, support for future expansion. svn path=/trunk/; revision=18219
* Define GNU libc symbols unconditionallyEmmanuele Bassi2007-06-101-2/+5
| | | | | | | | | Unconditionally define _GNU_SOURCE and XOPEN_SOURCE, in order to make the simple search engine backend build on really ancient GNU libc (see bug 444097), which have ftw.h but need those symbols defined even to export a POSIX-like ftw() and friends. svn path=/trunk/; revision=18096
* Add check for GNU extensions to ftw()/nftw().Emmanuele Bassi2007-05-141-8/+23
| | | | | | | | | | | | 2007-05-14 Emmanuele Bassi <ebassi@gnome.org> * configure.in: Add check for GNU extensions to ftw()/nftw(). * gtk/gtksearchenginesimple.c: Fix compilation on systems with only POSIX-compliant ftw(). (#435797, based on a patch by Richard Hult) svn path=/trunk/; revision=17844
* Include <ftw.h> and use nftw() and all the symbols defined in <ftw.h>Emmanuele Bassi2007-05-131-6/+14
| | | | | | | | | 2007-05-13 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and all the symbols defined in <ftw.h> conditionally. svn path=/trunk/; revision=17836
* Assume Posix nftw behaviourMatthias Clasen2007-05-101-5/+3
| | | | svn path=/trunk/; revision=17812
* Remove spurious g_free() call.Emmanuele Bassi2007-05-031-2/+0
| | | | | | | | | 2007-05-03 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove spurious g_free() call. svn path=/trunk/; revision=17786
* Add search file support in the GtkFileChooser. Original patch by FedericoEmmanuele Bassi2007-05-021-0/+378
2007-05-02 Emmanuele Bassi <ebassi@gnome.org> Add search file support in the GtkFileChooser. Original patch by Federico Mena Quintero; patch updated by Matthias Clasen. See bug #344785. * gtk/gtksearchengine.[ch]: Private search engine abstraction object. * gtk/gtksearchenginebeagle.[ch]: Private search engine implementation using libbeagle (via g_module_open()). * gtk/gtksearchenginesimple.[ch]: Private search engine implementation using file tree walking. * gtk/gtksearchenginetracker.[ch]: Private earch engine implementation using libtracker (via g_module_open()). * gtk/gtkquery.[ch]: Private query object for the search engines. * gtk/gtkfilechooserprivate.h: * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to query a search engine backend using GtkQuery; create a new operating mode, OPERATION_MODE_SEARCH, and call the common operating mode OPERATION_MODE_BROWSE; add support for virtual shortcuts inside the shortcuts model and create a new "Search" virtual shortcut. * gtk/Makefile.am: Update the build with the new files svn path=/trunk/; revision=17783