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
218 lines
6.2 KiB
Makefile
218 lines
6.2 KiB
Makefile
## CORBA stuff
|
|
|
|
IDLS = \
|
|
$(top_srcdir)/composer/Evolution-Composer.idl \
|
|
$(top_srcdir)/calendar/idl/evolution-calendar.idl \
|
|
$(top_srcdir)/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
|
|
|
|
IDL_GENERATED = \
|
|
Evolution-Composer.h \
|
|
Evolution-Composer-common.c \
|
|
Evolution-Composer-skels.c \
|
|
Evolution-Composer-stubs.c \
|
|
Evolution-Addressbook-SelectNames.h \
|
|
Evolution-Addressbook-SelectNames-common.c \
|
|
Evolution-Addressbook-SelectNames-skels.c \
|
|
Evolution-Addressbook-SelectNames-stubs.c \
|
|
evolution-calendar.h \
|
|
evolution-calendar-common.c \
|
|
evolution-calendar-skels.c \
|
|
evolution-calendar-stubs.c
|
|
|
|
$(IDL_GENERATED): $(IDLS)
|
|
$(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \
|
|
$(srcdir)/../../composer/Evolution-Composer.idl
|
|
$(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \
|
|
$(top_srcdir)/calendar/idl/evolution-calendar.idl
|
|
$(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \
|
|
$(top_srcdir)/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl
|
|
|
|
BUILT_SOURCES = $(IDL_GENERATED)
|
|
|
|
SUBDIRS = alarm-notify dialogs
|
|
|
|
help_base = $(datadir)/gnome/help/cal
|
|
|
|
bin_PROGRAMS = evolution-calendar
|
|
|
|
INCLUDES = \
|
|
-DG_LOG_DOMAIN=\"calendar-gui\" \
|
|
-I$(top_builddir)/shell \
|
|
-I$(top_srcdir)/shell \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/calendar \
|
|
-I$(top_srcdir)/calendar/cal-client \
|
|
-I$(top_builddir)/calendar/cal-client \
|
|
-I$(top_srcdir)/libical/src/libical \
|
|
-I$(top_builddir)/libical/src/libical \
|
|
-I$(top_srcdir)/addressbook/backend/ebook \
|
|
-I$(top_builddir)/addressbook/backend/ebook \
|
|
-I$(top_srcdir)/widgets \
|
|
-I$(includedir) \
|
|
$(BONOBO_HTML_GNOME_CFLAGS) \
|
|
$(GNOME_VFS_CFLAGS) \
|
|
$(GAL_CFLAGS) \
|
|
$(BONOBO_CONF_CFLAGS) \
|
|
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
|
|
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
|
|
-DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \
|
|
-DEVOLUTION_ICONSDIR=\""$(iconsdir)"\" \
|
|
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
|
|
-DEVOLUTION_IMAGESDIR=\""$(datadir)"/images/evolution\"
|
|
|
|
iconsdir = $(datadir)/images/evolution
|
|
|
|
gladedir = $(datadir)/evolution/glade
|
|
glade_DATA = \
|
|
e-itip-control.glade \
|
|
goto-dialog.glade
|
|
|
|
etspecdir = $(datadir)/evolution/etspec/
|
|
etspec_DATA = e-calendar-table.etspec e-meeting-time-sel.etspec
|
|
|
|
evolution_calendar_SOURCES = \
|
|
$(IDL_GENERATED) \
|
|
cal-search-bar.c \
|
|
cal-search-bar.h \
|
|
calendar-config.c \
|
|
calendar-config.h \
|
|
calendar-commands.c \
|
|
calendar-commands.h \
|
|
calendar-model.c \
|
|
calendar-model.h \
|
|
calendar-offline-handler.c \
|
|
calendar-offline-handler.h \
|
|
calendar-view.c \
|
|
calendar-view.h \
|
|
calendar-view-factory.c \
|
|
calendar-view-factory.h \
|
|
comp-editor-factory.c \
|
|
comp-editor-factory.h \
|
|
comp-util.c \
|
|
comp-util.h \
|
|
control-factory.c \
|
|
control-factory.h \
|
|
component-factory.c \
|
|
component-factory.h \
|
|
e-calendar-table.h \
|
|
e-calendar-table.c \
|
|
e-cell-date-edit-text.h \
|
|
e-cell-date-edit-text.c \
|
|
e-day-view-layout.c \
|
|
e-day-view-layout.h \
|
|
e-day-view-main-item.c \
|
|
e-day-view-main-item.h \
|
|
e-day-view-time-item.c \
|
|
e-day-view-time-item.h \
|
|
e-day-view-top-item.c \
|
|
e-day-view-top-item.h \
|
|
e-day-view.c \
|
|
e-day-view.h \
|
|
e-itip-control.h \
|
|
e-itip-control.c \
|
|
e-meeting-attendee.c \
|
|
e-meeting-attendee.h \
|
|
e-meeting-model.c \
|
|
e-meeting-model.h \
|
|
e-meeting-time-sel.c \
|
|
e-meeting-time-sel.h \
|
|
e-meeting-time-sel-item.c \
|
|
e-meeting-time-sel-item.h \
|
|
e-meeting-types.h \
|
|
e-week-view-event-item.c \
|
|
e-week-view-event-item.h \
|
|
e-week-view-layout.c \
|
|
e-week-view-layout.h \
|
|
e-week-view-main-item.c \
|
|
e-week-view-main-item.h \
|
|
e-week-view-titles-item.c \
|
|
e-week-view-titles-item.h \
|
|
e-week-view.c \
|
|
e-week-view.h \
|
|
e-tasks.c \
|
|
e-tasks.h \
|
|
e-timezone-entry.c \
|
|
e-timezone-entry.h \
|
|
gnome-cal.c \
|
|
gnome-cal.h \
|
|
goto.c \
|
|
goto.h \
|
|
itip-control-factory.c \
|
|
itip-control-factory.h \
|
|
itip-utils.c \
|
|
itip-utils.h \
|
|
main.c \
|
|
print.c \
|
|
print.h \
|
|
tag-calendar.c \
|
|
tag-calendar.h \
|
|
tasks-control-factory.c \
|
|
tasks-control-factory.h \
|
|
tasks-control.c \
|
|
tasks-control.h \
|
|
tasks-migrate.c \
|
|
tasks-migrate.h \
|
|
weekday-picker.c \
|
|
weekday-picker.h
|
|
|
|
evolution_calendar_LDADD = \
|
|
alarm-notify/libalarm.a \
|
|
$(DB3_LDADD) \
|
|
$(top_builddir)/widgets/menus/libmenus.la \
|
|
$(top_builddir)/shell/libeshell.la \
|
|
$(top_builddir)/calendar/cal-client/libcal-client.la \
|
|
$(top_builddir)/calendar/cal-util/libcal-util.la \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/libversit/libversit.la \
|
|
$(top_builddir)/libical/src/libical/libical.la \
|
|
$(top_builddir)/libwombat/libwombat.la \
|
|
$(top_builddir)/addressbook/backend/ebook/libebook.la \
|
|
$(top_builddir)/camel/libcamel.la \
|
|
$(top_builddir)/libibex/libibex.la \
|
|
$(top_builddir)/libversit/libversit.la \
|
|
$(top_builddir)/e-util/ename/libename.la \
|
|
dialogs/libcal-dialogs.a \
|
|
$(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.a \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(BONOBO_HTML_GNOME_LIBS) \
|
|
$(GNOME_VFS_LIBS) \
|
|
$(BONOBO_CONF_LIBS) \
|
|
$(GAL_LIBS) \
|
|
$(INTLLIBS)
|
|
|
|
evolution_calendar_LDFLAGS = -export-dynamic
|
|
|
|
oafdir = $(datadir)/oaf
|
|
oaf_in_files = \
|
|
GNOME_Evolution_Calendar.oaf.in
|
|
|
|
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
|
|
|
|
@XML_I18N_MERGE_OAF_RULE@
|
|
|
|
EXTRA_DIST = \
|
|
$(glade_DATA) \
|
|
$(etspec_DATA) \
|
|
$(oaf_in_files)
|
|
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(help_base)/C
|
|
$(mkinstalldirs) $(Conduitsdir)
|
|
|
|
if ENABLE_PURIFY
|
|
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
all-local: evolution-calendar.pure
|
|
|
|
evolution-calendar.pure: evolution-calendar
|
|
@rm -f evolution-calendar.pure
|
|
$(PLINK) $(evolution_calendar_LDFLAGS) $(evolution_calendar_OBJECTS) $(evolution_calendar_LDADD) $(LIBS)
|
|
|
|
endif
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
dist-hook:
|
|
cd $(distdir); rm -f $(BUILT_SOURCES)
|