/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * folder-browser-factory.c: A Bonobo Control factory for Folder Browsers * * Author: * Miguel de Icaza (miguel@ximian.com) * * (C) 2000 Ximian, Inc. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include "widgets/menus/gal-view-menus.h" #include #include #include "folder-browser-factory.h" #include "folder-browser.h" #include "folder-browser-ui.h" #include "mail.h" #include "mail-callbacks.h" #include "shell/Evolution.h" #include "mail-config.h" #include "mail-ops.h" #include "mail-session.h" #include "mail-folder-cache.h" #include "evolution-shell-component-utils.h" #include "camel/camel-vtrash-folder.h" /* The FolderBrowser BonoboControls we have. */ static EList *control_list = NULL; /* copied from mail-display.c for now.... */ static GNOME_Evolution_ShellView fb_get_svi (BonoboControl *control) { Bonobo_ControlFrame control_frame; GNOME_Evolution_ShellView shell_view_interface; CORBA_Environment ev; control_frame = bonobo_control_get_control_frame (control); if (control_frame == NULL) return CORBA_OBJECT_NIL; CORBA_exception_init (&ev); shell_view_interface = Bonobo_Unknown_queryInterface (control_frame, "IDL:GNOME/Evolution/ShellView:1.0", &ev); CORBA_exception_free (&ev); if (shell_view_interface == CORBA_OBJECT_NIL) g_warning ("Control frame doesn't have Evolution/ShellView."); return shell_view_interface; } static void control_activate (BonoboControl *control, BonoboUIComponent *uic, FolderBrowser *fb) { GtkWidget *folder_browser; Bonobo_UIContainer container; container = bonobo_control_get_remote_ui_container (control); bonobo_ui_component_set_container (uic, container); bonobo_object_release_unref (container, NULL); g_assert (container == bonobo_ui_component_get_container (uic)); g_return_if_fail (container != CORBA_OBJECT_NIL); folder_browser = bonobo_control_get_widget (control); folder_browser_set_ui_component (FOLDER_BROWSER (folder_browser), uic); folder_browser_ui_add_global (fb); folder_browser_ui_add_list (fb); folder_browser_ui_add_message (fb); mail_folder_cache_set_shell_view (fb_get_svi (control)); mail_folder_cache_set_folder_browser (fb); if (fb->folder) mail_refresh_folder (fb->folder, NULL, NULL); } static void control_deactivate (BonoboControl *control, BonoboUIComponent *uic, FolderBrowser *fb) { mail_folder_cache_set_folder_browser (NULL); folder_browser_ui_rm_list (fb); folder_browser_ui_rm_all (fb); if (fb->folder) mail_sync_folder (fb->folder, NULL, NULL); folder_browser_set_ui_component (fb, NULL); } static void control_activate_cb (BonoboControl *control, gboolean activate, gpointer user_data) { BonoboUIComponent *uic; uic = bonobo_control_get_ui_component (control); g_assert (uic != NULL); if (activate) control_activate (control, uic, user_data); else control_deactivate (control, uic, user_data); } static void control_destroy_cb (BonoboControl *control, GtkObject *folder_browser) { gtk_object_destroy (folder_browser); } static void browser_destroy_cb (FolderBrowser *fb, BonoboControl *control) { EIterator *it; /* We do this from browser_destroy_cb rather than * control_destroy_cb because currently, the controls * don't seem to all get destroyed properly at quit * time (but the widgets get destroyed by X). FIXME. */ for (it = e_list_get_iterator (control_list); e_iterator_is_valid (it); e_iterator_next (it)) { if (e_iterator_get (it) == control) { e_iterator_delete (it); break; } } gtk_object_unref (GTK_OBJECT (it)); } BonoboControl * folder_browser_factory_new_control (const char *uri, const GNOME_Evolution_Shell shell) { BonoboControl *control; GtkWidget *folder_browser; folder_browser = folder_browser_new (shell); if (folder_browser == NULL) return NULL; FOLDER_BROWSER (folder_browser)->pref_master = TRUE; /* save UI settings changed in this FB */ if (!folder_browser_set_uri (FOLDER_BROWSER (folder_browser), uri)) { gtk_object_sink (GTK_OBJECT (folder_browser)); return NULL; } gtk_widget_show (folder_browser); control = bonobo_control_new (folder_browser); if (control == NULL) { gtk_object_destroy (GTK_OBJECT (folder_browser)); return NULL; } gtk_signal_connect (GTK_OBJECT (control), "activate", control_activate_cb, folder_browser); gtk_signal_connect (GTK_OBJECT (control), "destroy", control_destroy_cb, folder_browser); gtk_signal_connect (GTK_OBJECT (folder_browser), "destroy", browser_destroy_cb, control); if (!control_list) control_list = e_list_new (NULL, NULL, NULL); e_list_append (control_list, control); return control; } EList * folder_browser_factory_get_control_list (void) { if (!control_list) control_list = e_list_new (NULL, NULL, NULL); return control_list; } '>56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244
2003-05-03  Malcolm Tredinnick <malcolm@commsecure.com.au>
    
    * autogen.sh: Allow users to specify the binary to run instead of
    libtoolize by checking the value of $LIBTOOLIZE. This is apparently an
    issue sometimes on MacOS X and fixes bug #111917.

