ChangeLog 459 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
2001-09-17  Federico Mena Quintero  <federico@ximian.com>

	Switch the alarm system from using SIGALRM to normal glib timers.
	Also, use a more robust de-queueing mechanism.

	* gui/alarm-notify/alarm.c (alarm_init): Removed.
	(alarm_done): Remove the glib timeout instead of closing the pipes
	and the signal handler.
	(alarm_add): Allow adding alarms that happen before right now.
	(queue_alarm): Use a glib timer instead of a signal.
	(alarm_remove): Adjust the timeout as appropriate.

	* gui/alarm-notify/notify-main.c (main): There is no need to
	initialize the alarm system now.

	* gui/main.c (main): Likewise.

18 19
2001-09-17  JP Rosevear  <jpr@ximian.com>

20 21 22 23 24 25 26
	* gui/calendar-model.c (calendar_model_init): get itip addresses
	(calendar_model_destroy): destroy same
	(calendar_model_value_at): do more thorough checking on whether to
	use recurring, assigned, assigned to or regular task icons

2001-09-17  JP Rosevear  <jpr@ximian.com>
	
27 28 29 30 31 32 33 34 35 36 37 38 39
	* cal-util/cal-component.c (for_each_remove_all_alarms): for each
	call back, removes the alarms
	(cal_component_remove_all_alarms): remove all alarms from the
	component

	* cal-util/cal-component.h: new proto

	* gui/e-itip-control.c (write_error_html): writes error messages
	rather than normal html

	* gui/itip-utils.c (itip_send_comp): remove all alarms if the
	method warrants it

40 41 42 43 44
2001-09-16  Christopher James Lahey  <clahey@ximian.com>

	* gui/dialogs/meeting-page.c (build_etable): Updated this to match
	the new ETableSimple interface.

