2011-10-06 Fabien Parent Update NEWS 2011-10-06 Fabien Parent Create tar.xz instead of tar.bz2 2011-10-06 Fabien Parent Adding myself to the authors 2011-09-19 Joe Hansen Updated Danish translation 2011-09-15 dmustieles Updated Spanish translation 2011-08-31 Мирослав Николић Updated Serbian translation 2011-07-31 Fabien Parent Apply GNOME 3 toolbar style 2011-07-31 Bruno Brouard Updated French translation 2011-07-16 Fabien Parent Check for null pointer when scrolling. 2011-07-16 Fabien Parent Fix the scrolling when working on big files 2011-06-22 Murray Cumming Disable long-long warnings because glib headers trigger them. Also no longer disable no-virtual-dtors, because that gconfmm bug has long since been fixed. 2011-06-22 Murray Cumming Adapt to gtksourceviewmm API changes. The classes no longer have the Source prefix. 2011-06-22 Murray Cumming Adapt to (pre-3.0) gtkmm API changes. And therefore also require a newer gtkmm-3.0. 2011-05-09 Yuri Myasoedov Updated Russian translation 2011-04-26 Peter Mráz Added Slovak translation 2011-04-12 du baodao Initial Simplified Chinese translaton 2011-04-07 Mario Blättermann [l10n] Updated German translation 2011-04-01 Joe Hansen Updated Danish translation 2011-03-26 Marek Černocký Updated Czech translation 2011-03-21 Matej Urbančič Updated Slovenian translation 2011-03-21 Daniel Mustieles Updated Spanish translation 2011-03-20 Fabien Parent Fix typo. 2011-03-19 Claude Paroz Updated French translation 2011-03-17 Mario Blättermann [l10n] Updated German translation 2011-03-15 Matej Urbančič Updated Slovenian translation 2011-03-14 Marco Biscaro Updated Brazilian Portuguese translation 2011-03-12 Marek Černocký Updated Czech translation 2011-03-09 Daniel Mustieles Updated Spanish translation 2011-03-09 Daniel Mustieles Updated Spanish translation 2011-03-06 Daniel Nylander Updated Swedish translation 2011-03-06 Fabien Parent Add gsettings key to configure the textview. 2011-03-06 Fabien Parent Add a tooltip. Re-add a tooltip on the replace entry which has disappeared in the GtkBuilder port. 2011-03-01 Fabien Parent Update the NEWS file. 2011-02-27 Daniel Nylander Updated Swedish translation 2011-02-27 Mario Blättermann [l10n] Updated German translation 2011-02-26 Daniel Mustieles Updated Spanish translation 2011-02-25 Matej Urbančič Updated Slovenian translation 2011-02-24 Fabien Parent Port to Gtkmm 3.0 and gtksourceviewmm 3.0 2011-02-22 Marek Černocký Updated Czech translation 2011-02-20 Fabien Parent Move pre-defined file patterns into gsettings. This way the user can edit the pattern via gconf if wanted. Changes description of regex-patterns and substituion-patterns. 2011-02-20 Fabien Parent Fix the localization + add the gsettings schema to the localization 2011-02-20 Fabien Parent Fix #3018653 - Remember the window position, size, and state. 2011-02-20 Fabien Parent Fix gsettings description strings. 2011-02-19 Fabien Parent Rename schema and path to org.regexxer and /apps/regexxer 2011-02-19 Fabien Parent Remove a std::cout used to debug the gsettings migration. 2011-02-19 Fabien Parent Migration from GConf to GSettings. 2011-01-03 Fabien Parent Remove the dependency to libpcre. 2010-12-01 Mateus Zenaide Updated Brazilian Portuguese translation 2010-10-24 Joe Hansen Updated Danish translation 2010-09-19 Joe Hansen Updated Danish translation 2010-09-19 Kenneth Nielsen Added da to list of languages 2010-04-25 Fabien Parent Update the version of gtksourceviewmm required to 2.9.0. 2010-04-25 Fabien Parent Revert the commit '1e61b5acbca8c229b862cbda10d7ee2eccf05fe5' for usability issues. The file pattern entry doesn't show the last 10 pattern used anymore. We are back to the previous behavior which is to show a predefined list of pattern. 2010-04-18 Olav Vitters Fix doap file 2010-03-21 Inaki Larranaga Murgoitio Updated Basque language 2010-03-13 Fran Diéguez Add Galician translation 2010-03-13 Bruno Brouard Updated French translation 2010-02-28 Marek Černocký Update Czech translation 2010-02-25 Mario Blättermann Updated German translation 2010-02-25 Gabor Kelemen Updated Hungarian translation 2010-02-25 Gabor Kelemen Updated Hungarian translation 2010-02-24 Jorge González Updated Spanish translation 2010-02-24 Matej Urbančič Updated Slovenian translation 2010-02-24 Gabor Kelemen Mark some strings for translation 2010-02-24 Gabor Kelemen Add gettext/glade type to ui files 2010-01-22 Gabor Kelemen Updated Hungarian translation 2009-12-17 Matej Urbančič Updated Slovenian translation 2009-11-23 Rodolfo Ribeiro Gomes Updated Brazilian Portuguese translation; reviewed by Vladimir Melo. 2009-11-12 Marek Černocký Update Czech translation 2009-10-28 Daniel Nylander Updated Swedish translation 2009-10-28 Jorge González Updated Spanish translation 2009-10-03 Mario Blättermann Updated German translation, fixed filenames in POTFILES.in 2009-09-24 Fabien Parent fix the CTRL+Z on a just opened buffer. 2009-09-24 Fabien Parent Completion of all entries (files, regex, substitution) with the last 10 used. 2009-09-22 Fabien Parent Fix the lost of tooltips due to the moving to gtkbuilder. 2009-09-21 Fabien Parent Add syntax highlighting with gtksourceviewmm 2009-09-21 Fabien Parent check for gtk+ >= 2.16 (required for handle menubar in gtkbuilder). add gtksourceviewmm as a required dependency. 2009-09-21 Fabien Parent Set the scrollbar policy to automatic for ScrolledWindow of the filetree and the textview to remove the ugly scrollbar when it's not necessary. 2009-09-21 Fabien Parent Remove the Gconf key for toolbar style. 2009-09-21 Fabien Parent Remove the custom toolbar preferences. We now have the same toolbar style as the system toolbar style. 2009-09-21 Fabien Parent Remove dependencies libglade and gmodule. Using of GtkBuilder instead. 2009-09-21 Fabien Parent Change the file menu item from 'regexxer-save-all' to something more readable: 'Save all'. 2009-09-21 Fabien Parent Fix copy/paste on the textview. 2009-09-09 Daniel Elstner Bump version and generate ChangeLog on make dist * ChangeLog: Insert note saying that the file is now auto-generated. * Makefile.am (dist-changelog): New rule to generate the distributed ChangeLog file. Hook up to dist-hook. * configure.ac (AC_INIT): Increment version to regexxer 0.10. (AC_PREREQ): Require Autoconf >= 2.59. (AM_INIT_AUTOMAKE): Require Automake >= 1.9. Use dist-bzip2 option. * NEWS: Start news entry for regexxer 0.10 release. * autogen.sh: Pass --verbose option to autoreconf. 2009-09-09 Daniel Elstner Fabien Parent is the new maintainer of regexxer * regexxer.doap (maintainer): Insert Fabien Parent at the top of the maintainers list. * MAINTAINERS: Delete obsolete file. 2009-08-15 Gabor Kelemen Hungarian translation updated 2009-08-11 Daniel Elstner Make autogen.sh exit properly if a command failed * autogen.sh: Apparently, sub-shells do not inherit the state of the -e option, and even ignore explicit uses of 'set -e' within the scope of the sub-shell. In order to work around this stupid behavior, test the exit status explicitly for commands executed in a sub-shell. 2009-06-26 drtvasudevan Updated Tamil translation 2009-06-24 Daniel Elstner Replace most of autogen.sh by autoreconf * autogen.sh: Reduce script to stub which invokes autoreconf and then configure. Unfortunately it was necessary to play some tricks in order to fool autoreconf into invoking intltoolize instead of autopoint. * Makefile.am (ACLOCAL_AMFLAGS): Substitute ${ACLOCAL_FLAGS} instead of $(ACLOCAL_FLAGS) because autoreconf misparses the latter. * configure.ac: Remove decorational parentheses. (AM_GNU_GETTEXT_VERSION): Specify minimum gettext version to tell autoreconf that gettext is being used. 2009-06-24 Daniel Elstner Fix build with recent glibmm releases * src/filebuffer.cc (FileBuffer::on_mark_deleted): Use swap() to reset Glib::RefPtr<> because neither clear() nor reset() can be relied upon to be there. * src/filetree.cc (FileTree::save_file_at_iter): ditto, (FileTree::find_matches_at_path_iter): ditto, (FileTree::on_selection_changed): ditto. 2009-06-24 ifelix added Tamil 2009-06-24 ifelix Updated Tamil Translations 2009-06-03 Sweta Kothari Added LINGUAS for Gujarati 2009-04-29 Daniel Elstner Make mbox resource in regexxer.doap a valid URI 2009-04-18 Daniel Elstner Add DOAP project description 2009-04-18 Daniel Elstner Create gitignore files 2009-04-18 Daniel Elstner Add Userid to maintainers file 2008-12-01 Simos Xenitellis Added Greek translation by Evgenia Petoumenou svn path=/trunk/; revision=683 2008-10-09 Kjartan Maraas Added 'nb'. Added Norwegian bokmål translation. 2008-10-09 Kjartan Maraas * LINGUAS: Added 'nb'. * nb.po: Added Norwegian bokmål translation. svn path=/trunk/; revision=682 2008-09-14 Duarte Loreto Updated Portuguese translation. 2008-09-14 Duarte Loreto * pt.po: Updated Portuguese translation. svn path=/trunk/; revision=681 2008-06-29 Leonardo Ferreira Fontenelle Updated Brazilan Portuguese translation by Andrius da Costa Ribas. 2008-06-29 Leonardo Ferreira Fontenelle * pt_BR.po: Updated Brazilan Portuguese translation by Andrius da Costa Ribas. svn path=/trunk/; revision=680 2008-06-15 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=679 2008-03-08 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=678 2008-03-04 Petr Kovář cs.po: Updated Czech translation by Lucas Lommer. svn path=/trunk/; revision=677 2008-02-19 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=676 2008-02-18 Gil Forcada Codinachs Updated Catalan translation svn path=/trunk/; revision=675 2008-02-12 Pawan Chitrakar Updated Nepali Translation svn path=/trunk/; revision=674 2008-02-04 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=673 2008-01-29 Inaki Larranaga Murgoitio Updated Basque translation. 2008-01-29 Inaki Larranaga Murgoitio * eu.po: Updated Basque translation. svn path=/trunk/; revision=672 2007-12-31 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=671 2007-11-20 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=670 2007-11-15 Matej Urbančič Updated Slovenian translation svn path=/trunk/; revision=669 2007-10-03 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=668 2007-08-17 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=667 2007-08-16 Ilkka Tuohela Updated Finnish translation svn path=/trunk/; revision=666 2007-07-29 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=665 2007-07-29 Yannig MARCHEGAY Updated Occitan translation svn path=/trunk/; revision=664 2007-07-22 Satoru Satoh Updated Japanese translation. svn path=/trunk/; revision=663 2007-07-03 Nguyen Thai Ngoc Duy updated vi.po svn path=/trunk/; revision=662 2007-07-01 Clytie Siddall Updated Vietnamese translation. svn path=/trunk/; revision=661 2007-04-24 Jorge Gonzalez Gonzalez Updated Spanish translation svn path=/trunk/; revision=660 2007-04-21 Djihed Afifi Updated Arabic Translation by Djihed Afifi. svn path=/trunk/; revision=659 2007-04-14 Djihed Afifi Updated Arabic Translation by Djihed Afifi. svn path=/trunk/; revision=658 2007-04-02 Inaki Larranaga Murgoitio Updated Basque translation. 2007-04-02 Inaki Larranaga Murgoitio * eu.po: Updated Basque translation. svn path=/trunk/; revision=657 2007-03-22 Stéphane Raimbault Updated French translation by Jonathan Ernst and Stéphane Raimbault. 2007-03-22 Stéphane Raimbault * fr.po: Updated French translation by Jonathan Ernst and Stéphane Raimbault. svn path=/trunk/; revision=656 2007-02-18 Daniel Elstner Insert 0.9 release marker into ChangeLog. svn path=/trunk/; revision=654 2007-02-18 Daniel Elstner Regenerate for regexxer 0.9 release. * *.po: Regenerate for regexxer 0.9 release. svn path=/trunk/; revision=653 2007-02-18 Daniel Elstner Final update for the release. Yay! * NEWS: Final update for the release. Yay! svn path=/trunk/; revision=652 2007-02-18 Daniel Elstner Minor code reformatting: Change instances of in template * src/controller.h: Minor code reformatting: Change instances of in template argument lists to . * src/filebuffer.{cc,h}: ditto, * src/fileshared.{cc,h}: ditto, * src/filetree.h: ditto, * src/filetreeprivate.{cc,h}: ditto, * src/pcreshell.{cc,h}: ditto. * src/mainwindow.cc (program_license): Add terminating newline to last paragraph. svn path=/trunk/; revision=651 2007-02-18 Daniel Elstner :wstring_to_utf8): New function to convert an std::wstring to UTF-8. This * src/stringutils.{cc,h} (Util::wstring_to_utf8): New function to convert an std::wstring to UTF-8. This is a temporary measure to deal with the same locale issues as discussed in the comments to bug #399216. (Util::int_to_string): Use a wide character stream and convert the result to UTF-8 with Util::wstring_to_utf8(). * src/statusline.cc (CounterBox::stringstream_): Change to std::wostringstream, as above. (CounterBox::number_to_string): Use Util::wstring_to_utf8(). svn path=/trunk/; revision=650 2007-02-06 Pema Geyleg Added Dzongkha Translation svn path=/trunk/; revision=649 2007-02-06 Daniel Elstner Declare variable as precious using AC_ARG_VAR(), which also makes it a * configure.ac (ACLOCAL_FLAGS): Declare variable as precious using AC_ARG_VAR(), which also makes it a substituted variable. This should prevent inconsistent behavior if the variable changes in the environment after configure has run. (ACLOCAL_AMFLAGS): Remove substitution. * Makefile.am (ACLOCAL_AMFLAGS): Define variable. svn path=/trunk/; revision=648 2007-01-26 Matic Žgur sl.po: Updated Slovenian translation. svn path=/trunk/; revision=647 2007-01-20 Daniel Elstner Remove generic installation instructions from the repository, as this file * INSTALL: Remove generic installation instructions from the repository, as this file is supplied by automake. svn path=/trunk/; revision=645 2007-01-17 Daniel Elstner :filename_short_display_name): Rename from Util::shorten_pathname(). * src/stringutils.{cc,h} (Util::filename_short_display_name): Rename from Util::shorten_pathname(). Return the display name of the shortened filename encoded in UTF-8. (Util::expand_pathname): Remove as this function is no longer being used anywhere. * src/mainwindow.cc (MainWindow::set_title_filename): Use Util::filename_short_display_name(). svn path=/trunk/; revision=644 2007-01-17 Daniel Elstner New variable that defines the locale directory the same way intltool does. * Makefile.am (rxlocaledir): New variable that defines the locale directory the same way intltool does. (global_defs): Use $(rxlocaledir) instead of $(localedir). In addition to being different from intltool's definition, standard $(localedir) also requires at least Autoconf 2.59c. svn path=/trunk/; revision=643 2007-01-16 Daniel Elstner :CounterBox): Change the shadow type to Gtk::SHADOW_ETCHED_IN. Still looks * src/statusline.cc (CounterBox::CounterBox): Change the shadow type to Gtk::SHADOW_ETCHED_IN. Still looks somewhat ugly though; I need to think of something better. Also enable the single line mode property of the numeric labels, in order to avoid resizing if the digits in the font have different height. (StatusLine::StatusLine): Increase HBox spacing to 3 pixels. svn path=/trunk/; revision=642 2007-01-16 Daniel Elstner Prefix function signature with G_MODULE_EXPORT, as this will probably be * src/filetree.cc (regexxer_create_file_tree): Prefix function signature with G_MODULE_EXPORT, as this will probably be required on Windows to enable dynamic loading. * src/statusline.cc (regexxer_create_status_line): Ditto. svn path=/trunk/; revision=641 2007-01-16 Daniel Elstner Accept a fourth argument which can be used to generate * m4/dk-warn.m4 (DK_ARG_ENABLE_WARNINGS): Accept a fourth argument which can be used to generate -DMODULE_DISABLE_DEPRECATED defines by specifying a list of module prefixes. These flags are produced only in --enable-warnings=fatal mode, in order to avoid breaking the default build if new deprecations appear in some module. * configure.ac (REGEXXER_WARNING_FLAGS): List the module prefixes GLIBMM and GTKMM in the fourth argument to DK_ARG_ENABLE_WARNINGS. * Makefile.am (global_defs): Remove -D*_DISABLE_DEPRECATED flags, since they are now included in $(REGEXXER_WARNING_FLAGS). svn path=/trunk/; revision=640 2007-01-16 Daniel Elstner Accept backslash '\' as directory separator in filenames, in addition to * Makefile.am (ui/stockimages.h): Accept backslash '\' as directory separator in filenames, in addition to the forward slash '/'. You can never know. svn path=/trunk/; revision=639 2007-01-15 Daniel Elstner Add my real name. * MAINTAINERS: Add my real name. svn path=/trunk/; revision=638 2007-01-14 Alexander Shopov Updated Bulgarian translation by Yavor Doganov 2007-01-14 Alexander Shopov * bg.po: Updated Bulgarian translation by Yavor Doganov svn path=/trunk/; revision=637 2007-01-14 Daniel Elstner :compose_argv): New function with the functionality of compose_impl() but * src/translation.{cc,h} (Util::compose_argv): New function with the functionality of compose_impl() but using a format string of type const char*. This implementation operates on bytes instead of Unicode code points, and copies the chunks between placeholders in one go instead of each character separately. (Util::compose): Call compose_argv() instead of compose_impl() and change the type of the format argument to const char* because the format string really should be a string literal. Also, inline all of these overloads since they just forward their arguments to compose_argv() anyway, so that inlining actually reduces code size. svn path=/trunk/; revision=636 2007-01-14 Daniel Elstner Replace occurrences of "lhs" and "rhs" with "a" and "b", respectively. * src/fileshared.h: Replace occurrences of "lhs" and "rhs" with "a" and "b", respectively. (BoundState): Remove BOUND_MASK value from enumeration as it is nowhere being used. svn path=/trunk/; revision=635 2007-01-14 Daniel Elstner Clean up the code a bit. In particular, change occurrences of * src/filetree.{cc,h}: Clean up the code a bit. In particular, change occurrences of Gtk::TreePath to Gtk::TreeModel::Path. * src/filetreeprivate.{cc,h}: Likewise. * src/sharedptr.h (Util::SharedPtr::SharedPtr): Inline. (Util::SharedPtr::~SharedPtr): Remove assertion and inline. * src/sharedptr.cc: Remove now empty file. * Makefile.am (src_regexxer_SOURCES): Remove src/sharedptr.cc. svn path=/trunk/; revision=634 2007-01-14 Daniel Elstner Move function to the global namespace. Putting it inside an anonymous * src/filetree.cc (regexxer_create_file_tree): Move function to the global namespace. Putting it inside an anonymous namespace just obfuscated the code, as this function is exported for the world to see. * src/statusline.cc (regexxer_create_status_line): Likewise. svn path=/trunk/; revision=633 2007-01-13 Daniel Elstner Add file for the benefit of sysadmin tools. * MAINTAINERS: Add file for the benefit of sysadmin tools. svn path=/trunk/; revision=632 2007-01-13 Daniel Elstner New string constant defining the directory of regexxer in the GConf * src/globalstrings.h (conf_dir_application): New string constant defining the directory of regexxer in the GConf database. This string literal replaces the REGEXXER_GCONF_DIRECTORY macro which used to be defined in the Makefile. This global macro definition was inherently pointless as it was not configurable anyway. * src/main.cc (initialize_configuration): Use conf_dir_application instead of REGEXXER_GCONF_DIRECTORY. * src/prefdialog.cc (PrefDialog::initialize_configuration): ditto. * configure.ac (REGEXXER_GCONF_DIRECTORY): Remove substitution. (PKG_CHECK_MODULES): Add gmodule-export-2.0 to the module list to get the -Wl,--export-dynamic flag automatically. (DK_LINK_EXPORT_DYNAMIC): Remove macro invocation as it no longer necessary. Also, add comments elaborating about the whole linker stuff. * Makefile.am (global_defs): Remove -DREGEXXER_GCONF_DIRECTORY. (src_regexxer_LDFLAGS): Get rid of $(REGEXXER_EXPORT_DYNAMIC). * m4/dk-export.m4 (DK_LINK_EXPORT_DYNAMIC): Remove macro. svn path=/trunk/; revision=631 2007-01-13 Daniel Elstner :find_recursively): Replace uses of Glib::filename_display_name() by * src/filetree.cc (FileTree::find_recursively): Replace uses of Glib::filename_display_name() by Glib::filename_display_basename() to enable translation of well-known locations in future. Store the full path in the directory stack. (FileTree::find_fill_dirstack): Convert the full path from the stack to a displayable name with Glib::filename_display_basename(). (FileTree::save_file_at_iter): Determine the basename for use in the error message with Glib::filename_display_basename(). * src/mainwindow.cc (MainWindow::set_title_filename): Call Glib::filename_display_basename() to get the filename to be displayed in the window title. * src/filetreeprivate.{cc,h}: Some early spring cleaning. svn path=/trunk/; revision=630 2007-01-12 Daniel Elstner Prefix function and data definitions within anonymous namespaces with the * src/fileio.cc: Prefix function and data definitions within anonymous namespaces with the "static" keyword. Although this usage of "static" is deprecated in C++, GCC still exports symbols defined in anonymous namespaces. For more information, see: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18267 * src/fileshared.cc: ditto, * src/main.cc: ditto, * src/mainwindow.cc: ditto, * src/pcreshell.cc: ditto, * src/prefdialog.cc: ditto, * src/stringutils.cc: ditto, * src/translation.cc: ditto. svn path=/trunk/; revision=629 2007-01-11 Daniel Elstner :initialize): Really minor tweaks. * src/mainwindow.cc (MainWindow::initialize): Really minor tweaks. svn path=/trunk/; revision=628 2007-01-11 Daniel Elstner Make init_state_ a value member of the class instead creating it * src/main.cc (RegexxerOptions): Make init_state_ a value member of the class instead creating it dynamically. This simplification is now possible since the RegexxerOptions object will be allocated dynamically anyway. (RegexxerOptions::init_state): Rename from take_init_state(), and make it return a const reference. (main): Use new init_state() method when initializing the window. * src/mainwindow.{cc,h} (MainWindow::initialize): Change init parameter type to a const reference. svn path=/trunk/; revision=627 2007-01-11 Daniel Elstner Define REGEXXER_LOCALEDIR to the "$(locale)" directory path. Remove define * Makefile.am (global_defs): Define REGEXXER_LOCALEDIR to the "$(locale)" directory path. Remove define for REGEXXER_DATADIR since it was used only as part of the locale directory. * src/main.cc (main): Use REGEXXER_LOCALEDIR. (locale_directory): Remove string literal. svn path=/trunk/; revision=626 2007-01-11 Daniel Elstner "): Move accelerator from "g" to "T" in order to make it visible. ("Text * de.po ("C_urrent match color:"): Move accelerator from "g" to "T" in order to make it visible. ("Text view font"): Slightly reword translation. === Change I forgot to mention in previous commit: === * *.po: Globally replace ASCII quotes (") and apostrophes (') with the typographically correct variants in Unicode. svn path=/trunk/; revision=625 2007-01-11 Daniel Elstner Assign mnemonic widget combo_toolbar_style as GTK+ messes up the automatic * ui/prefdialog.glade (label_toolbar_style): Assign mnemonic widget combo_toolbar_style as GTK+ messes up the automatic assignment. svn path=/trunk/; revision=624 2007-01-11 Daniel Elstner :create_with_error_message): Use UTF-8 encoded typographically correct * src/filebuffer.cc (FileBuffer::create_with_error_message): Use UTF-8 encoded typographically correct apostrophe in the title string. * src/filetree.cc (FileTree::find_recursively): Replace call to Util::filename_to_utf8_fallback() by Glib::filename_display_name(). (FileTree::find_fill_dirstack): Likewise. (FileTree::save_file_at_iter): Use UTF-8 encoded typographically correct quote characters in the error message string. (FileTree::load_file_with_fallback): Likewise. * src/pcreshell.cc (throw_regex_error): New function to throw a Pcre::Error exception with a properly formatted error message. (Pcre::Pattern::Pattern): Use throw_regex_error(). * src/prefdialog.cc (PrefDialog::on_entry_fallback_activate): Use proper Unicode quotes in error message string. * src/mainwindow.cc (MainWindow::initialize): Run the search automatically only if also a filename pattern has been specified on the command line. (MainWindow::confirm_quit_request): Use proper Unicode apostrophe in the error message. (MainWindow::on_find_files): Likewise. Also remove the code to format an error message for regex exceptions, as Pcre::Error now already carries a user-friendly message. (MainWindow::set_title_filename): Replace calls to Util::filename_to_utf8_fallback() by Glib::filename_display_name(). * src/stringutils.{cc,h} (Util::shell_pattern_to_regex): Minor optimization twiddling. (Util::substitute_references): Likewise. (Util::filename_to_utf8_fallback): Remove function, as we can now simply use Glib::filename_display_name() instead. (Util::convert_to_ascii): Remove; no longer used anywhere. (Util::shorten_pathname): Use G_IS_DIR_SEPARATOR() instead of comparing against G_DIR_SEPARATOR directly. Necessary because on win32 both '/' and '\' are accepted as directory separators. * ui/regexxer.schemas.in: Reformat and use proper Unicode quotes and apostrophes. * ui/prefdialog.glade: Likewise. Also remove some property specifications which assigned default values anyway. * ui/mainwindow.glade: As above, strip pointless property settings. * en.po: Remove English "translation" as proper Unicode quotes and apostrophes are now used directly in the untranslated messages. * LINGUAS: Remove "en" from list. * POTFILES.in: Prepend [encoding: UTF-8] to list of files. svn path=/trunk/; revision=623 2007-01-11 Daniel Elstner Add comment about assertions and reorganize the code a bit. * src/fileio.cc (save_iochannel): Add comment about assertions and reorganize the code a bit. (Regexxer::save_file): Elaborate on why IOChannel::close() is used explicitely. * src/filetreeprivate.cc (FileTreePrivate::collatekey_sort_func): Fix oversight: Subtracting two unsigned values and converting the result to a signed type relies on implementation-defined behavior. Explicitely cast the operands to a signed type before substraction. * src/main.cc (main): Use g_get_prgname() instead of the string literal PACKAGE_TARNAME in the error message for Glib::OptionError exceptions. svn path=/trunk/; revision=622 2007-01-11 Daniel Elstner Add comment about assertions and reorganize the code a bit. * src/fileio.cc (save_iochannel): Add comment about assertions and reorganize the code a bit. (Regexxer::save_file): Elaborate on why IOChannel::close() is used explicitely. * src/filetreeprivate.cc (FileTreePrivate::collatekey_sort_func): Fix oversight: Subtracting two unsigned values and converting the result to a signed type relies on implementation-defined behavior. Explicitely cast the operands to a signed type before substraction. * src/main.cc (main): Use g_get_prgname() instead of the string literal PACKAGE_TARNAME in the error message for Glib::OptionError exceptions. svn path=/trunk/; revision=621 2007-01-10 Daniel Elstner :create_with_error_message): Get rid of the inappropriate plea to * src/filebuffer.cc (FileBuffer::create_with_error_message): Get rid of the inappropriate plea to translators to replace space with no-break space in the message title. Apart from the fact that it was a bad idea in the first place to make translators put up with this internal issue, the no-break spaces have no point being there at all. A single untranslated no-break space between the error icon and the title text is all that is warranted. svn path=/trunk/; revision=619 2007-01-10 Daniel Elstner Add --add-comments=TRANSLATORS in order to make xgettext only extract * Makevars (XGETTEXT_OPTIONS): Add --add-comments=TRANSLATORS in order to make xgettext only extract explicitely tagged comments into PO files. This gets rid of the comment spam due to intltool passing --add-comments by default without specifying any tag. svn path=/trunk/; revision=618 2007-01-09 Daniel Nylander sv.po: Updated Swedish translation svn path=/trunk/; revision=617 2007-01-09 Daniel Elstner Move log entry about po/Makevars change to po/ChangeLog. svn path=/trunk/; revision=616 2007-01-09 Daniel Elstner Simplify redirection of aclocal and automake output when testing for * autogen.sh: Simplify redirection of aclocal and automake output when testing for versioned executables. * po/Makevars (MSGID_BUGS_ADDRESS): Change URI to . svn path=/trunk/; revision=615 2007-01-09 Daniel Elstner New string literal with the same license information as at the top of the * src/mainwindow.cc (program_license): New string literal with the same license information as at the top of the file. (MainWindow::on_about): Show the license information in the about dialog. svn path=/trunk/; revision=614 2007-01-09 Daniel Elstner Remove leftover includes and , * src/mainwindow.cc: Remove leftover includes and , which had only been required for the tooltip hack removed earlier. Also, collapse multiple empty lines into one. svn path=/trunk/; revision=613 2007-01-08 Alexander Shopov Updated Bulgarian translation by Yavor Doganov 2007-01-08 Alexander Shopov * bg.po: Updated Bulgarian translation by Yavor Doganov svn path=/trunk/; revision=612 2007-01-08 David Lodge Updated English (British) translation svn path=/trunk/; revision=611 2007-01-08 Daniel Elstner Substitute $ACLOCAL_FLAGS from the environment at configure time instead * configure.ac (ACLOCAL_AMFLAGS): Substitute $ACLOCAL_FLAGS from the environment at configure time instead of when make runs. Formerly, the flags could change without reconfiguring, which is probably a bad idea and contrary to Makefile conventions. svn path=/trunk/; revision=610 2007-01-08 Daniel Elstner Replace my email address for bug reports with the URI * configure.ac (AC_INIT): Replace my email address for bug reports with the URI . This address is redirected to , so that the bug tracker now has a canonical URI that hides the numeric group ID. svn path=/trunk/; revision=609 2007-01-07 Daniel Elstner Update translation. Ditto. * en.po: Update translation. * de.po: Ditto. svn path=/trunk/; revision=608 2007-01-07 Daniel Elstner Again remove the tearoff menus and the menubar and toolbar handle boxes. * ui/mainwindow.glade: Again remove the tearoff menus and the menubar and toolbar handle boxes. This was just superfluous UI clutter not actually used by anyone. (button_folder): Get rid of the custom button that used to fire up the file chooser dialog, plus the accompanying text entry for display and editing of the folder name. Replace this old cruft with a fresh and crisp GtkFileChooserButton plus a label. Yay! (combo_pattern_entry): Reactivate commented-out markup that sets a tooltip on the internal GtkEntry child of combo_pattern. As this finally supported by libglade it is no longer necessary to hack around the limitation in code. * src/mainwindow.{cc,h} (MainWindow): Adapt the implementation to work with the changed UI layout. Change the folder selection handling as necessary. (MainWindow::load_xml): Remove the tooltip hack for the pattern entry, since libglade now allows for this in the glade file. (MainWindow::get_folder_fullname): Remove now unused method. (MainWindow::on_select_folder): Likewise. svn path=/trunk/; revision=607 2007-01-07 Daniel Elstner #include for std::auto_ptr<> rather than relying on indirect * src/main.cc: #include for std::auto_ptr<> rather than relying on indirect inclusion by some other header file. svn path=/trunk/; revision=606 2007-01-07 Daniel Elstner Remove and includes left over from the old libpopt * src/main.cc: Remove and includes left over from the old libpopt code. svn path=/trunk/; revision=605 2007-01-06 Daniel Elstner Eeek, as it turns out the flag ANCHORED (and probably others too) are * src/pcreshell.h ({Compile,Match}Options): Eeek, as it turns out the flag ANCHORED (and probably others too) are valid flags at both compile time and match time. Move ANCHORED from CompileOptions to MatchOptions as I need it there for the following /g matching fix. These enumerations should of course be properly namespaced instead; this is just a quick hack for now. * src/pcreshell.cc: Rename a couple of variables to improve code clarity. * src/filebuffer.cc (FileBuffer::find_matches): Set the ANCHORED flag in addition to the NOT_EMPTY flag if the previous match was empty in /g mode. This matches the algorithm outlined in recent versions of the PCRE documentation to mimic the behavior of Perl. svn path=/trunk/; revision=604 2007-01-06 Daniel Elstner New class that implements the command-line option interface using the * src/main.cc (RegexxerOptions): New class that implements the command-line option interface using the option parsing facilities of glibmm instead of libpopt. (parse_command_line): Remove old function that used libpopt to parse command line options. (main): Use the new option parsing code. Also, merge the gettext initialization into a single call again. The special trickery that used to bind the codeset separately after option processing is no longer necessary with the new parser. * src/mainwindow.{cc,h} (Regexxer::InitState): Reorganize the data structure so that default-constructed objects equal the default values of the command-line options. This is a work-around for glibmm bug #393571. (MainWindow::initialize): Adapt to Regexxer::InitState changes. * src/translation.{cc,h} (Util::enable_utf8_gettext): Merge back into Util::initialize_gettext(), as the separation is no longer necessary. (compose_impl): Optimize a bit by reserving the memory for the result string in advance. Also, replace a couple of `...' quotes with "..." in a warning message. * Makefile.am (src_regexxer_LDADD): Remove $(POPTLIBS). * configure.ac (DK_LIB_POPT): Remove check for libpopt. * m4/dk-popt.m4: Remove now obsolete file. svn path=/trunk/; revision=603 2007-01-06 Daniel Elstner Name a file that will be truly unique to regexxer. * configure.ac (AC_CONFIG_SRCDIR): Name a file that will be truly unique to regexxer. svn path=/trunk/; revision=602 2007-01-06 Daniel Elstner Prefix M4 macro filenames with "dk-", to avoid clashes with other * m4/dk-{export,feature,pkgprog,popt,warn}.m4: Prefix M4 macro filenames with "dk-", to avoid clashes with other applications installing their M4 files here. svn path=/trunk/; revision=601 2007-01-06 Daniel Elstner Update. * NEWS: Update. svn path=/trunk/; revision=599 2007-01-06 Daniel Elstner Add comment about the purpose of this file. * src/exported-symbols: Add comment about the purpose of this file. svn path=/trunk/; revision=598 2007-01-06 Daniel Elstner :on_erase): Copy tagtable->match into a local variable and use it. This * src/filebuffer.cc (FileBuffer::on_erase): Copy tagtable->match into a local variable and use it. This fixes a compilation error with the Intel C++ compiler caused by the creation of a temporary inside the statement expression of g_return_if_fail(). svn path=/trunk/; revision=597 2007-01-06 Daniel Elstner Remove leftover string constant. * src/globalstrings.h (glade_aboutdialog_filename): Remove leftover string constant. svn path=/trunk/; revision=596 2007-01-06 Daniel Elstner Update to latest version shipped with Automake. Likewise. * COPYING: Update to latest version shipped with Automake. * INSTALL: Likewise. svn path=/trunk/; revision=595 2007-01-06 Daniel Elstner :on_about): Replace custom about dialog with stock GTK+ one. * src/mainwindow.{cc,h} (MainWindow::on_about): Replace custom about dialog with stock GTK+ one. (on_about_dialog_response): Rename from on_about_dialog_hide(). Add unused function parameter for the response ID. * src/aboutdialog.{cc,h}: Remove now superfluous files. * ui/aboutdialog.glade: Likewise. * Makefile.am (src_regexxer_SOURCES): Remove src/aboutdialog.{cc,h} from the list of source files. (dist_pkgdata_DATA): Remove ui/aboutdialog.glade from list. * configure.ac (REGEXXER_MODULES): Require gtkmm 2.6, in which the stock about dialog first appeared. * POTFILES.in: Remove ui/aboutdialog.glade. svn path=/trunk/; revision=594 2007-01-06 Daniel Elstner Update. Minor reformatting. * NEWS: Update. * README: Minor reformatting. svn path=/trunk/; revision=593 2007-01-06 Daniel Elstner Replace my old email address with the one of the original contributor of * it.po: Replace my old email address with the one of the original contributor of this translation. svn path=/trunk/; revision=592 2007-01-06 Daniel Elstner Remove bogus svn:executable property. svn path=/trunk/; revision=591 2007-01-06 Daniel Elstner Remove file, as it was essentially empty except for including miscutils.h. * src/miscutils.cc: Remove file, as it was essentially empty except for including miscutils.h. * Makefile.am (src_regexxer_SOURCES): Remove src/miscutils.cc. svn path=/trunk/; revision=590 2007-01-06 Daniel Elstner Update copyright notice: The postal address of the Free Software * src/*.{cc,h}: Update copyright notice: The postal address of the Free Software Foundation changed, and my email address too. Also, remove the statement I had inserted which explicitely disallowed using a later version of the license. I think I do not have to ask for permission from contributors, since the copyright notice only mentions me as the copyright holder, so technically everyone automatically transferred her copyright to me. Anyway, the change is utterly minor and the notice now matches what everyone else is using. Also use the opportunity to get rid of the version control substitutions and the trailing empty line in every file. * ui/aboutdialog.glade: Update my email address. svn path=/trunk/; revision=589 2007-01-06 Daniel Elstner Replace $(LIBINTL) substitution with $(INTLLIBS). Apparently * Makefile.am (src_regexxer_LDADD): Replace $(LIBINTL) substitution with $(INTLLIBS). Apparently AM_GLIB_GNU_GETTEXT(), unlike plain AM_GNU_GETTEXT(), assigns INTLLIBS instead of LIBINTL for whatever reason. This difference is nowhere documented. Funny noone has noticed this yet, since as far as I can tell it is empty only with GNU libc. svn path=/trunk/; revision=588 2007-01-06 Daniel Elstner Reduce the list of cruft to delete; it was a bit over the top and too long * autogen.sh: Reduce the list of cruft to delete; it was a bit over the top and too long to maintain anyway. Also, remove colons from substitutions again, as the script no longer assigns the empty string anywhere to the variables in question. svn path=/trunk/; revision=587 2007-01-06 Daniel Elstner Comment "set -ex" and remove pointless ":;". * autogen.sh: Comment "set -ex" and remove pointless ":;". svn path=/trunk/; revision=586 2007-01-06 Daniel Elstner Further simplify the script by making use of set -e and colons in * autogen.sh: Further simplify the script by making use of set -e and colons in substitutions, like ${foo:-bar}. Although some truly ancient shells do not provide these features, this does not matter much for scripts intended for maintainer use. svn path=/trunk/; revision=585 2007-01-06 Daniel Elstner Reduce number of rm -f invocations by means of line continuation. * autogen.sh: Reduce number of rm -f invocations by means of line continuation. svn path=/trunk/; revision=584 2007-01-05 Daniel Elstner Remove trailing empty lines. svn path=/trunk/; revision=583 2007-01-05 Daniel Elstner Move to ui/ directory to reduce clutter in the toplevel directory. Update * regexxer.{desktop,schemas}.in: Move to ui/ directory to reduce clutter in the toplevel directory. * Makefile.am ({desktop,schemas}_in_files): Update accordingly. ({desktop,schemas}_DATA): Likewise. (ui/stockimages.h): Do not rely on $(mkdir_p) because it is already obsolete but AC_PROG_MKDIR_P() is too recent to require. Just use plain mkdir and test for the existence of the directory on failure. Also, add a comment explaining the implicit directory creation. * POTFILES.in: Move regexxer.{desktop,schemas}.in to the ui/ directory. svn path=/trunk/; revision=582 2007-01-05 Daniel Elstner Require Autoconf 2.58. (AC_CONFIG_MACRO_DIR): Specify m4 macro directory. * configure.ac (AC_PREREQ): Require Autoconf 2.58. (AC_CONFIG_MACRO_DIR): Specify m4 macro directory. (IT_PROG_INTLTOOL): Replace obsolete AC_PROG_INTLTOOL(). Require at least intltool 0.35 for full po/LINGUAS and po/Makevars support. (ALL_LINGUAS): No longer set this environment variable, but rely on po/LINGUAS support. Get rid of the CONFIG_STATUS_DEPENDENCIES substitution hack. (GETTEXT_PACKAGE): Move the variable assignment to AC_SUBST(). * po/Makevars: Reintroduce this file, as it is finally properly supported by intltool. Set XGETTEXT_OPTIONS to the list of keywords xgettext should recognize. * autogen.sh: Get rid of the hack that appends XGETTEXT_KEYWORDS to po/Makefile.in.in. Also change the invocation order of the various setup tools according to the recommendation found in the gettext manual. Delete some more cruft from the m4/ directory. * ABOUT-NLS: Get rid of this both large and largely useless file. Probably a left-over from the time before glib-gettextize. svn path=/trunk/; revision=581 2007-01-05 Daniel Elstner Get rid of .cvsignore files. svn path=/trunk/; revision=579 2007-01-05 Daniel Elstner New file. Defines generalized replacements in the DK_ namespace for the * m4/export.m4: New file. Defines generalized replacements in the DK_ namespace for the cxx.m4 macros REGEXXER_LINK_EXPORT_DYNAMIC() and REGEXXER_LINK_VERSION_SCRIPT(). * m4/feature.m4: New file. Defines a couple of generic helper macros for feature testing. * m4/pkgproc.m4: New file. Defines the macro DK_PKG_PATH_PROG() which replaces REGEXXER_PKG_PATH_PROG() from misc.m4. * m4/popt.m4: New file. Defines DK_LIB_POPT(), a generalized replacement for REGEXXER_LIB_POPT() from misc.m4. * m4/warn.m4: New file. Defines the macro DK_ARG_ENABLE_WARNINGS() which is a generalized and also somewhat improved replacement for REGEXXER_ARG_ENABLE_WARNINGS() from cxx.m4. Note that the argument values of --enable-warnings= have changed; see ./configure --help. * m4/{cxx,misc}.m4: Remove files. * configure.ac: Use the new macros in the DK_ namespace. (DK_ARG_ENABLE_WARNINGS): Pass "-Wno-non-virtual-dtor" to the compiler if accepted. Nasty, but due to the gconfmm bug the only way to recover the functionality of --enable-warnings=fatal. Assign the warning flags to the variable REGEXXER_WARNING_FLAGS. * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Again raise the value passed to --enable-warnings= from "maximum" to "fatal", now that we work around the gconfmm bug. (AM_CPPFLAGS): Add $(REGEXXER_WARNING_FLAGS). (src_regexxer_LDADD): Reorder the library substitutions so that the ones more likely to depend on others in the list come first. svn path=/trunk/; revision=578 2007-01-05 Daniel Elstner Move images to ui/ directory. This makes for a more streamlined directory * pixmaps/*.png: Move images to ui/ directory. This makes for a more streamlined directory structure, and besides "pixmaps" was a horrible name anyway. * pixmaps: Remove directory. * Makefile.am: Accomodate for the change from "pixmaps" to "ui". As a side effect, the .dirstamp hack for ui/ is also no longer necessary, as the ui/stockimages.h rule already covers this. * src/main.cc: Change stockimages.h #include accordingly. svn path=/trunk/; revision=577 2007-01-05 Daniel Elstner Rename directory to m4. I love Subversion. Change "-I macros" to "-I m4" * macros: Rename directory to m4. I love Subversion. * autogen.sh: Change "-I macros" to "-I m4" in aclocal invocation. * configure.ac (ACLOCAL_AMFLAGS): Likewise for this substitution. svn path=/trunk/; revision=576 2007-01-05 Daniel Elstner Remove leftover $(PCRE_CFLAGS). (src_regexxer_LDADD): Likewise for * Makefile.am (AM_CPPFLAGS): Remove leftover $(PCRE_CFLAGS). (src_regexxer_LDADD): Likewise for $(PCRE_LIBS). svn path=/trunk/; revision=575 2007-01-05 Daniel Elstner Remove invocation of hand- crafted macro and just add "libpcre >= 5.0" to * configure.ac (PCRE_CHECK_VERSION): Remove invocation of hand- crafted macro and just add "libpcre >= 5.0" to PKG_CHECK_MODULES() instead. PCRE supports pkg-config since version 5.0, released September 2004. I think it is safe to make that a requirement. (PCRE_CHECK_UTF8): Ditch the UTF-8 check, which was problematic anyway since it involved executing a runtime test. Just rely on regexxer to report an error at runtime if libpcre is found not to support UTF-8. This is acceptable since updating to a libpcre with UTF-8 support does not require rebuilding regexxer. * macros/pcre.m4: Get rid of it. svn path=/trunk/; revision=574 2007-01-04 Daniel Elstner Switch to a non-recursing build system. The entire source tree except for * Makefile.am: Switch to a non-recursing build system. The entire source tree except for the po/ subdirectory is now built from the toplevel Makefile. For the rationale of this change, see Peter Miller's excellent paper "Recursive Make Considered Harmful": http://members.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html The new system makes use of Automake's subdir-objects feature to put compilation results into the src/ subdirectory. The Automake variables and rules from the subdirectories have been merged into the toplevel Makefile.am and adapted as necessary. (DISTCHECK_CONFIGURE_FLAGS): Lower --enable-warnings argument from "hardcore" to "maximum", in order to get distcheck to work despite the non-virtual base class warning triggered by gconfmm. * {pixmaps,src,ui}/Makefile.am: Remove from repository. * configure.ac (AC_INIT): Bump version number to 0.9. Also change my mail address. (AC_PREREQ): Raise version requirement to autoconf 2.55. (AM_INIT_AUTOMAKE): Require Automake 1.8 and add -Wall option. (PKG_CHECK_MODULES): Replace output variable prefix REGEXXER with REGEXXER_MODULES for clarity. Remove the AC_SUBST() invocations as the macro seems to do that on its own now. (AC_CONFIG_FILES): Remove {pixmaps,src,ui}/Makefile from the list. * NEWS: Add entry on regexxer 0.9. Not complete yet. * autogen.sh: Rip out the overzealous version checking fancyness. This stuff was just a wee bit over the top. Overall, reduce the the script to a sensible minimum. Honor $NOCONFIGURE instead of $AUTOGEN_SUBDIR_MODE to match autogen.sh from gnome-common. * mkinstalldirs: Remove, as glib-gettextize now properly adds this file to the source tree if it is missing. * config.rpath: Remove, as it does not seem to be actually used anywhere. svn path=/trunk/; revision=573 2006-12-22 Daniel Elstner Use REGEXXER_PKG_PATH_PROG() to locate the gtk-update-icon-cache command. * configure.ac: Use REGEXXER_PKG_PATH_PROG() to locate the gtk-update-icon-cache command. * pixmaps/Makefile.am (update-icon-cache): Add new target, which is invoked as prerequisite of install-data-hook in order to update the GTK+ icon theme cache after installation. 2006-12-10 Daniel Elstner Fix ChangeLog typo. 2006-12-10 Daniel Elstner Use gtk_window_set_default_icon_name() to have the default window icon * src/main.cc (main): Use gtk_window_set_default_icon_name() to have the default window icon looked up in the icon theme, rather than explicitely specifying an image filename. For some reason this method has not been wrapped yet. (set_default_window_icon): Remove now unused function. * src/aboutdialog.cc (AboutDialog::create): For the same reason as above, use Gtk::Image::set_icon_from_name() instead of an explicit filename to load the application icon. * src/globalstrings.h (application_icon_filename): Remove now unused string. 2006-12-09 Daniel Elstner Remove a couple of keys and change some values to match the latest * regexxer.desktop.in: Remove a couple of keys and change some values to match the latest freedesktop.org desktop-entry-spec. * pixmaps/Makefile.am: Install the regexxer application icon to $(datadir)/icons/hicolor/48x48/apps as the freedesktop.org icon-theme-spec says. 2006-11-21 Daniel Elstner Replace the stock item reference "regexxer-about" with "gtk-about", now * ui/mainwindow.glade (menuitem_about): Replace the stock item reference "regexxer-about" with "gtk-about", now that the latter has been added to GTK+. * src/main.cc (stock_icon_about): Remove. (regexxer_stock_items): Remove "regexxer-about" stock item. * pixmaps/Makefile.am (stockimages): Remove stock_menu_about.png from list. * pixmaps/stock_menu_about.png: Remove file. 2006-11-21 Daniel Elstner :on_style_changed): Use the proper stock images "file" and "directory" * src/filetree.cc (FileTree::on_style_changed): Use the proper stock images "file" and "directory" instead of abusing "new" and "open", respectively. These new items have been available since GTK+ 2.6. 2006-11-21 Daniel Elstner Make CVS ignore the stamp-it file. 2006-11-18 Djihed Afifi Updated Arabic Translation. 2006-11-13 Daniel Elstner Move mixed-up translator ChangeLog entry to po/ChangeLog. 2006-11-13 Daniel Elstner :convert_to_ascii): Avoid bitwise operations with possibly signed char * src/stringutils.cc (parse_control_char, Util::convert_to_ascii): Avoid bitwise operations with possibly signed char values. Make use of explicit casts and unsigned integer literals instead. 2006-11-13 Daniel Elstner Change my mail address. * AUTHORS: Change my mail address. 2006-11-13 Daniel Elstner New macro to check for support of the --export-dynamic linker flag. Use * macros/cxx.m4 (REGEXXER_LINK_EXPORT_DYNAMIC): New macro to check for support of the --export-dynamic linker flag. * configure.ac: Use the new REGEXXER_LINK_EXPORT_DYNAMIC macro to fill in the substituted variable REGEXXER_EXPORT_DYNAMIC. * src/Makefile.am (regexxer_LDFLAGS): Substitute the value of $(REGEXXER_EXPORT_DYNAMIC) since libglade no longer passes the linker flag -Wl,--export-dynamic by default. 2006-10-31 Matic Zgur Added Slovenian translation. Added Slovenian ("sl") to the list of 2006-10-31 Matic Zgur * sl.po: Added Slovenian translation. * LINGUAS: Added Slovenian ("sl") to the list of languages. 2006-10-16 Kwok-Koon Cheung Add zh_HK to LINGUAS 2006-10-16 Kwok-Koon Cheung Updated Chinese (Taiwan) translation. New Chinese (Hong Kong) translation. * zh_TW.po: Updated Chinese (Taiwan) translation. * zh_HK.po: New Chinese (Hong Kong) translation. 2006-10-05 Sven Herzberg use --copy on intltoolize, so modifying po/Makefile.in.in doesn't fail for 2006-10-05 Sven Herzberg * autogen.sh: use --copy on intltoolize, so modifying po/Makefile.in.in doesn't fail for the missing permissions 2006-09-24 Pawan Chitrakar Updated Nepali Translation 2006-08-29 Iñaki Larrañaga Murgoitio *** empty log message *** 2006-08-29 Inaki Larranaga Added Basque translation. Added "eu" (Basque) entry. 2006-08-28 Inaki Larranaga * eu.po: Added Basque translation. * LINGUAS: Added "eu" (Basque) entry. 2006-08-26 Francisco Javier F. Serrador Updated Spanish translation. 2006-08-26 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2006-07-24 Christophe Merlet Updated French translation. 2006-03-01 Daniel Nylander Updated Swedish translation. 2006-03-01 Daniel Nylander * po/sv.po: Updated Swedish translation. 2006-01-22 Clytie Siddall vi.po: Added "vi" to LINGUAS. 2005-12-13 Murray Cumming Use --force on intltoolize, because it was complaining about an old 2005-12-13 Murray Cumming * autogen.sh: Use --force on intltoolize, because it was complaining about an old Makefile.in.in. * configure.ac: * src/Makefile.am: Change PKG_CFLAGS/LIBS to REGEXXER_CFLAGS/LIBS because the latest autoconf (or something) complains that PKG_CFLAGS may be undefined. Not sure why, but this fixes it. 2005-08-21 Pawan Chitrakar Added Nepali translation 2005-08-04 Kwok-Koon Cheung Fix Language Team Reference 2005-08-01 Vincent van Adrighem Translation updated. 2005-08-01 Vincent van Adrighem * nl.po: Translation updated. 2005-07-31 Ilkka Tuohela Bulk change to fi.po: (gnome-fi.org to gnome.fi) 2005-07-28 Ilkka Tuohela Bulk changes to Finnish strings 2005-07-09 Chao-Hsiung Liao Fixed Traditional Chinese translation. 2005-07-09 Chao-Hsiung Liao * zh_TW.po: Fixed Traditional Chinese translation. 2005-07-07 Chao-Hsiung Liao Updated Traditional Chinese trnaslation. 2005-07-08 Chao-Hsiung Liao * zh_TW.po: Updated Traditional Chinese trnaslation. 2005-07-07 Chao-Hsiung Liao Added Traditional Chinese translation. 2005-07-08 Chao-Hsiung Liao * zh_TW.po: Added Traditional Chinese translation. 2005-04-02 Steven Michael Murphy Added Kinyarwanda translation from a compendium. Added Kinyarwanda translation from a compendium. 2005-03-17 Adam Weinberger Updated Canadian English translation. * en_CA.po: Updated Canadian English translation. 2005-03-15 Nguyen Thai Ngoc Duy Added vi.po from Clytie Siddall 2005-02-15 Christophe Merlet Updated French translation. 2005-02-15 Christophe Merlet Updated French translation. 2005-02-14 Jordi Mallach Updated Catalan translation by Xavi Ivars . 2005-02-07 Jordi Mallach Added "ca" (Catalan). 2005-02-07 Jordi Mallach Added Catalan translation by Xavi Ivars . 2005-01-28 Alexander Shopov Updated Bulgarian translation by Iassen Pramatarov 2005-01-28 Alexander Shopov * bg.po: Updated Bulgarian translation by Iassen Pramatarov 2005-01-11 Laszlo Dvornik Hungarian translation added by Gabor Kelemen. 2005-01-11 Laszlo Dvornik * LINGUAS: Hungarian translation added by Gabor Kelemen. 2005-01-11 Laszlo Dvornik Hungarian translation added by Gabor Kelemen. 2005-01-11 Laszlo Dvornik * hu.po: Hungarian translation added by Gabor Kelemen. 2004-11-29 Funda Wang Added Simplified Chinese translation 2004-11-11 Benoît Dejean Updated French Translation. * fr.po: Updated French Translation. 2004-11-11 Benoît Dejean Added French Translation. * LINGUAS: * fr.po: Added French Translation. 2004-10-05 Amanpreet Singh Alam Add punjabi Lang 2004-10-05 Amanpreet Singh Alam add pa.po 2004-10-05 Amanpreet Singh Alam Add punjabi Languag 2004-09-26 Artur Flinta Updated Polish translation by GNOME PL Team. 2004-09-26 Artur Flinta * pl.po: Updated Polish translation by GNOME PL Team. 2004-09-26 Artur Flinta Updated Polish translation by GNOME PL Team. 2004-09-26 Artur Flinta * pl.po: Updated Polish translation by GNOME PL Team. 2004-09-25 Maxim Dziumanenko add uk.po 2004-09-25 Maxim Dziumanenko * add uk.po 2004-09-25 Maxim Dziumanenko Updated Ukrainian translation. 2004-09-25 Maxim Dziumanenko * Updated Ukrainian translation. 2004-09-22 Artur Flinta - added Polish language 2004-09-22 Artur Flinta Updated Polish translation by GNOME PL Team. 2004-09-22 Artur Flinta * pl.po: Updated Polish translation by GNOME PL Team. 2004-09-13 N Jayaradha Students translation added 2004-09-13 N Jayaradha tamil translation added 2004-09-08 Ankitkumar Rameshchandra Patel ankit@redhat.com 08/09/2004 * gu.po: Added Gujarati Translation 2004-09-06 Danilo Šegan Added Serbian translation. 2004-09-05 Ilkka Tuohela Added Finnish translation 2004-09-03 Laurent Dhima Added Albanian translation. 2004-09-03 Laurent Dhima * sq.po: Added Albanian translation. 2004-08-29 Sorry, I've mistaken a credit of JP translator. T.Aihana 2004-08-29 Sorry, I've mistaken a credit of JP translator. T.Aihana 2004-08-29 Updated ja.po. T.Aihana 2004-08-29 Updated ja.po. T.Aihana 2004-08-29 Vincent van Adrighem Translation updated by Tino Meinen. 2004-08-29 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2004-08-08 Duarte Loreto Updated Portuguese translation. 2004-08-09 Duarte Loreto * pt.po: Updated Portuguese translation. 2004-08-02 Adam Weinberger Updated Canadian English translation. * en_CA.po: Updated Canadian English translation. 2004-07-31 David Lodge Updated British translation. 2004-07-31 David Lodge * en_GB.po: Updated British translation. 2004-07-31 Francisco Javier F. Serrador Added Spanish translation. 2004-07-31 Francisco Javier F. Serrador * es.po: Added Spanish translation. 2004-07-18 Francisco Javier F. Serrador UPdated Spanish translation. 2004-07-18 Francisco Javier F. Serrador * es.po: UPdated Spanish translation. 2004-07-16 Gustavo Maciel Dias Vieira Updated Brazilian Portuguese translation done by Raphael Higino 2004-07-16 Gustavo Maciel Dias Vieira * pt_BR.po: Updated Brazilian Portuguese translation done by Raphael Higino . 2004-07-16 Daniel Elstner Rename from REGEXXER_CXXLINK_VERSION_SCRIPT() and make the macro language- * macros/cxx.m4 (REGEXXER_LINK_VERSION_SCRIPT): Rename from REGEXXER_CXXLINK_VERSION_SCRIPT() and make the macro language- acnostic. Also, take the name of the output variable to set as first parameter instead of hardcoding it. (REGEXXER_ARG_ENABLE_WARNINGS): Don't change the current language but use AC_LANG_ASSERT() instead to make sure it's C++. The user is required to select the approriate language by himself then, as recommended in the autoconf manual. * macros/misc.m4 (REGEXXER_LIB_POPT): Make language-acnostic. * macros/pcre.m4 (PCRE_CHECK_UTF8): ditto. * configure.ac: Reorder a couple of macro invocations and insert a call to AC_LANG([C++]). 2004-07-15 Miloslav Trmac Updated Czech translation. 2004-07-15 Miloslav Trmac * cs.po: Updated Czech translation. 2004-07-15 Vincent van Adrighem Translation updated by Tino Meinen. 2004-07-15 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2004-07-14 Miloslav Trmac Updated Czech translation. 2004-07-14 Miloslav Trmac * cs.po: Updated Czech translation. 2004-07-14 Daniel Elstner Get rid of unused string. ditto. * de.po: Get rid of unused string. * en.po: ditto. 2004-07-14 Daniel Elstner Fix the help string of the --ignore-case option to match the tool tip of * src/main.cc (parse_command_line): Fix the help string of the --ignore-case option to match the tool tip of the corresponding checkbutton. 2004-07-14 Daniel Elstner Update. Update. * de.po: Update. * en.po: Update. 2004-07-14 Daniel Elstner Replace `...' with \"...\" in message strings, for consistency with the * src/main.cc (parse_command_line): Replace `...' with \"...\" in message strings, for consistency with the rest of the application. 2004-07-14 Daniel Elstner :find_matches): Add a feedback slot parameter and invoke it for every * src/filebuffer.{cc,h} (FileBuffer::find_matches): Add a feedback slot parameter and invoke it for every matching line. The current line number and the subject string are passed as arguments to the feedback slot. * src/filetree.{cc,h} (FileTree::signal_feedback): New signal. (FileTree::find_matches_at_path_iter): Pass a feedback slot to FileBuffer::find_matches() that forwards to signal_feedback() with the fileinfo object bound as third argument. * src/mainwindow.{cc,h} (print_location): New handler for the feedback signal which prints the location of the match to standard output, in the same format as used by 'grep -n'. (InitState::feedback): New bool member. (MainWindow::initialize): Connect the filetree's signal_feedback to print_location if the init state's feedback flag is true. * src/main.cc (parse_command_line): Add the --line-number command line argument, intended to work just like the grep equivalent. 2004-07-13 Daniel Elstner :autorun_idle): New method which first invokes the file search and the * src/mainwindow.{cc,h} (MainWindow::autorun_idle): New method which first invokes the file search and the regex search after that, unless the user hit the Stop button in between. (MainWindow::initialize): Connect Glib::signal_idle() to the new autorun_idle() method instead of controller_.find_files.slot(). (MainWindow::busy_action_leave): Don't reset busy_action_cancel_ so that autorun_idle() can test this flag to determine whether the busy action was cancelled by the user. 2004-07-13 Daniel Elstner Translate new strings. ditto. * de.po: Translate new strings. * en.po: ditto. 2004-07-13 Daniel Elstner Make sure the preprocessor directives in the test program start in the * macros/pcre.m4 (PCRE_CHECK_UTF8): Make sure the preprocessor directives in the test program start in the first column, just in case we do hit on some ancient compiler that requires it. * macros/misc.m4 (REGEXXER_LIB_POPT): New macro that checks whether libpopt and popt.h are available and usable. * configure.ac: Use REGEXXER_LIB_POPT(). * src/Makefile.am (regexxer_LDADD): Add $(POPT_LIBS). * src/mainwindow.{cc,h} (InitState): New struct that defines the initial state of main window's entry boxes and check buttons. (MainWindow::initialize): New method to initialize the UI elements with the values defined by a InitState object. * src/translation.{cc,h} (initialize_gettext): Remove the call to bind_textdomain_codeset(). (enable_utf8_gettext): New function that calls bind_textdomain_codeset() if available. The separation became necessary in order to allow for the command line help message to be printed to the console in locale encoding. * src/main.cc (parse_command_line): New function which parses the command line arguments and returns an InitState object. (main): Invoke parse_command_line(), enable_utf8_gettext() and MainWindow::initialize() as appropriate. 2004-07-12 Daniel Elstner Handle ']' and '!' inside character classes more correctly. * src/stringutils.cc (shell_pattern_to_regex): Handle ']' and '!' inside character classes more correctly. 2004-07-11 Francisco Javier F. Serrador Updated Spanish translation. 2004-07-11 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2004-07-11 Updated ja.po. T.Aihana 2004-07-11 Updated ja.po. T.Aihana 2004-07-10 Daniel Elstner Remove. libsigc++ 2 depends on a proper compiler like g++ 3 anyway, so it * configure.ac (REGEXXER_CXX_HAS_STD_LOCALE): Remove. libsigc++ 2 depends on a proper compiler like g++ 3 anyway, so it make sense to require support of std::locale from now on. * macros/cxx.m4 (REGEXXER_CXX_HAS_STD_LOCALE): Delete the macro. * src/statusline.cc: Get rid of the preprocessor conditionals around code that makes use of std::locale. * src/stringutils.cc: ditto. 2004-07-09 Daniel Elstner Swap invocations of REGEXXER_ARG_ENABLE_WARNINGS() and * configure.ac: Swap invocations of REGEXXER_ARG_ENABLE_WARNINGS() and REGEXXER_CXXLINK_VERSION_SCRIPT(), just in case the additional warning flags break the test program used by the latter macro. 2004-07-09 Daniel Elstner Fix serious % vs. %s typo. ditto. * ja.po: Fix serious % vs. %s typo. * nl.po: ditto. * *.po: Regenerate, forced by make dist. I know I probably shouldn't commit this but I really want CVS to be in sync with the distributed tarball. Sorry. 2004-07-08 Daniel Elstner Update. * NEWS: Update. 2004-07-08 Daniel Elstner Increase "spacing" to 9. * ui/mainwindow.glade (hbox_file): Increase "spacing" to 9. 2004-07-06 Vincent van Adrighem Translation updated by Tino Meinen. 2004-07-06 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2004-07-06 Daniel Elstner New file; an ld version script which lists the symbols that should be * src/exported-symbols: New file; an ld version script which lists the symbols that should be exported explicitely. Using that makes the stripped regexxer binary more than 100k smaller! * macros/cxx.m4 (REGEXXER_CXXLINK_VERSION_SCRIPT): New macro to test if the linker supports the -Wl,--version-script argument. * configure.ac: Call REGEXXER_CXXLINK_VERSION_SCRIPT(). * src/Makefile.am (dist_noinst_DATA): Distribute exported-symbols. (regexxer_DEPENDENCIES): Depend on exported-symbols. (regexxer_LDFLAGS): Pass $(REGEXXER_VERSION_SCRIPT) to the linker. 2004-07-05 Daniel Elstner Rename from apply_label_markup for clarity. * src/aboutdialog.cc (apply_label_what_markup): Rename from apply_label_markup for clarity. 2004-07-05 Daniel Elstner :find_matches_at_path_iter): Use reference arguments instead of pointers. * src/filetree.{cc,h} (FileTree::find_matches_at_path_iter): Use reference arguments instead of pointers. Make use of sigc::ref() to bind a reference argument to a signal handler. (FileTree::replace_matches_at_path_iter): ditto (FileTree::save_file_at_iter): Likewise. Also get rid of the on-demand creation of error_list, because it's unnecessary and not exception-safe. The caller is responsible for instantiating the MessageList now. 2004-07-01 Miloslav Trmac Updated Czech translation. 2004-07-01 Miloslav Trmac * cs.po: Updated Czech translation. 2004-06-30 Daniel Elstner Be slightly more picky and demand the first and last characters of the * src/stringutils.cc (validate_encoding): Be slightly more picky and demand the first and last characters of the encoding string to be alpha-numeric. 2004-06-30 Daniel Elstner Better don't try to call Glib::convert() with identical input and output * src/stringutils.cc (validate_encoding): Better don't try to call Glib::convert() with identical input and output encodings. I heard the iconv on Solaris doesn't like that idea at all. 2004-06-30 Daniel Elstner Wrap too-long line. 2004-06-30 Daniel Elstner :on_response): Suggest a sync to the GConf client when the dialog is * src/prefdialog.cc (PrefDialog::on_response): Suggest a sync to the GConf client when the dialog is closed. 2004-06-29 Daniel Elstner Remove empty string properties and all GtkEntry "invisible_char" * ui/mainwindow.glade: Remove empty string properties and all GtkEntry "invisible_char" properties. The latter had no purpose other than to annoy the translators. * ui/prefdialog.glade: ditto. 2004-06-29 Daniel Elstner New string constant defining the name of the selection to use for the * src/mainwindow.cc (selection_clipboard): New string constant defining the name of the selection to use for the clipboard. (MainWindow::on_cut): Use the selection_clipboard constant. (MainWindow::on_copy): ditto (MainWindow::on_paste): ditto. 2004-06-29 Daniel Elstner :edit_actions): Rename from clip_actions. (Controller::erase): Add action. * src/controller.{cc,h} (Controller::edit_actions): Rename from clip_actions. (Controller::erase): Add action. (Controller::load_xml): Fetch cut, copy, paste and delete menu items from the glade file. * src/mainwindow.{cc,h} (MainWindow::on_{cut,copy,paste,erase}): Add and implement new signal handlers. (MainWindow::connect_signals): Connect the cut, copy, paste and erase actions to the new signal handlers. (MainWindow::on_filetree_switch_buffer): Enable or disable the edit actions based on the editability of the file buffer. 2004-06-29 Daniel Elstner Temporarily remove this file, until dobey realizes that he's neither * Makevars: Temporarily remove this file, until dobey realizes that he's neither infallible nor the God of Perl. (#144725) 2004-06-29 Daniel Elstner Translate new strings. ditto. * de.po: Translate new strings. * en.po: ditto. 2004-06-25 Daniel Elstner Add an Edit menu, as well as a Cut, Copy and Paste menu items. * src/controller.{cc,h} (Controller): Add an Edit menu, as well as a Cut, Copy and Paste menu items. * ui/mainwindow.glade: As above, and move Undo and Preferences into the Edit menu. 2004-06-21 Daniel Elstner Recent intltool now parses the Makevars file, thus set this variable to * po/Makevars (XGETTEXT_OPTIONS): Recent intltool now parses the Makevars file, thus set this variable to the options we want. 2004-06-20 Daniel Elstner Get rid of the redundant -DREGEXXER_LOCALEDIR=\""$(datadir)/locale"\" * src/Makefile.am (global_defines): Get rid of the redundant -DREGEXXER_LOCALEDIR=\""$(datadir)/locale"\" definition. * src/main.cc (locale_directory): New string constant. (main): Replace REGEXXER_LOCALEDIR with locale_directory. 2004-06-19 Daniel Elstner Add -DGTKMM_DISABLE_DEPRECATED. * src/Makefile.am (global_defines): Add -DGTKMM_DISABLE_DEPRECATED. * src/filetree.cc (FileTree::FileTree): Replace the deprecated set_sort_column_id() by set_sort_column(). * src/filetreeprivate.cc (FileTree::ScopedBlockSorting::ScopedBlockSorting): ditto (FileTree::ScopedBlockSorting::~ScopedBlockSorting): ditto. * src/mainwindow.cc (MainWindow::on_go_next): Use scroll_to() in place of the deprecated scroll_to_mark(). 2004-06-19 Daniel Elstner Strip the directory prefix from filenames if present, because of the * pixmaps/Makefile.am (stockimages.h): Strip the directory prefix from filenames if present, because of the possibility of automatic rule rewriting as done e.g. by SunOS make. 2004-06-19 Daniel Elstner Add po/LINGUAS. * Makefile.am (dist_noinst_DATA): Add po/LINGUAS. 2004-06-18 Daniel Elstner New translation, contributed by Alberto Paro . * it.po: New translation, contributed by Alberto Paro . * LINGUAS: Add it. 2004-06-16 Daniel Elstner Make use of the convenience tag to simplify the markup slightly. * src/aboutdialog.cc (apply_label_markup): Make use of the convenience tag to simplify the markup slightly. 2004-06-16 Daniel Elstner Include instead of the whole to save a * src/aboutdialog.cc: Include instead of the whole to save a tiny bit of compile time. * src/controller.cc: ditto. * src/filebuffer.cc: Same here, and also replace by . * src/filetree.cc: ditto * src/mainwindow.cc: ditto * src/prefdialog.cc: ditto. 2004-06-14 Daniel Elstner Only call bind_textdomain_codeset() if it is available. I do hope there * src/translation.cc (initialize_gettext): Only call bind_textdomain_codeset() if it is available. I do hope there aren't any gettext implementations around that perform encoding conversion but don't have bind_textdomain_codeset()... 2004-06-14 Daniel Elstner Add dummy template specializations for SharedObject and const * src/sharedptr.h (SharedPtr): Add dummy template specializations for SharedObject and const SharedObject. This makes it impossible to instantiate a generic SharedPtr, which would be fatal because SharedObject doesn't have a virtual destructor. 2004-06-14 Daniel Elstner :refcount_): Change type to long, so that a full word will be used on 64 * src/sharedptr.h (SharedObject::refcount_): Change type to long, so that a full word will be used on 64 bit machines. (SharedPtr): Add a paragraph about operator const void*() to the class description. 2004-06-12 Added ja.po and Added 'ja' into LINGUAS. T.Aihana 2004-06-12 Added ja.po and Added 'ja' into LINGUAS. T.Aihana 2004-06-10 Daniel Elstner Replace literal translation with "João Paulo Gomes Vanzuita * pt_BR.po ("translator-credits"): Replace literal translation with "João Paulo Gomes Vanzuita " who contributed this file. 2004-06-10 Gustavo Noronha Silva added pt_BR * LINGUAS: added pt_BR * pt_BR.po: added translation, by Joao Paulo Gomes Vanzuita 2004-06-09 Daniel Elstner Update to pull in the qt-format comments. ditto. * de.po: Update to pull in the qt-format comments. * en.po: ditto. 2004-06-09 Daniel Elstner Append an XGETTEXT_KEYWORDS = ... line to the generated po/Makefile.in.in * autogen.sh: Append an XGETTEXT_KEYWORDS = ... line to the generated po/Makefile.in.in file. These flags are picked up by intltool-update and passed to xgettext. Use this feature to make xgettext recognize Util::compose() format strings. 2004-06-09 Daniel Elstner Use a plain shell assignment plus a separate AC_SUBST([GETTEXT_PACKAGE]) * configure.ac (GETTEXT_PACKAGE): Use a plain shell assignment plus a separate AC_SUBST([GETTEXT_PACKAGE]) in order to please the fucked up intltool-update script. 2004-06-09 Daniel Elstner Add G_GNUC_FORMAT(1) attribute. * src/translation.h (translate): Add G_GNUC_FORMAT(1) attribute. 2004-06-09 Daniel Elstner :find_add_file): Create the FileInfo object in advance before inserting * src/filetree.cc (FileTree::find_add_file): Create the FileInfo object in advance before inserting the new row in order to improve exception safety. (FileTree::find_fill_dirstack): Same here for the DirInfo object. 2004-06-09 Daniel Elstner :next_match_file): Move code from FileTree::next_match_file() here. * src/filetreeprivate.{cc,h} (FileTreePrivate::next_match_file): Move code from FileTree::next_match_file() here. (FileTreePrivate::prev_match_file): Move code from FileTree::prev_match_file() here. * src/filetree.{cc,h} (FileTree::next_match_file): Remove. (FileTree::prev_match_file): Remove. 2004-06-09 Daniel Elstner :next_match_file): Replace the collapse_stack parameter by a single * src/filetree.{cc,h} (FileTree::next_match_file): Replace the collapse_stack parameter by a single Gtk::TreeModel::Path pointer, because we really don't have to collapse each expanded child row explicitely. Simplify the implementation accordingly. (FileTree::prev_match_file): ditto. (FileTree::select_next_file): Get rid of the collapse_stack container and use a simple Gtk::TreeModel::Path variable instead. 2004-06-09 Daniel Elstner Use Gtk::TextBuffer::get_slice() rather than get_text(). * src/fileio.cc (save_iochannel): Use Gtk::TextBuffer::get_slice() rather than get_text(). 2004-06-09 Daniel Elstner Whitespace fixes. 2004-06-09 Daniel Elstner Reduce usage of Glib::ustring::raw() in favor of native ustring accessor * src/stringutils.cc (substitute_references): Reduce usage of Glib::ustring::raw() in favor of native ustring accessor methods. 2004-06-09 Daniel Elstner Change return type and parameter types to Glib::ustring. I have no idea as * src/stringutils.{cc,h} (substitute_references): Change return type and parameter types to Glib::ustring. I have no idea as to why the interface used std::string in the first place... * src/filebuffer.cc (FileBuffer::get_line_preview): Adapt to the changed parameter types of Util::substitute_references(). (FileBuffer::replace_match): ditto. 2004-06-08 Daniel Elstner :find_matches): Remove bogus comment. * src/filebuffer.cc (FileBuffer::find_matches): Remove bogus comment. 2004-06-08 Daniel Elstner :undo_remove_match): Avoid decrementing current_match_ since it might * src/filebuffer.cc (FileBuffer::undo_remove_match): Avoid decrementing current_match_ since it might point to the start of the range. Also remove the call to remove_tag_current() because it does nothing if match_removed_ is set anyway. 2004-06-08 Daniel Elstner Add accelerator key CTRL-z. * ui/mainwindow.glade (menuitem_undo): Add accelerator key CTRL-z. 2004-06-08 Daniel Elstner Eliminate the include dependency on the pcre.h header. This requires * src/pcreshell.h: Eliminate the include dependency on the pcre.h header. This requires defining the numeric values of the bit flag enums directly, but fortunately these cannot be changed without breaking ABI anyway. * src/pcreshell.cc: Include pcre.h, and use static_cast<> where necessary to allow for Pattern::pcre_ to be declared as void*. 2004-06-08 Daniel Elstner :set_title_filename): Concatenate with the string literal PACKAGE_NAME at * src/mainwindow.cc (MainWindow::set_title_filename): Concatenate with the string literal PACKAGE_NAME at compile time. 2004-06-08 Daniel Elstner :find_add_file): New method. Move the actual file-adding parts from * src/filetree.{cc,h} (FileTree::find_add_file): New method. Move the actual file-adding parts from find_check_file() here. (FileTree::find_recursively): Move the file testing previously done in find_check_file() into this method in order to make the recursion more obvious. Also handle Glib::Dir exceptions right here, so that the caller doesn't have to handle them. (FileTree::find_files): Remove the try/catch block enclosing the call to find_recursively(). We no longer need to do it twice. (FileTree::find_check_file): Remove. 2004-06-04 Gareth Owen Updated British English translation 2004-06-03 Daniel Elstner :calculate_file_index): Simplify. * src/filetree.cc (FileTree::calculate_file_index): Simplify. 2004-06-02 Daniel Elstner :create_with_error_message): Minor code rearrangement. * src/filebuffer.cc (FileBuffer::create_with_error_message): Minor code rearrangement. 2004-06-01 Daniel Elstner :find_files): Slightly clarify the call to Gtk::TreePath's constructor. * src/filetree.cc (FileTree::find_files): Slightly clarify the call to Gtk::TreePath's constructor. 2004-06-01 Daniel Elstner Remove because automake-1.7 complains about the undefined variable * Makefile.am (ACLOCAL_AMFLAGS): Remove because automake-1.7 complains about the undefined variable ${ACLOCAL_FLAGS} even though it's a shell substitution. * configure.ac: Use AC_SUBST() to set up ACLOCAL_AMFLAGS here instead, so automake-1.7 won't notice. 2004-06-01 Daniel Elstner :expand_and_select): Replace the calls to TreeSelection::select() and * src/filetree.cc (FileTree::expand_and_select): Replace the calls to TreeSelection::select() and TreeView::scroll_to_row() by a single TreeView::set_cursor() call. (FileTree::find_files): After the tree has been filled in, the first call to expand_and_select() doesn't always scroll to the selected row (no matter if set_cursor() or scroll_to_row() is used there). Explicitely scroll to the first row after filling the tree to work around this problem. 2004-06-01 Daniel Elstner Prepend GNOME to the list. * regexxer.desktop.in (Categories): Prepend GNOME to the list. 2004-06-01 Daniel Elstner Remove superfluous namespace prefix. * src/translation.cc (compose_impl): Remove superfluous namespace prefix. 2004-06-01 Daniel Elstner Optimize and reduce executable size by replacing * src/translation.cc (compose): Optimize and reduce executable size by replacing std::vector by a POD array of pointers to the Glib::ustring arguments. 2004-06-01 Daniel Elstner :load_file_with_fallback): Get the UTF-8 encoded basename from the * src/filetree.cc (FileTree::load_file_with_fallback): Get the UTF-8 encoded basename from the filename column of the tree model instead of stripping and converting fileinfo->fullname all over again. 2004-06-01 Daniel Elstner Move the assignment of 'false' to fileinfo->load_failed to the very end of * src/fileio.cc (load_file): Move the assignment of 'false' to fileinfo->load_failed to the very end of the function, because there is a tiny chance that one of the other assignments throws an exception. 2004-06-01 Daniel Elstner :find_increment_file_count): There is no need for the reverse_iterator * src/filetree.cc (FileTree::find_increment_file_count): There is no need for the reverse_iterator abstraction here -- just use plain iterators and decrement them. 2004-06-01 Daniel Elstner :prev_match_file): As it turns out keeping track of the parent iterator * src/filetree.cc (FileTree::prev_match_file): As it turns out keeping track of the parent iterator does have some merit. While there was nothing wrong with the previous change, I discovered that the parent's children can be indexed in order to obtain an iterator pointing to the previous row. At least for deep trees this is likely to be faster than resolving the whole path via Gtk::TreeModel::get_iter(). 2004-06-01 Daniel Elstner :prev_match_file): There is no need to keep track of the parent iterator; * src/filetree.cc (FileTree::prev_match_file): There is no need to keep track of the parent iterator; just use Gtk::TreePath::size() and TreePath::up(). Also use TreePath::push_back() instead of the deprecated TreePath::append_index(). 2004-06-01 Daniel Elstner :find_matches_at_path_iter): Rename from find_matches_at_iter(): add a * src/filetree.{cc,h} (FileTree::find_matches_at_path_iter): Rename from find_matches_at_iter(): add a path parameter and use it instead of obtaining the path from the iter argument. (FileTree::replace_matches_at_path_iter): Rename from replace_matches_at_iter(): add a path parameter and use it. (FileTree::find_matches): Use TreeModel::foreach() rather than foreach_iter() in order to gain a minor performance improvement by taking advantage of the supplied Gtk::TreePath. (FileTree::replace_all_matches): ditto. 2004-06-01 Daniel Elstner :on_treestore_rows_reordered): New signal handler which updates the match * src/filetree.{cc,h} (FileTree::on_treestore_rows_reordered): New signal handler which updates the match boundaries defined by the [path_match_first_, path_match_last_] range. Previously this has been handled in on_treestore_sort_column_changed(), which is unfortunately called before the actual sorting takes place. (FileTree::on_treestore_sort_column_changed): Remove. (FileTree::FileTree): Connect to signal_rows_reordered() instead of signal_sort_column_changed(). 2004-05-31 Daniel Elstner Add nl. * LINGUAS: Add nl. 2004-05-31 Vincent van Adrighem Translation added by Tino Meinen. 2004-05-31 Vincent van Adrighem * nl.po: Translation added by Tino Meinen. 2004-05-31 Daniel Elstner :instance): New static method which replaces the filetree_columns() * src/filetreeprivate.{cc,h} (FileTreeColumns::instance): New static method which replaces the filetree_columns() function, for consistency with RegexxerTags::instance(). (filetree_columns): Remove. * src/filetree.cc: Replace all instances of filetree_columns() with FileTreeColumns::instance(). 2004-05-31 Daniel Elstner Get rid of the prefixed U+202D LEFT-TO-RIGHT OVERRIDE since Pango gets * ui/aboutdialog.glade (label_url): Get rid of the prefixed U+202D LEFT-TO-RIGHT OVERRIDE since Pango gets that right on its own now. (label_author_who): ditto * ui/mainwindow.glade (button_multiple): ditto (button_caseless): ditto. 2004-05-31 Daniel Elstner Set to active by default. * ui/mainwindow.glade (button_multiple): Set to active by default. 2004-05-31 Daniel Elstner Fix ChangeLog typo. 2004-05-31 Daniel Elstner :set_file_encoding): Work around the GTK+ bug with right-aligned labels by * src/statusline.cc (Status::set_file_encoding): Work around the GTK+ bug with right-aligned labels by calling check_resize(), just as already done in CounterBox::set_index(). Note that the status bar is right-aligned only in RTL locales. 2004-05-31 Daniel Elstner :create): If no translation is available for the current locale, replace * src/aboutdialog.cc (AboutDialog::create): If no translation is available for the current locale, replace "translator-credits" by some more user-friendly text. 2004-05-30 Adam Weinberger Updated Canadian English translation. * en_CA.po: Updated Canadian English translation. 2004-05-30 Daniel Elstner :color_modified_): Use "Accent Red" from the basic GNOME 32-color palette * src/filetree.cc (FileTree::color_modified_): Use "Accent Red" from the basic GNOME 32-color palette instead of rgb.txt "red". (FileTree::text_cell_data_func): Set the text style to "oblique" in addition to painting in red color if the file was modified. 2004-05-30 Daniel Elstner :get_substring_bounds): Sanity-check for index >= 0 too. * src/pcreshell.cc (Pattern::get_substring_bounds): Sanity-check for index >= 0 too. 2004-05-30 Daniel Elstner Remove now unused strings. ditto. * de.po: Remove now unused strings. * en.po: ditto. 2004-05-30 Daniel Elstner :on_conf_value_changed): Remove "using namespace Gtk" directive which * src/mainwindow.cc (MainWindow::on_conf_value_changed): Remove "using namespace Gtk" directive which became pointless after the last change. 2004-05-30 Daniel Elstner Remove configuration option because it doesn't seem to be necessary * regexxer.schemas.in (override_direction): Remove configuration option because it doesn't seem to be necessary anymore. That is, the current GTK+ release gets the direction of Latin text in RTL locales right now. * src/globalstrings.h (conf_key_override_direction): Remove. * src/mainwindow.cc (MainWindow::on_conf_value_changed): Remove the code that handles the "override_direction" config option. * src/prefdialog.{cc,h} (PrefDialog): ditto. * ui/prefdialog.glade (button_override_direction): Remove. 2004-05-30 Daniel Elstner :find_matches): Get rid of an unused main_context variable plus * src/filebuffer.cc (FileBuffer::find_matches): Get rid of an unused main_context variable plus initialization code. Whoa, this ancient piece of code must have been lurking here for at least a year without being used. Unfortunately g++ didn't warn about it since the ctor/dtor might have had side effects... 2004-05-30 Daniel Elstner In the regex used to extract version numbers, avoid any use of quantifiers * autogen.sh: In the regex used to extract version numbers, avoid any use of quantifiers other than * for maximum portability. * macros/pcre.m4 (PCRE_CHECK_VERSION): Same here, and also be more forgiving about extra characters possibly following the version number. 2004-05-30 Daniel Elstner Replace AC_MSG_ERROR() by AC_MSG_FAILURE(), and add an autoconf-time check * macros/misc.m4 (REGEXXER_PKG_PATH_PROG): Replace AC_MSG_ERROR() by AC_MSG_FAILURE(), and add an autoconf-time check to make sure all necessary arguments are specified. * macros/pcre.m4: Replace AC_MSG_ERROR() by AC_MSG_FAILURE(), and add a few redirections of stderr to the config.log file descriptor where appropriate. 2004-05-30 Daniel Elstner :filetree_columns): Remove the G_GNUC_CONST attribute since in this * src/filetreeprivate.h (FileTreePrivate::filetree_columns): Remove the G_GNUC_CONST attribute since in this function's case it doesn't gain us anything anyway. * src/translation.h (translate): Use G_GNUC_PURE rather than G_GNUC_CONST because the function depends on global memory. 2004-05-30 Daniel Elstner :match): Use the symbolic constant PCRE_ERROR_NOMATCH instead of comparing * src/pcreshell.cc (Pattern::match): Use the symbolic constant PCRE_ERROR_NOMATCH instead of comparing with -1 directly. 2004-05-29 Daniel Elstner Remove tool button. I'm not yet convinced that the "Quit" button should be * ui/mainwindow.glade (button_preferences): Remove tool button. I'm not yet convinced that the "Quit" button should be removed too, because I like it large and easy to hit on :) * src/controller.cc (Controller::load_xml): No longer load "button_preferences" from the glade file. 2004-05-29 Miloslav Trmac Updated Czech translation. 2004-05-29 Miloslav Trmac * cs.po: Updated Czech translation. 2004-05-28 Daniel Elstner There is no need to pass the [not found] argument to AC_PATH_PROG, since * macros/misc.m4 (REGEXXER_PKG_PATH_PROG): There is no need to pass the [not found] argument to AC_PATH_PROG, since the default action is just right. * macros/pcre.m4 (PCRE_CHECK_VERSION): ditto. 2004-05-28 Daniel Elstner Add ${ACLOCAL_FLAGS} as recommended by James Henstridge. * Makefile.am (ACLOCAL_AMFLAGS): Add ${ACLOCAL_FLAGS} as recommended by James Henstridge. 2004-05-28 Daniel Elstner Don't use $^ since it probably isn't portable. (uninstall-schemas): ditto. * Makefile.am (install-schemas): Don't use $^ since it probably isn't portable. (uninstall-schemas): ditto. 2004-05-28 Daniel Elstner Bump version requirement to libpcre 4.0. Apparently the code required this * configure.ac (PCRE_CHECK_VERSION): Bump version requirement to libpcre 4.0. Apparently the code required this version for quite some time now, but without configure checking for it. 2004-05-28 Daniel Elstner :Pattern): Let's be paranoid and use g_new0() rather than plain g_new() to * src/pcreshell.cc (Pattern::Pattern): Let's be paranoid and use g_new0() rather than plain g_new() to allocate ovector_. (Pattern::get_substring_bounds): More paranoia: assert that the index argument is within the allowed range. (Pattern::get_substring): Call get_substring_bounds() to get the boundary offsets in order to take advantage of the error checking. 2004-05-28 Daniel Elstner Replace non-ASCII characters by octal escapes rather than just a question * src/stringutils.cc (convert_to_ascii): Replace non-ASCII characters by octal escapes rather than just a question mark. 2004-05-28 Daniel Elstner Translate new string. ditto. * de.po: Translate new string. * en.po: ditto. 2004-05-28 Daniel Elstner :instance): Remove G_GNUC_CONST because it causes problems on PPC, and * src/filebuffer.cc (RegexxerTags::instance): Remove G_GNUC_CONST because it causes problems on PPC, and doesn't have any effect in this particular case anyway. 2004-05-28 Daniel Elstner :get_folder_fullname): New method that expands the entered folder name and * src/mainwindow.{cc,h} (MainWindow::get_folder_fullname): New method that expands the entered folder name and converts it to filename encoding. An error message is displayed to the user if the conversion fails. (MainWindow::on_select_folder): Use get_folder_fullname(). (MainWindow::on_find_files): ditto. 2004-05-28 Daniel Elstner Operate directly in filename encoding since all callers need to convert * src/stringutils.{cc,h} (expand_pathname): Operate directly in filename encoding since all callers need to convert one way or the other anyway. Change type of parameter and return value to std::string accordingly. (shorten_pathname): ditto. * src/mainwindow.cc (MainWindow::MainWindow): Reverse order of the calls to filename_to_utf8_fallback() and shorten_pathname(). (MainWindow::on_select_folder): ditto (MainWindow::on_find_files): ditto. * src/mainwindow.{cc,h} (MainWindow::set_title_filename): Change parameter type to std::string and call filename_to_utf8_fallback(). Also remove the default argument from the declaration, and get rid of the logic that handles the empty string. (MainWindow::MainWindow): Call window_->set_title() directly in order to set the default title, instead of passing an empty string to set_title_filename(). (MainWindow::on_filetree_switch_buffer): ditto. 2004-05-27 Daniel Elstner On failure, don't fall back to the locale encoding anymore but straight to * 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. 2004-05-26 Daniel Elstner Use colors from the basic GNOME 32-color palette for the match_color and * regexxer.schemas.in: Use colors from the basic GNOME 32-color palette for the match_color and current_match_color default values. 2004-05-26 Daniel Elstner Validate the UCS-4 code point returned by Unicode::tolower() or * src/stringutils.cc (apply_modifiers): Validate the UCS-4 code point returned by Unicode::tolower() or Unicode::totitle() before appending it to the string. This is necessary because for example converting U+00DF to title case is an invalid operation. 2004-05-25 Daniel Elstner Print a warning message to the console if the format string contains an * src/translation.cc (compose_impl): Print a warning message to the console if the format string contains an invalid substitution, rather than just silently ignoring the error. This is mainly of importance to translators, as it provides them some feedback if they get it wrong. 2004-05-25 Daniel Elstner Move to anonymous namespace. Not that it matters much, but I like it this * src/filetree.cc (regexxer_create_file_tree): Move to anonymous namespace. Not that it matters much, but I like it this way. * src/statusline.cc (regexxer_create_status_line): ditto. 2004-05-25 Daniel Elstner :FileTree): Remove superfluous namespace qualification. * src/filetree.cc (FileTree::FileTree): Remove superfluous namespace qualification. 2004-05-25 Daniel Elstner Avoid using postfix operators on subexpressions in the regex used to * autogen.sh: Avoid using postfix operators on subexpressions in the regex used to extract version numbers. This makes the expression both simpler and more portable. * macros/pcre.m4 (PCRE_CHECK_VERSION): ditto. 2004-05-25 Daniel Elstner Strip "-L/usr/lib" from PCRE_LIBS if necessary. Strip "-I/usr/include" * macros/pcre.m4 (PCRE_CHECK_VERSION): Strip "-L/usr/lib" from PCRE_LIBS if necessary. Strip "-I/usr/include" from PCRE_CFLAGS too -- although not required on Debian, it's better not to rely on this. * autogen.sh: Standard POSIX regexps suck: according to the sed documentation, both "\?" and "\+" are GNU extensions. Replace by "\{0,1\}" and "\{1,\}", respectively. * macros/pcre.m4 (PCRE_CHECK_VERSION): ditto. 2004-05-24 Adam Weinberger Added en_CA to the list Added Canadian English translation. * LINGUAS: Added en_CA to the list * en_CA.po: Added Canadian English translation. 2004-05-22 Daniel Elstner Oops, the closing quote in German is U+201C not U+201D. * de.po: Oops, the closing quote in German is U+201C not U+201D. 2004-05-21 Daniel Elstner :on_find_files): Minor coding style modifications. * src/mainwindow.cc (MainWindow::on_find_files): Minor coding style modifications. 2004-05-21 Daniel Elstner :on_select_folder): Simplify the code: with the new FileChooser we no * 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. 2004-05-21 Daniel Elstner New exception class. * 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. 2004-05-21 Daniel Elstner :replace_all_matches): Substitute Gtk::TreeIter with * src/filetree.cc (FileTree::replace_all_matches): Substitute Gtk::TreeIter with Gtk::TreeModel::iterator for consistency. 2004-05-21 Daniel Elstner [ Fix accidental ChangeLog omission ] * 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. 2004-05-21 Daniel Elstner :do_undo): Don't create a temporary copy of the pulse slot since * src/undostack.cc (UndoStack::do_undo): Don't create a temporary copy of the pulse slot since libsigc++2 allows calling const slots. 2004-05-21 Daniel Elstner :replace_all_matches): Make sure path_match_first_ points to the first * 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. 2004-05-20 Daniel Elstner Set "can_focus" to False. * ui/mainwindow.glade (entry_preview): Set "can_focus" to False. 2004-05-20 Miloslav Trmac Updated Czech translation. 2004-05-20 Miloslav Trmac * cs.po: Updated Czech translation. 2004-05-20 Daniel Elstner Break apart a couple of uber-long lines. * src/mainwindow.cc: Break apart a couple of uber-long lines. 2004-05-20 Daniel Elstner New string constant which defines the package title string plus * src/aboutdialog.cc (package_title): New string constant which defines the package title string plus surrounding markup. (AboutDialog::create): Use the separated package_title constant. * src/aboutdialog.{cc,h} (AboutDialog::create): Change the return type to std::auto_ptr because copying-destroys-source is just what we want. Calling release() to achieve exactly that was a silly idea to begin with. 2004-05-19 Gareth Owen Updated British English translation 2004-05-19 Daniel Elstner Synchronize with source tree. * *.po: Synchronize with source tree. * de.po: Update translation and add credits. * en.po: ditto. 2004-05-19 Daniel Elstner Remove. The Debian package of regexxer is not the only one out there, and * 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. 2004-05-19 Miloslav Trmac Updated Czech translation. 2004-05-19 Miloslav Trmac * cs.po: Updated Czech translation. 2004-05-19 Daniel Elstner No need to explicitely specify $(top_srcdir)/ in the directory name * 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. 2004-05-19 Daniel Elstner AC_SUBST() this variable with '$(top_srcdir)/po/LINGUAS' for utmost * configure.ac (CONFIG_STATUS_DEPENDENCIES): AC_SUBST() this variable with '$(top_srcdir)/po/LINGUAS' for utmost perfection ;-) 2004-05-19 Daniel Elstner Make glade-2 replace its old-style magic "class names" with proper * 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. 2004-05-18 Miloslav Trmac Add cs to LINGUAS 2004-05-18 Miloslav Trmac Added Czech translation. 2004-05-18 Miloslav Trmac * cs.po: Added Czech translation. 2004-05-18 Daniel Elstner :on_response): Invoke Gtk::Widget::activate() instead of directly calling * 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. 2004-05-18 Daniel Elstner Return -1 rather than 0 on failure. * src/prefdialog.cc (get_toolbar_style_index): Return -1 rather than 0 on failure. 2004-05-18 Daniel Elstner Synchronize with source code. * *.po: Synchronize with source code. 2004-05-18 Daniel Elstner Replace custom font selection button with the new GtkFontButton. * 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(). 2004-05-18 Daniel Elstner :load_xml): Make the folder button grab focus because otherwise the * 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. 2004-05-18 Daniel Elstner Use `cat "$srcdir/po/LINGUAS"` to assign this variable, so that there is * 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. 2004-05-17 Duarte Loreto Added Portuguese (pt) to ALL_LINGUAS. 2004-05-17 Duarte Loreto * configure.ac: Added Portuguese (pt) to ALL_LINGUAS. 2004-05-17 Duarte Loreto Added Portuguese translation. Added Portuguese (pt). 2004-05-17 Duarte Loreto * pt.po: Added Portuguese translation. * LINGUAS: Added Portuguese (pt). 2004-05-17 Christian Rose Added "sv" to ALL_LINGUAS. Added an incomplete Swedish translation. Added 2004-05-17 Christian Rose * 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. 2004-05-17 Daniel Elstner Fix an older ChangeLog entry. 2004-05-17 Daniel Elstner Remove config.rpath because automake distributes this file automatically. * 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. 2004-05-17 Daniel Elstner Translate new desktop file strings. ditto. * de.po: Translate new desktop file strings. * en.po: ditto. 2004-05-17 Daniel Elstner Use _Name to make it translatable, and change the string to "regexxer * regexxer.desktop (Name): Use _Name to make it translatable, and change the string to "regexxer Search Tool". Idea from Dag Wieers. 2004-05-17 Daniel Elstner Sync. 2004-05-17 Daniel Elstner Mark all const_cast<> work-arounds for the Gtk::TextIter API bug with // * 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. 2004-05-17 Daniel Elstner Simplify. Since regexxer.schemas is now a generated file it is always * 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 :/ 2004-05-17 Daniel Elstner 16): Fix translation. * de.po (ui/prefdialog.glade.h:16): Fix translation. 2004-05-17 Daniel Elstner List build-time generated files $(desktop_DATA) and $(schemas_DATA). * 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. 2004-05-17 Daniel Elstner Remove file from the repository because autogen.sh now executes * 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. 2004-05-17 Daniel Elstner Execute glib-gettextize and intltoolize. * 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. 2004-05-17 Daniel Elstner Use libstdc++-v3 method std::string::compare() instead of memcmp() for * src/filetreeprivate.cc (collatekey_sort_func): Use libstdc++-v3 method std::string::compare() instead of memcmp() for sub-string comparison, since libsigc++2 depends on gcc >= 3 anyway. 2004-05-17 Daniel Elstner Line number changes, again. 2004-05-17 Daniel Elstner :FileTree): Make the file column take up available space with * src/filetree.cc (FileTree::FileTree): Make the file column take up available space with set_expand(true). 2004-05-17 Daniel Elstner Line number changes. * *.po: Line number changes. 2004-05-17 Daniel Elstner Bump version to 0.8. (PKG_CHECK_MODULES): Require gconfmm-2.6 >= 2.6.1. * configure.ac (AC_INIT): Bump version to 0.8. (PKG_CHECK_MODULES): Require gconfmm-2.6 >= 2.6.1. (REGEXXER_GCONFMM_VALUE_HACK): Remove. * src/miscutils.{cc,h} (check_for_broken_gconfmm_value_changed): Remove. (has_broken_gconfmm_value_changed): Remove. * src/main.cc (main): Remove call to gconfmm bug runtime test. * src/filebuffer.cc (on_config_value_changed): Remove hack. * src/filetree.cc (on_config_value_changed): ditto * src/mainwindow.cc (on_config_value_changed): ditto. * src/prefdialog.{cc,h} (on_config_value_changed_hack): Remove. 2004-05-16 Daniel Elstner Remove now unused files. * src/imagebutton.{cc,h}: Remove now unused files. 2004-05-16 Daniel Elstner Update due to line number changes. * *.po: Update due to line number changes. 2004-05-16 Daniel Elstner Use Gtk::FileChooserDialog instead of the old Gtk::FileSelection. * src/mainwindow.cc (on_select_folder): Use Gtk::FileChooserDialog instead of the old Gtk::FileSelection. 2004-05-16 Daniel Elstner Removes the line that was inserted by buggy 2004-05-16 Daniel Elstner * ui/prefdialog.glade: Removes the line that was inserted by buggy glade-2. 2004-05-14 Daniel Elstner * src/filetree.cc: Replace instances of `...' in message strings with "...". Since the translator is supposed to use double-quotes it would be confusing to use single quotes in the original string. * src/mainwindow.cc: ditto * src/prefdialog.cc: ditto. 2004-05-14 Daniel Elstner * ui/mainwindow.glade (button_find_files): Use a custom image and label instead of a stock item as button content, so that it can be more clearly distinguished from button_find_matches. 2004-05-13 Daniel Elstner * ui/mainwindow.glade: Reintroduce tearoff menu items by manually inserting the necessary XML elements. 2004-05-12 Daniel Elstner * src/fileio.cc: Remove the libgnome-vfsmm code already enclosed by #if 0 ... #endif. It's all in the CVS history anyway. * src/filetree.cc: ditto. 2004-05-12 Daniel Elstner * src/imagebutton.{cc,h}: Remove files as they're no longer used. * src/Makefile.am (regexxer_SOURCES): Remove imagebutton.{cc,h}. 2004-05-10 Daniel Elstner * src/globalstrings.h (glade_mainwindow_filename): New string. * src/mainwindow.{cc,h}: Use libglademm to load the UI at runtime, and make the actual Gtk::Window a member of class MainWindow. Remove the old UI creation code. * src/controller.{cc,h} (Controller::load_xml): The menu bar, toolbar and action area is now contained in mainwindow.glade, and thus this new method wholly replaces the old code which generated those widgets. (ControlItem::add_widgets): New helper method intented to help reducing the code size. * src/filetree.cc (regexxer_create_file_tree): New function. * src/statusline.cc (regexxer_create_status_line): New function. * src/main.cc (main): Access the Gtk::Window by using the new accessor method Regexxer::MainWindow::get_window(). 2004-05-10 Daniel Elstner * ui/mainwindow.glade: New file defining the main window's UI. * ui/Makefile.am (dist_glade_DATA): Add mainwindow.glade. 2004-05-10 Daniel Elstner * src/globalstrings.h (glade_aboutdialog_filename): New string. * src/aboutdialog.{cc,h}: Use libglademm to load the dialog UI at runtime, and replace class AboutDialog by a single create() function in namespace Regexxer::AboutDialog. Remove the old UI creation code. * src/mainwindow.{cc,h} (MainWindow::about_dialog_): Change type to std::auto_ptr since AboutDialog no longer exists. Replace all references to AboutDialog in the implementation too. (MainWindow::on_about): Make use of the new AboutDialog::create(). 2004-05-10 Daniel Elstner * ui/aboutdialog.glade: New file defining the UI of the about dialog. * ui/Makefile.am (dist_glade_DATA): Add aboutdialog.glade. 2004-05-10 Daniel Elstner * src/prefdialog.cc (PrefDialog::load_xml): Remove superfluous sub-block. 2004-05-10 Daniel Elstner * src/prefdialog.cc (regexxer_create_font_selection_button): Add missing parameters to the function signature. (regexxer_create_color_selection_button): ditto. 2004-05-10 Daniel Elstner * src/Makefile.am (global_defines): Define REGEXXER_PKGDATADIR. * src/globalstrings.h (glade_prefdialog_filename): New string. * src/prefdialog.{cc,h}: Use libglademm to load the dialog UI at runtime, and make the actual dialog widget a data member of class PrefDialog. Remove the old UI creation code. * src/mainwindow.cc (MainWindow::on_preferences): Use the new PrefDialog::get_dialog() accessor to get the actual widget. 2004-05-10 Daniel Elstner * ui: New directory for glade XML files. * ui/.cvsignore: New file. * ui/Makefile.am: New file. * ui/prefdialog.glade: New file defining the UI of the preferences dialog. * configure.ac (PKG_CHECK_MODULES): Check for libglademm-2.0. (AC_CONFIG_FILES): Add ui/Makefile. * Makefile.am (SUBDIRS): Add ui. 0.7: