1. 02 Nov, 2004 8 commits
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      * fileio.c (Fread_file_name): Pass Qt as fifth parameter to · f9d64bb3
      Jan Djärv authored
      Fx_file_dialog if only directories should be read.
      * lisp.h: Fx_file_dialog takes 5 parameters.
      * xfns.c (Fx_file_dialog): Both Motif and GTK version:  Add
      parameter only_dir_p.
      In Motif version, don't put DEFAULT_FILENAME in filter part of the
      dialog, just text field part.  Do not add DEFAULT_FILENAME
      to list of files if it isn't there.
      In GTK version, pass only_dir_p parameter to xg_get_file_name.
      * macfns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
      only_dir_p instead of comparing prompt to "Dired".  When using
      a save dialog, add option kNavDontConfirmReplacement, change title
      to "Enter name", change text for save button to "Ok".
      * w32fns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
      only_dir_p instead of comparing prompt to "Dired".
      * gtkutil.c (xg_get_file_with_chooser)
      (xg_get_file_with_selection): New functions, only defined ifdef
      (xg_get_file_name): Add parameter only_dir_p.
      Call xg_get_file_with_chooser or xg_get_file_with_selection
      depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
      (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.
      * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
    • Jan Djärv's avatar
      * files.el (find-file-existing): New function. · 46bfc73b
      Jan Djärv authored
      * menu-bar.el (menu-bar-files-menu): Make "Open File..." call
      find-file-existing.  Add "New File..." that calls find-file.
      * dired.el (dired-read-dir-and-switches): Call read-driectory-name
      instead of read-file-name.
    • Jan Djärv's avatar
      * toolbar/tool-bar.el (tool-bar-setup): Tool bar item dired uses · 95ec60bc
      Jan Djärv authored
        icon diropen.  New tool bar item find-file-existing uses icon open.
      * diropen.pbm diropen.xpm: New files.
    • Jan Djärv's avatar
      * config.in: Rebuild (added HAVE_GTK_FILE_*). · 2a00cdb4
      Jan Djärv authored
    • Jan Djärv's avatar
      * configure.in (HAVE_GTK_FILE_CHOOSER, $HAVE_GTK_FILE_SELECTION): New · 572a3cc2
      Jan Djärv authored
      tests for new and old GTK file dialogs.
      * configure: Rebuild
    • Glenn Morris's avatar
      *** empty log message *** · fba8240f
      Glenn Morris authored
    • Glenn Morris's avatar
      From Ulf Jasper <ulf.jasper@web.de>: · 81d56594
      Glenn Morris authored
      (icalendar-version): Increase to 0.08.
      (icalendar--split-value): Change name of work buffer.
      (icalendar--get-weekday-abbrev): Return nil on error.
      (icalendar--date-to-isodate): New function.
      (icalendar-extract-ical-from-buffer): Use only two args for
      make-obsolete (XEmacs compatibility).
      (icalendar-export-file, icalendar-import-file): Blank at end of prompt.
      (icalendar-export-region): Doc fix.  If error, return non-nil
      and write errors to buffer ` *icalendar-errors*'.  Use correct weekday
      for weekly recurring events.  Check whether date has been parsed for
      ordinary events.  Make weekly events start in the year 2000.  DTEND is
      non-inclusive, shift end date by one day if necessary (not for entries
      that have date and time).  Rename local let variables: oops ->
      found-error, datestring -> startdatestring.
  2. 01 Nov, 2004 32 commits