2002-01-23  Mikael Hallendal  <micke@codefactory.se>

	* extras/images/Makefile.am (icon_DATA): added mrproject.png

2002-01-23  Richard Hult  <rhult@codefactory.se>

	* extras/desktop/mrproject.keys: s/icon_filename/icon-filename/.

2002-01-14  Richard Hult  <rhult@codefactory.se>

	* configure.in: Bump version.

	* client/components/gantt/gantt-component.c (gc_shell_event): Use
	d(). 

	* client/components/calendar/*.c: Use d() for debug output.

	* client/components/gantt/gantt-model.c (gantt_model_update_task):
	Add pre_change call before changing.
	(gantt_model_remove_all_tasks): Likewise.

	* configure.in: Merge fixes from HEAD.
	Require gal 0.18.

	* Makefile.am (SUBDIRS): Merge from HEAD.

2001-12-18  Richard Hult  <rhult@codefactory.se>

	* configure.in: Branch off mrproject-0-5, remove warning about
	unstable branch.

2001-12-18  Mikael Hallendal  <micke@codefactory.se>

	* configure.in: bumped version to 0.5.0
	-updated to include all languages.

	* project-engine/task-manager.c:
	(tm_insert_full): change Start/Finish according to the new task.

2001-12-17  Mikael Hallendal  <micke@codefactory.se>

	* project-engine/backends/xml-file-filter.c:
	(read_start_end_time): renamed from read_start_time, now sets both
	  start and end time in the propertybag.

2001-12-15  Mikael Hallendal  <micke@codefactory.se>

	* NEWS: updated

	* client/components/task-dialog/task-dialog-gui.glade: 
	- change Task Id: to Task: 

	* client/components/task-dialog/task-dialog-gui.c:
	(tdg_update_labels): added, update the task-name labels.
	(tdg_update_gui): call tdg_update_labels instead of setting labels
	  here.
	(tdg_name_changed_cb): call tdg_update_labels.
	(task_dialog_gui_update_note): block the apply-button
	(tdg_create_gui): get the apply-button from glade
	(tdg_connect_signals): connect to apply button
	(tdg_note_apply_cb): only send the note after apply button
	  pressed.

	* client/components/task-dialog/task-dialog.c: removed unused
	  variable from privstruct

	* client/components/gantt/gantt-component.etstate: 
	- don't show id column

	* client/components/task-dialog/task-dialog-alloc-table.etstate: 
	- don't show id column
	- sort on name column by default

	* client/components/resource/resource-component.etstate:
	- don't show id column

	* client/components/task-dialog/task-dialog-gui.c:
	(tdg_note_stamp_clicked_cb): removed conversion from utf8 since
	  the string isn't in utf8.

2001-12-15  Richard Hult  <rhult@codefactory.se>

	* client/components/task-dialog/task-dialog-gui.glade: Add apply
	button to the notes page.

	* client/components/calendar/month-view.c: Remove debug spew.

2001-12-13  Richard Hult  <rhult@codefactory.se>

	* util/corba-utils.c (corba_util_dependency_seq_from_list): Add
	some out-commented debug printing.

	* project-engine/task-manager.c (impl_TaskManager_linkTasks): Eek,
	set the type, or we have an uninitialized variable that gets
	passed over CORBA (noticed this in the Java client).

	* project-engine/backends/xml-file-filter.c
	(xml_read_predecessor): Warn if we read an invalid deps type.

2001-12-12  Richard Hult  <rhult@codefactory.se>

	* docs/Makefile.am: Remove TODO from dist as well.

2001-12-04  Richard Hult  <rhult@codefactory.se>

	* project-engine/allocation-manager.c
	(impl_AllocationManager_getAllocation): Impl.

	* idl/GNOME_MrProject_AllocationManager.idl: Add method
	getAllocation.

2001-12-02  Richard Hult  <rhult@codefactory.se>

	* docs/TODO: Remove this obsolete file.

2001-12-12  Richard Hult  <rhult@codefactory.se>

	* mrproject.spec.in: Include the data files as well... man,
	appearantly I forgot to commit this after 0.4.1 :/

	* client/components/resource/group-dialog.c
	(gd_update_entries_text): Handle utf-8 correctly, based on a patch
	from Andrei Smirnov <as@summatech.ru>.
	(group_dialog_add_group): Convert to locale string from utf-8
	before we put the name in the clist.
	(gd_update_group_cb): Handle utf8 correctly.

	* All the Makefile.am: Add the generated oaf files to
	EXTRA_DIST. I'm not completely sure about the correctness of this,
	but other projects (like Nautilus) does it and also, distcheck
	doesn't pass without this on my rh7.2 box.

	* client/components/gantt/gantt-print.c (gantt_print_info_new):
	Use gnome_font_new_closest to be sure to always get a font.

2001-12-01  Richard Hult  <rhult@codefactory.se>

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_note_stamp_clicked_cb): Tweak the stamp format.

	* client/Makefile.am: Add -export-dynamic to the executable. Let's
	see if this make things work better on *BSD.

2001-11-27  Richard Hult  <rhult@codefactory.se>

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_date_time_changed_cb): Don't emit changed signal if nothing
	changed.

2001-11-17  Richard Hult  <rhult@codefactory.se>

	Update for GAL changes.
	* client/e-table-cells/m-cell-date.c (m_cell_date_get_popup_pos):
	Pass the row and view_col here, use them to get the x/y.
	(m_cell_date_show_popup): Pass the row and col.
	(m_cell_date_do_popup): Pass the row and col.

	* client/components/gantt/gantt-component.c
	(gantt_control_activate): Set the title for the date popup.
	(real_set_sensitivity): Make assign button sensitive only when one
	task is selected.
	(real_set_sensitivity): Don't set the sensitivity of the goto date
	button, it should always be sensitive.
	(tree_is_editable): Remove stale comment.
	(tree_is_editable): Return FALSE for the start/finish columns, we
	don't want the cursor editing here, just the popup.
	(create_tree_extras): Set "editable" to TRUE for the child cell of
	the date popup cell. Remove the "render_date" cell, it's not used.
	(real_set_sensitivity): Remove selected_count workaround, e-table
	is fixed.
	(gc_setup_right_click_menu): Rename for consistency.
	(e_tree_button_press): Add comment about broken etree.

	* client/widgets/goto-popup.c (goto_popup_new): Add title
	argument.
	(goto_popup_destroy): Add, free title.

2001-11-09  Mikael Hallendal  <micke@codefactory.se>

	* configure.in 
	(BONOBO_CFLAGS): added gdk_pixbuf

2001-11-04  Richard Hult  <rhult@codefactory.se>

	* client/shell.c (shell_open): Comment out the IOR printing bits.

	* client/manager-clients/Makefile.am
	(libmanager_clients_la_SOURCES): Clean up a bit.

	* client/e-table-cells/m-cell-date.c (m_cell_date_do_popup):
	Change prototype to match changed ETable.

	* configure.in: Move around AM_PROG_LIBTOOL and AC_PROG_CC to get
	rid of warnings. Also change the Evolution IDL check to use test
	-f instead of AC_CHECK_FILE to get rid of another warning.

2001-10-26  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_layout_tasks): Now handles missing parents somewhat
	intelligent.

	* client/components/calendar/calendar-component.c 
	(cc_apply_resource_filter): Now checks the filter_tasks-flag before
	filtering each task.
	(cc_clear_resource_filter): Added function.
	(cc_cmd_resource_filter): Now connects to the clear_filter-signal.

	* client/component/calendar/resource-filter-dialog-gui.glade:
	Added a "clear-filter"-button.

	* client/components/calendar/resource-filter-dialog-gui.c 
	(rfdg_button_clear_cb): Added function.
	(rfdg_connect_signals): Now connects to the button_clear.

	* client/components/calendar/resource-filter-dialog-gui.h: 
	Added signal "clear_filter".

	* client/components/calendar/month-view.c 
	(month_view_update_task): Now checks to make sure the task exists.
	(month_view_reparent_task): ditto.

	* client/components/calendar/calendar-component.c 
	(cc_resource_filter_apply): Added code to remove tasks that shouldn't
	be displayed.
	(cc_apply_resource_filter): Added function.
	(cc_allocations_removed_cb): Now calls cc_apply_resource_filter.
	(cc_allocation_added_cb): ditto.

	* client/components/calendar/month-view.c 
	(month_view_insert_task): Now checks to make sure the task doesn't
	already exist.

	* client/components/calendar/calendar-component.c 
	(cc_resource_inserted_cb): Now uses the new ResourceFilter-object.
	(cc_allocation_added_cb): Function simplified since it's now using
	ResourceFilter.
	(cc_allocations_removed_cb): Simplified function by using 
	ResourceFilter.
	(cc_task_inserted_cb): Now uses ResourceFilter.
	(cc_tasks_removed_cb): ditto.

	* client/components/calendar/Makefile.am 
	(libcalendar_component_la_SOURCES): Added resource-filter.[ch].

	* client/components/calendar/resource-filter.[ch]: 
	Added file.

	* client/components/calendar/resource-filter-dialog-gui.h 
	(RESOURCE_FILTER_DIALOG_GUI_CLASS): Fixed a typo.

2001-10-24  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/resource-filter-dialog-gui.c 
	(rfdg_resource_allocated_cb): Added function.
	(rfdg_connect_signals): Now connects to the signals from
	resource-filter-model.

	* client/components/calendar/calendar-component.c 
	(calendar_component_destroy): Now also destroys the task
	and resource-maps and their contents.
	(cc_resource_filter_apply): Added function.
	(cc_resource_filter_dialog_destroy): Added function.
	(cc_cmd_resource_filter): Now listens to signals from
	the resource-filter-dialog-gui.

2001-10-23  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/calendar-component.c 
	(calendar_component_add_to_shell): Now listens to all
	signals from ResourceManager.
	(cc_resource_removed_cb): Added function.
	(cc_resource_updated_cb): Added function.
	(cc_resource_inserted_cb): Added function.

	* client/components/calendar/resource-filter-dialog-gui.c 
	(resource_filter_dialog_gui_add_resource): Added function.
	(resource_filter_dialog_gui_remove_resource): ditto.
	(resource_filter_dialog_gui_add_resources): ditto.
	(resource_filter_dialog_gui_update_resource): ditto.

	* client/components/calendar/Makefile.am: 
	Added filter-table-model.[ch].
	(EXTRA_DIST): Now also installs the etstate and etspec-files,
	works much better now :)

	* client/components/calendar/calendar-component.c 
	(cc_cmd_resource_filter): Removed testing-code for glade.

	* client/components/calendar/filter-table-model.[ch]: 
	Stole alloc-table-model.[ch] from task-dialog, changed names
	and added them to cvs.

	* client/components/calendar/resource-filter-dialog-gui.c 
	(rfdg_set_sensitivity): Added function.

2001-10-22  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/resource-filter-dialog-gui.[ch]:
	Added file.

	* client/components/calendar/resource-filter-table.etstate: 
	Added file.

	* client/components/calendar/resource-filter-table.etspec: 
	Added file.

2001-10-23  Richard Hult  <rhult@codefactory.se>

	* client/components/calendar/calendar-component.c
	(calendar_component_remove_from_shell): Destroy the resource
	manager client and the allocation manager client. Fixes the left
	over running engine.
	(calendar_component_destroy): Unref the control.
	(cc_allocations_removed_cb): Don't assert if we don't have a task
	here, just warn and continue.

	* project-engine/allocation-manager.c
	(impl_AllocationManager_allocate): Check that the task really
	exists before allocating, raise an exception otherwise.
	(am_does_task_exist): New function that checks if a task exists.

	* client/components/gantt/gantt-model.c (gantt_model_link): Fix
	typo.
	(gantt_model_unlink): Ditto.
	(gantt_model_assign_allocation): Make error message more helpful.
	(gantt_model_unassign_allocation): Ditto.

	* idl/GNOME_MrProject_AllocationManager.idl: We must have a raises
	clause for all the exceptions that we might raise or we will get a
	CORBA transport error when we raise it.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_note_stamp_clicked_cb): New function, inserts a time stamp in
	the notes text widget.
	(tdg_connect_signals): Connect to the stamp button.

2001-10-22  Richard Hult  <rhult@codefactory.se>

	* client/Makefile.am (glade_DATA): Remove unused glade file.
	(confirm-exit-dialog.glade): Remove. 

	* client/components/task-dialog/task-dialog-gui.c
	(task_dialog_gui_update_note): Prevent a signal loop by blocking
	around update code. Restore cursor position after changing text.

	* project-engine/backends/xml-file-filter.c (write_task):
	s/g_free/CORBA_free/.

	* client/e-table-cells/Makefile.am: Add more CFLAGS.

2001-10-19  Richard Hult  <rhult@codefactory.se>

	* client/components/calendar/calendar-component.c
	(cc_cmd_resource_filter): Comment out two variables temporarily to
	fix build.

2001-10-19  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/calendar-component.c 
	(cc_allocation_added_cb): Now does useful stuff with our resources.
	(cc_allocations_removed_cb): ditto.
	(cc_cmd_resource_filter): Added some testing-code.

	* client/components/calendar/resource-filter-dialog-gui.glade:
	Added file to cvs.

	* client/components/calendar/GNOME_MrProject_CalendarComponent.ui: 
	Added "ResourceFilter"-command and verb.

	* client/components/calendar/calendar-component.c 
	(cc_set_pixmap): Added helperfunction.
	(calendar_control_activate): Now activates verbs and other 
	cool stuff.
	(cc_cmd_resource_filter): Added new command.
	(calendar_component_add_to_shell): Now creates both a
	resource_manager_client and an allocation_manager_client.
	(calendar_component_add_to_shell): Added more signals to listen,
	mainly the allocation-signals.
	(cc_allocation_added_cb): Added function.
	(cc_allocations_removed_cb): ditto.
	(cc_task_inserted_cb): Now adds each task to private idmap. For use
	with resource-filters later on.
	(cc_tasks_removed_cb): Now removes from internal idmap too.
	(cc_task_updated_cb): ditto.
	(cc_items_foreach_clear): Added function.
	(cc_items_clear_cb): Now clears the internal idmap too.
	(cc_task_reparented_cb): Now updates parentId for internal idmap.

2001-10-18  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_reparent_task): Added function.
	(month_view_layout_tasks): Now uses a better way of creating
	the order which the tasks should be laid out in.
	(month_view_foobar): Added function to traverse a hashtable
	and create the list of tasks for layout. Need a better name.
	(month_view_foobar_sort): Added function to sort first
	by type then by length.
	(month_view_task_sort): Renamed from month_view_foobar_sort.
	(parent_hash2list): Renamde from month_view_foobar.
	(month_view_layout_tasks): Added code to destroy the parent_hash.
	(parent_hash_remove): Added function.

	* client/components/calendar/calendar-component.c 
	(cc_task_reparented_cb): Function implemented.

	* project-engine/backends/file-project.c: Now
	includes gnome-i18n.h.

2001-10-17  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/calendar-component.c 
	(cc_task_inserted_cb): Removed stuff that was not needed.

	* client/components/calendar/month-view-summary-task-item.c 
	(month_view_summary_task_item_draw): Did some cleaning up.

2001-10-17  Richard Hult  <rhult@codefactory.se>

	* client/widgets/Makefile.am (INCLUDES): Ditto.

	* util/Makefile.am (INCLUDES): Ditto.

	* libmrproject/Makefile.am (INCLUDES): Add BONOBO_CFLAGS.

	* project-engine/backends/file-project.c (fp_load): Don't raise
	FileNotFound, raise IOFailure and set an error message.

	* idl/GNOME_MrProject_Project.idl: Add message to IOFailure
	exception.

	* project-engine/backends/mpx-file-filter.c (mpx_insert_task): Fix
	comment.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_gtk_editable_set_text_utf8): Add small convenience function.

	* client/components/task-dialog/task-dialog.c
	(impl_GNOME_MrProject_TaskDialog_setTaskId): Set the initial note.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_note_changed_cb): Impl.
	(tdg_create_gui): Get the note text widget from glade.
	(tdg_connect_signals): Connect to the "changed" signal on the note
	text widget.
	(task_dialog_gui_update_note): Impl.

	* project-engine/task-manager.c (impl_TaskManager_setNote): Don't
	free the note and then the any, just free the any since that will
	free the note as well (but just once, so it won't crash).
	(impl_TaskManager_getNote): Don't return CORBA_OBJET_NIL when
	a string is expected, return "" instead. Fixes crash when there is
	no note.

2001-10-17  Mikael Hallendal  <micke@codefactory.se>

	* project-engine/backends/file-task-manager.c:
	(ftm_set_note): use string instead of Note.
	(ftm_get_note): dito.

	* project-engine/backends/xml-file-filter.c:
	(write_task): write Note to file.
	(xml_read_task): read Note from file.

	* project-engine/task-manager.c:
	(impl_TaskManager_setNote): use string instead of Note.
	(impl_TaskManager_getNote): dito.

	* idl/GNOME_MrProject_TaskManager.idl: use string instead of Note.

	* idl/GNOME_MrProject_Common.idl: removed struct Note.

	* util/corba-utils.[ch]: 
	(corba_util_note_copy): removed
	(corba_util_note_duplicate): removed
	(GM_Note): removed.

	* client/manager-clients/task-manager-client.[ch]:
	(task_mc_get_note): return gchar *.
	(task_mc_set_note): take gchar *.

	* client/components/task-dialog/task-dialog.[ch]:
	(td_note_changed_cb): remove GM_Note, use gchar *

	* client/components/task-dialog/task-dialog-gui.[ch]:
	(task_dialog_gui_update_note): take gchar * instead of GM_Note *
	

2001-10-17  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c
	(gantt_row_double_clicked): Make double-clicking a row bring up
	the task dialog with the task id clicked, not the one that is
	selected in the etree.
	(gantt_row_double_clicked): Sanity check.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_update_gui): Set start/end sensitivity.

	* client/components/gantt/gantt-component.c
	(gantt_component_init): Remove debugging code.
	(gantt_row_double_clicked): Add missing event argument.

2001-10-17  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_update_task): a == b is _not_ the same as a != b.

	* client/components/calendar/month-view-task-item.c 
	(month_view_task_item_draw): Now only handles normal tasks.

2001-10-16  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view-summary-task-item.c 
	(month_view_summary_task_item_realize): Added function.

	* client/components/calendar/month-view.c 
	(month_view_remove_task_spans): Added function.
	(month_view_assign_task_item_type): Added function.
	(month_view_update_task): Now handles change of task-type.
	(month_view_remove_task): Now uses month_view_remove_task_spans.
	(month_view_clear_visible_tasks): ditto.
	(month_view_clear_tasks): ditto.

	* client/components/calendar/month-view-summary-task-item.[ch]:
	Added files.

	* client/components/calendar/month-view.c 
	(month_view_insert_task): Now checks the type of task.
	Added GtkType type to struct _MonthViewTask.
	(month_view_update_spans): Now uses MonthViewTask->type instead
	of hardwiring the type of span to use.

2001-10-16  Richard Hult  <rhult@codefactory.se>

	* project-engine/engine.c (impl_Engine_shutDown): Impl change.

	* idl/GNOME_MrProject_Engine.idl: Change the behaviour of shutDown
	slightly.

	* client/shell.c (shell_remove_from_project): Don't display the
	exception in a dialog here, it's useless.
	(shell_remove_from_project): Comment out the dialog here as
	well.

	* client/project-window.c (project_window_really_exit): Use stock
	button for Quit, merge from 0.4.x.

	* project-engine/engine.c (impl_Engine_shutDown): Impl.
	(impl_Engine__set_immortal): Impl.
	(impl_Engine__get_immortal): Impl.
	(project_destroyed): Quit if mortal and last project goes away.

	* project-engine/engine.c (impl_Engine_getProjects): Duplicate
	the CORBA refs and fill the seq before returning.

	* project-engine/main.c: Create and register the engine.

	* project-engine/GNOME_MrProject_ProjectEngine.oaf.in: Add Engine
	server.

	* client/components/calendar/month-view-task-item.c: 
	s/e_utf8_to_locale_string/e_utf8_to_gtk_string/.

	* client/components/calendar/month-view.c: Don't hard code a font,
	use the default one (merge from 0.4.x).

	* idl/GNOME_MrProject_Engine.idl: New interface to control the
	engine.

	* project-engine/engine.[ch]: Impl the Engine interface.

	* tests/engine-test.py: New test.

	* util/corba-utils.h (GM_ProjectSeq): Add ProjectSeq.

2001-10-11  Richard Hult  <rhult@codefactory.se>

	* idl/GNOME_MrProject_Engine.idl: Add engine IDL.

	* libmrproject/Makefile.am: Add engine IDL.

	* extras/images/Makefile.am (images_DATA): Unscrewup.

2001-10-10  Mikael Hallendal  <micke@codefactory.se>

	* tests/MrProject.java: added

2001-10-08  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c
	(gantt_control_activate): Set a pixmap for the assign button. An
	ugly one.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_update_gui): Change the id label on all pages.

	* client/components/task-dialog/task-dialog-gui.glade: Tweak the
	dialog and check in initial notes page.

	* client/components/gantt/gantt-component.c
	(activate_task_dialog): Oops, set the task id.

2001-10-07  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add
	command and menu item for insert sub task.

	* client/components/gantt/gantt-component.c (gc_create_task): 
	(gc_insert_subtask): 
	(gc_insert_below): Refactor those to share more code and make
	things cleaner.
	(cmd_insert): Just invoke gc_insert_task_below.

	* idl/GNOME_MrProject_TaskDialog.idl: Add enum for the task dialog
	notebook pages.
	Add method to switch the visible page.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add
	assign item to the edit menu.

	* client/components/task-dialog/task-dialog.c
	(task_dialog_class_init): Add new method to epv.

	* client/components/task-dialog/task-dialog-gui.c: Use debug macro.
	(task_dialog_gui_show_tab): Add.

	* client/components/task-dialog/task-dialog.c: Use debug macro.
	(impl_GNOME_MrProject_TaskDialog_showPage): Impl.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add
	assign command and toolbar icon.

	* client/components/gantt/gantt-component.c
	(gantt_setup_right_click_menu): Take extra argument to specify
	whether we have a task selected or not. Make certain items
	insensitive if we don't.
	(gc_control_new): Connect to button press event.
	(e_tree_button_press): Show the right click menu for right clicks
	on the empty area of the ETree.

	* client/components/gantt/gantt-chart.c: Clean up a bit.

	* project-engine/backends/file-allocation-manager.c (fam_destroy):
	CORBA_free CORBA data, don't g_free it! 

	* *.oaf.in.in: Add name and description to oaf files that didn't
	have them already.
	
	* client/widgets/Makefile.am (INCLUDES): Add ORBIT_CFLAGS.

	* client/components/gantt/gantt-row-item.c (gantt_row_item_event):
	Use gantt_model_task_duration_changed instead of
	gantt_model_task_moved.
	(gantt_row_item_event): Use gantt_model_task_moved instead of
	_task_changed.

	* client/components/gantt/gantt-model.c: Add signals,
	"task-duration-changed" and "task-moved".
	(gantt_model_task_moved): Add, emits the signal.
	(gantt_model_task_duration_changed): Add, emits the signal.

	* client/manager-clients/task-manager-client.c
	(task_mc_move_task): Impl.
	Remove task_mc_is_task_summary and _is_reccurent.
	(task_mc_set_task_duration): Impl.

	* configure.in (VERSION): Bump since the idl changed.

	* project-engine/task-manager.c (impl_TaskManager_moveTask): Impl.
	(impl_TaskManager_setTaskDuration): Impl.

	* idl/GNOME_MrProject_TaskManager.idl: Remove isTaskRecurrent and
	isTaskSummary, those are unused (and not implemented).
	Add moveTask and setTaskDuration methods.

	* client/components/gantt/gantt-row-item.c
	(gantt_row_item_realize): Simplify and set the complete fill gc to
	use stipple.
	(gantt_row_item_draw): Simplify by always drawing the background
	and then overlaying the percent complete stipple.

	* libmrproject/Makefile.am: Remove IDL_FLAGS from the C includes.

2001-10-04  Richard Hult  <rhult@codefactory.se>

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_create_gui): Add the resource page to the glade file.
	
2001-10-06  Mikael Hallendal  <micke@codefactory.se>

	* util/Makefile.am (INCLUDES): added ORBIT_CFLAGS

	* libmrproject/Makefile.am (INCLUDES): added ORBIT_CFLAGS

2001-10-02  Richard Hult  <rhult@codefactory.se>

	* client/shell.c (check_version): Make sure we don't pass NULL to
	strcmp.

	* client/main.c (main): Add small comment for translators per
	request.

2001-10-02  Mikael Hallendal  <micke@codefactory.se>

	* client/components/task-dialog/task-dialog-gui.h: 
	- killed some braindead mumbo-jumbo

	* client/components/task-dialog/task-dialog-gui.[c]:
	(task_dialog_gui_update_note): added.

	* client/project-window.c (about_cb): changed "MrProject" to
	"CodeFactory MrProject". 

	* util/corba-utils.[ch]:
	(corba_util_note_copy): added/impl.
	(corba_util_note_duplicate): use corba_util_note_copy.

	* project-engine/task-manager.c:
	(impl_TaskManager_setNote): emit note_changed.

	* client/manager-clients/task-manager-client.c:
	(task_mc_class_init): remove note_[added|removed], only have
	_changed.
	(tmc_listener): listen for note_changed.

	* client/components/task-dialog/task-dialog-gui.[ch]:
	(task_dialog_gui_class_init): added note_changed signal

	* idl/GNOME_MrProject_TaskManager.idl: renamed to
	  EventNoteChanged. Also fixed compile-error.

	* idl/GNOME_MrProject_TaskManager.idl: added EventNoteAdded.

	* client/manager-clients/task-manager-client.[ch]: 
	- added signals note_added and note_removed.
	(task_mc_class_init): create the signals.
	(task_mc_get_note): added/impl.
	(task_mc_set_note): added/impl.

	* util/corba-utils.[ch]:
	(corba_util_note_duplicate): added/impl.

	* project-engine/backends/file-task-manager.c:
	(ftm_get_note): added/impl.
	(ftm_set_note): added/impl.
	(file_task_manager_class_init): get-/setNote support.

	* project-engine/task-manager.h:
	(struct _TaskManagerClass): added get-/setNote.

	* project-engine/task-manager.c:
	(impl_TaskManager_getNote): added/impl.
	(impl_TaskManager_setNote): added/impl.
	(task_manager_class_init): get-/setNote support.

	* idl/GNOME_MrProject_TaskManager.idl: added get-/setNote.

	* idl/GNOME_MrProject_Common.idl: added struct Note.

2001-10-01  Richard Hult  <rhult@codefactory.se>

	* client/widgets/goto-popup.c: Make it work properly again with
	both the combo popup and the dialog window.

	* client/components/gantt/gantt-component.c
	(gantt_control_activate): Show all goto buttons.

	* client/components/calendar/calendar-component.c
	(calendar_control_activate): Don't show "selected task" button.

	* client/widgets/goto-popup.c: Clean up, add flags to specify
	which buttons to show.

	* client/components/calendar/Makefile.am: Link with manager
	clients lib.

2001-09-28  Richard Hult  <rhult@codefactory.se>

	* client/components/calendar/month-view.c (month_view_class_init):
	Add a signal "first-day-changed".
	(month_view_on_adjustment_changed): Emit it.
	(month_view_set_first_day_shown): Ditto.

	* client/components/calendar/calendar-component.c
	(cc_control_new): Add a label that shows the currently first shown
	date. Switch the order of the year and month buttons.
	(first_day_changed): Update the label.

	* client/components/gantt/gantt-component.c
	(gantt_control_activate): Clean up and don't set an icon for the
	control, it has its own.

	* client/components/calendar/calendar-component.c
	(calendar_component_add_to_shell): Connect to "activate" signal on
	control.

	* client/components/calendar/GNOME_MrProject_CalendarComponent.ui:
	Add.

	* client/components/calendar/Makefile.am: Add ui file.

	* client/widgets/goto-popup.[ch]: New files, took this out from
	the gantt component so that we can use it in the calendar as
	well.

	* client/components/gantt/gantt-component.c
	(gantt_control_activate): Use the goto popup widget.

	* client/GNOME_MrProject_Client.ui: Remove undo/redo.

2001-09-27  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c (tree_set_value_at):
	Parse the unit.

	* client/GNOME_MrProject_Client.ui: Clean up.

	* client/components/gantt/gantt-component.c (create_tree_extras):
	Make duration cell editable.
	(tree_set_value_at): Parse the duration string.

	* client/project-window.c (project_window_really_exit): Eek,
	actually save when the user presses "save and quit".

2001-09-26  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c: Remove unneccessary
	include.

2001-09-25  Richard Hult  <rhult@codefactory.se>

        * README.translation: Add translation guide from Christian Rose.
	
	* client/project-window.c (about_cb): De-improve a bit.

2001-09-25  Anders Carlsson  <andersca@codefactory.se>

	* client/project-window.c (about_cb): Some improvements to the
	about box.

2001-09-22  Richard Hult  <rhult@codefactory.se>

	* configure.in (VERSION): Bump version to 0.4.90.
	Add back warning about HEAD.

	* project-engine/backends/Makefile.am: Add -avoid-version to the
	loaders and also -module to the mpx loader since it didn't have
	that.

	* configure.in (python_val): Don't build python stuff unless
	explicitly told to.

	* mrproject.spec.in: Add man pages.

	* configure.in: Up version to 0.4
	(VERSION): or 0.4.0.

	* client/components/*/Makefile.am: Use -avoid-version to avoid
	version numbers on the component libs.

