2003-05-18  Richard Hult <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_set_property): Connect 
	to the right notify signal.

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

	* libmrproject.spec.in: Add gtk-doc output.

2003-04-23  Richard Hult  <rhult@codefactory.se>

	* file-modules/xsl/Makefile.am (libmrp_xsl_la_LDFLAGS): Add
	-avoid-version and -module flags.
	(stylesheet_DATA): Add milestone xsl.
	Updated stylesheets from Daniel.

2003-04-16  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_save): Add to the
	hacks... special case file URIs, set force to TRUE.

2003-04-14  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (project_load_from_sql) 
	Fix string.
	
	* python/mrproject.override (_wrap_mrp_constraint_new): Set the
	type correctly.

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

	* python/mrproject.defs (save): Add force parameter.

	* storage-modules/sql/mrp-sql.c (mrp_sql_save_project): Handle
	errors properly.
	(sql_write_project): Bring back revision check.

	* docs/libmrproject/tmpl/mrp-project.sgml: Update API.

	* docs/libmrproject/tmpl/mrp-error.sgml: Add errors.

	* storage-modules/sql/mrp-sql.c (mrp_sql_save_project): 

	* mrproject/mrp-project.c (mrp_project_save): Set error if we
	return FALSE.
	(mrp_project_save): Add force parameter that forces save even if
	the project has been changed by someone else.

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

	* configure.in: Add summary of build options at the bottom.

	* storage-modules/Makefile.am: Add sql directory, build
	conditionally.

	* mrproject/mrp-project.c (project_set_storage): New function that
	changes the primary storage.
	(project_load_from_sql): Implement.
	(mrp_project_save_as):
	(mrp_project_save, project_do_save): Refactor to share some code
	and special case SQL URIs. Add proper error handling throughout.
	(mrp_project_new): Use project_set_storage.

	* libmrproject.pc.in (prefix): Add postgres libs and flags.

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

	* storage-modules/sql: New storage module for SQL storage. Moved
	from the mrproject sql plugin and adapted.

	* mrproject/mrp-error.h: Add MRP_ERROR_INVALID_URI.

2003-04-08  Richard Hult  <rhult@codefactory.se>

	* storage-modules/sql/mrp-sql.c (sql_task_insert): Use
	imrp_task_insert_child instead of mrp_project_... so we don't get
	notifications while inserting, that breaks a lot of things.
	(sql_read_tasks): Set the "project" property on the created task.

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

	* configure.in: Add postgres configure check and sql directory.

