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

	* client/components/resource/resource-table-model.c 
	(resource_tm_set_value_at): Merge from HEAD, work with both old
	and new GAL.

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

	* configure.in: 
	- to much was merged from head.

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

        Merge from HEAD:

	  2001-07-04  Mikael Hallendal  <micke@codefactory.se>
        
        * 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".

	* client/components/gantt/gantt-row-item.c (gantt_row_item_draw): 
	Merge from HEAD: fix rendering bugs and don't draw tick marks if they
	get too close.

	* client/components/gantt/gantt-component.c (task_repositioned_cb): 
	Merge from HEAD: work with old and newer gal.

	* configure.in: Bump version to 0.3.2 and merge gal checking from 
	HEAD. Add tr to ALL_LINGUAS.

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

	Merge from HEAD:

	* client/e-table-cells/m-cell-date.c (m_cell_date_get_popup_pos): 
	Draw the date popup at the correct position even if the table is
	scrolled.

	Adding changelog entry for big_t:
	* client/components/gantt: gantt-model.c: Added a function to 
	remove all dependencies which a task is part of. This solves a 
	minor bug causing a g_warning(...) to trigger.
	
2001-06-25  Mikael Hallendal  <micke@codefactory.se>

	Merge from HEAD:

	* project-server/backends/xml-file-filter.c 
	(xml_read_group): don't read default_group. moved.
	(write_resource_group): don't write default_group, moved.
	(xml_write_project): now writes the default_group in the
	resource_groups node.
	(xml_read_project): read the default_group in the resource_groups
	node. 

	* configure.in: removed de from ALL_LINGUAS, rhult add it again
	when you add the de.po file in po/

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

	Merge from HEAD:

	* client/components/gantt/gantt-row-item.c (real_idle_update):
	Remove the idle.
	(idle_update): Use gtk_idle_add_priority.
	(gantt_row_item_realize): Create the bracket pixbufs. Make
	the font static and shared between all rows.

	* client/components/gantt/gantt-item.c (real_reflow): Remove
	the idle as soon as the idle handler is invokded.
	(gantt_item_reflow): Use gtk_idle_add_priority to make it easy
	to experiment with different priorities.

	* client/components/gantt/gantt-row-item.c (gantt_row_item_draw): 
	More 32 bit coordinate system fixes. split the bar in three parts
	and draw only what's on screen. Fixes some rendering problems.

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

	Merge from HEAD:

	* client/components/gantt/gantt-row-item.c (gantt_row_item_draw):
	Don't bother drawing if width or height is 0.

	* client/components/gantt/gantt-link-item.c: Remove the font, it's
	not used.

	* configure.in: Check for gnome-print, since we use it. 
	(GNOME_PRINT_REQUIRED): Add German translation from Jochen Hein.

	* project-server/backends/xml-file-filter.c (xff_load_summary): Remove
	xmlUseNewParser call, since it did not work.
	(xff_save): Ditto.

	* client/components/gantt/gantt-header-item.c (gantt_header_item_draw):
	Don't let the major tick marks draw on the minor half.
	
	* client/components/gantt/gantt-row-item.c (draw_bracket): Ok, found
	source of the rendering bug when project are huge. We can draw a line
	using 32 bit coords, but not a polygon (because GdkPoint only keeps
	gint16 coordinates). So, draw the bracket using a pixbuf for the left
	and right parts, and connect them with a thick line.

	* client/components/gantt/gantt-header-item.c (viewport_changed): Set
	scroll region to width/height - 1.
	(scale_changed): Ditto.
	(gantt_header_item_draw): Draw the background button edges outside the
	clip rectangle to hide them, since that looks a lot nicer. Also don't
	draw the button edge at the top since we already have an edge there.
	Draw the scale ticks with a lighter color.
	(gantt_header_item_realize): Create the new tick mark gc.

	* project-server/backends/mpx-file-filter.c (mpx_read_project): Don't
	free the mpx before we are done using it.
	(mpx_insert_task): Disable links since they do not work yet.

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

	* configure.in: Check for gnome-print. Bump version to 0.3.1.
	(ALL_LINGUAS): Add de.

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

	* README: Use correct branch name.

	* configure.in: Remove warning about HEAD (this is not HEAD :).

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

	* debian/control (Build-Depends): added -dev packages.

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

	* client/components/gantt/gantt-chart.c (gantt_chart_scroll_to_time):
	Force a redraw of the header after scrolling.

	* mrproject.spec.in: Ok fix the etspec/etstate/glade thing. Just 
	install everything that is found in datadir/mrproject/.

	* NEWS (News): Add two more news items.

	* mrproject.spec.in: Install etspec/etstate/glade files.

	* project-server/backends/Makefile.am: avoid-version for the file
	loaders.

	* client/components/task-dialog/Makefile.am 
	(libtask_dialog_component_la_LDFLAGS): avoid-version.

	* client/components/gantt/Makefile.am (libgantt_component_la_LDFLAGS):
	avoid-version.

	* client/components/resource/Makefile.am: avoid-version.

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

	* client/components/gantt/gantt-item.c: removed debug printouts.

	* configure.in: version -> 0.3.0

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

	* configure.in: Bump version to 0.3.

	* mrproject.spec.in: Install mime stuff.

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

	* project-server/backends/xml-file-filter.c 
	(xml_read_group): support for reading default_group.
	(write_resource_group): support for writing default_group.

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

	* NEWS: Added mpx loader and reordered a bit.

	* idl/GNOME_MrProject_Project.idl: Add a setURI method.

	* client/project-window.c (new_details_cb): Open the template and
	reset the uri so we don't try to save over it.

	* project-server/project.c (impl_Project_setURI): Impl.

	* client/template-dialog.c (template_dialog_new): Set wmclass/wmname.

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

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

	* AUTHORS (Contributions): added contributors.

	* debian/control (Maintainer): fixed my email

	* debian/README.debian: fixed my email

	* debian/changelog: updated for 0.3.0 release.

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

	* client/Makefile.am: Distcheck fix.

	* util/corba-utils.c (corba_util_id_seq_from_list): The sequence
	buffer is supposed to be freed.

	* project-server/task-manager.c (impl_TaskManager_linkTasks): Fix
	buglet when swapping pre/suc tasks, don't swap a TaskModel with a
	GNOME_MrProject_Task.

	* client/components/gantt/gantt-item.c (task_linked): Remove unused
	variable.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Remove xml 
	comments, since Bonobo doesn't seem to like them very much.

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

	* project-server/task-manager.c (impl_TaskManager_linkTasks): 
	Checks to see if the tasks are in "wrong-order" and if so
	switches predecessor and task.
	(impl_TaskManager_unlinkTasks): Checks to see if the tasks
	are in "wrong-order" and if so switches predecessor and task.

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

	* client/components/gantt/gantt-item.c (create_dependency_map): 
	Added helper function to walk a GSList and insert each item into
	a IdMap.
	(unlink_dependencies): Added helper-function for use with 
	id_map_foreach.
	(link_dependencies): Added helper-function for use with
	id_map_foreach.
	(insert_rows, delete_rows): Now uses an IdMap to store all the 
	dependencies. This solves bug #152 and #153
	(delete_rows): Divided the for-loop into one part collecting 
	dependencies, then removing all dependencies and finnally we 
	remove the items themselves.

2001-06-20  Mikael Hallendal  <micke@codefactory.se>
	
	* project-server/resource-manager.c 
	(impl_ResourceManager_setDefaultGroup): emit signal.

	* idl/GNOME_MrProject_ResourceManager.idl: 
	- added EventResourceGroupDefaultSet

	* client/components/resource/resource-component.c 
	(rc_group_default_set_cb): added/impl.
	(rc_group_gui_default_set_cb): added/impl.
	(rc_set_shell): connect to group_default_set-signal
	(rc_cmd_group): connect to griyo_defaykt_set-signal

	* client/components/resource/group-dialog.c: 
	- fixes bug #161
	- don't emit by name.
	(gd_group_default_set_cb): added/impl.
	(gd_get_row): take an Id instead of GM_ResourceGroup.

	* client/components/client-component/resource-manager-client.c 
	(resource_mc_class_init): added "group_default_set" signal
	(rmc_listener): listen for reosurce_group:default_set from server.

	* client/components/resource/group-dialog.c 
	(gd_update_group_cb): don't change the name if the new name is the
	empty string.

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

	* client/components/gantt/gantt-item.c (insert_rows): Now
	frees the dependencies_list - a minor memleak here before :)

2001-06-20  Mikael Hallendal  <micke@codefactory.se>

	* client/components/task-dialog/task-dialog.c: Bug #157 fixed.
	(td_set_initial_allocations): fixed, didn't insert in the IdMap
	causing bug #157. Now calls td_allocation_added_cb.

	* project-server/backends/file-allocation-manager.c: see below,
	changes to idl is also made here.

	* project-server/allocation-manager.c: see below, changes to idl
	is also made here.

	* idl/GNOME_MrProject_AllocationManager.idl: changed,
	- getAllocatedResources -> getAllocationsByTask
	- getAllocatedTasks     -> getAllocationsByResource
	both now returns an AllocationSeq instead of IdSeq.

	* client/components/client-component/allocation-manager-client.c 
	(allocation_mc_get_allocations_by_task): renamed from
	allocation_mc_get_allocated_resources. Now returns a GSList of
	Allocations instead of a GSList of Ids.
	
	(allocation_mc_get_allocations_by_resource): renamed from
	allocation_mc_get_allocated_tasks. Now returns a GSList of
	Allocations instead of a GSList of Ids.

	* client/components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): connect to
	resources_removed. 
	(td_resources_removed_cb): renamed from td_resource_removed. Now
	takes a GSList of Ids instead of and id.

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

	* client/components/gantt/gantt-model.c 
	(gantt_model_remove_all_tasks): Removed the freeze/thaw-stuff.
	(gantt_model_remove_task): Removed the freeze/that-stuff.

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

	* project-server/backends/xml-file-filter.c (xml_read_project): Read
	the start time of the first task and set the Start property.
	(read_start_time): Helper function that does the above mentioned thing.

	* client/components/gantt/gantt-component.c (gantt_comp_set_shell): 
	Listen to the Start property.

	* client/components/gantt/gantt-chart.c (gantt_chart_construct): Show
	today and a month ahead.

	* client/components/gantt/gantt-component.c (listener_callback): 
	Scroll to FirstTime.

	* client/project-properties-dialog.glade: Make start date insensitive.

2001-06-19  Mikael Hallendal  <micke@codefactory.se>

	* project-server/backends/file-resource-manager.c 
	(frm_insert_group): if group has groupId (ie. being loaded from
	file). Insert with that id and don't change it in the group. Fixes
	bug #156.

	* client/components/resource/resource-component.c: 
	- don't include bonobo-listener.

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

	* client/components/gantt/gantt-model.c (remove_traverse): 
	Now removes all resources tied to each node.

	* client/components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): Now listens to
	the "allocations_clear"-signal.
	(td_allocations_clear_cb): Added callback-function.

	* client/components/gantt/gantt-model.c (remove_all_resources): 
	Added function to free all resources in a list.

2001-06-19  Mikael Hallendal  <micke@codefactory.se>

	* project-server/resource-manager.c 
	(impl_ResourceManager_removeResource): send an IdSeq.

	* idl/GNOME_MrProject_ResourceManager.idl: 
	- removed GNOME_MrProject_EventResourceRemoved.

	* client/components/client-component/resource-manager-client.c 
	(resource_mc_class_init): changed the signal name to 
	resources_removed.
	(rmc_listener): resource:removed now comes with a IdSeq instead of
	GNOME_MrProject_EventResourceRemoved.

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

	* client/components/gantt/gantt-chart.c (zoom_custom_clicked): Update
	the scale when the custom radiobutton is selected.

	* client/components/gantt/gantt-item.c (gantt_item_draw): Add sanity
	checks.

	* client/components/gantt/gantt-chart.c (zoom_cb): Just raise the zoom
	dialog if it's already there.
	(timescale_cb): Ditto for the timescale dialog.
	(timescale_close_clicked): Reset timescale dialog pointer so we know
	it's gone.

	* client/components/gantt/gantt-header-item.c (gantt_header_item_draw):
	Fix height of the clip rectangle, fixes bug #149.

2001-06-19  Mikael Hallendal  <micke@codefactory.se>

	* client/components/gantt/gantt-component.c: 
	- include <.../allocation.manager.client.h>
	- uses AllocationManagerClient instead of talking directly.
	(allocation_added_cb): renamed from allocation_added.
	(allocations_removed_cb): renamed from allocation_removed.
	(gantt_comp_set_shell): don't listen to GNOME/MrProject:allocation
	(listener_callback): don't handle allocation stuff.
	(gantt_comp_set_shell): create am_client and connect to the
	signals.
	(tree_is_editable): fixed missing comment-ending.

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

	* client/components/gantt/gantt-component.c: Return TRUE for 
	is_editable in the duration cell. This makes etree not grab 
	the pointer and freeze the GUI when double-clicking the 
	duration cell. Fixes bug #134.

	* client/components/gantt/gantt-print.c (print_gantt): Use 
	gnome_print_master_new_from_dialog instead of creating an empty 
	print master. Fixes bug #138.

	* client/components/gantt/gantt-component.c: Listen to FilePrint 
	instead of GanttPrint.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add a 
	print menu item in the file menu. Fixes bug #136.

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

	* client/components/gantt/gantt-timescale-dialog.glade: Increase the 
	max value to 10000.

	* client/components/gantt/gantt-zoom-dialog.glade: Don't allow values
	lower than 1.

