1. 30 May, 2004 1 commit
  2. 29 May, 2004 2 commits
  3. 28 May, 2004 10 commits
  4. 27 May, 2004 1 commit
    • Daniel Elstner's avatar
      On failure, don't fall back to the locale encoding anymore but straight to · 5052d823
      Daniel Elstner authored
      * src/stringutils.cc (filename_to_utf8_fallback): On failure,
      don't fall back to the locale encoding anymore but straight to
      plain ASCII.  Thus from now on, this function will never throw
      for errors of type ConvertError::ILLEGAL_SEQUENCE.  Also cover
      the new G_FILENAME_ENCODING variable in the warning message.
      
      * src/filetree.cc (FileTree::find_files): Remove the explicit
      handling of Glib::ConvertError.
      5052d823
  5. 26 May, 2004 2 commits
  6. 25 May, 2004 5 commits
  7. 24 May, 2004 1 commit
  8. 22 May, 2004 1 commit
  9. 21 May, 2004 7 commits
    • Daniel Elstner's avatar
      :on_find_files): Minor coding style modifications. · e6320816
      Daniel Elstner authored
      * src/mainwindow.cc (MainWindow::on_find_files): Minor coding style
      modifications.
      e6320816
    • Daniel Elstner's avatar
      :on_select_folder): Simplify the code: with the new FileChooser we no · 25673c7e
      Daniel Elstner authored
      * src/mainwindow.cc (MainWindow::on_select_folder): Simplify the
      code: with the new FileChooser we no longer have to handle the case
      of selecting a file instead of a directory.
      25673c7e
    • Daniel Elstner's avatar
      New exception class. · 981ba25d
      Daniel Elstner authored
      * src/fileio.h (ErrorBinaryFile): New exception class.
      
      * src/fileio.cc (load_iochannel): Throw ErrorBinaryFile if the
      input stream contains '\0' bytes, rather than just returning a
      null pointer.
      (load_file): Throw ErrorBinaryFile if the file could not be
      loaded in either of the specified encodings.
      
      * src/filetree.cc (FileTree::load_file_with_fallback): Handle
      the ErrorBinaryFile exception.
      981ba25d
    • Daniel Elstner's avatar
      :replace_all_matches): Substitute Gtk::TreeIter with · 30dce6a1
      Daniel Elstner authored
      * src/filetree.cc (FileTree::replace_all_matches): Substitute
      Gtk::TreeIter with Gtk::TreeModel::iterator for consistency.
      30dce6a1
    • Daniel Elstner's avatar
      [ Fix accidental ChangeLog omission ] · 5782d835
      Daniel Elstner authored
      * src/filetree.cc: Replace a couple of explicit TreePath(iter)
      conversions by simple assignments.
      (FileTree::replace_all_matches): Make sure path_match_first_
      points to the first file that still has matches after a replace
      operation was interrupted.
      (FileTree::replace_matches_at_iter): Remove the assertion that
      FileBuffer::get_match_count() must return 0 after returning from
      FileBuffer::replace_all_matches(), because the operation might
      have been interrupted.
      5782d835
    • Daniel Elstner's avatar
      :do_undo): Don't create a temporary copy of the pulse slot since · a4757740
      Daniel Elstner authored
      * src/undostack.cc (UndoStack::do_undo): Don't create a temporary
      copy of the pulse slot since libsigc++2 allows calling const slots.
      a4757740
    • Daniel Elstner's avatar
      :replace_all_matches): Make sure path_match_first_ points to the first · f16081e8
      Daniel Elstner authored
      * src/filetree.cc (FileTree::replace_all_matches): Make sure
      path_match_first_ points to the first file that still has matches
      after a replace operation was interrupted.
      f16081e8
  10. 20 May, 2004 4 commits
  11. 19 May, 2004 6 commits