2009-04-15 Maurice van der Pot * NEWS: * configure.in: Version 0.14.4 2009-04-15 Maurice van der Pot * Makefile.win32: Adapted createinstaller target to new name of libexpat-1.dll. This means that on Windows you will need expat-2.0.1-1 or later. 2009-04-14 Maurice van der Pot * Makefile.win32: * docs/Makefile.win32: * docs/user-guide/Makefile.win32: * docs/user-guide/C/Makefile.win32: Added makefiles for building and installing the user guide on Windows. This requires docbook-xml and docbook-xsl to be installed under $(PREFIX)/src. There is room for improvement here, because the paths are currently hardcoded. Also fixed installer to include libgio-2.0-0.dll. * docs/user-guide/C/planner.xml: Make images non-floating again. * libplanner/mrp-sql.c (mrp_sql_load_project), (mrp_sql_save_project): * src/planner-sql-plugin.c (sql_get_tested_connection): Properly quoted timezone in SQL. It was causing problems with PostgreSQL 8.0.x (bug #571801). 2009-04-07 Maurice van der Pot * README: Fixed typo. * libplanner/mrp-old-xml.c (old_xml_read_project): Fixed possible NULL pointer dereference (bug #334116). * src/planner-project-properties.c (mpp_property_value_data_func), (mpp_project_property_get_value_string): * src/planner-resource-view.c (resource_view_property_data_func): * src/planner-task-tree.c (task_tree_property_data_func): Fixed use of uninitialized variables (bug #334113). 2009-04-01 Kurt Maute * src/planner-format.c: Add minutes to duration format 2009-03-21 Maurice van der Pot * docs/user-guide/C/planner.xml: Patch by Alexandre Franke to fix an index entry in the user guide (bug #571435). 2009-03-21 Maurice van der Pot * data/planner.desktop.in.in: Added GNOME and GTK categories to the .desktop file. Patch by Alexandre Franke , fixing bug #328017. 2008-12-29 Maurice van der Pot * README: Brought up to date. * Makefile.win32: * installer/english.nsh: * installer/langmacros.nsh: * installer/planner-installer.nsi: * src/Makefile.win32: - Moved installer languages to separate directory. - Removed traces of libgnomeprint - Decreased verbosity of Windows installer build 2008-12-24 Maurice van der Pot * configure.in: Replaced --enable-database with --with-database to allow selection of libgda version (patch by Gilles Dartiguelongue in bug #562984). This will become useful again when we start supporting libgda 4.0. * libplanner/mrp-sql.c (sql_quote_and_escape_const_string), (sql_quote_and_escape_string), (sql_get_last_error), (get_int), (get_id), (get_string), (get_boolean), (get_float), (sql_read_property_specs), (mrp_sql_load_project), (sql_write_project), (sql_write_phases), (sql_write_phase), (sql_write_specific_property_specs), (sql_write_property_specs), (sql_write_property_values), (sql_write_day_types), (sql_write_overridden_day_type), (sql_write_overridden_dates), (sql_write_calendars_recurse), (sql_write_groups), (sql_write_resources), (sql_write_tasks), (mrp_sql_save_project): * src/planner-sql-plugin.c (sql_get_last_error), (get_int), (get_string), (create_database), (sql_get_tested_connection), (sql_plugin_retrieve_project_id), (sql_plugin_save): - Added escaping of strings used in SQL statements (fixing bug #168147 reported by Iain Rae ) - Dropped support for libgda < 3.0 - Fixed error in sql_read_property_specs introduced in revision 881. 2008-11-05 Maurice van der Pot * libplanner/mrp-parser.c: Removed unused function. * libplanner/mrp-task-manager.c: Commented out unused functions. * configure.in: * data/ui/main-window.ui: * src/planner-gantt-print.c: * src/planner-gantt-print.h: * src/planner-gantt-view.c (gantt_view_print): * src/planner-print-dialog.c: * src/planner-print-dialog.h: * src/planner-print-job.c: * src/planner-print-job.h: * src/planner-resource-view.c (resource_view_print), (resource_view_cost_data_func): * src/planner-table-print-sheet.c: * src/planner-table-print-sheet.h: * src/planner-task-view.c (task_view_print), (task_view_print_cleanup): * src/planner-usage-view.c (usage_view_print): * src/planner-view.c (planner_view_print): * src/planner-view.h: * src/planner-window.c: Rewrote printing to use the GTK printing API. Thanks to Francisco Moraes for an initial patch. Also fixed a few memory leaks. 2008-09-01 Maurice van der Pot * src/planner-usage-row.c (usage_row_draw_resource_ival), (usage_row_draw_resource): Fix drawing of the left edge of resource usage bars, patch by Lee Bay 2008-08-21 Maurice van der Pot * data/stylesheets/Makefile.am: * data/stylesheets/html1_css.xsl: * data/stylesheets/html1_css_ie.xsl: * data/stylesheets/html1_css_ie7.xsl: * data/stylesheets/html1_gantt.xsl: * data/stylesheets/html1_resources.xsl: * data/stylesheets/html1_tasks.xsl: * data/stylesheets/planner2html.xsl: Switched over from tables to divs for layout. Markup and CSS was validated and tested with Firefox 3.0.1 (perfect), Firefox 2.0.0.16 (minor issue with scrollbars), Opera 9.51 (perfect), Internet Explorer 6.0 & 7.0 (gantt scrollbars always visible, milestone diamond is shown as a square). Should fix bugs #471218 and #478027. 2008-07-29 Maurice van der Pot * Makefile.win32: Fix makefile for Windows to work with both libpng <= 1.2.8, where the dll was named libpng13.dll, and libpng >= 1.2.29, where it is named libpng12-0.dll. 2008-07-29 Maurice van der Pot * Makefile.win32: Added font description files needed for printing on Windows (fixes crashes or lock-ups when trying to print). Also added a printer icon that was missing and the menu description for the print preview window. * data/planner.rc.in: Removed a few references to "Imendio Planner" that would end up in the executable for Windows. 2008-07-22 Maurice van der Pot * src/Makefile.am: Now building everything in src/ except planner_main.c into a convenience library that can be used for testing. * src/planner-cmd-manager.c (transaction_cmd_do): Abort redo-ing as soon as the end of the transaction is encountered. Fixes bug #420443 reported by Lincoln Phipps . * tests/Makefile.am: * tests/cmd-manager-test.c (test_cmd_do), (test_cmd_undo), (test_cmd_free), (test_cmd), (main): Added test for PlannerCmdManager, including regression test for bug #420443. 2008-07-22 Maurice van der Pot * libplanner/mrp-paths-gnome.c (mrp_paths_get_image_dir): Fix path to images, which was incorrectly set to "glade" in previous commit. 2008-07-22 Maurice van der Pot * libplanner/mrp-calendar.c (mrp_calendar_copy): Fix a bug in copying default day types when copying a calendar on 64-bit platforms. * tests/calendar-test.c (main): Fixed a bug in the tests that only showed up on 64-bit platforms. * libplanner/Makefile.am: * libplanner/mrp-paths-gnome.c (mrp_paths_get_glade_dir), (mrp_paths_get_image_dir), (mrp_paths_get_plugin_dir), (mrp_paths_get_dtd_dir), (mrp_paths_get_stylesheet_dir), (mrp_paths_get_storagemodule_dir), (mrp_paths_get_file_modules_dir), (mrp_paths_get_ui_dir), (mrp_paths_get_sql_dir): * tests/Makefile.am: * tests/files/Makefile.am: Allow various paths to be overridden through environment variables, so the tests can be run before planner (and its plugins) have been installed. Now tests are run successfully in make check and make distcheck. 2008-07-20 Maurice van der Pot * libplanner/mrp-sql.c: Properly fixed bug #539993. 2008-07-20 Maurice van der Pot * acinclude.m4: change --with-compile-warnings to --enable-compile-warnings * autogen.sh: fix error from sed when running autogen.sh * libplanner/mrp-sql.c: Fix missing semicolon in database support code, fixing bug #539993 (patch by Mirco Müller ). * src/planner-window.c: (window_restore_state): Use a reasonable default window size if no previous window size is known. 2008-07-18 Maurice van der Pot * Makefile.win32: * installer/planner-installer.nsi: Fixed paths to executable in installer and included GTK+ translations. Thanks to Massimiliano Franco for bringing these problems to my attention. 2008-07-17 Maurice van der Pot * Makefile.win32: * installer/english.nsh: * installer/langmacros.nsh: * installer/planner-installer.nsi: * libplanner/Makefile.win32: * src/Makefile.win32: Added a 'createinstaller' target to the Makefiles for Windows that uses the Nullsoft scriptable install system to create an installer. 2008-04-29 Maurice van der Pot * tests/Makefile.am: Fix for parallel build issue reported as bug #529045 by Gilles Dartiguelongue 2008-04-20 Maurice van der Pot * configure.in: Enabling evolution data server backend support caused configure to fail (bug #528971). Thanks to Robin Cook for noticing and providing a patch. * libplanner/Makefile.am: Adding -lm to LIBADD for libplanner as suggested by Marcin Banasiak , hopefully fixing bug #528582 reported by Patryk Zawadzki .