2003-04-10  Mikael Hallendal  <micke@codefactory.se>

	* configure.in:
	- Added check for stuff needed by HTML file-module.
	* file-modules/Makefile.am: Added xsl directory.
	* file-modules/xsl/*: added
	* mrproject/mrp-file-module.c:
	* mrproject/mrp-file-module.h: 
	(mrp_file_writer_get_string),
	(mrp_file_writer_get_mime_type),
	(mrp_file_writer_write): Fixed the API a bit, needed to move export
	  code from mrproject.
	* mrproject/mrp-project.c:
	* mrproject/mrp-project.h:
	(mrp_project_export): Added
	* python/mrproject.defs: Added mrp_project_export.

2003-04-04  Mikael Hallendal  <micke@codefactory.se>

	* configure.in: use pygtk 1.99.14
	* docs/libmrproject/libmrproject-sections.txt: added new functions.
	* mrproject/mrp-group.c: 
	* mrproject/mrp-group.h: 
	(mrp_group_get_name): added
	(mrp_group_set_name): added
	* mrproject/mrp-project.c:
	* mrproject/mrp-project.h:
	(mrp_project_get_task_by_name): added
	(mrp_project_get_resource_by_name): added
	(mrp_project_get_group_by_name): added
	(find_task_by_name_traverse_func): added
	* mrproject/mrp-resource.c:
	* mrproject/mrp-resource.h:
	(mrp_resource_get_name): added
	(mrp_resource_set_name): added
	* mrproject/mrp-task.c:
	* mrproject/mrp-task.h:
	(mrp_task_get_name): added
	(mrp_task_set_name): added
	* python/Makefile.am: fix link problem with clean build
	* python/mrproject.defs: added new functions.

2003-03-24  Mikael Hallendal  <micke@codefactory.se>

	* Release 0.10pre

	* configure.in: updated for 0.10pre

	* libmrproject.spec.in: updated for 0.10pre
	
2003-03-23  Anders Carlsson  <andersca@codefactory.se>

	* Makefile.am:
	* configure.in:
	Make python support optional.
	
2003-03-23  Richard Hult  <rhult@codefactory.se>

	* docs/libmrproject/: Scan mrp-types.h. Add some missing
	declarations and fill in details about calendar related objects,
	relations and constraints. Hide mrp_calendar_get_overridden_days,
	MrpDateWithDay, mrp_calendar_get_all_overridden_dates and
	MrpDayWithIntervals.

2003-03-21  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-calendar.h: Move the overridden structs here as
	well.

2003-03-21  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-calendar.c
	- Fixes #598
	(mrp_calendar_get_all_overridden_dates): made public
	(mrp_calendar_get_overridden_days): made public

2003-03-19  Guntupalli Karunakar  <karunakar@freedomink.org>

	* po/LINGUAS: Added 'ml' for Malayalam

2003-03-18  Richard Hult  <rhult@codefactory.se>

	Distcheck fixes:

	* storage-modules/Makefile.am (NULL): 
	* configure.in: Remove mpx directories.

	* python/Makefile.am: Dist mrproject-arg-types.py, and add
	top_srcdir to includes.

2003-03-17  Richard Hult  <rhult@codefactory.se>

	* python/mrproject.override: Don't use kwargs where all arguments
	are needed.
	(_wrap_mrp_calendar_set_default_week): Implement.

	* file-modules/xml/mrp-old-xml.c (old_xml_set_property_from_node):
	Update for API change.

	* python/mrproject-types.defs (Constraint): Add.

	* python/mrproject.defs (mrp_constraint_new): Add.

	* python/mrproject.override
	(_wrap_mrp_constraint__set_time, _wrap_mrp_constraint__set_time):
	Implement.

	* python/mrproject.override
	(_wrap_mrp_object_set_custom_property): Implement.
	(_wrap_mrp_object_get_custom_property): Implement.

	* mrproject/mrp-project.c (mrp_project_get_property)
	* mrproject/mrp-object.c (mrp_object_get_property): 
	(mrp_object_set_property): Make public for language bindings.

2003-03-14  Mikael Hallendal  <micke@codefactory.se>

	* python/mrproject.override:
	(_wrap_mrp_project_get_properties_from_type): added

	* mrproject/mrp-project.c (mrp_project_get_properties_from_type):
	  renamed, since MrpProject is an MrpObject the get_properties
	  function collides in the python bindings.

	* python/mrproject.override
	(_wrap_mrp_calendar_get_children): added
	(_wrap_mrp_calendar_day_get_intervals): added

2003-03-14  Richard Hult  <rhult@codefactory.se>

	* python/mrproject-types.defs:
	* mrproject/mrp-types.c (mrp_property_type_get_type): 
	* mrproject/mrp-types.h: Add type for the property type enum.

	* python/mrproject.defs (mrp_property_get_property_type): Change
	name. 

	* python/mrproject-types.defs (Property): Add MrpProperty.

	* docs/libmrproject/libmrproject-sections.txt: 
	* file-modules/xml/mrp-old-xml.c: 
	* storage-modules/mrproject-1/mrp-parser.c: Update for property
	API change.

	* mrproject/mrp-property.h: 
	* mrproject/mrp-property.c (mrp_property_get_property_type):
	Rename from mrp_property_get_type to avoid clashes with gtype 
	functions.

2003-03-13  Richard Hult  <rhult@codefactory.se>

	* python/mrproject.defs: Remove file_readers/writers.

2003-03-13  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-application.c
	(imrp_application_get_all_file_readers): made private
	(imrp_application_get_all_file_writers): same.

2003-03-13  Richard Hult  <rhult@codefactory.se>

	* python/mrproject.override (_wrap_mrp_day_new): Change into a
	constructor.
	(_wrap_mrp_day_get_all): Implement.

	* python/mrproject.defs (mrp_day_add): Mark as constructor.

	* python/mrproject.override
	(_wrap_mrp_interval_get_absolute): Wrap. Probably should write
	something more Python-like later.

	* mrproject/mrp-day.c (mrp_day_get_type): Add boxed type.

	* python/mrproject.override (_wrap_mrp_interval_new): Handle the
	boxed type.

	* python/mrproject-types.defs: Add MrpInterval boxed type.

	* mrproject/mrp-calendar.c (mrp_interval_get_type): Add boxed
	type.

	* python/mrproject.override: More binding work from Malcolm
	Tredinnick <malcolm@commsecure.com.au>.

2003-03-12  Johan Dahlin  <jdahlin@async.com.br>

	* python/mrproject.override (_wrap_mrp_task_get_start) 
	(_wrap_mrp_task_get_work_start, _wrap_mrp_task_get_latest_start) 
	(_wrap_mrp_task_get_finish, _wrap_mrp_task_get_latest_finish):
	Remove, they are now handled by the code generator.
	(ignore-glob): Add a couple of functions

	* python/mrproject-arg-types.py: New file.

	* python/Makefile.am (.defs.c): Add --load-types argument

2003-03-12  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-resource.c (mrp_resource_get_assigned_tasks): Fix
	precondition, this is obviously not used anywhere :).

	* file-modules/xml/Makefile.am: Link with libmrproject and its
	dependencies. I'm not sure this is the right fix, but will have to
	do for now.

	* file-modules/Makefile.am (SUBDIRS): Don't build mpx module for
	now, it doesn't work anyway.

2003-03-10  Richard Hult  <rhult@codefactory.se>

	* configure.in: Bail out if pkg-config is not found.

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

	* mrproject/mrp-task-manager.c
	(mrp_task_manager_calculate_task_work): Don't free assignments,
	fixes some of #585.

	* mrproject/mrp-task.c (mrp_task_get_cost): Don't free
	assignments, fixes the rest of #585.

	* mrproject/mrp-resource.c (mrp_resource_get_assigned_tasks): 
	* mrproject/mrp-task.c (mrp_task_get_assigned_resources)
	(mrp_task_get_assignment): Fix style and don't do unnecessary
	casts.

2003-03-08  Christian Neumair  <chris@gnome-de.org>

	* mrproject/mrp-project.c: Marked default name for derived calendars
	for translation.

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

	* docs/libmrproject/tmpl/mrp-application.sgml: 
	* docs/libmrproject/tmpl/mrp-assignment.sgml: 
	* docs/libmrproject/tmpl/mrp-object.sgml: 
	* docs/libmrproject/tmpl/mrp-task.sgml: 
	* docs/libmrproject/tmpl/mrp-project.sgml: 
	* docs/libmrproject/tmpl/mrp-group.sgml: 
	* docs/libmrproject/libmrproject-sections.txt
	* mrproject/mrp-calendar.c: 
	* mrproject/mrp-task-manager.c: 
	* mrproject/mrp-project.c: Update docs.

2003-03-05  Malcolm Tredinnick <malcolm@commsecure.com.au>

	* python/*: The beginnings of the the Python bindings. Not
	included in the default build at the moment.

	* acinclude.m4: Add AM_CHECK_PYTHON_HEADERS macro.

	* configure.in: Work out necessary paths for building Python stuff.

2003-03-04  Richard Hult  <rhult@codefactory.se>

	* file-modules/xml/mrp-xml.c (xml_read_string, xml_read) 
	(xml_read_context): Refactor and implement _read_string.

	* mrproject/mrp-file-module.c (mrp_file_reader_read_string):
	Implement.

	* mrproject/mrp-project.c (mrp_project_save_to_xml) 
	(mrp_project_load_from_xml): Implement.

	* mrproject/mrp-storage-module.c (mrp_storage_module_to_xml):
	Implement.

2003-03-03  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_calculate_task_finish) 
	(task_manager_do_forward_pass) 
	* mrproject/mrp-types.h: 
	* mrproject/mrp-types.c (mrp_task_sched_get_type): 
	* storage-modules/mrproject-1/mrp-parser.c (mpp_xml_set_task_sched)
	(mpp_write_task_cb): 
	* file-modules/xml/mrp-old-xml.c (old_xml_get_task_sched): Change
	enum names to MRP_TASK_SCHED_FIXED_*.

2003-03-01  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-task.c:
	(mrp_task_get_predecessor_relations): 
	- don't copy the returned list
	- Fixes #569
	(mrp_task_get_successor_relations): 
	- don't copy the returned list
	- Fixes #570

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_write_task_cb): don't free the predecessor list.

	* mrproject/mrp-task.c: 
	- Store assignments as a GList instead of hash table
	- Fixes #571

	* mrproject/mrp-task-manager.c
	(task_manager_get_task_units_intervals, task_manager_do_forward_pass):
	- don't free assignments list

	* mrproject/mrp-resource.c (resource_assignment_removed_cb): fixed
	  the remove code.

2003-03-01  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_overridden_day, mpp_write_overridden_date,
	mpp_write_calendar): Update for fixed API.

	* mrproject/mrp-calendar.c (foreach_day_interval_add_to_list) 
	(imrp_calendar_get_overridden_days, foreach_day_add_to_list) 
	(imrp_calendar_get_all_overridden_dates): Make these private and
	namespace the structs used. Fixes #577 and #578.

2003-02-28  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_add_property): Fill missing
	docs.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_task): 
	* storage-modules/mpx/mrp-storage-mpx.c (mpsm_load): 
	* mrproject/mrp-task-manager.c (task_manager_do_forward_pass) 
	(mrp_task_manager_calculate_task_work): 
	Update for API changes.

	* mrproject/mrp-project.c (mrp_project_calculate_task_work):
	Change to take start and finish arguments to make things
	clearer. Add some preconditions. Fixes #564.

	* mrproject/mrp-task.c (mrp_task_get_cost): Rewrite silly
	inefficient function in a saner way.

	* mrproject/mrp-project.c (mrp_project_task_traverse): Fix error
	in doc.

2003-02-28  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_write_project): copy the assignment list.

	* mrproject/mrp-resource.c:
	- Use a GList to store assignments, Fixes #566

2003-02-28  Richard Hult  <rhult@codefactory.se>

	* file-modules/xml/mrp-old-xml.c (mrp_old_xml_parse): Update for
	the imrp_ name change.

2003-02-28  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-task.c:
	(imrp_task_add_assignment): renamed to imrp..
	
	* mrproject/mrp-resource.c:
	(imrp_resource_add_assignment): renamed to imrp... Fixes #565

	* docs/libmrproject/libmrproject-sections.txt: 
	- removed mrp_relation_new

	* mrproject/mrp-relation.[ch]:
	(mrp_relation_new): removed, fixes #567

	* mrproject/mrp-task.c:
	(mrp_task_add_predecessor): don't use mrp_relation_new

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_write_project): don't free the resource list
	(mpp_write_project): don't free the group list

	* mrproject/mrp-calendar.c:
	(mrp_calendar_remove): don't free the resource list

	* mrproject/mrp-project.c:
	(mrp_project_get_resources): 
	- don't copy the returned list. Fixes #558
	(mrp_project_get_groups): 
	- don't copy the returned list. Fixes #559

2003-02-28  Richard Hult  <rhult@codefactory.se>

	* docs/libmrproject/libmrproject-sections.txt:
	* mrproject/mrp-project.c (mrp_project_get_task_tree): 
	* mrproject/mrp-task-manager.c (mrp_task_manager_get_task_tree):
	Remove. Fixes #563.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c (mpsm_load):
	Update for API change.

	* mrproject/mrp-project.c (mrp_project_reschedule): 
	* docs/libmrproject/libmrproject-sections.txt: 
	Change name from _recalc_tasks. Fixes #562.

	* docs/libmrproject/tmpl/mrp-object.sgml: Update.

	* docs/libmrproject/libmrproject-sections.txt: Update.

	* mrproject/mrp-relation.c (relation_set_property): 
	* mrproject/mrp-task.c (task_set_property) 
	(task_assignment_removed_cb, mrp_task_add_predecessor) 
	(mrp_task_remove_predecessor, mrp_task_add_assignment): 
	* mrproject/mrp-resource.c (resource_assignment_removed_cb) 
	(mrp_resource_add_assignment): Update for API change.

	* mrproject/mrp-object.c (mrp_object_changed): Renamed from
	mrp_object_set_needs_saving, and remove needs_saving
	argument. Fixes #560.

	Fix #554, #555, #556:
	
	* mrproject/mrp-project.c (imrp_project_set_resources): Rename
	from mrp_...
	(imrp_project_set_groups): Rename from mrp_...

	* file-modules/xml/mrp-old-xml.c (mrp_old_xml_parse): Update for
	API change.

	* mrproject/mrp-task.c (mrp_task_add_predecessor): Update for API change.

	* mrproject/mrp-project.c: Rename mrp_project_get_task_manager to
	imrp_...

2003-02-28  Mikael Hallendal <micke@codefactory.se>

	* mrproject/mrp-project.[ch]: Renamed mrp_project_is_untouched to
	  mrp_project_is_empty. Fixes #557

	* docs/libmrproject/*: Updated docs.
		
2003-02-27  Richard Hult  <rhult@codefactory.se>

	* file-modules/xml/mrp-old-xml.c
	(old_xml_read_overridden_day_type): Update for API changes.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_task_cb):
	(mpp_write_calendar, mpp_write_overridden_day, mpp_write_project): 
	Update for API changes.

	* mrproject/mrp-project.h: Remove mrp_project_open, that was
	removed from the c file.

	* mrproject/mrp-task.c: Add docs and fix a few doc errors.

	* mrproject/*.[ch]: Use GList for consistancy.

	* mrproject/mrp-application.c (application_finalize): Chain up, or
	stuff will break.
	(application_finalize): Chain up.

	* docs/libmrproject/libmrproject.types: Add types.

	* mrproject/mrp-group.c (group_class_init): Add blurbs.

	* docs/libmrproject/libmrproject-docs.sgml: Remove
	file-module.xml.

	* docs/libmrproject/libmrproject-sections.txt: Remove
	MrpTimeInterval, MrpCalendarDay and mrp_assignment_get_interval.

	* mrproject/mrp-assignment.h (mrp_assignment_get_units): Remove,
	unimplemented.

	* mrproject/mrp-time.h: Remove MrpTimeInterval.

	* mrproject/mrp-calendar.h: Remove MrpCalendarDay, unused.

2003-02-26  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-interval.[ch]: Remove, the code is in
	mrp-calendar.[ch].

	* mrproject/mrp-project.c (project_class_init): Add blurbs.

	* mrproject/mrp-assignment.h (mrp_assignment_get_units): Fix typo.

	* docs/libmrproject/libmrproject-docs.sgml: Remove private and
	interval.

	* mrproject/mrp-calendar.h: Remove unimplemented functions.

	* mrproject/mrp-calendar.c (mrp_interval_copy): Set ref_count to 1
	on the copy.

	* mrproject/mrp-calendar.c: Add docs.

2003-02-26  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-day.c: documented

	* mrproject/mrp-property.c: documented.

	* mrproject/mrp-application.c:
	- Changed so that we use GList instead of GSList for consistency.
	- Fixed #574
	- documented
	(mrp_application_get_all_file_writers): added

	* mrproject/mrp-group.c (mrp_group_new): added documentation

	* docs/libmrproject/tmpl/mrp-task-manager.sgml: removed

	* docs/libmrproject/libmrproject-sections.txt: removed section
	  mrp-task-manager.h

	* docs/libmrproject/Makefile.am: added mrp-task-manager.h to
	  IGNORE_HFILES.

2003-02-25  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-task.c: documentation

	* mrproject/mrp-project.c:
	- Documentation
	(mrp_project_open): removed. Unused and redundant. 
	(project_dump_task_tree): made static

2003-02-25  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-time.c: Add docs.

	* mrproject/mrp-relation.c: Add docs.

	* mrproject/mrp-resource.c: Add docs.

	* mrproject/mrp-assignment.c: Add docs.

	* mrproject/mrp-object.c: Add docs.

2003-02-25  Malcolm Tredinnick <malcolm@commsecure.com.au>

	Upgrade everything to work with newer automake and gettext
	versions.

	* Makefile.am, autogen.sh, configure.in,
	* docs/libmrproject/Makefile.am, m4/Makefile.am,
	* mrproject/Makefile.am, po/Makevars:
	Fix things up to work with automake-1.6 and gettext-0.11.4.

	* po/LINGUAS: The new location of the list of locales (used in
	latest gettext).
	
	* po/POTFILES.in: Remove an unbuilt file (needed to pass
	distcheck).

	* .cvsignore, m4/.cvsignore, po/.cvsignore: Pacify CVS.

	* docs/libmrproject/libmrproject-docs.sgml,
	* docs/libmrproject/libmrproject-sections.txt:
	* docs/libmrproject/tmpl/mrp-day.sgml:
	Remove most of the errors from the docs build process. Also put
	all the contents of libmrproject-unused.txt into
	libmrproject-sections.txt so that they are counted in the
	statistics and can be documented.

2003-02-23  Anders Carlsson  <andersca@codefactory.se>

	* mrproject/mrp-time.c: (imrp_time_init):
	Use the month and weekday names from the current locale.
	#289, reported by Christian Rose.
	
2003-02-22  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

	* configure.in: Added pt_BR to ALL_LINGUAS.

2003-02-21  Richard Hult  <rhult@codefactory.se>

	* tests/task-test.c (main): Add milestone tests.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_task): If the task
	is a milestone task, don't use the work and duration values.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_task_cb):
	Write the correct end time, and make sure work and duration is 0
	for milestone tasks.
	(mpp_write_task_cb): Write duration if we have fixed duration
	mode.

2003-02-21  Roozbeh Pournader  <roozbeh@sharif.edu>

	* configure.in: Added "fa" to ALL_LINGUAS.

2003-02-20  Dmitry G. Mastrukov  <dmitry@taurussoft.org>

	* configure.in: Added Belarusian to ALL_LINGUAS.

2003-02-19  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-object.c:
	(object_set_g_property): connect_object, fixes #454.

2003-02-19  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (task_set_property): Make sure milestone
	tasks have 0 work/duration, fixes #465.

	* mrproject/mrp-task-manager.c (task_manager_class_init): Remove
	extra CONSTRUCT_ONLY flag.

	* docs/DateFormat: Add %R.

	* mrproject/mrp-time.c (time_format_helper): Add %R.

	* mrproject/mrp-calendar.c (calendar_clean_intervals): Add, sorts
	cleans, and validates a list of intervals.
	(mrp_calendar_day_set_intervals): Clean up the interval list,
	fixes #413.

2003-02-18  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_do_backward_pass):
	Use finish-start to get calendar duration, fixes #539.	

	* tests/Makefile.am: Add task tests.

	* tests/self-check.c (check_pointer_result): Add.

	* tests/task-test.c: Add task tests.

2003-02-17  Mikael Hallendal  <micke@codefactory.se>

	* Release 0.9

	* configure.in: Bumped to 0.9
	
2003-02-14  Richard Hult  <rhult@codefactory.se>

	* file-modules/xml/mrp-old-xml.c (old_xml_read_property_specs):
	Ignore phase and phases custom properties.
	(old_xml_set_property_from_node, old_xml_read_crufty_phases): Hack
	to move phases from custom properties.

	* file-modules/xml/mrproject-0.6.dtd: Don't use custom properties
	for phases and phase.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_project) 
	(old_xml_read_phases): Read phases.
	(old_xml_read_project_properties): Read phase.

	* storage-modules/mrproject-1/mrp-parser.c: Remove lots of
	ifdeffed code for reading which is not used here.
	(mpp_write_project_properties): Write phase.
	(mpp_write_project): 
	(mpp_write_phases): Write phases.

	* mrproject/mrp-project.c (project_init): Remove phases/phase
	custom properties.
	(project_class_init): Add phases/phase properties.

2003-02-12  Alessio Frusciante  <algol@firenze.linux.it>

	* configure.in: Added "it" (Italian) to ALL_LINGUAS. 

2003-02-09  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "kn" to ALL_LINGUAS.

2003-02-09  Duarte Loreto <happyguy_pt@hotmail.com>

        * configure.in: Added "pt" to ALL_LINGUAS.

2003-02-07  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-property.c: added user-defined.
	(mrp_property_set_user_defined, mrp_property_get_user_defined):
	  added.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_property_specs): 
	- Always set user_defined to TRUE on mrp_property_new.

2003-02-06  Richard Hult  <rhult@codefactory.se>

	* file-modules/xml/mrp-old-xml.c (old_xml_read_resource): Read
	custom properties.
	(old_xml_read_property_specs): Read specs for resources.
	(old_xml_read_task): Actually read the values from the correct
	node.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_resource):
	Write custom properties for resources.
	(mpp_write_property_specs): Add resource support.

	* Makefile.am (EXTRA_DIST): Add spec file.

	* configure.in: AC_SUBST a LIBGSF_REQUIRED so we can require it
	for the spec file automatically.  Up libgsf requirement to 1.4.0
	since that's what the old spec file required and 1.3.0 contained a
	bug that made it not work with mrproject.
	Add libmrproject.spec to list of generated files.

	* mrproject/mrp-task-manager.c (task_manager_do_forward_pass):
	Split the needed units among the assigned resources, when in fixed
	duration mode.

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

	* mrproject/mrp-project.c (mrp_project_add_property): send the
	  object type.

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

	* file-modules/xml/mrproject-0.6.dtd: Fix up unused scheduling
	property on tasks and use it for fixed duration/work.

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_xml_set_task_sched): Impl.
	(mpp_write_task_cb): Write scheduling type.

	* file-modules/xml/mrp-old-xml.c (old_xml_get_task_sched): Impl.
	(old_xml_read_task): Read scheduling type.

	* mrproject/mrp-task-manager.c (task_manager_do_forward_pass): Set
	duration for summary tasks.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_task): Update for
	API change.
	(old_xml_read_task): Read both work and duration and use the one
	that is available. Makes reading older files work again after
	adding fixed duration scheduling.

	* mrproject/mrp-types.c (mrp_task_sched_get_type): Add sched type
	enum.

	* mrproject/mrp-task.c (task_class_init, task_set_property) 
	(task_get_property): Add sched property. Fixup property names.
	Don't change duration if we're in normal scheduling mode. Don't
	treat duration and work like the same property.
	(imrp_task_get_type, imrp_task_get_sched): Add internal getters
	for these.

	* mrproject/mrp-task-manager.c
	(task_manager_assignment_units_notify_cb,
	task_manager_task_assignment_added_cb,
	(task_manager_task_assignment_removed_cb): Recalc on units change.

	(task_manager_calculate_task_start): Rename to indicate that it's
	not just a getter.
	(rate_interval_new): Set units.
	(task_manager_get_task_rate_intervals): Use real rates from the
	assignments.
	(task_manager_calculate_task_finish): Rename to indicate that it's
	not just a getter. Implement fixed duration scheduling.
	(task_manager_do_forward_pass): Adapt to API change. Implement
	fixed duration scheduling.
	(task_manager_task_relation_notify_cb): Remove unnecessary, unused
	code.

	* mrproject/mrp-project.c (mrp_project_calculate_task_work):
	Change name from _get_task_work to indicate that it's not just a
	getter.

	* mrproject/mrp-task.c (mrp_task_get_cost): Update for API change.

2003-02-04  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_load): Cast the gsf inputs
	so we don't get warnings with a newer libgsf.

2003-02-03  Daniel Yacob  <locales@geez.org>

	* configure.ac: Added "am" (Amharic) to ALL_LINGUAS.

2003-01-31  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-application.c:
	(mrp_application_new): added the function.

2003-01-30  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_load): Block/unblock
	scheduler around file loading, cuts down loading times from 1
	minute to 1 second for Benjamins large project :)

	* mrproject/mrp-task-manager.c
	(mrp_task_manager_set_block_scheduling): Add, lets us block the
	scheduler.

	* file-modules/xml/mrp-xml.c (xml_validate): Set the whole
	validctxt to zero to silence valgrind complaints.

	* mrproject/mrp-project.c (mrp_project_new): Add to the bad hack
	for #416, should fix it.

2003-01-25  Takeshi AIHANA <aihana@gnome.gr.jp>

	* configure.in: Added ja to ALL_LINGUAS

2003-01-21  Mikael Hallendal  <micke@codefactory.se>

	* Release 0.8

	* configure.in: Bumped version
	
2003-01-16  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Make milestones always start at "start", not at the first working
	interval.

2003-01-12  Kenneth Christiansen  <kenneth@gnu.org>
 
        * configure.in: Added da to ALL_LINGUAS

2003-01-09  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (task_remove_subtree_cb): Remove
	assignments. Fixes #437.
	(task_remove_assignments): Add, remove assignments safely, without
	changing the hashtable in the foreach callback.
	(task_removed): Replace g_hash_table_foreach with
	task_remove_assignments.

	* mrproject/mrp-task-manager.c (task_manager_do_backward_pass):
	Use slist instead of list for the tasks.
	(task_manager_do_forward_pass): Set duration of summary tasks, not
	just normal tasks.
	(task_manager_do_backward_pass): Traverse with preorder instead of post.
	Fixes #431.

2003-01-08  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Only bail out if we didn't get any effort summed up.

2003-01-07  Xavier Ordoquy  <xordoquy@wanadoo.fr>

	* file-modules/xml/mrp-old-xml.c: (old_xml_read_assignment):
	* file-modules/xml/mrproject-0.6.dtd:
	* storage-modules/mrproject-1/mrp-parser.c: (mpp_read_assignment),
	(mpp_write_assignment):
	Added assigned units.

2003-01-07  German Poo-Caaman~o

        * configure.in: Added Spanish (es) to ALL_LINGUAS.

2003-01-07  Richard Hult  <rhult@codefactory.se>

	* file-modules/xml/mrp-old-xml.c (old_xml_get_task_type) 
	(old_xml_read_task): Read task type.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_xml_set_task_type)
	(mpp_write_task_cb): Write task type.

	* mrproject/mrp-task.c (task_set_property, task_get_property):
	Handle type property.

	* mrproject/mrp-types.c (mrp_task_type_get_type): Add boxed enum
	type for type enum (hmm :).

	* mrproject/mrp-task.c: Add type property.

	* file-modules/xml/mrproject-0.6.dtd: Put properties before
	constraint to fix #423.

2002-12-25  Artis Trops  <hornet@navigator.lv>

        * configure.in: Added Latvian (lv) to ALL_LINGUAS.

2002-12-20  Richard Hult  <rhult@codefactory.se>

	* configure.in: Bump version.

	* mrproject/mrp-calendar.c (foreach_copy_days)
	(foreach_copy_day_intervals):
	(mrp_calendar_copy): Copy days and day intervals, fixes #351.

2002-12-19  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-calendar.c (calendar_emit_changed): New function
	that emits the signal for an entire calendar subtree. Use it when
	the calendar has changed. Fixes #407.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_calendar): Read id.

	* file-modules/xml/mrproject-0.6.dtd: Add calendar property for
	project and resource, and id property for calendar.

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save):
	Don't use a static for the id, put it in the parser struct and
	initialize it for every save, not just once.
	(mpp_write_calendar): Write id.
	(mpp_write_resource): Write calendar id property.
	(mpp_write_project): Write calendars before tasks/resources.
	(mpp_write_project_properties): Write calendar id property.

	* mrproject/mrp-project.c: Emit needs_saving everywhere where
	changes are made to the project.

	* mrproject/mrp-calendar.c (mrp_calendar_day_set_intervals): Emit
	calendar_changed. Emit needs_saving everywhere where changes are
	made to the project.

	* docs/libmrproject/Makefile.am: Disable the gtk-doc check for
	now. Added a bug about this, #411.

	* Makefile.am (SUBDIRS): 
	* configure.in: Remove tests directory for now. 
	Add the third argument for AC_DEFINEs.

	* acconfig.h: Remove.

	* tests/calendar-test.c (main): Create a project and pass to
	mrp_calendar_new so we get this test passing.

	* tests/self-check.c: Include config.h

	* tests/Makefile.am (libselfcheck_la_SOURCES): Doh, add backslash.

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

	* mrproject/mrp-project.c (project_set_calendar): Take care of
	connecting/disconnecting to the calendar.
	(project_init): Use it here.
	(project_set_property): And here.

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Workaround broken calendars by aborting the scheduling if we don't
	advance at all.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_overridden_day):
	Read date as string, not int. Also get the date from a prop, not
	node contents.

	* mrproject/mrp-time.c (time_format_helper): Fix off by one for
	month number.

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_overridden_date): Write the date as a string, not int.

	* mrproject/mrp-project.c (imrp_project_remove_calendar_day):
	Replace uses of the day with a working day.

	* mrproject/mrp-calendar.c (mrp_calendar_remove): Fall back to a
	existing calendar if a used one is removed.
	(imrp_calendar_replace_day): New function that replaces all
	occurencies of a day type with another. Used when a day type is
	removed.

	* file-modules/xml/mrp-old-xml.c
	(old_xml_read_overridden_day_type): Read intervals as HHMM.
	Reverse the intervals so they get passed in the correct order.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_interval):
	Write intervals as HHMM, not seconds. Fixes #405.

2002-12-17  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_do_forward_pass): Use
	the earliest work_start instead of earliest start for start time
	of summary tasks. Fixes bug spotted by Xavier.

	* mrproject/mrp-calendar.c (mrp_calendar_remove): Copy the list,
	so we don't remove elements from it while iterating. Fixes
	infinite loop when removing a calendar with children.

	* mrproject/mrp-resource.c (resource_finalize): Unref calendar.

	* mrproject/mrp-property.c (mrp_property_new): Use G_MININT
	instead of -G_MAXINT for lower limit.

	* mrproject/mrp-task-manager.c (mrp_task_manager_recalc): Add
	"force" parameter, use to force a recalc.  Remove calendar notify
	handler, and let the project call recalc itself. Fixes a bit of a
	weird interaction between the task manager and the project. Update
	to use the new parameter everywhere.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_string_list): Impl.
	(old_xml_set_property_from_node): Support string list.
	(old_xml_read_project): Read custom property specs and values.

2002-12-16  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_custom_properties): Special case string lists.
	(mpp_write_string_list): Implement.

	* mrproject/mrp-property.c (mrp_property_type_as_string): Add
	string list.

	* file-modules/xml/mrproject-0.6.dtd: Allow more than one
	properties tag.

	* mrproject/mrp-project.c (mrp_project_has_property): Add, for
	checking if a property exists.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_constraint): Plug
	leak.
	(old_xml_read_property_specs): Support custom properties for
	project.

	* mrproject/mrp-project.c: Inherit MrpObject to get custom
	properties support for projects.
	(project_init): Add phases and phase custom properties.

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_property_specs): Support custom properties for project.
	(mpp_write_project): Write custom properties.

2002-12-15  Christian Neumair  <chris@gnome-de.org>

	* mrproject/mrp-task.c: Marked g_set_error() in
	mrp_task_add_predecessor() for translation.

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

	* mrproject/*.c: Don't mark gparam nicks/blurbs for translation,
	it's just a huge pain to translate those for no good.

	* Merge in from calendar-work branch.
	
2002-12-15  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (task_manager_do_backward_pass):
	Subtract the lag from the latest start time to get critical path
	highlighting to work with lag.

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

	* mrproject/mrp-task-manager.c (mrp_task_manager_recalc): Enable
	backward pass now that the scheduling is working properly.

	* file-modules/xml/mrproject-0.6.dtd (Note): Fix type, empty =>
	end.

	* mrproject/mrp-task-manager.c
	(task_manager_task_connect_signals): Connect to
	assignment_added/removed signals.
	(task_manager_task_assignment_added_cb)
	(task_manager_task_assignment_removed_cb): Recalc. Fixes #371.

	* mrproject/mrp-task.c (mrp_task_get_interval): Remove.

	* mrproject/mrp-assignment.c (mrp_assignment_get_interval):
	Remove.

	* mrproject/mrp-calendar.c (mrp_calendar_day_get_total_work):
	Remove debug spew.

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Set work start to regular start if we didn't find a work start.

	* mrproject/mrp-private.h: Remove old cruft and do
	s/glong/mrptime.

	* mrproject/mrp-task.c (mrp_task_get_interval): Remove, unused and
	not implemented.
	(mrp_task_get_duration): Remove obsolete comment and summary task
	special casing.  Clean up a lot of old stuff, s/glong/mrptime/,
	make all getters public and remove some old declarations that are
	left over from the days of yore.

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

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Just skip if we hit an empty interval. Remove debug spew.

	* tests/calendar-test.c: MRP_DAY_foo => mrp_day_get_foo().

	* mrproject/mrp-project.c (project_setup_default_calendar): Some
	more MRP_DAY_foo => mrp_day_get_foo().

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Free rate intervals.
	(task_manager_get_task_rate_intervals): Free temporary rate
	intervals.

	* mrproject/mrp-calendar.c (calendar_new): Make this static. Take
	the parent calendar as argument since we need the parent when
	deriving a calendar.
	(mrp_calendar_new): Use calendar_new instead of duplicating the
	code.
	(mrp_calendar_copy): Pass the root calendar as parent.
	(mrp_calendar_derive): Pass the parent calendar as parent.
	
	* file-modules/xml/mrp-xml.c: Include config.h.

2002-12-13  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c: if 0 on the loading
	  code. This will be removed since it's been moved to
	  file-modules/xml.

	* *.c: MRP_DAY_* is now ints used in loading/saving. Use
	  mrp_day_get_* () for these instead.

	* mrproject/mrp-calendar.c:
	(calendar_set_property): don't (un)ref the project 

	* file-modules/xml/mrp-old-xml.c:
	(old_xml_read_day_type): don't add default types.
	(old_xml_read_overridden_day_type): read id as an attribute
	  instead of node value.
	(old_xml_read_project): Add the hard coded default day types to
	  the hash for lookups when resolving id to day.

	* file-modules/xml/mrproject-0.6.dtd:
	- Set the day type id as a property instead of value on the day
	  tag.

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

	* mrproject/mrp-calendar.c (mrp_calendar_day_get_total_work): New
	function, adds the working time intevals for a day type.

	* mrproject/mrp-task.c: Remove task_manager pointer from priv
	struct, it was never set and only used in mrp_task_get_cost.
	(mrp_task_get_cost): Don't access the task_manager pointer.

	* mrproject/mrp-project.c (mrp_project_get_task_work): Wrap this
	so frontends can use it.

	* file-modules/xml/mrp-old-xml.c (old_xml_read_task): Likewise.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_read_task): Update
	to use the new duration->work stuff.

	* mrproject/mrp-task.c (mrp_task_duration_to_work): Remove, and
	some #if 0'ed code below. It's handled by the task manager now.

	* mrproject/mrp-task-manager.c (task_manager_do_forward_pass): Use
	mrp_task_manager_get_work.
	(mrp_task_manager_get_task_work): Add, calculates the work needed
	to get the specified duration, with calendars and assignments in
	consideration.
	(task_manager_get_work_for_calendar): Helper function for the
	above.

	* mrproject/mrp-task.c (mrp_task_get_cost): Use
	mrp_task_manager_get_task_work.

	* mrproject/mrp-task-manager.c (task_manager_get_task_duration):
	Don't add any work done before the task actually starts.
	(mrp_task_manager_recalc): Postpone recalc if the root is not
	inserted yet.

2002-12-12  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-calendar.c:
	(mrp_calendar_copy): don't call add_child
	(mrp_calendar_derive): same.

	* mrproject/mrp-project.c (project_init): don't use
	  mrp_calendar_new to create the root calendar.

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

	* file-modules/xml/mrp-old-xml.c (old_xml_read_calendar): Update
	for new calendar API here too.

	* mrproject/mrp-resource.c (resource_set_property)
	(resource_get_property, resource_class_init): Add calendar
	property.
	(mrp_resource_set_calendar): Just set the property.

2002-12-12  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-calendar.c:
	(calendar_new): Added, from mrp_calendar_new but without
	  signalling.
	(mrp_calendar_new): 
	- Add to the root calendar and signal tree_changed.
	- Changed API to match mrp_calendar_copy and mrp_calendar_derive

	* storage-modules/mrproject-1/mrp-parser.c: 
	- changed day-types to overridden-day-types when in-calendar

	* file-modules/xml/mrproject-0.6.dtd:
	- updated to with calendar information

	* file-modules/xml/mrp-old-xml.c:
	- changed day-types to overridden-day-types when in-calendar
	(old_xml_read_day_type): check for correct node name.
	(old_xml_read_project): fixed bug causing it not to read any
	  day-types.

2002-12-11  Mikael Hallendal  <micke@codefactory.se>

	* file-modules/xml/mrp-old.xml.c:
	(old_xml_read_project): Read calendars
	(old_xml_read_day_types): Added
	(old_xml_read_default_day): Added
	(old_xml_read_overridden_day_type): Added
	(old_xml_read_overridden_day): Added
	(old_xml_read_calendar): Added

	* storage-modules/mrproject-1: Write calendar-stuff
	
2002-12-11  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c
	(task_manager_project_calendar_notify_cb): Add, recalc when we get
	a new calendar.
	(task_manager_*_notify_cb): Changed name from _changed_ since the
	signal name is notify.

	* mrproject/mrp-project.c (project_get_property) 
	(project_set_property): Add a calendar property.

2002-12-10  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-calendar.c (calendar_get_default_day): Add derive
	argument so that we can get the non-derived value.
	(mrp_calendar_get_day): Get the non-derived value if specified.

	* mrproject/mrp-project.c (project_class_init): Use the right
	marshaller for calendar_tree_changed.

	* mrproject/mrp-resource.c (mrp_resource_set_calendar)
	(mrp_resource_get_calendar): Added, might want properties for this
	later.

	* mrproject/mrp-task-manager.c (mrp_task_manager_recalc): Postpone
	the recalc if the root node doesn't have any children.
	(task_manager_do_forward_pass, task_manager_get_task_duration)
	(task_manager_get_task_rate_intervals, rate_interval_new)
	(rate_interval_sort_func, task_manager_get_task_start): Rework
	the forward pass to take resource allocations in consideration,
	including calendars.

	* mrproject/mrp-calendar.c (mrp_interval_get_absolute): Allow
	NULL.

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

	* mrproject/mrp-calendar.c (mrp_calendar_set_default_days): Emit
	calendar_changed signal.
	(mrp_calendar_set_days): Emit calendar_changed_signal.
	(calendar_get_default_day): Add a "derive" argument, where TRUE is
	the old behavior and FALSE makes it not traverse the calendar
	tree, if the day is not set.
	(calendar_get_day): Same as above.
	(mrp_calendar_get_day_no_derive): New function that returns the
	"use base" day type instead of a derived value.

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

	* mrproject/mrp-calendar.c (mrp_calendar_day_set_intervals): Use
	mrp_interval_{un}ref instead of mrp_day_...
	(mrp_calendar_new): Set properties in the g_object_new call
	directly.
	(calendar_get_property, calendar_set_property): Impl set/get for
	project property.

	* mrproject/mrp-project.c (project_setup_default_calendar): Setup
	default calendar, so we have a real calendar to test things with.
	(project_init): Setup calendar.

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

	* mrproject/mrp-project.c
	(imrp_project_signal_calendar_tree_changed): Accept NULL for
	  project. (Used in the testing for now). Just return silently.
	(mrp_project_get_root_calendar): added

	* mrproject/mrp-calendar.c:
	(mrp_calendar_copy): add the copy as
	  child to the root calendar.
	(mrp_calendar_derive): use mrp_calendar_add_child instead of
	  having the code in both places

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

	* mrproject/mrp-calendar.c (mrp_calendar_day_get_intervals)
	(mrp_calendar_day_set_intervals): Implement those functions, that
	get a set the intervals for a certain day type/calendar combo.

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

	* mrproject/mrp-project.c:
	- added a root-calendar which is a dummy calendar just to have a
	  root in the tree.
	- added calendar-tree-changed signal which will be emitted as soon
	  as a calendar is added, removed or moved in the tree.
	- added imrp_project_signal_calendar_tree_changed, used to emit
	  the new signal.

	* mrproject/mrp-calendar.c: 
	- added project property
	- changed mrp_calendar_new to take property argument
	- added mrp_calendar_add_child, mrp_calendar_remove and
	  mrp_calendar_reparent.

	* mrproject/mrp-project.c:
	- added day_added, day_removed and day_changed signals that work
	  on MrpDay's.
	- Added interal functions for handling MrpDays.

	* mrproject/mrp-calendar.c:
	- Calendars now work on MrpDay's instead of the old stuff we
	  started on.

	* mrproject/mrp-day.[ch]: Added
	
2002-11-27  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c
	(task_manager_set_task_start_and_finish): Temporary fix until
	calendars are fully working.

2002-11-21  Richard Hult  <rhult@codefactory.se>

	* docs/libmrproject/.cvsignore: Ignore more files.

	* configure.in: Add doc makefiles.

	* mrproject/mrproject.h: Don't include mrp-init.h

	* docs/Makefile.am (SUBDIRS): Enable doc building.

	* docs/libmrproject/Makefile.am: Update for xml output mode and
	clean up a bit, add ignore files.

	* mrproject/Makefile.am: Remove mrp-init.[ch], not used.

	* mrproject/mrp-types.h: Add typedef for constraint to make the
	docs more consistent.

	* configure.in: Check for gtk-doc >= 0.10 to get the xml output
	mode.

2002-11-19  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-calendar-manager.[ch]: Removed, unused.

2002-11-18  Mikael Hallendal  <micke@codefactory.se>

	* Release 0.7

	* configure.in: Bumped version to 0.7

2002-11-12  Richard Hult  <rhult@codefactory.se>

	* configure.in: Added russion translation from Vitaly Lipatov.

2002-11-07  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/xml/Makefile.am (moduledir): 
	* storage-modules/mrproject-1/Makefile.am (moduledir): 
	* storage-modules/mpx/Makefile.am (moduledir): 
	* mrproject/Makefile.am (INCLUDES): 
	* file-modules/xml/Makefile.am (moduledir): 
	* file-modules/mpx/Makefile.am (moduledir): 
	- Don't use the removed variables.

	* configure.in: 
	- removed MRP_STORAGEMODULEDIR and MRP_FILE_MODULES_DIR.

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

	* file-modules/xml/mrp-old-xml.c (old_xml_read_predecessor): Read
	lag, fixes #284.

2002-11-05  Richard Hult  <rhult@codefactory.se>

	* configure.in: Bump version.

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save):
	Remove mrproject-1: check, we're using a regular filename now.

	* mrproject/mrp-project.c (mrp_project_save_as): Don't allow NULL
	or empty filenames.
	(mrp_project_load): Set the uri to the name of the loaded
	file. Change wording of warning message.

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

	* file-modules/xml/mrproject-0.6.dtd: Patch from Xavier Ordoquy
	<xordoquy@meditrans.fr> that brings the DTD up to date.

2002-10-26  Matt Wilson  <msw@redhat.com>

	* mrproject/Makefile.am (libmrproject_la_LIBADD): link
	libmrproject.la against all the libraries which it needs (reviewed
	by micke@codefactory.se)

2002-10-01  Stanislav Brabec  <sbrabec@suse.cz>

	* configure.in: Added cs to ALL_LINGUAS.

2002-09-18  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Added Norwegian to ALL_LINGUAS.
	
2002-09-03  Richard Hult  <rhult@codefactory.se>

	Fixes #266:
	* mrproject/mrp-task-manager.c (mrp_task_manager_set_root): Set
	the "project" property on the root task as well.
	(task_manager_init): Don't create the root task here, since we
	don't yet have a project for the manager.
	(task_manager_set_property): Create the root here.
	(task_manager_class_init): Make project property a construct
	property.
	(task_manager_do_forward_pass): Set work instead of duration since
	we don't have duration working yet.

	* file-modules/xml/mrproject-0.6.dtd: Add work property to task,
	and make both work and duration implied instead of required.
	
2002-09-02  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c: 
	- Changed to use the new file modules scheme with libgsf instead
	  of the old storage modules. 
	- added a reference for MrpApplication.
	(mrp_project_load): Now use libgsf to open the file and then loop
	  through all available file readers to see which one accepts the 
	  file. Will later probe instead of trying to read.

	* mrproject/mrp-file-module.c (mrp_file_reader_read): added. Will
	  probably need to have a _probe in the future too.

	* mrproject/mrp-error.h: added NO_FILE_MODULE error.

	* mrproject/mrp-application.c: added support for having different
	  file readers. This will be extended to cover output file modules
	  in the future.

	* file-modules/xml/mrp-xml.c: finished to work with currently
	  MrProject 0.5.1 and MrProject 0.6 projects. Currently only
	  reads.

	* file-modules/xml/mrp-old-xml.[ch]: The old XML reader "ported"
	  to the new libgsf based read modules.

	* file-modules/xml/Makefile.am: 
	- added mrp-old-xml.c and the DTDDIR compile flag.

	* file-modules/mpx/mrp-mpx.[ch]: skels for the mpx loader.

	* libmrproject.pc.in: require libgsf.

	* configure.in: now require libgsf.

2002-08-28  Richard Hult  <rhult@codefactory.se>

	* configure.in: Disable building of static libraries.

	Patch from Christian Spoer <spoer@web.de>:
	* mrproject/mrp-resource.c: Add note field. 

	* storage-modules/mrp-parser.c: Read/write resource note.
	
2002-08-28  Christophe Merlet  <christophe@merlet.net>

        * configure.in: Added fr to $ALL_LINGUAS.

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

	* file-modules/xml/mrproject-0.5.1.dtd: Update.
	* file-modules/xml/mrproject-0.6.dtd: DTD for 0.5.9x/0.6.

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

	* file-modules/xml/mrproject-0.5.1.dtd: Add first try at a DTD for
	the old format.

2002-08-23  Andras Timar  <timar@gnome.hu>

        * configure.in (ALL_LINGUAS): Added Hungarian (hu).

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

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save):
	Don't translate the filename.

	* mrproject/mrp-time.c: Fix problem where month name initials were
	the same, which meant i18n problems. Add comments for translators.

	* mrproject/mrp-application.c (application_init_gettext): Init
	MrpTime as well. 

	* mrproject/mrp-time.c (imrp_time_init): Pregenerate translated
	names since it actually shows up on profiles.
	Remove _() around those string everywhere.

2002-08-23  Christian Neumair  <christian-neumair@web.de>

	* configure.in (ALL_LINGUAS): Added German (de).

2002-08-22  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-file-module.[ch]: added

	* mrproject/mrp-application.c:
	- only allow one instance of MrpApplication
	(imrp_application_register_writer): added

	* mrproject/Makefile.am:
	(libmrproject_la_SOURCES): added mrp-file-module.[ch]

	* file-modules/*: 
	- added, this will eventually replace the storage-modules.

	* configure.in: added file-modules stuff.

	* Makefile.am (SUBDIRS): added file-modules.

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

	* mrproject/mrp-task-manager.c (task_manager_set_property): Recalc
	when the calendar changes.

	* mrproject/mrp-calendar.c (mrp_calendar_disable) 
	(mrp_calendar_enable): Add temporary solution for
	disabling/enabling the 8 hours working calendar until the
	customization is implemented. Emit a signal when we switch between
	the two modes.

2002-08-22  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrproject.h: added mrp-application.h

	* mrproject/mrp-application.c: 
	- compiles and is now used as base class for MgApplication.

	* mrproject/mrp-application.[ch]: added

	* mrproject/mrp-id-service.[ch]: removed

	* mrproject/mrp-task.c: 
	* mrproject/mrp-calendar-manager.c: 
	* mrproject/mrp-storage-module-factory.c: 
	* mrproject/mrp-storage-module.c: 
	* mrproject/mrp-resource.c: 
	* mrproject/mrp-task-manager.c: 
	* mrproject/mrp-calendar-manager.c: 
	* mrproject/mrp-relation.c:
	* mrproject/mrp-assignment.c: 
	* mrproject/mrp-group.c: 
	* mrproject/mrp-project.c: fixed to match hacking guide.

2002-08-20  Mikael Hallendal  <micke@codefactory.se>

	* Moved to GNOME CVS.
	
2002-08-19  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (mrp_task_get_cost): Get work instead of
	duration.

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

	* mrproject/mrp-object.c (object_set_property): Call
	mrp_object_set_needs_saving to fix #234.

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

	* mrproject/mrp-object.c (object_set_property): 

	* configure.in: Bump version to 0.6.

	* autogen.sh: Use automake-1.4 and aclocal-1.4 and update ftp
	links for automake and libtool.

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

	* mrproject/mrp-resource.c (mpr_set_property): Don't get ints twice.
	(mpr_set_property): Emit needs saving when changing group.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_read_resource):
	Comment out cost overtime for now.
	(mpp_read_task): Treat duration in old files as work.
	(mpp_write_resource): Comment our overtime.

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

	* Release 0.5

	* configure.in: Bumped version to 0.5

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

	* mrproject/mrp-project.c: 
	- Fixes #44.
	- change NEEDS_SAVING signal to NEEDS_SAVING_CHANGED to better
	  describe what it does.
	(mrp_project_add_property): added user_defined argument. Needed to
	  solve #44. Don't call set_needs_saving if not user_defined.
	(imrp_project_set_needs_saving): only set untouched == FALSE if
	  needs_saving is TRUE.

	* mrproject/mrp-object.c:
	(mrp_object_set_needs_saving): added argument needs_saving.

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

	* mrproject/mrp-task.c (mrp_task_get_cost): Comment out overtime
	cost. 

	* mrproject/mrp-project.c (mpp_init): Comment out overtime cost
	property until it's being used.

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

	* mrproject/mrp-project.c (imrp_project_set_needs_saving): Emit
	even if needs_saving is already set. Fixes a bug where we the save
	button would never become sensitive. This is not ideal, but we
	have a problem with custom properties and the fact that mrp-objects
	need a project to emit that signal and they don't have it from
	before they are inserted.

2002-07-09  Alvaro del Castillo <acs@andago.com>

	* storage-modules/mrproject-1/mrp-parser.c: solved problem
    reading floats from the XML file.

2002-07-08  Alvaro del Castillo <acs@andago.com>

	* mrproject/mrp-project.c
	* mrproject/mrp-task.c
	* storage-modules/mrproject-1/mrp-parser.c:
	changed cost-std for cost and cost-ovt for
	cost-overtime. Also the labels are now Cost
	and Overtime Cost.

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

	* mrproject/mrp-task-manager.c (mtm_do_backward_pass): Don't
	process the root task. Clean up a bit.
	
2002-07-06  Alvaro del Castillo <acs@andago.com>

	* mrproject/mrp-task.[ch]: added new function to compute
	a task cost

2002-07-03  Alvaro del Castillo <acs@andago.com>

	* storage-modules/mrproject-1/mrp-parser.c: mapping between
	old rate-cost/ovt and the new custom properties for cost

	* mrproject/mrp-resource.c: remove the rate-cost/ovt from
	mrp-resource because now they are cost custom properties

2002-07-02  Alvaro del Castillo <acs@andago.com>

	* mrproject/mrp-project.c: creation of cost custom properties

	* mrproject/mrp-property.[ch]: added new property type cost

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

	* mrproject/mrp-task-manager.c (mtm_set_task_start_and_finish):
	Don't delay start if start is locked down by a constraint. Fixes
	#215.

	* mrproject/mrp-task.c(mrp_task_duration_to_work): Add
	precondition.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_read_task): Read
	"work" instead of "duration", unless we only have duration
	specified in the file.
	(mpp_write_task_cb): Write "work".

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

	* mrproject/Makefile.am (INCLUDES):
	* storage-modules/mpx/Makefile.am (moduledir): 
	* storage-modules/mrproject-1/Makefile.am (moduledir): Use the
	module dir defined in configure.in.

	* configure.in: Define the storage module dir here instead of in
	each place that need it.

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

	* configure.in: Raise glib requirement to 2.0.4. 
	Remove gtk-doc build for now. Bump version to 0.4.
	
2002-06-20  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c:
	* mrproject/mrp-private.h:
	* mrproject/mrp-task.c: Add properties for latest
	start/finish. Rename late to latest.

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

	* mrproject/mrp-task.c (mrp_task_duration_to_work): Rename from
	mrp_task_calculate_duration and make it calculate the amount of
	work needed to get a certain (calendar) duration.

	* mrproject/mrp-task-manager.c (mrp_task_manager_move_task): Don't
	check if we just move the task to its grand parent
	(unindenting). Fixes #190.

	* mrproject/mrp-task.c (mrp_task_calculate_duration): Use a real
	calendar.

	* mrproject/mrp-task-manager.c (mtm_set_task_start_and_finish):
	Use a real calendar.

	* mrproject/mrp-calendar.c: Use regular C array for default days
	instead of g_array.
	(mrp_calendar_get_default_day): mrp_time_day_of_week returns 0 -
	6, so don't subtract 1.
	(mrp_calendar_get_day): Actually return the found day.
	(calendar_init): Create the hash table.

	* mrproject/mrp-interval.c (mrp_interval_get_type): Add.

	* mrproject/mrp-task.c (mpt_set_property): Remove #ifdef 0:ed code.

	* mrproject/mrp-task-manager.c (mtm_set_task_start_and_finish):
	Unbreak critical path.

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

	* mrproject/mrp-time.c (time_format_helper): Add %y and %Y.
	Add temporary interval struct, remove when calendar stuff is
	landed.

	* mrproject/mrp-task-manager.c (mtm_set_task_start_and_finish):
	Skip non-working time when scheduling.

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

	* mrproject/mrp-calendar.c:
	(calendar_init): initialize the default_days array and call the
	  dummy function for hardcoded test case.
	(calendar_setup_hardcoded): add the hard coded days to the
	  default week

	* mrproject/mrp-interval.c:
	(mrp_interval_get_absolute): added
	(mrp_interval_compare_start): removed.

	* mrproject/mrp-calendar.c (calendar_setup_hardcoded): 
	- added temporal function for a hard coded default-week.

	* mrproject/Makefile.am: readded mrp-interval.[ch]

	* mrproject/mrp-project.c (mpp_init): added calendar to priv
	  struct. This is the project default calendar. Currently just
	  hard coded into a 5 day work and 2 day nonwork week.

2002-06-17  Richard Hult  <rhult@codefactory.se>

	* Change the mrptime type to a long int and update accordingly.

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

	* configure.in: Prettify pkg-config checking output.
	(GETTEXT_PACKAGE): Use ${DATADIRNAME} instead of share.

2002-06-10  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (mrp_task_has_relation): Impl.  
	Add work throughout, just a placeholder property that doesn't 
	do anything, for now.
	(mpt_set_property): Sync work and duration.
	(imrp_task_get_work): Add.
	(imrp_task_set_work): Add.

	* mrproject/mrp-project.c (mpp_init): Don't set the name to
	Unnamed, just use an empty string.

2002-06-04  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/Makefile.am:
	(libmrprojectinclude_HEADERS): added mrp-interval.h
	(libmrproject_la_SOURCES): added mrp-interval.c

	* mrproject/mrp-interval.h: added ref/unref and removed _free.

	* mrproject/mrp-interval.c: added

2002-06-04  Richard Hult  <rhult@codefactory.se>

	* Change back to GPL. Hopefully the we've made up our minds this time?
	:)

2002-06-04  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mtm_set_task_start_and_finish):
	Move out from do_forward_pass and add ifdeffed code for skipping
	non-working time. Will continue working on this when the calendar
	stuff is implemented.

	* mrproject/mrp-time.c (mrp_time_diff): Add.

2002-06-03  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-calendar.h: removed the interval stuff.

	* mrproject/mrp-interval.h: split from the previous mrp-calendar.h

	* mrproject/mrp-calendar.h: 
	- now also fits 80 chars width, cheers rhult :)
	- started working on the calendar implementation.

	* mrproject/mrp-calendar.c: removed some code, hope this isn't
	  used anywhere yet :)

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

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_task_cb):
	Save percent complete.
	(mpp_read_task): Use percent-complete value. These two fix #203.

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

	* mrproject/mrp-project.c (mpp_init): Use
	mrp_time_new_from_local_time_t, since otherwise the day might be
	wrong when starting a project around midnight :).

	* mrproject/mrp-time.c (mrp_time_new_from_local_time_t): Add,
	creates a UTC MrpTime from a time_t, interpreted as local time.

2002-05-27  Mikael Hallendal  <micke@codefactory.se>

	* autogen.sh (PROJECT): it shuld be libmrproject, not MrProject

2002-05-27  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (imrp_task_detach): Don't unlink the sorted
	tree here, when that's needed the caller will use unlink/rebuild
	anyway. Fixes a bug where moving a task within the same parent
	wouldn't work. 

2002-05-24  Richard Hult  <rhult@codefactory.se>

	* docs/libmrproject/Makefile.am (FIXXREF_OPTIONS): Comment
	this out, we don't use it.

	* configure.in: Define DOC_CFLAGS without the compile warning
	flags.

	* docs/libmrproject/Makefile.am (GTKDOC_CFLAGS): Use DOC_FLAGS instead
	of CFLAGS.

2002-05-24  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_remove_group): 
	- set default group to NULL if that's the one we are removing. 
	- Fixes #192

2002-05-24  Anders Carlsson  <andersca@gnu.org>

	* Add doc framework.

2002-05-24  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/Makefile.am: new try on solving the build probs.

	* configure.in: use AM_PATH_GLIB_2_0

2002-05-24  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mrp_task_manager_move_task): Small
	optimization, only do a complete rebuild if we change parents.

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

	* mrproject/Makefile.am:
	- Removed some copy&paste-stuff that made make distcheck fail.
	- Fixes #189

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

	* configure.in: bumped version to 0.3

2002-05-21  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c (imrp_project_property_changed): 
	- set needs saving: fixes #186

	* docs/mrp-class-diagram.dia: added UML from Frank Rehberger

	* docs/mrp-project-interaction-diagram.dia: Same.

2002-05-21  Alvaro del Castillo  <acs@andago.com>

	* storage-modules/mrproject-1/mrp-parser.c: if date is NULL or "",
	  we save "" for the field. Then in the loading, the "" is
	  converted to a NULL date. 

2002-05-21  Alvaro del Castillo  <acs@andago.com>

	* storage-modules/mrproject-1/mrp-parser.c: 
	- duration is in seconds so it is an int
	- g_free MrpTime

2002-05-20  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-property.c (mrp_property_type_as_string): 
	- it should be Duration.

2002-05-20  Alvaro del Castillo  <acs@andago.com>

	* mrproject/mrp-time.h: changed gint to int. (rhult) it's
	copy-paste code so when a new libical comes out it's easier to
	incorporate that if we don't do unnecessary changes to those parts

2002-05-20  Alvaro del Castillo  <acs@andago.com>

	* mrproject/mrp-property.c: added MRP_PROPERTY_DATE and
	MRP_PROPERTY_DURATION custom properties. 

	* mrproject/mrp-time.h: changed int to gint

	* storage-modules/mrproject-1/mrp-parser.c: support for load and
	save MRP_PROPERTY_DATE and MRP_PROPERTY_DURATION custom
	properties.

2002-05-19  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (imrp_task_{get,set}_late_{start,finish}):
	Add. 
	(mpt_class_init): Add "critical" property.
	(mpt_set_property): Likewise.
	(mpt_get_property): Likewise.

	* mrproject/mrp-task-manager.c (mtm_do_backward_pass): Add, not
	tested but works somewhat.

2002-05-18  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mtm_class_init): Remove _dispose.
	Break some long lines.
	(mtm_do_forward_pass): Rename from mtm_forward_pass_do.

	* mrproject/mrp-task.c: Comment some more priv struct fields.
	(mpt_finalize): Free note and sorted node, remove old FIXME
	comment. 
	(mpt_remove_relations): Beautify.
	(mpt_remove_subtree_cb): Likewise.
	
2002-05-15  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mpx/: Change license to LGPL here too.

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

	* Change license to LGPL (should have been LGPL from the
	beginning).
	
	* mrproject/mrp-project.c (mrp_project_remove_property): Emit
	needs_saving.
	(mrp_project_add_property): Likewise. Fixes #176.
	
	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_custom_properties): Impl.
	(mpp_read_property_specs): Impl.
	(mpp_read_task): Set the "project" property on the new tasks,
	otherwise we won't be able to set custom properties until after
	they're inserted into the project.
	(mpp_read_task): Set "project" property, otherwise we can't set
	custom properties until after the whole project is loaded.
	Read custom properties.
	(mpp_read_custom_properties): Impl.

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

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_property_specs): Impl. 
	(mpp_write_project): Write property specs.
	(mpp_property_type_from_string): Impl.

	* mrproject/mrp-relation.c (mr_set_property): Fix some
	style inconsistency. Don't try to call set_needs_saving if we
	don't have a predecessor/successor.

2002-05-10  Alvaro del Castillo <acs@andago.com>

	* mrproject/mrp-relation.c: follow the changes in relation and
	  change the need_saving flag. Fixes: #166 

2002-05-10  Alvaro del Castillo <acs@andago.com>

	* mrproject/mrp-task-manager.c: follow the changes in relation
	  properties. Fixes: #167 (also #163) 

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

	* storage-modules/mpx/mrp-parser.c: added Ximian in copyright,
	  forgotten when moving code into new file.

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

	* mrproject/mrp-property.c: Remove the static quarks and get them
	every time they're needed with g_quark_from_static_string.
	(property_set_type): Set type quark as type, not label.
	(mrp_property_type_as_string): Add, returns type as a string for
	display in a UI.

	* mrproject/mrp-property.c (mrp_property_new): Use a boolean to
	tell if the quarks are initialized (the quark type is unsigned so
	-1 might not work everywhere, better safe than sorry). Use
	-G_MAXFLOAT as lower limit for floats instead of G_MINFLOAT.
	

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

	* mrproject/mrp-project.c (mrp_project_get_properties): 
	- changed so that it takes object_type instead of object itself.

	* mrproject/mrp-object.c: 
	(object_set_g_property): 
	- connect to "property_removed" on project (and disconnect when
	  project is unset). 
	(object_property_removed_cb): added/impl.
	(mrp_object_get_properties): send the object_type to
	  mrp_project_get_properties instead of object itself.

	* mrproject/mrp-object.c: 
	- added prop_changed signal, you can connect to it with
	  "prop_changed::property_name".
	(object_set_property): emit "prop_changed"

	* mrproject/mrp-marshal.list: 
	- added VOID:POINTER,POINTER use by prop_changed signal.

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

	* mrproject/mrp-property.c:
	(mrp_property_ref): added/impl.
	(mrp_property_unref): added/impl.

	* mrproject/mrp-project.c:
	(mrp_project_remove_property): fixed warning.
	(imrp_project_get_property): fixed warning.

	* mrproject/mrp-object.c: 
	- changed mpo_ -> object_ to conform with style guide.
	- property storage is now a GHashTable.
	(object_set_g_property): renamed from object_set_property
	(object_get_g_property): renamed from object_get_property
	(object_set_property): added/impl.
	(object_get_property): added/impl.
	(mrp_object_set_valist): call object_set_property.
	(mrp_object_get_valist): call object_get_property.

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

	* mrproject/mrp-time.c (mrp_time_day_name_initial): Add.
	(mrp_time_month_name_initial): Add.

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

	* mrproject/mrp-task-manager.c (mrp_task_manager_remove_task): Set
	needs_rebuild after removing subtree, not before. Should fix cases
	where scheduling didn't happen after removing a predecessor task.
	(mtm_dispose): Remove old commented code.
	Break a few long lines.

	* mrproject/mrp-task.c: Remove unused _remove_allocations.

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

	* mrproject/mrp-time.c (mrp_time_null_time): Set null time to utc.
	(mrp_time_new_from_time_t): Make sure we pass 1 and 0 for
	true/false to ical.
	(mrp_time_days_in_month): Add.
	(mrp_time_week_number): Add.

	* mrproject/mrp-task-manager.c (mtm_forward_pass_do):
	s/finish/tmp_time, found by valgrind.

2002-05-03  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-property.c:
	(imrp_property_set_project): added/impl.
	(mrp_property_new): 
	- set qdata here instead of calling set functions. Don't need to
	  signal changed when we are creating it.
	(mrp_property_set_label): check if project != NULL before trying
	  to cast it to MrpProject.
	(mrp_property_set_description): same

	* mrproject/mrp-project.c
	(mrp_project_get_properties): 
	- removed temporary adding of property here.
	(mrp_project_add_property): set project in the property.

	* mrproject/mrp-property.c: added project qdata.

	* mrproject/mrp-project.c: 
	- added "property_changed"-signal
	(imrp_project_property_changed): added

	* mrproject/mrp-private.h:
	(imrp_project_property_changed): added

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

	* mrproject/mrp-object.c:
	
	(mrp_object_add_property): removed, use mrp_projet_add_property.
	(mrp_object_remove_property): 

	* mrproject/mrp-project.c:
	- removed, use mrp_project_remove_property.
	(imrp_project_get_property): take object_type insetad of object.
	(mrp_project_add_property): same.
	(mrp_project_remove_property): same

	* mrproject/mrp-property.c:
	(property_set_type): added/impl.
	(mrp_property_get_name): added/impl.
	(mrp_property_get_type): added/impl.
	(mrp_property_get_label): return const gchar *
	(mrp_property_get_description): same.

	* mrproject/mrp-property.[ch]: added

	* mrproject/mrp-project.c: 
	- style
	- pspec -> property
	- mrp_project_get_pspec -> imrp_project_get_property	

	* mrproject/mrp-object.c: 
	- style
	- pspec -> property
	- mrp_project_get_pspec -> imrp_project_get_property

	* mrproject/Makefile.am (libmrproject_la_SOURCES): 
	- added mrp-property.[ch]

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

	* autogen.sh: Use our own autogen, no need to depend on
	gnome-common.

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

	* mrproject/mrp-task-manager.c (mrp_task_manager_move_task): Only
	check if parent changes. Fixes #153.

	* mrproject/mrp-object.c (mrp_object_get_pspecs): Impl.
	(mrp_object_add_pspec): Impl.
	(mrp_object_remove_pspec): Impl.

	* mrproject/mrp-project.c (mrp_project_get_pspecs): Impl.
	(mrp_project_add_pspec): Impl.
	(mrp_project_remove_pspec): Impl.

	* mrproject/mrp-task.c (mpt_class_init): Break lines.
	Don't put LAST_SIGNAL in the middle of the enum, put it last.

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

	* mrproject/mrp-types.c (mrp_relation_type_get_type): Remove
	useless and incorrect comment.

	* mrproject/mrp-task.c: Add more setters/getters. Move task priv
	struct here from mrp-private.h.

	* mrproject/mrp-task-manager.c: Use setters/getters for
	task->everything.

	* mrproject/mrp-private.h: Remove a few unused fields from the
	task struct.

	* mrproject/mrp-task.c: Add private setters/getters for use in the
	task-manager.

	* mrproject/mrp-types.c: New file for registered enum types
	etc.

	* mrproject/Makefile.am (libmrproject_la_SOURCES): Add mrp-types.c
	and mrp-relation.[ch].

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_predecessor): Update for new relation object, and write
	out lag if we have any.

	* mrproject/mrp-task.c: 
	* mrproject/mrp-task-manager.c: Update for new relation object. 

	* mrproject/mrp-relation.[ch]: Make relation an MrpObject.

2002-04-22  Mikael Hallendal  <micke@codefactory.se>

	* docs/hacking.txt: added, currently only directory structure.

	* mrproject/mrp-project.c:
	- add pspec-pool to priv-struct.
	(mrp_project_get_pspec): added/impl.

	* mrproject/mrp-object.c: 
	- added properties to the priv-struct.
	(mrp_object_set): added/impl.
	(mrp_object_get): added/impl.
	(mrp_object_set_valist): added/impl.
	(mrp_object_get_valist): added/impl.

2002-04-22  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_remove_all_tasks): Remove.

	* mrproject/*.[ch]: Prefix internal but non-static functions with
	imrp to make them more easy to recognize.

	* mrproject/mrp-task-manager.c
	(mrp_task_manager_remove_all_tasks): Remove this.

	* mrproject/mrp-project.c (mrp_project_remove_task): Move
	task-removed emission here from...
	(mrp_project_task_removed): ...here, and remove this.

2002-04-22 Alvaro del Castillo <acs@andago.com>

    * mrproject/Makefile.am: Fix compile problem with ical

2002-04-17  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mpx/mrp-storage-mpx.c: Fix warnings.

	* storage-modules/mpx/mrp-parser.c Fix warnings.

	* mrproject/icaltime.c: Ditto.

	* mrproject/icalerror.c: Silence a few warnings.

	* acinclude.m4: New file with auto* macros. MRP_COMPILE_WARNINGS
	work like GNOME_COMPILE_WARNINGS but enables -Werror by default
	when building from CVS.

	* configure.in: Use MRP_COMPILE_WARNINGS.

2002-04-16  Richard Hult  <rhult@codefactory.se>

	Released 0.2.

2002-04-16  Richard Hult  <rhult@codefactory.se>

	* configure.in: Bump version to 0.2.
	Remove tests directory.

2002-04-16  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-init.c: include mrp-intl.h

	* mrproject/mrp-task.c:
	(mrp_task_reattach_pos): removed unused variable.

	* mrproject/mrp-task-manager.c:
	(mrp_task_manager_check_move): return TRUE at end of function.

2002-04-15  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c:
	(mrp_project_get_groups): reverse the list before returning, since
	  we are using g_list_prepend to insert them.
	(mrp_project_get_resources): same.

2002-04-15  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-storage-mrproject.c: Fix a few
	warnings.

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save): I
	screwed up. Error can be NULL.

	* mrproject/mrp-task-manager.c (mrp_task_manager_move_task): Check
	for loops.

	* mrproject/mrp-project.c (mrp_project_move_task): Return boolean
	and use GError.

	* mrproject/mrp-task-manager.c (mrp_task_manager_move_task): Add
	GError.

	* mrproject/mrp-task.c (mrp_task_add_predecessor):
	mpt_has_relation_to changed to mrp_task_... Update error enum.

	* mrproject/mrp-error.h: Add task move error and namespace the
	errors better.

	* mrproject/mrp-task.c (mrp_task_has_relation_to): Make public.

	* mrproject/mrp-task-manager.c
	(mrp_task_manager_check_predecessor): Update error enums.
	(mrp_task_manager_check_move): Add, checks if a move will cause a
	loop.

2002-04-12  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_save_as): set the URI even
	  if it's NULL, Doh!! Fixes #130.

2002-04-12  Alvaro del Castillo <acs@barrapunto.com>

	* mrproject/mrp-project.c (mpp_set_property): changes in
	  properties emit the need to save signal and put project
	  needs_saving TRUE. Fixes #114

2002-04-11  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-{resource,task}.c:
	(mpr_class_init): override mrp_object_removed.
	(mpr_remove_assignment_foreach): added/impl.
	(mpr_removed): added/impl. #Fixes 119

	* mrproject/mrp-project.c (mrp_project_remove_resource): call
	  object_remove before actually removing it internally and
	  signal. 
	(mrp_project_remove_task): same.

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

	* mrproject/mrp-task.c (mrp_relation_get_type, mrp_relation_copy):
	Add boxed type.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_xml_get_string):
	Free list.
	(mpp_read_group): Free strings.

	* mrproject/mrp-task.c (mrp_task_get_predecessors): Remove debug output. 
	(mrp_task_get_successors): Ditto.

	* mrproject/mrp-project.c (mrp_project_save_as): Correct comment.

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save):
	Don't set error if no error was passed. Plug leak.

	* mrproject/mrp-task-manager.c (mtm_get_start):
	(mtm_check_successor_loop, mtm_check_predecessor_loop): Get the
	predecessors directly from the task.

	* mrproject/mrp-task.c (mrp_task_get_predecessors) 
	(mrp_task_get_successors): Change these to make copies of the
	lists.

	* mrproject/mrp-project.c (mrp_project_task_moved): Emit
	needs-saving. 

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

	* mrproject/mrp-task.c (mrp_task_reattach): Handle before/after
	when no sibling is passed in.

2002-04-08  Richard Hult  <rhult@codefactory.se>

	* docs/Scheduling: Add brief document about the scheduling.

	* mrproject/mrp-task-manager.c (mtm_traverse_dependency_graph):
	Fix comment.

	* docs/Links: Add some project mgmt links.

	* mrproject/mrp-task-manager.c (mrp_task_manager_move_task):
	Actually recalc.
	(mrp_task_manager_remove_task): Notify after removal.
	(mrp_task_manager_rebuild): Refactor recalc into recalc and
	rebuild, since we need to only rebuild sometimes.
	(mrp_task_manager_move_task): Clear sorted tree, then move task,
	then rebuild, then notify, then recalc.

	* mrproject/mrp-project.c (mpp_class_init): Add moved signal.

	* mrproject/mrp-task-manager.c (mtm_get_start): Add a few comments
	and add FNLT/ALAP (doesn't do anything yet though).
	(mrp_task_manager_move_task): Set rebuild-tree flag and emit moved
	signal.

	* mrproject/mrp-project.c (mpp_class_init): Remove
	detached/reattached signals and signal emitting functions.

2002-04-02  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mrp_task_manager_get_task_tree):
	Impl. Returns a GNode tree, which is a copy of the task tree.
	(mtm_build_tree_copy): Impl.

	* mrproject/mrproject.h: Fix includes to make it actually work. 

	* mrproject/mrp-task.c (mrp_task_remove_subtree): Rename from
	mrp_task_remove.

	* mrproject/mrp-assignment.c (mpa_object_removed_cb): Comment out
	unused function (is it needed?).

	* mrproject/mrp-task.c: Remove unused variables.

2002-04-02  Anders Carlsson  <andersca@gnu.org>

	* configure.in:
	Add tests/ and storage-modules/mpx/
	
	* mrproject/mrp-time.c: (mrp_time_new_from_string),
	(convert_slashed_us_date_to_iso),
	(mrp_time_new_from_msdate_string):
	* mrproject/mrp-time.h:
	Add mrp_time_new_from_msdate_string.

	* storage-modules/Makefile.am:
	Add mpx subdirectory.
	
	* storage-modules/mpx/Makefile.am:
	* storage-modules/mpx/mrp-parser.c: (mpx_peek), (mpx_next_token),
	(mpx_eof), (mpx_next_line), (mpx_get_field_def),
	(mpx_build_field_table), (mpx_read_fields), (mpx_task_handle_int),
	(mpx_task_handle_string), (mpx_task_handle_time),
	(mpx_insert_task), (mpx_read_task), (mpx_read_task_notes),
	(mpx_read_task_resource_assignment), (mpx_resource_handle_int),
	(mpx_resource_handle_rate), (mpx_resource_handle_string),
	(mpx_read_resource), (mpx_read_header), (mpx_handle_token),
	(mrp_parser_load):
	* storage-modules/mpx/mrp-parser.h:
	* storage-modules/mpx/mrp-storage-mpx.c:
	(mrp_storage_mpx_register_type), (mpsm_init), (mpsm_class_init),
	(module_init), (module_new), (module_exit), (mpsm_load),
	(mpsm_set_project):
	* storage-modules/mpx/mrp-storage-mpx.h:
	Add ported mpx loader.
	
	* tests/Makefile.am:
	* tests/self-check.c: (report_check_failure), (before_check),
	(after_check), (check_string_result), (check_integer_result):
	* tests/self-check.h:
	* tests/time-test.c: (STRING), (main):
	Add beginning of testing framework. 
	
2002-03-27  Richard Hult  <rhult@codefactory.se>

	* mrproject/*: Fix a few warnings.

2002-03-27  Richard Hult  <rhult@codefactory.se>

	Released 0.1.

2002-03-27  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_xml_set_float): 
	- uncommented. 
	- don't free the str-value.
	(mpp_write_resource): write the std- and ovt-rates. Fixes #109.

2002-03-27  Richard Hult  <rhult@codefactory.se>
	
	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_task_cb):
	finish time is called "end" in G1.

2002-03-26  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_task_cb):
	Don't write predecessors tag if there are no predecessors.
	(mpp_write_constraint): Impl.
	(mpp_read_constraint): Impl.
	(mpp_isodate_from_time): Fix to output correct dates wrt timezones
	etc.

	* configure.in: Set warning CFLAGS.

	* mrproject/*: Fixed lots of warnings, where several of them were
	real bugs.

	* storage-modules/mrproject-1/*: Fixed lots of warnings, where
	several of them were real bugs.

	* storage-modules/mrproject-1/Makefile.am
	(libstorage_mrproject_1_la_SOURCES): Fix typo.
	(INCLUDES): Set the right include dir. Add mrp-parser.h, spell
	mrproject correctly.

	* COPYING: Add this to CVS.

	* mrproject/mrproject.h: Add catch-all header file.

	* mrproject/Makefile.am (libmrproject_la_SOURCES): Add mrp-intl.h
	to noninstalled headers.
	(libmrproject_la_SOURCES): mrp-storage-module-factory.h should not
	be installed.

2002-03-26  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c: added support to see if a project has
	  been touched or not. Needed to fix #101
	(mrp_project_is_untouched): added

2002-03-26  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mpp_set_property): Don't use MRP_GROUP
	on NULL.

2002-03-25  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c:
	(mrp_parser_load): use GError to notify client about errors.
	(mrp_parser_save): same.

	* mrproject/mrp-storage-module.c:
	(mrp_storage_module_load): added error arg.
	(mrp_storage_module_save): same.

	* mrproject/mrp-project.c (mrp_project_open): added
	  error-argument, not used yet.
	(mrp_project_load): same
	(mrp_project_save): added error-argument.
	(mrp_project_save_as): added/impl.
	(mrp_project_set_uri): removed. use save_as

	* mrproject/mrp-error.h: added load/save errors

	* mrproject/mrp-project.c:
	(mrp_project_load): set needs saving to false after loading and
	  emit the needs_saving false signal. Fixes #92
	(mpp_init): initialize project name to Unnamed.

2002-03-25  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.h: Add prototype.

	* mrproject/mrp-task.c (mrp_task_reset_constraint): Add.
	(mrp_task_reset_constraint): Fix typo.

	* mrproject/mrp-task-manager.c (mtm_task_connect_signals): Listen
	to notify::constraint.

	* mrproject/mrp-types.h: Add constraint type.

	* mrproject/mrp-task.c (mrp_constraint_get_type) 
	(mrp_constraint_copy): Add constaint boxed type so that we can use
	it as a property.
	
	* mrproject/mrp-task-manager.c (mtm_get_start): Handle ASAP, SNET,
	MSO constraints.

	* mrproject/mrp-task.c (mpt_init): Init constraint to ASAP.
	(mpt_class_init): Change snet property to constraint.
	(mpt_set_property): Handle constraint.
	(mpt_get_property): Likewise.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_read_task): Adapt
	to use "constraint" property, and use MSO instead of SNET.

	* mrproject/mrp-init.[ch]: New files.
	* mrproject/mrp-init.c (mrp_init): Init gettext.

	* configure.in (GETTEXT_PACKAGE): Reorder things to make
	tranlations work.

2002-03-24  Alvaro del Castillo  <acs@barrapunto.com>

	* mrproject/mrp-task.c:
	(mpt_set_property): little change to access note info in
	the same way we access othe fields

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_read_task):     comment out note support
	(mpp_write_task_cb): added note field support
	- Fixes #78                     

2002-03-22  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_write_project): don't segfault if no default group is set.

	* mrproject/mrp-task.c:
	(mpt_init): initiate name to ""
	(mpt_set_property): check to see if value changes in order to be
	  able to know if the project needs to be saved.
	(mpt_assignment_removed_cb): call needs_saving.
	(mrp_task_add_predecessor): same.
	(mrp_task_remove_predecessor): same.
	(mrp_task_add_assignment): same.

	* mrproject/mrp-resource.c:
	(mpr_init): initiate email to "".
	(mpr_set_property): check to see if value changes in order to be
	  able to know if the project needs to be saved.
	(mpr_assignment_removed_cb): call needs_saving.
	(mrp_resource_add_assignment): same.

	* mrproject/mrp-project.c:
	(mpp_init): set default_group to NULL.
	(mpp_connect_object): don't connect to any signals, just set
	  "project"-property. Should probably change name (or be
	  removed). 
	(mrp_project_add_resource): set needs_saving.
	(mrp_project_remove_resource): same.
	(mrp_project_add_group): same.
	(mrp_project_remove_group): same.
	(mrp_project_remove_all_tasks): same.
	(mrp_project_task_removed): same.
	(mrp_project_task_inserted): same.

	* mrproject/mrp-object.c:
	- removed the UPDATED-signal.
	- don't override notify from GObject.
	(mrp_object_set_needs_saving): added/impl.

	* mrproject/mrp-group.c:
	(mpg_init): initiate string values to "".
	(mpg_set_property): check to see if value changes in order to be
	  able to know if the project needs to be saved.

2002-03-22  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-time.c (mrp_time_month_name): Add.
	(mrp_time_day_name): Add. Fixes #86.

	* mrproject/mrp-project.c (mpp_set_property):
	default-group-changed has a group parameter.

2002-03-21  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_project):
	Don't use id 0 for tasks.
	(mpp_write_predecessor): Impl.
	(mpp_write_task_cb): Write predecessors.

2002-03-21  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/*.c: #52 + stylefixes.

	* storage-modules/mrproject-1/mrp-parser.c: style fixes.

2002-03-21  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-private.h: Add note, remove datalist since we
	don't use it now.

	* mrproject/mrp-task.c (mpt_get_property, mpt_set_property) 
	(mpt_class_init): Add note property.

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_read_project_properties): Read name, manager, organization.
	(mpp_write_project_properties): And write them.
	(mpp_write_project_properties): Plug leak.

	* mrproject/mrp-project.c: Add properties for name, manager,
	organization.

2002-03-20  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mtm_forward_pass_do): Set duration
	of summary tasks.

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_load): Set
	"version" data to the parsed version. Remove this hack when we
	have the new format.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c (mpsm_load):
	Remove hack that was commented out.

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_time_from_isodate): Use mrptime instead of struct tm.

	* mrproject/mrp-task.c (mpt_set_property): Make start and finish
	read-only properties.
	(mpt_class_init): Ditto.

	* storage-modules/mrproject-1/mrp-parser.c
	(mpp_write_project_properties): Version 2.
	(mpp_xml_get_int_with_default): Add.
	(mpp_read_project_properties): Read version.
	(mpp_write_project): I am a dofus. g_list_concat takes over
	ownership, it doesnt copy the lists. 
	(mpp_read_task): Handle G1 and G2 files a bit differently.
	(mpp_write_task_cb): Write duration.
	(mpp_write_task_cb): Write id.

2002-03-19  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_project):
	Make writing tasks work again.
	(mpp_write_project): Free assignment list.

	* mrproject/mrp-task.c (foreach_assignment_add_to_list): Use
	g_list_prepend, not g_slist_prepend.

2002-03-19  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-resource.c (mpr_init): iniate name to ""

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_write_project): read assignments from each resource and then
	  write them to the save-file. Fixes #40.

	* mrproject/mrp-task.c:
	(mrp_task_get_assignments): return GList instead of GSList.
	(mrp_task_get_assigned_resources): return GList instead of GSList.

	* mrproject/mrp-resource.c:
	(mrp_resource_get_assigned_tasks): return GList instead of GSList.
	(mrp_resource_get_assignments): return GList instead of GSList.

2002-03-19  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save): Use
	xmlSaveFormatFile to get nice indentation.
	Remove setlocale and use g_ascii_strtod/g_ascii_dtostr.
	(mpp_write_project_properties): Plug leak and get the start date
	correctly.
	Generate and write IDs for tasks, resources, groups. Save default
	group id, and refer to group ID in resource. Write allocations,
	and use resource/task IDs there.
	(mrp_parser_save): xmlKeepBlanksDefault (0). Someone is on crack,
	methinks.

2002-03-18  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mpp_read_task): Set
	the snet from the start value (mostly for testing).

	* mrproject/mrp-task.c (mpt_set_property, mpt_get_property) 
	(mpt_class_init): Add snet property.

	* mrproject/mrp-task-manager.c (mptm_check_predecessor_loop): Eek,
	fix typo, s/l->data/child/.
	(mptm_check_successor_loop): Ditto.
	(mrp_task_manager_check_predecessor): Change messages slightly.
	(mtm_get_start): Add support for start-no-earlier-than.
	(mtm_get_start): Add support for lag.

	* mrproject/mrp-storage-module-factory.c
	(mrp_storage_module_factory_get): Remove debug output.

	* mrproject/mrp-task-manager.c (mtm_sort_tree): Remove debug
	output.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c (mpsm_load):
	Process delayed relations here instead.

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_load):
	Don't process delayed relations here, since the "project"
	property isn't set here.

	* mrproject/mrp-error.[ch]: New files for error handling.

	* mrproject/mrp-task.c (mrp_task_add_predecessor): Add loop
	checking and use GError.

	* mrproject/mrp-task-manager.c
	(mrp_task_manager_check_predecessor): Impl loop checking.

	* mrproject/mrp-task.c (mrp_task_get_position): Impl.

2002-03-15  Richard Hult  <rhult@codefactory.se>

	* libmrproject.pc.in (Requires): Remove gnomevfs.

	* configure.in: Remove gnomevfs req since it's not used.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_group):
	Impl.
	(mpp_write_project): Save groups.
	(mpp_write_resource): Impl.
	(mpp_write_project): Save resources.

2002-03-14  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-object.h (mrp_object_removed): add the declaration
	  in the header file.

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

	* mrproject/mrp-task-manager.c (mtm_task_relation_changed_cb):
	Add, rebuild tree.
	(mtm_task_connect_signals): Refactor to share code.
	(mrp_task_manager_insert_task): Call it here.
	(mrp_task_manager_set_root): And here.
	(mrp_task_manager_set_root): Eek, don't connect to the root in the
	loop, connect to the tasks.

2002-03-14  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-task.c:
	(mpt_assignment_removed_cb): added/impl.
	(mrp_task_add_assignment): connect to "removed" signal

	* mrproject/mrp-resource.c: 
	- assignments are now an hashtable. Fixes #68
	(mpr_finalize): desktroy assignments hash table and free the priv
	  struct.
	(mpr_assignment_removed_cb): added/impl.
	(mrp_resource_add_assignment): 
	- connect to the "removed" signal on the assignment.
	(foreach_assignment_add_to_list): added/impl.

	* mrproject/mrp-assignment.c:
	(mrp_assignment_get_type): cleanups.

2002-03-13  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mtm_sort_tree): Unset visited flag
	on all tasks before sorting. Doh...

2002-03-13  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-task.c:
	(foreach_assignment_add_to_list): added, used to create a list of
	  all assignments in the assignments hash table.
	(mrp_task_get_assignments): create a list instead of just
	  returning a pointer to the priv data. This list should now be
	  freed
	(mrp_task_get_assignment): added, used to get an assignment by
	  querying a task with a resource.

	* mrproject/mrp-private.h: 
	- make assignments a hash table instead.

	* mrproject/mrp-project.c:
	(mpp_connect_object): renamed from mrp_connect_to_object_signals.
	(mrp_project_load): move the foreach-loops on resources and groups
	  into set_{resources,groups}.

2002-03-13  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task.c (mpt_class_init): New signal, child-added
	and child-removed. These are emitted after a child has been added
	or removed.
	(mrp_task_remove): Emit.
	(mrp_task_insert_child): Emit.
	(mrp_task_remove): Allow removing the root, but don't try to
	access it's parent (which is NULL).

	* mrproject/mrp-task-manager.c (mrp_task_manager_insert_task):
	Remove debug.
	(mrp_task_manager_remove_task): Remove debug.

	* mrproject/mrp-task.c (mpt_remove_subtree_cb): Remove debug.

	* mrproject/mrp-task-manager.c (mrp_task_manager_recalc): We need
	to recalc if we need to rebuild.

	* mrproject/mrp-object.c (mpo_set_property): Don't ref it project
	is NULL.

	* mrproject/mrp-project.c (mrp_project_dump_task_tree): Add.

	* mrproject/mrp-task.c: Remove "project" property and make signals
	coherent wrt -/_ in names.

	* mrproject/mrp-task-manager.c: Remove commented out signal
	creation code.
	(mrp_task_manager_remove_task, mrp_task_manager_set_root) 
	(mrp_task_manager_insert_task): Set "project" property instead of
	"task-manager".

2002-03-12  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_load):
	Return boolean.
	(mrp_parser_save): Return boolean.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c (mpsm_load):
	Return boolean.
	(mpsm_save): Return boolean.

	* mrproject/mrp-project.c (mrp_project_save): Return boolean.

	* mrproject/mrp-storage-module.c (mrp_storage_module_load): Return
	boolean. 
	(mrp_storage_module_save): Likewise.

	* mrproject/mrp-project.c (mrp_project_load): Return a boolean
	specifying success or failure.

2002-03-08  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c (mpp_class_init): doh, use the correct
	  enum value to index the signals array.
	(mpp_set_property): Call g_value_get_object with an argument :)

2002-03-08  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mpp_class_init): Use MRP_TYPE_GROUP as
	type for default group.
	(mpp_get_property): Add missing break.

2002-03-08  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c:
	(mpp_class_init): added default_group_signal.
	(mpp_set_property): 
	- don't update default_group if it's the same group as the last
	  one. 
	- emit default_group_changed.

2002-03-08  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mpp_class_init): Use MRP_TYPE_GROUP as
	type for default group.
	(mpp_get_property): Add missing break.

	* mrproject/mrp-task.c: Add percent-complete property.

2002-03-07  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-group.c (mrp_group_new): set default name to "".

	* mrproject/mrp-resource.c:
	(mrp_resource_get_assigned_tasks): added convinience function.

	* mrproject/mrp-task.c:
	(mrp_task_add_assignment): set priv before using it.
	(mrp_task_get_assigned_resources): added convinience function.
	(mrp_task_compare): added, used to sort lists of tasks.

	* mrproject/mrp-resource.c:
	(mrp_resource_compare): added, used to sort lists of resources.

2002-03-07  Richard Hult  <rhult@codefactory.se>

	* po/POTFILES.in: Remove mrp-engine.c

2002-03-07  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c (mpp_write_project):
	- mrp_project_traverse_tasks->mrp_project_task_traverse.

	* mrproject/mrp-project.c:
	(mrp_project_add_resource): set project property.
	(mrp_project_add_group): same.
	(mrp_project_insert_task): same.

	* mrproject/mrp-object.c: added "project" property.

	* mrproject/mrp-project.c (mpp_uri_get_storage_string): added
	  (from mpe_uri_get_method).
	(mrp_project_open): added/impl.

	* mrproject/mrp-engine.[ch]: removed. Fixes #55.

2002-03-07  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-parser.c: Use mrp_project
	instead of mrp_task_manager.

	* mrproject/Makefile.am: Don't install mrp-task-manager.h.

	* mrproject/mrp-private.h: Put prototypes for task-manager
	functions here. 

	* mrproject/mrp-task-manager.c: Remove signals and put them...
	
	* mrproject/mrp-project.c: ...here.
	(mrp_project_task_removed, mrp_project_task_inserted): Add.

2002-03-06  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.c (mpp_class_init): oops, forgot to create
	  the signals before trying to emit them :)

	* mrproject/mrp-assignment.c (mpa_object_removed_cb): call
	  mrp_object_removed instead of mrp_object_remove.

	* mrproject/mrp-private.h:
	(mrp_object_removed): moved from mrp-object.h, should only be
	  called from mrp-project.

	* mrproject/mrp-object.c:
	(mrp_object_removed): renamed to removed, will only signal now.

	* mrproject/mrp-object.h:
	(mrp_object_remove): moved to mrp-private.h

	* mrproject/mrp-project.c: 
	(mpp_object_removed_cb): removed.
	(mrp_project_remove_resource): added, fixes #60
	(mrp_project_remove_group): added, fixed #61

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

	* mrproject/mrp-time.c: 
	* mrproject/mrp-time.h: 
	* mrproject/mrp-types.h: 
	* mrproject/mrp-assignment.h: Rearrange to build without installing
	ical header files. 

	* mrproject/Makefile.am:
	* mrproject/icalerror.c:
	* mrproject/icalerror.h:
	* mrproject/icalmemory.c:
	* mrproject/icalmemory.h:
	* mrproject/icaltime.c:
	* mrproject/icaltime.h: Added files from libical to handle time
	issues.

	* mrproject/mrp-time.c: Add thin wrapper around icaltime.

	* mrproject/mrp-project.c:
	* mrproject/mrp-project.c:
	* mrproject/mrp-task-manager.c:
	* mrproject/mrp-task.c: Update to use new time API.

        * storage-modules/mrproject-1/mrp-parser.c:
        * storage-modules/mrproject-1/mrp-storage-mrproject.c: Likewise.

2002-03-05  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-storage-module-factory.c:
	(mrp_storage_module_factory_get): call g_hash_table_lookup with
	  libname instead of name. Fixes #50.

	* mrproject/mrp-project.c:
	(mrp_project_set_needs_saving): added. should be called from
	  MrpTaskManager when save-status changes on it.
	(mrp_project_object_updated_cb): removed, now use the
	  mrp_project_set_needs_saving directly instead.

2002-03-02  Alvaro del Castillo  <acs@barrapunto.com>
	
	* mrproject/mrp-project.c: corrected GROUP check and signal


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

	* storage-modules/mrproject-1/mrp-storage-mrproject.c:
	(mpsm_load): set assignments on resources and tasks.

	* storage-modules/mrproject-1/mrp-parser.c: 
	- added a resource-hash.
	- s/allocation/assignment/
	(mpp_read_resource): insert the new resource in the resource_hash.
	(mpp_read_assignment): implemented.

	* mrproject/mrp-task.c (mrp_task_add_assignment): ref the
	  assignment.

	* mrproject/mrp-resource.c:
	(mrp_resource_add_assignment): added/impl.
	(mrp_resource_assign): moved some of the code to _add_assignment.

	* mrproject/mrp-private.h: added resource_add_assignment to
	  private header. Should only be called from storage modules.

	* mrproject/mrp-types.h: moved typedef _Foo Foo from mrp-group,
	  mrp-resource, mrp-assignment, mrp-task to here.

	* mrproject/mrp-assignment.c:
	(mpa_class_init): task and resource properties should be of object
	  type, not pointer.
	(mrp_assignment_get_task): added/impl.
	(mrp_assignment_get_resource): added/impl.
	(mrp_assignment_get_units): added/impl.

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

	* storage-modules/mrproject-1/mrp-parser.c (mrp_parser_save):
	Start to impl saving.

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

	* mrproject/mrp-task.[ch]: added assignment-added and
	  assigment-removed signals.
	(mrp_task_add_assignment): implemented.
	(mrp_task_get_assignments): added/implemented.

	* mrproject/mrp-assignment.[ch]: renamed from allocation.

	* *: s/allocation/assignment/

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

	* mrproject/mrp-time.c (mrp_time_start_of_day): Set isdst to -1
	(info not available).

	* mrproject/mrp-task-manager.c (mrp_task_manager_traverse): Add.
	(mptm_traverse_cb): Add helper for the above.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c: Remove the
	task, resource, and project storage interfaces.

	* mrproject/mrp-storage-module.c (mrp_storage_module_set_project):
	Impl.

	* mrproject/mrp-project.c: Remove all MrpProjectStorage,
	MrpTaskStorage, and MrpResourceStorage use.
	
	* mrproject/mrp-project-storage.[ch]:
	* mrproject/mrp-task-storage.[ch]:
	* mrproject/mrp-resource-storage.[ch]: Remove.

	* mrproject/mrp-storage-module.h: Add flags for
	task/resource/primary support.

	* mrproject/mrp-private.h: Moved internal declarations here.

	* mrproject/mrp-task-private.h: Removed.

	* mrproject/mrp-task.c (mpt_set_property): Remove g_object_notify
	call. 

	* mrproject/mrp-project.c (mpp_set_property): Remove
	g_object_notify call.

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

	* mrproject/mrp-project.c: use RESOURCE_TYPE_NONE instead of
	  RESOURCE_TYPE_INVALID. 
	(mrp_project_add_resource): set resource type to
	  RESOURCE_TYPE_WORK if it's set to NONE when adding.

	* mrproject/mrp-resource.c: change MRP_RESOURCE_TYPE_INVALID to
	  MRP_RESOURCE_TYPE_NONE.

2002-02-28  Richard Hult  <rhult@codefactory.se>

	* storage-modules/mrproject-1/mrp-storage-mrproject.c: Remove
	implementations of the functions mentioned below.

	* mrproject/mrp-task-storage.[ch]:
	* mrproject/mrp-resource-storage.[ch]:
	* mrproject/mrp-project-storage.[ch]: Remove all the virtual
	methods for getting tasks, resources, etc.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c (mpsm_load):
	Set task root, resource list, project start, group list, and
	default group here...

	* mrproject/mrp-project.c (mrp_project_load): ...instead of here.

	* mrproject/mrp-storage-module.c (mrp_storage_module_save): Add.

	* mrproject/mrp-project.c (mrp_project_save): Impl.

2002-02-27  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-time.c (mrp_time_start_of_day): Use GMT instead of
	local time, otherwise daylight saving will screw us.

2002-02-26  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-types.h: Remove C++ comment.

2002-02-26  Mikael Hallendal  <micke@codefactory.se>

	* storage-modules/mrproject-1/mrp-storage-mrproject.c: dito.
	(mpsm_ps_get_default_group): added/impl.

	* storage-modules/mrproject-1/mrp-parser.c: add full support for
	  reading default-group.

	* mrproject/mrp-project.c: 
	(mpp_class_init): added property for default group.
	(mpp_init): create and add to groups list the default group when
	  starting the project. 
	(mpp_set_property): added default_group.
	(mpp_get_property): same.
	(mrp_project_load): get the default-group from storage.
	(mrp_project_add_resource): check if resource has group set, if
	  not set it to have default group.

	* mrproject/mrp-project-storage.[ch]:
	- include mrp-group.h
	(mrp_project_storage_get_default_group): added/impl.

2002-02-25  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mrp_task_manager_set_root): Remove
	debug output.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c
	(mpsm_ps_init): Hook up get_project_start method.

	* mrproject/mrp-project.c (mrp_project_load): Get project start
	from the storage.

	* storage-modules/mrproject-1/mrp-storage-mrproject.c
	(mpsm_ps_get_project_start): Impl.

	* mrproject/mrp-project-storage.h: Add get_project_start virual
	method.

	* mrproject/mrp-project-storage.c
	(mrp_project_storage_get_project_start): Add.

	* storage-modules/mrproject-1/mrp-parser.c (mpp_read_task): Keep
	track of the earliest task and use that as project start. 
	(mpp_read_task): Don't set start/finish.

	* mrproject/mrp-task-manager.c (forward_pass_do): Get project
	start from project.
	Remove all references to project-start from task manager, it's
	moved to project.

	* mrproject/Makefile.am: Remove calendar-manager, id-service and
	the test program.

	* mrproject/mrp-types.h: Make MrpTime typedef time_t.

	* mrproject/mrp-project.c (mrp_project_get_project_start): Add.

	* mrproject/mrp-time.c:
	* mrproject/mrp-time.h:
	* mrproject/Makefile.am: Add mrp-time.[ch].

	* mrproject/mrp-project.c (mpp_class_init): Add project-start
	property.
	(mpp_set_property): Handle project-start.
	(mpp_get_property): Likewise.

	* mrproject/mrp-task-manager.c: Remove isodate string conversion
	function.
	(mrp_task_manager_set_root): Recalc when the root is set.

2002-02-22  Alvaro del Castillo  <acs@barrapunto.com>

	* mrproject/mrp-project.c:
	(mrp_project_get_uri): implemented and now returns const gchar *
	(mrp_project_set_uri): implemented

2002-02-19  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-resource.c: 
	(mpr_init): set type to work.
	- changed invalid resource type from NONE to INVALID.

2002-02-13  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mptm_task_duration_changed_cb):
	Recalc when durations change.
	(mrp_task_manager_insert_task): Connect to notify::duration.
	(mrp_task_manager_set_root): Likewise.

	* mrproject/mrp-task.c (mpt_set_property): Don't allow setting
	duration of summmary task. Only notify when values change.

	* mrproject/mrp-task-manager.c (mrp_task_manager_set_root): Remove
	old root.
	(mrp_task_manager_recalc): If we need to rebuild, we always need
	to recalc.
	(mrp_task_manager_remove_task): Rebuild/recalc.

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

	* mrproject/mrp-object.c (mpo_notify): Remove debug spew.

	* mrproject/mrp-task.c (mpt_set_property): Notify.
	(mrp_task_insert_child): If duration is -1, inherit the parent's
	duration. 

	* mrproject/mrp-task-manager.c (forward_pass_do): Notify when
	tasks are changed.

2002-02-12  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-object.c: override notify-function. emit the
	  updated-signal from here.

	* mrproject/mrp-project.c: 
	- added needs_saving signal
	(mpp_object_updated_cb): added, called when an object is
	  updated. Will check if project needs_saving state change from 
	  FALSE to TRUE and emit needs_saving TRUE if it does.
	(mpp_connect_to_object_signals): renamed from
	  object_connect_removed, will now connect to updated signal too.
	(mrp_project_save): check if project needs saving and emit
	  needs_saving FALSE after save (not impl. yet).

	* mrproject/mrp-object.c:
	- added updated signal
	(mpo_set_property): emit updated

	* mrproject/mrp-marshal.list: added VOID:BOOLEAN

	* mrproject/mrp-allocation.c: style-fixes

	* mrproject/mrp-resource.c: same.

	* mrproject/mrp-project.c: same.

	* mrproject/mrp-group.c: same.

	* mrproject/main.c: remove resource-manager-stuff

	* mrproject/mrp-project.h: don't include mrp-resource-manager.h
	  which have been removed.

	* mrproject/mrp-resource-manager.[ch]: removed from source-dir.

2002-02-11  Mikael Hallendal  <micke@codefactory.se>

	* mrproject/mrp-project.[ch] (mrp_project_needs_saving):
 	  added. needs-saving is never set yet though.

2002-02-11  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c: s/is_valid/needs_rebuild/.

2002-02-02  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-task-manager.c (mptm_unlink_tree): Impl.
	(mptm_sort_tree): Unlink the tree before connecting it, don't
	create new nodes, keep them present always.
	(mrp_task_manager_recalc): Mark tree as needs_recalc after it's
	rebuilt. 

	* mrproject/mrp-task.c (mrp_task_remove): Remove sorted tree in
	the same callback as the normal tree.

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

	* mrproject/mrp-task.c (mrp_task_insert_child): Insert in sorted
	tree as well.

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

	* storage-modules/mrproject-1/mrp-parser.c:
	(mpp_read_resource): set all values of a resource, not just
  	  name/group.

	* mrproject/mrp-resource.c (mpr_class_init): use rate-std and
	  rate-ovt instead of rate_std and rate_ovt.

	* mrproject/mrp-project.c:
	(mpp_object_connect_removed): use the same callback to connect to
	  groups and resources.
	(mrp_project_load): connect to removed signal on resources and
	  groups.
	
2002-02-01  Richard Hult  <rhult@codefactory.se>

	* mrproject/mrp-project.c (mrp_project_load): Don't set a NULL
	root task.

	* mrproject/mrp-task-manager.c (mrp_task_manager_recalc): Don't do
	anything if we don't have a tree.
	(mptm_init): Create a root node.

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

	* mrproject/mrp-resource.c (mpr_set_property): Don't ref if group
	is NULL.

	* configure.in: Remove extra G in GGNOME :)

	* mrproject/mrp-task-manager.c (forward_pass_do): Remove debug
	output. 

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

	* storage-modules/mrproject-1/mrp-parser.c: added declaration of
	  mpp_time_from_isodata before it is used.

	* mrproject/mrp-project.c: 
	- removed ResourceManager property and ref.
	- keep the group- and resource-list here.
	(mrp_project_get_resources): added to handle resources
	(mrp_project_add_resource): dito.
	(mrp_project_get_groups): added to handle groups
	(mrp_project_add_group): dito.

	* mrproject/mrp-group.c: removed ResourceManager property and ref.

	* mrproject/mrp-allocation.c (mpa_object_removed_cb): added.

	* mrproject/mrp-allocation.c: made into a MrpObject.

	* mrproject/main.c (test_engine): removed resource-manager.

	* mrproject/Makefile.am (libmrproject_la_SOURCES): removed the
	  resource-manager. 

	* configure.in: added GNOME_COMPILE_WARNINGS(maximum)

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

	* storage-modules/mrproject-1/mrp-storage-mrproject.c:
	(mpsm_rs_get_group_list): added.
	(mpsm_rs_init): override get_group_list

	* mrproject/mrp-task.[ch]: made into a MrpObject.

	* mrproject/mrp-resource.[ch]: fixed Copyright and c&p
	  stupidity. made into a MrpObject.

	* mrproject/mrp-resource-manager.c (mprm_finalize): unref lists if
	  they are set.

	* mrproject/mrp-project.c (mrp_project_load): add group list to
	  resource-manager.

	* mrproject/mrp-object.[ch]: added. Base class for MrpGroup,
	  MrpResource, MrpTask, MrpAllocation (and possible others later
 	  on).

	* mrproject/mrp-group.h: fixed copy&paste stupidity.

	* mrproject/mrp-group.c: made into a MrpObject.

	* mrproject/mrp-allocation.c (mpa_set_property): ref objects when
	  set.

	* mrproject/mrp-allocation.h: fixed copy&paste stupidity.

	* mrproject/Makefile.am: added mrp-object.[ch]. Sorted the files.

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

	* mrproject/mrp-task-manager.c (mrp_task_manager_recalc):
	Impl. Handle rebuilding the tree if it's not valid, also check
	that we really need a recalc.

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

	* mrproject/mrp-resource-manager.c (mprm_finalize): Don't free the
	list before traversing it.
	(mrp_resource_manager_dump_resources): Fix cutnpaste error, don't
	free the resource list.

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

	* mrproject/mrp-task-manager.c (mrp_task_manager_get_all_tasks):
	Handle cases where we don't have a root.

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

	* storage-modules/mrproject-1/mrp-parser.c (mpp_xml_get_date):
	Actually parse the dates.
	(mpp_time_from_isodate): Add.

	* mrproject/mrp-task.c (mrp_task_get_n_children): Add.
	(mrp_task_get_nth_child): Add.
	(mrp_task_get_start, mrp_task_get_finish, mrp_task_get_duration):
	Add stubs.
	(mpt_set_property, mpt_get_property, mpt_class_init): Add fake
	start/finsh/duration properties so that we can test the rest of
	the code before task math code is implemented.

	* mrproject/mrp-task-manager.c (mrp_task_manager_get_root): Add.

	* mrproject/main.c (test_engine): Fix filename.

	* mrproject/Makefile.am: Install mrp-types.h

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

	* *.[ch]: s/MrP/Mrp/g.
	
2002-01-18  Mikael Hallendal  <micke@codefactory.se>
	* mrproject/mrp-resource-manager.c: 
	(mprm_finalize): unref all groups and resources.
	(mrp_resource_manager_remove_resource): unref resource
	(mrp_resource_manager_remove_group): unref group

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

	* mrproject/mrp-resource-manager.c: added signals for:
	  RESOURCE_INSERTED, RESOURCE_REMOVED, GROUP_INSERTED and
	  GROUP_REMOVED

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

	* mrproject/main.c (test_engine): Remove some debug stuff.

	* mrproject/mrp-task-manager.c (mrp_task_manager_sort_tree): Bring
	up to date after the id removal.

	* mrproject/mrp-task.c (mrp_task_get_parent) 
	(mrp_task_get_first_child, mrp_task_get_next_sibling): Don't crash
	if there is no parent/child/sibling.

	* mrproject/mrp-resource-manager.c: Remove the weak-reffing code,
	it's not used and we can do it in a nicer way.

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

	* mrproject/mrp-resource.c:
	(mpr_get_property): impl.
	(mpr_set_property): impl.

	* mrproject/mrp-group.c:
	(mpg_get_property): impl.
	(mpg_set_property): impl.

	* mrproject/mrp-task.c (mpt_set_property): use manager instead of
	  calling g_value_get_object twice.

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

	* mrproject/mrp-task-private.h (mrp_task_remove,
	mrp_insert_child): Move here from mrp-task.h. 

	* mrproject/mrp-project.c (mrp_project_load): Clean up, emit
	loaded signal.

	* mrproject/mrp-task-manager.c (mrp_task_manager_set_root):
	Set task-manager property on all tasks.

	* storage-modules/mrproject-1/mrp-parser.c: Fix predecessor
	parsing. 

	* mrproject/mrp-task.c (mpt_class_init): 
	* mrproject/mrp-resource.c (mpr_class_init): Set NULL as default
	value for string params.

	* mrproject/main.c: Test the new code.

	* mrproject/mrp-engine.c:
	* mrproject/mrp-project.c: Change the way projects are created so
	that we always have a primary storage.

	* storage-modules/Makefile.am:
	* configure.in:
	* storage-modules/mrproject-1: New directory with a parser for the
	old mrproject xml format.

	* mrproject/mrp-resource.c (mpr_get_property): Impl getting name
	and group props (and the default case).
	(mpr_class_init): Make the group param be an object, not a
	pointer.
	(mpr_set_property): Impl setting name and group.

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

	* mrproject/mrp-resource-manager.c
	(mrp_resource_manager_dump_resource_list): Add.
	(mrp_resource_manager_set_resources): Add.

	* mrproject/mrp-project.c (mrp_project_get_task_manager): Add.
	(mrp_project_get_resource_manager): Add.
	(mrp_project_get_calendar_manager): Add.

	* mrproject/mrp-task-manager.c (mptm_dispose): Add (remove all
	tasks).
	(mrp_task_manager_set_root): Add.

	* mrproject/mrp-project.h: Fix type check macros.

	* mrproject/mrp-project.c (mrp_project_new): Take a
	primary_storage argument and use it.

	* mrproject/mrp-engine.c (mrp_engine_create_project): Make this
	take a storage string to specify the primary storage.

	* mrproject/mrp-engine.h: Fix type checking macros.

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

	* configure.in: changed version-number to 0.1

	* mrproject/mrp-resource.c: 
	- make priv->type a MrPResourceType
	(mpr_class_init): use MrPResourceType for param "type"

	* mrproject/mrp-resource.h: added MrPResourceType

	* mrproject/mrp-allocation.c:
	- removed id
	(mrp_allocation_get_id): removed
	(mrp_allocation_get_interval): added
	* mrproject/mrp-task.[ch] (mrp_task_get_interval): added, not impl.

	* mrproject/mrp-calendar.c (mpc_set_defaults): use the new
	  MrPTimeInterval.

	* mrproject/mrp-types.h: moved here from mrp-calendar. Also use
	  duration instead of stop.

	* mrproject/mrp-resource-storage.c:
	(mrp_group_storage_get_resource_list): added

	* mrproject/mrp-resource-manager.c:
	had been hacking in mrproject-engine :(
	(mrp_resource_manager_insert_group): implemented.
	(mrp_resource_manager_get_all_groups): dito
	(mrp_resource_manager_remove_group): dito

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

	* mrproject/mrp-task-private.h: Move things here to hide them from
	the outside.

	* mrproject/mrp-task-manager.h: 
	* mrproject/mrp-resource-manager.h: Include <mrproject/...>
	instead of "...".

	* mrproject/mrp-project.c: The managers moved inside the priv
	struct.

	* mrproject/mrp-project.h: Move managers into the private struct,
	with the nice side-effect that we get rid of a circular include
	problem. 

	* mrproject/main.c (test_engine): Create our own task manager for
	the test for now.

	* mrproject/mrp-task-manager.c (mptm_set_property): Comment out
	code that gets initial task tree from storage until those parts
	are sorted out.

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

	* mrproject/mrp-resource.c (mpr_class_init): add signals
	  allocation_added and allocation_removed.
	(mrp_resource_assign): 
	- don't return anything.
	- emit allocation_added.

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

	* mrproject/mrp-task.c: Redo the life-time logic for
	tasks. Unreffing a task until it dies will no longer be allowed,
	so if anyone tries to remove the ref that the task manager holds,
	assertions will be triggered.

	* mrproject/mrp-engine.c (mrp_engine_create_project): Remove
	argument from mrp_project_new ().

	* mrproject/main.c (test_task_manager): Comment out the tests that
	doesn't make sense before more is implemented.
	(test_engine): Comment out task manager testing until we have
	fixed the storage/project/manager interaction.

	* mrproject/mrp-resource-manager.c (mprm_set_property): Comment
	out code that gets initial resource list from storage, we need to
	finish those bits first.

	* storage-modules/xml/mrp-storage-module-xml.c
	(mpsm_xml_ts_get_fake_tree): Don't use id.
	(mpsm_xml_ts_get_task_tree): Remove fake test tree.

	* mrproject/mrp-task-manager.c:
	* mrproject/mrp-task-manager.h:
	* mrproject/mrp-task.c:
	(mrp_task_add_allocation): Add stub to get the build working.

	* mrproject/mrp-task.h: Remove ids, and change everywhere to adapt
	to the changes.

	* mrproject/main.c (test_task_manager): Update the tests to match
	changed API.

	* mrproject/Makefile.am: Build the test program.

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

	* mrproject/mrp-resource-manager.c:
	(mrp_resource_manager_get_resource): removed
	(mrp_resource_manager_get_group): removed

	* mrproject/mrp-resource.[ch]: removed Id

	* mrproject/mrp-resource-manager.c:
	(mrp_resource_manager_create_resource): removed
	(mrp_resource_manager_create_group): removed

	* mrproject/mrp-group.[ch]: don't use Id

	* mrproject/mrp-task.h: added the definition of
	  mrp_task_add_allocation.

	* mrproject/mrp-resource.c (mrp_resource_assign): added.

	* mrproject/mrp-resource-manager.c: don't use resource-id.

	* mrproject/mrp-allocation.c: build-fixes.

	* mrproject/Makefile.am: Build a library and install the header
	  files.

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

	* mrproject/mrp-allocation.[ch]: added

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

	* mrproject/mrp-task-manager.c
	(mrp_task_manager_remove_predecessor): Impl. 
	(mrp_task_manager_remove_all_tasks): Emit signal task-removed here.
	(mrp_task_manager_remove_task): and here.
	(mptm_task_weak_notify_cb): Instead of here, it's too late here.

	* mrproject/mrp-task.c (mrp_task_get_predecessor): Add.
	(mrp_task_get_successor): Add.

	* mrproject/mrp-task-manager.c (mptm_class_init): Fix the signal
	signatures. 
	(mrp_task_manager_remove_predecessor): Oops, fix build.
	(mrp_task_manager_get_relation): Update docs.

	* mrproject/mrp-marshal.list: Add marshal list.

	* mrproject/Makefile.am ($(srcdir)/mrp-marshal.c): Add marshal
	generation logic.

	* mrproject/mrp-task-manager.c (mrp_task_manager_add_predecessor):
	Emit relation-added signal.
	(mrp_task_manager_remove_predecessor): Emit signal.
	(mptm_class_init): Add relation-added signal.

	* mrproject/mrp-task.c (mrp_task_add_predecessor): Return created
	relation. 

	* mrproject/mrp-task-manager.c (mrp_task_manager_remove_task):
	Don't allow the root to be removed.
	Update API docs.
	(mptm_task_weak_notify_cb): Emit task-removed signal.
	(mrp_task_manager_insert_task): Emit task-inserted signal.

	* mrproject/mrp-task-manager.c (mptm_traverse_dependency_graph):
	Do a depth first search and output the nodes.
	(mrp_task_manager_sort_tree): Use it here to get a sorted tree.

	* mrproject/main.c (test_task_manager): Update tests to match the
	changed API.

	* mrproject/mrp-task-manager.c:
	* mrproject/mrp-task-manager.h: Use task objects instead of ids in
	all functions.

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

	* storage-modules/xml/Makefile.am:
	(INCLUDES): ENGINE_CFLAGS -> LIBMRPROJECT_CFLAGS
	- install in $(libdir)/mrproject/storage-modules

	* mrproject/Makefile.am:
	- (INCLUDES): removed -I$(top_srcdir)/idl
	- mrproject-2.0 -> mrproject
	- ENGINE_* -> LIBMRPROJECT_*

	* libmrproject.pc.in: added.

	* configure.in: 
	- change version to 0.10 instead of 1.90.
	- change GETTEXT_PACKAGE to libmrproject instead of
	  libmrproject-2.0
	- removed GNOME_PLATFORM_GNOME2 (yes)
	- removed LIBGNOME and LIBBONOBO as dependencies.
	- changed the name of variables from ENGINE to LIBMRPROJECT
	  (_CFLAGS and _LIBS).
	- added limrproject.pc to AC_OUTPUT.

	* Makefile.am (EXTRA_DIST): removed intl-tool. we don't need it in
	  libmrproject (I think).
	(pkgconfig_DATA): added pkg-config stuff.

	* mrproject/Makefile.am (INCLUDES): added -I$(top_srcdir)

	* mrproject/*.h: include <mrproject/*>

	* mrproject/mrp-storage-module.[ch]: added Copyright
	* mrproject/mrp-storage-module-factory.h: added Copyright
	* mrproject/mrp-intl.h: added Copyright

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

	* src/engine/mrp-calendar.c: 
	* src/engine/mrp-calendar.h: Ok, clean up and leave this for now. 

	* src/engine/main.c:
	* src/engine/mrp-calendar.c: 
	* src/engine/mrp-task.c: Include mrp-intl.h instead of defining
	_() here.

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

	* src/engine/main.c (main): Return 0 on success of tests only.

	* src/engine/Makefile.am: Add TESTS so that make check works.

	* src/engine/main.c (test_task_manager): Add more tests and change
	formatting slightly. 
	(check_result): Keep statistics of the results.
	(test_engine): Print out stats.

	* src/engine/mrp-task-manager.c (mrp_task_manager_get_relation):
	Handle non-existant tasks and remove warnings.

	* src/engine/main.c (test_id_service): Use new test functions.
	(test_task_manager): Use new test functions.
	(print_test): Print a test uniformly.
	(check_result): Check the result uniformly.
	(get_n_chars): Pad test printouts.

	* src/engine/mrp-task-manager.c (mrp_task_manager_remove_task):
	Return FALSE on failure.

	* src/engine/mrp-calendar-*.[ch]: Further experiments to try and
	get a useful API.

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

	* src/engine/mrp-resource-manager.[ch]:
	(mrp_resource_manager_create_group): added
	(mrp_resource_manager_insert_group): added
	(mrp_resource_manager_get_group): added
	(mrp_resource_manager_get_all_groups): added
	(mrp_resource_manager_remove_group): added

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

	* src/engine/main.c (test_id_service): Fix typo.

	* src/engine/mrp-calendar.[ch]: Add, needs lots more work. 

	* src/engine/mrp-calendar-manager.[ch]: Add, needs lots more
	work.

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

	* src/engine/mrp-resource.c (mpr_get_property): added PROP_ID to
	  switch

	* src/engine/mrp-group.[ch]: added

	* src/engine/Makefile.am (mrproject_engine_2_SOURCES): 
	- added mrp-group.[ch]

	* src/engine/main.c (test_id_service): 
	- more testings
	- added test for id-service.

	* src/engine/mrp-id-service.c: it now compiles, untested yet.
	
	* src/engine/Makefile.am (mrproject_engine_2_SOURCES): 
	- added mrp-id-service.[ch]

	* src/engine/mrp-resource.c: added basics for properties.

	* src/engine/mrp-id-service.[ch]: added

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

	* src/engine/mrp-task.c (mpt_finalize): Move removing of relations
	from the task manager to here.

	* src/engine/mrp-task-manager.c (mptm_task_weak_notify_cb): Handle
	"re-entrancy" when removing elements while traversing the
	list. Also handle both successors and predecessors being removed.

	* src/engine/main.c (test_task_manager): Test adding/removing
	relations.

	* src/engine/mrp-task-manager.c (mptm_task_weak_notify_cb): Clean
	up relations when tasks go away.

	* src/engine/mrp-task.c (mrp_task_add_predecessor): Add the
	relation to the right task.

	* src/engine/mrp-task-manager.c
	(mrp_task_manager_remove_predecessor): Call
	mrp_task_remove_predecessor. 
	(mrp_task_manager_add_predecessor): Call
	mrp_task_add_predecessor.

	* src/engine/mrp-task-manager.h: Add missing prototype.

	* src/engine/mrp-task-manager.c (mrp_task_manager_get_relation):
	Add. 

	* src/engine/mrp-task.c (mrp_task_get_relation): Add.

	* src/engine/mrp-task-manager.c: Add documentation to more
	functions.
	(mrp_task_manager_add_predecessor): Add.
	(mrp_task_manager_remove_predecessor): Add.

	* src/storage-modules/xml/mrp-storage-module-xml.h: Fix all the
	type cast/check macros. Since they weren't used anywhere, nobody
	noticed they were broken.
	(struct _MrPStorageModuleXML): Add summary.

	* src/storage-modules/xml/mrp-storage-module-xml.c: Implement
	project storage.

	* src/engine/mrp-project-storage.c:
	* src/engine/mrp-project-storage.h: New interface for project
	summary information.

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

	* src/storage-modules/xml/mrp-storage-module-xml.[ch]: 
	- added copyright.
	- all internal functions are now named mpsm_xml_*
	- Added impl. of mrp-storage-resource
	
	* src/engine/mrp-resource.c (mrp_resource_get_id): added/impl.

	* src/engine/mrp-resource-storage.h: removed MrPResource-struct.

	* src/engine/mrp-resource-manager.c:
	(mprm_set_property): started to impl.
	(mprm_resource_weak_notify_cb): added/impl.
	(mprm_reference_foreach_cb): added/impl.
	(mprm_reference_initial_list): added/impl.
	(mrp_resource_manager_create_resource): added/impl. (needs fixing)
	(mrp_resource_manager_insert_resource): added/impl.
	(mrp_resource_manager_get_resource): added/impl.
	(mrp_resource_manager_get_all_resources): added/impl.
	(mrp_resource_manager_remove_resource): added/impl.

	* src/engine/main.c (test_resource_manager): added, not impl.

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

	* src/*/*: Remove project member from MrPTask, and don't pass a
	project when getting a tree from the task storage. We might need
	to add a project to the storage module somehow, but deal with that
	later. 

	* src/engine/main.c: Expand testing to use a mainloop and quit
	when the last project is gone.

	* src/engine/mrp-engine.c: Add last_project_gone signal, emit when
	that happens. 

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

	* src/engine/mrp-task-manager.c
	(mrp_task_manager_remove_all_tasks): Impl.
	(mrp_task_manager_remove_task): Impl.
	(mptm_build_initial_hash_cb): Add a weak ref to all tasks.
	(mptm_task_weak_notify_cb): And in the weak ref notify, we remove
	the task from our hash table.
	(mrp_task_manager_insert_task): Add weak ref.
	(mrp_task_manager_dump_task_list): Add assertion to check that the
	list of tasks contains the same amount of tasks as the hash table.
	(mrp_task_manager_dump_task_tree): Dito.

	* src/engine/mrp-task.c (mpt_finalize): When a task goes away,
	make it get rid of its children in a proper way.

	* src/engine/mrp-task-manager.c: Take ids instead of tasks.
	Add more methods.
	(mrp_task_manager_get_all_tasks): Impl.
	(mrp_task_manager_get_task): Impl.
	(mrp_task_manager_insert_task): Add task to hash.
	(mptm_build_initital_hash): Impl.
	(mrp_task_manager_dump_task_list): Add new test function.

	* src/engine/mrp-task.h: Move relation type from here...
	* src/engine/mrp-types.h: ... to here.

	* src/engine/mrp-task-manager.c: Further API evolution.

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

	* src/storage-modules/xml/mrp-storage-module-xml.c:
	* src/engine/mrp-task-storage.c: Change get_task_tree to take a
	project argument as well, so we can fill in the project field in
	the task, as we build it.

	* src/engine/main.c (test_task_manager): Test the new functions.

	* src/engine/mrp-task-manager.c (mrp_task_manager_insert_task):
	Add.
	(mrp_task_manager_create_task): Add.
	(mptm_set_property): Test if the storage supports tasks.

	* src/engine/mrp-project.c (mpp_set_property): Create a resource
	manager.

	* src/engine/mrp-resource-manager.c (mrp_resource_manager_new):
	Take a project as argument.
	(mprm_set_property, mprm_get_property): Handle project property.
	(mprm_finalize): Chain up finalize.

	* src/engine/mrp-resource-manager.h (MRP_TYPE_RESOURCE_MANAGER):
	This is a resource manager, not a project.
	
	* src/engine/mrp-storage-module-factory.c
	(mrp_storage_module_factory_get): Remove some more debugging output.

	* src/engine/main.c: Test a few bits. 

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

	* src/engine/mrp-resource.c: build-fixes
	
	* src/engine/mrp-resource-storage.c: removed lots of copy-n-paste
	  stuff. 

	* src/engine/mrp-resource-manager.c:
	(mprm_init): set priv->resources == NULL

	* src/engine/Makefile.am: added mrp-resource.[ch] and
  	  mrp-resource-storage.[ch].

	* src/engine/mrp-resource.[ch]: added, not build tested.

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

	* src/storage-modules/xml/mrp-storage-module-xml.c
	(ts_get_fake_tree): Return a correct tree.

	* src/engine/mrp-engine.c:
	* src/engine/mrp-task.c:
	* src/engine/mrp-task-manager.c:
	* src/engine/mrp-project.c: More work.

	* src/engine/mrp-storage-module-factory.c: Use shorter names and
	remove a bit of debugging spew.

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

	* docs/engine-new.sgml: smaller update

	* src/engine/mrp-task-storage.[ch]: copyright fix.

	* src/engine/mrp-resource-storage.[ch]: added

	* src/engine/mrp-engine.c: all internals name mpe_ + copyright

	* src/engine/mrp-project.c: all internals named mpp_ + copyright

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

	* src/storage-modules/xml/mrp-storage-module-xml.c
	(ts_get_fake_tree): Build a fake tree for testing purposes.

	* src/engine/main.c (dump_task_tree, dump_children): Add debug
	spew. 

	* src/engine/mrp-task-storage.h (mrp_task_storage_foo): Add
	protoypes for the exported functions.