45 46 47 48 49 50 51
2001-09-14  Ettore Perazzoli  <ettore@ximian.com>

	[Automake 1.5 fixes pointed out by Richard Boulton
	<richard@tartarus.org>, as per #9258.]

	* cal-client/Makefile.am: Set CLEANFILES directly instead of using
	`+='.
52 53
	* gui/Makefile.am: Likewise.
	* gui/alarm-notify/Makefile.am: Likewise.
54
	* pcs/Makefile.am: Likewise.
55

56 57 58 59 60
2001-09-14  Damon Chaplin  <damon@ximian.com>

	* gui/e-itip-control.c (ok_clicked_cb): added space after 'identities'
	in the message. Fixes bug #9896.

61 62 63 64 65
2001-09-14  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/e-calendar.conduit.in: remove translation
	marker for now	

66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
2001-09-13  JP Rosevear  <jpr@ximian.com>

	* cal-util/cal-component.h: use ical partstat, role, cutypes
	directly 

	* cal-util/cal-component.c: ditto

	* gui/e-itip-control.c (find_my_address): set my addresses if the
	addresses match
	(find_attendee): strstr returns non-null on a match
	(write_html): use new icon, select the name displayed (organizer
	or attendee) based on method,
	(ok_clicked_cb): when rsvp'ing strip off all but the attendee
	being replied for as is specified in the spec
	(find_attendee_partstat): new util function to extract the
	partstat of an attendee
	(update_attendee_status): updates the partstat of a specific
	attendee in the reply message

	* gui/dialogs/meeting-page.c: use ical partstat, role, cutypes
	directly
	(popup_delegate_cb): if we delegate, notify of needs send and
	changed
	(popup_delete_cb): notify of needs send and changed for each
	deletion
	
92 93 94 95 96 97 98 99 100 101 102 103
2001-09-12  JP Rosevear  <jpr@ximian.com>

	* gui/calendar-commands.c (publish_freebusy_cmd): send 6 weeks of
	free busy info starting with the UTC start of day

	* gui/itip-utils.c (get_label): create a text representation of
	the given icaltime
	(itip_send_comp): if the summary is empty, set the subject based
	on the type of component, put the right extension on free/busy
	components and base descriptions on type of component, include
	start/end for free/busy info
	
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
2001-09-11  Federico Mena Quintero  <federico@ximian.com>

	* gui/alarm-notify/alarm-queue.c (display_notification): Added an
	use_description argument so that other alarms can fall back to
	this type.
	(audio_notification): Implemented.
	(remove_comp): Call remove_queued_alarm() here; there is no longer
	a destroy notification function for alarms so must we do this
	manually.
	(alarm_trigger_cb): Do not pass the alarm to the notification
	functions so that we can free it ourselves before all the alarms
	in the component get freed.
	(display_notification): Get the alarm here instead of getting it
	as an argument.
	(procedure_notification): Implemented.

120 121 122 123 124 125 126
2001-09-11  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (invite_entry_changed): free the
	destination vector when we finish with it, if we actually add
	anyone, notify listeners of the needs send and changed info. Fixes
	bug #8632.

127 128 129 130 131 132 133 134 135 136 137
2001-09-10  Zbigniew Chyla  <cyba@gnome.pl>

	* gui/print.c
	(format_date): Convert string generated by strftime to UTF-8.
	(print_week_view_background): Ditto.
	(print_month_summary): Ditto.
	(print_month_small): Use U_() instead of _().
	(print_day_background): Ditto.
	(print_todo_details): Ditto.
	(print_date_label): Convert generated string to UTF-8.

138 139 140 141 142 143 144 145 146 147 148
2001-09-10  Federico Mena Quintero  <federico@ximian.com>

	* cal-util/cal-component.c (cal_component_alarm_get_attach):
	Handle the new icalattach type instead of struct icalattachtype.
	(cal_component_alarm_set_attach): Likewise.

	* gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Likewise.
	(alarm_to_palarm_widgets): Likewise.
	(aalarm_widgets_to_alarm): Likewise.
	(palarm_widgets_to_alarm): Likewise.

149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
2001-09-05  Ettore Perazzoli  <ettore@ximian.com>

	[Fix #958, ShellComponents should not be created by factories, for
	the calendar.]

	* gui/GNOME_Evolution_Calendar.oaf.in: Remove the
	ShellComponentFactory.

	* gui/component-factory.c (create_object): Renamed from
	`component_fn'.  Don't get any args.
	(component_factory_init): Create the component using
	`create_object()' and register it into OAF.
	(COMPONENT_FACTORY_ID): Removed.
	(COMPONENT_ID): New.

Federico Mena Quintero's avatar
Federico Mena Quintero committed
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
2001-09-04  Federico Mena Quintero  <federico@ximian.com>

	* gui/component-factory.c (sc_user_create_new_item_cb):
	Implemented.

	* gui/main.c (component_editor_factory_init): New function to
	create the factory for the comp_editor_factory.

	* gui/comp-editor-factory.c: Finished implementation.

	* gui/alarm-notify/alarm-queue.c (edit_component): Implemented the
	Edit command.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added
	comp-editor-factory.[ch] to the list of sources.

180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
2001-09-03  Damon Chaplin  <damon@ximian.com>

	* gui/calendar-commands.c (calendar_control_activate): 
	* gui/tasks-control.c (tasks_control_activate): don't call
	calendar_config_check_timezone_set() now, since the startup wizard
	handles that.

	* gui/e-tasks.c (e_tasks_class_init): changed selection_changed signal
	to GTK_RUN_LAST. It has no reason to be GTK_RUN_FIRST.

	* gui/gnome-cal.c: 
	* gui/e-week-view.c: 
	* gui/e-day-view.c: added "selection_changed" signal,
	XX_delete_event() and XX_get_num_events_selected().

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): fix the shadow
	around the dates at the top - it was 1 pixel off.

	* gui/calendar-commands.c: added sensitize_commands(), similar to in
	tasks-control.c, so we only make Cut/Copy/Delete sensitive when an
	event is selected. Also added delete_event_cmd().

	* gui/dialogs/task-page.c (task_page_set_summary): 
	* gui/dialogs/event-page.c (event_page_set_summary): do nothing,
	since the summary only gets changed on the main event/task page now.
	Fixes bug #6939.

	* gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): 
	(e_day_view_on_top_canvas_drag_data_received): check that we are
	dragging an event from the same EDayView. We currently don't support
	DnD from other widgets.
	(e_day_view_update_top_canvas_drag): only get the summary if we
	actually have an event. Fixes bug #5162.

	* gui/e-day-view.c (e_day_view_on_editing_stopped): if the text hasn't
	changed we need to call e_day_view_update_event_label() to show the
	times again if necessary. Fixes bug #1813.

	* gui/dialogs/comp-editor.c (comp_editor_destroy): destroy the
	CompEditorPage objects here rather than in close_dialog(), after the
	widgets have been destroyed. We do this because the widgets have lots
	of signal handlers connected with the CompEditorPage objects as the
	signal data, so we want to ensure that the data pointer is always
	valid. (Alternatively we could disconnect all the handlers when the
	CompEditorPage objects are destroyed, or use connect_while_alive()).
	Fixes bug #7543.

	Note: there is still a small bug in that if you type in a time and
	then hit 'Save and Close', the time won't be saved. I'm not sure
	where this should be fixed - should the actions which close the
	dialog grab the focus to the toplevel, so any widgets currently
	being edited finish the edit and emit 'changed'?
	
	* gui/dialogs/recurrence-page.c (append_exception): use
	gtk_clist_set_row_data_full() so freeing is handled automatically by
	the GtkClist. This helps avoid problems at destroy-time.
	(exception_delete_cb): just call gtk_clist_remove() now. No need to
	free the row data as GtkCList now handles it.
	(recurrence_page_destroy): no need to free the data in the clist.

	* gui/dialogs/alarm-page.c: ditto.

	* gui/dialogs/meeting-page.c: ditto.
	(etable_destroy_cb): save the ETable state in this new handler cb
	rather than in the destroy method, since the widget will already be
	destroyed by then.

247 248 249 250
2001-08-31  Damon Chaplin  <damon@ximian.com>

	* gui/e-itip-control.c: changed 3 occurrences of 'Replyed' to 'replied'

251 252 253 254 255 256 257 258
2001-08-31  Zbigniew Chyla  <cyba@gnome.pl>

	* gui/e-itip-control.c (write_html):
	Marked strings for translation (with U_).

	* gui/itip-utils.c (itip_send_comp):
	Ditto.

259 260 261 262 263 264
2001-08-31  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): 
	(comp_editor_contacts_to_component): fix debugging messages so they
	use "" rather than NULL. Fixes bug #8559.

265 266 267 268 269 270 271 272 273 274 275 276 277 278
2001-08-29  Federico Mena Quintero  <federico@ximian.com>

	* pcs/cal-backend-file.c (cal_backend_file_remove_object): See if
	the set of categories changed by using the removed_categories hash
	table.
	(cal_backend_file_init): Create a table of removed categories.
	This allows us to notify if and only if the set of category
	changes when an object is updated/removed, instead of
	unconditionally notifying if an object is updated.
	(cal_backend_file_update_objects): Only notify if the set of
	categories really changed.
	(update_categories_from_comp): Shuffle the categories between the
	priv->categories and priv->removed_categories lists.

279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
2001-08-28  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #7879, a query may receive an update notification from
	the backend before the query itself gets populated.

	* pcs/query.c (ensure_sexp): New function; ensures that the esexp
	is created and notifies of parse errors.  It is the bulk of
	start_query_cb() but put in a separate function so that we can
	share it elsewhere.
	(start_query_cb): Use ensure_sexp().
	(process_component_cb): Oops, notify of a successfully finished
	query.
	(match_component): Call ensure_sexp().  This function can be
	called by the backend notification callbacks before the query is
	populated, so we need to make sure the esexp exists here.

2001-08-22  Federico Mena Quintero  <federico@ximian.com>

	* gui/cal-search-bar.c (cal_search_bar_construct): Set the
	"category is" criterion as the default for the calendar and tasks.

300 301 302 303 304 305
2001-08-22  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
	Unset the priv->updating flag before returning in the case the
	component has no recurrence information.  Fixes bug #6850.

306 307 308 309 310 311 312 313 314 315 316
2001-08-22  Federico Mena Quintero  <federico@ximian.com>

	* gui/alarm-notify/alarm-queue.c (QueuedAlarm): Added a snooze
	flag to differentiate snoozed alarms from real occurrences.
	(add_component_alarms): Do not specify a destroy function for the
	alarm trigger.  We handle this in the callbacks now.
	(alarm_trigger_cb): Just remove the alarms for the unimplemented
	notification types.
	(create_snooze): Implemented snooze.
	(notify_dialog_cb): Snooze as appropriate.

317 318 319 320 321 322
2001-08-22  JP Rosevear  <jpr@ximian.com>

	* gui/itip-utils.c (foreach_tzid_callback): call back to add
	timezones to the top level
	(itip_send_comp): call icalcomponent_foreach_tzid

323 324 325 326 327
2001-08-22  Dan Winship  <danw@ximian.com>

	* gui/gnome-cal.c: #include <libgnomevfs/gnome-vfs-types.h> so
	this will compile against gnome-vfs 1.0.1.

328 329 330 331 332 333 334 335 336
2001-08-22  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_open): open the tasks folder
	associated with the calendar being opened, and not always the local
	tasks.ics file

	* pcs/cal-factory.c (open_fn): use gnome_vfs_uri_new_private when
	parsing the URI to allow non-registered URIs

337 338 339 340 341
2001-08-21  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-options.c (alarm_to_palarm_widgets): Handle
	the case where there is no attachment.  Fixes bug #7257.

342 343 344 345 346
2001-08-21  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (write_html): strip the mailto bit for the
	email address if we display it

347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
2001-08-21  Damon Chaplin  <damon@ximian.com>

	* pcs/query.c (func_is_completed): added new e-sexp operator. We
	don't currently use it though.

	* gui/dialogs/cal-prefs-dialog.glade: Changed '_Overdue' to 'O_verdue'
	since we have an '_Other' notebook tab. Added '_Hide' accel.

	* gui/dialogs/cal-prefs-dialog.c: hooked up config options to dialog.

	* gui/calendar-config.c: added config options for hiding completed
	tasks.

	* gui/e-week-view-event-item.c (e_week_view_event_item_draw): 
	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): 
	* gui/e-day-view.c (e_day_view_reshape_long_event): added 2 pixels
	extra space between icons and text for long events, and 1 pixel space
	between icons in all events.
	(e_day_view_realize): changed the background color to match the
	EGrayBar in the shell.

368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
2001-08-21  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend-util.[ch]: new files to contain utility functions
	for calendar backends

	* pcs/cal-backend.c (cal_backend_add_cal): implement it here, and not in
	the calendar backends. Add a "cal_added" signal, so that backends are
	notified when a new Cal is added, if they need to
	(cal_backend_get_type_by_uid): implement it here

	* pcs/cal-backend-file.c (fill_alarm_instances_seq): moved to
	cal-backend-util.c
	(cal_backend_file_add_cal): removed
	(cal_backend_file_init): connect to the "cal_added" signal in the
	CalBackend class so that we can update categories when a new Cal is
	added
	(cal_backend_file_get_type_by_uid): removed

	* pcs/cal-backend-db.c (fill_alarm_instances_seq): moved to
	cal-backend-util.c
	(cal_backend_db_add_cal): removed
	(cal_backend_db_get_type_by_uid): removed

	* AUTHORS: added JP and Damon to list of authors

393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
2001-08-20  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-util.[ch] (cal_util_generate_alarms_for_list):
	(cal_util_generate_alarms_for_comp): 
	new functions moved from the CalBackendFile, to allow its use outside
	of it. The signature has changed a little bit, since these functions
	need a way to get the timezones from the callers, so a callback
	function to resolve the timezones has been added to the list of
	parameters

	* pcs/cal-backend-file.c (generate_alarms_for_list):
	(generate_alarms_for_comp): moved to cal-util, with all their related
	functions/structures

	* pcs/cal-backend-db.c: removed functions that were moved to cal-util

409 410
2001-08-20  Damon Chaplin  <damon@ximian.com>

411 412 413
	* gui/dialogs/comp-editor.c (pixmaps): use Delete icon in menu, and
	change to bigger Save icon in toolbar.

414 415 416 417
	* gui/tasks-control.c: 
	* gui/calendar-commands.c (pixmaps): used new_task-16.png and
	goto-16.png.

418 419 420 421 422
2001-08-20  Damon Chaplin  <damon@ximian.com>

	* gui/calendar-commands.c (pixmaps): added delete icons for menu
	and toolbar.

423 424 425 426
2001-08-20  Damon Chaplin  <damon@ximian.com>

	* gui/tasks-control.c: added Cut/Copy/Paste icons for toolbar.

427 428 429 430
2001-08-20  Damon Chaplin  <damon@ximian.com>

	* gui/tasks-control.c: uses new delete icons in menu & toolbar.

431 432 433 434 435
2001-08-19  Ettore Perazzoli  <ettore@ximian.com>

	* gui/component-factory.c: Update the folder list to include a
	display name and a description.

436 437 438 439
2001-08-20  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/comp-editor.c (pixmaps): use new delete icon for toolbar.

440 441 442 443
2001-08-19  Damon Chaplin  <damon@ximian.com>

	* gui/e-itip-control.c: fixed typo, 'send' -> 'sent'. Bug #7621.

444 445 446 447 448 449 450 451 452 453 454 455 456
2001-08-18  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/cal-prefs-dialog.glade: added option to hide completed
	tasks after a given number of minutes/hours/days. Unfinished.

	* gui/dialogs/event-page.c (event_page_fill_component): initialize
	zone to NULL to avoid a warning.
	(contacts_clicked_cb): work around a bug in SelectNames by notifying
	that the page has changed when you click the 'Contacts' button.
	Otherwise it is easy to lose changes.

	* gui/dialogs/task-page.c (contacts_clicked_cb): ditto.

457 458 459 460 461 462 463 464
2001-08-18  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/comp-editor.c (pixmaps): used new Save/Save As icons.

	* gui/tasks-control.c:
	* gui/calendar-commands.c (pixmaps): added new Cut/Copy/Paste icons,
	and changed the 'New Task' icon to use the bigger one I made.

465 466 467 468 469 470
2001-08-05  Zbigniew Chyla  <cyba@gnome.pl>

	* gui/dialogs/task-page.c (summary_changed_cb):
	Use e_dialog_editable_get instead of gtk_editable_get_chars (we need
	UTF-8 string).

471 472 473 474 475 476 477
2001-08-18  Zbigniew Chyla  <cyba@gnome.pl>

	* gui/calendar-config.c (locale_uses_24h_time_format): New.
	(config_read): Use locale's setting as default for
	/Calendar/Display/Use24HourFormat so that Europeans don't have to
	switch to 24-hour format manually.

JP Rosevear's avatar
JP Rosevear committed
478 479 480 481 482
2001-08-17  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (destroy): destroy the addresses
	(clean_up): don't free the addresses, we need them

483 484 485 486 487 488 489 490 491 492 493 494 495
2001-08-17  Damon Chaplin  <damon@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_new_task): new function to open the
	task editor to add a new task.

	* gui/calendar-commands.c: added new_task_cb() to create a new task
	in the calendar folder, and added menu commands for it, and a toolbar
	button (I think that is what Ettore wanted. Maybe he just meant menu
	commands. Anyway, it is easy to take out.) Note that we don't have a
	decent icon for 'New Task' for the toolbar.
	Also added the new Goto button (but we don't have a similar one for
	the menu command).

Iain Holmes's avatar
Iain Holmes committed
496 497 498 499 500 501 502 503 504 505
2001-08-16  Iain Holmes  <iain@ximian.com>

	* gui/Makefile.am: Add the libetimezonedialog.a lib link

	* gui/calendar-config.c: Change the #include for the timezone dialog

	* gui/e-timezone-entry.c: Ditto.

	* gui/dialogs/Makefile.am: Remove the e-timezone-dialog stuff.

506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
2001-08-16  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/event-page.c: hide the timezone fields for all-day
	events. We will use DATE values for these eventually, and these
	don't have timezones associated with them. Currently we just use the
	default timezone for all-day events, as a workaround until we have
	DATE values working.

	* gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): added
	make_time_insensitive flag. Though we may not use it.

	* gui/dialogs/event-page.glade: made the 'All day event' toggle
	right-aligned, so it doesn't move when the other widgets are shown
	and hidden.

	* gui/e-timezone-entry.c (e_timezone_entry_set_default_timezone): new
	function to set the default timezone of the widget. If the current
	timezone setting matches the default then the entry field is hidden.
	Most people won't use timezones so this makes the GUI simpler.

	* gui/dialogs/event-page.c (init_widgets): 
	* gui/dialogs/task-page.c (init_widgets): set the default timezone
	using the above function.

	* gui/dialogs/task-page.c (task_page_fill_widgets): if the start date
	or due date is not set, we use the default timezone, so the user
	doesn't have to set this each time they set the date.

534 535 536 537 538 539
2001-08-16  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): If the
	component has no alarms remember to set the priv->updating flag to
	FALSE before returning.

540 541 542 543 544 545
2001-08-16  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/e-delegate-dialog.c
	(e_delegate_dialog_get_delegate_name): get the destinations
	property, not the text property

546 547 548 549 550 551
2001-08-16  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-page.c (clear_widgets): Set the default-to-add
	notification to be display a message 15 minutes before the start
	of the appointment.  Fixes bug #7175.

552 553 554 555 556 557 558 559 560 561 562
2001-08-16  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/comp-editor-util.c (comp_editor_strip_categories):
	New function to strip surrounding whitespace from a string of
	categories entered by the user.

	* gui/dialogs/task-page.c (task_page_fill_component): Use
	comp_editor_strip_categories().

	* gui/dialogs/event-page.c (event_page_fill_component): Likewise.

563 564 565 566 567 568 569 570 571 572
2001-08-16  Federico Mena Quintero  <federico@ximian.com>

	* gui/calendar-config.c (calendar_config_configure_e_date_edit):
	Do not set the time popup range.  We also want to be able to
	create appointments that are not within nine-to-five!  Think of
	going to the movies!  Fixes bug #7436.

	* gui/dialogs/cal-prefs-dialog.glade: "am/pm" is now "AM/PM".
	Fixes bug #7367.

573 574 575 576 577
2001-08-16  Jon Trowbridge  <trow@ximian.com>

	* gui/cal-search-bar.c: Changed to reflect my renaming of some of
	the more hideously-named functions in the ESearchBar API.

578 579 580 581 582 583 584
2001-08-15  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/comp-editor.c (save_comp): only fill the component
	and save it if something has changed
	(save_comp_with_send): only try to send if something has changed
	and the editor needs a send

585 586 587 588 589
2001-08-15  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/cal-prefs-dialog.glade: OK, re-added the default
	alarm options.  Way too many people are asking for them.

590 591 592 593 594 595 596 597 598 599
2001-08-15  Federico Mena Quintero  <federico@ximian.com>

	* gui/component-factory.c (factory_fn): Add the user creatable
	items.  The callback is not actually implemented yet; this is just
	to finalize the GUI.

	* gui/dialogs/cal-prefs-dialog.glade: Added an option to ask for
	confirmation when deleting items.  Added underlined shortcuts
	(they may not all work currently).

600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
2001-08-14  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/task-page.c: 
	* gui/dialogs/event-page.c: added support for the Contacts field.
	Note that I'm not sure what we should put in the iCalendar CONTACT
	properties. Currently we put "name <email>", but it isn't recognized
	as a contact when we reopen the dialog, so we may need more info here.
	Also we currently use a simple parser to parse the above format, and
	we should maybe use some camel function.

	* gui/dialogs/task-page.glade: 
	* gui/dialogs/event-page.glade: replaced the GtkEntry fields for the
	Contacts with a GtkEventBox which we put the BonoboControl in at
	runtime.

	* gui/dialogs/meeting-page.c (invite_entry_changed): added FIXMEs
	since it doesn't seem to be freeing the EDestination stuff. JP?

	* gui/dialogs/comp-editor-util.c: added bunch of utility functions to
	handle the Contacts field in the main Event and Task pages.

	* gui/gnome-cal.c: added visible_start and visible_end fields, so we
	only emit the 'dates-shown-changed' signal when really necessary.
	Currently changing the folder title bar label results in a complete
	redraw of the Evolution window (silly GtkLabel queueing a resize),
	so we want to avoid that as much as possible.
	(gnome_calendar_new_appointment_for): only move the event's end time
	to the end of the day if it is not already 00:00:00.

	* gui/e-week-view-event-item.c: 
	* gui/e-week-view.c: 
	* gui/e-day-view.c: added support for double-clicking on an event to
	open it, and for double-clicking on the background to create a new
	event. There is still a minor problem to sort out, but it basically
	works.

	* cal-util/cal-component.c: added support for CONTACT properties,
	mainly by copying the code for COMMENT properties which are exactly
	the same type.

	* gui/e-day-view.c (e_day_view_realize): use the same color for the
	top canvas background as the shortcut bar, to make it look a little
	nicer (I think). Although we still have the theme problem with
	hard-coded colors.

645 646 647 648 649
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-calendar-table.etspec: Made the click-to-add message
	shorter.  Fixes bug #7177.

650 651 652 653 654
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	* gui/calendar-commands.c (pixmaps): Added Tigert's new icons for
	Prev and Next.

655 656 657 658 659 660
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	* gui/cal-search-bar.c (make_suboptions): Make the "Any Category"
	item consistent with the one in the addressbook.  Also, free the
	items correctly.

661 662 663 664 665 666 667 668 669 670 671 672 673
2001-08-14  Federico Mena Quintero  <federico@ximian.com>

	* gui/cal-search-bar.c (get_current_category): Handle an array of
	categories in the CalSearchBar instead of our own menu items.
	(notify_query_contains): Fetch the text from the search bar here
	instead of in regen_query().
	(regen_query): Handle category searches.
	(notify_category_is): New function.
	(cal_search_bar_construct): Do not create an option menu.
	(make_suboptions): New function to create the suboption items from
	the list of categories.
	(notify_query_contains): Do not include a category sexp here.

674 675 676 677 678 679 680 681 682 683 684 685 686
2001-08-13  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (update_item): add dialog for feedback
	(remove_item): ditto
	(send_item): ditto
	(send_freebusy): ditto

2001-08-13  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c: rewrite the gui to use gtkhtml

	* gui/Makefile.am: define the icon dir

687 688 689 690 691
2001-08-12  Kjartan Maraas  <kmaraas@gnome.org>

	* gui/e-itip-control.h: Remove #include <config.h> from here.
	* gui/itip-utilss.h: Same here.
	
692 693 694 695 696 697 698 699
2001-08-11  Ettore Perazzoli  <ettore@ximian.com>

	* gui/tasks-control.c: Update the paths of the Tools menu
	according to the changes in the XML [i.e. things are moved to the
	ComponentToolsPlaceholder].

	* gui/calendar-commands.c: Likewise.

700 701 702 703 704 705
2001-08-11  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/event-page.c (init_widgets): 
	* gui/dialogs/task-page.c (init_widgets): turn on word-wrap for the
	description fields. Fixes bug #6821.

706 707 708 709 710
2001-08-10  Jon Trowbridge  <trow@ximian.com>

	* gui/cal-search-bar.c: Where we have ESearchBarItems, set their
	subitems to NULL.

711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748
2001-08-09  Damon Chaplin  <damon@ximian.com>

	* pcs/cal-backend.c (cal_backend_get_object_component): added new
	backend method to get the component given a UID.

	* pcs/cal-backend-file.c (cal_backend_file_get_object_component): 
	added implementation of above virtual method.
	
	* pcs/query.c (match_component): use the new backend function to get
	the CalComponent rather than the string. This avoids converting all
	the calendar components to strings and parsing them back into
	components for every query! (That wasn't a good idea, was it ;)

	* gui/e-week-view.c: 
	* gui/e-day-view.c: use a timeout handler to layout the events,
	to avoid doing a layout for each event we get from a query.

	* gui/print.c (print_day_add_event): 
	* gui/e-day-view.c (e_day_view_add_event): set start_row_or_col and
	num_columns to 0. They are guint8's.

	* gui/e-week-view.c (e_week_view_free_events): hide all the jump
	buttons. Fixes bug #5946.

	* gui/calendar-commands.c (calendar_set_folder_bar_label): added the
	day numbers for the month view.

	* gui/dialogs/recurrence-page.glade: changed "_Delete" to "_Remove",
	since it clashed with "_Add". Also added underlined accelerators for
	the recurrence radio buttons. Note that none of these accelerators
	actually work at present, due to the way we are using .glade files
	for each notebook page. I need to add a bug about this.
	Also, the "_Action" menu doesn't popup when I press Alt+A, even though
	the "_File" menu does popup when I press Alt+F. Strange.

	* pcs/cal-backend-file.c (cal_backend_file_get_timezone_object):
	removed debug msgs.

749 750 751 752 753 754 755 756
2001-08-09  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
	* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
	* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
	unref the GdkPixmap and GdkBitmap returned by the function
	e_categories_config_get_icon_for ()

JP Rosevear's avatar
JP Rosevear committed
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774
2001-08-09  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-page.*: Remove progress frame

	* gui/dialogs/task-details-page.*: Put in progress frame, remove
	basics frame
	
	* gui/dialogs/task-editor.c (set_menu_sens): util function to set
	menu sensitivity based on state
	(task_editor_init): add meeting page
	(task_editor_edit_comp): show page if necessary
	(task_editor_destroy): unref meeting page
	(assign_task_cmd): bring up meeting page
	(refresh_task_cmd): save before sending
	(forward_cmd): ditto

	* gui/dialogs/comp-editor.c (save_cmd): implement new save command

775 776 777 778 779 780 781 782 783 784 785
2001-08-09  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-itip-control.c (destroy): Chain to the destroy handler in
	the parent class!

	* gui/dialogs/comp-editor-page.c (comp_editor_page_destroy):
	Likewise.  Sigh.

	* gui/cal-search-bar.c (cal_search_bar_destroy): Whoops, added a
	destroy handler.

786 787 788 789 790 791 792
2001-08-08  Damon Chaplin  <damon@ximian.com>

	* gui/goto-dialog.glade: removed underlined accelerator key from
	"_Go To Today" button. GnomeDialog doesn't actually support underlined
	accelerator keys for buttons. We could hack it, like Glade does, if
	we really need to. Fixes bug #6418.

793 794 795 796 797
2001-08-08  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-day-view.c (update_query): Stop editing any event.  Fixes
	bug #5949.

798 799 800 801 802 803
2001-08-08  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set
	the alarm_copy on the component, not the original alarm.  Fixes
	bug #5214.

804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832
2001-08-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (set_attendees): set the attendees of
	a component
	(meeting_page_fill_component): use above
	(meeting_page_get_cancel_comp): return a comp with the attendees
	to be cancelled

	* gui/dialogs/meeting-page.h: get a component that will be sent as
	a cancellation

	* gui/dialogs/event-editor.c (event_editor_class_init): override
	send_comp class method
	(event_editor_send_comp): send cancellation notices to deleted
	attendees
	(refresh_meeting_cmd): save before send
	(forward_cmd): ditto

	* gui/dialogs/comp-editor.c (comp_editor_class_init): set default
	send_comp method
	(real_send_comp): do the real work
	(comp_editor_send_comp): call class method
	(save_comp): don't do any sending
	(save_comp_with_send): save and send here
	(prompt_to_save_changes): use above
	(save_close_cmd): ditto

	* gui/dialogs/comp-editor.h: add virtual function

833 834
2001-08-08  Rodrigo Moya <rodrigo@ximian.com>

835 836 837
	* gui/e-week-view-event-item.c
	(e_week_view_event_item_draw_icons): don't use a NULL mask in the
	call to gdk_gc_set_clip_mask
838

839 840
	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
	ditto
841

842 843
	* gui/e-day-view-main-item.c
	(e_day_view_main_item_draw_day_event): ditto
844

JP Rosevear's avatar
JP Rosevear committed
845 846 847 848 849 850 851 852 853 854 855
2001-08-08  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit-config.h: fix pre-processor
	macros

	* conduits/calendar/calendar-conduit.h: ditto

	* conduits/todo/todo-conduit-config.h: fix pre-processor macros

	* conduits/todo/todo-conduit.h: ditto

856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875
2001-08-07  Federico Mena Quintero  <federico@ximian.com>

	* cal-client/cal-listener.c (cal_listener_stop_notification): New
	function to stop further notification from happening.
	(impl_notifyCalOpened): Do not notify if requested.
	(impl_notifyObjUpdated): Likewise.
	(impl_notifyObjRemoved): Likewise.
	(impl_notifyCategoriesChanged): Likewise.
	(CalListenerPrivate): Do not keep a reference to the server-side
	Cal.  This would create a circular reference since the server
	keeps a reference to the listener.
	(cal_listener_destroy): Likewise.
	(impl_notifyCalOpened): Likewise.

	* pcs/cal.c (cal_destroy): bonobo_object_release_unref() the listener.

	* cal-client/cal-client.c (cal_client_destroy): Ask the listener
	to stop notifications.  Also, do not unref it as the server does
	that itself when we unref the Cal.

876 877 878 879 880 881
2001-08-07  Federico Mena Quintero  <federico@ximian.com>

	* gui/calendar-model.c (calendar_model_free_value): Only unref the
	FIELD_COMPONENT if it is non-NULL.  We return a NULL for that
	field from ::initialize_value(), after all.  Fixes bug #6098.

882 883 884
2001-08-07  JP Rosevear  <jpr@ximian.com>

	* gui/itip-utils.c (itip_send_comp): Make calendar.ics the
JP Rosevear's avatar
JP Rosevear committed
885
	suggested name when attaching the ical object
886

887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
2001-08-06  Damon Chaplin  <damon@ximian.com>

	* gui/e-week-view.h: 
	* gui/e-day-view.h: added 'different_timezone' fields to EDayViewEvent
	and EWeekViewEvent, to note that the event is in a different timezone.
	We now compute this once when we add the event to the array, rather
	than each time we draw the event. If it is set, we will draw the
	timezone icon next to the event.

	* gui/e-day-view-main-item.c: take transparency into account when
	drawing the blue vertical bars to represent busy time.

	* gui/tag-calendar.c: take transparency into account when tagging
	the mini calendar.

	* gui/e-calendar-table.c (e_calendar_table_init): removed the "None"
	options for transparency and classification, since these properties
	have defaults anyway, so we may as well use those to keep it simple.
	Also use "Free" and "Busy" for transparency, rather than "Transparent"
	and "Opaque".

	* gui/calendar-model.c: updated classification & transparency code
	as above.

	* gui/e-calendar-table.etspec: changed "Transparency" to "Show Time As"
	since people have a chance of understanding that.

	* gui/e-week-view.c: 
	* gui/e-day-view.c: 
	* gui/gnome-cal.c: added functions to get the visible time range.

	* gui/calendar-commands.c: finished stuff to set the folder bar
	label to the dates currently displayed.

	* gui/control-factory.c (control_factory_new_control): connected
	signal to update the folder title bar label when the dates shown
	are changed. I had to connect it here since we need the BonoboControl
	in the callback, and I don't know how to get the control from the
	widget.

	* gui/tasks-control.c (tasks_control_activate): clear the folder bar
	label. We could display something here at some point.

	* gui/dialogs/recurrence-page.glade: changed "_Add" to "A_dd", since
	we have an "_Actions" menu. (These also use Alt+key, right?)

	* gui/dialogs/event-page.glade: 
	* gui/dialogs/event-page.c: added 'Show Time As' field, which is
	really the TRANSP property but with a better name!
	Also changed one of the "_Confidential" to "Con_fidential" since we
	already have "_Contacts" using the same 'C' key.

	* pcs/cal-backend-file.c (cal_backend_file_get_free_busy): skip
	events that are TRANSPARENT. Also added comment as this code looks
	inefficient.

	* cal-util/cal-component.c: removed stuff for comparing timezones.

	* gui/comp-util.c (cal_comp_util_compare_event_timezones): moved the
	above function here, and updated it to compare the UTC offsets of the
	times as well as the TZIDs.

949 950 951 952 953 954 955
2001-08-06  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/cal-prefs-dialog.glade: In process of fixing bug
	#6005.  The "Calendar" page is now "Display", and it has no
	frames.  The "Task list" page has colons between the labels and
	the color pickers, and it has no frame.

956 957 958 959 960 961
2001-08-06  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/cal-client.c (destroy_wombat_client): added check for
	NULL pointers. Maybe fixes #5203 (I can't reproduce it, so I'm not
	sure)

962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
2001-08-03  Federico Mena Quintero  <federico@ximian.com>

	* cal-client/query-listener.c (query_listener_stop_notification):
	New function; stops further notification from happening.  This is
	needed since the listener is destroyed asynchronously from the
	Wombat and the corresponding CalQuery may already have died.
	(impl_notifyObjUpdated): Do not notify if requested.
	(impl_notifyObjRemoved): Likewise.
	(impl_notifyQueryDone): Likewise.
	(impl_notifyEvalError): Likewise.

	* cal-client/cal-query.c (cal_query_destroy): Use
	query_listener_stop_notification().

	* cal-client/cal-listener.c (cal_listener_destroy): Nullify the
	pointers to the callback functions.

	* gui/e-day-view.c (update_query): Commit our state of no longer
	having a query before unrefing it.  We may reenter from the ORBit
	main loop and we *really* want this information to be committed.

	* gui/e-week-view.c (update_query): Likewise.

	* gui/calendar-model.c (update_query): Likewise.

	* gui/tag-calendar.c (tag_calendar_by_comp): Added a "clear_first"
	argument that indicates whether the ECalendar should be cleared of
	any marks first.

	* gui/calendar-commands.c (calendar_control_activate): Removed
	ifdefed-out view buttons code from the Gnomecal days.

	* gui/gnome-cal.c (client_categories_changed_cb): Merge the
	categories of the calendar and tasks clients so that we can
	display the categories in both sets.
	(gnome_calendar_construct): Connect to "categories_changed" on
	both clients.
	(gnome_calendar_on_date_navigator_selection_changed): Removed call
	to gnome_calendar_update_view_buttons().
	(gnome_calendar_update_view_buttons): Removed.  We cannot have
	this until Bonobo supports radio toolbar items.
	(gnome_calendar_set_view_buttons): Removed.
	(gnome_calendar_dayjump): Do not use priv->day_button.
	(GnomeCalendarPrivate): Removed the {day,work_week,week,month}_button 
	fields.
	(gnome_calendar_set_query): Start a retagging process of the date
	navigator so that it reflects the current query.
	(update_query): New function to restart a query for the date navigator.
	(initial_load): Use update_query() instead of tagging the date
	navigator directly.
	(gnome_calendar_on_date_navigator_date_range_changed): Likewise.
	(client_cal_opened_cb): Use update_query() instead of initial_load().
	(initial_load): Removed.
	(client_obj_updated_cb): Removed.
	(client_obj_removed_cb): Removed.
	(gnome_calendar_new_appointment_for): Set the default category of
	the new component.
	(search_bar_category_changed_cb): Set the default category for the
	calendar views.

	* gui/cal-search-bar.c (cal_search_bar_set_categories): Sort the
	categories before creating the menu.

	* gui/e-day-view.c (adjust_query_sexp): Return NULL instead of
	"#f" if the time range is not set yet.
	(update_query): Do not start a query if the time range is not set.
	(e_day_view_set_default_category): New function.
	(e_day_view_key_press): Set the default category on the new
	component.

	* gui/e-week-view.c (adjust_query_sexp): Analogous to the above.
	(update_query): Analogous to the above.
	(e_week_view_set_default_category): Analogous to the above.
	(e_week_view_key_press): Analogous to the above.

1037 1038 1039 1040 1041 1042 1043
2001-08-03  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #1407.

	* gui/dialogs/cal-prefs-dialog.glade: Removed the alarm
	preferences page, since we decided it was unnecessary.

Chyla Zbigniew's avatar
Chyla Zbigniew committed
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054
2001-08-03  Zbigniew Chyla  <cyba@gnome.pl>

	I18n fixes.

	* gui/dialogs/event-page.c (summary_changed_cb):
	Use e_dialog_editable_get instead of gtk_editable_get_chars (we need
	UTF-8 string).

	* gui/itip-utils.c:
	Added missing #include <config.h>

Jon Trowbridge's avatar
Jon Trowbridge committed
1055 1056 1057 1058
2001-08-02  Jon Trowbridge  <trow@ximian.com>

	* gui/Makefile.am: Added camel dependency (now needed by ebook).

1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
2001-08-01  Federico Mena Quintero  <federico@ximian.com>

	* gui/calendar-model.c (calendar_model_value_is_empty): If the
	default category is the same as the value passed in to this
	function, return TRUE.  This could be a hack or not, but it
	prevents two items from being added to the table if a category is
	selected.

	* gui/e-tasks.c (setup_widgets): Allow the search bar to shrink
	horizontally.

	* gui/dialogs/task-page.c (clear_widgets): Pass valid values to
	e_dialog_option_menu_set(); these need to come from the status map.

1073 1074 1075 1076
2001-08-01  Damon Chaplin  <damon@ximian.com>

	* cal-client/cal-client.c: removed debugging messages.

1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
2001-08-01  Federico Mena Quintero  <federico@ximian.com>

	The calendar search bar widget now includes a drop-down menu of
	available categories.

	* pcs/query.c (func_has_categories): Handle one and only one #f
	value as meaning "unfiled", for components that have no categories
	at all.

	* pcs/cal-backend-file.c (open_cal): Duh, do not notify here about
	changed categories since at this point we don't have any clients
	bound to us yet.
	(create_cal): Likewise.
	(cal_backend_file_add_cal): Notify here.

	* gui/cal-search-bar.h (CalSearchBarClass): New signal
	"category_changed".

	* gui/cal-search-bar.c (cal_search_bar_construct): Add a drop-down
	menu for the list of categories.
	(search_option_items): Removed the "Has category" option, since we
	now have the drop-down menu instad and it would be confusing to
	have both options.
	(regen_query): Likewise.  Also, this function is now the old
	cal_search_bar_query_changed() and is shared by that very function
	and by the callback from the drop-down menu.
	(notify_query_contains): Include the sub-sexp for the categories.
	(cal_search_bar_set_categories): New function.
	(cal_search_bar_get_category): New function.
	(categories_selection_done_cb): Emit the "category_changed" signal.

	* gui/e-tasks.c (obj_updated_cb): Removed function since it did
	not do anything; all updates are handled by the CalendarModel.
	(obj_removed_cb): Likewise.
	(ETasksPrivate): Removed the fields for the categories option
	menu, since now it is in the ESearchBar.
	(search_bar_sexp_changed_cb): Use calendar_model_set_query()
	directly here, as we do not need to frob the sexp anymore.
	(update_query): Removed.
	(client_categories_changed_cb): New callback.
	(search_bar_category_changed_cb): New callback.
	(e_tasks_new_task): Set the default category on the component to
	the one that is selected in the search bar.
	(e_tasks_on_filter_selected): Removed.
	(e_tasks_on_categories_changed): Removed.
	(e_tasks_rebuild_categories_menu): Removed.
	(e_tasks_add_menu_item): Removed.
	(e_tasks_setup_view_menus): Sanitized not to sink objects wildly.
	(e_tasks_discard_view_menus): New function.

	* gui/calendar-model.h (CalendarModelClass): Removed the
	"categories_changed" signal since this is handled in the Wombat
	now.

	* gui/calendar-model.c (calendar_model_get_categories): Removed.
	(calendar_model_set_value_at): Do not collect the categories.
	(query_obj_updated_cb): Likewise.
	(calendar_model_collect_categories): Removed.
	(calendar_model_set_default_category): Constify.

	* gui/tasks-control.c (tasks_control_deactivate): Call
	e_tasks_discard_view_menus().

	* gui/gnome-cal.c (search_bar_category_changed_cb): Set the
	default category for the task pad's model.

1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
2001-07-31  Federico Mena Quintero  <federico@ximian.com>

	The Wombat now keeps track of which categories are present in the
	objects of a calendar.  It will notify the clients of changes in
	this set.  This is to make the category drop-down menus in the
	calendar/tasks views be always up to date.

	* idl/evolution-calendar.idl (Listener): Added a
	notifyCategoriesChanged() method.  The Wombat now keeps track of
	the categories within a calendar.

	* cal-client/cal-listener.[ch]: Switched it to use BonoboXObject.
	Also added the notifyCategoriesChanged implementation.

	* cal-client/cal-client.[ch]: Added a "categories_changed" signal.

	* pcs/cal-backend-file.c: Maintain a list of the live categories.
	(update_categories_from_comp): New function to maintain the set of
	live categories.
	(add_component): Update the set of categories.
	(remove_component): Likewise.
	(open_cal): Notify about changes in the set of categories.
	(create_cal): Likewise.
	(cal_backend_file_update_objects): Likewise.
	(cal_backend_file_remove_object): Likewise.
	(notify_categories_changed): New function to notify the clients
	about the current set of categories.

	* pcs/cal.c (cal_notify_categories_changed): New function.

1173 1174 1175 1176 1177 1178 1179
2001-07-31  Rodrigo Moya <rodrigo@ximian.com>

        * gui/e-day-view.c (selection_received):
        * gui/e-week-view.c (selection_received): yes, set the end date, but
	correctly calculated, not by using the component's duration, which
	may not exist. Now really fixes #5836

1180 1181 1182 1183 1184 1185 1186 1187
2001-07-31  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c (selection_received):
	* gui/e-week-view.c (selection_received): don't set the end date
	for the pasted components, since it will be recalculated when the start
	date is set, thus keeping the same duration than the original
	cut/copied component. Fixes #5836

1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233
2001-07-30  Damon Chaplin  <damon@ximian.com>

	* gui/gnome-cal.c: 
	* gui/calendar-commands.c (clear_folder_bar_label): started some code
	to show the currently displayed dates in the folder title bar.
	Unfinished.

	* gui/e-itip-control.c (set_date_label):
	* conduits/todo/todo-conduit.c (local_record_from_comp): 
	* conduits/calendar/calendar-conduit.c (local_record_from_comp): free
	the CalComponentDateTimes. (Note the iTIP control needs updating for
	timezone support.)

	* cal-util/cal-component.c: Changed CalComponentDateTime so that the
	TZID is malloc'ed and freed rather than being a pointer to a static
	string. This was causing problems as sometimes we were freeing the
	string that was being pointed to, so we got corrupted TZIDs.

	* gui/comp-util.c (cal_comp_util_add_exdate): set TZID to NULL.
	DATE values do not have timezones.

	* gui/e-week-view.c: 
	* gui/e-day-view.c: Moved 'Paste' after the New Appointment commands,
	since I think they are more commonly-used. Also added underlined
	accelerator keys.

	* gui/e-calendar-table.c: changed 'Edit this task' to 'Open' in the
	popup menu to be consistent with other folders, and separated from the
	clipboard commands. Also changed to use EPopupMenu so the accelerators
	work, and the masks may be useful at some point.

	* gui/dialogs/recurrence-page.c: use DATE values for UNTIL, since
	that makes it simpler. Fixes bug #5034.

	* gui/calendar-config.c (calendar_config_set_timezone): strdup the
	location string. Fixes bug #4990.

	* gui/tag-calendar.c (tag_calendar_cb): take 1 off iend as the times
	don't include the end time.

	* gui/e-week-view-layout.c (e_week_view_layout_event): fixed
	days_shown. Fixes bug #5709.

	* cal-client/cal-client.c (cal_client_get_timezone): took out some
	debugging messages.

1234 1235 1236 1237 1238
2001-07-30  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/cal-prefs-dialog.glade: added Help button. Though of
	course it doesn't do anything yet.

JP Rosevear's avatar
JP Rosevear committed
1239 1240 1241 1242
2001-07-30  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c: Mark strings for translation

Rodrigo Moya's avatar
Rodrigo Moya committed
1243 1244
2001-07-30  Rodrigo Moya <rodrigo@ximian.com>

JP Rosevear's avatar
JP Rosevear committed
1245 1246
	* cal-client/client-test.c (cal_opened_cb): call
	cal_client_get_free_busy for testing the new method
1247

Rodrigo Moya's avatar
Rodrigo Moya committed
1248 1249
	* pcs/cal-backend-file.c (cal_backend_file_get_free_busy): implemented

1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267
2001-07-28  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #5352.

	* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show): Added a
	`page' argument so that we can select which page to show when
	popping up the dialog.
	(cal_prefs_dialog_construct): Added the `page' argument as well.
	(cal_prefs_dialog_new): Likewise.

	* gui/calendar-commands.c (settings_cmd): Set the page to the main
	calendar settings one.

	* gui/tasks-control.c (tasks_control_settings_cmd): Implemented
	callback for the "Task Settings" command.
	(verbs): Added the "TasksSettings" verb.
	(pixmaps): Added an icon for the tasks settings command.

JP Rosevear's avatar
JP Rosevear committed
1268 1269 1270 1271 1272
2001-07-27  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c (local_record_from_comp):
	recur is always in UTC
	
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
2001-07-27  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c: handle timezones
	everywhere
	(get_timezone): new function to get a timezone based
	on a tzid
	(get_default_timezone): get default timezone

	* conduits/calendar/calendar-conduit.h: time zone field for the
	context

	* conduits/calendar/Makefile.am: link to bonobo conf

	* conduits/todo/todo-conduit.c: handle timezones
	everywhere
	(get_timezone): new function to get a timezone based
	on a tzid
	(get_default_timezone): get default timezone

	* conduits/todo/todo-conduit.h: time zone field for the
	context

	* conduits/todo/Makefile.am: link to bonobo conf
	
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308
2001-07-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): 
	* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): 
	initialize to NULL some pointers

	* e-calendar-table.c (selection_received): deal correctly with
	VCALENDAR objects
	(e_calendar_table_copy_clipboard): g_strdup the value returned by
	icalcomponent_get_as_ical_string

1309 1310 1311 1312 1313
2001-07-27  Federico Mena Quintero  <federico@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_set_query): Constify and set the
	query sexp on the task pad's model as well.

1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
2001-07-27  Federico Mena Quintero  <federico@ximian.com>

	* gui/cal-search-bar.[ch]: New files with a derivative of
	ESearchBar that generates sexps for calendar queries directly.

	* gui/gnome-cal.c (setup_widgets): Use CalSearchBar instead of
	ESearchBar.

	* gui/e-calendar-table.h (ECalendarTable): Removed the ->colors
	array since it is handled by ETableExtras now.

	* gui/e-calendar-table.[ch]: Removed the subset_model.  Now we use
	the live query facility to filter tasks.  Removed the filter
	function stuff as well.

	* gui/e-tasks.c (e_tasks_construct): Use
	calendar_model_set_cal_client() directly instead of
	e_calendar_table_set_model().
	(setup_widgets): Create a calendar search bar for the tasks
	component.
	(search_bar_sexp_changed_cb): Set the query sexp on the table model.
	(e_tasks_on_filter_selected): Regenerate the query from the
	selected category and the current sexp.
	(update_query): New convenience function to recompute the real
	query sexp.

	* gui/gnome-cal.c (gnome_calendar_construct): Likewise.

	* gui/e-calendar-table.c (e_calendar_table_set_cal_client):
	Removed function; people are now supposed to get the model from
	the calendar table and operate on it.

	* gui/calendar-commands.c (verbs): Consistency fixes with the XML
	file.
	(pixmaps): Likewise.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added
	cal-search-bar.[ch] to the list of sources.

2001-07-20  Federico Mena Quintero  <federico@ximian.com>

	* idl/evolution-calendar.idl (CompEditorFactory): New interface to
	a centralized factory for calendar component editors.  Has
	editExisting() and editNew() methods to edit an existing component
	from a URI/UID pair, and to create a new component in a calendar
	that is in a particular URI, respectively.

	* gui/comp-editor-factory.[ch]: Implementation files for the
	component editor factory.

	* gui/GNOME_Evolution_Calendar.oaf.in: Added the CompEditorFactory
	stuff.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added
	comp-editor-factory.[ch] to the list of sources.

1370 1371
2001-07-26  JP Rosevear  <jpr@ximian.com>

1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384
	* gui/dialogs/meeting-page.c (invite_entry_changed): when an entry
	has changed, iterate over the elements of the entry and add them
	to the list if need be
	(get_select_name_dialog): add a Chair Persons section

	* gui/itip-utils.c (itip_send_comp): send the empty string as
	subject if there is no summary
	
2001-07-26  JP Rosevear  <jpr@ximian.com>

	* gui/itip-utils.c (itip_send_comp): send the empty string as
	subject if there is no summary

1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407
	* gui/dialogs/meeting-page.c (cleanup_attendees): free a list of
	attendees
	(meeting_page_fill_widgets): clean up attendee lists and fix typo
	(find_match): add ability to return pos of match
	(popup_delete_cb): if deletion happens, make sure to tidy up
	delegation chain

	* gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
	use the destination rather than text property
	(e_delegate_dialog_get_delegate): ditto
	(e_delegate_dialog_new): take name/address pair for dialog default

	* gui/dialogs/e-delegate-dialog.h: update protos

	* gui/e-itip-control.c (clean_up): only unref the object if we
	have one
	
	* gui/itip-control-factory.c (stream_read): make sure we null
	terminate the final buffer

	* gui/itip-utils.c (itip_send_comp): strip the mailto: from the
	organizer address if necessary

1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419
2001-07-26  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/recurrence-page.c (exception_select_row_cb): check that
	the row passed in is valid. Sometimes we get the "row-selected"
	signal for row 0 when there are no rows in the list. Fixes bug #4266.

	* cal-client/cal-client.c (cal_client_get_object): prefetch all the
	timezone data needed by the object, to try to avoid making Corba
	calls all over the place. They can cause problems because they call
	the GTK+ main loop recursively. This currently leads to an assertion
	failure in the GnomeCanvas occasionally.

1420 1421 1422 1423 1424
2001-07-25  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (e_itip_control_set_data): gracefully
	handle the lack of a method

1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436
2001-07-25  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c (selection_received_cb): check type of component
	before actually pasting.
	Deal with VCALENDAR components also (fixes bug #5140)

	* gui/e-week-view.c (selection_received_cb): ditto

	* cal-client/cal-client.c (cal_client_update_object): check the return
	value from cal_component_get_as_string and don't call
	GNOME_Evolution_Calendar_Cal_updateObjects if NULL

1437 1438 1439 1440 1441 1442 1443 1444
2001-07-25  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/comp-editor.c (pixmaps): used the new print preview icon.

	* gui/print.c (range_selector_new): changed the 'Current day/week...'
	strings to 'Selected day/week...' to make a little less confusing.
	Fixes bug #5451.

1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455
2001-07-25  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (is_duplicate): see if the address is
	already in the list of attendees
	(duplicate_error): throw up an error dialog
	(popup_delegate_cb): if the attendee has already delegated, delete
	the old delegatee
	(value_at): cast to kill warnings
	(append_row): don't add the new attendee if they are already in
	the list

1456 1457 1458 1459 1460 1461
2001-07-24  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/recurrence-page.c (get_exception_string): calculate
	tmp_tm.tm_wday ourselves. strftime has a habit of crashing if you
	have weird values here. I think this fixes bug #4574.

1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477
2001-07-24  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (value_at): stip the delto and
	delfrom
	(popup_delegate_cb): show a delegate dialog and add the new
	delegatee and update the delegator
	(add_section): listen for changes in a more direct manner
	(get_select_name_dialog): add_section now takes a limit argument

	* gui/dialogs/e-delegate-dialog.[hc]: New dialog to query the user
	for a person to delegate to

	* gui/dialogs/Makefile.am: build/install new files

	* gui/Makefile.am: add ldadd line for ebook

1478 1479 1480 1481 1482
2001-07-21  Damon Chaplin  <damon@ximian.com>

	* gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed
	the test to see whether we should draw the icons.

1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
2001-07-22  Ettore Perazzoli  <ettore@ximian.com>

	* gui/component-factory.c (get_local_file_name_for_folder_type):
	New helper function.
	(remove_folder): Add a @type arg and handle it, by deleting
	"tasks.ics" instead of "calendar.ics" if the type is "tasks".  If
	the type is not "tasks" or "calendar", report an
	`UNSUPPORTED_TYPE' error.
	(xfer_folder): Likewise.

1493 1494 1495 1496 1497 1498
2001-07-21  Ettore Perazzoli  <ettore@ximian.com>

	* gui/component-factory.c: Make folders of type "calendar" and
	"tasks" user-creatable by setting `user_creatable' to %TRUE in the
	`EvolutionShellComponentFolderType's.

1499 1500 1501 1502 1503 1504 1505 1506
2001-07-19  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/event-editor.h (event_editor_update_widgets):
	Removed unused prototype.

	* gui/dialogs/task-editor.h (task_editor_update_widgets):
	Likewise.

1507 1508 1509 1510 1511 1512 1513 1514 1515 1516
2001-07-19  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (clean_up): free various data related
	settings
	(destroy): use cleanup and unref the clients
	(e_itip_control_set_data): clean up before setting the data and
	store the timezones in a top level component
	(update_item): use cal_client_update_objects and our top level
	(including the timezones)

1517 1518 1519 1520 1521
2001-07-19  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/comp-editor.c (pixmaps): 
	* gui/calendar-commands.c (pixmaps): updated to use new print icon.

1522 1523 1524 1525 1526 1527 1528 1529 1530
2001-07-17  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/recurrence-page.c (init_widgets): don't show the time
	in the EDateEdit widget for adding EXDATEs.

	* cal-util/cal-component.c (cal_component_alarm_set_trigger): don't
	set t.time.is_date to -1. It is a boolean flag, 0 or 1. We probably
	don't want a date value, so we leave it at 0.

1531 1532 1533 1534 1535 1536 1537 1538
2001-07-18  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
	do not discard drawing icon if mask is NULL

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
	ditto

1539 1540 1541 1542 1543 1544 1545 1546 1547
2001-07-17  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (get_next): find the next displayable
	component
	(get_prev): find the previous displayable component
	(e_itip_control_set_data): use above
	(prev_clicked_cb): ditto
	(next_clicked_cb): ditto

1548 1549 1550 1551 1552
2001-07-17  Federico Mena Quintero  <federico@ximian.com>

	Really fixes #4380.  The previous fix was necessary but not
	sufficient; it worked for me because my system timezone happens to
	match the Evolution timezone --- if they don't match, the bug
1553 1554
	would persist.  Not matching is *not* an error; it is just a
	matter of Unix sucking a lot and XST not being finished :)