2001-06-19  Mikael Hallendal  <micke@codefactory.se>

	* client/components/task-dialog/task-dialog.h
	(DEFAULT_UNITS): added
	- fixed author, copy&paste-error

	* client/components/task-dialog/task-dialog.c: 
	- now uses AllocationManagerClient. No direct connections to the
	  serverside managers should be here any more.
	- fixed author, copy&paste-error

	* client/components/client-component/allocation-manager-client.c 
	(allocation_mc_class_init): added allocations_clear signal to be
	used by Thomas revert code.
	(amc_listener): listen for unset.
	(amc_project_set): fixed copy&paste-error

	* client/components/client-component/Makefile.am 
	(libclient_component_la_SOURCES): 
	- added allocation-manager-client.[ch]

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

	* client/components/gantt/gantt-link-item.c 
	(gantt_link_item_bounds_item_coordinates): 
	Modified width of arrow to correct "trace-problem".
	(gantt_link_item_bounds_item_coordinates): Modified height of
	bounds to fix a drawing error with a link pointing upwards.

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

	Fix saving dependencies:
	* project-server/task-model.c (task_model_get_successors_seq): Impl.
	(task_model_get_predecessors_seq): Impl. Those two functions should be
	removed later and replaced by TaskModel::get_predecessors and let the
	task manager do the gslist->sequence transformation (addressed in 
	bug #148).

	* project-server/backends/file-task-manager.c 
	(file_task_manager_class_init): get_predecessors and
	get_successors are not implemented here, they are FileTaskModel.

	* project-server/backends/xml-file-filter.c (write_task): Remove 
	unneccessary curly braces.

	* client/components/gantt/gantt-component.c (goto_start_clicked): If we
	don't have a start time, don't try going there.

	* client/components/gantt/gantt-zoom-dialog.glade: Make custom spin
	button and option menu sensitive.

	* client/components/gantt/gantt-chart.c (zoom_custom_menu_changed): 
	Impl.
	(zoom_custom_*_changed): Refactor and share some code between the two
	custom value callbacks.

	* client/components/gantt/gantt-scale.c (gantt_scale_unit_get_period): 
	New function.
	(gantt_scale_increase_one_tick): Refactor...
	(increase_one_tick): ...and put some of it in here.

	* client/components/gantt/gantt-chart.c (zoom_cb): Disable "zoom 
	selected tasks" disabled. 

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

	* client/components/client-component/allocation-manager-client.c: 
	- still implementing this.

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

	* client/components/gantt/gantt-header-item.c (gantt_header_item_draw):
	Clip the major/minor labels so they don't make such a mess when they
	don't fit.

	* util/time-utils.c (time_week_begin): Make this work for real
	when weeks start on mondays.
	(time_week_end): Work when week starts on monday.

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

	* client/components/gantt/gantt-model.c (gantt_model_get_next_task): 
	Renamed function into gantt_model_get_next_sibling.
	(gantt_model_get_prev_task): Renamed function into 
	gantt_model_get_prev_sibling.

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

	* client/components/gantt/gantt-scale.c (gantt_scale_zoom): New 
	function that sets the scale factor on a higher level.

	* client/components/gantt/gantt-chart.c (zoom_week_clicked): Impl.
	(zoom_month_clicked): Impl.
	(zoom_quarter_clicked): Impl.
	(zoom_entire_clicked): Impl.

	* client/components/resource/resource-component.c (rc_set_sensitivity): 
	Check that we actually have a container before setting sensitivity.

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

	* client/project-window.c (project_window_new): Have a max size in 
	addition to the min size. Also use gtk_window_set_default_size instead
	of gtk_widget_set_usize.
	(project_window_new): Break some really long lines.

	* client/components/gantt/gantt-component.c (goto_selected_clicked): 
	Go to the task start time minus on minor tick.
	(goto_today_clicked): Go to today minus one minor tick.

	* client/components/gantt/gantt-chart.c (gantt_chart_scroll_to_time): 
	Make sure the viewport is wide enough to show the time at the leftmost
	edge.

	* client/components/gantt/gantt-scale.c (gantt_scale_show_time): Don't
	hardcode the amount of padding, pad 2*minor tick before and after.

2001-06-17  Thomas Nyberg  <thomas@codefactory.se>
 
 	* client/components/resource/resource-table-model.c 
	(resource_tm_remove_all_resources): Added function.
 	(resource_tm_remove_all_groups): Added function.
 
 	* client/components/resource/resource-component.c 
	(rc_resources_clear_cb): Added callback.
 	(rc_groups_clear_cb): Added callback.
 
 	* client/components/gantt/gantt-model.c (gantt_model_remove_all_tasks): 
	Added function. Traverses the tree and removes all tasks from it.
 	(gantt_model_remove_task): Now freezes and thaws the tree before changing
	it.
 	(remove_traverse): Now calls the e_tree_memory_node_remove for each node.
 
 	* client/components/gantt/gantt-component.c (tasks_clear_cb): Added 
	callback.
 	(real_set_sensitivity): Now checks to make sure a container is present 
	before changing sensitivity.
 
 	* client/components/client-component/resource-manager-client.c 
	(resource_mc_class_init): Added signals RESOURCES_CLEAR and GROUPS_CLEAR.
 	(rmc_listener): Added support for *:project:unset, emits the signals 
	needed.
 
 	* client/project-window.c (revert_cb): Added support for the revert 
	action.
 
 	* client/client.c (shell_open): Now frees a project_co if it already 
	exists.
 
 	* client/components/client-component/task-manager-client.c 
	(tmc_project_unset): Added function.
 	(tmc_listener): Now handles the *:project:unset.
 	(task_mc_class_init): Added TASKS_CLEAR-signal.

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

	* client/components/client-component/task-manager-client.c 
	(tmc_listener): Removed accidentally checked in debug message.

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

	* project-server/allocation-manager.c (allocation_manager_class_init): 
	Parent type is BonoboXObject, not GtkObject (this was never used 
	anywhere, but still it was wrong).
	(impl_AllocationManager_deallocateAllResources): Don't try to emit 
	events if we didn't deallocate any resources.
	(impl_AllocationManager_deallocateAllTasks): Ditto.
	
2001-06-15  Mikael Hallendal  <micke@codefactory.se>

	* client/components/resource/resource-table-model.c 
	(resource_tm_add_resource): return the row of the last inserted
	row.

	* client/components/resource/resource-component.c 
	(rc_resource_inserted_cb): scroll to last inserted resource.
	fixes bug #104.
	- Set 'Remove' insensitive when more than one resource are selected.
	(rc_set_sensitivity): added/impl.
	(rc_table_selection_change): added/impl.
	(rc_control_activate): call rc_set_sensitivity.
	(rc_create_table): connect to ETable selection_change

	* project-server/backends/file-allocation-manager.c 
	(fam_deallocate): fixed, this function was totally broken.

	* project-server/allocation-manager.c 
	(impl_AllocationManager_allocate): set all Id's to -1 if no new 
	allocation were made.

	* idl/GNOME_MrProject_AllocationManager.idl: fixed typo

	* client/components/task-dialog/task-dialog.c 
	(td_allocation_removed): now almost works

	* client/components/gantt/gantt-component.c 
	(allocation_removed): added a debug printout

	* client/components/resource/resource-component.c 
	(rc_set_shell): removed some printouts.

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

	* client/project-window.c: Remove unneccessary includes and add
	gdkkeysyms.h.

	* client/components/gantt/gantt-goto-control.[ch]: New files that 
	implement a goto combo box.

	* client/components/gantt/gantt-component.c (gantt_control_activate):
	Create a goto control and set an icon for it.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add a
	control for the goto combo box.

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

	* configure.in: applied patch from Carlos Perell Marn with
	spanish tranlations.

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

	* client/project-window.c (composer_component_loaded): Fix style.
	(composer_component_loaded): Get mime type from filename instead of
	contents.

	* configure.in (EVOLUTION_IDL_DIR): Appearantly the AM_CONDITIONAL does
	not work, so I hacked around it. Only do AC_DEFINE if the idl was found,
	then do the AM_CONDITIONAL thing.

	* client/project-window.c (does_the_evolution_composer_exist): Remove
	debug output.

	* client/components/client-component/task-manager-client.c: Turn off
	debug output.

	* client/components/client-component/resource-manager-client.c: Turn off
	debug output.

	* client/components/resource/resource-component.c: Turn off debug
	output.

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

	* client/components/gantt/gantt-chart.c (gantt_chart_scroll_to_time): 
	Use gantt_scale_show_time and clamp the adj value properly. Fixes goto
	date and goto task.

	* client/components/gantt/gantt-scale.c (gantt_scale_show_time): New 
	function that ensures that a certain date is included in the scale 
	viewport (also adds a hardcoded padding of 5 days, probably not a good
	thing to do?).

	* configure.in: Tell users if we're building the composer interface or
	not.

	* client/components/gantt/gantt-component.c (cmd_goto_date): Add a small
	dialog with a calendar. Does not work yet though.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Rename Goto
	to GotoTask, and add GotoDate.

2001-06-13  Anders Carlsson  <andersca@codefactory.se>

	* client/project-window.c (composer_component_loaded): New callback
	function for async activation.
	(send_project_cb): Call oaf_activate_from_id_async.

	* util/Makefile.am (libmrproject_util_la_SOURCES): Add subset of
	eel-vfs-extensions from eel.

	* libmrproject/Makefile.am: Add logic for building a library
	of the ORBit generated Composer.idl files if the idl file exists.

	* extras/images/Makefile.am (images_DATA): Add 16_send_to.png

	* client/project-window.c: include Composer.h
	(send_project_cb): New function for sending a project as
	an attachment using the evolution composer.
	Add FileSendProject to verb list.
	(does_the_evolution_composer_exist): New function that
	queries oaf for component that support the Evolution Composer
	interface and returns true if one or more components exist.
	(set_pixmap): Function for setting a pixmap to an ui component node.
	(project_window_new): Hide the "Send To" submenu if the composer 
	component doesn't exist.

	* client/main.c (main): Call gnome_vfs_init.

	* client/Makefile.am (INCLUDES): Add VFS_CFLAGS
	(mrproject_LDADD): Add VFS_LIBS.

	* client/GNOME_MrProject_Client.ui: Add Send Project to file menu.

	* configure.in: Add logic for finding the evolution composer
	idl file and define HAVE_EVOLUTION_COMPOSER_IDL if it exists.

	* acconfig.h: Add HAVE_EVOLUTION_COMPOSER_IDL

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

	* client/components/resource/resource-component.c: 
	- fixed the names of the component commands callbacks.

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

	* project-server/backends/xml-file-filter.c (xff_save): Only -1 is an
	error, so check explicitly for that. Fixes annoying error messages when
	saving files.

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

	* project-server/backends/xml-file-filter.c (write_project_properties): 
	Save properties.
	(read_project_properties): Read properties.
	(xml_read_project): Use the stuff above.
	(xml_write_project): Ditto.

	* client/project-properties-dialog.c (project_properties_dialog_run):
	Don't listen to events after we have destroyed our entries.

2001-06-12  Anders Carlsson  <andersca@codefactory.se>

	* client/e-table-cells/m-cell-multi-pixbuf.h: New cell for displaying
	multiple pixbufs depending on the bit values in an integer.

	* client/e-table-cells/m-cell-multi-pixbuf.c: New cell for displaying
	multiple pixbufs depending on the bit values in an integer.

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

	* extras/images/24_add_resource.{png,xcf}: New icon for add resource
	that looks at least a bit better.

	* extras/images/24_delete_resource.{png,xcf}: Ditto for delete resource.

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

	* client/project-window.c (file_sel_handle_cancel): Handle cancel button
	properly. Fixes the bug where the file dialog would't go away when 
	cancel was clicked.

2001-06-12  Anders Carlsson  <andersca@codefactory.se>

	* client/template-dialog.c (template_dialog_construct): Use a label here
	instead of a frame.

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

	* client/components/gantt/gantt-chart.c (timescale_size_changed): 
	Comment out a bit of unfinished code for now.

	* client/project-window.c (new_details_cb): Open a new project if Ok was
	pressed.

	* client/components/gantt/gantt-chart.c (timescale_key_event): Return
	TRUE/FALSE instead of 1/0.

2001-06-12  Anders Carlsson  <andersca@codefactory.se>

	* client/project-window.c (new_detail_cb): Create a template dialog and
	show it.

	* client/template-dialog.c: New file for the template dialog.

	* client/template-dialog.h: New file for the template dialog.

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

	* client/components/gantt/gantt-component.c (cmd_debug): Remove some
	test code.

	* project-server/backends/file-task-manager.c (ftm_get_dependency):
	Applied patch from Thomas Nyberg to implement this method instead
	of just returning NULL... :)

	* client/components/gantt/gantt-chart.[ch]: Remove gantt_chart_test
	function.

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

	* client/components/resource/resource-component.c 
	(rc_set_shell): use the CORBA_Environement argument instead of
	creating your own.

	* client/components/gantt/gantt-model.c 
	(gantt_model_remove_tasks): take a list of ids instead of IdSeq.

	* client/components/gantt/gantt-component.c: 
	- now uses TaskManagerClient instead of talking directly with
	  TaskManager.
	- include task-manager-client.h and resource-manager-client.h
	- renamed the callbacks from TaskManager task_*_cb
	- Added tm_client and rm_client to Priv-struct, removed 
	  task_mgr_co and res_mgr_co.
	- all GNOME_MrProject_TaskManager-calls is now handled through
	  TaskManagerClient.
	(listener_callback): removed task and project events, now handled
	through TaskManagerClient.
	(project_set): removed.
	(task_removed): removed.
	(gantt_comp_set_shell): don't add listener for
	GNOME/MrProject:task, GNOME/MrProject:project and
	GNOME/MrProject:dependency. Create TaskManagerClient and
	ResourceManagerClient and connect signals to them. 
	(gantt_comp_unset_shell): destroy rm_client and tm_client.
	(get_task_manager): removed.
	(get_resource_manager): removed.

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

	* AUTHORS: Bring up to date.

	* client/components/gantt/gantt-chart.c: Remove the old reflow
	idle code, since it's not used anymore.

	* configure.in (ALL_LINGUAS): Added Japanese translation from 
	Hirofumi Takeda <takepin@turbolinux.co.jp>.

	* extras/desktop/mrproject.mime: Handle .mrproject and .mpx files.

	* extras/desktop/mrproject.keys: Tell the world that we handle
	mrproject files and mpx files.

	* extras/images/gnome-application-x-mrproject.png: New icon, thanks
	for the hints, andersca.

	* client/components/gantt/gantt-chart.c: Add another set of labels for
	the zoom option menu and use them to build the option menu.
	(zoom_*_clicked): Set reset button sensitivity.
	(zoom_reset_clicked): Reset settings.
	(zoom_cb): Hook up reset button and option menu.

	These changes fixes bug #135:
	* client/components/gantt/gantt-item.c (real_reflow): Always do a redraw
	request even if the height did not change.
	(delete_rows): Always reflow.
	(insert_rows): Always reflow.

	* client/components/gantt/gantt-chart.c: Add reset button to the zoom
	dialog, hook up the logic to handle it, although it doesn't really work
	yet since the original value is made up.
	Remove accelerators from the right click menu for now since they don't
	actually work.

	* client/components/gantt/gantt-scale.h: Add member 
	week_starts_on_monday.

	* client/components/gantt/gantt-scale.c (gantt_scale_snap_time): Use
	setting for week starts on monday.

	* util/time-utils.c (time_week_begin): Add argument 
	week_start_on_monday.

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

	* client/components/task-dialog/task-dialog-gui.c (tdg_create_gui): 
	Handle key presses (we're mainly interested in Escape here). 
	(tdg_key_event): Close the window on escape.
	Include gdk/gdkkeysyms.h for the Escape thingy.

2001-06-11  Richard Hult  <set EMAIL_ADDRESS environment variable>

	* client/project-window.c (about_cb): Spice up the about box, add logo,
	clean up authors, add comment about what the program does, add mrproject
	website link.

	* extras/images/Makefile.am (images_DATA): Add CodeFactory logo.

	* extras/images/cflogo_bw_67x87.png: Add.

	* client/components/gantt/gantt-chart.c: (timescale_close_clicked),
	(timescale_major_changed), (timescale_minor_changed),
	(timescale_size_changed), (timescale_key_event), (timescale_cb),
	(gantt_chart_customize_scale), (zoom_key_event),
	(zoom_close_clicked), (zoom_week_clicked), (zoom_month_clicked),
	(zoom_selected_clicked), (zoom_entire_clicked),
	(zoom_custom_clicked), (zoom_cb):
	* client/components/gantt/gantt-timescale-dialog.glade:
	* client/components/gantt/gantt-zoom-dialog.glade:
	Tidy up the zoom/timescale dialogs, and fix some usability problems.
	Now they close on Escape, have accelerator keys, and do that funky
	focus/sensitivity stuff... :)

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

	* client/components/task-dialog/task-dialog-gui.glade: Tweak a bit,
	add accel key to the name field (the others doesn't work yet).

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui:
	Tweak to be more consistant, and also move zoom and timescale items to
	edit menu.

	* client/components/gantt/Makefile.am: Add timescale and zoom dialogs.

	* client/components/gantt/gantt-chart.c:
	(scale_customization_close_clicked), (customize_scale_cb),
	(zoom_close_clicked), (zoom_year_clicked), (zoom_quarter_clicked),
	(zoom_month_clicked), (zoom_cb), (gantt_chart_zoom),
	(header_canvas_event), (gantt_chart_select): Handle right clicks to
	bring up a menu with zoom and timescale dialogs.

	* client/components/gantt/gantt-component.c: Rename all the cmd
	callbacks to look nicer and more constistent.

	* client/components/gantt/gantt-item.c: (gantt_item_reflow): Remove
	dead code.

	* client/components/gantt/gantt-row-item.c: Draw thicker frame around
	selected tasks, add argument for selection/deselection tasks.
	
	* client/project-properties-dialog.glade: Add accelerator keys to
	labels.
	
2001-06-11  Mikael Hallendal  <micke@codefactory.se>

	* util/corba-utils.c (corba_util_id_seq_to_list): added/impl.

	* client/components/task-dialog/task-dialog.c: 
	- fixed to use TaskManagerClient instead of talking to the
	TaskManager directly.
	(td_get_task_manager): removed since not needed any more.

	* client/components/client-component/task-manager-client.c 
	(tmc_project_set): added/impl
	(tmc_listener): impl. and emitting signals.

	* client/components/client-component/resource-manager-client.h: 
	- resource_mc_new takes a GM_Shell, not a GM_ResourceManager.

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

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

	* client/components/gantt/gantt-header-item.c (viewport_changed): Handle
	viewport changes.

	* client/components/gantt/gantt-chart.c (hscroll_expand): Handle the
	expand signal.

	* client/widgets/mr-hscrollbar.c (button_press): Override behavior for
	button presses as well. Now we get an "expand" signal when pressing/
	holding down the scrollbar buttons at the edges.

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

	* client/components/task-dialog/task-dialog.c: rewritten to use 
	ResourceManagerClient instead of doing the CORBA/Bonobo-stuff
	itself.

	* client/components/resource/resource-component.c 
	(rc_set_shell): Call resource_mc_new with set=FALSE.

	* client/components/client-component/resource-manager-client.c 
	(resource_mc_new): added argument 'gboolean set' which will be
	used for telling the client if the project is set. And if it is,
	call rmc_project_set from the _new function instead of waiting for
	signal from shell. This is needed when using the Client in
	TaskDialog. 

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

	* client/project-window.c (project_window_new): Listen to property changes
	from the shell.
	(get_project_range): Make a hack less hackish...
	(new_details_cb): Oops, don't use the new code just yet.

	* client/project-properties-dialog.[ch]: New file with a new properties
	dialog. Listens to the shell for updates and sends changes back.

	* client/GNOME_MrProject_Client.ui: Add ... after the properties menu
	item.

	* project-server/backends/xml-file-filter.c (set_project_name): Use
	property bag client.

	* project-server/backends/mpx-file-filter.c (mpx_read_header): Add
	company, manager, change first/last time to start/finish.

	* project-server/project.c (impl_Project_addShell): Clean style.
	(impl_Project_load): Remove debug output.
	(project_destroy): Remove debug output.
	(get_prop): Add company, manager, and change first/last time to
	start/finish.

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

	* client/components/client-component/task-manager-client.c 
	- implemented all the wrapper functions for functions in 
	  idl/GNOME_MrProject_TaskManager.idl

	* util/marshallers.c (mrproject_marshal_NONE__INT_INT_INT): added

	* client/components/client-component/resource-manager-client.c
	(resource_mc_new): use BONOBO_OBJREF

	* client/components/client-component/Makefile.am 
	(libclient_component_la_SOURCES): added task-manager-client.[ch]

	* project-server/allocation-manager.c: removed debug printout.

	* idl/GNOME_MrProject_AllocationManager.idl: added little comment.

	* idl/GNOME_MrProject.idl: added mode-c line.

	* client/components/client-component/task-manager-client.[ch]: 
	- added signals and all functions from
	  idl/GNOME_MrProject_TaskManager.idl. 
	- removed temp. function from copy&paste'ing
	  AllocationManagerClient.

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

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Remove 
	debugging toolbar button.

	* configure.in: Move AM_PROG_XML_I18N_TOOLS before other AM/AC stuff
	to make newer automake and zilch happy.

	* macros/: Update from gnome cvs.

	* client/components/gantt/GNOME_MrProject_GanttComponent.ui: Add menu
	item for customization of the gantt timescale.

	* client/GNOME_MrProject_Client.ui: Rename settings to preferences. Make
	the label more clear for customize toolbars.

	* client/components/gantt/gantt-component.c (customize_scale_cmd): New
	command.

	* client/components/gantt/gantt-chart.c (gantt_chart_customize_scale): 
	Add.

	* client/components/gantt/gantt-header-item.c: Remove width gtk 
	argument.
	Clean up.

	* client/components/gantt/gantt-item.c (gantt_item_print_gantt_row):
	Bring up to date.

	* client/components/gantt/gantt-header-item.c 
	(gantt_header_item_print_page): Bring up to date. 

	* client/components/gantt/gantt-component.c (task_print_cmd): Rename
	from test_print. Also enable printing again.

	* client/components/gantt/gantt-link-item.c (gantt_link_item_draw): 
	Make this work with the new scale stuff.

	* client/components/gantt/gantt-chart.c (gantt_chart_scroll_to_time):
	Make this work with the new scale stuff.

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

	* client/components/resource/resource-component.c: 
	- Call all functions in ResourceManagerClient with an
	CORBA_Environment as argument. This will contain exceptions that
	occured during the actuall CORBA call and should be checked at
	return. 

	* client/components/client-component/resource-manager-client.c: 
	- All nonstatic functions now take a CORBA_Environment as an
	argument, this will be used in the actuall CORBA-calls to return
	exceptions to the caller outside ResourceManagerClient. This made
	the CORBA_Environments inside the functions obsolete and thus
	removed. 

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

	* client/components/gantt/gantt-item.c: Remove t2w, not used.
	Remove commented out reflow calls everywhere, we don't use e_canvas
	any longer.
	(gantt_item_get_first_visible_time): Rewrite, convert canvas coords
	to world coords before calculating the time.
	(insert_rows): Use short versions of corba types.
	(two_times2w): Remove this crappy crap crap thing.

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

	* client/components/gantt/gantt-row-item.c (gantt_row_item_event): 
	Remove unused variables.
	(gantt_row_item_event): Remove lots of unused code.

	* client/components/gantt/*: Not much use of a detailed change log here:
	Rewrote the gantt scale handling. A new class, GanttScale, is handling
	the scale, and notifies the header and gantt item of changes. Also 
	moved the event handling out of GanttItem to GanttRowItem, since that's
	where is really belongs. Simplifies things and allows for cleaner code.
	Added a small dialog that customizes the scale units and zoom factor.
	This needs more work but the basics are there now.

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

	* client/components/resource/resource-component.c: 
	- rewrote using resource-manager-client.

	* client/components/resource/group-dialog.c 
	(group_dialog_new): argument GSList instead of GList.

	* client/components/client-component/resource-manager-client.c: 
	- added debug printouts.
	(resource_mc_new): fixed the signal connects, now works :)

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

	* configure.in: Remove PROG_LN_S and MAKE_SET, plus reorder stuff a bit.

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

	* project-server/backends/mpx-file-filter.c (mff_load_summary): Add 
	empty load_summary.

	* project-server/backends/xml-file-filter.c (xff_load_summary): Initial
	impl of load_summary for xml files (need refactoring).

	* project-server/backends/file-filter.h (struct _FileFilterClass): Add
	load_summary.

	* project-server/backends/file-filter.c (impl_FileFilter_loadSummary): 
	Impl.

	* idl/GNOME_MrProject_FileFilter.idl: Add a struct for a file summary.
	New method: loadSummary that loads just summary stuff from a file.

	* project-server/backends/file-project.c (fp_load): Add some commented
	out test code.

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

	* client/components/client-component/resource-manager-client.c 
	(rmc_project_set): added/impl.

	* util/corba-utils.h: added GM_Shell

	* client/components/client-component/resource-manager-client.c: 
	- include bonobo.h
	- add shell, listener_id to priv
	(rmc_destroy): remove listener before freeing everything.
	(resource_mc_new): implemented. now starts listening.

	* client/components/client-component/allocation-manager-client.[c]: 
	- allocation_manager_client_ -> allocation_mc_

	* project-server/backends/xml-file-filter.c 
	(xml_write_project): reverted getAllAlloc..

	* idl/GNOME_MrProject_AllocationManager.idl: 
	- renamed back to getAllAllocations.

	* client/components/client-component/resource-manager-client.c: 
	- now compiles. renamed all non-static functions resource_mc_..
	instead of resource_manager_client_..
	- fixed a couple of typos
	(rmc_listener): emitting the correct signals.

	* client/components/client-component/task-manager-client.c: 
	- fixed a couple of typos

	* project-server/allocation-manager.c: fixed a couple of typos

	* client/components/client-component/Makefile.am 
	(libclient_component_la_SOURCES): added resource-manager-client.[ch]

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

	* client/components/client-component/task-manager-client.[ch]: 
	- added

	* client/components/client-component/allocation-manager-client.h: 
	* client/components/client-component/resource-manager-client.h: 
	- fixed copyright

	* project-server/backends/xml-file-filter.c 
	(xml_write_project): getAllAlloc... -> getAlloc...

	* project-server/backends/file-allocation-manager.c 
	(file_allocation_manager_class_init): 
	get_all_alloc.. -> get_alloc...

	* project-server/allocation-manager.c 
	(impl_AllocationManager_getAllocations): 
	get_all_alloc... -> get_alloc...
	(allocation_manager_class_init): getAllAlloc... -> getAlloc...

	* util/corba-utils.c
	(corba_util_allocation_copy): set empty to "".

	* project-server/backends/file-allocation-manager.c 
	(fam_allocate): set empty = "".

	* project-server/allocation-manager.c
	(impl_AllocationManager_allocate): added test to see that
	priv->event_source is set before trying to use it.

	* idl/GNOME_MrProject_AllocationManager.idl: renamed
	getAllAllocations to getAllocations.

	* client/components/client-component/resource-manager-client.h: 
	- fixed some copy'n'paste errors

	* client/components/client-component/allocation-manager-client.[ch]: 
	- added

2001-06-01  Mikael Hallendal  <micke@codefactory.se>

	Allocation doesn't currently work!!
	
	* util/corba-utils.c (corba_util_allocation_copy): 
	- removed allocationId.

	* project-server/backends/project-xml.c 
	(write_allocation): made an GFunc instead of GHFunc.

	* project-server/backends/file-allocation-manager.h: 
	- removed Allocation. use GM_Allocation instead.

	* project-server/backends/file-allocation-manager.c: 
	- changed GNOME_MrProject_* -> GM_*
	- changed according to changes in allocation-manager.[ch]
	- use GSList instead of IdMap for internal storing.
	- changed foreach to take GFunc instead of GHFunc.
	
	* project-server/allocation-manager.c: 
	- changed GNOME_MrProject_* -> GM_*
	- removed allocationId
	- changed foreach to take GFunc instead of GHFunc.
	(impl_AllocationManager_allocate): return Allocation instead of 
	allocationId.
	(impl_AllocationManager_deallocate): take allocation instead of 
	allocationId.

	* idl/GNOME_MrProject_AllocationManager.idl: 
	- removed allocationId
	- added dummystring to workaround stupid C-CORBA.

	* client/components/task-dialog/task-dialog.c: 
	- changed GNOME_MrProject_* -> GM_*
	- removed allocationId.
	
	* client/components/task-dialog/task-dialog-gui.c: 
	- changed GNOME_MrProject_* -> GM_*

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

	* README: Update branch names for deps and tell people to get the
	stable branch of MrProject from CVS unless they want to hack.

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

	* mrproject.spec.in: Set correct permissions on the files we install,
	specify more exactly which files we install, and some other goodies
	stolen from nautilus.spec.in. Also revert the unsetting of LANG etc,
	it did not do what I wanted.

	* project-server/backends/file-project.c: Fix build by don't including
	removed files... :)

	* mrproject.spec.in (Requires): Fix tyop.

	* README: Add gnome-vfs, gnome-print, gnome-libs.

	* configure.in: Oops required gnome-libs version accidentally got
	changed, stay at 1.2.8 for now.

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

	* project-server/backends/xml-file-filter.c (xff_load): Use GnomeVFS.
	It should be moved out of here to the base class (FileFilter) when it
	is tested enough.

	* project-server/backends/Makefile.am 
	(libmrproject_file_backend_la_LIBADD): Don't build file filters here.

	* configure.in: Borrow EVO_CHECK_LIB from evolution to make checking
	for libraries a bit nicer.
	List required versions at the top to make it easy to update.

	* mrproject.spec.in (LANG): Add Requires from configure.in, and unset
	LC_ALL, LINGUAS and LANG to get i18n right when building RPMs.

	* project-server/main.c (main): Init gnome-vfs.

	* configure.in: Add GnomeVFS flags.

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

	* util/corba-utils.[ch]: Use GM_* instead of GNOME_MrProject_*

	* util/corba-utils.h: moved the defines to the top to be able to
	use them in corba_util_*

	* util/corba-utils.c
	(corba_util_resource_group_seq_to_list): fixed so it builds.

	* util/corba-utils.c
	(corba_util_task_seq_to_list): added
	(corba_util_resource_seq_to_list): added
	(corba_util_resource_group_seq_to_list): added
	(corba_util_allocation_seq_to_list): added
	(corba_util_allocation_duplicate): added

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

	* project-server/backends/mpx-file-filter.c (mff_load): Raise exception
	if loading fails.
	(mff_save): Raise unimplemented.

	* project-server/backends/xml-file-filter.c (xff_load): Raise exception
	if the loading fails.
	(xff_save): Ditto with saving.

	* project-server/backends/file-project.c (fp_save): Raise exception in
	case of failure.
	(fp_load): Ditto.

	* idl/GNOME_MrProject_Project.idl: Add exception for io failure.

	* project-server/backends/Makefile.am: Add mpx oaf file.

	* project-server/backends/file-task-manager.c: Remove dead code.

	* project-server/backends/xml-file-filter.c: s/xfp/xff/.

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

	* configure.in (set_more_warnings): Remove old target directories.

	* project-server/project.c: Remove old persist-stream include.

	* project-server/backends/Makefile.am (EXTRA_DIST): Dist the oaf.in.in
	file.

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

	* client/components/client-component/resource-manager-client.[ch]: 
	Added files.

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

	* configure.in: Fix path.

	* client/components/{gantt,resource}/Makefile.am: Dist the oaf.in
	files to make tinderbox happy :)

	* project-server/backends/file-project.c (fp_load): Query for 
	compontents who can load, activate them one by one and probe the
	file with them, and load when it is the correct format.
	(fp_save): Similarly.

	* project-server/backends/Makefile.am (libxml_file_filter_la_LIBADD):
	Build the xml-file-filter.

	* client/components/*/*-component.[ch]: Include client-component.h
	instead of the old shell-component.h.

	* project-server/backends/xml-file-filter.c (xml_parse_ctx_destroy): 
	Unref task/resource/allocation managers if we have refs to them.
	(xml_parse_ctx_new): queryInterface for allocation manager.
	(xml_read_project): Set state to saved through CORBA interface and
	enable reading of allocations again.

	* util/corba-utils.c (corba_util_dependency_seq_from_list): Fix tyop.
	(corba_util_id_seq_from_list): We can't release the ints stored in the
	sequence, they are static data...
	Fix everywhere in this file where we were poking at ->release instead
	of doing it through the accessor API.
	(corba_util_allocation_seq_from_list): Impl.
	(corba_util_task_seq_from_list): Copy the task, don't assign, we are
	going to free this later and then the original will go too (at least the
	name which is a pointer and not a basic type like an integer).
	(corba_util_resource_seq_from_list): Plug leak.
	(corba_util_allocation_copy): Impl.

	* project-server/backends/file-allocation-manager.c 
	(fam_get_all_allocations): Impl.

	* project-server/allocation-manager.c 
	(impl_AllocationManager_getAllAllocations): Impl.

	* project-server/backends/xml-file-filter.c (xml_write_project): Set
	state through CORBA.

	* project-server/resource-manager.c: Impl set/get state attribute.

	* project-server/task-manager.c: Impl set/get state attribute.

	* client/components/task-dialog/task-dialog.c (td_allocation_removed):
	Handle an AllocationSeq instead of an Allocation.
	(impl_GNOME_MrProject_TaskDialog_setShell): Events changed names.
	(td_listener_callback): Events changed names.
	Put d() around debug output.

	* project-server/allocation-manager.c: Ditto.

	* client/components/gantt/gantt-component.c (listener_callback): 
	Renamed the events to allocation:{added,removed}.

	* project-server/allocation-manager.c 
	(impl_AllocationManager_deallocate): Use CORBA_sequence_set_release.
	(impl_AllocationManager_deallocateAllTasks): s/tasks/allocations/.
	(impl_AllocationManager_deallocateAllResources): 
	s/resources/allocations/.

	* client/components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): Listen to the right events
	("allocated" and "deallocated").

	* project-server/allocation-manager.c 
	(impl_AllocationManager_deallocate): Hm the event type should be 
	"allocation", not "deallocation"...

	* client/components/gantt/gantt-component.c (listener_callback): The
	event names change from "assigned" to "allocated", so we must change
	here to. Makes (de)allocation work again.

	* client/components/task-dialog/task-dialog.c (td_allocation_assigned):
	Allocation.

	* client/components/gantt/gantt-component.c (allocation_assigned):
	Change AllocationInfo to Allocation.	
	(allocation_unassigned): Ditto.

	* client/components/resource/resource-component.c 
	(group_resource_cmd): getAll.

	* client/components/task-dialog/task-dialog.c 
	(td_set_initial_resources): getAll.

	* idl/GNOME_MrProject_ResourceManager.idl: get*s -> getAll*s.

	* project-server/backends/resource-manager.c: getGroups -> getAllGroups.

	* project-server/resource-manager.c (resource_manager_class_init): 
	Removed GNOME_MrProject from all impl. method names.

	* idl/GNOME_MrProject_ResourceManager.idl: getResources -> 
	getAllResources for consistency.

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

	* client/main.c (signal_handler): Reword error message.

	* util/corba-utils.c (exception_to_string): Always get an error message
	from the exception even if we don't know any details.

	* client/components/gantt/gantt-component.c (insert_task_cmd): Don't
	free the task if we didn't get one. Also handle exceptions more 
	gracefully.

	* util/corba-utils.c (corba_util_exception_to_string): Don't handle
	comm_failure here since it's done in the client (where it should be)
	now.

	* client/main.c (main): Add a human readable string for comm_failure
	exceptions.

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

	* util/Makefile.am: Change log domain to MrProject.

	* client/widgets/mr-message-box.c: Remove the exception message box, it
	is replaced by Lutz's log stuff now.

	* util/corba-utils.c (corba_util_exception_log): New thingy that logs
	a g_log log from an exception. Log log!
	(corba_util_exception_to_string): Get a nice string from an exception.

	* idl/GNOME_MrProject.idl: Rename fatal to critical.

	* client/project-window.c: Show message boxes with errors in some
	places instead of just spewing to stderr.

	* client/main.c (activate_idle): Be verbose when we can't start the
	server.
	(main): Add a few log domains to stop the debugger in.
	(signal_handler): Don't show the crash dialog, just exit.

	(signal_handler): Ok, try some fun crash protection action. Save all 
	open files into /tmp when we crash.

	* client/project-window.c (project_window_new): Use the right ui file.

	* client/GNOME_MrProject_Client.ui: Remove cut/copy/paste from the
	toolbar.

	* client/project-window.c: s/app/window/. Also remove some dead testing
	code.

	* idl/GNOME_MrProject_Project.idl: Rename getProject to getLastProject,
	add getProjects.

	* project-server/project-factory.c (project_fn): Keep a list of all open
	projects.
	(project_destroyed): Remove project when it goes away.
	(get_projects): Impl.

	* client/components/gantt/gantt-component.c (insert_task_cmd): Use
	the exception message box instead.

	* client/project-window.c (project_app_really_exit): Handle errors.

	* idl/GNOME_MrProject.idl: Move the error message stuff here...

	* idl/GNOME_MrProject_TaskManager.idl: ...from here.

	* client/components/gantt/gantt-component.c (show_error_message):
	Temporary error message box showing action, using Mr. Message Box.

	* client/widgets/mr-message-box.[ch]: Message box that wraps the text
	and is a bit more convenient to use for us.

	* project-server/task-manager.c: Use corba_util_set_exception all over
	the place.

	* project-server/backends/project-xml.c: Add back all the saving
	code that was commented out.

	* util/corba-utils.h (corba_util_set_exception): Macro to set an 
	exception with a type and a message to display in the client.

	* project-server/backends/file-resource-manager.c (frm_foreach_group):
	Impl.

	* project-server/resource-manager.c 
	(resource_manager_foreach_resource): Call the class method.
	(resource_manager_foreach_group): Call the class method.

	* project-server/backends/file-allocation-manager.c 
	(fam_foreach_allocation): Impl.
	(file_allocation_manager_class_init): Use the foreach func.

	* project-server/allocation-manager.h: Add foreach method.

	* project-server/backends/file-allocation-manager.c 
	(file_allocation_manager_class_init): Add foreach method.

	* project-server/backends/project-xml.c (xml_write_project): Start
	traversing at the root.

	* project-server/project.c: Don't include file saver/loader here.

	* project-server/backends/project-xml.c (xml_write_project): Eek,
	gtk_object_set needs a terminating NULL!