2001-09-21  Richard Hult  <rhult@codefactory.se>

	* client/template-dialog.c: ifdef out unused stuff for now, put
	back when we can use a newer released gal.

	* client/components/network/network-component.c
	(nc_tasks_removed_cb): Remove unused variable.

	* README: Update.

	* configure.in (VERSION): Bump version to 0.3.101.

	* project-engine/backends/file-project.c (fp_load): Add a
	workaround if mrproject is not installed in the same prefix as
	gnome-vfs.

	* client/components/calendar/calendar-component.c
	(calendar_component_factory): Listen to the start property.

	* client/shell.c (shell_set_range): Handle exceptions.

	* client/components/calendar/month-view-main-item.c (DEBUG): Use
	debug macro.

	* client/components/calendar/calendar-component.c
	(calendar_component_class_init): Add shell event method.
	(cc_shell_event): Impl, listen to project start date.

	* client/components/gantt/gantt-component.c: Remove unused include.

	* client/components/calendar/month-view-task-item.c: Use new debug
	macro. 

	* util/debug.h (DEBUG_ENABLED): Turn off debugging globally.

2001-09-21  Mikael Hallendal  <micke@codefactory.se>

	* client/components/calendar/month-view-task-item.c:
	(month_view_task_item_draw): works better with where to draw
	string.