2003-03-20  Frederic Crozat  <fcrozat@mandrakesoft.com>

    * autogen.sh: use GNOME2_DIR, not GNOME2_PATH which can be
    a ':' separated list.

2002-11-27  Stanislav Brabec  <sbrabec@suse.cz>

    * gnome-pilot.m4: Added missing quotes:
    PISOCK_LIBS="-lpisock -lpisync"

2002-09-20  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: fix problem where -lpisync was not linked in if
    you didn't specify --with-pisock

2002-09-16  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: check for pilot-link 0.11.4 by default

2002-09-08  Havoc Pennington  <hp@pobox.com>

    * autogen.sh: hardcode automake-1.4

2002-08-21  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: add -lpisync to PISOCK_LIBS

2002-05-15  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: Fix quoting for AC_MSG_*

2002-03-10  Sebastian Rittau  <srittau@jroger.in-berlin.de>

    * Makefile.am:
    Distribute gnome-pilot.m4

2002-02-10  Chema Celorio  <chema@celorio.com>

    * Port to the GNOME 2.0 platform

2002-02-08  Chema Celorio  <chema@celorio.com>

    * configure.in: 0.12.0 here we go
2001-12-11  Israel Escalante <israel@ximian.com>

    * Release 0.10.0.

2001-11-28  Sebastian Rittau  <srittau@jroger.in-berlin.de>

    * gnome-pilot.m4 (PILOT_LINK_HOOK):
    Fixed a typo: inlude -> include

2001-10-24  jacob berkman  <jacob@ximian.com>

    * aclocal-include.m4 (AM_ACLOCAL_INCLUDE): do a test that is not
    only always false, but works with autoconf 2.52 and isn't trying
    to be too smart

2001-10-02  Darin Adler  <darin@bentspoon.com>

    * autogen.sh: Complete intltool support.

2001-10-02  Darin Adler  <darin@bentspoon.com>

    * autogen.sh: Add intltool support.

2001-09-16  Eskil Heyn Olsen  <eskil@eskil.dk>

    * gnome-pilot.m4:
    PISOCK_CFLAGS no longer contains pilot-link version.

2001-09-09  Eskil Heyn Olsen  <eskil@eskil.dk>

    * gnome-pilot.m4:
    Stuff to check version of gnome-pilot

2001-08-20  Pavel Roskin  <proski@gnu.org>

    * gnome-undelfs.m4 (GNOME_UNDELFS_CHECKS): Specify additional
    includes when testing for ext2fs/ext2fs.h.

    * gnome-vfs.m4 (GNOME_WITH_VFS): Specify additional includes
    when testing for rpc/pmap_clnt.h.  Needed for Autoconf 2.50+
    only - older versions don't try to compile headers and ignore
    this argument.

2001-08-04  Darin Adler  <darin@bentspoon.com>

    * .cvsignore: Ignore generated .dep file.

2001-08-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

    * gnome-guile-checks.m4: Made "--without-guile" work. Added $guile_msg 
      for reporting back.

2001-07-24  Jody Goldberg <jgoldberg@home.com>

    * psiconv.m4 : Add psion macros from Frodo Looijaard <frodol@dds.nl>

2001-07-24  Frederic Crozat  <fcrozat@mandrakesoft.com>

    * gnome-print-check.m4 (AM_PATH_GNOME_PRINT): 
    Correct minimal version test

2001-06-22  Eskil Heyn Olsen  <eskil@eskil.dk>

    * gnome-pilot.m4:
    Fixed the cat of pi-version.h

2001-06-20  Havoc Pennington  <hp@redhat.com>

    * gnome.m4: fix to include the CFLAGS for extra libraries

2001-06-13  Pavel Roskin  <proski@gnu.org>

    * gnome-fileutils.m4: Always explicitly declare main() with the
    return type `int'. Don't use exit() since it may be undeclared.
    Use `return' instead.
    * gnome-pilot.m4: Likewise.
    * gperf-check.m4: Likewise.
    * linger.m4: Likewise.

2001-06-01  Peter Williams  <peterw@ximian.com>

    * autogen.sh: s,Gnome,$PKG_NAME,g

2001-05-24  Arturo Espinosa Aldama  <arturo@ximian.com>

    * 0.5 RELEASE

2001-05-24  jacob berkman  <jacob@ximian.com>

    * gnome-pthread-check.m4 (GNOME_PTHREAD_CHECK): add hp-ux specific
    check from glib

2001-05-19  Jody Goldberg <jgoldberg@home.com>

    * gnome-gettext.m4 : Add BUILD_INCLUDED_LIBINTL so that newer versions
      work.

2001-04-16  Jaka Mocnik  <jaka@gnu.org>

    * gnome-print-check.m4: change $(cmd) to `cmd` in order to make it
    usable in non-bash bourne shells.

2001-03-01  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: quote a test and make sure incdir is always set
    so 'cat' works

2001-02-21  Lauris Kaplinski  <lauris@ximian.com>

    * gnome-print-check.m4: Replaced the awk alchemy with sed alchemy.
    I seems to work now as long as gnome-config is working - but that is
    the whole point of gnome-config, isn't it?

2001-02-19  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: Revert my previous patch now that gnome-pim and
    evolution are fixed to accomodate the change

2001-02-19  JP Rosevear  <jpr@ximian.com>

    * gnome-pilot.m4: AC_SUBST the PISOCK_LIBDIR var

2001-02-17  Lauris Kaplinski  <lauris@ximian.com>

    * gnome-print-check.m4: Remove most of stuff here, but now
    it at least WORKS

2001-02-07  Kenneth Christiansen  <kenneth@gnu.org>

    * autogen.sh: Added test for xml-i18n-tools if 
    AM_PROG_XML_I18N_TOOLS is found.

2001-01-05  Maciej Stachowiak  <mjs@eazel.com>

    * autogen.sh: Added missing PROG.

2001-01-05  Maciej Stachowiak  <mjs@eazel.com>

    * autogen.sh: xml-i18n-toolize if AM_PROG_XML_I18N_TOOLS is found
    in configure.in.

2000-11-05  Martin Baulig  <baulig@suse.de>

    * gnome-bonobo-check.m4 (BONOBO_CFLAGS, BONOBO_LIBS): Added
    stuff for `bonobox'.

2000-08-01  Pavel Roskin  <proski@gnu.org>

    * curses.m4: AC_WARN replaced with AC_MSG_WARN in comments

2000-06-23  Stanislav Brabec  <utx@penguin.cz>

    * gnome-pilot.m4: Use 'PISOCK_INCLUDEDIR' in pisock version check.

2000-06-17  Dan Winship  <danw@helixcode.com>

    * autogen.sh: exit immediately if aclocal, autoheader, automake,
    or autoconf fails, rather than continuing on with broken state.
    (In the aclocal case, print a hopefully-useful explanatory
    message.)

2000-06-13  Martin Baulig  <baulig@suse.de>

    * gnome-bonobo-check.am (AM_BONOBO_USES_OAF): New macro.
    Checks whether Bonobo uses OAF and defines `BONOBO_USES_OAF'
    if appropriate. Also provides `BONOBO_USES_OAF' automake
    conditional.

2000-06-13  Martin Baulig  <baulig@suse.de>

    * Makefile.am (EXTRA_DIST): Added `gnome-gettext.m4'.
    (gnome_aclocal_DATA): Added `gnome-gettext.m4'.

2000-05-29  Martin Baulig  <baulig@suse.de>

    * gnome-autogen.sh: Moved to the `bin/' directory.

