1. 09 Aug, 2004 1 commit
    • Mikael Hallendal's avatar
      Added planner-conf.h and planner-conf-gconf.c Added Added · 9d897e60
      Mikael Hallendal authored
      2004-08-09  Mikael Hallendal  <micke@imendio.com>
      
      	* src/Makefile.am: Added planner-conf.h and planner-conf-gconf.c
      	* src/planner-conf-gconf.c: Added
      	* src/planner-conf.h: Added
      	* src/planner-application.[ch]:
      	* src/planner-gantt-chart.c:
      	* src/planner-print-dialog.c:
      	* src/planner-sql-plugin.c:
      	* src/planner-task-view.c:
      	* src/planner-window.c:
      	* src/planner-xml-planner-plugin.c:
      	- Added GConf abstraction layer.
      	- Updated all places to use the GConf abstraction layer
      9d897e60
  2. 06 Aug, 2004 5 commits
    • Richard Hult's avatar
      Break some really long lines. (window_populate): Add tooltip to the view · a791af08
      Richard Hult authored
      2004-08-06  Richard Hult  <richard@imendio.com>
      
      	* src/planner-window.c: Break some really long lines.
      	(window_populate): Add tooltip to the view radio items.
      
      	* src/planner-ttable-view.c (ttable_view_ttable_status_updated):
      	Set status message.
      a791af08
    • Richard Hult's avatar
      Fix libutil linkage. · 837bf22b
      Richard Hult authored
      2004-08-06  Richard Hult  <richard@imendio.com>
      
      	* src/Makefile.am: Fix libutil linkage.
      
      	* src/planner-gantt-view.c: (gantt_view_gantt_status_updated_cb):
      	* src/planner-window.c: (window_add_widget), (window_populate),
      	(window_view_selected), (window_restore_state),
      	(planner_window_set_status), (window_menu_item_select_cb),
      	(window_menu_item_deselect_cb), (window_disconnect_proxy_cb),
      	(window_connect_proxy_cb): Add status bar and use it for status
      	messages.
      
      	* src/planner-sql-plugin.c:
      	* src/planner-html-plugin.c:
      	* src/planner-xml-planner-plugin.c: Fix strings that were changed
      	in the ui manager transition.
      
      2004-08-06  Richard Hult  <richard@imendio.com>
      
      	* src/planner-window.c: Comment out unused action to get rid of
      	stock icon warning.
      	(window_populate): Create statusbar.
      
      	* src/planner-view-loader.c (mvl_load_dir): Sort the views.
      
      	* src/planner-window.c (window_add_widget): Remove the handle.
      837bf22b
    • Xavier Ordoquy's avatar
      Fixed Typo in the marshaller generation. · 7248bda6
      Xavier Ordoquy authored
      2004-08-06  Xavier Ordoquy  <xordoquy@linovia.com>
      
      	* src/Makefile.am:
      	Fixed Typo in the marshaller generation.
      7248bda6
    • Xavier Ordoquy's avatar
      Now uses the GtkUIManager for the menu/toolbar. · 7cfb9e81
      Xavier Ordoquy authored
      2004-08-06  Xavier Ordoquy  <xordoquy@linovia.com>
      
      	* src/planner-sql-plugin.c:
      	Now uses the GtkUIManager for the menu/toolbar.
      7cfb9e81
    • Richard Hult's avatar
      Include config.h. · 5120fe08
      Richard Hult authored
      2004-08-06  Richard Hult  <richard@imendio.com>
      
      	* src/planner-resource-cmd.c: Include config.h.
      5120fe08
  3. 05 Aug, 2004 3 commits
    • Richard Hult's avatar
      Fix coding style inconsistencies. · b20348d2
      Richard Hult authored
      2004-08-06  Richard Hult  <richard@imendio.com>
      
      	* src/*.c: Fix coding style inconsistencies.
      b20348d2
    • Richard Hult's avatar
      Include config.h to fix i18n. · 122f1f5e
      Richard Hult authored
      2004-08-06  Richard Hult  <richard@imendio.com>
      
      	* src/planner-task-cmd.c: Include config.h to fix i18n.
      
      	* src/planner-gantt-view.c: (activate):
      	* src/planner-html-plugin.c: (plugin_init):
      	* src/planner-resource-view.c: (activate):
      	* src/planner-task-view.c: (activate):
      	* src/planner-ttable-view.c: (activate):
      	* src/planner-window.c: (window_populate), (window_print_cb):
      	* src/planner-xml-planner-plugin.c: (plugin_init): Set translation
      	domain to get i18n working.
      
      	* data/ui/gantt-view.ui:
      	* data/ui/main-window.ui: Remove spaces.
      122f1f5e
    • Xavier Ordoquy's avatar
      Change the file to match the GtkUIManager xml. · a4db579c
      Xavier Ordoquy authored
      2004-08-05  Xavier Ordoquy  <xordoquy@linovia.com>
      
      	* data/ui/gantt-view.ui:
      	* data/ui/html-plugin.ui:
      	* data/ui/main-window.ui:
      	* data/ui/resource-view.ui:
      	* data/ui/sql-plugin.ui:
      	* data/ui/task-view.ui:
      	* data/ui/time-table-view.ui:
      	* data/ui/xml-planner-plugin.ui:
      	Change the file to match the GtkUIManager xml.
      
      	* src/planner-application.h:
      	* src/planner-gantt-view.c:
      	* src/planner-html-plugin.c:
      	* src/planner-main.c:
      	* src/planner-python-plugin.c:
      	* src/planner-resource-view.c:
      	* src/planner-sql-plugin.c:
      	* src/planner-task-popup.c:
      	* src/planner-task-view.c:
      	* src/planner-ttable-view.c:
      	* src/planner-view.c:
      	* src/planner-view.h:
      	* src/planner-window.c:
      	* src/planner-window.h:
      	* src/planner-working-time-dialog.c:
      	* src/planner-xml-planner-plugin.c:
      	Now uses the GtkUIManager for the menu/toolbar.
      a4db579c
  4. 02 Aug, 2004 3 commits
    • Richard Hult's avatar
      Bring up task dialog when a row is activated. Fixes bug #148058. · 2416079f
      Richard Hult authored
      2004-08-03  Richard Hult  <richard@imendio.com>
      
      	* src/planner-task-tree.c: (task_tree_init), (task_tree_finalize),
      	(task_tree_row_activated_cb): Bring up task dialog when a row is
      	activated. Fixes bug #148058.
      2416079f
    • Richard Hult's avatar
      Clean up coding style a bit. Use g_strtod instead of g_ascii_strtod. · 5c5faa66
      Richard Hult authored
      2004-08-03  Richard Hult  <richard@imendio.com>
      
      	* src/planner-resource-dialog.c: Clean up coding style a bit. Use
      	g_strtod instead of g_ascii_strtod. Change cost to a regular
      	property.
      
      	* src/planner-project-properties.c:
      	* src/planner-resource-view.c:
      	* src/planner-task-tree.c: Use g_strtod instead of g_ascii_strtod.
      
      2004-08-03  Richard Hult  <richard@imendio.com>
      
      	* libplanner/mrp-old-xml.c: Handle non-existant properties better.
      	* libplanner/mrp-project.c: Don't add a cost custom property.
      	* libplanner/mrp-resource.c: Add cost property.
      
      	* libplanner/mrp-task-manager.c (mrp_task_manager_move_task):
      	Invalidate cost cache.
      
      	* libplanner/mrp-task.c (task_remove_subtree_cb): Remove extra
      	mrp_object_removed call.
      	(imrp_task_remove_subtree): Invalidate cost cache.
      	(task_set_property): Likewise.
      
      	Based on patch from Doroszlai Attila to fix bug #138475.
      5c5faa66
    • Alvaro del Castilo's avatar
      new files data/sql/database-0.13.sql data/sql/upgrade-0.11-0.13.sql added · 36e5768c
      Alvaro del Castilo authored
      2004-08-02  Alvaro del Castilo  <acs@barrapunto.com>
      
      	* data/sql/Makefile.am: new files
      	data/sql/database-0.13.sql
      	data/sql/upgrade-0.11-0.13.sql
      	added new table to store the database tables version
      	* libplanner/Makefile.am: need DATADIR to find SQL files
      	* libplanner/mrp-sql.c: fix some warnings, formatting and
      	issues with the project_id.
      	* src/Makefile.am: used planner version to locate SQL files
      	to be loaded. Also we use SQL_DIR to find SQL files.
      	* src/planner-sql-plugin.c:
      	(sql_get_last_error) get last error from database connection
      	(is_newer_version): compare to planner versions
      	(check_database_tables): check if tables in planner database already exists
      	and create them if not.
      	(create_database): check if plannet database exists and create it if not.
      	(sql_get_tested_connection): get a connection to the database checking that
      	planner database and tables are created if they don't exist.
      36e5768c
  5. 01 Aug, 2004 3 commits
    • Richard Hult's avatar
      Add patch from Chris Morgan <cmorgan@alum.wpi.edu> to add a column with · 4d7d62ac
      Richard Hult authored
      2004-08-02  Richard Hult  <richard@imendio.com>
      
      	* src/planner-gantt-model.h:
      	* src/planner-task-tree.c: (task_tree_assigned_to_data_func),
      	(task_tree_add_column):
      	* src/planner-task-view.c: (get_widget): Add patch from Chris
      	Morgan <cmorgan@alum.wpi.edu> to add a column with the assigned
      	resources.
      4d7d62ac
    • Richard Hult's avatar
      Build dependency graph in one go, and add functions to add/remove a single · 97044fe0
      Richard Hult authored
      2004-08-01  Richard Hult  <richard@imendio.com>
      
      	* libplanner/mrp-task-manager.c:
      	(task_manager_clean_graph_func),
      	(task_manager_build_dependency_graph),
      	(add_predecessor_to_dependency_graph),
      	(remove_predecessor_from_dependency_graph_recursive),
      	(remove_predecessor_from_dependency_graph),
      	(remove_parent_from_dependency_graph),
      	(add_parent_to_dependency_graph),
      	(remove_task_from_dependency_graph),
      	(add_task_to_dependency_graph): Build dependency graph in one go,
      	and add functions to add/remove a single task.
      
      	(task_manager_traverse_dependency_graph),
      	(task_manager_calc_relation),
      	(task_manager_do_forward_pass_helper),
      	(task_manager_do_forward_pass), (task_manager_do_backward_pass),
      	(mrp_task_manager_rebuild), (mrp_task_manager_recalc): Use the new
      	dependency graph when doing the CPM forward/backward passes.
      
      	(check_predecessor_traverse),
      	(mrp_task_manager_check_predecessor),
      	(mrp_task_manager_check_move): Check for loops in the graph when
      	adding a predecessor or moving a subtree.
      
      	* libplanner/mrp-private.h:
      	* libplanner/mrp-task.c: (task_init), (task_finalize),
      	(task_remove_subtree_cb), (imrp_task_insert_child),
      	(imrp_task_get_graph_node): Replace the dependency tree + links
      	with a graph.
      
      	* tests/files/test-2.planner:
      	* tests/scheduler-test.c: (main): Make it simple to add more test
      	files, and add one.
      97044fe0
    • Richard Hult's avatar
      Clean up. · 7f17a098
      Richard Hult authored
      2004-08-01  Richard Hult  <richard@imendio.com>
      
      	* src/Makefile.am: Clean up.
      
      	* Makefile.am:
      	* configure.in:
      	* tests/: Add back the tests and add a new test for the
      	scheduler.
      
      2004-08-01  Richard Hult  <richard@imendio.com>
      
      	* src/planner-window.c (window_do_save_as): Use the right
      	response, fixes saving.
      7f17a098
  6. 31 Jul, 2004 2 commits
  7. 30 Jul, 2004 3 commits
    • Xavier Ordoquy's avatar
      We do need to include ../src headers and PLANNER FLAGS · eb56b62b
      Xavier Ordoquy authored
      2004-07-30  Xavier Ordoquy  <xordoquy@linovia.com>
      
      	* python/Makefile.am:
      	We do need to include ../src headers and PLANNER FLAGS
      
      	* python/planner-types.defs:
      	* python/planner.defs:
      	* python/planner.override:
      	Added PlannerApplication and PlannerWindow to binding.
      
      	* src/planner-python-plugin.c:
      	Do more imports as bonobo is required for
      	PlannerWindow.
      	Replaced the project by window.
      eb56b62b
    • Xavier Ordoquy's avatar
      The plugin now reads files in ~/.gnomeXX/planner/python · 3663b43a
      Xavier Ordoquy authored
      2004-07-30  Xavier Ordoquy  <xordoquy@linovia.com>
      
      	* data/ui/Makefile.am:
      	* data/ui/python-plugin.ui:
      	* src/planner-python-plugin.c:
      	The plugin now reads files in ~/.gnomeXX/planner/python
      3663b43a
    • Anders Carlsson's avatar
      Support new mime activation specification. · 2732af17
      Anders Carlsson authored
      2004-07-30  Anders Carlsson  <andersca@gnome.org>
      
      	* configure.in:
      	* data/mime/Makefile.am:
      	* data/planner.desktop.in:
      	Support new mime activation specification.
      2732af17
  8. 29 Jul, 2004 4 commits
    • Richard Hult's avatar
      Add nice example from Kurt. · 2c291970
      Richard Hult authored
      2004-07-30  Richard Hult  <richard@imendio.com>
      
      	* examples/Makefile.am:
      	* examples/kitchen.planner: Add nice example from Kurt.
      2c291970
    • Richard Hult's avatar
      Remove trailing slash. · a10ed1c0
      Richard Hult authored
      2004-07-30  Richard Hult  <richard@imendio.com>
      
      	* src/planner-window.c: (get_last_dir): Remove trailing slash.
      a10ed1c0
    • Richard Hult's avatar
      Don't make resource usage view optional. · 23892b9f
      Richard Hult authored
      2004-07-30  Richard Hult  <richard@imendio.com>
      
      	* configure.in:
      	* data/ui/Makefile.am:
      	* src/Makefile.am: Don't make resource usage view optional.
      23892b9f
    • Richard Hult's avatar
      Update requirements. · 906894a6
      Richard Hult authored
      2004-07-30  Richard Hult  <richard@imendio.com>
      
      	* configure.in: Update requirements.
      
      	* libegg/recent-files: Sync with latest libegg.
      
      	* libplanner/mrp-file-module.c: (mrp_file_module_load_all):
      	* src/planner-plugin-loader.c: (mpl_load_dir):
      	* src/planner-view-loader.c: (mvl_load_dir): Don't hardcode .so
      	suffix.
      
      	* src/Makefile.am: Split out shared code from task/gantt views.
      906894a6
  9. 28 Jul, 2004 1 commit
  10. 27 Jul, 2004 1 commit
    • Richard Hult's avatar
      Merge from 0.12 branch. · 750fd6a3
      Richard Hult authored
      2004-07-27  Richard Hult  <richard@imendio.com>
      
      	* src/planner-task-dialog.c:
      	(task_dialog_resource_units_cell_edited): Merge from 0.12 branch.
      750fd6a3
  11. 19 Jul, 2004 1 commit
  12. 17 Jul, 2004 1 commit
  13. 13 Jul, 2004 2 commits
  14. 08 Jul, 2004 5 commits
  15. 07 Jul, 2004 2 commits
  16. 06 Jul, 2004 3 commits