-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
3673 lines (2624 loc) · 141 KB
/
ChangeLog
File metadata and controls
3673 lines (2624 loc) · 141 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
The ChangeLog is now auto-generated when releasing. If you
are seeing this, use 'git log' for a detailed list of changes.
0.9:
2007-02-18 Daniel Elstner <daniel.kitta@gmail.com>
* NEWS: Final update for the release. Yay!
2007-02-18 Daniel Elstner <daniel.kitta@gmail.com>
* src/controller.h: Minor code reformatting: Change instances
of <foo,bar> in template argument lists to <foo, bar>.
* 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.
2007-02-18 Daniel Elstner <daniel.kitta@gmail.com>
* 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().
2007-02-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-20 Daniel Elstner <daniel.kitta@gmail.com>
* INSTALL: Remove generic installation instructions from the
repository, as this file is supplied by automake.
2007-01-17 Daniel Elstner <daniel.kitta@gmail.com>
* 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().
2007-01-17 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* 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).
2007-01-16 Daniel Elstner <daniel.kitta@gmail.com>
* Makefile.am (ui/stockimages.h): Accept backslash '\' as directory
separator in filenames, in addition to the forward slash '/'. You
can never know.
2007-01-15 Daniel Elstner <daniel.kitta@gmail.com>
* MAINTAINERS: Add my real name.
2007-01-14 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-14 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-14 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-14 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-13 Daniel Elstner <daniel.kitta@gmail.com>
* MAINTAINERS: Add file for the benefit of sysadmin tools.
2007-01-13 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-13 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-12 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* src/mainwindow.cc (MainWindow::initialize): Really minor tweaks.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* ui/prefdialog.glade (label_toolbar_style): Assign mnemonic widget
combo_toolbar_style as GTK+ messes up the automatic assignment.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-10 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-09 Daniel Elstner <daniel.kitta@gmail.com>
* autogen.sh: Simplify redirection of aclocal and automake output
when testing for versioned executables.
2007-01-09 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-09 Daniel Elstner <daniel.kitta@gmail.com>
* src/mainwindow.cc: Remove leftover includes <gtk/gtktooltips.h>
and <gtkmm/comboboxentry.h>, which had only been required for the
tooltip hack removed earlier. Also, collapse multiple empty lines
into one.
2007-01-08 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-08 Daniel Elstner <daniel.kitta@gmail.com>
* configure.ac (AC_INIT): Replace my email address for bug reports
with the URI <http://regexxer.sourceforge.net/bugs>. This address
is redirected to <http://sourceforge.net/tracker/?group_id=64876>,
so that the bug tracker now has a canonical URI that hides the
numeric group ID.
2007-01-07 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-07 Daniel Elstner <daniel.kitta@gmail.com>
* src/main.cc: #include <memory> for std::auto_ptr<> rather than
relying on indirect inclusion by some other header file.
2007-01-07 Daniel Elstner <daniel.kitta@gmail.com>
* src/main.cc: Remove <cstdlib> and <cstdio> includes left over
from the old libpopt code.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* configure.ac (AC_CONFIG_SRCDIR): Name a file that will be
truly unique to regexxer.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* NEWS: Update.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* src/exported-symbols: Add comment about the purpose of this file.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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().
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* src/globalstrings.h (glade_aboutdialog_filename): Remove
leftover string constant.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* COPYING: Update to latest version shipped with Automake.
* INSTALL: Likewise.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* NEWS: Update.
* README: Minor reformatting.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* src/miscutils.cc: Remove file, as it was essentially empty
except for including miscutils.h.
* Makefile.am (src_regexxer_SOURCES): Remove src/miscutils.cc.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* autogen.sh: Comment "set -ex" and remove pointless ":;".
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-06 Daniel Elstner <daniel.kitta@gmail.com>
* autogen.sh: Reduce number of rm -f invocations by means of line
continuation.
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* Makefile.am (AM_CPPFLAGS): Remove leftover $(PCRE_CFLAGS).
(src_regexxer_LDADD): Likewise for $(PCRE_LIBS).
2007-01-05 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2007-01-04 Daniel Elstner <daniel.kitta@gmail.com>
* 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.
2006-12-22 Daniel Elstner <daniel.kitta@gmail.com>
* 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 <daniel.kitta@gmail.com>
* 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_from_icon_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 <daniel.kitta@gmail.com>
* 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 <daniel.kitta@gmail.com>
* 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 <daniel.kitta@gmail.com>
* 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-13 Daniel Elstner <daniel.kitta@gmail.com>
* 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 <daniel.kitta@gmail.com>
* AUTHORS: Change my mail address.
2006-11-13 Daniel Elstner <daniel.kitta@gmail.com>
* 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-05 Sven Herzberg <herzi@gnome-de.org>
* autogen.sh: use --copy on intltoolize, so modifying
po/Makefile.in.in doesn't fail for the missing permissions
2005-12-13 Murray Cumming <murrayc@murrayc.com>
* 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.
2004-07-16 Daniel Elstner <daniel.elstner@gmx.net>
* 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-14 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* src/main.cc (parse_command_line): Replace `...' with \"...\" in
message strings, for consistency with the rest of the application.
2004-07-14 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* src/stringutils.cc (shell_pattern_to_regex): Handle ']' and '!'
inside character classes more correctly.
2004-07-10 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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.
0.8:
2004-07-08 Daniel Elstner <daniel.elstner@gmx.net>
* NEWS: Update.
2004-07-08 Daniel Elstner <daniel.elstner@gmx.net>
* ui/mainwindow.glade (hbox_file): Increase "spacing" to 9.
2004-07-06 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* src/aboutdialog.cc (apply_label_what_markup): Rename from
apply_label_markup for clarity.
2004-07-05 Daniel Elstner <daniel.elstner@gmx.net>
* 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-06-30 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* src/prefdialog.cc (PrefDialog::on_response): Suggest a sync
to the GConf client when the dialog is closed.
2004-06-29 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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-25 Daniel Elstner <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* 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 <daniel.elstner@gmx.net>
* Makefile.am (dist_noinst_DATA): Add po/LINGUAS.
2004-06-16 Daniel Elstner <daniel.elstner@gmx.net>
* src/aboutdialog.cc (apply_label_markup): Make use of the <small>
convenience tag to simplify the markup slightly.
2004-06-16 Daniel Elstner <daniel.elstner@gmx.net>
* src/aboutdialog.cc: Include <libglademm/xml.h> instead of the
whole <libglademm.h> to save a tiny bit of compile time.
* src/controller.cc: ditto.