2001-05-24  Lutz Mller  <urc8@rz.uni-karlsruhe.de>
 
 	Never use pass NULL instead of &ev unless you know what you do...
 
 	* client/main.c: (main) Pass an environment when unrefing the 
 	ObjectFactory and be verbose if something went wrong.
 	* client/project-window.c: (project_app_destroy) Same here with
 	getProject and removeShell.
 	(save_cb) Same here with getURI. And clean up properly if something
 	went wrong.
 	* project-server/task-manager.c: (task_manager_traverse) Make sure
 	that a task_model has been passed along as...
 	* project-server/backends/file-task-manager.c (ftm_traverse) ... it is
 	needed here. Make sure it isn't NULL.
 
2001-05-24  Richard Hult  <rhult@codefactory.se>

	* project-server/task-manager.c (remove_subtree_traverse_func): Remove
	the destroyed task from the bubble queue.
	(bubble_times): Put the task in a queue so we can have many at the same
	time. Don't insert it if it's not needed.
	(bubble_idle_cb): Go through the queue.

	* project-server/backends/file-task-manager.c (ftm_remove_task_model):
	Remove debugging message.

	* project-server/main.c (main): Add Backend as log domain to stop in
	the debugger. Remove the ior stuff.

	* project-server/task-manager.c (impl_TaskManager_removeTasks): Plug
	leak.

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

	* project-server/backends/file-task-model.c (file_task_model_new): Dup
	the corba task struct.
	(ftm_destroy): Free the corba task struct.

	* project-server/task-manager.h (struct _TaskManagerClass): Change the 
	prototype for insert_task to take a TaskModel instead of the corba 
	struct.

	* project-server/backends/file-task-manager.c (ftm_insert_task): 
	Changed to match the new prototype.

	* project-server/task-manager.c (impl_TaskManager_insertTask): Test
	code to get more useful exceptions. Also don't copy the task here,
	do it in the backend code.

	* client/components/gantt/gantt-component.c (insert_task_cmd): Test
	code to get more useful exceptions.

	* util/corba-utils.h: Add some defines to make life easier and the code
	more beautiful :) Also change pretty much everything in 
	project-server/*-task-* to use this.

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

	* util/corba-utils.c
	(corba_util_resource_seq_from_list): copy the resources first.
	(corba_util_resource_group_seq_from_list): copy the groups first.

	* project-server/backends/file-resource-manager.c 
	(frm_insert_resource): fixed a little mistake which made inserting
	fail. 

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

	* project-server/backends/project-mpx.c: Likewise. 

	* project-server/backends/project-xml.c: Fix after project server
	cleaning.

	* idl/GNOME_MrProject_TaskManager.idl: Remove the insertAfter and
	rename insertBefore to insert. Also do this everywhere where it's
	invoked.

	* idl/GNOME_MrProject_FileFilter.idl: Fix the include guards to be 
	unique.

	* project-server/task-manager.c (task_model_changed_cb): Remove debug
	msg.

	* client/components/gantt/gantt-component.c: Remove debug msg.

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

	* Makefile.am (SUBDIRS): Build the client directory.

	* client/widgets/Makefile.am: Build the scrollbar widget as well.

	* client/components/client-component/Makefile.am: Link in the
	CORBA interfaces library.

	* client/components/gantt/gantt-component.c (gantt_control_activate):
	Changed ui filename.

	* client/components/resource/resource-component.c 
	(resource_control_activate): Changed ui filename. 

	* client/components/gantt/gantt-component.c (gantt_comp_control_new): 
	Make the spec/state file names more descriptive.

	* client/components/resource/resource-component.c (create_table): 
	Make the spec/state file names more descriptive.

	* client/components/task-dialog/task-dialog-gui.c (tdg_create_gui): 
	Prefix the spec/state files.

	* client/project-window.c: Remove the special file selector,
	it didn't work out as planned and the real bug should be fixed
	in ximian gnome instead.

	* configure.in: Add the new directories.

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

	* project-server/backends/file-allocation-manager.c 
	(file_allocation_manager_class_init): fixed segfault when trying
	to open task-dialog.

	* util/corba-utils.c 
	(corba_util_resource_seq_from_list): added
	(corba_util_resource_group_seq_from_list): added

	* project-server/backends/file-task-manager.h: 
	- doesn't need to include bonobo-xobject.h

	* project-server/backends/file-resource-manager.c
	(file_resource_manager_new): take event_source.

	* project-server/backends/file-project.c 
	(file_project_init): give event_source to allocation_manager and
	resource_manager.

	* project-server/backends/file-allocation-manager.c 
	(file_allocation_manager_new): take event_source.

	* project-server/resource-manager.c: 
	(rm_destroy): unref event_source
	(resource_manager_construct): added.
	(resource_manager_foreach_resource): commented out.
	(resource_manager_foreach_group): commented out

	- removed all holders from private struct. 
	- added event_source to private struct.

	* project-server/project.c 
	(project_init): don't create manager's here. done in 
	backends/*-project.c

	* project-server/allocation-manager.c 
	(allocation_manager_init): don't set event_source here. done in
	allocation_manager_construct.
	(am_destroy): unref event_source
	(allocation_manager_new): removed, abstract baseclass.
	(allocation_manager_construct): added.

	* project-server/allocation-manager.[ch]: 
	
	  project-server/resource-manager.[ch]:
	- bonobo_object_from_servant -> bonobo_x_object.
	
2001-05-22  Richard Hult  <rhult@codefactory.se>

	* project-server/backends/file-project.[ch]: New class.

	* project-server/project-factory.c (project_fn): Create a file
	backend for now.

	* project-server/Makefile.am (mrproject_server_SOURCES): Don't
	build the persist-stream.

	* project-server/project.c (project_new): Remove write_ior stuff.
	(impl_GNOME_MrProject_Project_getState): Simplify.

	* project-server/backends/file-task-manager.c (ftm_reposition_task): 
	When moving down, don't subtract 1 from the position...
	
	* components/gantt/gantt-model.c: Fix style after renaming.

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

	* project-server/dependency-model.[ch]: removed.
	
	* project-server/backends/file-allocation-manager.c
	(file_allocation_manager_new): added :)

	* project-server/project.c
	- include backend/file*.
	
	(project_init): ooops, hadn't tested file-allocation-manager and 
	file-resource-manager :) had forgotten to create instances of
	those.

	* project-server/file-task-model.[ch]: moved to backends/
	
	* project-server/file-*-manager.[ch]: moved to backends/
	
	* project-server/backends/Makefile.am
	(libmrproject_file_backend_la_SOURCES): removed everything and
	added file-*-manager.[ch] and file-task-model.[ch]

	* project-server/Makefile.am
	(mrproject_server_SOURCES): removed file-*-manger.[ch] and 
	file-task-model.[ch] 

	* configure.in: added project-server/backends/Makefile

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

	* idl/GNOME_MrProject.idl: Split out the project parts to its own file.

	* idl/Makefile.am: Add project/filefilter.

	* libmrproject/Makefile.am (stamp-idl): Break the line and add project/
	filefilter idls.

	* Merge from new-design branch. Too many changes to list, but basically
	they are: split all the *Manager objects into base classes (*Manager) 
	and subclasses (File*Manager) that handle storing the data in files. 
	Other backends should inherit the *Manager classes as well.

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

	* Created branch for the new server design.

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

	* configure.in: Version is 0.3pre

	* components/gantt/gantt-model.c (gantt_model_remove_tasks): Remove
	debugging message.

	* components/gantt/gantt-link-item.c (gantt_link_item_draw): Fix 
	rounding error, fixes bug 115.

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

	* project-server/resource-manager.c 
	(resource_manager_init): start the IdMap for groups at 1 not 0.
	(impl_GNOME_MrProject_ResourceManager_insertGroup): the groups start
	at one, not 0.

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

	* project-server/resource-manager.c (resource_manager_foreach_resource):
	Don't reverse the list, reverse a copy of it. Fixes bug reported on
	the list.

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

	* shell/project-app.c: Remove old unused oafiid defines.

	* components/gantt/GNOME_MrProject_Gantt.ui: Remove the dump button.

	* components/task-dialog/Makefile.am 
	(GNOME_MrProject_TaskDialogComponent.oaf.in): Add dependency on 
	config.status in order to rebuild the oaf.in file when the prefix is 
	changed.

	* components/gantt/Makefile.am (GNOME_MrProject_GanttComponent.oaf.in): 
	Likewise.
	
	* components/resource/Makefile.am 
	(GNOME_MrProject_ResourceComponent.oaf.in): Likewise.

2001-05-09  Michael Meeks  <michael@ximian.com>

	* util/time-utils.c (convert_slashed_us_date_to_iso):
	lovely y2k hacklet...

	* project-server/project-mpx.c (set_project_name):
	kill: ugly, use Bonobo_PropertyBagClient.

2001-05-09  Michael Meeks  <michael@ximian.com>

	* project-server/project-mpx.c (mpx_free): convert task_offsets
	to a GArray, impl. resource offsets.
	Abstract task structures to accomodate re-use for resources.
	Implement resource name import.
	Massive internal changes.
	Impl. state set to remove annoying 'unsaved changes' dialog.

2001-05-09  Michael Meeks  <michael@ximian.com>

	* project-server/project.c (impl_GNOME_MrProject_Project_read): 
	fix a really stupid thinko.

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

	renamed functions in util/corba-utils.[ch] from 
	GNOME_MrProject_* to corba_util_*.

	* util/corba-utils.[ch]
	* project-server/*manager.c:
	* components/task-dialog/task-dialog-gui.c
	(task_dialog_gui_update_task): 
	* components/task-dialog/alloc-table-model.c
	(alloc_table_model_add_resource, alloc_table_model_update_resource): 
	* components/resource/resource-table-model.c
	(resource_tm_set_value_at, resource_tm_add_resource),
	(resource_tm_add_group, resource_tm_update_group),
	(resource_tm_update_resource): 
	* components/resource/resource-component.c (group_resource_cmd) 
	(resource_updated_cb): 
	* components/resource/group-dialog.c (group_dialog_add_group): 
	* components/gantt/gantt-model.c (gantt_model_link) 
	(gantt_model_assign_allocation, gantt_model_update_task): 
	* components/gantt/gantt-component.c (task_inserted): 
	* components/gantt/gantt-component.c (remove_task_cmd): 

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

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_updateTask): Don't update if the task
	doesn't exist.
	
2001-05-08  Michael Meeks  <michael@ximian.com>

	* project-server/project-mpx.c: Add predecessors support.

	* project-server/task-manager.c (task_manager_insert): check
	that the parent is valid before dereferencing it.

2001-05-08  Michael Meeks  <michael@ximian.com>

	* project-server/project.c (impl_GNOME_MrProject_Project_read):
	update signature.

	* util/time-utils.c (convert_slashed_us_date_to_iso): impl.
	(time_from_msdate): partialy impl.

2001-05-08  Michael Meeks  <michael@ximian.com>

	* project-server/project.c (impl_GNOME_MrProject_Project_read): add
	mpx project hooks.

	* tests/ooprojec.mpx: 
	Add from http://www.wiley.com/compbooks/cantor/second.htm

	* project-server/project-mpx.[ch]: Impl.

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

	* project-server/allocation-manager.c: style
	* project-server/resource-manager.c: style
	* components/resource/resource-table-model.c: style
	* components/resource/resource-component.[ch]: style
	* components/resource/print-resources.[ch]: style
	* components/resource/group-dialog.[ch]: style

	* project-server/resource-manager.c 
	some style fixes.
	(impl_GNOME_MrProject_ResourceManager_insertGroup): fixed so that 
	groups are initially named 'Group 01'... and also make this 
	translate-able.

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

	* mrproject.spec.in: Doh, install the locale stuff... thanks menthos!

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

	* tests/MrProject.mrproject: added some resources and allocations.

	* components/resource/resource-component.c:
	(group_resource_cmd): added a for exceptions when retreiving groups.

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

	* configure.in (VERSION): Upped to 0.2.1.

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

	* Tagged with MRPROJECT_0_2.

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

	* mrproject.spec.in (Requires): gnome-libs 1.2.8.

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

	* shell/project-app.c (project_app_delete): 
	- Check in here aswell for project state.

	* project-server/project.c: (impl_GNOME_MrProject_Project_getState): 
	- fixed bug that caused the project to always appear DIRTY when not
	empty.
	- also fixed a little 'glitch' :)

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

	* components/gantt/gantt-print.c (print_chart): Always print at least
	a week. Also don't round the nr of pages up.

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

	* shell/project-app.c (project_app_exit): removed gtk_main_quit since
	it caused the program to quit no matter what you choose in the 
	confirm exit dialog.

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

	* project-server/task-model.c (task_model_destroy): Don't access priv
	after it's freed.

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

	* debian/control (Description): changed to match that of mrproject.spec

	* debian/changelog: updated for 0.2-release.

	* components/resource/print-resources.c: include time.h

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

	* components/gantt/gantt-component.c (real_set_sensitivity): Disable
	"remove" when more than one tasks are selected (due to a bug? in ORBit).

	* project-server/task-manager.c (task_manager_add_link): Move stuff from
	the CORBA method here and call this from the CORBA method. This way the
	project-xml stuff can add links.

	* project-server/project-xml.c: Add saving/loading of links. Lots of
	changes but my hands hurts so I can't write a more detailed changelog.

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

	* shell/project-app.c 
	Fixes bug #103. Thanks myriddin for reporting.
	(close_cb): call project_app_really_exit to see if project unsaved 
	and what to do if before we close. project_app_really_exit returns 
	TRUE if the project should be destroyed.
	(project_app_exit): Call project_app_really_exit on all open projects.
	(confirm_exit_handle_yes): added/impl.
	(confirm_exit_handle_no): added/impl.
	(project_app_really_exit): added/impl. returns TRUE if the project
	should be exited. If projekt are dirty show a dialog asking what to do.
	Otherwise just return TRUE.

	* shell/Makefile.am (glade_DATA): added confirm-exit-dialog.glade

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

	* components/resource/group-dialog.c (group_dialog_init): Remove C++
	comment.

	* components/gantt/gantt-print.c (gantt_print_arrow): Impl.

	* components/resource/resource-component.c (print_resource_cmd): Call
	the print dialog.

	* components/resource/print-resources.[ch]: Print dialog. Not used yet.

	* mrproject.spec.in: Fixes from Anders Carlsson (andersca), change url
	to mrproject.codefactory.se, and add vendor field.
	(Requires): libglade 0.14.

	* shell/project-app.c (open_cb): Use the hacked file selection dialog
	to get wmclass/wmname working with ximian gtk+.
	(save_as_cb): Likewise.

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

	* components/gantt/gantt-component.c 
	(allocation_assigned): d() around puts.

	* project-server/project.c 
	(project_init): call allocation_manager_start_listen.

	* project-server/project-xml.c (xml_write_project): fixed type.

	* project-server/allocation-manager.c 
	fixed bug #102.
	(am_tasks_removed): added/impl. called when tasks gets removed.
	(am_resource_removed): added/impl. called when resources gets removed.
	(listener_callback): added/impl.
	(allocation_manager_start_listen): added/impl. called from project.c
	to tell AllocationManager to start listen after remove signals from 
	task- and resourcemanager.

	* components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): listen to task:removed_seq
	(td_listener_callback): task:removed_seq seems to be the one to 
	use now.
	(td_tasks_removed): check the IdSeq of removed tasks to see if the 
	one this dialog controls is among them.

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

	* shell/project-app.c (open_cb): look at state of project.
	- call project->getState ()
	- if EMPTY, don't open a new window/project. otherwise do.
	- Fixes bug #71

	* project-server/task-manager.c: 
	- ** RICHARD could you take a look if DIRTY is set in the right
	             places?
	- Added state-argument and priv variable.
	- Set state DIRTY whenever something changes.
	(am_get_arg): added support for state..
	(am_set_arg): added support for state...

	* project-server/resource-manager.c: 
	- Added state-argument and priv variable.
	- Set state DIRTY whenever something changes.
	(am_get_arg): added/impl.
	(am_set_arg): added/impl.

	* project-server/project.c 
	(impl_GNOME_MrProject_Project_getState): added/impl.
	- returns EMPTY if all managers are empty.
	- returns SAVED if all managers are saved.
	- returns DIRTY otherwise.

	* project-server/project-xml.c 
	(xml_write_project): set state on managers to saved.
	(xml_read_project): set state on managers to saved.

	* project-server/allocation-manager.c: 
	- Added state-argument and priv variable.
	- Set state DIRTY whenever something changes.
	(am_get_arg): added/impl.
	(am_set_arg): added/impl.

	* idl/GNOME_MrProject.idl: 
	- added enum for states.
	- added getState

	* components/resource/group-dialog.c 
	(group_dialog_init): now also works :)
	(gd_group_select_cb): select the name (so the user can start type
	directly). (should this be done only for new groups?)

	* components/resource/group-dialog.[ch]: 
	- Moved widgets and other private stuff into GroupDialogPriv.

	* components/shell-component/shell-component.[ch]: 
	style fixes (Richard don't get mad :)

	* components/resource/resource-component.c 
	(resource_component_class_init): style fixes.

	* NEWS: added some info.

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

	* components/resource/GNOME_MrProject_Resource.ui: Reword tooltip a bit.

	* components/gantt/gantt-item.c (insert_rows): Add the resources
	that are assigned to this task.

	* components/gantt/gantt-model.c (gantt_model_assign_allocation): 
	Keep the resource around.

	* shell/project-app.c (save_as_cb): Add .mrproject if missing.

	* shell/Makefile.am: Don't install the obsolete test file.

	* shell/project-app.c (set_project_name): Remove this old hack.
	(project_app_new): Freeze/thaw the ui while loading a file.
	(open_cb): Only show *.mrproject in the file listing.

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

	* configure.in: changed gal-requirements to GAL 0.7 (since Ximian GAL 
	from evo snapshots doesn't say the correct minor version).

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

	* mrproject.spec.in: Fix requirements.
	Install the components.

	* configure.in: Print out the found bonobo version. 
	Require gal 0.7.99.0, bonobo 1.0.0.

	* components/gantt/gantt-item.c (gantt_item_print_gantt_row): Comment
	out the green fill, doesn't seem to be working with the preview? Also
	work around some preview weirdness by clipping the tasks manually if
	needed.

	* components/task-dialog/task-dialog-gui.c (tdg_create_gui): Changed
	notebook page label to "Resources".

	* components/resource/Makefile.am. Dist the oaf.in.in file.

	* components/gantt/Makefile.am: Dist the oaf.in.in file.

	* components/task-dialog/Makefile.am: Dist the oaf.in.in file.

	* extras/desktop/mrproject.desktop.in (Icon): Use mrproject.png

	* components/resource/resource-component.c (float_compare): Impl.
	(create_table): Add a float compare function.

	* components/resource/resource.etspec: Use integer and float compare
	functions for integers and floats.

	* components/gantt/gantt.etspec: Eeek! Eek! Start/end/duration are
	integers so use the integer-compare method, not string. This explains
	some of the crashes people were having with sorting, but not the ones
	I've been seeing when sorting the name column :/

	* components/gantt/gantt-row-item.c (gantt_row_item_draw): NULL check.
	(gantt_row_item_bounds_item_coordinates): NULL check and add the pixel
	of padding for the bounding box that got lost last night.

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

	* components/resource/resource.etspec: 
	* components/gantt/gantt.etspec: id-width 25 to be able to print >100.
	fixes bug #107.
	thanks myrridin (Daniel Persson) for finding this.

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

	* components/gantt/gantt-row-item.c (rebuild_resources_text): Build a 
	comma separated list of resources.
	(gantt_row_item_destroy): Free the resource text.

	* components/gantt/gantt.etspec: Make the id column a bit wider, thanks
	to Myrridin (Daniel Persson) for pointing this out.

	* components/gantt/gantt-component.c (gantt_comp_set_shell): Unassigned
	was the name of the event...

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

	* components/task-dialog/task-dialog.c 
	(td_listener_callback): it's unassigned, not deassigned.

	* components/resource/resource-table-model.c 
	(resource_tm_get_group_strings): write "(None)" instead of 
	"No group" if no group is choosen for a resource.

	* components/resource/group-dialog.c 
	(group_dialog_remove_group): select a new row if the selected one
	is deleted.

2001-05-05  Anders Carlsson  <andersca@codefactory.se>

	* components/gantt/Makefile.am 
	(libgantt_component_la_SOURCES): Add task-print-info.h

	* components/task-dialog/Makefile.am 
	(libtask_dialog_component_la_SOURCES): Fix tyop.

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

	* components/gantt/gantt-row-item.c 
	(gantt_row_item_add_resource): Add a resource.
	(gantt_row_item_remove_resource): Remove.

	* components/gantt/gantt-item.c (allocation_assigned): Handler for the
	new signal, add a resource to the gantt-row-item.
	(allocation_deassigned): Ditto, but remove.

	* components/gantt/gantt-model.c (gantt_model_assign_alloction): Impl.
	(gantt_model_deassign_alloction): Impl.
	New signals, allocation-assigned and allocation-deassigned.

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

	* components/resource/resource-component.c 
	(get_resource_manager): shell_co should be GNOME_MrProject_Shell.

	* components/resource/group-dialog.c 
	fixed bug #101
	(group_dialog_add_group): select the newly added group.
	(gd_group_select_cb): entry_name grab focus when group is selected.

	* components/gantt/gantt-component.c: added res_msg_co to Priv.
	(get_resource_manager): added/impl.
	(allocation_assigned): impl.
	(allocation_deassigned): impl.

2001-05-04  Mikael Hallendal  <micke@codefactory.se>
	* components/resource/resource-table-model.c 
	(resource_tm_get_row): made non-static, to be able to call it from
	resource-component.

	* components/resource/resource-component.c 
	Fixed selection, bug #99
	(resource_removed): select another row (if possible) when the selected
	one is removed.

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

	* components/gantt/gantt-component.c (gantt_comp_set_shell): Listen to
	allocation events.
	(listener_callback): Allocation events.
	(allocation_assigned): Add empty function.
	(allocation_deassigned): Empty function.

	* shell/GNOME_MrProject_Shell.ui: Remove print from the shell ui. Should
	probably be put back here later.

	* components/gantt/gantt-print.c (print_chart): Make sure we don't get
	division by zero. Don't hard code the nr of vertical pages to 2... :)

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

	* extras/images/24_pixmap.png: added.
	
	* extras/images/Makefile.am (images_DATA): added 24_groups.png

	* components/resource/resource-component.c 
	(resource_control_activate): set 24_groups.png as pixmap for groups.

	* components/resource/GNOME_MrProject_Resource.ui: 
	- removed the stock pixmap from groups. (was only temporary)

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

	* components/gantt/gantt-print.c (print_chart): Print from the first to
	the last task with some padding.

	* components/gantt/gantt-model.c (gantt_model_get_first_time_with_task):
	Impl.
	(gantt_model_get_last_time_with_task): Impl.

	* components/gantt/gantt-component.c (task_removed_seq): Select a task
	after removing _one_ task. Dunno how to find out which one to select
	when removing many.

	* components/task-dialog/task-dialog-gui.c (tdg_name_changed_cb): Use
	utf8 stuff from gal to get the name.
	Include e-unicode.h
	(tdg_update_gui): Use utf8 here as well.

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

	* project-server/resource-manager.c 
	- Cleaned up the writing of groups.
	(resource_manager_foreach_group): take func as GHFunc.

	* project-server/project-xml.c 
	(write_resource_group): same signature as GHFunc.
	(xml_read_allocation): default id = -1.

	* project-server/project.c 
	(impl_GNOME_MrProject_Project_save): send AllocationManager.
	(impl_GNOME_MrProject_Project_read): send AllocationManager.

	* project-server/project-xml.c: 
	- don't include h-files that are included in the h-file.
	- Support for saving allocations.
	(write_allocation): added/impl.
	(xml_read_allocation): added/impl.
	(xml_parse_ctx_new): taske AllocationManager as argument.
	(xml_read_project): read allocations aswell
	(xml_write_project): write allocations aswell

	* project-server/allocation-manager.c: 
	Moved Allocation to h-file (needed in project-xml.c)
	(allocation_manager_foreach_allocation): added/impl.
	 used when saving.

	* components/task-dialog/task-dialog.c 
	(td_set_initial_allocations): added/impl.
	(impl_GNOME_MrProject_TaskDialog_setTaskId): get initial allocations.

	* project-server/allocation-manager.c: don't g_free lists :) 
	*Hallski* smacks his head on the table.

	* components/task-dialog/task-dialog.c: 
	- removed out-commented code before M2.
	- priv->id should be a GNOME_MrProject_Id.
	(td_listener_callback): handle allocations.
	(impl_GNOME_MrProject_TaskDialog_setShell): listen to allocations.
	(td_allocation_assigned): added/impl.
	(td_allocation_deassigned): added/impl.

	* components/task-dialog/task-dialog-gui.c: 
	- removed out-commented code before M2.

	* components/task-dialog/alloc-table-model.c 
	(alloc_table_model_set_allocation): all e_table_model_changed.

	* project-server/allocation-manager.c: 
	Removed task_resources and resource_tasks in order to make the 
	code simplier. This makes the allocation-manager slower since it
	has to look through all of the allocations to find the one it
	looked for. If this becomes a problem the IdMap's could be re-
	implemented.

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

	* components/gantt/gantt-chart.c (horizontal_scroll_value_changed): 
	Remove debugging message.

2001-05-04  Johan Dahlin  <zilch.am@home.se>

        * idl/GNOME_MrProject_Shell.idl: Added G::M::S::getUIContainer()
        * shell/shell.c:
          (impl_GNOME_MrProjectShell_getUIContainer): Added impl.
          (shell_class_init): dito.

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

	* project-server/allocation-manager.c:
	went trough code trying to get it ready for realese :)
	(impl_GNOME_MrProject_AllocationManager_assign): data->alloc_info.
	(am_unassign): data->alloc_info.
	(impl_GNOME_MrProject_AllocationManager_deallocateAllTasks): impl.
	(am_destroy_allocation): added/impl.
	(am_destroy_list): added/impl.
	(am_destroy): impl.

	* idl/GNOME_MrProject_AllocationManager.idl: Don't include Bonobo.idl
	and GNOME_MrProject.idl (thanks zilch).

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

	* components/gantt/gantt-chart.c (gantt_chart_scroll_to_time): Use the
	mr-hscrollbar adjustment here.

	* components/gantt/gantt-component.c (filter_date): Don't show the exact
	time, only date.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_reparentTask): Make sure we don't get
	a link loop. Thanks to zilch for reminding me.

	* shell/project-app.c (project_app_new): Pass ui container.

	* shell/shell.c (shell_new): Take a bonobo ui container as argument.

	* libmrproject/Makefile.am (stamp-idl): The _Shell.idl was missing,
	thanks zilch.

	* project-server/resource-manager.c
	(impl_GNOME_MrProject_ResourceManager_getResources): Don't abort the
	server just because we don't have any resources...

	* shell/project-app.c (add_shell_listener): The event mask list must
	be comma separated!
	(listener_callback): Shape this up to the modern standards ;) We now
	set the window title correctly again.

	* project-server/project-xml.c (xml_write_project): Write resource 
	groups before resources. Fix up style in some places, change the
	tag names and property names to not use studlyCaps but aaa-bbb style,
	since we already broke the file format.
	(xml_read_project): Enable reading the project name again.
	(get_project_name): New function that gets the project name from
	the project property bag.
	(xml_write_project): Save the project name.

	* project-server/project.c (impl_GNOME_MrProject_Project_read): Put
	EFS code inside #ifdefs, use just a regular XML file.
	(impl_GNOME_MrProject_Project_save): Likewise.

	* project-server/project-xml.c: Set LC_NUMERIC to
	C when reading/writing so we don't fail when running under another
	locale than the project was saved with. Also take care of utf8 encoding
	of strings (task/resource/group names mostly). Change coding style to
	match the rest, don't use studlyCaps for anything but CORBA structs etc.
	Don't bail out completely just because something (tasks/resources etc)
	wasn't found in the file.
	
	* project-server/resource-manager.c (resource_manager_foreach_resource):
	Remove flerp message.

	* project-server/project-xml.c (write_task): We don't have an "id"
	argument anymore, fetch it directly from the struct.
	Include e-unicode.h... :/ 
	(xml_get_string_utf8): New function that encodes the value to utf8.

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

	* components/gantt/gantt-model.c (gantt_model_get_width): Actually
	return the width, not just the coordinate of the last time.
	Add emacs C-mode line at the top.

	* components/gantt/gantt-chart.c (gantt_chart_construct): Reword
	FIXME.

	* components/gantt/gantt-component.c (set_sensitivity): Set the
	sensitivity in a timeout to avoid lots of flickering when inserting
	lots of tasks (like when loading a file). Not the right solution really,
	more a hack for now.	

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

	* components/gantt/gantt-component.c (task_removed_seq): Don't use
	the event struct.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_removeTasks): Put the idSeq directly
	in the CORBA_any, don't need that stenkin struct. Remove useless cast.

	* idl/GNOME_MrProject_TaskManager.idl: Remove the event struct for
	removing many tasks, we don't need it.

	* components/gantt/*: More work on the new printing code. Starting to
	shape up now.

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_getResources): Fix infinite loop
	when calling this twice with more than one resource (copy the list 
	before doing g_list_reverse).
	
2001-05-03  Mikael Hallendal  <micke@codefactory.se>

	* project-server/allocation-manager.c: 
	(impl_GNOME_MrProject_AllocationManager_unassign): implemented
	(impl_GNOME_MrProject_AllocationManager_assign): 
	- init the CORBA_Environment before freeing it.

	* project-server/project.c: Added the allocation-manager.

	* project-server/allocation-manager.c: 
	- Compiles weeeeeeeeeehoooooo!
	- Changed all GHashTable to IdMap.
	- Using AllocationInfo to send with events.
	- Reimplemented a couple of functions.
	- To many changes to write. Made it compile (hadn't tried before).

	* project-server/Makefile.am 
	(mrproject_server_SOURCES): Added allocation-manager.[ch]

	* libmrproject/Makefile.am (stamp-idl): 
	* idl/Makefile.am (idl_DATA): 
	- Added GNOME_MrProject_AllocationManager.idl

	* idl/GNOME_MrProject_AllocationManager.idl: 
	- Added NoSuchTask, NoSuchResource.
	  (These should be in GNOME_MrProject.)
	- Don't return Id, use taskId and resourceId to AllocationManager.
	- Added AllocationInfo to send information when allocations changes.

	* components/task-dialog/task-dialog.c 
	(td_get_allocation_manager): Added and implemented.
	(td_gui_resource_allocated_cb): implemented
	(td_gui_resource_deallocated_cb): implemented

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

	* shell/main.c (signal_handler): Don't handle INT or TERM, turned
	out to cause problems in some situations. Also restore the old segv
	handler before trying to unref the factory in case it crashes again.

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

	Signaling from allocation table works to task-dialog now. Now I have 
	to send them over CORBA to the allocation manager.

	* components/task-dialog/task-dialog.c 
	(td_gui_resource_allocated_cb): added
	(td_gui_resource_deallocated_cb): added
	(task_dialog_control_new): connect to allocation signals in 
	TaskDialogGui.

	* components/task-dialog/task-dialog-gui.c 
	(tdg_atm_resource_allocated_cb): added and implemented.
	(tdg_atm_resource_deallocated_cb): added and implemented.
	(tdg_connect_signals): connect to alloc-table signals.

	* components/task-dialog/alloc-table-model.h: added functions for the
	signals.

	* components/task-dialog/alloc-table-model.c 
	(atm_set_value_at): emit signals when allocation changes.
	(alloc_table_model_class_init): Added signal offset.

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

	* components/gantt/gantt-print.c (print_gantt): Likewise for the print
	preview.

	* shell/project-app.c (open_cb): Set wmclass/name for open file 
	selector.
	(save_as_cb): Likewise.

	* components/gantt/gantt-print.c (print_gantt): Set wmclass/name for 
	the print dialog.

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

	* components/task-dialog/alloc-table-model.c: 
	- allocations starts to work on client-side.
	- using a IdMap to store allocations, 
	  key: resourceId, value: units.
	(atm_value_at): supports allocations.
	(atm_set_value_at): started to implement, now supports allocations.
	(alloc_table_model_set_allocation): implemented

	* components/task-dialog/task-dialog.c 
	(td_resource_inserted): implemented
	(td_resource_updated): implemented
	(td_resource_removed): implemented

	* components/task-dialog/alloc-table-model.c 
	(alloc_table_model_update_resource): implemented

	* components/task-dialog/task-dialog.c 
	(impl_GNOME_MrProject_TaskDialog_setShell): 
	- removed support for groups for now.
	(td_listener_callback): dito.
	(td_set_initial_groups): commented out for now.

	* components/task-dialog/task-dialog-gui.glade: 
	- removed link-tab for now

	* components/task-dialog/task-dialog-gui.c 
	(task_dialog_gui_add_resource): implemented
	(task_dialog_gui_update_resource): implemented
	(task_dialog_gui_remove_resource): implemented
	(task_dialog_gui_set_allocation): implemented
	task_dialog_gui_add_dependency, task_dialog_gui_remove_dependency
	 - commented out for now.

	* components/task-dialog/alloc-table-model.h: 
	- fixed typo
	- added enum for columns.

	* components/task-dialog/alloc-table-model.c 
	(alloc_table_model_init): implemented
	(atm_col_count): implemented
	(atm_row_count): implemented
	(atm_value_at): implemented
	(atm_is_cell_editable): use enum instead of 1.
	(atm_get_row): added and implemented (from resource-table-model.c)
	(alloc_table_model_add_resource): implemented
	(alloc_table_model_remove_resource): implemented
	(alloc_table_model_set_allocation): added

	* components/resource/resource-table-model.c
	(resource_tm_row_count): cleaned up a bit.

	* components/task-dialog/task-dialog.c 
	(td_set_initial_groups): Use CORBA_exception_free for freeing 
	CORBA_Environment *.
	(td_set_initial_resources): dito

	* project-server/resource-manager.c: Use CORBA_TRUE instead of TRUE
	to CORBA calls.

	* components/gantt/task-properties.[ch]: Removed
	* components/gantt/task-property-dialog.c: Removed

	* project-server/resource-manager.c 
	- GSList -> GList
	- prepend instead of append to the list.
	
	(impl_GNOME_MrProject_ResourceManager_getResources): started to 
	implement (segfaults).

	* components/task-dialog/task-dialog.c 
	(td_listener_callback): prepended with td_
	added support reosurce and group signals.
	(impl_GNOME_MrProject_TaskDialog_setShell): listen to resource and
	(td_get_resource_manager): added and implemented.
	(td_task_removed): added and implemented
	(td_resource_inserted): added
	(td_resource_updated): added
	(td_resource_removed): added
	(td_group_inserted): added
	(td_group_updated): added
	(td_group_removed): added
	(td_set_initial_resources): added and implemented
	(td_set_initial_groups): added and implemented

	* components/task-dialog/task-dialog-gui.c: puts... -> d(puts...
	(tdg_create_gui): Send an e_table_extras_new to alloc_table.

	* components/task-dialog/alloc-table.etspec: Assigned is now checkbox.

	* components/resource/GNOME_MrProject_Resource.ui: Switch place on 
	remove and insert.

	* components/gantt/GNOME_MrProject_Gantt.ui: Moved the buttons around
	to get insert/remove before up/down and indent.

2001-05-01  Richard Hult  <rhult@localhost.localdomain>

	* util/marshallers.c (mrproject_marshal_DOUBLE__NONE): Add.

	* README: Don't tell people to set LD_LIBRARY_PATH.

	* run-mrproject.in: Don't set LD_LIBRARY_PATH, it's not needed
	anymore.

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

	* components/task-dialog/alloc-table.etspec:  Added
	* components/task-dialog/alloc-table.etstate: Added

	* components/task-dialog/task-dialog-gui.c: now show a table in
	resource assignment.

	* components/task-dialog/links-table-model.c: dtm->ltm.

	* components/task-dialog/alloc-table-model.[ch]: 
	- started to implement. 

	* components/task-dialog/Makefile.am 
	(libtask_dialog_component_la_SOURCES): added some files.
	(spec_DATA): Added etable-spec. files.

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

	* components/task-dialog/task-dialog.c (task_updated_cb): Small
	workaround for M2: never let end <= start.

	* components/gantt/gantt-component.c (filter_duration): Change the
	duration format a bit. Not sure how we want this to look...

	* components/gantt/*: Printing, more work in progress.

	* shell/main.c (signal_handler): Ok, handle SIGSEGV as well, seems to
	work ok.

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

	* components/resource/resource-component.c include e-scroll-frame.h
	(create_table): no shadow on the resource-table (thanks andersca)

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

	* components/gantt/gantt-row-item.c (gantt_row_item_draw): Don't draw
	the task name after the task (when we get resource allocation, the 
	assigned resources will be drawn there).

	* components/gantt/gantt.etstate: Show Start and Duration by default.

	* shell/main.c (signal_handler): Unref the project-server when killed by
	Ctrl-C (SIGINT) or SIGTERM. Pretty cool if I may say so ;)

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

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_addLink): Don't allow linking relatives.

	* project-server/task-model.c (task_model_has_ancestor): Add function
	to check if a task is a descendant of another task.

2001-04-27    <micke@codefactory.se>

	* components/task-dialog/links-table-model.c: New files.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_addLink): fixed comment-in-comment.

	* components/task-dialog/alloc-table-model.[ch]: Renamed 
	res-alloc-table.[ch].

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

	* components/gantt/GNOME_MrProject_Gantt.ui: "Unlink", that is :)

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

	* components/gantt/GNOME_MrProject_Gantt.ui: Fixed the label of the
	unlink button to say UnLink instead of Link 

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

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_updateTask): If constraints are not,
	set the start/end time as close as possible without breaking any rules.
	(bubble_idle_cb): Don't change start nor end if any of them can't be
	change without violation constraints.
	(impl_GNOME_MrProject_TaskManager_addLink): Return the linkId.
	(impl_GNOME_MrProject_TaskManager_addLink): Push the successor back after
	the predecessor after adding the link.

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

	* components/task-dialog/res-alloc-model.c: Added file.

	* components/task-dialog/res-alloc-model.h: Added file.

	* components/task-dialog/task-dialog.c 
	(dialog_destroy_cb): removed some comments.

	* components/resource/resource-table-model.[ch]
	(resource_tm_new): returns an ETableModel.

	* components/resource/resource-component.c 
	(create_table): reseive resource-table-model as an ETableModel.

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

	* components/gantt/gantt-item.c (task_unlinked): Destroy link canvas
	item.

	* components/gantt/gantt-model.c (gantt_model_unlink): Remove
	predecessor/successor and emit event for the gantt item.
	(gantt_model_class_init): New signal "task_unlinked".

	* components/gantt/gantt-component.c (listener_callback): Listen to
	unlink event.
	(task_unlinked): Pass event on to the gantt model.

	* project-server/task-manager.c
	(impl_GNOME_MrProject_TaskManager_unlinkTasks): Impl.

	* project-server/task-model.c (task_model_remove_successor): Impl.
	(task_model_remove_predecessor): Impl.

	* components/gantt/gantt-model.c: Remove the successor hash, it was
	never used.

	* project-server/task-manager.c (task_manager_destroy): Unref event
	source.
	(task_manager_new): Pass event source here and keep it around.
	(impl_GNOME_MrProject_TaskManager_addLink): Don't free the link that
	we just created.

	* project-server/task-model.c (task_model_has_successor): Optionally
	return the link id.
	(task_model_has_predecessor): Likewise.

	* components/gantt/gantt-component.c (remove_task_cmd): Remove
	g_warning, but add a comment.

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

	* components/task-dialog/.cvsignore: Added .oaf.in
	* components/resource/.cvsignore: Added .oaf.in
	* components/gantt/.cvsignore: Added .oaf.in

	* components/task-dialog/task-dialog-gui.c: 
	The correct fix is to include both libgnome/gnome-defs.h and libgnome/gnome-i18n.h
	since gnome-i18n.h doesn't include gnome-defs.h as supposed.

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

	* components/task-dialog/task-dialog-gui.c (task_dialog_gui_init): 
	Set wmclass/wmname on the dialog, and a translated title.
	Added #include <gnome.h> since I could not get _() working wihout it.
	What is the right fix?

	* components/task-dialog/task-dialog-gui.glade: Changed looks and fixed
	to behave nicer when resizing after complaints from Complainersca.
	
2001-04-26  Mikael Hallendal  <micke@codefactory.se>

	* components/*/*.oaf.in: 
	- Removed since these are generated from .oaf.in.in
	
	* util/corba-utils.c 
	(GNOME_MrProject_Link_duplicate): Added sanecheck.
	(GNOME_MrProject_Task_duplicate): Dito
	(GNOME_MrProject_Resource_duplicate): Dito 
	(GNOME_MrProject_ResourceGroup_duplicate): Dito 

	* libmrproject/Makefile.am (stamp-idl): TaskEditor -> TaskDialog.

	* idl/Makefile.am (idl_DATA): TaskEditor -> TaskDialog

	* idl/GNOME_MrProject.idl: 
	- Include GNOME_MrProject_TaskDialog.idl instead of *_TaskEditor.idl

	* components/task-dialog/task-dialog.[ch]: 
	- Very much rewritten from the old task-editor.[ch]
	- Basics work with task-dialog.

	* components/task-dialog/task-dialog-gui.glade: 
	- Did a window of the dialog instead of GnomeDialog.

	* components/task-dialog/task-dialog-gui.[ch]: 
	- Everything is new :) no need to write it all...
	- Fixed some cut'n'paste errors from the h-file.

	* components/task-dialog/Makefile.am:
	- libtask-dialog.la -> libtask-dialog-component.la
	- Added task-dialog-gui.[ch]
	- libtask_editor_la* -> libtask_dialog_component_la*
	- task-dialog.glade -> task-dialog-gui.glade

	* components/task-dialog/GNOME_MrProject_TaskDialog.oaf.in.in: 
	- libtask-dialog.so -> libtask-dialog-component.so
	
	* components/resource/group-dialog.c 
	(gd_update_group_cb): Changed argument from GtkObject -> GtkWidget.

	* components/gantt/gantt-component.c 
	(edit_task_cmd): 
	- Changed from the old TaskEditor to the new TaskDialog

	* components/Makefile.am (SUBDIRS): task-editor -> task-dialog

	* configure.in: task-editor -> task-dialog

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

	* project-server/task-model.c (task_model_get_successors): EEK!
	Fix stupid typo s/predecessors/successors/.

	* components/resource/Makefile.am: Remove -r from 
	LDFLAGS.

	* components/gantt/Makefile.am:	Remove -r from LDFLAGS and add the 
	corba-util library.

	* components/gantt/GNOME_MrProject_Gantt.ui: Added a temporary Go to 
	task icon.

	* components/gantt/gantt-component.c (set_sensitivity): Disable
	link/unlink for now.

	* project-server/task-manager.c
	(impl_GNOME_MrProject_TaskManager_addLink): Keep track of the 
	predecessor and successor tasks.
	(impl_GNOME_MrProject_TaskManager_updateTask): Add constraint
	checking.
	(task_check_constraints): Initial impl.
	(task_model_changed_cb): #if 0'ed code to update successors when
	a task changes.

	* components/gantt/gantt-component.c: Add select all and invert 
	selection.

	* components/gantt/GNOME_MrProject_Gantt.ui: Add select all and invert
	selection commands and menu items.

	* util/corba-utils.c (GNOME_MrProject_LinkSeq_from_list): Copy the
	type too.
	(GNOME_MrProject_LinkSeq_to_list): Make this work, nothing uses it so
	the bug wasn't noticed. Maybe we don't want to keep it?

	* components/gantt/Makefile.am: More of the same.

	* components/task-dialog/GNOME_MrProject_TaskDialog.oaf.in.in:
	Here as well.

	* components/gantt/Makefile.am: Likewise.

	* components/resource/Makefile.am: Generate the oaf.in file and
	set the libdir.

	* components/gantt/GNOME_MrProject_GanttComponent.oaf.in.in: Use
	libdir.

	* components/resource/GNOME_MrProject_ResourceComponent.oaf.in.in:
	Use libdir.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_addLink): Check that the tasks are
	not already linked.

	* project-server/task-model.c (task_model_add_predecessor): 
	Add sanity checks.
	(task_model_add_successor): Ditto.
	(task_model_get_predecessors): Ditto.
	(task_model_get_successors): Ditto.
	(task_model_has_predecessor): Impl.
	(task_model_has_successor): Impl.

	* components/gantt/gantt-item.c (task_linked): Arrow from predecessor to
	task.

	* components/gantt/gantt-component.c (task_link_cmd): The first task is
	actually the predecessor, but the arrow was drawn at the wrong end of the
	line... :)

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

	* idl/GNOME_MrProject_TaskManager.idl: Clean out unused stuff.

	* extras/images: Added icons for link/unlink.
	
	* components/gantt/gantt-component.c (gantt_control_activate): Add icons
	for link/unlink.

	* components/gantt/GNOME_MrProject_Gantt.ui: Add icons for link/unlink.
	Also make cmd names more consistant (*Task<Verb>).

	* components/gantt/gantt-component.c (get_two_selected_ids): Just
	take the two selected tasks, don't care which is the cursor etc.

	* util/corba-utils.c (GNOME_MrProject_Link_duplicate): Dup a
	link sequence.

	* project-server/task-manager.c
	(impl_GNOME_MrProject_TaskManager_addLink): Simplify.
	(impl_GNOME_MrProject_TaskManager_getLinks): Impl.

	* project-server/task-model.c (task_model_add_link): Impl.
	(task_model_get_links): Impl.

	* idl/GNOME_MrProject_TaskManager.idl: Remove depencency sequence
	from task struct to keep, add some methods to get/add/remove links.

	* components/gantt/test-print.c: More work on printing, clip
	correctly and page break a bit better.

	* components/gantt/gantt-model.c (gantt_model_link): Keep track
	of successors the linked tasks.
	(gantt_model_task_get_successors): Impl.
	(gantt_model_task_get_links): Impl.

	* components/gantt/gantt-item.c (insert_rows): Add links as well.
	(task_linked): Add sanity checks.

	* util/corba-utils.c (GNOME_MrProject_LinkSeq_to_list): Creates
	a GSList from a LinkSeq.
	(g_slist_CORBA_free): Free a GSList with CORBA data elements.
	(GNOME_MrProject_LinkSeq_from_list): Creates LinkSeq from GSList.

	* idl/GNOME_MrProject_TaskManager.idl: Change dependency -> link.

	* components/gantt/GNOME_MrProject_Gantt.ui: Remove sensitivity 
	properties.

	* util/corba-utils.c (GNOME_MrProject_DependencySeq_from_list): Impl.

	* project-server/task-model.c (task_model_get_dependencies): Impl.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_getDependencies): Impl.

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

	* components/task-dialog/task-dialog-gui.glade: Renamed 
	  task-dialog.glade -> task-dialog-gui.glade.

	* components/task-dialog/task-dialog-gui.[ch]: Added files.

	* components/resource/resource-component.c
	(resource_group_updated_cb): receive as correct pointer type instead 
	  of gpointer.

	* components/resource/group-dialog.h: Fixed the callback args for 
	  signals.

	* components/resource/group-dialog.c: Removed debug printouts.

	* components/task-dialog
	* components/task-dialog/task-dialog.c 
	* components/task-dialog/task-dialog.h
	* components/task-dialog/GNOME_MrProject_TaskDialog.oaf.in
	* components/task-dialog/Makefile.am
	Rewrite to make the TaskDialog a klass to clean up, also change name 
	from TaskEditor.
	
	* project-server/resource-manager.c (resource_manager_foreach_group): 
	- Had forgotten to set data.func making saving groups difficult :)

	* shell/project-app.c (about_cb): Changed to short names and added 
	  Anders Carlsson.

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

	* util/marshallers.c 
	(mrproject_marshal_NONE__DOUBLE_DOUBLE_DOUBLE_DOUBLE): Add.

	* project-server/task-manager.c
	(impl_GNOME_MrProject_TaskManager_addDependency): Eek, fix bug. Don't copy
	all the deps to the same index of the buffer.

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

	* components/gantt/gantt-component.c (task_goto_cmd): New command,
	go to the selected task.

	* components/gantt/gantt-item.c: Add IdMap for mapping ids to 
	row items. Add/remove when inserting/deleting rows.

	* components/gantt/gantt-model.c: Add task_linked signal. Emit it
	when linking tasks.

	* components/gantt/gantt-link-item.c (gantt_link_item_draw): Draw
	the dependeny arrow.
	(row1_changed): Handle finish-to-start dependencies for now.
	(row2_changed): Ditto.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_createTask): Don't release the
	dependency buffer.

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

	* components/resource/resource-table-model.c 
	(string_compare): Added
	(resource_tm_get_group_strings): Sort the group list.

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_createGroup): 
	(impl_GNOME_MrProject_ResourceManager_insertGroup): 
	- Little hackish fix to create groups. 
	  (Set the name to Uninitialized and in insert check if it still
	   is Unitinitialized. If it is, set it to Group <id + 1>).
	   This should be solved better in the future.

	* components/resource/resource-table-model.c: 
	- Use IdMap instead of GHashTable to store groups.
	(resource_tm_get_group_id): Added

	* util/id-map.c 
	(get_object): Fixed error
	(get_key):    Fixed error.

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_getGroups): 
	 * Fixed error

	* components/resource/resource-table-model.c 
	(add_group_name_to_list): 
	 * Fixed error

	* idl/GNOME_MrProject_ResourceManager.idl: 
	- Removed _ from variablenames in idl (thanks for the reminder Richard).
	* util/id-map.c 
	(id_map_get_keys):    Added.
	(id_map_get_objects): Added.
	(get_object):         Added
	(get_key):            Added

	* util/corba-utils.c: 
	- Fixed variable name changes from idl.

	* project-server/resource-manager.c: 
	- Fixed variable name changes from idl.
	(impl_GNOME_MrProject_ResourceManager_getGroups): 
	- Use the new id_map_get_objects to get all groups.
	- Finished implementing.

	* project-server/project-xml.c: 
	- Fixed variable name changes from idl.

	* components/resource/resource-table-model.c 
	- Fixed variable name changes from idl.
	- Added type_strings to priv.
	- Changed name from People -> Work in resource types. These should 
	  probably be in the resource-manager instead.
	(resource_tm_get_type_strings): 
	 * Don't take an initial list.
	 * Only return our list of types.
	(resource_tm_get_group_strings): 
	 * Don't take an initial list.
	 * Send a GList ** instead of GList * to foreach-func.
	(add_group_name_to_list): 
	 * gets an GList ** to be able to prepend instead of append.
	(resource_tm_init): Initiate type_strings.

	* components/resource/resource-component.c: 
	- Fixed variable name changes from idl.
	- Added group ECell to priv to be able to change strings in it.
	(group_resource_cmd): Call getGroups on ResourceManager to get initial
	groups for the GroupDialog.
	(resource_group_inserted): update ResourceGroup-cell-strings
	(resource_group_updated):  update ResourceGroup-cell-strings
	(resource_group_removed):  update ResourceGroup-cell-strings
	(resource_updated_cb): Implemented to actually call updateResource on
	the server.
	(create_table): ResourceGroup-cell is now in ResourceComponentPriv.

	* components/resource/group-dialog.c: 
	- Fixed variable name changes from idl.
	(group_dialog_new): 
	 * Use the initial list of groups.
	 * gm->gd.
	