2000-05-29  Martin Baulig  <baulig@suse.de>

    * gnome-autogen.sh: If `USE_GNOME_2_MACROS' is set, use the
    GNOME 2.0 macros from the `macros2' directory.

2000-05-29  Martin Baulig  <baulig@suse.de>

    * gnome-common.m4, Makefile.am: Install macros to
    `$(datadir)/aclocal/gnome-macros' when INSIDE_GNOME_COMMON.

    * gnome-autogen.sh: New file. When using gnome-common instead
    of the macros/ directory, use this in your autogen.sh.

2000-05-15  Russell Steinthal  <rms39@columbia.edu>

    * gnome-pilot.m4 (PILOT_LIBS): An attempt to fix the gnome-pilot
    check on Solaris (`$GNOME_CONFIG ...` returns more than one word,
    so we need quotes around it to keep test from bombing out)

2000-05-01  Dan Winship  <danw@helixcode.com>

    * gnome-pilot.m4 (PILOT_LIBS): "But that trick NEVER works!"
    "This time for sure!"

Sun Apr 23 12:15:14 2000  George Lebl <jirka@5z.com>

    * gnome.m4: add an extra lib of docklets.  These checks are
      braindamaged though, they don't fail and thus gnome-core for
      example compiles without gnomecc.  There need to be separate .m4
      files or checks

2000-04-19  Eskil Heyn Olsen  <deity@eskil.dk>

    * gnome-pilot.m4 (PILOT_LIBS): Changed the error string for gnome-pilot
    (PILOT_LIBS): Fixes the gnome-config check

2000-04-10  Dan Winship  <danw@helixcode.com>

    * gnome-pilot.m4 (PILOT_LIBS): Fix a bug introduced in the
    gnome-pilot-config to "gnome-config gpilot" change that caused not
    having pilot-link installed to become a fatal error.

2000-02-26  James Henstridge  <james@daa.com.au>

    * gnome-gettext.m4: fix up check of LINGUAS variable so that we don't
    get problems when LINGUAS contains `en' and ALL_LINGUAS contains
    `en_GB' for instance.

2000-02-22  Martin Baulig  <martin@home-of-linux.org>

    * autogen.sh: Don't run libtoolize when `NO_LIBTOOLIZE' is set.

2000-02-09  Raja R Harinath  <harinath@cs.umn.edu>

    * autogen.sh: Fix GNUism introduced in the previous fix.

2000-02-08  Miguel de Icaza  <miguel@gnu.org>

    * autogen.sh: Handle non GNU find programs. 

2000-02-05  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-types.m4 (AC_LIBGTOP_CHECK_TYPE): New macro. This
    is an improved version of AC_CHECK_TYPE which takes into account
    that we need to #include some other header files on some systems
    to get some types.
    (GNOME_LIBGTOP_TYPES): Check for <sys/bitypes.h> for Tru64 and
    use AC_LIBGTOP_CHECK_TYPE rather than AC_CHECK_TYPE.

2000-01-26  Dave Camp  <campd@oit.edu>

    * gnome-bonobo-check.m4 Include <bonobo.h> rather than 
    <bonobo/gnome-object.h>

2000-01-26  Dave Camp  <campd@oit.edu>

    * gnome-bonobo-check.m4: Check for bonobo_object_get_type() rather 
    than gnome_object_get_type().

2000-01-23  Peter Teichman  <peter@helixcode.com>

    * gnome-pilot.m4: i broke the version-checking macro for other
    distribs in my last commit. fixing that now.

2000-01-22  Peter Teichman  <peter@helixcode.com>

    * gnome-pilot.m4 (PILOT_LIBS): fix the version-checking macro for
    debian

2000-01-20  Raja R Harinath  <harinath@cs.umn.edu>

    * gnome-objc-checks.m4: Look for sched_yield in -lrt, too.
    Suggested by Drazen Kazar <dave@srce.hr>.

