regexxer r603 - in trunk: . m4 src
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: regexxer r603 - in trunk: . m4 src
- Date: Sat, 6 Jan 2007 23:36:44 +0000 (GMT)
Author: daniel
Date: 2007-01-06 23:36:43 +0000 (Sat, 06 Jan 2007)
New Revision: 603
ViewCVS link: http://svn.gnome.org/viewcvs/regexxer?rev=603&view=rev
Removed:
trunk/m4/dk-popt.m4
Modified:
trunk/ChangeLog
trunk/Makefile.am
trunk/configure.ac
trunk/src/main.cc
trunk/src/mainwindow.cc
trunk/src/mainwindow.h
trunk/src/translation.cc
trunk/src/translation.h
Log:
* 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]