2001-04-23  Richard Hult  <rhult@codefactory.se>

	* components/gantt/gantt-header-item.c: Printing WIP.

	* components/gantt/gantt-item.c: Work in progress on printing.

	* configure.in: Reorder some AC_*, needed to build with automake
	1.4d.Submitted by Johan Dahlin.

	* components/gantt/Makefile.am: No need to build a separate
	library for the gantt widget anymore.

	* components/gantt/gantt-item.c (gantt_item_get_bounds):
	Calculate bounds for page breaking.

	* components/gantt/Makefile.am 
	(libmrproject_gantt_component_la_LIBADD): Remove project_time lib 
	and fix builddir != srcdir.

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

	* components/gantt/gantt-link-item.c: Work in progress on
	linking tasks.

	* components/gantt/gantt-item.c (table_model_row_changed):
	Test linking tasks.

	* components/gantt/gantt-component.c (task_reparented): 
	Fix crash in ETreeSelectionModel.

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

	* components/gantt/gantt-row-item.c (gantt_row_item_class_init):
	Added signal so that the link item can update itself when the
	two linked tasks change.

	* util/marshallers.c (mrproject_marshal_NONE__DOUBLE): Added
	marshaller.

	* components/gantt/gantt-item.c: Remove tracking of first/last
	time, use GanttModel for that. Changes everywhere.

	* components/gantt/gantt-header-item.c: Add gantt_model argument,
	remove duplicated tracking of first/last time and scale factor,
	use time/coord conversion in GanttModel instead.

	* components/gantt/gantt-chart.c: Remove gantt_chart_set_range.

	* components/gantt/gantt-component.c (listener_callback): Set scale
	on gantt model instead of the gantt chart widget.

	* components/gantt/gantt-model.c: Handle the scale here,
	instead of separately in the different gantt items. Add
	"scale_changed" signal to let others know what happens.
	(gantt_model_time_to_coord): Impl.
	(gantt_model_coord_to_time): Impl.
	(gantt_model_set_scale_range): Impl.

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

	* util/id-map.[ch] (id_map_size): Added, wrap around 
	  g_hash_table_size

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_getGroups): 
	- Started to implement

	* project-server/allocation-manager.h: 
	- Include libmrproject/GNOME_MrProject.h

	* project-server/allocation-manager.c: 
	- Fixed some stuff I noticed when trying to compile it :)

	* components/resource/resource-component.c: 
	- Did some cleaning possible after Richards change.

	* components/resource/GNOME_MrProject_Resource.ui: 
	- Made Print insensitive

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

	* components/resource/resource-component.c 
	(resource_component_unset_shell): Unref the resource manager
	here.

	* components/gantt/gantt-component.c (gantt_comp_unset_shell):
	Unref the task manager here.

	* components/resource/resource-component.c: Do the same here,
	listen to project:set from the shell and get the resource
	manager as soon as we have a project, and keep it around.

	* util/project-time.[ch]: Remove.
	
	* components/gantt/gantt-component.c: Clean up, make variable
	naming more consistant, indent. Don't get queryInterfacing for
	the task manager, just do it when the shell gets a new project.
	(project_set): Get the task manager.
	(gantt_comp_set_shell): Listen to 'project' events.

	* shell/shell.c: Indent, emit event when we get a new project.

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

	* project-server/project-xml.c: Use time-utils. More specficly,
	use another format for dates, which means we change the file
	format.
	(write_task): EEEEK. For how long has this been broken? Fixed
	bug that made saving totally b0rked.

	* util/time-utils.[ch]: Move here from the gantt component. 

	Killed ProjectTime everywhere:
	* project-server/project-xml.c
	* components/gantt/gantt-chart.h
	* project-server/project-xml.c
	* project-server/project.h
	* project-server/task-manager.c
	* components/gantt/gantt-util.c
	* components/gantt/gantt-item.c
	* components/gantt/gantt-row-item.c
	* components/gantt/gantt-chart.c
	* components/gantt/m-cell-filter.c 
	* shell/project-app.c
	* components/task-editor/task-properties.h
	* components/task-editor/task-properties.c

	* tests/*: Put tests here.
	
	* project-server/task-manager.c (dump_tree_traverse): Dump
	id and name.

	* project-server/project.h (project_new): Remove stale
	prototype.

	* project-server/project.c: Indent.

	* project-server/project-factory.c (get_project): Raise
	exception if we have no project.
	(unref): Clean up a bit.

	* components/gantt/gantt-component.c (remove_task_cmd): 
	Remove unselect and move it to the callback (so that other
	clients may remove tasks without crashing the component.
	(task_removed): Add it here...
	(task_removed_seq): ...and here.

	* idl/GNOME_MrProject.idl: Add debugging method.

	* project-server/project-factory.c (get_project): Add debugging
	method to get the most recent created project from the factory.

	* components/resource/group-dialog.c: Add config.h to includes.

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

	* components/gantt/gantt-model.c (gantt_model_remove_tasks): 
	Remove many tasks at once.

	* components/gantt/gantt-component.c (task_removed_seq): Handle
	removed_seq event.

	* project-server/task-manager.c
	(impl_GNOME_MrProject_TaskManager_removeTasks): Trim the sequence
	of ids to remove so that we only remove subtree roots and not there
	children (they are automatically removed when their parents are).

	* util/corba-utils.c (GNOME_MrProject_IdSeq_from_list): New
	function that does exactly what the name suggests.

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

	* components/resource/group-dialog.c (group_dialog_init): Set
	wmclass/wmname to let window managers do their job right. Also
	set a nice title on the window.
	(group_dialog_init): Add the add/remove buttons ourselves since 
	glade can't handle stock buttons it seems. Built a new libglade 
	dialog from scratch (more GNOME-like and less cluttered IMHO).

	* idl/GNOME_MrProject.idl: Add IdSeq.

	* project-server/task-manager.c (check_for_loop): Add output
	to make debugging easier.
	(task_destroyed): Don't destroy the node here, it will be
	done in TaskModel::destroy. Doh! This fixes weird infinite
	looping when inserting nodes after removing some.

	* project-server/resource-manager.c
	(impl_GNOME_MrProject_ResourceManager_createGroup): Dup the
	empty strings that we return or we get dead beef...

	* components/gantt/gantt-component.c (task_removed): Make sure
	we select a task after removing a task. First try to select the
	one below, or the one above if that fails.
	(e_tree_selection_change): (De)sensitivize menu/toolbar items
	when the selection changes.
	(remove_task_cmd): Unselect all tasks before removing tasks,
	workaround for a bug or feature (?) in ETree.
	(task_inserted): Select the parent of the inserted task.
	(task_down_cmd, task_up_cmd, task_up_down): Refactor a bit to
	share more code.
	(task_moved): Select the moved task after it's been moved.
	(set_sensitivity): Disable "remove" for more than one task at
	a time for now.	
	(remove_task_cmd): Add first implementation of removing several
	tasks at the same time. Need more work (probably better with a
	method that takes an IdSeq).

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

	* project-server/resource-manager.c
	(impl_GNOME_MrProject_ResourceManager_createGroup): 
	- Changed default name to "New group"

	* components/resource/resource-component.c 
	(resource_group_removed): Call remove_group in group-dialog if dialog
	exists.
	(resource_group_delete_cb): Implemented

	* components/resource/group-dialog.[ch]:
	- Added the deletebutton to the struct to be able to make it 
	  sensitive when row is selected.
	(gd_update_group_cb): 
	- Added forgotten GdkEventFocus-argument.
	- Implemented
	(gd_update_entries_text): Added
	(gd_get_row): Added
	(gd_group_unselect_cb): Added
	(group_dialog_remove_group): Implemented

	* components/resource/GNOME_MrProject_Resource.ui: 
	- Added temporary pixmap for Groups

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

	* components/resource/group-manager-dialog.[ch]: Removed
	
	* components/resource/resource-component.c 
	(resource_group_add_cb): Added
	(resource_group_delete_cb): Added
	(resource_group_updated_cb): Added

	* components/resource/group-dialog.h: groups is now hashtable.

	* components/resource/group-dialog.c 
	- Add new groups works.
	(gd_group_selected_cb): Added.
	(group_dialog_init): Connecting to signals from entries.

	* components/resource/GNOME_MrProject_Resource.ui: 
	- Changed 'Group Management' to 'Groups'

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

	* README: Mention it here as well.

	* configure.in: Bonobo 1.0.0, gal 0.6.99.0 are needed now.

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

	* util/corba-utils.h: Add a mask for changed parent id.

	* components/gantt/gantt-component.c: Use the new gantt model,
	all over the place. Also clean up the coding style to make
	Hallski happy ;) Be a bit more robust in places as well.

	* components/gantt/gantt-model.c: Make this a GtkObject again,
	but don't inherit a tree model, just keep a pointer to one.
	Lots of cleanups in the API, don't expose the internal struct
	that couples a task to an ETreePath, just use the task id. Make
	more robust, remove bugs, bring peace and happiness...

	* components/gantt/gantt-component.c: Add it here as well.
	(filter_date, filter_duration): Move here from gantt-model.c

	* components/gantt/GNOME_MrProject_Gantt.ui: Add the debug cmd.

	* idl/GNOME_MrProject_TaskManager.idl: Added a debug method to
	dump the tree to stdout.

	* project-server/task-manager.c (task_manager_traverse): Add
	argument to specify the traverse order.
	(check_for_loop): Check for loops.
	(dump_tree): PRE_ORDER.
	(traverse_disconnect_destroy): New function needed to get things
	right when a whole subtree is removed. We now get a destroy signal
	for the root of the subtree and then we take care of the children
	ourselves. Much nicer, and as a bonus, it works...

	* project-server/project-xml.c (xml_write_project): Traverse
	with pre-order.

	* project-server/task-model.c (task_model_destroy): NULL out fields
	when destroyed to make debugging easier.

	* project-server/task-manager.c (bubble_idle_cb): Add a little hack
	to break an infinite loop that happens sometimes. Remove this when
	the bug is fixed!
	(dump_tree_traverse): Guard against loops in the debug tree as well.

	* components/gantt/gantt-component.c (listener_callback): Make event
	name matching a lot more efficient and nicer looking :)

	* project-server/task-manager.c (task_manager_init): Initialize
	the root task to id = 0 and parentId = -1.
	(task_manager_insert): Set the parent id right when inserting a task.
	(impl_GNOME_MrProject_TaskManager_updateTask): Don't try to update tasks
	with id <= 0.

	* util/corba-utils.c (GNOME_MrProject_Task_update): Actually
	change the parent id too.

	* shell/project-app.c (project_app_new): Free exception.

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

	* components/gantt/Makefile.am (libgantt_widget_la_SOURCES):
	Remove accidentally checked-in source files.

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

	* configure.in: Updated version to 0.2

	* components/resource/resource-component.c:
	- Use group-dialog instead of group-manager-dialog.

	* components/resource/group-manager-dialog.glade: Removed

	* components/resource/group-dialog.glade: Added

	* components/resource/group-dialog.c 
	(group_dialog_init): Use group-dialog.

	* components/resource/Makefile.am 
	(glade_DATA): Change from group-manager-dialog.glade to 
	              group-dialog.glade

	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_SOURCES): 
	- Last name change (promise? :), finally the dialog will be named
	  GroupDialog.

	* components/resource/group-manager.[ch]: Removed

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

	* components/resource/resource.etspec: Use number instead of own
	  resource_id

	* components/resource/resource-component.c 
	(group_resource_cmd): Uses the changes in group-manager.[ch].
	(create_table): Don't create cell of type resource_id

	* components/resource/group-manager.[ch]: 
	- Changed name from GroupManager to GroupManagerDialog
	- Derives from GtkWindow instead of GtkObject
 	
	* components/resource/group-manager-dialog.glade: 
	- group_manager_dialog is now a window.
	- Removed the other dialog.

	* components/resource/resource-component.c: Reverted some testing 
	  stuff.

	* components/resource/group-manager.[ch]: Added files.

	* components/resource/group-manager-dialog.glade: 
	- Corrected the names. 

	* components/resource/Makefile.am
	(libmrproject_resource_component_la_SOURCES): 
	- Use group-manager.[ch] instead of group-manager-dialog.[ch]
	
	* project-server/project-xml.c: 
	- Added support for reading/writing the new entries in ResourceGroup.

	* components/resource/group-manager-dialog.c: 
	- Removed a lot of outcommented stuff.

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

	* util/corba-utils.c
	(GNOME_MrProject_ResourceGroup_update): 
	(GNOME_MrProject_ResourceGroup_copy): 
	- Changed to initialize the new entries in ResourceGroup

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_createGroup): 
	- Changed to initialize the new entries in ResourceGroup

	* idl/GNOME_MrProject_ResourceManager.idl: 
	- Added information about admin in ResourceGroup.

	* components/resource/group-manager-dialog.h: 
	- group_manager_dialog_new should return a GtkWidget.

	* components/resource/group-manager-dialog.glade: 
	- Fixed the dialog after some discussions with Richard.

	* components/resource/group-manager-dialog.c: 
	- Commented out a couple of functions not needed:
	  * update_row
	  * update_group
	  * add_group_dialog_new
	  * enable_apply
	- Removed previously commented out functions.
	(group_manager_dialog_new): 
	- Removed apply_button.

	* components/task-editor/task-property-dialog.c: 
	- Added Copyright to CodeFactory AB.

	* components/resource/resource-component.h: 
	- Include gtktypeutils.h

	* components/resource/resource-component.c: 
	- Include glib.h
	(group_resource_cmd): Added some test-stuff.

	* components/resource/group-manager-dialog.h: 
	- Added Copyright to CodeFactory AB
	- Some stylefixes.

	* components/resource/group-manager-dialog.c 
	(add_group_dialog_new): Added MRPROJET_DATADIR to glade_xml_new

	* components/resource/group-manager-dialog.h: 
	- Added Copyright to CodeFactory AB
	- Cleaned up the structs a bit.

	* components/resource/resource-component.c: 
	- Include group-manager-dialog.h
	(group_resource_cmd): Added, show the group manager dialog.

	* components/resource/group-manager-dialog.glade: 
	- Don't hardset the width of entries. Should expand with the dialog.

	* components/resource/group-manager-dialog.c: 
	- Added CodeFactory AB copyright.
	- Fixed includes.
	- General clean-ups.
	- Commented out:
	  * get_widget_style (leave styles to gtkthemes)
	  * gtk_entry_set_usize_blabla (bad name).

	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_SOURCES): 
	- Added group-manager-dialog.[ch]
	- Added glade_DATA.

	* components/resource/GNOME_MrProject_Resource.ui: 
	- Added group management command.

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

	* components/gantt/gantt-component.c (task_link_cmd): Add a test link
	command.

	* widgets/e-table-cells: Add the experimental e-cell-gantt just to keep
	it around in case we want to use it in the future.

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

	* shell/GNOME_MrProject_Shell.ui: Move toolbar customization to Edit
	menu.

2001-04-14  Michael Meeks  <michael@ximian.com>

	* components/resource/GNOME_MrProject_Resource.ui: add print icon

	* libmrproject/Makefile.am (dist-hook): remove built source.

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

	* widgets/e-table-cells/Makefile.am: Removed all cells (all have been 
	  included in GAL).

	* widgets/Makefile.am (SUBDIRS): removed e-table-cells.

	* components/resource/resource-table-model.c: 
	- Fixed to use the arg-passing in the e-cell-* instead of m-cell-*.

	* components/resource/resource-component.c: 
	- Using e-cell-* instead of m-cell-* since they have now been 
	  accepted into gal.

	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_LIBADD): 
	Removed libmrproject-etable-cells.la

	* components/gantt/gantt-model.c 
	(gantt_data_new): Added the two new arguments to 
	e_tree_memory_callbacks_new that Clahey wrote to GAL-hackers about.

	* configure.in: 
	- updated gal-version to 0.6.99.0
	- remove widget/e-table-cells/Makefile
	
2001-04-12  Richard Hult  <rhult@codefactory.se>

	* components/gantt/gantt.etspec: Remove columns that are
	supposed to be invisible (summary, type).

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

	* components/resource/resource-component.c: Don't include the
	table info header.

	* components/resource/Makefile.am: Remove resource-table-info.h.
	
	* components/gantt/Makefile.am: Add spec/state.

	* components/resource/Makefile.am (spec_DATA): Add spec/state
	and remove comments.

	* components/resource/resource-component.c (create_table): Load
	spec and state from file.

	* components/gantt/gantt.etspec: Moved the etable spec to a file.

	* project-server/task-manager.c: Rename id_map to task_map.
	Some work on dependencies, need lots more work though:
	(impl_GNOME_MrProject_TaskManager_addDependency): Impl.
	(impl_GNOME_MrProject_TaskManager_removeDependency): Impl.
	(impl_GNOME_MrProject_TaskManager_getDependencies): Impl.
	(impl_GNOME_MrProject_TaskManager_createTask): Create deps
	sequence.

	* idl/GNOME_MrProject_TaskManager.idl: Add dependency methods.

	* project-server/task-model.c (enqueue_change): Add back the
	idle queue for notification on tasks.

	* */*: s/finish/end/ for the task end time, s/workhours/work/.
	
	* project-server/task-model.c: Remove gtk args, we don't use them.

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

	GNOME_MrProject_ResourceId -> GNOME_MrProject_Id changed in the 
	following files:

	* components/resource/resource-component.c
	* components/resource/resource-table-model.c: 
	* project-server/resource-manager.c: 
	* project-server/project-xml.c: 
	* idl/GNOME_MrProject_ResourceManager.idl: 

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

	* project-server/allocation-manager.c: 
	- Started to implement, not finished and not tried through the 
	  compiler.

	* idl/GNOME_MrProject_AllocationManager.idl: 
	- Changes made after me and Richard discussed the interface during 
	  guadec.

	* components/resource/resource-component.c (print_resource_cmd): 
	- Started to implement printing in the resource-component.

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

	* idl/GNOME_MrProject*.idl: Use GNOME/MrProject/Id.

	* components/task-editor/task-property-dialog.c
	(task_property_dialog_set_task): taskId.
	(task_property_dialog_get_task): taskId.

	* components/task-editor/task-editor.c (task_updated): taskId.
	(task_removed): taskId.

	* components/gantt/gantt-model.c (tree_value_at): taskId.
	(gantt_data_insert_row): taskId.
	(remove_traverse): taskId.
	(gantt_data_new): taskId.

	* components/gantt/gantt-component.c (remove_task_cmd): Id.
	(insert_task_cmd): Id.
	(task_up_cmd): Id.
	(task_removed): taskId.
	(task_updated): taskId.
	(task_reparented): taskId.
	(task_moved): taskId.
	(tree_model_node_changed): taskId.
	(get_selected_id): taskId.

	* project-server/task-manager.c: Include marshallers.h

	* idl/GNOME_MrProject_TaskManager.idl: Removed TaskId and replaced
	it with Id.

	* project-server/project.c (project_init): Fix indentation.

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

	* util/marshallers.c (mrproject_marshal_NONE__OBJECT_INT_OBJECT):
	Moved here from task-manager.

	* project-server/resource-manager.c: Use an IdMap to map
	from IDs to resources/resource groups.
	(resource_manager_foreach_group): Use static memory for
	the foreach call user data.
	(resource_manager_foreach_resource): Remove unneccessary
	cast for function pointer.
	(resource_manager_insert): Set the resource id here.

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

	* components/gantt/gantt-item.c (insert_rows): Make summary
	tasks draw as summaries.

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

	* project-server/task-manager.c: Remove hash table for
	mapping ids to tasks and use id_map.

	* util/id-map.[ch]: Small utility class for mapping unique
	ids to arbitrary data.

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

	* components/resource/resource-table-info.h: Use spreadsheet 
	mode.

	* components/gantt/gantt-model.c: Remove obsolete include.

	* README: Gal 0.5.9.13 or later.

	* configure.in: Ditto.

	* widgets/Makefile.am (SUBDIRS): Add missing \.

	* components/gantt/gantt-item.c: Add missing include.

	* components/gantt/gantt-chart.c: Add missing include.

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

	* components/resource/resource-component.c 
	(resource_component_set_shell): Add listener without mask until
	a new bonobo is released.

	* project-server/resource-manager.c: Use correct namespace for
	events (GNOME/MrProject:).

	* components/gantt/gantt-model.c
	(substitute_for_e_tree_model_node_traverse): Temporary function
	until it's implemented in gal.
	(substitute_for_e_tree_model_node_traverse_that_does_pre_order): 
	Likewise.
	(gantt_data_row_move): Use the reparent function to move a row
	so that the children are moved along.
	(gantt_data_row_changed): Only emit "node_data_changed".

	* components/gantt/gantt-model.[ch]: Rewrite to not inherit
	ETableModel. Use the new ETreeMemoryCallbacks model and change
	everything to work with that.

	* util/corba-utils.c (GNOME_MrProject_Task_update): Add argument
	to specify which properties to update, and return the ones that
	changed.

	* widgets/e-table-cells/Makefile.am: Move e-table cells here
	from the resource component directory.

	* widgets/Makefile.am: Add e-table-cells.

	* configure.in: Build the e-table cells.

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

	* shell/project-app.c (get_lang_list): Eek, cutnpaste error. Don't
	access the string after it's been freed.

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

	* util/project-time.c (project_time_compare): Correct speeeeling
	in comment.

	* components/gantt/gantt-item.c (gantt_item_event): Check that
	the time really changed before sending events.

	* project-server/project-xml.c: Add project-time.h

	* project-server/task-model.h: Remove TaskType enum. Remove
	unneccessary include (project-time.h).

	* project-server/task-manager.c (task_model_changed_cb): Adapt
	to new signal prototype.

	* project-server/task-model.c (change_idle_cb): Pass the mask
	with the event.
	(task_model_class_init): Change signal prototype to pass change
	mask enum.

	* project-server/task-model.[ch]: Move node and corba struct
	data to the non-private task model struct. Turn _is_leaf and
	_get_node into macros.

	* project-server/task-manager.c (task_model_changed_cb): Don't
	free the data since we don't dup it anymore.
	(traverse_get_all_tasks): Fix leak, don't dup data.

	* project-server/task-model.c (task_model_new): Alloc a task CORBA
	struct if none is passed.

	* components/gantt/Makefile.am: Log domain is GanttComponent.

	* project-server/task-model.c (task_model_init): Don't create the
	task data here, it will only leak.
	(task_model_destroy): Destroy node.

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

	* components/resource/m-cell-*: removed, now in widgets/e-table-cells/
	
	* widgets/e-table-cells/m-cell-number.c	
	(mcn_get_text): use e_format_number when type is int.

	* project-server/resource-manager.c 
	(resource_manager_class_init): reverted "_get_type to _TYPE"-change.
	now gtk_object_get_type ()

	* components/resource/resource-component.c: fixed includes for new
	location of table-cells.

	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_SOURCES): Removed:
	- m-cell-spin-button.[ch]
	- m-cell-number.[ch]
	Now in widgets/e-table-cells
	(libmrproject_resource_component_la_LIBADD): Link with
	widgets/e-table-cells/libmrproject-etable-cells.la

	* configure.in: Added widget/e-table-cells/Makefile in output

	Some _get_type -> _TYPE changes

	* project-server/allocation-manager.c: Added

	* project-server/allocation-manager.h: Added

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

	* components/resource/resource-component.c:
	(resource_component_set_shell): Fix spelling of the event
	mask names, otherwise we will never get the right events.

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

	* components/resource/resource-table-model.c 
	(resource_tm_value_at): 
	- Fixed for using long with units and int with id
	- Don't use GINT_TO_POINTER
	(resource_tm_set_value_at): 
	- Fixed for using long with units.
	- Don't use GPOINTER_TO_INT
	
	* components/resource/resource-component.c 
	(create_table): Create resource_id-cell-type.

	* components/resource/resource-table-info.h: 
	- Changed type of id to resource_id

	* components/resource/m-cell-spin-button.c 
	- Removed some constructors.
	- Added support for long (now int, long, float, double).
	(m_cell_spin_button_step_int): Takes a type and does the right thing.

	* components/resource/m-cell-nubmer.[ch]:
	- Added
	- Support int, long, float, double
	
	* components/resource/m-cell-double.[ch]:
	- Removed, replaced by m-cell-number.[ch]

	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_SOURCES): 
	- Removed m-cell-double.[ch]
	- Added m-cell-number.[ch]

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

	* util/Makefile.am (libmrproject_util_la_SOURCES): 
	Added marshaller.[ch]

	* util/marshaller.[ch]: Added
	
	* components/resource/m-cell*: fixed it up.

	* components/resource/m-cell-spin-button.[ch]: 
	- Now baseclass for m-cell-spin-float.

	* components/resource/m-cell-spin-float.[ch]: Created

	* components/resource/m-cell-formated.[ch]: Created

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_createResource): 
	- Changed default units to 100 (%)

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

	* components/resource/resource-component.c
	* components/resource/m-cell-spin-button.[ch]
	* components/resource/resource-table-model.c
	- Fixed for the spin-button.
	
	* idl/Makefile.am (idl_DATA): Added GNOME_MrProject_Shell.idl

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

	* components/resource/m-cell-spin-button.[ch]: New files.

	* components/resource/resource-table-info.h: 
	- Unit is now of type resource_unit instead of string.

	* components/resource/resource-component.c: 
	- Include m-cell-spin-button.h
	(create_table): Added celltype for unit. (m-cell-spin-button).

	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_SOURCES): 
	- Added m-cell-spin-button.[ch]

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

	* util/type-utils.h (GNOME_CLASS_BOILERPLATE): Fixed the macro to
	make parent_class of type ObjectClass instead of Object.

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

	* components/task-editor/task-editor.c (task_editor_destroy): Eek. 
	Disconnect the listener here or we are screwed when the dialog is
	gone and we still get events.

	* libmrproject/Makefile.am (stamp-idl): Add all IDL files as dependencies.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_updateTask): Raise InvalidAction if the
	task is not a leaf (we will support moving non-leaves later though).

	* idl/GNOME_MrProject_TaskManager.idl: Add exception InvalidAction, and
	let updateTask raise it.

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

	* components/gantt/gantt-component.c (e_table_double_click): 
	Bring up the task edit dlg on double click.

	* components/gantt/m-cell-date.c (m_cell_date_set_calendar_date):
	Use time_t here as well, fixes crash when using the date cell.
	(m_cell_date_update_cell): time_t.

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

	* components/task-editor/Makefile.am: Install the glade file.

	* libmrproject/Makefile.am: Ok I give up, make it static again.

	* configure.in (XML_LIBS): Change bonobo req back to 0.37.

	* libmrproject/:
	New directory, build the CORBA stubs/skels here.
	
        * idl/
	Split IDL into:
	GNOME_MrProject.idl
	GNOME_MrProject_ResourceManager.idl
	GNOME_MrProject_Shell.idl
	GNOME_MrProject_TaskManager.idl
	Makefile.am: Don't build anything here.
	
	* All files:
	Interface include files moved to libmrproject. The interface lib is
	installed and shared now.

	* configure.in: Up the reqs (oaf 0.6.4+, bonobo 1.0.0+, gal 0.5.99.7). 

	* README: Up the reqs.

	* idl/GNOME_MrProject.idl: Make task property types more abstract. 

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

	* components/resource/resource-component.c 
	(create_table): Removed debugprintout

	* components/resource/resource-table-model.c 
	(resource_tm_get_group_strings, add_group_name_to_list): Fixed bug

	* All files: 
	- Fixed so that all c-files make a check for HAVE_CONFIG_H and if
	  include config.h
	- Changed include of <gtk/gtk.h> to only include necessary.
	- Changed include of <gnome/gnome.h> to only include necessary.
	
	* idl/GNOME_MrProject_AllocationManager.idl: Added some text

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

	* docs/ResourceAllocation: New document, the beginnings of some sort
	of design for resources/allocation.

	* components/gantt/gantt-row-item.c (gantt_row_item_draw): 
	Use e_font_draw_utf8_text to fix drawing of weird characters.
	EFontify the font.
	(gantt_row_item_realize): EFont.
	(gantt_row_item_unrealize): EFont.
	(gantt_row_item_bounds_item_coordinates): EFont.

	* components/gantt/Makefile.am (libgantt_widget_la_SOURCES): Don't build
	gantt-widget.[ch], they are gone.

	* components/gantt/gantt-model.c: Remove includes that are not needed.

	* widgets/mr-paned/mr-hpaned.c (mr_hpaned_new): Use gtk_type_new.

	* shell/Makefile.am (mrproject_LDADD): Link with util lib, remove
	the gantt widget lib, add paned lib. How did this ever work?!

	* idl/GNOME_MrProject_AllocationManager.idl: Brainstorm some more.

	* project-server/task-model.c (task_model_data_equals): Remove.

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

	* idl/GNOME_MrProject_AllocationManager.idl: 
	Added, currently not used other then brainstorming for an interface 
	for allocation of resource.

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

	* util/corba-utils.c (GNOME_MrProject_Task_update): Don't barf if
	parentId differs, we need to be able to change the parent (when
	reparenting).

	* project-server/task-model.c (task_model_class_init): GTK_RUN_FIRST
	instead of GTK_NO_RECURSE, we solve things with the signal idle queue
	instead.
	(task_model_set_CORBA_struct): Use GNOME_MrProject_Task_update here.

	* idl/GNOME_MrProject.idl: Remove duration from EventTaskTimeChanged.

	* project-server/task-model.c (task_model_set_arg): Enqueue the change
	instead of emitting right away. Get rids of some unneccessary events over
	CORBA.

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

	* components/gantt/gantt-model.c (gantt_model_value_at): Return a time_t.
	(gantt_model_set_value_at): Take a time_t for the start/finish columns.

	* components/gantt/gantt-model.c (gantt_model_set_value_at): Use
	CORBA struct.

	* components/gantt/gantt-component.c (task_updated): Use
	GNOME_MrProject_Task_update and only emit changed if we actually
	changed. 

	* components/gantt/gantt-row-item.c (gantt_row_item_bounds_item_coordinates):
	Use CORBA struct.
	(gantt_row_item_draw): Ditto.

	* components/gantt/gantt-model.h: Use the corba struct to keep
	task data instead of cooking up our own.

	* components/gantt/gantt-model.c (gantt_model_class_init): 
	Remove signals.

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

	* shell/project-app.c (properties_cb): ProjectTime -> Time.

	* idl/GNOME_MrProject.idl: Change fixed consts into an enum.

	* project-server/project-xml.c (xml_read_task): ProjectTime -> Time.

	* project-server/project.c (get_prop): ProjectTime -> Time.

	* idl/GNOME_MrProject.idl: Changed ProjectTime to Time and removed
	ProjectTimeSpan type.

	* util/project-time.c (project_time_set_corba_time): ProjectTime -> Time.

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

	* util/corba-utils.c (GNOME_MrProject_Resource_update): group -> gint.

	* project-server/resource-manager.h: 
	- Changed the def. of ResourceManagerForeachFunc.
	(resource_manager_foreach_group): Added.

	* project-server/resource-manager.c:
	- Added support for read/write resource groups.
	- Added struct ForeachData.
	(foreach_group_save): Added/Implemented
	(resource_manager_foreach_group): Added/Implemented

	(impl_GNOME_MrProject_ResourceManager_createResource): 	
	- Changed group to gint.
	

	* project-server/project-xml.c 
	- Added support for read/write resource groups.
	(xml_read_group): Added/Implemented
	(write_resourcegroup): Added/Implemented

	* idl/GNOME_MrProject.idl: group -> ResourceGroupId in Resource-struct

	* components/resource/resource-table-model.[ch]: 
	- Added groups to private
	(resource_tm_value_at): Changed group to gint 
	(resource_tm_set_value_at): dito
	(resource_tm_add_group): Added/Impelemted
	(resource_tm_update_group): Added/Impelemted
	(resource_tm_remove_group): Added/Impelemted

	* components/resource/resource-table-info.h: Changed group to combo

	* components/resource/resource-component.c 
	(resource_group_inserted): Added/Implemented
	(resource_group_updated): Added/Implemented
	(resource_group_removed): Added/Implemented
	(resource_moved): Removed
	(listener_callback): Added and removed above functions.
	(resource_component_set_shell): Added and removed above events.
	(resource_inserted): Moved duplication to resource_tm_add_resouce
	(resource_updated): Removed block/unblock of handler

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

	* components/Makefile.am (SUBDIRS): Remove accidentally added
	dir gantt2.

	* widgets/Makefile.am (SUBDIRS): Don't build the gantt dir.

	* configure.in (set_more_warnings): Remove widgets/gantt.

	* components/gantt/gantt-component.c: Get rid of gantt widget and
	use gantt chart directly here. Add spec and state for etable.
	(get_selected_id): New function to get selected id.
	(get_button_height): New function to get the height to use for the
	etable header.
	(create_table_extras): Create extras for the etable.
	(paned_realize): Set the right proportions for the paned widget.
	(gantt_component_control_new): Create a paned and put the etable
	and gantt chart in.

	* components/gantt/Makefile.am: Build the gantt widget library here.
	(libmrproject_gantt_component_la_LIBADD): Link to it here.

	* widgets/gantt/gantt-chart.h: Put data in the object struct.

	* widgets/gantt/gantt-chart.c: Move things from the private struct to
	keep things a bit more simple and clean. Changes all over the place to
	adapt to this brand new scheme.

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

	* util/corba-utils.c 
	- some style-changes
	(GNOME_MrProject_Resource_copy): Made nonstatic

	* util/corba-utils.[ch]
	(GNOME_MrProject_ResourceGroup_duplicate): Added
	(GNOME_MrProject_ResourceGroup_copy): Added
	(GNOME_MrProject_ResourceGroup_update): Added

	* project-server/resource-manager.c 
	- Added priv-members for group management
	(get_unique_gid): Added
	(impl_GNOME_MrProject_ResourceManager_createResource): 
	- Added support for default group.
	(impl_GNOME_MrProject_ResourceManager_getResources): Added
	(impl_GNOME_MrProject_ResourceManager_createGroup): Implemented
	(impl_GNOME_MrProject_ResourceManager_insertGroup): Implemented
	(impl_GNOME_MrProject_ResourceManager_getGroup): Added
	(impl_GNOME_MrProject_ResourceManager_getGroups): Added
	(impl_GNOME_MrProject_ResourceManager_updateGroup): Implemented
	(impl_GNOME_MrProject_ResourceManager_removeGroup): Implemented
	(impl_GNOME_MrProject_ResourceManager_getDefaultGroup): Implemented
	(impl_GNOME_MrProject_ResourceManager_setDefaultGroup): Implemented
	(resource_manager_init): Aded group management support 
	(resource_manager_class_init): 
	- Added 
	  * getResources
	  * getGroup
	  * getGroups
	  * getDefaultGroup

	* idl/GNOME_MrProject.idl: 
	- Added get-/setDefaultGropu
	- Added getGroup(id) and getGroups()
	- Removed EventResourceMoved
	- Added EventResoureGroupRemoved
	
	* debian/changelog: updated build to 0.1-2

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

	* idl/GNOME_MrProject.idl: 
	- Added functions for resourcegroup management
	- Added 
	  * ResourceGroup
	  * ResourceGroupId
	  * ResourceGroupSeq
	  * ResourceGroupIdSeq
	- Added some non-think-throw :) functions for allocation of resources.
	- Added NoSuchGroup-exception

	* project-server/resource-manager.h: 
	(resource_manager_insert): Removed
	(resource_manager_remove): Removed
	(resource_manager_get_position): Removed
	
	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_createGroup): Added
	(impl_GNOME_MrProject_ResourceManager_insertGroup): Added
	(impl_GNOME_MrProject_ResourceManager_setDefaultGroup): Added
	(impl_GNOME_MrProject_ResourceManager_updateGroup): Added
	(impl_GNOME_MrProject_ResourceManager_removeGroup): Added
	(resource_manager_class_init): Added groupmanagement functions
	(resource_manager_get_position): Removed
	
