1. 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
  2. 20 May, 2004 4 commits
  3. 19 May, 2004 7 commits
    • Gareth Owen's avatar
      Updated British English translation · 08996088
      Gareth Owen authored
      08996088
    • Daniel Elstner's avatar
      Synchronize with source tree. · 35f6063b
      Daniel Elstner authored
      * *.po: Synchronize with source tree.
      
      * de.po: Update translation and add credits.
      * en.po: ditto.
      35f6063b
    • 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
    • Miloslav Trmac's avatar
      Updated Czech translation. · 4da6c6e9
      Miloslav Trmac authored
      2004-05-19  Miloslav Trmac  <mitr@volny.cz>
      
      	* cs.po: Updated Czech translation.
      4da6c6e9
    • 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
  4. 18 May, 2004 8 commits
  5. 17 May, 2004 14 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
    • Duarte Loreto's avatar
      Added Portuguese translation. Added Portuguese (pt). · 937bb85a
      Duarte Loreto authored
      2004-05-17  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Added Portuguese translation.
      	* LINGUAS: Added Portuguese (pt).
      937bb85a
    • 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
    • Daniel Elstner's avatar
      Fix an older ChangeLog entry. · f29d2ac4
      Daniel Elstner authored
      f29d2ac4
    • Daniel Elstner's avatar
      Remove config.rpath because automake distributes this file automatically. · f8acb853
      Daniel Elstner authored
      * Makefile.am (dist_noinst_SCRIPTS): Remove config.rpath because
      automake distributes this file automatically.  List intltool-*.in
      files in the separate variable dist_intltool.
      (dist_noinst_DATA): List all *.m4 files in the separate variable
      dist_macros.  Move $(dist_intltool) from dist_noinst_SCRIPTS here
      because the .in files aren't scripts.
      f8acb853
    • Daniel Elstner's avatar
      Translate new desktop file strings. ditto. · bd232ad7
      Daniel Elstner authored
      * de.po: Translate new desktop file strings.
      * en.po: ditto.
      bd232ad7
    • Daniel Elstner's avatar
      Use _Name to make it translatable, and change the string to "regexxer · e5028e3b
      Daniel Elstner authored
      * regexxer.desktop (Name): Use _Name to make it translatable, and
      change the string to "regexxer Search Tool".  Idea from Dag Wieers.
      e5028e3b
    • Daniel Elstner's avatar
      Sync. · accb3276
      Daniel Elstner authored
      accb3276
    • Daniel Elstner's avatar
      Mark all const_cast<> work-arounds for the Gtk::TextIter API bug with // · 2c7cfd85
      Daniel Elstner authored
      * src/filebuffer.cc: Mark all const_cast<> work-arounds for the
      Gtk::TextIter API bug with // XXX comments.
      (FileBuffer::get_match_index): Get rid of libstdc++-v2 work-around.
      
      * src/filebuffer.h (FileBuffer): Get rid of the friend declarations
      that were added to work around a GCC 2.95 deficiency.
      * src/filetree.h (FileTree): ditto
      * src/mainwindow.h (MainWindow): ditto.
      2c7cfd85
    • Daniel Elstner's avatar
      Simplify. Since regexxer.schemas is now a generated file it is always · ee38f241
      Daniel Elstner authored
      * Makefile.am (install-schemas): Simplify.  Since regexxer.schemas
      is now a generated file it is always placed in the build directory.
      (uninstall-schemas): Likewise.  Also add $(schemas_DATA) to the
      prerequisites so that the rule will work with a clean tree.  Having
      make uninstall generate files is a little awkward, but I cannot see
      a way around that :/
      ee38f241
    • Daniel Elstner's avatar
      16): Fix translation. · 4989412c
      Daniel Elstner authored
      * de.po (ui/prefdialog.glade.h:16): Fix translation.
      4989412c
    • Daniel Elstner's avatar
      List build-time generated files $(desktop_DATA) and $(schemas_DATA). · 4506fc1d
      Daniel Elstner authored
      * Makefile.am (CLEANFILES): List build-time generated files
      $(desktop_DATA) and $(schemas_DATA).
      (DISTCLEANFILES): List configure-time generated files
      intltool-extract, intltool-merge and intltool-update.
      4506fc1d
    • Daniel Elstner's avatar
      Remove file from the repository because autogen.sh now executes · e57ee58b
      Daniel Elstner authored
      * Makefile.in.in: Remove file from the repository because
      autogen.sh now executes glib-gettextize.
      
      * POTFILES.in: Add regexxer.desktop.in and regexxer.schemas.in
      in order to make intltool merge translatable messages from these
      files into regexxer.pot.
      
      * de.po: Translate the new strings merged by intltool.
      * en.po: ditto.
      e57ee58b
    • Daniel Elstner's avatar
      Execute glib-gettextize and intltoolize. · 4be333e4
      Daniel Elstner authored
      * autogen.sh: Execute glib-gettextize and intltoolize.
      
      * configure.ac: Call AC_PROG_INTLTOOL().  Assign ALL_LINGUAS and
      GETTEXT_PACKAGE, and do an AC_SUBST() of the latter.
      (AM_GNU_GETTEXT): Use AM_GLIB_GNU_GETTEXT() instead.
      
      * Makefile.am (dist_desktop_DATA): Remove the dist_ prefix,
      introduce desktop_in_files, and add the @INTLTOOL_DESKTOP_RULE@
      substitution in order to make regexxer intltool-aware.
      (dist_schema_DATA): Likewise for the GConf schemas file.
      (dist_noinst_SCRIPTS): Add intltool-extract.in, intltool-merge.in
      and intltool-update.in.
      
      * regexxer.desktop: Rename to regexxer.desktop.in, use _Comment
      instead of Comment, and remove the manually inserted de and dk
      translations.
      
      * regexxer.schemas: Rename to regexxer.schemas.in.
      4be333e4