diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-04-03 11:17:46 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-04-03 11:17:46 +0800 |
commit | 508f3f4fe89abdf886a3c4047bbd7c7be6309d14 (patch) | |
tree | 3d3c2516be0fa532441f6394123d2586e6f584f0 /calendar | |
parent | 784478463a5d9efdaa1c1d1d1f44abda0c0cd650 (diff) | |
download | gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.tar gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.tar.gz gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.tar.bz2 gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.tar.lz gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.tar.xz gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.tar.zst gsoc2013-evolution-508f3f4fe89abdf886a3c4047bbd7c7be6309d14.zip |
Plug leak.
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* gui/event-editor.c (dialog_to_comp_object): Plug leak.
svn path=/trunk/; revision=9117
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 140 | ||||
-rw-r--r-- | calendar/gui/event-editor.c | 2 |
2 files changed, 81 insertions, 61 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e29149e637..1e3d917b65 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,23 @@ +2001-04-02 Federico Mena Quintero <federico@ximian.com> + + * gui/event-editor.c (dialog_to_comp_object): Plug leak. + +2001-04-01 Federico Mena Quintero <federico@ximian.com> + + Client-side glue for the live query engine. + + * cal-client/query-listener.[ch]: New files with the + implementation fo the QueryListener interface. + + * cal-client/cal-query.[ch]: New files with the client-side + convenience object for live queries. + + * cal-client/cal-listener.h (CalListenerClass): Removed unused + slots for signal handlers. + + * cal-client/Makefile.am (libcal_clientinclude_HEADERS): Now we + install the evolution-calendar.h header. This sucks a bit. + 2001-04-01 Gediminas Paulauskas <menesis@delfi.lt> * gui/calendar-commands.c: use new pixmap cache. Added some menu icons @@ -18,7 +38,7 @@ UNKNOWN). (occur-in-time-range? START END) - + START - int, time_t start of the time range END - int, time_t end of the time range @@ -57,12 +77,12 @@ * pcs/cal.c (Cal_get_query): Implementation of the ::getQuery() method. -2001-03-27 Anna Marie Dirks <anna@ximian.com> +2001-03-27 Anna Marie Dirks <anna@ximian.com> * gui/e-itip-control.c: fixed button placement to comply - with gnome standards. + with gnome standards. -2001-03-27 Anna Marie Dirks <anna@ximian.com> +2001-03-27 Anna Marie Dirks <anna@ximian.com> * gui/e-itip-control.glade: fixed spacing and label alignment to comply with gnome standards. Also removed shadows from extraneous @@ -96,7 +116,7 @@ * gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h> * gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h> * pcs/cal-backend.c: Replace <gtk/gtk.h> - + 2001-03-25 Federico Mena Quintero <federico@ximian.com> * gui/e-calendar-table.c (e_calendar_table_init): The @@ -138,7 +158,7 @@ here from e_day_view_on_new_appointment. Allows setting for "full day" event. (e_week_view_on_new_full_day): New function for making a full day - event. + event. (e_week_view_on_goto_date): Go To support. (e_week_view_on_goto_today): Goto today support. @@ -146,7 +166,7 @@ here from e_day_view_on_new_appointment. Allows setting for "full day" event. (e_day_view_on_new_full_day): New function for making a full day - event. + event. (e_day_view_on_goto_date): Go To support. (e_day_view_on_goto_today): Goto today support. @@ -155,7 +175,7 @@ 2001-03-07 Miguel de Icaza <miguel@ximian.com> * gui/control-factory.c (calendar_persist_init): New function: - inits the BonoboPersistFile server. + inits the BonoboPersistFile server. * gui/GNOME_Evolution_Calendar.oaf.in: Added BonoboPropertyBag to the list of supported interfaces that were supported but not @@ -165,7 +185,7 @@ 2001-03-15 Dan Winship <danw@ximian.com> - * gui/e-week-view.c (e_week_view_start_editing_event): + * gui/e-week-view.c (e_week_view_start_editing_event): * gui/e-day-view.c (e_day_view_start_editing_event): Update arguments to e_canvas_item_grab_focus. @@ -192,13 +212,13 @@ * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as - reported to the genepool mailing list. + reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their - state. + state. This will also let us add icon support (when we get nice icons for this) @@ -225,7 +245,7 @@ * gui/calendar-commands.c: connected to "destroy" signal of calendars so we can remove them from all_calendars list. - * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): + * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): call e_tasks_update_all_config_settings() to update all the settings in the Tasks folders as well. @@ -240,13 +260,13 @@ * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as - reported to the genepool mailing list. + reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their - state. + state. This will also let us add icon support (when we get nice icons for this) @@ -361,7 +381,7 @@ 2001-02-13 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_new_task): call task_editor_focus - + 2001-02-13 JP Rosevear <jpr@ximian.com> * gui/calendar-commands.c (update_pixmaps): Set toolbar new @@ -399,7 +419,7 @@ * gui/Makefile.am: Hook up the xml-i18n-tools + .oaf.in stuff. * gui/GNOME_Evolution_Calendar*.oaf.in: Marked strings for translation. - + 2001-02-11 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c: added DB3 transactions support @@ -409,16 +429,16 @@ 2001-02-11 Gediminas Paulauskas <menesis@delfi.lt> Really use xml-i18n-tools. - + * conduits/calendar/e-calendar-conduit-control-applet.desktop, conduits/todo/e-todo-conduit-control-applet.desktop: removed. - + * conduits/calendar/e-calendar-conduit-control-applet.desktop.in, conduits/todo/e-todo-conduit-control-applet.desktop.in: added empty. * conduits/calendar/Makefile.am, conduits/todo/Makefile.am: reflect above changes, merge translations. - + * gui/*.glade.h, gui/dialogs/*.glade.h: removed, xml-i18n-extract takes care of strings itself. @@ -430,7 +450,7 @@ 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor-dialog.glade: Oops, remove old widget - + 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (fill_widgets): fill in new @@ -443,7 +463,7 @@ * gui/dialogs/task-editor-dialog.glade: Make more consistent, fixing bugs 1247 and 1249 - * gui/dialogs/task-editor.c (fill_widgets): + * gui/dialogs/task-editor.c (fill_widgets): * gui/event-editor-dialog.glade: Gui tidying @@ -452,7 +472,7 @@ * cal-util/cal-component.c (cal_component_set_url): Don't try and write an empty string as a property - + 2001-02-08 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c: Move the get_change code here @@ -465,7 +485,7 @@ * pcs/cal-backend-file.c (compute_alarm_range): Use icaldurationtype_as_int (replace _as_timet) (add_alarm_occurrences_cb): ditto - + 2001-02-08 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c (compute_alarm_range): Use @@ -557,7 +577,7 @@ * gui/e-calendar-table.c: ditto 2001-02-06 JP Rosevear <jpr@ximian.com> - + * cal-util/cal-component.c (cal_component_set_categories): If the categories string is empty, remove the property (get_period_list): Fixes from clahey to handle the new rdate @@ -616,7 +636,7 @@ * gui/e-calendar-table.c: Mark a string for translation. * gui/e-itip-control.c: Mark a bunch of strings for translation. - + 2001-01-30 Ettore Perazzoli <ettore@ximian.com> * gui/print.c: #include <sys/time.h>. @@ -684,7 +704,7 @@ 2001-01-23 JP Rosevear <jpr@ximian.com> * libical import cleanup - + 2001-01-23 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): properly ref @@ -703,9 +723,9 @@ * gui/dialogs/save-comp.h: new header - * gui/dialogs/save-comp.c (save_component_dialog): shows the save + * gui/dialogs/save-comp.c (save_component_dialog): shows the save dialog - + 2001-01-22 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (for_each_modified): remove duplicate @@ -724,7 +744,7 @@ deleted records from the pilot map so we don't have dupes in the future * conduits/todo/todo-conduit.c (delete_record): ditto - + 2001-01-21 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/task-editor.c (file_delete_cb): Fix bug #1250; now @@ -747,7 +767,7 @@ 2001-01-19 JP Rosevear <jpr@ximian.com> - * cal-util/cal-component.c (cal_component_alarm_new): create a new + * cal-util/cal-component.c (cal_component_alarm_new): create a new cal component alarm (cal_component_add_alarm): add alarm to the cal component (cal_component_remove_alarm): remove alarm from the cal component @@ -755,7 +775,7 @@ * cal-util/cal-component.h: new protos - * conduits/calendar/calendar-conduit.c (comp_from_remote_record): + * conduits/calendar/calendar-conduit.c (comp_from_remote_record): add alarm information, still needs to be hacked to replace an already existing alarm. questions abound about the heuristic for doing this. @@ -763,7 +783,7 @@ * gui/event-editor.c (dialog_to_comp_object): Properly set categories to NULL if there are none - + 2001-01-18 Federico Mena Quintero <federico@ximian.com> * gui/tasks-migrate.[ch]: New files with a simple sequence to @@ -805,18 +825,18 @@ them to go with their theme. At least the calendars are usable in any theme now, even though the colors may not go well with the theme. Also set the font of all the EText items in style_set. - + * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't draw the icons if we are editing the event. - * gui/e-day-view.c: + * gui/e-day-view.c: * gui/e-week-view.c: reinstated the optimizations so we don't do a complete relayout if the event's dates haven't been changed. (Though we still do a re-layout when recurring events change, since comparing all the RDATES/RRULES/EXDATES/EXRULES is too much hassle.) A side-effect of this change is that the EWeekView won't crash so often - only recurring events will be a problem. - + * cal-util/cal-component.[hc]: added function to check if the start and end dates of a component match. Used for optimizing the updating of the EDayView & EWeekView. @@ -827,7 +847,7 @@ for open error and handled * conduits/todo/todo-conduit.c (start_calendar_server): ditto - + 2001-01-17 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (start_calendar_server): Check @@ -835,7 +855,7 @@ * pcs/cal-backend.c (cal_backend_compute_changes): Fix transposition of sync db location - + 2001-01-17 Federico Mena Quintero <federico@ximian.com> * */*: Ximianified email addresses and copyrights. @@ -1003,7 +1023,7 @@ 2001-01-14 JP Rosevear <jpr@ximian.com> - * conduits/calendar/Makefile.am: pass -module and -avoid-version to + * conduits/calendar/Makefile.am: pass -module and -avoid-version to conduit linker * conduits/todo/Makefile.am: ditto @@ -1033,7 +1053,7 @@ Also made sure the initialize_value()/get_value() functions don't return NULL since that can cause a SEGV. - * gui/e-week-view.c: + * gui/e-week-view.c: * gui/e-day-view.c: set the "fill_color_rgba" arg of the EText items to black since it doesn't seem to set up a default color properly. Hopefully this fixes the bug on Solaris where the items appear with @@ -1062,7 +1082,7 @@ 2001-01-09 Dave Camp <dave@helixcode.com> - * gui/Makefile.am: Replaced e-meet-dialog.glade.h with + * gui/Makefile.am: Replaced e-meet-dialog.glade.h with e-meeting-dialog.glade in glade_messages. * gui/e-meeting-dialog.glade: Enabled the translatable string option. @@ -1096,7 +1116,7 @@ * gui/calendar-summary.c (generate_html_summary): Get the tasks correctly. (generate_html_summary): Mark the tasks as completed if so. - + 2001-01-08 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files for the Tasks folders. @@ -1104,7 +1124,7 @@ * gui/e-tasks.[hc]: new widget to encapsulate the Tasks view. * gui/tasks-control.[hc]: new files to implement the Tasks control. - + * gui/tasks-control-factory.[hc]: new files to implement the factory for the Tasks controls. (I think the way I've split the code up is a lot cleaner than the GnomeCal implementation - the factory file just @@ -1121,12 +1141,12 @@ * gui/calendar-config.[hc]: added convenience functions to configure the common settings of ECalendar and EDateEdit widgets. - * gui/dialogs/task-editor.c (task_editor_create_date_edit): - * gui/gnome-cal.c (gnome_calendar_update_config_settings): + * gui/dialogs/task-editor.c (task_editor_create_date_edit): + * gui/gnome-cal.c (gnome_calendar_update_config_settings): * gui/event-editor.c: used function to configure the ECalendars and EDateEdits. - * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): + * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): fixed minor bug in format strings. 2001-01-06 Iain Holmes <iain@helixcode.com> @@ -1147,9 +1167,9 @@ * gui/event-editor-dialog.glade: Add categories and contacts buttons and fields - + * gui/dialogs/task-editor-dialog.glade: Rename button - + 2001-01-05 JP Rosevear <jpr@helixcode.com> * gui/dialogs/task-editor.c (get_widgets): get categories button @@ -1159,7 +1179,7 @@ (categories_clicked): throw up the categories dialog and update when ok is clicked - * gui/dialogs/task-editor-dialog.glade: Tweak to name the categories + * gui/dialogs/task-editor-dialog.glade: Tweak to name the categories button and make it active * gui/calendar-model.c (get_categories): We can get the string list of @@ -1256,9 +1276,9 @@ 2000-12-22 JP Rosevear <jpr@helixcode.com> - * gui/dialogs/delete-comp.c (delete_component_dialog): Clean up + * gui/dialogs/delete-comp.c (delete_component_dialog): Clean up translatable strings for translators, fixes bug 993 - + 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto.c (create_ecal): Make sure the current month is shown @@ -1268,9 +1288,9 @@ 2000-12-22 JP Rosevear <jpr@helixcode.com> - * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): + * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): account for the case where there are no alarms, fixes crash - + 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto.c (ecal_date_range_changed): New function to keep the @@ -1284,13 +1304,13 @@ * gui/mark.[hc], gui/prop.c: Remove ancient gnomecal code that is no longer needed, last bit of bug 904 - + 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto-dialog.glade.h: translations - + * gui/goto-dialog.glade: new glade file for goto dialog - + * gui/gnome-cal.c (setup_widgets): Set date navigator attributes * gui/calendar-commands.h: remove prototype @@ -1368,7 +1388,7 @@ * conduits/todo/todo-conduit.h: Fix erroneous documentation - * conduits/todo/todo-conduit.c (comp_from_remote_record): if + * conduits/todo/todo-conduit.c (comp_from_remote_record): if !is_empty_time rather than is_empty_time (e_todo_context_new): Return a pointer rather than fill in a parameter @@ -1380,8 +1400,8 @@ (post_sync): Destroy the map later (conduit_get_gpilot_conduit): Fix e_todo_context_new params - * conduits/calendar/calendar-conduit.[hc]: Similar to above - + * conduits/calendar/calendar-conduit.[hc]: Similar to above + 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c: Remove pointless comment @@ -1391,12 +1411,12 @@ 2000-12-19 JP Rosevear <jpr@helixcode.com> - * conduits/calendar/calendar-conduit.c (local_record_from_comp): + * conduits/calendar/calendar-conduit.c (local_record_from_comp): Convert cal component strings to pilot character set (comp_from_remote_record): vice versa * conduits/todo/todo-conduit.c: Same as above - + 2000-12-19 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.c (compute_alarm_range): Fix confusion in diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 55b3b9865a..8e3f86c92f 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -2382,7 +2382,7 @@ dialog_to_comp_object (EventEditor *ee, CalComponent *comp) cal_component_set_description_list (comp, &l); } - if (!str) + if (str) g_free (str); /* Dates */ |