1. 08 Jan, 2007 4 commits
  2. 07 Jan, 2007 4 commits
    • Daniel Elstner's avatar
      Update translation. Ditto. · 9bdad3ad
      Daniel Elstner authored
      * en.po: Update translation.
      * de.po: Ditto.
      
      svn path=/trunk/; revision=608
      9bdad3ad
    • Daniel Elstner's avatar
      Again remove the tearoff menus and the menubar and toolbar handle boxes. · fcf2d49b
      Daniel Elstner authored
      * 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
      fcf2d49b
    • Daniel Elstner's avatar
      #include <memory> for std::auto_ptr<> rather than relying on indirect · 16898c1c
      Daniel Elstner authored
      * src/main.cc: #include <memory> for std::auto_ptr<> rather than
      relying on indirect inclusion by some other header file.
      
      svn path=/trunk/; revision=606
      16898c1c
    • Daniel Elstner's avatar
      Remove <cstdlib> and <cstdio> includes left over from the old libpopt · 03f81039
      Daniel Elstner authored
      * src/main.cc: Remove <cstdlib> and <cstdio> includes left over
      from the old libpopt code.
      
      svn path=/trunk/; revision=605
      03f81039
  3. 06 Jan, 2007 20 commits
    • Daniel Elstner's avatar
      Eeek, as it turns out the flag ANCHORED (and probably others too) are · d5792660
      Daniel Elstner authored
      * 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
      d5792660
    • Daniel Elstner's avatar
      New class that implements the command-line option interface using the · 9c55cd60
      Daniel Elstner authored
      * 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
      9c55cd60
    • Daniel Elstner's avatar
      Name a file that will be truly unique to regexxer. · 003f8dfe
      Daniel Elstner authored
      * configure.ac (AC_CONFIG_SRCDIR): Name a file that will be
      truly unique to regexxer.
      
      svn path=/trunk/; revision=602
      003f8dfe
    • Daniel Elstner's avatar
      Prefix M4 macro filenames with "dk-", to avoid clashes with other · a52e4353
      Daniel Elstner authored
      * 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
      a52e4353
    • Daniel Elstner's avatar
      Update. · 8f16ef3b
      Daniel Elstner authored
      * NEWS: Update.
      
      svn path=/trunk/; revision=599
      8f16ef3b
    • Daniel Elstner's avatar
      Add comment about the purpose of this file. · 83c06555
      Daniel Elstner authored
      * src/exported-symbols: Add comment about the purpose of this file.
      
      svn path=/trunk/; revision=598
      83c06555
    • Daniel Elstner's avatar
      :on_erase): Copy tagtable->match into a local variable and use it. This · 7e358994
      Daniel Elstner authored
      * 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
      7e358994
    • Daniel Elstner's avatar
      Remove leftover string constant. · 466b50df
      Daniel Elstner authored
      * src/globalstrings.h (glade_aboutdialog_filename): Remove
      leftover string constant.
      
      svn path=/trunk/; revision=596
      466b50df
    • Daniel Elstner's avatar
      Update to latest version shipped with Automake. Likewise. · 2f088611
      Daniel Elstner authored
      * COPYING: Update to latest version shipped with Automake.
      * INSTALL: Likewise.
      
      svn path=/trunk/; revision=595
      2f088611
    • Daniel Elstner's avatar
      :on_about): Replace custom about dialog with stock GTK+ one. · 0ec5e36d
      Daniel Elstner authored
      * 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
      0ec5e36d
    • Daniel Elstner's avatar
      Update. Minor reformatting. · 84648b52
      Daniel Elstner authored
      * NEWS: Update.
      * README: Minor reformatting.
      
      svn path=/trunk/; revision=593
      84648b52
    • Daniel Elstner's avatar
      Replace my old email address with the one of the original contributor of · 4f6b9176
      Daniel Elstner authored
      * it.po: Replace my old email address with the one of the
      original contributor of this translation.
      
      svn path=/trunk/; revision=592
      4f6b9176
    • Daniel Elstner's avatar
      Remove bogus svn:executable property. · 338f0370
      Daniel Elstner authored
      svn path=/trunk/; revision=591
      338f0370
    • Daniel Elstner's avatar
      Remove file, as it was essentially empty except for including miscutils.h. · 6660a8c8
      Daniel Elstner authored
      * 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
      6660a8c8
    • Daniel Elstner's avatar
      Update copyright notice: The postal address of the Free Software · 7335f7fb
      Daniel Elstner authored
      * 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
      7335f7fb
    • Daniel Elstner's avatar
      Replace $(LIBINTL) substitution with $(INTLLIBS). Apparently · 6db1f204
      Daniel Elstner authored
      * 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
      6db1f204
    • Daniel Elstner's avatar
      Reduce the list of cruft to delete; it was a bit over the top and too long · fd668075
      Daniel Elstner authored
      * 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
      fd668075
    • Daniel Elstner's avatar
      Comment "set -ex" and remove pointless ":;". · 55da9ba2
      Daniel Elstner authored
      * autogen.sh: Comment "set -ex" and remove pointless ":;".
      
      svn path=/trunk/; revision=586
      55da9ba2
    • Daniel Elstner's avatar
      Further simplify the script by making use of set -e and colons in · e02087ef
      Daniel Elstner authored
      * 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
      e02087ef
    • Daniel Elstner's avatar
      Reduce number of rm -f invocations by means of line continuation. · 3b9aa409
      Daniel Elstner authored
      * autogen.sh: Reduce number of rm -f invocations by means of line
      continuation.
      
      svn path=/trunk/; revision=584
      3b9aa409
  4. 05 Jan, 2007 9 commits
    • Daniel Elstner's avatar
      Remove trailing empty lines. · 0d8ffa34
      Daniel Elstner authored
      svn path=/trunk/; revision=583
      0d8ffa34
    • Daniel Elstner's avatar
      Move to ui/ directory to reduce clutter in the toplevel directory. Update · 57d40f38
      Daniel Elstner authored
      * 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
      57d40f38
    • Daniel Elstner's avatar
      Require Autoconf 2.58. (AC_CONFIG_MACRO_DIR): Specify m4 macro directory. · ddbf94d0
      Daniel Elstner authored
      * 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
      ddbf94d0
    • Daniel Elstner's avatar
      Get rid of .cvsignore files. · e620adaa
      Daniel Elstner authored
      svn path=/trunk/; revision=579
      e620adaa
    • Daniel Elstner's avatar
      New file. Defines generalized replacements in the DK_ namespace for the · 44117131
      Daniel Elstner authored
      * 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
      44117131
    • Daniel Elstner's avatar
      Move images to ui/ directory. This makes for a more streamlined directory · 9c85a84f
      Daniel Elstner authored
      * 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
      9c85a84f
    • Daniel Elstner's avatar
      Rename directory to m4. I love Subversion. Change "-I macros" to "-I m4" · 4ef621f7
      Daniel Elstner authored
      * 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
      4ef621f7
    • Daniel Elstner's avatar
      Remove leftover $(PCRE_CFLAGS). (src_regexxer_LDADD): Likewise for · aeec602c
      Daniel Elstner authored
      * Makefile.am (AM_CPPFLAGS): Remove leftover $(PCRE_CFLAGS).
      (src_regexxer_LDADD): Likewise for $(PCRE_LIBS).
      
      svn path=/trunk/; revision=575
      aeec602c
    • Daniel Elstner's avatar
      Remove invocation of hand- crafted macro and just add "libpcre >= 5.0" to · b17f1835
      Daniel Elstner authored
      * 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
      b17f1835
  5. 04 Jan, 2007 1 commit
    • Daniel Elstner's avatar
      Switch to a non-recursing build system. The entire source tree except for · b785a86e
      Daniel Elstner authored
      * 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
      b785a86e
  6. 22 Dec, 2006 1 commit
  7. 10 Dec, 2006 1 commit