aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a warning.Christopher James Lahey2000-08-102-1/+8
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * cal-client/cal-client.c: Fixed a warning. svn path=/trunk/; revision=4659
* Fixed some warnings.Christopher James Lahey2000-08-094-5/+11
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * cal-client/cal-client.c, gui/e-calendar-table.c, pcs/cal.c: Fixed some warnings. svn path=/trunk/; revision=4637
* Added a get_objects_in_range() method. Takes in a time range and the typeFederico Mena Quintero2000-08-098-172/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-08 Federico Mena Quintero <federico@helixcode.com> * idl/evolution-calendar.idl (Cal): Added a get_objects_in_range() method. Takes in a time range and the type of component we are interested in; returns a list of UIDs. The idea is that ocurrences get computed in the client; we can have multiple recurrences in iCalendar and we cannot identify them trivially across the wire. (Cal): Removed the get_events_in_range() method. * pcs/cal-backend.c (cal_backend_free_uid_list): New function. (cal_backend_get_objects_in_range): New function. (cal_backend_get_events_in_range): Removed. * pcs/cal-backend-file.c (cal_backend_file_get_objects_in_range): Implemented new method. (cal_backend_file_get_events_in_range): Removed. * pcs/cal.c (Cal_get_events_in_range): Removed. (uncorba_obj_type): New function. (Cal_get_uids): Use uncorba_obj_type(). (Cal_get_n_objects): Likewise. (Cal_get_objects_in_range): Implemented new method. * cal-client/cal-client.c (cal_client_get_events_in_range): Removed. (cal_client_get_objects_in_range): Implemented. (corba_obj_type): New function. (cal_client_get_n_objects): Use corba_obj_type(). (cal_client_get_uids): Likewise. svn path=/trunk/; revision=4613
* Removing old cruft - FedericoFederico Mena Quintero2000-08-093-170/+0
| | | | svn path=/trunk/; revision=4603
* New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCEFederico Mena Quintero2000-08-0815-849/+101
| | | | | | | | | | | | | 2000-08-07 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_clone): New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCE property does not need incrementing. * gui/dialogs/alarm-notify-dialog.c (alarm_notify_dialog): Use CalComponent. Deal with an empty summary property. svn path=/trunk/; revision=4589
* Big sync. Disable calendar compilation for a few hours - FedericoFederico Mena Quintero2000-08-0813-124/+542
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-07 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_get_as_string): Doh, libical owns the string's memory, so do not free it. * cal-client/client-test.c (create_client): Connect to the destroy signal of the client here. * cal-client/test.ics: New test file, modified from Eric Busboom's test file from RFC 2445. 2000-08-05 Federico Mena Quintero <federico@helixcode.com> * cal-client/client-test.c (dump_component): This was gone for some reason. (main): Load a new test file. 2000-08-04 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_commit_sequence): New function to commit changes to the SEQUENCE property. (cal_component_get_as_string): Ensure that the sequence has been committed. * cal-client/cal-client.c (cal_client_get_object): Use CalComponent instead of the old iCalObject. (cal_client_update_object): Use iCalObject. Commit the SEQUENCE property before stringifying the object and piping it over to the Wombat. svn path=/trunk/; revision=4585
* *** empty log message ***Seth Alves2000-08-051-0/+7
| | | | svn path=/trunk/; revision=4540
* if oaf isn't initialized by the time the conduit starts, start it up. weSeth Alves2000-08-053-5/+32
| | | | | | | | | * conduits/todo/todo-conduit.c (conduit_get_gpilot_conduit): if oaf isn't initialized by the time the conduit starts, start it up. we do this because we need to start wombat with oaf, and gpilotd doesn't currently start oaf. svn path=/trunk/; revision=4539
* tlauche is now called wombatSeth Alves2000-08-051-1/+1
| | | | svn path=/trunk/; revision=4538
* Everywhere unref the remote_uih having done a set_container.Michael Meeks2000-08-042-0/+5
| | | | svn path=/trunk/; revision=4524
* *** empty log message ***Seth Alves2000-08-031-0/+5
| | | | svn path=/trunk/; revision=4503
* Fixed a g_return_if_fail that had two parameters and thus wouldn't build.Joe Shaw2000-08-032-1/+7
| | | | | | | | | | 2000-08-02 Joe Shaw <joe@helixcode.com> * pcs/cal-backend-file.c (cal_backend_file_update_pilot_id): Fixed a g_return_if_fail that had two parameters and thus wouldn't build. svn path=/trunk/; revision=4502
* fixed a bunch of bugs, added a lot of debug spew.Seth Alves2000-08-032-87/+253
| | | | svn path=/trunk/; revision=4501
* call save (cbimc) after setting the pilot id and status.Seth Alves2000-08-031-0/+7
| | | | | | | * pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id): call save (cbimc) after setting the pilot id and status. svn path=/trunk/; revision=4500
* updated to match the new ETableModel append_row. This meant we could alsoDamon Chaplin2000-08-032-62/+22
| | | | | | | | | | 2000-08-03 Damon Chaplin <damon@helixcode.com> * gui/calendar-model.c (calendar_model_append_row): updated to match the new ETableModel append_row. This meant we could also get rid of the row_being_added and idle_id hack. svn path=/trunk/; revision=4499
* Dum dum dum - FedericoFederico Mena Quintero2000-08-031-0/+36
| | | | svn path=/trunk/; revision=4494
* Emit "model_pre_change" signals as appropriate.Christopher James Lahey2000-08-032-0/+8
| | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Emit "model_pre_change" signals as appropriate. svn path=/trunk/; revision=4493
* New files for the iCalendar file backend.Federico Mena Quintero2000-08-037-9/+1108
| | | | | | | | | | | | | | | 2000-08-02 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.[ch]: New files for the iCalendar file backend. * pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-file.[ch]. * cal-util/cal-component.c (cal_component_set_icalcomponent): Return an operation success code for if we are passed a component of a type we don't support. svn path=/trunk/; revision=4479
* Ahem, these files will be back in a second - FedericoFederico Mena Quintero2000-08-031-2/+0
| | | | svn path=/trunk/; revision=4476
* Use CalComponent and the new property types instead of the old iCalObjectFederico Mena Quintero2000-08-027-129/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-31 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-recur.c (*): Use CalComponent and the new property types instead of the old iCalObject stuff. (cal_recur_generate_instances): Renamed from cal_object_generate_events(). Ensure that the component has the DTSTART property. (generate_instances_for_year): Renamed from cal_object_generate_events_for_year(). (cal_obj_expand_recurrence): Made static. (cal_recur_from_icalrecurrencetype): New function. We should really convert this whole file to use struct icalrecurrencetype instead. (cal_recur_free): New function. * cal-util/cal-recur.h (CalRecurType): Renamed from CalObjRecurType. (CalRecurrence): Renamed from CalObjRecurrence. * cal-util/timeutil.c (time_from_icaltimetype): New function. * cal-util/Makefile.am: Commented out the test-recur program. svn path=/trunk/; revision=4464
* Removed doc directory, since it is the old gnome-pim docs which aren'tDamon Chaplin2000-08-0213-521/+9
| | | | | | | | | | | 2000-08-01 Damon Chaplin <damon@helixcode.com> * Removed doc directory, since it is the old gnome-pim docs which aren't used any more. * Makefile.am (SUBDIRS): removed doc. svn path=/trunk/; revision=4460
* Solaris compile fix. OK on Linux too.Matthew Loper2000-07-272-0/+8
| | | | svn path=/trunk/; revision=4368
* OK, it seems that we have all the interesting properties for single-userFederico Mena Quintero2000-07-273-0/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-26 Federico Mena Quintero <federico@helixcode.com> OK, it seems that we have all the interesting properties for single-user calendars now. RFC 2445 can bite me. * cal-util/cal-component.c (scan_property): Handle the RRULE property. Yay!. (scan_recur): Likewise, yow! (get_recur_list): Likewise, yeehaw! (get_recur_list): Likewise, honk honk! (set_recur_list): Likewise, booooga booooga! (cal_component_get_rrule_list): Likewise, squeek squeek! (cal_component_set_rrule_list): That's it, I ran out of sounds. (cal_component_free_recur_list): Likewise. (scan_property): Handle the EXRULE property. (free_icalcomponent): Likewise. (cal_component_get_exrule_list): Likewise. (cal_component_set_exrule_list): Likewise. (set_period_list): Oops, free the old properties as well as removing them. (set_text_list): Ditto. (cal_component_set_exdate_list): Ditto. svn path=/trunk/; revision=4361
* Ahem, be consistent with parameter names - FedericoFederico Mena Quintero2000-07-271-2/+2
| | | | svn path=/trunk/; revision=4354
* Put all the functions used to free returned values all together.Federico Mena Quintero2000-07-273-209/+362
| | | | | | | | | | | | | | | | | 2000-07-26 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c: Put all the functions used to free returned values all together. (cal_component_set_rdate_list): Oops, mark SEQUENCE property to be incremented since the RFC requires it. (scan_property): Handle the EXDATE property. (scan_exdate): Likewise. (free_icalcomponent): Likewise. (cal_component_get_exdate_list): Likewise. (cal_component_set_exdate_list): Likewise. (cal_component_free_exdate_list): Likewise. svn path=/trunk/; revision=4353
* gui/Makefile.am: Fixed a typo.Jeffrey Stedfast2000-07-272-1/+5
| | | | svn path=/trunk/; revision=4352
* Added a few xpm files to the EXTRA DIST sectionJeffrey Stedfast2000-07-272-4/+12
| | | | | | | | 2000-07-26 Jeffrey Stedfast <fejj@helixcode.com> * gui/Makefile.am: Added a few xpm files to the EXTRA DIST section svn path=/trunk/; revision=4351
* New function. (scan_property): Handle the RDATE property. (scan_period):Federico Mena Quintero2000-07-2610-108/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-25 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_free_period_list): New function. (scan_property): Handle the RDATE property. (scan_period): Likewise. (free_icalcomponent): Likewise. (get_period_list): Likewise. (set_period_list): Likewise. (cal_component_get_rdate_list): Likewise. (cal_component_set_rdate_list): Likewise. (scan_text): Simplify a bit since we only handle the ALTREP parameter; there is no need to iterate over all parameters. (scan_datetime): Simplify; just handle the TZID parameter. (scan_summary): Simplify; just handle the ALTREP parameter. (cal_component_get_as_string): New function. * idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER; now we only expose the types of objects we know about. * cal-util/cal-util.h (CalObjType): Likewise. * cal-client/cal-client.c (cal_client_get_n_objects): Likewise. (cal_client_get_uids): Likewise. * conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise. (check_for_slow_setting): Likewise. * pcs/cal-backend-imc.c (count_objects): Likewise. (build_uids_list): Likewise. * pcs/cal.c (Cal_get_uids): Likewise. (Cal_get_n_objects): Likewise. svn path=/trunk/; revision=4336
* new ECalendarTable to show an ETable view for Todo/Event items.Damon Chaplin2000-07-2624-549/+4714
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-25 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.[hc]: new ECalendarTable to show an ETable view for Todo/Event items. * gui/task-assigned-to.xpm: * gui/task-recurring.xpm: * gui/task-assigned.xpm: * gui/task.xpm: new pixmaps (all the same at present) to go in the icon column of the ETable. * gui/event-editor.c: hid the silly 'Calendar' labels on the GnomeDateEdits and hid the times when you select 'All day event'. Also adjusted the time_t's so that when an all day event finishes on say midnight 13th May, we show 12th May in the dialog, since it implicitly includes all of that day up to midnight. * gui/dialogs/task-editor-dialog.glade: * gui/dialogs/task-editor.[hc]: unfinished dialog to edit tasks. * gui/gncal-todo.c: temporary hack so that we can use the simple dialog with our new ETable. svn path=/trunk/; revision=4323
* *** empty log message ***Damon Chaplin2000-07-231-0/+8
| | | | svn path=/trunk/; revision=4281
* fixed it so it doesn't crash when a URL is loaded.Damon Chaplin2000-07-232-3/+19
| | | | | | | | | | | 2000-07-23 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_create_from_vobject): fixed it so it doesn't crash when a URL is loaded. * cal-util/calobj.h: added a few more fields. svn path=/trunk/; revision=4280
* Szabolcs BAN <shooby@gnome.hu>Szabolcs Ban2000-07-211-1/+1
| | | | | | * Small typo fix in calendar/gui/event-editor.c svn path=/trunk/; revision=4254
* Update the components to match the changes in the libeshell API.Ettore Perazzoli2000-07-213-2/+7
| | | | svn path=/trunk/; revision=4242
* Finish filling the trigger. What a pain, again.Federico Mena Quintero2000-07-202-6/+83
| | | | | | | | | | 2000-07-19 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_alarm_set_trigger): Finish filling the trigger. What a pain, again. (cal_component_alarm_free_trigger): Implemented. svn path=/trunk/; revision=4232
* Added the Turkish desktop entriesFatih Demir2000-07-203-0/+11
| | | | svn path=/trunk/; revision=4227
* Free the icalcomponent if this is an unattached alarm.Federico Mena Quintero2000-07-193-1/+181
| | | | | | | | | | | | 2000-07-18 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_alarm_free): Free the icalcomponent if this is an unattached alarm. (scan_alarm_property): Handle the TRIGGER property. (cal_component_alarm_get_trigger): Ditto. Royal pain. (cal_component_alarm_set_trigger): Ditto. Less pain. svn path=/trunk/; revision=4216
* Docs docs docs - FedericoFederico Mena Quintero2000-07-182-0/+11
| | | | svn path=/trunk/; revision=4206
* Fixed inline docs. (cal_client_new): Ditto.Federico Mena Quintero2000-07-182-4/+8
| | | | | | | | | | 2000-07-17 Federico Mena Quintero <federico@helixcode.com> * cal-client/cal-client.c (cal_client_get_object): Fixed inline docs. (cal_client_new): Ditto. svn path=/trunk/; revision=4190
* New internal represntation for alarm components. We really don't map themFederico Mena Quintero2000-07-153-1/+223
| | | | | | | | | | | | | | | | | | | 2000-07-14 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (CalComponentAlarm): New internal represntation for alarm components. We really don't map them to a CalComponent because it is more convenient to handle them as "child" structures. (make_alarm): New function to create a CalComponentAlarm from an icalcomponent representing a VALARM. (scan_alarm_property): New function to scan a property from an alarm component. We support ACTION. (cal_component_get_first_alarm): New function to start an iterator over the alarms in a calendar component. (cal_component_alarm_get_action): New function. (cal_component_alarm_set_action): New function. svn path=/trunk/; revision=4173
* oopsSeth Alves2000-07-141-0/+4
| | | | svn path=/trunk/; revision=4164
* conduit based on the calendar conduit. this conduit syncs a pilot's ToDoDBSeth Alves2000-07-148-308/+1176
| | | | | | | | | | | * conduits/todo/todo-conduit.c: conduit based on the calendar conduit. this conduit syncs a pilot's ToDoDB database to wombat's list of "todo" events. * gui/gncal-todo.c (simple_todo_editor): set todo's priority control based on value from ical object during edit. svn path=/trunk/; revision=4156
* small cleanups, quiet compilerSeth Alves2000-07-133-109/+93
| | | | svn path=/trunk/; revision=4145
* todo conduit builds and plays nice but does nothingSeth Alves2000-07-138-210/+401
| | | | svn path=/trunk/; revision=4130
* Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versionsFederico Mena Quintero2000-07-132-40/+35
| | | | | | | | | 2000-07-12 Federico Mena Quintero <federico@helixcode.com> * configure.in: Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versions to avoid breakage. svn path=/trunk/; revision=4129
* GnomeFont update.Michael Meeks2000-07-132-30/+45
| | | | | | | | | 2000-07-12 Michael Meeks <michael@helixcode.com> * gui/print.c (titled_box, print_text, print_month_small), (bound_text): GnomeFont update. svn path=/trunk/; revision=4123
* fixed various problemsSeth Alves2000-07-138-117/+92
| | | | | | | | | | | * conduits/calendar/calendar-conduit.c: fixed various problems * cal-client/Makefile.am: build a static version of the library to link with the conduits * cal-util/Makefile.am: same svn path=/trunk/; revision=4116
* Handle the COMPLETED property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-123-30/+278
| | | | | | | | | | | | | | | | | | | | 2000-07-11 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the COMPLETED property. (free_icalcomponent): Ditto. (cal_component_get_completed): Ditto. (cal_component_set_completed): Ditto. (scan_property): Handle the TRANSPARENCY property. (free_icalcomponent): Ditto. (cal_component_get_transparency): Ditto. (cal_component_set_transparency): Ditto. (scan_property): Handle the URL property. (free_icalcomponent): Ditto. (cal_component_get_url): Ditto. (cal_component_set_url): Ditto. svn path=/trunk/; revision=4101
* Removed unneeded check for the URI. (load_fn): Be more paranoid about theFederico Mena Quintero2000-07-122-14/+49
| | | | | | | | | | | | | 2000-07-11 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.c (queue_load_create_job): Removed unneeded check for the URI. (load_fn): Be more paranoid about the URI and notify the listener if we got passed a bad URI. Simplify the termination code a bit. (create_fn): Likewise. (queue_load_create_job): Be more paranoid about the URI. svn path=/trunk/; revision=4089
* ignore binariesSeth Alves2000-07-111-0/+2
| | | | svn path=/trunk/; revision=4073
* Disable Pilot conduit stuff for now. It's not quite ready yet and itEttore Perazzoli2000-07-113-29/+8
| | | | | | depends on CVS gnome-pilot. svn path=/trunk/; revision=4072
* remove gnomecal.conduitDan Winship2000-07-113-3/+9
| | | | | | | | | * gui/Makefile.am (EXTRA_DIST): remove gnomecal.conduit * conduits/calendar/Makefile.am (EXTRA_DIST): We want calendar.conduit.in, not calendar.conduit. svn path=/trunk/; revision=4070
* *** empty log message ***Seth Alves2000-07-111-4/+5
| | | | svn path=/trunk/; revision=4067
* *** empty log message ***Seth Alves2000-07-111-5/+4
| | | | svn path=/trunk/; revision=4065
* updated calendar conduit to use oaf and wombatSeth Alves2000-07-116-339/+417
| | | | svn path=/trunk/; revision=4061
* Moved these files to calendar/conduits/{calendar/todo} - FedericoFederico Mena Quintero2000-07-118-2524/+0
| | | | svn path=/trunk/; revision=4059
* added makefiles for calendar conduitsSeth Alves2000-07-118-32/+129
| | | | | | | | | | | | * configure.in: added makefiles for calendar conduits * gui/Makefile.am (SUBDIRS): * conduits/calendar/Makefile.am: moved calendar-conduit stuff from the gui directory to here. * Makefile.am (SUBDIRS): added conduits to SIBDIRS svn path=/trunk/; revision=4058
* As a quasi-hack, do a gdk_flush() when the shell view is unrealized soFederico Mena Quintero2000-07-103-0/+5
| | | | | | | | | | | | | | 2000-07-10 Federico Mena Quintero <federico@helixcode.com> * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush() when the shell view is unrealized so that the DeleteEvent gets sent to the remote plugs as soon as possible before we start making other CORBA calls. The problem is that our CORBA pipe is synchronous while our X pipe is asynch. We have to ensure ordering for certain operations. This is NOT the correct and complete fix, which should go in Bonobo. svn path=/trunk/; revision=4030
* Remove unused file - FedericoFederico Mena Quintero2000-07-101-200/+0
| | | | svn path=/trunk/; revision=4022
* Remove "Close calendar" command, which does not make much sense.Ettore Perazzoli2000-07-092-8/+5
| | | | svn path=/trunk/; revision=3990
* Remove conflict markers - FedericoFederico Mena Quintero2000-07-091-1/+0
| | | | svn path=/trunk/; revision=3983
* Add mouse wheel scrolling support to the calendar day and week viewsAnders Carlsson2000-07-083-1/+70
| | | | svn path=/trunk/; revision=3971
* Handle the SEQUENCE property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-083-1/+126
| | | | | | | | | | | | | | | | | | | | | | 2000-07-07 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the SEQUENCE property. (free_icalcomponent): Ditto. (cal_component_get_sequence): Ditto. (cal_component_set_sequence): Ditto. (cal_component_free_sequence): Ditto. (cal_component_set_last_modified): Removed incorrect assertion. (CalComponentPrivate): New need_sequence_inc flag. The sequence number must be incremented when certain properties change, so we store a flag that says if we need to bump it when piping the object over the wire. (free_icalcomponent): Reset need_sequence_inc. (cal_component_set_dtstart): Set need_sequence_inc. (cal_component_set_dtend): Ditto. (cal_component_set_due): Ditto. svn path=/trunk/; revision=3957
* Handle the LAST-MODIFIED property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-073-20/+118
| | | | | | | | | | | | | | | | | | 2000-07-06 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the LAST-MODIFIED property. (free_icalcomponent): Ditto. (cal_component_get_last_modified): Ditto. (cal_component_set_last_modified): Ditto. (get_icaltimetype): New function to get struct icaltimetype values. (cal_component_get_created): Use get_icaltimetype(). (set_icaltimetype): New function to set struct icaltimetype values. (cal_component_set_created): Use set_icaltimetype(). svn path=/trunk/; revision=3936
* Handle the CREATED property. (free_icalcomponent): Ditto.Federico Mena Quintero2000-07-073-121/+324
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-06 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_property): Handle the CREATED property. (free_icalcomponent): Ditto. (cal_component_free_icaltimetype): Ditto. (cal_component_get_created): Ditto. (cal_component_set_created): Ditto. (cal_component_init): Do not create an UID here. (ensure_mandatory_properties): New function to ensure that the mandatory RFC properties are indeed in the component. If they are not, we create them on the fly. (cal_component_set_new_vtype): Use ensure_mandatory_properties(). (cal_component_set_icalcomponent): Ditto. (cal_component_get_uid): Return the UID in a parameter, not as a function return value, for consistency's sake. (scan_property): Handle the DTSTAMP property. (free_icalcomponent): Ditto. (cal_component_get_dtstamp): Ditto. (cal_component_set_dtstamp): Ditto. svn path=/trunk/; revision=3934
* Use &obj instead of &ico in the call to cal_client_get_object(). The ToDoDamon Chaplin2000-07-043-1/+11
| | | | | | | | | | | | 2000-07-04 Damon Chaplin <damon@helixcode.com> * gui/gncal-todo.c (gncal_todo_update): Use &obj instead of &ico in the call to cal_client_get_object(). The ToDo list should work now. * gui/event-editor-dialog.glade: set the toplevel GnomeApp to invisible so it doesn't appear and then resize. svn path=/trunk/; revision=3883
* Use CalComponentText instead of CalComponentPropSummary. Removed theFederico Mena Quintero2000-07-043-11/+128
| | | | | | | | | | | | | | 2000-07-03 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_get_summary): Use CalComponentText instead of CalComponentPropSummary. Removed the latter typedef. (cal_component_set_summary): Likewise. (scan_property): Handle the CLASSIFICATION property. (cal_component_get_classification): Ditto. (cal_component_set_classification): Ditto. svn path=/trunk/; revision=3880
* Renamed from cal_component_free_description_list(). We can share thisFederico Mena Quintero2000-07-043-253/+368
| | | | | | | | | | | | | | | | | | | | | | | | 2000-07-03 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_free_text_list): Renamed from cal_component_free_description_list(). We can share this function since both comments and descriptions have the same form. (scan_text): Ditto. (get_text_list): New function. (set_text_list): New function. (cal_component_get_description_list): Use get_text_list(). (cal_component_set_description_list): Use set_text_list(). (cal_component_set_uid): Add sanity check. (cal_component_get_summary): Ditto. (cal_component_get_description_list): Ditto. (cal_component_get_dtstart): Ditto. (cal_component_get_dtend): Ditto. (cal_component_get_due): Ditto. (scan_property): Handle the COMMENT property. (cal_component_get_comment_list): Ditto. (cal_component_set_comment_list): Ditto. svn path=/trunk/; revision=3875
* Handle CATEGORIES. This can appear multiple times, so we maintain a list.Federico Mena Quintero2000-07-033-24/+244
| | | | | | | | | | | | | | 2000-07-02 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_categories): Handle CATEGORIES. This can appear multiple times, so we maintain a list. We compress them later to a single property with multiple values. (cal_component_get_categories_list): Ditto. (cal_component_set_categories_list): Ditto. (cal_component_free_categories_list): Ditto. (free_icalcomponent): Properly free the mappings. svn path=/trunk/; revision=3868
* Handle date/time and timezone pairs. (scan_property): Handle DTSTART andFederico Mena Quintero2000-07-023-12/+318
| | | | | | | | | | | | | | | | | | | | 2000-07-02 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (scan_datetime): Handle date/time and timezone pairs. (scan_property): Handle DTSTART and DTEND. (cal_component_free_datetime): Ditto. (get_datetime): Ditto. (cal_component_get_dtstart): Ditto. (set_datetime): Ditto. (cal_component_set_dtstart): Ditto. (cal_component_get_dtend): Ditto. (cal_component_set_dtend): Ditto. (scan_property): Handle DUE date. (cal_component_get_due): Ditto. (cal_component_set_due): Ditto. svn path=/trunk/; revision=3857
* Again, disable compilation of the Pilot stuff until it links - FedericoFederico Mena Quintero2000-07-021-18/+19
| | | | svn path=/trunk/; revision=3852
* Handle the DESCRIPTION property. There can be multiple descriptions withFederico Mena Quintero2000-07-013-40/+262
| | | | | | | | | | | | | | | 2000-07-01 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_get_description_list): Handle the DESCRIPTION property. There can be multiple descriptions with parameters each, so we deal with a list instead of a single structure. (cal_component_set_description_list): Ditto. (cal_component_free_description_list): Ditto. (scan_property): Ditto. (scan_description): Ditto. svn path=/trunk/; revision=3845
* uncomment out the pilot stuff, i think it links now. hehSeth Alves2000-07-011-19/+19
| | | | svn path=/trunk/; revision=3842
* One of these days, I need somebody to teach me how to program.Ettore Perazzoli2000-06-302-6/+6
| | | | svn path=/trunk/; revision=3824
* Make calendar die when evolution quits.Christopher James Lahey2000-06-303-2/+34
| | | | | | | | 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * gui/component-factory.c: Make calendar die when evolution quits. svn path=/trunk/; revision=3822
* Get an EvolutionShellClient instead of an Evolution_Shell to match theEttore Perazzoli2000-06-303-91/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Ettore Perazzoli <ettore@helixcode.com> * notes/component-factory.c (owner_set_cb): Get an EvolutionShellClient instead of an Evolution_Shell to match the changes in libeshell. 2000-06-29 Peter Williams <peterw@helixcode.com> * configure.in: Re-enable GNOME_PILOT_CHECK. Change AC_MSG_CHECKING([For...]) to [for...]. It's the little things that matter. 2000-06-28 Ettore Perazzoli <ettore@helixcode.com> * configure.in: `AM_PATH_GCONF'. 2000-06-27 Peter Williams <peterw@curious-george.helixcode.com> * configure.in (ctime_r): Check for whether ctime_r takes two (Linux) or three (Solaris) arguments. (AC_OUTPUT): Don't create notes/Makefile twice. * acconfig.h: Add CTIME_R_THREE_ARGS to the list. svn path=/trunk/; revision=3821
* EvolutionShellClient.Ettore Perazzoli2000-06-303-2/+10
| | | | svn path=/trunk/; revision=3820
* Do not link and include the pilot stuff for the calendar component, justFederico Mena Quintero2000-06-302-34/+30
| | | | | | | | | | | 2000-06-29 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am: Do not link and include the pilot stuff for the calendar component, just for the Pilot conduit. Commented out the Pilot part so that Evolution can build. Sigh, we'll have to modify gnome-pilot to use OAF. svn path=/trunk/; revision=3815
* Make the pilot stuff in calendar/gui optional.Peter Williams2000-06-292-2/+20
| | | | svn path=/trunk/; revision=3793
* server code to service these:Seth Alves2000-06-2910-184/+638
| | | | | | | | | | | | | | | | | | | | * pcs/cal.c (Cal_get_uid_by_pilot_id): (Cal_update_pilot_id): * pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id): (cal_backend_imc_get_uid_by_pilot_id): * pcs/cal-backend.c (cal_backend_get_uid_by_pilot_id): (cal_backend_update_pilot_id): server code to service these: * gui/calendar-pilot-sync.c: updated to make use of cal-client. also uses dirty bits on both sides to aid in syncing. * cal-client/cal-client.c (cal_client_get_uid_by_pilot_id): new function -- ask the cal server to return uid given an object's pilot id. (cal_client_update_pilot_id): new function -- inform the cal server of an objects pilot id and pilot dirty-flag. svn path=/trunk/; revision=3789
* New files for the new iCalendar component object. Today's properties:Federico Mena Quintero2000-06-295-3/+487
| | | | | | | | | | | | | 2000-06-28 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.[ch]: New files for the new iCalendar component object. Today's properties: basic component type, UID, SUMMARY. * cal-util/Makefile.am: Added cal-component.[ch] to the list of sources. svn path=/trunk/; revision=3786
* use BONOBO_VFS_GNOME_CFLAGS.Michael Meeks2000-06-282-1/+5
| | | | | | | | 2000-06-27 Michael Meeks <michael@helixcode.com> * pcs/Makefile.am (INCLUDES): use BONOBO_VFS_GNOME_CFLAGS. svn path=/trunk/; revision=3760
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-272-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Sync again - FedericoFederico Mena Quintero2000-06-274-25/+309
| | | | svn path=/trunk/; revision=3742
* Sync - FedericoFederico Mena Quintero2000-06-239-69/+304
| | | | svn path=/trunk/; revision=3693
* set event before using it! (e_day_view_init): used new colors from tigert.Damon Chaplin2000-06-212-8/+15
| | | | | | | | | | 2000-06-21 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_reshape_long_event): set event before using it! (e_day_view_init): used new colors from tigert. svn path=/trunk/; revision=3671
* Remove the usage of the "x" and "y" arguments.Christopher James Lahey2000-06-213-10/+19
| | | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * gui/e-day-view.c, gui/e-week-view.c: Remove the usage of the "x" and "y" arguments. svn path=/trunk/; revision=3669
* got rid of some debug messagesDamon Chaplin2000-06-211-18/+0
| | | | svn path=/trunk/; revision=3666
* changed so it keeps the selection range. It just moves it on one day/weekDamon Chaplin2000-06-215-38/+397
| | | | | | | | | | | | | | | | 2000-06-21 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.c (gnome_calendar_direction): changed so it keeps the selection range. It just moves it on one day/week etc. This makes it very handy for the keyboard shortcut code. * gui/calendar-commands.c (calendar_control_activate): fixed bug setting the radio button active. * gui/e-day-view.[hc]: added support for keyboard navigation and selection of the time range. svn path=/trunk/; revision=3665
* tidied up dialog a bit, adding space etc.Damon Chaplin2000-06-203-216/+272
| | | | | | | | | | | 2000-06-19 Damon Chaplin <damon@helixcode.com> * gui/event-editor-dialog.glade: tidied up dialog a bit, adding space etc. * gui/e-week-view.c (e_week_view_reshape_events): removed debug msg. svn path=/trunk/; revision=3639
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-06-193-0/+9
| | | | svn path=/trunk/; revision=3630
* fixed a DnD bug.Damon Chaplin2000-06-192-3/+10
| | | | | | | | | 2000-06-18 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received): fixed a DnD bug. svn path=/trunk/; revision=3628
* Fix to not depend on installed ical.hDan Winship2000-06-182-1/+6
| | | | | | | * cal-client/Makefile.am (INCLUDES): Fix to not depend on installed ical.h svn path=/trunk/; revision=3622
* added little buttons which are shown when there are more events than willDamon Chaplin2000-06-176-3/+138
| | | | | | | | | | | | | | | | | | | | * gui/e-week-view.c: added little buttons which are shown when there are more events than will fit in a day. Clicking on the button takes the user to the 1-Day view and shows the full day. * gui/e-day-view.c: * gui/e-week-view.c: set the "use_ellipsis" arg to TRUE for the EText items so we get tooltips automatically. Though we may want to use our own code to show tooltips so we can show the tips when the mouse is around the edges of the event box, and we may want to show the start and end times of the event in full. * gui/calendar-commands.c (calendar_control_activate): * gui/gnome-cal.h: added view_toolbar_buttons[] so we can access the radio buttons in the code easily. We need this if we want to jump to another view programmatically. svn path=/trunk/; revision=3605
* new icon for the EWeekView to jump to the day.Damon Chaplin2000-06-173-0/+21
| | | | | | | | | | 2000-06-16 Damon Chaplin <damon@helixcode.com> * gui/jump.xpm: new icon for the EWeekView to jump to the day. * gui/Makefile.am (EXTRA_DIST): added jump.xpm svn path=/trunk/; revision=3602
* Squeek - FedericoFederico Mena Quintero2000-06-161-2/+0
| | | | svn path=/trunk/; revision=3595
* #ifdef'ed out references to functions which don't exist yet, so evolutionDamon Chaplin2000-06-162-0/+8
| | | | | | | | | | 2000-06-16 Damon Chaplin <damon@helixcode.com> * gui/calendar-model.c (calendar_model_class_init): #ifdef'ed out references to functions which don't exist yet, so evolution still compiles. svn path=/trunk/; revision=3594
* Doh, sync - FedericoFederico Mena Quintero2000-06-167-58/+200
| | | | svn path=/trunk/; revision=3593
* Took out some debugging code.Damon Chaplin2000-06-161-1/+1
| | | | | | Took out some debugging code. svn path=/trunk/; revision=3592
* updated.Damon Chaplin2000-06-165-63/+623
| | | | | | | | | | | 2000-06-16 Damon Chaplin <damon@helixcode.com> * cal-util/test-recur.c: updated. * cal-util/cal-recur.[hc]: mostly finished, though it depends on the iCalObject struct being updated to support more of iCalendar. svn path=/trunk/; revision=3591
* added icalendar-test.Damon Chaplin2000-06-162-0/+5
| | | | | | | | 2000-06-16 Damon Chaplin <damon@helixcode.com> * pcs/.cvsignore: added icalendar-test. svn path=/trunk/; revision=3589
* use libical.aDamon Chaplin2000-06-162-1/+18
| | | | | | | | 2000-06-15 Damon Chaplin <damon@helixcode.com> * cal-util/Makefile.am (test_recur_LDADD): use libical.a svn path=/trunk/; revision=3586
* merge the two separate noinst_PROGRAMS declarations into one so automakeDan Winship2000-06-152-3/+9
| | | | | | | | | * cal-util/Makefile.am (noinst_PROGRAMS): merge the two separate noinst_PROGRAMS declarations into one so automake accepts it. (INCLUDES): include libical src dir so we don't depend on having ical.h already installed svn path=/trunk/; revision=3573
* finish switch back to vcalSeth Alves2000-06-141-3/+9
| | | | svn path=/trunk/; revision=3556
* switch back to vcal for debuggingSeth Alves2000-06-141-3/+3
| | | | svn path=/trunk/; revision=3555
* Added the array of objects and the hash table of UID->array index.Federico Mena Quintero2000-06-134-4/+564
| | | | | | | | | | | | | | | | | | | | | 2000-06-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (CalendarModelPrivate): Added the array of objects and the hash table of UID->array index. (calendar_model_row_count): Return the length directly from the array instead of asking the Wombat. (calendar_model_value_at): Implemented. (calendar_model_new): Create an empty model. We provide a new setter function now. (calendar_model_construct): Removed function. (calendar_model_set_cal_client): New function to set the calendar client and object type at any time. This lets us reuse a calendar model object. * cal-util/calobj.h (iCalObjectField): Just report whether the object has alarms; not every single alarm. svn path=/trunk/; revision=3547
* Build a `libeshell.a' library in `shell/' so that we don't need toEttore Perazzoli2000-06-132-8/+7
| | | | | | | link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-103-6/+29
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Added a get_n_objects() method.Federico Mena Quintero2000-06-0911-3/+206
| | | | | | | | | | | | | | | | | | | | | | 2000-06-09 Federico Mena Quintero <federico@helixcode.com> * idl/evolution-calendar.idl (Cal): Added a get_n_objects() method. * pcs/cal-backend.c (cal_backend_get_n_objects): New function. * pcs/cal-backend-imc.c (cal_backend_imc_get_n_objects): Implemented. * pcs/cal.c (Cal_get_n_objects): Implemented. * cal-client/cal-client.c (cal_client_get_uids): Free the ev. (cal_client_get_n_objects): Implemented. * cal-util/calobj.h (iCalObjectField): New enumeration to identify the fields in an iCalObject. svn path=/trunk/; revision=3486
* Allow for NULL summaries.Federico Mena Quintero2000-06-092-1/+6
| | | | | | | | | 2000-06-08 Federico Mena Quintero <federico@helixcode.com> * cal-util/calobj.c (ical_object_to_vobject): Allow for NULL summaries. svn path=/trunk/; revision=3478
* Added missing tooltips. We still need icons, though.Federico Mena Quintero2000-06-082-9/+22
| | | | | | | | | 2000-06-07 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (toolbar): Added missing tooltips. We still need icons, though. svn path=/trunk/; revision=3477
* put this back in, it's still used inSeth Alves2000-06-083-3/+5
| | | | | | | * cal-util/calobj.c (ical_object_find_in_string): put this back in, it's still used in cal-backend-imc.c:cal_backend_imc_update_object svn path=/trunk/; revision=3466
* update some .cvsignoresSeth Alves2000-06-082-1/+1
| | | | svn path=/trunk/; revision=3464
* instead of returning a text representation, decode the text and return anSeth Alves2000-06-0812-141/+151
| | | | | | | | | | | | | | | | | | | | | | * cal-client/cal-client.c (cal_client_get_object): instead of returning a text representation, decode the text and return an iCalObject. Also added CalClientGetStatus which indicates success or type of failure. * cal-util/calobj.c (ical_object_find_in_string): #ifed out ical_object_find_in_string since it is unused now. * cal-client/client-test.c (list_uids): track get_object change * gui/calendar-commands.c (calendar_iterate): same * gui/e-day-view.c (e_day_view_update_event): same * gui/e-week-view.c (e_week_view_update_event): same * gui/print.c (print_day_details): same (print_day_summary): same (print_todo_details): same * gui/gnome-cal.c (trigger_alarm_cb): same * gui/gncal-todo.c (gncal_todo_update): same svn path=/trunk/; revision=3463
* Moved these files to calendar/cal-util - FedericoFederico Mena Quintero2000-06-075-1362/+0
| | | | svn path=/trunk/; revision=3457
* fixed a bunch of problems use libical instead of libversitSeth Alves2000-06-0710-107/+318
| | | | | | | | | | | | | | | * cal-util/icalendar.c, icalendar-save.c: fixed a bunch of problems * cal-util/calobj.c (ical_object_find_in_string): use libical instead of libversit (ical_object_to_string): same (dump_icalobject): prints the contents of an icalobject for debugging * gui/Makefile.am (LINK_FLAGS): link libical.a instead of libical.la so we don't have to modify the build system of the released libical * cal-client/Makefile.am (client_test_LDADD): same * cal-util/Makefile.am (icalendar_test_LDADD): same svn path=/trunk/; revision=3446
* Removed from the public header; made static. Now everyone should useFederico Mena Quintero2000-06-077-42/+45
| | | | | | | | | | | | | 2000-06-06 Federico Mena Quintero <federico@helixcode.com> * cal-util/calobj.c (ical_object_destroy): Removed from the public header; made static. Now everyone should use refcounting. * pcs/cal-backend-imc.c (free_ical_object): Use ical_object_unref(). (remove_object): Likewise. svn path=/trunk/; revision=3439
* allow the right button to popup the menu, even when the event is beingDamon Chaplin2000-06-063-4/+22
| | | | | | | | | | | | | | | | | 2000-06-05 Damon Chaplin <damon@helixcode.com> * gui/e-week-view-event-item.c (e_week_view_event_item_button_press): allow the right button to popup the menu, even when the event is being edited. * gui/e-week-view.c: * gui/e-day-view.c: Set the keyboard focus to the EDayView/EWeekView when the right button is clicked, so that any event being edited is saved before any action (e.g. opening the Event Editor dialog) is started. Note that this won't work if we switch to asynchronous notification. svn path=/trunk/; revision=3427
* New function to call the print engine. (calendar_toolbar): Added the PrintFederico Mena Quintero2000-06-037-131/+170
| | | | | | | | | | | | | | | | | | | | | | 2000-06-02 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (print): New function to call the print engine. (calendar_toolbar): Added the Print button. (calendar_control_activate): Added the File/Print item. * gui/e-day-view.c (e_day_view_get_selected_time_range): Allow start_time and end_time to be NULL. * gui/e-week-view.c (e_week_view_get_selected_time_range): Likewise. * gui/print.c (range_selector_new): Show the range selector widgets. Use the correct radio group for all of them! (print_calendar): Do the dialog box here. We may want to split this function later into smaller chunks. svn path=/trunk/; revision=3409
* Implemented. (toolbar): Added an icon for the Save and Close command.Federico Mena Quintero2000-06-022-18/+74
| | | | | | | | | | | | | 2000-06-02 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (tb_save_and_close_cb): Implemented. (toolbar): Added an icon for the Save and Close command. (save_ical_object): Recompute the title of the window here. Maybe it would be better to do it when we actually get the "object_changed" signal from the CalClient. (file_close_cb): Implemented. svn path=/trunk/; revision=3382
* Implemented. (gnome_calendar_add_object): Removed function, since it wasFederico Mena Quintero2000-06-028-284/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-02 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (save_ical_object_cb): Implemented. (gnome_calendar_add_object): Removed function, since it was identical to gnome_calendar_update_object(). Modified the rest of the code to use only the latter. (gnome_calendar_remove_object): Be more paranoid about the UID. (gnome_calendar_update_object): Ditto. Also, renamed this function from gnome_calendar_object_changed(), for consistency with the lower-level CalClient interface. * gui/event-editor.c (event_editor_class_init): New "save_ical_object" signal to ask that our parent store the calendar object to the backend. (save_ical_object): New function to save the calendar object, actually if just emits the signal. (file_save_cb): Implemented. (dialog_to_ical_object): We want priv-> alarm_program_run_program_entry (i.e. the entry inside the GnomeFileEntry), not the file entry itself. (dialog_to_ical_object): Only insert the recurrence ending date if the event is recurrent! svn path=/trunk/; revision=3380
* Fixed EXTRA_DIST.Christopher James Lahey2000-06-022-1/+9
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Fixed EXTRA_DIST. svn path=/trunk/; revision=3377
* Handler for the "editor_closed" signal of the event editor; we justFederico Mena Quintero2000-06-024-25/+74
| | | | | | | | | | | | | | | 2000-06-01 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (editor_closed_cb): Handler for the "editor_closed" signal of the event editor; we just destroy it then. * gui/event-editor.c (app_delete_event_cb): Callback used when the dialog is closed. Release the iCalObject here instead of the event editor's destroy handler, and emit the new "editor_closed" signal. svn path=/trunk/; revision=3376
* Change of plans. The toplevel GnomeApp is now generated with Glade insteadFederico Mena Quintero2000-06-026-1539/+1572
| | | | | | | | | | | | | | | | | | | | | | | | 2000-06-01 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Change of plans. The toplevel GnomeApp is now generated with Glade instead of being created in the program code. Otherwise we can't migrate the accelerators to the new toplevel and they won't work. * gui/event-editor.[ch]: EventEditor now derives from GtkObject. This lets us use the GnomeApp created by libglade and still have signals and stuff. * gui/event-editor.c (create_menu): Tell the UI handler that the menubar is the GnomeApp's existing one, not to create a new one. (create_toolbar): Tell the UI handler to use the GnomeApp's existing toolbar. (event_editor_focus): New function to raise/focus an event editor. * gui/gnome-cal.c (gnome_calendar_edit_object): Use event_editor_focus(). svn path=/trunk/; revision=3348
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-012-3/+18
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3319
* Added a hash table to map calendar objects to their respective eventFederico Mena Quintero2000-06-0114-1830/+504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-31 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.h (GnomeCalendar): Added a hash table to map calendar objects to their respective event editors. * gui/gnome-cal.c (gnome_calendar_init): Create the object_editor_hash. (gnome_calendar_destroy): Free the object_editor_hash. (gnome_calendar_edit_object): New function to centralize the launching of event editors; if one already exists for a particular calendar object, we just raise its window. (edit): Use gnome_calendar_edit_object(). * gui/calendar-commands.c (display_objedit): Use gnome_calendar_edit_object(). (display_objedit_today): Likewise. * gui/e-day-view.c (e_day_view_on_new_appointment): Likewise. (e_day_view_on_edit_appointment): Likewise. * gui/e-week-view.c (e_week_view_on_new_appointment): Likewise. (e_week_view_on_edit_appointment): Likewise. * gui/event-editor.c (event_editor_new): Do not take in an iCalObject; rather provide an event_editor_set_ical_object() function. We need this because a single editor may be switched between different calendar objects. Also, do not show the event editor; leave it up to the client code. (event_editor_construct): Likewise. (clear_widgets): New function to clear the widgets to default values. (fill_widgets): New function to fill in the widgets from the iCalObject. We don't do this in init_widgets() anymore. (free_exception_clist_data): New function to free the exceptions clist data. We were leaking the row data. (init_widgets): Hook to the destroy signal of the exceptions clist. (event_editor_set_ical_object): New function. Now it also makes a copy of the calendar object for the event editor; clients do not need to copy it anymore. (event_editor_destroy): Unref the UI handler as well. (event_editor_class_init): New "ical_object_released" signal to notify the parent that we are no longer editing the calendar object. (make_title_from_ico): Handle NULL objects. * gui/event-editor.h (EventEditor): Removed fields that are no longer used. svn path=/trunk/; revision=3317
* added test-recur test program.Damon Chaplin2000-06-016-347/+1879
| | | | | | | | | | | | | | 2000-05-31 Damon Chaplin <damon@helixcode.com> * cal-util/Makefile.am: added test-recur test program. * cal-util/test-recur.c: new file to test the recurrence code. * cal-util/.cvsignore: added test-recur. * cal-util/cal-recur.c: updated. svn path=/trunk/; revision=3315
* Create the UI handler after we have constructed the parent GnomeApp.Federico Mena Quintero2000-05-312-12/+218
| | | | | | | | | | | | | | 2000-05-30 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (event_editor_construct): Create the UI handler after we have constructed the parent GnomeApp. (main_menu): Menu template is now in place. (toolbar): Tollbar template is now in place. (create_toolbar): Turn off labels in the toolbar since it sucks; it should support non-homogeneous buttons with horizontal icons and text. svn path=/trunk/; revision=3308
* Flush - FedericoFederico Mena Quintero2000-05-3014-853/+872
| | | | svn path=/trunk/; revision=3280
* Fix 'make dist' errors.Ross Golder2000-05-281-2/+4
| | | | svn path=/trunk/; revision=3231
* Put the main notebook directly under a simple GtkWindow. We are going toFederico Mena Quintero2000-05-265-1545/+1941
| | | | | | | | | | | | | | | | | | | | 2000-05-25 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Put the main notebook directly under a simple GtkWindow. We are going to pull out the notebook and slap it into our custom-built GnomeApp, anwyays. * gui/event-editor.c: Made the EventEditor derive from GnomeApp. Added a BonoboUIHandler for its menu and toolbar. (make_title_from_ico): Create a nice title for the window. (get_widgets): Fetch the Glade widgets here instead of all over the place. (event_editor_new): Temporary hack to show the dialog here, just so that I can test it. * gui/Makefile.am (EXTRA_DIST): Added the Glade messages file. svn path=/trunk/; revision=3214
* Do not initialize libglade twice.Federico Mena Quintero2000-05-267-26/+217
| | | | | | | | | | | | 2000-05-25 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (init_bonobo): Do not initialize libglade twice. * gui/component-factory.c (create_view): Set the folder_uri property, otherwise the calendar will not get loaded into the view. svn path=/trunk/; revision=3203
* From shell/ChangeLog:Christopher James Lahey2000-05-262-0/+6
| | | | | | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Make this always look pretty, with Helix GNOME or without. From calendar/ChangeLog: 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * gui/main.c: Make it so that warnings don't crash calendar. svn path=/trunk/; revision=3201
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-2516-16/+772
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-253-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Commit for if my laptop dies - FedericoFederico Mena Quintero2000-05-2426-4208/+1662
| | | | svn path=/trunk/; revision=3185
* Added Norwegian translationKjartan Maraas2000-05-224-0/+8
| | | | svn path=/trunk/; revision=3147
* new files to implement iCalendar recurrence rules. These are only partDamon Chaplin2000-05-2013-125/+1623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-20 Damon Chaplin <damon@helixcode.com> * cal-util/cal-recur.[hc]: new files to implement iCalendar recurrence rules. These are only part finished, but people may like to check that the architecture seems OK. 2000-05-17 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_on_delete_occurrence): * gui/e-week-view.c (e_week_view_on_delete_occurrence): use a copy of the iCalObject so we detect the change in the "update_event" callback. Maybe we should just update the view ourselves and then we wouldn't need to detect any change in the callback. * cal-util/calobj.c (ical_object_reset_recurrence): new function to get rid of any recurrence rules. Used when we 'unrecur' an event. * gui/e-day-view.c (e_day_view_key_press): don't add a new event if it won't fit, or we end up adding a new event for each key press. (e_day_view_update_event_label): don't update it if it doesn't have an EText item (i.e. it isn't visible). * gui/e-day-view-time-item.c: allow selection of times using this column. svn path=/trunk/; revision=3144
* Fixed warning message. (time_add_day): Likewise. (time_add_month):Federico Mena Quintero2000-05-193-6/+26
| | | | | | | | | | | | | | | | | 2000-05-19 Federico Mena Quintero <federico@helixcode.com> * cal-util/timeutil.c (time_add_minutes): Fixed warning message. (time_add_day): Likewise. (time_add_month): Likewise. (time_add_year): Likewise. (time_from_day): Of all functions, *this* one had to have a bug. Set the tm.tm_isdst to -1 to specify that we don't know whether the time is in DST or not. This fixes *many* bugs upstream. (time_week_begin): Likewise. We never noticed this since the week functions are never used. (time_week_end): Likewise. svn path=/trunk/; revision=3135
* hooked up more widget signals to callbacks to the gladified dialog actsSeth Alves2000-05-185-32/+296
| | | | | | | * gui/event-editor.c: hooked up more widget signals to callbacks to the gladified dialog acts more like the original one. svn path=/trunk/; revision=3106
* hook the radio buttons to the pages of the notebook. (append_exception):Seth Alves2000-05-173-59/+229
| | | | | | | | | | | | | | | | | | * gui/event-editor.c (recurrence_toggled): hook the radio buttons to the pages of the notebook. (append_exception): (recurrence_exception_added): (recurrence_exception_deleted): (recurrence_exception_changed): code to deal with the recurrence exception list. * gui/event-editor.[ch]: gladeified replacement for eventedit.c * gui/event-editor-utils.[ch]: utilities used by event-editor.c * gui/event-editor-dialog.glade: glade file used by event-editor.c svn path=/trunk/; revision=3092
* Forgot include file - FedericoFederico Mena Quintero2000-05-161-0/+1
| | | | svn path=/trunk/; revision=3075
* Speak no evil - FedericoFederico Mena Quintero2000-05-161-0/+3
| | | | svn path=/trunk/; revision=3074
* Alarm stuff I had not cvs added, sigh - FedericoFederico Mena Quintero2000-05-1613-4/+1155
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (display_notification): Use the alarm notification dialog. (display_notification_cb): New callback for the result of the alarm notification dialog. * gui/dialogs/alarm-notify.glade: New file with the alarm notification dialog. * gui/dialogs/alarm-notify-dialog.[ch]: New file. * gui/dialogs/Makefile.am: New file. * gui/Makefile.am (SUBDIRS): Added the dialogs directory. 2000-05-13 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (trigger_alarm_cb): Better error checking, and plug leaks of str_ico and ico. * gui/evolution-calendar-control.c (main): Initialize libglade. svn path=/trunk/; revision=3072
* gladeified replacement for eventedit.cSeth Alves2000-05-1610-8/+2709
| | | | | | | | | | * gui/event-editor.[ch]: gladeified replacement for eventedit.c * gui/event-editor-utils.[ch]: utilities used by event-editor.c * gui/event-editor-dialog.glade: glade file used by event-editor.c svn path=/trunk/; revision=3046
* Fix more Makefile breakage.Ettore Perazzoli2000-05-132-0/+6
| | | | svn path=/trunk/; revision=3012
* Added version and availability of required libunicode library.Matt Loper2000-05-133-87/+89
| | | | | | | | | | | | | | | | | | | | 2000-05-10 Matt Loper <matt@helixcode.com> * README: Added version and availability of required libunicode library. 2000-05-10 Dan Winship <danw@helixcode.com> * configure.in: Update versions needed for gnome-print, bonobo, and gtkhtml. 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * HACKING: We need a HACKING file. 2000-05-10 Christopher James Lahey <clahey@helixcode.com> svn path=/trunk/; revision=3008
* New function to add today's alarms for a single object.Federico Mena Quintero2000-05-129-54/+288
| | | | | | | | | | | | | | | | | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (add_alarms_for_object): New function to add today's alarms for a single object. (gnome_calendar_object_updated_cb): Update the object's alarms. * idl/evolution-calendar.idl (Cal): Added a get_alarms_for_object() method. * pcs/cal.c (Cal_get_alarms_for_object): Implemented method. * pcs/cal-backend.c (cal_backend_get_alarms_for_object): New function. * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_for_object): Implemented. * cal-client/cal-client.c (cal_client_get_alarms_for_object): New function. svn path=/trunk/; revision=3003
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-122-1/+4
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* remove unused timezone variable to make this compile on BSD systems (whereDan Winship2000-05-123-2/+6
| | | | | | | | * pcs/icalendar-save.c (timet_to_icaltime): remove unused timezone variable to make this compile on BSD systems (where timezone is the name of a function) svn path=/trunk/; revision=2996
* Removed unused arguments. Load the initial alarms here. (load_alarms): NewFederico Mena Quintero2000-05-1222-513/+1461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_update_all): Removed unused arguments. Load the initial alarms here. (load_alarms): New function to load a day's worth of alarms. (gnome_calendar_class_init): Eeeek! This was taking in an incorrect argument type. (gnome_calendar_init): Now the calendar keeps a hash table of UIDs->queued alarms. Create the hash table here. (gnome_calendar_destroy): Destroy the alarms hash table. (gnome_calendar_object_updated_cb): Remove the alarms for the object and regenerate them. (gnome_calendar_object_removed_cb): Remove the alarms for the object. * gui/alarm.c (alarm_add): Do not take in a CalendarAlarm, just the trigger time, the callback and the closure data. Return an opaque identifier for the alarm so that it can be removed by the client code if needed. Use the queue_alarm() helper function. (queue_alarm): Helper function to actually queue the alarm and set up the itimer. Deal with a nonzero return value from setitimer(). (alarm_remove): New function to remove an alarm based on its ID. (pop_alarm): New helper function; pops the first alarm of the queue and resets the timer as appropriate. (alarm_ready): Simplified a lot by using pop_alarm(). * idl/evolution-calendar.idl (Cal): Added get_alarms_in_range(). * pcs/cal.c (build_instance_seq): New function to build a CORBA sequence from the internal list of instances. (Cal_get_events_in_range): Use build_instance_seq(). (Cal_get_alarms_in_range): Implemented new method. * pcs/cal-backend.c (cal_backend_get_alarms_in_range): New function with the get_alarms_in_range() engine. * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_in_range): Implemented the get_alarms_in_range() method. * cal-client/cal-client.c (cal_client_get_alarms_in_range): New client-side function for getting the alarms. (build_instance_list): New helper function to build the CalObjInstance list from the CORBA sequence. (cal_client_get_events_in_range): Use build_instance_list(). * gui/calendar-commands.h: #include <cal-util/calobj.h>. #include "gnome-cal.h". * gui/e-week-view.c: #include "calendar-commands.h" instead of main.h; the latter is an obsolete file and will be killed. * gui/evolution-calendar-control.c (main): Call init_bonobo() before anything else. We need the GTK+ object system initialized. * gui/Makefile.am (evolution_calendar_SOURCES): Do not use main.h. * cal-util/cal-util.c (cal_alarm_instance_list_free): New function. svn path=/trunk/; revision=2987
* Move "about" menuitem to the help menu.Matthew Loper2000-05-112-1/+6
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): Move "about" menuitem to the help menu. svn path=/trunk/; revision=2970
* Removed dist-hook section.Christopher James Lahey2000-05-102-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* ChangeLog fix.Chris Lahey2000-05-101-1/+4
| | | | svn path=/trunk/; revision=2962
* Set the format when creating a new calendar.Christopher James Lahey2000-05-102-0/+23
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * pcs/cal-backend-imc.c: Set the format when creating a new calendar. svn path=/trunk/; revision=2961
* + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothingMatthew Loper2000-05-101-1/+1
| | | | | | | | | | + for a 'void' function. + * folder-browser-factory.c (control_activate): Remove "File->mail" + menuitem. + * e-shell-view-menu.c (command_run_bugbuddy): New function; allows + users to submit a bug. svn path=/trunk/; revision=2948
* Removed double free of method_string in uri->method_string.Christopher James Lahey2000-05-092-1/+8
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * pcs/cal-factory.c: Removed double free of method_string in uri->method_string. svn path=/trunk/; revision=2942
* Fix compilation with builddir != srcdir. Boy I love this.Ettore Perazzoli2000-05-093-2/+10
| | | | svn path=/trunk/; revision=2927
* call e_day_view_stop_editing_event here to avoid a divide by zero a bitSeth Alves2000-05-092-0/+12
| | | | | | | | * gui/e-day-view.c (e_day_view_on_delete_appointment): call e_day_view_stop_editing_event here to avoid a divide by zero a bit further on. i'm not sure if this is the best fix for this. svn path=/trunk/; revision=2922
* CalBackendClass now is just an interface for calendar backends; this is anFederico Mena Quintero2000-05-0914-1117/+1562
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-08 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend.h (CalBackendClass): CalBackendClass now is just an interface for calendar backends; this is an abstract class. Put in the vtable for the backend methods. * pcs/cal-backend.c (cal_backend_new): Removed function, since CalBackend is not just an abstract class. Removed implementation-specific functions and made public functions call the virtual methods instead. * pcs/cal-backend-imc.[ch]: New files with the CalBackendIMC implementation; this implements a backend for iCalendar and vCalendar files. Moved the implementation-specific stuff from cal-backend.[ch] to here. * pcs/cal-backend-imc.c (CalendarFormat): Moved enumeration to here. Added a CAL_UNKNOWN value for when the backend is not loaded yet. (cal_backend_imc_init): Initialize priv->format as CAL_UNKNOWN. (save_to_vcal): Use the same VCProdIdProp value as in cal-util/calobj.c. Use "1.0" as the VCVersionProp as per the vCalendar spec. (ensure_uid): Return nothing, since the result value need not be used anymore. (add_object): Since we mark the calendar as dirty anyways, we do not need to check the result value of ensure_uid() anymore. (remove_object): Asssert that we know how to handle the object's type. We do this in add_object() anyways. * pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-imc.[ch]. * gui/gnome-cal.c: Replaced debugging printf()s with g_message() so that we can see the line number where they occur. * gui/gnome-cal.c (gnome_calendar_load_cb): Sort of handle the LOAD_METHOD_NOT_SUPPORTED result code, and added a default for the switch. * cal-client/cal-listener.h (CalListenerLoadStatus): Removed enumeration; it is stupid to translate all values for the CalClient when it is going to translate them again. (CalListenerClass::cal_loaded): This signal now passes the LoadStatus directly from the CORBA side. * cal-client/cal-listener.c (Listener_cal_loaded): Do not translate the status value. * cal-client/cal-client.h (CalClientLoadStatus): Added the CAL_CLIENT_LOAD_METHOD_NOT_SUPPORTED error code. * cal-client/cal-client.c (cal_loaded_cb): Translate the CORBA version of the LoadStatus result code. * pcs/cal-factory.c (CalFactoryPrivate): New methods field for the hash table from method strings to the GtkTypes for backend class types. (cal_factory_init): Create the priv->methods hash table. (cal_factory_destroy): Free the priv->methods hash table. (cal_factory_register_method): New function to register a backend class for a particular URI method. (launch_backend_for_uri): New function to launch a backend for a particular URI's method. (load_backend): Use launch_backend_for_uri(). Move the error notification code from load_fn() to here. (create_backend): Use launch_backend_for_uri(). Move the error notification code form create_fn() to here; it is #ifdefed out since currently cal_backend_create() does not have any error reporting capabilities. * idl/evolution-calendar.idl (Listener::LoadStatus): Added a PROTOCOL_NOT_SUPPORTED error code. * pcs/cal-factory.c (cal_factory_load cal_factory_create): Removed functions, since they were supposed to be internal only. (CalFactory_load): Call queue_load_create_job() directly. (CalFactory_create): Likewise. svn path=/trunk/; revision=2921
* don't set the ico->uid to NULL or we won't find any other occurrences ofDamon Chaplin2000-05-095-10/+25
| | | | | | | | | | | | | | | | | 2000-05-08 Damon Chaplin <damon@helixcode.com> * gui/e-week-view.c (e_week_view_remove_event_cb): * gui/e-day-view.c (e_day_view_remove_event_cb): don't set the ico->uid to NULL or we won't find any other occurrences of the event. Set the editing_event_day/num to -1 instead. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the positioning of the icons for long events. * cal-util/calobj.c (ical_object_normalize_summary): forgot to terminate the string. svn path=/trunk/; revision=2920
* show the EText item, just in case it hasn't moved, otherwise it won'tDamon Chaplin2000-05-083-3/+24
| | | | | | | | | | | | | | 2000-05-07 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): (e_day_view_on_top_canvas_drag_data_received): show the EText item, just in case it hasn't moved, otherwise it won't appear. * gui/e-day-view.h (E_DAY_VIEW_BAR_WIDTH): increased from 6 to 8 to make it easier to drag an event. Also increased E_DAY_VIEW_GAP_WIDTH since it must be >= the BAR_WIDTH. svn path=/trunk/; revision=2878
* + * gui/evolution-calendar-control.c (PROPERTY_CALENDAR_URI):Matthew Loper2000-05-072-2/+13
| | | | | | | | + Changed to "folder_uri" from "calendar_uri". + (set_prop): The uri given to us is a directory, so we append a + filename onto the end before we use it. svn path=/trunk/; revision=2852
* changed these so they just do a simple localtime(), update the struct tm,Damon Chaplin2000-05-072-0/+60
| | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * cal-util/timeutil.c (time_day_begin): (time_day_end): changed these so they just do a simple localtime(), update the struct tm, then do a mktime(). I don't know why it used to look at the tm_isdst flags etc. From a little test program I wrote which steps through testing every hour for a year it wasn't working correctly, and the new code does. (time_add_day): also got rid of the stuff that looked at tm_isdst here. My test program now works better. svn path=/trunk/; revision=2841
* ignore evolution-calendar.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * gui/.cvsignore: ignore evolution-calendar.pure * gui/Makefile.am: add support for building evolution-calendar.pure svn path=/trunk/; revision=2834
* finish editing event when user hits Return key.Damon Chaplin2000-05-076-80/+117
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: * gui/e-week-view.c: finish editing event when user hits Return key. (e_week_view_on_text_item_event): stop event signals after doing any other calls, since otherwise it will also stop any other resulting event signals. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't draw the start/end times while editing. * gui/eventedit.c: changed the Summary field to a GtkEntry, since we now only want a single line of text. * cal-util/calobj.c (ical_object_normalize_summary): new function to convert the summary field to a single line of text, by converting any sequence of CR & LF characters to a single space. (ical_object_create_from_vobject): call the above function. I think all functions that load iCalObjects go through this. (ical_new): called it here as well just in case. svn path=/trunk/; revision=2827
* removed.Damon Chaplin2000-05-063-163/+4
| | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/week-view.[hc]: removed. svn path=/trunk/; revision=2826
* removed old calendar view files.Damon Chaplin2000-05-0613-4075/+9
| | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/gncal-day-panel.[hc]: * gui/gncal-day-view.[hc]: * gui/gncal-full-day.[hc]: * gui/gncal-week-view.[hc]: * gui/layout.[hc]: * gui/view-utils.[hc]: removed old calendar view files. svn path=/trunk/; revision=2825
* added guint ref_count to iCalObject struct, and ical_object_ref/unref()Damon Chaplin2000-05-0612-90/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.[hc]: added guint ref_count to iCalObject struct, and ical_object_ref/unref() functions. I've updated all the gui/ stuff to use ref_counts but I haven't touched the pcs/ stuff. Maybe just using ical_object_destroy() is OK there. * gui/gncal-todo.c: * gui/calendar-commands.c: * gui/eventedit.c: * gui/e-week-view.c: * gui/e-day-view.c: use refcounting for iCalObjects. * gui/e-day-view-main-item.c: * gui/e-day-view-top-item.c: * gui/e-day-view.c: try not to ever draw outside the event, even when the event is very small. 2000-05-05 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: don't allow recurring events to be resized or dragged, and don't show the resize/drag cursors. Actually it may be better to let the user do the resize/drag and then ask them what they want to do - change the single occurrence or the entire series. * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu): use e_auto_kill_popup_menu_on_hide() to destroy the popup menu. * gui/popup-menu.c: include e-gui-utils.h svn path=/trunk/; revision=2823
* ignore the .pure directoryChris Toshok2000-05-053-1/+4
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* for the long events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.Damon Chaplin2000-05-0510-92/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-04 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_foreach_event_with_uid): for the long events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV. * gui/calendar-commands.c: when we switch views, grab the focus. * gui/gnome-cal.c (gnome_calendar_tag_calendar): (gnome_calendar_mark_gtk_calendar_day): changed this so it uses cal_client_get_events_in_range(), and doesn't load any objects. Also just return if it isn't visible. * gui/calendar-commands.c (calendar_get_events_in_range): call g_list_sort() to sort the list rather than g_list_insert_sorted() for each element. It is much more efficient. Also changed it so that the co->ev_start/end fields are copied from the CalObjInstance rather than the parameters to the function (that is right, isn't it?) Also freed the list elements, and finally the list. (calendar_iterate): changed this to use cal_client_get_events_in_range since that is more efficient than getting all the uids and then loading and parsing all the events. * pcs/cal-backend.c (save): output the '... saved' message before freeing the string! * gui/gncal-todo.c (gncal_todo_update): * gui/e-week-view.c (e_week_view_update_event): * gui/e-day-view.c (e_day_view_update_event): * gui/calendar-commands.c (calendar_get_events_in_range): (calendar_iterate): free obj_string after it is parsed. svn path=/trunk/; revision=2802
* ShhKjartan Maraas2000-05-041-1/+5
| | | | svn path=/trunk/; revision=2780
* set the active radio button here. Oops - it wasn't a Bonobo problem afterDamon Chaplin2000-05-038-42/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-02 Damon Chaplin <damon@helixcode.com> * gui/calendar-commands.c (calendar_control_activate): set the active radio button here. Oops - it wasn't a Bonobo problem after all. * gui/popup-menu.c (popup_menu): added call to e_auto_kill_popup_menu_on_hide() to destroy the menu. * gui/e-week-view.c (e_week_view_show_popup_menu): * gui/e-day-view.c (e_day_view_on_event_right_click): ico->user_data isn't useful any more, since the event editor keeps its own iCalObject. So for now we make the menu commands available even when the event is being edited in the event editor. Also corrected misspellings of 'occurance' -> 'occurrence'. * gui/eventedit.c (event_editor_destroy): destroy the iCalObject. The event editor now uses its own independent iCalObject. * gui/e-week-view.c (e_week_view_on_unrecur_appointment): * gui/e-day-view.c (e_day_view_on_unrecur_appointment): create a new uid for the new single instance. I'm not sure what we should do about the creation/last modification times of the objects. * gui/e-week-view.c (e_week_view_on_edit_appointment): * gui/e-day-view.c (e_day_view_on_edit_appointment): duplicate the iCalObject before passing it to the event editor, since it will change the fields. If we don't duplicate it we won't know what has changed when we get the "update_event" callback. * gui/e-week-view.c (e_week_view_key_press): * gui/e-day-view.c (e_day_view_key_press): set the created and last_mod times of the new iCalObject. We may want to set the default alarm as well. * cal-util/calobj.c (ical_gen_uid): made this function public so we can generate new uids if necessary. svn path=/trunk/; revision=2759
* new function to get the currently seleted time range form the currentDamon Chaplin2000-05-018-46/+175
| | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new function to get the currently seleted time range form the current view. * gui/calendar-commands.c (display_objedit): use the above function to get the time for the new appointment. * gui/e-week-view.c: * gui/e-day-view.c: use a shallow copy of the ico when we update the times (when resizing/dragging). Otherwise we won't detect that the time has changed in the "update_event" callback. Also added functions to get the currently selected time range. svn path=/trunk/; revision=2712
* Stylistic fix - FedericoFederico Mena Quintero2000-05-011-3/+1
| | | | svn path=/trunk/; revision=2707
* *** empty log message ***Seth Alves2000-05-011-0/+10
| | | | svn path=/trunk/; revision=2703
* set attendee and contact address correctly.Seth Alves2000-05-013-20/+34
| | | | | | | | | | | | * pcs/icalendar-save.c (icalcomponent_create_from_ical_object): set attendee and contact address correctly. * pcs/cal-backend.c (icalendar_calendar_load): init priv->object_hash when loading. (cal_get_type_from_filename): if file extension is .ical, consider the file an ical file. svn path=/trunk/; revision=2702
* new function to see if the event dates have changed (including anyDamon Chaplin2000-05-0113-172/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_compare_dates): new function to see if the event dates have changed (including any recurrence rules). It is used for optimization when we get the "object_changed" signal. We have to do far less work if the dates are unchanged. * gui/e-week-view.c: * gui/e-day-view.c: only draw the selection when we have the keyboard focus, since the user expects to be able to type in a new event when the selection is shown. Also keep the selection when we lose focus, but just don't show it. Also quite a few changes to cope with the new client/server architecture. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): * gui/e-day-view-main-item.c (e_day_view_main_item_draw): * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): only draw the selection if the widget has the keyboard focus. * gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with events longer than one day. And changed the code for updating events in the new views. svn path=/trunk/; revision=2701
* updated Danish stringsPablo Saratxaga2000-04-302-2/+2
| | | | svn path=/trunk/; revision=2682
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-2811-25/+231
| | | | svn path=/trunk/; revision=2673
* deleted some commented out codeSeth Alves2000-04-281-3/+1
| | | | svn path=/trunk/; revision=2670
* *** empty log message ***Seth Alves2000-04-281-0/+7
| | | | svn path=/trunk/; revision=2669
* fix memory leak (save_to_vcal): same (save): same (cal_backend_load): sameSeth Alves2000-04-281-0/+5
| | | | | | | | | * pcs/cal-backend.c (cal_backend_load): fix memory leak (save_to_vcal): same (save): same (cal_backend_load): same svn path=/trunk/; revision=2668
* Replaced libcal-util.la with *.laChristopher James Lahey2000-04-263-1/+9
| | | | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * cal-util/.cvsignore: Replaced libcal-util.la with *.la * pcs/.cvsignore: Added *.la and *.lo. svn path=/trunk/; revision=2628
* Renamed from backend_destroy_cb. Now we use it for the "last_client_gone"Federico Mena Quintero2000-04-265-10/+82
| | | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.c (backend_last_client_gone_cb): Renamed from backend_destroy_cb. Now we use it for the "last_client_gone" signal from the backend. Also, unref the backend to destroy it. (add_backend): Connect to the "last_client_gone" signal of the backend. (cal_factory_get_n_backends): New function to query the number of running backends. * pcs/cal-backend.c (cal_backend_class_init): Register the new "last_client_gone" signal. It is emitted when the last Cal client goes away. It is used to notify the factory when a backend may be safely destroyed. (cal_destroy_cb): Emit the "last_client_gone" signal when the last client disconnects from the backend. svn path=/trunk/; revision=2619
* compare iCalObjects by their UIDs instead of by their pointers.Seth Alves2000-04-263-2/+9
| | | | | | | * gui/e-day-view.c (e_day_view_find_event_from_ico): compare iCalObjects by their UIDs instead of by their pointers. svn path=/trunk/; revision=2617
* don't save on destroy.Seth Alves2000-04-262-3/+6
| | | | | | * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy. svn path=/trunk/; revision=2615
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-263-4/+11
| | | | svn path=/trunk/; revision=2614
* hook for widget destroy -- used to unref the CalClient so wombat knows weSeth Alves2000-04-263-11/+37
| | | | | | | | * gui/gnome-cal.c (gnome_calendar_destroy): hook for widget destroy -- used to unref the CalClient so wombat knows we are gone. (gnome_calendar_class_init): added a class init for this widget. svn path=/trunk/; revision=2613
* allow for null icoSeth Alves2000-04-264-3/+9
| | | | | | | | * gui/e-day-view.c (e_day_view_update_event): allow for null ico * gui/e-week-view.c (e_week_view_update_event): allow for null ico svn path=/trunk/; revision=2605
* The path to the test calendar changed when we moved stuff around. UsersFederico Mena Quintero2000-04-252-5/+38
| | | | | | | | | | | | | | 2000-04-24 Federico Mena Quintero <federico@helixcode.com> * cal-client/client-test.c (main): The path to the test calendar changed when we moved stuff around. Users will have to tweak this for their CVS setup, anyways. (create_client): Create or load the calendar as appropriate. (client_destroy_cb): Exit the main loop if both clients are gone. (main): Connect to the "destroy" signal of the clients so that we can terminate the test program. svn path=/trunk/; revision=2597
* allow for null CN (parse_person): allow for null sent_bySeth Alves2000-04-259-28/+373
| | | | | | | | | | | | * pcs/icalendar.c (parse_person): allow for null CN (parse_person): allow for null sent_by * pcs/Makefile.am: build icalendar-test * pcs/icalendar-test.c: a test which loads an ical file and converts it to our internal format, and then saves it back out. svn path=/trunk/; revision=2588
* finished first stab at iCalObject to icalcomponent conversion.Seth Alves2000-04-252-6/+294
| | | | svn path=/trunk/; revision=2584
* added new source files and pixmaps, and removed old source files, whichDamon Chaplin2000-04-2425-290/+5365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files and pixmaps, and removed old source files, which can be deleted. * gui/e-week-view-titles-item.[hc]: * gui/e-week-view-main-item.[hc]: * gui/e-week-view-event-item.[hc]: * gui/e-week-view.[hc]: new files implementing the week/month views. * gui/yearview.xpm: * gui/monthview.xpm: * gui/weekview.xpm: * gui/workweekview.xpm: * gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't intended to be the final pixmaps. * gui/calendar-commands.c: added radio buttons to the toolbar to switch between the calendar views, and moved the am_pm_flag here so we can get rid of view-utils.c. * gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the widgets into 2 notebooks, and added the selection_start_time and selection_end_time fields. * gui/goto.c: updated to use new selection time range. * gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles. * gui/e-day-view.[hc]: changed the interface to support the new selection time range, got rid of a few debugging messages and changed a few bits. svn path=/trunk/; revision=2583
* start on code to do the opposite of icalendar.c (convert from iCalObjectsSeth Alves2000-04-228-6/+759
| | | | | | | * pcs/icalendar-save.c: start on code to do the opposite of icalendar.c (convert from iCalObjects to libical's icalcomponents). svn path=/trunk/; revision=2550
* moved "About Calendar" into the View menu so it shows up.Seth Alves2000-04-212-1/+6
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): moved "About Calendar" into the View menu so it shows up. svn path=/trunk/; revision=2545
* new function: callback for listener's object updated signal.Seth Alves2000-04-212-14/+29
| | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): new function: callback for listener's object updated signal. (gnome_calendar_object_removed_cb): new function: callback for listener's object removed signal. (gnome_calendar_new): hook up listener's "obj_updated" and "obj_removed" signals so if evolution is running twice, they will both see changes right away. (gnome_calendar_object_changed): don't call update_all, since it will be called by the listener. (gnome_calendar_remove_object): don't call update_all (gnome_calendar_add_object): don't call update_all svn path=/trunk/; revision=2539
* callback for obj_updated or obj_removed. (gnome_calendar_new): hook upSeth Alves2000-04-212-13/+32
| | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): callback for obj_updated or obj_removed. (gnome_calendar_new): hook up gnome_calendar_changed_cb so if evolution is running twice, they will both see changes right away. svn path=/trunk/; revision=2538
* create fullday's gcs even if pixmap_bell has already been created. thisSeth Alves2000-04-212-1/+45
| | | | | | | | * gui/gncal-full-day.c (child_realize): create fullday's gcs even if pixmap_bell has already been created. this was causing crashes if the calendar was run twice. svn path=/trunk/; revision=2537
* changed the order around a bit to avoid a Gtk-CRITICAL crashSeth Alves2000-04-202-5/+12
| | | | | | | * gui/eventedit.c (ee_rp_init_rule): changed the order around a bit to avoid a Gtk-CRITICAL crash svn path=/trunk/; revision=2512
* fixed code to populate the todo clistSeth Alves2000-04-206-42/+47
| | | | | | | | | | | | | | | * gui/gncal-todo.c (gncal_todo_update): fixed code to populate the todo clist * cal-client/cal-client.c (cal_client_get_uids): don't check type again CALOBJ_TYPE_ANY since it will always match. (cal_client_get_uids): same (re: CALOBJ_TYPE_ANY) * pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY) * pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY) svn path=/trunk/; revision=2509
* don't call save from here because in all cases the caller of remove_objectSeth Alves2000-04-202-1/+4
| | | | | | | * pcs/cal-backend.c (remove_object): don't call save from here because in all cases the caller of remove_object calls save svn path=/trunk/; revision=2507
* calls gnome_calendar_open instead of checking on disk and calling load orSeth Alves2000-04-205-52/+92
| | | | | | | | | | | | * gui/calendar-commands.c (calendar_set_uri): calls gnome_calendar_open instead of checking on disk and calling load or create. * gui/gnome-cal.c (gnome_calendar_open): collapsed gnome_calendar_load and gnome_calendar_create into this function. added new type GnomeCalendarOpenMode which has the value CALENDAR_OPEN or CALENDAR_OPEN_OR_CREATE. svn path=/trunk/; revision=2506
* fixed to use cal_client_update_object -- editing and dragging events worksSeth Alves2000-04-191-6/+5
| | | | | | | * gui/gnome-cal.c (gnome_calendar_object_changed): fixed to use cal_client_update_object -- editing and dragging events works again svn path=/trunk/; revision=2504
* set calendar's uri with a property bagSeth Alves2000-04-196-47/+156
| | | | | | | | | | | | | | | * e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
* Fix include path.Federico Mena Quintero2000-04-192-3/+6
| | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am (INCLUDES): Fix include path. svn path=/trunk/; revision=2491
* Added Danish strings to desktop/menu filePablo Saratxaga2000-04-194-0/+8
| | | | svn path=/trunk/; revision=2489
* We have a new "last_calendar_gone" signal that Wombat can use to terminateFederico Mena Quintero2000-04-184-3/+40
| | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.h (CalFactoryClass): We have a new "last_calendar_gone" signal that Wombat can use to terminate itself properly. * pcs/cal-factory.c (cal_factory_class_init): Register the "last_calendar_gone" signal. (backend_destroy_cb): Emit the "last_calendar_gone" signal instead of killing the factory. * pcs/Makefile.am: Added $(CORBA_GENERATED) to BUILT_SOURCES. (INCLUDES): Make the log domain be "wombat-pcs". svn path=/trunk/; revision=2475
* *** empty log message ***Seth Alves2000-04-181-1/+8
| | | | svn path=/trunk/; revision=2472
* removed implicit save, since we don't want to save as we load from disk.Seth Alves2000-04-181-1/+2
| | | | | | | | | * pcs/cal-backend.c (add_object): removed implicit save, since we don't want to save as we load from disk. (cal_backend_update_object): added a call to save, since it isn't done by add_object now. svn path=/trunk/; revision=2471
* Renamed library from libcalutil to libcal-util, to be consistent withFederico Mena Quintero2000-04-1733-308/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am: Renamed library from libcalutil to libcal-util, to be consistent with libcal-client. Install header files in $(includedir)/evolution/cal-util. (INCLUDES): Add "cal-util" log domain for glib. (libcal_clientincludedir): The header files are now installed in $(includedir)/evolution/cal-client. * cal-util/cal-util.h: Fix includes. * cal-client/client-test.c: Fix includes. * pcs/Makefile.am: Create libpcs.a, not a shared library, because it is for internal use by Wombat only. The header files should not be installed, either. Removed all the old Tlacuache stuff. * gui/Makefile.am (EXTRA_DIST): We no longer distribute gncal.desktop. (evolution_calendar_INCLUDES): Add "calendar-gui" for the glib log domain. * gui/*.[ch]: Fix cal-util and cal-client includes. * pcs/Makefile.am (INCLUDES): Added "pcs" log domain for glib. * pcs/*.[ch]: Fix cal-util includes. svn path=/trunk/; revision=2461
* use HAVE_TIMEZONE to switch between linux's timezone variable and *bsd'sChris Toshok2000-04-123-4/+32
| | | | | | | | * pcs/icalendar.c (icaltime_to_timet): use HAVE_TIMEZONE to switch between linux's timezone variable and *bsd's method of getting the gmt offset. svn path=/trunk/; revision=2399
* *** empty log message ***Seth Alves2000-04-111-0/+5
| | | | svn path=/trunk/; revision=2379
* create and save an actual vcalendar instead of a list of vcal objects.Seth Alves2000-04-111-40/+56
| | | | | | | * pcs/cal-backend.c (save_to_vcal): create and save an actual vcalendar instead of a list of vcal objects. svn path=/trunk/; revision=2378
* moved srcdir directories to the top so we search headers in the evolutionDamon Chaplin2000-04-112-3/+11
| | | | | | | | | | | | 2000-04-10 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am (INCLUDES): moved srcdir directories to the top so we search headers in the evolution tree before installed headers. (Otherwise when you do 'make install' lots of files in gui/ get rebuilt, since they depend on the installed cal-client.h which has just been updated.) svn path=/trunk/; revision=2364
* nat told me to do itSeth Alves2000-04-101-2/+2
| | | | svn path=/trunk/; revision=2354
* catch cal_loaded signal on the cal client. (gnome_calendar_load_cb):Seth Alves2000-04-105-41/+155
| | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_load): catch cal_loaded signal on the cal client. (gnome_calendar_load_cb): callback for cal_loaded signal. moved gnome_calendar_update_all from gnome_calendar_load to here. * gui/calendar-commands.c: minor cleanups * pcs/cal-backend.c (save_to_vcal): copied code from gnome-pim to write vcal to a file (save): filled it with more gnome-pim code (add_object): call save () after changing (remove_object): same (cal_backend_create): same (cal_backend_remove_object): same svn path=/trunk/; revision=2352
* pixmap_DATA isn't defined so don't use it as a variable.Christopher James Lahey2000-04-092-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable. * addressbook/gui/component/, addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am, addressbook/gui/component/addressbook-factory.c, addressbook/gui/component/addressbook.c, addressbook/gui/component/addressbook.gnorba, addressbook/gui/component/addressbook.h: New directory to proivde the component for contact management. Simply uses an e-minicard-view. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: New subclass of e-reflow-sorted that takes an EBook and uses it to compute the card data to display. * addressbook/gui/minicard/e-minicard.c, addressbook/gui/minicard/e-minicard.h: This now backends to a ECard instead of a ETableModel. * addressbook/gui/minicard/e-reflow.c, addressbook/gui/minicard/e-reflow.h: This now has a virtualized add method. * addressbook/gui/minicard/e-reflow-sorted.c, addressbook/gui/minicard/e-reflow-sorted.h: New subclass of e-reflow that allows the data to be sorted on the fly. * addressbook/gui/minicard/test-minicard-view.c: New test to test the new minicard view. * addressbook/gui/minicard/test-reflow.c: Uses the new ECard backend of the e-minicard. * addressbook/gui/minicard/.cvsignore, addressbook/gui/minicard/Makefile.am: Added new test. Fixed dependencies. Added new files. * addressbook/gui/, addressbook/gui/Makefile.am, addressbook/gui/.cvsignore: New directory for addressbook gui bits. Added subdirectories. Created an initial .cvsignore. * addressbook/Makefile.am (SUBDIRS): Removed demo and added gui. * addressbook/backend/pas/pas-backend-file.c: Added code to do notification on bookviews when changes in the backend are made. * addressbook/backend/pas/pas-book-view.c, addressbook/backend/pas/pas-book-view.h: Added helper functions to notify the view about the addition or modification of a single card. Fixed a mistaken extra free. * addressbook/backend/ebook/e-card-list-iterator.h: Fixed incorrect parent class. * addressbook/backend/ebook/test-client.c: Made this accept an optional parameter that specifies the vcard to add. * configure.in: Replaced widgets/e-minicard/Makefile and addressbook/demo/Makefile with addressbook/gui/minicard/Makefile and addressbook/gui/component/Makefile respectively. * widgets/Makefile.am: Removed e-minicard since it's being moved to addressbook/gui/minicard. * widgets/e-text/e-text.c: Fixed the border width around tooltips and made the main tooltip area yellow. From camel/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * providers/smtp/.cvsignore: Added a .cvsignore file. From calendar/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Removed linking with libetable and libeminicard since they weren't being used. svn path=/trunk/; revision=2343
* new function: friendly wrapper for cal_client_create_calendarSeth Alves2000-04-097-72/+104
| | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_create): new function: friendly wrapper for cal_client_create_calendar * gui/calendar-commands.c (new_calendar): call gnome_calendar_create if no filename is provided * gui/prop.c (properties): calendar is a frame * gui/calendar-commands.c (calendar_control_activate): sort out the menus a bit, more of them show up now. * gui/Makefile.am: don't build library or test, just the bonobo control * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2339
* calendar is a frame instead of a window, now.Seth Alves2000-04-084-7/+24
| | | | | | | | | | | * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2337
* i always forget to commit the ChangeLog. Dain BramageSeth Alves2000-04-071-0/+7
| | | | svn path=/trunk/; revision=2318
* removed uih from the argument list, added cal. use cal as user_data inSeth Alves2000-04-074-163/+92
| | | | | | | | | * gui/calendar-commands.c (calendar_control_activate): removed uih from the argument list, added cal. use cal as user_data in callbacks rather than the control. (calendar_control_deactivate): removed uih from argument list svn path=/trunk/; revision=2311
* forgot to commitSeth Alves2000-04-061-0/+7
| | | | svn path=/trunk/; revision=2307
* removed (setup_appbar): removed (calendar_control_activate): new functionSeth Alves2000-04-063-9/+111
| | | | | | | | | | | * gui/calendar-commands.c (setup_menu): removed (setup_appbar): removed (calendar_control_activate): new function -- does the work that setup_appbar and setup_menu used to do. (calendar_control_deactivate): undoes what calendar_control_activate does by removing the toolbar items and menu items. svn path=/trunk/; revision=2299
* build test-calendar-widget and evolution-calendar, common stuff is in aSeth Alves2000-04-0626-889/+1219
| | | | | | | | | | | | | | | * gui/Makefile.am: build test-calendar-widget and evolution-calendar, common stuff is in a library * gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget based on a gtk_frame rather than a gnome_app * gui/calendar-commands.c: split out some of main.c * gui/evolution-calendar-control.c: bonobo bung so evolution can use the calendar widget svn path=/trunk/; revision=2294
* + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: NewMatthew Loper2000-04-012-0/+5
| | | | | | | | | | | | | | | | + + * tests/.cvsignore: Added test-movemail. + + * art/.cvsignore: New file. + + * pcs/.cvsignore: Added *.lo. + + * .cvsignore: Added evolution.pot. + sparkly clean svn path=/trunk/; revision=2276
* cal_client_get_events_in_range returns a list of CalObjInstance *, not aSeth Alves2000-03-311-3/+4
| | | | | | | | * gui/main.c (calendar_get_events_in_range): cal_client_get_events_in_range returns a list of CalObjInstance *, not a list of (char *) uid. svn path=/trunk/; revision=2255
* readded the gui directorySeth Alves2000-03-303-2/+16
| | | | | | | | | * Makefile.am (SUBDIRS): readded the gui directory * gui/main.c: temporarily added alarm_defaults back in, since the calendar doesn't link without it svn path=/trunk/; revision=2254
* + * Makefile.am: add calendar compilation back in.Matthew Loper2000-03-302-1/+5
| | | | | | | | + + * calendar/Makefile.am: remove the gui directory, which doesn't + compile. svn path=/trunk/; revision=2247
* + * wombat/wombat.gnorba: new file.Matthew Loper2000-03-293-0/+24
| | | | | | | | | | | | | | + + * wombat/.cvsignore: new file. + + * wombat/wombat.c (setup_pcs): fill out this function some. + + * configure.in: added wombat. + + * pcs/Makefile.am: create a libpcs.la library, for use in the + wombat. svn path=/trunk/; revision=2241
* added libeutil.la and libetext.aSeth Alves2000-03-283-16/+68
| | | | | | | | | | | | * gui/Makefile.am (LINK_FLAGS): added libeutil.la and libetext.a * gui/main.c (calendar_iterate): switch from string_to_ical_object to ical_object_find_in_string (calendar_get_events_in_range): same (session_save_state): commented out references to gcal->client->filename svn path=/trunk/; revision=2213
* Use ical_object_to_string().Federico Mena Quintero2000-03-2810-184/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-27 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend.c (cal_backend_get_object): Use ical_object_to_string(). * cal-util/calobj.c (ical_object_to_string): Moved over from pcs/cal-backend.c (was string_from_ical_object). (get_calendar_base_vobject): Likewise, moved over from pcs/cal-backend.c. * cal-util/cal-util.c: Removed string_to_ical_object(); the correct function is in calobj.[ch], called ical_object_find_in_string(). Removed ical_object_to_string, since we now implement it in calobj.c. * cal-util/calobj.c: Removed ical_object_new_from_string(); see above. * idl/evolution-calendar.idl (CalObjInstance): Calendar object instances now contain only the UID for the object, not the whole string representation of the object. This allows clients to implement caching of objects if they wish. * pcs/cal.c (Cal_get_events_in_range): Likewise. * pcs/cal-backend.c (build_event_list): Likewise. * cal-client/cal-client.c (cal_client_get_events_in_range): Likewise. * cal-util/cal-util.h (CalObjInstance): Likewise. * cal-util/cal-util.c (cal_obj_instance_list_free): Likewise. (cal_obj_uid_list_free): Assert that the UIDs in the list are not NULL. * pcs/tlacuache.gnorba (repo_id): The calendar factory also supports the Unknown interface. svn path=/trunk/; revision=2211
* Fix includes. (e_day_view_on_delete_occurance): Do not callFederico Mena Quintero2000-03-234-13/+30
| | | | | | | | | | | | | | | | | 2000-03-17 Federico Mena Quintero <federico@helixcode.com> * gui/e-day-view.c: Fix includes. (e_day_view_on_delete_occurance): Do not call save_default_calendar(). (e_day_view_on_delete_appointment): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_finish_long_event_resize): Likewise. (e_day_view_finish_resize): Likewise. (e_day_view_key_press): Likewise. (e_day_view_on_editing_stopped): Likewise. (e_day_view_on_top_canvas_drag_data_received): Likewise. (e_day_view_on_main_canvas_drag_data_received): Likewise. svn path=/trunk/; revision=2140
* Fix for srcdir != builddir.Elliot Lee2000-03-184-19/+18
| | | | | | | | | * calendar/cal-client/Makefile.am, calendar/cal-util/Makefile.am, calendar/gui/Makefile.am, calendar/pcs/Makefile.am, mail/Makefile.am, widgets/e-text/Makefile.am: Fix for srcdir != builddir. svn path=/trunk/; revision=2119
* New widget for Day/Work-Week views. Unfinished.Damon Chaplin2000-03-149-0/+6749
| | | | svn path=/trunk/; revision=2115
* Removed function now that it is no CORBA server in the GUI.Federico Mena Quintero2000-03-1216-83/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-12 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (gnome_calendar_locate): Removed function now that it is no CORBA server in the GUI. (save_default_calendar): Removed function. Now the personal calendar server will take care of saving modified calendars when appropriate. (close_cmd): Do not call unregister_calendar_services(). * gui/eventedit.c (ee_ok): Do not save the calendar. * gui/gncal-day-panel.c (day_view_range_activated): Likewise. * gui/gncal-todo.c (ok_button): Likewise. (delete_todo): Likewise. * gui/gncal-full-day.c (delete_occurance): Likewise. (delete_appointment): Likewise. (unrecur_appointment): Likewise. (child_focus_out): Likewise. (update_from_drag_info): Likewise. * gui/gnome-cal.c (gnome_calendar_new): Removed obsolete call to create the CORBA server. * gui/gnome-cal.h (GnomeCalendar): Renamed `calc' field to `client'. * cal-client/cal-client.h (CalClient): Removed filename and corba_server fields. svn path=/trunk/; revision=2102
* Do not pass the INIT_SERVER flag to gnome_CORBA_init_with_popt_table().Federico Mena Quintero2000-03-112-22/+51
| | | | | | | | | | | | | | 2000-03-10 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (main): Do not pass the INIT_SERVER flag to gnome_CORBA_init_with_popt_table(). Check for exceptions properly. (main): Initialize Bonobo. (main): Call process_dates() to parse the dates from the command line before we dump the events or the TODOs. (main): Use bonobo_main() instead of gtk_main(). svn path=/trunk/; revision=2097
* Initialize the alarm types here. Do not call default_alarm() anymore,Federico Mena Quintero2000-03-113-45/+15
| | | | | | | | | | | | | | 2000-03-10 Federico Mena Quintero <federico@helixcode.com> * cal-util/calobj.c (ical_new): Initialize the alarm types here. Do not call default_alarm() anymore, since that is a GUI issue. (default_alarm): Removed function. (alarm_defaults): Removed defaults data. * pcs/tlacuache.c (calendar_notify): Removed stubs for alarm_defaults, calendar_notify(), debug_alarms. svn path=/trunk/; revision=2095
* Removed the corba-cal stuff. Commented out the Pilot conduit stuff forFederico Mena Quintero2000-03-102-109/+78
| | | | | | | | | 2000-03-09 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am: Removed the corba-cal stuff. Commented out the Pilot conduit stuff for now. svn path=/trunk/; revision=2093
* Random #ifdefs to make it build, although this file is going away.Federico Mena Quintero2000-03-107-67/+41
| | | | | | | | | | | | | | | 2000-03-09 Federico Mena Quintero <federico@helixcode.com> * gui/calendar.c: Random #ifdefs to make it build, although this file is going away. * gui/Makefile.am: Removed referenes to calobj.[ch] and timeutil.[ch]. * gui/calendar-conduit.c: Fixup includes. * gui/calendar-conduit.h: Fixup includes. svn path=/trunk/; revision=2092
* replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendarSeth Alves2000-03-0929-128/+478
| | | | | | | | | | | | | | | * gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar struct. * gui/*.c: tracked change from Calendar * to CalClient * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c (calendar_get_events_in_range): pulled this out of calendar.c and fixed it up to use cal-client stuff. i'm not sure where to put it yet. * gui/main.c (calendar_iterate): pulled this one out of calendar.c also svn path=/trunk/; revision=2090
* track movement of calobj.[ch]Seth Alves2000-03-089-15/+10
| | | | svn path=/trunk/; revision=2086
* ignore *.lo instead of a list of .lo filesSeth Alves2000-03-081-2/+1
| | | | svn path=/trunk/; revision=2085
* calobj.[ch] has moved into cal-util/Seth Alves2000-03-081-2/+0
| | | | svn path=/trunk/; revision=2084
* back out recent commit, and remove calendar.[ch] from Makefile.amSeth Alves2000-03-087-112/+62
| | | | svn path=/trunk/; revision=2083
* back out recent commitSeth Alves2000-03-082-97/+0
| | | | svn path=/trunk/; revision=2082
* calobj.[ch] live in cal-util nowSeth Alves2000-03-081-0/+2
| | | | svn path=/trunk/; revision=2081
* More file moving - FedericoFederico Mena Quintero2000-03-084-1873/+5
| | | | svn path=/trunk/; revision=2080
* track moveSeth Alves2000-03-062-14/+18
| | | | svn path=/trunk/; revision=2065
* move all but the subdir line into gui/Makefile.am, since the codeSeth Alves2000-03-061-236/+1
| | | | | | has moved down there svn path=/trunk/; revision=2064
* stubs for client side access to alarm structures. this will probablySeth Alves2000-03-0617-79/+269
| | | | | | | | | | | | | | | | | * cal-client/cal-client-alarm.c: stubs for client side access to alarm structures. this will probably change, since i don't know what i'm doing. * cal-util/alarm-enums.h: enums for alarms needed by both the client and the server * remaining source files in calendar/... have been moved to calendar/gui. * gui/alarm.c: start to decouple the view from the model in the alarm editing code svn path=/trunk/; revision=2062