2000-01-16  Vadim Strizhevsky  <vadim@optonline.net>

    * gnome-pilot.m4: Fix typo in PILOT_LINK_HOOK.

2000-01-15  Eskil Heyn Olsen  <deity@eskil.dk>

    * gnome-pilot.m4: PILOT_LINK_HOOK now check pilot-link version.
    GNOME_PILOT_CHECK defaults to requiring 0.9.3.

2000-01-09  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-check.m4: Applied patch from R. Bernstein
    <rocky@panix.com> - print a better error message when
    LibGTop's major version number mismatches.

1999-12-25  Martin Baulig  <martin@home-of-linux.org>

    * gnome-pilot.m4: Applied patch from Colin Walters to make
    it compile under Debian GNU/Linux.

1999-12-05  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-checks.m4: Removed all guile variables.

1999-11-18  Jeff Garzik  <jgarzik@mandrakesoft.com>

    * gnome-xml-check.m4: Better scoping of below fix.

1999-11-16  Jeff Garzik  <jgarzik@mandrakesoft.com>

    * gnome-xml-check.m4: always AC_SUBST GNOME_XML_LIB, so that
    output variable will always be present.

1999-11-09  Eskil Heyn Olsen  <deity@eskil.dk>

    * gnome-pilot.m4: uses test -r instead of test -e, was reported as 
    a portability bug wrt solaris.

1999-10-31  Eskil Heyn Olsen  <deity@eskil.dk>

    * gnome-pilot.m4: added PILOT_LINK_CHECK, used by
    GNOME_PILOT_CHECK. Adds --with-pisock=$dir_for_pilot_link.

1999-10-24  Jacob Berkman  <jberkman@andrew.cmu.edu>

    * gnome-ghttp-check.m4: this should be a better fix

1999-10-21  Jacob Berkman  <jberkman@andrew.cmu.edu>

    * gnome-ghttp-check.m4: use a temp value until we know that
    ghttp exists.  This will hopefully fix building on Solaris 
    machines

1999-09-26  Jody Goldberg <jgoldberg@home.com>

    * compiler-flags.m4 : Remove -Wpointer-arith.  It generates large
      numbers of warnings under glibc2.1.2 with a recent egcs release.
      The glibc maintainers have suggested removing this flag because it
      is useless.

1999-09-01  Havoc Pennington  <hp@pobox.com>

    * gnome-xml-check.m4: If you're going to AC_PATH_PROG then use the
    prog you find :-)

1999-08-02  Peter Teichman  <pat4@acpub.duke.edu>

    * removed gnome-conduit-check.m4 - it should be distributed with
    gnome-pilot

1999-07-30  Peter Teichman  <pat4@acpub.duke.edu>

    * gnome-conduit-check.m4: added new file of checks. anything that
    provides a pilot conduit is going to want this

1999-07-07  Tuomas J. Lukka  <lukka@iki.fi>
    * gnome-x-checks.m4: add a comment on how to get gtk-1.3 and
    glib 1.3 from CVS

1999-07-06  Tuomas J. Lukka  <lukka@iki.fi>

    * gnome-x-checks.m4: forbid compiling with Gtk-1.3 for now.
        gnome only works with 1.2 so far. 

1999-07-05  Raja R Harinath  <harinath@cs.umn.edu>

    * gnome.m4: Make "extra library" message slightly easier to read.

Sat Jun 26 01:47:53 1999  Tim Janik  <timj@gtk.org>

    * compiler-flags.m4: give -Wunused to gcc instead of -Wno-unused.

1999-06-11  Tuomas J. Lukka <lukka@iki.fi>

    * gnome-guile-checks.m4: Debian has qt_null in -lqthreads but
      no main. Changed both checks for 'main' to qt_null.
      I hope this is correct - it shouldn't break anything.

