2009-03-12 Rob Bradford <rob@linux.intel.com> * NEWS: * README: * configure.ac: Release Dates 0.4.7. 2009-03-12 Rob Bradford <rob@linux.intel.com> * src/dates_callbacks.c (_zoom_to_event_cb), (dates_edit_event_on_startup): * src/dates_callbacks.h: * src/dates_main.c (main): * src/dates_types.h: Add a "--edit-event" option that will open Dates on a target event if it finds it. 2009-02-13 Ross Burton <ross@linux.intel.com> * src/dates_callbacks.c: * src/dates_main.c: Include config.h to fix the build. 2008-07-14 Chris Lord <chris@openedhand.com> Bug #687 - Year 2008 bug in Dates? * src/dates_view.c: (dates_view_get_extra_visible), (dates_view_get_visible_cspan), (dates_view_main_expose): Fix events in the first week of January not appearing in week-view zoom modes when first week of January doesn't start on a Monday 2008-04-13 Chris Lord <chris@openedhand.com> * src/dates_main.c (dates_load_calendars), (main): Apply patch by Jonny Lamb <jonnylamb@jonnylamb.com>, fixes bug #778; 'no window and segfault' (handle errors from options parsing correctly). Also make sure all g_error calls are wrapped in curly braces, to silence warnings. 2008-04-03 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_about_cb): Fix about box (#867, thanks Marcin.) 2008-02-27 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release Dates 0.4.6. 2008-02-27 Chris Lord <chris@openedhand.com> * src/dates_callbacks.c: (dates_delete_cb): Use a HildonNote instead of a GtkDialog so we get the hildon icon (#809, thanks Thomas Perl) 2008-02-27 Chris Lord <chris@openedhand.com> * src/dates_callbacks.c: (dates_date_changed_cb): * src/dates_view.c: (dates_view_refresh_day_layouts), (dates_view_refresh_month_layouts), (dates_view_draw_event_list): Convert strings from strftime/nl_langinfo to UTF-8 from locale encoding (#803, thanks Georges Da Costa) 2008-02-22 Chris Lord <chris@openedhand.com> * src/dates_view.c: (dates_view_refresh): Use timezone when refreshing current time (#192, thanks Thomas Perl). 2008-02-22 Ross Burton <ross@openedhand.com> * src/dates_main.c: Call g_set_application_name. * src/dates_callbacks.c: Don't set "name" in the about dialog. 2008-02-20 Chris Lord <chris@openedhand.com> * src/dates_callbacks.c: (dates_calendar_combo_changed_cb): Fix #598 2008-02-19 Chris Lord <chris@openedhand.com> * configure.ac: Use $enableval instead of hard-coded 'no' - fixes --enable-dnd and --enable-debug 2008-02-19 Chris Lord <chris@openedhand.com> * src/dates_gtk.c: (create_main_window), (create_time_dialog), (calendar_do_new_dialog), (calendar_do_edit_dialog): * src/dates_hildon.c: (create_main_window): Remove Pango markup in gettext strings (#767, thanks Thomas Perl). 2008-02-17 Ross Burton <ross@openedhand.com> * src/dates_callbacks.c: * src/dates_main.c: Mark more strings for translation (#656, thanks Stéphane Raimbault). 2007-12-06 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release Dates 0.4.5 2007-12-06 Rob Bradford <rob@openedhand.com> * configure.ac: * src/dates_callbacks.c: (dates_details_time_cb): * src/dates_gtk.c: (calendar_do_new_dialog), (calendar_do_edit_dialog): * src/dates_hildon.c: (dates_platform_init): * src/dates_types.h: Update to latest Hildon. 2007-12-06 Rob Bradford <rob@openedhand.com> * data/Makefile.am: Add dates-64.png to the EXTRA_DIST 2007-12-06 Rob Bradford <rob@openedhand.com> * data/Makefile.am: Add 64x64 png for icon. 2007-11-15 Ross Burton <ross@openedhand.com> * src/dates_gtk.c: Add ellipsis to Import, as per HIG (#536, thanks Michael Monreal). 2007-11-15 Loïc Minier <lool@dooz.org> * src/dates_gtk.c: (dates_platform_import_dialog): Translate import dialog title as well (#551). 2007-11-14 Ross Burton <ross@openedhand.com> * data/dates.desktop.in: Remove Encoding (deprecated) and rename SingleInstance to X-MB-SingleInstance. 2007-08-28 Chris Lord,,, <chris@openedhand.com> * src/dates_callbacks.c: Reinstate my name as author, as I wrote most of this code. Also credit Rob Bradford and change tab-width to 8 as most of the code is written for that. 2007-08-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_update_query): Fix a couple of memory leaks 2007-07-12 Ross Burton <ross@openedhand.com> * src/Makefile.am: Don't install the datesview headers. 2007-07-12 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release Dates 0.4.4 2007-07-12 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_main_button_release_cb): Remove spurious debug message. 2007-07-12 Chris Lord <chris@openedhand.com> * src/dates_view.c: (dates_view_main_button_release_cb): Fix an infinite loop bug when moving an event backwards in January 2007-07-05 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_toolbar): For those buttons without text use gtk_container_add (...) rather that gtk_button_set_image. This works better when text is disabled on buttons in the theme (e.g. sato.) Switch over to using the correct version of the stock names. 2007-06-06 Ross Burton <ross@openedhand.com> * src/Makefile.am: Don't install the dateview library, and remove --export-dynamic (added for glade). 2007-06-06 Ross Burton <ross@openedhand.com> * configure.ac: Remove AM_MAINTAINER_MODE. 2007-06-04 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release Dates 0.4.3. 2007-05-24 Ross Burton <ross@openedhand.com> * src/dates_gtk.c: Use slightly more verbose strings in the (non-functional) recurring editor. This is to make it translatable into any other language. 2007-05-01 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_top_expose): Really fix clipping problem. 2007-05-01 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_import_cb): * src/dates_callbacks.h: * src/dates_gtk.c: (dates_platform_import_dialog): * src/dates_platform.h: Refactor import code to make suitable for porting. 2007-05-01 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_import_calendar_data_from_file), (dates_import_cb): * src/dates_callbacks.h: Add import functionality. * src/dates_gtk.c: (create_main_menu): Add 'Import' to the menu. 2007-04-23 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_top_expose): Fix little clipping problem where the bottom of the text was clipped off when drawing the days of the week at the top. 2007-04-17 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_zoom_in_cb), (dates_zoom_out_cb): Correct the zoom levels, have 24 hours for 7 days and 12 hours for 5 days. 2007-04-17 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release Dates 0.4.2. 2007-04-17 Rob Bradford <rob@openedhand.com> * src/dates_main.c: (dates_load_calendars): Fix compiler warnings. 2007-04-17 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_zoom_in_cb), (dates_zoom_out_cb): Add an extra zoom level for full week. This is between month and working week. 2007-04-17 Rob Bradford <rob@openedhand.com> * src/dates_main.c: (dates_load_calendars): If we come across a group with a base_uri that begins file:/ also correct the uri setup for the system calendar. This will mean that the detection in the edit dialog (preventing the deletion of the system calendar) will work correctly. 2007-04-17 Rob Bradford <rob@openedhand.com> * src/dates_main.c: (dates_load_calendars): Check that the base_uri for the local group begins with file:// and if not make it begin with this (rather than file:/). This fixes a crash seen when trying to add a new calendar on devices where an older version of Dates has been upgraded to current. 2007-04-16 Ross Burton <ross@openedhand.com> * data/dates.desktop.in: Remove Application and GTK, they are not valid categories. 2007-04-13 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (dates_platform_pre_show): * src/dates_main.c: (main): Move the setting of the default icon for the windows before the first window is created. 2007-04-13 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_toolbar): Totally refactor the toolbar code to remove the Glade autogen insanity. 2007-04-13 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_toolbar): Fix compilation problems. 2007-04-13 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_toolbar): Make the Today button use gtk_button_set_image (...) 2007-04-12 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release 0.4.1. 2007-04-12 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (calendar_do_new_dialog): Fix segfault condition if no calendar type is chosen from the drop down box. Now default to the local calendar choice. Spotted by Pierpaolo Toniolo. 2007-04-12 Rob Bradford <rob@openedhand.com> * NEWS: * README: * configure.ac: Release 0.4.0. 2007-04-12 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (calendar_do_edit_dialog): Remove bogus printf. 2007-04-12 Rob Bradford <rob@openedhand.com> * src/Makefile.am: Make the distcheck pass. 2007-04-11 Rob Bradford <rob@openedhand.com> * dates.doap: Add myself to the DOAP file. 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (calendar_do_new_dialog), (calendar_do_edit_dialog): Use the HildonColorButton when compiling with Hildon support. 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_hildon.c: (create_toolbar), (create_time_dialog): Build fixes from prior changes (the switch from an Open button to an Edit one.) Use the new dates icon. 2007-04-11 Rob Bradford <rob@openedhand.com> * data/Makefile.am: Fix the build system so that it creates the scalable directory in the icon theme. 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Check the version for Pango (pango_layout_get_line_readonly) is only available in 1.16 and later. 2007-04-11 Rob Bradford <rob@openedhand.com> * Makefile.am: Add libowl directory to SUBDIRS. * configure.ac: Add an --enable-owl flag. Populate GTK_ variables (used by libowl/Makefile.am) * libowl/Makefile.am: * libowl/owlcolourbutton.c: (owl_colour_button_get_property), (owl_colour_button_set_property), (owl_colour_button_dispose), (owl_colour_button_finalize), (owl_colour_button_class_init), (button_clicked), (owl_colour_button_get_colour), (owl_colour_button_set_colour), (owl_colour_button_init), (owl_colour_button_new): * libowl/owlcolourbutton.h: * libowl/owlcolourpalette.c: (owl_colour_palette_get_property), (owl_colour_palette_set_property), (owl_colour_palette_dispose), (owl_colour_palette_finalize), (owl_colour_palette_class_init), (owl_colour_palette_init), (button_clicked), (owl_colour_palette_new), (owl_colour_palette_set_colours): * libowl/owlcolourpalette.h: * libowl/owlcolourselectordialog.c: (owl_colour_selector_dialog_orientation_get_type), (owl_colour_selector_dialog_get_property), (owl_colour_selector_dialog_set_property), (owl_colour_selector_dialog_dispose), (owl_colour_selector_dialog_finalize), (owl_colour_selector_dialog_constructor), (owl_colour_selector_dialog_class_init), (colour_selected_cb), (owl_colour_selector_dialog_get_colour), (owl_colour_selector_dialog_set_colour), (owl_colour_selector_dialog_init), (owl_colour_selector_dialog_new_with_orientation), (owl_colour_selector_dialog_new): * libowl/owlcolourselectordialog.h: * libowl/owlcolourswatch.c: (owl_colour_swatch_get_property), (owl_colour_swatch_set_property), (owl_colour_swatch_dispose), (owl_colour_swatch_finalize), (update_pixbuf), (expose_event), (owl_colour_swatch_class_init), (owl_colour_swatch_init), (owl_colour_swatch_new), (owl_colour_swatch_set_colour), (owl_colour_swatch_get_colour): * libowl/owlcolourswatch.h: Add OwlColourButton and dependencies from libowl with a modified Makefile.am * src/Makefile.am: * src/dates_gtk.c: (calendar_do_new_dialog), (calendar_do_edit_dialog): Use libowl when USE_OWL is set (when --enable-owl=true.) 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (dates_platform_details_dlg): Fix compiler warnings. 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_about_cb): Update about box. 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Remove unnecessary debug code/whitespace. 2007-04-11 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Improve the partial line drawing text for events. 2007-04-10 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_drag_motion): Add missing cast. 2007-04-10 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_drag_motion): Use gtk_drag_check_threshold to decide when to start the dragging around of events. (OH Bugzilla #127.) 2007-04-10 Rob Bradford <rob@openedhand.com> * src/dates_main.c: (main): Ensure that the first first entry in the calendars list is always selected. 2007-04-10 Rob Bradford <rob@openedhand.com> * data/Makefile.am: Install 22x22 version of the icon and the svg icon. * data/dates.svg: Add svg version of new icon. * data/dates-*.png: New icons. * src/dates_gtk.c: (dates_platform_pre_show): * src/dates_hildon.c: (dates_platform_pre_show): Use 'dates' icon for the application. 2007-04-10 Rob Bradford <rob@openedhand.com> * src/dates_types.h: Add a pointer to the GtkNotebook used in the details dialog to the DatesData struct. * src/dates_gtk.c: (create_details_dialog): Set the pointer in the DatesData struct. * src/dates_gtk.c: (dates_platform_details_dlg): Switch to the first tab in the details dialog when showing the dialog. 2007-04-10 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_event_selected_cb), (dates_edit_cb): * src/dates_callbacks.h: * src/dates_gtk.c: (create_toolbar): * src/dates_main.c: (connect_callbacks_view): * src/dates_types.h: Switch open stock icon for edit stock icon and update the name of the widgets and functions appropriately. 2007-04-10 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Adjust the clipping region used when drawing the event summary layout so that as many lines as possible can be drawn. 2007-04-03 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (calendar_do_new_dialog), (calendar_do_edit_dialog_response_cb), (calendar_do_edit_dialog), (calendars_response_cb): Some small changes to make maintaining other branches easier by making some definitions conditional. 2007-03-29 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_finalize), (dates_view_refresh_date_pixmaps), (dates_view_main_expose): Prerender the date boxes in the corner to a pixmap and then copy that pixmap in when drawing the box in the corner. The exception is for the selected day or if the day being drawn is today. These are drawn using the original code. 2007-03-29 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Fix a bug where the stippling was applied to all events when an event was being moved. 2007-03-29 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_main_expose): Improve the detection code that decides whether to show the Marcus Bains line or not. Relies on the fact that an unconfigured Evolution (required on first run) will have have the location set to UTC which isn't valid. 2007-03-29 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_main_expose): Only show the Marcus Bains line if we were able to fetch out the timezone key from GConf for Evolution. This will mean it won't be shown on Maemo but it will still be incorrect on the desktop when the user hasn't run Evolution to set their timezone. Need to figure out stuff wrt to timezones in Dates 0.5, try and get the information from as many sources as possible and then revert to asking the user :-(. 2007-03-29 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_side_expose): Draw the text down the left hand side in black. 2007-03-29 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Only show text in the events if it will fit vertically. Really this code needs looking at again because if the event summary were spread over multiple lines and one of those lines could be visible then at least that line should be shown. 2007-03-28 Chris Lord <chris@openedhand.com> * src/dates_view.c: (dates_view_draw_event): Fix compiler warning on stipple string and fix critical warning trying to retrieve days in month when dragging/sizing an event. 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_top_expose): Use widget->style->black rather than defining our own. Thanks to Chris for pointing this out. 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init): Create a black GdkColor object. * src/dates_view.c: (dates_view_top_expose): Draw the name of the days in black when at month or week level (rather than grey.) 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_draw_event): Stipple those events that appear outside the month to make this clear. * src/dates_view.c: (dates_view_main_expose): Setup the line attributes of the GC so that the box in the corner containing the date is thickened like the border if the day is selected. Make the line dashed when drawing the line representing the current time. 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init): Make the grey darker. 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_main_expose): Make the date number in the box in the corner of the day black except when the date is today. It used to be grey with black reserved for the selected day. 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_main_expose): Make the background for the day a light grey if the day is from outside the current month/week. 2007-03-28 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_main_expose): Show the date for the extra days as well. 2007-03-27 Chris Lord <chris@openedhand.com> * src/dates_view.c: Draw events from the previous/next month when there's space available to draw them. Also use constant colours instead of theme colours; probably needs some tweaking for prettiness. 2007-03-27 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_refresh_date_layouts): Make the boxes in the corner 1.5 times the maximum size needed for the bounding box for the day number. 1.25 was too small on the N800. 2007-03-27 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_refresh_date_layouts): Keep track of the size of the biggest bounding box that the day number would ever occupy and use this to calculate the size for a box in the top corner of the day. * src/dates_view.c: (dates_view_draw_event): Ensure that the text for the event would not overlap with the corner box by indenting it. * src/dates_view.c: (dates_view_main_expose): Draw the corner box with the day number centred inside it. 2007-03-27 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_details_dialog), (create_time_dialog), (entry_changed), (combo_box_changed), (calendar_do_new_window), (calendar_do_edit_window_response_cb), (calendar_do_edit_window), (calendars_response_cb), (create_calendars_dialog), (create_exceptions_dialog), (create_main_menu): Fix compiler warnings. 2007-03-26 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_details_dialog): #ifdef 0 out the declarations for the widgets used in the disabled recurrences stuff in the details dialog. This is to try and reduce the number of warnings whilst allowing us to keep the code around for future development. 2007-03-26 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (calendar_do_edit_window_response_cb), (calendar_do_edit_window): Move the code that brings up the delete confirmation dialog into a callback hooked onto the response signal. This allows us to then stop the emission of the signal and thus prevents gtk_dialog_run returning in the case of the user cancelling the delete. Thanks to Emmanuele for the inspiration. 2007-03-26 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_details_dialog), (create_time_dialog), (create_calendars_dialog), (create_exceptions_dialog): Switch to using gtk_dialog_add_button rather than manually adding the button to the action area. I think this was glade autogenerated :-(. 2007-03-22 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_main_motion_notify_cb): Switch to using GDK_INVERT rather than GDK_XOR. This gives a better outline colour when dragging with a dark coloured calendar colour. 2007-03-22 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_cal_open_cb): Work around a strange bug where e_cal_is_read_only gives the wrong result with eds-dbus for the http backend. Looks like some kind of stack corruption or something. 2007-03-22 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_load_esource), (dates_update_calendars): Set the calendar mode to remote for all calendars. This seems to be necessary for accessing remote calendars in some cases (when not running not running on the desktop?) 2007-03-21 Rob Bradford <rob@openedhand.com> * src/dates_types.h: Add an ESourceList to the DatesData struct to be shared by everything that uses it. This sharing also avoids a strange bug (in either gconf (likely) or eds-dbus (less likely) where the list isn't updated properly without restarting the application. * src/dates_callbacks.c: (dates_gconf_selected_cb): * src/dates_gtk.c: (calendar_do_new_window), (calendar_do_edit_window), (calendars_response_cb): Use list from the struct rather than create a new one. * src/dates_main.c: (dates_load_calendars): After creating the list update the DatesData struct. 2007-03-21 Rob Bradford <rob@openedhand.com> * src/Makefile.am: Use -std=c99 for building. 2007-03-20 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_cal_open_cb): Remove the code for creating the group & source on first start from the callback. It is better implemented elsewhere. * src/dates_main.c: (dates_load_calendars), (main): Improve calendar setup/first run detection: - If there are zero groups in the list create new 'local' group and create a system calendar to put in it. (First run.) - Create group with a base_uri of "webcal://" if not already present. - That the sources are correctly setup inside their groups. (Correct old first run behaviour.) 2007-03-20 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_details_dialog): Setup the signal in the details dialog on the correct widget for the delete button. 2007-03-19 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (entry_changed), (combo_box_changed), (calendar_do_new_window), (calendar_do_edit_window), (calendars_response_cb), (create_calendars_dialog), (dates_platform_calendars_dlg): Add calendar creation & editing code. 2007-03-19 Rob Bradford <rob@openedhand.com> * src/dates_callbacks.c: (dates_load_esource), (dates_update_calendars): Use FALSE for only_if_exists to e_cal_open. This is important when opening a newly created calendar. 2007-03-12 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_main_menu): Disable edit menu. It's not hooked up to anything. 2007-03-12 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_details_dialog), (dates_platform_details_dlg): * src/dates_types.h: Make delete button only show up in the details dialog when editing an existing entry rather than creating a new one. 2007-03-08 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_set_visible_hours): Fix a compiler warning. 2007-03-08 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_update_scrollability): Set the increments on the adjuster to sensible values. 2007-03-08 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_set_visible_hours): Remove some code that has now been duplicated in the dates_view_update_scrollability function. * src/dates_view.c: (dates_view_update_scrollability): Notify the adjuster that the value has changed as well as the range. 2007-03-07 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_main_window): * src/dates_hildon.c: (create_main_window): * src/dates_view.c: (dates_view_set_scroll_adjustments): Solve compiler warnings that I introduced. 2007-03-07 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_set_visible_hours), (dates_view_update_scrollability): Move the code that controls the scrollability of the view into a separate function so that it is easy to replace in derived versions. 2007-03-07 Rob Bradford <rob@openedhand.com> * src/dates_hildon.c: (create_main_window): Apply the same change to the Hildon version as to the GTK version. That is to say adding the DatesView widget into a surrounding GtkScrolledWindow. 2007-03-07 Rob Bradford <rob@openedhand.com> * src/dates_gtk.c: (create_main_window): Surround the DatesView widget with a GtkScrolledWindow. Since the policy on the vertical GtkScrollBar is set to GTK_POLICY_AUTOMATIC it will only show the scrollbar if the widget tells it to * src/dates_view.c: (_gtk_marshal_VOID__OBJECT_OBJECT): Copy and paste code from the GTK source code. Needed to set up set_scroll_adjustments signal handler. * src/dates_view.c: (dates_view_class_init): Setup the set_scroll_adjustments signal allowing the DatesView widget to be scrollable. * src/dates_view.c: (dates_view_init): Remove the unnecessary creation of the GtkAdjustment (the adjustment is provided the surrounding GtkScrolledWindow.) * src/dates_view.c: (dates_view_set_visible_hours), Set the range and values for the adjuster dependent on the number of hours visible. If we are in a mode other than day this code will simply zero the range and thus make the scrollbars disappear. * src/dates_view.c: (dates_view_set_scroll_adjustments): Set the internal pointer to the GtkAdjustment to the the GtkAdjustment provided by the surrounding GtkScrolledWindow widget. * src/dates_view.h: Add the function pointer for the set_scroll_adjustments signal to the DatesViewClass struct. 2007-03-07 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_main_scroll_event), (dates_view_set_visible_hours): Remove the vscroll (vertical GtkScrollBar) widget from the DatesView widget. The aim is to have behaviour like GtkTreeView where the scrolling is handled by a GtkScrolledWindow into which the DatesView widget is placed. 2007-03-07 Rob Bradford <rob@openedhand.com> * src/dates_view.c: (dates_view_calc_pan), (dates_view_main_scroll_event), (dates_view_side_expose), (dates_view_set_visible_hours): Add a scrollable flag to the DatesViewPrivate struct. Use this flag to test for the scrollability of the view rather than for the visibility of the vscroll widget. 2007-02-28 Tomas Frydrych <tf@openedhand.com> * dates_callbacks.h: * dates_callbacks.c: * dates_main.c: Fix calendar autoselection when creating new calendar on the first load. 2007-02-15 Ross Burton <ross@openedhand.com> * configure.ac: Remove hard-coded prefix=/usr for Maemo. 2007-02-03 Chris Lord <chris@openedhand.com> * configure.ac: * NEWS: Update to version 0.3.1 2007-0-03 Olivier Le Thanh Duong,,, <olivier@lethanh.be> * configure.ac * LINGUAS: Modified the intltool part to make use of a LINGUAS file following GnomeGoals #2 see http://live.gnome.org/GnomeGoals/PoLinguas * po/POTFILES.in: Updated to reflect the change of the previous refactoring * po/fr.po: Updated French translation 2007-02-03 Chris Lord <chris@openedhand.com> * src/dates_view.c: (dates_view_get_region): Fix December month/day view (bug #172) 2007-02-02 Ross Burton <ross@openedhand.com> * Makefile.am: * data/Makefile.am: * src/Makefile.am: * po/POTFILES.in: Fix distcheck. * configure.ac: * NEWS: Version 0.3. 2007-01-26 Thomas Wood <thomas@openedhand.com> * dates.doap: Added 2007-01-25 Ross Burton <ross@openedhand.com> * src/dates_callbacks.c: Use defines for the Maemo hard keys. 2007-01-25 Ross Burton <ross@openedhand.com> * data/dates.1: * data/Makefile.am: Add basic manpage by Kestutis Biliunas. 2007-01-08 Ross Burton <ross@openedhand.com> * src/dates_types.h: * src/dates_main.c: Define and use DATES_GCONF_WINDOW so that the window position keys are not stored as /apps/dates_*. 2006-12-05 Tomas Frydrych,,, <tf@o-hand.com> * Refactoring to remove glade dependency and split UI creation into separate fronte-ends. 2006-08-09 Olivier Le Thanh Duong,,, <olivier@lethanh.be> * po/fr.po * configure.ac Add French translation 2006-08-02 Kang Jeong-Hee,,, <keizie@gmail.com> * data/dates.glade: Add calendar selection dialog * src/dates_main.c: (dates_ical_drop_cb), (dates_backend_died_cb), (dates_calendars_dialog_cb), (dates_sources_changed_cb), (is_in_uids), (dates_cal_open_cb), (dates_update_calendars), (dates_load_calendars), (dates_window_state_cb), (dates_cal_key_press_cb), (create_toolbar), (dates_button_press_cb), (dates_autoconnect), (main): Add the start of calendar editing code (allows selection of visible calendars for the moment) 2006-07-21 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Remove hidden location field and message banner in details dialog * src/dates_main.c: (dates_fill_details_dialog), (dates_save_changes), (dates_select_event_idle_cb), (dates_calendar_combo_changed_cb), (main): - Try to combine location and description fields in a non-destructive manner * src/dates_view.c: (dates_view_finalize), (dates_view_init), (dates_view_make_event_layouts), (dates_view_calc_zoom), (dates_view_draw_event_emblems), (dates_view_draw_event_list), (dates_view_draw_event): - Draw emblems on events with alarms - Print location as well as description on event at week/day view 2006-07-21 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_main_expose): - Fix rendering on first week-view of January and month-view of December 2006-07-20 Chris Lord,,, <chris@openedhand.com> * configure.ac: - Add configure option for drag and drop support * data/dates.glade: - Add signal for drag and drop ical import * src/dates_main.c: (dates_commit_event_cb), (dates_new), (dates_event_moved_cb), (dates_event_sized_cb), (dates_details_time_cb), (dates_details_update_time_label), (dates_details_time_start_cb), (dates_details_time_end_cb), (dates_details_close_cb), (dates_save_changes), (dates_select_event_idle_cb), (dates_new_cb), (load_esource), (dates_backend_died_cb), (dates_sources_changed_cb), (dates_cal_open_cb), (is_in_uids), (dates_update_calendars), (main): - Store default calendar instead of iterating over list each time - Don't crash when there's no default calendar set/enabled - ical import via DatesView ical_drop signal * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (dates_view_config_get_tzid), (dates_view_config_get_24h), (dates_view_finalize), (dates_view_redraw), (dates_view_refresh), (dates_view_refresh_month_layouts), (dates_view_init), (dates_view_drag_data_received), (dates_view_drag_data_get), (dates_view_event_data_sort), (dates_view_make_event_layouts), (dates_view_find_event), (dates_view_find_calendar_cb), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_point_in), (dates_view_add_region), (dates_view_get_region), (dates_view_in_region), (dates_view_scroll_value_changed), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_main_motion_notify_cb), (dates_view_main_motion_notify), (dates_view_key_press), (dates_view_add_calendar), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_set_selected_event), (dates_view_set_single_click), (dates_view_set_snap), (dates_view_set_week_start), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_set_use_list), (dates_view_set_use_24h): * src/dates_view.h: - Add optional drag and drop support - Fix set_property function (missing breaks in switch) - Completely remove all traces of old animation code - Remove public definition of dates_view_redraw - unnecessary - Don't crash when gconf value for timezone is missing 2006-07-18 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_new_cb), (dates_sources_changed_cb), (dates_cal_open_cb), (is_in_uids), (dates_update_calendars), (main): - Use the default calendar when creating new events * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (dates_view_config_get_tzid), (dates_view_config_get_24h), (dates_view_get_visible_span), (dates_view_refresh_day_layouts), (dates_view_refresh_month_layouts), (dates_view_init), (dates_view_get_selected_event_cal), (dates_view_set_read_only), (dates_view_set_use_dragbox), (dates_view_set_single_click), (dates_view_set_snap), (dates_view_set_week_start), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_set_use_list), (dates_view_set_use_24h), (dates_view_get_read_only), (dates_view_get_use_dragbox), (dates_view_get_single_click), (dates_view_get_snap), (dates_view_get_week_start), (dates_view_get_months_in_row), (dates_view_get_visible_months), (dates_view_get_visible_days), (dates_view_get_visible_hours), (dates_view_get_date), (dates_view_get_use_list): * src/dates_view.h: - Update/correct some documentation - Fix getter switch statement (some cases weren't breaking) - Refresh time/day layouts when necessary - Make 12/24-hour time configurable 2006-07-18 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_update_calendars), (main): - Really make sure *all* debugging output is encapsulated * src/dates_view.c: (dates_view_get_property), (dates_view_init), (dates_view_event_file_cb), (dates_view_event_file): - Hopefully fix time-zone issues (needs testing, see bug #116) 2006-07-17 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (load_esource), (dates_backend_died_cb), (dates_sources_changed_cb), (dates_update_calendars): - Make sure all debug output is wrapped 2006-07-17 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_free), (dates_view_init), (dates_view_redraw): - Make sure to initialise visible range variables, fixes crash when loading Dates with no calendar available 2006-07-17 Chris Lord,,, <chris@openedhand.com> * data/Makefile.am: - Revert to gnome icons * src/dates_main.c: (dates_about_cb), (main): - Revert to gnome icons 2006-07-17 Chris Lord,,, <chris@openedhand.com> * configure.ac: * data/dates.desktop.in: - Fix desktop shortcut translation 2006-07-17 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_about_cb): - Reinstate OpenedHand logo in about box * src/dates_view.c: (dates_view_draw_event): - Fix drawing glitch when dragging events out of their original visible range with the mouse cursor outisde of a day 2006-07-17 Chris Lord,,, <chris@openedhand.com> * data/Makefile.am: - Install the right icons into the right directories for hildon, hopefully * src/dates_main.c: (dates_about_cb): - Fix typo that broke about dialog on hildon * src/dates_view.c: (dates_view_main_motion_notify_cb): - Fix drawing glitch when currently moving event becomes invisible via a query change 2006-07-16 Chris Lord,,, <chris@openedhand.com> * autogen.sh: * configure.ac: * data/Makefile.am: * data/dates.desktop.in: * data/dates.svg: * po/POTFILES.in: - Various tweaking to try to fix dates.desktop fixed (internationalisation is currently broken) - Add updated icons and pngs of different sizes for maemo 2006-07-16 Chris Lord,,, <chris@openedhand.com> * data/Makefile.am: * data/dates.desktop.in: * data/dates.glade: * data/dates.svg: * src/dates_main.c: (dates_about_cb), (main): - Add new icons contributed by Ulisse Perusin <uli.peru@gmail.com> * src/dates_view.c: (dates_view_remove_event), (dates_view_init), (dates_view_event_file_cb), (dates_view_objects_changed), (dates_view_draw_event), (dates_view_main_expose), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_remove_calendar_events), (dates_view_update_query): - Fix drawing glitch moving multi-day events - Fix drawing glitch when a multi-day event occurs at the end of a visible range (be it a day, week or month) - Re-select the correct part of an event after it changing - Don't draw selected event in foreground, can look wrong 2006-07-16 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_realize), (dates_view_remove_event), (dates_view_get_visible_span), (dates_view_event_data_sort), (dates_view_make_event_layouts), (dates_view_event_file_cb), (dates_view_event_file), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_add_vpoints), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_scroll_event), (dates_view_point_in_event), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_snap_time), (dates_view_main_button_release), (dates_view_key_press), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query), (dates_view_update_all_queries), (dates_view_add_calendar), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars): - Fix event being deselected when the query updates (on visible-range change) - Fix crashes when moving/zooming during an event drag - Allow event dragging while moving/zooming (but disallow sizing) - Draw selected event in foreground 2006-07-14 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_main_expose): - Use mid_gc to draw the current day when unselected (it's a slightly different shade of grey to all the other maemo colours) 2006-07-14 Chris Lord,,, <chris@openedhand.com> * LICENSE: * LICENSE.lgpl: * Makefile.am: * data/dates.glade: * src/dates_main.c: (dates_date_changed_cb), (dates_about_cb): * src/dates_view.c: * src/dates_view.h: - Add licence details - Remove unused 'Jump to' menu item 2006-07-14 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (calendar_client_config_get_24h), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_button_release): - Disable 12-hour time support for Hildon - Don't allow backwards-sizing of events - Make current-time line dashed - Don't select the date after moving or sizing an event 2006-07-14 Chris Lord,,, <chris@openedhand.com> * configure.ac: - Make debugging output an option * src/dates_main.c: (dates_event_selected_cb), (dates_commit_event_cb), (dates_new_cb), (dates_calendar_combo_changed_cb), (load_esource), (dates_backend_died_cb), (dates_sources_changed_cb), (dates_cal_open_cb), (is_in_uids), (dates_update_calendars), (dates_key_press_cb), (glade_hildon_window_new), (glade_hildon_date_editor_new), (glade_hildon_time_editor_new), (dates_save_state), (dates_restore_state), (dates_clear_state), (dates_is_topmost_notify), (dates_restore_timeout_cb), (dates_osso_rpc_event_cb), (load_tb_item), (create_toolbar), (dates_button_press_cb), (dates_autoconnect), (main): - Make debugging output optional - Disable the calendar combo-box before event is created * src/dates_view.c: (dates_view_remove_event), (dates_view_event_free), (dates_view_init), (dates_view_redraw), (dates_view_get_visible_span), (dates_view_event_data_sort), (dates_view_event_file_cb), (dates_view_event_file), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_add_vpoints), (dates_view_draw_event), (dates_view_main_expose), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_top_expose), (dates_view_side_expose), (dates_view_key_press), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query), (dates_view_update_all_queries), (dates_view_add_calendar), (dates_view_get_selected_period), (dates_view_set_selected_event), (dates_view_get_event_cb): - Make sure to set width of the details layout so it wraps correctly - Make debugging output optional - Only draw date-line on day views and use a colour that stands out 2006-07-14 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_file), (dates_view_add_calendar): - Don't set default timezone for calendars, seems to cause crash on eds-dbus (needs investigation) - Do magic to work around hildon pango bug for details layout 2006-07-14 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (main): - Don't bind week_start to gconf-bridge, changing it doesn't work properly yet * src/dates_view.c: (dates_view_remove_event), (dates_view_event_free), (dates_view_init), (dates_view_redraw), (dates_view_get_visible_span), (dates_view_event_data_sort), (dates_view_event_file_cb), (dates_view_event_file), (dates_view_draw_event_list), (dates_view_draw_event), (dates_view_main_expose), (dates_view_update_query), (dates_view_update_all_queries), (dates_view_add_calendar): - Set default timezone for calendars (this seems to do nothing?) - Draw details on the event when drawing day-views - Use evo's use_24h key to use 12/24 hour time - Don't draw one more month than is visible in month view 2006-07-13 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_delete_cb): - Shorten text in delete dialog slightly * src/dates_view.c: (dates_view_finalize), (dates_view_init), (dates_view_event_file), (dates_view_main_configure_event), (dates_view_draw_event): - Fix days header being offset slightly on the 770 - Draw days with events with strike-through as well as bold 2006-07-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_redraw), (dates_view_main_configure_event), (dates_view_scroll_value_changed_cb), (dates_view_scroll_value_changed), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_main_motion_notify_cb), (dates_view_main_motion_notify), (dates_view_top_expose), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query): - Use GDK_POINTER_MOTION_HINT_MASK for non-laggy dragging - Try to not to redraw when unnecessary (should fix unreliable double-click on 770) 2006-07-12 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_get_visible_span), (dates_view_event_file), (dates_view_get_region), (dates_view_draw_event), (dates_view_main_expose), (dates_view_handle_mouse_pos), (dates_view_main_button_release), (dates_view_key_press), (dates_view_remove_calendar_events), (dates_view_update_query), (dates_view_update_all_queries), (dates_view_set_visible_hours), (dates_view_set_date): - Cache visible span between query updates - Display moved/sized events as changed before receiving the signal 2006-07-12 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Disable cut/copy/paste in menu 2006-07-12 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: - Don't allow putting start after end, or vice-versa, when editing * src/dates_view.c: (dates_view_draw_event), (dates_view_main_button_release): - Fix drawing when resizing an event that spans multiple days - Resize event correctly when resized above start of event 2006-07-12 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Change 'Select a time...' to 'Time' on time dialog - Add key-press signal for DatesView * src/dates_main.c: (dates_window_state_cb), (dates_key_press_cb): - Change +/- shortcuts on desktop to Ctrl +/- (Gnome HIG) - Create a new event on return/enter when there isn't one selected 2006-07-12 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: - s/DatesView/Dates/ - Bring up new event dialog instantly when creating new events * src/dates_view.c: (dates_view_main_expose), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_set_selected_event), (dates_view_set_visible_months), (dates_view_set_date): - Lots of fixes with drag-boxes - Don't refresh the query when changing the date if the visible range hasn't changed - Make sure the queries refresh when clicking a date if the visible range changes 2006-07-11 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (load_tb_item): * src/dates_view.c: (dates_view_main_button_press), (dates_view_snap_time), (dates_view_main_button_release): - Make sure to renew query when visible range changes after moving an event (*really* fixes week-view and dragging from Saturday to Monday) 2006-07-11 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_key_press): - Don't select the date when starting a drag, fixes moving events to/from Saturday/Sunday in week-view - Enable scrolling in 12-hour view 2006-07-11 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_redraw), (dates_view_main_expose), (dates_view_top_expose), (dates_view_key_press), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours): - Really, completely #define out all animation vars for desktop - Fix top_expose for hildon (how did this work on the desktop?) 2006-07-11 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (load_tb_item), (create_toolbar): - Fix hildon toolbar creation 2006-07-11 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add button-press signal to DatesView widget for new event on double-click * src/dates_main.c: (dates_select_event_idle_cb), (dates_new_cb): - New event on double-click an empty area - Change default times for events (9-5 at month view, 9-11 at day view) 2006-07-11 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_draw_event_list), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_main_motion_notify_cb), (dates_view_top_expose), (dates_view_side_expose), (dates_view_key_press), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_get_selected_period), (dates_view_set_selected_event), (dates_view_get_event_cb), (dates_view_get_selected_event), (dates_view_get_selected_event_cal): - Add ability to switch through events and select them with tab/shift+tab and return/enter - Fix new/changed events getting deselected 2006-07-11 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Set focus-on-click to false for all buttons in the main window - Set the DatesView widget to have_focus * src/dates_main.c: (dates_window_state_cb), (dates_key_press_cb), (main): - Add shortcuts to zoom in/out on the desktop * src/dates_view.c: (dates_view_init), (dates_view_side_expose), (dates_view_key_press), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query): - Add keyboard navigation (arrow keys) 2006-07-11 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add zoom out and zoom in menu items - Change 'about' menu item to use stock menu item * src/dates_main.c: (dates_zoom_in_cb), (dates_zoom_out_cb), (dates_date_changed_cb), (dates_load_calendars), (create_toolbar), (main): - Display banner when in full-screen or embedded mode 2006-07-11 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_get_property), (dates_view_update_query): - Fix query creation (stop using functions from clock-applet) - Update query on all dates_view_set_visible_* functions 2006-07-10 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_zoom_in_cb), (dates_zoom_out_cb), (dates_zoom_change): - Add 5-day view * src/dates_view.c: (dates_view_init), (dates_view_get_visible_span), (dates_view_event_file), (dates_view_add_region), (dates_view_get_region), (dates_view_in_region), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_motion_notify), (dates_view_top_expose), (dates_view_side_expose), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query): - Only draw and query exactly what's visible - Fix up some unusual combinations of settings with DatesView - Tidy up day views by not drawing month border - Disable animation entirely 2006-07-10 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Add signals * src/dates_main.c: (dates_date_change), (dates_zoom_in_cb), (dates_zoom_change), (dates_date_changed_cb), (dates_fill_details_dialog), (dates_event_selected_cb), (create_toolbar), (main): Use glade_xml_signal_autoconnect_full and move signals to glade file 2006-07-09 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_main.c: (main): Hide the menubar when embedding 2006-07-09 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_today_cb), (main): - Add GOption support - Add XEmbed support (-p/--plug <socket id>) * src/dates_view.c: (dates_view_init): - Fix possible crash in DatesView initialisation 2006-07-07 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Fix details entry not getting squashed properly on hildon(?) * src/dates_main.c: (dates_cal_open_cb), (dates_update_calendars), (main): Listen to Evolution selected calendars gconf key * src/dates_view.c: (dates_view_event_file_cb), (dates_view_main_expose): Fix events being added to the wrong day 2006-07-07 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_file_cb), (dates_view_fit_events), (dates_view_main_expose), (dates_view_point_in_event), (dates_view_handle_mouse_pos), (dates_view_update_all_queries), (dates_view_add_calendar): - Make sure to reset the mouse pointer when hovering over un-editable events. - Fix some (all?) positioning/sizing bugs in the new fitting code 2006-07-07 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_main_expose), (dates_view_main_motion_notify_cb): - Fix XOR glitch when updating view for dates-line - Set to XOR *after* drawing unselected events (fixes other events appearing oddly while dragging an event) 2006-07-07 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_file_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_main_motion_notify_cb): Fix XOR drawing glitches and dragging of multi-day events 2006-07-07 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_remove_event), (dates_view_event_free), (dates_view_event_file), (dates_view_find_event), (dates_view_objects_changed), (dates_view_draw_event_list), (dates_view_draw_event), (dates_view_handle_mouse_pos), (dates_view_main_motion_notify_cb), (dates_view_main_motion_notify), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query), (dates_view_update_all_queries), (dates_view_add_calendar), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_set_selected_event), (dates_view_get_event_cb), (dates_view_get_selected_event), (dates_view_get_selected_event_cal): - Store GC's per calendar instead of per event - Draw moving/sizing events as an XOR'd rectangle for speed 2006-07-06 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_set_visible_months): Fix top days panel not being made visible in month-view 2006-07-06 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_open_cb): - Don't allow activation of recurring events * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (calendar_client_config_get_icaltimezone), (dates_view_finalize), (dates_view_realize), (dates_view_init), (dates_view_add_vpoints): * src/dates_view.h: - Don't allow moving/sizing of recurring as well as read-only events - Overhaul of query/fitting code: * Use iteration instead of recursion for fitting of events * Only keep events that are visible in memory * Add optional (and unfinished) list-view for event-summary * Stop using icaltime_from_timet_with_zone (has speed issues with webcals) * Store events in a month/day indexed list array for fast drawing 2006-06-25 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb), (dates_details_time_end_cb): Don't respond to activation of read-only events 2006-06-25 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Remove GtkFrame around the DatesView widget - Add header label * src/dates_main.c: (dates_date_changed_cb), (glade_hildon_date_editor_new), (glade_hildon_time_editor_new), (main): - Add hildon shortcut key handling for zoom and full-screen mode - Re-add header label (only visible in full-screen mode) 2006-06-22 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_details_time_cb): Don't alter month for HildonDateEditor, it isn't like GtkCalendar * src/dates_view.c: (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_main_expose): Fix date-line on < 24 hour view 2006-06-22 Chris Lord,,, <chris@openedhand.com> * data/Makefile.am: Fix some typos, make some corrections * src/dates_main.c: (dates_details_time_cb), (dates_delete_cb), (dates_update_calendars), (dates_load_calendars), (glade_hildon_date_editor_new), (glade_hildon_time_editor_new), (main): Add code for new hildon time-picker dialog * src/dates_view.c: (dates_view_draw_event_cb): Minor changes 2006-06-21 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Compress details dialog into tabs, integrate recurrences dialog * src/dates_main.c: (dates_details_time_rminute_cb), (dates_details_repeats_cb), (main): Adapt to new glade * src/dates_view.c: (dates_view_finalize), (dates_view_refresh), (dates_view_realize), (dates_view_event_free), (dates_view_init), (dates_view_draw_event), (dates_view_main_expose): Add line to show the current time when in day(s)-view 2006-06-21 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_details_cancel_cb), (main): Call the cancel callback instead of deleting window when details dialog is closed. 2006-06-20 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Replace the details dialog 'close' with 'delete/cancel/ok' buttons * src/dates_main.c: (dates_event_selected_cb), (dates_details_ok_cb), (dates_delete_cb), (dates_details_cancel_cb), (dates_select_event_idle_cb), (dates_new_cb), (dates_calendar_combo_changed_cb), (main): Handle new details dialog buttons 2006-06-20 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_about_cb), (dates_new_cb), (main): - Don't snap events to 30 minutes (this is done by the widget now) * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (dates_view_finalize), (dates_view_init), (dates_view_main_button_press), (dates_view_snap_time), (dates_view_main_button_release), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_get_selected_period), (dates_view_get_selected_event), (dates_view_get_selected_event_cal), (dates_view_set_read_only), (dates_view_set_use_dragbox), (dates_view_set_single_click), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_get_read_only), (dates_view_get_use_dragbox), (dates_view_get_single_click): * src/dates_view.h: - Add function to snap events/selections to minute boundaries - Override realize function to make sure priv->main is realized before using its parent window. 2006-06-20 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Make sure repeats isn't visible (it isn't ready yet) * src/dates_main.c: (main): Connect dates_open_cb to new event_activated signal * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (dates_view_init), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_get_selected_event), (dates_view_get_selected_event_cal), (dates_view_set_read_only), (dates_view_set_use_dragbox), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_get_read_only), (dates_view_get_use_dragbox): * src/dates_view.h: - Add new event_activated signal - Add single-click mode 2006-06-20 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_new_cb), (dates_cal_open_cb): - Some extra error-checking/debugging output - Make sure group_uri string is terminated 2006-06-20 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_cal_open_cb): Remove bad g_object_unref when creating new cal - fixes crash 2006-06-19 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (main): Disable drag-box when compiling with hildon * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (dates_view_init), (dates_view_main_button_press), (dates_view_get_selected_event_cal), (dates_view_set_read_only), (dates_view_set_date), (dates_view_get_read_only): * src/dates_view.h: Make the drag-box toggle-able 2006-06-19 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_about_cb): Correct missing comma typo, fixes about dialog on non-hildon 2006-06-19 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Make main window not shown on startup - Make zoom in button sensitive * src/Makefile.am: * src/gconf-bridge.c: * src/gconf-bridge.h: - Add libgconf-bridge * src/dates_main.c: (dates_zoom_out_cb), (dates_zoom_change), (dates_select_event_idle_cb), (dates_new_cb), (dates_update_calendars), (dates_load_calendars), (glade_hildon_window_new), (main): - Retain window position, size, week-start and zoom-level using gconf - Use sensible defaults for event length and start-time * src/dates_view.c: (dates_view_class_init), (dates_view_set_property), (dates_view_get_property), (dates_view_event_data_free), (dates_view_event_free), (dates_view_init), (dates_view_in_region), (dates_view_main_configure_event), (dates_view_scroll_value_changed_cb), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_motion_notify_cb), (dates_view_main_motion_notify), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_get_selected_event), (dates_view_get_selected_event_cal), (dates_view_set_date): * src/dates_view.h: - Make sure all properties are proper gettable/settable GObject properties - Change how selected time span is returned 2006-06-19 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Rename old summary_* widgets find_* - Disable the zoom-in button (it should be insensitive on start-up) * src/dates_main.c: (dates_date_changed_cb), (dates_fill_details_dialog), (dates_event_selected_cb), (dates_details_close_cb), (dates_delete_cb): - Really remove all remnants of old summary entry - Use marshalled ECalComponent when moving/sizing * src/dates_view.h: * src/dates_view.c: (dates_view_class_init), (dates_view_finalize), (dates_view_init), (dates_view_main_configure_event), (dates_view_main_expose), (dates_view_main_button_release), (dates_view_main_motion_notify_cb), (dates_view_main_motion_notify), (dates_view_top_expose), (dates_view_side_expose): - Stop doing some unnecessary layout measuring - Throttle animation to 60fps - Pass the ECalComponent instance modified when moving/sizing 2006-06-16 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_moved_cb), (dates_event_sized_cb): * src/dates_view.c: (dates_view_main_button_release), (dates_view_get_event_cb), (dates_view_get_selected_event): Add a partial fix for moving/sizing events 2006-06-16 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_commit_event_cb), (dates_backend_died_cb), (dates_cal_open_cb), (dates_update_calendars), (dates_load_calendars), (glade_hildon_window_new), (main): Create new system group/calendar when one doesn't exist 2006-06-15 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_data_find), (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_event_size), (dates_view_event_width), (dates_view_event_span), (dates_view_calculate_overlaps), (dates_view_event_clear_cb), (dates_view_event_clear), (dates_view_event_find_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query): - Speed up event fitting slightly (do less unnecessary work) - Fix redraw when resizing/fast scrolling window - Add some notes/code on possible optimisations 2006-06-14 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_backend_died_cb), (dates_cal_open_cb), (dates_update_calendars): Open calendars async for faster start-up 2006-06-13 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb), (dates_commit_event_cb): - Add some debugging statements * src/dates_view.c: (dates_view_init), (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_event_clear), (dates_view_draw_event), (dates_view_point_in_event), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_button_release): - Add some debugging statements - Fix some (hopefully all?) time-zone issues - Allow selection of read-only events - Fix event moving/sizing (broke in previous revision) 2006-06-13 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_date_changed_cb), (dates_event_selected_cb), (dates_select_event_idle_cb), (dates_new_cb), (dates_calendar_combo_changed_cb), (dates_backend_died_cb), (dates_update_calendars), (dates_sources_changed_cb), (glade_hildon_window_new), (main): - Don't show read-only calendars when editing an event - Don't allow opening/deletion of read-only events * src/dates_view.c: (dates_view_init), (dates_view_draw_event_cb), (dates_view_main_expose), (dates_view_main_scroll_event), (dates_view_point_in_event), (dates_view_handle_mouse_pos): - Don't allow moving/sizing of read-only events - Draw read-only events with a dashed outline 2006-06-12 Chris Lord,,, <chris@openedhand.com> * configure.ac: Remove duplicate 'type make to build' message * src/dates_main.c: (dates_event_selected_cb), (dates_update_calendars), (dates_sources_changed_cb), (main): - Make sure default calendar exists - Fix up some formatting * src/dates_view.c: (dates_view_init), (dates_view_draw_event), (dates_view_main_expose), (dates_view_top_expose), (dates_view_side_expose), (dates_view_set_visible_days): - Fix side-panel not scrolling properly (regression?) - Fix hour lines not being drawn correctly - Make animation more metacity-like (fast, less detail) - Don't use fixed font sizes on the desktop - Fix up some formatting 2006-04-24 Wouter Bolsterlee,,, <uws@xs4all.nl> * configure.ac: * po/nl.po: Add dutch translation 2006-04-21 Tomas Frydrych,,, <tf@o-hand.com> * Restructured into trunk/tags/branches/packaging tree * Moved maemo1.1 build files into packaging/mamemo1.1 * Added packaging/maemo1.1/autogen.sh & gnome-autogen.sh * Tweaked packaging/maemo1.1/debian/rules to call maemo-specific autogen.sh 2006-04-21 Chris Lord,,, <chris@openedhand.com> * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/dates.desktop.in: * po/POTFILES.in: * po/et.po: * src/Makefile.am: * src/dates_main.c: (dates_date_changed_cb), (dates_delete_cb), (dates_new_cb), (main): * src/dates_view.h: - Add i18n support, patch from Priit Laes <amd@store20.com> 2006-04-11 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb), (dates_event_moved_cb), (dates_event_sized_cb), (dates_details_close_cb): - Add ability to modify particular recurring events (doesn't work?) * src/dates_view.c: (dates_view_draw_event_cb), (dates_view_main_button_release), (dates_view_set_selected_event), (dates_view_get_selected_event): - Fix crash when selecting events - Always return selected event, even if selected span is invalid - When moving/sizing events with recurrences, only affect the selected recurrence (doesn't work?) 2006-04-11 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb): - Unref selected event * src/dates_view.c: (dates_view_init), (dates_view_draw_event_cb), (dates_view_set_selected_event), (dates_view_get_event_cb), (dates_view_get_selected_event), (dates_view_get_selected_event_cal): * src/dates_view.h: - Return selected event exact instance (requires unref) - Remove get_selected_event_rid function (not necessary) - Draw a gtk-refresh icon on recurring events 2006-04-10 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb), (dates_delete_cb), (dates_summary_entry_changed_cb), (dates_select_event_idle_cb): - Adapt to API changes in DatesView * src/dates_view.c: (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_add_vpoints), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_button_press), (dates_view_main_button_release): - Add function to get selected event rid * src/dates_view.h: - Add function to get selected event rid - Add extra argument to select-event function to select rid (doesn't work yet) 2006-03-27 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_main.c: (dates_details_time_lminute_cb), (dates_details_time_rminute_cb), (dates_details_time_cb), (main): - More recurrence/repeats UI work (still non-functional) 2006-03-24 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add recurrence interface * src/dates_main.c: (dates_details_time_rminute_cb), (main): - Show recurrence interface (does nothing yet) 2006-03-23 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add 'today' button * src/dates_main.c: (dates_forward_cb), (main): - Add callback for 'today' button * src/dates_view.c: (dates_view_calc_pan), (dates_view_main_expose): - Fix day-view for last day of week - Highlight today when it isn't selected 2006-03-22 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (calendar_client_config_get_icaltimezone), (dates_view_finalize), (dates_view_event_data_free_data_find), (dates_view_event_data_free), (dates_view_init), (dates_view_redraw), (dates_view_event_data_find), (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_span), (dates_view_event_sort), (dates_view_calculate_overlaps), (dates_view_event_clear_cb), (dates_view_event_clear), (dates_view_event_find_cb), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_scroll_event), (dates_view_point_in_event), (dates_view_handle_mouse_pos), (dates_view_comp_find_event_cb), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_main_motion_notify), (dates_view_top_expose), (dates_view_side_expose), (dates_view_new), (dates_view_remove_calendar_events), (dates_view_update_query), (dates_view_add_calendar), (dates_view_find_calendar_cb), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_get_selected_period), (dates_view_set_selected_event): - Stop unnecessarily using a hash-table for events - Add new year view, similar to GtkCalendar 2006-03-22 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_table_to_list), (dates_view_calculate_overlaps): - Fix layout bug with events spanning multiple days 2006-03-15 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_clear), (dates_view_draw_event_cb), (dates_view_main_expose): - Always draw calendar frames (fixes some drawing glitches) - Fix possible double-free when clearing event data 2006-03-15 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_data_free_data_find), (dates_view_event_data_free), (dates_view_init), (dates_view_event_sort), (dates_view_objects_changed), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_point_in_event_cb), (dates_view_point_in_event): * src/dates_view.h: - Fix event-data clear function (fixes event-fitting) - Add custom week start day (thanks Frederic Peters!) 2006-03-14 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_data_free_data_find), (dates_view_event_data_find), (dates_view_event_size_cb3): - Rewrite event-fitting code - slower, but seems to work 100% 2006-03-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_redraw): - Fix event width being wrong on event removal 2006-03-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_redraw), (dates_view_event_size_cb3), (dates_view_event_span): - Fix all cases of overlap (width is sometimes still wrong on removal) 2006-03-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_rect_free), (dates_view_event_data_free_data_find), (dates_view_event_data_free), (dates_view_redraw), (dates_view_event_data_position_sort), (dates_view_event_data_find), (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_event_size), (dates_view_event_width), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_add_vpoints), (dates_view_event_rect_find_cb), (dates_view_draw_event_cb): - Optimise dealing with recurring/multiple-day events (huge speed-up) 2006-03-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_draw_event_cb), (dates_view_draw_event): - Make sure all events within the current bounds get drawn 2006-03-12 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb), (dates_event_moved_cb), (dates_event_sized_cb), (dates_details_close_cb), (dates_delete_cb), (dates_summary_entry_changed_cb), (main): - Commit all changes as they're made (makes things feel smoother) - Don't try to snap all-day events (causes breakage) * src/dates_view.c: (dates_view_event_rect_free), (dates_view_init), (dates_view_redraw), (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_sort), (dates_view_calculate_overlaps), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_draw_event), (dates_view_main_button_press), (dates_view_main_button_release): - Make sure to send event-selected signal when necessary - Clear event data before calculating overlaps (fixes flickering) - Clear event data of colliding events recursively - Fix some cases where collisions weren't picked up (still buggy) - Fix some cases where events weren't being shown (still buggy) 2006-03-12 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_date_changed_cb), (dates_event_selected_cb), (dates_summary_closed_cb), (dates_select_event_idle_cb), (dates_new_cb), (main): - Snap events to 30 minutes when created, moved and sized * src/dates_view.c: (dates_view_class_init), (dates_view_main_button_release): * src/dates_view.h: - Add move and sized signals 2006-03-12 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_main_expose), (dates_view_main_button_release): - Another huge optimisation due to a silly mistake - Fix bug when trying to start selections outside of a day/month - Fix bug when dragging events from anything but their first day 2006-03-11 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Make edit dialog resizable, like before * src/dates_main.c: (dates_fill_details_dialog): - Make sure to empty fields in the edit dialog if they don't exist * src/dates_view.c: (dates_view_event_data_free), (dates_view_event_size_cb3), (dates_view_event_width), (dates_view_draw_event_cb): - Stop messing about with weak pointers and free intersect data properly - Calculate overlaps during idle loop (app doesn't halt loading large/slow calendars) - As suggested by Ross Burton 2006-03-11 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_size_cb3), (dates_view_event_width), (dates_view_clear_old_intersects), (dates_view_event_clear), (dates_view_event_sort), (dates_view_table_to_list), (dates_view_calculate_overlaps), (dates_view_main_scroll_event), (dates_view_point_in_event_cb): - Use weak pointers to remove intersects with changed/removed events - Don't allow selection of invisible events 2006-03-10 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_calculate_overlaps), (dates_view_update_query): - Send commit signal if selected event is on an updated calendar query - Comment out line that causes silly amounts of recursion (fast now) 2006-03-10 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_main.c: (dates_event_selected_cb), (main): - R.I.P. quick-edit bar * src/dates_view.c: (dates_view_main_button_press), (dates_view_get_selected_period): - Don't re-select events when clicking on them twice - Calculate minutes in dates_view_get_selected_period (buggy?) 2006-03-10 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Change quick-edit OK button to a close button - Replace vertical separators in toolbar with space * src/dates_main.c: (dates_event_selected_cb), (dates_summary_entry_changed_cb), (dates_select_event_idle_cb), (dates_new_cb), (dates_calendar_combo_changed_cb), (main): - Respond correctly to events being destroyed while being edited - Open edit dialog when creating new events - Make summary close button default * src/dates_view.c: (dates_view_class_init), (dates_view_init), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_draw_event_cb), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_main_motion_notify), (dates_view_top_expose), (dates_view_side_expose), (dates_view_update_query), (dates_view_get_selected_period), (dates_view_set_selected_event): * src/dates_view.h: Remove last traces of 'edit mode': - Send a signal when deselecting an event so the app can commit it - Deselect events when clicking empty space - Always select events when clicked on - Always allow moving/resizing (and change mouse-cursor accordingly) - Make sure to send a signal when events are removed (either by deletion or by an updated query) - Remove low-lighting 2006-03-10 Chris Lord,,, <chris@openedhand.com> * configure.ac: - Add check for ECalComponentId (fix building with older eds) * src/dates_view.c: (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_objects_changed), (dates_view_objects_removed): - Stop using icaltime_from_timet_with_zone - Make sure the bound icaltimetype's are valid (fixes ridiculously long waits with infinitely recurring events/huge calendars) 2006-03-09 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Make details dialog modal (got unset somehow?) - Rename details_save_* details_message_* * src/dates_main.c: (dates_event_selected_cb), (dates_delete_cb), (dates_edit_ok_cb), (dates_select_event_idle_cb), (dates_new_cb), (dates_calendar_combo_changed_cb), (dates_sources_changed_cb), (main): - Disconnect/reconnect the summary text changed signal to avoid corruption - Add new event code * src/dates_view.c: (dates_view_main_expose), (dates_view_main_button_release), (dates_view_update_query), (dates_view_find_calendar_cb), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars): * src/dates_view.h: - Add new function 'dates_view_get_selected_period' 2006-03-08 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add padding to start/end time buttons, as Jorn Baayen suggested * src/dates_main.c: (dates_fill_details_dialog), (dates_event_selected_cb), (dates_details_time_start_cb), (dates_details_time_end_cb): - Use a friendlier time format, as Jorn Baayen suggested - Update details dialog on each open (fixes start/end times not changing after moving/resizing) 2006-03-08 Chris Lord,,, <chris@openedhand.com> * configure.ac: - AC_SUBST variables to not break on old automake versions * data/dates.glade: - Add a saving note to the details dialog, for when saving to slow calendars * src/dates_main.c: (create_dates_view), (dates_zoom_change), (dates_date_changed_cb), (dates_fill_details_dialog), (dates_event_selected_cb), (dates_details_time_entry_alt), (dates_details_time_hour_cb), (dates_details_time_lminute_cb), (dates_details_time_rminute_cb), (dates_details_time_cb), (dates_details_time_start_cb), (dates_details_time_end_cb), (dates_open_cb), (dates_details_close_cb), (dates_delete_cb), (dates_new_cb), (dates_summary_entry_changed_cb), (dates_edit_ok_cb), (dates_calendar_change_idle_cb), (dates_calendar_combo_changed_cb), (load_esource), (dates_backend_died_cb), (dates_update_calendars), (dates_sources_changed_cb), (main): - Adapt to changes in DatesView - Allow instant-apply changing of calendars with events - Update view after altering text in summary * src/dates_view.c: (dates_view_class_init), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_handle_mouse_pos), (dates_view_comp_find_event_cb), (dates_view_main_button_press), (dates_view_find_calendar_cb), (dates_view_free_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_set_visible_hours), (dates_view_set_date): * src/dates_view.h: - Don't hold an extra reference for the selected event - Emit a signal when the selected event gets altered (TODO: Handle removal during edit) - Move inappropriate event-editing code out - Allow programmatical selection of calendar events - Hash events on calendar uri as well as event uid - Adapt to change in ECalView objects-removed signal - Always recreate pango layout of selected event, to allow editing feedback - Add accessor functions for selected event/event-calendar/date and don't pass the data in the signal 2006-03-07 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_summary_entry_changed_cb), (dates_edit_ok_cb), (dates_backend_died_cb), (dates_update_calendars), (dates_sources_changed_cb), (main): Populate calendar list 2006-03-06 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_main_expose), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_remove_calendar_events_cb), (dates_view_update_query), (dates_view_add_calendar), (dates_view_find_calendar_cb), (dates_view_free_calendar), (dates_view_remove_calendar): Add selection code for new events 2006-03-06 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Start adding UI for multiple calendars * src/dates_main.c: (dates_forward_cb), (dates_today_cb), (dates_zoom_change), (dates_delete_cb), (load_esource), (dates_update_calendars), (dates_sources_changed_cb), (main): Respond to calendar creation/destruction/death * src/dates_view.c: (dates_view_objects_changed), (dates_view_get_region), (dates_view_in_region), (dates_view_draw_event_cb), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_main_motion_notify): Add functions to remove calendars 2006-03-05 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_open_cb), (main): * src/dates_view.c: (dates_view_init), (dates_view_main_button_press), (dates_view_main_button_release), (dates_view_side_expose), (dates_view_new), (dates_view_set_mode), (dates_view_commit): * src/dates_view.h: - Use button-release as well as motion-notify - Fix dragging events between months - Make sure to change active date after dragging event - Add deletion of events (+ hack to work around buggy ECalView?) 2006-03-04 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Remove date banner, re-instate button icons * src/dates_main.c: (dates_date_changed_cb), (dates_details_time_cb), (load_esource), (main): Use title-bar for display current date * src/dates_view.c: (dates_view_draw_event), (dates_view_new), (dates_view_update_query): - Only remove events on updating query of the specific calendar (fixes events not visible on start-up) - Don't use time when bounding drawn events (fixes situations where events on the last day of a month are invisible in the month-view) 2006-02-22 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_edit_ok_cb), (main): * src/dates_view.c: (calendar_client_config_get_timezone), (dates_view_objects_changed): Use ESourceList and load all calendars - UNSTABLE/UNFINISHED! 2006-02-21 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Remove unnecessary button icons and padding from toolbar 2006-02-21 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_main.c: (dates_date_changed_cb), (dates_event_selected_cb), (dates_details_time_end_cb), (dates_open_cb), (main): * src/dates_view.c: (dates_view_init), (dates_view_objects_changed), (dates_view_main_button_press), (dates_view_remove_all_calendars): * src/dates_view.h: Revised UI 2006-02-16 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_data_free), (dates_view_init), (dates_view_redraw), (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_in_region), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_scroll_event), (dates_view_point_in_event_cb), (dates_view_point_in_event), (dates_view_handle_mouse_pos), (dates_view_main_button_press): Store event rectangles inside the event structure rather than in a separate structure 2006-02-13 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_get_region), (dates_view_draw_event_cb), (dates_view_event_rect_intersect), (dates_view_handle_mouse_pos), (dates_view_main_button_press), (dates_view_main_motion_notify): Finish preliminary moving/resizing of events by dragging 2006-02-12 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_set_property), (dates_view_get_property), (dates_view_init), (dates_view_draw_event_cb), (dates_view_main_button_press): Start to put in code for moving/resizing of events by dragging 2006-02-03 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Change toolbar buttons to buttons (fixes bug #37) * src/dates_view.c: (dates_view_objects_changed), (dates_view_objects_removed), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_new), (dates_view_update_query), (dates_view_add_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_set_mode): - Fix drawing of only visible events (fixes bug #71) - Use g_markup_printf_escaped instead of g_strdup_printf for calendar event strings (fixes bug #70) 2006-01-06 Chris Lord,,, <chris@openedhand.com> reviewed by: <delete if not using a buddy> * data/dates.glade: * src/dates_main.c: (dates_zoom_in_cb), (dates_zoom_out_cb), (dates_details_time_start_cb), (dates_details_time_end_cb): - Redraw after changing event times - Make zoom buttons insensitive when they can't do anything * src/dates_view.c: (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_update_query), (dates_view_add_calendar): - Fix more timezone issues - works for me, needs testing. 2006-01-06 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_get_property), (dates_view_finalize), (dates_view_event_data_free), (dates_view_event_free), (dates_view_init), (dates_view_find_event_rect), (dates_view_event_size_cb2), (dates_view_draw_event_cb), (dates_view_update_query): Possibly fix some timezone issues 2006-01-06 Chris Lord,,, <chris@openedhand.com> * configure.ac: Require gconf * src/dates_main.c: (dates_event_selected_cb), (main): Move calendar loading code from widget to interface * src/dates_view.c: (dates_view_get_property), (dates_view_finalize), (dates_view_event_free), (dates_view_init), (make_time_for_day_begin), (make_isodate_for_day_begin), (dates_view_redraw), (dates_view_event_rect_free), (dates_view_find_event_rect), (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_objects_changed), (dates_view_draw_event), (dates_view_main_button_press), (dates_view_new), (dates_view_update_query), (dates_view_add_calendar), (dates_view_remove_calendar), (dates_view_remove_all_calendars), (dates_view_set_mode), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_get_months_in_row), (dates_view_get_visible_months), (dates_view_get_visible_days), (dates_view_get_visible_hours): * src/dates_view.h: Add support for multiple calendars 2006-01-06 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Small changes to time-editing dialog * src/dates_main.c: (dates_event_selected_cb), (dates_details_time_entry_changed), (dates_details_time_entry_alt), (dates_details_time_hour_cb), (dates_details_time_lminute_cb), (dates_details_time_rminute_cb), (dates_details_time_cb), (dates_details_time_start_cb), (dates_details_time_end_cb), (dates_details_cb), (dates_ok_cb), (dates_edit_cb), (main): Add time-editing to the details dialog 2005-12-02 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Make time dialog more HIG-compliant, name more widgets * src/dates_main.c: (dates_date_changed_cb), (dates_event_selected_cb), (main): Implement editing of summary, location and description/details in the 'Details' dialog 2005-12-02 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: More dialog editing * src/dates_main.c: (dates_event_selected_cb), (dates_edit_cb), (main): Set d->comp to NULL after editing to stop writing to incorrect components * src/dates_view.c: (dates_view_init), (dates_view_objects_changed), (dates_view_draw_event), (dates_view_main_button_press), (dates_view_new), (dates_view_set_mode): Ref ECalComponent while editing in case of external changes 2005-11-29 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Design details and time-editing dialogs * src/dates_main.c: * src/dates_view.c: Inconsequential changes 2005-11-29 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_event_selected_cb): * src/dates_view.c: (dates_view_find_event_rect), (resolve_tzid_cb), (dates_view_event_data_position_sort), (dates_view_event_data_find), (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_event_size_cb), (dates_view_event_width), (dates_view_event_clear), (dates_view_event_span), (dates_view_event_sort), (dates_view_table_to_list), (dates_view_calculate_overlaps), (dates_view_objects_changed), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_side_expose), (dates_view_new), (dates_view_set_mode), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date): * src/dates_view.h: Start moving to use ECalComponent instead of icalcomponent 2005-11-03 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_date_changed_cb), (main): Add retrieval/editing of event summary * src/dates_view.c: (dates_view_objects_added), (dates_view_set_mode): Commit changes to events after switching modes from edit->view 2005-11-03 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_event_free), (dates_view_init), (dates_view_calculate_overlaps), (dates_view_objects_added), (dates_view_add_vpoints), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_event_rect_intersect), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose), (dates_view_new), (dates_view_set_mode): - Lowlight everything on the calendar except the current event when editing - Try to get calendar colour (doesn't work?) - Set background colour of side/top panels to white to match main calendar area 2005-10-29 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Remove cancel button, separate header/date label * src/dates_main.c: (dates_date_changed_cb), (main): Use header label to advise the user on operations 2005-10-27 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Change 'Open' button to 'Edit' - Add cancel button to quick-edit bar (perhaps to be removed later) * src/dates_main.c: (dates_date_changed_cb), (main): - Change things due to the above - Set editing mode when you click the edit button * src/dates_view.c: (dates_view_class_init), (dates_view_init), (dates_view_redraw), (dates_view_add_vpoints), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_scroll_event), (dates_view_event_rect_intersect), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose), (dates_view_new): - New signal/functions for selecting and editing events (not finished) * src/dates_view.h: - New signal 'event_selected' - New function 'dates_view_set_mode' 2005-10-26 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add header icon, adjust spacing, rename some widgets * src/dates_main.c: (dates_date_changed_cb), (main): - date_label/date_ebox renamed to header_label/header_ebox * src/dates_view.c: (dates_view_init), (make_isodate_for_day_begin), (dates_view_redraw), (dates_view_objects_added), (dates_view_objects_removed), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_expose), (dates_view_top_expose), (dates_view_side_expose), (dates_view_new): - Use gdk line attributes instead of manually adjusting rects and drawing more than once. - Keep track of event rectangles for selection * src/dates_view.h: - Add new enum DatesViewMode 2005-10-26 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: - Add date header - Add delete event button - Fill out menu - Add event quick-edit bar * src/dates_main.c: (dates_date_change), (main): - Add date header label - Show quick-edit bar when new is clicked * src/dates_view.c: (dates_view_class_init), (dates_view_event_data_free), (dates_view_event_free), (dates_view_init), (dates_view_event_size_cb2), (dates_view_set_date): - Add new signal date_changed - Remove date header label from widget - Fix all warnings * src/dates_view.h: - Add new signal date_changed 2005-10-04 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_calculate_overlaps), (dates_view_objects_added), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose): - Use small text for month/day/time/event labels - Display day labels for multiple-month (year) view - Fix borders for time labels 2005-10-04 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: - Don't overwrite private variable (fixes date-changing) - Disable week view * src/dates_view.c: (dates_view_event_size_cb3), (dates_view_event_size_cb2), (dates_view_calculate_overlaps), (dates_view_objects_added), (dates_view_add_region), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_draw_event_cb), (dates_view_draw_event): - Only calculate recurrences for the current year - Add a FRAMES define to specify how many rendered frames between transitions - Only draw visible events (to a certain extent) 2005-09-30 mallum <mallum@openedhand.com> * data/Makefile.am: Move icon to /usr/share/pixmaps * data/dates.desktop: Add PIM category 2005-09-30 Ross Burton <ross@burtonini.com> * dates/Makefile.am: Add to EXTRA_DIST. 2005-09-30 Ross Burton <ross@burtonini.com> * data/Makefile.am: * data/dates.desktop: * data/oh-dates.png: Add desktop file and icon. 2005-09-29 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_redraw), (dates_view_event_data_position_sort), (dates_view_event_data_find), (dates_view_objects_added), (dates_view_objects_removed), (dates_view_add_region), (dates_view_calc_zoom), (dates_view_rectangle_intersect), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event_cb), (dates_view_draw_event), (dates_view_main_expose): - Support for recurring events - Rewrite some event-drawing code (not stupidly inefficient anymore) 2005-09-27 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_finalize), (make_isodate_for_day_begin), (dates_view_redraw), (dates_view_event_size_cb), (dates_view_event_size), (dates_view_event_clear), (dates_view_event_span), (dates_view_event_sort), (dates_view_table_to_list), (dates_view_calculate_overlaps), (dates_view_objects_added), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event): Separate overlap draw data into days, in preparation for recurring events (also fixes other odd cases/bugs) 2005-09-24 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_init), (dates_view_redraw), (dates_view_event_size_cb), (dates_view_event_compare), (dates_view_event_width), (dates_view_event_clear), (dates_view_event_span): - Allocate space correctly for all cases of overlapping events 2005-09-23 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_finalize), (dates_view_init), (make_isodate_for_day_begin), (dates_view_redraw), (dates_view_event_size_cb), (dates_view_event_compare), (dates_view_event_size), (dates_view_event_clear), (dates_view_event_span), (dates_view_calculate_overlaps), (dates_view_objects_added), (dates_view_objects_removed), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_rectangle_intersect), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_scroll_event), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose): - Fix side-panel for 24-hour views - Cosmetic enhances for summary text - Complete overlapping events support (I think) 2005-09-23 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_date_change), (dates_zoom_in_cb), (dates_zoom_out_cb), (dates_zoom_change): Add extra zoom levels; 24-hours day and 24-hours week * src/dates_view.c: (dates_view_init), (make_isodate_for_day_begin), (dates_view_redraw), (dates_view_objects_added), (dates_view_objects_removed), (dates_view_in_region), (dates_view_calc_pan), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event), (dates_view_top_expose), (dates_view_side_expose): - Change drawing of 'teeth' on events so that they don't potrude more on one side than the other - Draw event summary 2005-09-22 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_zoom_in_cb), (dates_zoom_out_cb), (main): Enable year view again * src/dates_view.c: (dates_view_finalize), (dates_view_init), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_rectangle_intersect), (dates_view_add_hpoints), (dates_view_add_vpoints), (dates_view_draw_event), (dates_view_main_expose), (dates_view_main_scroll_event), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose), (dates_view_new), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_get_months_in_row), (dates_view_get_visible_months), (dates_view_get_visible_days), (dates_view_get_visible_hours), (dates_view_get_date): * src/dates_view.h: Add event visualisation (unfinished) 2005-09-19 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_finalize), (dates_view_init), (dates_view_in_region), (dates_view_redraw), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_main_expose), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date): - Make header display in text-selected colours, like previous non-GtkLabel version. - Fix animation when widget is being resized by its container 2005-09-19 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Another rework * src/dates_main.c: (dates_zoom_in_cb), (dates_zoom_out_cb), (main): * src/dates_view.c: (dates_view_init): Add padding to date header label 2005-09-19 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Don't pack the navigator widgets at the end of the toolbar * src/dates_main.c: (main): * src/dates_view.c: (dates_view_init), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose): Some small cosmetic changes and mouse-wheel support 2005-09-19 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Hide 'Year' button * src/dates_main.c: (dates_date_change), (main): Make scroll correspond correctly to the view chosen * src/dates_view.c: (dates_view_scroll_value_changed), (dates_view_calc_pan), (dates_view_rectangle_intersect), (dates_view_main_expose), (dates_view_top_expose), (dates_view_side_expose): Fix panning accuracy, take borders into account and add smooth scrolling 2005-09-16 Chris Lord,,, <chris@openedhand.com> * src/dates_main.c: (dates_zoom_change): Work around a bug in DatesView * src/dates_view.c: (dates_view_finalize), (dates_view_init), (dates_view_in_region), (dates_view_redraw), (dates_view_scroll_value_changed), (dates_view_calc_pan), (dates_view_main_expose), (dates_view_main_button_press), (dates_view_top_expose), (dates_view_side_expose), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_get_months_in_row), (dates_view_get_visible_months), (dates_view_get_visible_days), (dates_view_get_visible_hours), (dates_view_get_date): Implement side/top panels and scrollbar (top panel unfinished, side panel shows up errors in drawing calculations) 2005-09-16 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_class_init), (dates_view_finalize), (dates_view_init), (dates_view_in_region), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_rectangle_intersect), (dates_view_expose): * src/dates_view.h: Overhaul of DatesView - Inherit GtkTable instead of GtkWidget in preparation for scrollbar and side/top panels 2005-09-16 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_expose): Fix hours drawing logic 2005-09-15 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_main.c: (dates_date_change), (dates_zoom_change), (dates_month_cb), (dates_year_cb), (main): Dates interface revamp * src/dates_view.c: (dates_view_init), (dates_view_add_region), (dates_view_in_region), (dates_view_redraw), (dates_view_expose), (dates_view_realize), (dates_view_size_allocate), (dates_view_button_press): Add support for mouse selection of date 2005-09-15 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_class_init), (dates_view_finalize), (dates_view_init), (dates_view_expose), (dates_view_set_date): Use nl_langinfo and only generate layouts when necessary 2005-09-14 Chris Lord,,, <chris@openedhand.com> * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/Makefile.old: * src/Makefile.am: * src/libgtkdatesview.pc.in: Autotool * src/dates_view.c: (dates_view_init), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_rectangle_intersect), (dates_view_expose), (dates_view_realize), (dates_view_size_allocate), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date): Really only draw visible months and days 2005-09-14 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_view.c: (dates_view_finalize), (dates_view_init), (dates_view_calc_zoom), (dates_view_expose), (dates_view_realize), (dates_view_size_allocate), (dates_view_redraw), (dates_view_new), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date): - Only draw visible months - Only draw newly-exposed areas - Draw hour lines/labels - Various other fixes? 2005-09-09 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_expose): Add current date header + extra swishness 2005-09-09 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_calc_pan), (dates_view_calc_zoom): Zoom and pan to hours < 24 2005-09-09 Chris Lord,,, <chris@openedhand.com> * src/dates_view.c: (dates_view_calc_pan), (dates_view_realize), (dates_view_size_allocate): Pan to specific days inside months when appropriate (hours still unhandled) 2005-09-08 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: * src/dates_main.c: (create_dates_view), (dates_date_change), (dates_back_cb), (dates_forward_cb), (dates_today_cb), (dates_zoom_in_cb), (dates_zoom_change), (main): Add callbacks to control calendar view * src/dates_view.c: (dates_view_set_property), (dates_view_finalize), (dates_view_init), (dates_view_calc_pan), (dates_view_calc_zoom), (dates_view_expose), (dates_view_realize), (dates_view_size_allocate), (dates_view_new), (dates_view_set_months_in_row), (dates_view_set_visible_months), (dates_view_set_visible_days), (dates_view_set_visible_hours), (dates_view_set_date), (dates_view_get_months_in_row), (dates_view_get_visible_months), (dates_view_get_visible_days), (dates_view_get_visible_hours): Smooth panning animation and highlighting of currently selected date * src/dates_view.h: 2005-09-08 Chris Lord,,, <chris@openedhand.com> * data/dates.glade: Rework UI * src/dates_main.c: (dates_zoom_change), (main): * src/dates_view.c: (dates_view_class_init), (dates_view_init), (dates_view_calc_zoom), (dates_view_expose), (dates_view_set_visible_hours), (dates_view_set_current_date), (dates_view_get_visible_hours): Fix zoom logic and retrieve month/day names using glibc/libical functions. * src/dates_view.h: