=== gnome-build 2.24.0 2008-09-22 Johannes Schmid <jhs@gnome.org> * configure.in: Bumped version * NEWS: Updated 2008-09-09 Johannes Schmid <jhs@gnome.org> Patch from Craig Keogh: * src/backends/libgbf_am/gbf-am-config.c (gbf_am_config_value_free), (gbf_am_config_value_copy): * src/backends/libgbf_am/gbf-am-project.c (parse_errors): * src/backends/libgbf_am/gbf-am-properties.c (on_project_widget_destroy), (on_group_widget_destroy), (on_target_widget_destroy): * src/backends/libgbf_mkfile/gbf-mkfile-config.c (gbf_mkfile_config_value_free), (gbf_mkfile_config_value_copy): * src/backends/libgbf_mkfile/gbf-mkfile-project.c (parse_errors): * src/backends/libgbf_mkfile/gbf-mkfile-properties.c (on_group_widget_destroy), (on_target_widget_destroy): * src/gbf/gbf-project-util.c (load_interface), (error_dialog): * src/gbf/test-project-view.c (main): #551069 â build failure: gbf-project-util.c:84: error: format not a string literal and no format arguments 2008-09-06 Sébastien Granjoux <seb.sfo@free.fr> * gnome-build-1.0.pc.in: Remove gdl-gnome from requirements. It does not exist anymore 2008-09-03 Johannes Schmid <jhs@gnome.org> * gnome-build-1.0.pc.in: Use dataroot setting 2008-09-03 Johannes Schmid <jhs@idefix> * configure.in: * src/gbf/gbf-project-util.c (build_types_store): * src/gbf/gbf-project-view.c (destroy), (get_icon), (set_pixbuf), (gbf_project_view_instance_init): #550514 â gdl does not build === gnome-build 2.23.90 === 2008-08-18 Naba Kumar <naba@gnome.org> * configure.in: Bumped version to 2.23.90 to be consistent with gnome releases. * NEWS: Updated for a release. * ChangeLog: Tagged release. 2008-07-06 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm: Do not add AC_SUBST() after PKG_CHECK_MODULE (#475244) 2008-06-19 Johannes Schmid <jhs@gnome.org> Patch from Debarshi Ray * configure.in: #522715 â Typo & missing libglade-2.0 entry in configure.in 2008-06-19 Johannes Schmid <jhs@gnome.org> * configure.in: * src/backends/libgbf_am/Makefile.am: * src/backends/libgbf_am/gbf-am-build.c: * src/backends/libgbf_am/gbf-am-build.h: * src/backends/libgbf_am/gbf-am-project.c (gbf_am_project_class_init), (gbf_am_project_dispose): * src/backends/libgbf_am/gbf-am-project.h: * src/backends/libgbf_mkfile/Makefile.am: * src/backends/libgbf_mkfile/gbf-mkfile-build.c: * src/backends/libgbf_mkfile/gbf-mkfile-build.h: * src/backends/libgbf_mkfile/gbf-mkfile-project.c (gbf_mkfile_project_class_init), (gbf_mkfile_project_dispose): * src/backends/libgbf_mkfile/gbf-mkfile-project.h: * src/gbf/Makefile.am: * src/gbf/gbf-project.c (gbf_project_class_init): * src/gbf/gbf-project.h: Removed deprecated and unused build code thus removing the regex depency (#463561 and #538952) 2008-06-19 Johannes Schmid <jhs@gnome.org> Patch from Vincent Untz <vuntz@gnome.org>: * src/gbf/Makefile.am: 523128 â Fix build 2008-06-19 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-properties.c (get_libs_key), (on_module_activate), (update_tree_foreach), (create_module_list), (gbf_am_properties_get_group_widget), (on_target_widget_destroy), (on_advanced_clicked), (gbf_am_properties_get_target_widget): Add a new chooser to select pkg-config modules in the target configuration (related to #393679) * src/backends/libgbf_mkfile/Makefile.am: * src/gbf/Makefile.am: * src/backends/libgbf_am/Makefile.am: Replace deprecated INCLUDES with AM_CPPFLAGS 2008-06-13 Johannes Schmid <jhs@gnome.org> Patch from Micheal Terry <mike@mterry.name>: * src/gbf/test-project-view.c (main): Bug 517047 â [PATCH] Port to GOption === gnome-build 0.3.0 === 2008-06-02 Naba Kumar <naba@gnome.org> * configure.in: Increased soname version * NEWS: Updated for 0.3.0 release 2008-05-26 Massimo Cora' <maxcvs@email.it> Reviewed by Naba Kumar <naba@gnome.org>: * src/backends/libgbf_am/gbf-am-project.c (impl_get_config_modules), (impl_get_config_packages): fixed two mem-leaks. 2008-05-02 Johannes Schmid <jhs@gnome.org> * configure.in: Bumped version to 0.3.0 * src/backends/libgbf_am/gbf-am-project.c (package_is_valid), (impl_get_config_packages): Added a conveniece check for the returned packages 2008-05-02 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_mkfile/gbf-mkfile-project.c (impl_get_config_modules), (impl_get_config_packages), (gbf_mkfile_project_class_init): Added dummy implementation for makefile backend 2008-05-02 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-project.c (impl_get_config_modules), (impl_get_config_packages), (gbf_am_project_class_init): * src/gbf/gbf-project.c (gbf_project_get_config_modules), (gbf_project_get_config_packages): * src/gbf/gbf-project.h: Added methods to access the list of pkg-config packages required for building the project (to be used for symbol autocompletion for example). * src/gbf/test-project-view.c (show_packages), (open_project): Added a test case 2008-02-29 Johannes Schmid <jhs@gnome.org> * configure.in * src/gbf/Makefile.am: Fixed #515997 â Fails to build from source === gnome-build 0.2.3 === 2008-02-25 Naba Kumar <naba@gnome.org> * NEWS: Updated. * configure.in: Bumped version to 0.2.3 2008-02-24 Johannes Schmid <jhs@gnome.org> * configure.in: Check for Locale::gettext which is required === gnome-build 0.2.2 === 2008-02-11 Naba Kumar <naba@gnome.org> * configure.in: Bumped version to 0.2.2 * NEWS: Updated. 2008-02-06 Naba Kumar <naba@gnome.org> * COPYING: Fixed license. 2008-02-05 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-properties.c: (gbf_am_properties_get_group_widget): Fixed #503526 (translation issues) === gnome-build 0.2.1 === 2008-01-28 Naba Kumar <naba@gnome.org> * NEWS, configure.in, install-sh: Bumped version and updated for release. 2008-01-24 Philipp Kerling <k.philipp@gmail.com> * src/backends/libgbf_am/GBF/AmFiles.pm: Append data to a macro rather than overwrite it if an assignment is split into several lines (#510351) 2008-01-22 Philipp Kerling <k.philipp@gmail.com> Reviewed by Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Removed check_LTLIBRARIES restriction, added expanding vars in SUBDIRS (#450604) * src/backends/libgbf_am/GBF/AmFiles.pm: Changed variable detection rule to also match ${VAR} (#450604) 2008-01-22 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: * src/backends/libgbf_mkfile/gbf-mkfile-parse.in: gettext has problems with strings which are connected using "." 2008-01-22 Johannes Schmid <jhs@gnome.org> * configure.in: * install.sh: removed (should not be in svn) Migrated to use po/LINGUAS * src/backends/libgbf_am/gbf-am-parse.in: * src/backends/libgbf_mkfile/gbf-mkfile-parse.in: Added localisation through gettext() 2008-01-22 Phillip Kerling <k.phillip@gmail.com> reviewed by: Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Improve gnome-build EXTRA_DIST support (#463408) 2008-01-20 Yair Hershkovitz <yairhr@gmail.com> * configure.in: Added "he" to ALL_LINGUAS. 2008-01-18 Simos Xenitellis <simos@gnome.org> * configure.in: Removed newline in ALL_LINGUAS line (was apparently added accidentally by Inaki (eu)). 2008-01-18 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Add support for check_PROGRAM (#474617) 2008-01-16 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> * configure.in: Added "eu" (Basque) to ALL_LINGUAS. 2008-01-16 Baris Cicek <baris@teamforce.name.tr> * configure.in: Added "tr" to ALL_LINGUAS 2007-12-31 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Added support for SRC_SUBDIRS like it's used in gtk+ 2007-12-06 Changwoo Ryu <cwryu@debian.org> * configure.in: Added "ko" to ALL_LINGUAS. 2007-11-26 Alexander Shopov <ash@contact.bg> * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS 2007-10-14 Yannig Marchegay <yannig@marchegay.org> * configure.in: Added 'oc' to ALL_LINGUAS. 2007-09-25 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: * src/backends/libgbf_am/gbf-am-properties.c: (gbf_am_properties_get_target_widget): Fixed #476315 â Anjuta set _LDADD for shared object and 475280 â _HEADERS not defined === gnome-build 0.2.0 === 2007-09-03 Naba Kumar <naba@gnome.org> * NEWS: Updated. * configure.in: Bumped ltversion to 1.0.0 and version to 0.2.0. * src/backends/libgbf_am/gbf-am-project.c, src/backends/libgbf_mkfile/gbf-mkfile-project.c, src/gbf/gbf-project.c, src/gbf/gbf-project.h: Added capabilities support. Fixes Bug 433552 - crash in Anjuta IDE: add file test.h in project on generic Makefile. * install-sh: Updated. * MAINTAINERS: Fixed. === gnome-build 0.1.7 === 2007-06-22 Naba Kumar <naba@gnome.org> * NEWS: Updated. * configure.in: Bumped version to 0.1.7 2007-06-13 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Escape ' (apos) in xml output. Fixes loading some projects with this char. * src/backends/libgbf_am/gbf-am-project.c: Also report xml parse errors for malformed projects. 2007-06-07 Naba Kumar <naba@gnome.org> * src/gbf/gbf-project-util.c: Fixed runtime warnings. * src/backends/libgbf_am/gbf-am-project.c: When adding a source file, copy the source file to target's group directory if it is outside project. Fixes bug #397930. 2007-05-28 Naba Kumar <naba@gnome.org> Patch from Philip Allison <sane@not.co.uk>: * src/backends/libgbf_am/GBF/AmFiles.pm: Fixed Bug #440830 â Spaces appended to group install directories. === gnome-build 0.1.6 === 2007-05-10 Naba Kumar <naba.kumar@gnome.org> * configure.in: Bumped version to 0.1.6 * NEWS: Updated. * AUTHORS: Added Johannes. Patch from Halton Huo: * src/backends/libgbf_am/gbf-am-project.c: * src/backends/libgbf_mkfile/gbf-mkfile-project.c: Fixed build failure with sun cc. 2007-05-08 Naba Kumar <naba.kumar@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm: * src/backends/libgbf_am/gbf-am-parse.in: Fixed perl warnings. 2007-05-08 Naba Kumar <naba.kumar@gnome.org> Patch from: Cygwin Ports maintainer <yselkowitz@users.sourceforge.net>: * src/backends/libgbf_am/Makefile.am: * src/backends/libgbf_mkfile/Makefile.am: * src/gbf/Makefile.am: Fixes for cygwin build. Bug #80485 2007-05-08 Naba Kumar <naba.kumar@gnome.org> * configure.in: * src/backends/libgbf_am/gbf-am-build.c: (gbf_build_run): * src/backends/libgbf_am/gbf-am-project.c: (impl_build), (impl_clean): * src/backends/libgbf_mkfile/gbf-mkfile-build.c: (gbf_build_run): * src/backends/libgbf_mkfile/gbf-mkfile-project.c: (impl_build), (impl_clean): Disable implementation of build/clean projects if no native gnu GRegexp implementation is found. 2007-04-19 Naba Kumar <naba.kumar@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm: Fixed growing newlines at the end of Makefile.am files whenever they are edited. Fixed in correct line format when '\' is given just next to the word. * src/backends/libgbf_am/gbf-am-parse.in: Fixed absolute to relative path conversion for files in the root directory (of the project). Bogus '/' was being added in front. Added DATA and HEADERS targets to EXTRA_DIST for distribution when they are created (and vise versa). * src/backends/libgbf_am/gbf-am-project.c: (impl_name_for_type), (impl_mimetype_for_type), (impl_get_types): Added support for HEADERS primary. 2007-02-08 Günther Brammer <gbrammer@gmx.de> * src/backends/libgbf_am/gbf-am-parse.in: Fix handling of empty SUBDIRS when DIST_SUBDIRS is not empty. 2007-03-13 Pema Geyleg <pema.geyleg@gmail.com> * configure.in: Added 'dz' to ALL_LINGUAS 2007-02-17 Naba Kumar <naba@gnome.org> * src/gbf/create_dialogs.glade, src/gbf/gbf-project-util.c: Improved dialogs and code clean up. * src/backends/libgbf_am/gbf-am-project.c, src/gbf/gbf-project.h, src/gbf/gbf-project-util.c: Improved error reporting and display. Added validations for group/target/source. 2007-02-15 Naba Kumar <naba@gnome.org> * backends/libgbf_am/gbf-project-view.c: Removed debug print. * backends/libgbf_am/gbf-am-project.c, backends/libgbf_mkfile/gbf-mkfile-project.c, gbf/gbf-project-view.c: Fixed target mime types (restores correct target icons). === gnome-build 0.1.5 === 2007-02-11 Naba Kumar <naba@gnome.org> * configure.in: Bumped version to 0.1.5. * NEWS: Updated for 0.1.5 release. Added translation updates. 2007-01-24 Naba Kumar <naba@gnome.org> * src/gbf/gbf-project-view.c: Implemented typeahead find for targets. Fixes bug #398986. 2007-01-24 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-properties.c: (gbf_am_properties_get_group_widget), (gbf_am_properties_get_target_widget): Fixed table layout 2007-01-17 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am.server.in.in * src/backends/libgbf_am/Makefile.am * src/backends/libgbf_mkfile/gbf-mkfile.server.in.in * src/backends/libgbf_mkfile/Makefile.am * po/POTFILES.in: Moved .in files to .in.in files and adjusted POTFILES.in. This should fix #377220. Thanks much to Gabor Kelemen <kelemeng@gnome.hu> for his help! 2007-01-16 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-properties.c: * src/backends/libgbf_am/gbf-am-parse.in: Added support for nearly all compiler variables that automake knows about: Group: AM_CFLAGS, AM_CPPFLAGS, AM_CXXFLAGS, AM_GCJFLAGS, AM_JAVAFLAGS, AM_FFLAGS Target: CFLAGS, CPPFLAGS, CXXFLAGS, GCJFLAGS, FFLAGS 2007-01-16 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-properties.c: * src/backends/libgbf_mkfile/gbf-mkfile-properties.c: Patch from Elijah Newren <newren@gmail.com> to fix #360460 â Avoid markup in translatable messages * src/backends/libgbf_am/gbf-am-project.c: Patch from Rene Vahtel <vahtel@starman.ee> to fix #364678 â build failure: format '%d' expects type 'int', but argument 4 has type 'gsize' 2007-01-15 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Handle bin_SCRIPTS correctly, related to #335235 2007-01-15 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/gbf-am-properties.c: * src/backends/libgbf_am/gbf-am-parse.in: Added support for AM_CFLAGS (group) and program_CFLAGS (target) Thanks to Diego González (#395892) === gnome-build 0.1.4 === 2007-01-14 Naba Kumar <naba@gnome.org> * NEWS: Updated for release. * configure.in: Bumped version to 0.1.4 for release. * po/POTFILES.in: Added missing file. * src/backends/libgbf_am/gbf-am-properties.c: Fixed a crash bug where there is no variables and a new one is added. Fixes bug #395403 - Project Properties Dialog / Variables. 2006-11-20 Johannes Schmid <jhs@gnome.org> * MAINTAINERS: removed me 2006-10-02 Johannes Schmid <jhs@gnome.org> * gbf-project-utils.h/.c: gbf_project_util_add_source_multi() Use GList* instead of GSList* 2006-09-18 Johannes Schmid <jhs@gnome.org> * configure.in: Fixed #344680 and bumped gdl requirement to 0.7.0 * gnome-build-1.0.pc.in: Fixed depencies (+gdl +gdl-gnome) 2006-09-17 Johannes Schmid <jhs@gnome.org> src/backends/libgbf_mk/gbf-mkfile-project.c: Fixed #324071 src/gbf/test-project-view.c: Fixed #334237 2006-09-11 Günther Brammer <gbrammer@gmx.de> * src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/GBF/AmFiles.pm: Escape xml special characters in the output 2006-08-16 Günther Brammer <gbrammer@gmx.de> * src/backends/libgbf_am/gbf-am-parse.in: Do not remove a leading /../ from paths * src/backends/libgbf_am/GBF/AmFiles.pm: Sync the Makefile.am parsing to CVS automake and separate contents of variables joined by += by a space. 2006-08-09 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm: Reverted patch as it breaks things. Günther is working on an improved version 2006-08-08 Günther Brammer <GBrammer@gmx.de> * src/backends/libgbf_am/GBF/AmFiles.pm: Do not require an extra space at += 2006-07-29 Johannes Schmid <jhs@gnome.org> * autogen.sh: Use gnome-autogen.sh from gnome-common package 2006-05-22 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm: Added AC_SUBSTs for newly created pkg check moules macros in configure.in (of the project). === gnome-build 0.1.3 === 2006-05-14 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm, src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/gbf-am-properties.c: Implemented package name, versoin and url config parameters read/write. 2006-05-14 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm, src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/gbf-am-properties.c: Implemented pkg modules packages set/get. 2006-05-11 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm, src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/gbf-am-properties.c: Added implementation for adding/changing project variables. 2006-04-28 Johannes Schmid <jhs@cvs.gnome.org> * src/backends/libgbf_am/Makefile.am: fixed distcheck * NEWS: Updated 2006-04-27 Naba Kumar <naba@gnome.org> * Makefile.am, configure.in, src/backends/libgbf_am/GBF/AmFiles.pm, src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/gbf-am-project.c, src/backends/libgbf_am/gbf-am-properties.c: Implemented project config commits and saving (not yet in backend script). 2006-04-17 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Remove obsolete entry for no_NO * po/no.po: And the translation. 2006-03-19 Ilkka Tuohela <hile@iki.fi> * configure.in: Added fi to ALL_LINGUAS 2006-03-19 Johannes Schmid <jhs@gnome.org> * src/backends/libgbf_am/Makefile.am: Fixed glade filename 2006-03-19 Naba Kumar <naba@gnome.org> * configure.in, src/backends/libgbf_am/Makefile.am, src/backends/libgbf_am/gbf-am-properties.c, src/backends/libgbf_am/gbf-am-dialogs.glade: Added support for editing project pkg-config modules and versions. 2006-03-15 Johannes Schmid <jhs@gnome.org> * autogen.sh configure.in: Bumped version number because of API change and improved autogen.sh * src/gbf/create_dialogs.glade: src/gbf/gbf-project-util.c: src/gbf/gbf-project-util.h: Allow to add multiple source files in one step 2006-03-13 Johannes Schmid <jhs@gnome.org> * autogen.sh: * configure.in: Fixed build system and removed DEPRECATED_FLAGS * src/backends/libgbf_am/gbf-am-config.c: (gbf_am_config_value_copy): * src/backends/libgbf_mkfile/gbf-mkfile-config.c: (gbf_mkfile_config_value_copy): Fixed GSList bug 2006-02-12 Naba Kumar <naba@gnome.org> * po/POTFILES.in: Update. 2006-02-11 Naba Kumar <naba@gnome.org> * src/backends/libgbf_mkfile/gbf-mkfile-project.c: Added xml bad casts to prevent build breakage. 2005-09-22 Naba Kumar <naba@gnome.org> Patch from: Eric Greveson <ejg45@cam.ac.uk>: * AUTHORS, configure.in, src/backends/Makefile.am, (added) src/backends/libgbf_mkfile/.cvsignore, (added) src/backends/libgbf_mkfile/Makefile.am, (added) src/backends/libgbf_mkfile/gbf-mkfile-build.c, (added) src/backends/libgbf_mkfile/gbf-mkfile-build.h, (added) src/backends/libgbf_mkfile/gbf-mkfile-config.c, (added) src/backends/libgbf_mkfile/gbf-mkfile-config.h, (added) src/backends/libgbf_mkfile/gbf-mkfile-parse.in, (added) src/backends/libgbf_mkfile/gbf-mkfile-project.c, (added) src/backends/libgbf_mkfile/gbf-mkfile-project.h, (added) src/backends/libgbf_mkfile/gbf-mkfile-properties.c, (added) src/backends/libgbf_mkfile/gbf-mkfile-properties.h, (added) src/backends/libgbf_mkfile/gbf-mkfile.server.in, (added) src/backends/libgbf_mkfile/GBF/.cvsignore, (added) src/backends/libgbf_mkfile/GBF/General.pm, (added) src/backends/libgbf_mkfile/GBF/Make.pm, (added) src/backends/libgbf_mkfile/GBF/Makefile.am: Added makefile project backend. * src/gbf/gbf-tree-data.c, src/gbf/test-project-view.c: Code to test make backend too. 2005-08-24 Pawan Chitrakar <pchitrakar@gmail.com> * configure.in: Added ne in ALL_LINGUAS 2005-08-10 Adam Weinberger <adamw@gnome.org> * src/backends/libgbf_am/gbf-am-project.c: Spelling tweaks (fixes bug #308027). 2005-08-05 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Parse project properties from configure.in, such as pkg modules checks, variables, substitutions. 2005-08-02 Maxim Dziumanenko <mvd@mylinux.ua> * configure.in: Added 'uk' to ALL_LINGUAS. 2005-07-27 Naba Kumar <naba@gnome.org> Patch from Enver ALTIN <ealtin@parkyeri.com>: * src/backends/libgbf_am/gbf-am-project.c, src/gbf/gbf-backend.c: Fixed gcc4 compile errors with BAD_CAST. 2005-07-17 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Do not report error when a target prefix does not have install dir defined (because, this does not necessarily represent error condition). Allow configuring installdir of newly created targets. Removed empty installdir macros and other target config macros. 2005-06-14 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in: Disabled debug print. * src/backends/libgbf_am/gbf-am-project.c: Gave a more descriptive names for java and python primaries. * src/gbf/gbf-project-model.c: Render java and python modules in target shortcuts. 2005-06-14 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/gbf-am-project.c: Added support for JAVA and PYTHON primaries and target types. Fixed simple primary writer to add/remove sources correctly with relative paths. 2005-06-01 Naba Kumar <naba@gnome.org> * MAINTAINERS: Added my name and removed Jeroen's. === gnome-build 0.1.2 === 2005-05-27 Naba Kumar <naba@gnome.org> * NEWS: Updated. 2005-05-24 Naba Kumar <naba@gnome.org> * src/gbf/gbf-project-util.c, src/gbf/gbf-project-util.h, src/gbf/test-project-view.c: - Changed gbf_project_util_add_source(), gbf_project_util_new_group(), gbf_project_util_new_target() definitions to return the added element ids (or NULL). - Select proper default target/group when prompting for adding source/target/group. - Do not expand all nodes in selection tree when default selection are given (eases navigation in big projects). - Code clean ups. 2005-06-18 Naba Kumar <naba@gnome.org> * src/gbf/gbf-project-view.c, src/gbf/gbf-project-view.h: Added group-activated signal to complement target-selected signal. 2005-06-13 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/GBF/AmFiles.pm: - Fixed remove target/group update by removing them from internal hashes. - Created target config macros near _SOURCES macro. - Delete empty target config macros. - Added additional parameter in macro_rewrite funtion for passing a hint. - Check of existing directory and do not overwirte existing Makefile.am file when creating new group. - Remove group from configure output files list when the group is removed. - Fixed xml escaping in config values. 2005-06-10 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/gbf-am-project.c: Added change sets for removing targets/groups. * src/backends/libgbf_am/gbf-am-parse.in, src/backends/libgbf_am/gbf-am-project.c: Completed remove target and remove group implementations. Changes in gbf-am-parse that were missed in previous commit. * src/gbf/gbf-project.c, src/gbf/gbf-project.h: Added gbf_project_get_all_groups() to complement gbf_project_get_all_targets and gbf_project_get_all_sources(). * configure.in: Bumped version to 0.1.2 to accomodate new APIs. 2005-06-10 Naba Kumar <naba@gnome.org> * (added) src/backends/libgbf_am/gbf-am-properties.c, (added) src/backends/libgbf_am/gbf-am-properties.h, src/backends/libgbf_am/Makefile.am, src/backends/libgbf_am/gbf-am-config.c, src/backends/libgbf_am/gbf-am-config.h, src/backends/libgbf_am/gbf-am-project.c, src/backends/libgbf_am/gbf-am-project.h, src/gbf/gbf-project.c, src/gbf/gbf-project.h: Implemented target/group configuration in am project backend. Partial implementation of target/group removal. 2005-06-05 Ignacio Casal Quinteiro <nacho.resa@gmail.com> * configure.in: Added 'gl' to ALL_LINGUAS. 2005-05-20 Naba Kumar <naba@gnome.org> * configure.in: Fixed backends dir path in config.h * configure.in: Fixed backends directory variable. * gnome-build.spec.in: Fixed RPM package creation. 2005-05-18 Naba Kumar <naba@gnome.org> * src/backends/libgbf_am/GBF/AmFiles.pm, src/backends/libgbf_am/GBF/General.pm: Take white spaces after trailing backslashes (line continuation) to be valid. === gnome-build 0.1.1 === 2005-05-14 Naba Kumar <naba@gnome.org> * configure.in, NEWS: Bumped version to 0.1.1 and prepared for release. * src/backends/libgbf_am/GBF/AmFiles.pm: Fixed perl error handler. * autogen.sh: Removed strict automake requirement. 2005-04-01 Steve Murphy <murf@e-tools.com> * configure.in: Added "rw" to ALL_LINGUAS. 2004-12-25 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Add «nb» to ALL_LINGUAS. 2004-11-06 Amanpreet Singh Alam <aalam@redhat.com> * configure.in: pa is added to ALL_LINGUAS 2004-05-01 Adam Weinberger <adamw@gnome.org> * configure.in: Added en_CA to ALL_LINGUAS. 2004-04-24 Andras Timar <timar@gnome.hu> * configure.in: Added hu to ALL_LINGUAS. 2004-04-10 Gareth Owen <gowen72@yahoo.com> * configure.in: Added en_GB to ALL_LINGUAS 2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr> * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. 2004-01-17 Aurelien Naldi <aurelien@resus.univ-mrs.fr> * src/backends/libgbf_am/gbf-am-project.c (impl_get_build_targets): return a list of buildable targets (defaults one and user's one) * src/backends/libgbf_am/gbf-am-build.h: replace GbfBuildType by an id and add some #define for default target id * src/backends/libgbf_am/gbf-am-build.c (gbf_build_run): build all valid targets * src/gbf/gbf-project.h: remove GbfBuildType * src/gbf/gbf-project.c (gbf_project_build_default): new function 2004-01-13 Gustavo Giráldez <gustavo.giraldez@gmx.net> * src/gbf/glue-factory.c (load_plugin): * src/gbf/glue-plugin.c (glue_plugin_load): Fix strict aliasing compiler warning in newer GCC. 2003-12-27 Gustavo Giráldez <gustavo.giraldez@gmx.net> * src/gbf/gbf-project-util.c: Use GtkTreeModelFilter. (custom_widget_handler): Glade custom widget handler, to create GbfProjectView and GtkComboBox (not yet supported in libglade). (gbf_project_util_new_target): Port target types combo box to GtkComboBox. * src/gbf/create_dialogs.glade: Use glade custom widgets for the project views and the target type combo box. * src/gbf/Makefile.am: Remove eggtreemodelfilter.[ch] in favor of GtkTreeModelFilter. * configure.in: Require Gtk 2.3.0 and Gdl 0.4.0. Set deprecated flags and compiler warnings according to maintainer mode. 2003-12-26 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/gbf/gbf-project-util.c (build_types_menu): * src/gbf/gbf-project-view.c (gbf_project_view_instance_init): Adapt to GdlIcons API change. 2003-11-03 Hasbullah Bin Pit <sebol@ikhlas.com> * configure.in: Added ms (Malay) to ALL_LINGUAS. 2003-09-14 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/backends/libgbf_am/gbf-am-project.c: (impl_build), (impl_clean), (impl_refresh), (impl_get_build_targets), (gbf_am_project_class_init): * src/gbf/create_dialogs.glade: HIGify dialogs. * src/gbf/gbf-project.c: (gbf_project_build), (gbf_project_clean), (gbf_project_refresh), (gbf_project_get_build_targets): * src/gbf/gbf-project.h: Adds clean and refresh methods to GbfProject. More to follow later. 2003-09-09 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/backends/libgbf_am/gbf-am-build.c: (parse_output): Add a couple of FIXMEs for future reminder. * src/gbf/gbf-build-info.c: (build_callback): Idem. 2003-09-07 Rui Lopes <rui@ruilopes.com> * src/backends/libgbf_am/gbf-am-build.c: (build_info_free), (parse_output), (build_output_cb), (gbf_build_run): Fixed file descriptor leakage. Fixed memory leaks. Added charset conversion from locale to UTF-8 into program capture io channel. 2003-08-11 Alex Duggan <aldug@astrolinux.com> * configure.in: Fix chmod +x warnings * src/gbf/Makefile.am: Add libgbfmarshal.list to EXTRA_DIST 2003-08-10 Wang Jian <lark@linux.net.cn> * configure.in: Added "zh_CN" to ALL_LINGUAS. === gnome-build 0.1.0 === 2003-08-08 Jeroen Zwartepoorte <jeroen@xs4all.nl> * MAINTAINERS: Updated. * configure.in: Added libtool versioning. * src/backends/libgbf_am/Makefile.am: Idem. * src/gbf/Makefile.am: Idem. 2003-08-04 Jeroen Zwartepoorte <jeroen@xs4all.nl> * configure.in: Update dependencies. 2003-07-25 Pablo Saratxaga <pablo@mandrakesoft.com> * configure.in: Added Macedonian (mk) to ALL_LINGUAS 2003-07-22 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/gbf/gbf-project-model.h: * src/gbf/gbf-project-view.h: Include some missing headers. 2003-06-17 Guntupalli Karunakar <karunakar@freedomink.org> * configure.in: Added "ml" to ALL_LINGUAS. 2003-05-16 Danilo Å egan <dsegan@gmx.net> * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-05-03 Jeroen Zwartepoorte <jeroen@xs4all.nl> * configure.in: Remove libgtkhtml dependency. * gnome-build-1.0.pc.in: Idem. 2003-05-02 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/gbf/gbf-project.h: Add GBF_PROJECT_ERROR_SUCCESS = 0 and GBF_PROJECT_ERROR_GENERAL_FAILURE to the errors enum. * src/backends/libgbf_am/gbf-am-project.c (uri_normalize): Strip trailing slash since that made uri_is_parent() not work correctly. (error_set, parse_errors): Implement script error parsing. (queue_check): Pass the path to the project root, not the URI to gbf_build_run. (project_reload, project_update): Parse errors if any and set them in the passed GError structure. * src/backends/libgbf_am/gbf-am-parse.in (create_group): Emit a warning if a group's Makefile.am is missing. (group_op_handler): Modify the SUBDIRS macro only after we have created all the necessary files and directories. * src/backends/libgbf_am/gbf-am-build: Removed obsolete file. 2003-04-26 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/gbf/gbf-project.h: Reformatted class definition. Changed all char types to gchar. add_group, add_target and add_source now return gchar* instead of const gchar* meaning the user is responsible for g_free'ing the result. (GBF_BACKEND_BOILERPLATE): Register the type as static when plugin is NULL. This is so we can link to backend libraries directly which makes testing easier. * src/gbf/gbf-project.c: Idem * src/gbf/gbf-project-util.c (gbf_project_util_add_source) (gbf_project_util_new_group, gbf_project_util_new_target): Free the returned new id. * src/backends/libgbf_am/gbf-am-project.c (sax_start_element) (parse_output_xml, project_update): Added change set computing after a project update. (change_new, change_free, change_set_find, change_set_destroy): New functions. (impl_add_group, impl_add_target, impl_add_source): Use the new change set feature to return the id for the just created element. * src/backends/libgbf_am/test.c: Rewritten to use the automake backend directly and test all the implemented methods and features. * src/backends/libgbf_am/Makefile.am: Link test program to the libgbf-am.la library to use the backend directly. * src/backends/libgbf_am/run-test.sh: Wrapper script which creates a testing project and executes the test application creating. 2003-04-26 Takeshi AIHANA <aihana@gnome.gr.jp> * configure.in: Added 'ja' into ALL_LINGUAS. 2003-04-23 Gustavo Giraldez <gustavo.giraldez@gmx.net> * configure.in: Require gnome-vfs 2.2.0 * src/backends/libgbf_am/gbf-am-project.h: * src/backends/libgbf_am/gbf-am-project.c: Major cleanup and refactoring. The code looks less scary now and should be more maintainable. Internally the project is stored in a GNode tree which is more flexible and seems more natural. URIs and paths management is much cleaner now. Script spawning simplified, no longer reaps the child process (caused unnecessary delays and conflicted with VteReaper from the vte module). * src/gbf/gbf-project-model.c (finalize, dispose): Chain parent_class' methods. * src/backends/libgbf_am/gbf-am-config.c (gbf_am_config_mapping_destroy): Accept NULL values. 2003-04-09 Pablo Saratxaga <pablo@mandrakesoft.com> * configure.in: Added Catalan (ca) to ALL_LINGUAS 2003-04-09 Gustavo Giraldez <gustavo.giraldez@gmx.net> * AUTHORS: Updated. * MAINTAINERS: New file. * autogen.sh: Require automake 1.7.2. * gnome-build-clean.sh: * acconfig.h: * src/gbf/GNOME_Development_BuildControls.server.in: * src/gbf/commands.h: * src/gbf/commands.c: * src/gbf/control-factories.c: * src/gbf/gbf-target-tree.c: * src/gbf/gbf-target-tree.h: * src/gbf/gbf-tree.xml: * src/gbf/menus.c: * src/gbf/menus.h: Removed obsolete files. * src/gbf-i18n.h: * src/gbf-i18n.c: New files for i18n of the libraries. * configure.in: * Makefile.am: * src/backends/libgbf_am/Makefile.am: * src/backends/libgbf_am/gbf-am-build.c: * src/backends/libgbf_am/gbf-am-config.c: * src/backends/libgbf_am/gbf-am-project.c: * src/backends/libgbf_am/test.c: * src/gbf/Makefile.am: * src/gbf/gbf-backend.c: * src/gbf/gbf-build-info.c: * src/gbf/gbf-project-model.c: * src/gbf/gbf-project-util.c: * src/gbf/gbf-project-view.c: * src/gbf/gbf-project.c: * src/gbf/gbf-tree-data.c: * src/gbf/glue-factory.c: * src/gbf/glue-plugin.c: * src/gbf/test-project-view.c: * src/gbf/test.c: Cleanup, make distcheck pass and build with -Werror. Include config.h and gbf-i18n.h to get translated strings. * src/gbf/test-controls.xml: Removed help entries 2003-04-08 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/gbf/gbf-project.h: * src/gbf/gbf-project.c: Remove icon_for_type; replaced by mimetype_for_type. * src/backends/libgbf_am/gbf-am-project.c (impl_mimetype_for_type): New function. * src/gbf/gbf-tree-data.h: * src/gbf/gbf-tree-data.c: Implement new functions to create GbfTreeData of each type. * src/gbf/gbf-project-model.c: Changed to use gbf_tree_data_new_* instead of gbf_tree_data_new. * src/gbf/gbf-project-util.c (build_types_menu): Get icons for target types using GdlIcons from the mimetypes reported by the project. 2003-04-06 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/gbf/gbf-project-view.h: * src/gbf/gbf-project-view.c (gbf_project_view_find_selected): New function to get the selected item of a given GbfTreeNodeType. It will walk up the hierarchy if the currently selected item is not of the specified type. * src/gbf/gbf-project-util.c (set_groups_treeview) (set_targets_treeview): Set default selected item with gtk_tree_view_set_cursor. (gbf_project_util_new_group, gbf_project_util_new_target) (gbf_project_util_add_source): Use the new gbf_project_view_find_selected. 2003-04-06 Gustavo Giraldez <gustavo.giraldez@gmx.net> Moved all files from src/lib and src/controls to src/gbf so installable headers are namespaced in the build (Thanks JP! :-) * configure.in: Added src/gbf/Makefile to the list of configure built files. Removed src/lib/Makefile and src/controls/Makefile * src/Makefile.am: added gbf/ to subdirs and removed lib and controls * src/backends/libgbf_am/Makefile.am: changed include directories from src/lib to src/gbf. * src/backends/libgbf_am/*.h: Include properly namespaced headers 2003-04-06 Duarte Loreto <happyguy_pt@hotmail.com> * configure.in: Added "pt" to ALL_LINGUAS. * src/backends/libgbf_am/gbf-am-project.c: Fixed typo (Documenation) 2003-04-05 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/backends/libgbf_am/gbf-am-parse.in: Move configure.in parsing function to GBF/AmFiles.pm. Add support for creating new groups. * src/backends/libgbf_am/gbf-am-project.c: Implement add_group and add_target. Implement new get_types. Make add_source handle relative paths and accept not-yet-created files. * src/backends/libgbf_am/GBF/AmFiles.pm: New functions to read and modify autoconf's configure.in file. * src/backends/libgbf_am/GBF/General.pm: Added some utility functions * src/controls/Makefile.am: Add new glade file. Add new source files to build. * src/controls/create_dialogs.glade: New GUI file containing New Target/Source/Group dialogs. * src/controls/eggtreemodelfilter.[ch]: Copied from libegg to implement the dialogs' target and group selectors from the original project tree model. * src/controls/gbf-project-model.h: * src/controls/gbf-project-model.c (gbf_project_model_find_id): New function to lookup a project element in the model. (gbf_project_model_get/set_project): New functions to dinamically change the underlying project object. * src/controls/gbf-project-util.[ch]: New files implementing the new group/target/source dialogs. * src/controls/test-controls.xml: * src/controls/test-project-view.c: Add verbs and menu items to invoke the new dialogs. * src/lib/gbf-project.h: * src/lib/gbf-project.c: Add new object method get_types to get a list of available target types (for target creation). 2003-03-25 Metin Amiroff <metin@karegen.com> * configure.in: Added "az" to ALL_LINGUAS. 2003-02-20 Dmitry G. Mastrukov <dmitry@taurussoft.org> * configure.in: Added Belarusian to ALL_LINGUAS. 2003-02-06 Daniel Yacob <locales@geez.org> * configure.ac: Added "am" (Amharic) to ALL_LINGUAS. 2003-02-05 Thomas Vander Stichele <thomas at apestaart dot org> * configure.in: fix aclocal maintainer flags 2003-01-28 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/backends/libgbf_am/gbf-am-project.c: (impl_probe), (gbf_am_project_class_init): Add probe implementation that checks for Makefile.am and configure.in or configure.ac in the specified dir. * src/lib/gbf-project.c: (gbf_project_probe): New probe method. Returns TRUE if the backend is capable of loading the project in the specified directory. * src/lib/gbf-project.h: Idem. 2003-01-25 Michael Karcher <karcher@physik.fu-berlin.de> * src/controls/gbf-build-info.c: (build_callback), (create_tag_table), (error_link_cb): Separators (U+FEFF) between errors/warnings; fixed copy and paste errors. 2003-01-21 Kjartan Maraas <kmaraas@gnome.org> * configure.in (ALL_LINGUAS): Added "no". 2003-01-20 Pablo Saratxaga <pablo@mandrakesoft.com> * configure.in: Added German (de) and Dutch (nl) to ALL_LINGUAS 2003-01-19 Gustavo Gir=E1ldez <gustavo.giraldez@gmx.net> * configure.in: Bumped GnomeVFS required version to 2.0.0. * src/backends/libgbf_am/gbf-am-parse.in: Output project and groups source files, i.e. configure.in and Makefile.am files paths for monitoring. * src/backends/libgbf_am/gbf-am-project.c (monitor_cb) (monitor_add, monitors_remove, monitors_setup): Implement project source files monitoring. (sax_start_element): Clear project data if we are parsing a full report of the project. Save source files for groups and the project itself. (process_project): Install monitors after processing script output. (project_unload): Splitted function, resulting in project_data_destroy and project_unload to reuse code in project_data_clear. (impl_add_source): Verify that the added source is inside the project directory by using GnomeVFSURI, which is more robust than strncmp. Check for source duplicates. * src/controls/gbf-project-model.c (update_group): Walk the tree recursively even if we the group has been removed. This is to remove target shortcuts belonging to removed groups. 2003-01-13 Gustavo Gir=E1ldez <gustavo.giraldez@gmx.net> * src/backends/libgbf_am/gbf-am-project.c (check_child): Handle the case when waitpid returns an error because somebody else has already reaped the child. 2003-01-12 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/backends/libgbf_am/gbf-am-project.c (uri_ensure_local), (write_source_uri): Use new function uri_ensure_local to convert full URIs (i.e. file:///...) to a local path. * src/controls/default-icon.[ch]: * src/controls/gbf-project-tree.[ch]: * src/controls/gbf-target-tree.[ch]: * src/controls/test-controls.c: * src/controls/Makefile.am: Removed files obsoleted by GbfProjectModel/View. * src/controls/test-project-view.c: Test program for the widget. * src/controls/gbf-project-model.[ch]: * src/controls/gbf-project-view.[ch]: New GbfProjectModel/View widget to display gnome-build projects. * src/controls/gbf-tree-data.[ch]: Changed to the new model needs. * src/lib/gbf-project.[ch]: GbfProjectGroup, GbfProjectTarget and GbfProjectTargetSource are now GBoxed. New copying and freeing functions for these types. 2003-01-02 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/controls/gbf-target-tree.c: * src/controls/gbf-project-tree.c: Create root URI reference at load_data time, not when the user sets the project. * src/backends/libgbf_am/GBF/AmFiles.pm (expand_one_var): Handle multiple substitution macros correctly. * src/backends/libgbf_am/gbf-am-project.c (get_project): Return -1 on error, not the forked child exit status. 2002-12-29 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/controls/Makefile.am: Forgot to remove utils.[ch]. * src/controls/gbf-build-info.c: Idem. 2002-12-29 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/controls/gbf-project-tree.c: (gbf_project_tree_instance_init), (destroy_tree_node), (dispose), (set_pixbuf), (set_text), (find_parent): Use new gdl-icons API. Fix memory leak. * src/controls/gbf-target-tree.c: (gbf_target_tree_instance_init), (dispose), (set_pixbuf), (set_text), (row_activated_cb): Use new gdl-icons API. Fix memory leak. * src/controls/utils.c: Obsolete. g_path_get_basename is now used. * src/controls/utils.h: Idem. 2002-12-23 Artis Trops <hornet@navigator.lv> * configure.in: Added Latvian (lv) to ALL_LINGUAS. 2002-12-23 Miloslav Trmac <mitr@volny.cz> * configure.in: Added cs (Czech) to ALL_LINGUAS 2002-11-26 Gustavo Noronha Silva <kov@debian.org> * src/backends/libgbf_am/gbf-am-config.h: there was an unamed union on struct _GbfAmConfigValue breaking the build. 2002-10-10 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/backends/libgbf_am/gbf-am-project.c (write_child), (read_output), (read_error), (spawn_script): Handle the case when the condition is a bitwise combination of G_IO_* values. If by the time the script has exited the watches are not yet removed, perform one more main loop iteration to flush any pending data. 2002-09-28 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/backends/libgbf_am/gbf-am-build.c: (build_msg), (parse_output), (build_output_cb), (gbf_build_run): Emit build signals (start/stop). Some cleanup. * src/backends/libgbf_am/gbf-am-project.c: (check_queue), (project_unload): Add a new idle callback after completing a task so as not to keep the CPU at 100%. Remove idle callback in project_unload. * src/lib/gbf-project.c: (gbf_project_class_init): Register build signals. * src/lib/gbf-project.h: Add build_start/stop signals. 2002-09-21 Gustavo Giraldez <gustavo.giraldez@gmx.net> * src/lib/gbf-project.h: * src/lib/gbf-project.c (gbf_project_class_init): New signal project-updated. * src/controls/gbf-build-info.c (set_property), (dispose): Keep a ref to the project and unref it on object disposal. * src/controls/gbf-project-tree.c (set_property), (dispose): * src/controls/gbf-target-tree.c (set_property), (dispose): Keep a ref to the project and unref it on object disposal. Connect to the project-updated signal. * src/backends/libgbf_am/gbf-am-project.c (write_source_uri): Get the URI instead of a source object (write_add_source): Idem. (sax_start_element): Parse partial reports by modifying the existing project to make update notifications work. (update_project): Process received output from the script (which should contain a partial report of the changed groups) and emit project-updated signal. * src/backends/libgbf_am/gbf-am-parse.in: Report back modified group after performing project operations. Renamed some functions to follow the gnome convention of object_action (object, ...). * src/backends/libgbf_am/GBF/AmFiles.pm: Added function am_file_reset. * src/controls/Makefile.am: Added libgbfmarshal.[ch] to BUILT_SOURCES so they get cleaned. 2002-09-21 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/backends/libgbf_am/gbf-am-build.c: (build_msg), (parse_output), (build_output_cb), (gbf_build_run): Cleanup some code and fix some memleaks. * src/backends/libgbf_am/gbf-am-project.c: (check_queue), (write_source), (project_unload), (find_callback): Fix some memleaks. * src/controls/Makefile.am: Build libgbfmarshal.[ch] first. * src/controls/gbf-build-info.c: (get_property), (set_property), (dispose), (build_callback), (motion_notify_cb), (warning_link_cb), (error_link_cb): Use get_end_iter instead of insert mark, fix some unref issues. * src/controls/gbf-project-tree.c: (dispose): Remove lone unref. * src/controls/gbf-target-tree.c: (dispose): Idem. * src/lib/gbf-project.c: (gbf_project_class_init): Remove obsolete signals. * src/lib/gbf-project.h: Idem. 2002-09-18 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/backends/libgbf_am/Makefile.am: Removed gbf-am-build script. * src/backends/libgbf_am/gbf-am-project.c: (check_queue), (write_source), (project_init), (impl_add_build_callback), (find_callback), (impl_remove_build_callback), (gbf_am_project_class_init): Implemented project building. * src/backends/libgbf_am/gbf-am-project.h: Idem. * src/controls/Makefile.am: Added libgbfmarshal. * src/controls/gbf-build-info.c: (gbf_build_info_class_init), (gbf_build_info_instance_init), (get_property), (set_property), (dispose), (foreach_warning_remove), (foreach_error_remove), (build_callback), (create_tag_table), (motion_notify_cb), (warning_link_cb), (error_link_cb), (gbf_build_info_new): Rewrote widget using GtkTextView now instead of GtkHtml. * src/controls/gbf-build-info.h: Idem. * src/lib/gbf-project.c: (gbf_project_add_build_callback), (gbf_project_remove_build_callback): Added helper functions. * src/lib/gbf-project.h: New build callback and warning & error structures defined. 2002-09-17 Gustavo Giráldez <gustavo.giraldez@gmx.net> * src/backends/libgbf_am/gbf-am-project.c (write_source): Change the source's root path to the project root directory. (impl_add_source): Check that the source we're adding is inside the project tree. * src/lib/gbf-project.c (gbf_project_error_quark): use g_quark_from_string instead of g_quark_from_static_string. 2002-09-13 Gustavo Giráldez <gustavo.giraldez@gmx.net> * configure.in: Add BACKEND_DIR define instead of hardcoding it in the source. * src/backends/libgbf_am/gbf-am-parse.in (remove_files_from_built_files): Escape substituted variable in regular expression match. * src/backends/libgbf_am/gbf-am-project.c (project_unload): Always destroy project data. (gbf_am_project_dispose): Free the private structure too. * src/controls/test-controls.c: * src/controls/test-controls.xml: Implement project close. * src/lib/gbf-backend.c: * src/lib/glue-factory.c: Plug some memleaks. 2002-09-01 Dave Camp <dave@ximian.com> * src/lib/gbf-project.[ch]: Added helper functions for the GbfProject vtable (such as gbf_project_add_source()) 2002-08-28 Gustavo Noronha Silva <kov@debian.org> * configure.in (ALL_LINGUAS): added pt_BR 2002-08-28 Jeroen Zwartepoorte <jeroen@xs4all.nl> * configure.in: Removed orbit, libbonobo dependencies and IDL configure stuff. 2002-08-27 Jeroen Zwartepoorte <jeroen@xs4all.nl> * Makefile.am: * configure.in: * gnome-build-1.0.pc.in: * idl/.cvsignore: * idl/Makefile.am: * idl/gbf-project.idl: * idl/gbf-types.idl: * idl/gnome-build.idl: * src/backends/libgbf_am/.cvsignore: * src/backends/libgbf_am/GNOME_Development_Project_Automake.server. in: * src/backends/libgbf_am/Makefile.am: * src/backends/libgbf_am/gbf-am-project.c: (read_output), (spawn_script), (parse_error_buffer), (build_project_op), (impl_load), (impl_build), (impl_get_group), (impl_configure_new_group), (impl_configure_group), (impl_add_group), (impl_remove_group), (impl_get_target), (foreach_target), (impl_get_all_targets), (impl_configure_new_target), (impl_configure_target), (impl_add_target), (impl_remove_target), (impl_name_for_type), (impl_icon_for_type), (impl_get_source), (foreach_source), (impl_get_all_sources), (impl_configure_new_source), (impl_configure_source), (impl_add_source), (impl_remove_source), (gbf_am_project_dispose), (gbf_am_project_get_property), (gbf_am_project_class_init), (gbf_am_project_instance_init), (gbf_am_project_new): * src/backends/libgbf_am/gbf-am-project.h: * src/backends/libgbf_am/gbf-am.server.in: * src/backends/libgbf_am/main.c: * src/backends/libgbf_am/test.c: (main): * src/controls/Makefile.am: * src/controls/gbf-build-info.c: (gbf_build_info_class_init), (gbf_build_info_instance_init), (get_property), (set_property), (dispose), (file_msg), (link_clicked_cb): * src/controls/gbf-build-info.h: * src/controls/gbf-project-tree.c: (gbf_project_tree_class_init), (gbf_project_tree_instance_init), (get_property), (set_property), (dispose), (set_pixbuf), (set_text), (load_data), (row_activated_cb), (insert_no_project_node): * src/controls/gbf-project-tree.h: * src/controls/gbf-target-tree.c: (gbf_target_tree_class_init), (gbf_target_tree_instance_init), (get_property), (set_property), (dispose), (set_pixbuf), (set_text), (load_data), (row_activated_cb): * src/controls/gbf-target-tree.h: * src/controls/test-controls.c: (open_cb), (open_project), (create_window), (main): * src/lib/.cvsignore: * src/lib/Makefile.am: * src/lib/gbf-backend.c: (destroy_backend), (str_has_suffix), (get_attr), (read_backend_attributes), (backend_from_attributes), (load_backend), (load_backend_file), (load_backends_from_directory), (load_available_backends), (gbf_backend_init), (gbf_backend_get_backends), (gbf_backend_new_project): * src/lib/gbf-backend.h: * src/lib/gbf-project.c: (gbf_project_class_init), (gbf_project_instance_init), (gbf_project_error_quark): * src/lib/gbf-project.h: * src/lib/glue-factory.c: (glue_factory_get_type), (glue_factory_class_init), (glue_factory_init), (glue_factory_new), (glue_factory_add_path), (get_already_loaded_module), (load_plugin), (glue_factory_get_object_type): * src/lib/glue-factory.h: * src/lib/glue-plugin.c: (glue_plugin_get_type), (glue_plugin_load), (glue_plugin_unload), (glue_plugin_class_init), (glue_plugin_init), (glue_plugin_new): * src/lib/glue-plugin.h: * src/lib/test.c: (main): Remove bonobo usage for backend activation and communication with the backend. Instead, use glue (gmodule based) to create project backend. Lots of CORBA code removed & result should be easier to work with. 2002-08-01 Christophe Merlet <christophe@merlet.net> * configure.in: Added fr to ALL_LINGUAS 2002-06-28 Gustavo Giraldez <gustavo.giraldez@gmx.net> * configure.in: Added perl requirements for the automake parse script. Added gbf-am-parse to the list of configure generated files * gnome-build-clean.sh: minor fix to not count grep processes * idl/Makefile.am: install gbf-types.idl * src/backends/libgbf_am/GBF/Makefile.am, * src/backends/libgbf_am/GBF/AmFiles.pm, * src/backends/libgbf_am/GBF/General.pm: New perl modules for the parser script. * src/backends/libgbf_am/gbf-am-parse.in: New script. As is generated at configure time (some substitutions are required) it replaces gbf-am-parse. * src/backends/libgbf_am/output.dtd: DTD describing parser output. * src/backends/libgbf_am/Makefile.am: include GBF subdir, add gbf-am-config.[ch] files to compilation * src/backends/libgbf_am/gbf-am-config.[ch]: New files which describe structures to accomodate project, group and target configuration. * src/backends/libgbf_am/gbf-am-project.c: Integrated the new parser script. New method for spawning scripts should be better when we decide to make such operations asynchronously. Project information is no longer kept in CORBA structs, but in plain C structs for more flexibility. Implemented functions to ease data structures lifecycle managment. Reworked and extended xml parser to accomodate to output from the new script. * src/backends/libgbf_am/main.c: Removed signal handler. * src/backends/libgbf_am/test.c: Fixed some leaks. Print group hierarchy. * src/controls/Makefile.am: Add src/lib as an include directory for compilation. * src/controls/control-factories.c, * src/controls/gbf-project-tree.c, * src/controls/gbf-target-tree.c: Fixed some memory and object reference leaks. * src/controls/test-controls.c: Fixed some leaks. Changed listener addition code with simpler sugar wrapper from bonobo. * src/lib/Makefile.am: Put corba generated files in clean list. 2002-06-04 Pablo Saratxaga <pablo@mandrakesoft.com> * configure.in: Added Vietnamese (vi) to ALL_LINGUAS 2002-06-04 Marcel Telka <marcel@telka.sk> * configure.in: Added "es" and "sk" to ALL_LINGUAS. 2002-04-09 Dave Camp <dave@ximian.com> * src/controls/gbf-target-tree.c (init): Create the "no project" node and insert it into the tree. (load_data): Insert the no-project node if there is no project. (insert_no_project_node): New function. (set_text): Don't strdup everything unneccesarily. * src/controls/gbf-project-tree.c (init): Create the "no project" node and insert it into the tree. (load_data): Insert the no-project node if there is no project. (insert_no_project_node): New function. (set_text): Don't strdup everything unneccesarily. * src/controls/gbf-build-info.c (init): Set the shadow type on the scrolled window. 2002-03-17 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/Makefile.am: don't include includedir * src/lib/Makefile.am: ditto 2002-03-15 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/Makefile.am: add lib dir to includes * src/controls/Makefile.am: ditto 2002-03-14 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse (write_file): write the new Makefile.am (add_source): add a source (remove_source): remove a source (xml_scan_make_kid_array): allow colons in the string (xml_parse_add): parse an add op (xml_parse_remove): parse a remove op (xml_parse_ops): parse ops (xml_parse): parse a project * src/backends/libgbf_am/gbf-am-project.c (source_store): store a source in the hash tables (source_remove): remove a source from the hash tables (write_group_chain): write a group hierarchy (write_target): write a target (write_source): write a source (write_add_source): write the xml to add a source (write_remove_source): write the xml to remove a source (create_change_xml): create an xml change doc (sax_start_element): use source_store (update_project): write project modifications to the script (impl_get_group): copy the group (impl_add_source): implement (impl_remove_source): ditto * src/controls/gbf-tree.xml: tidy * src/backends/libgbf_am/test.c: try to remove a source * gnome-build-1.0.pc.in (prefix): libs is -lgbf-1 again * Makefile.am: trash Conf.sh stuff * configure.in: include lib dir, look for appropriate packages * idl/gbf-types.idl: have groups point to their parents, targets to their groups and sources to their targets * src/Makefile.am: build lib dir * src/controls/Makefile.am: link to the lib instead of building the idl * src/backends/libgbf_am/Makefile.am: ditto * src/lib/Makefile.am: build the idl files into a library 2002-03-10 Dave Camp <dave@ximian.com> * configure.in: Require gdl. * src/controls/Makefile.am: Don't build images.[ch]. * src/controls/gbf-project-tree.c: (set_pixbuf): * src/controls/gbf-target-tree.c: (set_pixbuf): Use the gdl_icons api. 2002-02-23 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/controls/gbf-tree.xml: Use "BuildMenu" placeholder for menuitems 2002-02-23 Jeroen Zwartepoorte <jeroen@xs4all.nl> * src/controls/gbf-target-tree.c, gbf-project-tree.c: added <libgnome/gnome-i18n.h> include for i18n strings 2002-02-23 Jeroen Zwartepoorte <jeroen@xs4all.nl> * configure.in: removed src/lib/Makefile from AC_OUTPUT. 2002-02-23 JP Rosevear <jpr@ximian.com> * src/controls/*.[hc]: tidy and use G_*_DECLS everywhere 2002-02-23 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.c (init): pass tree to cell data functions (init): create icons hash (destroy): destroy icon hash (get_pixbuf): find the pixbuf for a target type (set_pixbuf): use above * src/controls/gbf-target-tree.h: use G_*_DECLS * src/controls/images.c (image_for_type): get a corba icon and return a pixbuf (pixbuf_for_icon): turn a corba icon into a gdk pixbuf * src/controls/images.h: update proto * src/controls/*.xpm: remove unused icons * src/backends/libgbf_am/gbf-am-project.c (impl_name_for_type): implement (create_icon_from_pixbuf): create a corba icon from gdk pixbuf (impl_icon_for_type): implement * src/backends/libgbf_am/gbf-am-project.h: use G_*_DECLS * src/backends/libgbf_am/*.xpm: type icons * idl/gbf-project.idl: return icon for iconForType * idl/gbf-types.idl: add icon type 2002-02-22 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse (extract_targets): use the default source file if no "_SOURCES" variable is found 2002-02-22 Gustavo Giráldez <gustavo.giraldez@gmx.net> * src/controls/gbf-project-tree.c (row_activated_cb): Pass a string as the argument to the event. 2002-02-22 Gustavo Giráldez <gustavo.giraldez@gmx.net> * src/backends/libgbf_am/main.c: Add a SIGCHLD handler to avoid zombie processes. * src/controls/gbf-build-info.c (gbf_build_info_set_project), src/controls/gbf-project-tree.c (gbf_project_tree_set_project), src/controls/gbf-target-tree.c (gbf_target_tree_set_project): Keep a corba reference to the project, and release_unref accordingly. 2002-02-22 Gustavo Giráldez <gustavo.giraldez@gmx.net> * gnome-build-1.0.pc.in: Changed name of the library in libs flags. * src/Makefile.am: Switched order of compilation for subdirs. * src/backends/libgbf_am/Makefile.am, src/backends/libgbf_am/gbf-am-project.h, src/controls/control-factories.c: Fixed build problems. * src/backends/libgbf_am/test.c: Load project from command line. * src/controls/images.c (reload_theme): Load default nautilus theme if it can't open the user configured. 2002-02-21 JP Rosevear <jpr@ximian.com> * Massage idl/api rewrite, redesigned backend to compensate and changed controls to handle. Removed unneeded client library 2002-02-01 Dave Camp <dave@ximian.com> * src/controls/gbf-target-tree.c (gbf_target_tree_load_data): Get rid of the seperation of programs, shared libraries, and static libraries. Just put them all together. (gbf_target_tree_node_set_pixbuf): Use image_for_uri instead of image_for_filename, and unref the pixbuf. * src/controls/gbf-project-tree.c (gbf_project_tree_node_set_pixbuf): Use image_for_uri instead of image_for_filename. (gbf_project_tree_node_set_pixbuf): Unref the pixbuf object. * src/controls/menus.c (menus_add): Use DATADIR instead of GNOME_DATADIR. (menus_add): Use a weak_ref instead of connecting to destroy. * src/controls/images.c: Try to load the nautilus theme if possible. * src/controls/Makefile.am (INCLUDES): Use CONTROL_CFLAGS and CONTROL_LIBS, added -DDATADIR to INCLUDES. * configure.in: Added a new PKG_CHECK_MODULES call for the controls. Replaced GNOME_COMPILE_WARNINGS(error) with GNOME_COMPILE_WARNINGS(maximum). 2002-01-12 Dave Camp <dave@ximian.com> * configure.in: Cleaned up the version stuff. 2002-01-10 Christian Rose <menthos@menthos.com> * configure.in: Added "sv" to ALL_LINGUAS. 2002-01-03 Jeroen Zwartepoorte <jeroen@xs4all.nl> * ported to gnome2. * src/controls/test-controls.c: wrote test program for build controls. 2001-11-18 Gustavo Giráldez <gustavo.giraldez@gmx.net> * src/controls/control-factories.c (project_tree_control_set_frame_cb, target_tree_control_set_frame_cb): Check if control frame is not NIL before adding the menus. * src/controls/gbf-build-info.c (class_init) * src/controls/gbf-project-tree.c (class_init) * src/controls/gbf-target-tree.c (class_init): remove GTK_ARG_CONSTRUCT flag from project argument. 2001-11-15 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.c: include header * src/controls/gbf-build-info.c: use bonobo exception stuff * src/backends/libgbf_am/gbf-am-project.h: include specific header * src/backends/libgbf_am/gbf-am-parse: fix comments 2001-11-15 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.c: use bonobo exception stuff * src/controls/gbf-project-tree.c: ditto * src/backends/libgbf_am/gbf-am-project.[hc]: convert to bonobo x object and use bonobo exception stuff 2001-11-15 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.c: remove debug statements * src/controls/gbf-project-tree.c: ditto 2001-11-15 JP Rosevear <jpr@ximian.com> * src/controls/utils.c (uri_basename): don't g_strdup free'd memory 2001-11-15 JP Rosevear <jpr@ximian.com> * src/controls/gbf-project-tree.c (gbf_pt_find_parent): rewrite to be recursive and use gnome-vfs functionality (gbf_pt_load_be_data): freeze/thaw tree, pass uri to above (gbf_pt_val_at): get basename with util routine (gbf_project_tree_set_project): remember the project root as a gnome vfs uri * src/controls/gbf-target-tree.c (gbf_tt_val_at): return uri * src/controls/gbf-build-info.c (gbi_build_file_msg): write the uri directly (gbi_build_error_msg): ditto (link_clicked_cb): fill in uri field * src/controls/control-factories.c (control_factory): init gnome vfs if necessary * src/controls/images.c (image_for_filename): process uri to find base name for mime type lookup * src/controls/images.h: update proto * src/controls/Makefile.am: build new files * src/backends/libgbf_am/gbf-am-project.c (source_to_list_elem): compare uri's (get_targets_sax_start_element): read uri attribute (parse_error_buffer): populate uri field (impl_get_sources): ditto (impl_add_target_source): use uri field * src/backends/libgbf_am/gbf-am-parse (xml_print_project): make the xml attribute "uri" (extract_targets): create file uris * src/backends/libgbf_am/gbf-am-build (build): spit out uri's * idl/gnome-build.idl: sources now have a uri 2001-11-09 Tuomas Kuosmanen <tigert@ximian.com> * src/controls/Makefile.am: s/GNOME_VFS_CFLAGS/VFS_CFLAGS/ 2001-11-03 Dave Camp <dave@ximian.com> * src/controls/control-factories.c: Replaced main() with a BONOBO_OAF_SHLIB_FACTORY_MULTI macro. * src/controls/Makefile.am: Build the control server as a shared library rather than an executable. * src/controls/GNOME_Development_BuildControls.oaf.in: Reflect change to shlib component. 2001-09-10 Christopher R. Gabriel <cgabriel@cgabriel.org> * configure.in (ALL_LINGUAS): Added 'it' 2001-08-28 Fatih Demir <kabalak@gtranslator.org> * configure.in: Moved "AM_PROG_XML_I18N_TOOLS" right after AC_INIT. 2001-08-27 Abel Cheung <maddog@linux.org.hk> * configure.in (ALL_LINGUAS): Removed bogus de translation, till real translations come in. 2001-08-19 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse: be slightly smarter about variables defined in terms of themselves 2001-08-16 Zbigniew Chyla <cyba@gnome.pl> * configure.in (ALL_LINGUAS): Added pl. 2001-08-12 Jeroen Zwartepoorte <jeroen@xs4all.nl> * gbf-project-tree.c: Added horizontal-scrolling=true attribute to the ETableSpecification. * gbf-target-tree.c: ditto 2001-08-11 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse: add checks to see if project is initialized and print an init var in the xml 2001-08-08 Jens Finke <jens@gnome.org> * Makefile.am (EXTRA_DIST): Added *.spec[.in] and xml-i18n-*.in files. * configure.in: Added *_REQUIRED variables and appropriate AC_SUBST calls, use *_REQUIRED vars in CHECK_LIB macro, generate gnome-build.spec. * gnome-build.spec.in: New file 2001-08-07 JP Rosevear <jpr@ximian.com> * src/controls/control-factories.c: guard gconf header inclusion with GTKHTML_HAVE_GCONF 2001-08-06 Richard Hult <rhult@codefactory.se> * src/controls/control-factories.c (main): Explode the factory macro to a proper function so we can initialize gconf. This is needed for use with gtkhtml built with gconf support. Also include gconf/gconf.h 2001-07-22 Dave Camp <dave@ximian.com> * src/backends/libgbf_am/gbf-am-build: Turn on command buffering, use (build): Use open instead of backticks to run make, and print ERROR lines to stdout, not stderr. 2001-07-22 JP Rosevear <jpr@ximian.com> * configure.in: bump to 0.0.2 * Makefile.am: Remove dead file 2001-07-16 JP Rosevear <jpr@ximian.com> * configure.in: use gdl check lib macros * File renaming from gbf to gnome-build * src/backends/libgbf_am/main.c (start_gbf_am): update oaf ids * src/backends/libgbf_am/Makefile.am: reflect changes * src/backends/libgbf_am/GNOME_Development_Project_Automake.oaf.in: do a proper oaf file naming * src/controls/Makefile.am: reflect changes * src/controls/GNOME_Development_BuildControls.oaf.in: do a proper oaf file naming * src/controls/control-factories.c: use nice bonobo macros to kill a bunch of code 2001-07-12 JP Rosevear <jpr@ximian.com> * configure.in: don't check for gnome-debug and gnome-build 2001-07-12 JP Rosevear <jpr@ximian.com> * autogen.sh: proper autogen 2001-07-12 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/Makefile.am: remove obsolete ldadd * src/controls/Makefile.am: ditto * configure.in: start using gdl check lib calls and tidy up dependencies 2001-07-11 JP Rosevear <jpr@ximian.com> * src/controls/Makefile.am: extra dist all the xpms * src/backends/libgbf_am/Makefile.am: extra dist the scripts * Makefile.am: extra dist the clean script 2001-07-07 JP Rosevear <jpr@ximian.com> * configure.in: cleanup, xml-i18n-toolize, use gnome gettext 2001-07-06 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-project.c: s/GNOME_Development_Build/GNOME_Development/ * src/controls/gbf-target-tree.c: ditto * src/controls/gbf-project-tree.c: ditto * src/controls/gbf-build-info.c: ditto * src/controls/commands.c: ditto * src/lib/gbf-project-client.c: ditto * src/lib/gbf-project-client.h: ditto * idl/gbf-project.idl: GNOME_Development rather than GNOME_Development_Build * idl/gnome-build.idl: ditto 2001-07-04 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse (write_targets): correctly place "/"s on various lines 2001-07-03 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse (extract_vars): quick hack to make it load non-autogen'ed projects * src/lib/gbf-project-client.c: remove include * src/lib/Makefile.am: Remove source * src/lib/gbf-tools.h: This has been replace by gdl tools 2001-06-29 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse (extract_vars): Temporary fix to open projects with /po before autogen * src/lib/Makefile.am: remove dead file 2001-04-17 Duncan Mak <duncan@ximian.com> * src/controls/gbf-target-tree.c (init): added two more NULLs to the list of arguments for e_tree_memory_callbacks_new() to make gbf compile with cvs gal * src/controls/gbf-project-tree.c (init): ditto. 2001-04-08 JP Rosevear <jpr@ximian.com> * src/controls/gbf-project-tree.c (init): init the priv structure memory to 0 2001-04-07 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.h: new proto * src/controls/gbf-project-tree.c (gbf_project_tree_set_project): listen for project events (event_cb): look for project-changed events * src/controls/gbf-target-tree.c: same as above * src/controls/gbf-build-info.c: rename event handler * src/lib/gbf-project-client.h: new proto * src/lib/gbf-project-client.c (gbf_project_client_get_targets_of_source): wrap new idl call (gbf_project_client_add_target): implement (gbf_project_client_add_target_source): implement (gbf_project_client_remove_target_source): implement * idl/gbf-project.idl: add get_targets_of_source method * src/backends/libgbf_am/gbf-am-project.h: fix comment * src/backends/libgbf_am/gbf-am-project.c (write_source_xml): add sources to xml document (write_target_xml): add targets to xml document (gbf_am_project_create_xml_doc): create xml doc and return it (target_as_string): create complete path from target (source_as_string): ditto for source (target_to_list_elem): find a specific target in a list of targets (source_to_list_elem): ditto for sources (load_project): rename from launch script (save_project): launch script to write project to disk (impl_get_targets_of_source): get a list of the targets a source is a member of (impl_add_target_source): add the source to the target and master source list, write out the project and notify listeners of the change (impl_remove_target_source): remove the source from the target and master source list, write out the project and notify listeners of the change * src/backends/libgbf_am/gbf-am-parse (write_targets): Make a proper backup and move the new makefile into place 2001-03-25 JP Rosevear <jpr@ximian.com> * src/controls/control-factories.c: new verbs * src/controls/commands.h: new protos * src/controls/commands.c: skeleton functions for menu commands 2001-03-25 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-project.c (build_project_op): remove debug statement 2001-03-25 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse: handle adding and removing sources to existing targets 2001-03-24 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse: more cleanup, move in xml parsing funcs from xst 2001-03-23 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse: tidy 2001-03-23 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-project.c (get_targets_sax_start_element): get sources and targets at the same time * src/backends/libgbf_am/gbf-am-parse (get): combine get operations into one by using an "extra" target type, remove other command options * src/controls/gbf-target-tree.c (gbf_tt_load_be_data): don't show the "extra" target type * idl/gnome-build.idl: add an "extra" target type 2001-03-23 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.h: new protos * src/controls/gbf-target-tree.c: Adapt for new e-tree changes and bold the current target * src/controls/gbf-project-tree.c: Adapt for new e-tree changes 2001-03-06 JP Rosevear <jpr@ximian.com> * src/controls/gbf-target-tree.c (click_cb): handle the case where a target is clicked and emit a target-selected signal 2001-03-05 JP Rosevear <jpr@ximian.com> * src/controls/gbf-build-info.c (link_clicked_cb): emit a BuildError struct with the error-selected signal * src/backends/libgbf_am/main.c (start_gbf_am): user BONOBO_OBJREF * src/lib/gbf-project-client.c (gbf_project_client_construct): ditto 2001-03-04 JP Rosevear <jpr@ximian.com> * Integrate patch from Mark Benvenuto <mcb54@columbia.edu> with some changes * src/lib/gbf-project-client.c (exception_to_result): figure out some more exceptions * src/lib/gbf-project-client.h: new client result * src/backends/libgbf_am/gbf-am-project.c (launch_script): better error message (get_targets): return error codes (get_sources): ditto (impl_load_project): properly send back exceptions (impl_get_target_sources): the targets should already be loaded (impl_get_sources): the sources should already be loaded * src/backends/libgbf_am/gbf-am-parse (extract_vars): do some checking for a mal formed project * idl/gbf-project.idl: add a malformed exception 2001-03-04 JP Rosevear <jpr@ximian.com> * src/controls/gbf-build-info.c (init): listen for the link clicked signal (gbi_build_file_msg): put the source dir in the link (gbi_build_error_msg): ditto (name_path_split): util function to change the URL into a Source (link_clicked_cb): emit signals when links are clicked * src/lib/gbf-project-client.h: add useful define * src/backends/libgbf_am/gbf-am-project.c (parse_error_buffer): return various relevant structures to the signal handlers * src/backends/libgbf_am/gbf-am-build (build): spit out the source dir as well * idl/gnome-build.idl: add a BuildError struct 2001-03-03 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-project.c (parse_error_buffer): parse a buffer for build messages (build_input_cb): parse buffer (build_huperr_cb): finish messages when pipe dies * src/controls/gbf-build-info.c (init): write a default html message (gbf_build_info_set_project): listen for build signals on the project (gbi_build_start_msg): print start message (gbi_build_file_msg): print file message (gbi_build_error_msg): print error message (gbi_build_end_msg): print end message (build_event_cb): take action on build events 2001-03-03 JP Rosevear <jpr@ximian.com> * src/controls/gbf-build-info.c (init): fix typo * gbf.oaf: build info control foo * configure.in: check for gtkhtml * src/controls/gbf-project-tree.[hc]: touch up includes * src/controls/gbf-target-tree.[hc]: touch up includes * src/controls/Makefile.am: build new files * src/controls/control-factories.c (build_info_factory): return build info controls (init_build_info_factory): init the build info factory * src/controls/gbf-build-info.[hc]: new control to display build information to the user 2001-03-01 Dave Camp <dave@ximian.com> * src/controls/bgf-build.png, gbf-install.png: New icons from Jakub Steiner <jimmac@ximian.com> * src/controls/Makefile.am (pixmapdir): Install new icons. * src/controls/gbf-tree.xml: Use new icons. 2001-02-20 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-project.h: Fix copyright * src/backends/libgbf_am/gbf-am-project.c: ditto 2001-02-20 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/gbf-am-parse (extract_targets): Blank the temporary array 2001-02-11 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/Makefile.am: oaf not oafinfo 2001-02-11 JP Rosevear <jpr@ximian.com> * src/backends/libgbf_am/main.c (start_gbf_am): reflect oaf file changes * src/backends/libgbf_am/gbf-am-project.oaf: update * src/backends/libgbf_am/gbf-am-project.c (build_huperr_cb): emit the build-ended signal on a hup or pipe error (build_project_op): if the script was launched, send the build-started signal (launch_build_script): exec the script and listen for input on the pipe * src/backends/libgbf_am/gbf-am-build: remove xml stuff (build): emit errors immediately * src/lib/gbf-project-client.c (gbf_project_client_new_for_path): reflect idl changes * src/controls/control-factories.c (init_build_dialog_factory): new function to create factory (build_dialog_factory): skeleton to create build dialog control (init_control_factories): init build dialog factory (project_tree_factory): don't listen for activation (target_tree_factory): ditto * gbf.oaf: Modernize for newer conventions 2001-01-23 JP Rosevear <jpr@ximian.com> * src/controls/images.c (image_for_folder): returns folder image (image_for_filename): returns cached image for mime type (image_for_type): return cached target type image * src/controls/gbf-target-tree.c (gbf_tt_icon_at): ditto * src/controls/gbf-project-tree.c (gbf_pt_icon_at): use new image routines * src/controls/control-factories.c (set_prop): take a corba ev as new arg (get_prop): ditto * src/controls/Makefile.am: Compile new files 2001-01-14 JP Rosevear <jpr@ximian.com> * src/controls/control-factories.c: Remove menu create code and replace with menus_add call * src/controls/menus.h: prototypes * src/controls/menus.c (menus_add): Add menus to a tree control (menus_sensitize): set the sensitivity of menu items for the tree control * src/controls/commands.c: replace tree build commands * src/controls/commands.h: prototypes * src/controls/gbf-tree-build.[hc]: killed, functionality move to commands.[hc] * src/controls/Makefile.am: Build new files * src/controls/gbf-tree.xml: Make commands insensitive be default 2001-01-08 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-project.c: move async foo here now we can schedule asynch operations (impl_build_project): schedule as asynch op (build_project_op): actually do the project building (get_errors_sax_start_element): skeleton for parsing errors (init): add event source so we can push events * src/lib/gbf-project-client.h: add new signal prototypes * src/lib/gbf-project-client.c (gbf_project_client_class_init): add new signals (gbf_project_client_construct): listen for project events (project_event_cb): emit relevant gtk signals on corba events * src/controls/gbf-tree-build.c: remove asynch build scheduling foo * src/backends/libgbf_am/Makefile.am: add new script to scripts list * src/backends/libgbf_am/gbf-am-build: New script to build projects and return errors in xml * gbf.oafinfo: update repo ids * src/backends/libgbf_am/gbf-am-project.oafinfo: ditto 2001-01-07 JP Rosevear <jpr@helixcode.com> * src/lib/gbf-project-client.h: reflect new build idl param * src/lib/gbf-project-client.c (gbf_project_client_build): ditto * src/controls/gbf-tree-build.c: Queue up build operations and execute with idle handlers * src/controls/gbf-tree-build.h: prototypes * src/controls/gbf-target-tree.h: add prototype * src/controls/gbf-target-tree.c (gbf_target_tree_get_project): new accessor (gbf_tt_is_editable): remove debug statement * src/controls/gbf-project-tree.h: add prototype * src/controls/gbf-project-tree.c (gbf_pt_is_editable): remove debug statement (gbf_project_tree_get_project): new accessor * src/controls/control-factories.c: List the control verbs here (project_tree_control_menus): Add verbs and take tree as arg (target_tree_control_menus): ditto (project_tree_control_activate_cb): pass new arg (project_tree_control_set_frame_cb): ditto (target_tree_control_activate_cb): ditto (target_tree_control_set_frame_cb): ditto (project_tree_factory): pass tree to callbacks (target_tree_factory): ditto * src/controls/Makefile.am: Build new files * idl/gbf-project.idl: make build_project take a BuildType * idl/gnome-build.idl: enumerate build types 2001-01-06 JP Rosevear <jpr@helixcode.com> * src/controls/gbf-widgets.h: add target tree include 2001-01-06 Dave Camp <dave@helixcode.com> * src/controls/gbf-target-tree.c (GbfTargetTreeNodeType): Split TARGET into PROGRAM, SHAREDLIB, and STATICLIB. (gbf_tt_load_be_data): Set the node type to PROGRAM, SHAREDLIB or STATICLIB. (gbf_tt_icon_at): Select the correct icon depending on the target type. (gbf_tt_val_at): Deal with the TARGET split. 2001-01-06 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_vars): Correctly remove inline comments (extract_vars): don't do stupid inefficient hash manipulation (extract_sources): ditto (extract_targets): ditto 2001-01-06 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_targets): When the target is a script, make sure the script itself is listed a source * idl/gbf-project.idl: GNOME:Development/Build name space foo * src/lib/gbf-project-client.c: ditto * src/lib/gbf-project-client.h: ditto * src/backends/libgbf_am/gbf-am-project.c: ditto * src/controls/gbf-project-tree.c: ditto * src/controls/gbf-target-tree.c: ditto * idl/gnome-build.idl: ditto 2001-01-06 JP Rosevear <jpr@helixcode.com> * gbf.oafinfo: Remove cut/paste goad cruft 2001-01-06 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_sources): Check for the "." entry in SUBDIRS and avoid (extract_targets): ditto 2001-01-06 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_targets): transliterate '-' to '_' for source lists as well 2001-01-06 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-project.c (impl_get_targets): only load targets if they aren't already loaded, copy a path into the gbf target (impl_get_target_sources): only load targets if not already take paths into account when matching targets and always return a sequence even if nothing is found. return exception when appropriate * idl/gnome-build.idl: add a path field to the target struct * src/backends/libgbf_am/gbf-am-parse (extract_targets): Attach path names to sources and targets 2001-01-05 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-project.c (get_targets_sax_start_element): grok the sources in the targets xml output and add them to a list (impl_get_targets): Dup the name (impl_get_target_sources): implement * src/controls/gbf-target-tree.c (gbf_tt_load_be_data): Actually list the sources under the target names now * src/lib/gbf-project-client.c (gbf_project_client_get_target_sources): implement 2000-12-20 JP Rosevear <jpr@helixcode.com> * src/lib/gbf-project-client.h: make the client interface reflect the idl changs * src/lib/gbf-project-client.c: wrap said changes * src/controls/gbf-target-tree.[hc]: New control to list project targets * src/controls/gbf-tree.xml: Rename from gbf-project-tree.xml * src/controls/gbf-project-tree.c: No display type argument any more * src/controls/control-factories.c: routines to register and launch the target tree control * src/controls/Makefile.am: Add new files * src/backends/libgbf_am/gbf-am-project.c: Update to impl_* routines to reflect idl interface changes (string_to_type): Util function to covert text to target type enum (get_targets_sax_start_element): sax handler function to extract targets (get_targets): Launch script (launch_script): new util function to fork parsing process * src/backends/libgbf_am/gbf-am-parse (extract_targets): Extract targets from project (xml_print_targets): Print target xml (get_targets): Handle -gt command line option * idl/gbf-project.idl: Update interface we will have a generic target type rather than program/lib/etc * idl/gnome-build.idl: ditto * gbf.oafinfo: Add target tree control and factory 2000-12-18 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse: Eliminate duplication of sources 2000-12-18 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_sources): Return EXTRA_DISTed files and Makefile.am and configure.in in the sources list 2000-12-18 JP Rosevear <jpr@helixcode.com> * src/controls/gbf-project-tree.xml: Fix toolbar placement 2000-12-18 JP Rosevear <jpr@helixcode.com> * src/controls/gbf-project-tree.xml: Tidy, add icons to fill space * src/backends/libgbf_am/gbf-am-project.c (impl_get_sources): If g_dirname returns a ".", return "". Plug leak (impl_remove_library): Remove strange return value * src/backends/libgbf_am/gbf-am-parse (source_name): Utility routine to whittle absolute file names (extract_sources): Use new routine and fix not-in-same-path bug 2000-12-18 Dave Camp <dave@helixcode.com> * src/controls/gbf-project-tree.c (gbf_pt_load_be_data): Use only the last directory in the path for the root node. 2000-12-18 Dave Camp <dave@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_sources): Include files distributed automatically by automake. 2000-12-18 JP Rosevear <jpr@helixcode.com> * src/controls/gbf-project-tree.c (gbf_pt_destroy_node): Destroy the hash table nodes probably. (gbf_pt_load_be_data): Better destroy the tree and associated info 2000-12-17 JP Rosevear <jpr@helixcode.com> * src/backends/libgbf_am/gbf-am-parse (extract_vars): Handle basic variable substitution. 2000-12-17 Dave Camp <dave@helixcode.com> * Makefile.am: Install gbf-clean.sh 2000-12-12 Dave Camp <dave@helixcode.com> * src/lib/gbf-project-client.c (gbf_project_client_get_project_root): New function. * src/controls/gbf-project-tree.c (click_cb): Send the GBF_Source rather than a string. * src/backends/libgbf_am/gbf-am-project.c (init_corba_class): Init get_project_root. (impl_get_project_root): New function. * idl/gbf-project.idl: Added a get_project_root() method to GBF::Project. 2000-12-11 Dave Camp <dave@helixcode.com> * gbf-clean.sh: Kill gnome-build instead of gnome-debug. * src/controls/gbf-project-tree.xml: Don't install new/open/close toolbar buttons. * src/controls/Makefile.am (EXTRA_DIST): Include the xpm files. * src/controls/gbf-project-tree.c (struct _GbfProjectTreePrivate ): Added an event_source member. (init): Connect to the "click" signal of the etree. (init): Initialize a BonoboEventSource. (gbf_pt_icon_at): Return different icons for .c/.h/other. (click_cb): New function, emits a "file-selected" event. * src/controls/control-factories.c (project_tree_factory): Add the BonoboEventSource interface to the project tree control. 2000-12-10 Dave Camp <dave@helixcode.com> * src/controls/bfoldo.xpm: * src/controls/file_c.xpm: Redone to look a bit better. 2000-12-09 JP Rosevear <jpr@helixcode.com> * Various tidy ups from import * configure.in (ALL_LINGUAS): Remove tr