1999-05-11  Raja R Harinath  <harinath@cs.umn.edu>

    * Makefile.am (MACROS): Add `gnome-bonobo-check.m4'.

1999-05-09  Jacob Berkman  <jberk+@cmu.edu>

    * gnome-bonobo-check.m4: made test program return 0,
    changed BONOBO_CHECK to not return "failure" on success

1999-04-16  Raja R Harinath  <harinath@cs.umn.edu>

    * gnome-print-check.m4 (GNOME_PRINT_CHECK): Fix invocation of
    AM_PATH_GNOME_PRINT. 
    * Makefile.am (MACROS): Sort lines.

Sun Mar 28 23:39:48 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

    * gnome-vfs.m4: Add --with-vfs option. GNOME_VFS_LIBS still needs
    to be fixed but that's not a problem because there's no libvfs, yet.

1999-03-10  Tomislav Vujec  <tvujec@carnet.hr>

    * aclocal-include.m4 (AM_ACLOCAL_INCLUDE): Add ACLOCAL_FLAGS in
    ACLOCAL. This allows maintainer rules to work if any of the macros
    change.

1999-03-10  Tomislav Vujec  <tvujec@carnet.hr>

    * gnome.m4 (GNOME_INIT_HOOK): Wrapped position parameter in
    testing for additional inits. It gets expanded while generating
    configure, resulting in an empty parameter list - syntax error in
    for statement.

1999-03-09  Raja R Harinath  <harinath@cs.umn.edu>

    * gnome.m4 (GNOME_INIT): Add a new paramater, which is passed to
    GNOME_INIT_HOOK. 
    (GNOME_INIT_HOOK): New parameter "additional inits".  This is a
    list like "applets capplet", and the corresponding
    GNOME_APPLETS_LIBS and GNOME_CAPPLETS_LIBS are defined.

1998-03-01  Mark Crichton <crichton@gimp.org>

    * gnome-objc-checks : Added HAVE_GNOME_OBJC conditional

1998-02-27  Gregory McLean <gregm@comstar.net>

    * gnome-x-checks.m4 : Require at least gtk+ 1.2 (pointless getting
    bug reports with an old glib/gtk/gdk set..)

1999-02-25  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-checks.m4: Require LibGTop >= 1.0.0.

1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * compiler-flags.m4: Only add the compilation warnings if the
    compiler is GCC.

1999-02-20  Timur Bakeyev <mc@bat.ru>

    * gnome.m4: Added and exported ZVT_LIBS.

Tue Feb 16 19:35:42 1999  Owen Taylor  <otaylor@redhat.com>

    * gnome-x-checks.m4: Require GTK+-1.1.16.

1999-02-15  Timur Bakeyev <mc@bat.ru>

    * gnome-gettext.m4: Work around a bug in BSDI's native sh, which in-
    correctly expands ${LINGUAS=$ALL_LINGUAS}. Switched to if/fi variant.

1999-02-15  Chris Lahey  <clahey@umich.edu>

    * gnome-print-check.m4: Copied this from libhnj/libhnj.m4.  Almost
    completely replaced the old version.  The only usage difference is
    that it defines GNOME_PRINT_LIBS instead of GNOME_PRINT_LIB and
    defines GNOME_PRINT_CFLAGS as well.

1999-02-10  Martin Baulig  <martin@home-of-linux.org>

    * gnome-objc-checks.m4: Applied a patch from Kenneth Stailey;
    use $CFLAGS when invoking $OBJC so the user can add additional
    include paths.

1999-02-05  Martin Baulig  <martin@home-of-linux.org>

    * compiler-flags.m4: Don't add warning and compiler flags to
    the CFLAGS and CXXFLAGS when they're cached. This fixes the
    problem that CFLAGS and CXXFLAGS get longer and longer each
    time you run a `config.status --recheck'.

1999-02-04  Martin Baulig  <martin@home-of-linux.org>

    * aclocal-include.m4 (INSIDE_GNOME_COMMON): New automake
    conditional that's always false.

    * gnome-common.m4: New file. This defines a `GNOME_COMMON_INIT'
    macro that should be used in all GNOME Applications outside
    the CVS tree.

    * Makefile.am: If we are `INSIDE_GNOME_COMMON', install all
    $(MACROS), autogen.sh, gnome-common.m4 and a newly created
    gnome-macros.dep in `$(datadir)/aclocal/gnome'.

1999-01-24  Timur Bakeyev <mc@bat.ru>

    * gnome-pthread-check.m4: Add recognition of 2 more libraries - 
    pthreads and pthread-support build in libc (as on BSDI).

1999-01-23  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-checks.m4 (GNOME_LIBGTOP_DOCU): New macro. This
    checks whether you have the LibGTop documentation installed and
    defines `HAVE_LIBGTOP_DOCU' if appropriate. Also provides automake
    conditional.

