aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* added greek descriptionsPablo Saratxaga1999-11-172-0/+4
| | | | svn path=/trunk/; revision=1393
* Stupid misplaced endif cause gncal to depend on an install gnome-pilot...Eskil Heyn Olsen1999-11-143-14/+21
| | | | | | | * Makefile.am: Stupid misplaced endif cause gncal to depend on an install gnome-pilot... fixed... sorry. svn path=/trunk/; revision=1387
* The long-awaited audio alarm timeout patch. Implements wishlist bug #3089.Russell Steinthal1999-11-1311-20/+212
| | | | | | | | | Note: Per discussion on calendar-list, checks to see that timeout value is reasonable, i.e. between 1 and MAX_AALARM_TIMEOUT (set to 3600 seconds). Check is enforced by GtkSpinButton in property box and the patch when loading from disk. svn path=/trunk/; revision=1384
* Schedule a new day_change_alarm in the day_change_alarm callback, so that theRussell Steinthal1999-11-113-2/+9
| | | | | | | | process repeats the next day. This fixes a bug by which alarms would mysteriously stop working after gnomecal was running for its second midnight. svn path=/trunk/; revision=1380
* Forgot my changelog yesterday.Eskil Heyn Olsen1999-11-101-0/+6
| | | | svn path=/trunk/; revision=1379
* Enabled debug output. Sets a g_log_domain, now version 0.8.5. ConsistentEskil Heyn Olsen1999-11-103-288/+948
| | | | | | | | | | | | | | | 1999-11-09 Eskil Heyn Olsen <deity@eskil.dk> * calendar-conduit.c: Enabled debug output. Sets a g_log_domain, now version 0.8.5. Consistent use of GSList/GList. Implemented compare, default uses one that compares the contents of a struct Appointment, but also has #ifdeffed code that does a field level comparison, not complete, but perhaps educational. * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS svn path=/trunk/; revision=1376
* Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGSEskil Heyn Olsen1999-11-093-2/+7
| | | | | | | * Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS svn path=/trunk/; revision=1372
* Commented the code out, thus the capplet works again.Eskil Heyn Olsen1999-11-054-0/+11
| | | | | | | * calendar-conduit-control-applet.c (readStateCfg): Commented the code out, thus the capplet works again. svn path=/trunk/; revision=1368
* Uses the PISOCK_LIBDIR, for people with odd install dirs for theirEskil Olsen1999-11-0419-251/+606
| | | | | | | | | | | | | | | | | | | | | | | | 1999-11-04 Eskil Olsen <deity@eskil.dk> * Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install dirs for their pilot-link. Also install a pretty icon for the calendar-conduit. * calendar-conduit-control-applet.c: Modfied the try/revert/ok/cancel scheme to be more intuitive, also uses a GtkOptionMenu for the possible sync methods. * calendar-conduit-control-applet.desktop: use the nice icon... * calendar-conduit.c: Ack, had to define debug_alarms and alarm_default, otherwise they are undefined. Is gncal code messy or is this considered a way of configuring the cal engine ? Implemented delete_all syncabs methods. * calendar-pilot-sync.c: also had to declare debug_alarms and alarm_defaults, just as ugly. svn path=/trunk/; revision=1367
* Add default alarm support, Beep on display alarms optionRussell Steinthal1999-11-0314-65/+466
| | | | | | | | | Since there are now some calls from prop.c into previously static functions in eventedit.c, the code in those files should probably be reorganized. Perhaps a new alarm-utils.c file? In any case, this commits working code to the repository before we reorganize. svn path=/trunk/; revision=1366
* Fix calendar_day_begin/calendar_day_end initialization bug on HEAD. For fullRussell Steinthal1999-10-243-0/+13
| | | | | | explanation, see commit message for parallel change to gnome-pim-1-0 branch. svn path=/trunk/; revision=1351
* Style fix.Russell Steinthal1999-10-223-3/+6
| | | | svn path=/trunk/; revision=1341
* Commit debugging support to HEAD as well; there's no good reason to have ↵Russell Steinthal1999-10-226-5/+135
| | | | | | debugging in the stable but not devel version, is there? svn path=/trunk/; revision=1340
* now it doesn't build todo conduit anymore. Since the conduit is just aEskil Heyn Olsen1999-10-2217-893/+1116
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: now it doesn't build todo conduit anymore. Since the conduit is just a skeleton, no need to build and install it. * calendar-conduit-control-applet.c: revamped for all the changes in calendar-conduit.h. Also fixed the pilotId bug that all conduit capplets had. * calendar-conduit-control-applet.desktop: renamed to GnomeCalendar. * calendar-conduit.h: Fixed namespace pollution, appended GCal to structures, gcalconduit to methods. Introduced the GCalConduitContext. * calendar-conduit.c: No more global variables, all is contained in a GCalConduitContext variable, that all the signals are passed as user data. svn path=/trunk/; revision=1338
* Fix bug #1818 on HEAD.Russell Steinthal1999-10-223-8/+37
| | | | svn path=/trunk/; revision=1337
* Fix bug #2561 in HEADRussell Steinthal1999-10-203-2/+7
| | | | svn path=/trunk/; revision=1335
* Add paned windows to Day View so user can adjust relative size of dailyRussell Steinthal1999-10-203-50/+53
| | | | | | | calendar, todo list, and monthly calendar. (Applies patch posted to calendar-list since there were no objections) svn path=/trunk/; revision=1334
* Added swedish desktop entryMartin Norback1999-10-183-0/+8
| | | | svn path=/trunk/; revision=1330
* Fixed the much-hated gnome-pilot dependencyEskil Heyn Olsen1999-10-143-2/+9
| | | | svn path=/trunk/; revision=1326
* moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set theEskil Heyn Olsen1999-10-086-216/+312
| | | | | | | | | * calendar.c (calendar_object_changed): moved the pilot_status = MOD up, so even a CHANGE_SUMMARY will set the modified flag. * calendar-conduit.c: more _free calls, vamped the noise on output. svn path=/trunk/; revision=1320
* checks return values from gpilotd_init/connect.Eskil Heyn Olsen1999-10-0613-90/+150
| | | | | | | | | | * *conduit*[ch]: checks return values from gpilotd_init/connect. * calender.c (vcalendar_create_from_calendar): removed a set of cleanVObject cleanStrTbl, since the freed memory that the function returned. svn path=/trunk/; revision=1319
* Now has correct return values wrt the conduit api ref.Eskil Heyn Olsen1999-09-293-165/+261
| | | | svn path=/trunk/; revision=1318
* Use tm.gmtoff or timezone to get correct offset from UTC, according toTimur Bakeyev1999-09-282-3/+15
| | | | | | | | | | 1999-09-27 Timur Bakeyev <mc@bat.ru> * timeutil.c (time_from_isodate): Use tm.gmtoff or timezone to get correct offset from UTC, according to HAVE_TM_GMTOFF or HAVE_TIMEZONE. See also 1999-07-19 Matt Martin <matt@abacusnet.net> svn path=/trunk/; revision=1316
* added pt_BR translationsJorge Godoy1999-09-282-0/+4
| | | | svn path=/trunk/; revision=1313
* Small fix -miguelArturo Espinosa1999-09-2831-238/+270
| | | | svn path=/trunk/; revision=1265
* Fix #2340 on HEAD -miguelArturo Espinosa1999-09-284-8/+8
| | | | svn path=/trunk/; revision=1263
* the g_free that was commented out since glib said was a duplicate free,Eskil Heyn Olsen1999-09-2511-146/+531
| | | | | | | | | | | | | | | | | | | * corba-cal.c: the g_free that was commented out since glib said was a duplicate free, was supposed to be a free. * GnomeCal.idl/corba-cal.c: added a get_object_id_list and a get_objects_by_id_list. Latter is not done. * calendar-conduit.c: rewrote the way the conduit iterates over records. It no longers fetches all entries (since that didn't work with more then 285 entries. It now fetches the id list, and gets each record. (will be using get_objects_by_id_list to get records in amounts of 10 or so later, to reduce amount of corba calls). * calendar-conduit.c: now sets alarm parameters when transferring from gnomecal to pilot. svn path=/trunk/; revision=1257
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-2314-19/+45
| | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. svn path=/trunk/; revision=1253
* better merge of summary/description when doing ical_from_remoteEskil Heyn Olsen1999-09-234-302/+457
| | | | | | | | | | | * calendar-conduit.c: better merge of summary/description when doing ical_from_remote (update_record), also handles import from gnomecal to pilot better, and on both ways, repeat events are much better now. The conduit is actually beginning to be usefull now... svn path=/trunk/; revision=1252
* commented out a g_free that glib reported as being a duplicate free. gotEskil Heyn Olsen1999-09-236-23/+64
| | | | | | | | * corba-cal.c: commented out a g_free that glib reported as being a duplicate free. * calendar_conduit.c: got gnomecal->pilot up and runnning. svn path=/trunk/; revision=1251
* - fix which allow "make insytall DESTDIR=</install/prefix>".Tomasz Kłoczko1999-09-231-3/+3
| | | | svn path=/trunk/; revision=1250
* lot of rework, implemented various set_* functions, transmit andEskil Heyn Olsen1999-09-218-514/+1206
| | | | | | | | * gncal/calendar-conduit: lot of rework, implemented various set_* functions, transmit and free_transmit, now appears stable, still only syncs oneway (pilot -> gnomecal) svn path=/trunk/; revision=1243
* added Estonian tranlationsLauris Kaplinski1999-09-203-0/+8
| | | | svn path=/trunk/; revision=1241
* About to rehash conduit.Eskil Heyn Olsen1999-09-196-15/+117
| | | | | | Changed pilotid in calobj to guint32. svn path=/trunk/; revision=1240
* changed to be a .la file instead of .a, this allows lib*_conduit to useEskil Heyn Olsen1999-09-1910-155/+578
| | | | | | | | | | | | * libversit: changed to be a .la file instead of .a, this allows lib*_conduit to use the library. * gncal/calendar-conduit: implemented iterate and iterate_specific. * gncal/corba-cal: fixed warnings. svn path=/trunk/; revision=1239
* fixed the exception throwing. The conduit can now actually insertEskil Heyn Olsen1999-09-152-10/+50
| | | | | | entries in the gnomecal. svn path=/trunk/; revision=1230
* added sources to calendar-conduitEskil Heyn Olsen1999-09-1510-101/+746
| | | | | | | | | | | | * gncal/Makefile.am: added sources to calendar-conduit * gncal/calendar-conduit.c: imported Miguels update_record function * gncal/corba-cal.c: fixed a grave bug in exception throwing, which cause ORBit to sigsegv. svn path=/trunk/; revision=1229
* Set the data pointers for all the items.Federico Mena Quintero1999-09-153-2/+9
| | | | | | | | | 1999-09-14 Federico Mena Quintero <federico@redhat.com> * gncal-full-day.c (child_popup_menu): Set the data pointers for all the items. svn path=/trunk/; revision=1227
* Small correctionKjartan Maraas1999-09-141-1/+1
| | | | svn path=/trunk/; revision=1226
* Merge from HEAD. Synced with newest user-guide.Kjartan Maraas1999-09-142-96/+100
| | | | | | | | | 1999-09-14 Kjartan Maraas <kmaraas@online.no> * doc/C/gnomecal.sgml: Merge from HEAD. Synced with newest user-guide. svn path=/trunk/; revision=1225
* ja Update from ITANI EiichoroYukihiro Nakai1999-09-082-0/+4
| | | | | | ja Update from ITANI Eiichoro svn path=/trunk/; revision=1218
* forgot the .desktop files...`Eskil Heyn Olsen1999-09-086-0/+36
| | | | svn path=/trunk/; revision=1217
* uses GNOME_PILOT_CHECKEskil Heyn Olsen1999-09-0824-47/+3329
| | | | | | | | | | | | | | | | | | | * configure.in: uses GNOME_PILOT_CHECK * gncal/GnomeCal.idl: added a get_objects() call, which returns all the objects in the calendar. * gncal/Makefile.am: added two conduits with control-applets. Compiled only if configure sets HAVE_GNOME_PILOT * gncal/calender-conduit.[ch]: began implementing conduit. * gncal/todo-conduit.[ch]: begin implementing conduit. * gncal/corba-cal.c: implemented the get_objects() call. svn path=/trunk/; revision=1216
* Added Russian translations to the desktop filesSergey I. Panov1999-09-032-0/+4
| | | | svn path=/trunk/; revision=1172
* Make the OK button the default button per Russell's suggestion.Miguel de Icaza1999-09-023-2/+7
| | | | | | | | | 1999-09-01 Miguel de Icaza <miguel@gnu.org> * eventedit.c (ee_create_buttons): Make the OK button the default button per Russell's suggestion. svn path=/trunk/; revision=1155
* Added call to GNOME_COMPILE_WARNINGS.Miguel de Icaza1999-09-022-4/+0
| | | | | | | | | | | | | | | | 1999-09-01 Miguel de Icaza <miguel@gnu.org> * configure.in: Added call to GNOME_COMPILE_WARNINGS. * libversit: Removed all the rest of the C++ comments from C sources (per David's suggestion). 1999-09-01 David Kaelbling <drk@sgi.com> * card.c (strtoCardRev): Off by one error fix. svn path=/trunk/; revision=1153
* Modify the object->last_mod field. (calendar_add_object): Ditto.Miguel de Icaza1999-08-315-4/+32
| | | | | | | | | | | | | | | | 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_object_changed): Modify the object->last_mod field. (calendar_add_object): Ditto. Closes bug #676 * main.c (save_calendar_cmd): Fix problem in which we warned the user about the calendar being modified the first time the calendar was used. svn path=/trunk/; revision=1150
* "GenericFactoy" is wrong...Tomas Ogren1999-08-223-2/+6
| | | | | | | | 1999-08-22 Tomas Ogren <stric@ing.umu.se> * gnomecal.gnorba: "GenericFactoy" is wrong... svn path=/trunk/; revision=1137
* Fix the hostname part.Miguel de Icaza1999-08-154-9/+13
| | | | | | | | 1999-08-15 Miguel de Icaza <miguel@gnu.org> * calobj.c (ical_gen_uid): Fix the hostname part. svn path=/trunk/; revision=1116
* Finnish translation updates.Mikko Rauhala1999-08-152-0/+4
| | | | svn path=/trunk/; revision=1115
* BUGFIX: 1515JP Rosevear1999-08-132-2/+12
| | | | | | | Just check if the ical object is new or not and set the title appropriately. svn path=/trunk/; revision=1109
* sync correctly for objects created on the pilot, but not dirty (becausePeter Teichman1999-08-083-8/+12
| | | | | | | | * calendar-pilot-sync.c (sync_pilot): sync correctly for objects created on the pilot, but not dirty (because they have been synced with some other program in the past) svn path=/trunk/; revision=1093
* Updated from users-guide.Kjartan Maraas1999-08-061-125/+118
| | | | | | | | 1999-08-06 Kjartan Maraas <kmaraas@online.no> * gnomecal.sgml: Updated from users-guide. svn path=/trunk/; revision=1086
* Release points here.Miguel de Icaza1999-08-066-5/+11
| | | | | | | | 1999-07-30 Miguel de Icaza <miguel@gnu.org> * month-view.c (month_view_init): Release points here. svn path=/trunk/; revision=1085
* BUGFIX #1819JP Rosevear1999-08-054-20/+52
| | | | | | | | | Please note that the calendar_save routine is now responsible for changing the filename attribute of the calendar struct, rather than the calling function. This was so that the filename could be reverted if the open failed. svn path=/trunk/; revision=1080
* fix this.Jonathan Blandford1999-08-033-0/+9
| | | | svn path=/trunk/; revision=1067
* don't try to run GNOME_CONDUIT_CHECK if it doesn't existPeter Teichman1999-08-033-2/+7
| | | | | | | | | * configure.in: don't try to run GNOME_CONDUIT_CHECK if it doesn't exist * gncal/Makefile.am: libcalendar_conduit now installs svn path=/trunk/; revision=1066
* Add nl to list of languages.Elliot Lee1999-08-032-4/+24
| | | | | | Add nl to list of languages. svn path=/trunk/; revision=1065
* do deletion of appointments correctly, when they are deleted on the pilotPeter Teichman1999-08-023-12/+71
| | | | | | | | | | | | | * calendar-pilot-sync.c (sync_pilot): do deletion of appointments correctly, when they are deleted on the pilot (conduit_free_Appointment): protect against double-freeing parts of the Appointment structure (update_record): all-day events from the pilot are handled a bit more reasonably svn path=/trunk/; revision=1063
* gnome-pim actually compiles without libpisock nowPeter Teichman1999-08-022-8/+8
| | | | | | * configure.in: gnome-pim actually compiles without libpisock now svn path=/trunk/; revision=1058
* The multi-day appointment corruption bug is dead. Whoo!Peter Teichman1999-08-023-8/+25
| | | | | | | * calendar-pilot-sync.c (sync_object_to_pilot): The multi-day appointment corruption bug is dead. Whoo! svn path=/trunk/; revision=1057
* More auto* cleanups. The new calendar conduit now compiles conditionally,Peter Teichman1999-08-012-6/+8
| | | | | | based on whether you have gnome-pilot installed. svn path=/trunk/; revision=1051
* more autoconf, again. need to make the conduit compile conditionallyPeter Teichman1999-08-013-6/+8
| | | | | | | * configure.in: more autoconf, again. need to make the conduit compile conditionally though svn path=/trunk/; revision=1050
* add thisJonathan Blandford1999-07-313-0/+615
| | | | svn path=/trunk/; revision=1048
* more auto* stuffJonathan Blandford1999-07-313-2/+50
| | | | svn path=/trunk/; revision=1047
* Add scrolling to the yearview.Jonathan Blandford1999-07-303-50/+58
| | | | | | | | 1999-07-29 Jonathan Blandford <jrb@redhat.com> * gnome-cal.c (setup_widgets): Add scrolling to the yearview. svn path=/trunk/; revision=1045
* If the enddate is not set, set the repeatForever to 1. This fixes all ofMiguel de Icaza1999-07-303-7/+17
| | | | | | | | | | 1999-07-28 Miguel de Icaza <miguel@gnu.org> * calendar-pilot-sync.c: (sync_object_to_pilot): If the enddate is not set, set the repeatForever to 1. This fixes all of the birthdays problems I had. svn path=/trunk/; revision=1042
* Make the code not take arguments (sync_cal_to_pilot): Nice event updateMiguel de Icaza1999-07-2914-82/+83
| | | | | | | | | | | | | | | | | | | | 1999-07-28 Miguel de Icaza <miguel@gnu.org> * calendar-pilot-sync.c: Make the code not take arguments (sync_cal_to_pilot): Nice event update information * calendar.c (calendar_new): Add Event UID hash table. (calendar_add_object): Add events to the hash table here. (calendar_remove_object): Remove events here. (calendar_object_find_event): Use the hash table here. * main.c (save_calendar_cmd): The object is already destroyed by gnome_dialog_run. * calendar-pilot-sync.c (sync_object_to_pilot): Do not turn archived bit on. svn path=/trunk/; revision=1041
* Lots of more work on the sync stuff. It works pretty well now.Arturo Espinosa1999-07-2919-88/+833
| | | | | | | | | | Lots of more work on the sync stuff. It works pretty well now. I dont know why my pilot is not accepting the events I send to it though Miguel. svn path=/trunk/; revision=1040
* Add the missing files -miguelArturo Espinosa1999-07-2813-0/+848
| | | | svn path=/trunk/; revision=1039
* New file. Implements PalmPilot syncronization with the Gnome Calendar.Miguel de Icaza1999-07-2824-36/+1461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-07-28 Miguel de Icaza <miguel@gnu.org> * calendar-pilot-sync.c: New file. Implements PalmPilot syncronization with the Gnome Calendar. 1999-07-27 Miguel de Icaza <miguel@gnu.org> * calobj.c (ical_object_new_from_string): New function. Creates an iCalObject from a vCalendar string that is supposed to contain only one vEvent. * calendar.c: (calendar_save): Split this routine in two. * gnome-cal.c (gnome_calendar_new): Create the corba server here. * main.c: Include gnorba.h, and corba-cal-factory.h here (close_cmd): Kill the calendar server on shutdown. * calobj.c (load_recur_yearly_day): Added a fixme comment. WE need to handle intervals in the years. * calendar.c (calendar_object_find_in_list, calendar_object_find, calendar_object_find_todo, calendar_object_find_event): New functions for looking up information. * main.c (gnome_calendar_locate): New function. * corba-cal.c (calendar_create_object): New file. Implements the corba server. * calendar.c (calendar_object_changed): Flag pilot-status as changed. * calobj.c (ical_object_to_vobject): Save pilot information for syncing. (ical_object_create_from_vobject): Load syncing information for pilot. Do it in a way compatible with KOrganizer. 1999-07-26 Miguel de Icaza <miguel@gnu.org> * calobj.c (ical_object_create_from_vobject): Generate unique IDs on Vevents we load that lack it. WE need this for the old gnome calendar generated files (ie, before now :-). svn path=/trunk/; revision=1038
* Generate unique IDs on Vevents we load that lack it. WE need this for theMiguel de Icaza1999-07-274-3/+17
| | | | | | | | | | | | 1999-07-26 Miguel de Icaza <miguel@gnu.org> * calobj.c (ical_object_create_from_vobject): Generate unique IDs on Vevents we load that lack it. WE need this for the old gnome calendar generated files (ie, before now :-). Required to sync with the Palm svn path=/trunk/; revision=1037
* Handle the 'Z' parameter to the ISO date format to convert from GMT time.Matt Martin1999-07-193-0/+16
| | | | | | | | | 1999-07-19 Matt Martin <matt@abacusnet.net> * timeutil.c (time_from_isodate): Handle the 'Z' parameter to the ISO date format to convert from GMT time. svn path=/trunk/; revision=1030
* Copy the new UID into the iCalObject structure.Nat Friedman1999-07-193-0/+7
| | | | | | | | | 1999-07-17 Nat Friedman <nat@gnome-support.com> * calendar.c (calendar_add_object): Copy the new UID into the iCalObject structure. svn path=/trunk/; revision=1029
* Merge fix from gnome-pim-1-0: Fixed cut&paste bug for day fontsets.Miguel de Icaza1999-07-173-2/+7
| | | | | | | | | 1999-07-16 Miguel de Icaza <miguel@gnu.org> * gnome-month-item.c (gnome_month_item_set_arg): Merge fix from gnome-pim-1-0: Fixed cut&paste bug for day fontsets. svn path=/trunk/; revision=1028
* Changed gnome-pim.keys to use the --file flagMiguel de Icaza1999-07-175-14/+110
| | | | | | | | | | | | | | | | | | Changed gnome-pim.keys to use the --file flag 1999-07-14 Miguel de Icaza <miguel@gnu.org> * calobj.c (ical_gen_uid): Returns a UID. (ical_object_new): Use a UID when creating an event. Should get syncing done easier. 1999-07-14 Nicholas J Kreucher <nick@poetic.com> * calobj.c (skip_numbers): Actually skip over the numbers. (ical_object_to_vobject): Test the proper variable for storing the proper information. svn path=/trunk/; revision=1027
* Tell ktime' that we don't know about daylight saving time so that it doesMike McEwan1999-06-232-0/+15
| | | | | | | | | | | | | | 1999-06-07 Mike McEwan <mike@lotusland.demon.co.uk> * timeutil.c (time_add_month): Tell ktime' that we don't know about daylight saving time so that it does *not* make adjustments when we traverse a DST boundary. (time_year_begin): ditto. (time_year_end): ditto. (time_month_begin): ditto. (time_month_end): ditto. svn path=/trunk/; revision=986
* Fixing a segfault when gnomecal is started with --hiddenAnders Carlsson1999-06-163-0/+9
| | | | svn path=/trunk/; revision=980
* updated spanish & walon languages.Pablo Saratxaga1999-06-082-8/+32
| | | | | | | | | modified eventedit.c so that "Every" is remplaced by "d_Every", "w_Every", "m_Every" and "y_Every", and can be correctly translated for those languages where it follows gender of the name it refers to. the 2 leading bytes should be kept; they are stripped at display svn path=/trunk/; revision=972
* Fix abort() problem with the year view. (Bug #1367). Thanks to Owen CliffeRobert Brady1999-06-065-16/+22
| | | | | | | | | | 1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk> * gnome-cal.h, gnome-cal.c: Fix abort() problem with the year view. (Bug #1367). Thanks to Owen Cliffe <oc197@ecs.soton.ac.uk> for helping track it down. svn path=/trunk/; revision=971
* One line bug fix from Sergey I Panov.Miguel de Icaza1999-06-044-3/+7
| | | | | | | | 1999-06-03 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (daynumberlist): One line bug fix from Sergey I Panov. svn path=/trunk/; revision=969
* Use %H instead of %k, as %k is a GNU extension, not available in otherMiguel de Icaza1999-06-033-4/+9
| | | | | | | | | 1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU extension, not available in other systems. svn path=/trunk/; revision=966
* Work around broken software that writes a broken month-of-day as "zero".Miguel de Icaza1999-06-024-0/+30
| | | | | | | | | | 1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (daynumberlist): Work around broken software that writes a broken month-of-day as "zero". Use the dtstart date for this on this event. svn path=/trunk/; revision=963
* help files be gone. They are now installed from the Docbook stuff.Miguel de Icaza1999-06-014-6/+13
| | | | | | | | | 1999-05-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * Makefile.am (install-data-local): help files be gone. They are now installed from the Docbook stuff. svn path=/trunk/; revision=962
* added pics for the help file.Kjartan Maraas1999-05-286-6/+6
| | | | | | | | | 1999-05-27 Kjartan Maraas <kmaraas@online.no> * gnome-pim/gncal/doc/C/images/*: added pics for the help file. svn path=/trunk/; revision=951
* Added preliminary support for todo item priorities: they can be set, displayed,Russell Steinthal1999-05-269-22/+157
| | | | | | | and used as a sorting criterion. They are enabled/disabled using the properties page, as with due dates. svn path=/trunk/; revision=947
* Added content from gnome-user-guide (Miguel, I will probably sleep muchKjartan Maraas1999-05-261-0/+309
| | | | | | | | | 1999-05-26 Kjartan Maraas <kmaraas@online.no> * gnomecal.sgml: Added content from gnome-user-guide (Miguel, I will probably sleep much better now ;-) svn path=/trunk/; revision=946
* Add cvsignore filesArturo Espinosa1999-05-262-0/+7
| | | | svn path=/trunk/; revision=945
* Added missing break here. It was causing core dumps when invoked withMiguel de Icaza1999-05-263-2/+7
| | | | | | | | | 1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (parse_an_arg): Added missing break here. It was causing core dumps when invoked with --userfile. svn path=/trunk/; revision=944
* Add some assertions here, to pin point the bug reported on gnome-list.Miguel de Icaza1999-05-263-4/+91
| | | | | | | | | 1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-cal.c (gnome_calendar_set_view): Add some assertions here, to pin point the bug reported on gnome-list. svn path=/trunk/; revision=943
* Make intervals always exist. a 0 interval is wrong.Miguel de Icaza1999-05-264-0/+17
| | | | | | | | | 1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (load_recurrence): Make intervals always exist. a 0 interval is wrong. svn path=/trunk/; revision=942
* Added 'Untimed events'Tomas Ögren1999-05-261-0/+2
| | | | svn path=/trunk/; revision=941
* Removed unused macro CALENDAR_HEIGHT.Federico Mena Quintero1999-05-263-4/+4
| | | | | | | | 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c: Removed unused macro CALENDAR_HEIGHT. svn path=/trunk/; revision=940
* Set the canvas scroll region here, not in size_allocate(). Also, use theFederico Mena Quintero1999-05-2611-34/+54
| | | | | | | | | | | | | | | | | | | | | | | | 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Set the canvas scroll region here, not in size_allocate(). Also, use the correct width and height based on the allocation and the precomputed minimum width/height values. * gnome-cal.c (setup_widgets): Set the scrollbar policy of the scrolled window. * main.c (setup_appbar): Use the correct type for the appbar. * gncal-day-view.c: Removed unused function switch_to_day(). * gncal-day-panel.c (calendar_day_selected): Removed unused variable. 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Added the gncal/doc/* Makefiles to AC_OUTPUT. svn path=/trunk/; revision=939
* This is the fix Miguel and I hacked in the car at Expo to make theNat Friedman1999-05-268-13/+51
| | | | | | | | | | | | | | | | | | | | | year view work in low-resolution displays. This isn't the proper fix, but it's better than the way things were. 1999-05-25 Nat Friedman <nat@nat.org> * doc/C/gnomecal.sgml: Fixed a typo. * gnome-cal.c (setup_widgets): Added a scrolled window widget into which the year view is placed. * year-view.c (CALENDAR_HEIGHT): The height of the total year view inside the scrolled window. (idle_handler): Set the height of the year view to CALENDAR_HEIGHT. (year_view_size_allocate): Set the scroll region of the year view canvas to allocation->width, CALENDAR_HEIGHT. svn path=/trunk/; revision=938
* Add missing file -miguelArturo Espinosa1999-05-181-0/+110
| | | | svn path=/trunk/; revision=929
* Add Docbook framework for documenting Gnomecal -miguelArturo Espinosa1999-05-188-6/+209
| | | | svn path=/trunk/; revision=928
* - fix: allow use $DESTDIR on "make install DESTDIR=</install/prefix>".Tomasz Kłoczko1999-05-032-8/+8
| | | | | | - fix: allow use $DESTDIR on "make install DESTDIR=</install/prefix>". svn path=/trunk/; revision=888
* Add --todo supportArturo Espinosa1999-04-267-2/+122
| | | | | | Add --todo support svn path=/trunk/; revision=880
* Bumped version number to 1.0.3.Federico Mena Quintero1999-04-203-0/+14
| | | | | | | | 1999-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Bumped version number to 1.0.3. svn path=/trunk/; revision=858
* Kill all grabs from the CList before running the new dialog box.Miguel de Icaza1999-04-173-0/+19
| | | | | | | | | | | | | 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (edit_activated): Kill all grabs from the CList before running the new dialog box. This fixes the problem of button-3/Edit on the todo item blocking the GUI (actually, the main window responds, but not the todo window). svn path=/trunk/; revision=817
* Make sure we can get events for button3. The code for the nice popup menuMiguel de Icaza1999-04-093-0/+8
| | | | | | | | | | 1999-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (gncal_todo_init): Make sure we can get events for button3. The code for the nice popup menu was there but was not getting invoked. svn path=/trunk/; revision=806
* Added this routine so Monthly recurrences use the weekday field as aSteve Murphy1999-04-048-33/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-04-01 Steve Murphy <murf@e-tools.com> * calobj.c (weekdaynum): Added this routine so Monthly recurrences use the weekday field as a simple integer for a single weekday. * calobj.c (load_recur_monthly_pos): Call weekdaynum instead of weekdaylist. The interface only lets the user input a single value anyway. * calobj.c (ical_object_to_vobject): instead of code to output day names from a bit array, use instead the value as an int and output a single dayname. * calobj.c (ical_object_generate_events): first_week_day gets the day int instead of the first entry in the bit field. I inserted a fair chunk of code to avoid calling generate if the day is out of range for a month. It may be unneccessary, because mktime will turn the extra days into a valid date the next month. But not all mktimes are equal, I fear. * eventedit.c (ee_store_recur_rule_to_ical): For case 3, (Monthly), I added code to set the interval slot of the recur struct; without this value, selecting a monthly recursing, by date, would lead to an infinite loop broken only by a failure to alloc more memory. Also, in the "by position" case, both u.month_pos and u.month_day were being assigned values. This is a mistake, as they are both part of an union, and the same thing. The weekday field should get the recur_rr_month_weekday value. * eventedit.c (ee_rp_init_rule): set default day from the weekday field instead of the u.month_day field, which is really the month_pos value. * gnome-cal.c (gnome_calendar_tag_calendar): Month days start with 1, not 0; thus, setting tm.tm_mday = 0, and then calling mktime will generate a time corresponding to the end of the previous month, which may have a mday anywhere from 28 to 31. The end time just adds 1 to the month, so your end time may not cover the last few days of this month, depending on what the biggest mday of last month was. I changed it so tm_mday is set to 1 instead. 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx> svn path=/trunk/; revision=792
* Made static. Make it use the full year format for strftime().Federico Mena Quintero1999-03-313-18/+17
| | | | | | | | | 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (convert_time_t_to_char): Made static. Make it use the full year format for strftime(). svn path=/trunk/; revision=791
* Include <config.h> so that strings get translated. Correct spelling.Nuno Ferreira1999-03-284-0/+7
| | | | | | | | | 1999-03-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt> * gncal/calobj.c: Include <config.h> so that strings get translated. * po/pt.po: Correct spelling. svn path=/trunk/; revision=781
* Made it respect 12/24h settings.. Doesn't show until next time you openTomas Ogren1999-03-273-2/+17
| | | | | | | | | 1999-03-26 Tomas Ogren <stric@ing.umu.se> * prop.c (build_hours_menu): Made it respect 12/24h settings.. Doesn't show until next time you open the dialog.. yet.. svn path=/trunk/; revision=780
* Did some i18n work Did some i18n workTomas Ogren1999-03-245-22/+25
| | | | | | | | | 1999-03-24 Tomas Ogren <stric@ing.umu.se> * gncal-week-view.c (gncal_week_view_set): Did some i18n work * eventedit.c (get_exception_string): Did some i18n work svn path=/trunk/; revision=779
* Made clist titles i18n:able Added which views that are possible for --viewTomas Ogren1999-03-245-16/+45
| | | | | | | | | | | | 1999-03-24 Tomas Ogren <stric@ing.umu.se> * gncal-todo.c (gncal_todo_init): Made clist titles i18n:able * main.c (poptOption): Added which views that are possible for --view in the --help text (closes #367) * main.c (dump_events): Added (short) month to the strftime and made the strings i18n:able svn path=/trunk/; revision=778
* Set the recur->interval to the value of the recur_rr_month_period spinNat Friedman1999-03-243-0/+13
| | | | | | | | | | | 1999-03-23 Nat Friedman <nat@nat.org> * eventedit.c (ee_store_recur_rule_to_ical): Set the recur->interval to the value of the recur_rr_month_period spin button if the event is being set "by day." This closes bug #675 as reported by bagfors@hpc2n.umu.se. Thanks for the report! svn path=/trunk/; revision=777
* Added 2 paranthesis.. "foobar = d / 60*60" is _NOT_ the same as "foobar =Tomas Ogren1999-03-243-3/+3
| | | | | | | | | | | 1999-03-23 Tomas Ogren <stric@ing.umu.se> * gnomecal/calobj.c: Added 2 paranthesis.. "foobar = d / 60*60" is _NOT_ the same as "foobar = d / (60*60)" which caused heavy alarm-corruption with alarms between 2 hrs and 2 days. svn path=/trunk/; revision=776
* Add Summary editing for TODO items -rconoverArturo Espinosa1999-03-172-4/+96
| | | | svn path=/trunk/; revision=761
* Add support for Due Date when adding a TODO item here. (column_resized):Clifford R. Conover1999-03-1125-72/+888
| | | | | | | | | | | | | | | | | | | | | | | | 1999-03-10 Clifford R. Conover <rconover@montana.edu> * gncal-todo.c (simple_todo_editor): Add support for Due Date when adding a TODO item here. (column_resized): New function (init_column_sorting): New function. (todo_click_column): New function. (convert_time_t_to_char, make_overdue_todo_style): New functions. * gnome-cal.c (gnome_calendar_todo_properties_changed): New function used to update the TODO when the properties have been chagned for it. * prop.c (prop_apply_todo): Apply TODO properties. * gncal-day-panel.c (todo_list_properties_changed): Update the TODO display here. * eventedit.c (date_edit_new): Made public svn path=/trunk/; revision=757
* 1999-03-10 Craig A Soules (soules+@andrew.cmu.edu)Arturo Espinosa1999-03-119-16/+102
| | | | | | | * timeutil.c, calendar.c, calobj.c, gncal-day-panel.c: Add support for daylight time savings. svn path=/trunk/; revision=756
* For DRAG_MOVE, DRAG_SIZE_TOP and DRAG_SIZE_BOTTOM: call child_focus_out ()Martin Baulig1999-03-013-0/+32
| | | | | | | | | | 1999-02-28 Martin Baulig <martin@home-of-linux.org> * gncal-full-day.c (recompute_motion): For DRAG_MOVE, DRAG_SIZE_TOP and DRAG_SIZE_BOTTOM: call child_focus_out () if the child currently has the focus. svn path=/trunk/; revision=717
* gtk_widget_get_requisition fix for Gtk+ 1.2.Martin Baulig1999-03-012-2/+2
| | | | svn path=/trunk/; revision=716
* Added Korean font to the fontset string. Likewise.Changwoo Ryu1999-02-275-20/+26
| | | | | | | | | | | | | | | 1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * quick-view.c (QUICK_VIEW_FONTSET): Added Korean font to the fontset string. * mark.h (*_FONTSET): Likewise. 1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * canvas.c (*_FONTSET): Added Korean fonts to the each fontset strings. svn path=/trunk/; revision=707
* Implemented new panel groups as suggested on gnome-hackersMichael Fulbright1999-02-262-2/+2
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=706
* Updated spanish language file;Pablo Saratxaga1999-02-258-14/+22
| | | | | | and some i18n improvements svn path=/trunk/; revision=692
* Save the owner/organizer of the event. (ical_object_create_from_vobject):Miguel de Icaza1999-02-246-2/+41
| | | | | | | | | | | | | 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (ical_object_to_vobject): Save the owner/organizer of the event. (ical_object_create_from_vobject): Load the owner/organizer of the event. * gncal-full-day.c (delete_occurance): Assign child to data (fixes crash on "delete this occurrance"). svn path=/trunk/; revision=689
* tzname issuesTimur Bakeyev1999-02-225-4/+38
| | | | | | | | | 1999-02-22 Timur Bakeyev <mc@bat.ru> * configure.in: Added check for langinfo.h and for representation of timezone info - tzname or tm.tm_zone. svn path=/trunk/; revision=682
* Made use of g_get_{user,real}_name() instead of our own home-brew...Tomas Ogren1999-02-203-48/+9
| | | | | | | | | 1999-02-20 Tomas Ogren <stric@ing.umu.se> * main.c (init_username): Made use of g_get_{user,real}_name() instead of our own home-brew... svn path=/trunk/; revision=679
* will define fonts via fontset. Friendlier to locales that use iso8859-[^1]Sergey I. Panov1999-02-1817-58/+131
| | | | | | | | | | | | | * gnome-month-item.c,gnome-month-item.h,goto.c,mark.h, month-view.c,prop.c,quick-view.c,year-view.c: will define fonts via fontset. Friendlier to locales that use iso8859-[^1] and koi8-r encodings. Does not solve problem for Asian languiges --- better solution is needed (e.g. standart GNOME fontstyles defined in gtkrc). Interpol svn path=/trunk/; revision=677
* Updated to install desktop into $(datadir)/gnome/appsMichael Fulbright1999-02-182-2/+2
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=674
* added danish language to the menu filePablo Saratxaga1999-02-172-4/+8
| | | | svn path=/trunk/; revision=673
* Internationalization Police (Interpol)Sergey I. Panov1999-02-163-14/+19
| | | | | | | * main.c: Use N_() macro for color settings labels in color_props structure. svn path=/trunk/; revision=672
* Indentation fixes.Federico Mena Quintero1999-02-163-2/+6
| | | | | | | | 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * goto.c (goto_dialog): Indentation fixes. svn path=/trunk/; revision=670
* Made a private copy of what localtime() returns, to be able to keep theTomas Ogren1999-02-163-10/+15
| | | | | | | | | 1999-02-15 Tomas Ogren <stric@ing.umu.se> * goto.c: Made a private copy of what localtime() returns, to be able to keep the data after more calls to localtime(). svn path=/trunk/; revision=669
* Gnomecal now autosaves all the time.Arturo Espinosa1999-02-1213-6/+63
| | | | | | | | Gnomecal now autosaves all the time. Miguel. svn path=/trunk/; revision=662
* Removed the gtk_widget_realize call.Tomas Ogren1999-02-093-2/+4
| | | | | | | | 1999-02-09 Tomas Ogren <stric@ing.umu.se> * main.c: Removed the gtk_widget_realize call. svn path=/trunk/; revision=657
* Added Korean translations.Changwoo Ryu1999-02-063-0/+8
| | | | | | | | 1999-02-06 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gncal.desktop: Added Korean translations. svn path=/trunk/; revision=655
* New convenience function to create a properly-configured date editorFederico Mena Quintero1999-02-053-8/+37
| | | | | | | | | 1999-02-04 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (date_edit_new): New convenience function to create a properly-configured date editor widget. svn path=/trunk/; revision=644
* Make the calendar start weeks on Monday if appropriate.Federico Mena Quintero1999-02-0511-20/+113
| | | | | | | | | | | | | | | | | | | 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_new): Make the calendar start weeks on Monday if appropriate. (gncal_week_view_time_format_changed): New function to notify the week view that the time format has changed. * gncal-day-panel.c (gncal_day_panel_new): Make the calendar start weeks on Monday if appropriate. (gncal_day_panel_time_format_changed): New function to notify the day panel that the time format has changed. * gnome-cal.c (gnome_calendar_time_format_changed): Tell the day and week views that the time format has changed. svn path=/trunk/; revision=643
* Set the title of the event editor window.Federico Mena Quintero1999-02-023-0/+7
| | | | | | | | | 1999-02-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (event_editor_init): Set the title of the event editor window. svn path=/trunk/; revision=639
* Do not remove the clipping rectangle here.Federico Mena Quintero1999-02-015-2/+13
| | | | | | | | | | | | | 1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_expose): Do not remove the clipping rectangle here. * view-utils.c (view_utils_draw_events): Remove the clipping rectangle here, since the user of this function should not know about it. svn path=/trunk/; revision=638
* Improve this draw routine. Now it can split the text in lines and fit asMiguel de Icaza1999-02-017-106/+268
| | | | | | | | | | | | | | 1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * view-utils.c (view_utils_draw_events): Improve this draw routine. Now it can split the text in lines and fit as many events as possible. (nicetime): Return strings without spaces at the beginning. * gncal-day-view.c (gncal_day_view_expose): Move clip-clear operation here. svn path=/trunk/; revision=637
* if the user clicks on an event that is an occurance, the menu will allowJason Tackaberry1999-01-315-30/+108
| | | | | | | | | | | | | | | | 1999-01-29 Jason Tackaberry <tack@dok.org> * gncal-full-day.c (child_popup_menu): if the user clicks on an event that is an occurance, the menu will allow the user to delete all occurances of this event, or just the selected occurance. (delete_occurance): added. * eventedit.c (append_exception): force the clist to select the new exception. (fixes segfault) (delete_exception): if the last exception in the clist is deleted, move the selection index up. (fixes segfault) svn path=/trunk/; revision=636
* Add --hidden key to hide the calendar at startup. Only works with GNOMEMiguel de Icaza1999-01-295-16/+79
| | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (parse_an_arg): Add --hidden key to hide the calendar at startup. Only works with GNOME window managers though :-( svn path=/trunk/; revision=635
* Schedule an alarm for midnight to change theMiguel de Icaza1999-01-2911-31/+127
| | | | | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_init_alarms): Schedule an alarm for midnight to change the calendar_day_begin/calendar_day_end. * alarm.c (alarm_ready): If we reschedule, there is no need to activate any pending alarms. svn path=/trunk/; revision=634
* Insert the summary text here. (child_focus_in): No need to raise theFederico Mena Quintero1999-01-285-136/+139
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_new): Insert the summary text here. (child_focus_in): No need to raise the window, since we have Spiffo(tm) layout code. Boy, this is old code. (gncal_full_day_focus_child): Now that GtkText works better, we can avoid synthesizing a click which was causing grief, anyway. (child_button_press): Grab the focus before popping up the menu. * layout.c (find_index): Added a sanity check. * gncal-full-day.c (child_destroy): Unmap and unrealize the child before unparenting/destroying it. (child_unrealize): Unrealize the widget. What was I thinking? (child_new): Save the focus_out_event signal connection id in Child structure (in a new field). (child_destroy): Disconnect from the focus_out_event signal, since we don't want to get such an event when the widget is destroyed. (gncal_full_day_destroy): Destroy the children properly; it was leaking memory. svn path=/trunk/; revision=633
* Warn if the calendar file has changed.Miguel de Icaza1999-01-287-36/+118
| | | | | | | | | | | | 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (save_calendar_cmd): Warn if the calendar file has changed. * calendar.c (calendar_load, calendar_save): Keep track of the modification time for the calendar file. svn path=/trunk/; revision=632
* Only trap printable characters such that hotkeys work. (UNSELECT_TIMEOUT):Nat Friedman1999-01-205-48/+89
| | | | | | | | | | | | | 1999-01-20 Nat Friedman <nat@nat.org> * gncal-full-day.c (gncal_full_day_key_press): Only trap printable characters such that hotkeys work. (UNSELECT_TIMEOUT): Changed to 0. Much saner behavior. * prop.c (properties): Connect gnome_help_pbox_display to the GnomePropertyBox help button. svn path=/trunk/; revision=615
* Do not grab the mouse here (it was being grabbed incorrectly, anyways).Federico Mena Quintero1999-01-203-50/+78
| | | | | | | | | | | | 1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.c (quick_view_do_popup): Do not grab the mouse here (it was being grabbed incorrectly, anyways). (quick_view_map_event): Grab the mouse when the window is mapped. This avoids the ugly "while (xGrabPointer () != Success)" hack. (quick_view_button_release): Handle button releases here. svn path=/trunk/; revision=613
* do gtk_widget_realize on the toplevel window..Tomas Ogren1999-01-193-0/+6
| | | | | | | | 1999-01-19 Tomas Ogren <stric@ing.umu.se> * main.c: do gtk_widget_realize on the toplevel window.. svn path=/trunk/; revision=610
* Make the little calendar start up with the correct date.Federico Mena Quintero1999-01-143-2/+17
| | | | | | | | | 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-panel.c (gncal_day_panel_new): Make the little calendar start up with the correct date. svn path=/trunk/; revision=605
* Add the month to the date range display label.Federico Mena Quintero1999-01-143-4/+9
| | | | | | | | | 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_set): Add the month to the date range display label. svn path=/trunk/; revision=604
* Converted some more stuff to use the standards.Nat Friedman1999-01-093-38/+16
| | | | | | | | 1999-01-08 Nat Friedman <nat@nat.org> * main.c: Converted some more stuff to use the standards. svn path=/trunk/; revision=590
* New function to create the status bar. (setup_menu): Install menu hints.Nat Friedman1999-01-083-50/+114
| | | | | | | | | | | | 1999-01-08 Nat Friedman <nat@nat.org> * main.c (setup_appbar): New function to create the status bar. (setup_menu): Install menu hints. Menu items updated to match the standards. New Settings menu created. svn path=/trunk/; revision=589
* Wed, 30 Dec 1998 23:04:25 +0100 [Vincent]Vincent Renardias1998-12-312-2/+2
| | | | | | * Major translation updates. svn path=/trunk/; revision=567
* s/g_copy_strings/g_strconcat/Jeff Garzik1998-12-319-14/+20
| | | | svn path=/trunk/; revision=566
* Rewrote the old and broken alarm system. It never actually workedMiguel de Icaza1998-12-1715-47/+198
| | | | | | | | | | | | | | | | | 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx> Rewrote the old and broken alarm system. It never actually worked properly. Now it works properly, and I figured a nice way to get the Audio alarm do something nicer (it is now like an alarm clock :-). * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to actually distinguish which alarm was triggered. * alarm.c (alarm_ready): The code was only activating the first alarm. Reschedule the timer upon delivery of an alarm. svn path=/trunk/; revision=535
* Use the allocation size instead of the old fields in the canvas structure.Federico Mena Quintero1998-12-157-8/+17
| | | | | | | | | 1998-12-14 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Use the allocation size instead of the old fields in the canvas structure. svn path=/trunk/; revision=523
* Use gnome_dialog_set_parent. ditto ditto.Miguel de Icaza1998-12-1011-12/+34
| | | | | | | | | | 1998-12-09 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. * goto.c (goto_dialog): ditto * prop.c (properties): ditto. svn path=/trunk/; revision=522
* GNOME PIM livesMichael Fulbright1998-12-0910-16/+12
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=518
* gncal: Fix server registration to give proper id/kindElliot Lee1998-12-032-2/+2
| | | | | | | | gncal: Fix server registration to give proper id/kind gnome-run: Update for new gnome_execute_*() retvals. svn path=/trunk/; revision=501
* s/gtk_window_position/gtk_window_set_position/Sebastian Wilhelmi1998-12-024-12/+12
| | | | | | | s/gtk_window_position/gtk_window_set_position/ s/gtk_container_border_width/gtk_container_set_border_width/ svn path=/trunk/; revision=498
* Remove more deprecated gnome_dialog functionsManish Vachharajani1998-11-302-2/+2
| | | | svn path=/trunk/; revision=493
* Add missing declaration for GtkWidget *sw.Andrew T. Veliath1998-11-242-0/+2
| | | | svn path=/trunk/; revision=487
* Update GtkClist usage.Miguel de Icaza1998-11-243-8/+14
| | | | | | | | 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * eventedit.c (ee_rp_init_exceptions): Update GtkClist usage. svn path=/trunk/; revision=486
* err, meant to say gtk changes not gtk clist change :)Andrew T. Veliath1998-11-241-1/+1
| | | | svn path=/trunk/; revision=485
* Use gtk_scrolled_window_add_with_viewport instead of gtk_container_addAndrew T. Veliath1998-11-243-2/+8
| | | | | | | | * gncal-day-panel.c (gncal_day_panel_new): Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add (gtk_clist change). svn path=/trunk/; revision=484
* use GPOINTER_TO_INTHerbert V. Riedel1998-11-248-8/+15
| | | | | | | | | | 1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org> * eventedit.c: use GPOINTER_TO_INT * gncal-todo.c: same. svn path=/trunk/; revision=483
* DittoHavoc Pennington1998-11-242-0/+4
| | | | svn path=/trunk/; revision=482
* Fixed the popt event parsing callback to have the correct number ofMatthew Wilson1998-11-223-110/+115
| | | | | | | | | 1998-11-22 Matthew Wilson <msw@redhat.com> * main.c: Fixed the popt event parsing callback to have the correct number of arguments. This stops it from segfaulting. svn path=/trunk/; revision=481
* Doh. Fixed stupid bug where the classification buttons were not being setFederico Mena Quintero1998-11-183-10/+17
| | | | | | | | | | | | | | 1998-11-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_classification_widgets): Doh. Fixed stupid bug where the classification buttons were not being set correctly. (ee_store_general_values_to_ical): Take into account the fact that radio group lists are stored in reverse order of insertion. * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the clist into. svn path=/trunk/; revision=475
* Use a scrolled window to put the clist into.Federico Mena Quintero1998-11-173-6/+19
| | | | | | | | | 1998-11-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the clist into. svn path=/trunk/; revision=474
* Backup the old file before saving the caledar.Miguel de Icaza1998-11-123-2/+27
| | | | | | | | | 1998-11-11 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_save): Backup the old file before saving the caledar. svn path=/trunk/; revision=467
* Add ctype.hMiguel de Icaza1998-11-074-0/+7
| | | | | | | | 1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c: Add ctype.h svn path=/trunk/; revision=465
* poptimizationElliot Lee1998-11-032-54/+44
| | | | svn path=/trunk/; revision=460
* Add the offset from the beginning of the current time unitFederico Mena Quintero1998-11-033-8/+16
| | | | | | | | | | | | 1998-10-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c (gnome_calendar_direction): Add the offset from the beginning of the current time unit (day/month/etc), otherwise it does not work right, for example, you are on the 31st day of a month and the next month is a 30-day one and you jump to the next month. svn path=/trunk/; revision=459
* Week view work in progress - FedericoArturo Espinosa1998-10-215-1/+327
| | | | svn path=/trunk/; revision=455
* Changed a lot of stuff not to use the layout code -- the month view's daysFederico Mena Quintero1998-10-1712-65/+496
| | | | | | | | | | | | | | | | | | | | | 1998-10-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.c: Changed a lot of stuff not to use the layout code -- the month view's days are too small to display layout usefully. Now they display a little list of the events in each day. We also have a popup menu for the days in the month view. * calendar.c (calendar_get_objects_in_range): Reverse the list so that it is returned in increasing order. * eventedit.c (event_editor_new_whole_day): New public function to create an event for the complete span of day_begin to day_end. * year-view.c (new_appointment): Use event_editor_new_whole_day(). * year-view.c (yv_popup_menu): Mark strings for i18n. svn path=/trunk/; revision=452
* Syncety sync -- don't you love it? - FedericoArturo Espinosa1998-10-162-38/+624
| | | | svn path=/trunk/; revision=451
* Syncety sync, work in progress for an actually useful month view - FedericoArturo Espinosa1998-10-154-576/+108
| | | | svn path=/trunk/; revision=450
* sync sync - FedericoArturo Espinosa1998-10-142-284/+34
| | | | svn path=/trunk/; revision=449
* Sync - FedericoArturo Espinosa1998-10-132-6/+28
| | | | svn path=/trunk/; revision=448
* Sync sync, do not try to compile - FedericoArturo Espinosa1998-10-132-0/+200
| | | | svn path=/trunk/; revision=447
* The interval was never being loaded from the spin button.Ji Lee1998-10-123-6/+23
| | | | | | | | | 1998-10-12 Ji Lee <g@ucsd.edu> * eventedit.c (ee_store_recur_rule_to_ical): The interval was never being loaded from the spin button. svn path=/trunk/; revision=446
* Create a list of children and lay them out nicely. Lots of functions addedFederico Mena Quintero1998-10-104-20/+407
| | | | | | | | | | | | | 1998-10-09 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.c (month_view_update): Create a list of children and lay them out nicely. Lots of functions added for this purpose. (adjust_segment): Main event segment adjustment routine. (adjust_children): Adjusts all the children in the month view. (child_create_segments): Creates the segments for a particular event. (layout_children): Uses the generic layout engine to organize the children. svn path=/trunk/; revision=438
* Sync sync - FedericoArturo Espinosa1998-10-102-18/+96
| | | | svn path=/trunk/; revision=437
* Sync to laptop - FedericoArturo Espinosa1998-10-094-6/+158
| | | | svn path=/trunk/; revision=436
* Set the sensitivity of the edit/delete buttons. (gncal_todo_update):Federico Mena Quintero1998-10-093-4/+15
| | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (clist_row_selected): Set the sensitivity of the edit/delete buttons. (gncal_todo_update): Likewise. Thanks to Dirk Luetjens for the bug report. svn path=/trunk/; revision=435
* Do some cleanup; now we pass a struct with the layout algorithm's stateFederico Mena Quintero1998-10-099-400/+313
| | | | | | | | | | | | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * layout.c: Do some cleanup; now we pass a struct with the layout algorithm's state instead of passing a trillion parameters around. * gncal-full-day.c (layout_children): Use the new generic layout engine. (child_compare): Sort keys are start time then end time, not just start time. This produces somewhat nicer results for the layout algorithm. The new layout code uses a partition of the time range occupied by the events, rather than using a fixed time granularity. This is better since the different parts of the program that use the layout module will have different semantics regarding snapping the event bounds to a fixed "time grid". svn path=/trunk/; revision=434
* Doh, add the files - FedericoArturo Espinosa1998-10-084-0/+586
| | | | svn path=/trunk/; revision=433
* Sync sync syncFederico Mena Quintero1998-10-083-0/+13
| | | | | | | | | | | | | 1998-10-07 Federico Mena Quintero <federico@nuclecu.unam.mx> * layout.[ch]: New files that abstract the event layout code from gncal-full-day.c into something useful for other parts of the program. Now all event layout is done here. * Makefile.am (gnomecal_SOURCES): Added layout.[ch] to the list of sources. svn path=/trunk/; revision=432
* Replaced the 'gnome_client_new_default' call with 'gnome_master_client'.Carsten Schaar1998-10-083-4/+11
| | | | | | | * main.c (main): Replaced the 'gnome_client_new_default' call with 'gnome_master_client'. svn path=/trunk/; revision=431
* Changed name from time_start_of_day() to be consistent with the otherFederico Mena Quintero1998-10-0323-238/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * timeutil.c (time_day_begin): Changed name from time_start_of_day() to be consistent with the other begin/end functions. (time_day_end): Likewise. * calobj.c (ical_object_get_first_weekday): New public function to get the first toggled day in a weekday mask. Since we do not support multiple weekdays in a monthly-by-pos rule, we just fetch the first toggled one. (ical_object_generate_events): Added a missing break statement. * timeutil.c (time_month_end): Made it consistent with the rest of the time begin/end functions -- now it returns the first second of the *next* month. (time_week_end): Actually implemented this function. It will be used when the week view is rewritten. * calobj.c (time_in_range): Fix off-by-one in the comparison of the time against the end time. * gncal-full-day.c (expand_space): Fixed bug where the columns not were being expanded due to a missing "slot + j". svn path=/trunk/; revision=425
* Use the font #defines. (month_view_new): Set the colors of the month viewFederico Mena Quintero1998-10-0217-74/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.c (month_view_init): Use the font #defines. (month_view_new): Set the colors of the month view upon creation. (mark_current_day): New function to mark the current day in the month view. (month_view_set): Mark the current day. (month_view_colors_changed): Mark the current day and colorify the month item appropriately. * month-view.h: Added year and month fields to the MonthView structure. * main.c: Renamed the Appointments color property, since it will be used by the month view as well. * goto.c (update): Set the current day's font and color. * year-view.c (year_view_init): Set the fonts of the month items when creating them. * mark.h: Added new #defines for HEADING_FONT and TITLE_FONT. * year-view.c (year_view_init): Use the new font #defines. * prop.c (prop_apply_colors): Fixed to work with the I-am-paranoid-and-I-need-to-size-my-ints changes to GnomeColorPicker. (color_spec_from_picker): Likewise. svn path=/trunk/; revision=424
* Colorify the month item and prepare it for prelighting here.Federico Mena Quintero1998-10-0114-209/+565
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-09-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * goto.c (create_days): Colorify the month item and prepare it for prelighting here. * main.c (color_props): Changed the default colors to something not dull. * year-view.c (compute_min_size): New function to compute the minimum size of the year view properly. (year_view_size_request): Added two new fields to the year view structure that contain the minimum size. Return this in the size_request method. (year_view_new): Call compute_min_size to save the minimum size for later use. (idle_handler): Make it resize the items correctly. * gnome-month-item.c (gnome_month_item_set_arg): Reshape when necessary. This is needed becaues we now actually calculate a minimum size for the month item based on the font sizes and paddings. (check_heading_sizes): New function to calculate a minimum size based on the headings' dimensions. (check_day_sizes): New function to calculate a minimum size based on the day number labels' dimensions. (check_sizes): New function that computes a minimum size for the month item. (reshape): Now calls check_sizes() to ensure a minimum size for the month item. svn path=/trunk/; revision=419
* New function to mark the current day in the year view.Federico Mena Quintero1998-10-017-44/+113
| | | | | | | | | | | 1998-09-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (mark_current_day): New function to mark the current day in the year view. * mark.c: Removed mark_current_day from here. svn path=/trunk/; revision=418
* Stuff that I forgot to commit yesterday.Federico Mena Quintero1998-10-0124-396/+642
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stuff that I forgot to commit yesterday. Now the year view has a nifty pop-up view you can activate if you click on a day with mouse button 1. It will display a quick view of the appointments in that day. Also, reworked the marking and coloring code for month items so that the year view is not glacially slow anymore when switching years. It still is slow when first mapping or realizing the year view, I'm not sure why. I will look into that. 1998-09-29 Federico Mena Quintero <federico@nuclecu.unam.mx> * prop.c (fetch_color_spec): Changed name from fetch_prelight_spec and made it conform to the new prelighting mechanism. (fake_mark_days): Set the proper day attributes. (reconfigure_month): Use colorify_month_item(). (fake_mark_days): Use mark_month_item_index(). * mark.c (colorify_month_item): New public function to reset the colors in a month item. (get_attributes): New internal function that creates an array of attributes for the days in a month item. This is the basis of all the new optimizations to month item marking. (unmark_month_item): Now it uses the attributes array to unmark only the days that need unmarking. (mark_event_in_month): Update the day attributes array. (month_item_prepare_prelight): Changed the definition of the prelight color query function. Use the new function. (day_event): Do color changes based on the day attributes array. (mark_month_item_index): New public function to mark a single day by index. (mark_event_in_month): Use mark_month_item_index(). * gnome-month-item.c (gnome_month_item_num2child): Now takes an int, not a GnomeMonthItemChild. (gnome_month_item_child2num): Now returns an int, not a GnomeMonthItemChild. (gnome_month_item_num2day): Now takes an int, not a GnomeMonthItemChild. * goto.c (goto_dialog): Create the days before the year spin button, because the year_changed callback expects the month item to be created. The new semantics of the spin button cause it to emit a value_changed signal on the adjustment upon creation -- is this the behavior we want from it? (goto_dialog): Use gtk_window_set_modal() instead of the deprectaed gnome_dialog_set_modal(). * quick-view.c (quick_view_new): Make it look not as crappy by putting the title inside the frame. (quick_view_do_popup): Fixed the pointer grab and added a cursor. (create_items_for_event): Query the text width/height from the text item using the new object arguments, so that the size of the popup window can be set properly. * year-view.c (do_quick_view_popup): Calculate a nice date string for the popup window. svn path=/trunk/; revision=415
* New file that presents a quick view of the events in a particular day whenFederico Mena Quintero1998-09-2911-14/+616
| | | | | | | | | | | | | | | | 1998-09-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.[ch]: New file that presents a quick view of the events in a particular day when the mouse is clicked on the year view. Work in progress. * year-view.c (do_quick_view_popup): New function that creates a quick view for the events in a day. * Makefile.am (gnomecal_SOURCES): Added quick-view.[ch] to the list of sources. svn path=/trunk/; revision=413
* Hotkey for File/Exit should be C-q, not C-x.Federico Mena Quintero1998-09-276-4/+11
| | | | | | | | 1998-09-27 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c: Hotkey for File/Exit should be C-q, not C-x. svn path=/trunk/; revision=403
* Updates to the TODO - FedericoArturo Espinosa1998-09-251-6/+5
| | | | svn path=/trunk/; revision=399
* New function to execute the popup menu in the year view. (day_event):Federico Mena Quintero1998-09-255-26/+442
| | | | | | | | | | | | | | | | 1998-09-24 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (do_popup_menu): New function to execute the popup menu in the year view. (day_event): Invoke the popup menu with the context set to days. (new_appointment): New function to create a new appointment from the year view. (do_jump): New function to do the appropriate view/date jumping from the popup menu. * main.c: Fixed two icons in the File menu. svn path=/trunk/; revision=398
* Sync for version 0.30 - FedericoArturo Espinosa1998-09-232-2/+2
| | | | svn path=/trunk/; revision=393
* sync - FedericoArturo Espinosa1998-09-222-0/+2
| | | | svn path=/trunk/; revision=392
* Added underlined shortcuts and accelerators to the main menu.Federico Mena Quintero1998-09-2211-38/+72
| | | | | | | | 1998-09-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c: Added underlined shortcuts and accelerators to the main menu. svn path=/trunk/; revision=391
* remove gnomecard from subdirs until it actually compilesElliot Lee1998-09-212-2/+2
| | | | svn path=/trunk/; revision=389
* Include. Include.Raja R Harinath1998-09-175-0/+9
| | | | | | | * gncal-week-view.c (<gtk/gtklabel.h>): Include. * gncal-week-view.h (<gtk/gtkvbox.h>): Include. svn path=/trunk/; revision=380
* Use `rm -f ... ; $(LN_S) ...' instead of `ln -sf'.Martin Baulig1998-09-152-2/+2
| | | | svn path=/trunk/; revision=378
* Fixed the bug reported about the mail notification not beint sent untilMiguel de Icaza1998-09-073-2/+9
| | | | | | | | | 1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome-cal.c (mail_notify): Fixed the bug reported about the mail notification not beint sent until the program was terminated. svn path=/trunk/; revision=363
* Finished with the properties dialog. You can jump to days from the yearFederico Mena Quintero1998-09-0418-140/+623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finished with the properties dialog. You can jump to days from the year view now. I'm off to rewrite gnome-popupmenu and friends. 1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (gncal_full_day_forall): Updated foreach -> forall from Gtk changes, bleah. * year-view.c (day_event): New function to handle events from days. Jumps to the day that is clicked. * main.c: Use a watch cursor while the previous/today/next functions are doing their job. * mark.c (month_item_prepare_prelight): New public utility function to prepare a month item for prelighting. It will store the proper prelight information and attach the appropriate signals. (mark_current_day): Make the current day bold as well (useful for color-blind people, I guess). * prop.c (set_current_day): Reset the date in the sample calendar and mark the current day. (fake_mark_days): Mark fake events in the sample calendar. * year-view.c (year_view_set): Use the general prelighting engine. * goto.c (day_event): Just process button presses, as prelighting is done behind the scenes now. (update): Use the general prelighting engine. * prop.c (create_colors_page): We can now configure the colors of svn path=/trunk/; revision=361
* Today: we can now configure the colors for the monthly items, courtesy ofFederico Mena Quintero1998-09-0328-366/+1261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today: we can now configure the colors for the monthly items, courtesy of the canvas and GnomeColorPicker. Look at the preferences dialog, it is kind of nice. There are still some bugs to be fixed, nothing major. 1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * prop.c (create_colors_page): We can now configure the colors of the monthly calendars! Wheeeeee! There are still some nits to be fixed, which are listed in the TODO file. (build_color_spec): New function to build color specifications. (parse_color_spec): New function to parse color specifications. * mark.c: Modified all functions to use the configured colors. * goto.c: Likewise. * main.c (colors_changed): New function that notifies all calendars that colors have changed. * gnome-cal.c (gnome_calendar_colors_changed): New function that notifies all the views that the colors have changed. * month-view.c (month_view_colors_changed): New function that notifies the month view that colors have changed. * year-view.c (year_view_colors_changed): New function that notifies the year view that colors have changed. * gnome-month-item.h (struct _GnomeMonthItem): Added fields for outline and day box colors. * gnome-month-item.c (gnome_month_item_set_arg): Added outline_color, outline_color_gdk, day_box_color, and day_box_color_gdk arguments to month items. These are convenient to quickly set the colors of the month item. (gnome_month_item_get_arg): Likewise. * main.[ch]: Added a global array of structures for color preferences. svn path=/trunk/; revision=360
* It helps to add the new files - FedericoArturo Espinosa1998-08-304-0/+292
| | | | svn path=/trunk/; revision=352
* Centralized marking of month items. We now have a little utility functionFederico Mena Quintero1998-08-3014-289/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Centralized marking of month items. We now have a little utility function to colorify the days in a month item that have events scheduled for them. This is currently used by the year view and the go-to dialog. Fixed buglets here and there. 1998-08-29 Federico Mena Quintero <federico@nuclecu.unam.mx> * mark.[ch]: New files with utility functions to mark calendars with their events. * mark.c (mark_month_item): New public function to mark a month item with events. (unmark_month_item): New public function to unmark all the days in a month item to their default appearance. * year-view.c (year_view_set): Use the new unmark_month_item() and mark_month_item() to mark the months with events. * goto.c (update): New function that updates the calendar in the Go-to dialog by marking the days. * timeutil.c (time_year_begin): Modified to take a time_t value. (time_year_end): Likewise. (time_month_begin): Actually implemented this function, which was in the header file but not here. (time_days_in_month): New public function that returns the number of days in a month. * Makefile.am (gnomecal_SOURCES): Added mark.[ch] to the sources. * year-view.c (unmark_days): Use unmark_month_item(). * gncal-full-day.c (gncal_full_day_destroy): Fixed crash when destroying the full day view. The full day's destroy method is unusual in that it destroys the list of child widgets itself, as it does not have a remove method, so it needs to reset the list to NULL. svn path=/trunk/; revision=351
* Today: fixed calculation of day indexes when weeks start on Monday. TheFederico Mena Quintero1998-08-2813-645/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today: fixed calculation of day indexes when weeks start on Monday. The year view now marks days (and fixed bugs in day marking as well). Next step: make a generic month-marker routine and use that all over the place. 1998-08-27 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-month-item.c (build_month): Now does the correct thing when the user wants weeks to start on Monday. Now all the Monday special casing, as far as day numbering is concerned, is only in this function. * year-view.c (mark_days): This function marks the days that have events in them. It also fixes a memory leak in the old implementation (it was leaking the whole list). (unmark_days): New function used to unmark all the days in the year view. (mark_event): New function that marks all the days that are spanned by a time range. It also fixes the bug in the old implementation where it could possibly mark days past the ends of the year (if the event crosses year boundaries, for example). * timeutil.c (time_year_begin): Take the year parameter since year 1, not 1900. (time_year_end): Likewise. * year-view.c (year_view_size_allocate): Now changing the size of the calendars is done in the idle loop. (idle_handler): This function actually does the resizing of the items. * year-view.h (struct _YearView): Added idle_id and need_resize fields. svn path=/trunk/; revision=346
* Today: beginning of year view using the canvas. I still have to finishFederico Mena Quintero1998-08-2711-88/+672
| | | | | | | | | | | | | | | | | | | | | Today: beginning of year view using the canvas. I still have to finish fixing size allocation and event marking. This is all for today since Bonnie is coming. 1998-08-26 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c: Beginning of the new year view. Sizing and event marking needs to be finished. * gnome-cal.c: Updated for year-view. (gnome_calendar_time_format_changed): Use year_view_time_format_changed(). * year-view.[ch]: Renamed the gncal-year-view.[ch] files to year-view.[ch]. * Makefile.am (gnomecal_SOURCES): Updated year-view.[ch] in the list of source files. svn path=/trunk/; revision=341
* Set the heading color of the month item.Federico Mena Quintero1998-08-2614-100/+449
| | | | | | | | | | | | | | | | | | | 1998-08-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * goto.c (create_days): Set the heading color of the month item. * main.c: Use GNOME_STOCK_PIXMAP_JUMP_TO, now that it exists, instead of goto.xpm. Also, removed goto.xpm from cvs. * gnome-month-item.h (struct _GnomeMonthItem): Added fields for the heading and day number fonts. Added fields for heading and day number label colors. * gnome-month-item.c (gnome_month_item_class_init): ARG_DAY_NAMES should be write-only. Also, added arguments for heading and day number fonts. Added arguments for heading and day number colors. svn path=/trunk/; revision=339
* Fixlet to the about box - FedericoArturo Espinosa1998-08-252-8/+6
| | | | svn path=/trunk/; revision=338
* Today: Beautification of the Preferences dialog. Made the menus moreFederico Mena Quintero1998-08-2518-120/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today: Beautification of the Preferences dialog. Made the menus more consistent with the rest of GNOME. Started work on the meat of the month view. Minor fixups on some of the other views. 1998-08-24 Federico Mena Quintero <federico@nuclecu.unam.mx> * prop.c (build_two_radio_group): Doh. Set the state of the radio buttons properly. * month-view.c (month_view_time_format_changed): New public function that notifies the month view of a time format change. * gnome-cal.c (gnome_calendar_time_format_changed): New public function that notifies the calendar of a time format change. * main.c (time_format_changed): Use gnome_calendar_time_format_changed(). * month-view.c (month_view_update): New public function to update the month view when an event changes. This is still unfinished. (month_view_set): New public function to set the month in the month view. * gnome-cal.c (gnome_calendar_direction): Add case for month view. (gnome_calendar_set_view): Likewise. (gnome_calendar_update_all): Likewise. * timeutil.c (time_add_week): Implemented the time_add_week() function, which was on the header file. (time_add_month): Added public month-adding routine. * gnome-cal.c (gnome_calendar_get_current_view_name): Add case for month view. (gnome_calendar_goto): Likewise, and set the time on the month view. * month-view.c (month_view_new): Now it takes the calendar plus the time_t representing the month. * gnome-month-item.h: Added documentation on the object arguments for the month item. * month-view.c (month_view_init): Added a month/year heading to the month view. * TODO: Updated the TODO list a bit. * main.c (gnome_cal_file_menu): The preferences menu option should go in the File menu. (gnome_cal_edit_menu): Added stock pixmaps to the menu items. (gnome_cal_menu): Renamed the Calendar menu to Edit. (gnome_cal_help_menu): Use "About Gnomecal", not just "About". * prop.c (hour_activated): Notify the property box that it has changed. svn path=/trunk/; revision=337
* Changed the Properties menu item to Preferences. These are globalFederico Mena Quintero1998-08-2529-2085/+513
| | | | | | | | | | | | | | | | | | | | | | | | | 1998-08-24 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c: Changed the Properties menu item to Preferences. These are global application preferences, not a single calendar's properties. * prop.c (prop_apply): Save the week_starts_on_monday flag to the configuration file. (properties): Added a check button for weeks starting on Monday. (properties): Beautified the Preferences dialog. * month-view.c (month_view_init): * goto.c (create_days): Set the month item to start weeks on Monday if appropriate. * main.c (init_calendar): A boolean is not an hour, so don't range_check_hour() on it. (init_calendar): Added a global week_starts_on_monday flag. * main.h: Added global week_starts_on_monday flag. svn path=/trunk/; revision=336
* Small fixes for calendar savingArturo Espinosa1998-08-226-8/+19
| | | | svn path=/trunk/; revision=328
* We now have a nice generic monthly calendar item for the canvas. WeFederico Mena Quintero1998-08-1918-114/+659
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also have a convenient "Go To" dialog, just like in the PalmPilot. Next step is a pretty month view - Federico 1998-08-18 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-month-item.c (gnome_month_item_day2index): New public function to get the displayed day index of the specified date. * gnome-cal.c (gnome_calendar_goto_today): New public function to jump to the current day. * goto.c (day_event): Jump to the selected day when the user clicks the mouse, and prelight days as appropriate. * timeutil.c (time_from_day): New public function to build a time_t from a year/month/day triplet. * gnome-month-item.c (gnome_month_item_num2child): (gnome_month_item_child2num): New public functions to convert an index into a child and vice-versa, respectively. (gnome_month_item_num2day): New public function to convert a child number into a displayed day number. * goto.c (goto_dialog): Doh, use gnome-dialog properly :-) * gnome-month-item.c (create_items): Use g_strdup()ed day names from the start. 1998-08-17 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c (gnome_toolbar): Made it use goto.xpm. * Makefile.am (EXTRA_DIST): Added goto.xpm to the list of files. svn path=/trunk/; revision=326
* Fixes for 0.28 - FedericoArturo Espinosa1998-08-182-2/+4
| | | | svn path=/trunk/; revision=321
* It helps to add the files first - FedericoArturo Espinosa1998-08-142-0/+458
| | | | svn path=/trunk/; revision=318
* Doh. Actually recalculate the days using the month and year.Federico Mena Quintero1998-08-1413-40/+61
| | | | | | | | | | | | | | | 1998-08-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-month-item.c (gnome_month_item_set_arg): Doh. Actually recalculate the days using the month and year. * main.c: Added "Go to" button to quickly jump to a specific date. * goto.c: New file that defines the quick go-to date dialog. * Makefile.am (gnomecal_SOURCES): Added goto.c to the sources. svn path=/trunk/; revision=317
* 0.27 fixesGNOME_0_27Arturo Espinosa1998-08-142-2/+2
| | | | svn path=/trunk/; revision=315
* 0.27 fixesArturo Espinosa1998-08-142-2/+2
| | | | svn path=/trunk/; revision=314
* Little compiler warning fix - FedericoArturo Espinosa1998-08-132-2/+2
| | | | svn path=/trunk/; revision=313
* More work on the month view - FedericoArturo Espinosa1998-08-134-36/+254
| | | | svn path=/trunk/; revision=312
* More work on the month view item - FedericoArturo Espinosa1998-08-126-40/+370
| | | | svn path=/trunk/; revision=311
* Made title i18n friendly. This was bug #215.Nuno Ferreira1998-08-125-10/+21
| | | | | | | | | | * main.c (new_calendar): Made title i18n friendly. This was bug #215. * eventedit.c (ee_store_recur_end_to_ical): Set recur->enddate to recur->_enddate, not to itself, when adding recurring event and supplying an end date. This fixes (at least part of) bug #99. svn path=/trunk/; revision=310
* Fix small cut&paste bug - FedericoArturo Espinosa1998-08-112-2/+2
| | | | svn path=/trunk/; revision=309
* Oops - FedericoArturo Espinosa1998-08-112-0/+2
| | | | svn path=/trunk/; revision=308
* Start of the month view widget. This will use the generic month item andFederico Mena Quintero1998-08-1115-20/+1677
| | | | | | | | | | | | | | | | | | | | | | | 1998-08-10 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.[ch]: Start of the month view widget. This will use the generic month item and extend it to have the semantics desired for the gnomecal month view. * gnome-month-item.[ch]: New generic canvas item for the month view and the "small calendars". This is intended to be a high-level display engine for monthly calendars. This is a work in progress. * gnome-cal.h (GnomeCalendar): Added a month_view field. * gnome-cal.c (setup_widgets): Create the month view and insert it into the notebook. * Makefile.am: Added month-view.[ch] and gnome-month-item.[ch] to the sources. svn path=/trunk/; revision=307
* Use an array of const strings to keep gcc happy.Federico Mena Quintero1998-08-0410-23/+32
| | | | | | | | | | | | | 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c (about_calendar_cmd): Use an array of const strings to keep gcc happy. * alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy. * calendar.c (calendar_object_compare_by_start): Likewise. * gncal-full-day.c (child_compare_by_start): Likewise. svn path=/trunk/; revision=296
* Added this required file...Michael Fulbright1998-07-111-0/+3
| | | | | | Dr Mike <msf@redhat.com> svn path=/trunk/; revision=279
* Add support for --view flag. (session_save_state): Save the view mode;Miguel de Icaza1998-07-087-44/+172
| | | | | | | | | | | | | | | | 1998-07-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c: Add support for --view flag. (session_save_state): Save the view mode; (new_calendar): Now takes a view mode flag. * gnome-cal.c (gnome_calendar_get_current_view_name): New function for enhancing the session management support for gnomecal. (gnome_calendar_set_view): New function that makes a given page active. svn path=/trunk/; revision=278
* Updated TODO for gnomecal /tigertTuomas Kuosmanen1998-07-021-0/+7
| | | | svn path=/trunk/; revision=275
* Added Portuguese translation to .desktop files.Nuno Ferreira1998-07-013-0/+8
| | | | svn path=/trunk/; revision=274
* Use gnome_geometry_string to get the geometry string.Havoc Pennington1998-06-233-18/+13
| | | | | | | | | Mon Jun 22 13:01:16 1998 Havoc Pennington <hp@pobox.com> * main.c (session_save_state): Use gnome_geometry_string to get the geometry string. svn path=/trunk/; revision=267
* added gnomecard directory in Makefile.amArturo Espinosa1998-06-092-2/+2
| | | | svn path=/trunk/; revision=255
* Missing files - FedericoArturo Espinosa1998-06-062-36/+8
| | | | svn path=/trunk/; revision=250
* Removed gncal/card for the release - FedericoGNOME_0_20aGNOME_0_20Arturo Espinosa1998-06-052-2/+2
| | | | svn path=/trunk/; revision=245
* Do not subtract 1 from tm->tm_mday for the default_day.Federico Mena Quintero1998-06-057-8/+21
| | | | | | | | | | | | | 1998-06-04 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_rp_init_rule): Do not subtract 1 from tm->tm_mday for the default_day. * gnome-cal.c (gnome_calendar_new): (gnome_calendar_goto): Use the start of the day -- things expect it to be that way. svn path=/trunk/; revision=244
* Fill in ical->recur->interval from value in spin_button. This ixed anNuno Ferreira1998-06-013-2/+8
| | | | | | | | | | 1998-05-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt> * eventedit.c (ee_store_recur_rule_to_ical): Fill in ical->recur->interval from value in spin_button. This ixed an infinnite loop. svn path=/trunk/; revision=242
* Paint the decorations correctly. (child_draw_decor): Paint theFederico Mena Quintero1998-05-313-106/+113
| | | | | | | | | 1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_draw): Paint the decorations correctly. (child_draw_decor): Paint the recurrence/bell icons correctly. svn path=/trunk/; revision=241
* Added even more [no] .desktop entries.Kjartan Maraas1998-05-292-0/+4
| | | | | | | | 1998-05-29 Kjartan Maraas <kmaraas@fib.hl.no> * Added even more [no] .desktop entries. svn path=/trunk/; revision=240
* Use the contents of ee->ical->dtstart for computing the predefined valuesMiguel de Icaza1998-05-263-8/+7
| | | | | | | | | 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * eventedit.c (ee_rp_init_rule): Use the contents of ee->ical->dtstart for computing the predefined values of the recurrence. svn path=/trunk/; revision=239
* Fix the gc destruction in the unrealization code and fix the pixmapMiguel de Icaza1998-05-265-12/+34
| | | | | | | | | | | | 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-full-day.c (gncal_full_day_unrealize): Fix the gc destruction in the unrealization code and fix the pixmap unrefing. * main.c (close_cmd): Remove a bad hack that disabled calendar widget destruction. svn path=/trunk/; revision=238
* 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