2001-09-21  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_clear_visible_tasks): Added function.
	(month_view_clear_tasks): Added function.
	(month_view_create_spans): Added function.
	(month_view_set_first_day_shown): Now calls 
	month_view_clear_visible_tasks and month_view_create_spans when
	the month is changed.
	(month_view_layout_tasks): Now calls 
	month_view_recalc_cell_sizes(...) to solve a minor issue.

	* client/components/calendar/calendar-component.c 
	(calendar_component_control_new): Now sets first_day_shown to 
	the beginning of the month - thus looking a little nicer.

2001-09-21  Mikael Hallendal  <micke@codefactory.se>

	* client/components/calendar/month-view.h: use GM_*

	* client/components/calendar/month-view.c:
	(month_view_realize): 
	 added MONTH_VIEW_COLOR_SUMMARY_EVENT_BACKGROUND.
	(month_view_get_task): added/impl. Needed by month-view-task_item
	 to check if it's a summary task.

	* client/components/calendar/month-view-task-item.c:
	(month_view_task_item_draw): 
	- updated to draw summary tasks in another color.
	- also tried to fix so that name gets drawn in middle of the
	  taskbox. This should be looked into more.
	(month_view_task_item_draw_triangle): summary bg_color-stuff.

2001-09-21  Richard Hult  <rhult@codefactory.se>

	* client/GNOME_MrProject_Client.ui: Disable the settings for now.

	* client/components/calendar/calendar-component.c
	(calendar_component_control_new): Add buttons for moving around in
	the calendar.
	(year_back_clicked): Add.
	(year_forward_clicked): Add.
	(month_back_clicked): Add.
	(month_forward_clicked): Add.
	(goto_today_clicked): Add.
	(calendar_component_control_new): Change shadow type from none to
	out.

	* client/components/calendar/month-view.c
	(month_view_set_first_day_shown): Add checks.
	(month_view_get_first_day_shown): Implement.

	* client/components/calendar/calendar-component.c
	(calendar_component_control_new): Set the current date as first
	day shown.

2001-09-21  Mikael Hallendal  <micke@codefactory.se>

	* client/components/calendar/month-view.c:
	(month_view_realize): use same green color for tasks as used in
	gantt diagram.

	* client/components/calendar/month-view-task-item.c:
	(month_view_task_item_draw): use eel-gdk-font-extensions to
	ellipsize the taskname.

2001-09-21  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_recalc_cell_sizes): Added a snippet of code to make sure
	all availible space was used - looks nicer this way. Perhaps
	should use some more intelligent code though.

	* client/components/calendar/calendar-component.c 
	(cc_items_clear_cb): Added callback.
	(calendar_component_add_to_shell): Now listens to the 
	items_clear-signal too.
	(cc_task_inserted_cb): No reasong to calendar-component to
	keep records of the tasks added.

2001-09-21  Richard Hult  <rhult@codefactory.se>

	* client/components/calendar/month-view.c
	(month_view_get_span_position): Fix crash when inserting a task
	and the calendar is not realized.

2001-09-21  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_init): Now initialises and allocates the various 
	vectors.
	(month_view_size_allocate): Computes the real height of the 
	month_view.
	(month_view_recalc_cell_sizes): Handling of variable number of rows
	for each week added.
	(month_view_layout_get_day_position): Now handles variable number
	of rows for each week.
	(month_view_get_day_position): same here.
	(month_view_layout_tasks): Even more sane code has been added, now it
	basicly lays out the task in a nice way.
	(month_view_insert_task): calls month_view_layout_tasks(...)
	(month_view_update_task): ditto.
	(month_view_remove_task): here too.
	(month_view_compare_task_length): Works much better when using
	MonthViewTask instead of GM_Task.
	(month_view_reflow_idle): Added function to call update on every span.
	(month_view_reflow): Added wrapper-function for the creation of the 
	timeout.
	(month_view_layout_tasks): Now tracks the max-row instead of the "first"
	row - should solve some layout-problems.
	(month_view_layout_tasks): Ugly hack causes the rows to assume correct
	value dispite deletions of tasks.
	(month_view_reflow_idle): Now called gtk_widget_queue_draw(...)
	(month_view_size_allocate): Calls month_view_reflow(...) to make sure
	everything is updated.
	(month_view_clear): Added function to clear all tasks and stuff away.
	(month_view_clear_tasks): Added callback to destroy each MonthViewTask.

	*: Removed various debug-messages which were just plain annoying.
	

2001-09-20  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_remove_task): Added code to do something useful.

2001-09-20  Richard Hult  <rhult@codefactory.se>

	* client/template-dialog.c (template_table_value_at): Comment out
	a few unused functions. Put back when we can depend on recent GAL.

	* client/components/gantt/gantt-component.c (load_end_cb): Eek set
	loading to FALSE when we're done, not TRUE. Fixes insensitive
	buttons.

	* client/components/network/arrow-item.c (arrow_item_new): Destroy
	the arrow when either of the boxes are destroyed.

	* project-engine/task-manager.c (remove_dependencies): New
	function that updates a tasks predecessors and successors by
	removing the task itself from the pre/suc tasks. This fixes bugs
	with dangling dependencies.

	* project-engine/backends/file-task-manager.c
	(ftm_remove_task_model): Actually destroy the task model... 

	* client/shell.c (shell_remove_from_project): Wrap debug print
	with d().

	* project-engine/backends/file-task-manager.c (ftm_get_children):
	Warn if data is NULL and don't add it to the list.

	* project-engine/task-manager.c (dfs_insert_tasks): Robustify.
	(impl_TaskManager_removeTasks): Notify clients before we remove
	the tasks.

	* mrproject.spec.in: s/server/engine/.

	* client/components/network/task-box.c (tb_update_task): Utf-8 to
	locale string.

	* client/components/gantt/gantt-component.c (set_status_message):
	Convert utf-8 to locale string for the status bar.

2001-09-20  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view-task-item.c 
	(month_view_task_item_draw): Commented away some definitions
	to avid causing warnings.

	* client/components/calendar/month-view.c: Fixed
	various warnings and #ifdef'ed away some functions not
	being used right now.

	* client/components/calendar/month-view-task-item.c 
	(month_view_task_item_draw): Added a clipping-rect to 
	prevent the title to being drawn outside of the rectangle.
	(month_view_task_item_draw): Now also computes the correct
	center for placement of the title.

	* client/components/calendar/calendar-component.c
	(cc_tasks_removed_cb): Calls month_view_remove_task.
	Now includes debug.h

	* client/components/calendar/month-view.h: 
	Added month_view_remove_task(...)-declaration,
	also did a minor layout-thing.

	* client/components/calendar/month-view.c 
	(month_view_compare_task_start): Added function.
	(month_view_get_span_position): Now computes the
	correct length and start for each span of a task.
	(month_view_layout_tasks): Added some code here,
	not used thought - since I might not need it.
	(month_view_update_spans): Now counts from the start
	of a week, thus allowing for correct creation of spans
	for partial weeks.
	(month_view_remove_task): Added stub for this
	feature.

	* client/components/calendar/month-view-task-item.c 
	(month_view_task_item_draw): Now uses the 
	e_utf8_to_locale_string(...)-function to handle utf8.

	* client/components/calendar/Makefile.am 
	(libcalendar_component_la_LIBADD): Added GAL_LIBS.

2001-09-17  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_update_spans): Now destroys the spans correctly,
	also removes the right arrow if needed of the last task.

2001-09-18  Richard Hult  <rhult@codefactory.se>

	* *: Use the debug macro.

	* client/components/network/task-box.c (tb_layout): Remove bogus
	FIXME.
	Don't hard code the font. Might revert this soon, or fix it 'cause
	it looks ugly.

	* configure.in (VERSION): Bump version to 0.3.100 to try the
	version mismatch detection code.

	* client/project-window.c (new_details_cb): Don't use the template
	dialog for now.
	(project_window_new): Set the title initially.

	* client/template-dialog.c (template_dialog_construct): Ifdef out
	some code that depends on e-table API that changed recently. Put
	back when it's actually used and GAL is released.

	* client/project-window.c (window_title_from_name): Rent this
	space? Add a plug for CodeFactory... :) And handle NULL string and
	zero length strings.

	* client/components/network/network-component.c
	(nc_canvas_realize): Sort.