2001-03-18  Richard Hult  <rhult@codefactory.se>

	* project-server/task-manager.c
	(impl_GNOME_MrProject_TaskManager_getTasks): s/g_free/g_list_free/

	* util/corba-utils.c (GNOME_MrProject_Task_update): Impl.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_updateTask):
	Check for task id 0, and raise NoSuchTask.

	* components/gantt/gantt-component.c (insert_task_cmd): Use createTask.

	* project-server/task-manager.c (task_manager_class_init): Add
	createTask.
	(impl_GNOME_MrProject_TaskManager_createTask): Impl.

	* idl/GNOME_MrProject.idl: Change getAllTasks to getTasks.
	Add createTask.

	* project-server/task-manager.c (task_manager_class_init): Change
	getAllTasks to getTasks.

	* README: Remove trailing slash.

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

	* project-server/resource-manager.h 
	- Removed resource_manager_get_by_id. use g_hash_table_lookup directly
	  instead.

	* project-server/resource-manager.c 
	- Removed resource_manager_get_by_id. use g_hash_table_lookup directly
	  instead.
	(impl_GNOME_MrProject_ResourceManager_updateResource): 
	- Updates using GNOME_MrProject_Resource_update.
	- looks up a resource in the hash instead.

	* components/resource/resource-table-model.c 
	(resource_tm_value_at): changed warning to include row-number
	(resource_tm_add_resource): call e_table_model_row_inserted with
	priv->nr_of_rows - 1 instead of priv->nr_of_rows. (else insertion
	will fail if sorting by column is selected).

	* components/resource/resource-component.c 
	(insert_resource_cmd): Removed allocation of resource and calles
	createTask on ResourceManager instead.

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_createResource): Added
	(resource_manager_class_init): Added createResource

	* idl/GNOME_MrProject.idl: added createTask to ResourceManager

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

	* project-server/main.c: Make write_ior non-static to make it
	accessible from other files.

	* project-server/project.c (project_new): Small hack to write the
	Project IOR to a temp file.

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

	* project-server/main.c (main): Fix style.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_getAllTasks): Impl.

	* util/corba-utils.c (GNOME_MrProject_Task_copy): Comment out.
	(GNOME_MrProject_Task_copy): Make non-static.

	* idl/GNOME_MrProject.idl: Comment out unsed members from the Task
	struct for now.

	* components/task-editor/task-property-dialog.c
	(task_property_dialog_get_task): Comment out unused stuff.

