aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove `-W'. (warn-unused): Remove.Raja R Harinath1998-10-062-14/+8
| | | | | | | * compiler-flags.m4 (warnCFLAGS): Remove `-W'. (warn-unused): Remove. svn path=/trunk/; revision=427
* Fix typo while signaling the error.Karl Eichwalder1998-10-061-1/+1
| | | | | | | | 1998-10-05 Karl Eichwalder <ke@suse.de> * gnome-xml-check.m4: Fix typo while signaling the error. svn path=/trunk/; revision=426
* 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
* Added `AC_SUBST(libgtop_postinstall)'. This is used inMartin Baulig1998-10-012-0/+9
| | | | | | | | | | | 1998-10-01 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4 (libgtop_postinstall): Added `AC_SUBST(libgtop_postinstall)'. This is used in `src/daemon/Makefile.am' to make the server suid root or sgid kmem if required. svn path=/trunk/; revision=420
* 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
* Made all of the header inclussion conditionals consistentArturo Espinosa1998-10-013-9/+9
| | | | svn path=/trunk/; revision=416
* 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 routine to paint a little red triangle if the cell hsa notes.Miguel de Icaza1998-09-302-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-09-29 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/cell.c (cell_draw_comment): New routine to paint a little red triangle if the cell hsa notes. * src/cell.c (cell_destroy): Destroy the comment. (str_trim_spaces): New routine. Trims the spaces on a string. (cell_draw): Trim the leading and trailing spaces on every string of a multi-line text. * src/color.c (color_init): Allocate a red for tagging the spreadhseet notes. * src/dialog-cell-format.c (format_list_fill): Apply the traslation when adding the format. * doc/tranlating.sgml: New document that describes how to internationalize and localize Gnumeric properly. * src/workbook.c (recalc_cmd): Provide a way to force a recomputation. (insert_current_time_cmd): New function. insert the current time. (insert_current_date_cmd): New function. insert the current date. (insert_at_cursor): New utility function. * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Handle control-home svn path=/trunk/; revision=414
* 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
* Make it accept libgtop >= 0.25.0 again.Martin Baulig1998-09-292-4/+4
| | | | | | | | 1998-09-28 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Make it accept libgtop >= 0.25.0 again. svn path=/trunk/; revision=410
* Make the default not to build the LibGTope examples.Martin Baulig1998-09-292-2/+7
| | | | | | | | | 1998-09-28 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Make the default not to build the LibGTope examples. svn path=/trunk/; revision=409
* New configure parameter to add `-Wunused' to the warning flags.Martin Baulig1998-09-282-2/+20
| | | | | | | | | 1998-09-28 Martin Baulig <martin@home-of-linux.org> * compiler-flags.m4 (--enable-warn-unused): New configure parameter to add `-Wunused' to the warning flags. svn path=/trunk/; revision=408
* Make it require libgtop >= 0.26.2.Martin Baulig1998-09-272-1/+5
| | | | | | | | 1998-09-27 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Make it require libgtop >= 0.26.2. svn path=/trunk/; revision=404
* 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
* List fish file systemArturo Espinosa1998-09-261-1/+1
| | | | svn path=/trunk/; revision=400
* 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
* Add checks for -lsocket -lnsl.Raja R Harinath1998-09-252-3/+13
| | | | | | * gnome-ghttp-check.m4: Add checks for -lsocket -lnsl. svn path=/trunk/; revision=397
* New:Miguel de Icaza1998-09-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New: - Bold button works properly (ie, it detects what sort of stuff you have and presses/unpresses accordingly). - GNumeric now has operation modes: sheet and object. Using delete/backspace/edit-cut will let you kill objects. - Lots of the bug fixes reported by Adrian/Federico. Here is the detailed changelog: 1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/xml-io.c: Destroy the extra style. * src/main.c (main): No need to init colors as they are auto-inited. * src/style.c (font_compute_hints): At font creation time store a couple of the font attributes for quick retrieval. * src/sheet-view.c (sheet_view_construct): Do not allow this button to have the focus either. * src/item-bar.c (item_bar_draw): If the whole sheet is selected, draw all of the columns in pressed presenstation * src/sheet.c (sheet_is_all_selected): Return wheter all the sheet is selected. * src/utils.c (cell_name): Fixed cell name computation. (parse_cell_name): Fixed parsing of the cell name. svn path=/trunk/; revision=396
* 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
* When decoding a tree, include the argument separator. Also, loop properlyMiguel de Icaza1998-09-211-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-09-21 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/expr.c (do_expr_decode_tree): When decoding a tree, include the argument separator. Also, loop properly trough the arguments being decoded. (function_call_with_values, function_def_call_with_values): New functions: these ones are for the plugins so that a plugin can invoke other functions in Gnumeric. * src/fn-date.c (gnumeric_now): The serial number returned by NOW() should be relative to 1900/1/1, not year zero. 1998-09-20 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/expr.c (eval_expr): Fix the way we computed expressions. * src/eval.c (cell_eval): Maintain a CELL_ERROR flag to know if the value is NULL due to an error or to the cell not being evaluated. * src/expr.c (funcion_call_with_values): Add a routine to allow plugins to call other functions defined in Gnumeric. * src/style.c: Handle the pattern property of the styles. * src/style.h: Pattern style is now just a 4 bit quantity, instead of a RefCounted structure. * src/plugin.c: Include gnumeric-util.h svn path=/trunk/; revision=390
* remove gnomecard from subdirs until it actually compilesElliot Lee1998-09-212-2/+2
| | | | svn path=/trunk/; revision=389
* -)Nat Friedman1998-09-211-1/+1
| | | | | | | * Say "Now type `make` to build $PKG_NAME", not "... the $PKG_NAME". That was getting on my nerves :-) svn path=/trunk/; revision=386
* Use -W -Wno-unusedArturo Espinosa1998-09-201-1/+1
| | | | svn path=/trunk/; revision=385
* Do not use -W as in the context of Gtk/Gnome, we get warnings for theArturo Espinosa1998-09-201-1/+1
| | | | | | | | | Do not use -W as in the context of Gtk/Gnome, we get warnings for the unused parameters in callback funcions which we cant fix. Miguel. svn path=/trunk/; revision=384
* Remove commented out code.Raja R Harinath1998-09-192-16/+4
| | | | | | * gnome-support.m4: Remove commented out code. svn path=/trunk/; revision=383
* Make libgnorba part of the build procedure. Fix the wrong gnome-popup-menuArturo Espinosa1998-09-181-2/+2
| | | | | | | | | Make libgnorba part of the build procedure. Fix the wrong gnome-popup-menu commit. Miguel. svn path=/trunk/; revision=382
* GNOME_ORBIT_CHECK now defines ORBIT_LIBS and ORBIT_INCLUDESElliot Lee1998-09-181-0/+4
| | | | svn path=/trunk/; revision=381
* 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
* Autofill lists work:Arturo Espinosa1998-09-162-4/+18
| | | | | | | | | | | | | | Autofill lists work: Integers, Floats, Formulas and constant strings works. Todo: Lists of known strings and strings with numbers embedded Miguel. svn path=/trunk/; revision=379
* Use `rm -f ... ; $(LN_S) ...' instead of `ln -sf'.Martin Baulig1998-09-152-2/+2
| | | | svn path=/trunk/; revision=378
* Got cursors working.Arturo Espinosa1998-09-153-2/+60
| | | | | | | | | | | | | Got cursors working. Use the cursors properly on the spreadhseet (gives good feedback on what is going to happen). More work on autofill. miguel. svn path=/trunk/; revision=377
* Color attributes in formats work (ie, you can get colored cells now);Arturo Espinosa1998-09-142-0/+16
| | | | | | | | | | | | | | | Color attributes in formats work (ie, you can get colored cells now); My first -futile attempts- at getting various different cursors working on the spreadsheet (we need a cross and various other cursors for a better emulation of Excel). The beginning of autofill, but I really need to see Excel live before implementing this. Miguel. svn path=/trunk/; revision=376
* Added (AC_SUBST): `libgtop_have_sysinfo'.Martin Baulig1998-09-132-0/+6
| | | | | | | | 1998-09-12 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Added (AC_SUBST): `libgtop_have_sysinfo'. svn path=/trunk/; revision=374
* Color implemtnationArturo Espinosa1998-09-122-0/+81
| | | | svn path=/trunk/; revision=373
* Added sample pluginArturo Espinosa1998-09-111-1/+5
| | | | svn path=/trunk/; revision=371
* Set minimum required LibGTop version to 0.26.1.Martin Baulig1998-09-101-1/+1
| | | | svn path=/trunk/; revision=370
* Added check for SMP support. (--with-libgtop-smp): New parameter, defaultMartin Baulig1998-09-092-0/+37
| | | | | | | | | | | | 1998-09-09 Martin Baulig <baulig@merkur.uni-trier.de> * gnome-libgtop-sysdeps.m4: Added check for SMP support. (--with-libgtop-smp): New parameter, default is to enable it only if you're running configure on a SMP system. Added (AC_DEFINE): `HAVE_LIBGTOP_SMP' if enabled. (LIBGTOP_SMP): New automake conditional. svn path=/trunk/; revision=369
* Moving imlib.m4 back where it belongs.Owen Taylor1998-09-081-286/+0
| | | | svn path=/trunk/; revision=368
* removed imlib.m4 from main imlib dostributionFrank Belew (Myth)1998-09-081-0/+286
| | | | | | added imlib.m4 to gnome macros dir svn path=/trunk/; revision=367
* New check macro for ORBit -migArturo Espinosa1998-09-081-0/+21
| | | | svn path=/trunk/; revision=366
* Fixed detection of xml in gnome-xml macros take 2 -migArturo Espinosa1998-09-081-2/+2
| | | | svn path=/trunk/; revision=365
* Fixed detection of xml in gnome-xml macros -migArturo Espinosa1998-09-081-14/+12
| | | | svn path=/trunk/; revision=364
* 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
* Revamped the GNOME_XML_CHECK macro. Now acts (somewhat) like theMark Crichton1998-09-041-3/+14
| | | | | | | | | | | | | | Revamped the GNOME_XML_CHECK macro. Now acts (somewhat) like the GNOME_INIT and GNOME_INIT_HOOK macros. The GNOME_XML_CHECK macro will abort a config if XML is not found. GNOME_XML_HOOK will set GNOME_XML_LIB to the value "iswwci" Need to continue thinking how to better handle the not-found-but-I-can-survive- without-it case a little more... Mark Crichton svn path=/trunk/; revision=362
* 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
* Remove check for `canonicalize_file_name'.Raja R Harinath1998-09-032-1/+5
| | | | | | * gnome-support.m4: Remove check for `canonicalize_file_name'. svn path=/trunk/; revision=359
* Check for canonicalize_file_name () and realpath () and addMartin Baulig1998-09-022-0/+8
| | | | | | | | | 1998-09-02 Martin Baulig <martin@home-of-linux.org> * gnome-support.m4: Check for canonicalize_file_name () and realpath () and add `canonicalize.o' to LIBOBJS if required. svn path=/trunk/; revision=358
* Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. Added (AC_DEFINE_UNQUOTED):Martin Baulig1998-08-302-2/+17
| | | | | | | | | | 1998-08-30 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. Added (AC_DEFINE_UNQUOTED): `LIBGTOP_VERSION', `LIBGTOP_VERSION_CODE', `LIBGTOP_{MAJOR,MINOR,MICRO,SERVER}_VERSION'. svn path=/trunk/; revision=353
* 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
* Make it require libgtop >= 0.26.0. Added (AC_SUBST):Martin Baulig1998-08-302-3/+3
| | | | | | | | | 1998-08-29 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Make it require libgtop >= 0.26.0. Added (AC_SUBST): `LIBGTOP_INTERFACE_AGE' and `LIBGTOP_BINARY_AGE'. svn path=/trunk/; revision=350
* Added (AC_SUBST): `LIBGTOP_INTERFACE_AGE' and `LIBGTOP_BINARY_AGE' forMartin Baulig1998-08-302-0/+7
| | | | | | | | | 1998-08-29 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Added (AC_SUBST): `LIBGTOP_INTERFACE_AGE' and `LIBGTOP_BINARY_AGE' for libtool. svn path=/trunk/; revision=347
* 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
* Oooo...it actually works now. Forgot a ,Christopher Blizzard1998-08-282-1/+4
| | | | | | | | | 1998-08-27 Christopher Blizzard <blizzard@appliedtheory.com> * gnome-ghttp-check.m4: Oooo...it actually works now. Forgot a , svn path=/trunk/; revision=345
* Umm...I think this works better. Doesn't break anything anyway.Christopher Blizzard1998-08-282-1/+6
| | | | | | | | | 1998-08-27 Christopher Blizzard <blizzard@appliedtheory.com> * gnome-ghttp-check.m4: Umm...I think this works better. Doesn't break anything anyway. svn path=/trunk/; revision=344
* Make it work with a brain-dead /bin/sh and a brain-dead /bin/test.Martin Baulig1998-08-272-3/+56
| | | | | | | | | 1998-08-26 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_INIT_LIBGTOP): Make it work with a brain-dead /bin/sh and a brain-dead /bin/test. svn path=/trunk/; revision=342
* 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
* Use `AC_MSG_WARN' if LibGTop cannot be found and the `fail' argument isMartin Baulig1998-08-262-1/+6
| | | | | | | | | 1998-08-26 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_INIT_LIBGTOP): Use `AC_MSG_WARN' if LibGTop cannot be found and the `fail' argument is not given. svn path=/trunk/; revision=340
* 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
* Added `setreuid', `setregid' and `getpagesize'. (AC_TYPE_UID_T): NewMartin Baulig1998-08-252-1/+10
| | | | | | | | | | 1998-08-24 Martin Baulig <martin@home-of-linux.org> * gnome-support.m4 (GCC_NEED_DECLARATIONS): Added `setreuid', `setregid' and `getpagesize'. (AC_TYPE_UID_T): New check. svn path=/trunk/; revision=334
* Add gnome-ghttp-check.m4 to the Makefile.Christopher Blizzard1998-08-242-0/+5
| | | | | | | | 1998-08-24 Christopher Blizzard <blizzard@appliedtheory.com> * Makefile.am (MACROS): Add gnome-ghttp-check.m4 to the Makefile. svn path=/trunk/; revision=333
* macro for checking for gnome-httpChristopher Blizzard1998-08-241-0/+6
| | | | | | * macro for checking for gnome-http svn path=/trunk/; revision=332
* You can give this macro two parameters: the required version number and anMartin Baulig1998-08-242-3/+17
| | | | | | | | | | | 1998-08-23 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_INIT_LIBGTOP): You can give this macro two parameters: the required version number and an optional `fail' argument to make it fail if LibGTop is not found. svn path=/trunk/; revision=330
* Added check for `-lnsl' and `-lsocket' if `build-guile' cannot be found.Martin Baulig1998-08-222-0/+7
| | | | | | | | | 1998-08-22 Martin Baulig <martin@home-of-linux.org> * gnome-guile-checks.m4: Added check for `-lnsl' and `-lsocket' if `build-guile' cannot be found. svn path=/trunk/; revision=329
* Small fixes for calendar savingArturo Espinosa1998-08-226-8/+19
| | | | svn path=/trunk/; revision=328
* New file. Defines the GNOME_COMPILER_WARNINGS macro. AddRaja R Harinath1998-08-214-3/+58
| | | | | | | | | | * compiler-flags.m4: New file. Defines the GNOME_COMPILER_WARNINGS macro. * autogen.sh (conf_flags): Add `--enable-compile-warnings' to list of flags passed to `configure'. * Makefile.am (MACROS): Add compiler-flags.m4. svn path=/trunk/; revision=327
* 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
* make it require libgtop >= 0.25.0. Added (AC_SUBST):Martin Baulig1998-08-182-1/+7
| | | | | | | | | 1998-08-18 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: make it require libgtop >= 0.25.0. Added (AC_SUBST): `LIBGTOP_MICRO_VERSION' and `LIBGTOP_EXTRA_LIBS'. svn path=/trunk/; revision=322
* Fixes for 0.28 - FedericoArturo Espinosa1998-08-182-2/+4
| | | | svn path=/trunk/; revision=321
* Completely rewrote this file. It uses now the `libgtop-config' script andMartin Baulig1998-08-172-43/+43
| | | | | | | | | | 1998-08-17 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Completely rewrote this file. It uses now the `libgtop-config' script and also checks for correct libgtop version. svn path=/trunk/; revision=320
* `make distcheck' cleanups - Hey, it really works, guys !Martin Baulig1998-08-171-0/+6
| | | | svn path=/trunk/; revision=319
* 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
* Added `freebsd' directory.Martin Baulig1998-08-072-0/+9
| | | | | | | | 1998-08-06 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Added `freebsd' directory. svn path=/trunk/; revision=304
* Do not abort on obj-c not being thereGNOME_0_25DROOLING_MACAQUEArturo Espinosa1998-08-061-1/+1
| | | | svn path=/trunk/; revision=301
* Define USE_DEVGTK unconditionally to `true'.Raja R Harinath1998-08-052-0/+5
| | | | | | | | | * gnome-x-checks.m4: Define USE_DEVGTK unconditionally to `true'. Before people start screaming. USE_DEVGTK (or its lack of) is used to disable compiling some stuff. svn path=/trunk/; revision=299
* make it require GTK >= 1.1.1 dnl'd the dev_gtk since they will have toStuart Parmenter1998-08-052-12/+19
| | | | | | | | | 1998-08-04 Stuart Parmenter <pavlov@innerx.net> * gnome-x-checks.m4: (AM_PATH_GTK) make it require GTK >= 1.1.1 dnl'd the dev_gtk since they will have to anyways. svn path=/trunk/; revision=298
* gnome.m4: (GNOME_INIT_HOOK): Call $1 also, if `gnome-config' is found and usedSebastian Wilhelmi1998-08-042-0/+6
| | | | svn path=/trunk/; revision=297
* 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
* Use the `gnome-config' program if it exists.Raja R Harinath1998-08-032-9/+34
| | | | | | | | | * gnome.m4 (GNOME_CONFIG): Use the `gnome-config' program if it exists. With this, `make distcheck' on `gnome-core' inches forward slightly. svn path=/trunk/; revision=295
* Remove `macros.dep'.Raja R Harinath1998-08-022-1/+5
| | | | | | | | | | | | * Makefile.am (EXTRA_DIST): Remove `macros.dep'. Because it doesn't work for srcdir != builddir. I see no great loss in not distributing this file -- it is used only in maintainer-mode, and it is easily generated. Anyone who's not using GNU make for maintainer-mode is already not supported, so this doesn't make a difference, I think. svn path=/trunk/; revision=294
* New macro. Checks for `u_int64_t' and `int64_t'.Martin Baulig1998-07-312-1/+18
| | | | | | | | | 1998-07-30 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_LIBGTOP_TYPES): New macro. Checks for `u_int64_t' and `int64_t'. svn path=/trunk/; revision=293
* Added (AC_SUBST): `LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS',Martin Baulig1998-07-303-0/+20
| | | | | | | | | | | | | | | 1998-07-29 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: Added (AC_SUBST): `LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS', `LIBGTOP_GUILE_LIBS', `LIBGTOP_GUILE_NAMES_LIBS', `LIBGTOP_MAJOR_VERSION', `LIBGTOP_MINOR_VERSION', `LIBGTOP_VERSION'. * gnome-libgtop-sysdeps.m4 (libgtop_sysdeps_dir): Added `AC_SUBST(libgtop_sysdeps_dir)'. svn path=/trunk/; revision=292
* Check for functions that `error.c' looks for.Raja R Harinath1998-07-302-0/+6
| | | | | | * gnome-support.m4: Check for functions that `error.c' looks for. svn path=/trunk/; revision=291
* Removed.Martin Baulig1998-07-293-1/+8
| | | | | | | | | | 1998-07-29 Martin Baulig <martin@home-of-linux.org> * gnome-fileutils.m4 (AM_FUNC_ERROR_AT_LINE): Removed. * gnome-support.m4 (AM_FUNC_ERROR_AT_LINE): New check. svn path=/trunk/; revision=290
* Changed Gtk version test to use GTK_HAVE_FEATURES_1_1_0.Federico Mena Quintero1998-07-282-1/+6
| | | | | | | | | 1998-07-27 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-x-checks.m4: Changed Gtk version test to use GTK_HAVE_FEATURES_1_1_0. svn path=/trunk/; revision=289
* Added gnome-xml-check.m4 for libxml detection, Daniel.Daniel Veillard1998-07-273-0/+23
| | | | svn path=/trunk/; revision=288
* No longer requiring `GNOME_LIBGTOP_SYSDEPS'.Martin Baulig1998-07-242-1/+6
| | | | | | | | | 1998-07-24 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: No longer requiring `GNOME_LIBGTOP_SYSDEPS'. svn path=/trunk/; revision=287
* Added linger.m4. New file.Tom Tromey1998-07-243-0/+34
| | | | | | | | | Fri Jul 24 00:45:38 1998 Tom Tromey <tromey@cygnus.com> * Makefile.am (MACROS): Added linger.m4. * linger.m4: New file. svn path=/trunk/; revision=286
* Actually add files mentioned in last commitTom Tromey1998-07-242-0/+100
| | | | svn path=/trunk/; revision=285
* Added gnome-undelfs.m4, gnome-vfs.m4. New file. New file.Tom Tromey1998-07-242-0/+8
| | | | | | | | | | Thu Jul 23 22:41:23 1998 Tom Tromey <tromey@cygnus.com> * Makefile.am (MACROS): Added gnome-undelfs.m4, gnome-vfs.m4. * gnome-undelfs.m4: New file. * gnome-vfs.m4: New file. svn path=/trunk/; revision=284
* Added some reasonable defaults to allow cross compiling; removedMartin Baulig1998-07-233-6/+30
| | | | | | | | | | 1998-07-22 Martin Baulig <martin@home-of-linux.org> * gnome-fileutils.m4: Added some reasonable defaults to allow cross compiling; removed `mountlist.o' and `fsusage.o' from LIBOBJS. svn path=/trunk/; revision=283
* If no build-guile, link against readline before termcap.Tom Tromey1998-07-222-1/+6
| | | | | | | | | Tue Jul 21 23:44:53 1998 Tom Tromey <tromey@cygnus.com> * gnome-guile-checks.m4: If no build-guile, link against readline before termcap. svn path=/trunk/; revision=282
* Add `need-declaration.m4'.Raja R Harinath1998-07-164-12/+71
| | | | | | | | | | | | | * Makefile.am (MACROS): Add `need-declaration.m4'. * gnome-support.m4 (AC_REPLACE_FUNCS): Add memmove, strtod, strtol, strtoul. (GCC_NEED_DECLARATIONS): New check. Check whether `gethostname' needs to be declared. * need-declaration.m4: New file. Stolen from EGCS. svn path=/trunk/; revision=281
* Add check for `mkstemp'.Raja R Harinath1998-07-132-1/+5
| | | | | | * gnome-support.m4 (AC_REPLACE_FUNCS): Add check for `mkstemp'. svn path=/trunk/; revision=280
* 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
* No longer use `glibtop_machine.h' for Linux.Martin baulig1998-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1998-07-03 Martin baulig <martin@home-of-linux.org> * macros/gnome-libgtop-sysdeps.m4: No longer use `glibtop_machine.h' for Linux. * sysdeps/linux/glibtop_machine.h: Removed. * sysdeps/guile/guile.awk: Using `scm_append' instead of `gh_append'. * sysdeps/guile/names/guile-names.awk: dito. * sysdeps/linux/*.c: Using code from stable branch again. * include/glibtop/parameter.h: New file. * lib/parameter.c: New file. * lib/{open, init}.c: Done some more work on server initialization svn path=/trunk/; revision=277
* yet another change to curses.m4 - documentation & formatting, remove unsed varsScott D Heavner1998-07-022-22/+68
| | | | svn path=/trunk/; revision=276
* 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
* Add all the `.m4' files here.Raja R Harinath1998-06-302-5/+16
| | | | | | * Makefile.am (MACROS): Add all the `.m4' files here. svn path=/trunk/; revision=273
* curses.m4: Need AC_SUBST(CURSES_INCLUDEDIR) not CURSES_INCLUDESScott D Heavner1998-06-302-1/+5
| | | | svn path=/trunk/; revision=272
* was leaving conftest.* files lying around after tests.Scott D Heavner1998-06-302-1/+6
| | | | svn path=/trunk/; revision=271
* Use egcs if it's available. The gcc that ships with RedHat 5.1 doesn't doChristopher Blizzard1998-06-272-1/+9
| | | | | | | | | 1998-06-27 Christopher Blizzard <blizzard@foo.appliedtheory.com> * gnome-objc-checks.m4: Use egcs if it's available. The gcc that ships with RedHat 5.1 doesn't do objc, egcs does. svn path=/trunk/; revision=270
* Autodetect curses for cyahtzee.Scott D Heavner1998-06-272-0/+286
| | | | svn path=/trunk/; revision=269
* New check. (vprintf): New check. (ftruncate.c): Remove check. This needsRaja R Harinath1998-06-253-28/+13
| | | | | | | | | | | * gnome-fileutils.m4 (AM_FUNC_ERROR_AT_LINE): New check. (vprintf): New check. (ftruncate.c): Remove check. This needs to be further cleaned up to only list what is needed for gdiskfree. * Makefile.am (MACROS): Add gnome-fileutils.m4. svn path=/trunk/; revision=268
* 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
* Mon, 22 Jun 1998 12:38:50 +0200 [Vincent]Vincent Renardias1998-06-220-0/+0
| | | | | | * .fr translation updates. svn path=/trunk/; revision=266
* *** empty log message ***Martin Baulig1998-06-141-0/+5
| | | | svn path=/trunk/; revision=263
* New automake conditional; also defines HAVE_LINUX_TABLE.Martin Baulig1998-06-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-06-14 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4 (LINUX_TABLE): New automake conditional; also defines HAVE_LINUX_TABLE. 1998-06-13 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Added check for the table () system call in the linux kernel. 1998-06-11 Raja R Harinath <harinath@cs.umn.edu> * gnome-x-checks.m4 (USE_DEVGTK): Use AC_EGREP_CPP rather than AC_CHECK_HEADER. AC_CHECK_HEADER is fooled by warnings. * gnome-support.m4 (AC_PROG_AWK): Look for awk. (CROSS_COMPILING): Remove conditional. Wed Jun 10 14:19:39 EDT 1998 Gregory McLean <gregm@comstar.net> * gnome-x-checks.m4: More tweeks to make building against gtk 1.0 and gtk1.1 less painful. 1998-06-08 Martin Baulig <martin@home-of-linux.org> * gnome-support.m4 (CROSS_COMPILING): New automake conditional; (need_gnome_support): added `AC_SUBST(need_gnome_support)'. 1998-06-07 Martin Baulig <martin@home-of-linux.org> * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): When cross-compiling, we now check for `$host_alias-buile-guile'. 1998-06-03 Martin Baulig <martin@home-of-linux.org> * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): Looks also in $GNOME_LIBDIR; added failflag: GNOME_CHECK_GUILE(fail) will abort if guile cannot be found. 1998-05-23 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4 (GNOME_LIBGTOP_HOOK): (libgtop_use_machine_h): Set this to true on SunOS. 1998-05-22 Martin Baulig <baulig@merkur.uni-trier.de> * gnome-fileutils.m4 (GNOME_FILEUTILS_CHECKS): New file. Imported from `configure.in' in GNU fileutils 3.16. It does all the checks that are needed for the diskusage applet. 1998-05-22 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_LIBGTOP_HOOK): New file. Checks whether libgtop is installed and reads its `libgtopConf.sh' file if it can be found. Defines HAVE_LIBGTOP on success and provides HAVE_LIBGTOP automake conditional. 1998-05-21 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4 (GNOME_LIBGTOP_SYSDEPS): New file. (libgtop_sysdeps_dir): sysdeps directory libgtop uses. (libgtop_use_machine_h): define HAVE_GLIBTOP_MACHINE_H if this is `yes'. (libgtop_need_server): we only need the libgtop server, when this has a value of `yes'. Defines NEED_LIBGTOP and NEED_LIBGTOP automake conditional. 1998-05-19 Raja R Harinath <harinath@cs.umn.edu> * gnome-support.m4 (strerror): New check. (sys_errlist): Check for this variable, needed for `strerror'. (program_invocation_name, program_invocation_short_name): Change method used to check for these. 1998-05-09 Raja R Harinath <harinath@cs.umn.edu> * autogen.sh: Remove simple-minded check for `gtk+'. Fri Apr 24 16:43:38 1998 Owen Taylor <otaylor@gtk.org> * autogen.sh: Pass the results of the environment variable ACLOCAL_FLAGS to aclocal. This allows, for instance, ACLOCAL_FLAGS="-I /home/owen/share/aclocal/" autogen.sh Sun Apr 19 01:35:53 EDT 1998 Gregory McLean <gregm@comstar.net> * gnome-x-checks.m4: Updated the gtk check to check for 1.0.0. 1998-04-08 Raja R Harinath <harinath@cs.umn.edu> * autogen.sh: Update to list newer versions of packages. * gnome-support.m4: Add `scandir' to AC_REPLACE_FUNCS. Also run AC_HEADER_DIRENT. 1998-03-31 Raja R Harinath <harinath@cs.umn.edu> * gnome-support.m4 (AC_REPLACE_FUNCS): Look for vasprintf. Thu Mar 19 23:23:30 1998 Tom Tromey <tromey@cygnus.com> * gnome.m4: An empty true branch of an `if' statement is not valid sh syntax. If GNOME_INIT_HOOK argument $1 is empty, use ":" instead. 1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx> * gnome.m4 (GNOME_INIT_HOOK): Provide a way to hook some code to execute; Accept a probe mode. (GNOME_INIT): Define in terms of GNOME_INIT_HOOK. Thu Mar 19 00:17:46 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4: Cache results of check for program_invocation_short_name, program_invocation_name. Check to make sure argp functions are in a library. * gnome-support.m4: Cache results of argp check. Sun Mar 15 15:54:43 1998 Owen Taylor <owt1@cornell.edu> * gnome-x-checks.m4: Replaced checks for X and GTK with AM_PATH_GTK. x_include, X_LIBS, etc, variables no longer defined. 1998-03-12 Raja R Harinath <harinath@cs.umn.edu> * gnome-support.m4: Add a check for <linewrap.h> -- this enables some optimizations when compiling `argp'. Mon Mar 9 19:32:42 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4: Build vsnprintf.o, not vsnprint.o. 1998-03-09 Raja R Harinath <harinath@cs.umn.edu> * gnome-support.m4: Add check for `vsnprintf'. Sun Mar 8 17:04:28 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4: Set need_gnome_support shell variable. Define BUILD_GNOME_SUPPORT automake conditional. Define LTLIBOBJS. Look for argp_domain element in struct argp. Sat Mar 7 00:04:22 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4 (GNOME_SUPPORT_CHECKS): Add argp-pvh.o to LIBOBJS. * gnome-support.m4 (GNOME_SUPPORT_CHECKS): Check for strnlen(). Wed Mar 4 01:02:55 1998 Tom Tromey <tromey@cygnus.com> * gnome-support.m4 (GNOME_SUPPORT_CHECKS): Check for argp code, strndup, program_invocation_name, program_invocation_short_name. Mon Mar 2 15:27:44 1998 Tom Tromey <tromey@cygnus.com> * gnome-x-checks.m4 (GNOME_X_CHECKS): Also check for SMlib.h; some Solaris systems have -lSM but not SMlib.h. Sun Mar 1 17:49:42 1998 Tom Tromey <tromey@cygnus.com> * gnome.m4 (GNOME_INIT): Changed spacing so --help output looks right. Fri Feb 27 10:05:34 1998 Tom Tromey <tromey@cygnus.com> * gnome-objc-checks.m4 (GNOME_CHECK_OBJC): Set OBJECTIVE_C shell variable. 1998-02-26 Raja R Harinath <harinath@cs.umn.edu> * gnome-x-checks.m4 (CPPFLAGS): Put $X_CFLAGS here, not in $CFLAGS. (GNOME_HAVE_SM): New var. `true' if we have libSM, `false' otherwise. 1998-02-19 Raja R Harinath <harinath@cs.umn.edu> * gnome.m4: Remove `GNOME_CHECK_GNOME'. 1998-02-18 Raja R Harinath <harinath@cs.umn.edu> * gnome-support.m4 (GNOME_SUPPORT_CHECKS): Replace `strcasecmp' if necessary. 1998-02-15 Raja R Harinath <harinath@cs.umn.edu> * Makefile.am (MACROS): Add `gnome-pthread-check.m4'. * gnome-pthread-check.m4: New file. Moved pthread check from gnome-x-checks.m4 to here. * gnome-objc-checks.m4: Use `gnome-pthread-check'. (OBJC_LIBS): New config var. * gnome-x-checks.m4: Add `AC_DEFINE(HAVE_LIBSM)' if `-lSM' is already part of `$x_libs'. Move pthread check to new file. Sat Feb 14 12:45:35 1998 Tom Tromey <tromey@cygnus.com> * Makefile.am (macros.dep): Use single quotes, not double quotes. Otherwise bash will interpret `$(...)' incorrectly. (EXTRA_DIST): Include macros.dep in distribution. 1998-02-14 Raja R Harinath <harinath@cs.umn.edu> * Makefile.am (macros.dep): Put back doubled `$'. We want the expansion to occur in the including Makefile, not here. Otherwise, there will be an extra `../' in the rule. Sat Feb 14 17:41:28 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * autogen.sh: multilple aclocal -I directories. Sat Feb 14 01:09:37 1998 Tom Tromey <tromey@cygnus.com> * Makefile.am (macros.dep): Removed extra `$' from rule. * gnome-x-checks.m4: Only check for -lSM if not already in x_libs. 1998-02-13 Raja R Harinath <harinath@cs.umn.edu> * Makefile.am (EXTRA_DIST): Add `autogen.sh'. * gnome-objc-checks.m4 (GNOME_INIT_OBJC): Solaris /bin/sh doesn't understand `test -e'. * autogen.sh: New file. * gnome.m4 (GNOME_INIT): Look for gnomeConf.sh in $libdir, where the installation actually installs it. * Makefile.am (macros.dep): New maintainer rule for handling automatic rebuilding of aclocal.m4 if any of the macros change. (MACROS): New variable. List of all `m4' macros in this directory. 1998-02-12 Raja R Harinath <harinath@cs.umn.edu> * gnome-support.m4: New file. Defines GNOME_SUPPORT_CHECKS for libsupport.a support. 1998-02-10 Raja R Harinath <harinath@cs.umn.edu> * gnome.m4: New file. Moved AC_CHECK_GNOME from `configure.in' to here, and renamed macro to GNOME_CHECK_GNOME. * gnome-x-checks.m4: Likewise, move and renaming AC_GNOME_X_CHECKS to GNOME_X_CHECKS. * aclocal-include.m4: New file. Defines AM_ACLOCAL_INCLUDE macro to provide extra search directories to `aclocal'. svn path=/trunk/; revision=262
* Added check for the table () system call in the linux kernel.Martin Baulig1998-06-142-2/+51
| | | | | | | | | 1998-06-13 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Added check for the table () system call in the linux kernel. svn path=/trunk/; revision=261
* Use AC_EGREP_CPP rather than AC_CHECK_HEADER. AC_CHECK_HEADER is fooled byRaja R Harinath1998-06-122-4/+17
| | | | | | | * gnome-x-checks.m4 (USE_DEVGTK): Use AC_EGREP_CPP rather than AC_CHECK_HEADER. AC_CHECK_HEADER is fooled by warnings. svn path=/trunk/; revision=260
* Look for awk. (CROSS_COMPILING): Remove conditional.Raja R Harinath1998-06-112-1/+7
| | | | | | | * gnome-support.m4 (AC_PROG_AWK): Look for awk. (CROSS_COMPILING): Remove conditional. svn path=/trunk/; revision=259
* changed things to use GTK_HAVE_ACCEL_GROUP instead of HAVE_DEVGTK...Manish Singh1998-06-111-2/+2
| | | | | | | | installed headers depending on config.h stuff is bad. -Yosh svn path=/trunk/; revision=258
* Gnome libs should compile against gtk 1.0.x and gtk 1.1 with a minimal amountGregory McLean1998-06-112-1/+6
| | | | | | | | | | of fuss. I'm not an auto* guru by any stretch of anyones imagination so I'm pretty confident that its not idiot proof. This should make the bulk of the people happy now. -- Greg svn path=/trunk/; revision=257
* quick and dirty check for devel gtk and define HAVE_DEVGTK if its found.EDT 1998 Gregory McLean1998-06-101-1/+2
| | | | | | | | | | | | | | | Tue Jun 9 22:55:20 EDT 1998 Gregory McLean <gregm@comstar.net> * macros/gnome-x-checks.m4: quick and dirty check for devel gtk and define HAVE_DEVGTK if its found. This should save us a bunch of work next time we go to do a release we won't have to chase around code that only works on the devel version of gtk. * libgnomeui/* bracketed all code that requires the devel branch of gtk.. I think I got it all. * acconfig.h : new tag HAVE_DEVGTK, use this to mark your changes that require the dev branch of gtk. svn path=/trunk/; revision=256
* added gnomecard directory in Makefile.amArturo Espinosa1998-06-092-2/+2
| | | | svn path=/trunk/; revision=255
* Fixed typo.Martin Baulig1998-06-081-1/+1
| | | | svn path=/trunk/; revision=254
* New automake conditional; (need_gnome_support): addedMartin Baulig1998-06-082-2/+9
| | | | | | | | | 1998-06-08 Martin Baulig <martin@home-of-linux.org> * gnome-support.m4 (CROSS_COMPILING): New automake conditional; (need_gnome_support): added `AC_SUBST(need_gnome_support)'. svn path=/trunk/; revision=253
* When cross-compiling, we now check for `$host_alias-buile-guile'.Martin Baulig1998-06-082-3/+15
| | | | | | | | | 1998-06-07 Martin Baulig <martin@home-of-linux.org> * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): When cross-compiling, we now check for `$host_alias-buile-guile'. svn path=/trunk/; revision=252
* Include `glibtop_machine.h' for Linux.Martin Baulig1998-06-081-1/+1
| | | | | | | | | 1998-06-07 Martin Baulig <martin@home-of-linux.org> * macros/gnome-libgtop-sysdeps.m4: Include `glibtop_machine.h' for Linux. svn path=/trunk/; revision=251
* Missing files - FedericoArturo Espinosa1998-06-063-36/+9
| | | | 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
* Looks also in $GNOME_LIBDIR; added failflag: GNOME_CHECK_GUILE(fail) willMartin Baulig1998-06-032-11/+83
| | | | | | | * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): Looks also in $GNOME_LIBDIR; added failflag: GNOME_CHECK_GUILE(fail) will abort if guile cannot be found. svn path=/trunk/; revision=243
* 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
* *** empty log message ***Martin Baulig1998-05-251-0/+5
| | | | svn path=/trunk/; revision=232
* Set this to true on SunOS.Martin Baulig1998-05-241-1/+1
| | | | | | | * gnome-libgtop-sysdeps.m4 (GNOME_LIBGTOP_HOOK): (libgtop_use_machine_h): Set this to true on SunOS. svn path=/trunk/; revision=231
* *** empty log message ***Martin Baulig1998-05-231-0/+6
| | | | svn path=/trunk/; revision=230
* New file. Imported from `configure.in' in GNU fileutils 3.16. It does allMartin Baulig1998-05-231-409/+255
| | | | | | | | * gnome-fileutils.m4 (GNOME_FILEUTILS_CHECKS): New file. Imported from `configure.in' in GNU fileutils 3.16. It does all the checks that are needed for the diskusage applet. svn path=/trunk/; revision=229
* Initial revisionMartin Baulig1998-05-221-0/+574
| | | | svn path=/trunk/; revision=225
* New file. Checks whether libgtop is installed and reads itsMartin Baulig1998-05-222-0/+90
| | | | | | | | | * gnome-libgtop-check.m4 (GNOME_LIBGTOP_HOOK): New file. Checks whether libgtop is installed and reads its `libgtopConf.sh' file if it can be found. Defines HAVE_LIBGTOP on success and provides HAVE_LIBGTOP automake conditional. svn path=/trunk/; revision=224
* Removed unwanted AC_WITH(sysdeps).Martin Baulig1998-05-221-35/+19
| | | | svn path=/trunk/; revision=223
* Fixed typo.Martin Baulig1998-05-221-1/+1
| | | | svn path=/trunk/; revision=222
* New file. (libgtop_sysdeps_dir): sysdeps directory libgtop uses.Martin Baulig1998-05-221-0/+79
| | | | | | | | | | | | * gnome-libgtop-sysdeps.m4 (GNOME_LIBGTOP_SYSDEPS): New file. (libgtop_sysdeps_dir): sysdeps directory libgtop uses. (libgtop_use_machine_h): define HAVE_GLIBTOP_MACHINE_H if this is `yes'. (libgtop_need_server): we only need the libgtop server, when this has a value of `yes'. Defines NEED_LIBGTOP and NEED_LIBGTOP automake conditional. svn path=/trunk/; revision=221
* Fix typo.Raja R Harinath1998-05-201-1/+1
| | | | svn path=/trunk/; revision=220
* New check. (sys_errlist): Check for this variable, needed for `strerror'.Raja R Harinath1998-05-202-15/+40
| | | | | | | | | * gnome-support.m4 (strerror): New check. (sys_errlist): Check for this variable, needed for `strerror'. (program_invocation_name, program_invocation_short_name): Change method used to check for these. svn path=/trunk/; revision=219
* 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
* Support for NOCONFIGURE env variable -migArturo Espinosa1998-05-141-0/+4
| | | | svn path=/trunk/; revision=212
* Remove simple-minded check for `gtk+'.Raja R Harinath1998-05-102-18/+5
| | | | | | * autogen.sh: Remove simple-minded check for `gtk+'. svn path=/trunk/; revision=211
* 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
* Pass the results of the environment variable ACLOCAL_FLAGS to aclocal.Owen Taylor1998-04-252-1/+8
| | | | | | | | | | | Fri Apr 24 16:43:38 1998 Owen Taylor <otaylor@gtk.org> * autogen.sh: Pass the results of the environment variable ACLOCAL_FLAGS to aclocal. This allows, for instance, ACLOCAL_FLAGS="-I /home/owen/share/aclocal/" autogen.sh svn path=/trunk/; revision=192
* 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
* Use test -f instead of test -e; As suggested by Sebastian Wilhelmi 0-migArturo Espinosa1998-04-231-1/+1
| | | | svn path=/trunk/; revision=186
* 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
* Fix for gedit compilation -migArturo Espinosa1998-04-221-13/+17
| | | | svn path=/trunk/; revision=181
* 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
* added to ignore generated files.EDT 1998 Gregory McLean1998-04-191-0/+5
| | | | | | | | Sun Apr 19 09:38:36 EDT 1998 Gregory McLean <gregm@comstar.net> * ee/doc/.cvsignore: added to ignore generated files. svn path=/trunk/; revision=166
* Updated the gtk check to check for 1.0.0EDT 1998 Gregory McLean1998-04-191-1/+1
| | | | | | | | Sun Apr 19 01:35:53 EDT 1998 Gregory McLean <gregm@comstar.net> * gnome-x-checks.m4: Updated the gtk check to check for 1.0.0 svn path=/trunk/; revision=165
* 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