1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565

	* cal-util/timeutil.c (time_to_gdate_with_zone): New function.  We
	cannot use g_date_set_time() anymore because it does not take
	timezones into account.

	* gui/gnome-cal.c (get_days_shown): Use the function above.

	* gui/e-day-view.c (e_day_view_find_work_week_start): Likewise.

	* gui/e-week-view.c (e_week_view_set_selected_time_range): Likewise.

1566 1567 1568 1569 1570 1571 1572 1573 1574
2001-07-17  Jon Trowbridge  <trow@ximian.com>

	* gui/dialogs/meeting-page.c (invite_entry_changed): Print
	a g_message when the list of invited people changes
	in the SelectNames control.
	(add_section): #if 0/#endif out some (broken?) code.
	(get_select_name_dialog): Listen for changes in the
	SelectNames control.

1575 1576 1577 1578 1579
2001-07-17  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_destroy): destroy
	the dialog widget here. Fixes bug #4198.

1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597
2001-07-16  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/task-page.c (task_page_fill_widgets): 
	* gui/dialogs/event-page.c (event_page_fill_widgets): try to use
	builtin timezones before getting them from the server. When creating
	new events/tasks the timezones may not be on the server.

	* gui/dialogs/event-page.c (event_page_fill_widgets): for all-day
	events we subtract a day from the end date rather than add it.

	* gui/dialogs/e-timezone-dialog.c (on_map_leave): ignore the event
	if it isn't a GDK_CROSSING_NORMAL event. For some reason we are getting
	leave events when the button is pressed, which meant that selecting
	timezones in the map didn't work.

	* gui/dialogs/comp-editor-util.c (comp_editor_dates): 
	* gui/print.c (print_date_label): only free icaltimetype if not NULL.