2001-09-17  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-model.c
	(gantt_model_task_is_leaf): Use the task->type instead of poking
	at the etree. Grrrr I thought I had fixed this already.

	* client/components/network/network-item.c
	(network_item_class_init): Remove C++ comments.

	* project-engine/task-manager.c (impl_TaskManager_reparentTask):
	Update summary/normal status when reparenting.

	* client/components/gantt/gantt-component.c (load_begin_cb):
	Impl. 
	(load_end_cb): Impl.
	(set_sensitivity_and_status): Don't bother if we are loading.

	* client/components/Makefile.am (SUBDIRS): I am a doofus.

	* client/components/calendar/calendar-component.c
	(cc_task_inserted_cb): Don't make a CORBA call in the event
	callback code path.

	* NEWS (News): Fix tyop.

	* util/debug.h: New file with debugging utilities. Have a global d
	macro that can be disabled globally.

	* client/components/network/network-component.c (nc_load_end_cb):
	Add. 
	(nc_load_begin_cb): Add.
	(nc_sort): Only schedule idle sort if we're not loading.

	* client/manager-clients/manager-client.c
	(manager_client_class_init): Add signals for load_begin/end.
	(mc_listener): Listen for and forward load_begin/end.

	* project-engine/project.c (impl_Project_load): emit load_begin
	and load_end events.

	* client/components/network/network-component.c
	(nc_canvas_realize): Don't do an explicit sort here, use the idle
	sorter instead.

	* client/components/network/arrow-item.c (set_arrow_start): Use
	the item->[xy][12] coords directly instead of getting the bounds
	and transform them.
	(set_arrow_end): Ditto.