1999-01-20  Martin Baulig  <martin@home-of-linux.org>

    * acinclude.m4 (ac_result): Unset CATOBJEXT so
    that the macros and Makefiles correctly handle
    disabling NLS when no gettext is found.

1999-01-19  Raja R Harinath  <harinath@cs.umn.edu>

    * gnome-cxx-check.m4 (GNOME_CHECK_CXX): Rewrite to be saner.  
    Don't limit yourself to a fixed set of names for the compiler.

1999-01-06 Nat Friedman   <nat@nat.org>

    * Makefile.am (MACROS): Added gnome-print-check.m4 to MACROS

1999-01-05  Raja R Harinath  <harinath@cs.umn.edu>

    * gnome-support.m4: Include dirent.h before checking whether
    `scandir' needs to be declared.
    * need-declaration.m4: Revert change.

1999-01-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

    * need-declaration.m4, gnome-support.m4: Fixed the scandir detection.

1998-12-22  Jeff Garzik  <jgarzik@pobox.com>

    * gnome.m4:  Added and exported GNOME_APPLET_LIBS.

1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

    * gnome-support.m4: Removed all the stuff for argp, that was
    causing gnomesupport not to build.

1998-12-15  Martin Baulig  <martin@home-of-linux.org>

    * gnome-gettext.m4: Add the hacked version of the gettext
    macros that is used in Gtk+ here.

    * autogen.sh: Accept both AM_GNU_GETTEXT and AM_GNOME_GETTEXT.
     
1998-12-15  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-check.m4: All parts of GNOME will now require
    LibGTop >= 0.99.0 which is the latest version from CVS and
    already feature-freezed for GNOME 1.0.

1998-12-09  Martin Baulig  <martin@home-of-linux.org>

    * aclocal-include.m4 (AM_ACLOCAL_INCLUDE): Make this work
    with more than one directory.

1998-12-08  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-sysdeps.m4: Moved into the LibGTop module.
    This file contains too much stuff that should only be used
    internally in LibGTop, so it's better to have it there.

1998-12-06  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-sysdeps.m4: Recognice OpenBSD as a valid
    system and use the `freebsd' sysdeps directory for it.

Sat Dec  5 23:30:01 PST 1998 Manish Singh <yosh@gimp.org>

    * gnome-guile-checks.m4: clear GUILE_LIBS and GUILE_INCS if
    guile isn't there (quick fix)

1998-12-05  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-sysdeps.m4: Recognice NetBSD as a valid
    system and use the `freebsd' sysdeps directory for it.

1998-12-03  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-sysdeps.m4 (GLIBTOP_LINUX_VERSION_CODE):
    Define this to be the same as LINUX_VERSION_CODE either from
    <linux/version.h> or from the running kernel.

1998-12-02  Raja R Harinath  <harinath@cs.umn.edu>

    * autogen.sh: "Improve" indentation and messages somewhat.

1998-12-01  Jeff Garzik  <jgarzik@pobox.com>

    * autogen.sh:
    Platform fixes.  grep -q is not portable, do not use.

1998-12-01  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

    * autogen.sh: Run gettextize if needed.
    : Run libtoolize only if configure.in has "^AM_PROG_LIBTOOL".

1998-11-30  Jeff Garzik  <jgarzik@pobox.com>

    * gnome.m4: Re-arranged tests such that "--without-gnome" is
    fully supported.  Not only is the logic now correct, programs
    can test "want_gnome=yes/no" for the results of this arg.

1998-11-27  Martin Baulig  <martin@home-of-linux.org>

    * gnome-libgtop-check.m4: All parts of GNOME will now require
    LibGTop >= 0.29.0 which is the latest version from CVS.

1998-11-20  James Henstridge  <james@daa.com.au>

    * gnome.m4(GNOME_INIT_HOOK): Changed the call to GNOME_GNORBA_CHECK
    to GNOME_GNORBA_HOOK([],$2).  Before if you specified that the
    macro should not exit on errors, and you didn't have ORBit, the