1598 1599 1600 1601 1602 1603 1604 1605 1606 1607
2001-07-12  Taylor Hayward  <taylorhayward@yahoo.com>

	* gui/goto-dialog.glade:
	* gui/meeting-mockup.glade:
	* gui/alarm-notifyålarm-notify.glade:
	* gui/dialogs/alarm-page.glade:
	* gui/dialogs/meeting-page.glade:
	* gui/dialogs/recurrence-page.glade: Added missing underlined
	shortcuts.

JP Rosevear's avatar
JP Rosevear committed
1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620
2001-07-12  JP Rosevear  <jpr@ximian.com>
	
	* cal-util/cal-util.h: new proto

	* cal-util/cal-util.c (cal_util_new_top_level): standard place to
	get your top level calendar component

	* pcs/cal-backend-file.c (create_cal): use it

	* gui/itip-utils.c (itip_send_comp): ditto

	* gui/e-calendar-table.c (e_calendar_table_copy_clipboard): ditto
	
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631
2001-07-12  JP Rosevear  <jpr@ximian.com>

	* gui/e-calendar-table.c (e_calendar_table_copy_clipboard): fix
	typo breaking compilation

	* gui/dialogs/meeting-page.c: fix include

	* gui/dialogs/Makefile.am: build select names idl here

	* gui/Makefile.am: remove select names compilation from here
	
