1. 30 May, 2004 1 commit
  2. 29 May, 2004 1 commit
  3. 28 May, 2004 9 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. 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
  8. 20 May, 2004 3 commits
  9. 19 May, 2004 4 commits
    • Daniel Elstner's avatar
      Remove. The Debian package of regexxer is not the only one out there, and · 0dc10866
      Daniel Elstner authored
      * ui/aboutdialog.glade (label_debian_*): Remove.  The Debian
      package of regexxer is not the only one out there, and I cannot
      list all of them in the about dialog.  Sorry Ross :/
      (label_translator_{what,who}): Give credit to the translator(s)
      for the user's locale as listed in the translation of the string
      "translator-credits".
      (label_url): Get rid of the custom SelectableLabel widget class.
      The only feature provided by the custom widget was tab-navigation
      to labels -- I figured one can simply use C-Tab to do just that.
      (label_author_who): ditto
      (label_translator_who): ditto.
      
      * src/aboutdialog.cc (SelectableLabel): Remove custom widget.
      (AboutDialog::create): Acommodate to glade file modifications.
      0dc10866
    • Daniel Elstner's avatar
      No need to explicitely specify $(top_srcdir)/ in the directory name · 903a2bee
      Daniel Elstner authored
      * Makefile.am (ACLOCAL_AMFLAGS): No need to explicitely specify
      $(top_srcdir)/ in the directory name because the aclocal rule
      changes to that directory anyway.  This also avoids confusing
      recent releases of gettextize.
      903a2bee
    • Daniel Elstner's avatar
      AC_SUBST() this variable with '$(top_srcdir)/po/LINGUAS' for utmost · d78dd953
      Daniel Elstner authored
      * configure.ac (CONFIG_STATUS_DEPENDENCIES): AC_SUBST() this
      variable with '$(top_srcdir)/po/LINGUAS' for utmost perfection ;-)
      d78dd953
    • Daniel Elstner's avatar
      Make glade-2 replace its old-style magic "class names" with proper · adcc91c8
      Daniel Elstner authored
      * ui/mainwindow.glade (toolbar): Make glade-2 replace its old-style
      magic "class names" with proper GtkToolItem and derivated elements.
      Note that you'll need to apply the patch for #142761 in order to
      make changing the toolbar style at runtime work.
      (combo_pattern): Replace deprecated GtkCombo with GtkComboBoxEntry.
      
      * src/controller.cc (ControlItem::add_widgets): Allow for both
      Gtk::ToolButton and Gtk::Button widgets, and detect at runtime
      which type to use.
      
      * src/mainwindow.cc (MainWindow::load_xml): Due to #142755, we
      currently have to use get_child() on combo_pattern to gain access
      to the entry widget.  Also, a hack was necessary to attach the
      tooltip to the entry without instantiating another Gtk::Tooltips
      object.
      
      * src/mainwindow.h: Remove a couple of unused forward declarations.
      adcc91c8
  10. 18 May, 2004 5 commits
    • Daniel Elstner's avatar
      :on_response): Invoke Gtk::Widget::activate() instead of directly calling · a63a14af
      Daniel Elstner authored
      * src/prefdialog.cc (PrefDialog::on_response): Invoke
      Gtk::Widget::activate() instead of directly calling the handler
      on_entry_fallback_activate().  Dunno why I didn't see this before.
      a63a14af
    • Daniel Elstner's avatar
      Return -1 rather than 0 on failure. · 5673b906
      Daniel Elstner authored
      * src/prefdialog.cc (get_toolbar_style_index): Return -1 rather
      than 0 on failure.
      5673b906
    • Daniel Elstner's avatar
      Replace custom font selection button with the new GtkFontButton. · c1545074
      Daniel Elstner authored
      * ui/prefdialog.glade (button_textview_font): Replace custom font
      selection button with the new GtkFontButton.
      (button_match_color): Replace custom color selection button with
      the new GtkColorButton.
      (button_current_color): ditto.
      (combo_toolbar_style): Rename from option_toolbar_style.  Use the
      new GtkComboBox widget instead of GtkOptionMenu.
      
      * src/prefdialog.{cc,h} (FontSelectionButton): Remove.
      (ColorSelectionButton): Remove.
      (PrefDialog): Accomodate to changes in the glade file.
      (on_textview_font_set): Rename from on_textview_font_selected().
      (on_match_color_set): Rename from on_match_color_selected().
      (on_current_color_set): Rename from on_current_color_selected().
      c1545074
    • Daniel Elstner's avatar
      :load_xml): Make the folder button grab focus because otherwise the · bd36e3cb
      Daniel Elstner authored
      * src/mainwindow.cc (MainWindow::load_xml): Make the folder button
      grab focus because otherwise the Preferences tool button will be
      focused after startup.  I blame libglade -- its whole tool button
      handling seems to be somewhat shaky.
      bd36e3cb
    • Daniel Elstner's avatar
      Use `cat "$srcdir/po/LINGUAS"` to assign this variable, so that there is · 700c7f23
      Daniel Elstner authored
      * configure.ac (ALL_LINGUAS): Use `cat "$srcdir/po/LINGUAS"` to
      assign this variable, so that there is only one file to edit when
      adding a new language.
      700c7f23
  11. 17 May, 2004 2 commits
    • Duarte Loreto's avatar
      Added Portuguese (pt) to ALL_LINGUAS. · bafc6314
      Duarte Loreto authored
      2004-05-17  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
      bafc6314
    • Christian Rose's avatar
      Added "sv" to ALL_LINGUAS. Added an incomplete Swedish translation. Added · e0c128e9
      Christian Rose authored
      2004-05-17  Christian Rose  <menthos@menthos.com>
      
      	* configure.ac: Added "sv" to ALL_LINGUAS.
      	* po/sv.po: Added an incomplete Swedish translation.
      	* po/LINGUAS: Added "sv".
      	* po/Rules-quot, po/boldquot.sed, po/en@boldquot.header,
      	po/en@quot.header, po/insert-header.sin, po/quot.sed,
      	po/remove-potcdate.sin: Removed this cruft.
      	* po/.cvsignore: Added more appropriate contents.
      e0c128e9