aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
Commit message (Collapse)AuthorAgeFilesLines
* hook the radio buttons to the pages of the notebook. (append_exception):Seth Alves2000-05-172-59/+211
| | | | | | | | | | | | | | | | | | * gui/event-editor.c (recurrence_toggled): hook the radio buttons to the pages of the notebook. (append_exception): (recurrence_exception_added): (recurrence_exception_deleted): (recurrence_exception_changed): code to deal with the recurrence exception list. * gui/event-editor.[ch]: gladeified replacement for eventedit.c * gui/event-editor-utils.[ch]: utilities used by event-editor.c * gui/event-editor-dialog.glade: glade file used by event-editor.c svn path=/trunk/; revision=3092
* Forgot include file - FedericoFederico Mena Quintero2000-05-161-0/+1
| | | | svn path=/trunk/; revision=3075
* Speak no evil - FedericoFederico Mena Quintero2000-05-161-0/+3
| | | | svn path=/trunk/; revision=3074
* Alarm stuff I had not cvs added, sigh - FedericoFederico Mena Quintero2000-05-1612-4/+1132
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (display_notification): Use the alarm notification dialog. (display_notification_cb): New callback for the result of the alarm notification dialog. * gui/dialogs/alarm-notify.glade: New file with the alarm notification dialog. * gui/dialogs/alarm-notify-dialog.[ch]: New file. * gui/dialogs/Makefile.am: New file. * gui/Makefile.am (SUBDIRS): Added the dialogs directory. 2000-05-13 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (trigger_alarm_cb): Better error checking, and plug leaks of str_ico and ico. * gui/evolution-calendar-control.c (main): Initialize libglade. svn path=/trunk/; revision=3072
* gladeified replacement for eventedit.cSeth Alves2000-05-1610-8/+2709
| | | | | | | | | | * gui/event-editor.[ch]: gladeified replacement for eventedit.c * gui/event-editor-utils.[ch]: utilities used by event-editor.c * gui/event-editor-dialog.glade: glade file used by event-editor.c svn path=/trunk/; revision=3046
* Added version and availability of required libunicode library.Matt Loper2000-05-131-57/+38
| | | | | | | | | | | | | | | | | | | | 2000-05-10 Matt Loper <matt@helixcode.com> * README: Added version and availability of required libunicode library. 2000-05-10 Dan Winship <danw@helixcode.com> * configure.in: Update versions needed for gnome-print, bonobo, and gtkhtml. 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * HACKING: We need a HACKING file. 2000-05-10 Christopher James Lahey <clahey@helixcode.com> svn path=/trunk/; revision=3008
* New function to add today's alarms for a single object.Federico Mena Quintero2000-05-121-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (add_alarms_for_object): New function to add today's alarms for a single object. (gnome_calendar_object_updated_cb): Update the object's alarms. * idl/evolution-calendar.idl (Cal): Added a get_alarms_for_object() method. * pcs/cal.c (Cal_get_alarms_for_object): Implemented method. * pcs/cal-backend.c (cal_backend_get_alarms_for_object): New function. * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_for_object): Implemented. * cal-client/cal-client.c (cal_client_get_alarms_for_object): New function. svn path=/trunk/; revision=3003
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-121-1/+0
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Removed unused arguments. Load the initial alarms here. (load_alarms): NewFederico Mena Quintero2000-05-1211-468/+900
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_update_all): Removed unused arguments. Load the initial alarms here. (load_alarms): New function to load a day's worth of alarms. (gnome_calendar_class_init): Eeeek! This was taking in an incorrect argument type. (gnome_calendar_init): Now the calendar keeps a hash table of UIDs->queued alarms. Create the hash table here. (gnome_calendar_destroy): Destroy the alarms hash table. (gnome_calendar_object_updated_cb): Remove the alarms for the object and regenerate them. (gnome_calendar_object_removed_cb): Remove the alarms for the object. * gui/alarm.c (alarm_add): Do not take in a CalendarAlarm, just the trigger time, the callback and the closure data. Return an opaque identifier for the alarm so that it can be removed by the client code if needed. Use the queue_alarm() helper function. (queue_alarm): Helper function to actually queue the alarm and set up the itimer. Deal with a nonzero return value from setitimer(). (alarm_remove): New function to remove an alarm based on its ID. (pop_alarm): New helper function; pops the first alarm of the queue and resets the timer as appropriate. (alarm_ready): Simplified a lot by using pop_alarm(). * idl/evolution-calendar.idl (Cal): Added get_alarms_in_range(). * pcs/cal.c (build_instance_seq): New function to build a CORBA sequence from the internal list of instances. (Cal_get_events_in_range): Use build_instance_seq(). (Cal_get_alarms_in_range): Implemented new method. * pcs/cal-backend.c (cal_backend_get_alarms_in_range): New function with the get_alarms_in_range() engine. * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_in_range): Implemented the get_alarms_in_range() method. * cal-client/cal-client.c (cal_client_get_alarms_in_range): New client-side function for getting the alarms. (build_instance_list): New helper function to build the CalObjInstance list from the CORBA sequence. (cal_client_get_events_in_range): Use build_instance_list(). * gui/calendar-commands.h: #include <cal-util/calobj.h>. #include "gnome-cal.h". * gui/e-week-view.c: #include "calendar-commands.h" instead of main.h; the latter is an obsolete file and will be killed. * gui/evolution-calendar-control.c (main): Call init_bonobo() before anything else. We need the GTK+ object system initialized. * gui/Makefile.am (evolution_calendar_SOURCES): Do not use main.h. * cal-util/cal-util.c (cal_alarm_instance_list_free): New function. svn path=/trunk/; revision=2987
* Move "about" menuitem to the help menu.Matthew Loper2000-05-111-1/+1
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): Move "about" menuitem to the help menu. svn path=/trunk/; revision=2970
* Removed dist-hook section.Christopher James Lahey2000-05-101-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* call e_day_view_stop_editing_event here to avoid a divide by zero a bitSeth Alves2000-05-091-0/+6
| | | | | | | | * gui/e-day-view.c (e_day_view_on_delete_appointment): call e_day_view_stop_editing_event here to avoid a divide by zero a bit further on. i'm not sure if this is the best fix for this. svn path=/trunk/; revision=2922
* CalBackendClass now is just an interface for calendar backends; this is anFederico Mena Quintero2000-05-091-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-08 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend.h (CalBackendClass): CalBackendClass now is just an interface for calendar backends; this is an abstract class. Put in the vtable for the backend methods. * pcs/cal-backend.c (cal_backend_new): Removed function, since CalBackend is not just an abstract class. Removed implementation-specific functions and made public functions call the virtual methods instead. * pcs/cal-backend-imc.[ch]: New files with the CalBackendIMC implementation; this implements a backend for iCalendar and vCalendar files. Moved the implementation-specific stuff from cal-backend.[ch] to here. * pcs/cal-backend-imc.c (CalendarFormat): Moved enumeration to here. Added a CAL_UNKNOWN value for when the backend is not loaded yet. (cal_backend_imc_init): Initialize priv->format as CAL_UNKNOWN. (save_to_vcal): Use the same VCProdIdProp value as in cal-util/calobj.c. Use "1.0" as the VCVersionProp as per the vCalendar spec. (ensure_uid): Return nothing, since the result value need not be used anymore. (add_object): Since we mark the calendar as dirty anyways, we do not need to check the result value of ensure_uid() anymore. (remove_object): Asssert that we know how to handle the object's type. We do this in add_object() anyways. * pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-imc.[ch]. * gui/gnome-cal.c: Replaced debugging printf()s with g_message() so that we can see the line number where they occur. * gui/gnome-cal.c (gnome_calendar_load_cb): Sort of handle the LOAD_METHOD_NOT_SUPPORTED result code, and added a default for the switch. * cal-client/cal-listener.h (CalListenerLoadStatus): Removed enumeration; it is stupid to translate all values for the CalClient when it is going to translate them again. (CalListenerClass::cal_loaded): This signal now passes the LoadStatus directly from the CORBA side. * cal-client/cal-listener.c (Listener_cal_loaded): Do not translate the status value. * cal-client/cal-client.h (CalClientLoadStatus): Added the CAL_CLIENT_LOAD_METHOD_NOT_SUPPORTED error code. * cal-client/cal-client.c (cal_loaded_cb): Translate the CORBA version of the LoadStatus result code. * pcs/cal-factory.c (CalFactoryPrivate): New methods field for the hash table from method strings to the GtkTypes for backend class types. (cal_factory_init): Create the priv->methods hash table. (cal_factory_destroy): Free the priv->methods hash table. (cal_factory_register_method): New function to register a backend class for a particular URI method. (launch_backend_for_uri): New function to launch a backend for a particular URI's method. (load_backend): Use launch_backend_for_uri(). Move the error notification code from load_fn() to here. (create_backend): Use launch_backend_for_uri(). Move the error notification code form create_fn() to here; it is #ifdefed out since currently cal_backend_create() does not have any error reporting capabilities. * idl/evolution-calendar.idl (Listener::LoadStatus): Added a PROTOCOL_NOT_SUPPORTED error code. * pcs/cal-factory.c (cal_factory_load cal_factory_create): Removed functions, since they were supposed to be internal only. (CalFactory_load): Call queue_load_create_job() directly. (CalFactory_create): Likewise. svn path=/trunk/; revision=2921
* don't set the ico->uid to NULL or we won't find any other occurrences ofDamon Chaplin2000-05-093-10/+11
| | | | | | | | | | | | | | | | | 2000-05-08 Damon Chaplin <damon@helixcode.com> * gui/e-week-view.c (e_week_view_remove_event_cb): * gui/e-day-view.c (e_day_view_remove_event_cb): don't set the ico->uid to NULL or we won't find any other occurrences of the event. Set the editing_event_day/num to -1 instead. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the positioning of the icons for long events. * cal-util/calobj.c (ical_object_normalize_summary): forgot to terminate the string. svn path=/trunk/; revision=2920
* show the EText item, just in case it hasn't moved, otherwise it won'tDamon Chaplin2000-05-082-3/+14
| | | | | | | | | | | | | | 2000-05-07 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): (e_day_view_on_top_canvas_drag_data_received): show the EText item, just in case it hasn't moved, otherwise it won't appear. * gui/e-day-view.h (E_DAY_VIEW_BAR_WIDTH): increased from 6 to 8 to make it easier to drag an event. Also increased E_DAY_VIEW_GAP_WIDTH since it must be >= the BAR_WIDTH. svn path=/trunk/; revision=2878
* + * gui/evolution-calendar-control.c (PROPERTY_CALENDAR_URI):Matthew Loper2000-05-071-2/+6
| | | | | | | | + Changed to "folder_uri" from "calendar_uri". + (set_prop): The uri given to us is a directory, so we append a + filename onto the end before we use it. svn path=/trunk/; revision=2852
* ignore evolution-calendar.pureChris Toshok2000-05-072-0/+13
| | | | | | | | * gui/.cvsignore: ignore evolution-calendar.pure * gui/Makefile.am: add support for building evolution-calendar.pure svn path=/trunk/; revision=2834
* finish editing event when user hits Return key.Damon Chaplin2000-05-074-79/+63
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: * gui/e-week-view.c: finish editing event when user hits Return key. (e_week_view_on_text_item_event): stop event signals after doing any other calls, since otherwise it will also stop any other resulting event signals. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't draw the start/end times while editing. * gui/eventedit.c: changed the Summary field to a GtkEntry, since we now only want a single line of text. * cal-util/calobj.c (ical_object_normalize_summary): new function to convert the summary field to a single line of text, by converting any sequence of CR & LF characters to a single space. (ical_object_create_from_vobject): call the above function. I think all functions that load iCalObjects go through this. (ical_new): called it here as well just in case. svn path=/trunk/; revision=2827
* removed.Damon Chaplin2000-05-062-163/+0
| | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/week-view.[hc]: removed. svn path=/trunk/; revision=2826
* removed old calendar view files.Damon Chaplin2000-05-0612-4075/+0
| | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/gncal-day-panel.[hc]: * gui/gncal-day-view.[hc]: * gui/gncal-full-day.[hc]: * gui/gncal-week-view.[hc]: * gui/layout.[hc]: * gui/view-utils.[hc]: removed old calendar view files. svn path=/trunk/; revision=2825
* added guint ref_count to iCalObject struct, and ical_object_ref/unref()Damon Chaplin2000-05-069-90/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.[hc]: added guint ref_count to iCalObject struct, and ical_object_ref/unref() functions. I've updated all the gui/ stuff to use ref_counts but I haven't touched the pcs/ stuff. Maybe just using ical_object_destroy() is OK there. * gui/gncal-todo.c: * gui/calendar-commands.c: * gui/eventedit.c: * gui/e-week-view.c: * gui/e-day-view.c: use refcounting for iCalObjects. * gui/e-day-view-main-item.c: * gui/e-day-view-top-item.c: * gui/e-day-view.c: try not to ever draw outside the event, even when the event is very small. 2000-05-05 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: don't allow recurring events to be resized or dragged, and don't show the resize/drag cursors. Actually it may be better to let the user do the resize/drag and then ask them what they want to do - change the single occurrence or the entire series. * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu): use e_auto_kill_popup_menu_on_hide() to destroy the popup menu. * gui/popup-menu.c: include e-gui-utils.h svn path=/trunk/; revision=2823
* ignore the .pure directoryChris Toshok2000-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* for the long events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.Damon Chaplin2000-05-057-90/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set the active radio button here. Oops - it wasn't a Bonobo problem afterDamon Chaplin2000-05-035-35/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-02 Damon Chaplin <damon@helixcode.com> * gui/calendar-commands.c (calendar_control_activate): set the active radio button here. Oops - it wasn't a Bonobo problem after all. * gui/popup-menu.c (popup_menu): added call to e_auto_kill_popup_menu_on_hide() to destroy the menu. * gui/e-week-view.c (e_week_view_show_popup_menu): * gui/e-day-view.c (e_day_view_on_event_right_click): ico->user_data isn't useful any more, since the event editor keeps its own iCalObject. So for now we make the menu commands available even when the event is being edited in the event editor. Also corrected misspellings of 'occurance' -> 'occurrence'. * gui/eventedit.c (event_editor_destroy): destroy the iCalObject. The event editor now uses its own independent iCalObject. * gui/e-week-view.c (e_week_view_on_unrecur_appointment): * gui/e-day-view.c (e_day_view_on_unrecur_appointment): create a new uid for the new single instance. I'm not sure what we should do about the creation/last modification times of the objects. * gui/e-week-view.c (e_week_view_on_edit_appointment): * gui/e-day-view.c (e_day_view_on_edit_appointment): duplicate the iCalObject before passing it to the event editor, since it will change the fields. If we don't duplicate it we won't know what has changed when we get the "update_event" callback. * gui/e-week-view.c (e_week_view_key_press): * gui/e-day-view.c (e_day_view_key_press): set the created and last_mod times of the new iCalObject. We may want to set the default alarm as well. * cal-util/calobj.c (ical_gen_uid): made this function public so we can generate new uids if necessary. svn path=/trunk/; revision=2759
* new function to get the currently seleted time range form the currentDamon Chaplin2000-05-017-46/+160
| | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new function to get the currently seleted time range form the current view. * gui/calendar-commands.c (display_objedit): use the above function to get the time for the new appointment. * gui/e-week-view.c: * gui/e-day-view.c: use a shallow copy of the ico when we update the times (when resizing/dragging). Otherwise we won't detect that the time has changed in the "update_event" callback. Also added functions to get the currently selected time range. svn path=/trunk/; revision=2712
* new function to see if the event dates have changed (including anyDamon Chaplin2000-05-0110-172/+812
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-01 Damon Chaplin <damon@helixcode.com> * cal-util/calobj.c (ical_object_compare_dates): new function to see if the event dates have changed (including any recurrence rules). It is used for optimization when we get the "object_changed" signal. We have to do far less work if the dates are unchanged. * gui/e-week-view.c: * gui/e-day-view.c: only draw the selection when we have the keyboard focus, since the user expects to be able to type in a new event when the selection is shown. Also keep the selection when we lose focus, but just don't show it. Also quite a few changes to cope with the new client/server architecture. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): * gui/e-day-view-main-item.c (e_day_view_main_item_draw): * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): only draw the selection if the widget has the keyboard focus. * gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with events longer than one day. And changed the code for updating events in the new views. svn path=/trunk/; revision=2701
* updated Danish stringsPablo Saratxaga2000-04-301-1/+1
| | | | svn path=/trunk/; revision=2682
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-287-16/+163
| | | | svn path=/trunk/; revision=2673
* compare iCalObjects by their UIDs instead of by their pointers.Seth Alves2000-04-261-1/+4
| | | | | | | * 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
* hook for widget destroy -- used to unref the CalClient so wombat knows weSeth Alves2000-04-262-11/+33
| | | | | | | | * gui/gnome-cal.c (gnome_calendar_destroy): hook for widget destroy -- used to unref the CalClient so wombat knows we are gone. (gnome_calendar_class_init): added a class init for this widget. svn path=/trunk/; revision=2613
* allow for null icoSeth Alves2000-04-263-3/+3
| | | | | | | | * gui/e-day-view.c (e_day_view_update_event): allow for null ico * gui/e-week-view.c (e_week_view_update_event): allow for null ico svn path=/trunk/; revision=2605
* added new source files and pixmaps, and removed old source files, whichDamon Chaplin2000-04-2424-290/+5332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files and pixmaps, and removed old source files, which can be deleted. * gui/e-week-view-titles-item.[hc]: * gui/e-week-view-main-item.[hc]: * gui/e-week-view-event-item.[hc]: * gui/e-week-view.[hc]: new files implementing the week/month views. * gui/yearview.xpm: * gui/monthview.xpm: * gui/weekview.xpm: * gui/workweekview.xpm: * gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't intended to be the final pixmaps. * gui/calendar-commands.c: added radio buttons to the toolbar to switch between the calendar views, and moved the am_pm_flag here so we can get rid of view-utils.c. * gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the widgets into 2 notebooks, and added the selection_start_time and selection_end_time fields. * gui/goto.c: updated to use new selection time range. * gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles. * gui/e-day-view.[hc]: changed the interface to support the new selection time range, got rid of a few debugging messages and changed a few bits. svn path=/trunk/; revision=2583
* moved "About Calendar" into the View menu so it shows up.Seth Alves2000-04-211-1/+1
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): moved "About Calendar" into the View menu so it shows up. svn path=/trunk/; revision=2545
* new function: callback for listener's object updated signal.Seth Alves2000-04-211-10/+18
| | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): new function: callback for listener's object updated signal. (gnome_calendar_object_removed_cb): new function: callback for listener's object removed signal. (gnome_calendar_new): hook up listener's "obj_updated" and "obj_removed" signals so if evolution is running twice, they will both see changes right away. (gnome_calendar_object_changed): don't call update_all, since it will be called by the listener. (gnome_calendar_remove_object): don't call update_all (gnome_calendar_add_object): don't call update_all svn path=/trunk/; revision=2539
* callback for obj_updated or obj_removed. (gnome_calendar_new): hook upSeth Alves2000-04-211-13/+27
| | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): callback for obj_updated or obj_removed. (gnome_calendar_new): hook up gnome_calendar_changed_cb so if evolution is running twice, they will both see changes right away. svn path=/trunk/; revision=2538
* create fullday's gcs even if pixmap_bell has already been created. thisSeth Alves2000-04-211-0/+38
| | | | | | | | * gui/gncal-full-day.c (child_realize): create fullday's gcs even if pixmap_bell has already been created. this was causing crashes if the calendar was run twice. svn path=/trunk/; revision=2537
* changed the order around a bit to avoid a Gtk-CRITICAL crashSeth Alves2000-04-201-5/+9
| | | | | | | * gui/eventedit.c (ee_rp_init_rule): changed the order around a bit to avoid a Gtk-CRITICAL crash svn path=/trunk/; revision=2512
* fixed code to populate the todo clistSeth Alves2000-04-202-39/+25
| | | | | | | | | | | | | | | * gui/gncal-todo.c (gncal_todo_update): fixed code to populate the todo clist * cal-client/cal-client.c (cal_client_get_uids): don't check type again CALOBJ_TYPE_ANY since it will always match. (cal_client_get_uids): same (re: CALOBJ_TYPE_ANY) * pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY) * pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY) svn path=/trunk/; revision=2509
* calls gnome_calendar_open instead of checking on disk and calling load orSeth Alves2000-04-203-52/+80
| | | | | | | | | | | | * gui/calendar-commands.c (calendar_set_uri): calls gnome_calendar_open instead of checking on disk and calling load or create. * gui/gnome-cal.c (gnome_calendar_open): collapsed gnome_calendar_load and gnome_calendar_create into this function. added new type GnomeCalendarOpenMode which has the value CALENDAR_OPEN or CALENDAR_OPEN_OR_CREATE. svn path=/trunk/; revision=2506
* fixed to use cal_client_update_object -- editing and dragging events worksSeth Alves2000-04-191-6/+5
| | | | | | | * gui/gnome-cal.c (gnome_calendar_object_changed): fixed to use cal_client_update_object -- editing and dragging events works again svn path=/trunk/; revision=2504
* set calendar's uri with a property bagSeth Alves2000-04-195-47/+145
| | | | | | | | | | | | | | | * e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
* Added Danish strings to desktop/menu filePablo Saratxaga2000-04-192-0/+4
| | | | svn path=/trunk/; revision=2489
* Renamed library from libcalutil to libcal-util, to be consistent withFederico Mena Quintero2000-04-1717-70/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* moved srcdir directories to the top so we search headers in the evolutionDamon Chaplin2000-04-111-3/+3
| | | | | | | | | | | | 2000-04-10 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am (INCLUDES): moved srcdir directories to the top so we search headers in the evolution tree before installed headers. (Otherwise when you do 'make install' lots of files in gui/ get rebuilt, since they depend on the installed cal-client.h which has just been updated.) svn path=/trunk/; revision=2364
* nat told me to do itSeth Alves2000-04-101-2/+2
| | | | svn path=/trunk/; revision=2354
* catch cal_loaded signal on the cal client. (gnome_calendar_load_cb):Seth Alves2000-04-103-20/+24
| | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_load): catch cal_loaded signal on the cal client. (gnome_calendar_load_cb): callback for cal_loaded signal. moved gnome_calendar_update_all from gnome_calendar_load to here. * gui/calendar-commands.c: minor cleanups * pcs/cal-backend.c (save_to_vcal): copied code from gnome-pim to write vcal to a file (save): filled it with more gnome-pim code (add_object): call save () after changing (remove_object): same (cal_backend_create): same (cal_backend_remove_object): same svn path=/trunk/; revision=2352
* pixmap_DATA isn't defined so don't use it as a variable.Christopher James Lahey2000-04-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable. * addressbook/gui/component/, addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am, addressbook/gui/component/addressbook-factory.c, addressbook/gui/component/addressbook.c, addressbook/gui/component/addressbook.gnorba, addressbook/gui/component/addressbook.h: New directory to proivde the component for contact management. Simply uses an e-minicard-view. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: New subclass of e-reflow-sorted that takes an EBook and uses it to compute the card data to display. * addressbook/gui/minicard/e-minicard.c, addressbook/gui/minicard/e-minicard.h: This now backends to a ECard instead of a ETableModel. * addressbook/gui/minicard/e-reflow.c, addressbook/gui/minicard/e-reflow.h: This now has a virtualized add method. * addressbook/gui/minicard/e-reflow-sorted.c, addressbook/gui/minicard/e-reflow-sorted.h: New subclass of e-reflow that allows the data to be sorted on the fly. * addressbook/gui/minicard/test-minicard-view.c: New test to test the new minicard view. * addressbook/gui/minicard/test-reflow.c: Uses the new ECard backend of the e-minicard. * addressbook/gui/minicard/.cvsignore, addressbook/gui/minicard/Makefile.am: Added new test. Fixed dependencies. Added new files. * addressbook/gui/, addressbook/gui/Makefile.am, addressbook/gui/.cvsignore: New directory for addressbook gui bits. Added subdirectories. Created an initial .cvsignore. * addressbook/Makefile.am (SUBDIRS): Removed demo and added gui. * addressbook/backend/pas/pas-backend-file.c: Added code to do notification on bookviews when changes in the backend are made. * addressbook/backend/pas/pas-book-view.c, addressbook/backend/pas/pas-book-view.h: Added helper functions to notify the view about the addition or modification of a single card. Fixed a mistaken extra free. * addressbook/backend/ebook/e-card-list-iterator.h: Fixed incorrect parent class. * addressbook/backend/ebook/test-client.c: Made this accept an optional parameter that specifies the vcard to add. * configure.in: Replaced widgets/e-minicard/Makefile and addressbook/demo/Makefile with addressbook/gui/minicard/Makefile and addressbook/gui/component/Makefile respectively. * widgets/Makefile.am: Removed e-minicard since it's being moved to addressbook/gui/minicard. * widgets/e-text/e-text.c: Fixed the border width around tooltips and made the main tooltip area yellow. From camel/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * providers/smtp/.cvsignore: Added a .cvsignore file. From calendar/ChangeLog: 2000-04-08 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Removed linking with libetable and libeminicard since they weren't being used. svn path=/trunk/; revision=2343
* new function: friendly wrapper for cal_client_create_calendarSeth Alves2000-04-096-72/+91
| | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_create): new function: friendly wrapper for cal_client_create_calendar * gui/calendar-commands.c (new_calendar): call gnome_calendar_create if no filename is provided * gui/prop.c (properties): calendar is a frame * gui/calendar-commands.c (calendar_control_activate): sort out the menus a bit, more of them show up now. * gui/Makefile.am: don't build library or test, just the bonobo control * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2339
* calendar is a frame instead of a window, now.Seth Alves2000-04-083-7/+15
| | | | | | | | | | | * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2337
* removed uih from the argument list, added cal. use cal as user_data inSeth Alves2000-04-074-163/+92
| | | | | | | | | * gui/calendar-commands.c (calendar_control_activate): removed uih from the argument list, added cal. use cal as user_data in callbacks rather than the control. (calendar_control_deactivate): removed uih from argument list svn path=/trunk/; revision=2311
* removed (setup_appbar): removed (calendar_control_activate): new functionSeth Alves2000-04-063-9/+111
| | | | | | | | | | | * gui/calendar-commands.c (setup_menu): removed (setup_appbar): removed (calendar_control_activate): new function -- does the work that setup_appbar and setup_menu used to do. (calendar_control_deactivate): undoes what calendar_control_activate does by removing the toolbar items and menu items. svn path=/trunk/; revision=2299
* build test-calendar-widget and evolution-calendar, common stuff is in aSeth Alves2000-04-0624-887/+1195
| | | | | | | | | | | | | | | * gui/Makefile.am: build test-calendar-widget and evolution-calendar, common stuff is in a library * gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget based on a gtk_frame rather than a gnome_app * gui/calendar-commands.c: split out some of main.c * gui/evolution-calendar-control.c: bonobo bung so evolution can use the calendar widget svn path=/trunk/; revision=2294
* cal_client_get_events_in_range returns a list of CalObjInstance *, not aSeth Alves2000-03-311-3/+4
| | | | | | | | * gui/main.c (calendar_get_events_in_range): cal_client_get_events_in_range returns a list of CalObjInstance *, not a list of (char *) uid. svn path=/trunk/; revision=2255
* readded the gui directorySeth Alves2000-03-301-1/+8
| | | | | | | | | * Makefile.am (SUBDIRS): readded the gui directory * gui/main.c: temporarily added alarm_defaults back in, since the calendar doesn't link without it svn path=/trunk/; revision=2254
* added libeutil.la and libetext.aSeth Alves2000-03-282-16/+58
| | | | | | | | | | | | * gui/Makefile.am (LINK_FLAGS): added libeutil.la and libetext.a * gui/main.c (calendar_iterate): switch from string_to_ical_object to ical_object_find_in_string (calendar_get_events_in_range): same (session_save_state): commented out references to gcal->client->filename svn path=/trunk/; revision=2213
* Fix includes. (e_day_view_on_delete_occurance): Do not callFederico Mena Quintero2000-03-233-13/+17
| | | | | | | | | | | | | | | | | 2000-03-17 Federico Mena Quintero <federico@helixcode.com> * gui/e-day-view.c: Fix includes. (e_day_view_on_delete_occurance): Do not call save_default_calendar(). (e_day_view_on_delete_appointment): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_finish_long_event_resize): Likewise. (e_day_view_finish_resize): Likewise. (e_day_view_key_press): Likewise. (e_day_view_on_editing_stopped): Likewise. (e_day_view_on_top_canvas_drag_data_received): Likewise. (e_day_view_on_main_canvas_drag_data_received): Likewise. svn path=/trunk/; revision=2140
* Fix for srcdir != builddir.Elliot Lee2000-03-181-4/+4
| | | | | | | | | * calendar/cal-client/Makefile.am, calendar/cal-util/Makefile.am, calendar/gui/Makefile.am, calendar/pcs/Makefile.am, mail/Makefile.am, widgets/e-text/Makefile.am: Fix for srcdir != builddir. svn path=/trunk/; revision=2119
* New widget for Day/Work-Week views. Unfinished.Damon Chaplin2000-03-148-0/+6745
| | | | svn path=/trunk/; revision=2115
* Removed function now that it is no CORBA server in the GUI.Federico Mena Quintero2000-03-1214-79/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-12 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (gnome_calendar_locate): Removed function now that it is no CORBA server in the GUI. (save_default_calendar): Removed function. Now the personal calendar server will take care of saving modified calendars when appropriate. (close_cmd): Do not call unregister_calendar_services(). * gui/eventedit.c (ee_ok): Do not save the calendar. * gui/gncal-day-panel.c (day_view_range_activated): Likewise. * gui/gncal-todo.c (ok_button): Likewise. (delete_todo): Likewise. * gui/gncal-full-day.c (delete_occurance): Likewise. (delete_appointment): Likewise. (unrecur_appointment): Likewise. (child_focus_out): Likewise. (update_from_drag_info): Likewise. * gui/gnome-cal.c (gnome_calendar_new): Removed obsolete call to create the CORBA server. * gui/gnome-cal.h (GnomeCalendar): Renamed `calc' field to `client'. * cal-client/cal-client.h (CalClient): Removed filename and corba_server fields. svn path=/trunk/; revision=2102
* Do not pass the INIT_SERVER flag to gnome_CORBA_init_with_popt_table().Federico Mena Quintero2000-03-111-22/+43
| | | | | | | | | | | | | | 2000-03-10 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (main): Do not pass the INIT_SERVER flag to gnome_CORBA_init_with_popt_table(). Check for exceptions properly. (main): Initialize Bonobo. (main): Call process_dates() to parse the dates from the command line before we dump the events or the TODOs. (main): Use bonobo_main() instead of gtk_main(). svn path=/trunk/; revision=2097
* Removed the corba-cal stuff. Commented out the Pilot conduit stuff forFederico Mena Quintero2000-03-101-109/+75
| | | | | | | | | 2000-03-09 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am: Removed the corba-cal stuff. Commented out the Pilot conduit stuff for now. svn path=/trunk/; revision=2093
* Random #ifdefs to make it build, although this file is going away.Federico Mena Quintero2000-03-104-44/+20
| | | | | | | | | | | | | | | 2000-03-09 Federico Mena Quintero <federico@helixcode.com> * gui/calendar.c: Random #ifdefs to make it build, although this file is going away. * gui/Makefile.am: Removed referenes to calobj.[ch] and timeutil.[ch]. * gui/calendar-conduit.c: Fixup includes. * gui/calendar-conduit.h: Fixup includes. svn path=/trunk/; revision=2092
* replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendarSeth Alves2000-03-0922-123/+376
| | | | | | | | | | | | | | | * gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar struct. * gui/*.c: tracked change from Calendar * to CalClient * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c (calendar_get_events_in_range): pulled this out of calendar.c and fixed it up to use cal-client stuff. i'm not sure where to put it yet. * gui/main.c (calendar_iterate): pulled this one out of calendar.c also svn path=/trunk/; revision=2090
* track movement of calobj.[ch]Seth Alves2000-03-086-12/+6
| | | | svn path=/trunk/; revision=2086
* back out recent commit, and remove calendar.[ch] from Makefile.amSeth Alves2000-03-087-112/+62
| | | | svn path=/trunk/; revision=2083
* track moveSeth Alves2000-03-061-0/+18
| | | | svn path=/trunk/; revision=2065
* stubs for client side access to alarm structures. this will probablySeth Alves2000-03-0612-79/+137
| | | | | | | | | | | | | | | | | * 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
* this is not right, but it gets this closer to building.Seth Alves2000-03-042-2/+2
| | | | svn path=/trunk/; revision=2035
* new file -- things shared between the client and server go in thisSeth Alves2000-03-0417-28/+31
| | | | | | | | | | | | * 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
* At this point the calendar client and personal calendar server files wereFederico Mena Quintero2000-03-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-02 Federico Mena Quintero <federico@helixcode.com> At this point the calendar client and personal calendar server files were moved to the idl/, cal-client/, and pcs/ directories. * idl/Makefile.am: New file. * cal-client/Makefile.am: New file. Moved the libcal-client stuff from calendar/Makefile.am to here. * pcs/Makefile.am: New file. Moved the tlacuache stuff from calendar/Makefile.am to here. * Makefile.am (SUBDIRS): Added the idl and cal-client directories. * calendar.h: Removed the references to cal-backend.h and its stuff. This file is going away soon! * icalendar.c: #include <config.h>. Also, we don't need to include cal-backend.h or gnome.h. * icalendar.h: Protect from multiple inclusions. svn path=/trunk/; revision=2011
* More reorganization - FedericoFederico Mena Quintero2000-03-021-56/+3
| | | | svn path=/trunk/; revision=2009
* Moved to the pcs/ directory - FedericoFederico Mena Quintero2000-03-021-20/+0
| | | | svn path=/trunk/; revision=2005
* At this point the calendar client and personal calendar server files wereFederico Mena Quintero2000-03-021-22/+2
| | | | | | | | | | | | | | | | 2000-03-01 Federico Mena Quintero <federico@helixcode.com> At this point the calendar client and personal calendar server files were moved to the idl/, cal-client/, and pcs/ directories. * idl/Makefile.am: New file. * cal-client/Makefile.am: New file. Moved the libcal-client stuff from calendar/Makefile.am to here. * Makefile.am (SUBDIRS): Added the idl and cal-client directories. svn path=/trunk/; revision=2003
* Use the gnome-config flags for orbit-idl. Create a libcal-client libraryFederico Mena Quintero2000-03-021-2/+27
| | | | | | | | | 2000-03-01 Federico Mena Quintero <federico@helixcode.com> * Makefile.am: Use the gnome-config flags for orbit-idl. Create a libcal-client library with the calendar client object. svn path=/trunk/; revision=2000
* Removed stale rule for the conduit.Federico Mena Quintero2000-03-011-9/+7
| | | | | | | | 2000-02-29 Federico Mena Quintero <federico@helixcode.com> * Makefile.am: Removed stale rule for the conduit. svn path=/trunk/; revision=1998
* don't put .libs in the link command, let libtool do itSeth Alves2000-02-231-1/+1
| | | | svn path=/trunk/; revision=1904
* trying to link libicalSeth Alves2000-02-211-1/+1
| | | | svn path=/trunk/; revision=1885
* Use BONOBO_VFS_GNOME_CFLAGS instead of GNOMEUI_INCLUDES, as we use BonoboMiguel de Icaza2000-02-191-1/+1
| | | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * Makefile.am (INCLUDES): Use BONOBO_VFS_GNOME_CFLAGS instead of GNOMEUI_INCLUDES, as we use Bonobo and VFS. svn path=/trunk/; revision=1847
* moved CalendarFormat type def hereSeth Alves2000-02-183-17/+12
| | | | | | | | | | | | | | * cal-backend.h: moved CalendarFormat type def here * cal-backend.c (cal_backend_load): if extension suggests an ical file, attempt to load an iCal file. (cal_get_type_from_filename): returns CAL_ICAL if file extension is 'ics' or 'ifb', else returns CAL_VCAL (icalendar_calendar_load): moved this here from icalendar.c because it needs to call the static function add_object. svn path=/trunk/; revision=1831
* Change iCalObject.organizer from char* to iCalPerson*Russell Steinthal2000-02-167-14/+67
| | | | | | | | | | | | | | | 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
* Implemented.Federico Mena Quintero2000-02-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-11 Federico Mena Quintero <federico@helixcode.com> * cal-client.c (cal_client_update_object): Implemented. * cal.c (cal_notify_update): New function to notify the listener about an updated object. (Cal_update_object): Implemented. (Cal_get_uids): set_release() the sequence to TRUE. (Cal_get_events_in_range): Likewise. * cal-backend.c (remove_object): New function to remove objects from a calendar backend. (cal_backend_update_object): New public function to update an object and notify clients about it. * evolution-calendar.idl (Cal): Added update_object() and delete_object() methods. (Listener): Removed the obj_changed method and renamed obj_added to obj_updated. We now only have updated and removed notifiers. * cal-listener.[ch]: Removed the "changed" notification code. Changed the "added" notification code to the "updated" notification. * cal-client.c: Likewise. * tlacuache.c (create_cal_factory): Connect to "destroy" on the factory and exit the main loop when the factory is destroyed. * cal-factory.c (backend_destroy_cb): New callback used when a backend is destroyed. Removes the backend from the factory's hash table and unrefs the factory if all backends go away. (add_calendar_client): Free the environment. * cal.c (cal_new): Use bonobo_object_unref() if we fail to initialize. * cal-listener.c (cal_listener_new): Likewise. * layout.c (layout_events): Plug li.partition memory leak. svn path=/trunk/; revision=1742
* Connect to the Cal's destroy signal. (cal_backend_remove_cal): KilledFederico Mena Quintero2000-02-112-4/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added get_uids() method to get a list of UIDs based on object types.Federico Mena Quintero2000-02-0911-60/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* New struct to wrap instances of calendar objects for recurrencies andFederico Mena Quintero2000-02-082-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-08 Federico Mena Quintero <federico@helixcode.com> * evolution-calendar.idl (CalObjInstance): New struct to wrap instances of calendar objects for recurrencies and alarms. (Cal::get_events_in_range): New method to get ocurring and recurring events by time range. * cal-backend.c (cal_backend_get_events_in_range): New function to get a list of event instances in a time range. (string_from_ical_object): New internal function. (cal_backend_get_object): Use string_from_ical_object() instead of doing everything ourselves. (cal_backend_get_events_in_range): New function to get a list of the events that occur or recur in a specified time range. * cal-client.c (cal_client_get_events_in_range): Implemented client-side function. * cal-util.h: * cal-util.c: New files with utilities and types common to the client and server parts. (CalObjInstance): New structure to hold an instance of an actual occurrence, recurrence, or alarm trigger of a calendar object. (cal_obj_instance_list_free): New function to free a list of calendar object instances. * cal.c (Cal_get_events_in_range): Implemented new method. * corba-cal.c (cal_repo_get_updated_objects): Free `str' with free(), not g_free(), since calendar_get_as_vcal_string() uses writeMemVObject(), which uses realloc(). Fixed in gnome-pim as well. svn path=/trunk/; revision=1693
* Added the get_object() method.Federico Mena Quintero2000-02-021-68/+69
| | | | | | | | | | | | | | | | | 2000-02-03 Federico Mena Quintero <federico@helixcode.com> * evolution-calendar.idl (Cal): Added the get_object() method. * cal-client.c (cal_client_get_object): New function to get a calendar object by its UID. * cal.c (Cal_get_object): Implemented. * cal-backend.c (cal_backend_get_object): New unfinished backend function. We need some reorganizing of how the calendar objects are stored. svn path=/trunk/; revision=1663
* Sync to desktop - FedericoArturo Espinosa2000-01-311-1/+5
| | | | svn path=/trunk/; revision=1657
* Changed the namespace from GNOME::Calendar to Evolution::Calendar.Federico Mena Quintero2000-01-291-8/+8
| | | | | | | | | | | | | | | | | 2000-01-30 Federico Mena Quintero <federico@helixcode.com> * evolution-calendar.idl: Changed the namespace from GNOME::Calendar to Evolution::Calendar. (Listener::LoadStatus): Fixed SUCESSS -> SUCCESS typo. And I never noticed it in the implementation. Ain't M-/ grand? * Makefile.am: Changed ocurrences of gnome-calendar.idl to evolution-calendar.idl. * *.[ch]: Changed GNOME_Calendar_foo identifiers to Evolution_Calendar_foo. svn path=/trunk/; revision=1652
* Make Evolution compile with the latest Bonobo changes.Arturo Espinosa2000-01-264-12/+13
| | | | | | | | Make Evolution compile with the latest Bonobo changes. Miguel. svn path=/trunk/; revision=1636
* When will I ever learn to add the files... - FedericoArturo Espinosa2000-01-251-0/+2
| | | | svn path=/trunk/; revision=1625
* Added the gnome-pilot and capplet checks; they will likely be reworked forFederico Mena Quintero2000-01-251-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-24 Federico Mena Quintero <federico@helixcode.com> * configure.in: Added the gnome-pilot and capplet checks; they will likely be reworked for the Evolution framework, but for now the calendar/ directory needs them. * configure.in: Added checks for gnome-vfs. 2000-01-24 Federico Mena Quintero <federico@helixcode.com> * tlacuache.c: New main module for the Tlacuache personal calendar server. * tlacuache.gnorba: New gnorba file for Tlacuache, the GNOME personal calendar server. * Makefile.am: Added the stuff necessary to build Tlacuache. * cal.c (Cal_get_uri): Convert the URI to a string before returning it. * cal-factory.c (CalFactory_create): Doh, this function is void. * job.c (job_add): Use g_idle_add(), not gtk_idle_add(). svn path=/trunk/; revision=1623
* Removed todo capplet stuff.Eskil Heyn Olsen2000-01-091-3/+5
| | | | svn path=/trunk/; revision=1548
* Update to use gpilotd_get_pilot_basedir and ↵Vadim Strizhevsky2000-01-081-3/+1
| | | | | | gnome_pilot_conduit_standard_abs_set_db_open_mode. Added pilotID argument to gpilotd_conduit_mgmt_new. svn path=/trunk/; revision=1544
* Added an argument to the corba get_number_of_objects, so you can decideEskil Heyn Olsen2000-01-053-55/+71
| | | | | | | which status the objects you count should have, eg. any or modified etc. Will add record type someday. svn path=/trunk/; revision=1535
* Committed fixes for the end-on-day recurrence bug where the lastEskil Heyn Olsen1999-12-317-13/+23
| | | | | | | | | | day was skipped. Also fixed problem with multiple setitimer calls that where especially pesky in the corba part, where corba calls would cause numerous alarm dialogs when the events alarm went off. svn path=/trunk/; revision=1525
* Added Galician translationJesus Bravo Alvarez1999-12-311-0/+2
| | | | svn path=/trunk/; revision=1524
* Minor unmiportant changes, but my laptop is acting up, so IEskil Heyn Olsen1999-12-301-3/+8
| | | | | | need them somewhere safe, eg. cvs :) svn path=/trunk/; revision=1522
* Fix sensitivity bug when used to create default alarm box (widgets in thatRussell Steinthal1999-12-111-1/+4
| | | | | | | | | | 1999-12-10 Russell Steinthal <rms39@columbia.edu> * eventedit.c (ee_create_ae): Fix sensitivity bug when used to create default alarm box (widgets in that box should always be sensitive, even if the enabled checkbutton is not set) svn path=/trunk/; revision=1479
* Capplets now sets first_sync on enable, this should make the conduit copyEskil Heyn Olsen1999-12-081-1/+4
| | | | | | | | * calendar-conduit-control-applet.c (setSettings): Capplets now sets first_sync on enable, this should make the conduit copy old entries from the pilot to gnomecal. svn path=/trunk/; revision=1476
* Check if local store is empty. If, force slow sync.Eskil Heyn Olsen1999-12-075-28/+65
| | | | | | | | | | | | | | | * calendar-conduit.c (pre_sync): Check if local store is empty. If, force slow sync. * GnomeCal.idl (GNOME): Added get_number_of_objects. * corba-cal.c (cal_repo_get_number_of_objects): implemented the get_number_of_objects. * calendar-conduit-control-applet.c (setStateCfg): Fixed bug that caused the capplet to always set the sync action to Disable upon start. svn path=/trunk/; revision=1475
* Added a sub package to the .spec file, it now generatesEskil Heyn Olsen1999-12-061-0/+3
| | | | | | | | gnome-pim-conduit-%ver.%arch.rpm, containing the Gnome Pilot conduits. Modded makefile.am so the conduit capplets also appear on the main menu. svn path=/trunk/; revision=1462
* Removed intlEskil Heyn Olsen1999-12-051-0/+2
| | | | | | | | | | | | * Makefile.am (SUBDIRS): Removed intl * configure.in: uses AM_GNOME_GETTEXT instead of AM_GNU_GETTEXT, version = 1.1.2. * gncal/Makefile.am & gnomecard/Makefile.am: added missing stuff to SOURCES and EXTRA_DIST. svn path=/trunk/; revision=1461
* Sigh. Get this oneArturo Espinosa1999-12-041-0/+2
| | | | svn path=/trunk/; revision=1460
* The long-awaited and much-needed (IMNSHO) snooze button for gnomecal alarms.Russell Steinthal1999-12-034-8/+82
| | | | | | Not strictly [vi]Calendar compliant, but much more intuitive. svn path=/trunk/; revision=1456
* undef DEBUG_CALCONDUT, suppresses debug output.Eskil Heyn Olsen1999-12-031-2/+2
| | | | | | * calendar-conduit.c: undef DEBUG_CALCONDUT, suppresses debug output. svn path=/trunk/; revision=1455
* Debugging enhancements: report alarms not added (because they have alreadyRussell Steinthal1999-12-032-20/+84
| | | | | | passed), allow toggling of debugging output using SIGUSR1 svn path=/trunk/; revision=1453
* Fixed compare bug. Also neated up some of the if's in set_status.Eskil Heyn Olsen1999-11-301-11/+13
| | | | | | | * calendar-conduit.c (compare): Fixed compare bug. Also neated up some of the if's in set_status. svn path=/trunk/; revision=1444
* <self_serving> Add myself to AUTHORS, about box </self_serving>Russell Steinthal1999-11-231-0/+1
| | | | | | | | <self_serving> Add myself to AUTHORS, about box </self_serving> svn path=/trunk/; revision=1430
* Merged Rusty's last todo list coloring patch from stable to HEAD.Russell Steinthal1999-11-224-62/+318
| | | | svn path=/trunk/; revision=1429
* Writes some warning messages when pre_sync fails.Eskil Heyn Olsen1999-11-221-0/+2
| | | | | | | * calendar-conduit.c (pre_sync): Writes some warning messages when pre_sync fails. svn path=/trunk/; revision=1427
* added greek descriptionsPablo Saratxaga1999-11-171-0/+2
| | | | svn path=/trunk/; revision=1393
* Stupid misplaced endif cause gncal to depend on an install gnome-pilot...Eskil Heyn Olsen1999-11-141-7/+5
| | | | | | | * Makefile.am: Stupid misplaced endif cause gncal to depend on an install gnome-pilot... fixed... sorry. svn path=/trunk/; revision=1387
* The long-awaited audio alarm timeout patch. Implements wishlist bug #3089.Russell Steinthal1999-11-135-10/+100
| | | | | | | | | Note: Per discussion on calendar-list, checks to see that timeout value is reasonable, i.e. between 1 and MAX_AALARM_TIMEOUT (set to 3600 seconds). Check is enforced by GtkSpinButton in property box and the patch when loading from disk. svn path=/trunk/; revision=1384
* Schedule a new day_change_alarm in the day_change_alarm callback, so that theRussell Steinthal1999-11-111-1/+2
| | | | | | | | process repeats the next day. This fixes a bug by which alarms would mysteriously stop working after gnomecal was running for its second midnight. svn path=/trunk/; revision=1380
* Enabled debug output. Sets a g_log_domain, now version 0.8.5. ConsistentEskil Heyn Olsen1999-11-101-96/+316
| | | | | | | | | | | | | | | 1999-11-09 Eskil Heyn Olsen <deity@eskil.dk> * calendar-conduit.c: Enabled debug output. Sets a g_log_domain, now version 0.8.5. Consistent use of GSList/GList. Implemented compare, default uses one that compares the contents of a struct Appointment, but also has #ifdeffed code that does a field level comparison, not complete, but perhaps educational. * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS svn path=/trunk/; revision=1376
* Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGSEskil Heyn Olsen1999-11-091-1/+1
| | | | | | | * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS svn path=/trunk/; revision=1372
* Commented the code out, thus the capplet works again.Eskil Heyn Olsen1999-11-051-0/+2
| | | | | | | * calendar-conduit-control-applet.c (readStateCfg): Commented the code out, thus the capplet works again. svn path=/trunk/; revision=1368
* Uses the PISOCK_LIBDIR, for people with odd install dirs for theirEskil Olsen1999-11-047-86/+202
| | | | | | | | | | | | | | | | | | | | | | | | 1999-11-04 Eskil Olsen <deity@eskil.dk> * Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install dirs for their pilot-link. Also install a pretty icon for the calendar-conduit. * calendar-conduit-control-applet.c: Modfied the try/revert/ok/cancel scheme to be more intuitive, also uses a GtkOptionMenu for the possible sync methods. * calendar-conduit-control-applet.desktop: use the nice icon... * calendar-conduit.c: Ack, had to define debug_alarms and alarm_default, otherwise they are undefined. Is gncal code messy or is this considered a way of configuring the cal engine ? Implemented delete_all syncabs methods. * calendar-pilot-sync.c: also had to declare debug_alarms and alarm_defaults, just as ugly. svn path=/trunk/; revision=1367
* Add default alarm support, Beep on display alarms optionRussell Steinthal1999-11-035-13/+216
| | | | | | | | | 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
* Fix calendar_day_begin/calendar_day_end initialization bug on HEAD. For fullRussell Steinthal1999-10-241-0/+4
| | | | | | explanation, see commit message for parallel change to gnome-pim-1-0 branch. svn path=/trunk/; revision=1351
* Style fix.Russell Steinthal1999-10-222-2/+4
| | | | svn path=/trunk/; revision=1341
* Commit debugging support to HEAD as well; there's no good reason to have ↵Russell Steinthal1999-10-223-3/+85
| | | | | | debugging in the stable but not devel version, is there? svn path=/trunk/; revision=1340
* now it doesn't build todo conduit anymore. Since the conduit is just aEskil Heyn Olsen1999-10-226-305/+379
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: now it doesn't build todo conduit anymore. Since the conduit is just a skeleton, no need to build and install it. * calendar-conduit-control-applet.c: revamped for all the changes in calendar-conduit.h. Also fixed the pilotId bug that all conduit capplets had. * calendar-conduit-control-applet.desktop: renamed to GnomeCalendar. * calendar-conduit.h: Fixed namespace pollution, appended GCal to structures, gcalconduit to methods. Introduced the GCalConduitContext. * calendar-conduit.c: No more global variables, all is contained in a GCalConduitContext variable, that all the signals are passed as user data. svn path=/trunk/; revision=1338
* Fix bug #1818 on HEAD.Russell Steinthal1999-10-221-4/+16
| | | | svn path=/trunk/; revision=1337
* Fix bug #2561 in HEADRussell Steinthal1999-10-201-1/+1
| | | | svn path=/trunk/; revision=1335
* Add paned windows to Day View so user can adjust relative size of dailyRussell Steinthal1999-10-201-25/+23
| | | | | | | calendar, todo list, and monthly calendar. (Applies patch posted to calendar-list since there were no objections) svn path=/trunk/; revision=1334
* Added swedish desktop entryMartin Norback1999-10-181-0/+2
| | | | svn path=/trunk/; revision=1330
* Fixed the much-hated gnome-pilot dependencyEskil Heyn Olsen1999-10-141-1/+2
| | | | svn path=/trunk/; revision=1326
* moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set theEskil Heyn Olsen1999-10-082-73/+100
| | | | | | | | | * calendar.c (calendar_object_changed): moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the modified flag. * calendar-conduit.c: more _free calls, vamped the noise on output. svn path=/trunk/; revision=1320
* checks return values from gpilotd_init/connect.Eskil Heyn Olsen1999-10-065-33/+54
| | | | | | | | | | * *conduit*[ch]: checks return values from gpilotd_init/connect. * calender.c (vcalendar_create_from_calendar): removed a set of cleanVObject cleanStrTbl, since the freed memory that the function returned. svn path=/trunk/; revision=1319
* Now has correct return values wrt the conduit api ref.Eskil Heyn Olsen1999-09-291-55/+87
| | | | svn path=/trunk/; revision=1318
* added pt_BR translationsJorge Godoy1999-09-281-0/+2
| | | | svn path=/trunk/; revision=1313
* Small fix -miguelArturo Espinosa1999-09-2813-73/+77
| | | | svn path=/trunk/; revision=1265
* Fix #2340 on HEAD -miguelArturo Espinosa1999-09-282-4/+4
| | | | svn path=/trunk/; revision=1263
* the g_free that was commented out since glib said was a duplicate free,Eskil Heyn Olsen1999-09-254-55/+190
| | | | | | | | | | | | | | | | | | | * corba-cal.c: the g_free that was commented out since glib said was a duplicate free, was supposed to be a free. * GnomeCal.idl/corba-cal.c: added a get_object_id_list and a get_objects_by_id_list. Latter is not done. * calendar-conduit.c: rewrote the way the conduit iterates over records. It no longers fetches all entries (since that didn't work with more then 285 entries. It now fetches the id list, and gets each record. (will be using get_objects_by_id_list to get records in amounts of 10 or so later, to reduce amount of corba calls). * calendar-conduit.c: now sets alarm parameters when transferring from gnomecal to pilot. svn path=/trunk/; revision=1257
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-235-7/+16
| | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. svn path=/trunk/; revision=1253
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-231-100/+149
| | | | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. The conduit is actually beginning to be usefull now... svn path=/trunk/; revision=1252
* commented out a g_free that glib reported as being a duplicate free. gotEskil Heyn Olsen1999-09-232-8/+20
| | | | | | | | * corba-cal.c: commented out a g_free that glib reported as being a duplicate free. * calendar_conduit.c: got gnomecal->pilot up and runnning. svn path=/trunk/; revision=1251
* lot of rework, implemented various set_* functions, transmit andEskil Heyn Olsen1999-09-213-173/+402
| | | | | | | | * gncal/calendar-conduit: lot of rework, implemented various set_* functions, transmit and free_transmit, now appears stable, still only syncs oneway (pilot -> gnomecal) svn path=/trunk/; revision=1243
* added Estonian tranlationsLauris Kaplinski1999-09-201-0/+2
| | | | svn path=/trunk/; revision=1241
* About to rehash conduit.Eskil Heyn Olsen1999-09-191-4/+38
| | | | | | Changed pilotid in calobj to guint32. svn path=/trunk/; revision=1240
* changed to be a .la file instead of .a, this allows lib*_conduit to useEskil Heyn Olsen1999-09-194-56/+199
| | | | | | | | | | | | * libversit: changed to be a .la file instead of .a, this allows lib*_conduit to use the library. * gncal/calendar-conduit: implemented iterate and iterate_specific. * gncal/corba-cal: fixed warnings. svn path=/trunk/; revision=1239
* fixed the exception throwing. The conduit can now actually insertEskil Heyn Olsen1999-09-151-5/+25
| | | | | | entries in the gnomecal. svn path=/trunk/; revision=1230
* added sources to calendar-conduitEskil Heyn Olsen1999-09-153-33/+251
| | | | | | | | | | | | * 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
* Set the data pointers for all the items.Federico Mena Quintero1999-09-151-1/+2
| | | | | | | | | 1999-09-14 Federico Mena Quintero <federico@redhat.com> * gncal-full-day.c (child_popup_menu): Set the data pointers for all the items. svn path=/trunk/; revision=1227
* ja Update from ITANI EiichoroYukihiro Nakai1999-09-081-0/+2
| | | | | | ja Update from ITANI Eiichoro svn path=/trunk/; revision=1218
* forgot the .desktop files...`Eskil Heyn Olsen1999-09-082-0/+12
| | | | svn path=/trunk/; revision=1217
* uses GNOME_PILOT_CHECKEskil Heyn Olsen1999-09-089-21/+1142
| | | | | | | | | | | | | | | | | | | * configure.in: uses GNOME_PILOT_CHECK * gncal/GnomeCal.idl: added a get_objects() call, which returns all the objects in the calendar. * gncal/Makefile.am: added two conduits with control-applets. Compiled only if configure sets HAVE_GNOME_PILOT * gncal/calender-conduit.[ch]: began implementing conduit. * gncal/todo-conduit.[ch]: begin implementing conduit. * gncal/corba-cal.c: implemented the get_objects() call. svn path=/trunk/; revision=1216
* Added Russian translations to the desktop filesSergey I. Panov1999-09-031-0/+2
| | | | svn path=/trunk/; revision=1172
* Make the OK button the default button per Russell's suggestion.Miguel de Icaza1999-09-021-1/+1
| | | | | | | | | 1999-09-01 Miguel de Icaza <miguel@gnu.org> * eventedit.c (ee_create_buttons): Make the OK button the default button per Russell's suggestion. svn path=/trunk/; revision=1155
* Added call to GNOME_COMPILE_WARNINGS.Miguel de Icaza1999-09-021-2/+0
| | | | | | | | | | | | | | | | 1999-09-01 Miguel de Icaza <miguel@gnu.org> * configure.in: Added call to GNOME_COMPILE_WARNINGS. * libversit: Removed all the rest of the C++ comments from C sources (per David's suggestion). 1999-09-01 David Kaelbling <drk@sgi.com> * card.c (strtoCardRev): Off by one error fix. svn path=/trunk/; revision=1153
* Modify the object->last_mod field. (calendar_add_object): Ditto.Miguel de Icaza1999-08-312-2/+10
| | | | | | | | | | | | | | | | 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_object_changed): Modify the object->last_mod field. (calendar_add_object): Ditto. Closes bug #676 * main.c (save_calendar_cmd): Fix problem in which we warned the user about the calendar being modified the first time the calendar was used. svn path=/trunk/; revision=1150
* "GenericFactoy" is wrong...Tomas Ogren1999-08-221-1/+1
| | | | | | | | 1999-08-22 Tomas Ogren <stric@ing.umu.se> * gnomecal.gnorba: "GenericFactoy" is wrong... svn path=/trunk/; revision=1137
* Finnish translation updates.Mikko Rauhala1999-08-151-0/+2
| | | | svn path=/trunk/; revision=1115
* BUGFIX: 1515JP Rosevear1999-08-131-1/+6
| | | | | | | Just check if the ical object is new or not and set the title appropriately. svn path=/trunk/; revision=1109
* sync correctly for objects created on the pilot, but not dirty (becausePeter Teichman1999-08-081-4/+3
| | | | | | | | * calendar-pilot-sync.c (sync_pilot): sync correctly for objects created on the pilot, but not dirty (because they have been synced with some other program in the past) svn path=/trunk/; revision=1093
* Release points here.Miguel de Icaza1999-08-063-3/+4
| | | | | | | | 1999-07-30 Miguel de Icaza <miguel@gnu.org> * month-view.c (month_view_init): Release points here. svn path=/trunk/; revision=1085
* BUGFIX #1819JP Rosevear1999-08-052-10/+26
| | | | | | | | | Please note that the calendar_save routine is now responsible for changing the filename attribute of the calendar struct, rather than the calling function. This was so that the filename could be reverted if the open failed. svn path=/trunk/; revision=1080
* fix this.Jonathan Blandford1999-08-031-0/+3
| | | | svn path=/trunk/; revision=1067
* don't try to run GNOME_CONDUIT_CHECK if it doesn't existPeter Teichman1999-08-031-1/+2
| | | | | | | | | * configure.in: don't try to run GNOME_CONDUIT_CHECK if it doesn't exist * gncal/Makefile.am: libcalendar_conduit now installs svn path=/trunk/; revision=1066
* Add nl to list of languages.Elliot Lee1999-08-031-2/+12
| | | | | | Add nl to list of languages. svn path=/trunk/; revision=1065
* do deletion of appointments correctly, when they are deleted on the pilotPeter Teichman1999-08-021-6/+31
| | | | | | | | | | | | | * calendar-pilot-sync.c (sync_pilot): do deletion of appointments correctly, when they are deleted on the pilot (conduit_free_Appointment): protect against double-freeing parts of the Appointment structure (update_record): all-day events from the pilot are handled a bit more reasonably svn path=/trunk/; revision=1063
* gnome-pim actually compiles without libpisock nowPeter Teichman1999-08-021-4/+4
| | | | | | * configure.in: gnome-pim actually compiles without libpisock now svn path=/trunk/; revision=1058
* The multi-day appointment corruption bug is dead. Whoo!Peter Teichman1999-08-021-4/+10
| | | | | | | * calendar-pilot-sync.c (sync_object_to_pilot): The multi-day appointment corruption bug is dead. Whoo! svn path=/trunk/; revision=1057
* More auto* cleanups. The new calendar conduit now compiles conditionally,Peter Teichman1999-08-011-3/+4
| | | | | | based on whether you have gnome-pilot installed. svn path=/trunk/; revision=1051
* more autoconf, again. need to make the conduit compile conditionallyPeter Teichman1999-08-011-3/+2
| | | | | | | * configure.in: more autoconf, again. need to make the conduit compile conditionally though svn path=/trunk/; revision=1050
* add thisJonathan Blandford1999-07-311-0/+205
| | | | svn path=/trunk/; revision=1048
* more auto* stuffJonathan Blandford1999-07-311-1/+23
| | | | svn path=/trunk/; revision=1047
* Add scrolling to the yearview.Jonathan Blandford1999-07-301-25/+27
| | | | | | | | 1999-07-29 Jonathan Blandford <jrb@redhat.com> * gnome-cal.c (setup_widgets): Add scrolling to the yearview. svn path=/trunk/; revision=1045
* If the enddate is not set, set the repeatForever to 1. This fixes all ofMiguel de Icaza1999-07-301-3/+6
| | | | | | | | | | 1999-07-28 Miguel de Icaza <miguel@gnu.org> * calendar-pilot-sync.c: (sync_object_to_pilot): If the enddate is not set, set the repeatForever to 1. This fixes all of the birthdays problems I had. svn path=/trunk/; revision=1042
* Make the code not take arguments (sync_cal_to_pilot): Nice event updateMiguel de Icaza1999-07-296-40/+33
| | | | | | | | | | | | | | | | | | | | 1999-07-28 Miguel de Icaza <miguel@gnu.org> * calendar-pilot-sync.c: Make the code not take arguments (sync_cal_to_pilot): Nice event update information * calendar.c (calendar_new): Add Event UID hash table. (calendar_add_object): Add events to the hash table here. (calendar_remove_object): Remove events here. (calendar_object_find_event): Use the hash table here. * main.c (save_calendar_cmd): The object is already destroyed by gnome_dialog_run. * calendar-pilot-sync.c (sync_object_to_pilot): Do not turn archived bit on. svn path=/trunk/; revision=1041
* Lots of more work on the sync stuff. It works pretty well now.Arturo Espinosa1999-07-297-34/+391
| | | | | | | | | | 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
* Add the missing files -miguelArturo Espinosa1999-07-286-0/+422
| | | | svn path=/trunk/; revision=1039
* New file. Implements PalmPilot syncronization with the Gnome Calendar.Miguel de Icaza1999-07-288-18/+596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Copy the new UID into the iCalObject structure.Nat Friedman1999-07-191-0/+1
| | | | | | | | | 1999-07-17 Nat Friedman <nat@gnome-support.com> * calendar.c (calendar_add_object): Copy the new UID into the iCalObject structure. svn path=/trunk/; revision=1029
* Merge fix from gnome-pim-1-0: Fixed cut&paste bug for day fontsets.Miguel de Icaza1999-07-171-1/+1
| | | | | | | | | 1999-07-16 Miguel de Icaza <miguel@gnu.org> * gnome-month-item.c (gnome_month_item_set_arg): Merge fix from gnome-pim-1-0: Fixed cut&paste bug for day fontsets. svn path=/trunk/; revision=1028
* Fixing a segfault when gnomecal is started with --hiddenAnders Carlsson1999-06-161-0/+2
| | | | svn path=/trunk/; revision=980
* updated spanish & walon languages.Pablo Saratxaga1999-06-081-4/+16
| | | | | | | | | modified eventedit.c so that "Every" is remplaced by "d_Every", "w_Every", "m_Every" and "y_Every", and can be correctly translated for those languages where it follows gender of the name it refers to. the 2 leading bytes should be kept; they are stripped at display svn path=/trunk/; revision=972
* Fix abort() problem with the year view. (Bug #1367). Thanks to Owen CliffeRobert Brady1999-06-062-8/+8
| | | | | | | | | | 1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk> * gnome-cal.h, gnome-cal.c: Fix abort() problem with the year view. (Bug #1367). Thanks to Owen Cliffe <oc197@ecs.soton.ac.uk> for helping track it down. svn path=/trunk/; revision=971
* Use %H instead of %k, as %k is a GNU extension, not available in otherMiguel de Icaza1999-06-031-2/+2
| | | | | | | | | 1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU extension, not available in other systems. svn path=/trunk/; revision=966
* help files be gone. They are now installed from the Docbook stuff.Miguel de Icaza1999-06-011-3/+0
| | | | | | | | | 1999-05-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * Makefile.am (install-data-local): help files be gone. They are now installed from the Docbook stuff. svn path=/trunk/; revision=962
* Added preliminary support for todo item priorities: they can be set, displayed,Russell Steinthal1999-05-264-11/+75
| | | | | | | and used as a sorting criterion. They are enabled/disabled using the properties page, as with due dates. svn path=/trunk/; revision=947
* Added missing break here. It was causing core dumps when invoked withMiguel de Icaza1999-05-261-1/+2
| | | | | | | | | 1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (parse_an_arg): Added missing break here. It was causing core dumps when invoked with --userfile. svn path=/trunk/; revision=944
* Add some assertions here, to pin point the bug reported on gnome-list.Miguel de Icaza1999-05-261-2/+44
| | | | | | | | | 1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-cal.c (gnome_calendar_set_view): Add some assertions here, to pin point the bug reported on gnome-list. svn path=/trunk/; revision=943
* Removed unused macro CALENDAR_HEIGHT.Federico Mena Quintero1999-05-261-2/+0
| | | | | | | | 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c: Removed unused macro CALENDAR_HEIGHT. svn path=/trunk/; revision=940
* Set the canvas scroll region here, not in size_allocate(). Also, use theFederico Mena Quintero1999-05-265-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Set the canvas scroll region here, not in size_allocate(). Also, use the correct width and height based on the allocation and the precomputed minimum width/height values. * gnome-cal.c (setup_widgets): Set the scrollbar policy of the scrolled window. * main.c (setup_appbar): Use the correct type for the appbar. * gncal-day-view.c: Removed unused function switch_to_day(). * gncal-day-panel.c (calendar_day_selected): Removed unused variable. 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Added the gncal/doc/* Makefiles to AC_OUTPUT. svn path=/trunk/; revision=939
* This is the fix Miguel and I hacked in the car at Expo to make theNat Friedman1999-05-263-6/+18
| | | | | | | | | | | | | | | | | | | | | year view work in low-resolution displays. This isn't the proper fix, but it's better than the way things were. 1999-05-25 Nat Friedman <nat@nat.org> * doc/C/gnomecal.sgml: Fixed a typo. * gnome-cal.c (setup_widgets): Added a scrolled window widget into which the year view is placed. * year-view.c (CALENDAR_HEIGHT): The height of the total year view inside the scrolled window. (idle_handler): Set the height of the year view to CALENDAR_HEIGHT. (year_view_size_allocate): Set the scroll region of the year view canvas to allocation->width, CALENDAR_HEIGHT. svn path=/trunk/; revision=938
* Add Docbook framework for documenting Gnomecal -miguelArturo Espinosa1999-05-182-3/+3
| | | | svn path=/trunk/; revision=928
* - fix: allow use $DESTDIR on "make install DESTDIR=</install/prefix>".Tomasz KÅ‚oczko1999-05-031-4/+4
| | | | | | - fix: allow use $DESTDIR on "make install DESTDIR=</install/prefix>". svn path=/trunk/; revision=888
* Add --todo supportArturo Espinosa1999-04-263-1/+59
| | | | | | Add --todo support svn path=/trunk/; revision=880
* Bumped version number to 1.0.3.Federico Mena Quintero1999-04-201-0/+5
| | | | | | | | 1999-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Bumped version number to 1.0.3. svn path=/trunk/; revision=858
* Kill all grabs from the CList before running the new dialog box.Miguel de Icaza1999-04-171-0/+5
| | | | | | | | | | | | | 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (edit_activated): Kill all grabs from the CList before running the new dialog box. This fixes the problem of button-3/Edit on the todo item blocking the GUI (actually, the main window responds, but not the todo window). svn path=/trunk/; revision=817
* Make sure we can get events for button3. The code for the nice popup menuMiguel de Icaza1999-04-091-0/+1
| | | | | | | | | | 1999-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (gncal_todo_init): Make sure we can get events for button3. The code for the nice popup menu was there but was not getting invoked. svn path=/trunk/; revision=806
* Added this routine so Monthly recurrences use the weekday field as aSteve Murphy1999-04-042-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Made static. Make it use the full year format for strftime().Federico Mena Quintero1999-03-311-9/+6
| | | | | | | | | 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (convert_time_t_to_char): Made static. Make it use the full year format for strftime(). svn path=/trunk/; revision=791
* Made it respect 12/24h settings.. Doesn't show until next time you openTomas Ogren1999-03-271-1/+6
| | | | | | | | | 1999-03-26 Tomas Ogren <stric@ing.umu.se> * prop.c (build_hours_menu): Made it respect 12/24h settings.. Doesn't show until next time you open the dialog.. yet.. svn path=/trunk/; revision=780
* Did some i18n work Did some i18n workTomas Ogren1999-03-242-11/+10
| | | | | | | | | 1999-03-24 Tomas Ogren <stric@ing.umu.se> * gncal-week-view.c (gncal_week_view_set): Did some i18n work * eventedit.c (get_exception_string): Did some i18n work svn path=/trunk/; revision=779
* Made clist titles i18n:able Added which views that are possible for --viewTomas Ogren1999-03-242-8/+15
| | | | | | | | | | | | 1999-03-24 Tomas Ogren <stric@ing.umu.se> * gncal-todo.c (gncal_todo_init): Made clist titles i18n:able * main.c (poptOption): Added which views that are possible for --view in the --help text (closes #367) * main.c (dump_events): Added (short) month to the strftime and made the strings i18n:able svn path=/trunk/; revision=778
* Set the recur->interval to the value of the recur_rr_month_period spinNat Friedman1999-03-241-0/+3
| | | | | | | | | | | 1999-03-23 Nat Friedman <nat@nat.org> * eventedit.c (ee_store_recur_rule_to_ical): Set the recur->interval to the value of the recur_rr_month_period spin button if the event is being set "by day." This closes bug #675 as reported by bagfors@hpc2n.umu.se. Thanks for the report! svn path=/trunk/; revision=777
* Add Summary editing for TODO items -rconoverArturo Espinosa1999-03-171-2/+48
| | | | svn path=/trunk/; revision=761
* Add support for Due Date when adding a TODO item here. (column_resized):Clifford R. Conover1999-03-1112-36/+434
| | | | | | | | | | | | | | | | | | | | | | | | 1999-03-10 Clifford R. Conover <rconover@montana.edu> * gncal-todo.c (simple_todo_editor): Add support for Due Date when adding a TODO item here. (column_resized): New function (init_column_sorting): New function. (todo_click_column): New function. (convert_time_t_to_char, make_overdue_todo_style): New functions. * gnome-cal.c (gnome_calendar_todo_properties_changed): New function used to update the TODO when the properties have been chagned for it. * prop.c (prop_apply_todo): Apply TODO properties. * gncal-day-panel.c (todo_list_properties_changed): Update the TODO display here. * eventedit.c (date_edit_new): Made public svn path=/trunk/; revision=757
* 1999-03-10 Craig A Soules (soules+@andrew.cmu.edu)Arturo Espinosa1999-03-112-2/+4
| | | | | | | * timeutil.c, calendar.c, calobj.c, gncal-day-panel.c: Add support for daylight time savings. svn path=/trunk/; revision=756
* For DRAG_MOVE, DRAG_SIZE_TOP and DRAG_SIZE_BOTTOM: call child_focus_out ()Martin Baulig1999-03-011-0/+13
| | | | | | | | | | 1999-02-28 Martin Baulig <martin@home-of-linux.org> * gncal-full-day.c (recompute_motion): For DRAG_MOVE, DRAG_SIZE_TOP and DRAG_SIZE_BOTTOM: call child_focus_out () if the child currently has the focus. svn path=/trunk/; revision=717
* gtk_widget_get_requisition fix for Gtk+ 1.2.Martin Baulig1999-03-011-1/+1
| | | | svn path=/trunk/; revision=716
* Added Korean font to the fontset string. Likewise.Changwoo Ryu1999-02-272-10/+10
| | | | | | | | | | | | | | | 1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * quick-view.c (QUICK_VIEW_FONTSET): Added Korean font to the fontset string. * mark.h (*_FONTSET): Likewise. 1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * canvas.c (*_FONTSET): Added Korean fonts to the each fontset strings. svn path=/trunk/; revision=707
* Implemented new panel groups as suggested on gnome-hackersMichael Fulbright1999-02-261-1/+1
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=706
* Updated spanish language file;Pablo Saratxaga1999-02-254-7/+11
| | | | | | and some i18n improvements svn path=/trunk/; revision=692
* Save the owner/organizer of the event. (ical_object_create_from_vobject):Miguel de Icaza1999-02-241-1/+1
| | | | | | | | | | | | | 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
* tzname issuesTimur Bakeyev1999-02-222-2/+15
| | | | | | | | | 1999-02-22 Timur Bakeyev <mc@bat.ru> * configure.in: Added check for langinfo.h and for representation of timezone info - tzname or tm.tm_zone. svn path=/trunk/; revision=682
* Made use of g_get_{user,real}_name() instead of our own home-brew...Tomas Ogren1999-02-201-24/+2
| | | | | | | | | 1999-02-20 Tomas Ogren <stric@ing.umu.se> * main.c (init_username): Made use of g_get_{user,real}_name() instead of our own home-brew... svn path=/trunk/; revision=679
* will define fonts via fontset. Friendlier to locales that use iso8859-[^1]Sergey I. Panov1999-02-188-29/+61
| | | | | | | | | | | | | * gnome-month-item.c,gnome-month-item.h,goto.c,mark.h, month-view.c,prop.c,quick-view.c,year-view.c: will define fonts via fontset. Friendlier to locales that use iso8859-[^1] and koi8-r encodings. Does not solve problem for Asian languiges --- better solution is needed (e.g. standart GNOME fontstyles defined in gtkrc). Interpol svn path=/trunk/; revision=677
* Updated to install desktop into $(datadir)/gnome/appsMichael Fulbright1999-02-181-1/+1
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=674
* added danish language to the menu filePablo Saratxaga1999-02-171-2/+4
| | | | svn path=/trunk/; revision=673
* Internationalization Police (Interpol)Sergey I. Panov1999-02-161-7/+7
| | | | | | | * main.c: Use N_() macro for color settings labels in color_props structure. svn path=/trunk/; revision=672
* Indentation fixes.Federico Mena Quintero1999-02-161-1/+1
| | | | | | | | 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * goto.c (goto_dialog): Indentation fixes. svn path=/trunk/; revision=670
* Made a private copy of what localtime() returns, to be able to keep theTomas Ogren1999-02-161-5/+5
| | | | | | | | | 1999-02-15 Tomas Ogren <stric@ing.umu.se> * goto.c: Made a private copy of what localtime() returns, to be able to keep the data after more calls to localtime(). svn path=/trunk/; revision=669
* Gnomecal now autosaves all the time.Arturo Espinosa1999-02-126-3/+26
| | | | | | | | Gnomecal now autosaves all the time. Miguel. svn path=/trunk/; revision=662
* Removed the gtk_widget_realize call.Tomas Ogren1999-02-091-1/+0
| | | | | | | | 1999-02-09 Tomas Ogren <stric@ing.umu.se> * main.c: Removed the gtk_widget_realize call. svn path=/trunk/; revision=657
* Added Korean translations.Changwoo Ryu1999-02-061-0/+2
| | | | | | | | 1999-02-06 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gncal.desktop: Added Korean translations. svn path=/trunk/; revision=655
* New convenience function to create a properly-configured date editorFederico Mena Quintero1999-02-051-4/+16
| | | | | | | | | 1999-02-04 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (date_edit_new): New convenience function to create a properly-configured date editor widget. svn path=/trunk/; revision=644
* Make the calendar start weeks on Monday if appropriate.Federico Mena Quintero1999-02-055-10/+49
| | | | | | | | | | | | | | | | | | | 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_new): Make the calendar start weeks on Monday if appropriate. (gncal_week_view_time_format_changed): New function to notify the week view that the time format has changed. * gncal-day-panel.c (gncal_day_panel_new): Make the calendar start weeks on Monday if appropriate. (gncal_day_panel_time_format_changed): New function to notify the day panel that the time format has changed. * gnome-cal.c (gnome_calendar_time_format_changed): Tell the day and week views that the time format has changed. svn path=/trunk/; revision=643
* Set the title of the event editor window.Federico Mena Quintero1999-02-021-0/+1
| | | | | | | | | 1999-02-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (event_editor_init): Set the title of the event editor window. svn path=/trunk/; revision=639
* Do not remove the clipping rectangle here.Federico Mena Quintero1999-02-012-1/+2
| | | | | | | | | | | | | 1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_expose): Do not remove the clipping rectangle here. * view-utils.c (view_utils_draw_events): Remove the clipping rectangle here, since the user of this function should not know about it. svn path=/trunk/; revision=638
* Improve this draw routine. Now it can split the text in lines and fit asMiguel de Icaza1999-02-013-53/+129
| | | | | | | | | | | | | | 1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * view-utils.c (view_utils_draw_events): Improve this draw routine. Now it can split the text in lines and fit as many events as possible. (nicetime): Return strings without spaces at the beginning. * gncal-day-view.c (gncal_day_view_expose): Move clip-clear operation here. svn path=/trunk/; revision=637
* if the user clicks on an event that is an occurance, the menu will allowJason Tackaberry1999-01-312-15/+48
| | | | | | | | | | | | | | | | 1999-01-29 Jason Tackaberry <tack@dok.org> * gncal-full-day.c (child_popup_menu): if the user clicks on an event that is an occurance, the menu will allow the user to delete all occurances of this event, or just the selected occurance. (delete_occurance): added. * eventedit.c (append_exception): force the clist to select the new exception. (fixes segfault) (delete_exception): if the last exception in the clist is deleted, move the selection index up. (fixes segfault) svn path=/trunk/; revision=636
* Add --hidden key to hide the calendar at startup. Only works with GNOMEMiguel de Icaza1999-01-292-7/+36
| | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (parse_an_arg): Add --hidden key to hide the calendar at startup. Only works with GNOME window managers though :-( svn path=/trunk/; revision=635
* Schedule an alarm for midnight to change theMiguel de Icaza1999-01-296-18/+67
| | | | | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_init_alarms): Schedule an alarm for midnight to change the calendar_day_begin/calendar_day_end. * alarm.c (alarm_ready): If we reschedule, there is no need to activate any pending alarms. svn path=/trunk/; revision=634
* Insert the summary text here. (child_focus_in): No need to raise theFederico Mena Quintero1999-01-282-68/+59
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_new): Insert the summary text here. (child_focus_in): No need to raise the window, since we have Spiffo(tm) layout code. Boy, this is old code. (gncal_full_day_focus_child): Now that GtkText works better, we can avoid synthesizing a click which was causing grief, anyway. (child_button_press): Grab the focus before popping up the menu. * layout.c (find_index): Added a sanity check. * gncal-full-day.c (child_destroy): Unmap and unrealize the child before unparenting/destroying it. (child_unrealize): Unrealize the widget. What was I thinking? (child_new): Save the focus_out_event signal connection id in Child structure (in a new field). (child_destroy): Disconnect from the focus_out_event signal, since we don't want to get such an event when the widget is destroyed. (gncal_full_day_destroy): Destroy the children properly; it was leaking memory. svn path=/trunk/; revision=633
* Warn if the calendar file has changed.Miguel de Icaza1999-01-283-18/+55
| | | | | | | | | | | | 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (save_calendar_cmd): Warn if the calendar file has changed. * calendar.c (calendar_load, calendar_save): Keep track of the modification time for the calendar file. svn path=/trunk/; revision=632
* Only trap printable characters such that hotkeys work. (UNSELECT_TIMEOUT):Nat Friedman1999-01-202-24/+40
| | | | | | | | | | | | | 1999-01-20 Nat Friedman <nat@nat.org> * gncal-full-day.c (gncal_full_day_key_press): Only trap printable characters such that hotkeys work. (UNSELECT_TIMEOUT): Changed to 0. Much saner behavior. * prop.c (properties): Connect gnome_help_pbox_display to the GnomePropertyBox help button. svn path=/trunk/; revision=615
* Do not grab the mouse here (it was being grabbed incorrectly, anyways).Federico Mena Quintero1999-01-201-25/+35
| | | | | | | | | | | | 1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.c (quick_view_do_popup): Do not grab the mouse here (it was being grabbed incorrectly, anyways). (quick_view_map_event): Grab the mouse when the window is mapped. This avoids the ugly "while (xGrabPointer () != Success)" hack. (quick_view_button_release): Handle button releases here. svn path=/trunk/; revision=613
* do gtk_widget_realize on the toplevel window..Tomas Ogren1999-01-191-0/+1
| | | | | | | | 1999-01-19 Tomas Ogren <stric@ing.umu.se> * main.c: do gtk_widget_realize on the toplevel window.. svn path=/trunk/; revision=610
* Make the little calendar start up with the correct date.Federico Mena Quintero1999-01-141-1/+7
| | | | | | | | | 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-panel.c (gncal_day_panel_new): Make the little calendar start up with the correct date. svn path=/trunk/; revision=605
* Add the month to the date range display label.Federico Mena Quintero1999-01-141-2/+2
| | | | | | | | | 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_set): Add the month to the date range display label. svn path=/trunk/; revision=604
* Converted some more stuff to use the standards.Nat Friedman1999-01-091-19/+6
| | | | | | | | 1999-01-08 Nat Friedman <nat@nat.org> * main.c: Converted some more stuff to use the standards. svn path=/trunk/; revision=590
* New function to create the status bar. (setup_menu): Install menu hints.Nat Friedman1999-01-081-25/+53
| | | | | | | | | | | | 1999-01-08 Nat Friedman <nat@nat.org> * main.c (setup_appbar): New function to create the status bar. (setup_menu): Install menu hints. Menu items updated to match the standards. New Settings menu created. svn path=/trunk/; revision=589
* Wed, 30 Dec 1998 23:04:25 +0100 [Vincent]Vincent Renardias1998-12-311-1/+1
| | | | | | * Major translation updates. svn path=/trunk/; revision=567
* s/g_copy_strings/g_strconcat/Jeff Garzik1998-12-314-7/+7
| | | | svn path=/trunk/; revision=566
* Rewrote the old and broken alarm system. It never actually workedMiguel de Icaza1998-12-178-28/+110
| | | | | | | | | | | | | | | | | 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx> Rewrote the old and broken alarm system. It never actually worked properly. Now it works properly, and I figured a nice way to get the Audio alarm do something nicer (it is now like an alarm clock :-). * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to actually distinguish which alarm was triggered. * alarm.c (alarm_ready): The code was only activating the first alarm. Reschedule the timer upon delivery of an alarm. svn path=/trunk/; revision=535
* Use the allocation size instead of the old fields in the canvas structure.Federico Mena Quintero1998-12-153-4/+4
| | | | | | | | | 1998-12-14 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Use the allocation size instead of the old fields in the canvas structure. svn path=/trunk/; revision=523
* Use gnome_dialog_set_parent. ditto ditto.Miguel de Icaza1998-12-105-6/+14
| | | | | | | | | | 1998-12-09 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. * goto.c (goto_dialog): ditto * prop.c (properties): ditto. svn path=/trunk/; revision=522
* GNOME PIM livesMichael Fulbright1998-12-092-5/+3
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=518
* gncal: Fix server registration to give proper id/kindElliot Lee1998-12-031-1/+1
| | | | | | | | gncal: Fix server registration to give proper id/kind gnome-run: Update for new gnome_execute_*() retvals. svn path=/trunk/; revision=501
* s/gtk_window_position/gtk_window_set_position/Sebastian Wilhelmi1998-12-022-6/+6
| | | | | | | s/gtk_window_position/gtk_window_set_position/ s/gtk_container_border_width/gtk_container_set_border_width/ svn path=/trunk/; revision=498
* Remove more deprecated gnome_dialog functionsManish Vachharajani1998-11-301-1/+1
| | | | svn path=/trunk/; revision=493
* Add missing declaration for GtkWidget *sw.Andrew T. Veliath1998-11-241-0/+1
| | | | svn path=/trunk/; revision=487
* Update GtkClist usage.Miguel de Icaza1998-11-241-4/+5
| | | | | | | | 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * eventedit.c (ee_rp_init_exceptions): Update GtkClist usage. svn path=/trunk/; revision=486
* Use gtk_scrolled_window_add_with_viewport instead of gtk_container_addAndrew T. Veliath1998-11-241-1/+1
| | | | | | | | * gncal-day-panel.c (gncal_day_panel_new): Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add (gtk_clist change). svn path=/trunk/; revision=484
* use GPOINTER_TO_INTHerbert V. Riedel1998-11-243-4/+4
| | | | | | | | | | 1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org> * eventedit.c: use GPOINTER_TO_INT * gncal-todo.c: same. svn path=/trunk/; revision=483
* DittoHavoc Pennington1998-11-241-0/+2
| | | | svn path=/trunk/; revision=482
* Fixed the popt event parsing callback to have the correct number ofMatthew Wilson1998-11-221-24/+24
| | | | | | | | | 1998-11-22 Matthew Wilson <msw@redhat.com> * main.c: Fixed the popt event parsing callback to have the correct number of arguments. This stops it from segfaulting. svn path=/trunk/; revision=481