aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
Commit message (Collapse)AuthorAgeFilesLines
...
* Routine to destory rows array properly.Miguel de Icaza1998-04-153-6/+18
| | | | | | | | | | | | | | | 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-full-day.c (layout_kill_rows): Routine to destory rows array properly. * gncal-year-view.c (gncal_year_view_new): Add missing year in call to strftime. * calobj.c (ical_object_create_from_vobject): Fixed memory leaks from the return values of versit's fakeCString. svn path=/trunk/; revision=136
* ArghArturo Espinosa1998-04-152-1/+26
| | | | svn path=/trunk/; revision=135
* New widget for the year view. added required compilation of the new files.Arturo Espinosa Aldama1998-04-158-16/+222
| | | | | | | | | 1998-04-14 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx> * gncal-year-view.[hc]: New widget for the year view. * Makefile.am: added required compilation of the new files. svn path=/trunk/; revision=134
* Load recurrence rules; Paint the recurrence screen according to the rules.Arturo Espinosa1998-04-141-15/+63
| | | | | | | | | Load recurrence rules; Paint the recurrence screen according to the rules. -miguel svn path=/trunk/; revision=133
* Now takes object and flags parameters. Likewise. Likewise.Federico Mena Quintero1998-04-148-38/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | 1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_update): Now takes object and flags parameters. * gncal-day-view.c (gncal_day_view_update): Likewise. * gncal-full-day.c (gncal_full_day_update): Likewise. (child_focus_in): New function. In conjunction with child_focus_out(), these only display the handles in the child when it is focused. The result is that the user can see more of the child's text when nothing is focused, and we can also display fatter and nicer drag handles. * gnome-cal.c (gnome_calendar_object_changed): Now takes an additional flags parameter (gnome_calendar_update_all): Made function static. Now takes changed object and flags parameters as well. (gnome_calendar_object_changed): Now takes additional flags parameter to indicate what changed in the specified object. * calobj.h (CalObjectChange): New enum with flags to describe what has been changed in an object. svn path=/trunk/; revision=132
* New function to let the outside world decide which child to focus.Federico Mena Quintero1998-04-144-1/+40
| | | | | | | | | | | | | | | 1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.h: * gncal-full-day.c (gncal_full_day_focus_child): New function to let the outside world decide which child to focus. (gncal_full_day_focus_child): Bleah. We have to synthesize a click because GtkText will not set the cursor when you focus it. * gnome-cal.c (day_view_range_activated): Focus the new child in the full day widget. svn path=/trunk/; revision=131
* Re-aligned some widgets to make it look prettier. (ee_alarm_widgets):Federico Mena Quintero1998-04-142-46/+89
| | | | | | | | | | | | | 1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (event_editor_setup_time_frame): Re-aligned some widgets to make it look prettier. (ee_alarm_widgets): Likewise. (ee_init_general_page): Likewise. (ee_classification_widgets): Likewise. (event_editor_init_widgets): Likewise. svn path=/trunk/; revision=130
* Create new object and add it to the calendar. You can now select a rangeFederico Mena Quintero1998-04-143-35/+132
| | | | | | | | | | | | | | | | | | | | 1998-04-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c (day_view_range_activated): Create new object and add it to the calendar. You can now select a range in the full-day view, hit Return, and a new event will be added at the selected range. I still have to figure out how to focus this new child. * gncal-full-day.c (paint_back): Rewrote function to avoid painting an area more than once -- eliminate flicker. (paint_back_rows): New function that calls paint_back() only for the area of the specified rows. (gncal_full_day_button_press): (gncal_full_day_button_release): (gncal_full_day_motion): Made these functions use paint_back_rows() instead of paint_back(), to eliminate flicker. Wheee! svn path=/trunk/; revision=129
* We now connect to the range_activated signal of the fullday widget insteadFederico Mena Quintero1998-04-134-54/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-04-12 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c (setup_day_view): We now connect to the range_activated signal of the fullday widget instead of catching key presses ourselves. (day_view_range_activated): New function that creates a new iCalObject and inserts it into the calendar, not finished yet. 1998-04-11 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (get_time_from_rows): New function, calculates a pair of time_t values from the specified start and number of rows. * gncal-full-day.h (GncalFullDayClass): New signal "range_activated". It is emitted when a range is selected and the user hits Return. (gncal_full_day_selection_range): New function, returns the selected range. * gncal-full-day.c (struct drag_info): Moved selection information to their own fields instead of sharing the child's drag fields. This allows us to keep the selection when a child is moved. (recompute_motion): Made the case when (row < di->sel_click_row) work correctly. svn path=/trunk/; revision=128
* Begginning of the create-appointment-on-range-selection-and-enter code -miguelArturo Espinosa1998-04-124-25/+65
| | | | svn path=/trunk/; revision=127
* More work on the recurrence dialog box, day navigation -migArturo Espinosa1998-04-124-86/+98
| | | | svn path=/trunk/; revision=126
* Now we support selecting a range in the main window (byFederico Mena Quintero1998-04-112-37/+114
| | | | | | | | | | 1998-04-11 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (recompute_motion): Now we support selecting a range in the main window (by clicking+dragging). It flickers horribly and is not perfect, but it is a start. svn path=/trunk/; revision=125
* Oops, compilation fixes plus more work - FedericoArturo Espinosa1998-04-111-40/+45
| | | | svn path=/trunk/; revision=123
* Gnome cal enhancemnets -migArturo Espinosa1998-04-112-11/+282
| | | | svn path=/trunk/; revision=122
* More work in progress - FedericoArturo Espinosa1998-04-111-25/+161
| | | | svn path=/trunk/; revision=121
* Show instead of just map the child widget (otherwise the text widget getsFederico Mena Quintero1998-04-096-144/+184
| | | | | | | | | | | | | | | | | | | | | | | | | 1998-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_map): Show instead of just map the child widget (otherwise the text widget gets confused and will not focus). * calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x". * calobj.h: Added prototype for ical_object_to_vobject(). * gnome-cal.c (gnome_calendar_object_changed): New function. This should be called when a calendar object is changed. * gncal-full-day.c (update_from_drag_info): Call gnome_calendar_object_changed() instead of updating manually. * calendar.c (calendar_add_object): (calendar_remove_object): Set the modified flag to true. * gncal-full-day.c (gncal_full_day_draw): Finished implementing this function. svn path=/trunk/; revision=120
* The full day widget now gets updated correctly when you add anArturo Espinosa1998-04-091-12/+33
| | | | | | appointment from the menus. - Federico svn path=/trunk/; revision=116
* Wheee! Now you can drag events correctly - FedericoArturo Espinosa1998-04-091-10/+19
| | | | svn path=/trunk/; revision=112
* More updates - FedericoArturo Espinosa1998-04-082-14/+79
| | | | svn path=/trunk/; revision=111
* Removed unused global variable parent_class.Federico Mena Quintero1998-04-082-5/+9
| | | | | | | | | | | | | 1998-04-07 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c: Removed unused global variable parent_class. * eventedit.h: Renamed gtk_window field to window. Made the parent_class field in the EventEditorClass structure be a GtkWindowClass, not a gnome property box class. Added prototype for event_editor_get_type(). svn path=/trunk/; revision=110
* More work in progress, wheeeee - FedericoArturo Espinosa1998-04-0812-88/+881
| | | | svn path=/trunk/; revision=109
* vCalendar gets fully saved -migArturo Espinosa1998-04-052-3/+5
| | | | svn path=/trunk/; revision=107
* Include <config.h>.Tom Tromey1998-04-041-0/+2
| | | | | | | | Fri Apr 3 22:31:54 1998 Tom Tromey <tromey@cygnus.com> * calendar.c: Include <config.h>. svn path=/trunk/; revision=106
* lots more -migArturo Espinosa1998-04-042-0/+27
| | | | svn path=/trunk/; revision=105
* more and more fixes -migArturo Espinosa1998-04-044-18/+47
| | | | svn path=/trunk/; revision=104
* Lots -migArturo Espinosa1998-04-045-69/+358
| | | | svn path=/trunk/; revision=103
* More work. Weee! -migArturo Espinosa1998-04-031-26/+66
| | | | svn path=/trunk/; revision=102
* The "better" format string for strftime() wasn't better, after all :-(Federico Mena Quintero1998-04-033-7/+83
| | | | | | | | | | | 1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * view-utils.c (view_utils_draw_events): The "better" format string for strftime() wasn't better, after all :-( ... plus more work on progress svn path=/trunk/; revision=101
* add test.vcf, more code progress -migArturo Espinosa1998-04-036-17/+186
| | | | svn path=/trunk/; revision=100
* New full-day widget. It is still a work in progress. It will be similar toFederico Mena Quintero1998-04-034-3/+382
| | | | | | | | | | | | 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c: New full-day widget. It is still a work in progress. It will be similar to M$ Schedule's nifty full day view widget, but with Gtk's elegance :-) * Makefile.am (gnomecal_SOURCES): Added gncal-full-day.[ch] to the sources. svn path=/trunk/; revision=99
* More calendar work -migArturo Espinosa1998-04-038-7/+237
| | | | svn path=/trunk/; revision=98
* Use better format specifier for strftime().Federico Mena Quintero1998-04-032-3/+45
| | | | | | | | | | | | | | | 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * view-utils.c (view_utils_draw_events): Use better format specifier for strftime(). (view_utils_draw_textured_frame): Ultra-nifty function to draw textured "metal" frames, like Netscape's handles. HEAR YE! HEAR YE! GtkHandleBox could use this last function to draw a prettier drag handle. Any takers? svn path=/trunk/; revision=97
* Various time fixes; lib fixes; cache fixes -migArturo Espinosa1998-04-031-0/+4
| | | | svn path=/trunk/; revision=96
* Day events are now cached inside the widget. They get initialized at thisMiguel de Icaza1998-04-039-36/+45
| | | | | | | | | | | 1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_update): Day events are now cached inside the widget. They get initialized at this time. * view-utils.c (view_utils_draw_events): Use the list of events. svn path=/trunk/; revision=95
* New customization function. We can't decide on a stupid border type :-)Federico Mena Quintero1998-04-022-1/+20
| | | | | | | | | | | 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_set_shadow): New customization function. We can't decide on a stupid border type :-) (gncal_day_view_init): Made GTK_SHADOW_ETCHED_IN be the default shadow type. Looks good. svn path=/trunk/; revision=94
* New main program that uses our new datatypes and objects.Miguel de Icaza1998-04-026-12/+99
| | | | | | | | | | | | | | | | | | | | | 1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c: New main program that uses our new datatypes and objects. * calendar.c (calendar_load_from_vobject, calendar_load): Implement loading of vCalendar objects and vCalendar files. * calobj.c (ical_object_create_from_vobject): Implement loading of vCalendar event and todo objects. * timeutil.c (isodate_from_time_t): New function. * gnome-cal.c, gnome-cal.h: Implement a toplevel widget, derived from GnomeApp. It holds all of the day views and arbitrates the display. svn path=/trunk/; revision=93
* Oops, forgot these - FedericoArturo Espinosa1998-04-022-0/+139
| | | | svn path=/trunk/; revision=92
* More updates so that Mig can test it - FedericoArturo Espinosa1998-04-023-4/+32
| | | | svn path=/trunk/; revision=91
* New week view composite widget. This provides a full week view (7 dayFederico Mena Quintero1998-04-024-76/+324
| | | | | | | | | | | | | | | 1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.[ch]: New week view composite widget. This provides a full week view (7 day views plus busy time display -- the latter is currently unimplemented). 1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c: New day view widget. It is intended to be a child widget of the week view composite widget. svn path=/trunk/; revision=90
* GnomeCalendar toplevel GnomeApp; versit code -migArturo Espinosa1998-04-025-19/+382
| | | | svn path=/trunk/; revision=89
* These functions now take a sort_func parameter, which is of typeFederico Mena Quintero1998-04-022-11/+30
| | | | | | | | | | | | | | | | 1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * calendar.c (calendar_get_objects_in_range): (calendar_get_events_in_range): (calendar_get_journal_in_range): (calendar_get_journal_in_range): These functions now take a sort_func parameter, which is of type GCompareFunc. If the specified value is non-NULL, it will return a sorted list. Otherwise, it will return an unordered list. (calendar_compare_by_dtstart): Provide a generic sorting routine for calendar objects. svn path=/trunk/; revision=88
* Sync with my copy -migArturo Espinosa1998-04-011-1/+2
| | | | svn path=/trunk/; revision=86
* Removed #include "gtkcalendar.h", because it now comes from libgnomeui.Federico Mena Quintero1998-04-015-20/+333
| | | | | | | | | | | 1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal.c: Removed #include "gtkcalendar.h", because it now comes from libgnomeui. * Makefile.am (gncal_SOURCES): Added new source files to the rules. svn path=/trunk/; revision=84
* iCalendar/vCalendar time utiltiesArturo Espinosa1998-04-011-2/+7
| | | | svn path=/trunk/; revision=81
* Small typo fixed -migArturo Espinosa1998-04-011-2/+2
| | | | svn path=/trunk/; revision=80
* Calendar objects as defined by the iCalendar IETF draft. Calendar holderArturo Espinosa1998-04-013-0/+180
| | | | | | | | | Calendar objects as defined by the iCalendar IETF draft. Calendar holder for Calendar Objects. -mig&fed svn path=/trunk/; revision=79
* added clist.[ch]Craig Small1998-03-311-1/+3
| | | | svn path=/trunk/; revision=78
* linked into gtkcalendar widgetCraig Small1998-03-121-2/+5
| | | | svn path=/trunk/; revision=66
* Added GNOME_INCLUDEDIR. (gncal_LDADD): Don't include libsupport.a.Tom Tromey1998-03-091-3/+2
| | | | | | | | | | | Sun Mar 8 16:38:10 1998 Tom Tromey <tromey@cygnus.com> * Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR. (gncal_LDADD): Don't include libsupport.a. * gncal.c (main): Use new gnome_init. svn path=/trunk/; revision=61
* Added $(GNOME_LIBDIR) to some Makefile.am files.rhlabs1998-02-271-0/+1
| | | | | | -Marc svn path=/trunk/; revision=53
* Added German translation.Carsten Schaar1998-02-241-0/+2
| | | | svn path=/trunk/; revision=50
* Mon, 23 Feb 1998 04:17:37 +0100 VincentVincent Renardias1998-02-231-0/+2
| | | | | | *.desktop translations for the gnome-utils module. svn path=/trunk/; revision=48
* (gncal_LDADD): Added '$(INTLLIBS)'Carsten Schaar1998-02-201-1/+2
| | | | svn path=/trunk/; revision=45
* Include `libsupport.a'.Raja R Harinath1998-02-191-1/+2
| | | | | | | | | | | | * Makefile.am (gncal_LDADD): Include `libsupport.a'. * calcs.c (month_atoi): Replace buggy explicit loop string compare with strcasecmp. (day_atoi): Likewise. - Hari svn path=/trunk/; revision=40
* Remove MakefileArturo Espinosa1998-02-141-0/+1
| | | | svn path=/trunk/; revision=23
* Added #include <locale.h>Federico Mena Quintero1998-02-131-3/+1
| | | | | | | | | | | | 1998-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c: Added #include <locale.h> 1998-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Added intl/Makefile to the AC_OUTPUT list. svn path=/trunk/; revision=18
* Fixed Makefile.am so gncal compiles (please check!)Craig Small1998-02-121-0/+4
| | | | svn path=/trunk/; revision=17
* Gnome Utils autoconf/automake setup is readyArturo Espinosa1998-02-112-0/+27
| | | | svn path=/trunk/; revision=12
* added repeat valuesCraig Small1998-02-101-3/+16
| | | | svn path=/trunk/; revision=9
* New Gnome Calendar filesCraig Small1998-01-121-0/+14
svn path=/trunk/; revision=2