2001-09-17  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_update_task): Added function.

	* client/components/calendar/month-view-task-item.c 
	(month_view_task_item_update): Added function.
	(month_view_task_item_draw): Added function.
	(month_view_task_item_draw_triangle): Added function.

	* client/components/calendar/month-view.c 
	(month_view_get_task_title): Added function.
	(month_view_get_time_string_width): Added function.
	(month_view_get_span_position): Added function.

	* client/components/calendar/*.[ch]: Minor tweaks and hacks.

	* client/components/calendar/month-view-task.h: Added definition
	into it's own file to avoid "circular inclusion" :)

2001-09-17  Mikael Hallendal  <micke@codefactory.se>

	* NEWS (News): updated.

2001-09-17  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-arrow-item.c
	(gantt_arrow_item_new): connect while arrow is alive, not
	predecessor. Fixes criticals and a crash.

2001-09-16  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-row-item.c (real_idle_update): Ditto.

	* client/components/gantt/gantt-item.c (real_reflow): Do not
	remove the idle source in the idle callback, this can corrupt
	glib's list of idles!

	* util/corba-utils.c (corba_util_id_string_from_list): Change
	warnings to message (for empty lists).

	* project-engine/resource-manager.c
	(impl_ResourceManager_removeResources): Ditto.

	* project-engine/task-manager.c (impl_TaskManager_removeTasks):
	CORBA_free the corba string instead of g_freeing it (caught by
	enabling mem check on glib...).

2001-09-15  Richard Hult  <rhult@codefactory.se>

	* project-engine/project.c (project_init): Add readable/writeable
	flags. Also add Version property for checking for version mismatch
	between engine/front end.
	(get_prop): Add version property.

	* util/Makefile.am (INCLUDES): Add VFS includes to fix build with
	newer gnome-vfs.

2001-09-14  Mikael Hallendal  <micke@codefactory.se>

	* client/manager-clients/resource-manager-client.[ch]: style
	fixes.

	* client/manager-clients/allocation-manager-client.[ch]: style
 	  fixes.

	* client/manager-clients/task-manager-client.[ch]: style fixes.

2001-09-14  Mikael Hallendal  <micke@codefactory.se>

	* client/components/resource/resource-component.c:
	(rc_cmd_remove): removed unused variable.

	* project-engine/backends/file-resource-manager.c:
	(frm_remove_resources): fixed a typo of mine, thanks jeroen.

2001-09-13  Richard Hult  <rhult@codefactory.se>

	* client/components/network/network-canvas.c
	(network_canvas_clear): Remove idle source.

	* client/components/network/network-component.c
	(network_component_destroy): Remove the idle source and null out
	priv after freeing.
	(nc_items_clear_cb): Remove idle source.

	* client/components/network/network-canvas.c
	(network_canvas_clear): Impl.

	* client/components/network/network-component.c
	(network_component_add_to_shell): Connect to items_clear signal.
	(nc_items_clear_cb): Add.

2001-09-13  Mikael Hallendal  <micke@codefactory.se>

	* util/corba-utils.c (corba_util_id_seq_to_list): 
	- Take id_seq as a const.

	* project-engine/backends/file-resource-manager.c:
	(frm_remove_resources): renamed, takes a list of ids.

	* project-engine/resource-manager.c: 
	- Remove resources stuff.
	- Redid virtual remove_resource to take a list of id's.
	- Updated to match IDL.
	(impl_ResourceManager_removeResources): renamed, takes a list.
	- Send a rhult-hack-list.

	* idl/GNOME_MrProject_ResourceManager.idl: 
	- renamed removeResource to removeResources, takes a IdSeq.

	* client/manager-clients/resource-manager-client.c:
	(rmc_listener): recieve removed resources as a rhult-hack-string.
	(resource_mc_remove_resources): renamed from
	resource_mc_remove_resource. It takes a list of ids.

	* client/components/resource/resource-component.c:
	- Added support for multiple remove.
	(rc_foreach_remove): added
	(rc_cmd_remove): added support for sending a list of removed ids.

	* client/manager-clients/manager-client.c:
	(mc_listener): emit items_clear.
	
	* client/manager-clients/task-manager-client.c:
	(tmc_project_set): removed a g_warning that shouldn't be there.

	* client/manager-clients/resource-manager-client.c:
	(rmc_project_set): removed a g_warning that shouldn't be there.

	* client/manager-clients/allocation-manager-client.c:
	(amc_project_set): removed a g_warning that shouldn't be there.

	* client/components/resource/resource-component.c: removed some
	  debug printouts.

2001-09-13  Richard Hult  <rhult@codefactory.se>

	* project-engine/task-manager.c (task_check_constraints): Some
	test code to try and fix a few bugs. Commented out so far.

	* client/components/gantt/gantt-component.c (cmd_zoom_entire):
	Impl.

	* client/components/gantt/gantt-chart.c (gantt_chart_zoom_entire):
	Refactor.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add
	command to zoom to the entire project.

	* client/components/gantt/gantt-item.c: Remove unused state
	variable and enum type.
	Remove source_model stuff as well, it was not used.

	* project-engine/task-manager.c (dfs_sort): Free node data.

	* client/components/network/arrow-item.c (arrow_item_new): Connect
	while alive.

	* client/components/network/network-component.c: Use the idle
	sorter instead of explicitly sorting after every operation.

	* client/components/network/task-box.c (task_box_reparent): Impl.

	* client/components/network/network-component.c
	(nc_task_reparented_cb): Impl.

2001-09-12  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-row-item.c (draw_bracket): Tweak
	the thickness of the bracket.

	* client/components/gantt/gantt-component.c
	(gantt_component_insert_subtask): Inherit the parent's length.

2001-09-11  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-row-item.c: Remove the
	selected_frame gc, and use the frame gc always. This simplifies
	the drawing code quite a bit.

	* client/components/gantt/gantt-arrow-item.c: Use the new
	_get_geometry function.

	* client/components/gantt/gantt-row-item.c
	(gantt_row_item_get_geometry): New function to get the
	position/size of a bar (can't use bounds since they include the
	label).

	* client/components/gantt/gantt-item.c (gantt_item_draw): Enable
	drawing of the scale ticks again.

	* client/components/gantt/gantt-arrow-item.[ch]: New files that
	replace gantt-link-item.[ch]. Subclass GnomeCanvasLine instead of
	doing the drawing ourselves.

2001-09-10  Richard Hult  <rhult@codefactory.se>

	* extras/images/*: Added some more stock images from gtk+ 2. Not
	really neccessary but it looks nice :).

	* client/components/gantt/gantt-row-item.c
	(gantt_row_item_update): Doh, we were never saving the calculated
	label width, put it in priv->label_width (which was never
	initialized before...).
	(gantt_row_item_draw): Do not use the bar width + label width to
	decide what area to draw, just use the bar width. This fixes the
	bar messing up the link arrow drawing.

	* client/components/gantt/gantt-item.c: More style.

	* client/components/gantt/gantt-row-item.c: Fix coding style issues.

2001-09-09  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c (set_status_message):
	Refactor. 

	* client/components/resource/resource-component.etspec: Ditto.

	* client/components/gantt/gantt-component.etspec: Make selection
	with the keyboard possible.

	* client/components/gantt/gantt-component.c (set_status_message):
	Fix this to actually set the message when one task is selected.
	
	* client/components/network/network-item.c
	(predecessor_destroyed): Remove the predecessor from the item's
	list when it is destroyed.
	(network_item_link): Connect to destroy signal on predecessor.

2001-09-08  Richard Hult  <rhult@codefactory.se>

	* project-engine/backends/file-project.c: Include gnome-vfs-uri.h,
	patch from Mr Grib :)

	* client/components/gantt/gantt-component.c (cmd_select_all):
	Don't call set_sensitivity, that will be done in the
	selection_changed callback.
	(cmd_invert_selection): Ditto.

2001-09-07  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/e-tree-extensions.c
	(get_selected_rows_cb): Never add -1 to the list of selected row
	numbers.

	* project-engine/backends/file-project.c (fp_save): Fall back on
	the navite format for saving.

	* client/components/gantt/gantt-component.c
	(set_sensitivity_and_status_message): Don't play with
	sensitivity/status message if we're inactive.

	* client/components/gantt/gantt-model.c
	(gantt_model_get_num_tasks): Add.

	* client/components/gantt/gantt-component.c
	(set_sensitivity_and_status_message): Guard against null path and
	task. Fixes crash.
	
	* project-engine/backends/file-project.c (fp_load): Try the native
	loader if the mime-type could not be determined. Thanks to grib
	for reporting this.

	* idl/GNOME_MrProject_FileFilter.idl: Remove the file not found
	exception.

	* project-engine/backends/xml-file-filter.c (xff_load): Remove the
	file not found testing from here.

	* project-engine/backends/file-project.c (fp_load): Raise
	MethodNotSupported if we don't find a loader.
	(fp_load): Fix this one. Check if the uri exists before even
	trying to activate loaders. Free exception.

	* client/main.c (main): Add human readable string for URINotFound
	exception.

2001-09-06  Richard Hult  <rhult@codefactory.se>

	* project-engine/backends/file-project.c (fp_load): Set
	URINotFound if the file is not found.

	* client/project-window.c (open_cb): Only show a new window if we
	succeeded in opening the file. Fixes #211.

	* project-engine/backends/xml-file-filter.c (xff_load): If the
	file is not found, raise FileNotFound instead of Failure.

	* idl/GNOME_MrProject_FileFilter.idl: Don't let the save method
	raise FileNotFound, that does not make sense.

	* client/components/gantt/gantt-component.c (cmd_edit): Unref the
	control as soon as we got the taskdialog interface from it. This
	plugs a bonobo object ref leak keeping the taskdialog object alive
	after the dialog was destroyed. This also has the effect that the
	engine shutdowns cleanly even after the task dialog has been shown
	:)

	* project-engine/backends/xml-file-filter.c (xml_read_task):
	Initialize the task type, without this the summary/normal changes
	did not work. Weird.

	* project-engine/task-manager.h: Use short names.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_update_gui): We have to check explicitly if type is summary.

	* project-engine/backends/GNOME_MrProject_MpxFileFilter.oaf.in.in:
	Add mime type.

	* project-engine/backends/file-project.c (fp_load): Simplify logic.
	(fp_load): Only query for loaders that handles our mime type.
	(fp_save): Query for loaders that handle our mime type. Simplify
	logic, and release the activated loaders.

	* project-engine/backends/xml-file-filter.c (xff_destroy):
	Rerevert: chain up to parent destroy and null out priv pointer.

	* project-engine/backends/file-filter.c (file_filter_destroy):
	Rerevert: chain up to parent destroy.

	* project-engine/backends/GNOME_MrProject_XmlFileFilter.oaf.in.in:
	Add mime type attribute.

	* client/components/calendar/calendar-component.c
	(calendar_component_destroy): Destroy the task manager client so
	that the engine can be cleanly shutdown again. NULL out priv after
	freeing it.
	(calendar_component_remove_from_shell): Destroy client here as
	well.

	* client/components/gantt/gantt-component.c: Change the IS_SUMMARY
	macro to use the task->type instead of poking around in the etable
	model.

	* client/components/task-dialog/task-dialog.c
	(td_task_updated_cb): Remove debugging message.

	* client/components/task-dialog/task-dialog-gui.c
	(tdg_update_gui): Make the spinbutton sensitive if we have a
	normal task.

	* project-engine/task-manager.c (impl_TaskManager_removeTasks):
	Keep a list of the parents of the tasks we remove, and update
	their summary/normal status after removal.

	* project-engine/allocation-manager.c (am_tasks_removed): Get ids
	from a string instead of sequence.

	* client/manager-clients/task-manager-client.c (tmc_listener):
	Change to get the ids from a string instead of a sequence.

	* project-engine/task-manager.c (impl_TaskManager_removeTasks):
	Instead of emitting the sequence of integers which made the client
	crash, put the ids in a :-delimited string... eek.

	* client/components/network/network-canvas.c
	(network_canvas_insert_task): Connect to "destroy" on the newly
	created items so that we can remove them from the idmap when they
	go away.
	(item_destroyed): Remove from idmap when we go away.

	* util/corba-utils.c: Include stdlib.h for strtol.
	(corba_util_id_string_from_list): Eek, gross hack.
	(corba_util_id_string_to_list): Another one.

	* client/components/gantt/gantt-model.c
	(gantt_model_get_prev_sibling): Clean up slightly, reword comments.
	(gantt_model_get_next_sibling): Make this work like _prev_sibling,
	this should fix #213. 
	Changed everything to use our short versions of the CORBA type names.

	* client/components/gantt/gantt-component.c (up_or_down): Fix style.

	* client/GNOME_MrProject_Client.ui: Use new icons.

	* client/project-window.c (project_window_new): Use new icons.
	(set_pixmap): Copy from gantt-component (should it be in util?).

	* extras/images/24_{open,save,new}.png: New files added from gtk+
	HEAD stock images.
	
	* client/components/gantt/GNOME_MrProject_GanttComponent.ui:
	Remove debug button.
	
2001-09-05  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c
	(task_repositioned_cb): Select the task again now that we don't
	use reposition as an ugly hack after insertTask.

	* client/components/gantt/gantt-model.c (gantt_model_insert_task):
	Remove the call to e_tree_model_node_data_changed () now that the
	server actually emits "updated" when a task's type changes. Yay!

	* client/components/gantt/gantt-component.c
	(gantt_component_insert_below): Remove lots of crack. This can be
	made really simple now.

	* project-engine/backends/file-task-manager.c (ftm_insert_task):
	If type is TASK_AFTER, increase offset, otherwise don't.

	* client/components/network/network-component.c
	(nc_task_inserted_cb): Change prototype as below.

	* client/manager-clients/task-manager-client.c
	(task_mc_insert_task_full): Impl.

	* util/corba-utils.h (GM_TaskType): Add TaskType.

	* project-engine/task-manager.c (impl_TaskManager_createTask): Set
	type to normal initially.

	* project-engine/backends/file-task-manager.c (ftm_insert_task):
	Take the sibling id in account and insert the task in the right
	position.

	* client/components/calendar/calendar-component.c
	(cc_task_inserted_cb): Change as below. 

	* client/components/gantt/gantt-component.c (task_inserted_cb):
	Change prototype to reflect the signal prototype changes.

	* client/manager-clients/task-manager-client.c (tmc_listener):
	Change to reflect the changes in "inserted" event data.
	(task_mc_class_init): Change the signal prototype, we send sibling
	id and ordering type now.

	* idl/GNOME_MrProject_TaskManager.idl: Add EventTaskInserted
	struct.

	* project-engine/task-manager.c (impl_TaskManager_removeTasks):
	Add commented out code to set the type back to normal if a task
	becomes non-summary after removal. Does not work yet.
	(tm_insert_full): Change the event data to the EventTaskInserted
	struct with the task, sibling, and ordering type.

	* project-engine/backends/file-task-model.c
	(ftm_get_num_children): Impl.

	* project-engine/task-model.h (struct _TaskModelClass): Add
	virtual method to get number of children of a task.

	* project-engine/task-model.c (task_model_get_num_children): Add.

	* project-engine/task-manager.c (tm_insert_full): Split out common
	implementation and put it here.
	(impl_TaskManager_insertTask): Use the above.
	(impl_TaskManager_insertTaskFull): Ditto.
	(tm_insert_full): Set the parent task type to summary here and emit
	updated event on the parent task.
	(tm_set_task_type): Add, sets the task type and emits update event.

	* idl/GNOME_MrProject_TaskManager.idl: Add a new method,
	insertTaskFull, that takes a sibling id and before/after flag. If
	things work out, we should probably have this instead of the
	insertTask, and rename it to insertTask.

	* idl/GNOME_MrProject.idl: Remove the #define/pragma hack, it
	should not be neccessary any more. Include the common idl.

	* libmrproject/Makefile.am: Add new idl.

	* idl/Makefile.am (idl_DATA): Add new idl.

	* idl/GNOME_MrProject_Common.idl: Split out declarations from
	the main idl and put here.

	* client/components/gantt/gantt-component.c
	(gantt_component_delete_task): Add "delete task" to the
	right-click menu.
	(gantt_setup_right_click_menu): Don't add a GtkSeparator, just add
	an empty menu item.

2001-09-05  Mikael Hallendal  <micke@codefactory.se>

	* util/corba-utils.h: added GM_ResourceType.

	* client/components/resource/resource-table-model.[ch]: cleanups

	* client/components/resource/resource-component.[ch]: cleanups

	* client/components/resource/print-resources.c: cleanups

	* client/components/resource/group-dialog.[ch]: cleanups

	* client/components/task-dialog/task-dialog.[ch]: cleanups

	* client/components/task-dialog/links-table-model.[ch]: cleanups

	* client/components/task-dialog/alloc-table-model.[ch]: cleanups

	* client/components/task-dialog/task-dialog-gui.[ch]: cleanups

	* client/components/gantt/gantt-component.c:
	(gantt_setup_right_click_menu): added a separator.
	(e_tree_right_click): added/impl. 
	(gc_control_new): connect to right-click from ETree.
	(gantt_component_edit_task_activate): added/impl., show the
	  TaskDialog. 
	(gantt_setup_right_click_menu): added/impl. setup right click
	  popup menu.
	(gantt_component_insert_subtask): added/impl. inserts a subtask of
	  currently selected task.
	(gantt_component_insert_below): added/impl. inserts a task below
	  currently selected task.

	* client/components/resource/resource-component.c:
	(rc_setup_right_click_menu): mark menu_items for translation.

2001-09-05  Richard Hult  <rhult@codefactory.se>

	* client/components/resource/resource-component.c
	(rc_resource_inserted_cb): Grab focus for the etable.

	* client/components/gantt/gantt-component.c (task_inserted_cb):
	Selected the newly inserted task.
	(cmd_insert): Insert new tasks at the same level as the selected
	instead of as a child of the selected task. Yay!

	* client/components/network/task-box.c (task_box_remove_child):
	Special case the invisible root box, never turn it into a task box
	when removing children.

	* client/components/gantt/gantt-model.c
	(my_e_tree_model_get_child_offset): Prefix with my_ to make it
	more clear that this is not in gal.

	* client/components/network/network-component.c
	(nc_tasks_unlinked_cb): Uglify (make it resort the boxes after
	unlink).

	* client/components/network/network-canvas.c
	(network_canvas_unlink): Impl.

2001-09-04  Richard Hult  <rhult@codefactory.se>

	* client/components/network/task-box.c (tb_layout): Fix summary
	box bounds calculation.
	(tb_layout): Fix up column layout so that boxes don't overlap.

	* client/components/network/network-canvas.c
	(network_canvas_sort): Don't try to do anything if we don't have
	any items. Should fix crash.

	* client/components/network/*: Lots and lots of changes, really a
	rewrite. Things are cleaner now and a lot more robust etc. Not
	finished, so except more work in the nearest future.

	* client/components/resource/resource-component.c
	(rc_right_click_cb): Remove unused variable.
	(rc_setup_right_click_menu): Return something.

2001-09-03  Richard Hult  <rhult@codefactory.se>

	* client/components/send/send-component.c (send_project_cb):
	Remove two instances of the patented technology called
	"printf debugging" (tm).

2001-09-03  Richard Hult  <rhult@codefactory.se>

	* client/components/send/send-component.c: Make this work.

2001-09-04  Mikael Hallendal  <micke@codefactory.se>

	* client/components/gantt/gantt-row-item.c:
	(gantt_row_item_draw): fixed drawing.

	* util/corba-utils.h: 
	- added TASK_CHANGE_PERCENT_COMPLETE.

	* util/corba-utils.c:
	(corba_util_task_copy): copy percentComplete.
	(corba_util_task_update): update percentComplete.

	* project-engine/backends/xml-file-filter.c: 
	- read/write percentComplete.

	* project-engine/backends/mpx-file-filter.c: 
	- support percentComplete.

	* project-engine/task-manager.c:
	(impl_TaskManager_createTask): initially set percentComplete to 0.

	* idl/GNOME_MrProject_TaskManager.idl: 
	- added percentComplete to Task-struct.

	* client/components/task-dialog/task-dialog-gui.c:
	(tdg_complete_changed_cb): impl.
	(tdg_update_gui): set percent complete.

	* client/components/task-dialog/task-dialog-gui.glade: 
	- set percent complete spinbutton to be sensitive.

	* client/components/gantt/gantt-row-item.c: 
	- added support to draw percent complete.
	- added fill_complete_gc to priv-struct.
	(gantt_row_item_realize): init fill_complete_gc.
	(gantt_row_item_unrealize): unref fill_complete_gc.
	(gantt_row_item_draw): draw percent done. (not finished).

	* client/components/resource/Makefile.am (COMPOSER): 
	- fix buildfix :)

2001-09-04  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/resource/Makefile.am (COMPOSER): 
	Now checks to make sure we want to compile the compoesr-stuff
	before including it in the makefile.

2001-09-04  Mikael Hallendal  <micke@codefactory.se>

	* util/corba-utils.[ch] (corba_util_evolution_composer_exist): 
	- moved from client/components/send/send-component.c to be
	  accessable from all places where we have optional evolution 
	  composer support.

	* client/components/send/send-component.c:
	- moved the evolution runtime check to utils/corba-util.[ch].
	(send_component_add_to_shell): call
	  corba_util_evolution_composer_exist to do a runtime check if
	  composer is around. 

	* client/components/resource/resource-component.c:
	(rc_create_table): call corba_util_evolution_composer_exist() to
	  see if we should connect the signal.
	(rc_setup_right_click_menu): added/impl. moved out stuff from
	  rc_right_click_cb. Now it will set 'Send to...'-button
	  insensitive if resource has no email and set 'Send to group...' 
	  insensitive if resource not part of a group (instead of those
	  annoying dialogs.
	(rc_create_table): call corba_util_evolution_composer_exist to see
	  if we should connect to the right-click signal.

	* client/components/gantt/gantt-goto-control.c:
	(create_goto_frame) set initial date to today. Fixes #171.

2001-09-03  Mikael Hallendal  <micke@codefactory.se>

	* client/components/resource/resource-table-model.c:
	(resource_tm_get_resources_with_group): added impl. needed to send
	  to an entire group.

	* client/components/resource/resource-component.c:
	(rc_composer_component_loaded): added support to email an entire
	  group.
	(rc_send_to_activate_cb): dito.
	(rc_right_click_cb): dito.

	* client/components/resource/Makefile.am:
	(libresource_component_la_LIBADD): link with libmrproject-composer.la

	* client/components/resource/resource-component.c: 
	- Added support to mail a resource.
	(rc_right_click_cb): added/impl.
	(rc_send_to_activate_cb): added/impl.
	(rc_composer_component_loaded): added/impl
	(rc_create_table): connect to right_clicked on table if
	  HAVE_EVOLUTION_COMPOSER_IDL is defined.

	* util/corba-utils.c (corba_util_resource_copy): copy email
	(corba_util_resource_update): update email.

	* tests/MrProject.mrproject: added our emails.

	* project-engine/backends/xml-file-filter.c: 
	- fixed to handle resource email.

	* project-engine/backends/mpx-file-filter.c: added support for
	  reading resource email.
	(mpx_resource_handle_string): renamed from ..._handle_name. Also
	  handles resource email now.

	* project-engine/backends/file-filter.c:
	(impl_FileFilter_save): 
	- set exception if error.
	- set project, setup manger references.
	(impl_FileFilter_load): dito.

	* project-engine/resource-manager.c:
	(impl_ResourceManager_createResource): added email to resource.

	* idl/GNOME_MrProject_ResourceManager.idl: added email to
	  Resource-struct. 

	* client/components/resource/resource-component.etstate: 
	- added email, removed stdRate/ovtRate.

	* client/components/resource/resource-component.etspec: 
	- added email column.

	* client/components/resource/resource-table-model.c:
	(resource_tm_set_value_at): added support for resource email.
	(resource_tm_value_at): dito.

	* client/components/gantt/gantt-model.c 
	(gantt_model_reparent_task): broke a row.
	(gantt_model_reposition_task): unbroke a row.

	* client/components/gantt/gantt-link-item.c 
	(gantt_link_item_set_arg): style.

	* client/project-window.c (save_as_cb): fix when saving a file
	  that already has a filename.

2001-08-30  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view-task-item.h: 
	Added file to cvs.

	* client/components/calendar/month-view-task-item.c: 
	Added file to cvs.

2001-08-30  Mikael Hallendal  <micke@codefactory.se>

	* project-engine/backends/mpx-file-filter.c: fixed to fit into
	  mrproject codingstyle.

	* util/corba-utils.h 
	(GM_Time): added.
	(GM_FileSummary): added

	* project-engine/backends/file-filter.c: 
	-reverted to 1.4 in order to make loading of mpx work.

	* project-engine/backends/xml-file-filter.c: 
	- reverted to 1.19 in order to make loading work for 0.4

2001-08-29  Richard Hult  <rhult@codefactory.se>

	* configure.in (python_val): Fix some b0rkage. Now
	--without-python should work.

2001-08-27  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/calendar-component.c 
	(calendar_component_control_new): Now frees the GDate creates,
	credits for this belongs to andersca - since he so gracefully 
	pointed it out :)

2001-08-27  Richard Hult  <rhult@codefactory.se>

	* client/components/network/network-canvas.c
	(network_canvas_sort): Add some test code for the sorting stuff.

	* util/file-sel.c (file_sel_run): Eek don't leak the filename.
	(file_sel_run): Return NULL if we don't get a filename.

	* project-engine/task-manager.c: Rewrite the topoligical sorting
	hack to make it a bit nicer and cleaner and hmm something else I
	forget... oh yeah make it work too.
	(graph_traverse): Never add id 0.

2001-08-26  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c
	(task_repositioned_cb): Clear selection before repositioning (just
	like with all the other callbacks here...).

	* util/corba-utils.c (corba_util_id_seq_to_list): Reverse the list
	so that the returned ids are in the same order as in the input seq.

	* project-engine/backends/file-filter.c (impl_FileFilter_load):
	Don't raise exception if the file is fully loaded with no failure.

2001-08-24  Richard Hult  <rhult@codefactory.se>

	* client/preferences-dialog.c: Don't include the whole world.
	Add comment for how to do component settings.

2001-08-23  Richard Hult  <rhult@codefactory.se>

	* client/components/resource/resource-component.c
	(rc_create_table): Unref extras, plugs leak.

	* client/components/gantt/gantt-component.c (gc_control_new):
	Unref the extras, plugs leak.

	* client/components/gantt/gantt-item.c (insert_rows): unref, don't
	destroy the id_map, plugs leak.

	* client/shell.c (activate_components): Plug leak.

	* client/components/network/network-component.c: Remove
	unneccessary includes.

2001-08-21  Richard Hult  <rhult@codefactory.se>

	* util/corba-utils.c (corba_util_dependency_duplicate): Copy in ""
	in the "empty" field. We really should fix this.
	(corba_util_dependency_seq_from_list): Likewise.

2001-08-22  Richard Hult  <rhult@codefactory.se>

	* client/manager-clients/task-manager-client.c
	(task_mc_get_manager): Make it possible to access the manager
	directly. Should we dup/ref here?

	* client/components/gantt/gantt-component.c (cmd_debug): Test code
	for the new engine code.

	* project-engine/task-manager.c (dfs_sort): Add lots of crappy
	hacky code that basically builds a graph from our weird
	task/dependency data and then does depth first search to get the
	topological order. Will die when we fix the depencency code.

	* idl/GNOME_MrProject_TaskManager.idl: Add method to get tasks
	topologically sorted. Not final yet...

	* util/file-sel.c (file_sel_run): Dup string before we destroy the 
	widget. Doh.

	* configure.in: Remove duplicate entry for calendar Makefile.

2001-08-20  Richard Hult  <rhult@codefactory.se>

	* client/components/network/network-item.c: Add config.h

2001-08-22  Anders Carlsson  <andersca@gnu.org>

	* client/GNOME_MrProject_Client.ui: 
	Add edit preferences.
	
	* client/Makefile.am: 
	Add new files to build.
	
	* client/main.c: (main): Call gconf_init.
	
	* client/preferences-dialog.c: (preferences_close_clicked),
	(preferences_key_event), (preferences_check_button_key_changed),
	(preferences_check_button_toggled), (preferences_widget_destroy),
	(preferences_initialize_check_button), (preferences_entry_changed),
	(preferences_entry_key_changed), (preferences_initialize_entry),
	(preferences_dialog_run): New functions in a new file.
	
	* client/preferences-dialog.glade: New file.
	
	* client/preferences-dialog.h: New file.
	
	* client/project-window.c: (preferences_cb): Show preferences dialog.
	* configure.in: Look for GConf.
	
2001-08-22  Anders Carlsson  <andersca@gnu.org>

	* client/components/calendar/month-view-titles-item.c: Added
	trailing #include <string.h>

2001-08-21  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.c 
	(month_view_set_first_day_shown): Added function.
	(month_view_on_adjustment_changed): Added function to update
	the MonthView when the scrollbar is changed.
	(month_view_init): Now creates a scrollbar and places it.

	* client/components/calendar/Makefile.am 
	(libcalendar_component_la_SOURCES): Added 
	month-view-titles-item.[ch]

	* client/components/calendar/month-view.c (month_view_init): 
	Now creates a MonthViewTitlesItem and adds it to the top.

	* client/components/calendar/month-view.h: Changed parent from
	GnomeCanvas into GtkTable. Works better and more code from
	Evolution has been imported.

	* client/components/calendar/month-view.c (month_view_style_set): 
	Added function to calculate the height and width of fonts and such.

2001-08-20  Richard Hult  <rhult@codefactory.se>

	* client/components/network/network-canvas.c (nc_destroy): Remove
	idle handler and free priv struct.
	(nc_reflow): Do the work in an idle handler...
	(nc_reflow_idle): ...which is here.

2001-08-20  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view-titles-item.h:
	Added file.

	* client/components/calendar/month-view-titles-item.c: 
	Added file.

	* client/components/calendar/month-view.c (month_view_init): 
	Added code to do something useful. Now Allocates fonts and such.
	(month_view_realize): Added function, allocates alot of colors.
	(month_view_unrealize): Added empty function.
	(month_view_size_allocate): Added function to recompute size of
	each day in the calendar.
	(month_view_recalc_cell_sizes): Added helperfunction for
	month_view_size_allocate.
	(month_view_get_day_position): Added function.
	(month_view_layout_get_day_position): Added helperfunction for
	month_view_get_day_position.

        * configure.in: Added Makefile to compile the Calendar-component.
	
	* client/component/Makefile.am: Added entry for Calendar.
	
2001-08-20  Richard Hult  <rhult@codefactory.se>

	* client/components/resource/resource-component.c
	(rc_set_sensitivity_and_status_message): Added, but does not do
	much yet due to a etable selection bug (?).

	* client/components/gantt/gantt-component.c
	(gc_remove_from_shell): Don't deactivate here.

2001-08-19  Richard Hult  <rhult@codefactory.se>

	* client/components/python/python.c (init_python_script): Ok,
	don't ref the shell here, just dup the objref.

	* client/components/network/network-component.c
	(network_component_remove_from_shell): Destroy the task manager
	client.
	(network_component_destroy): Only destroy the task mananger client
	if we have one.

	* client/project-window.c (open_cb): Use new file-sel API.
	(save_as_cb): Use new file-sel API.
	(save_cb): Plug leak.
	(revert_cb): Clean up comments.
	Remove test callback.
	(project_window_exit): Plug theoretical leak.
	Clean up stuff, use short names for our CORBA types, fix coding
	styles, etc etc.
	(remove_shell_listener): Added.
	(project_window_destroy): Use remove_shell_listener.
	(add_shell_listener): Don't keep the listener reffed, unref it
	when it's added to the event source.

	* client/components/python/python-component.c (open_script_cb):
	Use file-sel again, with new API.
	Remove unneccessary includes.

	* client/Makefile.am: Link with utilx, and remove file-sel.[ch]
	from here.

	* util/file-sel.c: Move file-sel here so that other parts of
	MrProject can use it, and make it return a filename instead of a
	URI.

	* client/project-window.c (notebook_switch_page_cb): Freeze/thaw
	the engine.

	* client/shell.c (shell_new): Remove comment.

	* client/components/python/python-component.c: Exe component stuff.

	* client/components/python/Makefile.am: Make this an exe
	component, at least for now.

	* client/project-window.c (notebook_switch_page_cb): Reset the
	status message when we switch between components.
	(setup_progress_bar): Tweak slightly.

	* client/components/gantt/gantt-component.c
	(e_tree_selection_change): Set a nice status message.

	* client/components/gantt/e-tree-extensions.[ch]: New files with
	some convenience functions, moved out from gantt-component.

2001-08-18  Anders Andersson  <anders@codefactory.se>

	* man/*.1: Fix minor style issues and a spelling error.

2001-08-18  Richard Hult  <rhult@codefactory.se>

	* client/project-window.c (project_window_new): Set up a progress
	bar in the status bar area.
	(setup_progress_bar): Do the work here.

	* client/components/calendar/Makefile.am
	(libcalendar_component_la_LIBADD): Add interfaces library.

	* configure.in: Add calendar Makefile.

2001-08-17  Richard Hult  <rhult@codefactory.se>

	* client/components/network/summary-box.c (sb_destroy): Remove the
	reflow idle.
	(sb_realize): Reflow after we've been realized.

2001-08-17  Thomas Nyberg  <thomas@codefactory.se>

	* client/components/calendar/month-view.h: 
	Added file to cvs.

	* client/components/calendar/month-view.c: 
	Added file to cvs. 

	* client/components/calendar/month-view-main-item.h: 
	Added file to cvs.

	* client/components/calendar/month-view-main-item.c: 
	Added file to cvs. The "grid-system" for the month-view.

2001-08-17  Richard Hult  <rhult@codefactory.se>

	* client/project-properties-dialog.c (setup_corba_glue): Make this
	work again by bringing it up to date to match recent changes.

	* client/project-window.c (get_project_name): Use property bag client.
	(get_project_range): Ditto.
	(project_window_add_control): Make sure we pass utf-8 to the
	shortcut bar.

	* HACKING: More useful tips.

	* client/components/gantt/gantt-model.c (gantt_model_destroy):
	Reset pointers when we get destroyed.
	(remove_traverse): Reset task and path data when the tdata is
	freed.
	(gantt_model_remove_task): Likewise.
	(gantt_model_remove_tasks): Likewise.
	(remove_resource): Set list element data to NULL after freeing
	it.
	(gantt_model_init): Remove scale factor and first/last time, they
	do not live here anymore.

	* client/components/network/task-box.c (tb_destroy): Unref the
	font and destroy the priv data.

	* client/components/python/python-component.c: Add comment about
	exe component.

	* client/components/network/task-box.c (tb_destroy): Chain up
	destroy.

	* client/components/network/network-item.c (ni_destroy): Impl.

	* client/components/network/network-canvas.c (nc_destroy): Chain
	up destroy.

2001-08-16  Richard Hult  <rhult@codefactory.se>

	* client/components/python/python.c (init_python_script): Dup+ref
	the shell we get.
	(init_python_script): Check return values from PyRun_SimpleString
	to make things more robust.
	(init_python_script): Revert my change, use Johan's original code.

	* client/components/gantt/gantt-component.c
	(gantt_control_activate): Ditto.

	* client/components/resource/resource-component.c
	(rc_control_activate): s/toolbar/Toolbar/.

	* client/GNOME_MrProject_Client.ui: Change name of toolbar to
	Toolbar, since this looks better in the toolbar customization dialog.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Ditto.

	* client/components/resource/GNOME_MrProject_ResourceComponent.ui:
	s/toolbar/Toolbar/ and remove the properties other than name from
	the toolbar tag, otherwise bonobo will do more than
	neccessary. The properties are in the main ui.

	* client/components/network/network-component.c
	(network_component_destroy): Destroy the manager client here or
	the project won't go away.

	* project-engine/resource-manager.c (resource_manager_construct):
	Don't ref event source, see comment below.
	(rm_destroy): Ditto.

	* project-engine/task-manager.c (task_manager_construct): Don't
	ref the event source, see comment below for allocation-manager.
	(task_manager_destroy): And don't unref it here.

	* project-engine/project.c (impl_Project_getURI): Check that uri
	is not NULL.
	(project_destroy): Free our private data, and warn if we still
	have shells added.

	* project-engine/main.c (main): Create a generic factory here.
	(project_factory_fn): with this factory callback.

	* project-engine/allocation-manager.c
	(allocation_manager_start_listen): Do not queryInterface for an
	event source here, we already have it.
	(allocation_manager_construct): Don't ref the event source, we
	already have a ref to it since it's add_interface'd to
	ourselves.
	(am_destroy): Don't unref the event source. Remove the listener,
	or we'll never be able to destroy a project correctly.

	* HACKING: Bring up to date and add some tips on debugging.

	* project-engine/backends/file-project.c (file_project_destroy):
	Eek what is this? Don't free our parent class' priv struct. Doh!

	* project-engine/backends/file-filter.c (impl_FileFilter_save):
	Band-aid fix, so that we can save before it's fixed for real.

	* client/main.c (signal_handler): Release+unref the project.

	* project-engine/project-factory.[ch]: Removed this, we are using
	a vanilla generic factory now. 

	* client/main.c: Clean up includes, and don't do any ref/unref on
	the ProjectFactory, since we use an ordinary generic factory now.

	* util/Makefile.am (libmrproject_util_la_SOURCES): Remove
	string-utils.[ch], they are not used anywhere nowadays.

	* project-engine/backends/file-project.c: Clean up includes.
	(fp_load): Remove commented summary test code.

	* project-engine/project.c: Clean up includes.
	(impl_Project_removeShell): Reset the ShellInfo struct to simplify
	debugging.
	(impl_Project_setURI): Eek, don't mix CORBA/g* strings!

	* idl/GNOME_MrProject_Project.idl: Remove ProjectFactory
	interface, which was really just a bad excuse for not handling the
	bonobo refs correctly ;)

	* project-engine/allocation-manager.c: Use the correct type for
	the listener id.

	* client/manager-clients/manager-client.c: Use the correct type
	for the listener id.

	* client/manager-clients/task-manager-client.c (tmc_project_set):
	Don't leak the project objref.

	* client/manager-clients/resource-manager-client.c
	(rmc_project_set): Don't leak the project objref.

	* client/manager-clients/allocation-manager-client.c
	(amc_project_set): Don't leak the project objref.

	* project-engine/project.c (impl_Project_removeShell): Pass ev.
	Use correct type for listener id.
	(impl_Project_addShell): Ditto.

	* client/shell.c (shell_open): Use bonobo_object_release_unref
	instead of just unref, otherwise we leak the CORBA objref.
	(shell_open): Check for exception.

	* idl/GNOME_MrProject_Project.idl: Remove debug method
	getLastProject.

	* project-engine/project-factory.c (impl_get_projects): Use
	bonobo_object_dup_ref.
	(impl_get_last_project): Ditto.
	(project_factory_construct): Remove, put the one function call in
	project_factory_new.
	Don't include bonobo.h, just bring in the parts we need.	

	* project-engine/main.c (main): Style fix.

	* util/corba-utils.c: Add assertions and g_return_if_fail
	everywhere to make sure we don't pass NULL strings over CORBA
	etc. Also simplify the update functions now that we know that the
	strings can never be NULL. 

2001-08-16  Mikael Hallendal  <micke@codefactory.se>

	* client/components/resource/resource-table-model.c:
	(resource_tm_set_value_at): remove use of HAVE_OLD_GAL_SELECTION

2001-08-15  Richard Hult  <rhult@codefactory.se>

	* acconfig.h: Remove old unsed gal define.

	* configure.in: Tell the user if the python component is built or
	not.

	* client/main.c (activate_idle): Make sure we have an absolute
	path to make gnome-vfs happy. Remove debug message.

	* project-engine/backends/file-filter.c (impl_FileFilter_load): We
	need to set an exception if the loading fails otherwise the other
	loaders won't be able to try (this is just a workaround before we
	pick loaders depending on the MIME-type).

	This should speed up loading of big files a bit.
	* util/id-map.c (id_map_remove): When removing an id, make sure we
	try to get it for the next one we add.
	(id_map_insert): Increase next_id when we add an id.

	* client/components/Makefile.am (SUBDIRS): Oops, silly me, I
	forgot to add back the stuff I commented out.

	* client/components/python/python.c (init_python_script): Import
	CORBA before MrProject.

	* client/manager-clients/resource-manager-client.c
	(rmc_project_set): Fix build.

	* idl/GNOME_MrProject_Project.idl: Remove accidentally checked in
	method (getEventSource).

	* client/GNOME_MrProject_Client.ui: Remove test button.

	* client/components/python/python.c (init_python_script): do 
	"from GNOME.MrProject import *" instead, otherwise we import all
	the GNOME interfaces, e.g. Evolution (which seemed to not be
	parsable by orbit-python at the moment).

	* client/components/python/python-component.c
	(python_component_add_to_shell): Make sure our python environment
	is correctly setup, otherwise return FALSE and don't add any menus
	etc.

	* client/components/python/python.c (my_init_orbit_python): A
	small hack to prevent MrProject from aborting if something goes
	wrong, e.g the CORBA module can't be found.
	(init_python_script): Use the hack here.

	* client/components/gantt/gantt-component.c: Use guint, and not
	gint for timeout ids.

	* client/components/gantt/gantt-component.c (get_selected_count,
	selection_foreach): Removed, replaced by e_selection_model which
	was recently fixed. 

	* configure.in (GAL_REQUIRED): Up to 0.10.99.2, because we really
	need the fixed selection counting.

	* client/components/gantt/gantt-component.c (gc_add_to_shell):
	Remove #if 0 that was accidentally checked in.
	(gc_destroy): Only destroy manager clients if we have them.
	(gc_destroy): Set client pointers to NULL after they're
	destroyed.

	* project-engine/task-manager.c (impl_TaskManager_removeTasks):
	Restore a few changes that were added to try to find a
	bug. Allocate/free the any again and set_release to TRUE on the
	any.
	(impl_TaskManager_insertTask): Ditto, and also copy the task
	before we send it with the event.
	(impl_TaskManager_linkTasks): Fix a comment.
	(impl_TaskManager_unlinkTasks): Ditto.

	* client/project-window.c (get_project_name): Use a property bag
	client instead of messing around with CORBA.
	(get_project_name): Don't leak the ev.

2001-08-14  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-component.c (gc_add_to_shell):
	Check for exception when we try to add a control to the shell.
	(gc_add_to_shell): Check for exception when creating task manager
	client as well.

2001-08-15  Johan Dahlin  <zilch.am@home.se>

	* configure.in: Added Python checks.

	* client/components/Makefile.am (PYTHON_DIR): Check if python is installed.

	* client/components/python/.cvsignore: New file.

	* client/components/python/MrProject.py: A few fixes and cleanups.

	* client/components/python/python-component.c: include gnome-vfs-uri.h

	* client/components/python/python.c (open_python_script): Moved
	two PyRun_SimpleString from init_python_script.

	* client/components/python/Makefile.am (INCLUDES): Add PYTHON_CFLAGS
	(libpython_component_la_LIBADD): Added -l$(PYTHON_LIBS) & PYTHON_LIB_LOC

2001-08-14  Richard Hult  <rhult@codefactory.se>

	* project-engine/backends/file-project.c: Make sure to unref the
	filter in all situations (this code must die!).

	* project-engine/backends/file-filter.c, xml-file-filter.c: Chain
	to parent's destroy method. Also override the right destroy, ie
	the one in our class instance struct and not the one of
	parent_class.  

2001-08-14  Mikael Hallendal  <micke@codefactory.se>

	* project-engine/backends/file-project.c
	(fp_load): release filter_co.

	* project-engine/backends/xml-file-filter.c (xff_load): removed.

2001-08-14  Richard Hult  <rhult@codefactory.se>

	* client/project-window.c (project_window_really_exit): Fix
	string, patch from Carlos Perell Marn <carlos@gnome-db.org>.

2001-08-14  Mikael Hallendal  <micke@codefactory.se>

	* project-engine/backends/xml-file-filter.c (xff_parse):
	- added, this will be used instead of load.
	- it gets data in parts from file-filter instead of duplicating
	  the actual file reading in every type of file-filter.

	* project-engine/backends/file-filter.c 
	(impl_FileFilter_load): 
	- Moved reading from the filters. Using GnomeVFS, this can later
	  be changed to async if we want to.
	- Calls the function parse in the actuall filters.

	* man/.cvsignore: added

2001-08-14  Richard Hult  <rhult@codefactory.se>

	* project-engine/main.c (main): Use eel-debug.

	* client/main.c (main): Update to use eel-debug.

	* util/Makefile.am (libmrproject_util_la_SOURCES): Replace
	nautilus-debug by a more recent version from eel.

	* client/main.c (activate_idle): Reword error message.
	(activate_idle): Free filename after it's used.
	(main): Add a few comments about things that could be done
	better.

	* client/shell.c (listener_callback): Copy the any before we pass
	it on (trying to fix the dreaded sequence bug).

	* project-engine/task-manager.c (impl_TaskManager_removeTasks):
	Don't alloc/free the any.
	(impl_TaskManager_insertTask): Ditto.

	* client/project-window.c (add_shell_listener): Get proxy event
	source.

	* client/components/shell-component/shell-component.c
	(shell_component_destroy): Ok, now that things work, we can remove
	the listener here! Nice.

	* client/manager-clients/manager-client.c (mc_destroy): Use
	getProxyEventSource.
	(manager_client_set_shell): Ditto.

	* client/shell.c (impl_getProxyEventSource): New CORBA
	method. Instead of aggregating the event source, we provide this
	accessor. Aggregating an event source seems leads to ref
	count/owning issues.

2001-08-13  Richard Hult  <rhult@codefactory.se>

	* client/project-window.c (project_window_destroy): Unref
	listener.

	* client/project-window.c: (*) Uncomment calls to
	project_window_new now that things are working.

	* client/components/gantt/gantt-component.c
	(gc_remove_from_shell): Remove the allocation manager client as
	well.

	* client/manager-clients/task-manager-client.c (tmc_destroy): 
	Set priv->manager to NULL after it's freed.
	(tmc_listener): Fix build with debug output enabled.

	* client/manager-clients/allocation-manager-client.c
	(amc_destroy): Set priv->manager to NULL after it's freed.

	* client/manager-clients/manager-client.c (mc_destroy): Release
	the shell and unref the listener.
		
	* client/manager-clients/resource-manager-client.c (rmc_listener):
	Fix build when debug output is enabled.
	(rmc_destroy): Set priv->manager to NULL after it's freed.

	* client/components/shell-component/shell-component.c
	(shell_component_destroy): Only try to disconnect if we're
	connected in the first place.
	(shell_component_destroy): Fix logic so that we don't try to
	remove listener when there was no event source.
	(impl_removeFromShell): Set priv->shell_listener to NULL after
	it's freed.

	* client/shell.c (terminate_components): New function that unrefs
	all the components.
	(shell_destroy): Disconnect the project and terminate components.

	* client/project-window.c (project_window_destroy): Now that the
	shell works better we can remove the hack to get the components,
	shell, and project go away when we exit.

	* client/shell.c (shell_class_init): Eek, assign parent_class!
	(listener_callback): Use real GTK cast instead of usual
	cast. Provide our own CORBA_Environment instead of using the one
	that is passed in.

	* project-engine/project.c (project_init): Make the project
	property bag use the same event source as the project itself.

	* client/components/gantt/gantt-model.c
	(gantt_model_remove_tasks): Add back freeze/thaw around the
	remove_tasks function.

	* client/shell.c (shell_open): Don't send a Project with the
	project:set/project:unset events, because 1) it seems to crash
	sometimes, and 2) we don't need it.

	* project-engine/project.c (impl_Project_addShell): Don't unref
	the listener before we add it to the eventsource!

	* client/components/python/MrProject.py: Added, from Johan.

	* client/components/python/python.[ch]: New files from Johan to
	enable python scripting in MrProject.

	* client/components/python/python-component.c: New python script
	component that uses Johan Dahlin's python script support code.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Likewise.

	* client/components/resource/GNOME_MrProject_ResourceComponent.ui:
	Use placeholder for insert menu.

	* client/GNOME_MrProject_Client.ui: Add a placeholder for the
	insert menu and one under File/Open.

2001-08-13  Thomas Nyberg  <thomas@codefactory.se>

	* configure.in (AC_OUTPUT): Now creates the man/Makefile.am too.

	* man/*.1: Added some man-pages.

	* man/Makefile.am: Added new dir and Makefile.am

2001-08-10  Richard Hult  <rhult@codefactory.se>

	* docs/ShellComponent.txt: New file describing how to make a shell
	component.

	* client/main.c (activate_idle): Update to work again with the
	latest changes to project_window_new ().

	* client/project-window.c (project_window_new): Revert some of the
	more recent changes and do it in a cleaner way. Now the project
	window creates the shell and ui container instead of the other way
	around. 

	* idl/GNOME_MrProject_Shell.idl: Removed the createWindow
	method.

	* client/components/*/*: Update to work with the new interfaces.

	* client/components/shell-component/shell-component.c: Clean
	up. Remove the got_window event and make sure we always have a
	window and ui container when addToShell is called. Also make it
	possible for components to get events from the shell by connecting
	to a "shell_event" signal on the shell component object.
	
	* idl/GNOME_MrProject_Shell.idl: Clean up more.

	* client/components/resource/resource-component.c
	(rc_control_new): How this ever worked is beyond me, we created to
	priv structs in different places. Remove it from here.

2001-08-09  Richard Hult  <rhult@codefactory.se>

	* client/components/*/*: Update to match the interface change.

	* idl/GNOME_MrProject_Shell.idl: Tweak the interface slightly.

	* client/GNOME_MrProject_Client.ui: Add placeholder for send mail
	component.

	* client/components/send/send-component.c: Turn of debug messages.

	* client/shell.c (shell_activate_control): New function that
	activates a component and deactivates the one that was active before.
	Keep track of active control in Shell instead of in ProjectWindow.

	* client/project-window.c (exit_cb): Remove debug message.

	* README: Update libxml req.

	* configure.in: Remove old comment about new/old gal.
	(ORBIT_LIBS): Add ORBIT_LIBS variable.
	(LIBXML_REQUIRED): Up gnome-xml req to 1.8.14, this is needed to fix
	the UTF-8 save/load bug.

2001-08-09  Mikael Hallendal  <micke@codefactory.se>

	* project-engine/backends/xml-file-filter.c: 
	- moved some stuff to file-filter.c instead. will be used by all
	  file-filters. 
	- use XmlFileFilter object instead of some other struct.

	* project-engine/backends/file-filter.c 
	(file_filter_destroy): added/impl.
	- moved stuff from xml-file-filter here.

	* idl/GNOME_MrProject_Project.idl: added mode-line.

2001-08-09  Richard Hult  <rhult@codefactory.se>

	* client/project-window.c (project_window_really_exit): Oops, fix
	up logic so that it's possible to exit when there are no changes.

	* client/main.c (main): Fix tyop in message.

2001-08-08  Richard Hult  <rhult@codefactory.se>

	* client/project-window.c (project_window_really_exit): Remove the
	glade stuff for the exit confirmation dialog and use a message box
	instead. Not completely hooked up yet (won't save if you press the
	save and quit button).

	* client/*.[ch]: Change client.h to shell.h everywhere.

	* client/file-sel.c: New file with file selection hackery.

	* client/project-window.c: Remove the file selection utilities
	from here, move them to file-sel.c. Use gnome-vfs to make URIs
	from file names.

	* client/components/send/Makefile.am
	(libsend_component_la_LIBADD): Link with VFS and composer libs.

	* client/shell.c (activate_components): Unref the component if
	it didn't get added.

	* client/components/send/send-component.c
	(send_component_add_to_shell): Check if the composer exists and
	return FALSE otherwise so the shell won't add us.

	* client/components/network/network-component.c: Add return value
	to add_to_shell.

	* client/components/gantt/gantt-component.c
	(gantt_comp_add_to_shell): Ditto.

	* client/components/resource/resource-component.c: Ditto.

	* client/components/shell-component/shell-component.h: Add a
	return value to add_to_shell, return TRUE if you really want to be
	added.

	* client/components/shell-component/shell-component.c: Add return
	value to add_to_shell signal.

	* client/components/Makefile.am: Only build the send component if
	we have the evolution idl.

	* configure.in: Add send component.

	* client/components/send/send-component.c: New component, moved
	the evolution composer support here.

	* client/project-window.c: Remove the evolution composer code from here.

	* idl/GNOME_MrProject_Shell.idl: Remove the GUI/Dialog interfaces,
	they're not used.

	* project-engine/main.c: s/server/engine/g.

	* project-engine/project-factory.c (unref): Ditto.

	* client/main.c (main): Ditto.

	* client/components/network/summary-box.c (_): Remove some debug 
	messages. Include gnome-i18n.h and config.h.

	* client/components/network/network-component.c: Adapt to use the
	new ShellComponent baseclass. I had to add proxy signal handlers
	that more or less only call the right function in network-canvas,
	no big deal though since task_inserted_cb already did this but not
	the other.

2001-08-07  Richard Hult  <rhult@codefactory.se>

	* client/main.c (activate_idle): "project" is spelled 
	p r o j e c t, not s h e l l. 

	* client/components/shell-component/shell-component.c
	(shell_listener_callback): Remove debug message.

	* client/main.c (activate_idle): Add proper exception handling.

	* README: Add a little blurb about old stray directories.

	* client/main.c (activate_idle): Replace homebrew uri creation
	function with one from gnome-vfs.
	(activate_idle): Use the new interface for Shell. Does not work
	yet when passing files on the command line.

	* idl/GNOME_MrProject_FileFilter.idl: Change the file filter
	methods to take a URI instead of a method and a location.

	* project-engine/project.c: Update to reflect the changes with
	method/location -> URI.

	* project-engine/backends/file-project.c: Ditto.

	* project-engine/backends/xml-file-filter.c: Here as well.

	* project-engine/backends/mpx-file-filter.c: And here, but we
	don't use gnome-vfs here at all for now. Fix this later.

	* client/shell.c (impl_addControl): Add and impl. Components add a
	new page with a control to the shell by invoking this
	method. Takes a title and a filename for the icon (this should
	probably be changed to pass a pixbuf over the wire at some point).
	(impl_removeControl): Add and impl.
	(impl_createWindow): Add and impl, creates a toplevel project window.
	(activate_components): Moved here from project_window_new.
	(shell_new): Activate components. It makes much more sense to let
	the shell do this, than have the project window do it for the shell.

	* client/components/gantt/gantt-component.c: Adapt to use the new
	Shell/ShellComponent interfaces.

	* client/components/resource/resource-component.c: Ditto.

	* client/components/shell-component/shell-component.c
	(impl_setDebugFlags): Impl.
	(shell_listener_callback): Listen to the "got_window" event which
	the shell will emit when it's created its window, and emit a gtk
	signal "got_window". When shell	components get this signal, they
	can add a control to the shell or merge menus, etc.
	(impl_addToShell): Impl.
	(impl_removeFromShell): Impl.

	* idl/GNOME_MrProject_Shell.idl: Redid the interfaces for
	Shell/ShellComponent. You can now more easily have a
	ShellComponent object that is a non-GUI component, or a component
	that only adds a dialog etc. Will need a bit more work.
	Also added a setDebugFlags method to the ShellComponent interface,
	through which the Shell will pass debug flags. This will enable a
	more run-time level of control for debug messages.

2001-08-06  Richard Hult  <rhult@codefactory.se>

	* docs/RELEASE-HOWTO: Fix tyop.

2001-07-30  Richard Hult  <rhult@codefactory.se>

	* run-mrproject.in: Fix bug #191, bashism, reported by
	Frederic.Devernay@sophia.inria.fr.

	* libmrproject/.cvsignore: Shhh.

	* client/components/resource/Makefile.am
	(libresource_component_la_LIBADD): Don't link with utilx.

	* client/components/network/Makefile.am
	(libnetwork_component_la_LIBADD): Use the utilx library
	here. Remove GNOMEUI_LIBS/CFLAGS (they are included in BONOBOX_* now).

	* util/*: Remove a few unused files.

	* project-engine/main.c (main): Remove popt options and reorder
	the _init calls so that gnome_init is first, followed by oaf_init,
	gnome_vfs_init, and bonobo_init.

	* configure.in: Tweak the LIBS and CFLAGS. Now we have BONOBO_LIBS
	and BONOBO_FLAGS that are for GUI-less things like the engine
	(which also links in gnomeui because gnome_init lives there). For
	GUI things we have BONOBOX_LIBS and BONOBOX_CFLAGS. There are also
	the usual amount of variables for GAL, VFS, etc that are needed
	here and there. This should speed up linking with libtool 1.4 at
	least a bit, plus it looks better...

2001-07-07  Mikael Hallendal  <micke@codefactory.se>

	* client/components/resource/resource-table-model.c: 
	- fixed bug #190.

2001-07-06  Richard Hult  <rhult@codefactory.se>

	* util/corba-utils.c (corba_util_task_copy): Copy type.
	(corba_util_task_update): Update type too.

2001-07-05  Richard Hult  <rhult@codefactory.se>

	* project-engine/backends/file-task-manager.c
	(ftm_is_task_summary): Impl.
	
2001-07-05  Anders Carlsson  <andersca@codefactory.se>

	* client/components/gantt/gantt-component.c:
	(gantt_control_activate): Use the new print icon.
	* client/components/network/GNOME_MrProject_NetworkComponent.oaf.in
	.in: Added trailing Diagram.
	* client/project-window.c: (project_window_new): Use better values 
	when setting the pane position.
	* extras/images/Makefile.am: Add 24_print.png

2001-07-05  Richard Hult  <rhult@codefactory.se>

	* client/manager-clients/Makefile.am: Only link with gnome and
	bonobo libs.

	* util/eel-gdk-font-extensions.c: Include stdio and string.h.
	Turn off debugging output. Include config.h only if we have it.

2001-07-05  Mikael Hallendal  <micke@codefactory.se>

	* util/Makefile.am (libmrproject_util_la_SOURCES): 
	- added eel-gdk-fonts-extensiions.[ch].

	* util/eel-gdk-font-extensions.[ch]: added, taken from eel.

2001-07-04  Richard Hult  <rhult@codefactory.se>

	* client/components/resource/group-dialog.c (gd_update_group_cb):
	Convert strings to utf-8 before passing them to the server.
	Include e-unicode.h.

	* project-engine/backends/xml-file-filter.c (write_task): Handle
	utf-8 without breaking and stuff.
	(write_resource): Likewise.
	(write_resource_group): Ditto.

	* client/components/network/task-box.c: Include stdio.h.

	* configure.in: Don't build the calendar component.

	* client/components/resource/resource-table-model.c 
	(resource_tm_set_value_at): Work with both new and older gal,
	added bug in #187 so we don't forget to remove this later.

	* configure.in: Add tr to ALL_LINGUAS.

2001-07-04  Mikael Hallendal  <micke@codefactory.se>

	* configure.in: added tr to ALL_LINGUAS

	* client/components/gantt/*: fixed bug #154.
	
	* client/components/gantt/gantt-row-item.c 
	(gantt_row_item_update_resource): added/impl.

	* client/components/gantt/gantt-model.c: 
	- added signal "allocated_resource_changed".
	(gantt_model_update_allocated_resource): added/impl.

	* client/components/gantt/gantt-item.c 
	(allocated_resource_changed): added/impl.
	(gantt_item_set_arg): connect to GanttModel
	"allocated_resource_changed". 

	* client/components/gantt/gantt-component.c
	(resource_updated_cb): added/impl.
	- fixed GAL_OLD_SELECTION -> HAVE_GAL_OLD_SELECTION, didn't work
	  before. 
	(gantt_comp_set_shell): connect to  ResourceManagerClient
	"resource_updated" 

	* configure.in: fixed old gal test and added printout about
	choosen GAL.

2001-07-03  Richard Hult  <rhult@codefactory.se>

	* client/components/gantt/gantt-row-item.c (gantt_row_item_draw): 
	Don't draw bars that are off screen.

	* client/components/gantt/gantt-header-item.c (gantt_header_item_draw): 
	Draw the major tick mark to the bottom if we don't draw minor ones.

	* client/components/gantt/gantt-item.c (gantt_item_draw): Don't draw
	minor tick marks if they get closer than 20 pixels.

	* client/components/gantt/gantt-header-item.c (gantt_header_item_draw): 
	Ditto.

2001-07-03  Anders Carlsson  <andersca@codefactory.se>

	* client/components/network/GNOME_MrProject_NetworkComponent.oaf.in
	.in:
	* extras/images/Makefile.am:
	* extras/images/network.png: Add new network icon.

2001-07-03  Mikael Hallendal  <micke@codefactory.se>

	* client/components/resource/resource-component.c 
	(rc_set_shell): cast to the different *ManagerClient.

	* client/components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): 
	- cast to the different *ManagerClient.

	* client/components/gantt/gantt-component.c 
	(gantt_comp_set_shell): cast to the different *ManagerClient.

	* client/components/Makefile.am (SUBDIRS): don't build calendar
	before client-component.

	* client/manager-clients/manager-client.c:
	ITEMS_CLEARED->ITEMS_CLEAR. 

	* client/components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell):
	items_cleared->items_clear 

	* client/components/gantt/gantt-component.c 
	(gantt_comp_set_shell): items_cleared->items_clear

2001-07-02  Mikael Hallendal  <micke@codefactory.se>

	* client/widgets/Makefile.am 
	(libwidgets_la_SOURCES): reverted ac-screwup!

2001-07-02  Richard Hult  <rhult@codefactory.se>

	* client/components/network/Makefile.am: Build something.

	* client/components/network/summary-box.[ch]: Added. 

2001-07-02  Mikael Hallendal  <micke@codefactory.se>

	* client/components/network/task-box.[ch]: added

	* client/components/network/network-canvas.[ch]: added

	* project-engine/resource-manager.c: 
	- resource-group signals should be resource:group_*

	* project-engine/resource-model.[ch]: removed, shouldn't be here.

2001-07-02  Richard Hult  <rhult@codefactory.se>

	* client/components/network/*: Add skeleton of a network component.

2001-07-02  Anders Carlsson  <andersca@codefactory.se>

	reviewed by: Richard Hult

	* client/project-window.c: (composer_component_loaded): Fix for new 
	Evolution Composer interface.

2001-07-02  Mikael Hallendal  <micke@codefactory.se>

	* client/manager-clients/resource-manager-client.c:
	- Inherit ManagerClient

	* client/manager-clients/task-manager-client.c:
	- Inherit ManagerClient

	* client/manager-clients/allocation-manager-client.c 
	(amc_destroy): release priv->manager.

	* client/components/resource/resource-component.c 
	(rc_items_clear_cb): merged rc_resources_clear_cb and
	rc_groups_clear_cb and changed name to rc_items_clear_cb.
	(rc_set_shell): resources_clear -> items_cleared.

	* client/components/gantt/gantt-component.c 
	(gantt_comp_set_shell): tasks_clear -> items_cleared

2001-07-02  Anders Carlsson  <andersca@codefactory.se>

	* client/components/Makefile.am:
	* client/components/calendar/GNOME_MrProject_CalendarComponent.oaf.
	in.in:
	* client/components/calendar/Makefile.am:
	* client/components/calendar/calendar-component.c:
	(calendar_component_set_shell), (calendar_component_unset_shell),
	(calendar_component_create_view), (calendar_component_control_new),
	(calendar_component_destroy), (calendar_component_class_init),
	(calendar_component_init), (calendar_component_factory):
	* client/components/calendar/calendar-component.h:
	* client/project-window.c: (composer_component_loaded),
	(send_project_cb):
	* client/widgets/Makefile.am:
	* configure.in:
	* extras/images/Makefile.am: Add beginnings of calendar view.

2001-07-02  Mikael Hallendal  <micke@codefactory.se>

	* client/manager-clients/allocation-manager-client.c: 
	- inherit ManagerClient.

	* client/manager-clients/manager-client.[ch]: added.
	
	* client/manager-clients/Makefile.am 
	(libmanager_clients_la_SOURCES): added manager-client.[ch]

	* client/components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): 
	- allocations_clear -> items_cleared

2001-07-02  Richard Hult  <rhult@codefactory.se>

	* project-engine/*/*: s/server/engine/.

	* project-engine/.cvsignore: s/server/engine/.

	* run-mrproject.in: Update name to mrproject-engine.

	* project-server/*: Remove.
	
