1. 13 Aug, 2015 2 commits
  2. 10 Aug, 2015 1 commit
    • Ray Strode's avatar
      gedit-recent: fix filtering of a filenames that need uri escaping · 2564431e
      Ray Strode authored
      When a user types a filename into the search popover, gedit tries
      to find matches from recently used documents.  It does this by
      returning all recently used documents that have what the user typed
      as a substring of the document uri.
      
      GtkRecentInfo provides two different apis for returning the associated
      uri: gtk_recent_info_get_uri() and gtk_recent_info_get_uri_display().
      The former returns the uri in a canonical representation with non-ascii
      characters escaped using url escaping rules.  The latter returns the
      uri with non-ascii characters unescaped.  GeditRecent uses the
      canonicalized, escaping function, so its substring search fails
      on non-ascii filenames.
      
      This commit changes the code over to use the other variant.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=753481
      2564431e
  3. 26 Jun, 2015 2 commits
  4. 05 Jan, 2015 1 commit
    • Sébastien Lafargue's avatar
      selector: add sources and behaviours. · aa7c9af6
      Sébastien Lafargue authored
      Like in Gedit's quickopen plugin, in addition to recent files,
      some sources for searching files are added :
      
        - home's directory
        - desktop's directory
        - local bookmark directories
        - Gedit file browser directory
        - Gedit's active document directory
        - currently opened documents in the corresponding Gedit's window
      
      The file list shown is always sorted by
      he most recently used files at top.
      
      By default, ie with no text in the search entry,
      the recent files list is shown, limited in size by the Gedit's gsetting:
        path: org.gnome.gedit.preferences.ui and key: max-recents
      
      With text in the search entry, the filtering is done with no limit
      amongst all the sources ( ie the recent files's source is not limited )
      
      Searches are only done in local/native directories, except
      with the recent file list if you have opened distant files.
      
      The treeview is also limited in height by the same max-recents settings:
      the treeview show max-recents entries but no more than ten, the scrollbar
      taking the relay.
      
      You can directly hit enter to validate a file name / uri
      in the search entry. The recognized cases are:
      
        - an uri
        - a local file name:
          the prefix ~/ is replaced by your home's dir if present.
      
      All file's queries for lists's computation are done asynchronously.
      
      You can print debug and timing by setting #if 1 in place of #if 0
      in gedit-open-document-selector-helper.h, then rebuild.
      
      You can get more informations at the top of this file:
      gedit-open-document-selector-store.c
      
      https://bugzilla.gnome.org/show_bug.cgi?id=742280
      aa7c9af6
  5. 15 Oct, 2014 1 commit
  6. 26 Sep, 2014 1 commit
  7. 23 Aug, 2014 2 commits
  8. 09 Jul, 2014 1 commit
  9. 07 Jul, 2014 1 commit
  10. 13 Apr, 2014 1 commit
  11. 12 Apr, 2014 1 commit
    • Paolo Borelli's avatar
      Do not remove missing remote files from the recent list · e2dac347
      Paolo Borelli authored
      Failure to load a remote file is often transient so we prefer
      to keep such file in the recent list even if load/save fails.
      While at it split recent file utils to a separate file: they were
      in window because in the past access to the recent manager required
      a reference to the current screen.
      e2dac347
  12. 07 Aug, 2006 1 commit
  13. 12 Dec, 2005 1 commit
  14. 24 Oct, 2004 1 commit
  15. 10 Apr, 2003 1 commit
    • Paolo Maggi's avatar
      create a non-installed libgedit.a lib (it will be used by the nautilus · be5326e8
      Paolo Maggi authored
      2003-04-09  Paolo Maggi  <paolo.maggi@polito.it>
      
      	* Makefile.am: create a non-installed libgedit.a lib (it will be used
      	 by the nautilus viewer by Jeroen)
      
      	* gedit-prefs-manager-app.[ch]
      	* gedit-prefs-manager-private.h: new files
      
      	* gedit-prefs-manager.[ch]: moved all the functions calling functions
      	outside libgedit.a to gedit-prefs-manager-app.[ch]. Moved the definition
      	of GeditPrefsManager to gedit-prefs-manager-private.h
      
      	* gedit-convert.[ch]: new files
      
      	* gedit-utils.[ch] (gedit_utils_convert_to_utf8)
      	(gedit_utils_convert_to_utf8_from_charset): moved to gedit-convert.[ch]
      
      	* gedit-document.c: include gedit-convert.h and use gedit-prefs-manager-app.h
      	instead of gedit-prefs-manager.h
      
      	* gedit-file.c: include gedit-prefs-manager-app.h instead of gedit-prefs-manager.h
      	(gedit_file_exit): call gedit_prefs_manager_app_shutdown instead of
      	gedit_prefs_manager_shutdown
      
      	* gedit-mdi.c: include gedit-prefs-manager-app.h instead of gedit-prefs-manager.h
      	* gedit-view.c: ditto
      
      	* gedit2.c: include gedit-convert.h and use gedit-prefs-manager-app.h
      	instead of gedit-prefs-manager.h
      	(gedit_handle_automation_cmdline): call gedit_convert_to_utf8 instead of
      	gedit_utils_convert_to_utf8
      	(main): gedit_prefs_manager_app_init instead of gedit_prefs_manager_init
      
      	* dialogs/gedit-preferences-dialog.c: include gedit-prefs-manager-app.h instead
      	of gedit-prefs-manager.h
      
      	* recent-files/egg-recent-model.c: Update to latest libegg recent-files code
      be5326e8
  16. 07 Oct, 2002 1 commit
  17. 27 Sep, 2002 1 commit
    • James Willcox's avatar
      Sync up to latest recent-files code. · 5e960510
      James Willcox authored
      
      
      2002-09-27  James Willcox  <jwillcox@gnome.org>
      
      	Sync up to latest recent-files code.
      
      	* gedit-mdi.c: (gedit_mdi_app_created_handler):  Show icons for the
      	recent files.
      	* gedit-recent.c: (gedit_recent_init):  Adjust for API changes.
      
      	* gnome-recent-marshal.list:  Remove a bunch of cruft
      	* gnome-recent-model.c:
      	* gnome-recent-model.h:
      	* gnome-recent-util.c:
      	* gnome-recent-util.h:
      	* gnome-recent-view-bonobo.c:
      	* gnome-recent-view-bonobo.h:
      	* gnome-recent-view.c:
      	* gnome-recent-view.h:
      5e960510
  18. 16 Sep, 2002 1 commit
    • James Willcox's avatar
      Add src/recent-files/Makefile.am to AC_OUTPUT · 227f494e
      James Willcox authored
      
      
      2002-09-16  James Willcox  <jwillcox@gnome.org>
      
      	* configure.in:  Add src/recent-files/Makefile.am to AC_OUTPUT
      
      2002-09-16  James Willcox  <jwillcox@gnome.org>
      
      	Converted to recent-files stuff from libegg
      
      	* Makefile.am:
      	* dialogs/gedit-dialog-uri.c:
      	* gedit-file.c: (gedit_file_open_real), (gedit_file_save),
      	(gedit_file_save_as_real), (gedit_file_open_recent):
      	* gedit-file.h:
      	* gedit-mdi.c: (gedit_mdi_app_created_handler),
      	(gedit_mdi_get_recent_view_from_window):
      	* gedit-mdi.h:
      	* gedit-recent.c: (gedit_recent_init):
      	* gedit-recent.h:
      	* recent-files/*.[ch]:  New stuff, recent-files code from libegg
      227f494e
  19. 04 Jul, 2002 1 commit
  20. 29 Apr, 2002 1 commit
    • James Willcox's avatar
      Added a bunch of new stuff for gnome-recent (recent files code) All new · 3e5ecece
      James Willcox authored
      
      2002-04-29  James Willcox  <jwillcox@cs.indiana.edu>
      
              * Makefile.am:  Added a bunch of new stuff for gnome-recent (recent
              files code)
              * gnome-recent-model.[ch], gnome-recent-view.[ch],
              gnome-recent-view-bonobo.[ch], gnome-recent-util.[ch],
              gnome-recent-marshal.list:
              All new files, replaces the old recent files system with a new
              model-view system.
              * gedit-file.c (gedit_file_open_recent):  Small changes to cope with
              gnome-recent stuff
              * gedit-mdi.c: ditto
              * gedit-recent.[ch]:  Essentially, these are new, even though they
              existed before.  This is just an accessor for the gnome-recent
              model now.
      
              All of this stuff should fix bug #76641 (problems when FAM isn't
              available).
      3e5ecece
  21. 06 Mar, 2002 1 commit
    • Paolo Maggi's avatar
      bump version to 1.115.0 · 49b95311
      Paolo Maggi authored
      2002-03-06  Paolo Maggi  <maggi@athena.polito.it>
      
      	* configure.in: bump version to 1.115.0
      
      	* gedit.schemas: added max-recents key
      
      2002-03-06  Paolo Maggi  <maggi@athena.polito.it>
      
      	* gedit-prefs.[ch]: added new max_recents pref
      
      	* gedit-mdi.c (gedit_mdi_app_created_handler):
      	use gedit_setting->max_recent
      
      	*gedit-recent.c:
      	#define GEDIT_RECENT_BASE_KEY "/apps/gedit-2/recent-files"
      49b95311
  22. 04 Mar, 2002 3 commits
  23. 01 Mar, 2002 1 commit
  24. 28 Feb, 2002 1 commit
    • Paolo Maggi's avatar
      removed requires lib="gnome" · c7478bc1
      Paolo Maggi authored
      
      2002-02-28  Paolo Maggi  <maggi@athena.polito.it>
      
      	* dialogs/replace.glade2: removed requires lib="gnome"
      
      	* gedit-utils.c: fixed bug #72953
      
      	* gedit-undo-manager.c: mem leak fixed
      c7478bc1
  25. 27 Feb, 2002 2 commits
  26. 26 Feb, 2002 1 commit
  27. 21 Feb, 2002 1 commit
  28. 06 Feb, 2002 1 commit
  29. 05 Feb, 2002 1 commit
  30. 11 Jan, 2002 2 commits
    • Paolo Maggi's avatar
      added flags gedit_close_x_button_pressed and gedit_exit_button_pressed · a24e7255
      Paolo Maggi authored
      2002-01-11  Paolo Maggi  <maggi@athena.polito.it>
      
      	* gedit2.[ch]: added flags gedit_close_x_button_pressed and
      	gedit_exit_button_pressed
      
      	* gedit-commands.c (gedit_cmd_file_close): update
      	gedit_close_x_button_pressed
      	(gedit_cmd_file_close_all): ditto
      	(gedit_cmd_file_exit): update gedit_exit_button_pressed
      
      	* gedit-utils.[ch] (gedit_dialog_add_button): new function
      
      	* gedit-file-selector-util.c (replace_existing_file): use new
      	gedit_dialog_add_button function
      
      	* gedit-prefs.h: cleaned
      
      	* gedit-recent.c: renamed some functions (now all the function
      	as the gedit prefix)
      
      	* gedit-file.c: finished porting to the new gedit-file-selector API
      	(gedit_file_save_as_real): new function
      	(gedit_file_save_as_ok_button_clicked_handler): call
      	gedit_file_save_as_real
      a24e7255
    • Jason Leach's avatar
      [Use gconf to store recent documents opened] · 7fd8c857
      Jason Leach authored
      2002-01-10  Jason Leach  <jasonleach@usa.net>
      
      	[Use gconf to store recent documents opened]
      
      	* gedit-recent.c (gedit_recent_history_save): Renamed from
      	gedit_recent_history_write_config.
      
      	* gedit-recent.c (recent_history_get_list): Use gconf in place of
      	gnome_config.
      	(recent_history_update_list): Ditto.
      7fd8c857
  31. 19 Nov, 2001 1 commit
    • Paolo Maggi's avatar
      doesn't use GTK_OBJECT_DESTROYED anymore · 54e69c56
      Paolo Maggi authored
      2001-11-19  Paolo Maggi   <maggi@athena.polito.it>
      
      	* bonobo-mdi.c: (bonobo_mdi_destroy) doesn't use GTK_OBJECT_DESTROYED anymore
      
      	* gedit-document.[ch] (gedit_document_load_from_stdin): new function
      	(gedit_document_begin_not_undoable_action): ditto
      	(gedit_document_end_not_undoable_action): ditto
      
      	* gedit-file.[ch] (gedit_file_open_from_stdin): new function
      
      	* gedit-recent.c (gedit_recent_cb): check if active_child != NULL before
      	casting to GEDIT_MDI_CHILD
      
      	* gedit2.c (gedit_load_file_list): now calls gedit_file_open_from_stdin (NULL)
      54e69c56
  32. 16 Nov, 2001 1 commit
    • Carlos Perell Marn's avatar
      Added support to AM_GLIB_GNU_GETTEXT Fixed the gnome-vfs-helpers.h · 306bf036
      Carlos Perell Marn authored
      2001-11-16  Carlos Perell Marn <carlos@gnome-db.org>
      
              * gedit2.c: Added support to AM_GLIB_GNU_GETTEXT
              * gedit-recent.c, gedit-utils.c, gedit-document.c, gedit-file.c:
              Fixed the gnome-vfs-helpers.h include.
      
      2001-11-16  Carlos Perell Marn <carlos@gnome-db.org>
      
              * POTFILES.in: Updated.
      
      2001-11-16  Carlos Perell Marn <carlos@gnome-db.org>
      
              * Makefile.am, configure.in: Migrated from xml-i18n-tools to intltool
              and added support to AM_GLIB_GNU_GETTEXT
              * acconfig.h: Added GETTEXT_PACKAGE
      
      2001-11-16  Paolo Maggi   <maggi@athena.polito.it>
      
              * Started the port to GNOME 2.0
      
      2001-11-16  Carlos Perell Marn <carlos@gnome-db.org>
      
              * ChangeLog: rolled over to ChangeLog-20011116.
      306bf036