1632 1633 1634 1635 1636
2001-07-12  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-details-page.c (task_details_page_set_dates):
	guard against infinite loops with the updating boolean, fixes 4270

1637 1638 1639 1640 1641 1642
2001-07-12  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-calendar-table.c: added support for multiple selections in
	cut/copy/paste. Also, it's now ready for the
	s/update_object/update_objects change (I think)

1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666
2001-07-11  Damon Chaplin  <damon@ximian.com>

	* idl/evolution-calendar.idl: renamed updateObject to updateObjects
	and removed the UID argument, since it can add/update multiple objects
	at once. (It can't yet, but it will!)

	* pcs/cal.c: 
	* pcs/cal-backend.[hc]: 
	* pcs/cal-backend-file.c: renamed update_object to update_objects and
	got rid of the UID arg.

	* cal-client/cal-client.c (cal_client_update_objects): new function to
	add/update multiple objects in one go, i.e for iTIP and for importing
	calendars.

	* gui/print.c (print_date_label): fixed type bug.

	* gui/e-week-view.[hc]: 
	* gui/e-week-view-event-item.c: draw the timezone icons if the event's
	DTSTART or DTEND is in a different timezone to the current one.
	Note that we may want to change this so it compares the UTC offsets
	rather than the TZIDs, since currently it will draw the icons for all
	events coming from iTIP requests from other clients.

1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707
2001-07-11  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #4380 as well as some leftovers from the days of struct
	tm and some uninitialized values.

	* gui/gnome-cal.c
	(gnome_calendar_on_date_navigator_selection_changed): Initialize
	the icaltimetype structures completely.
	(gnome_calendar_init): Do not reset priv->zone to NULL here, since
	it was set by gnome_calendar_update_config_settings() from
	setup_widgets().

	* gui/calendar-model.c (set_completed): Do not set is_daylight.

	* gui/e-day-view.c (e_day_view_convert_grid_position_to_time):
	Likewise.

	* gui/e-week-view.c (e_week_view_set_timezone): Likewise.

	* cal-util/cal-recur.c (generate_instances_for_chunk): Likewise,
	and initialize start_tt and end_tt completely.

	* cal-util/timeutil.c (time_year_begin_with_zone): Likewise.
	(time_month_begin_with_zone): Likewise.
	(time_week_begin_with_zone): Likewise.
	(time_day_begin_with_zone): Likewise.
	(time_day_end_with_zone): Likewise.
	(time_from_isodate): Likewise.

	* gui/dialogs/task-page.c (task_page_fill_component): Initialize
	icaltime before using it.

	* gui/dialogs/event-page.c (event_page_fill_component): Likewise.

	* gui/dialogs/recurrence-page.c (simple_recur_to_comp): Removed an
	unused icaltimetype.

	* gui/dialogs/task-details-page.c
	(task_details_page_fill_component): Initialize icaltime before
	using it.

1708 1709 1710 1711 1712 1713
2001-07-11  JP Rosevear  <jpr@ximian.com>

	* gui/component-factory.c: fix the calendar not exiting with a
	gross hack because i don't have time to fix the ref counting right
	now
	
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737
2001-07-11  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c: be careful about adding and
	stripping MAILTO:'s properly

	* gui/dialogs/meeting-page.etspec: add missing columns

	* gui/itip-utils.c (itip_strip_mailto): point to the real start of
	the email address

	* gui/itip-utils.h: add proto

	* gui/itip-control-factory.c: get rid of the my address property

	* gui/e-itip-control.c: use the users real identity to figure out
	which attendee they are
	(find_my_address): figure out who the user is among the attendees

	* gui/e-itip-control.h: remove protos

	* gui/dialogs/Makefile.am: extra dist etspecs

	* gui/Makefile.am: ditto

1738 1739 1740 1741 1742 1743
2001-07-11  Kjartan Maraas  <kmaraas@gnome.org>

	* gui/e-calendar-table.c: Added a hack to get the last
	string translated since xml-i18n-tools doesn't recognize
	_click-to-add-message="Click here to add a task".
	
1744 1745 1746 1747 1748
2001-07-10  Peter Williams  <peterw@ximian.com>

	* gui/Makefile.am (BUILT_SOURCES): Move this higher so that
	Makefile properly depends on us. Fixes distcheck.

1749 1750
2001-07-11  Jason Leach  <jleach@ximian.com>

Jacob Leach's avatar
Jacob Leach committed
1751 1752
	[Fix bug #4389: ETableSpecification still in e-calendar-table.c
	file]
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767
	
	* gui/e-calendar-table.etspec: New file containing the spec that
	was in e-calendar-table.c as a big string.
	
	* gui/e-calendar-table.c (e_calendar_table_init): Use the spec
	file instead of a string.
	(e_calendar_table_get_spec): Removed this function, we don't need
	it anymore.

	* gui/e-tasks.c (e_tasks_setup_menus): Don't load from string,
	from file instead.
	
	* gui/Makefile.am: Necessary changes to get the new .etspec file
	installed.

1768 1769
2001-07-10  Jason Leach  <jleach@ximian.com>

Jacob Leach's avatar
Jacob Leach committed
1770
	[Fix bug #4388: ETableSpecification still in meeting-page.c file]
1771 1772 1773 1774 1775 1776 1777 1778 1779 1780

	* gui/dialogs/meeting-page.etspec: New file containing the spec
	that was previously in meeting-page.c as a string.
	
	* gui/dialogs/meeting-page.c: One line change to get it to use
	this spec file instead of a string.

	* gui/dialogs/Makefile.am: Necessary changes to get the new
	meeting-page.etspec installed.

1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803
2001-07-10  Damon Chaplin  <damon@ximian.com>

	* gui/calendar-model.c:
	* gui/e-calendar-table.c:
	* gui/e-day-view-main-item.c:
	* gui/e-day-view-top-item.c:
	* gui/e-day-view.[hc]:
	* gui/e-week-view.c:
	* gui/gnome-cal.c:
	* gui/print.c:
	* gui/dialogs/cal-prefs-dialog.c:
	* gui/dialogs/comp-editor-util.c:
	* gui/dialogs/event-page.c:
	* pcs/cal-backend-file.c:
	* pcs/query.c:
	* cal-util/cal-component.[hc]: 
	* cal-util/cal-recur.c: 
	* cal-util/timeutil.[hc]: 
	* cal-client/cal-client.[hc]: more timezone updates. I'm pretty much
	done with the calendar code now, except for alarms and conduits,
	which Federico and JP know more about. And there are a couple of
	other minor things to fix. But it is still pretty buggy.

1804 1805 1806 1807 1808 1809 1810
2001-07-10  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c: Add popup support so you can delete
	users from the list

	* gui/dialogs/comp-editor.c (setup_widgets): fix typo

1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821
2001-07-10  Federico Mena Quintero  <federico@ximian.com>

	* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Handle the
	different alarm actions.
	(display_notification): Do the alarm notification dialog here.

	* gui/alarm-notify/alarm-notify-dialog.c (make_heading): Take in a
	CalComponentVType, not a whole component.
	(alarm_notify_dialog): Take in a CalComponentVType and the final
	message instead of generating it ourselves.

1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832
2001-07-09  Federico Mena Quintero  <federico@ximian.com>

	* pcs/cal-backend-file.c (generate_alarms_for_comp): Pass the
	parent vCalendar component as the timezone closure of
	cal_recur_generate_instances().

	* gui/dialogs/alarm-page.c (get_alarm_string): Make the string
	consistent with the option menu text.
	(get_alarm_string): Removed extra spaces from the last part of the
	alarm string.

1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852
2001-07-09  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-day-view.c (e_day_view_key_press): Use
	e_utf8_from_gtk_event_key() so that we can input utf8 text
	properly.
	(e_day_view_cut_clipboard): Constify.
	(e_day_view_on_cut): Constify.
	(e_day_view_reshape_long_event): Remove unused variable.

	* gui/e-week-view.c (e_week_view_key_press): Use
	e_utf8_from_gtk_event_key() so that we can input utf8 text
	properly.
	(e_week_view_cut_clipboard): Constify.
	(e_week_view_on_cut): Constify.

	* cal-client/cal-client.c (cal_client_resolve_tzid_cb): Fix the
	prototype so that this matches CalRecurResolveTimezoneFn.  Also
	renamed it so that it is clear that it is supposed to be a
	callback.

1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868
2001-07-06  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (init_widgets): connect to the entry
	not the combo

	* gui/dialogs/event-editor.c (set_menu_sens): set menu
	sensitivities based on whether or not the meeting page is shown
	(event_editor_init): call above
	(event_editor_edit_comp): ditto
	(schedule_meeting_cmd): ditto

	* gui/dialogs/comp-editor.h: new proto

	* gui/dialogs/comp-editor.c (comp_editor_set_ui_prop): new
	function to allow for set of ui props (esp. "sensitive")
	
1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895
2001-07-06  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (clear_widgets): actually clear some
	widgets and hide/show widgets in the default setup
	(meeting_page_destroy): destroy the address lists
	(meeting_page_fill_widgets): allow the user to select among their
	identities as a new organizer, or show the existing organizer as
	label
	(meeting_page_fill_component): set the "MAILTO:" bit of the
	organizer to match spec, set CN properly if we know it
	(get_widgets): load new widgets
	(other_clicked_cb): handle "Other Organizer" click
	(change_clicked_cb): handle "Change Organizer" click
	(init_widgets): listen for clicks on new buttons

	* gui/dialogs/comp-editor.c (comp_editor_remove_page): remove the
	page from our internal list and unref it

	* gui/itip-utils.c (itip_addresses_get): get the configure mail
	identities
	(itip_addresses_free): free a list of identities returned by
	itip_addresses_get

	* gui/itip-utils.h: remove obsolete protos, and new protos

	* gui/gnome-cal.html: Remove ancient file

1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928
2001-07-04  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #4018 and what would be the analogous bugs for the other
	component editors.

	* gui/dialogs/comp-editor-page.h (CompEditorPageClass): New
	virtual method "::focus_main_widget()".

	* gui/dialogs/comp-editor-page.c
	(comp_editor_page_focus_main_widget): New function.

	* gui/dialogs/comp-editor.c (comp_editor_append_page): If we are
	inserting the main page, ask it to focus its main widget.

	* gui/dialogs/alarm-page.c (alarm_page_focus_main_widget):
	Implemented.

	* gui/dialogs/event-page.c (event_page_focus_main_widget):
	Implemented.
	#include "e-util/e-categories-config.h".

	* gui/dialogs/meeting-page.c (meeting_page_focus_main_widget):
	Implemented.

	* gui/dialogs/recurrence-page.c
	(recurrence_page_focus_main_widget): Implemented.

	* gui/dialogs/task-details-page.c
	(task_details_page_focus_main_widget): Implemented.

	* gui/dialogs/task-page.c (task_page_focus_main_widget):
	Implemented.

1929 1930 1931 1932 1933 1934
2001-07-04  Federico Mena Quintero  <federico@ximian.com>

	* gui/calendar-commands.c (clear_folder_bar_label): New function.
	(calendar_control_activate): Clear the folder bar label; we really
	don't have anything interesting to display.

1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949
2001-07-03  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c: Add new columns for information
	specification
	(meeting_page_destroy): save the table state
	(build_etable): load new table state

	* gui/dialogs/task-editor.c (task_editor_destroy): unref pages

	* gui/dialogs/event-editor.c (event_editor_destroy): unref pages

	* gui/dialogs/comp-editor.c (setup_widgets): kill warning
	(comp_editor_append_page): ref page passed in
	(close_dialog): unref pages

1950 1951 1952 1953 1954 1955 1956 1957 1958
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* gui/e-day-view.c (query_obj_updated_cb): fix warning, and added
	some debug messages.

	* gui/dialogs/comp-editor-util.c (write_label_piece): 
	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): call mktime()
	to set the weekday, though this is a temporary fix.

1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* pcs/cal-backend.[hc]: added virtual method to get a VTIMEZONE
	component given a TZID. We need this to resolve TZIDs when expanding
	an event using cal_recur_generate_instances() in query.c.

	* pcs/cal-backend-file.c (cal_backend_file_get_timezone): implemented
	virtual method.
	(cal_backend_file_update_object): fixed bug, kind -> child_kind.

	* pcs/query.c (func_occur_in_time_range): use the virtual method for
	resolving TZIDs. The other way didn't work anyway, as we didn't have
	the entire VCALENDAR with VTIMEZONEs in it.

	* gui/dialogs/recurrence-page.c (init_widgets): 
	(make_ending_until_special): moved the call to
	e_date_edit_set_get_time_callback() from init_widgets to
	make_ending_until_special(), since that is where the widget gets
	created.

	* gui/e-timezone-entry.c (e_timezone_entry_set_timezone): handle zone
	being NULL.

1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
2001-07-02  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-options.[ch]: New files with the alarm options
	dialog; this configures the repeat/duration properties and the
	options specific to each alarm action type.

	* gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm
	options button.  Also, keep an alarm structure which we are
	editing and an alarm options dialog.
	(init_widgets): Connect to the options button.
	(add_clicked_cb): Clone the component we are editing instead of
	creating a new one so that we preserve the data from the alarm
	options dialog.
	(button_options_clicked_cb): Pop up the alarm options dialog.

	* cal-util/cal-component.c (cal_component_alarm_new): Doh,
	initialize the other fields in the new alarm.

2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* cal-client/cal-client.[hc]
	* cal-util/cal-component.c
	* cal-util/cal-recur.[hc]
	* cal-util/test-recur.c
	* cal-util/timeutil.c
	* gui/calendar-config.c
	* gui/calendar-model.[hc]
	* gui/comp-util.[hc]
	* gui/e-calendar-table.c
	* gui/e-day-view-main-item.c
	* gui/e-day-view-top-item.c
	* gui/e-day-view.[hc]
	* gui/e-itip-control.c
	* gui/e-timezone-entry.[hc]
	* gui/e-week-view.[hc]
	* gui/gnome-cal.[hc]
	* gui/goto.c
	* gui/tag-calendar.[hc]
	* gui/dialogs/cal-prefs-dialog.c
	* gui/dialogs/comp-editor-page.[hc]
	* gui/dialogs/comp-editor-util.[hc]
	* gui/dialogs/comp-editor.c
	* gui/dialogs/e-timezone-dialog.[hc]
	* gui/dialogs/event-page.c
	* gui/dialogs/meeting-page.c
	* gui/dialogs/recurrence-page.c
	* gui/dialogs/task-details-page.c
	* gui/dialogs/task-details-page.glade
	* gui/dialogs/task-page.c
	* idl/evolution-calendar.idl
	* pcs/cal-backend-file.c
	* pcs/cal-backend.c
	* pcs/cal-backend.h
	* pcs/cal.c
	* pcs/query.c: timezone changes everywhere. There's still quite a
	few things to update, and its not working well at present.

2039 2040 2041 2042 2043
2001-07-02  JP Rosevear  <jpr@ximian.com>

	* gui/calendar-commands.c (publish_freebusy_cmd): publish
	free/busy information for the currently viewed time range

2044 2045 2046 2047 2048
2001-07-02  Christopher James Lahey  <clahey@ximian.com>

	* gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
	(evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS).

2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061
2001-07-02  Federico Mena Quintero  <federico@ximian.com>

	Support for ATTACH, DESCRIPTION properties in alarm components.

	* cal-util/cal-component.c (scan_alarm_property):  Deal with
	ATTACH, DESCRIPTION properties.
	(cal_component_alarm_get_attach): New function.  Libical is
	actually bogus; supposedly icalattachtype structures are
	refcounted but the property functions return them by value.
	(cal_copmonent_alarm_set_attach): New function.
	(cal_component_alarm_get_description): New function.
	(cal_component_alarm_set_description): New function.

2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079
2001-07-02  Federico Mena Quintero  <federico@ximian.com>

	Support for repeat/duration properties in alarm components.

	* cal-util/cal-component.h (CalAlarmRepeat): New structure that
	pairs the repeat/duration values of an alarm component, which must
	be set both together or not set at all.

	* cal-util/cal-component.c (CalComponentAlarm): Added fields for
	the repeat and duration properties.
	(scan_alarm_property): Scan the DURATION and REPEAT properties.
	(make_alarm): Nullify/initialize all the fields in the alarm.
	(cal_component_alarm_get_repeat): New function.
	(cal_component_alarm_set_repeat): New function.

	* gui/dialogs/alarm-page.glade: Changed the label of display
	alarms from "Show a dialog" to "Display a message".

2080 2081 2082 2083 2084
2001-07-02  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-details-page.c
	(task_details_page_fill_widgets): fill in delegated from field
	
2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097
2001-07-02  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/task-page.c (categories_clicked_cb): 
	* gui/dialogs/event-page.c (categories_clicked_cb): use the new
	self-contained e_categories_config_open_dialog_for_entry() function

	* gui/e-week-view-event-item.c (e_week_view_item_draw_icons): 
	* gui/e-day-view-top-item.c (e_day_view_reshape_long_event):
	(e_day_view_reshape_day_event): ditto
	* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
	use e_categories_config_get_icon_for() to retrieve the icon
	associated with each category

JP Rosevear's avatar
JP Rosevear committed
2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123
2001-07-02  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (send_freebusy): implement

	* cal-util/cal-component.c (set_attendee_list): add the delto
	property rather than the delfrom property twice

	* gui/dialogs/task-editor.c (task_editor_edit_comp): show
	delegation info if appropriate
	(delegate_task_cmd): delegate command
	(cancel_task_cmd): cancel command
	(refresh_task_cmd): refresh command

	* gui/dialogs/task-details-page.c: Load new widgets
	(task_details_page_show_delegation): show/hide delegation info widgets

	* gui/dialogs/task-details-page.h: new proto

	* gui/dialogs/event-editor.c (event_editor_edit_comp): free
	attendee list when finished

	* gui/dialogs/comp-editor.c (setup_widgets): explicitly show the
	widgets, update pixmaps after the verbs have been added
	(comp_editor_focus): don't do a show all

2001-07-02  Federico Mena Quintero  <federico@ximian.com>
2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150

	Fixes bug #1406.

	* gui/calendar-config.c (config_read): Handle the options for the
	task list colors.
	(calendar_config_write): Ditto.
	(calendar_config_get_tasks_due_today_color): New function.
	(calendar_config_set_tasks_due_today_color): New function.
	(calendar_config_get_tasks_overdue_color): New function.
	(calendar_config_set_tasks_overdue_color): New function.
	(calendar_config_configure_e_calendar_table): Use
	e_table_model_changed() for the colors.

	* gui/dialogs/cal-prefs-dialog.glade: Updated the options for the
	task list and alarms.

	* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
	Update the task list settings.
	(cal_prefs_dialog_update_config): Ditto.

	* gui/calendar-model.c (get_color): Deal with tasks for today as
	well as overdue tasks.  Make it cleaner, even though we have to
	duplicate a chunk of is_overdue().

	* gui/calendar-commands.c (preferences_cmd): Renamed from
	properties_cmd().

Rodrigo Moya's avatar
Rodrigo Moya committed
2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168
2001-07-01  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view-main-item.c
	(e_day_view_main_item_draw_day_event): draw icons per category

	* gui/e-day-view-top-item.c
	(e_day_view_top_item_draw_long_event): draw icons per category

	* gui/e-day-view.c
	(e_day_view_reshape_long_event):
	(e_day_view_reshape_day_event): calculate space for category icons

	* gui/e-week-view-event-item.c
	(e_week_view_event_item_draw_icons): draw icons per category

	* gui/e-week-view.c
	(e_week_view_reshape_event_span): calculate space for category icons
	
2169 2170 2171 2172 2173 2174 2175 2176 2177
2001-07-01  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c (e_day_view_*_clipboard): fixed clibpoard
	command activation from the menu entries. CTRL-C and CTRL-X don't
	work though, since it seems the key presses are being captured by
	the text item

	gui/e-week-view.c (e_week_view_*_clipboard): ditto

2178 2179
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

2180 2181 2182 2183 2184
	* gui/e-week-view-event-item.c
	(e_week_view_event_item_button_press): Only set the
	pressed_event_num and pressed_span_num if button 1 was pressed.
	Fix up return values a bit.  This fixes bug #3780.

2185 2186 2187 2188 2189
	* gui/gnome-cal.c
	(gnome_calendar_on_date_navigator_selection_changed): Doh, the
	call for the day view was supposed to be
	gnome_calendar_set_view(), not set_view().  Fixes bug #3779.

2190 2191 2192 2193 2194 2195 2196 2197 2198 2199
2001-06-30  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-control.c (tasks_control_cut_cmd): call
	e_calendar_table_cut_clipboard with the correct object

	(tasks_control_copy_cmd): ditto

	(sensitize_commands): sensitize clipboard commands based on the
	number of selected tasks

2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210
2001-06-28  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-calendar-table.[ch] (e_calendar_table_cut_clipboard),
	(e_calendar_table_copy_clipboard),
	(e_calendar_table_paste_clipboard): new functions for allowing the
	execution of clipboard-related commands

	* gui/tasks-control.c (tasks_control_cut_cmd),
	(tasks_control_copy_cmd), (tasks_control_paste_cmd): added
	callbacks for the new clipboard-related menu entries

2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231
2001-06-28  Rodrigo Moya <rodrigo@ximian.com>

	* gui/component-factory.c: removed not-uses-anymore parameter in
	call to evolution_shell_component_new

	* gui/gnome-cal.[ch] (gnome_calendar_cut_clipboard),
	(gnome_calendar_copy_clipboard), (gnome_calendar_paste_clipboard):
	new functions for allowing execution of clipboard-related commands

	* gui/e-day-view.[ch] (e_day_view_cut_clipboard),
	(e_day_view_copy_clipboard), (e_day_view_paste_clipboard): ditto

	* gui/e-week-view.[ch] (e_week_view_cut_clipboard),
	(e_week_view_copy_clipboard), (e_week_view_paste_clipboard): ditto

2001-06-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-commands.c (cut_event_cmd),
	(copy_event_cmd), (paste_event_cmd): added callbacks for the new
	clipboard-related menu entries

2232 2233 2234 2235 2236 2237
2001-06-27  Ettore Perazzoli  <ettore@ximian.com>

	* gui/component-factory.c (factory_fn): Pass NULL as the
	@external_uri_schemas argument to
	`evolution_shell_component_new()'.

2238 2239 2240 2241 2242
2001-06-27  Peter Williams  <peterw@ximian.com>

	* conduits/*/Makefile.am (INCLUDES): More srcdir != builddir
	fixes.

2243 2244 2245 2246 2247
2001-06-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-calendar-table.c (selection_received): fixed
	(e_calendar_table_on_copy): fixed

2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281
2001-06-26  Federico Mena Quintero  <federico@ximian.com>

	* idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur
	field to occur_start; added an occur_end field.  This way we can
	present the complete times for the occurrence from the server.

	* cal-util/cal-component.h (CalAlarmInstance): Likewise.

	* pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new
	fields appropriately.
	(generate_absolute_triggers): Likewise; we use -1 in case the
	component has no DTSTART or DTEND because there are no meaningful
	occurrence dates here.
	(fill_alarm_instances_seq): Fill in the new fields.

	* cal-client/cal-client.c (build_alarm_instance_list): Likewise.

	* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
	Take in both the occur_start and occur_end times.

	* gui/goto.c (goto_dialog): Free the dlg structure on the bail-out
	cases.

	* gui/dialogs/event-page.c (get_widgets): Do not assert if we
	cannot find the main widget; just return FALSE.

	* gui/dialogs/alarm-page.c (get_widgets): Likewise.

	* gui/dialogs/task-page.c (get_widgets): Likewise.

	* gui/dialogs/task-details-page.c (get_widgets): Likewise.

	* gui/dialogs/meeting-page.c (get_widgets): Likewise.

Peter Williams's avatar
Peter Williams committed
2282 2283 2284 2285 2286 2287 2288
2001-06-25  Peter Williams  <peterw@ximian.com>

	* conduits/calendar/Makefile.am (INCLUDES): Fixes for
	srcdir != builddir. Link to the static libwombat.

	* conduits/todo/Makefile.am (INCLUDES): Here too.

2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301
2001-06-24  Federico Mena Quintero  <federico@ximian.com>

	* gui/alarm-notify/notify-main.c (main): Initialize libglade.

	* pcs/cal-backend-file.c (compute_alarm_range):
	icaldurationtype_as_int() will now return a negative value if