| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
some LDADDs in the process
svn path=/trunk/; revision=19994
|
|
|
|
| |
svn path=/trunk/; revision=19968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-client/Makefile.am (client_test_LDADD): Remove libversit. We
haven't depended on that in forever.
* cal-util/Makefile.am (test_recur_LDADD): Likewise
* gui/alarm-notify/Makefile.am: build libalarm as a shared library
instead of static.
* gui/dialogs/Makefile.am: likewise for libcal-dialogs
* gui/Makefile.am (libevolution_calendar_la_LIBADD): update for
that.
svn path=/trunk/; revision=19965
|
|
|
|
|
|
|
| |
* cal-util/Makefile.am (INCLUDES): Remove cruft.
(libcal_utilincludedir): Define in terms of privincludedir
svn path=/trunk/; revision=19790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-util/cal-recur.c (cal_recur_nth): array of localized month
day names ("1st" - "31st")
* gui/dialogs/recurrence-page.c (make_recur_month_num_submenu,
make_recur_month_num_menu, month_num_menu_selection_done_cb): Use
the new cal_recur_nth[] array. The way this was done before didn't
localize properly.
* gui/alarm-notify/notify-main.c (main):
s/glade_gnome_init/glade_init/
From evolution-1-2-branch:
* gui/e-itip-control.c (write_recurrence_piece): Describe
recurrences, if we can. #30993
(set_date_label): If the meeting has recurrences, call
write_recurrence_piece after writing the start and end dates.
(write_label_piece): Wrap the timezone in <font size=-1> to
de-emphasize it a bit and try to keep the timestamp on a single
line even with big Outlook timezone names. Add an option to show
just the date, for describing the end of recurrences (since the
time in the UNTIL is the *beginning* of the last instance, which
would confuse people).
(update_item): Set the VCALENDAR's METHOD.
(ok_clicked_cb): Use update_item, not remove_item, to process a
cancelation. Part of #33875.
* pcs/cal-backend-file.c (cal_backend_file_cancel_object): New,
handle an ICAL_METHOD_CANCEL update.
(cal_backend_file_update_objects): Call
cal_backend_file_update_object or cal_backend_file_cancel_object
as appropriate.
svn path=/trunk/; revision=19763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.
* gui/e-tasks.c (e_tasks_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.
* cal-util/Makefile.am: Install libcal-util.la in $(privlibdir)
instead of $(libdir).
* gui/dialogs/comp-editor.c (setup_widgets): Get
evolution-comp-editor.xml from EVOLUTION_UIDIR.
(comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR.
* gui/tasks-control.c (tasks_control_activate): Get
evolution-tasks.xml from EVOLUTION_UI_DIRECTORY.
* gui/calendar-commands.c (calendar_control_activate): Get
evolution-calendar.xml from EVOLUTION_UI_DIRECTORY.
* pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION).
* importers/Makefile.am: Install evolution-calendar-importer in
$(libexecdir)/evolution/$(BASE_VERSION).
(sounddir): Remove.
* gui/dialogs/Makefile.am (iconsdir): Version using
$(BASE_VERSION).
(gladedir): Likewise.
(etspecdir): Likewise.
* gui/Makefile.am (help_base): Remove.
(install-data-local): Do not make the $(help_base)/C directory.
(etspecdir): Version using $(BASE_VERSION).
(gladedir): Likewise.
(iconsdir): Likewise.
(INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned,
and add a -DEVOLUTION_GALVIEWSDIR.
* cal-util/Makefile.am: Install evolution-alarm-notify in
$(libexecdir)/evolution/$(BASE_VERSION).
* cal-util/Makefile.am (libcal_utilincludedir): Version using
$(BASE_VERSION).
* gui/alarm-notify/Makefile.am (iconsdir): Likewise.
(gladedir): Likewise.
* cal-client/Makefile.am: Install libcal-client.la in privlibdir
instead of libdir.
(libcal_clientincludedir): Version using $(BASE_VERSION).
svn path=/trunk/; revision=19553
|
|
|
|
|
|
|
|
| |
* cal-util/Makefile.am (EXTRA_DIST): cal-util-marshal.list.
* Makefile.am: Comment out the CONDUIT_DIR stuff for now.
svn path=/trunk/; revision=19452
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-util/cal-component.c (cal_component_set_recurid): Allow
recur_id to be NULL to clear the recurrence id. (Based on a story
by JP on evolution-1-2-recurid-branch)
* gui/print.c: Remove unused gnome-print-copies.h #include
* pcs/query.c (query_new): Use g_object_weak_ref rather than
connecting to "destroy" (which doesn't actually exist on a
CalBackend)
(backend_destroyed_cb): Update prototype.
svn path=/trunk/; revision=19365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-04 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util-marshal.list: added new marshallers.
* cal-client/cal-client.c (get_objects_atomically): fixed calls to
g_signal_handler_disconnect_by_func.
(cal_client_class_init): fixed typos.
* cal-client/cal-client-multi.[ch]:
* cal-client/cal-client-types.c:
* cal-client/cal-query.[ch]: ported to GObject.
* cal-client/cal-listener.[ch]: converted to BonoboObject.
* cal-client/Makefile.am:
* pcs/Makefile.am: fixed flags for orbit-idl
svn path=/trunk/; revision=18547
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-04 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/Makefile.am:
* cal-util/cal-util-marshal.list: added marshallers.
* cal-client/cal-client.[ch]: ported to GObject.
svn path=/trunk/; revision=18532
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-04 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-component.[ch]: ported to GObject.
* cal-util/cal-util.c (cal_util_generate_alarms_for_comp): use
g_object_* instead of gtk_object_*.
svn path=/trunk/; revision=18525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-31 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-component.[ch]:
* cal-util/cal-recur.h:
* cal-util/cal-util.[ch]:
* cal-client/cal-client.h:
* cal-client/cal-client-multi.h:
* cal-client/cal-client-types.[ch]:
* cal-client/cal-listener.h
* cal-client/cal-query.[ch]:
* cal-client/query-listener.h:
* pcs/cal.h:
* pcs/cal-backend.[ch]:
* pcs/cal-backend-file.h:
* pcs/cal-backend-util.h:
* pcs/cal-common.h:
* pcs/cal-factory.h:
* pcs/query.[ch]:
* pcs/query-backend.[ch]: started GNOME 2 porting.
cal-util, cal-client and pcs compiled ok.
* cal-client/cal-client.c (cal_client_construct):
* pcs/cal-factory.c: use b-a instead of OAF and bonobo-config
instead of bonobo-conf.
svn path=/trunk/; revision=18496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-17 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (fill_ending_date): if the value
is a datetime, convert it to a date
* gui/itip-utils.c (comp_compliant): convert an UNTIL date value
to a datetime value
* cal-util/cal-component.c (cal_component_has_simple_recurrence):
check to see if the component recurrences meet our definition of
"simple"
* cal-util/cal-component.h: new proto
svn path=/trunk/; revision=18389
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/e-itip-control.c: Remove a bunch of old #if 0 code.
(update_item): Set X-MICROSOFT-CDO-REPLYTIME here.
* gui/itip-utils.c (comp_toplevel_with_zones): Don't set it here.
* cal-util/cal-component.c (ensure_mandatory_properties): Use
icaltime_current_time_with_zone rather than rolling our own.
(cal_component_strip_errors): Remove unused variable.
svn path=/trunk/; revision=17770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-08 Rodrigo Moya <rodrigo@ximian.com>
Fixes #15710
* cal-util/cal-component.[ch] (cal_component_alarm_get_icalcomponent):
new function for getting the icalcomponent from a CalComponentAlarm.
* gui/comp-util.c (cal_comp_event_new_with_defaults): added
X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder alarm,
so that we can identify it when saving the component.
* gui/dialogs/alarm-page.c (alarm_page_fill_component): if the alarm
has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the description to
be the same as of the component.
svn path=/trunk/; revision=17744
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-26 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.[ch] (cal_util_add_timezones_from_component):
new function for adding VTIMEZONE components to a VCALENDAR
component.
* gui/e-calendar-table.c (copy_row_cb): added VTIMEZONE components
to resulting VCALENDAR top-level component.
* gui/e-week-view.c (e_week_view_copy_clipboard): copy to the
clipboard a top-level VCALENDAR component, with all the needed
VTIMEZONE components.
(e_week_view_on_copy): likewise.
* gui/e-day-view.c (e_day_view_copy_clipboard): likewise.
(e_day_view_on_copy): likewise.
svn path=/trunk/; revision=17604
|
|
|
|
|
|
|
|
|
|
| |
2002-07-24 <jpr@ximian.com>
* cal-util/timeutil.c (time_day_of_year): add a day for the leap
year only if we are currently counting Feb., not if the month
passed in is Feb. Fixes #23446.
svn path=/trunk/; revision=17571
|
|
|
|
|
|
|
| |
* cal-util/timeutil.c: Replace a bunch of old gnomecal functions
with the functionally identical ones from Connector.
svn path=/trunk/; revision=17548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-09 Peter Williams <peterw@ximian.com>
* libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so
that people compiling against the addressbook can do so successfully.
* Makefile.am: create our *Conf.sh files and dist them and install
them.
* configure.in: Define and subst some variables that the Conf.sh
file need.
2002-07-08 Peter Williams <peterw@ximian.com>
* backend/ebook/Makefile.am: Install libebook-static.la.
Also change --all-static to -all-static, which is the right flag.
* backend/pas/Makefile.am: Install the PAS headers in
$(includedir)/evolution/pas. Install libpas.a
2002-07-08 Peter Williams <peterw@ximian.com>
* cal-util/Makefile.am: Install libcal-util-static.la
and fix the -all-static flag to make it install statically.
* pcs/Makefile.am: Install libpcs.a and its headers.
* pcs/cal-backend-util.h: Same sort of include namespacing fix,
but for pcs.
* pcs/cal.h:
* pcs/query.h:
* pcs/cal-factory.h:
* pcs/cal-backend.h:
* pcs/cal-backend-file.h: Same.
2002-07-17 Peter Williams <peterw@ximian.com>
* calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're
using libtool as our LD, we can reference .la's and libtool
will DTRT for us.
* calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here.
2002-07-03 Peter Williams <peterw@ximian.com>
* Makefile.am: Install libeutil, libeconduit, and libedb3util and
their headers.
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am: Reference the new libefilterbar.a.
2002-07-12 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical
for the generated ical.h (some headers rely on this because
they too get installed.)
2002-07-09 Peter Williams <peterw@ximian.com>
* e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical;
some headers that we rely on get installed, so they point to the ical.h that
gets generated and installed; consequently we need to be able to find the
generated ical.h
* misc/Makefile.am: Install libemiscwidgets.a and its headers. However,
break EFilterBar into a separate libefilterbar.a because we don't want
the installed library to depend on libfilter.
svn path=/trunk/; revision=17496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-25 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor-page.h: add back proto
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_needs_send): add page needs_send signal
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_on_invite_others_button_draw): check to
see if the button should be sensitive when drawing
(e_meeting_time_selector_construct): listen for the button draw
signal
* cal-util/cal-component.c (cal_component_strip_errors): remove
X-LIC-ERROR x properties
* cal-util/cal-component.h: new proto
* gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send
to true
(meeting_page_fill_widgets): set up gui based on if the user or
someone else is the organizer
(meeting_page_construct): read the addresses here for the combo
box
(get_widgets): explicitly set the value in list values
* gui/dialogs/event-editor.c (set_menu_sens): base this on the
exist org and user org values of the comp editor
(event_editor_edit_comp): set up editable row restrictions on the
meeting model if the user is not an organizer, and don't set needs
send if we aren't the organizer initially
(model_row_changed_cb): set needs_send to true
(row_count_changed_cb): ditto
* gui/dialogs/meeting-page.glade: update gui
* gui/dialogs/comp-editor.c (save_comp_with_send): if the user is
not the organizer, REPLY rather than REQUEST
(comp_editor_set_existing_org): accessor
(comp_editor_get_existing_org): ditto
(comp_editor_set_user_org): ditto
(comp_editor_get_user_org): ditto
(real_edit_comp): determine if there is an existing organizer and
if the organizers is a user
(page_changed_cb): warn the user that changes may be discarded
(page_summary_changed_cb): ditto
(page_dates_changed_cb): ditto
* gui/dialogs/comp-editor.h: new protos
* gui/itip-utils.c (itip_organizer_is_user): determine if the
organizer of a component is a user
(itip_sentby_is_user): same for sentby field of organizer
(comp_sentby): use above routines instead
(comp_compliant): strip all X-LIC-ERROR fields generated by
libical
* gui/e-meeting-model.c (is_cell_editable): if there is a list of
editable rows, allow only the status column of those rows to be
edited
(init): init edit_rows
(e_meeting_model_restricted_add): add an editable row to the model
(e_meeting_model_restricted_remove): remove an editable row
(e_meeting_model_restricted_clear): clear all editable rows
(e_meeting_model_etable_click_to_add): set the click to add arg on
all tables
(e_meeting_model_etable_from_model): track the tables
(table_destroy_list_cb): remove the table being destroyed from the
list
(table_destroy_state_cb): remove the table being destroyed from
the list
* gui/e-meeting-model.h: new protos
* gui/e-itip-control.c (update_attendee_status): kill warning
svn path=/trunk/; revision=17274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-14 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.h: make the range datetime member a
struct not a pointer
* cal-util/cal-component.c (cal_component_get_recurid): take a
pointer to a range
(cal_component_set_recurid): ditto
* gui/itip-utils.c (comp_minimal): get/set the recurrence id
properly
svn path=/trunk/; revision=16785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-07 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (start_calendar_server): start a server a
uri
(start_default_server): start a default server
(get_servers): get all clients for all folders of the given
type(s)
(find_server): locate a server for a particular uid
(init): get_servers, listen for object_requested signal
(destroy): destroy all clients
(write_html): put options is there own cell
(get_publish_options): place selector in if param is true
(get_request_options): ditto
(get_real_item): only try and look up the item if we know its in
the server
(show_current_event): find the server (if any) for the current
comp
(show_current_todo): ditto
(update_attendee_status): if there is no server for the comp, it
doesn't exist
(remove_item): ditto
(button_selected_cb): get a client for the selected folder
(object_requested_cb): draw the folder button in
* gui/calendar-config.h: new protos
* gui/calendar-config.c (calendar_config_default_tasks_folder):
get default tasks uri
(calendar_config_default_calendar_folder): get default calendar
uri
* cal-client/cal-client.c (get_default_uri): use
cal_util_expand_uri
* cal-util/cal-util.h: new proto
* cal-util/cal-util.c (cal_util_expand_uri): tack on the file name
if its a file uri
svn path=/trunk/; revision=16709
|
|
|
|
| |
svn path=/trunk/; revision=16211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-07 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c: pass meeting boolean for
gnome_calendar_edit_object and gnome_calendar_new_appointment_for
* gui/e-week-view-event-item.c: ditto
* gui/e-week-view.c: ditto
* gui/tasks-control.c (confirm_expunge): kill warning
* gui/calendar-commands.c (new_meeting_cb): show a new meeting
dialog
(new_event_cb): pass new param
* gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
boolean and show meeting page if true
(gnome_calendar_new_appointment_for): takeing meeting param and
pass to above
(gnome_calendar_new_appointment): add new param
* gui/gnome-cal.h: update proto
* gui/component-factory.c (create_component): take a comp editor
mode, determine vtype
(sc_user_create_new_item_cb): check for meeting user creatable
item
(create_object): add meeting as user creatable item
* gui/comp-editor-factory.c (edit_new): get a comp editor mode
now, determine vtype and show meeting page if required
(queue_edit_new): get comp editor mode
(impl_editNew): ditto, plus queue the mode directly instead of
determining the vtype
* gui/dialogs/event-editor.c (show_meeting): new internal util
function to show meeting page
(event_editor_show_meeting): show the meeting
(schedule_meeting_cmd): use show_meeting
* gui/dialogs/event-editor.h: new proto
* idl/evolution-calendar.idl: editNew takes a mode rather than a
type now
* cal-util/Makefile.am: fix includes
svn path=/trunk/; revision=15595
|
|
|
|
|
|
|
|
|
| |
2002-02-06 Damon Chaplin <damon@ximian.com>
* cal-util/cal-recur.c (cal_recur_from_icalproperty): convert months
from 1-12 to 0-11. Fixes bug #19235.
svn path=/trunk/; revision=15584
|
|
|
|
|
|
| |
times, causing big libtool 1.4 pain.
svn path=/trunk/; revision=15461
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-17 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (send_item): use get_real_item
(get_refresh_options): uncomment out
(get_real_item): obtain the real object which has the uid of the
item received
(show_current_todo): use get_refresh_options for refresh method
and provide the description and summary from the real component
since its not in the reply
(show_current_event): ditto
(send_item): use get_real_item
2001-12-17 JP Rosevear <jpr@ximian.com>
* gui/itip-utils.c (comp_limit_attendees): can't remove properties
in an iteration loop, so remove them outside the loop
(comp_minimal): don't set a recurid if there isn't one, add the x
properties to the clone
(comp_compliant): unref the clone for DECLINECOUNTER
* gui/e-itip-control.c (get_refresh_options): make function
available again
(show_current_event): use it here
(ok_clicked_cb): can't remove properties in an iteration loop, so
remove them outside the loop
* cal-util/cal-component.c (free_icalcomponent): properly free the
attendee list
(cal_component_rescan): don't destroy the alarm hash
svn path=/trunk/; revision=15136
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-08 JP Rosevear <jpr@ximian.com>
* conduits/calendar/calendar-conduit.c (local_record_from_comp):
if we have an alarm that can be represented on the pilot, set the
appointment fields appropriately, if the duration has values for
minutes and/or hours and/or days, use the lowest common
denominator
(comp_from_remote_record): if the appointment on the pilot has an
alarm, find the first alarm an item currently had that is relative
to the start and with a negative duration and update it (or create
a new one if no valid ones exist)
* cal-util/cal-component.c (cal_component_get_alarm_uids): build
list in the order they appear in the component so we get
consisting order for the gui and for the pilot
svn path=/trunk/; revision=14943
|
|
|
|
|
|
|
|
|
|
| |
2001-11-14 Damon Chaplin <damon@ximian.com>
* gui/calendar-model.c:
* cal-util/cal-component.h: #ifdef'ed out the LOCATION field for now,
since it wasn't supported everywhere, or in the .etspec file.
svn path=/trunk/; revision=14709
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-02 Federico Mena Quintero <federico@ximian.com>
* cal-util/cal-util.c (compute_alarm_range): Short-circuit the
calculation of the repeat time if there are zero repetitions.
(compute_alarm_range): I'm a moron. De-reference alarm_start when
subtracting stuff from it! Fixes bug #14209.
svn path=/trunk/; revision=14572
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Damon Chaplin <damon@ximian.com>
* gui/dialogs/schedule-page.c:
* gui/dialogs/event-page.c:
* gui/dialogs/comp-editor-util.c: updated code to handle DATE values.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for):
* gui/e-day-view.c (e_day_view_key_press): updated DATE code.
* gui/e-cell-date-edit-text.c:
* gui/calendar-model.c: updated to support DATE values.
* cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): updated
to use DATE values in same way as Outlook - i.e. the DTEND date is
not included entirely. Though I did make it so that if the DTSTART
and DTEND used the same DATE value, it includes the entire day.
So 1-day events should be the same. Long All-Day events will be
1 day shorter.
* cal-util/cal-component.c (cal_component_get_start_plus_duration):
don't subtract a day from the end date.
* gui/tasks-control.c: updated the EPixmap paths for Cut/Copy etc.
Removed Print & Print Preview paths, since we don't have menu commands
for these any more.
svn path=/trunk/; revision=14456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/delete-comp.c (delete_component_dialog): Use an
EMessageBox instead of a gnome_dialog_question so that the label
gets line breaking. Fixes bug #11260.
2001-10-29 Federico Mena Quintero <federico@ximian.com>
Fix bug #13649.
* gui/calendar-config.c
(calendar_config_get_use_default_reminder): New function.
(calendar_config_set_use_default_reminder): New function.
(calendar_config_get_default_reminder_interval): New function.
(calendar_config_set_default_reminder_interval): New function.
(calendar_config_get_default_reminder_units): New function.
(calendar_config_set_default_reminder_units): New function.
(config_read): Get the options for default reminders.
(calendar_config_write): Set the options for default reminders.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
Set the default reminder widgets from the config values.
(cal_prefs_dialog_update_config): Set the config values from the
widgets.
* gui/comp-util.c (cal_comp_event_new_with_defaults): New
function; creates a VEVENT component with the default alarm.
* gui/e-day-view.c (e_day_view_key_press): Use
cal_comp_event_new_with_defaults ();
* gui/e-week-view.c (e_week_view_key_press): Likewise.
* gui/calendar-model.c (calendar_model_append_row): Likewise.
* gui/comp-editor-factory.c (get_default_component): Likewise.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for): Likewise.
* cal-util/cal-component.c (ensure_alarm_properties_cb): Ensure we
have a DESCRIPTION property.
(cal_component_commit_sequence): Ensure we have the mandatory
alarm properties.
svn path=/trunk/; revision=14446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Damon Chaplin <damon@ximian.com>
* importers/Makefile.am (evolution_calendar_importer_LDADD):
* gui/Makefile.am (evolution_calendar_LDADD):
* cal-util/Makefile.am (test_recur_LDADD):
* cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la
* gui/dialogs/schedule-page.c: save the timezone passed in for the
start time, so if our times are changed we use this. Also, if the
end time was passed in in a different timezone, convert it.
Also hide the time fields for DATE values. Note that DATE values still
do not work.
* gui/dialogs/meeting-page.glade: changed "Invite Others" to
"Invite Others..." to be consistent with the other page.
* gui/dialogs/event-page.c (times_updated):
(all_day_event_toggled_cb): set is_date if appropriate.
* gui/e-itip-control.c (write_label_piece): convert all UTC times to
the current timezone. Outlook sends simple, non-recurring, events as
UTC times, which isn't very useful.
svn path=/trunk/; revision=14397
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Federico Mena Quintero <federico@ximian.com>
Fix bug #12163.
* cal-util/cal-util.c (compute_alarm_range): Take alarm
repetitions into account.
(add_alarm_occurrences_cb): Add alarm repetitions.
(generate_absolute_triggers): Likewise.
(generate_absolute_triggers): Oops, absolute triggers are in UTC,
so convert them as such. Also, pay attention to the timezones of
the dtstart and dtend properties.
svn path=/trunk/; revision=14369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Damon Chaplin <damon@ximian.com>
* gui/print.c (print_week_view):
(range_selector_new): when the week start day is set to Sunday, we
have to be careful to make sure we print the correct week, since
the previous Saturday is actually printed first. Fixes bug #13687.
(print_week_summary): always set compress_weekend to true if
multi_week_view is FALSE (i.e. we are printing the week view).
Fixes bug #13688.
* gui/e-itip-control.c (send_freebusy): use the timezones from the
DTSTART and DTEND.
(write_label_piece): output the date-time and the timezone after it.
Note that we may want to convert it to the current timezone and display
that as well. Also converted COMPLETED to the current timezone.
And fixed all uses of old timezone functions.
* gui/dialogs/comp-editor.c (commit_all_fields): added function to
set the focus in the window to NULL, so all fields lose their focus,
so they emit "changed" signals and update their values if needed.
We call this when most menu commands are used, e.g. 'Save and Close',
'Print' etc. Fixes bug #11434. In future we should also check fields
are valid and show dialogs if they are not.
* gui/calendar-model.c (get_completed): use the completed value
properly. Fixes bug #13694.
* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): don't check
from_zone and to_zone != NULL. A NULL zone is valid, it is for
floating times.
svn path=/trunk/; revision=14266
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Damon Chaplin <damon@ximian.com>
* gui/e-itip-control.c (write_label_piece): convert the formatted
date to UTF-8.
* cal-util/cal-recur.c (CAL_OBJ_DEBUG): turn off debug functions.
* gui/dialogs/comp-editor-util.c (parse_contact_string): handle UTF8
correctly. Bug #4450. Good enough for 1.0.
* gui/e-week-view-event-item.c (e_week_view_draw_time): set the gc
color before drawing. Should fix bug #11469.
* gui/dialogs/task-editor.c (task_editor_edit_comp): show or hide the
meeting page as appropriate. Note this may be called more than once,
if the task gets updated somewhere else and the user clicks 'Update
the object'. Hopefully fixes bug #12930.
* gui/print.c (print_comp_item): printed more fields and made a little
prettier. Fixes bug #9352.
(print_date_label): used the correct timezones for each date field.
* *.c: removed several debug messages.
svn path=/trunk/; revision=14187
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Damon Chaplin <damon@ximian.com>
* cal-util/cal-recur.c (cal_obj_bysetpos_filter): subtract 1 from
any positive BYSETPOS value, since our array is 0-based.
* gui/dialogs/recurrence-page.c (simple_recur_to_comp):
(recurrence_page_fill_widgets): Outlook (2000) will not accept monthly
recurrences like BYDAY=2TU. Instead it uses BYDAY=TU;BYSETPOS=2.
So to be compatable with it we now do the same, although we still
accept and convert the old format.
* cal-client/cal-client.c (cal_client_get_component_as_string): new
function to return a complete VCALENDAR string containing a VEVENT
or VTODO with all the VTIMEZONEs it uses.
* gui/dialogs/comp-editor.c (save_as_ok): use above function so we
save the VTIMEZONE data with the VEVENT/VTODO. Fixes bug #????.
Also made sure we output "METHOD:PUBLISH" since Outlook (2000) will
not import it otherwise.
* gui/dialogs/comp-editor.c (page_mapped_cb):
(page_unmapped_cb): install/uninstall the GtkAccelGroup for the page.
(comp_editor_append_page): connect to the map/unmap signals to
install/uninstall the accelerators. (This is all for bug #11609,
though of course it doesn't work too well in GTK+ 1.2 anyway.)
* gui/dialogs/task-page.c (get_widgets):
* gui/dialogs/task-details-page.c (get_widgets):
* gui/dialogs/schedule-page.c (get_widgets):
* gui/dialogs/recurrence-page.c (get_widgets):
* gui/dialogs/meeting-page.c (get_widgets):
* gui/dialogs/event-page.c (get_widgets):
* gui/dialogs/alarm-page.c (get_widgets): got the GtkAccelGroup from
the original window, ref'ed it and placed it in the CompEditorPage
struct.
* gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref
any GtkAccelGroup for the page.
* gui/dialogs/task-page.glade: changed '_Confidential' to
'Con_fidential' as it clashed with '_Contacts'. It now matches the
event editor as well.
* gui/dialogs/event-page.glade:
* gui/dialogs/task-page.glade: Set CAN_FOCUS to TRUE for the custom
EDateEdit widgets, and set them as the accel targets of the labels.
svn path=/trunk/; revision=14108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Damon Chaplin <damon@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_update_objects): when
iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'.
That meant it wasn't working at all well when an entire VCALENDAR
was passed in.
* cal-util/cal-component.c: handle DURATION property used instead of
DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART
+ DURATION if necessary. In set_dtend/due we remove any DURATION
property. Fixes bug #11262.
* gui/e-meeting-model.c (build_etable):
* gui/e-calendar-table.c (e_calendar_table_init): use U_ for the
ECellCombo popdown strings, as it expects UTF-8 strings.
svn path=/trunk/; revision=13992
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Federico Mena Quintero <federico@ximian.com>
Fixes bug #5282.
* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function
to avoid copying the same code all over the place.
(icaltimetype_to_tm): Also set the tm.tm_wday.
* gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use
time_day_end_with_zone().
(load_alarms_for_today): Likewise. And oops, we were only
computing the times and not loading the alarms.
(obj_updated_cb): Likewise.
(load_alarms): Removed assertion that is no longer valid because
we may load the alarms for a client in two stages.
* gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute
trigger times to the local timezone.
* gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
Convert the times to the local timezone.
(alarm_notify_dialog): Likewise, for the window title.
(alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP.
* gui/e-cell-date-edit-text.c (ecd_get_text): Use
icaltimetype_to_tm_with_zone().
* gui/alarm-notify/save.c (get_config_db): Made public.
(discard_config_db): Made public.
* gui/alarm-notify/config-data.[ch]: New files with functions to
fetch the calendar configuration data used by the alarm daemon.
svn path=/trunk/; revision=13986
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Damon Chaplin <damon@ximian.com>
* cal-util/cal-component.c (cal_component_event_dates_match): make sure
we free all the CalComponentDateTime's when we are finished.
* gui/gnome-cal.c (gnome_calendar_notify_dates_shown_changed): just
return if no time range is set.
svn path=/trunk/; revision=13957
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 JP Rosevear <jpr@ximian.com>
* cal-util/timeutil.c (icaltimetype_to_tm): convert an
icaltimetype to a tm
(tm_to_icaltimetype): vice versa
* cal-util/timeutil.h: new protos
* conduits/calendar/calendar-conduit.c: replace all mktime and
localtime calls (except for debugging calls)
* conduits/todo/todo-conduit.c: ditto
(comp_from_remote_record): make sure the completed time is in UTC
svn path=/trunk/; revision=13946
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Damon Chaplin <damon@ximian.com>
* idl/evolution-calendar.idl: added setDefaultTimezone() method.
* pcs/cal-backend.c (cal_backend_get_default_timezone):
(cal_backend_set_default_timezone): new functions to call class
methods.
* pcs/cal-backend-file.c: lots of changes to handle the default
timezone and use it.
* pcs/query.c: use the default timezone.
* gui/dialogs/task-details-page.c (date_changed_cb): initialized
completed_tt.
* gui/dialogs/event-page.c: changed it to handle DATE values. The
'All Day Event' checkbox is only set now when the DTSTART and DTEND
are DATE values.
* gui/dialogs/comp-editor-util.c (comp_editor_free_dates): free the
CalComponentDateTime structs as well.
* gui/e-tasks.c: set the default timezone on the server.
* gui/tag-calendar.c:
* gui/gnome-cal.c:
* gui/e-week-view.c:
* gui/e-day-view.c: updates to handle DATE values.
* gui/e-calendar-table.c (date_compare_cb): updated to use the new
ECellDateEditValue values, so it now works.
(percent_compare_cb): updated to use GPOINTER_TO_INT values.
(e_calendar_table_init): use an ECellPercent for the percent field
and an ECellDateEditText for the date fields.
* gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE
if the DTSTART or DTEND is a DATE value. We don't want to show the
timezone icons for DATE values.
* gui/comp-editor-factory.c (resolve_pending_requests): set the default
timezone on the server.
* gui/calendar-model.c: major changes to support sorting properly.
For date and percent fields we now use subclasses of ECellText, so
we don't use a char* as the model value. For the percent field we now
use a GINT_TO_POINTER. For the date fields we now use a
ECellDateEditValue* as the value.
* gui/calendar-config.c (calendar_config_configure_e_cell_date_edit):
set the timezone and use_24_hour flags of the new ECellDateEditText.
* conduits/todo/todo-conduit.c (pre_sync):
* conduits/calendar/calendar-conduit.c (pre_sync): set the default
timezone on the server.
* cal-util/timeutil.c (time_days_in_month): removed debug message.
* cal-util/test-recur.c: try to handle timezones in the iCalendar
file properly, and updated to pass default timezone.
* cal-util/cal-util.c (cal_util_generate_alarms_for_comp):
(cal_util_generate_alarms_for_list): added default timezone argument.
* cal-util/cal-recur.c: changed many of the functions to take a default
timezone, to use to resolve DATE and floating DATE-TIME values.
* cal-client/cal-client.c (cal_client_set_default_timezone): new
function to set the default timezone.
(cal_client_ensure_timezone_on_server): new function to ensure that
a given timezone is on the server.
* gui/e-cell-date-edit-text.c: new subclass of ECellText to display
and edit a date value.
* cal-util/cal-recur.c (cal_obj_byday_expand_monthly): changed week_num
to -week_num when calculating the weeks to go back from the end of the
month for things like BYDAY=-2WE. Fixes bug #11525.
(cal_recur_generate_instances_of_rule): only go up to MAX_YEAR (2037).
We can't really handle anything past that anyway.
(cal_recur_ensure_rule_end_date): initialize cb_date.end_date to 0,
so if the RULE doesn't generate COUNT instances we save 0 as the
time_t.
svn path=/trunk/; revision=13920
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-component.[ch] (cal_component_get_location):
(cal_component_set_location): new functions
svn path=/trunk/; revision=13758
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 JP Rosevear <jpr@ximian.com>
* pcs/cal-factory.c (add_uri): fix logic checks
* gui/dialogs/event-editor.c (event_editor_init): init the
exisiting_org boolean
(set_menu_sens): base sensitivity on existing_org boolean
(event_editor_edit_comp): set exisiting_org boolean
* gui/dialogs/task-editor.c: same as above
* gui/calendar-offline-handler.c (add_connection): handle the
protocol or host being unknown
* cal-util/cal-component.c (cal_component_has_organizer):
implement
svn path=/trunk/; revision=13552
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 JP Rosevear <jpr@ximian.com>
* gui/itip-utils.c (get_address): util function to get address
(itip_addresses_get_default): get only the default address
(itip_address_free): free single address
(itip_addresses_free): use above
(comp_limit_attendees): limit the number of attendees to one, the
user
(comp_sentby): set the sentby parameter if the user is not the
organizer
(comp_minimal): remove extraneous info for send (for refresh and
declinecounter)
(comp_compliant): remove all alarms, do various things to make the
components comply with itip spec based on method
(itip_send_comp): use comp_compliant method
* gui/itip-utils.h: new protos
* gui/e-itip-control.c: rescan the component when necessary
(get_next): don't get stuck in infinite loop if there are no
viewable components
(e_itip_control_set_data): if there are no viewable components,
spit an error message
* gui/dialogs/meeting-page.h: tidy
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): use
organizer's cn if possible
(other_clicked_cb): no longer doing the sent by stuff directly,
hide more widgets
* pcs/query.c: use bonobo exception stuff
* cal-util/cal-component.c (cal_component_rescan): have the comp
rescan its libical component (for when you change things directly)
(free_icalcomponent): take a param on whether to free the
component or just clean up the mappings
(cal_component_has_attendees): util function
* cal-util/cal-component.h: new protos
svn path=/trunk/; revision=13525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-03 Damon Chaplin <damon@ximian.com>
* gui/comp-util.c (cal_comp_util_add_exdate): save the EXDATE as a
DATE-TIME value, since we know the exact time. Fixes bug #11278.
(Before we were setting is_date, but icaltime_from_timet_with_zone()
didn't convert it properly. We need to figure out how to handle DATEs
when using time_t's.)
* gui/dialogs/recurrence-page.c (get_exception_string): use
e_time_format_date_and_time() so we show the time as well, if the
exception is a DATE-TIME value.
* cal-util/timeutil.c: removed time_add_month(), time_year_begin(),
time_month_begin() & time_week_begin() - old pre-timezone functions
which we no longer use.
* cal-util/cal-recur.c (cal_recur_from_icalproperty): set
ir.until.is_date to FALSE before converting to a time_t.
Hopefully fixes bug #5034.
svn path=/trunk/; revision=13366
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Damon Chaplin <damon@ximian.com>
* gui/e-calendar-table.c (date_compare_cb):
(percent_compare_cb):
(priority_compare_cb): added comparison functions for these special
cell types. But the date and percent ones don't work yet due to the
use of static text buffers for return cell values.
(e_calendar_table_init): added the comparison functions to the
ETableExtras. NOTE: task_compare_cb() never seems to be called.
I'm not sure why it is there.
* gui/e-calendar-table.etspec: set the comparison function names for
the date/percent/priority fields.
* cal-util/cal-util.c (cal_util_priority_to_string):
(cal_util_priority_from_string): new utility functions.
* gui/calendar-model.c (get_priority):
(set_priority): used above utility functions, and removed the warning
dialog which isn't useful now that the field isn't editable.
* gui/dialogs/event-page.c (times_updated): handle timezones and for
all-day events make sure it stays an all-day event after adjusting.
Fixes bugs #5945 and #10222.
* gui/calendar-commands.c (pixmaps): fixed the E_PIXMAP paths - the
edit items were moved beneath 'EditPlaceholder'. This gets rid of
those long Bonobo warnings! (and we get the icons back)
* gui/dialogs/comp-editor.c (pixmaps): removed the PrintPreview toolbar
icon, since it doesn't appear in the xml file. Gets rid of warning.
* gui/dialogs/event-page.c (notify_dates_changed): new function to
emit the notification signal when the dates are changed. It also
handles timezones now.
* gui/dialogs/comp-editor-page.h (CompEditorPageDates): used
CalComponentDateTime for start/end/due so we have the timezone as well
as the time.
* gui/dialogs/comp-editor-util.c (comp_editor_dates): updated to get
the timezones as well as the times.
(comp_editor_free_dates): new function needed to free all the structs.
* gui/dialogs/recurrence-page.c (recurrence_page_set_dates): added call
to preview_recur() to make sure the preview gets updated.
* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): free the
CompEditorPageDates struct after use.
* gui/tag-calendar.c (tag_calendar_by_comp): added 'comp_is_on_server'
argument. If FALSE, we try to use builtin timezones first. This is
needed for the recurrence page of the event editor, because the
timezones may not have been added to the server yet. This and the
changes to the notification stuff should fix bug #5034.
* gui/gnome-cal.c (dn_query_obj_updated_cb): call above
tag_calendar_by_comp() with TRUE since the events will be on the
server in this case.
* gui/e-day-view-layout.c:
* gui/e-day-view.c: made sure an event always takes up at least one
row, even when the start & end times are the same. Fixes bug #5944.
I don't know if we should try to also handle events with the end time
before the start time.
* gui/e-week-view.c (e_week_view_style_set): check that the small font
is actually smaller than the normal font. If it isn't, don't use it.
Hopefully fixes bug #6876.
(e_week_view_on_new_appointment): if only one day is selected, then
we set the initial time of the event to 1/2-hour from the start of the
working day, to differentiate 'New Appointment' from 'New All Day
Event'. Fixes bug #8892.
* gui/e-day-view.c (e_day_view_on_new_appointment): do the same as the
above.
svn path=/trunk/; revision=13186
|
|
|
|
|
|
|
|
| |
2001-09-26 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.h: added CAL_MODE_INVALID to CalMode enum
svn path=/trunk/; revision=13148
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 JP Rosevear <jpr@ximian.com>
* pcs/cal.h: new proto
* pcs/cal.c (impl_Cal_set_mode): implement set mode method
(cal_class_init): set setMode function in epv
(cal_notify_mode): notify listener of mode change
* pcs/cal-factory.c (add_uri): deal with UriType renaming
* pcs/cal-backend.h: add new virtual methods and protos
* pcs/cal-backend.c (cal_backend_class_init): init new virtual
methods to null
(cal_backend_set_mode): sets mode
(cal_backend_get_mode): gets mode
* pcs/cal-backend-file.c (cal_backend_file_class_init): overide
get_mode and set_mode methods
(cal_backend_file_get_mode): return mode
(notify_mode): have listeners notified of the set mode call
(cal_backend_file_set_mode): set the mode by indicating not
supported
* cal-client/cal-listener.h: update proto
* cal-client/cal-listener.c (impl_notifyCalSetMode): implement set
mode callback
(cal_listener_construct): take set mode callback
(cal_listener_new): ditto
* cal-client/cal-client.h: update protos, add signal proto
* cal-client/cal-client.c (cal_client_class_init): add
cal_set_mode signal
(cal_set_mode_cb): handle set mode callback from listener
(cal_client_open_calendar): pass additional param to cal_listener_new
(cal_client_set_mode): wrapper to set the calendar mode
* idl/evolution-calendar.idl: make UriType into CalMode, add
SetModeStatus enum and notifyCalSetMode method to the listener
* gui/calendar-offline-handler.c (create_connection_list): fetch
the uri list ourselves
(impl_prepareForOffline): reflect param change of
create_connect_list
(update_offline): ditto
(backend_cal_set_mode): set mode call back
(backend_cal_opened): cal opened call back, set mode to local
(impl_goOffline): reflect UriType renaming
* cal-util/cal-util.h: rename UriType to CalMode
svn path=/trunk/; revision=13142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 JP Rosevear <jpr@ximian.com>
* pcs/cal.c: use bonobo-exception stuff to clean code
* pcs/cal-factory.c (add_uri): add uri to the list if the type
matches
(impl_CalFactory_uriList): implement uriList method
* pcs/cal-backend.h: new virtual function member
* pcs/cal-backend.c (cal_backend_is_remote): call virtual function
* pcs/cal-backend-file.c (cal_backend_file_class_init): override
virtual function
(cal_backend_file_is_remote): new virtual function, always return
FALSE
* idl/evolution-calendar.idl: uriList factory call, with flags for
types to get
* gui/dialogs/comp-editor.c (comp_editor_destroy): cast to remove
warning
* gui/e-itip-control.c (write_label_piece): kill warnings by take
const char *
* gui/component-factory.c (create_object): aggregate offline
interface
* gui/Makefile.am: compile new files
* calobj.[hc]: Remove obsolete files
* cal-util/cal-util.h: enum URI types for uriList call
* cal-client/cal-client.c (build_uri_list): build list from string
sequence
(cal_client_uri_list): factory call to get uri list
* cal-client/cal-client.h: new proto
* cal-client/cal-client.c: use bonobo exception stuff to clean
code
* gui/calendar-offline-handler.[hc]: Start some skeleton routines
for online/offline handling
* pcs/cal-factory.c (launch_backend_for_uri): use accessor and
remove FIXME
svn path=/trunk/; revision=13110
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (for_each_remove_all_alarms): for each
call back, removes the alarms
(cal_component_remove_all_alarms): remove all alarms from the
component
* cal-util/cal-component.h: new proto
* gui/e-itip-control.c (write_error_html): writes error messages
rather than normal html
* gui/itip-utils.c (itip_send_comp): remove all alarms if the
method warrants it
svn path=/trunk/; revision=12897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-13 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.h: use ical partstat, role, cutypes
directly
* cal-util/cal-component.c: ditto
* gui/e-itip-control.c (find_my_address): set my addresses if the
addresses match
(find_attendee): strstr returns non-null on a match
(write_html): use new icon, select the name displayed (organizer
or attendee) based on method,
(ok_clicked_cb): when rsvp'ing strip off all but the attendee
being replied for as is specified in the spec
(find_attendee_partstat): new util function to extract the
partstat of an attendee
(update_attendee_status): updates the partstat of a specific
attendee in the reply message
* gui/dialogs/meeting-page.c: use ical partstat, role, cutypes
directly
(popup_delegate_cb): if we delegate, notify of needs send and
changed
(popup_delete_cb): notify of needs send and changed for each
deletion
svn path=/trunk/; revision=12806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-10 Federico Mena Quintero <federico@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_get_attach):
Handle the new icalattach type instead of struct icalattachtype.
(cal_component_alarm_set_attach): Likewise.
* gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Likewise.
(alarm_to_palarm_widgets): Likewise.
(aalarm_widgets_to_alarm): Likewise.
(palarm_widgets_to_alarm): Likewise.
svn path=/trunk/; revision=12749
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.[ch] (cal_util_generate_alarms_for_list):
(cal_util_generate_alarms_for_comp):
new functions moved from the CalBackendFile, to allow its use outside
of it. The signature has changed a little bit, since these functions
need a way to get the timezones from the callers, so a callback
function to resolve the timezones has been added to the list of
parameters
* pcs/cal-backend-file.c (generate_alarms_for_list):
(generate_alarms_for_comp): moved to cal-util, with all their related
functions/structures
* pcs/cal-backend-db.c: removed functions that were moved to cal-util
svn path=/trunk/; revision=12338
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Damon Chaplin <damon@ximian.com>
* gui/dialogs/task-page.c:
* gui/dialogs/event-page.c: added support for the Contacts field.
Note that I'm not sure what we should put in the iCalendar CONTACT
properties. Currently we put "name <email>", but it isn't recognized
as a contact when we reopen the dialog, so we may need more info here.
Also we currently use a simple parser to parse the above format, and
we should maybe use some camel function.
* gui/dialogs/task-page.glade:
* gui/dialogs/event-page.glade: replaced the GtkEntry fields for the
Contacts with a GtkEventBox which we put the BonoboControl in at
runtime.
* gui/dialogs/meeting-page.c (invite_entry_changed): added FIXMEs
since it doesn't seem to be freeing the EDestination stuff. JP?
* gui/dialogs/comp-editor-util.c: added bunch of utility functions to
handle the Contacts field in the main Event and Task pages.
* gui/gnome-cal.c: added visible_start and visible_end fields, so we
only emit the 'dates-shown-changed' signal when really necessary.
Currently changing the folder title bar label results in a complete
redraw of the Evolution window (silly GtkLabel queueing a resize),
so we want to avoid that as much as possible.
(gnome_calendar_new_appointment_for): only move the event's end time
to the end of the day if it is not already 00:00:00.
* gui/e-week-view-event-item.c:
* gui/e-week-view.c:
* gui/e-day-view.c: added support for double-clicking on an event to
open it, and for double-clicking on the background to create a new
event. There is still a minor problem to sort out, but it basically
works.
* cal-util/cal-component.c: added support for CONTACT properties,
mainly by copying the code for COMMENT properties which are exactly
the same type.
* gui/e-day-view.c (e_day_view_realize): use the same color for the
top canvas background as the shortcut bar, to make it look a little
nicer (I think). Although we still have the theme problem with
hard-coded colors.
svn path=/trunk/; revision=12039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-06 Damon Chaplin <damon@ximian.com>
* gui/e-week-view.h:
* gui/e-day-view.h: added 'different_timezone' fields to EDayViewEvent
and EWeekViewEvent, to note that the event is in a different timezone.
We now compute this once when we add the event to the array, rather
than each time we draw the event. If it is set, we will draw the
timezone icon next to the event.
* gui/e-day-view-main-item.c: take transparency into account when
drawing the blue vertical bars to represent busy time.
* gui/tag-calendar.c: take transparency into account when tagging
the mini calendar.
* gui/e-calendar-table.c (e_calendar_table_init): removed the "None"
options for transparency and classification, since these properties
have defaults anyway, so we may as well use those to keep it simple.
Also use "Free" and "Busy" for transparency, rather than "Transparent"
and "Opaque".
* gui/calendar-model.c: updated classification & transparency code
as above.
* gui/e-calendar-table.etspec: changed "Transparency" to "Show Time As"
since people have a chance of understanding that.
* gui/e-week-view.c:
* gui/e-day-view.c:
* gui/gnome-cal.c: added functions to get the visible time range.
* gui/calendar-commands.c: finished stuff to set the folder bar
label to the dates currently displayed.
* gui/control-factory.c (control_factory_new_control): connected
signal to update the folder title bar label when the dates shown
are changed. I had to connect it here since we need the BonoboControl
in the callback, and I don't know how to get the control from the
widget.
* gui/tasks-control.c (tasks_control_activate): clear the folder bar
label. We could display something here at some point.
* gui/dialogs/recurrence-page.glade: changed "_Add" to "A_dd", since
we have an "_Actions" menu. (These also use Alt+key, right?)
* gui/dialogs/event-page.glade:
* gui/dialogs/event-page.c: added 'Show Time As' field, which is
really the TRANSP property but with a better name!
Also changed one of the "_Confidential" to "Con_fidential" since we
already have "_Contacts" using the same 'C' key.
* pcs/cal-backend-file.c (cal_backend_file_get_free_busy): skip
events that are TRANSPARENT. Also added comment as this code looks
inefficient.
* cal-util/cal-component.c: removed stuff for comparing timezones.
* gui/comp-util.c (cal_comp_util_compare_event_timezones): moved the
above function here, and updated it to compare the UTC offsets of the
times as well as the TZIDs.
svn path=/trunk/; revision=11717
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Damon Chaplin <damon@ximian.com>
* gui/gnome-cal.c:
* gui/calendar-commands.c (clear_folder_bar_label): started some code
to show the currently displayed dates in the folder title bar.
Unfinished.
* gui/e-itip-control.c (set_date_label):
* conduits/todo/todo-conduit.c (local_record_from_comp):
* conduits/calendar/calendar-conduit.c (local_record_from_comp): free
the CalComponentDateTimes. (Note the iTIP control needs updating for
timezone support.)
* cal-util/cal-component.c: Changed CalComponentDateTime so that the
TZID is malloc'ed and freed rather than being a pointer to a static
string. This was causing problems as sometimes we were freeing the
string that was being pointed to, so we got corrupted TZIDs.
* gui/comp-util.c (cal_comp_util_add_exdate): set TZID to NULL.
DATE values do not have timezones.
* gui/e-week-view.c:
* gui/e-day-view.c: Moved 'Paste' after the New Appointment commands,
since I think they are more commonly-used. Also added underlined
accelerator keys.
* gui/e-calendar-table.c: changed 'Edit this task' to 'Open' in the
popup menu to be consistent with other folders, and separated from the
clipboard commands. Also changed to use EPopupMenu so the accelerators
work, and the masks may be useful at some point.
* gui/dialogs/recurrence-page.c: use DATE values for UNTIL, since
that makes it simpler. Fixes bug #5034.
* gui/calendar-config.c (calendar_config_set_timezone): strdup the
location string. Fixes bug #4990.
* gui/tag-calendar.c (tag_calendar_cb): take 1 off iend as the times
don't include the end time.
* gui/e-week-view-layout.c (e_week_view_layout_event): fixed
days_shown. Fixes bug #5709.
* cal-client/cal-client.c (cal_client_get_timezone): took out some
debugging messages.
svn path=/trunk/; revision=11494
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Damon Chaplin <damon@ximian.com>
* gui/dialogs/recurrence-page.c (init_widgets): don't show the time
in the EDateEdit widget for adding EXDATEs.
* cal-util/cal-component.c (cal_component_alarm_set_trigger): don't
set t.time.is_date to -1. It is a boolean flag, 0 or 1. We probably
don't want a date value, so we leave it at 0.
svn path=/trunk/; revision=11193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Federico Mena Quintero <federico@ximian.com>
Really fixes #4380. The previous fix was necessary but not
sufficient; it worked for me because my system timezone happens to
match the Evolution timezone --- if they don't match, the bug
would persist.
* cal-util/timeutil.c (time_to_gdate_with_zone): New function. We
cannot use g_date_set_time() anymore because it does not take
timezones into account.
* gui/gnome-cal.c (get_days_shown): Use the function above.
* gui/e-day-view.c (e_day_view_find_work_week_start): Likewise.
* gui/e-week-view.c (e_week_view_set_selected_time_range): Likewise.
2001-07-17 Jon Trowbridge <trow@ximian.com>
svn path=/trunk/; revision=11167
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-12 JP Rosevear <jpr@ximian.com>
* cal-util/cal-util.h: new proto
* cal-util/cal-util.c (cal_util_new_top_level): standard place to
get your top level calendar component
* pcs/cal-backend-file.c (create_cal): use it
* gui/itip-utils.c (itip_send_comp): ditto
* gui/e-calendar-table.c (e_calendar_table_copy_clipboard): ditto
svn path=/trunk/; revision=11053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Federico Mena Quintero <federico@ximian.com>
Fixes bug #4380 as well as some leftovers from the days of struct
tm and some uninitialized values.
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): Initialize
the icaltimetype structures completely.
(gnome_calendar_init): Do not reset priv->zone to NULL here, since
it was set by gnome_calendar_update_config_settings() from
setup_widgets().
* gui/calendar-model.c (set_completed): Do not set is_daylight.
* gui/e-day-view.c (e_day_view_convert_grid_position_to_time):
Likewise.
* gui/e-week-view.c (e_week_view_set_timezone): Likewise.
* cal-util/cal-recur.c (generate_instances_for_chunk): Likewise,
and initialize start_tt and end_tt completely.
* cal-util/timeutil.c (time_year_begin_with_zone): Likewise.
(time_month_begin_with_zone): Likewise.
(time_week_begin_with_zone): Likewise.
(time_day_begin_with_zone): Likewise.
(time_day_end_with_zone): Likewise.
(time_from_isodate): Likewise.
* gui/dialogs/task-page.c (task_page_fill_component): Initialize
icaltime before using it.
* gui/dialogs/event-page.c (event_page_fill_component): Likewise.
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): Removed an
unused icaltimetype.
* gui/dialogs/task-details-page.c
(task_details_page_fill_component): Initialize icaltime before
using it.
svn path=/trunk/; revision=11024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Damon Chaplin <damon@ximian.com>
* gui/calendar-model.c:
* gui/e-calendar-table.c:
* gui/e-day-view-main-item.c:
* gui/e-day-view-top-item.c:
* gui/e-day-view.[hc]:
* gui/e-week-view.c:
* gui/gnome-cal.c:
* gui/print.c:
* gui/dialogs/cal-prefs-dialog.c:
* gui/dialogs/comp-editor-util.c:
* gui/dialogs/event-page.c:
* pcs/cal-backend-file.c:
* pcs/query.c:
* cal-util/cal-component.[hc]:
* cal-util/cal-recur.c:
* cal-util/timeutil.[hc]:
* cal-client/cal-client.[hc]: more timezone updates. I'm pretty much
done with the calendar code now, except for alarms and conduits,
which Federico and JP know more about. And there are a couple of
other minor things to fix. But it is still pretty buggy.
svn path=/trunk/; revision=10984
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c: Add new columns for information
specification
(meeting_page_destroy): save the table state
(build_etable): load new table state
* gui/dialogs/task-editor.c (task_editor_destroy): unref pages
* gui/dialogs/event-editor.c (event_editor_destroy): unref pages
* gui/dialogs/comp-editor.c (setup_widgets): kill warning
(comp_editor_append_page): ref page passed in
(close_dialog): unref pages
svn path=/trunk/; revision=10777
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/alarm-options.[ch]: New files with the alarm options
dialog; this configures the repeat/duration properties and the
options specific to each alarm action type.
* gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm
options button. Also, keep an alarm structure which we are
editing and an alarm options dialog.
(init_widgets): Connect to the options button.
(add_clicked_cb): Clone the component we are editing instead of
creating a new one so that we preserve the data from the alarm
options dialog.
(button_options_clicked_cb): Pop up the alarm options dialog.
* cal-util/cal-component.c (cal_component_alarm_new): Doh,
initialize the other fields in the new alarm.
svn path=/trunk/; revision=10731
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 Damon Chaplin <damon@ximian.com>
* cal-client/cal-client.[hc]
* cal-util/cal-component.c
* cal-util/cal-recur.[hc]
* cal-util/test-recur.c
* cal-util/timeutil.c
* gui/calendar-config.c
* gui/calendar-model.[hc]
* gui/comp-util.[hc]
* gui/e-calendar-table.c
* gui/e-day-view-main-item.c
* gui/e-day-view-top-item.c
* gui/e-day-view.[hc]
* gui/e-itip-control.c
* gui/e-timezone-entry.[hc]
* gui/e-week-view.[hc]
* gui/gnome-cal.[hc]
* gui/goto.c
* gui/tag-calendar.[hc]
* gui/dialogs/cal-prefs-dialog.c
* gui/dialogs/comp-editor-page.[hc]
* gui/dialogs/comp-editor-util.[hc]
* gui/dialogs/comp-editor.c
* gui/dialogs/e-timezone-dialog.[hc]
* gui/dialogs/event-page.c
* gui/dialogs/meeting-page.c
* gui/dialogs/recurrence-page.c
* gui/dialogs/task-details-page.c
* gui/dialogs/task-details-page.glade
* gui/dialogs/task-page.c
* idl/evolution-calendar.idl
* pcs/cal-backend-file.c
* pcs/cal-backend.c
* pcs/cal-backend.h
* pcs/cal.c
* pcs/query.c: timezone changes everywhere. There's still quite a
few things to update, and its not working well at present.
svn path=/trunk/; revision=10729
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Federico Mena Quintero <federico@ximian.com>
Support for ATTACH, DESCRIPTION properties in alarm components.
* cal-util/cal-component.c (scan_alarm_property): Deal with
ATTACH, DESCRIPTION properties.
(cal_component_alarm_get_attach): New function. Libical is
actually bogus; supposedly icalattachtype structures are
refcounted but the property functions return them by value.
(cal_copmonent_alarm_set_attach): New function.
(cal_component_alarm_get_description): New function.
(cal_component_alarm_set_description): New function.
svn path=/trunk/; revision=10714
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Federico Mena Quintero <federico@ximian.com>
Support for repeat/duration properties in alarm components.
* cal-util/cal-component.h (CalAlarmRepeat): New structure that
pairs the repeat/duration values of an alarm component, which must
be set both together or not set at all.
* cal-util/cal-component.c (CalComponentAlarm): Added fields for
the repeat and duration properties.
(scan_alarm_property): Scan the DURATION and REPEAT properties.
(make_alarm): Nullify/initialize all the fields in the alarm.
(cal_component_alarm_get_repeat): New function.
(cal_component_alarm_set_repeat): New function.
* gui/dialogs/alarm-page.glade: Changed the label of display
alarms from "Show a dialog" to "Display a message".
svn path=/trunk/; revision=10706
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (send_freebusy): implement
* cal-util/cal-component.c (set_attendee_list): add the delto
property rather than the delfrom property twice
* gui/dialogs/task-editor.c (task_editor_edit_comp): show
delegation info if appropriate
(delegate_task_cmd): delegate command
(cancel_task_cmd): cancel command
(refresh_task_cmd): refresh command
* gui/dialogs/task-details-page.c: Load new widgets
(task_details_page_show_delegation): show/hide delegation info widgets
* gui/dialogs/task-details-page.h: new proto
* gui/dialogs/event-editor.c (event_editor_edit_comp): free
attendee list when finished
* gui/dialogs/comp-editor.c (setup_widgets): explicitly show the
widgets, update pixmaps after the verbs have been added
(comp_editor_focus): don't do a show all
svn path=/trunk/; revision=10697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Federico Mena Quintero <federico@ximian.com>
* idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur
field to occur_start; added an occur_end field. This way we can
present the complete times for the occurrence from the server.
* cal-util/cal-component.h (CalAlarmInstance): Likewise.
* pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new
fields appropriately.
(generate_absolute_triggers): Likewise; we use -1 in case the
component has no DTSTART or DTEND because there are no meaningful
occurrence dates here.
(fill_alarm_instances_seq): Fill in the new fields.
* cal-client/cal-client.c (build_alarm_instance_list): Likewise.
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
Take in both the occur_start and occur_end times.
* gui/goto.c (goto_dialog): Free the dlg structure on the bail-out
cases.
* gui/dialogs/event-page.c (get_widgets): Do not assert if we
cannot find the main widget; just return FALSE.
* gui/dialogs/alarm-page.c (get_widgets): Likewise.
* gui/dialogs/task-page.c (get_widgets): Likewise.
* gui/dialogs/task-details-page.c (get_widgets): Likewise.
* gui/dialogs/meeting-page.c (get_widgets): Likewise.
svn path=/trunk/; revision=10517
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-23 Federico Mena Quintero <federico@ximian.com>
* gui/e-calendar-table.c (task_compare_cb): New function to
compare tasks like the Pilot task list.
* cal-util/cal-component.h (CalComponentField): Added a
semi-hackish CAL_COMPONENT_FIELD_COMPONENT. In the ETable model,
it is intended to return a pointer to the component itself.
* gui/calendar-model.c (calendar_model_value_at): Return the
component itself for CAL_COMPONENT_FIELD_COMPONENT. Be more
paranoid about invalid columns.
(calendar_model_set_value_at): Be more paranoid about invalid
columns.
(calendar_model_duplicate_value): Ref the component field.
(calendar_model_initialize_value): Deal with the component field.
(calendar_model_value_is_empty): Likewise.
(calendar_model_value_to_string): Likewise.
svn path=/trunk/; revision=10447
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 JP Rosevear <jpr@ximian.com>
* gui/dialogs/send-comp.c: itip/imip send dialog
* gui/dialogs/send-comp.h: new proto
* gui/dialogs/recurrence-page.c (recurrence_page_set_dates): only
use the weekday picker if visible
* gui/dialogs/meeting-page.c: just show the meeting list
* gui/dialogs/event-editor.c (event_editor_edit_comp): remove the
meeting page if no attendees
(schedule_meeting_cmd): schedule a meeting menu item
(refresh_meeting_cmd): refresh meeting request menu item
(cancel_meeting_cmd): ditto for cancel
(forward_cmd): send as attachment
* gui/dialogs/comp-editor.c (comp_editor_remove_page): remove page
from dialog
(comp_editor_show_page): show a given page
(comp_editor_get_current_comp): return a cal component
representing the current widget state
(comp_editor_save_comp): save the cal component
(comp_editor_delete_comp): delete the cal component
(comp_editor_send_comp): send the cal component
(comp_editor_merge_ui): merge xml in to the bonobo gui
(setup_widgets): use a bonobo window instead of a gtk window, add menus again
(save_as_cmd): save to file on disk - still broken
(save_close_cmd): close menu command
(save_close_cmd): save and close menu command
* gui/dialogs/comp-editor.h: new protos
* gui/dialogs/cancel-comp.c (cancel_component_dialog): itip/imip
cancellation dialog
* gui/dialogs/cancel-comp.h: new proto
* gui/dialogs/Makefile.am: build new files
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_needs_send): emit needs_send signal
* gui/dialogs/comp-editor-page.h: new signal protos
* gui/itip-utils.c (itip_send_comp): new function to send cal
components
* gui/itip-utils.h: new proto
* gui/e-itip-control.c (pstream_load): trim using cal-component
wrapper stuff
(accept_button_clicked_cb): use itip_send_comp
(tentative_button_clicked_cb): ditto
(decline_button_clicked_cb): ditto
* gui/Makefile.am: compile select name idl stuff
* cal-util/cal-component.c (cal_component_get_organizer): get the organizer
(cal_component_set_organizer): set the organizer
(cal_component_get_recurid): get the recurrence id
(cal_component_set_recurid): set the recurrence id
(set_attendee_list): actually set the attendee list
(get_attendee_list): build the attendee list
* cal-util/cal-component.h: new protos
svn path=/trunk/; revision=10299
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-28 Damon Chaplin <damon@ximian.com>
* gui/e-week-view-layout.[hc]:
* gui/e-day-view-layout.[hc]: new files to contain layout code split
off from EDayView an EWeekView, so we can use it for printing.
* gui/print.c: rewritten to use the same layout code as the EDayView
and EWeekView widgets.
* gui/gnome-cal.c (gnome_calendar_get_task_pad_cal_client): added
function so we can get the CalClient used for the TaskPad for printing.
* gui/Makefile.am (evolution_calendar_SOURCES): added
e-day-view-layout.[hc] amd e-week-view-layout.[hc].
* cal-util/timeutil.c (time_week_begin):
(time_week_end): added week_start_day argument.
* cal-util/cal-recur.c: added comments describing problems in it.
svn path=/trunk/; revision=10037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-16 Federico Mena Quintero <federico@ximian.com>
Split the event and task editors into different objects for the
separate pages; this way they can be shared by both editors.
* gui/dialogs/editor-page.[ch]: New abstract class for a page in a
calendar component editor.
* gui/dialogs/event-page.[ch]: Main page of an event editor.
* gui/dialogs/alarm-page.[ch]: Alarm page of a calendar component
editor.
* gui/dialogs/recurrence-page.[ch]: Recurrence page of a calendar
component editor.
* gui/dialogs/event-page.c (event_page_fill_widgets): Eeek, this
was missing a bunch of break statements.
(event_page_fill_component): Use a temporary variable rather than
allocating a struct icaltimetype.
* gui/dialogs/alarm-page.c (get_alarm_string): Do not use
fixed-size buffers.
(alarm_page_fill_widgets): Use cal_obj_uid_list_free().
(append_reminder): Now the list stores the plain CalComponentAlarm
structures in the row data. We do *NOT* want to be frobbing the
component's data directly. Rather, we clone the alarms from the
component and maintain them on our own.
(alarm_page_fill_component): Clone the alarms before adding them
to the component so that we maintain the invariant that the alarm
structures in the list did *not* come from the component.
* cal-util/cal-component.c (cal_component_add_alarm): Added
documentation.
(cal_component_remove_alarm): Added documentation.
(cal_component_remove_alarm): Do a lookup in our hash table of
alarms instead of scanning the whole component.
(CalComponentAlarm): Removed the `parent' field, since it was
unused.
(cal_component_free_alarm_uids): Removed function, since
cal_component_get_alarm_uids() is documented so that the user will
know that he must use cal_obj_uid_list_free().
(cal_component_alarm_clone): New function.
svn path=/trunk/; revision=9861
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-08 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_free):
(cal_component_alarm_free): free the alarm component if it doesn't
have a parent, rather than if it does
* gui/Makefile.am: sanitize LD_ADDS and CFLAGS so the libtool
lines are shorter (fixes problem on solaries due to sed)
svn path=/trunk/; revision=9720
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-04 JP Rosevear <jpr@ximian.com>
* gui/calendar-model.c (calendar_model_append_row): unref the
calcomponent when we're done with it
* cal-util/cal-component.c (cal_component_gen_uid): free the iso
date string when we finish with it
svn path=/trunk/; revision=9670
|
|
|
|
|
|
|
|
|
|
| |
2001-04-26 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_set_trigger): the
value type should be inited with ICAL_VALUE_* rather than
ICAL_*_VALUE because it is a param argument.
svn path=/trunk/; revision=9611
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-17 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_set_action): the
libical action stuff uses enums rather than strings to enumerate
the various actions now
(cal_component_alarm_get_action): ditto
svn path=/trunk/; revision=9429
|
|
|
|
|
|
|
|
|
|
| |
* cal-util/timeutil.c (time_from_isodate): Fix the syntactic bogon
here, and attempt to fix the logical bogon too. (tm_gmtoff and
timezone have opposite signs... I'm assuming Federico tested the
Linux case, so I'm flipping the sign of the BSD case. But maybe he
didn't and it's supposed to be the other way...)
svn path=/trunk/; revision=9300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-12 Federico Mena Quintero <federico@ximian.com>
* gui/e-day-view.c (update_query): New function to restart a query
for the day view.
(query_obj_updated_cb): Renamed from obj_updated_cb(); updated for
queries instead of calendar clients.
(query_obj_removed_cb): Likewise.
(cal_opened_cb): Just update_query() instead of queueing reloading
all the events.
(e_day_view_set_cal_client): Likewise.
(e_day_view_set_query): Likewise.
(e_day_view_set_selected_time_range): Likewise.
(e_day_view_set_days_shown): Likewise.
(e_day_view_recalc_work_week): Likewise.
(e_day_view_queue_reload_events): Removed function now that events
are updated entirely by the query.
(e_day_view_reload_events_idle_cb): Likewise.
(e_day_view_reload_events): Likewise.
(e_day_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.
* gui/e-week-view.c: Analogous changes to the ones in e-day-view.c.
(e_week_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.
* cal-util/timeutil.c (isodate_from_time_t): Return a g_strdup()ed
version of the string instead of a pointer to a static buffer.
(time_from_isodate): Resurrected function. Polished up to our
current standards of paranoia.
* pcs/query.c (func_time_now): New function (time-now).
(func_make_time): New function (make-time ISODATE).
(func_time_add_day): New function (time-add-day TIME N).
(func_time_day_begin): New function (time-day-begin TIME).
(func_time_day_end): New function (time-day-end TIME).
(func_occur_in_time_range): Use time_t values instead of ints.
(match_component): Free the stringized component. Free the ESexp
result value.
* gui/e-day-view.h: Removed a couple of unused prototypes.
* pcs/query.c (query_destroy): Oops, disconnect from the backend.
* pcs/cal.c (Cal_get_query): Duplicate the query reference before
we return it.
* gui/calendar-commands.c (pixmaps): Fixed paths to image files.
svn path=/trunk/; revision=9266
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-26 Kjartan Maraas <kmaraas@gnome.org>
* cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h>
and <gtk/gtk.h> with the needed headers to speed up compile.
* cal-util/test-recur.c: Same here for <gtk/gtk.h>
* gui/calendar-commands.c: Replace <bonobo.h> and remove
<libgnorba/gnorba.h>
* gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h>
* gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h>
* gui/component-factory.c: Remove <bonobo.h>
* gui/control-factory.c: Replace <bonobo.h>
* gui/e-calendar-table.c: Remove <gnome.h>
* gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h>
* gui/e-meeting-edit.c: Replace <bonobo.h>
* gui/e-tasks.c: Replace <gnome.h>
* gui/e-tasks.h: Replace <bonobo.h>
* gui/gnome-cal.h: Remove <bonobo.h>
* gui/main.c: Replace <bonobo.h> and <glade/glade.h>
* gui/tasks-control-factory.c: Replace <bonobo.h>
* gui/tasks-control.c: Replace <gnome.h> and <bonobo.h>
* gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h>
* gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h>
* gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h>
* gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h>
* pcs/cal-backend.c: Replace <gtk/gtk.h>
svn path=/trunk/; revision=8937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-05 Damon Chaplin <damon@ximian.com>
* gui/e-tasks.c: keep list of all Tasks folders so we can update the
preference settings when necessary.
* gui/gnome-cal.c: configure the TaskPad according to the settings.
* gui/e-calendar-table.c: use ECellCombo and ECellDateEdit for fields,
so the tasks folders is almost usable now.
* gui/calendar-model.c: added support for the Status property.
* gui/calendar-config.[hc]: added convenience functions to setup
ECalendarTable and ECellDateEdit objects.
* gui/calendar-commands.c: connected to "destroy" signal of calendars
so we can remove them from all_calendars list.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
call e_tasks_update_all_config_settings() to update all the settings
in the Tasks folders as well.
* cal-util/cal-component.h: added CAL_COMPONENT_FIELD_STATUS.
* cal-util/cal-component.c (cal_component_get_transparency): fixed
calls to strcasecmp so they check for '== 0'.
Applied patch from Miguel...
2001-02-27 Miguel de Icaza <miguel@ximian.com>
* gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
the menus to have entries always in a consistent fashion, as
reported to the genepool mailing list.
(e_day_view_on_event_right_click): Added a FIXME comment to the
FIXME comment without a FIXME.
Now we use e_popup_menu. This allows us to hide/show items on
demand, and to sensitize/de-sensitize items depending on their
state.
This will also let us add icon support (when we get nice icons for
this)
* gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.
The files popup-menu.c and popup-menu.h can now be removed.
svn path=/trunk/; revision=8549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (fill_widgets): fill in new classification stuff properly
(get_widgets): load new class. widgets
(init_widgets): if the class. widgets change, mark the dialog dirty
(dialog_to_comp_object): set the comp class. from the new widgets
* gui/dialogs/task-editor-dialog.glade: Make more consistent,
fixing bugs 1247 and 1249
* gui/dialogs/task-editor.c (fill_widgets):
* gui/event-editor-dialog.glade: Gui tidying
* gui/event-editor.c: Remove old alarm cruft
* cal-util/cal-component.c (cal_component_set_url): Don't try and
write an empty string as a property
svn path=/trunk/; revision=8132
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_set_categories): If the
categories string is empty, remove the property
(get_period_list): Fixes from clahey to handle the new rdate
format in libical
(set_period_list): ditto
svn path=/trunk/; revision=8023
|
|
|
|
| |
svn path=/trunk/; revision=8021
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 JP Rosevear <jpr@ximian.com>
* gui/event-editor.c (fill_reminder_widgets): Match new
append_alarm signature
(reminder_to_comp_object): only add alarms tagged as new, no
longer delete all alarms first
(append_reminder): the row data is now of type ReminderData,
rename from append_alarm
(reminder_add_cb): math new append_alarm signature
(reminder_delete_cb): if the alarm existed before the dialog was
loaded, delete it immediately from the cal component
svn path=/trunk/; revision=8020
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_set_trigger): Set
the time and duration values in the trigger to null by default
(cal_component_free_alarm_uids): properly free the list of alarm
uids
svn path=/trunk/; revision=8005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 JP Rosevear <jpr@ximian.com>
* gui/event-editor.c (get_widgets): get the new reminder widgets
(sync_entries): different callback data
(summary_changed_cb): take different data and handle various cases
(init_widgets): connect signals for the new widgets
(get_alarm_duration_string): give a text string of the alarm
duration
(get_alarm_string): give a string representing the alarm
(fill_widgets): make sure we don't loop infinitely and remove old
alarm cruft
(reminder_to_comp_object): dump alarm info in the gui into the cal
component
(append_alarm): add alarm to the clist
(reminder_add_cb): create new alarm
(reminder_delete_cb): remove the alarm from the list
* gui/event-editor-dialog.glade: Update gui
* gui/e-calendar-table.c: include gnome.h for all the menu stuff
* gui/calendar-summary.c: for internationalization
* gui/tasks-control.c: include gnome.h
* gui/e-tasks.c: ditto
* gui/e-itip-control.c: ditto
* cal-util/cal-recur.c (cal_recur_set_rule_end_date): Update for
libical changes
svn path=/trunk/; revision=8003
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Federico Mena Quintero <federico@ximian.com>
* cal-util/timeutil.c: <gnome.h> trimming to reduce compilation time.
* gui/dialogs/task-editor.c: Ditto.
* gui/dialogs/cal-prefs-dialog.c: Ditto.
* gui/dialogs/save-comp.c: Ditto.
* gui/dialogs/delete-comp.c: Ditto.
* gui/calendar-commands.c: Ditto.
* gui/calendar-model.c: Ditto.
svn path=/trunk/; revision=7880
|
|
|
|
|
|
|
|
| |
2001-01-23 JP Rosevear <jpr@ximian.com>
* libical import cleanup
svn path=/trunk/; revision=7753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-19 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_new): create a new
cal component alarm
(cal_component_add_alarm): add alarm to the cal component
(cal_component_remove_alarm): remove alarm from the cal component
(remove_alarm): remove alarm from hash
* cal-util/cal-component.h: new protos
* conduits/calendar/calendar-conduit.c (comp_from_remote_record):
add alarm information, still needs to be hacked to replace an already
existing alarm. questions abound about the heuristic for doing this.
2001-01-17 JP Rosevear <jpr@ximian.com>
* README: Update package requirements
svn path=/trunk/; revision=7647
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Damon Chaplin <damon@helixcode.com>
* gui/e-week-view*.c
* gui/e-day-view*.c: don't use the theme colors at all within
the graphical parts of the widgets, since they may clash with
our colors. May make them configurable in future so people can tweak
them to go with their theme. At least the calendars are usable in any
theme now, even though the colors may not go well with the theme.
Also set the font of all the EText items in style_set.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't
draw the icons if we are editing the event.
* gui/e-day-view.c:
* gui/e-week-view.c: reinstated the optimizations so we don't do a
complete relayout if the event's dates haven't been changed.
(Though we still do a re-layout when recurring events change, since
comparing all the RDATES/RRULES/EXDATES/EXRULES is too much hassle.)
A side-effect of this change is that the EWeekView won't crash so
often - only recurring events will be a problem.
* cal-util/cal-component.[hc]: added function to check if the start
and end dates of a component match. Used for optimizing the updating
of the EDayView & EWeekView.
svn path=/trunk/; revision=7593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* */*: Ximianified email addresses and copyrights.
* idl/evolution-calendar.idl (CalFactory::open): Renamed from
::load(), and added an only_if_exists argument.
(CalFactory::create): Removed method.
(Listener::OpenStatus): Removed the IN_USE error and replaced it
with a NOT_FOUND one; renamed the enum from LoadStatus.
(Listener::notifyCalOpened): Renamed from notifyCalLoaded().
* pcs/cal-backend.h (CalBackend): Removed the uri field.
(CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
added a NOT_FOUND value.
(CalBackendClass::open): Put in a slot for the open method.
* pcs/cal-backend.c (cal_backend_create): Removed function.
* pcs/cal-backend-file.c (cal_backend_file_open): Return the
appropriate value when only_if_exists is TRUE.
(create_cal): We are Ximian now, so set the PRODID property to
the appropriate foo.
* pcs/cal-factory.c (CalFactory_open): implemented, replacing
CalFactory_load() and CalFactory_create().
(CalFactory_open): Moved the queue_load_create_job() stuff to
here, since we now only need to contemplate the open case instead
of load/create ones.
(open_backend): Do everything here; replaces load_backend() and
create_backend().
* cal-client/cal-listener.h (CalListenerClass::cal_opened):
Renamed from cal_loaded.
(CalListenerClass): Replaced the silly signals, which are
gratuitous abstraction, by a set of function pointers in the
instance structure.
* cal-client/cal-listener.c (cal_listener_get_calendar): Removed
unused function.
(cal_listener_construct): Added the listener notification functions.
(cal_listener_new): Ditto.
(Listener_notifyCalOpened): Renamed to our new naming convention
for servant implementations.
(Listener_notifyObjUpdated): Ditto.
(Listener_notifyObjRemoved): Ditto.
* cal-client/cal-client.h (CalClientOpenStatus): Renamed from
CalClientLoadStatus.
(CalClientClass::cal_opened): Renamed from ::cal_loaded().
(CalClientLoadState): New enum; basically make LoadState public so
that users of this code do not have to maintain their own states.
* cal-client/cal-client.c (cal_client_create_calendar): Removed
function.
(cal_client_open_calendar): Moved the functionality over from
load_or_create(); now we do everything here.
(*): Use the CalClientLoadState enum values instead of the old
LoadState values.
(cal_client_get_load_state): Renamed from cal_client_is_loaded(),
and return the appropriate value.
(CalClientPrivate): Added an uri field.
(cal_client_init): Initialize priv->uri.
(cal_client_destroy): Free the priv->uri.
(cal_opened_cb): Maintain the priv->uri.
(cal_client_open_calendar): Fill in the priv->uri.
(cal_client_get_uri): New function.
* gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
function to configure the type of calendar components to create
when doing click-to-add. This makes the model usable for
something other than task lists.
(calendar_model_get_new_comp_vtype): New function.
* gui/e-calendar-table.c (e_calendar_table_get_model): New function.
(e_calendar_table_destroy): Unref the subset_model.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.
* gui/gnome-cal.c (LoadState): Removed enum; we now use the
CalClientLoadState from the client objects.
(GnomeCalendarPrivate): Removed the loading_uri and
task_pad_loading_uri fields as well as the load_state and
task_pad_load_state fields, as we can now query them directly from
the CalClient.
(open_error): Renamed from load_error().
(create_error): Removed function.
(gnome_calendar_open): Do not take in the mode parameter.
(cal_opened_cb): Get rid of our beautifully-crafted state machine
and replace it with simple code; all the loading smarts are in the
Wombat now.
(setup_widgets): Set the new component vtype of the table model to
CAL_COMPONENT_TODO.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed
gnome-month-item.[ch] from the list of sources.
* gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
field.
(create_summary_view): Do not check if the file exists; this is
the job of the Wombat.
(generate_html_summary): Fixed prototype.
(alarm_fn): Fixed prototype.
(property_dialog): Fixed prototype. Wonder if/how this ever
worked.
(create_summary_view): Cast the component and view as
appropriate. Removed unused html variable.
[Iain dude, are you compiling with -Wall?]
* gui/e-itip-control.c (cal_opened_cb): Sigh, this function
signature was *very* wrong. It was using CalClientGetStatus
instead of CalClientOpenStatus.
* gui/e-tasks.h (ETasksOpenMode): Removed enum.
* gui/e-tasks.c (setup_widgets): Set the new component vtype of
the table model to CAL_COMPONENT_TODO.
(LoadState): Removed the state machine foo.
(e_tasks_open): Removed the mode parameter.
(initial_load): Removed function.
(create_error): Removed function.
(ETasksPrivate): Removed folder_uri field.
(cal_opened_cb): Remove the state machine.
* gui/component-factory.c: #include "tasks-control.h"
* conduits/calendar/calendar-conduit.h (ECalConduitContext):
Removed calendar_load_tried field.
* conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
Sigh, fixed function prototype.
* conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
calendar_load_tried field.
* conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
function prototype.
svn path=/trunk/; revision=7571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-05 JP Rosevear <jpr@helixcode.com>
* gui/dialogs/task-editor.c (get_widgets): get categories button
(init_widgets): listen for button click
(fill_widgets): fill in the categories area
(dialog_to_comp_object): set the cal component categories
(categories_clicked): throw up the categories dialog and update
when ok is clicked
* gui/dialogs/task-editor-dialog.glade: Tweak to name the categories
button and make it active
* gui/calendar-model.c (get_categories): We can get the string list of
categories directly now
* cal-util/cal-component.c (cal_component_get_categories): new function
to get the categories list as a string
(cal_component_set_categories): same but for setting
(free_icalcomponent): init the categories var
(scan_categories): kill
(scan_property): assign the prop to the categories var
(cal_component_get_categories_list): deal with renaming var to categories
(cal_component_set_categories_list): fix brokeness
svn path=/trunk/; revision=7268
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-19 Federico Mena Quintero <federico@helixcode.com>
* pcs/cal-backend-file.c (compute_alarm_range): Fix confusion in
the way the range is expanded.
* cal-util/cal-component.c (cal_component_alarms_free): Doh,
alarms->alarms is a list, not a generic pointer. Free it properly.
(cal_component_free_pilot_id): Removed unused function.
(cal_component_free_pilot_status): Likewise.
* gui/main.c (init_bonobo): Use VERSION instead of a hardcoded
string. Pass argc by value, not by reference. Test the return
value of gnome_init_with_popt_table().
* cal-client/cal-client.c (cal_client_free_alarms): Oops, missed
implementing this function.
* cal-util/timeutil.c (print_time_t): Better printing format.
(isodiff_to_secs): Removed unused function.
(isodiff_from_secs): Removed unused function.
(time_day_end): Removed crufty part.
(time_day_begin): Removed crufty part.
(time_day_hour): Removed unused function.
(format_simple_hour): Removed unused function.
(get_time_t_hour): Removed unused function.
(time_from_start_duration): Removed unused function.
* cal-util/timeutil.h (parse_date): Removed unimplemented, unused
function prototype.
svn path=/trunk/; revision=7083
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-18 Federico Mena Quintero <federico@helixcode.com>
Alarm instance generation support for the Wombat.
* idl/evolution-calendar.idl (Cal::CalAlarmInstance): Changed to
have an alarm UID, the trigger time, and the actual occurrence
time.
(Cal::CalComponentAlarms): New structure to hold a pair of a
component and its alarms that trigger in a particular range of
time.
(Cal::getAlarmsInRange): Changed to return a CalComponentAlarmsSeq.
* cal-util/cal-component.h (CalAlarmInstance): New C-side
structure to match the one on the IDL.
(CalComponentAlarms): Ditto.
(CalAlarmAction): Renamed from CalComponentAlarmAction.
(CalAlarmTriggerType): Renamed from CalComponentAlarmTriggerType.
Encoded the START and END parameters for the RELATED parameter in
this enum, too. Added a NONE value for invalid or missing trigger
specifications.
(CalComponentAlarmTriggerRelated): Removed.
(CalAlarmTrigger): Renamed from CalComponentAlarmTrigger. Renamed
the duration/time fields to rel_duration/abs_time, respectively.
* cal-util/cal-component.c (cal_component_alarm_get_trigger):
Changed to use the new trigger structure.
(cal_component_alarm_set_trigger): Likewise.
(cal_component_alarm_free_trigger): Removed function.
(cal_component_has_alarms): Count the elements in the
alarm_uid_hash instead of trying to fetch the first alarm subcomponent.
(cal_component_alarms_free): New function to free a
CalComponentAlarms structure.
(CalComponentAlarmPrivate): Added an uid property pointer.
(scan_alarm_property): Scan for the our extension UID property.
(cal_component_alarm_get_uid): New function.
* pcs/cal-backend.h (CalBackendClass): Changed the signatures of
the ::get_alarms_in_range() and ::get_alarms_for_object() methods.
* pcs/cal-backend.c (cal_backend_get_alarms_in_range): Changed
signature; use the new method.
(cal_backend_get_alarms_for_object): Likewise.
* pcs/cal-backend-file.c (compute_alarm_range): New spiffy
function to compute a range of time for alarm occurrences.
(add_alarm_occurrences_cb): New function to add alarms for a
particular occurrence of the component.
(generate_absolute_triggers): New function to add the absolute
alarm triggers.
(generate_alarms_for_comp): New function to generate all the alarm
instances for a component.
(cal_backend_file_get_alarms_in_range): Implemented.
* pcs/cal.c (Cal_get_alarms_in_range): Use the new CalBackend API.
(Cal_get_alarms_for_object): Likewise.
(build_alarm_instance_seq): Removed old function.
* cal-util/cal-util.c (cal_alarm_instance_list_free): Removed
function.
* cal-client/cal-client.c (build_component_alarms_list): New
function to demarshal the component alarms sequence.
(build_alarm_instance_list): New function to demarshal the alarm
instances sequence.
(cal_client_get_alarms_in_range): Updated for the new API.
(cal_client_get_alarms_for_object): Updated for the new API.
* gui/gnome-cal.c: Temporary #ifdef-ing out of alarm-related stuff
to make it build.
svn path=/trunk/; revision=7076
|
|
|
|
|
|
|
|
|
| |
2000-12-15 Federico Mena Quintero <federico@helixcode.com>
* cal-util/timeutil.[ch] (time_from_isodate): Removed unused
function, a relic from Gnomecal.
svn path=/trunk/; revision=7054
|
|
|
|
|
|
|
| |
* cal-util/timeutil.c (time_from_isodate): Fix the sign in the
HAVE_TM_GMTOFF case
svn path=/trunk/; revision=7053
|
|
|
|
| |
svn path=/trunk/; revision=7020
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (ensure_mandatory_properties): Even
though icaltime_from_timet() now properly ignores the is_utc
argument since time_t values *are* in UTC by definition, we were
passing FALSE for that argument's value in a bunch of places. So
although it is ignored, changed them to TRUE for consistency.
Hopefully newer versions of libical will remove that argument
entirely since it does not make sense to speak of non-absolute
time_t values.
* cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise.
* conduits/calendar/calendar-conduit.c (comp_from_remote_record): Likewise.
* conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise.
* gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise.
* gui/e-day-view.c (e_day_view_on_new_appointment): Likewise.
(e_day_view_on_delete_occurrence): Likewise.
(e_day_view_on_unrecur_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_top_canvas_drag_data_received): Likewise.
(e_day_view_on_main_canvas_drag_data_received): Likewise.
* gui/e-week-view.c (e_week_view_key_press): Likewise.
(e_week_view_on_new_appointment): Likewise.
(e_week_view_on_delete_occurrence): Likewise.
(e_week_view_on_unrecur_appointment): Likewise.
* gui/event-editor.c (simple_recur_to_comp_object): Likewise.
(recur_to_comp_object): Likewise.
(dialog_to_comp_object): Likewise.
* gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise.
svn path=/trunk/; revision=6995
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func.
(cal_object_get_rdate_end): Changed this function to get rid of a
possible uninitialized error on the rdate function.
* gui/calendar-model.c: Fixed some warnings involving the #define
_XOPEN_SOURCE lines here.
* gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out
the summary_factory object since it's unused if
WANT_THE_EXCUTIVE_SUMMARY is not defined.
* gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb.
(obj_updated_cb): #ifndef NO_WARNINGSed out a #warning.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made
it so that
* gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a
#warning.
svn path=/trunk/; revision=6982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-12 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (get_text_list): Constify for new
libical API.
(set_text_list): Likewise.
* cal-util/cal-recur.c (cal_recur_get_rule_end_date): Likewise.
(cal_recur_set_rule_end_date): Likewise.
* gui/e-itip-control.c (find_attendee): Likewise.
(pstream_load): Likewise.
* gui/gnome-cal.c (released_event_object_cb): Removed unused function.
* gui/dialogs/task-editor.c (status_string_map): Removed unused
variable.
svn path=/trunk/; revision=6943
|
|
|
|
| |
svn path=/trunk/; revision=6939
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-11 Federico Mena Quintero <federico@helixcode.com>
This is to make things work with libical 0.21helix1 and later.
Warnings remain because at last libical was constified; will take
care of those tomorrow.
* cal-util/timeutil.h: #include <ical.h> instead of <icaltypes.h>
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-edit.c: Likewise.
* gui/itip-utils.h: Likewise.
* cal-util/cal-component.c (alarm_uid_from_prop): constify.
(cal_component_get_status): Updated for new libical API.
(cal_component_set_status): Likewise.
* gui/calendar-model.c (ensure_task_complete): Removed unused
status code.
(ensure_task_not_complete): Update for new status API.
* gui/dialogs/task-editor.c (status_string_to_value): Removed
function.
(status_value_to_string): Removed function.
(status_string_map): Removed variable.
(fill_widgets): Update for new status API.
(dialog_to_comp_object): Likewise.
svn path=/trunk/; revision=6932
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-11 Damon Chaplin <damon@helixcode.com>
* cal-util/cal-recur.c (generate_instances_for_chunk): updated the
tests on the start & end time just before calling the callback. It
was skipping occurrences that started before the required interval's
start time, which was wrong. We want all occurrences that intersect
the interval.
(cal_obj_time_weekday): removed the CalRecurrence* argument, since it
isn't needed.
svn path=/trunk/; revision=6925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-11 Damon Chaplin <damon@helixcode.com>
* gui/event-editor.c: added changed flags and added calls to a new
function event_editor_set_changed() to set & reset this flag.
Added prompt_to_save_changed() which is called when the user
selects File/Close or the window's close button.
Fixed the 'All day event' toggle button.
Made the 'Alarm' page sensitive as appropriate when filling widgets.
(Though note that the alarm widgets are not being set yet.)
* gui/dialogs/task-editor.c: added changed flag as above.
* gui/event-editor-dialog.glade: used good names for all the
classification radio buttons so we can access them in the code.
* gui/event-editor.c (init_widgets): use the "show week numbers" config
option in the recurrence preview calendar.
* gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead
of 09:00 in the main view, as we do everywhere else now. It means the
times won't line up, but they are easier to read which I think is
better.
Added support for Page Up/Down, though I think it should move the
selection rather than just scroll the canvas.
* cal-util/cal-recur.c (generate_instances_for_chunk): removed the
end parameter since we should be using the chunk end time now.
Added single_rule parameter for when we are generating the
occurrences of a single RRULE, in which case the event's start date is
not included in the occurrences output (unless it results from the
RRULE expansion). Both of these fix problems when using COUNT.
* gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed):
fixed bug when checking if the new start day starts on the week start
day. If you select a complete week it should now show the Week view.
svn path=/trunk/; revision=6896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-06 Federico Mena Quintero <federico@helixcode.com>
Fixes bug #920.
* gui/e-calendar-table.c (delete_component): New function.
(e_calendar_table_on_delete_task): Use delete_component().
(e_calendar_table_on_key_press): Likewise. Also, mark the event
as handled.
* gui/calendar-model.c (calendar_model_get_component): Renamed
function from calendar_model_get_cal_object().
(calendar_model_delete_task): Removed function.
* gui/dialogs/delete-comp.[ch]: New files with the dialog for
deleting a calendar component.
* gui/e-day-view.c (e_day_view_on_delete_appointment): Confirm
before actually deleting the appointment.
* gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise.
* gui/dialogs/Makefile.am (libcal_dialogs_a_SOURCES): Added
delete-comp.[ch] to the list of sources.
* cal-util/cal-component.c (cal_component_destroy): Free the alarm
UID hash.
svn path=/trunk/; revision=6828
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-06 JP Rosevear <jpr@helixcode.com>
* pcs/cal.c (build_change_seq): kill
(Cal_get_changes): return the corba sequence directly
* pcs/cal-backend.h: update prototype
* pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Build
the corba struct rather than the old calobjchange thing
(cal_backend_compute_changes): ditto. build and return the actual
corba sequence rather than the list of calobjchanges
(cal_backend_get_changes): return the corba sequence
* cal-util/cal-util.h: Remove CalObjChange cruft
* cal-util/cal-util.c (cal_obj_change_list_free): Kill
svn path=/trunk/; revision=6826
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-06 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (map_name): Update so as not to conflict
with calendar
(next_changed_item): update to use CalClientChange instead of CalObjChange
(compute_status): ditto
(pre_sync): ditto
(for_each_modified): since we now have the cal component we can call
local_record_from_comp directly
* conduits/todo/todo-conduit.c: same as above
* pcs/cal-backend.c: Remove much logging cruft
(cal_backend_compute_changes): Calculate the changes based on the
hashed database
(cal_backend_get_changes): call cal_backend_compute_changes
(cal_backend_compute_changes_foreach_key): hash callback for
calculating deletions
* pcs/cal-backend.h: update protype, remove logging cruft from
object
* pcs/cal.c (build_change_seq): dup the calobj rather than the uid
now
(Cal_get_changes): rename from Cal_get_changed_uids
(cal_get_epv): reflect name change in epv
* cal-util/cal-util.c (cal_obj_change_list_free): update assertion
* cal-util/cal-util.h: CalObjChange now returns the entire ical
component, update the change types. This should all go away shortly
* idl/evolution-calendar.idl: getChangedUIds -> getChanges.
CalObjChange now contains the calobj rather than the uid, update
the change types
* cal-client/cal-client.c (cal_client_get_changes): rename from
cal_client_get_changed_uids to make idl and addressbook
* cal-client/cal-client.h: Update prototype
* cal-client/cal-client.c (build_change_list): Build a list of
CalClientChange instead of CalObjChange
* cal-client/cal-client-types.c (cal_client_change_list_free): Free
a glist of CalClientChanges
* cal-client/cal-client-types.h: New file. Declarations for
CalClientChange.
* cal-client/Makefile.am: Build new files
svn path=/trunk/; revision=6822
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-28 Federico Mena Quintero <federico@helixcode.com>
Upgrade of the alarm framework. We now access alarms by a unique
identifier. This UID is added as an extension property to alarm
subcomponents when their parent components are scanned by
CalComponent.
* cal-util/cal-component.c (CalComponentPrivate): Added a hash
table of alarm UIDs -> alarm properties.
(cal_component_init): Initialize priv->alarm_uid_hash.
(free_icalcomponent): Free the elements in the
priv->alarm_uid_hash.
(scan_alarm): New function to add scan an alarm subcomponent and
ensure that it has an alarm UID extension property so that we can
add it to our mapping table.
(cal_component_get_first_alarm): Removed function.
(cal_component_get_next_alarm): Removed function.
(cal_component_get_alarm_uids): New function.
(cal_component_get_alarm): New function.
svn path=/trunk/; revision=6713
|
|
|
|
|
|
|
|
| |
* cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day
rather than a guint since we now support -ve days.
Also fixed bug with weekly recurrences.
svn path=/trunk/; revision=6674
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-24 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (free_icalcomponent): DOH, fixed
reversed test for the presence of the icalcomp's parent. This was
causing memory leaks in the Wombat and elsewhere.
* pcs/cal-backend.c (cal_backend_set_node_timet): Plug leak.
svn path=/trunk/; revision=6661
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-24 Federico Mena Quintero <federico@helixcode.com>
* pcs/cal-backend-file.c (scan_vcalendar): Use the new libical
external iterators (icalcomponent_begin_component() and friends);
the internal iterators are deprecated.
* cal-util/test-recur.c (generate_occurrences): Likewise.
* gui/e-itip-control.c (pstream_load): Likewise.
* gui/e-meeting-edit.c (e_meeting_edit): Likewise.
* pcs/cal-backend.c (cal_backend_log_entry): Plug leak.
(cal_backend_log_sync): Free the entry->uid.
* util/icalendar-save.[ch]:
* util/icalendar-test.c:
* util/icalendar.[ch]: Removed obsolete files.
svn path=/trunk/; revision=6660
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-08 Federico Mena Quintero <federico@helixcode.com>
These changes fix bugzilla bugs #874 and #875.
* cal-util/cal-component.c (cal_component_get_exdate_list): Return
a list of CalComponentDateTime instead of simple struct
icaltimetype objects. Exception date properties *can* contain a
timezone parameter, so we need to include those if they are
present.
(cal_component_set_exdate_list): On the input, handle a list of
CalComponentDateTime structures. On the internals, handle a list
of struct datetime instead of plain properties.
(cal_component_free_exdate_list): Handle a list of
CalComponentDateTime structures.
(scan_exdate): Create a list of struct datetime structures.
(free_icalcomponent): Free the exdate_list properly.
* cal-util/cal-recur.c (generate_instances_for_chunk): Use the
proper types for exception dates.
* gui/comp-util.h:
* gui/comp-util.c: New files with utilities for manipulating
calendar component objects.
(cal_comp_util_add_exdate): New function.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
comp-util.[ch] to the list of sources.
* gui/e-day-view.c (add_exdate): New convenience function to add
an exception date to a calendar component.
(e_day_view_on_unrecur_appointment): Use cal_comp_util_add_exdate().
(e_day_view_on_delete_occurrence): Likewise.
* gui/e-week-view.c (e_week_view_on_delete_occurrence): Likewise.
(e_week_view_on_unrecur_appointment): Likewise.
* gui/event-editor.c (nth_weekday): Be paranoid about valid
position values.
(fill_widgets): Use the proper types for exdates.
(dialog_to_comp_object): Likewise.
svn path=/trunk/; revision=6517
|
|
|
|
| |
svn path=/trunk/; revision=6220
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the new recurrence page, partially finished. I just want
it on CVS for if my laptop explodes.
This is highly disgusting code. It has to discriminate between the
recurrence types we support and the ones we do not.
I hate iCalendar. I hate it more than Hi-Fi\'s pizza.
2000-10-26 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (EventEditorPrivate): Integrate Anna's new
recurrence page. Replace the old widget pointers with the new
ones. Modified the relevant functions accordingly and added
plenty of new ones.
(event_editor_get_cal_client): New function.
(fill_recurrence_widgets): This is *THE* tricky function for you.
It has to discriminate whether we get a recurrence we support for
editing or not. And this is not trivial. Sigh.
(event_editor_update_widgets): Added preconditions and API docs.
* event-editor-dialog.glade: Fixed all the spacings/
paddings/packing options so that the widgets will look right if
the dialog box is resized. Also fixes some misaligned widgets.
* cal-util/cal-component.c (cal_component_set_rdate_list): Removed
incorrect assertion.
svn path=/trunk/; revision=6219
|
|
|
|
|
|
|
|
|
|
| |
2000-10-26 Michael Meeks <michael@helixcode.com>
* pcs/cal-factory.c (str_tolower): unsigned chars to isalpha
* cal-util/calobj.c (weekdaylist, weekdaynum): ditto.
svn path=/trunk/; revision=6217
|
|
|
|
|
|
|
| |
uses either $(prefix)/share/locale or $(prefix)/lib/locale.) Cope with
this.
svn path=/trunk/; revision=6141
|
|
|
|
|
|
| |
meeting schedular.
svn path=/trunk/; revision=6096
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-20 Damon Chaplin <damon@helixcode.com>
* gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): added
_click-to-add-message, though I'm not sure if i18n will work.
* cal-util/cal-recur.c (cal_obj_time_add_hours):
(cal_obj_time_add_minutes):
(cal_obj_time_add_seconds): updated to handle -ve args.
* cal-util/timeutil.c (time_add_day): set tm_isdst to -1 before calling
mktime().
* cal-util/cal-recur.c (generate_instances_for_chunk): don't call the
callback if the event ends exactly on the interval start time.
* gui/e-week-view.c (e_week_view_reshape_event_span):
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
* gui/e-day-view.c (e_day_view_reshape_long_event):
(e_day_view_reshape_day_event): use cal_component_has_alarms().
* cal-util/cal-component.[hc]: added cal_component_has_alarms().
2000-10-16 Damon Chaplin <damon@helixcode.com>
* gui/calendar-config.c (config_read): set default MonthVPanePosition
to 1 rather than 0, so if you move the hpane you'll see the date
navigator.
svn path=/trunk/; revision=6063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-16 JP Rosevear <jpr@helixcode.com>
* cal-client/cal-client.h: Remove pilot cruft. All pilot stuff
is in the conduits now and uses the logging facility.
* pcs/cal-backend-file.c: ditto
* pcs/cal-backend.h: ditto
* pcs/cal-backend.c: ditto
* pcs/cal.c: ditto
* pcs/cal.h: ditto
* idl/evolution-calendar.idl: ditto
* cal-util/cal-component.h: ditto
* cal-util/cal-component.c: ditto
* cal-client/cal-client.c: ditto
* conduits/calendar/calendar-conduit.c (local_record_from_comp):
Take a stab at storing recurrence stuff on the pilot properly
* pcs/cal-backend.c (cal_backend_update_object): Don't log the
event until after the update in case its a new item
svn path=/trunk/; revision=5940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Damon Chaplin <damon@helixcode.com>
* gui/main.c (main): call calendar_config_write_on_exit() to write
out some special config settings (as the mail component does).
* gui/calendar-commands.c (properties_cmd): changed to use the new
preferences dialog.
(update_all_config_settings): new function to iterate over all the
calendars and update the config settings.
* gui/dialogs/cal-prefs-dialog.glade: preferences dialog.
* gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences
dialog.
* gui/calendar-config.[hc]: new files to handle loading/saving config
settings.
* cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set,
plus minor changes.
* cal-util/test-recur.c: updated.
* gui/e-day-view-time-item.c:
* gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h>
* gui/component-factory.c (owner_set_cb): called calendar_config_init.
(owner_set_cb):
(owner_unset_cb): updated the prototypes.
* gui/main.c (main): added call to calendar_config_write_on_exit().
* gui/component-factory.h:
* gui/component-factory.c (owner_set_cb): added global evolution_dir
just like the mail component, so we know we to store config stuff.
svn path=/trunk/; revision=5856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-05 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.c:
* gui/e-week-view.c: when the user types in a new event, don't create
it until the user hits Return or switches focus. Removed the
editing_new_event flags.
* cal-util/test-recur.c: rewritten to work on ics files. Now I can
start testing the recurrence code.
* cal-util/cal-recur.c: a few fixes.
* gui/e-day-view.c (e_day_view_check_if_new_event_fits): fixed to
return TRUE for long events, not FALSE.
svn path=/trunk/; revision=5729
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-29 Damon Chaplin <damon@helixcode.com>
* cal-util/cal-recur.c: updated to support RDATE end times or
durations. Note that if you have two RDATEs with the same start times,
but with different end dates/durations set, the results are
unpredictable. So the event editor dialog should check for this.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
make strftime() strings translatable, and changed the formats a bit.
* NOTE: someone needs to check print.c to make sure strftime strings
are OK for i18n.
* gui/e-day-view.h: Changed EDayViewDateFormat enum. We now try to
include the weekday if possible. Also changed EDayView struct so we
store the month & weekdays with the longest names rather than the
actual widths. This helps i18n.
* gui/e-day-view.c (e_day_view_recalc_cell_sizes): used _() for
strftime strings, tried to see if weekday fits, and rearranged a
bit to make i18n easier.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): used _() for
strftime strings, and updated to use new formats.
* gui/calendar-model.c: added use_24_hour_format boolean to
CalendarModelPrivate so we can display dates in 12-hour format if
requested. This meant adding a CalendarModel argument to a few
functions. Also added get/set functions to set use_24_hour_format.
I suppose ideally we should have an ECellDate renderer and this option
should go there.
svn path=/trunk/; revision=5646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-24 Damon Chaplin <damon@helixcode.com>
* gui/dialogs/task-editor-dialog.glade: set the height of the scrolled
window for the description field, since the default window height
doesn't seem to be working.
* cal-util/cal-component.h: added functions to get the actual
icalproperty lists for RRULE and EXRULE properties.
* cal-util/cal-recur.[hc]: added support for COUNT, though I need to
test it a bit. Also fixed the call to generate_instances_for_year() so
it uses the chunk dates.
2000-09-20 Damon Chaplin <damon@helixcode.com>
* gui/event-editor.c: got rid of 1 '_' in '__Formatting'.
svn path=/trunk/; revision=5562
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-19 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (check_for_slow_setting): Add some
other cases where a slow sync is in order
(pre_sync): Pre load the uids, the map and the add/mod/del lists
(match_record): Use the map hash to match records
(iterate): Iterate using the pre-loaded uid list
(iterate_specific): Iterate using the add/mod/del lists
(purge): Delete all entries in the del list
(set_status): Set status by adding to an appropriate list
(set_pilot_id): Set pilot_id by updating map hash
* conduits/todo/todo-conduit.h: Add lists for added, modified and
deleted objects
* conduits/todo/todo-conduit.c (map_name): Get the pilot_id->uid
map
file name
(map_sax_start_element): SAX handler to extract a pilot_id->uid
mapping
(map_sax_parse): Parse the given file and build a pilot_id->uid
hash
(map_write_foreach): Write out individual mapping elements
(map_write): Write out the pilot_id->uid mapping
(start_calendar_server_cb): Rename from gnome_calendar_load_cb
* conduits/todo/todo-conduit-config.h: Rename pilotID to pilot_id
* conduits/todo/e-todo.conduit.in: A little renaming
* conduits/todo/Makefile.am: Fix build slightly
* pcs/cal.c (build_change_seq): Build a corba sequence out of a
list
of CalObjChanges
(Cal_get_objects_in_range): Implement new corba function
* pcs/cal-backend.c (cal_backend_init): Intiliaze to NULL
(cal_backend_load): Track the uri so we can write the log file
to the same place
(cal_backend_log_name): Figure out the log filename/path based on
the calendar uri
(cal_backend_set_node_timet): Set an xml node property value from
a time_t
(cal_backend_log_entry): Adds a log entry to list waiting to be
written
out
(cal_backend_log_sync): Syncs the log entries to disk
(cal_backend_log_sax_start_element): SAX callback for reading in
log entries
(cal_backend_log_sax_end_element): ditto
(cal_backend_log_sax_parse): Main SAX parser call to parse the log
file looking for particular log entries and creating a
CalObjChange
hash with the last change for each object
(cal_backend_get_log_entries): Returns a hash of objects of a
given
type changed since the given time
(cal_backend_update_object): Add appropriate log entries
(cal_backend_remove_object): ditto
(cal_backend_get_changed_uids): Implement new idl interface call
(cal_backend_foreach_changed): Convert CalObjChange hash into a
list
* pcs/cal-backend-imc.[hc]: Remove crufty files
* pcs/cal-backend-file.c (cal_backend_file_get_type_by_uid): New
function that returns the CalObjType for a uid.
* cal-client/cal-client.h: Update prototypes.
* cal-client/cal-client.c (build_change_list): Build a list
of CalObjChange items from a corba sequence.
(cal_client_get_changed_uids): New accessor method for the
similarly named addition to the idl file.
* cal-util/cal-util.h: Update prototypes and add CalObjChangeType
enum.
* cal-util/cal-util.c (cal_obj_change_list_free): New utility
method to free a list of CalObjChange objects.
* idl/evolution-calendar.idl: Add get_changed_uids method
and associated types.
svn path=/trunk/; revision=5512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Damon Chaplin <damon@helixcode.com>
* gui/dialogs/task-editor.c: changed to use EDateEdit.
* gui/dialogs/task-editor-dialog.glade: added "None" option to
Classification option menu, and used custom widgets for the date
entries so we can use EDateEdit widgets.
* gui/event-editor.c: changed to use EDateEdit. Note that this needs
to be fixed at some point to handle invalid dates, i.e. when
e_date_edit_get_time returns -1.
* gui/calendar-model.c (ensure_task_complete):
(ensure_task_not_complete): new functions to set the related properties
to make sure a task is marked as complete on not, i.e. "Date Completed"
"Status" and "Percent" properties.
2000-09-08 Damon Chaplin <damon@helixcode.com>
* gui/calendar-model.c (get_is_complete): use the status field rather
than the completed date, as it is more reliable.
(get_is_overdue): use get_is_complete().
(calendar_model_mark_task_complete): check if it is already complete,
and if so don't update it.
* cal-util/cal-component.c (cal_component_get_status):
(cal_component_set_status): added functions to support the STATUS
property. Also added the property to CalComponentPrivate and set it
to NULL in free_icalcomponent(). Someone should check my code as I've
mainly done a Cut & Paste job.
svn path=/trunk/; revision=5305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-10 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (local_record_from_icalobject): Use
cal component pilot stuff properly
(find_record_in_repository): Remove cruft
(ical_from_remote_record): Remove cruft
(update_record): Set the vtype immediately after creation. Remove
cruft
* conduits/todo/todo-conduit.h: Remove iCalObject stuff
* conduits/todo/todo-conduit-config.h: Move all the config stuff
here, I need to kill the warnings at some point
* conduits/todo/todo-conduit-control-applet.c (doRevertSettings):
Set all the state variables correctly on a revert
(doSaveSettings): Update original state
(doHelp): Rename from about_cb
(main): Destroy configurations when done
* conduits/todo/Makefile.am: Tidy
* pcs/cal-backend-file.c (cbf_pilot_hash): Function for hashing
pilot ids
(cbf_pilot_equal): For hash table of pilot ids
(cal_backend_file_destroy): Destroy pilot id hash
(add_component): Insert the uid into the pilot hash
(remove_component): Remove the uid from the pilot hash
(cal_backend_file_load): Create the pilot hash
(cal_backend_file_create): ditto
(cal_backend_file_get_uid_by_pilot_id): Implement using the pilot
hash
(cal_backend_file_update_pilot_id): ditto
* cal-util/cal-component.h: Update prototypes
* cal-util/cal-component.c (cal_component_get_pilot_id): Implement
using ical X properties
(cal_component_set_pilot_id): ditto
(cal_component_get_pilot_status): ditto
(cal_component_set_pilot_status): ditto
(cal_component_free_pilot_id): Free a pilot id
(cal_component_free_pilot_status): Free a pilot status
svn path=/trunk/; revision=5298
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Christopher James Lahey <clahey@helixcode.com>
* cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c,
gui/event-editor.c, gui/getdate.y, gui/gncal-todo.c,
gui/gnome-cal.c, gui/dialogs/task-editor.c: Fixed some warnings.
svn path=/trunk/; revision=5264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-06 JP Rosevear <jpr@helixcode.com>
* gui/e-day-view-main-item.c
(e_day_view_main_item_draw_day_event):
Use new cal_component_has_recurrences convenience function
* gui/e-week-view.c (e_week_view_show_popup_menu): ditto
* gui/e-week-view-event-item.c
(e_week_view_event_item_draw_icons):
ditto
* gui/calendar-model.c (calendar_model_value_at): ditto
(calendar_model_value_at): ditto
* gui/e-day-view.c (e_day_view_on_event_click): ditto
(e_day_view_on_event_right_click): ditto
(e_day_view_on_top_canvas_motion): ditto
(e_day_view_on_top_canvas_motion): ditto
(e_day_view_on_main_canvas_motion): ditto
(e_day_view_on_main_canvas_motion): ditto
(e_day_view_reshape_day_event): ditto
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
ditto
* gui/e-day-view.c (e_day_view_on_long_event_click): ditto
svn path=/trunk/; revision=5220
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-06 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-recur.c (cal_recur_generate_instances): Use
new convenience functions and only get the recurrence
stuff if needed. Free the recurrence stuff if used.
2000-09-05 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-component.h: Add new prototypes
* cal-util/cal-component.c (cal_component_has_exrules): Utility
function to determine whether a cal component has any exrules
(cal_component_has_exdates): Ditto for exdates
(cal_component_has_exceptions): Utility function to determine
whether a cal component has any exception rules
(cal_component_has_recurrences):Utility function to determine
whether a cal component has any recurrence rules
svn path=/trunk/; revision=5219
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-05 JP Rosevear <jpr@helixcode.com>
* gui/event-editor.c (dialog_to_comp_object): Kill all exdates if
there are no dates in the box
* cal-util/cal-recur.c (generate_instances_for_year): Add a
special
case for when there are exceptions but no rrules or rdates.
(cal_obj_remove_exceptions): Use date only compare func
(cal_obj_date_only_compare_func): New compare function that
compares the date only, not the time.
* gui/event-editor.c (dialog_to_comp_object): Need a break for the
yearly recurrence type
(dialog_to_comp_object): We need to allocate icaltimetypes for the
exdate list
(fill_widgets): Handle a weekly recurrence with no particular day
set
(dialog_to_comp_object): Kill all rrules if "None" is selected as
the recurrence type by the user
svn path=/trunk/; revision=5218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-05 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-recur.c (generate_instances_for_year): The exdate
and rdate lists are a list of icaltimetypes, not
CalComponentPeriods
*gui/e-day-view.c (e_day_view_on_delete_occurrence): The exdate
list
is a list of icaltimetypes, not CalComponentDateTimes
svn path=/trunk/; revision=5211
|
|
|
|
|
|
|
|
|
| |
2000-09-05 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-component.c (cal_component_free_recur_list): Free
the data, not the list element.
svn path=/trunk/; revision=5203
|
|
|
|
|
|
|
|
|
|
| |
2000-09-05 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-recur.c (cal_recur_generate_instances): Compute
the event duration using the event start/end times, not the
interval times.
svn path=/trunk/; revision=5199
|
|
|
|
|
|
|
|
|
| |
2000-09-05 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-recur.c (cal_recur_from_icalrecurrencetype): Check
to see if r->enddate is (time_t)-1 and set to 0 if so
svn path=/trunk/; revision=5198
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 JP Rosevear <jpr@helixcode.com>
* configure.in: We don't need AC_PROG_RANLIB and
AM_PROG_LIBTOOL
* src/libical/icalyacc.y (clear_recur): Explicitly
set the week_start to the Monday default in case the
recurrence rule does not.
2000-09-01 JP Rosevear <jpr@helixcode.com>
* gui/event-editor.c: Make toolbar save and close button.
We should put a similar menu option in sometime.
2000-08-31 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-recur.c (array_to_list): Use
ICAL_RECURRENCE_ARRAY_MAX instead of MAX_SHORT
svn path=/trunk/; revision=5164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-28 Federico Mena Quintero <federico@helixcode.com>
* cal-client/cal-client.c (cal_client_is_loaded): New function.
We need this from code that dynamically updates from a client and
could not have connected to the "cal_loaded" signal right after
the client was created.
* gui/calendar-model.c (load_objects): Do not try to load the
objects if the client has not been loaded yet.
(cal_loaded_cb): Check the status value.
* gui/calendar-model.h (CalendarModel): Declare the private
structure here so that gdb will give me love.
* pcs/cal-factory.h (CalFactory): Likewise.
* pcs/cal.h (Cal): Likewise.
* cal-client/cal-listener.h (CalListener): Likewise.
* cal-client/cal-client.h (CalClient): Likewise.
* pcs/cal-backend.h (CalBackend): This no longer has a private
structure, so remove it.
* cal-util/Makefile.am (libcal_util_la_SOURCES): Removed the
vCalendar and old iCalendar cruft.
(libcal_utilinclude_HEADERS): Likewise.
Removed the obsolete iCalendar test program.
svn path=/trunk/; revision=5091
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-28 JP Rosevear <jpr@helixcode.com>
* cal-util/timeutil.h: We no longer need time_from_icaltimetype
as libical has the API for this
* cal-util/timeutil.c: ditto
* cal-util/cal-recur.c: Replace time_from_icaltimetype with
icaltime_as_timet
* gui/calendar-model.c: ditto
* gui/event-editor.c: ditto
* gui/gnome-cal.c: ditto
svn path=/trunk/; revision=5090
|
|
|
|
|
|
|
|
| |
2000-08-24 JP Rosevear <jpr@helixcode.com>
* Update for libical 0.19
svn path=/trunk/; revision=5024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-23 JP Rosevear <jpr@helixcode.com>
* gui/event-editor-dialog.glade: Remove status bar
* cal-util/cal-component.c (cal_component_set_rrule_list): Allow
a null list
(cal_component_set_rdate_list): Allow a null list
* gui/e-day-view.c (e_day_view_on_new_appointment): Commit
the CalComponent sequence
svn path=/trunk/; revision=4995
|
|
|
|
| |
svn path=/trunk/; revision=4839
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-util/cal-component.c (cal_component_get_pilot_id):
(cal_component_set_pilot_id): stubs for pilot id accessors
(cal_component_get_pilot_status):
(cal_component_set_pilot_status): stubs for pilot status accessors
* conduits/calendar/calendar-conduit.c (transmit): start to
convert to cal-component interface
* conduits/todo/todo-conduit.c (transmit): same
svn path=/trunk/; revision=4767
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-11 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-model.c (get_geo): Generate a prettier string for
the geographical position.
(get_classification): New function.
(get_categories): New function.
(get_completed): New function.
(get_dtend): New function.
(get_dtstart): New function.
(get_due): New function.
(get_percent): New function.
(get_priority): New function.
(get_summary): New function.
(get_transparency): New function.
(get_url): New function.
(get_has_alarms): New function.
(get_has_recurrences): New function.
(get_is_complete): New function.
(get_is_overdue): New function.
* cal-util/cal-component.c (scan_property): Handle the GEO
property.
(free_icalcomponent): Likewise.
(cal_component_get_geo): Likewise.
(cal_component_set_geo): Likewise.
(cal_component_free_geo): Likewise.
(cal_component_set_exdate_list): Removed incorrect assertion.
(cal_component_set_exrule_list): Removed incorrect assertion.
(cal_component_get_next_alarm): Oops, this had not been
implemented at all.
(cal_component_has_rdates): New function.
(cal_component_has_rrules): New function.
* cal-util/cal-component.h (CalComponentField): Added the GEO
property.
svn path=/trunk/; revision=4763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-11 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (scan_property): Handle the
PERCENT-COMPLETE property.
(free_icalcomponent): Likewise.
(cal_component_get_percent): Likewise.
(cal_component_set_percent): Likewise.
(cal_component_free_percent): Likewise.
(scan_property): Handle the PRIORITY property.
(free_icalcomponent): Likewise.
(cal_component_get_priority): Likewise.
(cal_component_set_priority): Likewise.
(cal_component_free_priority): Likewise.
* cal-util/cal-component.h (CalComponentField): New enumeration
with the list of fields we support for ETable.
svn path=/trunk/; revision=4745
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=4354
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=3630
|
|
|
|
| |
svn path=/trunk/; revision=3593
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2000-06-15 Damon Chaplin <damon@helixcode.com>
* cal-util/Makefile.am (test_recur_LDADD): use libical.a
svn path=/trunk/; revision=3586
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=3555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=3464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=2670
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=2584
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
2000-04-18 Federico Mena Quintero <federico@helixcode.com>
* cal-util/Makefile.am (INCLUDES): Fix include path.
svn path=/trunk/; revision=2491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=2086
|
|
|
|
| |
svn path=/trunk/; revision=2085
|
|
|
|
| |
svn path=/trunk/; revision=2081
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=2033
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-util/Makefile.am: new file -- things shared between
the client and server go in this directory
* calobj.c calobj.h icalendar.c icalendar.h
timeutil.c timeutil.h cal-util.c cal-util.h where moved
backend stuff went into pcs. shared stuff went into
cal-util.
svn path=/trunk/; revision=2032
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-16 Russell Steinthal <rms39@columbia.edu>
* calobj.[ch], eventedit.c, main.c: Change iCalObject.organizer
from char* to iCalPerson*
* calobj.[ch]: Change iCalObject.related from list of char* to
list of iCalRelation*; assorted related fixes
* icalendar.c: interface between libical and the gnomecal
internal representation
svn path=/trunk/; revision=1791
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-10 Federico Mena Quintero <federico@helixcode.com>
* cal-backend.c (cal_backend_add_cal): Connect to the Cal's
destroy signal.
(cal_backend_remove_cal): Killed function now that removal of Cal
objects is done in their destroy callback.
(cal_destroy_cb): New callback to remove a Cal from the backend's
list of clients. Also, the backend destroys itself when there are
no more clients connected to it.
(save): New placeholder function to save a backend.
(destroy): New function to destroy a backend's data.
(cal_backend_destroy): Save the calendar and destroy it.
* cal.c (cal_destroy): Reset the priv->backend to NULL.
* cal-factory.c (add_calendar_client): There is no need to call
cal_backend_remove_cal(); we can now just destroy the Cal object.
(create_fn): Make sure we always unref the URI.
(load_fn): Move the URI unref to the end of the function for
safety.
* cal-factory.c (add_calendar_client): Unref the Cal only if
notification of the listener was unsuccessful. Otherwise, the
calendar user agent (Listener side) keeps the reference.
* tl-test.c (list_uids): Free the calobj.
* cal-client.c (cal_loaded_cb): Use bonobo_object_unref() to get
rid of the listener.
(load_or_create): Likewise.
(destroy_factory): New function to get rid of the factory.
(destroy_listener): New function to get rid of the listener.
(destroy_cal): New function to get rid of the calendar client
interface object.
(cal_client_destroy): Free all resources.
(cal_client_get_object): CORBA_free() the calobj string. Boy, I
love memprof.
* cal-listener.c (cal_listener_destroy): Reset the priv->cal to
CORBA_OBJECT_NIL.
* cal-backend.c (cal_backend_remove_cal): Do not unref the Cal,
since the calendar user agent owns it.
(cal_backend_add_cal): Do not ref the Cal, since the calendar user
agent owns it.
* cal-factory.c (add_calendar_client): Use bonobo_object_unref()
to get rid of the calendar client interface object.
* calobj.c (ical_object_create_from_vobject): Duplicate the
default "PUBLIC" string.
2000-02-09 Federico Mena Quintero <federico@helixcode.com>
* cal-factory.c (cal_factory_load): Added documentation comment.
(load_fn): Do not print a message if the backend could not be
loaded due to a non-fatal error.
(queue_load_create_job): Moved the stuff from cal_factory_load()
to here. Now this function serves to queue load or create
requests.
(cal_factory_load): Use queue_load_create_job().
(cal_factory_create): Implemented; use queue_load_create_job().
(create_fn): New job handler for creating new calendars.
(create_backend): New function to create a new backend with a new
calendar.
(add_backend): New helper function to add backends to the
factory's hash table.
(load_backend): Use add_backend() instead of adding the backend by
ourselves.
* cal-client.c (load_or_create): Moved the functionality from
cal_client_load_calendar() to here, and added an option to create
a new calendar instead of loading an existing one.
(cal_client_load_calendar): Use load_or_create().
(cal_client_create_calendar): Implemented.
* cal-backend.c (cal_backend_create): Implemented.
* evolution-calendar.idl (LoadStatus): Added an IN_USE error for
create requests.
* cal-listener.h (CalListenerLoadStatus): Added CAL_LISTENER_LOAD_IN_USE.
* cal-listener.c (Listener_cal_loaded): Convert the IN_USE error.
* cal-client.h (CalClientLoadStatus): Added CAL_CLIENT_LOAD_IN_USE.
* cal-client.c (cal_loaded_cb): Handle CAL_LISTENER_LOAD_IN_USE.
* tl-test.c: New test program for the calendar client side; it
also exercises the server side by sending commands to it.
* Makefile.am: Added the tl-test program.
* tlacuache.gnorba: Updated.
* tlacuache.c (create_cal_factory): Use the right GOAD id.
* cal-client.c (cal_client_construct): Use the right GOAD id.
svn path=/trunk/; revision=1732
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-08 Federico Mena Quintero <federico@helixcode.com>
* evolution-calendar.idl (Cal): Added get_uids() method to get a
list of UIDs based on object types.
* cal-backend.c (cal_backend_get_uids): Implemented get_uids() in
the backend.
* cal.c (Cal_get_uids): Implemented get_uids() method.
* cal-client.c (cal_client_get_uids): Implemented client-side
function.
* cal-util.c (cal_obj_instance_list_free): Doh. Free the list,
not the last link.
(cal_obj_uid_list_free): New function to free a list of UIDs.
* GnomeCal.idl (Repository): Removed unused method
get_object_by_id_list(). This is just for cleanup purposes and to
remind me exactly of what needs to be moved over to
evolution-calendar.idl.
(Repository): Removed unused get_objects() method.
* corba-cal.c (init_calendar_repo_class): Removed the unused
get_objects method.
* calobj.h (CalObjFindStatus): New status value enumeration for
the find function.
* calobj.c (ical_object_find_in_string): New function to parse a
complete calendar and find a calendar object in it. This should
be used instead ical_object_new_from_string() in the future.
* evolution-calendar.idl (CalObjInstance): Added an uid field.
Now the idea is that whenever calendar object strings are passed
around, their UIDs are passed along with them so that the actual
object can be pulled from the whole VCAL object using its UID to
identify it.
* cal-util.h (CalObjInstance): Added uid field.
* cal-util.c (cal_obj_instance_list_free): Free the UIDs.
* cal-backend.c (build_event_list): Store the object's UID in the
instance structure.
* cal.c (Cal_get_events_in_range): Copy the UID field to the CORBA
structure.
* cal-client.c (cal_client_get_events_in_range): Copy the UID
field from the CORBA structure.
* main.c (gnome_cal_file_menu): Removed unfinished html-month stuff.
* Makefile.am (gnomecal_SOURCES): Removed html-month.c.
* gnome-cal.c: #include "alarm.h"
(mail_notify): Made static.
* alarm.h: #include "calobj.h"
* corba-cal-factory.h (init_corba_server): Fixed prototype.
* quick-view.c (create_items_for_event): Made static.
* gncal-todo.c (column_resized): Made static.
* layout.c (find_index): Made static.
svn path=/trunk/; revision=1699
|
|
|
|
|
|
|
|
|
| |
Since there are now some calls from prop.c into previously static functions in
eventedit.c, the code in those files should probably be reorganized. Perhaps a
new alarm-utils.c file? In any case, this commits working code to the
repository before we reorganize.
svn path=/trunk/; revision=1366
|
|
|
|
| |
svn path=/trunk/; revision=1265
|
|
|
|
|
|
| |
Changed pilotid in calobj to guint32.
svn path=/trunk/; revision=1240
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gncal/Makefile.am: added sources to calendar-conduit
* gncal/calendar-conduit.c: imported Miguels update_record
function
* gncal/corba-cal.c: fixed a grave bug in exception throwing,
which cause ORBit to sigsegv.
svn path=/trunk/; revision=1229
|
|
|
|
|
|
|
|
| |
1999-08-15 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_gen_uid): Fix the hostname part.
svn path=/trunk/; revision=1116
|
|
|
|
|
|
|
|
|
|
| |
Lots of more work on the sync stuff. It works pretty well now.
I dont know why my pilot is not accepting the events I send to it though
Miguel.
svn path=/trunk/; revision=1040
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-07-28 Miguel de Icaza <miguel@gnu.org>
* calendar-pilot-sync.c: New file. Implements PalmPilot
syncronization with the Gnome Calendar.
1999-07-27 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_object_new_from_string): New function. Creates
an iCalObject from a vCalendar string that is supposed to contain
only one vEvent.
* calendar.c:
(calendar_save): Split this routine in two.
* gnome-cal.c (gnome_calendar_new): Create the corba server here.
* main.c: Include gnorba.h, and corba-cal-factory.h here
(close_cmd): Kill the calendar server on shutdown.
* calobj.c (load_recur_yearly_day): Added a fixme comment. WE
need to handle intervals in the years.
* calendar.c (calendar_object_find_in_list, calendar_object_find,
calendar_object_find_todo, calendar_object_find_event): New
functions for looking up information.
* main.c (gnome_calendar_locate): New function.
* corba-cal.c (calendar_create_object): New file. Implements the
corba server.
* calendar.c (calendar_object_changed): Flag pilot-status as changed.
* calobj.c (ical_object_to_vobject): Save pilot information for syncing.
(ical_object_create_from_vobject): Load syncing information for
pilot. Do it in a way compatible with KOrganizer.
1999-07-26 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_object_create_from_vobject): Generate unique IDs
on Vevents we load that lack it. WE need this for the old
gnome calendar generated files (ie, before now :-).
svn path=/trunk/; revision=1038
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-07-26 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_object_create_from_vobject): Generate unique IDs
on Vevents we load that lack it. WE need this for the old
gnome calendar generated files (ie, before now :-).
Required to sync with the Palm
svn path=/trunk/; revision=1037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed gnome-pim.keys to use the --file flag
1999-07-14 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_gen_uid): Returns a UID.
(ical_object_new): Use a UID when creating an event. Should get
syncing done easier.
1999-07-14 Nicholas J Kreucher <nick@poetic.com>
* calobj.c (skip_numbers): Actually skip over the numbers.
(ical_object_to_vobject): Test the proper variable for storing the
proper information.
svn path=/trunk/; revision=1027
|
|
|
|
|
|
|
|
| |
1999-06-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c (daynumberlist): One line bug fix from Sergey I Panov.
svn path=/trunk/; revision=969
|
|
|
|
|
|
|
|
|
|
| |
1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c (daynumberlist): Work around broken software that
writes a broken month-of-day as "zero". Use the dtstart date for
this on this event.
svn path=/trunk/; revision=963
|
|
|
|
|
|
|
|
|
| |
1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c (load_recurrence): Make intervals always exist. a 0
interval is wrong.
svn path=/trunk/; revision=942
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-04-01 Steve Murphy <murf@e-tools.com>
* calobj.c (weekdaynum): Added this routine so Monthly recurrences
use the weekday field as a simple integer for a single weekday.
* calobj.c (load_recur_monthly_pos): Call weekdaynum instead of
weekdaylist. The interface only lets the user input a single value
anyway.
* calobj.c (ical_object_to_vobject): instead of code to output day
names from a bit array, use instead the value as an int and output
a single dayname.
* calobj.c (ical_object_generate_events): first_week_day gets the
day int instead of the first entry in the bit field. I inserted a
fair chunk of code to avoid calling generate if the day is out of
range for a month. It may be unneccessary, because mktime will
turn the extra days into a valid date the next month. But not all
mktimes are equal, I fear.
* eventedit.c (ee_store_recur_rule_to_ical): For case 3,
(Monthly), I added code to set the interval slot of the recur
struct; without this value, selecting a monthly recursing, by
date, would lead to an infinite loop broken only by a failure to
alloc more memory. Also, in the "by position" case, both
u.month_pos and u.month_day were being assigned values. This is a
mistake, as they are both part of an union, and the same
thing. The weekday field should get the recur_rr_month_weekday
value.
* eventedit.c (ee_rp_init_rule): set default day from the weekday
field instead of the u.month_day field, which is really the
month_pos value.
* gnome-cal.c (gnome_calendar_tag_calendar): Month days start with
1, not 0; thus, setting tm.tm_mday = 0, and then calling mktime
will generate a time corresponding to the end of the previous
month, which may have a mday anywhere from 28 to 31. The end time
just adds 1 to the month, so your end time may not cover the last
few days of this month, depending on what the biggest mday of last
month was. I changed it so tm_mday is set to 1 instead.
1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
svn path=/trunk/; revision=792
|
|
|
|
|
|
|
|
|
| |
1999-03-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* gncal/calobj.c: Include <config.h> so that strings get translated.
* po/pt.po: Correct spelling.
svn path=/trunk/; revision=781
|
|
|
|
|
|
|
|
|
|
|
| |
1999-03-23 Tomas Ogren <stric@ing.umu.se>
* gnomecal/calobj.c: Added 2 paranthesis..
"foobar = d / 60*60" is _NOT_ the same as "foobar = d / (60*60)"
which caused heavy alarm-corruption with alarms between 2 hrs and
2 days.
svn path=/trunk/; revision=776
|
|
|
|
|
|
|
| |
* timeutil.c, calendar.c, calobj.c, gncal-day-panel.c: Add support
for daylight time savings.
svn path=/trunk/; revision=756
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c (ical_object_to_vobject): Save the owner/organizer of
the event.
(ical_object_create_from_vobject): Load the owner/organizer of the event.
* gncal-full-day.c (delete_occurance): Assign child to data (fixes
crash on "delete this occurrance").
svn path=/trunk/; revision=689
|
|
|
|
|
|
| |
Dr Mike <drmike@redhat.com>
svn path=/trunk/; revision=518
|
|
|
|
|
|
|
|
| |
1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c: Add ctype.h
svn path=/trunk/; revision=465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-10-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* timeutil.c (time_day_begin): Changed name from
time_start_of_day() to be consistent with the other begin/end functions.
(time_day_end): Likewise.
* calobj.c (ical_object_get_first_weekday): New public function to
get the first toggled day in a weekday mask. Since we do not
support multiple weekdays in a monthly-by-pos rule, we just fetch
the first toggled one.
(ical_object_generate_events): Added a missing break statement.
* timeutil.c (time_month_end): Made it consistent with the rest of
the time begin/end functions -- now it returns the first second of
the *next* month.
(time_week_end): Actually implemented this function. It will be
used when the week view is rewritten.
* calobj.c (time_in_range): Fix off-by-one in the comparison of
the time against the end time.
* gncal-full-day.c (expand_space): Fixed bug where the columns not
were being expanded due to a missing "slot + j".
svn path=/trunk/; revision=425
|
|
|
|
| |
svn path=/trunk/; revision=328
|
|
|
|
|
|
|
|
|
| |
1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* calobj.c (ical_object_generate_events): Fix for the weekly event
generation. Was reported on the bug tracking system.
svn path=/trunk/; revision=237
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-cal.c (mark_gtk_calendar_day): Bug free version of the
range computation in place.
* gncal-year-view.c (year_view_mark_day): Use the same new version
of the range computation here.
* calobj.c (ical_object_generate_events): Fix the begin/end
condition.
svn path=/trunk/; revision=215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
* timeutil.c (isodate_from_time_t): Do not add the spurious
padding.
* calobj.c (store_date_list): Bug fix: I was using the wrong
pointer when saving the exception date list.
(set_date_list): Bug fix: load correctly the complete exception
date list.
(set_date_list): Use ',' for the exception date separator as the
versit people can not get their standard right.
* gncal-full-day.c (unrecur_appointment): Support for making an
existing recurrent event `movable' for a day.
* calobj.c (ical_object_add_exdate): New routine, used to add
exception dates.
(ical_object_duplicate): New routine: used to do the magic
recur->no-recur event.
svn path=/trunk/; revision=214
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-05-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gncal-day-panel.c (update): Draw the day at startup.
(gncal_day_panel_set): Fix selected-day display.
(gncal_day_panel_new): Switch day on double clicks, not on single
clicks.
* calobj.c (ical_object_compute_end): Removed debug messages.
svn path=/trunk/; revision=205
|
|
|
|
|
|
|
|
|
| |
Fixed alarm saving code.
Fixed alarm loading code.
New -partial- implementation of the mail alarm.
It is not working, I do not know what is closing stdin to sendmail
svn path=/trunk/; revision=194
|
|
|
|
| |
svn path=/trunk/; revision=190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lots of changes:
1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
1. gEdit got Gnomified: gnome-stock, gnome-app, i18n
tretment + integration into gnome-utils compilation.
Original configure.in is still there for Alex/Evans to
redistribute as Gtk App (I tried to ifdef gnome code).
2. gHex: warning fixes + crash fixes + i18n fixes.
3. GnCal: week view shows date range (needs some fixing);
changed the day view order; other stuff I dont remember
4. GTop: more i18n treatmnet.
5. Updated Spanish translation.
svn path=/trunk/; revision=178
|