2002-01-02    <micke@codefactory.se>

	* src/engine/Makefile.am (mrproject_engine_2_SOURCES):
	- added mrp-resource-manager.[ch], mrp-calendar-manager.[ch]

	* src/engine/mrp-resource-manager.[ch]: 
	- derive from GObject.
	- compile fixes.
	- Copyright fixes.

	* src/engine/mrp-calendar-manager.[ch]: 
	- derive from GObject.
	- compile fixes.
	- Copyright fixes.

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

	* src/engine/mrp-project.c (mpp_project_finalize): Chain up to
	parent.

	* src/engine/mrp-engine.c (mrp_engine_finalize): Chain up to
	parent. 

	* src/engine/main.c (main): Enable object debugging.

	* src/storage-modules/xml/mrp-storage-module-xml.c
	(mrp_task_storage_get_tree): Add. 
	(mrp_task_storage_get_name): Add. 

	* src/engine/mrp-task-storage.c (mrp_task_storage_get_tree): Add. 
	(mrp_task_storage_get_name): Add. 

	* src/Makefile.am (SUBDIRS): Add storage-modules to build.

	* src/engine/main.c: Update to test the new code.

	* src/engine/mrp-task-manager.c: Derive from GObject.

	* src/engine/mrp-project.[ch]: Derive from GObject. 

	* src/engine/mrp-engine.[ch]: Derive from GObject.

	* configure.in: Remove everything that is not linked against, from
	the CFLAGS/LIBS variables, and add gobject and gmodule to
	pkg-config flags.

	* Makefile.am: Comment out idl dir for now.

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

	* idl/GNOME_MrProject_CalendarManager.idl: added, not impl yet.

	* idl/GNOME_MrProject_ResourceManager.idl: inherit Manager.

	* idl/GNOME_MrProject_Manager.idl: added, base interface for all
	  managers.

	* *.[ch]: 
	- Prefix everything with mrp_ instead of mp_
	- Compile fixes due to changes in glib API a while back

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

	* src/engine/mp-calendar-manager.[ch]: added, needs to be impl.

	* src/engine/mp-task-manager.[ch]: dito

	* src/engine/mp-resource-manager.[ch]: dito

	* src/engine/mp-project.c: use mpp_ for internal functions.

