aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Fix for the weekly event generation. Was reported on the bug trackingMiguel de Icaza1998-05-264-3/+8
| | | | | | | | | 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (ical_object_generate_events): Fix for the weekly event generation. Was reported on the bug tracking system. svn path=/trunk/; revision=237
* Implemented ultra-cool layout for the events that share the same timeMiguel de Icaza1998-05-193-204/+336
| | | | | | | | | | | | | | | | | | 1998-05-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-full-day.c (layout_children): Implemented ultra-cool layout for the events that share the same time range. Gals and guys you can now drop Outlook on the recycle bin. Which reminds me. We do not have a recycle bin. How could that happen in a project as cool as this one? Someone explain this to me. 1998-05-18 Federico Mena <federico@nuclecu.unam.mx> * gncal-full-day.c (paint_back): Eliminated unnecessary border repainting. svn path=/trunk/; revision=218
* Close dialog when return is pressed.Havoc Pennington1998-05-183-0/+6
| | | | | | | | Sun May 17 17:55:03 1998 Havoc Pennington <hp@pobox.com> * gncal-todo.c (simple_todo_editor): Close dialog when return is pressed. svn path=/trunk/; revision=217
* Various bug fixes that were reported:Arturo Espinosa1998-05-166-12/+8
| | | | | | | | | | | | Various bug fixes that were reported: 1. Correct event span computation for some cases. 2. Correct drawing of events that span more than one day 3. EventEditor supports 12/24 hour formats. mguel. svn path=/trunk/; revision=216
* Bug free version of the range computation in place.Miguel de Icaza1998-05-168-48/+63
| | | | | | | | | | | | | | | 1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-cal.c (mark_gtk_calendar_day): Bug free version of the range computation in place. * gncal-year-view.c (year_view_mark_day): Use the same new version of the range computation here. * calobj.c (ical_object_generate_events): Fix the begin/end condition. svn path=/trunk/; revision=215
* Do not add the spurious padding.Miguel de Icaza1998-05-1513-36/+234
| | | | | | | | | | | | | | | | | | | | | | | | 1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx> * timeutil.c (isodate_from_time_t): Do not add the spurious padding. * calobj.c (store_date_list): Bug fix: I was using the wrong pointer when saving the exception date list. (set_date_list): Bug fix: load correctly the complete exception date list. (set_date_list): Use ',' for the exception date separator as the versit people can not get their standard right. * gncal-full-day.c (unrecur_appointment): Support for making an existing recurrent event `movable' for a day. * calobj.c (ical_object_add_exdate): New routine, used to add exception dates. (ical_object_duplicate): New routine: used to do the magic recur->no-recur event. svn path=/trunk/; revision=214
* Further work on getting nice pixmaps displayed -migArturo Espinosa1998-05-092-28/+34
| | | | svn path=/trunk/; revision=210
* 1. Fix: `New Appointment' defaults to the current day. 2. Add `NewArturo Espinosa1998-05-099-4/+62
| | | | | | | | | | 1. Fix: `New Appointment' defaults to the current day. 2. Add `New appointment today' entry. 3. Use the new freeze/thaw changes to avoid the extensive flicker. Miguel. svn path=/trunk/; revision=209
* My attempt at getting the nice pixmaps drawn next to the events.Arturo Espinosa1998-05-077-44/+301
| | | | | | | | My attempt at getting the nice pixmaps drawn next to the events. For some wierdo reason it is not drawing them now. svn path=/trunk/; revision=208
* Only run the apply code once.Miguel de Icaza1998-05-053-2/+12
| | | | | | | | 1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx> * prop.c (prop_apply): Only run the apply code once. svn path=/trunk/; revision=207
* Draw the day at startup. (gncal_day_panel_set): Fix selected-day display.Miguel de Icaza1998-05-046-22/+35
| | | | | | | | | | | | | 1998-05-03 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-day-panel.c (update): Draw the day at startup. (gncal_day_panel_set): Fix selected-day display. (gncal_day_panel_new): Switch day on double clicks, not on single clicks. * calobj.c (ical_object_compute_end): Removed debug messages. svn path=/trunk/; revision=205
* Updated gedit/.cvsignore and gncal/.cvsignoreKjartan Maraas1998-05-031-0/+1
| | | | | | | | Sun May 03 03:18:13 Kjartan Maraas <kmaraas@fib.hl.no> * Updated gedit/.cvsignore and gncal/.cvsignore svn path=/trunk/; revision=204
* crash fix for proeprty dialog -migArturo Espinosa1998-05-013-6/+9
| | | | svn path=/trunk/; revision=203
* Fix for SM code, I was allocating less than needed (thanks to federico for ↵Arturo Espinosa1998-04-302-2/+2
| | | | | | quickly spotting my mistake) -mig svn path=/trunk/; revision=202
* Various fixes and optimizations; Tagging of the days with appointements.Arturo Espinosa1998-04-3014-16/+160
| | | | | | | | | Various fixes and optimizations; Tagging of the days with appointements. the 1969 bug is gone. Really. Miguel. svn path=/trunk/; revision=201
* Added Session management to GnomeCal -miguelArturo Espinosa1998-04-296-246/+392
| | | | svn path=/trunk/; revision=200
* Lots of fixes:Arturo Espinosa1998-04-2915-69/+134
| | | | | | | | | | | | | Lots of fixes: 1. Alarms are rescheduled when an event has been changed. 2. Avoid emitting spurious event changes. 3. Applied black magic to get the mail-notification working. Miguel. svn path=/trunk/; revision=199
* Removed an unused function - FedericoArturo Espinosa1998-04-292-20/+2
| | | | svn path=/trunk/; revision=198
* Descend from GnomeDialog. Took vbox out of class structure; useHavoc Pennington1998-04-265-62/+44
| | | | | | | | | | | | Sat Apr 25 22:20:45 1998 Havoc Pennington <hp@pobox.com> * eventedit.c, eventedit.h: Descend from GnomeDialog. Took vbox out of class structure; use GnomeDialog vbox instead. gnome_dialog_set_destroy instead of destroying in button callbacks. Don't create buttons, separator, or vbox manually. #include <libgnomeui/gnome-dialog.h>. svn path=/trunk/; revision=197
* Remove debug code -migArturo Espinosa1998-04-264-8/+4
| | | | svn path=/trunk/; revision=196
* Fix user name computation -migArturo Espinosa1998-04-262-2/+14
| | | | svn path=/trunk/; revision=195
* Fixed alarm saving code. Fixed alarm loading code. New -partial-Arturo Espinosa1998-04-2517-92/+394
| | | | | | | | | Fixed alarm saving code. Fixed alarm loading code. New -partial- implementation of the mail alarm. It is not working, I do not know what is closing stdin to sendmail svn path=/trunk/; revision=194
* Actually save the to-do entries.Federico Mena Quintero1998-04-245-80/+353
| | | | | | | | | | | 1998-04-23 Federico Mena Quintero <federico@nuclecu.unam.mx> * calendar.c (calendar_save): Actually save the to-do entries. * gncal-todo.c (simple_todo_editor): Now you can add and edit to-do entries. svn path=/trunk/; revision=191
* Fixes for vTodo thingies -migArturo Espinosa1998-04-235-23/+56
| | | | svn path=/trunk/; revision=190
* Made it use popup_menu().Federico Mena Quintero1998-04-2334-132/+861
| | | | | | | | | | | | | | | | | | | | | | | 1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c: Made it use popup_menu(). * popup-menu.c: New file with utility functions for creating popup menus. Maybe such a thing would be useful in libgnomeui, a la gnome-app-helper? * Makefile.am (gnomecal_SOURCES): Added popup-menu.[ch] to the sources. 1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c: New widget for editing TODO lists. This will be worked on a lot. * Makefile.am (gnomecal_SOURCES): Added gncal-todo.[ch] to the sources. * gncal-day-panel.c: Make it use the new TODO widget. svn path=/trunk/; revision=189
* This one too -migArturo Espinosa1998-04-231-0/+1
| | | | svn path=/trunk/; revision=188
* Make GnomeCalendar properties use GnomePropertyBox -miguelArturo Espinosa1998-04-232-38/+48
| | | | svn path=/trunk/; revision=187
* Perfection and sometimes requires two commits -migArturo Espinosa1998-04-222-0/+12
| | | | svn path=/trunk/; revision=185
* Perfection comes in many disguises -migArturo Espinosa1998-04-224-12/+20
| | | | svn path=/trunk/; revision=184
* Forgot to cvs add this fileArturo Espinosa1998-04-222-0/+274
| | | | svn path=/trunk/; revision=183
* 1. Calendar property configuration is finally here with nice live-updates.Arturo Espinosa1998-04-2220-93/+274
| | | | | | | | | | | | | 1. Calendar property configuration is finally here with nice live-updates. 2. Double clicking on week view jumps to that day in the day view; Context menu allows adding an appointment on that day. Miguel. svn path=/trunk/; revision=182
* Added calls to gtk_window_set_wmclass to gnome-utils - migArturo Espinosa1998-04-223-2/+6
| | | | svn path=/trunk/; revision=180
* Small fix for goto-day-year computation -migArturo Espinosa1998-04-227-20/+36
| | | | svn path=/trunk/; revision=179
* Lots of changes:Miguel de Icaza1998-04-2214-38/+90
| | | | | | | | | | | | | | | | | | | | | | | Lots of changes: 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx> 1. gEdit got Gnomified: gnome-stock, gnome-app, i18n tretment + integration into gnome-utils compilation. Original configure.in is still there for Alex/Evans to redistribute as Gtk App (I tried to ifdef gnome code). 2. gHex: warning fixes + crash fixes + i18n fixes. 3. GnCal: week view shows date range (needs some fixing); changed the day view order; other stuff I dont remember 4. GTop: more i18n treatmnet. 5. Updated Spanish translation. svn path=/trunk/; revision=178
* Made it use GncalDayPanel.Federico Mena Quintero1998-04-2218-223/+597
| | | | | | | | | | | | | | | | | | 1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c: Made it use GncalDayPanel. * gncal-day-panel.c: New widget for the day view in the main calendar toplevel. It basically takes care of everything gnome-cal did by hand with respect to the day view. * Makefile.am (gnomecal_SOURCES): Added gncal-day-panel.[ch] to the rules. * main.c: Added a separator between the About menu item and the help topics. svn path=/trunk/; revision=177
* Added icon for gncal to .desktop entryrhlabs1998-04-222-2/+2
| | | | | | Dr Mike <msf@redhat.com> svn path=/trunk/; revision=176
* Misc. event handling fixes - FedericoArturo Espinosa1998-04-213-11/+33
| | | | svn path=/trunk/; revision=175
* Enhance the exception date handling -migArturo Espinosa1998-04-218-50/+124
| | | | svn path=/trunk/; revision=174
* Make the any-key-creates-new-appointment-at-selection thing actually work - ↵Arturo Espinosa1998-04-217-24/+72
| | | | | | Federico svn path=/trunk/; revision=173
* Now any printable keystroke (not just Return) will activate the selectedFederico Mena Quintero1998-04-213-4/+53
| | | | | | | | | 1998-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (gncal_full_day_key_press): Now any printable keystroke (not just Return) will activate the selected range. svn path=/trunk/; revision=172
* Made it use the new paint_row function instead of painting everythingFederico Mena Quintero1998-04-2112-374/+417
| | | | | | | | | | | | | 1998-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (paint_back): Made it use the new paint_row function instead of painting everything directly. We calculate areas in a smarter way so there is even less flicker than before, especially when selecting regions. * eventedit.c: Sensitize recurrence widgets properly. svn path=/trunk/; revision=171
* Fix compiler warnings - FedericoArturo Espinosa1998-04-2121-37/+45
| | | | svn path=/trunk/; revision=170
* more fixes -migArturo Espinosa1998-04-218-4/+18
| | | | svn path=/trunk/; revision=169
* A lot of usability changes to GnomeCal -miguelArturo Espinosa1998-04-2118-165/+319
| | | | svn path=/trunk/; revision=168
* Use GNOME_STOCK_PIXMAP_HOME for today -migArturo Espinosa1998-04-203-2/+6
| | | | svn path=/trunk/; revision=167
* It works. I promiseArturo Espinosa1998-04-194-4/+4
| | | | svn path=/trunk/; revision=164
* I missed this one as wellArturo Espinosa1998-04-192-2/+2
| | | | svn path=/trunk/; revision=163
* Duh forgot config.h here -migArturo Espinosa1998-04-192-2/+2
| | | | svn path=/trunk/; revision=162
* More touches -migArturo Espinosa1998-04-193-3/+0
| | | | svn path=/trunk/; revision=161
* Various small fixes here and there -migArturo Espinosa1998-04-195-18/+116
| | | | svn path=/trunk/; revision=160
* Update spanish translation for the Calendar.Arturo Espinosa1998-04-1912-16/+2377
| | | | | | | | | | | | | | | | | Update spanish translation for the Calendar. Added command line handling to the calendar program. You can now display your appointments for any given date from the command line wihtout running X. Added CVS's `getdate'. This is a date parser for a bunch of formats. Internationalized getdate. You can even type date descriptions in your native language. Miguel. svn path=/trunk/; revision=159
* Add Quoted printable property to items containing new lines. (duration):Miguel de Icaza1998-04-198-26/+106
| | | | | | | | | | | | | | | 1998-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (ical_object_to_vobject): Add Quoted printable property to items containing new lines. (duration): Use unsigned integers, to work around buggy calendar files generated by korganizer. * main.c (save_calendar_cmd): Do not ask for file name if we are saving. (save_as_calendar_cmd): New command. svn path=/trunk/; revision=158
* Final steps.Arturo Espinosa1998-04-185-6/+27
| | | | svn path=/trunk/; revision=157
* Usability fixes -migArturo Espinosa1998-04-188-26/+44
| | | | svn path=/trunk/; revision=156
* Yes.Arturo Espinosa1998-04-1828-55/+1033
| | | | | | | | | | | | | | | | | | | | | Yes. It works. It loads, it saves, it does all that stuff. It works, even if federico complains that we did not test close. Repetition, alarms, all that stuff you all guys love. It it is there. We did minimal testing, but we know you will happilly commit a fix if you find a problem, right? Ok, we are off to a party now. Miguel svn path=/trunk/; revision=155
* Added mandatory status property. (ical_object_to_vobject): Only storeFederico Mena Quintero1998-04-184-12/+37
| | | | | | | | | | 1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * calobj.c (ical_new): Added mandatory status property. (ical_object_to_vobject): Only store "related" list if it exists. (store_list): Add terminating null char and free the correct data. svn path=/trunk/; revision=154
* Added mandatory status property. (ical_object_to_vobject): Only storeFederico Mena Quintero1998-04-1814-131/+290
| | | | | | | | | | | | | | | | 1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * calobj.c (ical_new): Added mandatory status property. (ical_object_to_vobject): Only store "related" list if it exists. * main.c (save_calendar_cmd): Implemented calendar saving. (open_calendar_cmd): Implemented calendar loading. (new_calendar_cmd): Implemented calendar creation. (new_calendar): Don't load our test calendar by default. * gncal-full-day.c (delete_appointment): Delete appointment implemented. svn path=/trunk/; revision=153
* Year view, double click -migArturo Espinosa1998-04-1821-112/+611
| | | | svn path=/trunk/; revision=152
* The event dialog is beautified, recurrences are saner.Federico Mena Quintero1998-04-1820-442/+1456
| | | | | | | | | | 1998-04-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_init_recurrence_page): New function that creates the recurrence page in the toplevel notebook. (ee_store_recur_values_to_ical): Now we can also store the recurrences. svn path=/trunk/; revision=151
* We load the alarms -migArturo Espinosa1998-04-186-45/+147
| | | | svn path=/trunk/; revision=150
* Save Recurrence rules -MiguelArturo Espinosa1998-04-186-20/+339
| | | | svn path=/trunk/; revision=149
* Large number of updates. Recurrence basically works now in most of itsArturo Espinosa1998-04-1820-192/+807
| | | | | | | | | Large number of updates. Recurrence basically works now in most of its forms (daily, weekly, month-by-position). Miguel. svn path=/trunk/; revision=148
* Remove deadly excessive abuse of encapsulation -migArturo Espinosa1998-04-1714-56/+43
| | | | svn path=/trunk/; revision=147
* New event generation api in place -miguelArturo Espinosa1998-04-1715-197/+309
| | | | svn path=/trunk/; revision=146
* Use menu_shell->children, not menu->children. Why does GtkMenu have aFederico Mena Quintero1998-04-1729-220/+402
| | | | | | | | | | | | | | | | | | | | | 1998-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_store_alarm): Use menu_shell->children, not menu->children. Why does GtkMenu have a children field in the object structure? (check_dates): New function that insures that start_date < end_date. (check_times): In addition to checking whether the event spans the whole day, now it insures that start_time < end_time. * gncal-full-day.c (child_set_size): Now children get bigger temporarily while they are focused. This allows the handles not to "overlap" the rows used by the child and thus allow editing of very thin events. (recompute_motion): Fix for new child coordinates. (gncal_full_day_expose): Make it use find_child_by_window() instead of looking for it by hand. svn path=/trunk/; revision=145
* Changed exec name to gnomecal, not gncalrhlabs1998-04-172-2/+2
| | | | | | Dr Mike <msf@redhat.com> svn path=/trunk/; revision=144
* XPM files for events with alarm and recurrence, respectively.Federico Mena Quintero1998-04-1612-12/+345
| | | | | | | | | | | | | 1998-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * bell.xpm recur.xpm: XPM files for events with alarm and recurrence, respectively. 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (button_1): Preserve the up/down cursor while dragging. svn path=/trunk/; revision=143
* Now children have a vertical handle as well. This can be used to move theFederico Mena Quintero1998-04-163-70/+149
| | | | | | | | | | | 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_draw): Now children have a vertical handle as well. This can be used to move the child anytime, not only when it is focused. (recompute_motion): Modified for new drag behavior. svn path=/trunk/; revision=142
* run fix -migArturo Espinosa1998-04-162-6/+2
| | | | svn path=/trunk/; revision=141
* The general_owner may be null. Do the proper thing when creating theFederico Mena Quintero1998-04-1621-195/+456
| | | | | | | | | | | | | | | | | | | | | | | | 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_init_general_page): The general_owner may be null. Do the proper thing when creating the label. (ee_ok): Update the gnome calendar appropriately. * timeutil.h: * gncal-year-view.h: Add some missing prototypes. * gncal-full-day.c (child_popup_menu): Set the sensitivity of menu items according to whether the ical object is being edited or not. * eventedit.c (event_editor_new): Set the "being edited" flag on the ical object (stored as the ical object's user data). (event_editor_destroy): Release the flag. * calobj.h: The iCalObject structure now has a generic user_data pointer. * calobj.c (ical_object_set_user_data ical_object_get_user_data): Functions to set this data. svn path=/trunk/; revision=140
* Year view marks ranges of new dates (on update view). Recurrence iteratorArturo Espinosa1998-04-1518-45/+260
| | | | | | | | | | | Year view marks ranges of new dates (on update view). Recurrence iterator functions are here now (clap, clap, clap). Microsoft Outlook's days are counted. Miguel. svn path=/trunk/; revision=139
* TODO updates - FedericoArturo Espinosa1998-04-151-2/+0
| | | | svn path=/trunk/; revision=138
* Now using time_t for new and set. Random fixes, as well.Arturo Espinosa Aldama1998-04-159-116/+420
| | | | | | | | | 1998-04-15 Arturo Espinosa Aldama <arturo@nuclecu.unam.mx> * gncal-year-view.[hc]: Now using time_t for new and set. Random fixes, as well. svn path=/trunk/; revision=137
* Routine to destory rows array properly.Miguel de Icaza1998-04-1510-111/+245
| | | | | | | | | | | | | | | 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-154-2/+52
| | | | svn path=/trunk/; revision=135
* New widget for the year view. added required compilation of the new files.Arturo Espinosa Aldama1998-04-1521-82/+513
| | | | | | | | | 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-148-42/+969
| | | | | | | | | 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-1420-76/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-1410-5/+89
| | | | | | | | | | | | | | | 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-145-92/+185
| | | | | | | | | | | | | 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-148-72/+280
| | | | | | | | | | | | | | | | | | | | 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-1310-111/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1211-50/+136
| | | | svn path=/trunk/; revision=127
* More work on the recurrence dialog box, day navigation -migArturo Espinosa1998-04-1217-190/+335
| | | | svn path=/trunk/; revision=126
* Now we support selecting a range in the main window (byFederico Mena Quintero1998-04-115-74/+234
| | | | | | | | | | 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-113-80/+92
| | | | svn path=/trunk/; revision=123
* Gnome cal enhancemnets -migArturo Espinosa1998-04-114-22/+564
| | | | svn path=/trunk/; revision=122
* More work in progress - FedericoArturo Espinosa1998-04-112-50/+322
| | | | svn path=/trunk/; revision=121
* Show instead of just map the child widget (otherwise the text widget getsFederico Mena Quintero1998-04-0920-299/+401
| | | | | | | | | | | | | | | | | | | | | | | | | 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-093-27/+66
| | | | | | appointment from the menus. - Federico svn path=/trunk/; revision=116
* Say `#if 0', not `#ifdef 0'.Raja R Harinath1998-04-092-1/+5
| | | | | | * gncal.c (update_calendar): Say `#if 0', not `#ifdef 0'. svn path=/trunk/; revision=115
* Updates - FedArturo Espinosa1998-04-091-0/+4
| | | | svn path=/trunk/; revision=114
* Added a TODO list to refresh my memory from time to time - FedericoArturo Espinosa1998-04-091-0/+46
| | | | svn path=/trunk/; revision=113
* Wheee! Now you can drag events correctly - FedericoArturo Espinosa1998-04-092-20/+38
| | | | svn path=/trunk/; revision=112
* More updates - FedericoArturo Espinosa1998-04-084-28/+158
| | | | svn path=/trunk/; revision=111
* Removed unused global variable parent_class.Federico Mena Quintero1998-04-085-10/+27
| | | | | | | | | | | | | 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-0827-177/+1808
| | | | svn path=/trunk/; revision=109
* New file.Carsten Schaar1998-04-061-0/+4
| | | | | | * versit/.cvsignore: New file. svn path=/trunk/; revision=108
* vCalendar gets fully saved -migArturo Espinosa1998-04-057-15/+259
| | | | svn path=/trunk/; revision=107
* Include <config.h>.Tom Tromey1998-04-043-0/+8
| | | | | | | | 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-047-6/+153
| | | | svn path=/trunk/; revision=105
* more and more fixes -migArturo Espinosa1998-04-0410-43/+119
| | | | svn path=/trunk/; revision=104
* Lots -migArturo Espinosa1998-04-0419-189/+1001
| | | | svn path=/trunk/; revision=103
* More work. Weee! -migArturo Espinosa1998-04-032-52/+132
| | | | svn path=/trunk/; revision=102
* The "better" format string for strftime() wasn't better, after all :-(Federico Mena Quintero1998-04-037-14/+171
| | | | | | | | | | | 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-0315-34/+378
| | | | svn path=/trunk/; revision=100
* New full-day widget. It is still a work in progress. It will be similar toFederico Mena Quintero1998-04-0310-7/+792
| | | | | | | | | | | | 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-0318-22/+495
| | | | svn path=/trunk/; revision=98
* Use better format specifier for strftime().Federico Mena Quintero1998-04-035-6/+97
| | | | | | | | | | | | | | | 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-036-6/+23
| | | | svn path=/trunk/; revision=96
* Day events are now cached inside the widget. They get initialized at thisMiguel de Icaza1998-04-0319-72/+97
| | | | | | | | | | | 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-025-2/+47
| | | | | | | | | | | 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-0222-30/+747
| | | | | | | | | | | | | | | | | | | | | 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-024-0/+278
| | | | svn path=/trunk/; revision=92
* More updates so that Mig can test it - FedericoArturo Espinosa1998-04-026-8/+64
| | | | svn path=/trunk/; revision=91
* New week view composite widget. This provides a full week view (7 dayFederico Mena Quintero1998-04-029-152/+657
| | | | | | | | | | | | | | | 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-0212-38/+801
| | | | svn path=/trunk/; revision=89
* These functions now take a sort_func parameter, which is of typeFederico Mena Quintero1998-04-025-22/+72
| | | | | | | | | | | | | | | | 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
* Calendar object editor -migArturo Espinosa1998-04-011-0/+88
| | | | svn path=/trunk/; revision=87
* Sync with my copy -migArturo Espinosa1998-04-012-2/+4
| | | | svn path=/trunk/; revision=86
* `buf' now static.Tom Tromey1998-04-012-1/+5
| | | | | | | | Tue Mar 31 23:46:50 1998 Tom Tromey <tromey@cygnus.com> * timeutil.c (format_simple_hour): `buf' now static. svn path=/trunk/; revision=85
* Removed #include "gtkcalendar.h", because it now comes from libgnomeui.Federico Mena Quintero1998-04-0117-49/+686
| | | | | | | | | | | 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
* New function, formats an hour/am_pm pair into a string of the form "3am",Federico Mena Quintero1998-04-013-2/+62
| | | | | | | | | | 1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * timeutil.c (format_simple_hour): New function, formats an hour/am_pm pair into a string of the form "3am", "12pm", "05h", "19h", etc. It is used by the day view widget for its labels. svn path=/trunk/; revision=83
* iCalendar/vCalendar time utiltiesArturo Espinosa1998-04-013-4/+43
| | | | svn path=/trunk/; revision=81
* Small typo fixed -migArturo Espinosa1998-04-012-4/+4
| | | | svn path=/trunk/; revision=80
* Calendar objects as defined by the iCalendar IETF draft. Calendar holderArturo Espinosa1998-04-0112-0/+804
| | | | | | | | | 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-314-2/+105
| | | | svn path=/trunk/; revision=78
* Added session maanagement and using clistsCraig Small1998-03-312-46/+236
| | | | svn path=/trunk/; revision=77
* Use gnome_message_box_*, not gnome_messagebox_*.Tom Tromey1998-03-222-1/+5
| | | | | | | | Sat Mar 21 15:43:20 1998 Tom Tromey <tromey@cygnus.com> * gncal.c: Use gnome_message_box_*, not gnome_messagebox_*. svn path=/trunk/; revision=76
* linked into gtkcalendar widgetCraig Small1998-03-126-18/+46
| | | | svn path=/trunk/; revision=66
* Added GNOME_INCLUDEDIR. (gncal_LDADD): Don't include libsupport.a.Tom Tromey1998-03-094-7/+12
| | | | | | | | | | | 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
* Removed bogus Makefile - tromey@cygnus.comTom Tromey1998-02-271-402/+0
| | | | svn path=/trunk/; revision=54
* Added $(GNOME_LIBDIR) to some Makefile.am files.rhlabs1998-02-273-0/+404
| | | | | | -Marc svn path=/trunk/; revision=53
* Added German translation.Carsten Schaar1998-02-242-0/+4
| | | | svn path=/trunk/; revision=50
* Changed 'gtt' to 'gncal'.Carsten Schaar1998-02-241-1/+1
| | | | svn path=/trunk/; revision=49
* Mon, 23 Feb 1998 04:17:37 +0100 VincentVincent Renardias1998-02-232-0/+4
| | | | | | *.desktop translations for the gnome-utils module. svn path=/trunk/; revision=48
* gnome_init app_id parameter changes - FedericoArturo Espinosa1998-02-202-1/+5
| | | | svn path=/trunk/; revision=47
* Added '$(INTLLIBS)'Carsten Schaar1998-02-201-0/+4
| | | | | | * Makefile.am (gncal_LDADD): Added '$(INTLLIBS)' svn path=/trunk/; revision=46
* (gncal_LDADD): Added '$(INTLLIBS)'Carsten Schaar1998-02-202-2/+4
| | | | svn path=/trunk/; revision=45
* Removed `Makefile'Raja R Harinath1998-02-191-400/+0
| | | | svn path=/trunk/; revision=42
* updates for GnomeUIInfoElliot Lee1998-02-191-39/+55
| | | | svn path=/trunk/; revision=41
* Include `libsupport.a'.Raja R Harinath1998-02-194-38/+28
| | | | | | | | | | | | * 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
* Updated g_string_hash and g_string_equal by g_str_hash and g_str_equal,Federico Mena Quintero1998-02-141-0/+384
| | | | | | | | | 1998-02-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * menus.c: Updated g_string_hash and g_string_equal by g_str_hash and g_str_equal, respectively. svn path=/trunk/; revision=25
* Remove MakefileArturo Espinosa1998-02-143-384/+2
| | | | svn path=/trunk/; revision=23
* Added #include <locale.h>Federico Mena Quintero1998-02-133-22/+63
| | | | | | | | | | | | 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-122-0/+8
| | | | svn path=/trunk/; revision=17
* Gnome Utils autoconf/automake setup is readyArturo Espinosa1998-02-116-20/+399
| | | | svn path=/trunk/; revision=12
* Added an about boxCraig Small1998-02-101-17/+46
| | | | svn path=/trunk/; revision=10
* added repeat valuesCraig Small1998-02-102-6/+32
| | | | svn path=/trunk/; revision=9
* now puts lexer into structCraig Small1998-02-101-14/+59
| | | | svn path=/trunk/; revision=8
* Moved top-dir ChangeLog entries to subdir ChangeLogsRaja R Harinath1998-02-041-0/+3
| | | | svn path=/trunk/; revision=7
* Replace "Quit" for "Exit" in all those programs.ROSALIA_BEFORE_COMMITTING_DL_AND_GNOME_HELLOMiguel de Icaza1998-01-271-1/+1
| | | | | | | | | | Sun Jan 25 23:38:30 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gemvt/gvtmain.c, gmix/gmix.c, gncal/menus.c, gnomine/gnomine.c, gtop/main.c, same-gnome/same-gnome.c, scottfree/GnomeScott.c: Replace "Quit" for "Exit" in all those programs. svn path=/trunk/; revision=5
* updated lexerGNOME_0_12Craig Small1998-01-131-1/+8
| | | | svn path=/trunk/; revision=3
* New Gnome Calendar filesCraig Small1998-01-1210-0/+1382
svn path=/trunk/; revision=2