2001-03-17  Mikael Hallendal  <micke@hallendal.net>

	* util/corba-utils.[ch] (GNOME_MrProject_Resource_update): Added

	* components/resource/resource-table-model.c 
	- Changed from GSList to GArray to store the tablerows.
	(resource_tm_class_init): Removed outcommented functionsettings.
	(resource_tm_row_count): Use private nr_of_rows instead of listlength
	(resource_tm_set_value_at): Dito
	- Fixed a couple of memleaks.
	(resource_tm_new): Don't set model->priv->resources to NULL :)

	(resource_tm_get_row): changed name from get_row
	
2001-03-17  Mikael Hallendal  <micke@codefactory.se>

	* project-server/resource-model.h: Readded
	* project-server/resource-model.c: Readded

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

	* NEWS: Added info about Release 0.1

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

	* run-mrproject.in: Set the PATH too.

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

        * debian/menu: added

	* components/resource/resource-table-model.c 
	(resource_tm_add_resource): 
	- Fixed bug that caused a crash in e-table on insert with sorting 
	  enabled.

	* project-server/resource-manager.c: 
	- Added Richard Hult to copyright
	(impl_GNOME_MrProject_ResourceManager_removeResource): 
	- Fixed serious bug, thanks Richard

        * debian/*
	Fixed with building scripts
	
	* components/resource/resource-table-model.c 
	(get_row): Made static from resource_tm_get_row
	(resource_tm_remove_resource): Changed name from 
	resource_tm_remove_row.

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

	* shell/Makefile.am (mrproject_SOURCES): Add missing h-file.
	(mrproject_SOURCES): Remove project.[ch].

	* mrproject.spec.in: Up reqs in the spec-file.

	* components/task-editor/task-properties.c (task_properties_set_sensitive):
	Make the milestone checkbox insensitive for M1.

	* project-server/task-manager.c (impl_GNOME_MrProject_TaskManager_getAllTasks):
	Fill in a bit more of the impl bits.
	(impl_GNOME_MrProject_TaskManager_getAllTasks): Fix build.

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

	*  (debian): Added directory and files building debian package for 
	             MrProject

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

	* README: Update reqs here as well.

	* idl/GNOME_MrProject.idl: Add method to get all tasks.

	* project-server/task-manager.c (impl_GNOME_MrProject_TaskManager_getAllTasks):
	Empty impl.

	* configure.in: Up reqs a bit, gal 0.5.99.5, oaf 0.6.3, bonobo 0.37.
	(VERSION): Set version to 0.1.

	* widgets/gantt/gantt-widget.c (e_table_double_click): Prepare for double
	click -> bring up task editor.
	(gantt_widget_construct): Connect to double click signal.

	* widgets/gantt/m-cell-date.c (m_cell_date_double_click): Select date and
	close popup on double click.
	(m_cell_date_init): Connect to double click signal.

	* components/task-editor/task-editor.c (task_removed): Callback for shell
	event.
	(task_updated): Ditto.
	(impl_GNOME_MrProject_TaskEditor_setShell): Connect to the event source in 
	the shell.
	(impl_GNOME_MrProject_TaskEditor_setTaskId): Block updates so we don't get
	looping.
	(changed_callback): Check for looping.
	(task_removed): Destroy the dialog when the task goes away.
	(impl_GNOME_MrProject_TaskEditor_setShell): Only listen to updated/removed events.

	* widgets/gantt/gantt-model.c (gantt_model_set_value_at): Make setting the
	start time move the task, and setting the finish time change the duration.

	* widgets/gantt/gantt-widget.c (gantt_widget_create_extras): Change the name
	of the date cell to "date_popup".
	(INITIAL_SPEC): Hide the duration column and show finish for now.

	* widgets/gantt/m-cell-date.c (m_cell_date_set_calendar_date): New function
	that hightlights the right date in the popup calendar.
	(m_cell_date_do_popup): Use it here.

	* widgets/gantt/gantt-model.c (gantt_model_set_value_at): Make sure the task
	is not getting too short to be shown.

	* widgets/gantt/gantt-widget.c (INITIAL_SPEC): Change to use spreadsheet mode.

	* project-server/task-model.c (task_model_destroy): Remove debugging
	output.

	* project-server/project.c (set_prop): Impl setting first/last time.
	(project_init): Change the initial time span to start on march :).

	* shell/shell.c (shell_set_range): Hack for M1, remove and fix later.

	* shell/project-app.c: Remove commented code.
	(get_project_range): Hack to get the project range from the server. Fix this
	after M1.

	* project-server/project.c (project_init): Remove FIXME that was already fixed.

	* shell/project-app.c (project_app_new): Sort the components before activating.
	This puts the gantt chart on top.
	(add_shell_listener): Add listener with mask so we don't get task updates.

	* project-server/task-manager.c (task_destroyed): Actually remove children
	when deleting a task.
	(impl_GNOME_MrProject_TaskManager_reparentTask): Remove debug output.
	(dump_tree): Debug function that dumps the task tree.

	* widgets/gantt/m-cell-date.c (m_cell_date_update_cell): Update the cell.
	
	* components/gantt/gantt-component.c (insert_task_cmd): Put the new task
	at 08:00.

	* widgets/gantt/gantt-widget.c (gantt_widget_create_extras): Use the
	filter cell to filter the date cells.
	(INITIAL_SPEC): Add duration column and don't show the finish date.

	* widgets/gantt/m-cell-filter.[ch]: New generic filtering text cell.

	* widgets/gantt/gantt-model.c (gantt_model_filter_date): Change the date format to
	"2 Jan".
	(gantt_model_filter_duration): New function that filters a duration.

	* widgets/gantt/m-cell-date.h: Inherit ECellPopup.

	* widgets/gantt/m-cell-date.c: Inherit ECellPopup instead of ECellText.
	Make it popup a calendar when clicked.

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

	* components/resource/resource-table-info.h: 
	- Switched places on Type and Group
	- Fixed with column widths.

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

	* project-server/task-model.c: 
	- Include gnome-i18n.h and that darn gnome-defs.h
	- Added N_() around task_model_type_names

	* project-server/resource-manager.h: Removed ResourceType

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_getResourcePosition): Added

	* project-server/project-xml.c 
	- Include idl/GNOME_MrProject.h
	(xml_read_resource): 
	Changed ResourceType -> GNOME_MrProject_ResourceType

	* idl/GNOME_MrProject.idl: 
	- Added ResourceType-consts
	- Removed ResourceType-enum

	* components/resource/resource-table-model.h: 
	- Removed ResourceTableRow

	* components/resource/resource-table-model.c: 
	- Include gnome-i18n.h and that darn gnome-defs.h
	- Removed some commented out function
	- Added static array for ResourceType->strings
	(resource_tm_value_at): resourcetype->string lookup
	(resource_tm_set_value_at): string->resourcetype lookup
	(get_type_value): Added
	(resource_tm_get_type_strings): Added

	* components/resource/resource-table-info.h: 
	- Changed Type cell to combo

	* components/resource/resource-component.c: 
	- Include all types of e-table-cells
	- Changed the ResourceType into GNOME_MrProject_RecoureType
	(create_table): 
	- Created dropdown cell for ResourceTypes
	- Use resource_tm_get_type_strings instead.

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

	* components/task-editor/task-editor.c (task_editor_control_new): Remove
	property bag.
	(dialog_destroy_cb): Unref the control when the dialog is destroyed.
	(task_editor_control_new): Connect to the destroy signal.

	* components/task-editor/task-property-dialog.c (dialog_destroy_cb): 
	(close_button_cb): 
	(property_dialog_new): Close the dialog.

	* project-server/main.c (main): Add oaf options so that oaf can activate us.

	* widgets/gantt/gantt-header-item.c (gantt_header_item_point): Never hit the
	header.
	(gantt_header_item_bounds_item_coordinates): Pad a bit on the bounds.
	(gantt_header_item_bounds_canvas_coordinates): Likewise.
	(gantt_header_item_draw): Simplify by removing the affines, in order to find a
	redrawing bug. Oh, and also fix the bug :)

	* project-server/task-model.c (task_model_set_arg): Comment out debug message.
	(task_model_destroy): Remove debugging output.

	* widgets/gantt/gantt-header-item.c (gantt_header_item_update): Remove variables
	that are not used.

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

	* project-server/resource-manager.c: 
	(impl_GNOME_MrProject_ResourceManager_getResource): 
	- Raise NoSuchResource-exception
	(impl_GNOME_MrProject_ResourceManager_updateResource): 
	- Raise NoSuchResource-exception
	(impl_GNOME_MrProject_ResourceManager_removeResource): 
	- Raise NoSuchResource-exception

	* project-server/main.c: 
	- Added support for popt-parsing
	- Added --write-ior to arguments for IOR-writing support

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

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_getTask): Don't allow task 0 to be 
	exposed through the CORBA interface, since it's the internal root task.
	Spotted by Zilch.

	* components/task-editor/task-editor.c 
	(changed_callback): Propagate changes to the server.

	* components/task-editor/task-property-dialog.c: 
	Fix indentation, make changes to the name entry and date fields 
	propagate to the server directly. Put in a kind of ugly hack for now. 
	We need to turn the dialog into an object an add a signal for this 
	later.

	* project-server/main.c (main): Patch from Johan Dahlin: write IOR to 
	a file.

	* components/task-editor/task-property-dialog.c 
	(property_dialog_new): Make the dialog have just a close button.

	* widgets/gantt/gantt-model.c 
	(substitute_for_e_tree_model_node_traverse_that_does_pre_order): 
	New function, guess what it does?
	(gantt_model_reparent_row): Use it here to fix bug 45.

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_updateTask): Remove debug message.

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

	* project-server/task-manager.c 
	(impl_GNOME_MrProject_TaskManager_updateTask): Raise NoSuchTask
	(impl_GNOME_MrProject_TaskManager_reparentTask): Raise NoSuchTask
	and NoSuchParent
	(impl_GNOME_MrProject_TaskManager_setTaskPosition): Raise NoSuchTask 
	and NoSuchParent
	(impl_GNOME_MrProject_TaskManager_getTask): Raise NoSuchTask

	* components/resource/resource-component.c 
	(resource_component_set_shell): style change

	* idl/GNOME_MrProject.idl: Added meself to copyright

	* components/resource/resource-table-model.c 
	(resource_tm_value_at): Just print two decimals in stdrate/ovtrate.

	* components/resource/resource-component.c 
	(resource_updated_cb): Moved free of temp resource to emitter.

	* components/resource/resource-table-model.c 
	(resource_tm_update_resource): 
	- Calls e_table_model_row_changed instead of e_table_model_changed.
	(resource_tm_set_value_at): free the resource, moved from callback.
	
	* components/resource/resource-component.c (create_table): Added

	Removed resource-table, now using ETableScrolled directly instead.
	* components/resource/resource-component.[ch]
	* components/resource/Makefile.am 
	* components/resource/resource-table-model.[ch]
	
2001-03-13  Richard Hult  <rhult@codefactory.se>

	* project-server/main.c (main): Print out IOR when MRPROJECT_IOR is set.

	* components/task-editor/task-property-dialog.c: Remove old cruft.

	* project-server/resource-manager.c (impl_GNOME_MrProject_ResourceManager_updateResource): 
	Initialize variable to kill off warning.

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

	* components/resource/resource-component.c: 
	- block/unblock, don't know if it makes any difference.

	* project-server/project-xml.h: Include resource-manager.h

	* project-server/resource-model.[ch]: Removed

	* project-server/resource-manager.h: 
	- Added ResourceTyp from resource-model.h
	- Rewrote using GNOME_MrProject_Resource instead of ResourceModel.

	* project-server/resource-manager.c: 
	- Removed gtk-signals.
	- Rewrote to not use ResourceModel but GNOME_MrProject_Resource 
	  directly instead. Changes made all over the file.

	* project-server/Makefile.am (mrproject_server_SOURCES): 
	- Removed resource-model.[ch]

	* components/resource/resource-component.c: Removed resource-model.h 
	from includes.

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

	* project-server/project.c (impl_GNOME_MrProject_Project_save): Remove a
	newline in a warning.

	* idl/GNOME_MrProject_TaskEditor.idl: Add setTaskId and setShell methods.

	* components/task-editor/task-editor.c: Impl the TaskEditor interface.

	* components/task-editor/task-properties.c: Changed most get/set functions to
	use the struct instead of array.

	* components/task-editor/task-property-dialog.c: Changed to use a struct instead
	of array, changed almost all the set/get to use the struct. 
	(create_standard_properties): Don't connect to the predecessor or color signals.
	(create_custom_properties): Remove a set_usize.
	Change paddings everywhere to be more consistant.
	Indent.

	* project-server/project-xml.c (xml_parse_ctx_new): Ref the resource
	manager, or we are screwed later.

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

	Added support for save/load resource-data. Currently breaks 
	loading/saving.
	
	* project-server/resource-manager.c
	(resource_manager_foreach_resource): Addded
	* project-server/project.c: 

	* project-server/project-xml.c (xml_parse_ctx_new): Added 
	resource_manager to arguments

	* project-server/project-xml.c (xml_read_project): Loades resources

	* project-server/project-xml.c (xml_read_resource): Added

	* project-server/project-xml.c (write_resource): Added
	
2001-03-12  Mikael Hallendal  <micke@codefactory.se>

	* project-server/resource-model.c 
	(resource_model_set_CORBA_struct): Implemented

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_updateResource): Implemnted

	* components/resource/resource-table.[ch]
	(resource_table_new): Use an ETableExtras to be able to use
	comparefunction for integer.
	(resource_table_update_resource): Added

	* components/resource/resource-table-model.[ch]: 
	- Changed signalname from ROW_CHANGED to RESOURCE_CHANGED.
	(resource_tm_set_value_at): Implemented
	(resource_tm_update_row): Added

	(resource_tm_is_cell_editable): Returns false if col is RT_COL_ID.

	* components/resource/resource-table-info.h: 
	- ID-field uses integer-compare.

	* components/resource/resource-component.c 
	Removed some puts (__FUNCTION__) as the functions where now implemted
	and ?tested?
	
	(resource_updated): Implemented
	(resource_updated_cb): Added
	(resource_component_control_new): connected to resource_changed-signal 
	from ResourceTableModel

	* components/resource/resource-table-model.c 

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

	* idl/GNOME_MrProject.idl: Remove dead definition.
	
	* components/task-editor/task-properties.c (task_property_predecessor_value_in_list): Fix
	warning.

	* components/gantt/gantt-component.c (gantt_component_set_shell): Add listener
	with mask.

	* components/resource/resource-component.c (resource_component_set_shell): Add
	listener with mask so we don't get task events.

	* idl/Makefile.am: Fix the build, now that the TaskEditor idl is included.

	* idl/GNOME_MrProject.idl: Include the TaskEditor idl.

	* idl/GNOME_MrProject_TaskEditor.idl: Add some methods, add include guards,
	include GNOME_MrProject.h.

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

	* components/gantt/gantt-component.c (gantt_control_activate): Changed some
	of the pixmaps.

	* components/resource/resource-component.c (set_pixmap): Set a pixmap on the ui.
	(resource_control_activate): Add pixmaps for add/delete.

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

	* components/resource/resource-table.[ch]: 
	- Now inherrits ETableScrolled instead of ETable.

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

	* util/corba-utils.c (GNOME_MrProject_Resource_copy): 
	- Had forgot to copy the units.

	* project-server/resource-manager.h:
	- Includes idl/GNOME_MrProject.h

	* project-server/resource-manager.c: 
	(resource_model_changed_cb): Commented out. GtkSignals will be 
	removed now when using bonobo.
	(impl_GNOME_MrProject_ResourceManager_insertResource): Commented out a 
	signal connect.
	(impl_GNOME_MrProject_ResourceManager_removeResource): 
	- Now checking if the resource exists before sending the signal to
	  all listeners.

	* components/resource/resource-table.[ch]
	(resource_table_get_selected_id): Added
	(resource_table_remove_resource): Added
	(resource_table_add_resource): Added

	* components/resource/resource-table-model.[ch] 
	(resource_tm_value_at): 
	- Copying the strings using CORBA_string_dup
	(resource_tm_get_row): Added
	(resource_tm_add_row): Now takes a GNOME_MrProject_Resource
	(resource_tm_remove_row): Added
	(resource_tm_get_resource_on_row): Added

	* components/resource/resource-component.c: 
	- Include idl/GNOME_MrProject.h, util/corba-utils.h
	- Changed name from resource_widget to table in Priv.
	(insert_resource_cmd): Now uses get_resource_manager
	(remove_resource_cmd): Implemented
	(resource_inserted): Implemented
	(resource_removed): Implemented
	(get_resource_manager):
	- Created to do the bonobothings to get a ref. to resource_manager
	
	* components/resource/Makefile.am 
	(libmrproject_resource_component_la_LIBADD): 
	- Added libmrproject-corba-util.la

	* components/resource/resource-component.c 

	* HACKING: Added information about glade/libglade

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_insertResource): 
	- Fixed a bug that caused resource-manager to crash on insert.

	* components/resource/resource-component.c (insert_resource_cmd): 
	- Started to implement
	
2001-03-08  Mikael Hallendal  <micke@codefactory.se>

	* components/resource/resource-component.c 
	- Added some comments, started to implement callbacks.
	
	(resource_component_control_new): Added component as data to activate
	signal

	* components/resource/resource-table.c (resource_table_init): 
	- Moved things into init-function from new-function.

	* components/resource/resource-table-model.c: 
	- Commented out append_row and duplicate_value
	- Changed a couple of c++-comments to c-comments
	- Fixed an anoying bug when inserting rows.

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

	* run-mrproject.in: Check if the prefix is NONE (which appearently
	happens).

	* components/gantt/gantt-component.c (gantt_component_unset_shell): Set
	listener id to 0 when not connected.

	* components/resource/resource-component.c (resource_component_factory):
	Create a component here.
	(resource_component_control_new): Make static.
	(resource_component_new): Remove.
	(resource_component_unset_shell): Set listener id to 0 when not connected.

	* components/gantt/gantt-component.c (gantt_component_factory): Use OAFIID
	macro.

	* components/resource/resource-component.c (resource_component_init): Don't
	init listener id to -1.
	(resource_component_factory): Use the OAFIID macro.

	* components/gantt/gantt-component.c (gantt_component_init): Don't init
	listener id to -1, since 0 means not set.

	* shell/project-app.c (project_app_new): Create a component and then try
	to create a view.

	* idl/GNOME_MrProject.idl: New method ShellComponent->createView.

	* components/gantt/gantt-component.c (gantt_component_create_view): Impl.
	(gantt_component_init): Move init stuff from _new to _init.
	(gantt_component_control_new): Create the gantt widget here.
	(gantt_component_factory): Only create a gantt component here.

	* components/shell-component/shell-component.c (impl_GNOME_MrProject_ShellComponent_createView): 
	Impl.

	* components/shell-component/shell-component.h: Add method create_view.

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

	* project-server/resource-manager.c 
	(impl_GNOME_MrProject_ResourceManager_insertResource): Style fix

	* components/resource/resource-table-model.c (resource_tm_value_at): 
	- A fix for checking if the node exists before trying to get the 
	  data from it.

	* components/Makefile.am (SUBDIRS): 
	- Added resource since it doesn't segfault now.

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

	* idl/GNOME_MrProject.idl (GNOME): 
	- Added getResources to interface ResourceManager

	* components/resource/resource-table.c: 
	- Added ResourceTablePriv
	(resource_table_get_model): Added

	* components/resource/resource-component.c 
	(listener_callback): Added
	(resource_inserted): Added
	(resource_removed): Added
	(resource_updated): Added
	(resource_moved): Added
	(resource_component_set_shell): Added
	(resource_component_unset_shell): Added
	(resource_component_control_new): 
	- Started to implement more than skeleton

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

	* components/shell-component/shell-component.c (impl_GNOME_MrProject_ShellComponent_createControl):
	Impl.

	* components/gantt/GNOME_MrProject_GanttComponent.oaf.in: Namespace the attributes.

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

	* components/gantt/gantt-component.c (gantt_component_set_shell): Clean up error
	handling.

	* project-server/project-factory.c: Remove dead code.

	* project-server/project.c: Remove old unused code.

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

	* components/gantt/task-properties.c (task_property_predecessor_value_in_list): 
	a cast from void * to char * in strcmp

	* util/corba-utils.[ch]: 
	(GNOME_MrProject_Resource_copy): Added
	(GNOME_MrProject_Resource_duplicate): Added

	* project-server/task-manager.c: 
	- Moved signal-enum to be just before signals-array 
	  (to keep them together).

	* project-server/resource-model.[ch]: 
	- Include idl/GNOME_MrProject.h
	- Include util/corba-utils.h
	- Moved data from ResourceModelPriv to Resource-struct in idl.
	- Changed the signal from "model-changed" to "changed"
	- A lot of CORBA-stuff
	(resource_model_get_CORBA_struct): Added
	(resource_model_set_CORBA_struct): Added

	* project-server/resource-manager.h: 
	- position is now a long instead of an int

	* project-server/resource-manager.c: 
	- Include util/corba-util.h
	- Inherits BonoboXOjbect instead of GtkObject
	- Changed the signal name from model_changed to changed

	(resource_manager_insert): position from int to long
	(resource_model_changed_cb): Added
	(impl_GNOME_MrProject_ResourceManager_insertResource): Added
	(impl_GNOME_MrProject_ResourceManager_getResource): Added
	(impl_GNOME_MrProject_ResourceManager_updateResource): Added
	(impl_GNOME_MrProject_ResourceManager_removeResource): Added
	(impl_GNOME_MrProject_ResourceManager_setResourcePosition): Added
	(resource_manager_class_init): set ResourceManager-functions

	* project-server/project.c: 
	- include resource-manager.h
	- Add a resource_manager pointer

	(project_init): 
	- Create a new ResourceManager
	- Add ResourceManager interface to project.

	* project-server/Makefile.am (mrproject_server_SOURCES): 
	- Added resource-manager.[ch], added resource-model.[ch]

	* idl/GNOME_MrProject.idl: 
	- Moves resource management to own interface. 
	- Added a few functions to ResourceManager interface
	- Changed arguments to some of the ResourceManager functions.
	- Added events for Resource (Removed and Moved)

	* components/resource/resource-table.c: 
	- Changed testinserts because of new type for data Resource->type

	* components/resource/resource-table-model.[ch]: 
	- Added new data to ResourceTableRow and 

	* components/resource/resource-table-info.h: 
	- Added columns to match new data in Resource

	* components/resource/resource-component.c: 
	- Smaller style changes
	

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

	* project-server/task-manager.c (impl_GNOME_MrProject_TaskManager_removeTask): 
	Check if the task is there before signaling listeners, and raise exception
	if not. Caught by Eagle Eye Hallski.

	* components/gantt/task-property-dialog.c: Write a few dummies to make
	it compile, fix up the style in some places.

	* util/Makefile.am (libmrproject_corba_util_la_SOURCES): Use CVS magic
	to rename corba-util.[ch] to corba-utils.[ch] for more consistency.

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

	* widgets/gantt/Makefile.am: Don't build testgant.
	(libmrproject_gantt_la_LIBADD): Remove the time-lib.

	* util/corba-util.[ch]: Fix the copyright. 

	* util/type-utils.h: Remove old cruft for string properties.
	(ASSERT_STRUCT_SIZE): Add a macro for checking the size of a struct.

	* util/corba-util.c (GNOME_MrProject_Task_copy): Remove commented code.

	* project-server/task-manager.c (task_manager_set_arg): Change to time_t.

	* project-server/task-manager.h: Remove unneccessary include.

	* project-server/task-manager.c (task_manager_class_init): PARENT_TYPE.
	(task_manager_init): time_t.

	* components/gantt/gantt-component.c (unindent_task_cmd): Don't set the
	position after reparenting (since it does not work :/).

2001-03-05  Mikael Hallendal  <micke@codefactory.se>
	* idl/GNOME_MrProject.idl (GNOME): 
	- Added functions to the resourcemanager-interface
	- Added stdrate and ovtrate to the Resource struct.

	* web/roadmap.xml: 
	- corrected a typo.
	
	* project-server/task-manager.c: 
	- Style changes.

	* project-server/resource.*:
	- Started bonobizing

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

	* project-server/project.c (project_new): time_t.
	(get_prop): time_t.

	* shell/project-app.c (properties_cb): Adapt to time_t.

	* project-server/project.c: Use time_t.
	(project_init): Initilize first/last time.

	* util/project-time.c (project_time_set_corba_time): Adjust to the
	new time IDL type.

	* util/Makefile.am (noinst_LTLIBRARIES): Add corba-util lib.

	* shell/shell.c: Remove project-model include (which should never
	have been there in the first place).

	* shell/project-app.c: Why did this file include project-model?
	Remove remove remove.

	* project-server/task-model.c: Moved here from project/. Remove the
	private data and use a GNOME_MrProject_Task struct instead. Change
	the name of the model-changed signal to "changed".
	(change_idle_cb): New function to emit the changed signal in an idle.
	(enqueue_change): New function for requesting that the changed signal is
	emitted.
	(task_model_set_arg): Use time_t. Use the changed idle function to make
	sure we don't update things when not needed. Use the CORBA struct to keep
	data.
	(task_model_get_arg): Add sanity checks. Use the CORBA struct.
	(task_model_class_init): Make the time arguments be longs instead of pointers.
	(task_model_init): Initialize the CORBA struct.
	(task_model_new): Add GNOME_MrProject_Task * argument.
	(task_model_set_start_finish): Remove, not used.
	(task_model_get_start_finish): Remove.
	(task_model_set_name): Remove.
	(task_model_get_CORBA_struct): New function to get a copy of the CORBA struct.
	(task_model_set_CORBA_struct): New function to set the above.
	
	* project-server/task-manager.h: Move to BonoboXObject.

	* project-server/task-manager.c: Include bonobo.h and corba-util.h.
	Turn into a BonoboXObject.
	(task_model_changed_cb): Moved from project.c. Query for the event source
	and notify the listeners.
	(impl_GNOME_MrProject_TaskManager_insertTask): Move here from project.c, and
	simplify.
	(impl_GNOME_MrProject_TaskManager_updateTask): Ditto.
	(impl_GNOME_MrProject_TaskManager_removeTask): Ditto.
	(impl_GNOME_MrProject_TaskManager_reparentTask): Ditto.
	(impl_GNOME_MrProject_TaskManager_setTaskPosition): Ditto.
	(task_manager_class_init): Add the methods to the epv.
	(task_manager_insert): Change the signal to "changed".
	(task_manager_bubble_times): Use time_t.

	* project-server/project.c: Remove project-model stuff.
	Move variables from project-model to the private struct.
	(impl_GNOME_MrProject_Project_read): Fix up the coding style and use
	TaskManager instead of ProjectModel.
	(impl_GNOME_MrProject_Project_insertTask): Remove.
	(impl_GNOME_MrProject_Project_updateTask): Remove.
	(impl_GNOME_MrProject_Project_removeTask): Remove.
	(impl_GNOME_MrProject_Project_reparentTask): Remove.
	(impl_GNOME_MrProject_Project_setTaskPosition): Remove.
	(task_model_changed_cb): Remove.
	(project_class_init): Remove the methods from the epv.
	(set_prop): Change to use the private data instead of the project model.
	(get_prop): Use private data, simplify and use time_t.
	(split_uri): Remove.

	* project-server/project-xml.c: Remove every reference to project-model.
	Use task-manager instead, and use time_t.
	(write_task): The id is an int, not long!
	(xml_write_project): Id is int.
	(xml_read_task): Ditto.
	(xml_read_task): Use the TaskManager corba interface to add the task.
	(xml_write_project): Remove test tag.
	(xml_read_project): Fix a few C++ comments.

	* project-server/main.c (main): Make warnings stop in the debugger.

	* project-server/Makefile.am (mrproject_server_SOURCES): Add the
	task-model, task-manager, and project-xml files.
	(mrproject_server_LDADD): Add corba-util lib. Remove project-model lib.

	* idl/GNOME_MrProject.idl: Move task management to its own interface,
	and the same for resources. Make ProjectTime be a long (for time_t).
	Change the task parameters from inout to in.

	* components/shell-component/shell-component.c: Don't include gnome.h

	* components/gantt/gantt-component.c (listener_callback): Times are now
	in time_t.
	(indent_task_cmd): Query for TaskManager interface and use it instead of
	the Project interface.
	(unindent_task_cmd): Ditto.
	(remove_task_cmd): Ditto.
	(insert_task_cmd): Ditto + use time_t.
	(task_up_cmd): Ditto.
	(task_down_cmd): Ditto.
	(task_updated): Use time_t for times.
	(task_inserted): Use time_t.
	(tree_model_node_changed): Same.

	* components/Makefile.am: Comment out resource for now.

	* configure.in: Remove project dir.

	* Makefile.am (SUBDIRS): Remove project dir.

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

	* project/task-model.h: 
	- Included only the needed gtk-hfiles instead of gtk/gtk.h
	- Style changes
	- Commented out the get-/set-functions.

	* project/task-model.c: 
	- Removed include of gtk/gtk.h
	- Fixed the argument-functions to replace the get-/set-functions.
	- Commented out the get-/set-functions.
	- Style changes

	* project/task-manager.[ch]: 
	- Removed include of gtk/gtk.h
	- Style changes

	* project/resource-model.c (resource_model_set_arg): 
	- removed changed = FALSE in the string-cases.

	* widgets/mr-paned/Makefile.am (INCLUDES): 
	- fixed a typo

	* project-server/project.c: 
	- removed include of gtk/gtk.h 
	- and made changes for removing get/set functions in 
	  project/task-model.[ch]

	* project-server/project.h:
	- Style changes
	- Included only the needed gtk-hfiles instead of gtk/gtk.h

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

	* widgets/gantt/gantt-item.c (gantt_item_print_gantt_row): Print summary
	tasks.

	* widgets/Makefile.am (SUBDIRS): Add mr-paned.

	* configure.in: Add mr-paned.

	* shell/project-app.c: Use MrHPaned.

	* widgets/gantt/gantt-widget.c: Use MrHPaned.

	* widgets/mr-paned/mr-hpaned.c: New file, inherits EHPaned and overrides
	::draw to draw a box instead of a flat grey area.

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

	* shell/GNOME_MrProject_Shell.ui: 
	- Added Ctrl-n as a shortcut for opening a new project.

	* project/resource-model.[ch]: 
	- Added new fields to a resource and fixed up the argument-set-function.

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

        * Test branching.
	
	* idl/GNOME_MrProject.idl: Added types for properties and added more data to
	the task struct.

	* components/gantt/task-properties.[ch]: Ran indent over these to make them
	follow the coding style.

	* shell/main.c (main): Pass startup files as an argument instead of a global
	variable.
	Remove version argument, gnome handles it.

	* run-mrproject.in: Pass on any arguments.

	* util/Makefile.am (libmrproject_util_la_SOURCES): Don't build the str/error
	util files for now.

	* shell/project-app.c (project_app_delete): Just destroy the app.
	(project_app_exit): Destroy the app.
	(project_app_close): Remove.
	(project_app_destroy): Free stuff.

	* shell/GNOME_MrProject_Shell.ui: Enable Close.

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

	* components/resource/GNOME_MrProject_Resource.ui: Fix spelling.

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

	* util/string-utils.[ch] (create_uri_from_filename): 
	- Created a function instead of a define. Creates an absolute path 
	  to the file if it isn't already and calls create_uri

	* util/string-utils.c (create_uri): 
	- Added support for opening a file without absolute path.

	* shell/GNOME_MrProject_Shell.ui: Activated FileNew

	* shell/project-app.c (new_cb): 
	- Implemented. It now opens a new project-app.

	* shell/command-arguments.h: New file

	* util/string-utils.[ch]: New files
	
	* util/Makefile.am (libmrproject_util_la_SOURCES): 
	- Added string-utils.c string-utils.h

	* shell/project-app.c: 
	- Added Mikael Hallendal and Lillemor Olovsson to authors.

	* shell/main.c: 
	- Implemented command-line parsing with popt.
	  - With support for opening file's on startup.

	* AUTHORS: Added Mikael Hallendal and Lillemor Olovsson
	
2001-02-26  Richard Hult  <rhult@codefactory.se>

	* shell/project-app.c (get_lang_list): Copied from nautilus to get a list of languages
	to get translated oafinfo values in.
	(project_app_new): Activate all components that support the right interfaces. Use label
	and icon from the oaf-file (the icon need to be transferred by CORBA later but not for 
	now). Handle failure a bit better.

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

	* web/navbar.php: Changed Mrproject to MrProject on a linktext.

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

	* shell/project-app.c (activate_control): Use CORBA_Object_is_equ instead of ==.

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

	* shell/project-app.c (project_app_add_control): Move the shortcut bar stuff here.
	(activate_control): New function that is used to activate a control, and deactivate
	the one that was formerly active.
	(notebook_switch_page_cb): Activate the right component when switching pages.
	(project_app_add_control): Take the title and a pixbuf as arguments.
	(project_app_new): Use the new stuff to activate the gantt component (should not
	be hardcoded like this, but for now...). Connect to the "switch_page" signal.

	* components/gantt/GNOME_MrProject_GanttComponent.oaf.in: Use a short and readable
	name, since this will be used as title for the notebook page.

	* shell/project-app.c (project_app_close): Unset the shell from all components.
	Unref components.
	(project_app_add_control): Append a control to the notebook and keep its objref.
	Make private functions static.

	* components/gantt/gantt-component.c (gantt_component_init): Init the
	listener id to -1.
	(gantt_component_unset_shell): Remove the listener.

	* shell/shell.c (shell_destroy): Bonobo->unref the project.

2001-02-24  Anders Carlsson  <andersca@codefactory.se>

	* shell/project-app.c: Add shortcut_bar and paned to priv structure.
	(project_app_shortcut_bar_item_selected): Set correct notebook page.
	(e_shortcut_bar_set_canvas_style): Added from gal since it is declared
	static there.
	(project_app_new): Create paned and shortcut bar and add the items.

	* extras/images/Makefile.am (images_DATA): Add gantt.png and
	resources.png

2001-02-23  Mikael Hallendal  <micke@codefactory.se>
	* Added the new site to the cvs.
	
2001-02-23  Richard Hult  <rhult@codefactory.se>

	* shell/main.c (activate_idle): Activate the project factory and keep
	the ref.

	* shell/shell.c (shell_open): Warn if project could not be activated.

	Test commit message list....

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

	* components/shell-component/shell-component.c: Remove some
	cruft from before BonoboXObject.

	* shell/shell.[ch]: Inherit BonoboXObject to simplify.

2001-02-23  Lillemor Olovsson  <liol@codefactory.se>

	* components/gantt/task-properties.c: New File
	* components/gantt/task-properties.h: New File
        * components/gantt/task-property-dialog.c: New File     
	* components/gantt/custom-prop-def-dialog.c: New File
	
2001-02-23  Richard Hult  <rhult@codefactory.se>

	* README: Mention run-mrproject.

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

	* widgets/gantt/gantt-model.c: Removed the \n. No cookie for
	hallski!

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

	* widgets/gantt/gantt-model.c: 
	Added some \n to g_warnings.
	
	* project/resource-model.c: 
	Changed for ResourceModelPriv->type to be a gchar * instead of an int.

	* project/Makefile.am (libmrproject_project_model_la_SOURCES): 
	added:
	+	resource-manager.c				\
	+	resource-manager.h				\
	+	resource-model.c 				\
	+	resource-model.h				\

	* components/resource/resource-table-model.c: 
	- Wrote some functions and continued on others.
	
	* components/resource/resource-component.c: 
	- Added Mikael Hallendal to Copyright
	- Using resource-table instead of test-widget
	
	* components/resource/Makefile.am (libmrproject_resource_component_la_SOURCES): 
	added:
	+	resource-component.h				\
	+	resource-table.c				\
	+	resource-table.h				\
	+	resource-table-model.c				\
	+	resource-table-model.h				\
	+	resource-table-info.h
	
	* components/resource/resource-table-info.h: New file
	
	* components/resource/resource-table.c: Moved the tabledefintions to 
	resource-table-info.h

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

	* Makefile.am (bin_SCRIPTS): Add run-mrproject.

	* configure.in: Generate run-mrproject.

        * run-mrproject.in: New file that is used to generate a small
	utility that sets up the environment and runs mrproject.
	
2001-02-21  Mikael Hallendal  <micke@codefactory.se>

	* components/resource/resource-table-model.c: New file

	* components/resource/resource-table-model.h: New file

	* components/resource/resource-table.c: New file

	* components/resource/resource-table.h: New file

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

	* components/gantt/gantt-component.c (task_updated): Use gantt_model_row_changed
	and block the handler around the call to prevent recursion. 

	* widgets/gantt/gantt-model.c (gantt_model_set_value_at): Use gantt model
	to update the row.

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

	* configure.in: Require oaf 0.6.2 and gal 0.5.99.0.

	* README: Update reqs.

	* widgets/gantt/gantt-model.c: Remove the "row_changed" signal
	and use the one that ETreeModel provides ("node-changed").

	* shell/main.c (main): Make warnings stop the debugger.

	* components/gantt/gantt-component.c (insert_task_cmd): Root is
	id 0.

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

	* project/task-manager.c: Changed some copy'n'paste errors

	* project/resource-manager.c: New file

	* project/resource-manager.h: New file

	* project/resource-model.c: Added Mikael Hallendal to Copyright
	-  Corrected some copy'n'paste errors.

	* project/resource-model.h: Added Mikael Hallendal to Copyright

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

	* widgets/gantt/gantt-item.c: Use gantt_util_*.

	* widgets/gantt/gantt-header-item.c: Use gantt_util_*.

	* widgets/gantt/gantt-util.c: Move some code to its own file to be shared
	between the header and the chart.

	* widgets/gantt/gantt-item.c (gantt_item_table_model_row_inserted): Notify
	the parent.

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

	* configure.in: Improve the gnome-xml check.

	* widgets/gantt/gantt-row-item.c: Ok, didn't write much of a changelog for
	this, but I rewrote the gantt bar code so that it lives in a canvas item
	of its own.

	* widgets/gantt/gantt-row-item.c (gantt_row_item_bounds_canvas_coordinates):
	Share code with gantt_row_item_bounds_item_coordinates.
	(gantt_row_item_bounds_item_coordinates): Take the text label in consideration
	when calcutation bounds.

	* project-server/Makefile.am (INCLUDES): localedir.

	* project-server/main.c (main): Print out a debugging message when the
	server is ready, to make debugging easier.
	(main): Initialize i18n stuff.
	Remove string_init and include for it.

	* project-server/project-factory.c: Remove old cruft.

	* widgets/gantt/gantt-model.c (gantt_model_insert_row): Emit changed signal
	on parent when inserting a child.

	* widgets/gantt/gantt-item.c (gantt_item_table_model_changed): Rebuild
	the row items.
	Remove code to draw gantt bars, and some indentation fixes.

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

	* util/project-time.c (project_time_set_time_t): Add function to set
	a project time from a time_t.
	(project_time_to_time_t): And the other way around.

	* widgets/gantt/gantt-model.c (gantt_model_row_is_leaf): Check for
	NULL model and no path on the row.
	(gantt_model_insert_row): Insert the row into the hash table before
	adding it to the tree model.

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

	* idl/GNOME_MrProject.idl (GNOME): Add getURI ().

	* project-server/project.c (project_class_init): Add getURI to epv.
	(impl_GNOME_MrProject_Project_getURI): Impl. getURI

	* shell/project-app.c (save_as_cb): Basic file selection dialog for
	the "Save as..." command.
	(save_cb): Don't pass an URI here, since we should save with the
	currently used one. If there is no uri, put up a file selection dialog
	here as well.

	* project-server/project.c (impl_GNOME_MrProject_Project_save): Use
	the uri we got when we opened if no uri is passed in.
	(impl_GNOME_MrProject_Project_read): Save the uri for later.

	* project/project-xml.c (xml_write_project): Traverse from the root.

	* idl/GNOME_MrProject.idl (GNOME): Remove the Backend interface.

	* project/project-model.h: Remove old #if 0-ed prototypes.

	* configure.in: Use AM_GNU_GETTEXT again, since it seems to be working
	better with xml-i18n-tools.

	* README: Require xml-i18n-tools 0.8 and add the CVS branch.

	* project-server/project.c: Update to reflect the new task manager.

	* project/project-xml.c: Update to reflect the new task manager.

	* project/task-manager.[ch]: New files with the task managment. While
	at it, clean things up, and fix logic in some places. E.g. root task
	is now a real task model and not NULL. Id is an int instead of long.

	* project/project-model.c: Move the task management out of here.

	* components/gantt/gantt-component.c (remove_task_cmd): id should
	be a CORBA_long.

	* project-server/project.c (project_class_init): Remove more old cruft.

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

	* project-server/project.c: Remove leftovers from before XObject. 

	* widgets/gantt/Makefile.am (libmrproject_gantt_la_SOURCES): 
	Build the row item.

	* widgets/gantt/gantt-row-item.[ch]: Add template code for a real
	gantt row item.

	* components/shell-component/shell-component.c: Update
	copyright notice.

	* components/gantt/gantt-component.c (gantt_component_init):
	Fix indentation.
	(task_reparented): Remove debugging code.

	* components/shell-component/shell-component.c (shell_component_set_shell):
	Remove debugging output that was accidently checked in.

	* components/resource/resource-component.c: Simplify.

	* components/gantt/gantt-component.c: Simplify (thanks
	to XObject).

	* components/shell-component/shell-component.c: Move to
	BonoboXObject and remove private struct since it's not
	used.
	(impl_GNOME_MrProject_ShellComponent_setShell): Upd. to
	chain correctly.
	(impl_GNOME_MrProject_ShellComponent_unsetShell): Ditto.

	* shell/project-app.c: Clean out some old cruft.

	* configure.in (ALL_LINGUAS): Use AM_GNOME_GETTEXT.

	* extras/desktop/Makefile.am: Add rule for .desktop.in.

	* extras/desktop/mrproject.desktop.in: New file.

	* macros/autogen.sh: Check for xml-i18n-tools.

	* configure.in: bonobo 0.36.
	(ALL_LINGUAS): Add Swedish translation.

	* README: Require bonobo 0.36 and add some info to the mini-FAQ.

	* project-server/project.c (load_backend): Remove.
	Trim includes. Move to BonoboXObject.

2001-02-14  Anders Carlsson  <andersca@codefactory.se>

	* components/resource/*: Added new resource component.
	
	* components/Makefile.am (SUBDIRS): Likewise.

	* configure.in: Likewise.

	* shell/project-app.c (project_app_new): Add code to activate the
	resource component.

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

	* shell/project-app.c (save_cb): Save to $HOME/test.mrproject for
	now.

	* shell/shell.c (shell_save): Don't hard code the filename.

	* util/Makefile.am (libmrproject_util_la_SOURCES): Remove xml-io.

	* project-server/Makefile.am (#SUBDIRS): Don't build backends.

	* configure.in (set_more_warnings): Don't build backends.

	* util/project-time.c (project_time_set_iso_string): Add a function
	to parse an ISO date string.	

	* project/project-xml.c (write_activity): Save a few properties. Need
	to be filled in more later.

	* util/project-time.c (project_time_to_iso_string): New function that
	formats a string in ISO format.

	* shell/project-app.c (get_project_name): Check for NULL.

	* project/project-model.[ch]: Changed the API to be more consistent.

	* project-server/project.c: Upd. to reflect API changes in the
	project model.

	* project/task-model.c (task_model_add_dependency): Comment out
	dependancy code for now.

	* project-server/project.c: Add gnome-xml includes.

	* project/Makefile.am: Don't build resource code yet.

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

	* README: Updated dependencies. 

	* configure.in: Require Gal 0.5 and Bonobo 0.33.

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

	* project-server/project.c (impl_GNOME_MrProject_Project_addShell): 
	Remove the property bag test code.
	(test_idle): Remove.

	* shell/shell.c (shell_open): Just pass exceptions on to the caller.
	(shell_save): New function to initiate saving of a project.

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

	* widgets/gantt/gantt-model.c (gantt_model_init): eek eek eek.
	g_int_equal, not g_int_compare! Doh doh doh. *mental note to 
	self to not do stupid such things anymore*

	* project-server/project-factory.c (impl_read): Remove.
	(project_factory_get_epv): Remove read method.
	(project_factory_read): Remove.
	(project_fn): project_new does not take args anymore.

	* project-server/project.h: Remove project factory stuff.

	* project-server/project.c: Remove the project factory ref everywhere,
	since the project does not need to known anything about the factory.

	* project-server/backends/GNOME_MrProject_FileBackend.oaf.in: Hm
	I thought I removed the uid here already. Well, do it now, also
	fix the factory/component mess.

	* widgets/gantt/gantt-header-item.c (gantt_header_item_class_init,
	(gantt_header_item_set_arg, gantt_header_item_get_arg): Remove the
	project model argument, it was old unused cruft. Don't include
	project-model.h.

	* idl/GNOME_MrProject.idl (GNOME): Remove junk from ProjectFactory.

	* widgets/gantt/Makefile.am: Eek, don't link against the project model.

	* shell/project-app.c (project_app_new): Clean the component activation
	testing code a bit.

	* project/resource-model.h: Removed duplicated timespan struct. 

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

	* project-server/backends/file-backend-save.[ch]: New files
	for saving.
	
	* util/project-time.h: Added ProjectTimeSpan for time spans.

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

	* idl/GNOME_MrProject.idl: Remove the read method on the project factory
	interface. The project deals with loading.

	* project-server/project.c (impl_GNOME_MrProject_Project_reparentTask):
	Remove debug output.

	* idl/GNOME_MrProject.idl: Add save method to project.

	* shell/GNOME_MrProject_Shell.ui: Make save sensitive.

	* idl/GNOME_MrProject.idl: Save method for the backend interface.

	* project-server/backends/file-backend.c: Ok, how did this ever work?
	Use the nice BONOBO_OAF_SHLIB_FACTORY stuff instead.

	* project-server/backends/GNOME_MrProject_FileBackend.oaf: Remove uid.
	Hm, do this the right way with a factory and a component.

	* project-server/backends/file-backend.c (FILE_BACKEND_OAFIID): Remove
	uid.

	* shell/project-app.c (test_idle): Ditto.

	* shell/Makefile.am (test_DATA): Change suffix.

	* shell/shell.c (get/set_prop): Remove test code.

	* shell/project-app.c (properties_cb): Fetch the name property from the
	project.
	(properties_cb): Release/unref corba objects. Set the project name if it
	changed.

	* project-server/backends/file-backend-xml.c (xml_project_walk_tree): Set
	the project name on the model.	

	* project-server/project.c (set_prop): Add property for the project name.
	Clean up the set_prop code while at it.
	(project_construct): Add name property.

	* util/Makefile.am: Don't compile stock.[ch].

	* components/gantt/gantt-component.c (gantt_control_activate): Set icons
	for the component.
	(set_pixmap): Utility function to set a pixmap for the ui.

	* shell/main.c (main): Remove the call to stock_init, it was a broken way
	to get icons in components.

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

	* project/project-model.c (task_destroyed): Don't bubble the removed task,
	but a sibling. Fixes bug when deleting a task and group times not updating.
	(project_model_reparent_task): Bubble both the new and the old subtrees.
	Fixes bug reported by Michael Meeks, where the group tasks wouldn't update
	when reparenting.

	* project-server/project.c (impl_GNOME_MrProject_Project_removeTask): Doh.
	Really remove the task, instead of only pretending to do it.

2001-02-03  Michael Meeks  <michael@helixcode.com>

	* components/gantt/gantt-component.c (unindent_task_cmd):
	use bonobo_object_release_unref, free the Any, release the
	property.
	(unindent_task_cmd): Free the environment after use.

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

	* shell/project-app.c (project_time_to_corba_any): Put this
	here while I'm thinking about where to put it... :)

	* shell/project-properties.glade: Add small project
	properties dialog.
	
	* shell/project-app.c (properties_cb): Fetch first/last time
	from the project property bag and set it to the new values.

	* project/project-time.[ch]: Removed.
	
	* util/project-time.[ch]: Moved here from project/. Didn't bother
	to keep history around since it's so small and useless.

	* Everything: moved project-time.[ch] to util and made it a small
	libtool library. Had to update includes and makefiles to reflect
	this.

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

	* shell/shell.c (shell_get_project): Add function to get project
	from shell.  

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

	* project-server/project.c (set_prop, get_prop, project_construct):
	Property bag for getting start/finish time.

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

	* shell/shell.c (set_prop, get_prop, shell_construct): Add a property
	bag for testing purposes.	

	* components/gantt/gantt-component.c (gantt_component_destroy): Remove
	debugging output.

	* shell/project-app.c (properties_cb): Add project property
	dialog.
	(shell_destroy): Remove debugging output.

	* macros/autogen.sh: Revert the --copy change since it did not
	work very well.

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

	* shell/Makefile.am (EXTRA_DIST): add glade file.

	* shell/main.c (main): Initialize libglade and include glade.h.

	* configure.in: Add check for libglade.

	* README: Tell people that they need devel packages as well.
	Also put a tiny FAQ in there and mention xml-i18n-tools and
	libglade.

2001-01-29  Michael Meeks  <michael@helixcode.com>

	* components/gantt/Makefile.am (ui_DATA): rename .xml file.

	* components/gantt/gantt-component.c (gantt_control_activate): update fname.

	* shell/Makefile.am: Rename mrproject.xml

	* shell/project-app.c (project_app_new): update fname.

	* components/gantt/mrproject-gantt-component.xml: remove
	duplicated stuff with the container.

	* components/gantt/gantt-component.c: give all Task verbs the
	'Task' prefix.

	* shell/mrproject.xml: rename IndentTask -> TaskIndent, add
	priority text items, make tooltips work, cmd / widgetify nicely.

2001-01-26  Michael Meeks  <michael@helixcode.com>

	* shell/project-app.c (project_app_new): setup configuration.

	* components/gantt/Makefile.am: upd.

	* project-server/Makefile.am: upd.

	* project-server/backends/Makefile.am: upd.

	* configure.in: Add xml-i18n-tools
	(ALL_LINGUAS): Add uk

	* All files: s/MrProject.h/GNOME_MrProject.h/

	* All oafinfo files -> .oaf.in files.

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

	* widgets/gantt/gantt-item.c (gantt_item_get_first_visible_time): 
	* widgets/gantt/gantt-chart.c (gantt_chart_get_first_visible_time): 
	* widgets/gantt/gantt-widget.c (gantt_widget_get_first_visible_time):
	Pretty obvious what these do... Not very nice though, I should probably
	get rid of the private fields and let the various parts of the gantt
	widget access things like this.

	* components/gantt/gantt-component.c (insert_task_cmd): When
	inserting a task, put in in the visible area of the chart.
	Needs a bit of tweaking but it's a start.

	* widgets/gantt/gantt-item.h (gantt_item_get_first_visible_time):
	Remove old function prototype.

	* components/gantt/gantt-component.c (impl_GNOME_MrProject_ShellComponent_setShell):
	Remove old #if 0'ed code.

	* widgets/gantt/gantt-header-item.c: Calculate day width here too.
	(gantt_header_item_draw): Divide the scale in major/minor scale.
	(gantt_header_item_realize): Make room for the new scale.

	* widgets/gantt/gantt-widget.c (get_button_height): Get the height of a
	standard button basen on the font size. Used to get the pad box for the
	etable right.
	(gantt_widget_construct): Use it here.

	* widgets/gantt/gantt-chart.c (gantt_chart_init): Expand the gantt chart
	to show 2 months for debugging the scale.

	* widgets/gantt/gantt-item.c: Remove the day width argument, set the width
	and calculate the day width instead.

	* idl/MrProject.idl: Remove the Client interface (for now at least).

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

	* README: Clean up and mention the correct required versions of
	dependencies. Thanks to zilch.am@home.se for the patch.

	* components/backends/file-backend-xml.c, components/backends/file-backend.c,
	macros/autogen.sh, project/project-factory.c, project/testresource.c,
	shell/shell.c, widgets/gantt/gantt-item.c, widgets/gantt/gantt-row-item.c,
	widgets/gantt/gantt-widget.c, widgets/gantt/gantt-widget.h: Remove C++ style
	comments, also from zilch.

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

	* widgets/gantt/gantt-widget.c: Removed old, unused, task map.

	* widgets/gantt/gantt-item.c (gantt_item_row_at_y_pos): Fix
	bounds checking on the calculated row.
	(gantt_item_event): Workaround for bug #2, to reset the mouse pointer
	when leaving the gantt item.
	(gantt_item_draw): Don't draw grid lines at the left/rightmost positions,
	it looks bad.

	* widgets/gantt/gantt-chart.c (gantt_chart_construct): Removed
	commented out code.

	* widgets/gantt/gantt-item.c (gantt_item_point): Implement.

	* README: Mention OAF_INFO_PATH, and add piece about autogen.sh.

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

	* project/.cvsignore: Shhh.

	* components/shell-component/shell-component.h: Add set/unset_shell as
	virtual methods.

	* components/shell-component/shell-component.c (shell_component_set_shell):
	(shell_component_unset_shell): make it possible for subclasses to override
	these.

	* components/gantt/gantt-component.c (gantt_component_class_init):
	Override set/unset_shell from the parent class.

	* shell/shell.c (PROJECT_OAFIID): Remove uuid.

	* project-server/project-factory.c (PROJECT_FACTORY_OAFIID): Remove uuid.

	* project-server/GNOME_MrProject_ProjectServer.oafinfo: Remove uuids.

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

	* components/gantt/GNOME_MrProject_GanttComponent.oafinfo: Remove uuid.

	* components/gantt/gantt-component.c: Remove old #ifdef 0'ed cruft.
	Use nice macro for the factory, and remove uuid.

	* widgets/gantt/gantt-item.c (gantt_item_event): Remove accidently checked in
	debugging code.
	(gantt_item_event): Return TRUE when handling the event. Should fix the problems
	andersca was having with moving/dragging.

	* widgets/gantt/Makefile.am: Rename test2gantt to testgantt and
	remove old testgantt.

	* widgets/gantt/test2gantt.c: Fix up for latest changes.

2001-01-24  Michael Meeks  <michael@helixcode.com>
  
        * shell/project-app.c: don't include bonobo-ui-xml.h
        	
2001-01-24  Richard Hult  <rhult@codefactory.se>

	* widgets/gantt/gantt-widget.c: Added a temporary date selector popup
	until we have a nice ECell to do the job.

	* widgets/gantt/gantt-common.[ch]: Remove demo code. 

	* widgets/gantt/gantt-item.c (gantt_item_event): When the motion event
	is a hint, use the scroll offset.
	(gantt_item_event): Make sure start < finish.

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

	* widgets/gantt/gantt-model.c (gantt_model_row_is_leaf): Check
	for NULL row.

	* configure.in: Disable the splash.
	(VERSION): Set version to 0.0.

	* widgets/splash/project-splash.[ch]: Fix the copyrights.

	* shell/main.c (main): Remove the splash.

	* web/*: Add a simple web page.

	* configure.in: Require newer gal and bonobo. 

	* project/project-model.c (project_model_insert_task): Change
	the debugging warning to use g_print, since g_warning doesn't
	like arguments?

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

	* project-server/project-factory.c: Remove old, unsed impl.

	* project/project-model.c (project_model_get_task_n_children): 
	Fix check for root.

	* widgets/gantt/gantt-model.c (gantt_model_get_row_by_id): Never
	return NULL.

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

	* components/gantt/gantt-component.c (task_removed): Use event data
	struct.

	* project-server/project.c (impl_GNOME_MrProject_Project_removeTask):
	Use event data struct.

	* components/gantt/gantt-component.c (task_down_cmd): Implement.
	(task_up_cmd): Implement.

	* widgets/gantt/gantt-model.c (gantt_model_row_move): Move a gantt row.

	* project-server/project.c (impl_GNOME_MrProject_Project_setTaskPosition): 
	Sanity check the new position before moving.

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

	* widgets/gantt/gantt-header-item.c (gantt_header_item_draw): Don't
	draw a separator at position 0, because that would overlap the frame.

	* widgets/gantt/m-cell-date.c: Include locale.h.

	* HACKING: Brought this up-to-date.

	* README: Filled with content.

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

	* project/task-model.c (task_model_{set,get}_*: Add accessor
	functions for all the private data. This was needed since the
	project would emit lots and lots of signals when using the
	GtkArg system for those.

	* widgets/gantt/gantt-item.c (gantt_item_event): Add some checks
	for moving bars outside the chart.

	* components/gantt/gantt-component.c (task_updated): Remove some
	debugging output.
	Don't use the unsafe UI macro.
	(control_activate_cb): Handle activation/deactivation.
	(gantt_component_new): Correct error message.
	(gantt_component_control_new): Connect to "activate" signal.
	(gantt_row_changed): Propagate changes to the Project CORBA
	object.

	* project/task-model.c (task_model_set_arg): Don't do anything if
	the value is not changed.

	* project/project-time.c (project_time_compare): Handle errors in
	input better.

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

	* components/gantt/gantt-component.c (task_inserted): New function
	for inserting a row.
	(task_updated): Changed to really update the right row/task.
	(insert_task_cmd): Reimplemented insert task, only half-finished so
	far.

	* widgets/gantt/gantt-model.c (remove_traverse): Remove the row
	from the row hash table.
	(gantt_model_insert_row): Insert the row into the row hash.

	* widgets/gantt/gantt-widget.c (gantt_widget_create_extras): Comply
	to the new e-table api.

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

	* project-server/backends/file-backend-xml.c (xml_read_task):
	Disable parsing of duration for now.

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

	* project-server/project-factory.c: Remove the test backend.
	(impl_open): Query oaf for a backend supporting the requested
	method.

	* components/shell-component: Added this dir, which I stupidly
	forgot to cvs add.

	* shell/shell.c (impl_getProject): Implementation.

	* project-server/project-factory.c (impl_open): Raise exceptions
	when erros occur.

	* idl/MrProject.idl (GNOME): Clean up and fill in some blanks.

	* project-server/project.c (project_get_epv): Add some implementations.

	* project-server/Makefile.am (mrproject_server_LDADD): Link
	against project-model.

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

	* idl/MrProject.idl (GNOME): Removed ProjectListener iface.

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

	* shell/project-app.h: Don't include listener stuff.

	* shell/Makefile.am: Remove project-listener from build,
	and don't install removed oafinfo file. 

	* project-server/backends/GNOME_MrProject_FileBackend.oafinfo: 
	Likewise.

	* components/gantt/GNOME_MrProject_GanttComponent.oafinfo: Use
	correct namespace.

	* idl/MrProject.idl: Clean up and remove old listener interfaces. 

	* project-server/project.c: Use BonoboListener/BonoboEventSource.

	* shell/shell.c: Use BonoboListener/BonoboEventSource.

	* components/gantt/gantt-component.c: Subclass ShellComponent.

	* components/shell-component/*: New virtual class for creating
	shell components.

2000-12-27  Richard Hult  <rhult@codefactory.se>

	* components/gantt/gantt-component.c (setup_ui): Likewise.

	* shell/project-app.c (project_app_new): Point to the right directory for
	the ui xml-file.
2000-12-23  Richard Hult  <rhult@codefactory.se>

	* project/resource-model.c: The beginnings of a resource model.

	* project/dependency-model.c: First try at adding dependencies between tasks.

	* util/stock.[ch]: Add images for insert and move task up/down.

2000-12-22  Richard Hult  <rhult@codefactory.se>

	* widgets/gantt/gantt-widget.c (project_model_task_reparented): Freeze/thaw
	the treemodel around to avoid drawing the table in an inconsistent state. 

2000-12-21  Richard Hult  <rhult@codefactory.se>

	* widgets/gantt/gantt-widget.c (gantt_widget_unindent_selected_task): When
	unindenting, the task should be placed right below the old parent.

2000-12-20  Richard Hult  <rhult@codefactory.se>

	* project/project-model.c (project_model_reparent_task): Add argument for
	specifying the position to add the task.

	* widgets/gantt/gantt-widget.c (gantt_widget_unindent_selected_task): Don't
	reparent if the new parent is the same as the old one.

	* widgets/gantt/gantt-item.c (gantt_item_event): Don't crash on no start
	or finish time.
	(gantt_item_draw): Likewise.

	* widgets/gantt/gantt-common.c (task_cache_validate): Likewise.
	
	* components/gantt/gantt-component.c (insert_task_cmd): Handle insertion
	of a new task.

	* util/stock.[ch]: Add icon for insert row.

	* components/gantt/mrproject-gantt-component.xml: Add insert row and change
	icon for delete task.

	* widgets/gantt/gantt-widget.c (gantt_widget_indent_selected_task): Make
	indent work the intended way.

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

	* */Makefile.am: Fix INCLUDE issues all over the place.

	* configure.in: Fixed libxml check.

	* widgets/splash/Makefile.am: Builddir fixage. 

	* Makefile.am (SUBDIRS): Subdir docs was missing.

	* widgets/gantt/gantt-chart.c: Remove unneeded include.

	* idl/Makefile.am (idldir): Added missing / for IDL install dir.

	* configure.in: Fixed gal check.

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

	* widgets/gantt/gantt-item.c (gantt_item_event): Only change cursor if state
	changes (spotted by andersca).
	(gantt_item_event): Return TRUE when the event is handled.

	* widgets/gantt/gantt-widget.c: Clean up comments and add scrollbar to the
	etable.

	* widgets/gantt/gantt-header-item.c (gantt_header_item_set_arg): Width is readonly.
	(gantt_header_x_to_date): Reset the hours and minutes.

	* widgets/gantt/gantt-item.c (gantt_item_set_arg): Width is a readonly argument.

	* widgets/gantt/gantt-header-item.c: Clean up and fix bounding box calculation
	to use the right coordinate system.

	* widgets/gantt/gantt-chart.c (gantt_chart_construct): Don't use ecanvas, but
	a regular canvas.

	* widgets/gantt/gantt-item.c (gantt_item_event): Don't allow non-leaf tasks
	to be moved.

	* widgets/gantt/gantt-item.[ch]: Clean up and privatize.

	* widgets/gantt/gantt-header-item.c (gantt_header_item_draw): Remove unused
	code and optimize by remving uneccessary memory allocations.

2000-12-14  Richard Hult  <rhult@codefactory.se>

	* project/project-time.c (project_time_diff_minutes): New function that
	calculates the difference between two times in minutes.
	(project_time_add_minutes): New function that <guess what>.

	* widgets/gantt/gantt-item.c (gantt_item_x_to_date_hour): Don't overflow
	the hours.
	(gantt_item_task_at_y_pos): New function to get the task at a certain
	y position.
	(gantt_item_event): Implemented dragging of the start/finish time of
	tasks, and moving tasks.

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

	* project/project-time.c (project_time_free): Don't free the date twice.

	* components/gantt/mrproject-gantt-component.xml: Add remove task.

	* project/project-model.c (task_destroyed): Clean up after destroyed
	tasks.
	(project_model_reparent_task): Rewrite. Emit signal when reparenting
	a task.

	* widgets/gantt/gantt-widget.c (project_model_task_reparented): Rewrite
	(which was a good thing cause it didn't work before ;).

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

	* widgets/gantt/gantt-chart.c: Handle times as ProjectTime structs.

	* widgets/gantt/gantt-item.c: Handle times as ProjectTime structs.

	* widgets/gantt/gantt-widget.c: Handle times as ProjectTime structs.

	* project/task-model.c: Store times as ProjectTime.

	* project/project-model.c (project_model_bubble_times): Remove debugging code.
	(project_model_get_arg): Name is string, not a pointer.
	(project_model_bubble_times): Times are ProjectTimes now.

2000-12-11  Richard Hult  <rhult@codefactory.se>

	* shell/project-app.c: Clean up.

2000-12-10  Richard Hult  <rhult@codefactory.se>

	* idl/MrProject.idl: Add ProjectTime struct.

2000-12-08  Richard Hult  <rhult@codefactory.se>

	* widgets/gantt/gantt-item.c: Handle changes in day width.
	
	* widgets/gantt/gantt-chart.c (gantt_canvas_reflow_idle): Set the width of the gantt item.

	* widgets/gantt/gantt-header-item.c (gantt_header_item_set_arg): Set the day width
	when width/first shown date/last shown date changes.

	* components/gantt/Makefile.am (libmrproject_gantt_component_la_LDFLAGS): 
	Clean up rule.

	* widgets/gantt/gantt-header-item.c: Handle first/last shown dates.
	(gantt_header_item_realize): Update for latest GAL.
	(gantt_header_item_draw): Only draw the exposed parts of the header, and use
	the real dates instead of hardwired ones.

	* widgets/gantt/gantt-item.c: Handle first/last shown dates.
	Clean out unused cruft.

	* widgets/gantt/gantt-chart.c: Handle first/last shown dates here.

	* widgets/gantt/gantt-widget.c (gantt_widget_add_project_model): Update for changed API in gal.
	(project_model_task_inserted): Likewise..
	s/gantt_widget_add_project_model/gantt_widget_set_project_model/.

	* widgets/gantt/testgantt.c (add_tasks): Use ProjectDate for time unit.

	* widgets/gantt/gantt-header-item.c: Fix includes.

2000-12-07  Richard Hult  <rhult@codefactory.se>

	* widgets/gantt/*.[ch]: Fix includes. 

	* shell/main.c (main): Fixed spelling in comment.

	* components/gantt/gantt-component.c (task_updated): Change name to gchar *.

	* components/backends/file-backend.c: Remove C++ comment.

	* widgets/gantt/gantt-item.c (gi_draw): Name is a gchar * now.

	* project/task-model.c (task_model_set_arg): Change name argument to gchar *. 
	(task_model_get_arg): Change name argument to gchar *.
	(task_model_get_name): Removed this function, use gtk arguments instead.
