A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 2011-10-06 Fabien Parent <parent.f@gmail.com> 2 3 Update NEWS 4 5 2011-10-06 Fabien Parent <parent.f@gmail.com> 6 7 Create tar.xz instead of tar.bz2 8 9 2011-10-06 Fabien Parent <parent.f@gmail.com> 10 11 Adding myself to the authors 12 13 2011-09-19 Joe Hansen <joedalton2@yahoo.dk> 14 15 Updated Danish translation 16 17 2011-09-15 dmustieles <daniel.mustieles@gmail.com> 18 19 Updated Spanish translation 20 21 2011-08-31 Мирослав Николић <miroslavnikolic@rocketmail.com> 22 23 Updated Serbian translation 24 25 2011-07-31 Fabien Parent <parent.f@gmail.com> 26 27 Apply GNOME 3 toolbar style 28 29 2011-07-31 Bruno Brouard <annoa.b@gmail.com> 30 31 Updated French translation 32 33 2011-07-16 Fabien Parent <parent.f@gmail.com> 34 35 Check for null pointer when scrolling. 36 37 2011-07-16 Fabien Parent <parent.f@gmail.com> 38 39 Fix the scrolling when working on big files 40 41 2011-06-22 Murray Cumming <murrayc@murrayc.com> 42 43 Disable long-long warnings because glib headers trigger them. 44 45 Also no longer disable no-virtual-dtors, because that gconfmm 46 bug has long since been fixed. 47 48 2011-06-22 Murray Cumming <murrayc@murrayc.com> 49 50 Adapt to gtksourceviewmm API changes. 51 52 The classes no longer have the Source prefix. 53 54 2011-06-22 Murray Cumming <murrayc@murrayc.com> 55 56 Adapt to (pre-3.0) gtkmm API changes. 57 58 And therefore also require a newer gtkmm-3.0. 59 60 2011-05-09 Yuri Myasoedov <omerta13@yandex.ru> 61 62 Updated Russian translation 63 64 2011-04-26 Peter Mráz <etkinator@gmail.com> 65 66 Added Slovak translation 67 68 2011-04-12 du baodao <centerpoint@139.com> 69 70 Initial Simplified Chinese translaton 71 72 2011-04-07 Mario Blättermann <mariobl@gnome.org> 73 74 [l10n] Updated German translation 75 76 2011-04-01 Joe Hansen <joedalton2@yahoo.dk> 77 78 Updated Danish translation 79 80 2011-03-26 Marek Černocký <marek@manet.cz> 81 82 Updated Czech translation 83 84 2011-03-21 Matej Urbančič <mateju@svn.gnome.org> 85 86 Updated Slovenian translation 87 88 2011-03-21 Daniel Mustieles <daniel.mustieles@gmail.com> 89 90 Updated Spanish translation 91 92 2011-03-20 Fabien Parent <parent.f@gmail.com> 93 94 Fix typo. 95 96 2011-03-19 Claude Paroz <claude@2xlibre.net> 97 98 Updated French translation 99 100 2011-03-17 Mario Blättermann <mariobl@gnome.org> 101 102 [l10n] Updated German translation 103 104 2011-03-15 Matej Urbančič <mateju@svn.gnome.org> 105 106 Updated Slovenian translation 107 108 2011-03-14 Marco Biscaro <marcobiscaro2112@gmail.com> 109 110 Updated Brazilian Portuguese translation 111 112 2011-03-12 Marek Černocký <marek@manet.cz> 113 114 Updated Czech translation 115 116 2011-03-09 Daniel Mustieles <daniel.mustieles@gmail.com> 117 118 Updated Spanish translation 119 120 2011-03-09 Daniel Mustieles <daniel.mustieles@gmail.com> 121 122 Updated Spanish translation 123 124 2011-03-06 Daniel Nylander <po@danielnylander.se> 125 126 Updated Swedish translation 127 128 2011-03-06 Fabien Parent <parent.f@gmail.com> 129 130 Add gsettings key to configure the textview. 131 132 2011-03-06 Fabien Parent <parent.f@gmail.com> 133 134 Add a tooltip. 135 136 Re-add a tooltip on the replace entry which has disappeared in the GtkBuilder port. 137 138 2011-03-01 Fabien Parent <parent.f@gmail.com> 139 140 Update the NEWS file. 141 142 2011-02-27 Daniel Nylander <po@danielnylander.se> 143 144 Updated Swedish translation 145 146 2011-02-27 Mario Blättermann <mariobl@gnome.org> 147 148 [l10n] Updated German translation 149 150 2011-02-26 Daniel Mustieles <daniel.mustieles@gmail.com> 151 152 Updated Spanish translation 153 154 2011-02-25 Matej Urbančič <mateju@svn.gnome.org> 155 156 Updated Slovenian translation 157 158 2011-02-24 Fabien Parent <parent.f@gmail.com> 159 160 Port to Gtkmm 3.0 and gtksourceviewmm 3.0 161 162 2011-02-22 Marek Černocký <marek@manet.cz> 163 164 Updated Czech translation 165 166 2011-02-20 Fabien Parent <parent.f@gmail.com> 167 168 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. 169 170 2011-02-20 Fabien Parent <parent.f@gmail.com> 171 172 Fix the localization + add the gsettings schema to the localization 173 174 2011-02-20 Fabien Parent <parent.f@gmail.com> 175 176 Fix #3018653 - Remember the window position, size, and state. 177 178 2011-02-20 Fabien Parent <parent.f@gmail.com> 179 180 Fix gsettings description strings. 181 182 2011-02-19 Fabien Parent <parent.f@gmail.com> 183 184 Rename schema and path to org.regexxer and /apps/regexxer 185 186 2011-02-19 Fabien Parent <parent.f@gmail.com> 187 188 Remove a std::cout used to debug the gsettings migration. 189 190 2011-02-19 Fabien Parent <parent.f@gmail.com> 191 192 Migration from GConf to GSettings. 193 194 2011-01-03 Fabien Parent <parent.f@gmail.com> 195 196 Remove the dependency to libpcre. 197 198 2010-12-01 Mateus Zenaide <mateus.gnome@gmail.com> 199 200 Updated Brazilian Portuguese translation 201 202 2010-10-24 Joe Hansen <joedalton2@yahoo.dk> 203 204 Updated Danish translation 205 206 2010-09-19 Joe Hansen <joedalton2@yahoo.dk> 207 208 Updated Danish translation 209 210 2010-09-19 Kenneth Nielsen <k.nielsen81@gmail.com> 211 212 Added da to list of languages 213 214 2010-04-25 Fabien Parent <parent.f@gmail.com> 215 216 Update the version of gtksourceviewmm required to 2.9.0. 217 218 2010-04-25 Fabien Parent <parent.f@gmail.com> 219 220 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. 221 222 2010-04-18 Olav Vitters <olav@vitters.nl> 223 224 Fix doap file 225 226 2010-03-21 Inaki Larranaga Murgoitio <dooteo@zundan.com> 227 228 Updated Basque language 229 230 2010-03-13 Fran Diéguez <frandieguez@ubuntu.com> 231 232 Add Galician translation 233 234 2010-03-13 Bruno Brouard <annoa.b@gmail.com> 235 236 Updated French translation 237 238 2010-02-28 Marek Černocký <marek@manet.cz> 239 240 Update Czech translation 241 242 2010-02-25 Mario Blättermann <mariobl@gnome.org> 243 244 Updated German translation 245 246 2010-02-25 Gabor Kelemen <kelemeng@gnome.hu> 247 248 Updated Hungarian translation 249 250 2010-02-25 Gabor Kelemen <kelemeng@gnome.hu> 251 252 Updated Hungarian translation 253 254 2010-02-24 Jorge González <jorgegonz@svn.gnome.org> 255 256 Updated Spanish translation 257 258 2010-02-24 Matej Urbančič <mateju@svn.gnome.org> 259 260 Updated Slovenian translation 261 262 2010-02-24 Gabor Kelemen <kelemeng@gnome.hu> 263 264 Mark some strings for translation 265 266 2010-02-24 Gabor Kelemen <kelemeng@gnome.hu> 267 268 Add gettext/glade type to ui files 269 270 2010-01-22 Gabor Kelemen <kelemeng@gnome.hu> 271 272 Updated Hungarian translation 273 274 2009-12-17 Matej Urbančič <mateju@svn.gnome.org> 275 276 Updated Slovenian translation 277 278 2009-11-23 Rodolfo Ribeiro Gomes <rodolforg@gmail.com> 279 280 Updated Brazilian Portuguese translation; reviewed by Vladimir Melo. 281 282 2009-11-12 Marek Černocký <marek@manet.cz> 283 284 Update Czech translation 285 286 2009-10-28 Daniel Nylander <po@danielnylander.se> 287 288 Updated Swedish translation 289 290 2009-10-28 Jorge González <jorgegonz@svn.gnome.org> 291 292 Updated Spanish translation 293 294 2009-10-03 Mario Blättermann <mariobl@gnome.org> 295 296 Updated German translation, fixed filenames in POTFILES.in 297 298 2009-09-24 Fabien Parent <parent.f@gmail.com> 299 300 fix the CTRL+Z on a just opened buffer. 301 302 2009-09-24 Fabien Parent <parent.f@gmail.com> 303 304 Completion of all entries (files, regex, substitution) with the last 10 used. 305 306 2009-09-22 Fabien Parent <parent.f@gmail.com> 307 308 Fix the lost of tooltips due to the moving to gtkbuilder. 309 310 2009-09-21 Fabien Parent <parent.f@gmail.com> 311 312 Add syntax highlighting with gtksourceviewmm 313 314 2009-09-21 Fabien Parent <parent.f@gmail.com> 315 316 check for gtk+ >= 2.16 (required for handle menubar in gtkbuilder). add gtksourceviewmm as a required dependency. 317 318 2009-09-21 Fabien Parent <parent.f@gmail.com> 319 320 Set the scrollbar policy to automatic for ScrolledWindow of the filetree and the textview to remove the ugly scrollbar when it's not necessary. 321 322 2009-09-21 Fabien Parent <parent.f@gmail.com> 323 324 Remove the Gconf key for toolbar style. 325 326 2009-09-21 Fabien Parent <parent.f@gmail.com> 327 328 Remove the custom toolbar preferences. We now have the same toolbar style as the system toolbar style. 329 330 2009-09-21 Fabien Parent <parent.f@gmail.com> 331 332 Remove dependencies libglade and gmodule. Using of GtkBuilder instead. 333 334 2009-09-21 Fabien Parent <parent.f@gmail.com> 335 336 Change the file menu item from 'regexxer-save-all' to something more readable: 'Save all'. 337 338 2009-09-21 Fabien Parent <parent.f@gmail.com> 339 340 Fix copy/paste on the textview. 341 342 2009-09-09 Daniel Elstner <danielk@openismus.com> 343 344 Bump version and generate ChangeLog on make dist 345 346 * ChangeLog: Insert note saying that the file is now auto-generated. 347 * Makefile.am (dist-changelog): New rule to generate the distributed 348 ChangeLog file. Hook up to dist-hook. 349 * configure.ac (AC_INIT): Increment version to regexxer 0.10. 350 (AC_PREREQ): Require Autoconf >= 2.59. 351 (AM_INIT_AUTOMAKE): Require Automake >= 1.9. Use dist-bzip2 option. 352 * NEWS: Start news entry for regexxer 0.10 release. 353 * autogen.sh: Pass --verbose option to autoreconf. 354 355 2009-09-09 Daniel Elstner <danielk@openismus.com> 356 357 Fabien Parent is the new maintainer of regexxer 358 359 * regexxer.doap (maintainer): Insert Fabien Parent at the top of the 360 maintainers list. 361 * MAINTAINERS: Delete obsolete file. 362 363 2009-08-15 Gabor Kelemen <kelemeng@gnome.hu> 364 365 Hungarian translation updated 366 367 2009-08-11 Daniel Elstner <daniel.kitta@gmail.com> 368 369 Make autogen.sh exit properly if a command failed 370 371 * autogen.sh: Apparently, sub-shells do not inherit the state of the 372 -e option, and even ignore explicit uses of 'set -e' within the scope 373 of the sub-shell. In order to work around this stupid behavior, test 374 the exit status explicitly for commands executed in a sub-shell. 375 376 2009-06-26 drtvasudevan <agnihot3@gmail.com> 377 378 Updated Tamil translation 379 380 2009-06-24 Daniel Elstner <danielk@openismus.com> 381 382 Replace most of autogen.sh by autoreconf 383 384 * autogen.sh: Reduce script to stub which invokes autoreconf and 385 then configure. Unfortunately it was necessary to play some tricks 386 in order to fool autoreconf into invoking intltoolize instead of 387 autopoint. 388 * Makefile.am (ACLOCAL_AMFLAGS): Substitute ${ACLOCAL_FLAGS} instead 389 of $(ACLOCAL_FLAGS) because autoreconf misparses the latter. 390 * configure.ac: Remove decorational parentheses. 391 (AM_GNU_GETTEXT_VERSION): Specify minimum gettext version to tell 392 autoreconf that gettext is being used. 393 394 2009-06-24 Daniel Elstner <danielk@openismus.com> 395 396 Fix build with recent glibmm releases 397 398 * src/filebuffer.cc (FileBuffer::on_mark_deleted): Use swap() to 399 reset Glib::RefPtr<> because neither clear() nor reset() can be 400 relied upon to be there. 401 * src/filetree.cc (FileTree::save_file_at_iter): ditto, 402 (FileTree::find_matches_at_path_iter): ditto, 403 (FileTree::on_selection_changed): ditto. 404 405 2009-06-24 ifelix <ifelix@redhat.com> 406 407 added Tamil 408 409 2009-06-24 ifelix <ifelix@redhat.com> 410 411 Updated Tamil Translations 412 413 2009-06-03 Sweta Kothari <swkothar@redhat.com> 414 415 Added LINGUAS for Gujarati 416 417 2009-04-29 Daniel Elstner <danielk@openismus.com> 418 419 Make mbox resource in regexxer.doap a valid URI 420 421 2009-04-18 Daniel Elstner <daniel.kitta@gmail.com> 422 423 Add DOAP project description 424 425 2009-04-18 Daniel Elstner <daniel.kitta@gmail.com> 426 427 Create gitignore files 428 429 2009-04-18 Daniel Elstner <daniel.kitta@gmail.com> 430 431 Add Userid to maintainers file 432 433 2008-12-01 Simos Xenitellis <simos@src.gnome.org> 434 435 Added Greek translation by Evgenia Petoumenou 436 437 svn path=/trunk/; revision=683 438 439 2008-10-09 Kjartan Maraas <kmaraas@gnome.org> 440 441 Added 'nb'. Added Norwegian bokmål translation. 442 443 2008-10-09 Kjartan Maraas <kmaraas@gnome.org> 444 445 * LINGUAS: Added 'nb'. 446 * nb.po: Added Norwegian bokmål translation. 447 448 svn path=/trunk/; revision=682 449 450 2008-09-14 Duarte Loreto <happyguy_pt@hotmail.com> 451 452 Updated Portuguese translation. 453 454 2008-09-14 Duarte Loreto <happyguy_pt@hotmail.com> 455 456 * pt.po: Updated Portuguese translation. 457 458 svn path=/trunk/; revision=681 459 460 2008-06-29 Leonardo Ferreira Fontenelle <leonardof@gnome.org> 461 462 Updated Brazilan Portuguese translation by Andrius da Costa Ribas. 463 464 2008-06-29 Leonardo Ferreira Fontenelle <leonardof@gnome.org> 465 466 * pt_BR.po: Updated Brazilan Portuguese translation by Andrius da 467 Costa Ribas. 468 469 svn path=/trunk/; revision=680 470 471 2008-06-15 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 472 473 Updated Occitan translation 474 475 svn path=/trunk/; revision=679 476 477 2008-03-08 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 478 479 Updated Occitan translation 480 481 svn path=/trunk/; revision=678 482 483 2008-03-04 Petr Kovář <pmkovar@src.gnome.org> 484 485 cs.po: Updated Czech translation by Lucas Lommer. 486 487 svn path=/trunk/; revision=677 488 489 2008-02-19 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 490 491 Updated Occitan translation 492 493 svn path=/trunk/; revision=676 494 495 2008-02-18 Gil Forcada Codinachs <gforcada@src.gnome.org> 496 497 Updated Catalan translation 498 499 svn path=/trunk/; revision=675 500 501 2008-02-12 Pawan Chitrakar <pachimho@src.gnome.org> 502 503 Updated Nepali Translation 504 505 svn path=/trunk/; revision=674 506 507 2008-02-04 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 508 509 Updated Occitan translation 510 511 svn path=/trunk/; revision=673 512 513 2008-01-29 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> 514 515 Updated Basque translation. 516 517 2008-01-29 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> 518 519 * eu.po: Updated Basque translation. 520 521 svn path=/trunk/; revision=672 522 523 2007-12-31 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 524 525 Updated Occitan translation 526 527 svn path=/trunk/; revision=671 528 529 2007-11-20 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 530 531 Updated Occitan translation 532 533 svn path=/trunk/; revision=670 534 535 2007-11-15 Matej Urbančič <mateju@src.gnome.org> 536 537 Updated Slovenian translation 538 539 svn path=/trunk/; revision=669 540 541 2007-10-03 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 542 543 Updated Occitan translation 544 545 svn path=/trunk/; revision=668 546 547 2007-08-17 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 548 549 Updated Occitan translation 550 551 svn path=/trunk/; revision=667 552 553 2007-08-16 Ilkka Tuohela <ituohela@src.gnome.org> 554 555 Updated Finnish translation 556 557 svn path=/trunk/; revision=666 558 559 2007-07-29 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 560 561 Updated Occitan translation 562 563 svn path=/trunk/; revision=665 564 565 2007-07-29 Yannig MARCHEGAY <ymarcheg@src.gnome.org> 566 567 Updated Occitan translation 568 569 svn path=/trunk/; revision=664 570 571 2007-07-22 Satoru Satoh <ssato@src.gnome.org> 572 573 Updated Japanese translation. 574 575 svn path=/trunk/; revision=663 576 577 2007-07-03 Nguyen Thai Ngoc Duy <pclouds@src.gnome.org> 578 579 updated vi.po 580 581 svn path=/trunk/; revision=662 582 583 2007-07-01 Clytie Siddall <clyties@src.gnome.org> 584 585 Updated Vietnamese translation. 586 587 svn path=/trunk/; revision=661 588 589 2007-04-24 Jorge Gonzalez Gonzalez <jorgegonz@src.gnome.org> 590 591 Updated Spanish translation 592 593 svn path=/trunk/; revision=660 594 595 2007-04-21 Djihed Afifi <djihed@src.gnome.org> 596 597 Updated Arabic Translation by Djihed Afifi. 598 599 svn path=/trunk/; revision=659 600 601 2007-04-14 Djihed Afifi <djihed@src.gnome.org> 602 603 Updated Arabic Translation by Djihed Afifi. 604 605 svn path=/trunk/; revision=658 606 607 2007-04-02 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> 608 609 Updated Basque translation. 610 611 2007-04-02 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> 612 613 * eu.po: Updated Basque translation. 614 615 svn path=/trunk/; revision=657 616 617 2007-03-22 Stéphane Raimbault <stephane.raimbault@gmail.com> 618 619 Updated French translation by Jonathan Ernst and Stéphane Raimbault. 620 621 2007-03-22 Stéphane Raimbault <stephane.raimbault@gmail.com> 622 623 * fr.po: Updated French translation by Jonathan Ernst and Stéphane 624 Raimbault. 625 626 svn path=/trunk/; revision=656 627 628 2007-02-18 Daniel Elstner <daniel@src.gnome.org> 629 630 Insert 0.9 release marker into ChangeLog. 631 632 svn path=/trunk/; revision=654 633 634 2007-02-18 Daniel Elstner <daniel@src.gnome.org> 635 636 Regenerate for regexxer 0.9 release. 637 638 * *.po: Regenerate for regexxer 0.9 release. 639 640 svn path=/trunk/; revision=653 641 642 2007-02-18 Daniel Elstner <daniel@src.gnome.org> 643 644 Final update for the release. Yay! 645 646 * NEWS: Final update for the release. Yay! 647 648 svn path=/trunk/; revision=652 649 650 2007-02-18 Daniel Elstner <daniel@src.gnome.org> 651 652 Minor code reformatting: Change instances of <foo,bar> in template 653 654 * src/controller.h: Minor code reformatting: Change instances 655 of <foo,bar> in template argument lists to <foo, bar>. 656 * src/filebuffer.{cc,h}: ditto, 657 * src/fileshared.{cc,h}: ditto, 658 * src/filetree.h: ditto, 659 * src/filetreeprivate.{cc,h}: ditto, 660 * src/pcreshell.{cc,h}: ditto. 661 * src/mainwindow.cc (program_license): Add terminating newline 662 to last paragraph. 663 664 svn path=/trunk/; revision=651 665 666 2007-02-18 Daniel Elstner <daniel@src.gnome.org> 667 668 :wstring_to_utf8): New function to convert an std::wstring to UTF-8. This 669 670 * src/stringutils.{cc,h} (Util::wstring_to_utf8): New function to 671 convert an std::wstring to UTF-8. This is a temporary measure 672 to deal with the same locale issues as discussed in the comments 673 to bug #399216. 674 (Util::int_to_string): Use a wide character stream and convert 675 the result to UTF-8 with Util::wstring_to_utf8(). 676 * src/statusline.cc (CounterBox::stringstream_): Change to 677 std::wostringstream, as above. 678 (CounterBox::number_to_string): Use Util::wstring_to_utf8(). 679 680 svn path=/trunk/; revision=650 681 682 2007-02-06 Pema Geyleg <pgeyleg@src.gnome.org> 683 684 Added Dzongkha Translation 685 686 svn path=/trunk/; revision=649 687 688 2007-02-06 Daniel Elstner <daniel@src.gnome.org> 689 690 Declare variable as precious using AC_ARG_VAR(), which also makes it a 691 692 * configure.ac (ACLOCAL_FLAGS): Declare variable as precious 693 using AC_ARG_VAR(), which also makes it a substituted variable. 694 This should prevent inconsistent behavior if the variable changes 695 in the environment after configure has run. 696 (ACLOCAL_AMFLAGS): Remove substitution. 697 * Makefile.am (ACLOCAL_AMFLAGS): Define variable. 698 699 svn path=/trunk/; revision=648 700 701 2007-01-26 Matic Žgur <maticz@src.gnome.org> 702 703 sl.po: Updated Slovenian translation. 704 705 svn path=/trunk/; revision=647 706 707 2007-01-20 Daniel Elstner <daniel@src.gnome.org> 708 709 Remove generic installation instructions from the repository, as this file 710 711 * INSTALL: Remove generic installation instructions from the 712 repository, as this file is supplied by automake. 713 714 svn path=/trunk/; revision=645 715 716 2007-01-17 Daniel Elstner <daniel@src.gnome.org> 717 718 :filename_short_display_name): Rename from Util::shorten_pathname(). 719 720 * src/stringutils.{cc,h} (Util::filename_short_display_name): 721 Rename from Util::shorten_pathname(). Return the display name 722 of the shortened filename encoded in UTF-8. 723 (Util::expand_pathname): Remove as this function is no longer 724 being used anywhere. 725 * src/mainwindow.cc (MainWindow::set_title_filename): Use 726 Util::filename_short_display_name(). 727 728 svn path=/trunk/; revision=644 729 730 2007-01-17 Daniel Elstner <daniel@src.gnome.org> 731 732 New variable that defines the locale directory the same way intltool does. 733 734 * Makefile.am (rxlocaledir): New variable that defines the locale 735 directory the same way intltool does. 736 (global_defs): Use $(rxlocaledir) instead of $(localedir). In 737 addition to being different from intltool's definition, standard 738 $(localedir) also requires at least Autoconf 2.59c. 739 740 svn path=/trunk/; revision=643 741 742 2007-01-16 Daniel Elstner <daniel@src.gnome.org> 743 744 :CounterBox): Change the shadow type to Gtk::SHADOW_ETCHED_IN. Still looks 745 746 * src/statusline.cc (CounterBox::CounterBox): Change the shadow 747 type to Gtk::SHADOW_ETCHED_IN. Still looks somewhat ugly though; 748 I need to think of something better. Also enable the single line 749 mode property of the numeric labels, in order to avoid resizing if 750 the digits in the font have different height. 751 (StatusLine::StatusLine): Increase HBox spacing to 3 pixels. 752 753 svn path=/trunk/; revision=642 754 755 2007-01-16 Daniel Elstner <daniel@src.gnome.org> 756 757 Prefix function signature with G_MODULE_EXPORT, as this will probably be 758 759 * src/filetree.cc (regexxer_create_file_tree): Prefix function 760 signature with G_MODULE_EXPORT, as this will probably be required 761 on Windows to enable dynamic loading. 762 * src/statusline.cc (regexxer_create_status_line): Ditto. 763 764 svn path=/trunk/; revision=641 765 766 2007-01-16 Daniel Elstner <daniel@src.gnome.org> 767 768 Accept a fourth argument which can be used to generate 769 770 * m4/dk-warn.m4 (DK_ARG_ENABLE_WARNINGS): Accept a fourth argument 771 which can be used to generate -DMODULE_DISABLE_DEPRECATED defines 772 by specifying a list of module prefixes. These flags are produced 773 only in --enable-warnings=fatal mode, in order to avoid breaking 774 the default build if new deprecations appear in some module. 775 776 * configure.ac (REGEXXER_WARNING_FLAGS): List the module prefixes 777 GLIBMM and GTKMM in the fourth argument to DK_ARG_ENABLE_WARNINGS. 778 * Makefile.am (global_defs): Remove -D*_DISABLE_DEPRECATED flags, 779 since they are now included in $(REGEXXER_WARNING_FLAGS). 780 781 svn path=/trunk/; revision=640 782 783 2007-01-16 Daniel Elstner <daniel@src.gnome.org> 784 785 Accept backslash '\' as directory separator in filenames, in addition to 786 787 * Makefile.am (ui/stockimages.h): Accept backslash '\' as directory 788 separator in filenames, in addition to the forward slash '/'. You 789 can never know. 790 791 svn path=/trunk/; revision=639 792 793 2007-01-15 Daniel Elstner <daniel@src.gnome.org> 794 795 Add my real name. 796 797 * MAINTAINERS: Add my real name. 798 799 svn path=/trunk/; revision=638 800 801 2007-01-14 Alexander Shopov <ash@contact.bg> 802 803 Updated Bulgarian translation by Yavor Doganov <yavor@doganov.org> 804 805 2007-01-14 Alexander Shopov <ash@contact.bg> 806 807 * bg.po: Updated Bulgarian translation by 808 Yavor Doganov <yavor@doganov.org> 809 810 svn path=/trunk/; revision=637 811 812 2007-01-14 Daniel Elstner <daniel@src.gnome.org> 813 814 :compose_argv): New function with the functionality of compose_impl() but 815 816 * src/translation.{cc,h} (Util::compose_argv): New function with 817 the functionality of compose_impl() but using a format string of 818 type const char*. This implementation operates on bytes instead of 819 Unicode code points, and copies the chunks between placeholders in 820 one go instead of each character separately. 821 (Util::compose): Call compose_argv() instead of compose_impl() 822 and change the type of the format argument to const char* because 823 the format string really should be a string literal. Also, inline 824 all of these overloads since they just forward their arguments to 825 compose_argv() anyway, so that inlining actually reduces code size. 826 827 svn path=/trunk/; revision=636 828 829 2007-01-14 Daniel Elstner <daniel@src.gnome.org> 830 831 Replace occurrences of "lhs" and "rhs" with "a" and "b", respectively. 832 833 * src/fileshared.h: Replace occurrences of "lhs" and "rhs" with 834 "a" and "b", respectively. 835 (BoundState): Remove BOUND_MASK value from enumeration as it is 836 nowhere being used. 837 838 svn path=/trunk/; revision=635 839 840 2007-01-14 Daniel Elstner <daniel@src.gnome.org> 841 842 Clean up the code a bit. In particular, change occurrences of 843 844 * src/filetree.{cc,h}: Clean up the code a bit. In particular, 845 change occurrences of Gtk::TreePath to Gtk::TreeModel::Path. 846 * src/filetreeprivate.{cc,h}: Likewise. 847 848 * src/sharedptr.h (Util::SharedPtr::SharedPtr): Inline. 849 (Util::SharedPtr::~SharedPtr): Remove assertion and inline. 850 * src/sharedptr.cc: Remove now empty file. 851 852 * Makefile.am (src_regexxer_SOURCES): Remove src/sharedptr.cc. 853 854 svn path=/trunk/; revision=634 855 856 2007-01-14 Daniel Elstner <daniel@src.gnome.org> 857 858 Move function to the global namespace. Putting it inside an anonymous 859 860 * src/filetree.cc (regexxer_create_file_tree): Move function to 861 the global namespace. Putting it inside an anonymous namespace 862 just obfuscated the code, as this function is exported for the 863 world to see. 864 * src/statusline.cc (regexxer_create_status_line): Likewise. 865 866 svn path=/trunk/; revision=633 867 868 2007-01-13 Daniel Elstner <daniel@src.gnome.org> 869 870 Add file for the benefit of sysadmin tools. 871 872 * MAINTAINERS: Add file for the benefit of sysadmin tools. 873 874 svn path=/trunk/; revision=632 875 876 2007-01-13 Daniel Elstner <daniel@src.gnome.org> 877 878 New string constant defining the directory of regexxer in the GConf 879 880 * src/globalstrings.h (conf_dir_application): New string constant 881 defining the directory of regexxer in the GConf database. This 882 string literal replaces the REGEXXER_GCONF_DIRECTORY macro which 883 used to be defined in the Makefile. This global macro definition 884 was inherently pointless as it was not configurable anyway. 885 * src/main.cc (initialize_configuration): Use conf_dir_application 886 instead of REGEXXER_GCONF_DIRECTORY. 887 * src/prefdialog.cc (PrefDialog::initialize_configuration): ditto. 888 889 * configure.ac (REGEXXER_GCONF_DIRECTORY): Remove substitution. 890 (PKG_CHECK_MODULES): Add gmodule-export-2.0 to the module list to 891 get the -Wl,--export-dynamic flag automatically. 892 (DK_LINK_EXPORT_DYNAMIC): Remove macro invocation as it no longer 893 necessary. Also, add comments elaborating about the whole linker 894 stuff. 895 * Makefile.am (global_defs): Remove -DREGEXXER_GCONF_DIRECTORY. 896 (src_regexxer_LDFLAGS): Get rid of $(REGEXXER_EXPORT_DYNAMIC). 897 898 * m4/dk-export.m4 (DK_LINK_EXPORT_DYNAMIC): Remove macro. 899 900 svn path=/trunk/; revision=631 901 902 2007-01-13 Daniel Elstner <daniel@src.gnome.org> 903 904 :find_recursively): Replace uses of Glib::filename_display_name() by 905 906 * src/filetree.cc (FileTree::find_recursively): Replace uses of 907 Glib::filename_display_name() by Glib::filename_display_basename() 908 to enable translation of well-known locations in future. Store 909 the full path in the directory stack. 910 (FileTree::find_fill_dirstack): Convert the full path from the 911 stack to a displayable name with Glib::filename_display_basename(). 912 (FileTree::save_file_at_iter): Determine the basename for 913 use in the error message with Glib::filename_display_basename(). 914 915 * src/mainwindow.cc (MainWindow::set_title_filename): Call 916 Glib::filename_display_basename() to get the filename to be 917 displayed in the window title. 918 919 * src/filetreeprivate.{cc,h}: Some early spring cleaning. 920 921 svn path=/trunk/; revision=630 922 923 2007-01-12 Daniel Elstner <daniel@src.gnome.org> 924 925 Prefix function and data definitions within anonymous namespaces with the 926 927 * src/fileio.cc: Prefix function and data definitions within 928 anonymous namespaces with the "static" keyword. Although this 929 usage of "static" is deprecated in C++, GCC still exports symbols 930 defined in anonymous namespaces. For more information, see: 931 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18267 932 * src/fileshared.cc: ditto, 933 * src/main.cc: ditto, 934 * src/mainwindow.cc: ditto, 935 * src/pcreshell.cc: ditto, 936 * src/prefdialog.cc: ditto, 937 * src/stringutils.cc: ditto, 938 * src/translation.cc: ditto. 939 940 svn path=/trunk/; revision=629 941 942 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 943 944 :initialize): Really minor tweaks. 945 946 * src/mainwindow.cc (MainWindow::initialize): Really minor tweaks. 947 948 svn path=/trunk/; revision=628 949 950 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 951 952 Make init_state_ a value member of the class instead creating it 953 954 * src/main.cc (RegexxerOptions): Make init_state_ a value member 955 of the class instead creating it dynamically. This simplification 956 is now possible since the RegexxerOptions object will be allocated 957 dynamically anyway. 958 (RegexxerOptions::init_state): Rename from take_init_state(), and 959 make it return a const reference. 960 (main): Use new init_state() method when initializing the window. 961 962 * src/mainwindow.{cc,h} (MainWindow::initialize): Change init 963 parameter type to a const reference. 964 965 svn path=/trunk/; revision=627 966 967 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 968 969 Define REGEXXER_LOCALEDIR to the "$(locale)" directory path. Remove define 970 971 * Makefile.am (global_defs): Define REGEXXER_LOCALEDIR to the 972 "$(locale)" directory path. Remove define for REGEXXER_DATADIR 973 since it was used only as part of the locale directory. 974 * src/main.cc (main): Use REGEXXER_LOCALEDIR. 975 (locale_directory): Remove string literal. 976 977 svn path=/trunk/; revision=626 978 979 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 980 981 "): Move accelerator from "g" to "T" in order to make it visible. ("Text 982 983 * de.po ("C_urrent match color:"): Move accelerator from "g" to "T" 984 in order to make it visible. 985 ("Text view font"): Slightly reword translation. 986 987 === Change I forgot to mention in previous commit: === 988 989 * *.po: Globally replace ASCII quotes (") and apostrophes (') with 990 the typographically correct variants in Unicode. 991 992 svn path=/trunk/; revision=625 993 994 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 995 996 Assign mnemonic widget combo_toolbar_style as GTK+ messes up the automatic 997 998 * ui/prefdialog.glade (label_toolbar_style): Assign mnemonic widget 999 combo_toolbar_style as GTK+ messes up the automatic assignment. 1000 1001 svn path=/trunk/; revision=624 1002 1003 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 1004 1005 :create_with_error_message): Use UTF-8 encoded typographically correct 1006 1007 * src/filebuffer.cc (FileBuffer::create_with_error_message): Use 1008 UTF-8 encoded typographically correct apostrophe in the title 1009 string. 1010 * src/filetree.cc (FileTree::find_recursively): Replace call to 1011 Util::filename_to_utf8_fallback() by Glib::filename_display_name(). 1012 (FileTree::find_fill_dirstack): Likewise. 1013 (FileTree::save_file_at_iter): Use UTF-8 encoded typographically 1014 correct quote characters in the error message string. 1015 (FileTree::load_file_with_fallback): Likewise. 1016 1017 * src/pcreshell.cc (throw_regex_error): New function to throw a 1018 Pcre::Error exception with a properly formatted error message. 1019 (Pcre::Pattern::Pattern): Use throw_regex_error(). 1020 1021 * src/prefdialog.cc (PrefDialog::on_entry_fallback_activate): 1022 Use proper Unicode quotes in error message string. 1023 1024 * src/mainwindow.cc (MainWindow::initialize): Run the search 1025 automatically only if also a filename pattern has been specified 1026 on the command line. 1027 (MainWindow::confirm_quit_request): Use proper Unicode apostrophe 1028 in the error message. 1029 (MainWindow::on_find_files): Likewise. Also remove the code to 1030 format an error message for regex exceptions, as Pcre::Error now 1031 already carries a user-friendly message. 1032 (MainWindow::set_title_filename): Replace calls to 1033 Util::filename_to_utf8_fallback() by Glib::filename_display_name(). 1034 1035 * src/stringutils.{cc,h} (Util::shell_pattern_to_regex): Minor 1036 optimization twiddling. 1037 (Util::substitute_references): Likewise. 1038 (Util::filename_to_utf8_fallback): Remove function, as we can 1039 now simply use Glib::filename_display_name() instead. 1040 (Util::convert_to_ascii): Remove; no longer used anywhere. 1041 (Util::shorten_pathname): Use G_IS_DIR_SEPARATOR() instead of 1042 comparing against G_DIR_SEPARATOR directly. Necessary because 1043 on win32 both '/' and '\' are accepted as directory separators. 1044 1045 * ui/regexxer.schemas.in: Reformat and use proper Unicode quotes 1046 and apostrophes. 1047 * ui/prefdialog.glade: Likewise. Also remove some property 1048 specifications which assigned default values anyway. 1049 * ui/mainwindow.glade: As above, strip pointless property settings. 1050 1051 * en.po: Remove English "translation" as proper Unicode quotes and 1052 apostrophes are now used directly in the untranslated messages. 1053 * LINGUAS: Remove "en" from list. 1054 * POTFILES.in: Prepend [encoding: UTF-8] to list of files. 1055 1056 svn path=/trunk/; revision=623 1057 1058 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 1059 1060 Add comment about assertions and reorganize the code a bit. 1061 1062 * src/fileio.cc (save_iochannel): Add comment about assertions and 1063 reorganize the code a bit. 1064 (Regexxer::save_file): Elaborate on why IOChannel::close() is 1065 used explicitely. 1066 1067 * src/filetreeprivate.cc (FileTreePrivate::collatekey_sort_func): 1068 Fix oversight: Subtracting two unsigned values and converting the 1069 result to a signed type relies on implementation-defined behavior. 1070 Explicitely cast the operands to a signed type before substraction. 1071 1072 * src/main.cc (main): Use g_get_prgname() instead of the string 1073 literal PACKAGE_TARNAME in the error message for Glib::OptionError 1074 exceptions. 1075 1076 svn path=/trunk/; revision=622 1077 1078 2007-01-11 Daniel Elstner <daniel@src.gnome.org> 1079 1080 Add comment about assertions and reorganize the code a bit. 1081 1082 * src/fileio.cc (save_iochannel): Add comment about assertions and 1083 reorganize the code a bit. 1084 (Regexxer::save_file): Elaborate on why IOChannel::close() is 1085 used explicitely. 1086 1087 * src/filetreeprivate.cc (FileTreePrivate::collatekey_sort_func): 1088 Fix oversight: Subtracting two unsigned values and converting the 1089 result to a signed type relies on implementation-defined behavior. 1090 Explicitely cast the operands to a signed type before substraction. 1091 1092 * src/main.cc (main): Use g_get_prgname() instead of the string 1093 literal PACKAGE_TARNAME in the error message for Glib::OptionError 1094 exceptions. 1095 1096 svn path=/trunk/; revision=621 1097 1098 2007-01-10 Daniel Elstner <daniel@src.gnome.org> 1099 1100 :create_with_error_message): Get rid of the inappropriate plea to 1101 1102 * src/filebuffer.cc (FileBuffer::create_with_error_message): Get 1103 rid of the inappropriate plea to translators to replace space with 1104 no-break space in the message title. Apart from the fact that it 1105 was a bad idea in the first place to make translators put up with 1106 this internal issue, the no-break spaces have no point being there 1107 at all. A single untranslated no-break space between the error 1108 icon and the title text is all that is warranted. 1109 1110 svn path=/trunk/; revision=619 1111 1112 2007-01-10 Daniel Elstner <daniel@src.gnome.org> 1113 1114 Add --add-comments=TRANSLATORS in order to make xgettext only extract 1115 1116 * Makevars (XGETTEXT_OPTIONS): Add --add-comments=TRANSLATORS in 1117 order to make xgettext only extract explicitely tagged comments 1118 into PO files. This gets rid of the comment spam due to intltool 1119 passing --add-comments by default without specifying any tag. 1120 1121 svn path=/trunk/; revision=618 1122 1123 2007-01-09 Daniel Nylander <dnylande@src.gnome.org> 1124 1125 sv.po: Updated Swedish translation 1126 1127 svn path=/trunk/; revision=617 1128 1129 2007-01-09 Daniel Elstner <daniel@src.gnome.org> 1130 1131 Move log entry about po/Makevars change to po/ChangeLog. 1132 1133 svn path=/trunk/; revision=616 1134 1135 2007-01-09 Daniel Elstner <daniel@src.gnome.org> 1136 1137 Simplify redirection of aclocal and automake output when testing for 1138 1139 * autogen.sh: Simplify redirection of aclocal and automake output 1140 when testing for versioned executables. 1141 * po/Makevars (MSGID_BUGS_ADDRESS): Change URI to 1142 <http://regexxer.sourceforge.net/bugs>. 1143 1144 svn path=/trunk/; revision=615 1145 1146 2007-01-09 Daniel Elstner <daniel@src.gnome.org> 1147 1148 New string literal with the same license information as at the top of the 1149 1150 * src/mainwindow.cc (program_license): New string literal with the 1151 same license information as at the top of the file. 1152 (MainWindow::on_about): Show the license information in the about 1153 dialog. 1154 1155 svn path=/trunk/; revision=614 1156 1157 2007-01-09 Daniel Elstner <daniel@src.gnome.org> 1158 1159 Remove leftover includes <gtk/gtktooltips.h> and <gtkmm/comboboxentry.h>, 1160 1161 * src/mainwindow.cc: Remove leftover includes <gtk/gtktooltips.h> 1162 and <gtkmm/comboboxentry.h>, which had only been required for the 1163 tooltip hack removed earlier. Also, collapse multiple empty lines 1164 into one. 1165 1166 svn path=/trunk/; revision=613 1167 1168 2007-01-08 Alexander Shopov <ash@contact.bg> 1169 1170 Updated Bulgarian translation by Yavor Doganov <yavor@doganov.org> 1171 1172 2007-01-08 Alexander Shopov <ash@contact.bg> 1173 1174 * bg.po: Updated Bulgarian translation by 1175 Yavor Doganov <yavor@doganov.org> 1176 1177 svn path=/trunk/; revision=612 1178 1179 2007-01-08 David Lodge <dlodge@src.gnome.org> 1180 1181 Updated English (British) translation 1182 1183 svn path=/trunk/; revision=611 1184 1185 2007-01-08 Daniel Elstner <daniel@src.gnome.org> 1186 1187 Substitute $ACLOCAL_FLAGS from the environment at configure time instead 1188 1189 * configure.ac (ACLOCAL_AMFLAGS): Substitute $ACLOCAL_FLAGS from 1190 the environment at configure time instead of when make runs. 1191 Formerly, the flags could change without reconfiguring, which is 1192 probably a bad idea and contrary to Makefile conventions. 1193 1194 svn path=/trunk/; revision=610 1195 1196 2007-01-08 Daniel Elstner <daniel@src.gnome.org> 1197 1198 Replace my email address for bug reports with the URI 1199 1200 * configure.ac (AC_INIT): Replace my email address for bug reports 1201 with the URI <http://regexxer.sourceforge.net/bugs>. This address 1202 is redirected to <http://sourceforge.net/tracker/?group_id=64876>, 1203 so that the bug tracker now has a canonical URI that hides the 1204 numeric group ID. 1205 1206 svn path=/trunk/; revision=609 1207 1208 2007-01-07 Daniel Elstner <daniel@src.gnome.org> 1209 1210 Update translation. Ditto. 1211 1212 * en.po: Update translation. 1213 * de.po: Ditto. 1214 1215 svn path=/trunk/; revision=608 1216 1217 2007-01-07 Daniel Elstner <daniel@src.gnome.org> 1218 1219 Again remove the tearoff menus and the menubar and toolbar handle boxes. 1220 1221 * ui/mainwindow.glade: Again remove the tearoff menus and the 1222 menubar and toolbar handle boxes. This was just superfluous UI 1223 clutter not actually used by anyone. 1224 (button_folder): Get rid of the custom button that used to fire 1225 up the file chooser dialog, plus the accompanying text entry for 1226 display and editing of the folder name. Replace this old cruft 1227 with a fresh and crisp GtkFileChooserButton plus a label. Yay! 1228 (combo_pattern_entry): Reactivate commented-out markup that sets 1229 a tooltip on the internal GtkEntry child of combo_pattern. As 1230 this finally supported by libglade it is no longer necessary to 1231 hack around the limitation in code. 1232 1233 * src/mainwindow.{cc,h} (MainWindow): Adapt the implementation 1234 to work with the changed UI layout. Change the folder selection 1235 handling as necessary. 1236 (MainWindow::load_xml): Remove the tooltip hack for the pattern 1237 entry, since libglade now allows for this in the glade file. 1238 (MainWindow::get_folder_fullname): Remove now unused method. 1239 (MainWindow::on_select_folder): Likewise. 1240 1241 svn path=/trunk/; revision=607 1242 1243 2007-01-07 Daniel Elstner <daniel@src.gnome.org> 1244 1245 #include <memory> for std::auto_ptr<> rather than relying on indirect 1246 1247 * src/main.cc: #include <memory> for std::auto_ptr<> rather than 1248 relying on indirect inclusion by some other header file. 1249 1250 svn path=/trunk/; revision=606 1251 1252 2007-01-07 Daniel Elstner <daniel@src.gnome.org> 1253 1254 Remove <cstdlib> and <cstdio> includes left over from the old libpopt 1255 1256 * src/main.cc: Remove <cstdlib> and <cstdio> includes left over 1257 from the old libpopt code. 1258 1259 svn path=/trunk/; revision=605 1260 1261 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1262 1263 Eeek, as it turns out the flag ANCHORED (and probably others too) are 1264 1265 * src/pcreshell.h ({Compile,Match}Options): Eeek, as it turns out 1266 the flag ANCHORED (and probably others too) are valid flags at both 1267 compile time and match time. Move ANCHORED from CompileOptions to 1268 MatchOptions as I need it there for the following /g matching fix. 1269 These enumerations should of course be properly namespaced instead; 1270 this is just a quick hack for now. 1271 * src/pcreshell.cc: Rename a couple of variables to improve code 1272 clarity. 1273 1274 * src/filebuffer.cc (FileBuffer::find_matches): Set the ANCHORED 1275 flag in addition to the NOT_EMPTY flag if the previous match was 1276 empty in /g mode. This matches the algorithm outlined in recent 1277 versions of the PCRE documentation to mimic the behavior of Perl. 1278 1279 svn path=/trunk/; revision=604 1280 1281 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1282 1283 New class that implements the command-line option interface using the 1284 1285 * src/main.cc (RegexxerOptions): New class that implements the 1286 command-line option interface using the option parsing facilities 1287 of glibmm instead of libpopt. 1288 (parse_command_line): Remove old function that used libpopt to 1289 parse command line options. 1290 (main): Use the new option parsing code. Also, merge the gettext 1291 initialization into a single call again. The special trickery that 1292 used to bind the codeset separately after option processing is no 1293 longer necessary with the new parser. 1294 1295 * src/mainwindow.{cc,h} (Regexxer::InitState): Reorganize the data 1296 structure so that default-constructed objects equal the default 1297 values of the command-line options. This is a work-around for 1298 glibmm bug #393571. 1299 (MainWindow::initialize): Adapt to Regexxer::InitState changes. 1300 1301 * src/translation.{cc,h} (Util::enable_utf8_gettext): Merge back 1302 into Util::initialize_gettext(), as the separation is no longer 1303 necessary. 1304 (compose_impl): Optimize a bit by reserving the memory for the 1305 result string in advance. Also, replace a couple of `...' quotes 1306 with "..." in a warning message. 1307 1308 * Makefile.am (src_regexxer_LDADD): Remove $(POPTLIBS). 1309 * configure.ac (DK_LIB_POPT): Remove check for libpopt. 1310 * m4/dk-popt.m4: Remove now obsolete file. 1311 1312 svn path=/trunk/; revision=603 1313 1314 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1315 1316 Name a file that will be truly unique to regexxer. 1317 1318 * configure.ac (AC_CONFIG_SRCDIR): Name a file that will be 1319 truly unique to regexxer. 1320 1321 svn path=/trunk/; revision=602 1322 1323 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1324 1325 Prefix M4 macro filenames with "dk-", to avoid clashes with other 1326 1327 * m4/dk-{export,feature,pkgprog,popt,warn}.m4: Prefix M4 macro 1328 filenames with "dk-", to avoid clashes with other applications 1329 installing their M4 files here. 1330 1331 svn path=/trunk/; revision=601 1332 1333 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1334 1335 Update. 1336 1337 * NEWS: Update. 1338 1339 svn path=/trunk/; revision=599 1340 1341 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1342 1343 Add comment about the purpose of this file. 1344 1345 * src/exported-symbols: Add comment about the purpose of this file. 1346 1347 svn path=/trunk/; revision=598 1348 1349 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1350 1351 :on_erase): Copy tagtable->match into a local variable and use it. This 1352 1353 * src/filebuffer.cc (FileBuffer::on_erase): Copy tagtable->match 1354 into a local variable and use it. This fixes a compilation error 1355 with the Intel C++ compiler caused by the creation of a temporary 1356 inside the statement expression of g_return_if_fail(). 1357 1358 svn path=/trunk/; revision=597 1359 1360 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1361 1362 Remove leftover string constant. 1363 1364 * src/globalstrings.h (glade_aboutdialog_filename): Remove 1365 leftover string constant. 1366 1367 svn path=/trunk/; revision=596 1368 1369 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1370 1371 Update to latest version shipped with Automake. Likewise. 1372 1373 * COPYING: Update to latest version shipped with Automake. 1374 * INSTALL: Likewise. 1375 1376 svn path=/trunk/; revision=595 1377 1378 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1379 1380 :on_about): Replace custom about dialog with stock GTK+ one. 1381 1382 * src/mainwindow.{cc,h} (MainWindow::on_about): Replace custom 1383 about dialog with stock GTK+ one. 1384 (on_about_dialog_response): Rename from on_about_dialog_hide(). 1385 Add unused function parameter for the response ID. 1386 * src/aboutdialog.{cc,h}: Remove now superfluous files. 1387 * ui/aboutdialog.glade: Likewise. 1388 1389 * Makefile.am (src_regexxer_SOURCES): Remove src/aboutdialog.{cc,h} 1390 from the list of source files. 1391 (dist_pkgdata_DATA): Remove ui/aboutdialog.glade from list. 1392 * configure.ac (REGEXXER_MODULES): Require gtkmm 2.6, in which the 1393 stock about dialog first appeared. 1394 1395 * POTFILES.in: Remove ui/aboutdialog.glade. 1396 1397 svn path=/trunk/; revision=594 1398 1399 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1400 1401 Update. Minor reformatting. 1402 1403 * NEWS: Update. 1404 * README: Minor reformatting. 1405 1406 svn path=/trunk/; revision=593 1407 1408 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1409 1410 Replace my old email address with the one of the original contributor of 1411 1412 * it.po: Replace my old email address with the one of the 1413 original contributor of this translation. 1414 1415 svn path=/trunk/; revision=592 1416 1417 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1418 1419 Remove bogus svn:executable property. 1420 1421 svn path=/trunk/; revision=591 1422 1423 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1424 1425 Remove file, as it was essentially empty except for including miscutils.h. 1426 1427 * src/miscutils.cc: Remove file, as it was essentially empty 1428 except for including miscutils.h. 1429 * Makefile.am (src_regexxer_SOURCES): Remove src/miscutils.cc. 1430 1431 svn path=/trunk/; revision=590 1432 1433 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1434 1435 Update copyright notice: The postal address of the Free Software 1436 1437 * src/*.{cc,h}: Update copyright notice: The postal address of 1438 the Free Software Foundation changed, and my email address too. 1439 Also, remove the statement I had inserted which explicitely 1440 disallowed using a later version of the license. I think I do 1441 not have to ask for permission from contributors, since the 1442 copyright notice only mentions me as the copyright holder, so 1443 technically everyone automatically transferred her copyright 1444 to me. Anyway, the change is utterly minor and the notice now 1445 matches what everyone else is using. 1446 Also use the opportunity to get rid of the version control 1447 substitutions and the trailing empty line in every file. 1448 * ui/aboutdialog.glade: Update my email address. 1449 1450 svn path=/trunk/; revision=589 1451 1452 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1453 1454 Replace $(LIBINTL) substitution with $(INTLLIBS). Apparently 1455 1456 * Makefile.am (src_regexxer_LDADD): Replace $(LIBINTL) substitution 1457 with $(INTLLIBS). Apparently AM_GLIB_GNU_GETTEXT(), unlike plain 1458 AM_GNU_GETTEXT(), assigns INTLLIBS instead of LIBINTL for whatever 1459 reason. This difference is nowhere documented. Funny noone has 1460 noticed this yet, since as far as I can tell it is empty only with 1461 GNU libc. 1462 1463 svn path=/trunk/; revision=588 1464 1465 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1466 1467 Reduce the list of cruft to delete; it was a bit over the top and too long 1468 1469 * autogen.sh: Reduce the list of cruft to delete; it was a bit over 1470 the top and too long to maintain anyway. Also, remove colons from 1471 substitutions again, as the script no longer assigns the empty 1472 string anywhere to the variables in question. 1473 1474 svn path=/trunk/; revision=587 1475 1476 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1477 1478 Comment "set -ex" and remove pointless ":;". 1479 1480 * autogen.sh: Comment "set -ex" and remove pointless ":;". 1481 1482 svn path=/trunk/; revision=586 1483 1484 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1485 1486 Further simplify the script by making use of set -e and colons in 1487 1488 * autogen.sh: Further simplify the script by making use of set -e 1489 and colons in substitutions, like ${foo:-bar}. Although some truly 1490 ancient shells do not provide these features, this does not matter 1491 much for scripts intended for maintainer use. 1492 1493 svn path=/trunk/; revision=585 1494 1495 2007-01-06 Daniel Elstner <daniel@src.gnome.org> 1496 1497 Reduce number of rm -f invocations by means of line continuation. 1498 1499 * autogen.sh: Reduce number of rm -f invocations by means of line 1500 continuation. 1501 1502 svn path=/trunk/; revision=584 1503 1504 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1505 1506 Remove trailing empty lines. 1507 1508 svn path=/trunk/; revision=583 1509 1510 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1511 1512 Move to ui/ directory to reduce clutter in the toplevel directory. Update 1513 1514 * regexxer.{desktop,schemas}.in: Move to ui/ directory to reduce 1515 clutter in the toplevel directory. 1516 * Makefile.am ({desktop,schemas}_in_files): Update accordingly. 1517 ({desktop,schemas}_DATA): Likewise. 1518 (ui/stockimages.h): Do not rely on $(mkdir_p) because it is already 1519 obsolete but AC_PROG_MKDIR_P() is too recent to require. Just use 1520 plain mkdir and test for the existence of the directory on failure. 1521 Also, add a comment explaining the implicit directory creation. 1522 1523 * POTFILES.in: Move regexxer.{desktop,schemas}.in to the ui/ 1524 directory. 1525 1526 svn path=/trunk/; revision=582 1527 1528 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1529 1530 Require Autoconf 2.58. (AC_CONFIG_MACRO_DIR): Specify m4 macro directory. 1531 1532 * configure.ac (AC_PREREQ): Require Autoconf 2.58. 1533 (AC_CONFIG_MACRO_DIR): Specify m4 macro directory. 1534 (IT_PROG_INTLTOOL): Replace obsolete AC_PROG_INTLTOOL(). Require 1535 at least intltool 0.35 for full po/LINGUAS and po/Makevars support. 1536 (ALL_LINGUAS): No longer set this environment variable, but rely 1537 on po/LINGUAS support. Get rid of the CONFIG_STATUS_DEPENDENCIES 1538 substitution hack. 1539 (GETTEXT_PACKAGE): Move the variable assignment to AC_SUBST(). 1540 1541 * po/Makevars: Reintroduce this file, as it is finally properly 1542 supported by intltool. Set XGETTEXT_OPTIONS to the list of 1543 keywords xgettext should recognize. 1544 1545 * autogen.sh: Get rid of the hack that appends XGETTEXT_KEYWORDS 1546 to po/Makefile.in.in. Also change the invocation order of the 1547 various setup tools according to the recommendation found in the 1548 gettext manual. Delete some more cruft from the m4/ directory. 1549 1550 * ABOUT-NLS: Get rid of this both large and largely useless file. 1551 Probably a left-over from the time before glib-gettextize. 1552 1553 svn path=/trunk/; revision=581 1554 1555 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1556 1557 Get rid of .cvsignore files. 1558 1559 svn path=/trunk/; revision=579 1560 1561 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1562 1563 New file. Defines generalized replacements in the DK_ namespace for the 1564 1565 * m4/export.m4: New file. Defines generalized replacements in the 1566 DK_ namespace for the cxx.m4 macros REGEXXER_LINK_EXPORT_DYNAMIC() 1567 and REGEXXER_LINK_VERSION_SCRIPT(). 1568 * m4/feature.m4: New file. Defines a couple of generic helper 1569 macros for feature testing. 1570 * m4/pkgproc.m4: New file. Defines the macro DK_PKG_PATH_PROG() 1571 which replaces REGEXXER_PKG_PATH_PROG() from misc.m4. 1572 * m4/popt.m4: New file. Defines DK_LIB_POPT(), a generalized 1573 replacement for REGEXXER_LIB_POPT() from misc.m4. 1574 * m4/warn.m4: New file. Defines the macro DK_ARG_ENABLE_WARNINGS() 1575 which is a generalized and also somewhat improved replacement for 1576 REGEXXER_ARG_ENABLE_WARNINGS() from cxx.m4. Note that the argument 1577 values of --enable-warnings= have changed; see ./configure --help. 1578 * m4/{cxx,misc}.m4: Remove files. 1579 1580 * configure.ac: Use the new macros in the DK_ namespace. 1581 (DK_ARG_ENABLE_WARNINGS): Pass "-Wno-non-virtual-dtor" to the 1582 compiler if accepted. Nasty, but due to the gconfmm bug the only 1583 way to recover the functionality of --enable-warnings=fatal. 1584 Assign the warning flags to the variable REGEXXER_WARNING_FLAGS. 1585 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Again raise the value 1586 passed to --enable-warnings= from "maximum" to "fatal", now that 1587 we work around the gconfmm bug. 1588 (AM_CPPFLAGS): Add $(REGEXXER_WARNING_FLAGS). 1589 (src_regexxer_LDADD): Reorder the library substitutions so that 1590 the ones more likely to depend on others in the list come first. 1591 1592 svn path=/trunk/; revision=578 1593 1594 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1595 1596 Move images to ui/ directory. This makes for a more streamlined directory 1597 1598 * pixmaps/*.png: Move images to ui/ directory. This makes for 1599 a more streamlined directory structure, and besides "pixmaps" was 1600 a horrible name anyway. 1601 * pixmaps: Remove directory. 1602 * Makefile.am: Accomodate for the change from "pixmaps" to "ui". 1603 As a side effect, the .dirstamp hack for ui/ is also no longer 1604 necessary, as the ui/stockimages.h rule already covers this. 1605 * src/main.cc: Change stockimages.h #include accordingly. 1606 1607 svn path=/trunk/; revision=577 1608 1609 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1610 1611 Rename directory to m4. I love Subversion. Change "-I macros" to "-I m4" 1612 1613 * macros: Rename directory to m4. I love Subversion. 1614 * autogen.sh: Change "-I macros" to "-I m4" in aclocal invocation. 1615 * configure.ac (ACLOCAL_AMFLAGS): Likewise for this substitution. 1616 1617 svn path=/trunk/; revision=576 1618 1619 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1620 1621 Remove leftover $(PCRE_CFLAGS). (src_regexxer_LDADD): Likewise for 1622 1623 * Makefile.am (AM_CPPFLAGS): Remove leftover $(PCRE_CFLAGS). 1624 (src_regexxer_LDADD): Likewise for $(PCRE_LIBS). 1625 1626 svn path=/trunk/; revision=575 1627 1628 2007-01-05 Daniel Elstner <daniel@src.gnome.org> 1629 1630 Remove invocation of hand- crafted macro and just add "libpcre >= 5.0" to 1631 1632 * configure.ac (PCRE_CHECK_VERSION): Remove invocation of hand- 1633 crafted macro and just add "libpcre >= 5.0" to PKG_CHECK_MODULES() 1634 instead. PCRE supports pkg-config since version 5.0, released 1635 September 2004. I think it is safe to make that a requirement. 1636 (PCRE_CHECK_UTF8): Ditch the UTF-8 check, which was problematic 1637 anyway since it involved executing a runtime test. Just rely on 1638 regexxer to report an error at runtime if libpcre is found not to 1639 support UTF-8. This is acceptable since updating to a libpcre 1640 with UTF-8 support does not require rebuilding regexxer. 1641 * macros/pcre.m4: Get rid of it. 1642 1643 svn path=/trunk/; revision=574 1644 1645 2007-01-04 Daniel Elstner <daniel@src.gnome.org> 1646 1647 Switch to a non-recursing build system. The entire source tree except for 1648 1649 * Makefile.am: Switch to a non-recursing build system. The entire 1650 source tree except for the po/ subdirectory is now built from the 1651 toplevel Makefile. For the rationale of this change, see Peter 1652 Miller's excellent paper "Recursive Make Considered Harmful": 1653 http://members.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html 1654 1655 The new system makes use of Automake's subdir-objects feature to 1656 put compilation results into the src/ subdirectory. The Automake 1657 variables and rules from the subdirectories have been merged into 1658 the toplevel Makefile.am and adapted as necessary. 1659 1660 (DISTCHECK_CONFIGURE_FLAGS): Lower --enable-warnings argument from 1661 "hardcore" to "maximum", in order to get distcheck to work despite 1662 the non-virtual base class warning triggered by gconfmm. 1663 1664 * {pixmaps,src,ui}/Makefile.am: Remove from repository. 1665 1666 * configure.ac (AC_INIT): Bump version number to 0.9. Also change 1667 my mail address. 1668 (AC_PREREQ): Raise version requirement to autoconf 2.55. 1669 (AM_INIT_AUTOMAKE): Require Automake 1.8 and add -Wall option. 1670 (PKG_CHECK_MODULES): Replace output variable prefix REGEXXER with 1671 REGEXXER_MODULES for clarity. Remove the AC_SUBST() invocations 1672 as the macro seems to do that on its own now. 1673 (AC_CONFIG_FILES): Remove {pixmaps,src,ui}/Makefile from the list. 1674 1675 * NEWS: Add entry on regexxer 0.9. Not complete yet. 1676 1677 * autogen.sh: Rip out the overzealous version checking fancyness. 1678 This stuff was just a wee bit over the top. Overall, reduce the 1679 the script to a sensible minimum. Honor $NOCONFIGURE instead of 1680 $AUTOGEN_SUBDIR_MODE to match autogen.sh from gnome-common. 1681 1682 * mkinstalldirs: Remove, as glib-gettextize now properly adds 1683 this file to the source tree if it is missing. 1684 * config.rpath: Remove, as it does not seem to be actually used 1685 anywhere. 1686 1687 svn path=/trunk/; revision=573 1688 1689 2006-12-22 Daniel Elstner <daniel@src.gnome.org> 1690 1691 Use REGEXXER_PKG_PATH_PROG() to locate the gtk-update-icon-cache command. 1692 1693 * configure.ac: Use REGEXXER_PKG_PATH_PROG() to locate the 1694 gtk-update-icon-cache command. 1695 * pixmaps/Makefile.am (update-icon-cache): Add new target, which 1696 is invoked as prerequisite of install-data-hook in order to update 1697 the GTK+ icon theme cache after installation. 1698 1699 2006-12-10 Daniel Elstner <daniel@src.gnome.org> 1700 1701 Fix ChangeLog typo. 1702 1703 2006-12-10 Daniel Elstner <daniel@src.gnome.org> 1704 1705 Use gtk_window_set_default_icon_name() to have the default window icon 1706 1707 * src/main.cc (main): Use gtk_window_set_default_icon_name() to 1708 have the default window icon looked up in the icon theme, rather 1709 than explicitely specifying an image filename. For some reason 1710 this method has not been wrapped yet. 1711 (set_default_window_icon): Remove now unused function. 1712 * src/aboutdialog.cc (AboutDialog::create): For the same reason as 1713 above, use Gtk::Image::set_icon_from_name() instead of an explicit 1714 filename to load the application icon. 1715 * src/globalstrings.h (application_icon_filename): Remove now 1716 unused string. 1717 1718 2006-12-09 Daniel Elstner <daniel@src.gnome.org> 1719 1720 Remove a couple of keys and change some values to match the latest 1721 1722 * regexxer.desktop.in: Remove a couple of keys and change some 1723 values to match the latest freedesktop.org desktop-entry-spec. 1724 1725 * pixmaps/Makefile.am: Install the regexxer application icon 1726 to $(datadir)/icons/hicolor/48x48/apps as the freedesktop.org 1727 icon-theme-spec says. 1728 1729 2006-11-21 Daniel Elstner <daniel@src.gnome.org> 1730 1731 Replace the stock item reference "regexxer-about" with "gtk-about", now 1732 1733 * ui/mainwindow.glade (menuitem_about): Replace the stock item 1734 reference "regexxer-about" with "gtk-about", now that the latter 1735 has been added to GTK+. 1736 * src/main.cc (stock_icon_about): Remove. 1737 (regexxer_stock_items): Remove "regexxer-about" stock item. 1738 * pixmaps/Makefile.am (stockimages): Remove stock_menu_about.png 1739 from list. 1740 * pixmaps/stock_menu_about.png: Remove file. 1741 1742 2006-11-21 Daniel Elstner <daniel@src.gnome.org> 1743 1744 :on_style_changed): Use the proper stock images "file" and "directory" 1745 1746 * src/filetree.cc (FileTree::on_style_changed): Use the proper 1747 stock images "file" and "directory" instead of abusing "new" and 1748 "open", respectively. These new items have been available since 1749 GTK+ 2.6. 1750 1751 2006-11-21 Daniel Elstner <daniel@src.gnome.org> 1752 1753 Make CVS ignore the stamp-it file. 1754 1755 2006-11-18 Djihed Afifi <djihed@src.gnome.org> 1756 1757 Updated Arabic Translation. 1758 1759 2006-11-13 Daniel Elstner <daniel@src.gnome.org> 1760 1761 Move mixed-up translator ChangeLog entry to po/ChangeLog. 1762 1763 2006-11-13 Daniel Elstner <daniel@src.gnome.org> 1764 1765 :convert_to_ascii): Avoid bitwise operations with possibly signed char 1766 1767 * src/stringutils.cc (parse_control_char, Util::convert_to_ascii): 1768 Avoid bitwise operations with possibly signed char values. Make 1769 use of explicit casts and unsigned integer literals instead. 1770 1771 2006-11-13 Daniel Elstner <daniel@src.gnome.org> 1772 1773 Change my mail address. 1774 1775 * AUTHORS: Change my mail address. 1776 1777 2006-11-13 Daniel Elstner <daniel@src.gnome.org> 1778 1779 New macro to check for support of the --export-dynamic linker flag. Use 1780 1781 * macros/cxx.m4 (REGEXXER_LINK_EXPORT_DYNAMIC): New macro to 1782 check for support of the --export-dynamic linker flag. 1783 * configure.ac: Use the new REGEXXER_LINK_EXPORT_DYNAMIC macro 1784 to fill in the substituted variable REGEXXER_EXPORT_DYNAMIC. 1785 * src/Makefile.am (regexxer_LDFLAGS): Substitute the value of 1786 $(REGEXXER_EXPORT_DYNAMIC) since libglade no longer passes the 1787 linker flag -Wl,--export-dynamic by default. 1788 1789 2006-10-31 Matic Zgur <mr.zgur@gmail.com> 1790 1791 Added Slovenian translation. Added Slovenian ("sl") to the list of 1792 1793 2006-10-31 Matic Zgur <mr.zgur@gmail.com> 1794 1795 * sl.po: Added Slovenian translation. 1796 * LINGUAS: Added Slovenian ("sl") to the list of languages. 1797 1798 2006-10-16 Kwok-Koon Cheung <baddog@src.gnome.org> 1799 1800 Add zh_HK to LINGUAS 1801 1802 2006-10-16 Kwok-Koon Cheung <baddog@src.gnome.org> 1803 1804 Updated Chinese (Taiwan) translation. New Chinese (Hong Kong) translation. 1805 1806 * zh_TW.po: Updated Chinese (Taiwan) translation. 1807 * zh_HK.po: New Chinese (Hong Kong) translation. 1808 1809 2006-10-05 Sven Herzberg <herzi@gnome-de.org> 1810 1811 use --copy on intltoolize, so modifying po/Makefile.in.in doesn't fail for 1812 1813 2006-10-05 Sven Herzberg <herzi@gnome-de.org> 1814 1815 * autogen.sh: use --copy on intltoolize, so modifying 1816 po/Makefile.in.in doesn't fail for the missing permissions 1817 1818 2006-09-24 Pawan Chitrakar <pachimho@src.gnome.org> 1819 1820 Updated Nepali Translation 1821 1822 2006-08-29 Iñaki Larrañaga Murgoitio <dooteo@src.gnome.org> 1823 1824 *** empty log message *** 1825 1826 2006-08-29 Inaki Larranaga <dooteo@euskalgnu.org> 1827 1828 Added Basque translation. Added "eu" (Basque) entry. 1829 1830 2006-08-28 Inaki Larranaga <dooteo@euskalgnu.org> 1831 1832 * eu.po: Added Basque translation. 1833 * LINGUAS: Added "eu" (Basque) entry. 1834 1835 2006-08-26 Francisco Javier F. Serrador <serrador@openshine.com> 1836 1837 Updated Spanish translation. 1838 1839 2006-08-26 Francisco Javier F. Serrador <serrador@openshine.com> 1840 1841 * es.po: Updated Spanish translation. 1842 1843 2006-07-24 Christophe Merlet <redfox@src.gnome.org> 1844 1845 Updated French translation. 1846 1847 2006-03-01 Daniel Nylander <po@danielnylander.se> 1848 1849 Updated Swedish translation. 1850 1851 2006-03-01 Daniel Nylander <po@danielnylander.se> 1852 1853 * po/sv.po: Updated Swedish translation. 1854 1855 2006-01-22 Clytie Siddall <clyties@src.gnome.org> 1856 1857 vi.po: Added "vi" to LINGUAS. 1858 1859 2005-12-13 Murray Cumming <murrayc@murrayc.com> 1860 1861 Use --force on intltoolize, because it was complaining about an old 1862 1863 2005-12-13 Murray Cumming <murrayc@murrayc.com> 1864 1865 * autogen.sh: Use --force on intltoolize, because it was 1866 complaining about an old Makefile.in.in. 1867 * configure.ac: 1868 * src/Makefile.am: Change PKG_CFLAGS/LIBS to REGEXXER_CFLAGS/LIBS 1869 because the latest autoconf (or something) complains that PKG_CFLAGS 1870 may be undefined. Not sure why, but this fixes it. 1871 1872 2005-08-21 Pawan Chitrakar <pachimho@src.gnome.org> 1873 1874 Added Nepali translation 1875 1876 2005-08-04 Kwok-Koon Cheung <baddog@src.gnome.org> 1877 1878 Fix Language Team Reference 1879 1880 2005-08-01 Vincent van Adrighem <adrighem@gnome.org> 1881 1882 Translation updated. 1883 1884 2005-08-01 Vincent van Adrighem <adrighem@gnome.org> 1885 1886 * nl.po: Translation updated. 1887 1888 2005-07-31 Ilkka Tuohela <ituohela@src.gnome.org> 1889 1890 Bulk change to fi.po: (gnome-fi.org to gnome.fi) 1891 1892 2005-07-28 Ilkka Tuohela <ituohela@src.gnome.org> 1893 1894 Bulk changes to Finnish strings 1895 1896 2005-07-09 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> 1897 1898 Fixed Traditional Chinese translation. 1899 1900 2005-07-09 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> 1901 1902 * zh_TW.po: Fixed Traditional Chinese translation. 1903 1904 2005-07-07 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> 1905 1906 Updated Traditional Chinese trnaslation. 1907 1908 2005-07-08 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> 1909 1910 * zh_TW.po: Updated Traditional Chinese trnaslation. 1911 1912 2005-07-07 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> 1913 1914 Added Traditional Chinese translation. 1915 1916 2005-07-08 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> 1917 1918 * zh_TW.po: Added Traditional Chinese translation. 1919 1920 2005-04-02 Steven Michael Murphy <smurphy@src.gnome.org> 1921 1922 Added Kinyarwanda translation from a compendium. 1923 1924 Added Kinyarwanda translation from a compendium. 1925 1926 2005-03-17 Adam Weinberger <adamw@src.gnome.org> 1927 1928 Updated Canadian English translation. 1929 1930 * en_CA.po: Updated Canadian English translation. 1931 1932 2005-03-15 Nguyen Thai Ngoc Duy <pclouds@src.gnome.org> 1933 1934 Added vi.po from Clytie Siddall 1935 1936 2005-02-15 Christophe Merlet <redfox@src.gnome.org> 1937 1938 Updated French translation. 1939 1940 2005-02-15 Christophe Merlet <redfox@src.gnome.org> 1941 1942 Updated French translation. 1943 1944 2005-02-14 Jordi Mallach <jordim@src.gnome.org> 1945 1946 Updated Catalan translation by Xavi Ivars <ear@oronetes.net>. 1947 1948 2005-02-07 Jordi Mallach <jordim@src.gnome.org> 1949 1950 Added "ca" (Catalan). 1951 1952 2005-02-07 Jordi Mallach <jordim@src.gnome.org> 1953 1954 Added Catalan translation by Xavi Ivars <ear@oronetes.net>. 1955 1956 2005-01-28 Alexander Shopov <ash@contact.bg> 1957 1958 Updated Bulgarian translation by Iassen Pramatarov <turin@fsa-bg.org> 1959 1960 2005-01-28 Alexander Shopov <ash@contact.bg> 1961 1962 * bg.po: Updated Bulgarian translation by 1963 Iassen Pramatarov <turin@fsa-bg.org> 1964 1965 2005-01-11 Laszlo Dvornik <dvornik@gnome.hu> 1966 1967 Hungarian translation added by Gabor Kelemen. 1968 1969 2005-01-11 Laszlo Dvornik <dvornik@gnome.hu> 1970 1971 * LINGUAS: Hungarian translation added by Gabor Kelemen. 1972 1973 2005-01-11 Laszlo Dvornik <dvornik@gnome.hu> 1974 1975 Hungarian translation added by Gabor Kelemen. 1976 1977 2005-01-11 Laszlo Dvornik <dvornik@gnome.hu> 1978 1979 * hu.po: Hungarian translation added by Gabor Kelemen. 1980 1981 2004-11-29 Funda Wang <fwang@src.gnome.org> 1982 1983 Added Simplified Chinese translation 1984 1985 2004-11-11 Benoît Dejean <bdejean@src.gnome.org> 1986 1987 Updated French Translation. 1988 1989 * fr.po: Updated French Translation. 1990 1991 2004-11-11 Benoît Dejean <bdejean@src.gnome.org> 1992 1993 Added French Translation. 1994 1995 * LINGUAS: 1996 * fr.po: Added French Translation. 1997 1998 2004-10-05 Amanpreet Singh Alam <aman@src.gnome.org> 1999 2000 Add punjabi Lang 2001 2002 2004-10-05 Amanpreet Singh Alam <aman@src.gnome.org> 2003 2004 add pa.po 2005 2006 2004-10-05 Amanpreet Singh Alam <aman@src.gnome.org> 2007 2008 Add punjabi Languag 2009 2010 2004-09-26 Artur Flinta <aflinta@cvs.gnome.org> 2011 2012 Updated Polish translation by GNOME PL Team. 2013 2014 2004-09-26 Artur Flinta <aflinta@cvs.gnome.org> 2015 2016 * pl.po: Updated Polish translation by GNOME PL Team. 2017 2018 2004-09-26 Artur Flinta <aflinta@cvs.gnome.org> 2019 2020 Updated Polish translation by GNOME PL Team. 2021 2022 2004-09-26 Artur Flinta <aflinta@cvs.gnome.org> 2023 2024 * pl.po: Updated Polish translation by GNOME PL Team. 2025 2026 2004-09-25 Maxim Dziumanenko <mvd@mylinux.com.ua> 2027 2028 add uk.po 2029 2030 2004-09-25 Maxim Dziumanenko <mvd@mylinux.com.ua> 2031 2032 * add uk.po 2033 2034 2004-09-25 Maxim Dziumanenko <mvd@mylinux.com.ua> 2035 2036 Updated Ukrainian translation. 2037 2038 2004-09-25 Maxim Dziumanenko <mvd@mylinux.com.ua> 2039 2040 * Updated Ukrainian translation. 2041 2042 2004-09-22 Artur Flinta <aflinta@src.gnome.org> 2043 2044 - added Polish language 2045 2046 2004-09-22 Artur Flinta <aflinta@cvs.gnome.org> 2047 2048 Updated Polish translation by GNOME PL Team. 2049 2050 2004-09-22 Artur Flinta <aflinta@cvs.gnome.org> 2051 2052 * pl.po: Updated Polish translation by GNOME PL Team. 2053 2054 2004-09-13 N Jayaradha <njaya@src.gnome.org> 2055 2056 Students translation added 2057 2058 2004-09-13 N Jayaradha <njaya@src.gnome.org> 2059 2060 tamil translation added 2061 2062 2004-09-08 Ankitkumar Rameshchandra Patel <ankitp@src.gnome.org> 2063 2064 ankit@redhat.com 08/09/2004 * gu.po: Added Gujarati Translation 2065 2066 2004-09-06 Danilo Šegan <danilo@src.gnome.org> 2067 2068 Added Serbian translation. 2069 2070 2004-09-05 Ilkka Tuohela <ituohela@src.gnome.org> 2071 2072 Added Finnish translation 2073 2074 2004-09-03 Laurent Dhima <laurenti@alblinux.net> 2075 2076 Added Albanian translation. 2077 2078 2004-09-03 Laurent Dhima <laurenti@alblinux.net> 2079 2080 * sq.po: Added Albanian translation. 2081 2082 2004-08-29 Sorry, I've mistaken a credit of JP translator. T.Aihana <aihana@gnome.gr.jp> 2083 2084 2004-08-29 Sorry, I've mistaken a credit of JP translator. T.Aihana <aihana@gnome.gr.jp> 2085 2086 2004-08-29 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2087 2088 2004-08-29 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2089 2090 2004-08-29 Vincent van Adrighem <adrighem@gnome.org> 2091 2092 Translation updated by Tino Meinen. 2093 2094 2004-08-29 Vincent van Adrighem <adrighem@gnome.org> 2095 2096 * nl.po: Translation updated by Tino Meinen. 2097 2098 2004-08-08 Duarte Loreto <happyguy_pt@hotmail.com> 2099 2100 Updated Portuguese translation. 2101 2102 2004-08-09 Duarte Loreto <happyguy_pt@hotmail.com> 2103 2104 * pt.po: Updated Portuguese translation. 2105 2106 2004-08-02 Adam Weinberger <adamw@src.gnome.org> 2107 2108 Updated Canadian English translation. 2109 2110 * en_CA.po: Updated Canadian English translation. 2111 2112 2004-07-31 David Lodge <dave@cirt.net> 2113 2114 Updated British translation. 2115 2116 2004-07-31 David Lodge <dave@cirt.net> 2117 2118 * en_GB.po: Updated British translation. 2119 2120 2004-07-31 Francisco Javier F. Serrador <serrador@cvs.gnome.org> 2121 2122 Added Spanish translation. 2123 2124 2004-07-31 Francisco Javier F. Serrador <serrador@cvs.gnome.org> 2125 2126 * es.po: Added Spanish translation. 2127 2128 2004-07-18 Francisco Javier F. Serrador <serrador@cvs.gnome.org> 2129 2130 UPdated Spanish translation. 2131 2132 2004-07-18 Francisco Javier F. Serrador <serrador@cvs.gnome.org> 2133 2134 * es.po: UPdated Spanish translation. 2135 2136 2004-07-16 Gustavo Maciel Dias Vieira <gustavo@sagui.org> 2137 2138 Updated Brazilian Portuguese translation done by Raphael Higino 2139 2140 2004-07-16 Gustavo Maciel Dias Vieira <gustavo@sagui.org> 2141 2142 * pt_BR.po: Updated Brazilian Portuguese translation done by 2143 Raphael Higino <raphaelh@uai.com.br>. 2144 2145 2004-07-16 Daniel Elstner <daniel@src.gnome.org> 2146 2147 Rename from REGEXXER_CXXLINK_VERSION_SCRIPT() and make the macro language- 2148 2149 * macros/cxx.m4 (REGEXXER_LINK_VERSION_SCRIPT): Rename from 2150 REGEXXER_CXXLINK_VERSION_SCRIPT() and make the macro language- 2151 acnostic. Also, take the name of the output variable to set as 2152 first parameter instead of hardcoding it. 2153 (REGEXXER_ARG_ENABLE_WARNINGS): Don't change the current language 2154 but use AC_LANG_ASSERT() instead to make sure it's C++. The user 2155 is required to select the approriate language by himself then, as 2156 recommended in the autoconf manual. 2157 2158 * macros/misc.m4 (REGEXXER_LIB_POPT): Make language-acnostic. 2159 * macros/pcre.m4 (PCRE_CHECK_UTF8): ditto. 2160 2161 * configure.ac: Reorder a couple of macro invocations and insert 2162 a call to AC_LANG([C++]). 2163 2164 2004-07-15 Miloslav Trmac <mitr@volny.cz> 2165 2166 Updated Czech translation. 2167 2168 2004-07-15 Miloslav Trmac <mitr@volny.cz> 2169 2170 * cs.po: Updated Czech translation. 2171 2172 2004-07-15 Vincent van Adrighem <adrighem@gnome.org> 2173 2174 Translation updated by Tino Meinen. 2175 2176 2004-07-15 Vincent van Adrighem <adrighem@gnome.org> 2177 2178 * nl.po: Translation updated by Tino Meinen. 2179 2180 2004-07-14 Miloslav Trmac <mitr@volny.cz> 2181 2182 Updated Czech translation. 2183 2184 2004-07-14 Miloslav Trmac <mitr@volny.cz> 2185 2186 * cs.po: Updated Czech translation. 2187 2188 2004-07-14 Daniel Elstner <daniel@src.gnome.org> 2189 2190 Get rid of unused string. ditto. 2191 2192 * de.po: Get rid of unused string. 2193 * en.po: ditto. 2194 2195 2004-07-14 Daniel Elstner <daniel@src.gnome.org> 2196 2197 Fix the help string of the --ignore-case option to match the tool tip of 2198 2199 * src/main.cc (parse_command_line): Fix the help string of the 2200 --ignore-case option to match the tool tip of the corresponding 2201 checkbutton. 2202 2203 2004-07-14 Daniel Elstner <daniel@src.gnome.org> 2204 2205 Update. Update. 2206 2207 * de.po: Update. 2208 * en.po: Update. 2209 2210 2004-07-14 Daniel Elstner <daniel@src.gnome.org> 2211 2212 Replace `...' with \"...\" in message strings, for consistency with the 2213 2214 * src/main.cc (parse_command_line): Replace `...' with \"...\" in 2215 message strings, for consistency with the rest of the application. 2216 2217 2004-07-14 Daniel Elstner <daniel@src.gnome.org> 2218 2219 :find_matches): Add a feedback slot parameter and invoke it for every 2220 2221 * src/filebuffer.{cc,h} (FileBuffer::find_matches): Add a feedback 2222 slot parameter and invoke it for every matching line. The current 2223 line number and the subject string are passed as arguments to the 2224 feedback slot. 2225 2226 * src/filetree.{cc,h} (FileTree::signal_feedback): New signal. 2227 (FileTree::find_matches_at_path_iter): Pass a feedback slot to 2228 FileBuffer::find_matches() that forwards to signal_feedback() 2229 with the fileinfo object bound as third argument. 2230 2231 * src/mainwindow.{cc,h} (print_location): New handler for the 2232 feedback signal which prints the location of the match to standard 2233 output, in the same format as used by 'grep -n'. 2234 (InitState::feedback): New bool member. 2235 (MainWindow::initialize): Connect the filetree's signal_feedback 2236 to print_location if the init state's feedback flag is true. 2237 2238 * src/main.cc (parse_command_line): Add the --line-number command 2239 line argument, intended to work just like the grep equivalent. 2240 2241 2004-07-13 Daniel Elstner <daniel@src.gnome.org> 2242 2243 :autorun_idle): New method which first invokes the file search and the 2244 2245 * src/mainwindow.{cc,h} (MainWindow::autorun_idle): New method 2246 which first invokes the file search and the regex search after 2247 that, unless the user hit the Stop button in between. 2248 (MainWindow::initialize): Connect Glib::signal_idle() to the new 2249 autorun_idle() method instead of controller_.find_files.slot(). 2250 (MainWindow::busy_action_leave): Don't reset busy_action_cancel_ 2251 so that autorun_idle() can test this flag to determine whether 2252 the busy action was cancelled by the user. 2253 2254 2004-07-13 Daniel Elstner <daniel@src.gnome.org> 2255 2256 Translate new strings. ditto. 2257 2258 * de.po: Translate new strings. 2259 * en.po: ditto. 2260 2261 2004-07-13 Daniel Elstner <daniel@src.gnome.org> 2262 2263 Make sure the preprocessor directives in the test program start in the 2264 2265 * macros/pcre.m4 (PCRE_CHECK_UTF8): Make sure the preprocessor 2266 directives in the test program start in the first column, just 2267 in case we do hit on some ancient compiler that requires it. 2268 2269 * macros/misc.m4 (REGEXXER_LIB_POPT): New macro that checks 2270 whether libpopt and popt.h are available and usable. 2271 2272 * configure.ac: Use REGEXXER_LIB_POPT(). 2273 * src/Makefile.am (regexxer_LDADD): Add $(POPT_LIBS). 2274 2275 * src/mainwindow.{cc,h} (InitState): New struct that defines 2276 the initial state of main window's entry boxes and check buttons. 2277 (MainWindow::initialize): New method to initialize the UI elements 2278 with the values defined by a InitState object. 2279 2280 * src/translation.{cc,h} (initialize_gettext): Remove the call to 2281 bind_textdomain_codeset(). 2282 (enable_utf8_gettext): New function that calls 2283 bind_textdomain_codeset() if available. The separation became 2284 necessary in order to allow for the command line help message to 2285 be printed to the console in locale encoding. 2286 2287 * src/main.cc (parse_command_line): New function which parses the 2288 command line arguments and returns an InitState object. 2289 (main): Invoke parse_command_line(), enable_utf8_gettext() and 2290 MainWindow::initialize() as appropriate. 2291 2292 2004-07-12 Daniel Elstner <daniel@src.gnome.org> 2293 2294 Handle ']' and '!' inside character classes more correctly. 2295 2296 * src/stringutils.cc (shell_pattern_to_regex): Handle ']' and '!' 2297 inside character classes more correctly. 2298 2299 2004-07-11 Francisco Javier F. Serrador <serrador@cvs.gnome.org> 2300 2301 Updated Spanish translation. 2302 2303 2004-07-11 Francisco Javier F. Serrador <serrador@cvs.gnome.org> 2304 2305 * es.po: Updated Spanish translation. 2306 2307 2004-07-11 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2308 2309 2004-07-11 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2310 2311 2004-07-10 Daniel Elstner <daniel@src.gnome.org> 2312 2313 Remove. libsigc++ 2 depends on a proper compiler like g++ 3 anyway, so it 2314 2315 * configure.ac (REGEXXER_CXX_HAS_STD_LOCALE): Remove. libsigc++ 2 2316 depends on a proper compiler like g++ 3 anyway, so it make sense 2317 to require support of std::locale from now on. 2318 2319 * macros/cxx.m4 (REGEXXER_CXX_HAS_STD_LOCALE): Delete the macro. 2320 2321 * src/statusline.cc: Get rid of the preprocessor conditionals 2322 around code that makes use of std::locale. 2323 * src/stringutils.cc: ditto. 2324 2325 2004-07-09 Daniel Elstner <daniel@src.gnome.org> 2326 2327 Swap invocations of REGEXXER_ARG_ENABLE_WARNINGS() and 2328 2329 * configure.ac: Swap invocations of REGEXXER_ARG_ENABLE_WARNINGS() 2330 and REGEXXER_CXXLINK_VERSION_SCRIPT(), just in case the additional 2331 warning flags break the test program used by the latter macro. 2332 2333 2004-07-09 Daniel Elstner <daniel@src.gnome.org> 2334 2335 Fix serious %<digit> vs. %s typo. ditto. 2336 2337 * ja.po: Fix serious %<digit> vs. %s typo. 2338 * nl.po: ditto. 2339 2340 * *.po: Regenerate, forced by make dist. I know I probably 2341 shouldn't commit this but I really want CVS to be in sync with 2342 the distributed tarball. Sorry. 2343 2344 2004-07-08 Daniel Elstner <daniel@src.gnome.org> 2345 2346 Update. 2347 2348 * NEWS: Update. 2349 2350 2004-07-08 Daniel Elstner <daniel@src.gnome.org> 2351 2352 Increase "spacing" to 9. 2353 2354 * ui/mainwindow.glade (hbox_file): Increase "spacing" to 9. 2355 2356 2004-07-06 Vincent van Adrighem <adrighem@gnome.org> 2357 2358 Translation updated by Tino Meinen. 2359 2360 2004-07-06 Vincent van Adrighem <adrighem@gnome.org> 2361 2362 * nl.po: Translation updated by Tino Meinen. 2363 2364 2004-07-06 Daniel Elstner <daniel@src.gnome.org> 2365 2366 New file; an ld version script which lists the symbols that should be 2367 2368 * src/exported-symbols: New file; an ld version script which lists 2369 the symbols that should be exported explicitely. Using that makes 2370 the stripped regexxer binary more than 100k smaller! 2371 2372 * macros/cxx.m4 (REGEXXER_CXXLINK_VERSION_SCRIPT): New macro to 2373 test if the linker supports the -Wl,--version-script argument. 2374 2375 * configure.ac: Call REGEXXER_CXXLINK_VERSION_SCRIPT(). 2376 2377 * src/Makefile.am (dist_noinst_DATA): Distribute exported-symbols. 2378 (regexxer_DEPENDENCIES): Depend on exported-symbols. 2379 (regexxer_LDFLAGS): Pass $(REGEXXER_VERSION_SCRIPT) to the linker. 2380 2381 2004-07-05 Daniel Elstner <daniel@src.gnome.org> 2382 2383 Rename from apply_label_markup for clarity. 2384 2385 * src/aboutdialog.cc (apply_label_what_markup): Rename from 2386 apply_label_markup for clarity. 2387 2388 2004-07-05 Daniel Elstner <daniel@src.gnome.org> 2389 2390 :find_matches_at_path_iter): Use reference arguments instead of pointers. 2391 2392 * src/filetree.{cc,h} (FileTree::find_matches_at_path_iter): Use 2393 reference arguments instead of pointers. Make use of sigc::ref() 2394 to bind a reference argument to a signal handler. 2395 (FileTree::replace_matches_at_path_iter): ditto 2396 (FileTree::save_file_at_iter): Likewise. Also get rid of the 2397 on-demand creation of error_list, because it's unnecessary and 2398 not exception-safe. The caller is responsible for instantiating 2399 the MessageList now. 2400 2401 2004-07-01 Miloslav Trmac <mitr@volny.cz> 2402 2403 Updated Czech translation. 2404 2405 2004-07-01 Miloslav Trmac <mitr@volny.cz> 2406 2407 * cs.po: Updated Czech translation. 2408 2409 2004-06-30 Daniel Elstner <daniel@src.gnome.org> 2410 2411 Be slightly more picky and demand the first and last characters of the 2412 2413 * src/stringutils.cc (validate_encoding): Be slightly more picky 2414 and demand the first and last characters of the encoding string to 2415 be alpha-numeric. 2416 2417 2004-06-30 Daniel Elstner <daniel@src.gnome.org> 2418 2419 Better don't try to call Glib::convert() with identical input and output 2420 2421 * src/stringutils.cc (validate_encoding): Better don't try to call 2422 Glib::convert() with identical input and output encodings. I heard 2423 the iconv on Solaris doesn't like that idea at all. 2424 2425 2004-06-30 Daniel Elstner <daniel@src.gnome.org> 2426 2427 Wrap too-long line. 2428 2429 2004-06-30 Daniel Elstner <daniel@src.gnome.org> 2430 2431 :on_response): Suggest a sync to the GConf client when the dialog is 2432 2433 * src/prefdialog.cc (PrefDialog::on_response): Suggest a sync 2434 to the GConf client when the dialog is closed. 2435 2436 2004-06-29 Daniel Elstner <daniel@src.gnome.org> 2437 2438 Remove empty string properties and all GtkEntry "invisible_char" 2439 2440 * ui/mainwindow.glade: Remove empty string properties and all 2441 GtkEntry "invisible_char" properties. The latter had no purpose 2442 other than to annoy the translators. 2443 2444 * ui/prefdialog.glade: ditto. 2445 2446 2004-06-29 Daniel Elstner <daniel@src.gnome.org> 2447 2448 New string constant defining the name of the selection to use for the 2449 2450 * src/mainwindow.cc (selection_clipboard): New string constant 2451 defining the name of the selection to use for the clipboard. 2452 (MainWindow::on_cut): Use the selection_clipboard constant. 2453 (MainWindow::on_copy): ditto 2454 (MainWindow::on_paste): ditto. 2455 2456 2004-06-29 Daniel Elstner <daniel@src.gnome.org> 2457 2458 :edit_actions): Rename from clip_actions. (Controller::erase): Add action. 2459 2460 * src/controller.{cc,h} (Controller::edit_actions): Rename from 2461 clip_actions. 2462 (Controller::erase): Add action. 2463 (Controller::load_xml): Fetch cut, copy, paste and delete menu 2464 items from the glade file. 2465 2466 * src/mainwindow.{cc,h} (MainWindow::on_{cut,copy,paste,erase}): 2467 Add and implement new signal handlers. 2468 (MainWindow::connect_signals): Connect the cut, copy, paste and 2469 erase actions to the new signal handlers. 2470 (MainWindow::on_filetree_switch_buffer): Enable or disable the 2471 edit actions based on the editability of the file buffer. 2472 2473 2004-06-29 Daniel Elstner <daniel@src.gnome.org> 2474 2475 Temporarily remove this file, until dobey realizes that he's neither 2476 2477 * Makevars: Temporarily remove this file, until dobey realizes 2478 that he's neither infallible nor the God of Perl. (#144725) 2479 2480 2004-06-29 Daniel Elstner <daniel@src.gnome.org> 2481 2482 Translate new strings. ditto. 2483 2484 * de.po: Translate new strings. 2485 * en.po: ditto. 2486 2487 2004-06-25 Daniel Elstner <daniel@src.gnome.org> 2488 2489 Add an Edit menu, as well as a Cut, Copy and Paste menu items. 2490 2491 * src/controller.{cc,h} (Controller): Add an Edit menu, as well 2492 as a Cut, Copy and Paste menu items. 2493 2494 * ui/mainwindow.glade: As above, and move Undo and Preferences 2495 into the Edit menu. 2496 2497 2004-06-21 Daniel Elstner <daniel@src.gnome.org> 2498 2499 Recent intltool now parses the Makevars file, thus set this variable to 2500 2501 * po/Makevars (XGETTEXT_OPTIONS): Recent intltool now parses the 2502 Makevars file, thus set this variable to the options we want. 2503 2504 2004-06-20 Daniel Elstner <daniel@src.gnome.org> 2505 2506 Get rid of the redundant -DREGEXXER_LOCALEDIR=\""$(datadir)/locale"\" 2507 2508 * src/Makefile.am (global_defines): Get rid of the redundant 2509 -DREGEXXER_LOCALEDIR=\""$(datadir)/locale"\" definition. 2510 2511 * src/main.cc (locale_directory): New string constant. 2512 (main): Replace REGEXXER_LOCALEDIR with locale_directory. 2513 2514 2004-06-19 Daniel Elstner <daniel@src.gnome.org> 2515 2516 Add -DGTKMM_DISABLE_DEPRECATED. 2517 2518 * src/Makefile.am (global_defines): Add -DGTKMM_DISABLE_DEPRECATED. 2519 2520 * src/filetree.cc (FileTree::FileTree): Replace the deprecated 2521 set_sort_column_id() by set_sort_column(). 2522 * src/filetreeprivate.cc 2523 (FileTree::ScopedBlockSorting::ScopedBlockSorting): ditto 2524 (FileTree::ScopedBlockSorting::~ScopedBlockSorting): ditto. 2525 2526 * src/mainwindow.cc (MainWindow::on_go_next): Use scroll_to() 2527 in place of the deprecated scroll_to_mark(). 2528 2529 2004-06-19 Daniel Elstner <daniel@src.gnome.org> 2530 2531 Strip the directory prefix from filenames if present, because of the 2532 2533 * pixmaps/Makefile.am (stockimages.h): Strip the directory prefix 2534 from filenames if present, because of the possibility of automatic 2535 rule rewriting as done e.g. by SunOS make. 2536 2537 2004-06-19 Daniel Elstner <daniel@src.gnome.org> 2538 2539 Add po/LINGUAS. 2540 2541 * Makefile.am (dist_noinst_DATA): Add po/LINGUAS. 2542 2543 2004-06-18 Daniel Elstner <daniel@src.gnome.org> 2544 2545 New translation, contributed by Alberto Paro <alberto@paro.homeunix.org>. 2546 2547 * it.po: New translation, contributed by 2548 Alberto Paro <alberto@paro.homeunix.org>. 2549 2550 * LINGUAS: Add it. 2551 2552 2004-06-16 Daniel Elstner <daniel@src.gnome.org> 2553 2554 Make use of the <small> convenience tag to simplify the markup slightly. 2555 2556 * src/aboutdialog.cc (apply_label_markup): Make use of the <small> 2557 convenience tag to simplify the markup slightly. 2558 2559 2004-06-16 Daniel Elstner <daniel@src.gnome.org> 2560 2561 Include <libglademm/xml.h> instead of the whole <libglademm.h> to save a 2562 2563 * src/aboutdialog.cc: Include <libglademm/xml.h> instead of the 2564 whole <libglademm.h> to save a tiny bit of compile time. 2565 * src/controller.cc: ditto. 2566 2567 * src/filebuffer.cc: Same here, and also replace <gconfmm.h> by 2568 <gconfmm/client.h>. 2569 * src/filetree.cc: ditto 2570 * src/mainwindow.cc: ditto 2571 * src/prefdialog.cc: ditto. 2572 2573 2004-06-14 Daniel Elstner <daniel@src.gnome.org> 2574 2575 Only call bind_textdomain_codeset() if it is available. I do hope there 2576 2577 * src/translation.cc (initialize_gettext): Only call 2578 bind_textdomain_codeset() if it is available. I do hope there 2579 aren't any gettext implementations around that perform encoding 2580 conversion but don't have bind_textdomain_codeset()... 2581 2582 2004-06-14 Daniel Elstner <daniel@src.gnome.org> 2583 2584 Add dummy template specializations for SharedObject and const 2585 2586 * src/sharedptr.h (SharedPtr): Add dummy template specializations 2587 for SharedObject and const SharedObject. This makes it impossible 2588 to instantiate a generic SharedPtr<SharedObject>, which would be 2589 fatal because SharedObject doesn't have a virtual destructor. 2590 2591 2004-06-14 Daniel Elstner <daniel@src.gnome.org> 2592 2593 :refcount_): Change type to long, so that a full word will be used on 64 2594 2595 * src/sharedptr.h (SharedObject::refcount_): Change type to long, 2596 so that a full word will be used on 64 bit machines. 2597 (SharedPtr): Add a paragraph about operator const void*() to the 2598 class description. 2599 2600 2004-06-12 Added ja.po and Added 'ja' into LINGUAS. T.Aihana <aihana@gnome.gr.jp> 2601 2602 2004-06-12 Added ja.po and Added 'ja' into LINGUAS. T.Aihana <aihana@gnome.gr.jp> 2603 2604 2004-06-10 Daniel Elstner <daniel@src.gnome.org> 2605 2606 Replace literal translation with "João Paulo Gomes Vanzuita 2607 2608 * pt_BR.po ("translator-credits"): Replace literal translation 2609 with "João Paulo Gomes Vanzuita <joaopaulo99@terra.com.br>" who 2610 contributed this file. 2611 2612 2004-06-10 Gustavo Noronha Silva <gns@src.gnome.org> 2613 2614 added pt_BR 2615 2616 * LINGUAS: added pt_BR 2617 2618 * pt_BR.po: added translation, by 2619 Joao Paulo Gomes Vanzuita <joaopaulo99@terra.com.br> 2620 2621 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2622 2623 Update to pull in the qt-format comments. ditto. 2624 2625 * de.po: Update to pull in the qt-format comments. 2626 * en.po: ditto. 2627 2628 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2629 2630 Append an XGETTEXT_KEYWORDS = ... line to the generated po/Makefile.in.in 2631 2632 * autogen.sh: Append an XGETTEXT_KEYWORDS = ... line to the 2633 generated po/Makefile.in.in file. These flags are picked up 2634 by intltool-update and passed to xgettext. Use this feature 2635 to make xgettext recognize Util::compose() format strings. 2636 2637 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2638 2639 Use a plain shell assignment plus a separate AC_SUBST([GETTEXT_PACKAGE]) 2640 2641 * configure.ac (GETTEXT_PACKAGE): Use a plain shell assignment 2642 plus a separate AC_SUBST([GETTEXT_PACKAGE]) in order to please 2643 the fucked up intltool-update script. 2644 2645 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2646 2647 Add G_GNUC_FORMAT(1) attribute. 2648 2649 * src/translation.h (translate): Add G_GNUC_FORMAT(1) attribute. 2650 2651 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2652 2653 :find_add_file): Create the FileInfo object in advance before inserting 2654 2655 * src/filetree.cc (FileTree::find_add_file): Create the FileInfo 2656 object in advance before inserting the new row in order to improve 2657 exception safety. 2658 (FileTree::find_fill_dirstack): Same here for the DirInfo object. 2659 2660 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2661 2662 :next_match_file): Move code from FileTree::next_match_file() here. 2663 2664 * src/filetreeprivate.{cc,h} (FileTreePrivate::next_match_file): 2665 Move code from FileTree::next_match_file() here. 2666 (FileTreePrivate::prev_match_file): 2667 Move code from FileTree::prev_match_file() here. 2668 2669 * src/filetree.{cc,h} (FileTree::next_match_file): Remove. 2670 (FileTree::prev_match_file): Remove. 2671 2672 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2673 2674 :next_match_file): Replace the collapse_stack parameter by a single 2675 2676 * src/filetree.{cc,h} (FileTree::next_match_file): Replace the 2677 collapse_stack parameter by a single Gtk::TreeModel::Path pointer, 2678 because we really don't have to collapse each expanded child row 2679 explicitely. Simplify the implementation accordingly. 2680 (FileTree::prev_match_file): ditto. 2681 (FileTree::select_next_file): Get rid of the collapse_stack 2682 container and use a simple Gtk::TreeModel::Path variable instead. 2683 2684 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2685 2686 Use Gtk::TextBuffer::get_slice() rather than get_text(). 2687 2688 * src/fileio.cc (save_iochannel): Use Gtk::TextBuffer::get_slice() 2689 rather than get_text(). 2690 2691 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2692 2693 Whitespace fixes. 2694 2695 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2696 2697 Reduce usage of Glib::ustring::raw() in favor of native ustring accessor 2698 2699 * src/stringutils.cc (substitute_references): Reduce usage of 2700 Glib::ustring::raw() in favor of native ustring accessor methods. 2701 2702 2004-06-09 Daniel Elstner <daniel@src.gnome.org> 2703 2704 Change return type and parameter types to Glib::ustring. I have no idea as 2705 2706 * src/stringutils.{cc,h} (substitute_references): Change return 2707 type and parameter types to Glib::ustring. I have no idea as to 2708 why the interface used std::string in the first place... 2709 2710 * src/filebuffer.cc (FileBuffer::get_line_preview): Adapt to the 2711 changed parameter types of Util::substitute_references(). 2712 (FileBuffer::replace_match): ditto. 2713 2714 2004-06-08 Daniel Elstner <daniel@src.gnome.org> 2715 2716 :find_matches): Remove bogus comment. 2717 2718 * src/filebuffer.cc (FileBuffer::find_matches): Remove bogus 2719 comment. 2720 2721 2004-06-08 Daniel Elstner <daniel@src.gnome.org> 2722 2723 :undo_remove_match): Avoid decrementing current_match_ since it might 2724 2725 * src/filebuffer.cc (FileBuffer::undo_remove_match): Avoid 2726 decrementing current_match_ since it might point to the start 2727 of the range. Also remove the call to remove_tag_current() 2728 because it does nothing if match_removed_ is set anyway. 2729 2730 2004-06-08 Daniel Elstner <daniel@src.gnome.org> 2731 2732 Add accelerator key CTRL-z. 2733 2734 * ui/mainwindow.glade (menuitem_undo): Add accelerator key CTRL-z. 2735 2736 2004-06-08 Daniel Elstner <daniel@src.gnome.org> 2737 2738 Eliminate the include dependency on the pcre.h header. This requires 2739 2740 * src/pcreshell.h: Eliminate the include dependency on the pcre.h 2741 header. This requires defining the numeric values of the bit flag 2742 enums directly, but fortunately these cannot be changed without 2743 breaking ABI anyway. 2744 2745 * src/pcreshell.cc: Include pcre.h, and use static_cast<> where 2746 necessary to allow for Pattern::pcre_ to be declared as void*. 2747 2748 2004-06-08 Daniel Elstner <daniel@src.gnome.org> 2749 2750 :set_title_filename): Concatenate with the string literal PACKAGE_NAME at 2751 2752 * src/mainwindow.cc (MainWindow::set_title_filename): Concatenate 2753 with the string literal PACKAGE_NAME at compile time. 2754 2755 2004-06-08 Daniel Elstner <daniel@src.gnome.org> 2756 2757 :find_add_file): New method. Move the actual file-adding parts from 2758 2759 * src/filetree.{cc,h} (FileTree::find_add_file): New method. 2760 Move the actual file-adding parts from find_check_file() here. 2761 (FileTree::find_recursively): Move the file testing previously 2762 done in find_check_file() into this method in order to make the 2763 recursion more obvious. Also handle Glib::Dir exceptions right 2764 here, so that the caller doesn't have to handle them. 2765 (FileTree::find_files): Remove the try/catch block enclosing the 2766 call to find_recursively(). We no longer need to do it twice. 2767 (FileTree::find_check_file): Remove. 2768 2769 2004-06-04 Gareth Owen <gowen@src.gnome.org> 2770 2771 Updated British English translation 2772 2773 2004-06-03 Daniel Elstner <daniel@src.gnome.org> 2774 2775 :calculate_file_index): Simplify. 2776 2777 * src/filetree.cc (FileTree::calculate_file_index): Simplify. 2778 2779 2004-06-02 Daniel Elstner <daniel@src.gnome.org> 2780 2781 :create_with_error_message): Minor code rearrangement. 2782 2783 * src/filebuffer.cc (FileBuffer::create_with_error_message): 2784 Minor code rearrangement. 2785 2786 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2787 2788 :find_files): Slightly clarify the call to Gtk::TreePath's constructor. 2789 2790 * src/filetree.cc (FileTree::find_files): Slightly clarify 2791 the call to Gtk::TreePath's constructor. 2792 2793 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2794 2795 Remove because automake-1.7 complains about the undefined variable 2796 2797 * Makefile.am (ACLOCAL_AMFLAGS): Remove because automake-1.7 2798 complains about the undefined variable ${ACLOCAL_FLAGS} even 2799 though it's a shell substitution. 2800 2801 * configure.ac: Use AC_SUBST() to set up ACLOCAL_AMFLAGS here 2802 instead, so automake-1.7 won't notice. 2803 2804 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2805 2806 :expand_and_select): Replace the calls to TreeSelection::select() and 2807 2808 * src/filetree.cc (FileTree::expand_and_select): Replace the 2809 calls to TreeSelection::select() and TreeView::scroll_to_row() 2810 by a single TreeView::set_cursor() call. 2811 (FileTree::find_files): After the tree has been filled in, the 2812 first call to expand_and_select() doesn't always scroll to the 2813 selected row (no matter if set_cursor() or scroll_to_row() is 2814 used there). Explicitely scroll to the first row after filling 2815 the tree to work around this problem. 2816 2817 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2818 2819 Prepend GNOME to the list. 2820 2821 * regexxer.desktop.in (Categories): Prepend GNOME to the list. 2822 2823 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2824 2825 Remove superfluous namespace prefix. 2826 2827 * src/translation.cc (compose_impl): Remove superfluous namespace 2828 prefix. 2829 2830 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2831 2832 Optimize and reduce executable size by replacing 2833 2834 * src/translation.cc (compose): Optimize and reduce executable 2835 size by replacing std::vector<Glib::ustring> by a POD array of 2836 pointers to the Glib::ustring arguments. 2837 2838 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2839 2840 :load_file_with_fallback): Get the UTF-8 encoded basename from the 2841 2842 * src/filetree.cc (FileTree::load_file_with_fallback): Get the 2843 UTF-8 encoded basename from the filename column of the tree model 2844 instead of stripping and converting fileinfo->fullname all over 2845 again. 2846 2847 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2848 2849 Move the assignment of 'false' to fileinfo->load_failed to the very end of 2850 2851 * src/fileio.cc (load_file): Move the assignment of 'false' to 2852 fileinfo->load_failed to the very end of the function, because 2853 there is a tiny chance that one of the other assignments throws 2854 an exception. 2855 2856 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2857 2858 :find_increment_file_count): There is no need for the reverse_iterator 2859 2860 * src/filetree.cc (FileTree::find_increment_file_count): There 2861 is no need for the reverse_iterator abstraction here -- just use 2862 plain iterators and decrement them. 2863 2864 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2865 2866 :prev_match_file): As it turns out keeping track of the parent iterator 2867 2868 * src/filetree.cc (FileTree::prev_match_file): As it turns out 2869 keeping track of the parent iterator does have some merit. While 2870 there was nothing wrong with the previous change, I discovered 2871 that the parent's children can be indexed in order to obtain an 2872 iterator pointing to the previous row. At least for deep trees 2873 this is likely to be faster than resolving the whole path via 2874 Gtk::TreeModel::get_iter(). 2875 2876 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2877 2878 :prev_match_file): There is no need to keep track of the parent iterator; 2879 2880 * src/filetree.cc (FileTree::prev_match_file): There is no need to 2881 keep track of the parent iterator; just use Gtk::TreePath::size() 2882 and TreePath::up(). Also use TreePath::push_back() instead of the 2883 deprecated TreePath::append_index(). 2884 2885 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2886 2887 :find_matches_at_path_iter): Rename from find_matches_at_iter(): add a 2888 2889 * src/filetree.{cc,h} (FileTree::find_matches_at_path_iter): 2890 Rename from find_matches_at_iter(): add a path parameter and 2891 use it instead of obtaining the path from the iter argument. 2892 (FileTree::replace_matches_at_path_iter): Rename from 2893 replace_matches_at_iter(): add a path parameter and use it. 2894 (FileTree::find_matches): Use TreeModel::foreach() rather than 2895 foreach_iter() in order to gain a minor performance improvement 2896 by taking advantage of the supplied Gtk::TreePath. 2897 (FileTree::replace_all_matches): ditto. 2898 2899 2004-06-01 Daniel Elstner <daniel@src.gnome.org> 2900 2901 :on_treestore_rows_reordered): New signal handler which updates the match 2902 2903 * src/filetree.{cc,h} (FileTree::on_treestore_rows_reordered): 2904 New signal handler which updates the match boundaries defined by 2905 the [path_match_first_, path_match_last_] range. Previously this 2906 has been handled in on_treestore_sort_column_changed(), which is 2907 unfortunately called before the actual sorting takes place. 2908 (FileTree::on_treestore_sort_column_changed): Remove. 2909 (FileTree::FileTree): Connect to signal_rows_reordered() instead 2910 of signal_sort_column_changed(). 2911 2912 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2913 2914 Add nl. 2915 2916 * LINGUAS: Add nl. 2917 2918 2004-05-31 Vincent van Adrighem <adrighem@gnome.org> 2919 2920 Translation added by Tino Meinen. 2921 2922 2004-05-31 Vincent van Adrighem <adrighem@gnome.org> 2923 2924 * nl.po: Translation added by Tino Meinen. 2925 2926 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2927 2928 :instance): New static method which replaces the filetree_columns() 2929 2930 * src/filetreeprivate.{cc,h} (FileTreeColumns::instance): New 2931 static method which replaces the filetree_columns() function, 2932 for consistency with RegexxerTags::instance(). 2933 (filetree_columns): Remove. 2934 2935 * src/filetree.cc: Replace all instances of filetree_columns() 2936 with FileTreeColumns::instance(). 2937 2938 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2939 2940 Get rid of the prefixed U+202D LEFT-TO-RIGHT OVERRIDE since Pango gets 2941 2942 * ui/aboutdialog.glade (label_url): Get rid of the prefixed U+202D 2943 LEFT-TO-RIGHT OVERRIDE since Pango gets that right on its own now. 2944 (label_author_who): ditto 2945 2946 * ui/mainwindow.glade (button_multiple): ditto 2947 (button_caseless): ditto. 2948 2949 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2950 2951 Set to active by default. 2952 2953 * ui/mainwindow.glade (button_multiple): Set to active by default. 2954 2955 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2956 2957 Fix ChangeLog typo. 2958 2959 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2960 2961 :set_file_encoding): Work around the GTK+ bug with right-aligned labels by 2962 2963 * src/statusline.cc (Status::set_file_encoding): Work around the 2964 GTK+ bug with right-aligned labels by calling check_resize(), just 2965 as already done in CounterBox::set_index(). Note that the status 2966 bar is right-aligned only in RTL locales. 2967 2968 2004-05-31 Daniel Elstner <daniel@src.gnome.org> 2969 2970 :create): If no translation is available for the current locale, replace 2971 2972 * src/aboutdialog.cc (AboutDialog::create): If no translation is 2973 available for the current locale, replace "translator-credits" by 2974 some more user-friendly text. 2975 2976 2004-05-30 Adam Weinberger <adamw@src.gnome.org> 2977 2978 Updated Canadian English translation. 2979 2980 * en_CA.po: Updated Canadian English translation. 2981 2982 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 2983 2984 :color_modified_): Use "Accent Red" from the basic GNOME 32-color palette 2985 2986 * src/filetree.cc (FileTree::color_modified_): Use "Accent Red" 2987 from the basic GNOME 32-color palette instead of rgb.txt "red". 2988 2989 (FileTree::text_cell_data_func): Set the text style to "oblique" 2990 in addition to painting in red color if the file was modified. 2991 2992 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 2993 2994 :get_substring_bounds): Sanity-check for index >= 0 too. 2995 2996 * src/pcreshell.cc (Pattern::get_substring_bounds): Sanity-check 2997 for index >= 0 too. 2998 2999 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3000 3001 Remove now unused strings. ditto. 3002 3003 * de.po: Remove now unused strings. 3004 * en.po: ditto. 3005 3006 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3007 3008 :on_conf_value_changed): Remove "using namespace Gtk" directive which 3009 3010 * src/mainwindow.cc (MainWindow::on_conf_value_changed): Remove 3011 "using namespace Gtk" directive which became pointless after the 3012 last change. 3013 3014 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3015 3016 Remove configuration option because it doesn't seem to be necessary 3017 3018 * regexxer.schemas.in (override_direction): Remove configuration 3019 option because it doesn't seem to be necessary anymore. That is, 3020 the current GTK+ release gets the direction of Latin text in RTL 3021 locales right now. 3022 3023 * src/globalstrings.h (conf_key_override_direction): Remove. 3024 * src/mainwindow.cc (MainWindow::on_conf_value_changed): Remove 3025 the code that handles the "override_direction" config option. 3026 * src/prefdialog.{cc,h} (PrefDialog): ditto. 3027 * ui/prefdialog.glade (button_override_direction): Remove. 3028 3029 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3030 3031 :find_matches): Get rid of an unused main_context variable plus 3032 3033 * src/filebuffer.cc (FileBuffer::find_matches): Get rid of an 3034 unused main_context variable plus initialization code. Whoa, 3035 this ancient piece of code must have been lurking here for at 3036 least a year without being used. Unfortunately g++ didn't warn 3037 about it since the ctor/dtor might have had side effects... 3038 3039 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3040 3041 In the regex used to extract version numbers, avoid any use of quantifiers 3042 3043 * autogen.sh: In the regex used to extract version numbers, avoid 3044 any use of quantifiers other than * for maximum portability. 3045 3046 * macros/pcre.m4 (PCRE_CHECK_VERSION): Same here, and also be more 3047 forgiving about extra characters possibly following the version 3048 number. 3049 3050 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3051 3052 Replace AC_MSG_ERROR() by AC_MSG_FAILURE(), and add an autoconf-time check 3053 3054 * macros/misc.m4 (REGEXXER_PKG_PATH_PROG): Replace AC_MSG_ERROR() 3055 by AC_MSG_FAILURE(), and add an autoconf-time check to make sure 3056 all necessary arguments are specified. 3057 3058 * macros/pcre.m4: Replace AC_MSG_ERROR() by AC_MSG_FAILURE(), and 3059 add a few redirections of stderr to the config.log file descriptor 3060 where appropriate. 3061 3062 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3063 3064 :filetree_columns): Remove the G_GNUC_CONST attribute since in this 3065 3066 * src/filetreeprivate.h (FileTreePrivate::filetree_columns): 3067 Remove the G_GNUC_CONST attribute since in this function's case 3068 it doesn't gain us anything anyway. 3069 3070 * src/translation.h (translate): Use G_GNUC_PURE rather than 3071 G_GNUC_CONST because the function depends on global memory. 3072 3073 2004-05-30 Daniel Elstner <daniel@src.gnome.org> 3074 3075 :match): Use the symbolic constant PCRE_ERROR_NOMATCH instead of comparing 3076 3077 * src/pcreshell.cc (Pattern::match): Use the symbolic constant 3078 PCRE_ERROR_NOMATCH instead of comparing with -1 directly. 3079 3080 2004-05-29 Daniel Elstner <daniel@src.gnome.org> 3081 3082 Remove tool button. I'm not yet convinced that the "Quit" button should be 3083 3084 * ui/mainwindow.glade (button_preferences): Remove tool button. 3085 I'm not yet convinced that the "Quit" button should be removed 3086 too, because I like it large and easy to hit on :) 3087 3088 * src/controller.cc (Controller::load_xml): No longer load 3089 "button_preferences" from the glade file. 3090 3091 2004-05-29 Miloslav Trmac <mitr@volny.cz> 3092 3093 Updated Czech translation. 3094 3095 2004-05-29 Miloslav Trmac <mitr@volny.cz> 3096 3097 * cs.po: Updated Czech translation. 3098 3099 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3100 3101 There is no need to pass the [not found] argument to AC_PATH_PROG, since 3102 3103 * macros/misc.m4 (REGEXXER_PKG_PATH_PROG): There is no need to 3104 pass the [not found] argument to AC_PATH_PROG, since the default 3105 action is just right. 3106 * macros/pcre.m4 (PCRE_CHECK_VERSION): ditto. 3107 3108 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3109 3110 Add ${ACLOCAL_FLAGS} as recommended by James Henstridge. 3111 3112 * Makefile.am (ACLOCAL_AMFLAGS): Add ${ACLOCAL_FLAGS} as 3113 recommended by James Henstridge. 3114 3115 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3116 3117 Don't use $^ since it probably isn't portable. (uninstall-schemas): ditto. 3118 3119 * Makefile.am (install-schemas): Don't use $^ since it probably 3120 isn't portable. 3121 (uninstall-schemas): ditto. 3122 3123 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3124 3125 Bump version requirement to libpcre 4.0. Apparently the code required this 3126 3127 * configure.ac (PCRE_CHECK_VERSION): Bump version requirement to 3128 libpcre 4.0. Apparently the code required this version for quite 3129 some time now, but without configure checking for it. 3130 3131 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3132 3133 :Pattern): Let's be paranoid and use g_new0() rather than plain g_new() to 3134 3135 * src/pcreshell.cc (Pattern::Pattern): Let's be paranoid and 3136 use g_new0() rather than plain g_new() to allocate ovector_. 3137 (Pattern::get_substring_bounds): More paranoia: assert that 3138 the index argument is within the allowed range. 3139 (Pattern::get_substring): Call get_substring_bounds() to get the 3140 boundary offsets in order to take advantage of the error checking. 3141 3142 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3143 3144 Replace non-ASCII characters by octal escapes rather than just a question 3145 3146 * src/stringutils.cc (convert_to_ascii): Replace non-ASCII 3147 characters by octal escapes rather than just a question mark. 3148 3149 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3150 3151 Translate new string. ditto. 3152 3153 * de.po: Translate new string. 3154 * en.po: ditto. 3155 3156 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3157 3158 :instance): Remove G_GNUC_CONST because it causes problems on PPC, and 3159 3160 * src/filebuffer.cc (RegexxerTags::instance): Remove G_GNUC_CONST 3161 because it causes problems on PPC, and doesn't have any effect in 3162 this particular case anyway. 3163 3164 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3165 3166 :get_folder_fullname): New method that expands the entered folder name and 3167 3168 * src/mainwindow.{cc,h} (MainWindow::get_folder_fullname): New 3169 method that expands the entered folder name and converts it to 3170 filename encoding. An error message is displayed to the user 3171 if the conversion fails. 3172 (MainWindow::on_select_folder): Use get_folder_fullname(). 3173 (MainWindow::on_find_files): ditto. 3174 3175 2004-05-28 Daniel Elstner <daniel@src.gnome.org> 3176 3177 Operate directly in filename encoding since all callers need to convert 3178 3179 * src/stringutils.{cc,h} (expand_pathname): Operate directly in 3180 filename encoding since all callers need to convert one way or 3181 the other anyway. Change type of parameter and return value to 3182 std::string accordingly. 3183 (shorten_pathname): ditto. 3184 3185 * src/mainwindow.cc (MainWindow::MainWindow): Reverse order of 3186 the calls to filename_to_utf8_fallback() and shorten_pathname(). 3187 (MainWindow::on_select_folder): ditto 3188 (MainWindow::on_find_files): ditto. 3189 3190 * src/mainwindow.{cc,h} (MainWindow::set_title_filename): Change 3191 parameter type to std::string and call filename_to_utf8_fallback(). 3192 Also remove the default argument from the declaration, and get rid 3193 of the logic that handles the empty string. 3194 (MainWindow::MainWindow): Call window_->set_title() directly in 3195 order to set the default title, instead of passing an empty string 3196 to set_title_filename(). 3197 (MainWindow::on_filetree_switch_buffer): ditto. 3198 3199 2004-05-27 Daniel Elstner <daniel@src.gnome.org> 3200 3201 On failure, don't fall back to the locale encoding anymore but straight to 3202 3203 * src/stringutils.cc (filename_to_utf8_fallback): On failure, 3204 don't fall back to the locale encoding anymore but straight to 3205 plain ASCII. Thus from now on, this function will never throw 3206 for errors of type ConvertError::ILLEGAL_SEQUENCE. Also cover 3207 the new G_FILENAME_ENCODING variable in the warning message. 3208 3209 * src/filetree.cc (FileTree::find_files): Remove the explicit 3210 handling of Glib::ConvertError. 3211 3212 2004-05-26 Daniel Elstner <daniel@src.gnome.org> 3213 3214 Use colors from the basic GNOME 32-color palette for the match_color and 3215 3216 * regexxer.schemas.in: Use colors from the basic GNOME 32-color 3217 palette for the match_color and current_match_color default values. 3218 3219 2004-05-26 Daniel Elstner <daniel@src.gnome.org> 3220 3221 Validate the UCS-4 code point returned by Unicode::tolower() or 3222 3223 * src/stringutils.cc (apply_modifiers): Validate the UCS-4 code 3224 point returned by Unicode::tolower() or Unicode::totitle() before 3225 appending it to the string. This is necessary because for example 3226 converting U+00DF to title case is an invalid operation. 3227 3228 2004-05-25 Daniel Elstner <daniel@src.gnome.org> 3229 3230 Print a warning message to the console if the format string contains an 3231 3232 * src/translation.cc (compose_impl): Print a warning message to 3233 the console if the format string contains an invalid substitution, 3234 rather than just silently ignoring the error. This is mainly of 3235 importance to translators, as it provides them some feedback if 3236 they get it wrong. 3237 3238 2004-05-25 Daniel Elstner <daniel@src.gnome.org> 3239 3240 Move to anonymous namespace. Not that it matters much, but I like it this 3241 3242 * src/filetree.cc (regexxer_create_file_tree): Move to anonymous 3243 namespace. Not that it matters much, but I like it this way. 3244 * src/statusline.cc (regexxer_create_status_line): ditto. 3245 3246 2004-05-25 Daniel Elstner <daniel@src.gnome.org> 3247 3248 :FileTree): Remove superfluous namespace qualification. 3249 3250 * src/filetree.cc (FileTree::FileTree): Remove superfluous 3251 namespace qualification. 3252 3253 2004-05-25 Daniel Elstner <daniel@src.gnome.org> 3254 3255 Avoid using postfix operators on subexpressions in the regex used to 3256 3257 * autogen.sh: Avoid using postfix operators on subexpressions 3258 in the regex used to extract version numbers. This makes the 3259 expression both simpler and more portable. 3260 * macros/pcre.m4 (PCRE_CHECK_VERSION): ditto. 3261 3262 2004-05-25 Daniel Elstner <daniel@src.gnome.org> 3263 3264 Strip "-L/usr/lib" from PCRE_LIBS if necessary. Strip "-I/usr/include" 3265 3266 * macros/pcre.m4 (PCRE_CHECK_VERSION): Strip "-L/usr/lib" from 3267 PCRE_LIBS if necessary. Strip "-I/usr/include" from PCRE_CFLAGS 3268 too -- although not required on Debian, it's better not to rely 3269 on this. 3270 3271 * autogen.sh: Standard POSIX regexps suck: according to the sed 3272 documentation, both "\?" and "\+" are GNU extensions. Replace by 3273 "\{0,1\}" and "\{1,\}", respectively. 3274 * macros/pcre.m4 (PCRE_CHECK_VERSION): ditto. 3275 3276 2004-05-24 Adam Weinberger <adamw@src.gnome.org> 3277 3278 Added en_CA to the list Added Canadian English translation. 3279 3280 * LINGUAS: Added en_CA to the list 3281 * en_CA.po: Added Canadian English translation. 3282 3283 2004-05-22 Daniel Elstner <daniel@src.gnome.org> 3284 3285 Oops, the closing quote in German is U+201C not U+201D. 3286 3287 * de.po: Oops, the closing quote in German is U+201C not U+201D. 3288 3289 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3290 3291 :on_find_files): Minor coding style modifications. 3292 3293 * src/mainwindow.cc (MainWindow::on_find_files): Minor coding style 3294 modifications. 3295 3296 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3297 3298 :on_select_folder): Simplify the code: with the new FileChooser we no 3299 3300 * src/mainwindow.cc (MainWindow::on_select_folder): Simplify the 3301 code: with the new FileChooser we no longer have to handle the case 3302 of selecting a file instead of a directory. 3303 3304 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3305 3306 New exception class. 3307 3308 * src/fileio.h (ErrorBinaryFile): New exception class. 3309 3310 * src/fileio.cc (load_iochannel): Throw ErrorBinaryFile if the 3311 input stream contains '\0' bytes, rather than just returning a 3312 null pointer. 3313 (load_file): Throw ErrorBinaryFile if the file could not be 3314 loaded in either of the specified encodings. 3315 3316 * src/filetree.cc (FileTree::load_file_with_fallback): Handle 3317 the ErrorBinaryFile exception. 3318 3319 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3320 3321 :replace_all_matches): Substitute Gtk::TreeIter with 3322 3323 * src/filetree.cc (FileTree::replace_all_matches): Substitute 3324 Gtk::TreeIter with Gtk::TreeModel::iterator for consistency. 3325 3326 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3327 3328 [ Fix accidental ChangeLog omission ] 3329 3330 * src/filetree.cc: Replace a couple of explicit TreePath(iter) 3331 conversions by simple assignments. 3332 (FileTree::replace_all_matches): Make sure path_match_first_ 3333 points to the first file that still has matches after a replace 3334 operation was interrupted. 3335 (FileTree::replace_matches_at_iter): Remove the assertion that 3336 FileBuffer::get_match_count() must return 0 after returning from 3337 FileBuffer::replace_all_matches(), because the operation might 3338 have been interrupted. 3339 3340 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3341 3342 :do_undo): Don't create a temporary copy of the pulse slot since 3343 3344 * src/undostack.cc (UndoStack::do_undo): Don't create a temporary 3345 copy of the pulse slot since libsigc++2 allows calling const slots. 3346 3347 2004-05-21 Daniel Elstner <daniel@src.gnome.org> 3348 3349 :replace_all_matches): Make sure path_match_first_ points to the first 3350 3351 * src/filetree.cc (FileTree::replace_all_matches): Make sure 3352 path_match_first_ points to the first file that still has matches 3353 after a replace operation was interrupted. 3354 3355 2004-05-20 Daniel Elstner <daniel@src.gnome.org> 3356 3357 Set "can_focus" to False. 3358 3359 * ui/mainwindow.glade (entry_preview): Set "can_focus" to False. 3360 3361 2004-05-20 Miloslav Trmac <mitr@volny.cz> 3362 3363 Updated Czech translation. 3364 3365 2004-05-20 Miloslav Trmac <mitr@volny.cz> 3366 3367 * cs.po: Updated Czech translation. 3368 3369 2004-05-20 Daniel Elstner <daniel@src.gnome.org> 3370 3371 Break apart a couple of uber-long lines. 3372 3373 * src/mainwindow.cc: Break apart a couple of uber-long lines. 3374 3375 2004-05-20 Daniel Elstner <daniel@src.gnome.org> 3376 3377 New string constant which defines the package title string plus 3378 3379 * src/aboutdialog.cc (package_title): New string constant which 3380 defines the package title string plus surrounding markup. 3381 (AboutDialog::create): Use the separated package_title constant. 3382 3383 * src/aboutdialog.{cc,h} (AboutDialog::create): Change the return 3384 type to std::auto_ptr<Gtk::Dialog> because copying-destroys-source 3385 is just what we want. Calling release() to achieve exactly that 3386 was a silly idea to begin with. 3387 3388 2004-05-19 Gareth Owen <gowen@src.gnome.org> 3389 3390 Updated British English translation 3391 3392 2004-05-19 Daniel Elstner <daniel@src.gnome.org> 3393 3394 Synchronize with source tree. 3395 3396 * *.po: Synchronize with source tree. 3397 3398 * de.po: Update translation and add credits. 3399 * en.po: ditto. 3400 3401 2004-05-19 Daniel Elstner <daniel@src.gnome.org> 3402 3403 Remove. The Debian package of regexxer is not the only one out there, and 3404 3405 * ui/aboutdialog.glade (label_debian_*): Remove. The Debian 3406 package of regexxer is not the only one out there, and I cannot 3407 list all of them in the about dialog. Sorry Ross :/ 3408 (label_translator_{what,who}): Give credit to the translator(s) 3409 for the user's locale as listed in the translation of the string 3410 "translator-credits". 3411 (label_url): Get rid of the custom SelectableLabel widget class. 3412 The only feature provided by the custom widget was tab-navigation 3413 to labels -- I figured one can simply use C-Tab to do just that. 3414 (label_author_who): ditto 3415 (label_translator_who): ditto. 3416 3417 * src/aboutdialog.cc (SelectableLabel): Remove custom widget. 3418 (AboutDialog::create): Acommodate to glade file modifications. 3419 3420 2004-05-19 Miloslav Trmac <mitr@volny.cz> 3421 3422 Updated Czech translation. 3423 3424 2004-05-19 Miloslav Trmac <mitr@volny.cz> 3425 3426 * cs.po: Updated Czech translation. 3427 3428 2004-05-19 Daniel Elstner <daniel@src.gnome.org> 3429 3430 No need to explicitely specify $(top_srcdir)/ in the directory name 3431 3432 * Makefile.am (ACLOCAL_AMFLAGS): No need to explicitely specify 3433 $(top_srcdir)/ in the directory name because the aclocal rule 3434 changes to that directory anyway. This also avoids confusing 3435 recent releases of gettextize. 3436 3437 2004-05-19 Daniel Elstner <daniel@src.gnome.org> 3438 3439 AC_SUBST() this variable with '$(top_srcdir)/po/LINGUAS' for utmost 3440 3441 * configure.ac (CONFIG_STATUS_DEPENDENCIES): AC_SUBST() this 3442 variable with '$(top_srcdir)/po/LINGUAS' for utmost perfection ;-) 3443 3444 2004-05-19 Daniel Elstner <daniel@src.gnome.org> 3445 3446 Make glade-2 replace its old-style magic "class names" with proper 3447 3448 * ui/mainwindow.glade (toolbar): Make glade-2 replace its old-style 3449 magic "class names" with proper GtkToolItem and derivated elements. 3450 Note that you'll need to apply the patch for #142761 in order to 3451 make changing the toolbar style at runtime work. 3452 (combo_pattern): Replace deprecated GtkCombo with GtkComboBoxEntry. 3453 3454 * src/controller.cc (ControlItem::add_widgets): Allow for both 3455 Gtk::ToolButton and Gtk::Button widgets, and detect at runtime 3456 which type to use. 3457 3458 * src/mainwindow.cc (MainWindow::load_xml): Due to #142755, we 3459 currently have to use get_child() on combo_pattern to gain access 3460 to the entry widget. Also, a hack was necessary to attach the 3461 tooltip to the entry without instantiating another Gtk::Tooltips 3462 object. 3463 3464 * src/mainwindow.h: Remove a couple of unused forward declarations. 3465 3466 2004-05-18 Miloslav Trmac <mitr@src.gnome.org> 3467 3468 Add cs to LINGUAS 3469 3470 2004-05-18 Miloslav Trmac <mitr@volny.cz> 3471 3472 Added Czech translation. 3473 3474 2004-05-18 Miloslav Trmac <mitr@volny.cz> 3475 3476 * cs.po: Added Czech translation. 3477 3478 2004-05-18 Daniel Elstner <daniel@src.gnome.org> 3479 3480 :on_response): Invoke Gtk::Widget::activate() instead of directly calling 3481 3482 * src/prefdialog.cc (PrefDialog::on_response): Invoke 3483 Gtk::Widget::activate() instead of directly calling the handler 3484 on_entry_fallback_activate(). Dunno why I didn't see this before. 3485 3486 2004-05-18 Daniel Elstner <daniel@src.gnome.org> 3487 3488 Return -1 rather than 0 on failure. 3489 3490 * src/prefdialog.cc (get_toolbar_style_index): Return -1 rather 3491 than 0 on failure. 3492 3493 2004-05-18 Daniel Elstner <daniel@src.gnome.org> 3494 3495 Synchronize with source code. 3496 3497 * *.po: Synchronize with source code. 3498 3499 2004-05-18 Daniel Elstner <daniel@src.gnome.org> 3500 3501 Replace custom font selection button with the new GtkFontButton. 3502 3503 * ui/prefdialog.glade (button_textview_font): Replace custom font 3504 selection button with the new GtkFontButton. 3505 (button_match_color): Replace custom color selection button with 3506 the new GtkColorButton. 3507 (button_current_color): ditto. 3508 (combo_toolbar_style): Rename from option_toolbar_style. Use the 3509 new GtkComboBox widget instead of GtkOptionMenu. 3510 3511 * src/prefdialog.{cc,h} (FontSelectionButton): Remove. 3512 (ColorSelectionButton): Remove. 3513 (PrefDialog): Accomodate to changes in the glade file. 3514 (on_textview_font_set): Rename from on_textview_font_selected(). 3515 (on_match_color_set): Rename from on_match_color_selected(). 3516 (on_current_color_set): Rename from on_current_color_selected(). 3517 3518 2004-05-18 Daniel Elstner <daniel@src.gnome.org> 3519 3520 :load_xml): Make the folder button grab focus because otherwise the 3521 3522 * src/mainwindow.cc (MainWindow::load_xml): Make the folder button 3523 grab focus because otherwise the Preferences tool button will be 3524 focused after startup. I blame libglade -- its whole tool button 3525 handling seems to be somewhat shaky. 3526 3527 2004-05-18 Daniel Elstner <daniel@src.gnome.org> 3528 3529 Use `cat "$srcdir/po/LINGUAS"` to assign this variable, so that there is 3530 3531 * configure.ac (ALL_LINGUAS): Use `cat "$srcdir/po/LINGUAS"` to 3532 assign this variable, so that there is only one file to edit when 3533 adding a new language. 3534 3535 2004-05-17 Duarte Loreto <happyguy_pt@hotmail.com> 3536 3537 Added Portuguese (pt) to ALL_LINGUAS. 3538 3539 2004-05-17 Duarte Loreto <happyguy_pt@hotmail.com> 3540 3541 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS. 3542 3543 2004-05-17 Duarte Loreto <happyguy_pt@hotmail.com> 3544 3545 Added Portuguese translation. Added Portuguese (pt). 3546 3547 2004-05-17 Duarte Loreto <happyguy_pt@hotmail.com> 3548 3549 * pt.po: Added Portuguese translation. 3550 * LINGUAS: Added Portuguese (pt). 3551 3552 2004-05-17 Christian Rose <menthos@menthos.com> 3553 3554 Added "sv" to ALL_LINGUAS. Added an incomplete Swedish translation. Added 3555 3556 2004-05-17 Christian Rose <menthos@menthos.com> 3557 3558 * configure.ac: Added "sv" to ALL_LINGUAS. 3559 * po/sv.po: Added an incomplete Swedish translation. 3560 * po/LINGUAS: Added "sv". 3561 * po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, 3562 po/en@quot.header, po/insert-header.sin, po/quot.sed, 3563 po/remove-potcdate.sin: Removed this cruft. 3564 * po/.cvsignore: Added more appropriate contents. 3565 3566 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3567 3568 Fix an older ChangeLog entry. 3569 3570 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3571 3572 Remove config.rpath because automake distributes this file automatically. 3573 3574 * Makefile.am (dist_noinst_SCRIPTS): Remove config.rpath because 3575 automake distributes this file automatically. List intltool-*.in 3576 files in the separate variable dist_intltool. 3577 (dist_noinst_DATA): List all *.m4 files in the separate variable 3578 dist_macros. Move $(dist_intltool) from dist_noinst_SCRIPTS here 3579 because the .in files aren't scripts. 3580 3581 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3582 3583 Translate new desktop file strings. ditto. 3584 3585 * de.po: Translate new desktop file strings. 3586 * en.po: ditto. 3587 3588 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3589 3590 Use _Name to make it translatable, and change the string to "regexxer 3591 3592 * regexxer.desktop (Name): Use _Name to make it translatable, and 3593 change the string to "regexxer Search Tool". Idea from Dag Wieers. 3594 3595 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3596 3597 Sync. 3598 3599 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3600 3601 Mark all const_cast<> work-arounds for the Gtk::TextIter API bug with // 3602 3603 * src/filebuffer.cc: Mark all const_cast<> work-arounds for the 3604 Gtk::TextIter API bug with // XXX comments. 3605 (FileBuffer::get_match_index): Get rid of libstdc++-v2 work-around. 3606 3607 * src/filebuffer.h (FileBuffer): Get rid of the friend declarations 3608 that were added to work around a GCC 2.95 deficiency. 3609 * src/filetree.h (FileTree): ditto 3610 * src/mainwindow.h (MainWindow): ditto. 3611 3612 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3613 3614 Simplify. Since regexxer.schemas is now a generated file it is always 3615 3616 * Makefile.am (install-schemas): Simplify. Since regexxer.schemas 3617 is now a generated file it is always placed in the build directory. 3618 (uninstall-schemas): Likewise. Also add $(schemas_DATA) to the 3619 prerequisites so that the rule will work with a clean tree. Having 3620 make uninstall generate files is a little awkward, but I cannot see 3621 a way around that :/ 3622 3623 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3624 3625 16): Fix translation. 3626 3627 * de.po (ui/prefdialog.glade.h:16): Fix translation. 3628 3629 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3630 3631 List build-time generated files $(desktop_DATA) and $(schemas_DATA). 3632 3633 * Makefile.am (CLEANFILES): List build-time generated files 3634 $(desktop_DATA) and $(schemas_DATA). 3635 (DISTCLEANFILES): List configure-time generated files 3636 intltool-extract, intltool-merge and intltool-update. 3637 3638 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3639 3640 Remove file from the repository because autogen.sh now executes 3641 3642 * Makefile.in.in: Remove file from the repository because 3643 autogen.sh now executes glib-gettextize. 3644 3645 * POTFILES.in: Add regexxer.desktop.in and regexxer.schemas.in 3646 in order to make intltool merge translatable messages from these 3647 files into regexxer.pot. 3648 3649 * de.po: Translate the new strings merged by intltool. 3650 * en.po: ditto. 3651 3652 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3653 3654 Execute glib-gettextize and intltoolize. 3655 3656 * autogen.sh: Execute glib-gettextize and intltoolize. 3657 3658 * configure.ac: Call AC_PROG_INTLTOOL(). Assign ALL_LINGUAS and 3659 GETTEXT_PACKAGE, and do an AC_SUBST() of the latter. 3660 (AM_GNU_GETTEXT): Use AM_GLIB_GNU_GETTEXT() instead. 3661 3662 * Makefile.am (dist_desktop_DATA): Remove the dist_ prefix, 3663 introduce desktop_in_files, and add the @INTLTOOL_DESKTOP_RULE@ 3664 substitution in order to make regexxer intltool-aware. 3665 (dist_schema_DATA): Likewise for the GConf schemas file. 3666 (dist_noinst_SCRIPTS): Add intltool-extract.in, intltool-merge.in 3667 and intltool-update.in. 3668 3669 * regexxer.desktop: Rename to regexxer.desktop.in, use _Comment 3670 instead of Comment, and remove the manually inserted de and dk 3671 translations. 3672 3673 * regexxer.schemas: Rename to regexxer.schemas.in. 3674 3675 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3676 3677 Use libstdc++-v3 method std::string::compare() instead of memcmp() for 3678 3679 * src/filetreeprivate.cc (collatekey_sort_func): Use libstdc++-v3 3680 method std::string::compare() instead of memcmp() for sub-string 3681 comparison, since libsigc++2 depends on gcc >= 3 anyway. 3682 3683 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3684 3685 Line number changes, again. 3686 3687 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3688 3689 :FileTree): Make the file column take up available space with 3690 3691 * src/filetree.cc (FileTree::FileTree): Make the file column 3692 take up available space with set_expand(true). 3693 3694 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3695 3696 Line number changes. 3697 3698 * *.po: Line number changes. 3699 3700 2004-05-17 Daniel Elstner <daniel@src.gnome.org> 3701 3702 Bump version to 0.8. (PKG_CHECK_MODULES): Require gconfmm-2.6 >= 2.6.1. 3703 3704 * configure.ac (AC_INIT): Bump version to 0.8. 3705 (PKG_CHECK_MODULES): Require gconfmm-2.6 >= 2.6.1. 3706 (REGEXXER_GCONFMM_VALUE_HACK): Remove. 3707 3708 * src/miscutils.{cc,h} 3709 (check_for_broken_gconfmm_value_changed): Remove. 3710 (has_broken_gconfmm_value_changed): Remove. 3711 3712 * src/main.cc (main): Remove call to gconfmm bug runtime test. 3713 3714 * src/filebuffer.cc (on_config_value_changed): Remove hack. 3715 * src/filetree.cc (on_config_value_changed): ditto 3716 * src/mainwindow.cc (on_config_value_changed): ditto. 3717 * src/prefdialog.{cc,h} (on_config_value_changed_hack): Remove. 3718 3719 2004-05-16 Daniel Elstner <daniel@src.gnome.org> 3720 3721 Remove now unused files. 3722 3723 * src/imagebutton.{cc,h}: Remove now unused files. 3724 3725 2004-05-16 Daniel Elstner <daniel@src.gnome.org> 3726 3727 Update due to line number changes. 3728 3729 * *.po: Update due to line number changes. 3730 3731 2004-05-16 Daniel Elstner <daniel@src.gnome.org> 3732 3733 Use Gtk::FileChooserDialog instead of the old Gtk::FileSelection. 3734 3735 * src/mainwindow.cc (on_select_folder): Use Gtk::FileChooserDialog 3736 instead of the old Gtk::FileSelection. 3737 3738 2004-05-16 Daniel Elstner <daniel.elstner@gmx.net> 3739 3740 Removes the <requires lib="gnome"/> line that was inserted by buggy 3741 3742 2004-05-16 Daniel Elstner <daniel.elstner@gmx.net> 3743 3744 * ui/prefdialog.glade: Removes the <requires lib="gnome"/> line 3745 that was inserted by buggy glade-2. 3746 3747 2004-05-14 Daniel Elstner <daniel.elstner@gmx.net> 3748 3749 * src/filetree.cc: Replace instances of `...' in message strings 3750 with "...". Since the translator is supposed to use double-quotes 3751 it would be confusing to use single quotes in the original string. 3752 * src/mainwindow.cc: ditto 3753 * src/prefdialog.cc: ditto. 3754 3755 2004-05-14 Daniel Elstner <daniel.elstner@gmx.net> 3756 3757 * ui/mainwindow.glade (button_find_files): Use a custom image and 3758 label instead of a stock item as button content, so that it can be 3759 more clearly distinguished from button_find_matches. 3760 3761 2004-05-13 Daniel Elstner <daniel.elstner@gmx.net> 3762 3763 * ui/mainwindow.glade: Reintroduce tearoff menu items by manually 3764 inserting the necessary XML elements. 3765 3766 2004-05-12 Daniel Elstner <daniel.elstner@gmx.net> 3767 3768 * src/fileio.cc: Remove the libgnome-vfsmm code already enclosed 3769 by #if 0 ... #endif. It's all in the CVS history anyway. 3770 * src/filetree.cc: ditto. 3771 3772 2004-05-12 Daniel Elstner <daniel.elstner@gmx.net> 3773 3774 * src/imagebutton.{cc,h}: Remove files as they're no longer used. 3775 * src/Makefile.am (regexxer_SOURCES): Remove imagebutton.{cc,h}. 3776 3777 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3778 3779 * src/globalstrings.h (glade_mainwindow_filename): New string. 3780 3781 * src/mainwindow.{cc,h}: Use libglademm to load the UI at runtime, 3782 and make the actual Gtk::Window a member of class MainWindow. 3783 Remove the old UI creation code. 3784 3785 * src/controller.{cc,h} (Controller::load_xml): The menu bar, 3786 toolbar and action area is now contained in mainwindow.glade, 3787 and thus this new method wholly replaces the old code which 3788 generated those widgets. 3789 (ControlItem::add_widgets): New helper method intented to help 3790 reducing the code size. 3791 3792 * src/filetree.cc (regexxer_create_file_tree): New function. 3793 * src/statusline.cc (regexxer_create_status_line): New function. 3794 3795 * src/main.cc (main): Access the Gtk::Window by using the new 3796 accessor method Regexxer::MainWindow::get_window(). 3797 3798 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3799 3800 * ui/mainwindow.glade: New file defining the main window's UI. 3801 * ui/Makefile.am (dist_glade_DATA): Add mainwindow.glade. 3802 3803 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3804 3805 * src/globalstrings.h (glade_aboutdialog_filename): New string. 3806 3807 * src/aboutdialog.{cc,h}: Use libglademm to load the dialog UI 3808 at runtime, and replace class AboutDialog by a single create() 3809 function in namespace Regexxer::AboutDialog. Remove the old 3810 UI creation code. 3811 3812 * src/mainwindow.{cc,h} (MainWindow::about_dialog_): Change type 3813 to std::auto_ptr<Gtk::Dialog> since AboutDialog no longer exists. 3814 Replace all references to AboutDialog in the implementation too. 3815 (MainWindow::on_about): Make use of the new AboutDialog::create(). 3816 3817 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3818 3819 * ui/aboutdialog.glade: New file defining the UI of the about 3820 dialog. 3821 * ui/Makefile.am (dist_glade_DATA): Add aboutdialog.glade. 3822 3823 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3824 3825 * src/prefdialog.cc (PrefDialog::load_xml): Remove superfluous 3826 sub-block. 3827 3828 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3829 3830 * src/prefdialog.cc (regexxer_create_font_selection_button): 3831 Add missing parameters to the function signature. 3832 (regexxer_create_color_selection_button): ditto. 3833 3834 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3835 3836 * src/Makefile.am (global_defines): Define REGEXXER_PKGDATADIR. 3837 3838 * src/globalstrings.h (glade_prefdialog_filename): New string. 3839 3840 * src/prefdialog.{cc,h}: Use libglademm to load the dialog UI 3841 at runtime, and make the actual dialog widget a data member of 3842 class PrefDialog. Remove the old UI creation code. 3843 3844 * src/mainwindow.cc (MainWindow::on_preferences): Use the new 3845 PrefDialog::get_dialog() accessor to get the actual widget. 3846 3847 2004-05-10 Daniel Elstner <daniel.elstner@gmx.net> 3848 3849 * ui: New directory for glade XML files. 3850 * ui/.cvsignore: New file. 3851 * ui/Makefile.am: New file. 3852 * ui/prefdialog.glade: New file defining the UI of the preferences 3853 dialog. 3854 3855 * configure.ac (PKG_CHECK_MODULES): Check for libglademm-2.0. 3856 (AC_CONFIG_FILES): Add ui/Makefile. 3857 3858 * Makefile.am (SUBDIRS): Add ui. 3859 3860 0.7: 3861 3862 2004-05-08 Daniel Elstner <daniel.elstner@gmx.net> 3863 3864 * AUTHORS: Add Murray Cumming. 3865 * NEWS: Update. 3866 3867 2004-05-08 Daniel Elstner <daniel.elstner@gmx.net> 3868 3869 * src/translation.{cc,h} (sgettext): Ditch the sgettext() approach, 3870 because it's not likely to be supported by libglade when regexxer 3871 starts using that at some point. Until now there are no ambiguous 3872 messages in regexxer, and we can switch back when the need arises. 3873 3874 * src/controller.cc: Remove the disambiguing "...|" prefix from all 3875 translatable messages. 3876 * src/filebuffer.cc: ditto 3877 * src/filetree.cc: ditto 3878 * src/mainwindow.cc: ditto 3879 * src/prefdialog.cc: ditto 3880 * src/statusline.cc: ditto. 3881 3882 2004-05-07 Daniel Elstner <daniel.elstner@gmx.net> 3883 3884 * src/main.cc (stock_icon_info): Rename to 'stock_icon_about', 3885 as it should have been called in the first place. Apparently 3886 I misinterpreted a change in the German GNOME translation as 3887 project-wide switch to a new name for "About". Now I realize 3888 why Murray changed that string a while ago... 3889 3890 * src/controller.{cc,h} (Controller::info): Rename to 'about'. 3891 * src/mainwindow.{cc,h} (MainWindow::on_info): Rename to 'on_about'. 3892 3893 2004-05-06 Daniel Elstner <daniel.elstner@gmx.net> 3894 3895 * src/translation.cc (compose_impl): Simplify the loop in order to 3896 avoid the need for look-ahead via Util::next(). 3897 3898 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3899 3900 * src/translation.cc (compose_impl): Apparently there's no need 3901 to use Glib::Unicode::isdigit() since digit_value() is defined to 3902 return -1 for non-digits anyway. 3903 3904 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3905 3906 * src/translation.{cc,h} (compose): Add a set of overloaded utility 3907 functions to be used to compose a text message from a format string 3908 and up to three string arguments. This allows the translator to 3909 arrange the arguments as required by the language. 3910 3911 * src/filetree.cc (FileTree::save_file_at_iter): Make use of 3912 Util::compose() instead of separately piecing strings together. 3913 Also, translate the format string via gettext(). 3914 (load_file_with_fallback): ditto 3915 * src/mainwindow.cc (MainWindow::on_exec_search): ditto 3916 * src/prefdialog.cc (PrefDialog::on_entry_fallback_activate): 3917 ditto. 3918 3919 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3920 3921 * src/miscutils.cc: Compile the runtime check for that gconfmm 3922 bug only if REGEXXER_ENABLE_GCONFMM_VALUE_HACK is defined, as it 3923 currently always is. 3924 3925 * src/main.cc (main): Test for REGEXXER_ENABLE_GCONFMM_VALUE_HACK 3926 around the call to Util::check_for_broken_gconfmm_value_changed(). 3927 3928 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3929 3930 * src/translation.{cc,h} (initialize_gettext): New utility 3931 function to take care of setting up the text domain. 3932 3933 * src/main.cc (main): Use initialize_gettext(). 3934 3935 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3936 3937 * ABOUT-NLS: Add missing file to fix the build. 3938 3939 * src/aboutdialog.cc: Translate all user-visible strings except 3940 for those instances where positional parameter substitution is 3941 required for proper results. I'll deal with those ones later. 3942 * src/controller.cc: ditto 3943 * src/filebuffer.cc: ditto 3944 * src/filetree.cc: ditto 3945 * src/main.cc: ditto 3946 * src/mainwindow.cc: ditto 3947 * src/pcreshell.cc: ditto 3948 * src/prefdialog.cc: ditto 3949 * src/statusline.cc: ditto. 3950 3951 * src/translation.h (N_): #define to gettext_noop(s) rather than 3952 simply (s). This doesn't actually make a difference but I think 3953 the intent is clearer that way. 3954 3955 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3956 3957 Add support for message translation via gettext. 3958 3959 * po: New directory, containing all the gettext stuff. 3960 * config.rpath: New file added by gettextize. 3961 * mkinstalldirs: ditto. 3962 3963 * Makefile.am (dist_noinst_SCRIPTS): Add config.rpath. 3964 3965 * autogen.sh: Don't remove mkinstalldirs because it's not 3966 installed by automake --add-missing, and gettext uses it. 3967 (WARNINGS): Comment-out in order to reduce the flood of warnings 3968 triggered by all the old m4 code in system macros. 3969 3970 * configure.ac: Invoke AM_GNU_GETTEXT(). 3971 (AC_CONFIG_FILES): Add po/Makefile.in. 3972 3973 * NEWS: Update. 3974 3975 * src/translation.{cc,h}: New files implementing gettext() support. 3976 * src/statusline.cc: Translate the label of the "Stop" button. 3977 * src/main.cc (main): Add code to initialize the text domain. 3978 3979 * src/Makefile.am (regexxer_SOURCES): Add translation.{cc,h}. 3980 3981 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3982 3983 * src/miscutils.{cc,h} (check_for_broken_gconfmm_value_changed): 3984 Implement a truly evil run-time check for that gconfmm bug. 3985 Although this one is already fixed in CVS, there's no release out 3986 yet and for now I wouldn't like regexxer to depend on it anyway. 3987 (has_broken_gconfmm_value_changed): Provide an accessor function 3988 to the global flag indicating whether gconfmm is broken. 3989 3990 * src/main.cc (main): Call check_for_broken_gconfmm_value_changed(). 3991 3992 * configure.ac (REGEXXER_GCONFMM_VALUE_HACK): Make this macro 3993 call has_broken_gconfmm_value_changed() to determine whether the 3994 work-around has to be applied. 3995 3996 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 3997 3998 * src/filebuffer.cc (FileBuffer::replace_match): Invoke on_insert() 3999 directly in case of empty-by-empty replace in order to avoid this 4000 nasty special-case where a FileBufferActionRemoveMatch object in 4001 the stack is not followed by either an insert or an erase action. 4002 This finally fixes the last one of undo system bugs known to me. 4003 4004 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 4005 4006 * configure.ac (AC_INIT): Bump version number to 0.7. 4007 4008 2004-05-05 Daniel Elstner <daniel.elstner@gmx.net> 4009 4010 * src/*.{cc,h}: Apply a minor change of my coding style. From 4011 now on, I put a space between a keyword and the following opening 4012 parenthesis. That is, after for, while, if, switch and catch, with 4013 sizeof being the only (I think rather intuitive) exception. 4014 4015 * src/globalstrings.h: New file containing (you guess it) global 4016 string definitions. Currently these are mostly fully qualified 4017 GConf key names. 4018 4019 * src/configdata.{cc,h}: Delete, as we're now using GConf. 4020 4021 * src/Makefile.am (regexxer_SOURCES): Modify accordingly. 4022 4023 * src/aboutdialog.cc: Prefix URL and mail strings with U+202D 4024 LEFT-TO-RIGHT OVERRIDE in order to avoid the current mess in 4025 RTL environments. 4026 (ContributorBox::ContributorBox): Escape the 'what' string by 4027 passing it to Glib::Markup::escape_text(), just in case. 4028 4029 * src/controller.cc (add_widget_button): Reverse parameters 4030 for consistency with the other helper functions. 4031 (Controller::create_action_area): Make the implementation reflect 4032 this change. 4033 4034 * src/filebuffer.{cc,h} (RegexxerTags::on_conf_value_changed): 4035 New signal handler listening to GConf value changes. 4036 (RegexxerTags::instance): Return the RefPtr<> by value rather 4037 than by reference, because as it turns out the extra indirection 4038 largely offsets the advantage gained by avoiding one additional 4039 ref/unref cycle. 4040 (FileBuffer::set_match_color): Remove; this setter is no longer 4041 necessary since we're now listing to GConf changes and apply them 4042 immediately. 4043 (set_current_color): ditto 4044 (get_match_color): ditto 4045 (get_current_color): ditto. 4046 (FileBuffer::weak_undo_stack_): Introduce a new data member used to 4047 record all UndoAction objects that reference MatchData instances. 4048 This is unfortunately necessary in order to be able to remove 4049 UndoActions without actually doing the undo operation, for instance 4050 when running find_matches() again. 4051 (notify_weak_undos): New function dealing with the weak references. 4052 (undo_add_weak): ditto 4053 (undo_remove_weak): ditto. 4054 (signal_match_count_changed): Remove the count argument as this 4055 information can easily be obtained by using the appropriate getter. 4056 (create_with_error_message): Invoke Unicode::ispunct() instead of 4057 testing for '.' explicitely. 4058 (is_freeable): Return true only if there are no UndoAction objects 4059 around referencing this FileBuffer. 4060 (find_matches): Call notify_weak_undos() to get rid of any 4061 references by UndoAction objects to this FileBuffer. 4062 (get_line_preview): Make this method strongly exception-safe. 4063 (on_apply_tag): New virtual method implementation, needed in order 4064 to filter tag apply operations caused by inserting from clipboard. 4065 This avoids confusion caused by highlighting text as match which 4066 is not recorded as such internally. 4067 4068 * src/undostack.{cc,h}: Provide a way to interrupt a running undo 4069 operation (i.e. by clicking the 'Stop' button in the GUI). 4070 (do_undo): Add a slot parameter for this purpose. 4071 (undo): ditto. 4072 4073 * src/filebufferundo.{cc,h} (do_undo): Make use of the new slot 4074 parameter in order to allow for interuption of the undo process. 4075 (FileBufferActionRemoveMatch): Make use of the weak notification 4076 mechanism now provided by FileBuffer. 4077 4078 * src/fileshared.h (MatchData::get_match_length): Remove this 4079 pointless accessor function. 4080 4081 * src/fileshared.cc (MatchData::~MatchData): Be extra careful 4082 and remove the quark pointing to the MatchData instance from the 4083 mark object. 4084 4085 * src/filetree.{cc,h} (FileTree::on_conf_value_changed): New 4086 signal handler listening to GConf value changes. 4087 (set_fallback_encoding): Remove this now pointless accessor. 4088 (get_fallback_encoding): ditto. 4089 (expand_and_select): Get rid of compatibility code for GTK+ < 2.2. 4090 (on_buffer_match_count_changed): Adapt to the changes made to 4091 FileBuffer::signal_match_count_changed. 4092 4093 * src/filetreeprivate.cc (collatekey_sort_func): Use std::memcmp() 4094 instead of std::strcmp() as the former allows for inlining of the 4095 string operation by gcc. 4096 (FileTree::BufferActionShell::do_undo): Make use of the new slot 4097 parameter in order to allow for interuption of the undo process. 4098 4099 * src/main.cc (set_default_window_icon): New name, formerly 4100 regexxer_set_window_icon(). Replace the pixbuf list stuff with 4101 a simple call to Gtk::Window::set_default_icon_from_file(). 4102 (trap_gconf_exceptions): New global exception handler callback, 4103 invoked whenever an exception escapes from a C++ handler of 4104 a GObject signal. Our particular handler is used to filter any 4105 Gnome::Conf::Error exceptions, thus in essence ignoring them. 4106 This way we don't need to deal with exceptions in each handler 4107 of the GConf "value_changed" signal. 4108 (initialize_configuration): New function to be invoked by main() 4109 in order to load the initial configuration values. By emitting 4110 an artificial "value_changed" signal for each entry in regexxer's 4111 GConf directory, the need for separate initialization code for 4112 each key is neatly avoided. 4113 (main): Accomodate the changes listed above. 4114 4115 * src/mainwindow.{cc,h} (MainWindow::on_conf_value_changed): 4116 New signal handler listening to GConf value changes. 4117 (on_preferences): Remove all the code dealing with individual 4118 configuration values, since we're now using a decentralized change 4119 notification approach instead. 4120 (load_configuration): Ditch this. 4121 (save_configuration): ditto. 4122 (confirm_quit_request): Honor the fact that the new GTK+ file 4123 selector doesn't append '/' to directories anymore. This bug 4124 is quite annoying and should have been fixed months ago :/ 4125 Also widen the dialog's default size to 400 pixels. 4126 (on_buffer_match_count_changed): Remove, there's no need to 4127 listen for this on the FileBuffer because the FileTree is 4128 reflecting these changes anyway. 4129 (on_buffer_bound_state_changed): ditto. 4130 (on_bound_state_changed): Because there's only one now, rename 4131 from on_filetree_bound_state_changed(). 4132 (on_filetree_match_count_changed): Take care of the FileBuffer 4133 match count as well. 4134 (on_go_next): Replace the 0.2 delta passed to scroll_to_mark() 4135 with 0.125, as the latter looks nicer to my eyes and also happens 4136 to be a 'round' number in base 2. 4137 (on_undo): Accomodate the changes made to the UndoAction classes 4138 in order to allow for interruption of the running undo process. 4139 Also instantiate a BusyAction object for this purpose. 4140 (undo_stack_clear): New method. 4141 (set_title_filename): Replace the plain '-' by U+2013 EN DASH. 4142 4143 * src/miscutils.{cc,h} (gtk_version_at_least): Remove since it's 4144 no longer used. 4145 4146 * src/pcreshell.{cc,h}: To my astonisment I found out that the 4147 source of my constant trouble with libpcre and UTF-8 text was 4148 caused by pcre_study() alone! The great thing is of course that 4149 simply not using that silly function is all that's needed to get 4150 rid of this constant source of mayhem. 4151 (escape_non_ascii): Remove, since no longer needed. 4152 (translate_to_char_offset): Get rid of this one too. 4153 (byte_to_char_offset): New little helper function. 4154 (check_for_single_byte_escape): The "\C" escape sequence seems 4155 to be only thing we still have to take care of manually. This 4156 particular sequence matches a single byte even of a multi-byte 4157 character, and thus is likely to cause hell to break loose. 4158 (Pattern::pcre_extra_): Remove. 4159 (Pattern::Pattern): Get rid of the pcre_study() call, and 4160 make use of the new check_for_single_byte_escape() function. 4161 (Pattern::~Pattern): No need to free pcre_extra_ anymore. 4162 (Pattern::match): Throw an exception if the regular expression 4163 exceeds the recursion and backtracking limit of libpcre. 4164 (CompileOptions): Implement the remaining bit manipulation 4165 operators for completeness. 4166 (MatchOptions): ditto. 4167 4168 * src/prefdialog.{cc,h} (get_toolbar_style_index): New helper 4169 function. 4170 (FontSelectionButton::set_selected_font): Take the font name 4171 rather than a Pango::FontDescription object as parameter. 4172 (get_selected_font): Likewise for the return type. 4173 (PrefDialog::button_direction_): New Gtk::CheckButton member, 4174 allowing users of RTL environments to override the direction 4175 of regexxer's file editor alone. 4176 (on_conf_value_changed): New signal handler listening to 4177 GConf value changes. 4178 (initialize_configuration): New function to load the initial 4179 settings immediately after creation of the preference dialog. 4180 Works just like the identically named function in main.cc, 4181 except that it invokes on_conf_value_changed() directly instead 4182 of triggering the global "value_changed" signal. 4183 (on_textview_font_selected): Set the appropriate GConf key 4184 instead of using the old internal signal feedback mechanism. 4185 (on_match_color_selected): ditto 4186 (on_current_color_selected): ditto 4187 (on_option_toolbar_style_changed): ditto 4188 (on_entry_fallback_activate): ditto. 4189 (on_button_direction_toggled): New method. 4190 (signal_pref_textview_font_changed): Remove. 4191 (signal_pref_match_color_changed): Remove. 4192 (signal_pref_current_color_changed): Remove. 4193 (signal_pref_toolbar_style_changed): Remove. 4194 (signal_pref_fallback_encoding_changed): Remove. 4195 (on_entry_fallback_changed): Record that entry content was changed 4196 by setting the boolean entry_fallback_changed_ flag. This is just 4197 to avoid superfluous commits to the GConf database every time the 4198 preference dialog is closed. 4199 (on_response): Evaluate entry_fallback_changed_ (see above), 4200 and make sure no Gnome::Conf::Error exceptions escape from 4201 on_entry_fallback_activate(). 4202 (create_page_look): Move the signal handler setup to the ctor. 4203 (create_page_file): ditto. 4204 4205 * src/statusline.cc (CounterBox::CounterBox): Catch possible 4206 exceptions when applying the locale to the stream object, in 4207 order to avoid crashing if the user's locale is invalid. 4208 4209 * src/stringutils.cc (apply_modifiers): Modify the code a bit 4210 to reduce the number of string copies made. 4211 (parse_control_char): Add a 'dest' output parameter to avoid 4212 returning a string by value. 4213 (parse_hex_unichar): ditto 4214 (parse_oct_unichar): ditto. 4215 (parse_capture_index): New helper function to deal with both 4216 "$1" and "${1}"-style references in the substitution string. 4217 (validate_encoding): Simplify. Also, don't accept any error 4218 codes but NO_CONVERSION. 4219 (encodings_equal): No longer use std::find_if() since it really 4220 doesn't make the code any simpler in this particular case. 4221 (trim_whitespace): Remove; no longer used. 4222 (shell_pattern_to_regex): Various performance improvements. 4223 Also take care of a possible trailing backslash to avoid escaping 4224 the "\z" appended by regexxer itself. 4225 (substitute_references): Restructure the loop a bit, and accomodate 4226 the changes made to the parse_*_char() functions mentioned above. 4227 Also, avoid the need for ascii_isodigit() in the default branch by 4228 simply adding all 8 octal digits as case labels. 4229 (int_to_string): Catch any exceptions that might occur when 4230 applying the locale to the stream. This could happen if the 4231 user's default locale is invalid. 4232 (transform_pathname): Replace this silly 2-in-1 function by 4233 separate shorten_pathname() and expand_pathname() implementations. 4234 There really is no need to cache the home directory in a static 4235 variable. 4236 (shorten_pathname): Implement separately rather than forwarding 4237 to transform_pathname(). 4238 (expand_pathname): ditto. 4239 (enum_from_nick): New utility function to convert the 'nick' 4240 of a particular enumeration value to the actual integer value. 4241 This of course requires the the enumeration type to be registered 4242 via the GObject type system. 4243 (enum_to_nick): Likewise, but the other way around. 4244 (enum_from_nick_impl): Non-template implementation part. 4245 (enum_to_nick_impl): ditto. 4246 4247 2004-05-04 Daniel Elstner <daniel.elstner@gmx.net> 4248 4249 * macros/cxx.m4: Make use of the new AS_IF() macro, and also 4250 improve the portability of the shell code a bit. 4251 4252 * macros/pcre.m4: Ditto. 4253 4254 * macros/misc.m4: New file, introducing a REGEXXER_PKG_PATH_PROG 4255 macro which can be used to look for executables that might live 4256 in subdirectories indicated by pkg-config output. 4257 4258 * autogen.sh: Some minor shell coding-style improvements. 4259 4260 * configure.ac: Invoke the new REGEXXER_PKG_PATH_PROG macro in 4261 order to look for gdk-pixbuf-csource. Use the new macro to look 4262 for gconftool-2 as well. 4263 (AC_CHECK_HEADERS): Remove the tests for sys/types.h, sys/stat.h, 4264 umask() and mode_t since they're no longer necessary. 4265 (PKG_CHECK_MODULES): Substitute the GTKMM prefix by PKG (I don't 4266 like MM_DEPS as introduced by Murray in HEAD.) Also, get rid of 4267 the libgnomevfsmm dependency. 4268 (REGEXXER_ENABLE_GCONFMM_VALUE_HACK): New preprocessor macro to 4269 be inserted into config.h. This isn't actually used yet, I'll 4270 get to that later. 4271 4272 * regexxer.schemas: New file. 4273 4274 * Makefile.am: Add rules taking care of the installation of the 4275 GConf schema file. 4276 (dist_schema_DATA): Add regexxer.schemas to the distribution. 4277 (dist_noinst_DATA): Ditto for macros/misc.m4. 4278 (DISTCHECK_CONFIGURE_FLAGS): Include --disable-schemas-install. 4279 4280 * src/Makefile.am: Reflect the substitution of GTKMM by PKG made 4281 in configure.ac. 4282 (AM_CPPFLAGS): Use this variable in place of regexxer_CPPFLAGS, 4283 because executable-specific CFLAGS is not something regexxer ever 4284 intended to use. 4285 4286 * src/main.cc: Get rid of the libgnomevfsmm dependency. For one 4287 thing, the code using it didn't actually work with remote URIs. 4288 For another, as of now there's no stable release of this library 4289 in sight, no to mention a widely distributed release. 4290 4291 * src/fileio.cc (load_try_encoding): Comment-out the gnomevfs code 4292 and replace it with the original Glib::IOChannel code instead. 4293 (save_file): ditto. 4294 4295 * src/filetree.cc (find_recursively): Comment-out and replace with 4296 the previous non-gnomevfs code. 4297 4298 2004-05-05 daniel_e <daniel_e> 4299 4300 file remove-potcdate.sed was initially added on branch gtkmm-2-2. 4301 4302 2004-04-12 Murray Cumming <murrayc@src.gnome.org> 4303 4304 Increased version 4305 4306 2004-04-10 Murray Cumming <murrayc@murrayc.com> 4307 4308 Put the mm libs and cflags before the pcre ones, because the mm ones are 4309 4310 2004-04-10 Murray Cumming <murrayc@murrayc.com> 4311 4312 * regexxer/Makefile.am: Put the mm libs and cflags before the pcre 4313 ones, because the mm ones are more likely to be in more than one 4314 prefix, to avoid undefined symbols when a -L command means we link 4315 to an older GTK+. This is a bit hacky, but I don't know a better 4316 solution - at least it will work on distros where everything is in the 4317 same prefix. 4318 * scripts/cxx.m4: Replace deprecated AC_HELP_STRING with 4319 AS_HELP_STRING. 4320 4321 2004-04-04 Murray Cumming <murrayc@murrayc.com> 4322 4323 Ported to gtkmm 2.4 - mostly just use of libsigc++ 2 syntax, and not using 4324 4325 2004-04-04 Murray Cumming <murrayc@murrayc.com> 4326 4327 * Ported to gtkmm 2.4 - mostly just use of libsigc++ 2 syntax, and 4328 not using the old Toolbar STL-style API. 4329 4330 2003-12-07 Murray Cumming <murrayc@usa.net> 4331 4332 set_fallback_encoding_from_string(): Ignore empty value from GConf, so 4333 4334 2003-12-07 Murray Cumming <murrayc@usa.net> 4335 4336 * src/configdata.cc: set_fallback_encoding_from_string(): Ignore 4337 empty value from GConf, so that the default fallback encoding is 4338 used. That is ISO-8859-15, also known as Latin 9, which seems to 4339 be commonly-used on Windows. 4340 * src/fileio.[h|cc]: Use gnome-vfsmm instead of Glib::IOChannel 4341 to read and write file contents, so we can use any URI. 4342 * src/filetree.[h|cc]: Likewise, use gnome-vfsmm instead of 4343 Glib::Dir to list the files. 4344 * configure.ac: Added pkg-config check for gnome-vfsmm. 4345 4346 2003-11-29 Murray Cumming <murrayc@usa.net> 4347 4348 regexxer now depends on gconfmm. Removed the check for 2.2-specific 4349 4350 2003-11-29 Murray Cumming <murrayc@usa.net> 4351 4352 * configure.ac: regexxer now depends on gconfmm. Removed the check 4353 for 2.2-specific features. 4354 * Remoevd all gtkmm 2.2-specific #ifdefs because 2.2 is everywhere 4355 now.. 4356 * src/configdata.[h|cc]: Changed the implemention to use GConfmm 4357 instead of the text file. 4358 4359 2003-10-31 Murray Cumming <murrayc@usa.net> 4360 4361 Used larger HIG-like borders and spacings to make it look just a little 4362 4363 2003-10-31 Murray Cumming <murrayc@usa.net> 4364 4365 * src/mainwindow.cc: Used larger HIG-like borders and spacings to 4366 make it look just a little more GNOME HIG compliant. 4367 4368 2003-10-29 Murray Cumming <murrayc@usa.net> 4369 4370 I'm taking over maintainership until Daniel reappears. I hope that he 4371 4372 2003-10-29 Murray Cumming <murrayc@usa.net> 4373 4374 * I'm taking over maintainership until Daniel reappears. I hope 4375 that he does. 4376 * src/Makefile.am: Removed *DEPRECATED* defines so that it builds 4377 with GTK+ 2.3/2.4. These should only be active during maintainer 4378 mode if they are added back. 4379 4380 2003-02-06 daniel_e <daniel_e> 4381 4382 Add Danish translation contributed by Morten Brix Petersen <mbp@wtf.dk>. 4383 4384 2003-01-11 daniel_e <daniel_e> 4385 4386 Check for gtkmm >= 2.2.0 rather than 2.1.1. Note that gtkmm 2.2 is still optional, but this is likely to change after the regexxer 0.5 release. 4387 4388 2003-01-11 daniel_e <daniel_e> 4389 4390 (propagate_modified_change): Avoid building a new TreePath in each iteration. 4391 4392 2003-01-11 daniel_e <daniel_e> 4393 4394 (propagate_modified_change): Simplify. 4395 4396 2003-01-11 daniel_e <daniel_e> 4397 4398 New utility class that breaks the previous connection on assignment, and 4399 4400 * src/signalutils.{cc,h} (AutoConnection): New utility class that breaks 4401 the previous connection on assignment, and also remembers the blocked state 4402 of the connection permanently. 4403 4404 (ScopedBlock): Use Util::AutoConnection instead of SigC::Connection. 4405 4406 * src/filetree.{cc,h}: Use AutoConnection to manage the connection handles 4407 of the currently selected buffer. 4408 4409 (on_selection_changed): Thanks to AutoConnection, we can now extinguish 4410 a fair bit of error-prone code. 4411 4412 2003-01-11 daniel_e <daniel_e> 4413 4414 (save_file_at_iter): Keep the quoting style of all messages consistent. 4415 4416 2003-01-11 daniel_e <daniel_e> 4417 4418 (text_cell_data_func): Make 'color' const, because we can. 4419 4420 2003-01-01 daniel_e <daniel_e> 4421 4422 Simplify and improve the tracing via bash's set -x. 4423 4424 2003-01-01 daniel_e <daniel_e> 4425 4426 Require automake >= 1.7. ditto. 4427 4428 * autogen.sh: Require automake >= 1.7. 4429 * configure.ac: ditto. 4430 4431 2003-01-01 daniel_e <daniel_e> 4432 4433 Fix ChangeLog. 4434 4435 2003-01-01 daniel_e <daniel_e> 4436 4437 (SharedPtr<>::swap): Implement. 4438 4439 2003-01-01 daniel_e <daniel_e> 4440 4441 (on_hide): For safety, transfer ownership of the preferences and about dialogs into local variables, rather than invoking hide() to delete them. That way delete won't be called before hide() actually returned. 4442 4443 (on_about_dialog_hide): Don't use std::auto_ptr<>::reset() but transfer 4444 ownership into local variables. I had a look at the libstdc++-v3 headers and 4445 it gave me the creeps -- reset() deletes _before_ assigning the new pointer. 4446 4447 (on_preferences): ditto. 4448 4449 2003-01-01 daniel_e <daniel_e> 4450 4451 (error_pixbuf_): Get rid of this silly cache, since it became useless a while ago. 4452 4453 2003-01-01 daniel_e <daniel_e> 4454 4455 (SelectableLabel): Add accessibility hints. (ContributorBox): Likewise, and also improve the widget arrangement if the dialog gets resized. 4456 4457 2002-12-30 daniel_e <daniel_e> 4458 4459 Get rid of the menubar_handle_ and toolbar_handle_ data members. We don't need to keep them around anymore since the config option to hide one or the other is gone. 4460 4461 2002-12-30 daniel_e <daniel_e> 4462 4463 New fancy experiment to make labels both selectable _and_ focusable, so 4464 4465 * src/aboutdialog.cc (SelectableLabel): New fancy experiment to make labels 4466 both selectable _and_ focusable, so that they end up in the Tab chain. 4467 4468 * src/aboutdialog.cc src/imagebutton.cc src/prefdialog.cc: Don't show all 4469 children of custom "composite" widgets in the constructor. It doesn't make 4470 much sense since we call show_all() later on anyway. And making these 4471 "composite" widgets really independent components would require overriding 4472 both show_all_vfunc() and hide_all_vfunc(), which is currently not worth 4473 the effort. 4474 4475 2002-12-28 daniel_e <daniel_e> 4476 4477 Replace with a much nicer icon stolen from http://jimmac.musichall.cz/ikony.php3 -- looks sweet! 4478 4479 2002-12-28 daniel_e <daniel_e> 4480 4481 Use underscores in style property names to match the C++ identifiers. 4482 4483 2002-12-28 daniel_e <daniel_e> 4484 4485 Add a space to follow the automake convention. 4486 4487 2002-12-28 daniel_e <daniel_e> 4488 4489 Minor clarification. 4490 4491 2002-12-28 daniel_e <daniel_e> 4492 4493 (PCRE_CHECK_VERSION): Require libpcre >= 3.9. It finally arrived in Debian unstable a while ago and there's at least one UTF-8 related bug in prior releases that could cause crashes. 4494 4495 2002-12-28 daniel_e <daniel_e> 4496 4497 New function that translates the error offset returned by pcre_compile() 4498 4499 * src/pcreshell.cc (translate_to_char_offset): New function that translates 4500 the error offset returned by pcre_compile() to a character offset into the 4501 original regex. This became necessary since due to the recent introduction 4502 of escape_non_ascii(), and is more robust anyway. 4503 4504 * src/mainwindow.cc (on_exec_search): Deal with character offsets instead of 4505 byte offsets. Also, set the regex entry's selection on the character where 4506 the error occurred. 4507 4508 2002-12-27 daniel_e <daniel_e> 4509 4510 Use Gtk::RC::parse_string() and the appropriate RC style settings to reduce the height of the Stop button, instead of the insane set_size_request() hack. This way the label text gets properly aligned now. 4511 4512 2002-12-27 daniel_e <daniel_e> 4513 4514 (scale_to_8bit): Don't try to round to the nearest value. This fixes a fun bug that caused the orange color of the current match to become slightly brighter on each config load/save cycle. 4515 4516 2002-12-27 daniel_e <daniel_e> 4517 4518 (stockimages.h): Beautify by printing the actual command line that is executed, rather than the shell code to build it. This is also what autoconf does in its rules. 4519 4520 2002-12-26 daniel_e <daniel_e> 4521 4522 Add Comment[de] translation, and remove GNOME from Categories. Recent GNOME applications don't seem to specify this category anymore. 4523 4524 2002-12-26 daniel_e <daniel_e> 4525 4526 (escape_non_ascii): New function to work around a crash in libpcre when using literal UTF-8 in character classes. This still won't make it work, but prevents the crash and forces an error message if characters in classes are outside the Latin1 range. 4527 4528 2002-12-26 daniel_e <daniel_e> 4529 4530 Check for gtkmm >= 2.1.1 instead of the compile test based on Glib::set_application_name(). 4531 4532 2002-12-26 daniel_e <daniel_e> 4533 4534 Don't #include GTK+ headers if gtkmm 2.2 API is available. 4535 4536 (ColorLabel::on_expose_event): When building with gtkmm 2.2, use 4537 Gtk::Widget::get_style_property() instead of the ugly varargs function 4538 gtk_widget_style_get(). 4539 4540 2002-12-26 daniel_e <daniel_e> 4541 4542 (ColorSelectionButton::on_clicked): Convert the dialog window title to title case. 4543 4544 2002-12-25 daniel_e <daniel_e> 4545 4546 (ColorLabel::ColorLabel): Modify the whole Gtk::RcStyle in one go rather than setting the bg pixmap thrice. 4547 4548 2002-12-25 daniel_e <daniel_e> 4549 4550 Remove config option "menutool_mode" because it's crack now that we have 4551 4552 * src/configdata.{cc,h}: Remove config option "menutool_mode" because it's 4553 crack now that we have undo et al. Add config options "textview_font", 4554 "match_color" and "current_match_color". 4555 4556 * src/filebuffer.{cc,h} (pango_context_changed): Assign default font to the 4557 error_message tag. 4558 ([gs]et_match_color): New accessors to tag colors. 4559 ([gs]et_current_color): ditto. 4560 4561 * src/mainwindow.{cc,h} ([gs]et_menutool_mode): Get rid of these. 4562 (on_filetree_switch_buffer): No longer modify the TextView font globally 4563 since we set the tag now. 4564 (on_preferences): Handle the added config settings. 4565 (load_configuration): ditto 4566 (save_configuration): ditto. 4567 4568 * src/prefdialog.{cc,h} (FontSelectionButton): New utility widget. 4569 (ColorSelectionButton): Another new utility widget. 4570 (PrefDialog): Revamp the preferences dialog. That is, add GUI for the new 4571 config settings and remove the old one. Also replace the radio buttons for 4572 selecting the toolbar style with an option menu. 4573 4574 2002-12-25 daniel_e <daniel_e> 4575 4576 (contains_null): Remove. (color_to_string): Implement. (shell_pattern_to_regex): Handle alternative syntax '^' for negation of character classes properly. 4577 4578 2002-12-25 daniel_e <daniel_e> 4579 4580 New little utility template to manage a dynamically allocated array. 4581 4582 * src/miscutils.h (ScopedArray<>): New little utility template to manage 4583 a dynamically allocated array. 4584 4585 * src/fileio.cc (load_iochannel): Ditch Glib::ScopedPtr<> (glibmm internal :) 4586 in favor of Util::ScopedArray<>. 4587 4588 2002-12-20 daniel_e <daniel_e> 4589 4590 (load_iochannel): Use std::memchr() rather than the silly Util::contains_null() utility function. 4591 4592 2002-12-20 daniel_e <daniel_e> 4593 4594 Put -I flags into CPPFLAGS instead of CXXFLAGS. Likewise for CFLAGS. 4595 4596 * configure.ac: Put -I flags into CPPFLAGS instead of CXXFLAGS. 4597 * macros/pcre.m4 (PCRE_CHECK_UTF8): Likewise for CFLAGS. 4598 4599 2002-12-16 daniel_e <daniel_e> 4600 4601 (PCRE_CHECK_VERSION): Use the sed magic from autogen.sh to implement a proper version check. 4602 4603 2002-12-16 daniel_e <daniel_e> 4604 4605 Implement some fancy sed magic to compare automake version numbers, in order to choose the one that suits us best. 4606 4607 2002-12-16 daniel_e <daniel_e> 4608 4609 (create_left_pane): Set the accessible name of the folder entry. (create_right_pane): Set the accessible name of the preview entry, but replace the accessible description with a tool tip. 4610 4611 2002-12-15 daniel_e <daniel_e> 4612 4613 (expand_and_select): Make use of Gtk::TreeView::expand_to_path() if available. 4614 4615 2002-12-15 daniel_e <daniel_e> 4616 4617 New files. Move Util::prior() and next() hitherto, and add 4618 4619 * src/miscutils.{cc,h}: New files. Move Util::prior() and next() hitherto, 4620 and add Util::gtk_version_at_least() to do a runtime version check. 4621 * src/Makefile.am: Add miscutils.{cc,h}. 4622 4623 * src/stringutils.h: Move prior() and next() into miscutils.h. 4624 * src/filebuffer.cc: #include "miscutils.h". 4625 * src/filetree.cc (expand_and_select): Use the lazy scrolling feature 4626 if GTK+ >= 2.1.4 is available at runtime. 4627 4628 2002-12-15 daniel_e <daniel_e> 4629 4630 Add missing #include <config.h>. 4631 4632 2002-12-15 daniel_e <daniel_e> 4633 4634 (expand_and_select): Don't pass row_align to Gtk::TreeView::scroll_to_row() if compiling for gtkmm 2.2 since lazy scrolling has now been implemented. 4635 4636 2002-12-15 daniel_e <daniel_e> 4637 4638 Use ${1+"$@"} instead of "$@" because it's supposedly more portable. 4639 4640 2002-12-15 daniel_e <daniel_e> 4641 4642 Enable Bourne shell posix mode if possible, and export WARNINGS=all in 4643 4644 * autogen.sh: Enable Bourne shell posix mode if possible, and 4645 export WARNINGS=all in order to get auto* diagnostic messages. 4646 4647 * src/Makefile.am: Replace deprecated variables INCLUDES and LIBS 4648 with regexxer_CPPFLAGS and regexxer_LDADD. 4649 4650 2002-12-15 daniel_e <daniel_e> 4651 4652 Get rid of all deprecated autoconf constructs. 4653 4654 2002-12-15 daniel_e <daniel_e> 4655 4656 Replace the check for gtkmm >= 2.1.0 with a test for Glib::set_application_name(). This should be much safer. 4657 4658 2002-12-15 daniel_e <daniel_e> 4659 4660 Use Glib::set_application_name() if building for gtkmm 2.1. 4661 4662 2002-12-14 daniel_e <daniel_e> 4663 4664 Update INSTALL to latest version. 4665 4666 2002-12-14 daniel_e <daniel_e> 4667 4668 (DISTCHECK_CONFIGURE_FLAGS): On make distcheck, pass --enable-warnings=hardcore to ./configure. 4669 4670 2002-12-14 daniel_e <daniel_e> 4671 4672 Require automake >= 1.6 and make use of the "check-news" option. 4673 4674 * configure.ac (AM_INIT_AUTOMAKE): Require automake >= 1.6 and 4675 make use of the "check-news" option. 4676 4677 * Makefile.am (EXTRA_DIST): Get rid of EXTRA_DIST and properly 4678 put the files into dist_noinst_SCRIPTS and dist_noinst_DATA. 4679 4680 2002-12-14 daniel_e <daniel_e> 4681 4682 Delete all scripts and symbolic links that will be recreated by automake --add-missing. 4683 4684 2002-12-14 daniel_e <daniel_e> 4685 4686 Set StartupNotify=true in order to take advantage of the startup notification feature in GNOME 2.1. 4687 4688 2002-12-14 daniel_e <daniel_e> 4689 4690 Incorporate bits of the standard GNOME autogen.sh, and make use of 4691 4692 * autogen.sh: Incorporate bits of the standard GNOME autogen.sh, 4693 and make use of aclocal-1.7 and automake-1.7 if available. 4694 4695 * configure.ac: AC_PREREQ([2.53]) to make sure the Debian magic 4696 chooses the right autoconf version. 4697 (AM_CONFIG_HEADER): Replace with AC_CONFIG_HEADERS(). This 4698 could create a dependency on automake-1.7, don't know for sure. 4699 4700 2002-12-08 daniel_e <daniel_e> 4701 4702 (ImageLabelButton): Trivial coding style refinements. 4703 4704 2002-12-08 daniel_e <daniel_e> 4705 4706 Suppress warning about unused parameter if compiling for gtkmm 2.0. 4707 4708 2002-12-08 daniel_e <daniel_e> 4709 4710 Add a 'name' argument to the ctor which is used to set the accessibility 4711 4712 * src/imagebutton.{cc,h} (ImageButton): Add a 'name' argument to 4713 the ctor which is used to set the accessibility object's name. 4714 4715 * src/controller.cc (create_action_area): Set accessibility names 4716 for all image-only buttons. 4717 4718 2002-12-08 daniel_e <daniel_e> 4719 4720 Check for gtkmm >= 2.1.0 and #define REGEXXER_HAVE_GTKMM_22 if available. 4721 4722 * configure.ac: Check for gtkmm >= 2.1.0 and #define REGEXXER_HAVE_GTKMM_22 4723 if available. 4724 4725 * src/controller.cc: 4726 * src/mainwindow.cc: 4727 * src/statusline.cc: If building for gtkmm >= 2.1.0, make use of atkmm 4728 to set names and descriptions of several GUI elements. 4729 4730 2002-12-08 daniel_e <daniel_e> 4731 4732 (stockimages.h): Perfectionize so that it handles a case that actually never happens, but who knows who's going to copy'n'paste this stuff :P 4733 4734 2002-12-02 daniel_e <daniel_e> 4735 4736 Use shell magic to generate the build list for gdk-pixbuf-csource. It's way cooler than doing it manually :) 4737 4738 2002-12-02 daniel_e <daniel_e> 4739 4740 Use 'd' instead of 'F' as mnemonic key for the folder button, because 'F' is already occupied by the file menu. 4741 4742 2002-12-02 daniel_e <daniel_e> 4743 4744 Change the file pattern entry to a combo, with some commonly-used file extensions. 4745 4746 2002-12-02 daniel_e <daniel_e> 4747 4748 Add preliminary support for accessibility using ATK. Unfortunately atkmm is badly broken in a way that prevents it from being used at all. And due to a missing reference in Gtk::Widget::get_accessible_vfunc() I can't even resort to the C interface for custom derived classes. Thus most of the code is enclosed in #if 0 / #endif at the moment. 4749 4750 2002-11-29 daniel_e <daniel_e> 4751 4752 (on_selection_changed): Ooops, forgot to disconnect() conn_undo_stack_push_. That means the mysterious one of the assertions is now fixed -- the remaining ones are expected :) 4753 4754 2002-11-29 daniel_e <daniel_e> 4755 4756 (AC_INIT): Version 0.5. 4757 4758 2002-11-29 daniel_e <daniel_e> 4759 4760 New files, implementing the core of the new undo system. Basically it's a 4761 4762 * src/undostack.{cc,h}: New files, implementing the core of the 4763 new undo system. Basically it's a simple undo stack using virtual 4764 methods for the implementation of undo actions. But the undo stack 4765 is itself an undo action, which allows for nested stacks. This 4766 functionality is necessary since the undo works globally on all 4767 files. 4768 4769 * src/filebufferundo.{cc,h}: New files, defining the implementation 4770 of the FileBuffer undo actions. 4771 4772 * src/fileshared.{cc,h}: Move parts of filebuffer.{cc,h} into these 4773 new files, in order to avoid circular dependencies and to reduce the 4774 length of single source files. 4775 4776 * src/filetreeprivate.{cc,h}: Move the anonymous namespace parts 4777 and the nested classes of the FileTree implementation into separate 4778 files. filetreeprivate.h is included by filetree.cc only. 4779 4780 * src/Makefile.am (regexxer_SOURCES): Add new source files. 4781 4782 * src/filebuffer.{cc,h}: Heavily modify and enhance the code in 4783 order to support the new undo framework. 4784 4785 * src/filetree.{cc,h}: ditto. 4786 4787 * src/controller.{cc,h}: Add undo ControlItem and show menu/toolbar 4788 items for it. 4789 4790 * src/mainwindow.{cc,h}: Add code to maintain the undo stack and 4791 connect the GUI bits. 4792 4793 2002-11-25 daniel_e <daniel_e> 4794 4795 Move from filetree.cc hitherto. (ScopedConnection): ditto. 4796 4797 * src/signalutils.h (ScopedBlock): Move from filetree.cc hitherto. 4798 (ScopedConnection): ditto. 4799 4800 * src/filetree.cc: Use the new signal stuff from namespace Util. 4801 4802 2002-11-25 daniel_e <daniel_e> 4803 4804 (signal_preview_line_changed): Use the new Util::QueuedSignal rather than queuing manually. 4805 4806 2002-11-25 daniel_e <daniel_e> 4807 4808 New files containing various sigc++ related utilities. For now, there's 4809 4810 * src/signalutils.{cc,h}: New files containing various sigc++ related 4811 utilities. For now, there's only Util::QueuedSignal, which implements a 4812 SigC::Signal0<void> that is emitted when the main loop is idle. 4813 4814 * src/Makefile.am (regexxer_SOURCES): Add signalutils.{cc,h}. 4815 4816 2002-11-25 daniel_e <daniel_e> 4817 4818 (trigger_preview_line_changed): Rename to queue_preview_line_changed() because that's what it does. 4819 4820 2002-11-25 daniel_e <daniel_e> 4821 4822 (pango_context_changed): Ooops, I accidentally reversed the arguments to Gtk::IconSize::lookup(). Fixed. 4823 4824 2002-11-23 daniel_e <daniel_e> 4825 4826 (FileTree::ScopedBlockSorting): Introduce new utility class used to temporarily disable the column headers and to switch to the default sort column if the current one is the match count column. This is necessary because Gtk::TreeModel::foreach() doesn't like it at all if model rows are reordered underneath its feet. regexxer didn't handle that correctly until now, and the only reason this bug hasn't been observed before is #96647 :) 4827 4828 2002-11-23 daniel_e <daniel_e> 4829 4830 (FileTree::MessageList): Explicitely forbid copying. 4831 4832 2002-11-23 daniel_e <daniel_e> 4833 4834 pedantism ;) 4835 4836 2002-11-23 daniel_e <daniel_e> 4837 4838 (FileErrorDialog): As everywhere else, use references not pointers to widgets we didn't new. 4839 4840 2002-11-23 daniel_e <daniel_e> 4841 4842 (FileTree::ErrorList): Rename to MessageList since it's not specifically intended for errors. Use MI to combine Util::SharedObject and std::list<> instead of making the std::list a data member. IS-A really makes sense here and this kind of class enhancement is what MI exists for, after all. 4843 4844 2002-11-22 daniel_e <daniel_e> 4845 4846 (DEFS): Don't use backslash quoting inside the double-quoted string. Rather, quote the outer pair of double- quotes with backslashes. I reckon it's more portable not to use backslash quoting inside double-quoted strings since most other packages seem to avoid it too. 4847 4848 2002-11-20 daniel_e <daniel_e> 4849 4850 Eeek, this macro makes use of a deprecated autoconf macro. Replace with 4851 4852 * configure.ac (AC_TYPE_MODE_T): Eeek, this macro makes use of a 4853 deprecated autoconf macro. Replace with AC_CHECK_TYPES([mode_t]). 4854 4855 * src/configdata.cc: Do "typedef int mode_t" if necessary. 4856 4857 2002-11-20 daniel_e <daniel_e> 4858 4859 Check for mode_t too since we need it for umask(). You can never know. 4860 4861 2002-11-20 daniel_e <daniel_e> 4862 4863 (AM_INIT_AUTOMAKE): Remove 'dist-bzip2' option since we don't distribute bzipped tarballs right now. 4864 4865 2002-11-20 daniel_e <daniel_e> 4866 4867 Get rid of AC_CANONICAL_{BUILD,HOST,TARGET}. These don't seem to be necessary anymore. 4868 4869 2002-11-20 daniel_e <daniel_e> 4870 4871 Play with the AC_REVISION() feature. 4872 4873 2002-11-20 daniel_e <daniel_e> 4874 4875 Use quadrigraphs to output characters like [ ]. Add error checking at the 4876 4877 * macros/cxx.m4: Use quadrigraphs to output characters like [ ]. 4878 * macros/pcre.m4: Add error checking at the autoconf level. 4879 4880 2002-11-19 daniel_e <daniel_e> 4881 4882 Set the default response. ditto. 4883 4884 * src/aboutdialog.cc: Set the default response. 4885 * src/prefdialog.cc: ditto. 4886 4887 2002-11-19 daniel_e <daniel_e> 4888 4889 Use references rather than pointers for widgets we didn't new. That's my usual policy actually. 4890 4891 2002-11-19 daniel_e <daniel_e> 4892 4893 (on_select_folder): Get rid of superfluous namespace prefix. 4894 4895 2002-11-19 daniel_e <daniel_e> 4896 4897 (stock_icon_info): It's Gtk::ICON_SIZE_MENU, not Gtk::ICON_SIZE_SMALL_TOOLBAR. This glitch fortunately didn't have any real consequences since the icon size was wildcarded anyway. 4898 4899 2002-11-18 daniel_e <daniel_e> 4900 4901 NEWS: Mention the .desktop file. 4902 4903 2002-11-18 daniel_e <daniel_e> 4904 4905 Update NEWS. 4906 4907 2002-11-18 Daniel Elstner <daniel.elstner@gmx.net> 4908 4909 Generalize the enumeration handling in two new functions, enum_to_string() 4910 4911 2002-11-18 Daniel Elstner <daniel.elstner@gmx.net> 4912 4913 * src/configdata.{cc,h}: Generalize the enumeration handling in two new functions, enum_to_string() and enum_from_string(). 4914 4915 2002-11-18 daniel_e <daniel_e> 4916 4917 Refine the design a bit, and mention Ross Burton (Debian packager) as major contributor. 4918 4919 2002-11-18 daniel_e <daniel_e> 4920 4921 Use base class Gtk::Box instead of HBox/VBox where appropriate. 4922 4923 2002-11-18 daniel_e <daniel_e> 4924 4925 (create_menubar): Don't use "<control>f" as accelerator for "Move forward" because it's already occupied by the tree view search facility. 4926 4927 2002-11-18 daniel_e <daniel_e> 4928 4929 Move the GUI stuff from the ctor into an auxilary method create_main_vbox(). Manually call accelerate() on the menu bar because otherwise the menu accelerators wouldn't be enabled if the menu bar is never shown due to user preference. 4930 4931 2002-11-18 daniel_e <daniel_e> 4932 4933 (AC_INIT): Bump version to 0.4. 4934 4935 2002-11-18 daniel_e <daniel_e> 4936 4937 Implement necessary bits to allow hiding menu bar or toolbar, and honor the menutool_mode config setting. Popup the new stand-alone about dialog on menubar/Help/Info. 4938 4939 2002-11-18 daniel_e <daniel_e> 4940 4941 Remove "regexxer info" page. Split up configuration into "Look'n'feel" and "File access" pages. Add UI and class interface for the new menutool_mode config option. 4942 4943 2002-11-18 daniel_e <daniel_e> 4944 4945 Implement stand-alone about dialog for regexxer. 4946 4947 2002-11-18 daniel_e <daniel_e> 4948 4949 Add support for menutool_mode config option, specifying whether to show menu bar, toolbar or both. 4950 4951 2002-11-18 daniel_e <daniel_e> 4952 4953 (regexxer_register_stock_items): Always set the intended icon size, but disable wildcarding for all but the last pixbuf in an icon set. 4954 4955 2002-11-17 daniel_e <daniel_e> 4956 4957 New menu icon. Add new icon. Register new icon. 4958 4959 * pixmaps/stock_save_all_16.png: New menu icon. 4960 * pixmaps/Makefile.am: Add new icon. 4961 * src/main.cc: Register new icon. 4962 4963 2002-11-17 daniel_e <daniel_e> 4964 4965 (ControlItem::add_widget): Honor group_enabled_. 4966 4967 2002-11-17 daniel_e <daniel_e> 4968 4969 Change default size of the window to 600x450 because the new menu bar takes up quite some space. 4970 4971 2002-11-17 daniel_e <daniel_e> 4972 4973 (ControlItem::activate): Don't ignore the group_enabled_ flag. 4974 4975 2002-11-17 daniel_e <daniel_e> 4976 4977 Implement. Show the menu bar, and make both toolbar and menu bar 4978 4979 * src/controller.{cc,h} (create_menubar): Implement. 4980 * src/mainwindow.cc: Show the menu bar, and make both toolbar and 4981 menu bar detachable. 4982 4983 2002-11-17 daniel_e <daniel_e> 4984 4985 (ControlItem): Explicitely forbid copy construction and assignment. 4986 4987 2002-11-17 daniel_e <daniel_e> 4988 4989 New files, implementing class Controller and class ControlItem. 4990 4991 * src/controller.{cc,h}: New files, implementing class Controller 4992 and class ControlItem. ControlItem maintains an arbitrary number 4993 of activation sources, and controls the sensitivity state of an 4994 arbitrary number of widgets too. Controller centralizes all of 4995 the ControlItems and provides create() functions for all pure 4996 control widgets in regexxer. Also, there's ControlGroup which can 4997 be used to set the sensitivity of several widgets at once. 4998 4999 All this stuff became necessary due to the proposed addition of 5000 menus. Getting the sensitivity of all widgets right was already 5001 quite complex. After the integration of menus the old code would 5002 have reached a critical mass. 5003 5004 * src/imagebutton.{cc,h}: New files, containing ImageButton and 5005 ImageLabelButton that were previously in mainwindow.cc. We need 5006 them in controller.cc now too. 5007 5008 * src/Makefile.am (regexxer_SOURCES): Add new files. 5009 5010 * src/mainwindow.{cc,h}: Integrate the new Controller concept and 5011 get rid of the obsolete cruft. We're now below 1000 lines again. 5012 5013 2002-11-16 daniel_e <daniel_e> 5014 5015 Show tool tips for both find buttons too. 5016 5017 2002-11-16 daniel_e <daniel_e> 5018 5019 Use sentence case for all tool tips, as suggested by Ross Burton. 5020 5021 2002-11-15 daniel_e <daniel_e> 5022 5023 Remove already unused debug code. The reference counting is rock solid thanks to SharedPtr<>. 5024 5025 2002-11-15 daniel_e <daniel_e> 5026 5027 Remove the namespace prefix from the friend declaration. This will hopefully fix a compilation problem with GCC 2.95.x -- once again. 5028 5029 2002-11-14 daniel_e <daniel_e> 5030 5031 (on_busy_action_pulse): Simplify by reducing the amount of if-branches. 5032 5033 2002-11-14 daniel_e <daniel_e> 5034 5035 Revert last change because it could fail if MI is used -- and that's definitely more important than insane operator&() overloading :) 5036 5037 2002-11-14 daniel_e <daniel_e> 5038 5039 (shared_polymorphic_cast): Avoid the address operator since it might be overloaded. 5040 5041 2002-11-14 daniel_e <daniel_e> 5042 5043 Fix typos in comment. 5044 5045 2002-11-13 daniel_e <daniel_e> 5046 5047 (SharedObject): Use the namespace prefix in the friend declaration, as dictated by my own policy :) 5048 5049 2002-11-13 daniel_e <daniel_e> 5050 5051 Reimplement the static member templates cast_static<>(), cast_dynamic<>() 5052 5053 * src/sharedptr.h: Reimplement the static member templates cast_static<>(), 5054 cast_dynamic<>() and cast_dynamic_throw<>() as free functions, and use the 5055 boost naming convention. 5056 5057 * src/filetree.cc: Use the new boost-like cast functions. 5058 5059 2002-11-12 daniel_e <daniel_e> 5060 5061 Insert protected/private separator comments, as used everywhere else. 5062 5063 2002-11-11 daniel_e <daniel_e> 5064 5065 Add regexxer.desktop file, which was kindly provided by Ross Burton. 5066 5067 2002-11-11 daniel_e <daniel_e> 5068 5069 Use std::string instead of Glib::ustring for 'dirname' and get rid of the 5070 5071 * src/filetree.{cc,h} (find_files): Use std::string instead of Glib::ustring 5072 for 'dirname' and get rid of the call to Glib::filename_from_utf8(). This 5073 doesn't really belong here. 5074 5075 * src/mainwindow.cc (on_find_files): Convert the directory name to filename 5076 encoding, and use the current directory as fallback if it's empty. 5077 5078 2002-11-11 daniel_e <daniel_e> 5079 5080 (button_find_matches_): Set this button insensitive unless there is at least one file to search in. Suggested by Murray Cumming <murrayc@usa.net>. (button_find_files_): Likewise set this button insensitive if entry_pattern_ is empty. 5081 5082 2002-11-11 daniel_e <daniel_e> 5083 5084 (on_buffer_modified_changed): Work around a nasty gtkmm bug: Glib::SignalProxy seems to ignore the 'blocked' flag of the SigC::Connection object. I'll fix this later in gtkmm itself. 5085 5086 2002-11-11 daniel_e <daniel_e> 5087 5088 (PCRE_CHECK_UTF8): Mention libpcre's --enable-utf8 option in the error message. 5089 5090 2002-11-11 daniel_e <daniel_e> 5091 5092 (on_treestore_sort_column_changed): Set path_match_{first,last}_ after calculating both positions. 5093 5094 2002-11-11 daniel_e <daniel_e> 5095 5096 (on_treestore_sort_column_changed): New signal handler, used to recalculate path_match_first_ and path_match_last_. This fixes a serious bug -- the code relies on the validity of this cached range. 5097 5098 2002-11-10 daniel_e <daniel_e> 5099 5100 (on_style_changed): Pass a detail string to render_icon(). 5101 5102 2002-11-10 daniel_e <daniel_e> 5103 5104 Update NEWS. 5105 5106 2002-11-10 daniel_e <daniel_e> 5107 5108 Bump version to 0.3. 5109 5110 2002-11-10 daniel_e <daniel_e> 5111 5112 (transform_pathname): Use byte-wise comparison because filenames should match exactly. The Glib::ustring collation methods depend on the user's locale and might even ignore case. 5113 5114 2002-11-10 daniel_e <daniel_e> 5115 5116 Add G_GNUC_CONST function attribute to isodigit() declaration. 5117 5118 2002-11-10 daniel_e <daniel_e> 5119 5120 Scope temporary in on_select_folder() for clarification. 5121 5122 2002-11-10 daniel_e <daniel_e> 5123 5124 Make on_preferences() strongly exception safe, just to demonstrate how to use std::auto_ptr<> properly :) 5125 5126 2002-11-09 daniel_e <daniel_e> 5127 5128 If the preferences dialog is already open, call present() instead of raise(). The former does a much better job of putting the window where the user can see it. 5129 5130 2002-11-09 daniel_e <daniel_e> 5131 5132 Simplify the code a bit. 5133 5134 2002-11-09 daniel_e <daniel_e> 5135 5136 Use std::strcmp() instead of std::string::compare(), because libstdc++-v2 (which comes with GCC 2.95.x) is badly broken and doesn't support this particular overload of compare(). Darn. 5137 5138 2002-11-08 daniel_e <daniel_e> 5139 5140 Update AUTHORS, NEWS and README files. 5141 5142 2002-11-08 daniel_e <daniel_e> 5143 5144 Emit row_changed() whenever the value of fileinfo->load_failed changed, rather than only if the file seems to be binary. 5145 5146 2002-11-07 daniel_e <daniel_e> 5147 5148 If there are any unsaved files on quit or when reloading the file tree, pop up a dialog asking for confirmation. 5149 5150 2002-11-07 daniel_e <daniel_e> 5151 5152 Get rid of the code that expanded/collapsed directory nodes on row clicks and the activated signal. The GTK+ people persuaded me that the inconsistency is worse than the little annoyance of having to hit the expander arrow. 5153 5154 2002-11-07 daniel_e <daniel_e> 5155 5156 Return true from on_button_release_event() only if we actually handled the event. 5157 5158 2002-11-07 daniel_e <daniel_e> 5159 5160 In on_button_release_event(), also recognize button 2 and 3. 5161 5162 2002-11-07 daniel_e <daniel_e> 5163 5164 Expand directory nodes on the row_activated signal too. 5165 5166 2002-11-07 daniel_e <daniel_e> 5167 5168 Add comment to select_func(). 5169 5170 2002-11-07 daniel_e <daniel_e> 5171 5172 Expand a directory node when the user clicked anywhere inside the row. 5173 5174 2002-11-07 daniel_e <daniel_e> 5175 5176 Make the column headers trigger sorting when clicked. 5177 5178 2002-11-07 daniel_e <daniel_e> 5179 5180 Get rid of superfluous namespace prefix. 5181 5182 2002-11-07 daniel_e <daniel_e> 5183 5184 Ooops, can't just return from load_file_with_fallback() even if load_failed has been set already. 5185 5186 2002-11-07 daniel_e <daniel_e> 5187 5188 Improve robustness of the code, and fix a potential bug wrt. updating rows. 5189 5190 2002-11-06 daniel_e <daniel_e> 5191 5192 Show an icon in front of the filename -- nice eye candy! 5193 5194 2002-11-06 daniel_e <daniel_e> 5195 5196 Get rid of the #96373 work-around. 5197 5198 2002-11-06 daniel_e <daniel_e> 5199 5200 Bump version to 0.2, and require gtk+-2.0 >= 2.0.6. 5201 5202 2002-11-06 daniel_e <daniel_e> 5203 5204 Correctly quote all macro arguments. 5205 5206 2002-11-06 daniel_e <daniel_e> 5207 5208 Require glib-2.0 >= 2.0.7 due to bug #91222. 5209 5210 2002-11-06 daniel_e <daniel_e> 5211 5212 Get rid of #include <stack> because it's already included by filetree.h. 5213 5214 2002-11-06 daniel_e <daniel_e> 5215 5216 Introduce 2 new (yet unused) sort functions. 5217 5218 2002-11-06 daniel_e <daniel_e> 5219 5220 Speed up and simplify sorting by merging the directory/file information into the collate key. 5221 5222 2002-11-06 daniel_e <daniel_e> 5223 5224 s/FILELIST/FILETREE/ in the include guard's macro name. 5225 5226 2002-11-05 daniel_e <daniel_e> 5227 5228 Unref the error pixbuf when the style changed, just in case a new icon theme has been applied. 5229 5230 2002-11-05 daniel_e <daniel_e> 5231 5232 Get rid of unused text buffers in order to reduce the memory footprint. 5233 5234 2002-11-05 daniel_e <daniel_e> 5235 5236 Re-add a missing "return true;" that got lost in a previous change. 5237 5238 2002-11-05 daniel_e <daniel_e> 5239 5240 Split struct FileInfo into DirInfo and FileInfo, and propagate a buffer's modified state to all parent nodes. 5241 5242 2002-11-05 daniel_e <daniel_e> 5243 5244 Implement cast_dynamic and cast_static for SharedPtr<T>. 5245 5246 2002-11-05 daniel_e <daniel_e> 5247 5248 Get rid of the old FileList. 5249 5250 2002-11-05 daniel_e <daniel_e> 5251 5252 Replace the FileList widget with a way cooler and faster FileTree. 5253 5254 2002-11-05 daniel_e <daniel_e> 5255 5256 In on_find_files() and on_exec_search(), make sure the corresponding button is sensitive before starting the busy action. This is necessary since these callbacks are invoked from the entries' signal_activate() too. 5257 5258 2002-11-04 daniel_e <daniel_e> 5259 5260 Micro beautification. 5261 5262 2002-11-04 daniel_e <daniel_e> 5263 5264 Make the Pcre::Pattern dtor virtual, and fix a comment. 5265 5266 2002-11-04 daniel_e <daniel_e> 5267 5268 Minor code cleanup. Add a few assertions and a couple of comments. 5269 5270 2002-11-03 daniel_e <daniel_e> 5271 5272 s/noinst_DATA/dist_noinst_DATA/ so that the pixmap files are included in the distribution. 5273 5274 2002-11-03 daniel_e <daniel_e> 5275 5276 Close and reopen the I/O channel when switching the encoding. Changing encodings on the fly doesn't seem to work with older GLib releases. 5277 5278 2002-11-03 daniel_e <daniel_e> 5279 5280 Be more tolerant about fucked up filenames. Still show a (hopefully) annoying warning message, though. 5281 5282 2002-11-03 daniel_e <daniel_e> 5283 5284 One more work-around for for silly, stupid, and annoying gcc 2.95.x, and one actual fix (missing #include). 5285 5286 2002-11-03 daniel_e <daniel_e> 5287 5288 Try to work-around gcc 2.95.x braindeadness. 5289 5290 2002-11-03 daniel_e <daniel_e> 5291 5292 Invoke file search respectively regex search on the entry widgets' signal_activate(). 5293 5294 2002-11-03 daniel_e <daniel_e> 5295 5296 Correctly handle modifier sequences like "\u\L$2". 5297 5298 2002-11-03 daniel_e <daniel_e> 5299 5300 More constness. 5301 5302 2002-11-03 daniel_e <daniel_e> 5303 5304 (read_config_entry): Replace `using namespace Glib' with `using Glib::ustring'. 5305 5306 2002-11-03 daniel_e <daniel_e> 5307 5308 Add comment. 5309 5310 2002-11-03 daniel_e <daniel_e> 5311 5312 Use g_warning() instead of g_message(). 5313 5314 2002-11-03 daniel_e <daniel_e> 5315 5316 Wrap g_message() in a custom function to avoid using c_str() all over the place. 5317 5318 2002-11-03 daniel_e <daniel_e> 5319 5320 Generalize the enum nick/value mapping code, and improve the error message strings. 5321 5322 2002-11-03 daniel_e <daniel_e> 5323 5324 Minor change of naming convention: s/\<str\>/nick/ 5325 5326 2002-11-03 daniel_e <daniel_e> 5327 5328 Make sure the config is saved on exit even if the preferences dialog is still open. 5329 5330 2002-11-03 daniel_e <daniel_e> 5331 5332 Implement load/save of configuration data. 5333 5334 2002-11-02 daniel_e <daniel_e> 5335 5336 Minor identifier naming simplification. 5337 5338 2002-11-02 daniel_e <daniel_e> 5339 5340 Prevent double emission of signal_pref_toolbar_style_changed(). 5341 5342 2002-11-02 daniel_e <daniel_e> 5343 5344 Ditch unnecessary namespace prefix. 5345 5346 2002-10-31 daniel_e <daniel_e> 5347 5348 Use a Pcre::Pattern& argument in FileList::find_files(), for consistency with find_matches(). 5349 5350 2002-10-30 daniel_e <daniel_e> 5351 5352 (MainWindow::on_save_file): Add an assertion. 5353 5354 2002-10-30 daniel_e <daniel_e> 5355 5356 Implement nice message dialogs for file saving errors too. 5357 5358 2002-10-29 daniel_e <daniel_e> 5359 5360 Add comments, assertions, and some other minor stuff. 5361 5362 2002-10-28 daniel_e <daniel_e> 5363 5364 Replace magic number with enum. 5365 5366 2002-10-28 daniel_e <daniel_e> 5367 5368 Get rid of left-over variable. 5369 5370 2002-10-28 daniel_e <daniel_e> 5371 5372 Improve size calculation of the counter labels, and show the current file's encoding in the statusbar. 5373 5374 2002-10-28 daniel_e <daniel_e> 5375 5376 Show nice error dialogs for invalid filename patterns and file access errors during search. 5377 5378 2002-10-28 daniel_e <daniel_e> 5379 5380 (on_exec_search): I changed my mind, there is absolutely no need to show off Util::next() here :) 5381 5382 2002-10-28 daniel_e <daniel_e> 5383 5384 Introduce next() and prev() templates, shamelessly stolen from boost. 5385 5386 2002-10-28 daniel_e <daniel_e> 5387 5388 (on_exec_search): s/offset/byte_offset/ for clarity. 5389 5390 2002-10-28 daniel_e <daniel_e> 5391 5392 Don't move the cursor in the regex entry if Pcre::Error::offset() returned -1. 5393 5394 2002-10-28 daniel_e <daniel_e> 5395 5396 If there was an error in the regex, move the Gtk::Entry cursor to the character reported by Pcre::Error::offset(). 5397 5398 2002-10-27 daniel_e <daniel_e> 5399 5400 Add ':' to the list of insignificant characters in charset names. 5401 5402 2002-10-27 daniel_e <daniel_e> 5403 5404 Get rid of #include <iostream>. 5405 5406 2002-10-27 daniel_e <daniel_e> 5407 5408 Replace PACKAGE_NAME " " PACKAGE_VERSION with PACKAGE_STRING -- it's just neater. 5409 5410 2002-10-27 daniel_e <daniel_e> 5411 5412 Don't forget to #include <locale>. 5413 5414 2002-10-27 daniel_e <daniel_e> 5415 5416 Show an error dialog if there is an error in the regex. 5417 5418 2002-10-27 daniel_e <daniel_e> 5419 5420 Also hide the separator in the FileSelection dialog, for consistency with all other dialogs. 5421 5422 2002-10-27 daniel_e <daniel_e> 5423 5424 Hide the file selection pane in the Gtk::FileSelection dialog, since we only need the directory part. 5425 5426 2002-10-27 daniel_e <daniel_e> 5427 5428 Get rid of ascii_toupper() and AsciiToupper because I just added the formerly missing Glib::Ascii::toupper() to glibmm :-P 5429 5430 2002-10-27 daniel_e <daniel_e> 5431 5432 Add comment to #endif. 5433 5434 2002-10-27 daniel_e <daniel_e> 5435 5436 Add AsciiToupper predicate in order to allow inlining. 5437 5438 2002-10-27 daniel_e <daniel_e> 5439 5440 Convert the fallback encoding name to upper case. 5441 5442 2002-10-27 daniel_e <daniel_e> 5443 5444 Explicitely delete the preferences dialog on exit. Although this isn't really necessary, it does look neater if we have a lot of cleanup to do on exit. 5445 5446 2002-10-27 daniel_e <daniel_e> 5447 5448 Fix a character/byte mixup (ouch), and improve cancellation response. 5449 5450 2002-10-27 daniel_e <daniel_e> 5451 5452 Code clarification: s/do_match_empty/allow_empty_match/g. 5453 5454 2002-10-27 daniel_e <daniel_e> 5455 5456 Get rid of dummy_handler(). 5457 5458 2002-10-26 daniel_e <daniel_e> 5459 5460 Implement the fallback encoding user preference. 5461 5462 2002-10-26 Daniel Elstner <daniel.elstner@gmx.net> 5463 5464 New image stolen from Gnome2. Register the new stock image. 5465 5466 2002-10-26 Daniel Elstner <daniel.elstner@gmx.net> 5467 5468 * pixmaps/stock_menu_about.png: New image stolen from Gnome2. 5469 * pixmaps/Makefile.am src/main.cc: Register the new stock image. 5470 5471 * src/prefdialog.{cc,h}: New files, implemening the preferences dialog. The about box is integrated as second notebook page, because I couldn't think of a better place to put it. 5472 5473 * src/mainwindow.{cc,h}: Make the preferences tool button work. 5474 5475 2002-10-26 daniel_e <daniel_e> 5476 5477 When running a busy action disable both the move and replace buttons. Also, move the window icon setup into main.cc. 5478 5479 2002-10-26 daniel_e <daniel_e> 5480 5481 Install an accelerator key (Escape) for the cancel button. 5482 5483 2002-10-26 daniel_e <daniel_e> 5484 5485 Rework the cancelation scheme for busy actions, and add a cancel button to the GUI. 5486 5487 2002-10-26 daniel_e <daniel_e> 5488 5489 s/Load failed/Can't read file/ 5490 5491 2002-10-26 daniel_e <daniel_e> 5492 5493 Make use of the progress bar pulse feature while globally replacing matches, too. 5494 5495 2002-10-26 daniel_e <daniel_e> 5496 5497 Don't forget set_modified(false) after filling the buffer. 5498 5499 2002-10-26 daniel_e <daniel_e> 5500 5501 Improve behaviour of the status line counters, and display error messages in a user-friendly manner. 5502 5503 2002-10-25 daniel_e <daniel_e> 5504 5505 Implement "index/count"-style counters in the statusbar, and clean up the implementation of class StatusLine. 5506 5507 2002-10-25 daniel_e <daniel_e> 5508 5509 Implement support for matching empty strings, while emulating the behaviour of Perl's /g modifier. 5510 5511 2002-10-24 daniel_e <daniel_e> 5512 5513 Implement a new StatusLine class which displays global file and match counters. Also speed up sorting by using collate keys. 5514 5515 2002-10-24 daniel_e <daniel_e> 5516 5517 Implement two new autoconf macros: a check for std::locale, and a macro providing the --enable-warnings configure option. 5518 5519 2002-10-22 daniel_e <daniel_e> 5520 5521 Clarify FileBuffer::update_bound_state() code. 5522 5523 2002-10-21 daniel_e <daniel_e> 5524 5525 Require gtkmm-2.0 >= 2.0.0. 5526 5527 2002-10-21 daniel_e <daniel_e> 5528 5529 Dump std::[io]fstream in favor of Glib::IOChannel. It's less code now and the error reporting should be better too. 5530 5531 2002-10-21 daniel_e <daniel_e> 5532 5533 Separate the load/save functionality into fileio.{cc,h} to improve modularity of the code. 5534 5535 2002-10-21 daniel_e <daniel_e> 5536 5537 Improve comment. 5538 5539 2002-10-21 daniel_e <daniel_e> 5540 5541 Remove superfluous 'else'. 5542 5543 2002-10-21 daniel_e <daniel_e> 5544 5545 Move the file_test() code into a separate method find_check_file(), and improve the error handling. 5546 5547 2002-10-21 daniel_e <daniel_e> 5548 5549 Cache the Gdk::Color object used for files which failed to load. Also, replace some unnecessary run-time checked casts with static ones. 5550 5551 2002-10-20 daniel_e <daniel_e> 5552 5553 Minor robustness improvement. 5554 5555 2002-10-20 daniel_e <daniel_e> 5556 5557 Don't forget to update the prev/next match buttons' sensitivity. 5558 5559 2002-10-20 daniel_e <daniel_e> 5560 5561 Catch exceptions from Glib::Dir and Glib::file_test(). 5562 5563 2002-10-20 daniel_e <daniel_e> 5564 5565 Improve robustness on broken filenames. 5566 5567 2002-10-20 daniel_e <daniel_e> 5568 5569 Implement fallback mode if non-UTF-8 encoded filenames are encountered but G_BROKEN_FILENAMES is unset. Annoy the user about it. 5570 5571 2002-10-20 daniel_e <daniel_e> 5572 5573 Speed up find_files() by updating the GUI every 16 iterations rather than all the time. 5574 5575 2002-10-20 daniel_e <daniel_e> 5576 5577 Implement "Save" and "Save all" functionality. Also, separate the file list boundary notification from signal_switch_buffer() -- should be a lot more robust now. 5578 5579 2002-10-20 daniel_e <daniel_e> 5580 5581 Add "Save all" tool button and implement sensitivity setting for "Save" and "Save all". 5582 5583 2002-10-19 daniel_e <daniel_e> 5584 5585 Don't add $(top_srcdir)/src to the include path, it's not necessary. 5586 5587 2002-10-19 daniel_e <daniel_e> 5588 5589 Add special stock items for regexxer and register them at startup. 5590 5591 2002-10-19 daniel_e <daniel_e> 5592 5593 Add variable description for PCRE_CONFIG. 5594 5595 2002-10-18 daniel_e <daniel_e> 5596 5597 Paint rows of modified files in red. 5598 5599 2002-10-18 daniel_e <daniel_e> 5600 5601 Make the TextView non-editable if no file is loaded. 5602 5603 2002-10-18 daniel_e <daniel_e> 5604 5605 Require sigc++ >= 1.2.1 and gtkmm >= 1.3.27. 5606 5607 2002-10-17 daniel_e <daniel_e> 5608 5609 Implement match substitution for the current file and all files, and get notification on match count changes working correctly. 5610 5611 2002-10-17 daniel_e <daniel_e> 5612 5613 Define all the *_DISABLE_DEPRECATED macros just to prove regexxer is legacy-free ;) 5614 5615 2002-10-16 daniel_e <daniel_e> 5616 5617 Define operator|=() and friends for enum BoundState and use it. 5618 5619 2002-10-16 daniel_e <daniel_e> 5620 5621 Insert copyright notice and CVS Id tags. 5622 5623 2002-10-15 daniel_e <daniel_e> 5624 5625 Update src/.cvsignore. 5626 5627 2002-10-15 daniel_e <daniel_e> 5628 5629 Add COPYING, INSTALL, and .cvsignore files. 5630 5631 2002-10-15 daniel_e <daniel_e> 5632 5633 Initial import. 5634 5635 2002-10-15 daniel_e <daniel_e> 5636 5637 Initial revision 5638