aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implemented new panel groups as suggested on gnome-hackersMichael Fulbright1999-02-262-2/+2
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=706
* Require LibGTop >= 1.0.0.Martin Baulig1999-02-252-3/+3
| | | | | | | | 1999-02-25 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-checks.m4: Require LibGTop >= 1.0.0. svn path=/trunk/; revision=702
* Fixes for release.Elliot Lee1999-02-251-4/+4
| | | | | | Fixes for release. svn path=/trunk/; revision=695
* look in the right prefixElliot Lee1999-02-251-3/+4
| | | | svn path=/trunk/; revision=693
* Updated spanish language file;Pablo Saratxaga1999-02-258-14/+22
| | | | | | and some i18n improvements svn path=/trunk/; revision=692
* Require LibGTop >= 0.100.0.Martin Baulig1999-02-242-1/+5
| | | | | | | | 1999-02-24 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-checks.m4: Require LibGTop >= 0.100.0. svn path=/trunk/; revision=690
* Save the owner/organizer of the event. (ical_object_create_from_vobject):Miguel de Icaza1999-02-246-2/+41
| | | | | | | | | | | | | 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c (ical_object_to_vobject): Save the owner/organizer of the event. (ical_object_create_from_vobject): Load the owner/organizer of the event. * gncal-full-day.c (delete_occurance): Assign child to data (fixes crash on "delete this occurrance"). svn path=/trunk/; revision=689
* Only add the compilation warnings if the compiler is GCC.Miguel de Icaza1999-02-232-0/+12
| | | | | | | | | 1999-02-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * compiler-flags.m4: Only add the compilation warnings if the compiler is GCC. svn path=/trunk/; revision=684
* tzname issuesTimur Bakeyev1999-02-225-4/+38
| | | | | | | | | 1999-02-22 Timur Bakeyev <mc@bat.ru> * configure.in: Added check for langinfo.h and for representation of timezone info - tzname or tm.tm_zone. svn path=/trunk/; revision=682
* ZVT_LIBSTimur Bakeyev1999-02-202-0/+6
| | | | | | | | 1999-02-20 Timur Bakeyev <mc@bat.ru> * gnome.m4: Added and exported ZVT_LIBS. svn path=/trunk/; revision=680
* Made use of g_get_{user,real}_name() instead of our own home-brew...Tomas Ogren1999-02-203-48/+9
| | | | | | | | | 1999-02-20 Tomas Ogren <stric@ing.umu.se> * main.c (init_username): Made use of g_get_{user,real}_name() instead of our own home-brew... svn path=/trunk/; revision=679
* x Wonderful, now we have autoconf magic, --enable-pvm=[yes,no]Alan Aspuru Guzik1999-02-191-1/+1
| | | | | | Alan Aspuru-Guzik svn path=/trunk/; revision=678
* will define fonts via fontset. Friendlier to locales that use iso8859-[^1]Sergey I. Panov1999-02-1817-58/+131
| | | | | | | | | | | | | * gnome-month-item.c,gnome-month-item.h,goto.c,mark.h, month-view.c,prop.c,quick-view.c,year-view.c: will define fonts via fontset. Friendlier to locales that use iso8859-[^1] and koi8-r encodings. Does not solve problem for Asian languiges --- better solution is needed (e.g. standart GNOME fontstyles defined in gtkrc). Interpol svn path=/trunk/; revision=677
* svn path=/trunk/; revision=675Owen Taylor1999-02-182-1/+5
| | | | | | Tue Feb 16 19:35:42 1999 Owen Taylor <otaylor@redhat.com> svn path=/trunk/; revision=675
* Updated to install desktop into $(datadir)/gnome/appsMichael Fulbright1999-02-182-2/+2
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=674
* added danish language to the menu filePablo Saratxaga1999-02-172-4/+8
| | | | svn path=/trunk/; revision=673
* Internationalization Police (Interpol)Sergey I. Panov1999-02-163-14/+19
| | | | | | | * main.c: Use N_() macro for color settings labels in color_props structure. svn path=/trunk/; revision=672
* Indentation fixes.Federico Mena Quintero1999-02-163-2/+6
| | | | | | | | 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx> * goto.c (goto_dialog): Indentation fixes. svn path=/trunk/; revision=670
* Made a private copy of what localtime() returns, to be able to keep theTomas Ogren1999-02-163-10/+15
| | | | | | | | | 1999-02-15 Tomas Ogren <stric@ing.umu.se> * goto.c: Made a private copy of what localtime() returns, to be able to keep the data after more calls to localtime(). svn path=/trunk/; revision=669
* BSDI's shell fix..Timur Bakeyev1999-02-162-2/+10
| | | | | | | | | 1999-02-15 Timur Bakeyev <mc@bat.ru> * gnome-gettext.m4: Work around a bug in BSDI's native sh, which in- correctly expands ${LINGUAS=$ALL_LINGUAS}. Switched to if/fi variant. svn path=/trunk/; revision=665
* Reworked the paragraph formatting dialog.Chris Lahey1999-02-152-26/+170
| | | | | | | | Bumped the version number. Reworked macros/gnome-print-check.m4. Added a plugin to plugins/.cvsignore. svn path=/trunk/; revision=664
* Gnomecal now autosaves all the time.Arturo Espinosa1999-02-1213-6/+63
| | | | | | | | Gnomecal now autosaves all the time. Miguel. svn path=/trunk/; revision=662
* Applied a patch from Kenneth Stailey; use $CFLAGS when invoking $OBJC soMartin Baulig1999-02-102-1/+7
| | | | | | | | | | 1999-02-10 Martin Baulig <martin@home-of-linux.org> * gnome-objc-checks.m4: Applied a patch from Kenneth Stailey; use $CFLAGS when invoking $OBJC so the user can add additional include paths. svn path=/trunk/; revision=658
* Removed the gtk_widget_realize call.Tomas Ogren1999-02-093-2/+4
| | | | | | | | 1999-02-09 Tomas Ogren <stric@ing.umu.se> * main.c: Removed the gtk_widget_realize call. svn path=/trunk/; revision=657
* Added Korean translations.Changwoo Ryu1999-02-063-0/+8
| | | | | | | | 1999-02-06 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * gncal.desktop: Added Korean translations. svn path=/trunk/; revision=655
* Don't add warning and compiler flags to the CFLAGS and CXXFLAGS whenMartin Baulig1999-02-052-2/+17
| | | | | | | | | | | 1999-02-05 Martin Baulig <martin@home-of-linux.org> * compiler-flags.m4: Don't add warning and compiler flags to the CFLAGS and CXXFLAGS when they're cached. This fixes the problem that CFLAGS and CXXFLAGS get longer and longer each time you run a `config.status --recheck'. svn path=/trunk/; revision=646
* New convenience function to create a properly-configured date editorFederico Mena Quintero1999-02-053-8/+37
| | | | | | | | | 1999-02-04 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (date_edit_new): New convenience function to create a properly-configured date editor widget. svn path=/trunk/; revision=644
* Make the calendar start weeks on Monday if appropriate.Federico Mena Quintero1999-02-0511-20/+113
| | | | | | | | | | | | | | | | | | | 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_new): Make the calendar start weeks on Monday if appropriate. (gncal_week_view_time_format_changed): New function to notify the week view that the time format has changed. * gncal-day-panel.c (gncal_day_panel_new): Make the calendar start weeks on Monday if appropriate. (gncal_day_panel_time_format_changed): New function to notify the day panel that the time format has changed. * gnome-cal.c (gnome_calendar_time_format_changed): Tell the day and week views that the time format has changed. svn path=/trunk/; revision=643
* New automake conditional that's always false.Martin Baulig1999-02-044-2/+43
| | | | | | | | | | | | | | | | | 1999-02-04 Martin Baulig <martin@home-of-linux.org> * aclocal-include.m4 (INSIDE_GNOME_COMMON): New automake conditional that's always false. * gnome-common.m4: New file. This defines a `GNOME_COMMON_INIT' macro that should be used in all GNOME Applications outside the CVS tree. * Makefile.am: If we are `INSIDE_GNOME_COMMON', install all $(MACROS), autogen.sh, gnome-common.m4 and a newly created gnome-macros.dep in `$(datadir)/aclocal/gnome'. svn path=/trunk/; revision=640
* Set the title of the event editor window.Federico Mena Quintero1999-02-023-0/+7
| | | | | | | | | 1999-02-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (event_editor_init): Set the title of the event editor window. svn path=/trunk/; revision=639
* Do not remove the clipping rectangle here.Federico Mena Quintero1999-02-015-2/+13
| | | | | | | | | | | | | 1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_expose): Do not remove the clipping rectangle here. * view-utils.c (view_utils_draw_events): Remove the clipping rectangle here, since the user of this function should not know about it. svn path=/trunk/; revision=638
* Improve this draw routine. Now it can split the text in lines and fit asMiguel de Icaza1999-02-017-106/+268
| | | | | | | | | | | | | | 1999-01-30 Miguel de Icaza <miguel@nuclecu.unam.mx> * view-utils.c (view_utils_draw_events): Improve this draw routine. Now it can split the text in lines and fit as many events as possible. (nicetime): Return strings without spaces at the beginning. * gncal-day-view.c (gncal_day_view_expose): Move clip-clear operation here. svn path=/trunk/; revision=637
* if the user clicks on an event that is an occurance, the menu will allowJason Tackaberry1999-01-315-30/+108
| | | | | | | | | | | | | | | | 1999-01-29 Jason Tackaberry <tack@dok.org> * gncal-full-day.c (child_popup_menu): if the user clicks on an event that is an occurance, the menu will allow the user to delete all occurances of this event, or just the selected occurance. (delete_occurance): added. * eventedit.c (append_exception): force the clist to select the new exception. (fixes segfault) (delete_exception): if the last exception in the clist is deleted, move the selection index up. (fixes segfault) svn path=/trunk/; revision=636
* Add --hidden key to hide the calendar at startup. Only works with GNOMEMiguel de Icaza1999-01-295-16/+79
| | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (parse_an_arg): Add --hidden key to hide the calendar at startup. Only works with GNOME window managers though :-( svn path=/trunk/; revision=635
* Schedule an alarm for midnight to change theMiguel de Icaza1999-01-2911-31/+127
| | | | | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_init_alarms): Schedule an alarm for midnight to change the calendar_day_begin/calendar_day_end. * alarm.c (alarm_ready): If we reschedule, there is no need to activate any pending alarms. svn path=/trunk/; revision=634
* Insert the summary text here. (child_focus_in): No need to raise theFederico Mena Quintero1999-01-285-136/+139
| | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_new): Insert the summary text here. (child_focus_in): No need to raise the window, since we have Spiffo(tm) layout code. Boy, this is old code. (gncal_full_day_focus_child): Now that GtkText works better, we can avoid synthesizing a click which was causing grief, anyway. (child_button_press): Grab the focus before popping up the menu. * layout.c (find_index): Added a sanity check. * gncal-full-day.c (child_destroy): Unmap and unrealize the child before unparenting/destroying it. (child_unrealize): Unrealize the widget. What was I thinking? (child_new): Save the focus_out_event signal connection id in Child structure (in a new field). (child_destroy): Disconnect from the focus_out_event signal, since we don't want to get such an event when the widget is destroyed. (gncal_full_day_destroy): Destroy the children properly; it was leaking memory. svn path=/trunk/; revision=633
* Warn if the calendar file has changed.Miguel de Icaza1999-01-287-36/+118
| | | | | | | | | | | | 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (save_calendar_cmd): Warn if the calendar file has changed. * calendar.c (calendar_load, calendar_save): Keep track of the modification time for the calendar file. svn path=/trunk/; revision=632
* Re-order logRaja R Harinath1999-01-281-5/+5
| | | | svn path=/trunk/; revision=622
* Add recognition of 2 more libraries - pthreads and pthread-support buildTimur Bakeyev1999-01-242-1/+15
| | | | | | | | | Sun Jan 24 03:59:32 1999 Timur Bakeyev <mc@bat.ru> * gnome-pthread-check.m4: Add recognition of 2 more libraries - pthreads and pthread-support build in libc (as on BSDI). svn path=/trunk/; revision=619
* New macro. This checks whether you have the LibGTop documentationMartin Baulig1999-01-242-0/+34
| | | | | | | | | | | 1999-01-23 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-checks.m4 (GNOME_LIBGTOP_DOCU): New macro. This checks whether you have the LibGTop documentation installed and defines `HAVE_LIBGTOP_DOCU' if appropriate. Also provides automake conditional. svn path=/trunk/; revision=618
* Applied a patch from Owen Taylor to keep this in sync withMartin Baulig1999-01-212-1/+9
| | | | | | | | | | | | AC_GTK_GETTEXT from gtk+/acinclude.m4. 1999-01-20 Martin Baulig <martin@home-of-linux.org> * acinclude.m4 (ac_result): Unset CATOBJEXT so that the macros and Makefiles correctly handle disabling NLS when no gettext is found. svn path=/trunk/; revision=616
* Only trap printable characters such that hotkeys work. (UNSELECT_TIMEOUT):Nat Friedman1999-01-205-48/+89
| | | | | | | | | | | | | 1999-01-20 Nat Friedman <nat@nat.org> * gncal-full-day.c (gncal_full_day_key_press): Only trap printable characters such that hotkeys work. (UNSELECT_TIMEOUT): Changed to 0. Much saner behavior. * prop.c (properties): Connect gnome_help_pbox_display to the GnomePropertyBox help button. svn path=/trunk/; revision=615
* Rewrite to be saner. Don't limit yourself to a fixed set of names for theRaja R Harinath1999-01-202-13/+13
| | | | | | | * gnome-cxx-check.m4 (GNOME_CHECK_CXX): Rewrite to be saner. Don't limit yourself to a fixed set of names for the compiler. svn path=/trunk/; revision=614
* Do not grab the mouse here (it was being grabbed incorrectly, anyways).Federico Mena Quintero1999-01-203-50/+78
| | | | | | | | | | | | 1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.c (quick_view_do_popup): Do not grab the mouse here (it was being grabbed incorrectly, anyways). (quick_view_map_event): Grab the mouse when the window is mapped. This avoids the ugly "while (xGrabPointer () != Success)" hack. (quick_view_button_release): Handle button releases here. svn path=/trunk/; revision=613
* initial rev.Marcin Gorycki1999-01-191-0/+15
| | | | svn path=/trunk/; revision=611
* do gtk_widget_realize on the toplevel window..Tomas Ogren1999-01-193-0/+6
| | | | | | | | 1999-01-19 Tomas Ogren <stric@ing.umu.se> * main.c: do gtk_widget_realize on the toplevel window.. svn path=/trunk/; revision=610
* Suggest using libtool 1.2dArturo Espinosa1999-01-191-1/+1
| | | | svn path=/trunk/; revision=606
* Make the little calendar start up with the correct date.Federico Mena Quintero1999-01-143-2/+17
| | | | | | | | | 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-panel.c (gncal_day_panel_new): Make the little calendar start up with the correct date. svn path=/trunk/; revision=605
* Add the month to the date range display label.Federico Mena Quintero1999-01-143-4/+9
| | | | | | | | | 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_set): Add the month to the date range display label. svn path=/trunk/; revision=604
* x GMoiss about box fixedAlan Aspuru Guzik1999-01-131-1/+1
| | | | | | | | | | | x Filenames changed to the file structure and they now use simulation struct x Everything now uses glib x 0.99.2 compliant x May not work (commit for rulox) Alan Aspuru Guzik svn path=/trunk/; revision=596
* x I must leave - Incomplete commit for bit to hack in the nightAlan Aspuru Guzik1999-01-121-1/+1
| | | | | | | | x Name changes, I still have to finish the file names x Function API changes. Alan Aspuru Guzik svn path=/trunk/; revision=594
* (This is a patch from Nix <nix@esperi.demon.co.uk>) Brought C++ languageTero Pulkkinen1999-01-111-4/+10
| | | | | | | | | | | (This is a patch from Nix <nix@esperi.demon.co.uk>) * compiler-flags.m4 (GNOME_CXX_WARNINGS): Brought C++ language compliance into line with C language compliance. Fixed typo (`C' for `C++'). (--enable-iso-cxx): New flag to *permit* -pedantic rather than requiring it. svn path=/trunk/; revision=592
* Use 0.0########## instead. Looks saner.Miguel de Icaza1999-01-112-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/format.c (format_value): Use 0.0########## instead. Looks saner. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/workbook.c (change_auto_expr_menu): Use the event->button field to get the popup menu to behave correctly. (workbook_setup_auto_calc): Put the information display inside a GtkFrame. * src/item-bar.c (set_cursor): This routine can be invoked before we are realized. * src/workbook.c (sheet_label_button_press): We need to do the page flipping ourselves, as the GtkNotebook wont take events if they are not for a window it knows about. * src/widget-editable-label.c (el_button_press_event): Forward events to parent. * src/parser.y: New non-terminal "cellref". Make this non-terminal include CELLREF and SHEETREF!CELLREF constructions. * src/expr.c: Changed the whole module according to the dropping of VALUE_CELLREF. * src/expr.h: VALUE_CELLREF did not make much sense. Better add to the ExprTree union a CellRef field specifically for OPER_VAR nodes. svn path=/trunk/; revision=591
* Converted some more stuff to use the standards.Nat Friedman1999-01-093-38/+16
| | | | | | | | 1999-01-08 Nat Friedman <nat@nat.org> * main.c: Converted some more stuff to use the standards. svn path=/trunk/; revision=590
* New function to create the status bar. (setup_menu): Install menu hints.Nat Friedman1999-01-083-50/+114
| | | | | | | | | | | | 1999-01-08 Nat Friedman <nat@nat.org> * main.c (setup_appbar): New function to create the status bar. (setup_menu): Install menu hints. Menu items updated to match the standards. New Settings menu created. svn path=/trunk/; revision=589
* Couple of changes:Arturo Espinosa1999-01-081-0/+4
| | | | | | | | | | | | | Couple of changes: configure tests to make gnome-libs prepared for a potential release of Imlib 1.9. Mime-info fix for the tar-problem in gmc. Miguel. svn path=/trunk/; revision=587
* Thu, 7 Jan 1999 16:59:35 +0100 Paolo Molaro <lupus@debian.org>Paolo Molaro1999-01-071-1/+4
| | | | | | | | * macros/gnome-objc-checks.m4: enable egcc as an objc compiler. * obgtk/obgtkLabel.m: use gtk_label_set_text (the interface ni /obgtkLabel.mh is the same). svn path=/trunk/; revision=586
* Added gnome-print-check.m4 to MACROSNat Friedman1999-01-062-0/+5
| | | | | | | | 1999-01-06 Nat Friedman <nat@nat.org> * Makefile.am (MACROS): Added gnome-print-check.m4 to MACROS svn path=/trunk/; revision=584
* A new autoconf macro to check for libgnomeprint. I've never writtenNat Friedman1999-01-061-0/+34
| | | | | | | one of these before, so please let me know if I messed up :-) The macro is GNOME_PRINT_CHECK. svn path=/trunk/; revision=582
* Include dirent.h before checking whether `scandir' needs to be declared.Raja R Harinath1999-01-063-4/+12
| | | | | | | | * gnome-support.m4: Include dirent.h before checking whether `scandir' needs to be declared. * need-declaration.m4: Revert unlogged change. svn path=/trunk/; revision=580
* Fix the scandir detectionArturo Espinosa1999-01-062-1/+4
| | | | svn path=/trunk/; revision=579
* Applied patch for DG/UX from Marc J. Fraioli:Martin Baulig1999-01-061-1/+1
| | | | | | | * macros/gnome-support.m4: Check whether we need to declare scandir (). * support/gnomesupport.awk: Declare scandir () if necessary. svn path=/trunk/; revision=576
* More fixes for 0_99_2Arturo Espinosa1999-01-051-1/+1
| | | | svn path=/trunk/; revision=573
* Minor `make distcheck' fixes.Martin Baulig1999-01-041-0/+1
| | | | svn path=/trunk/; revision=568
* Wed, 30 Dec 1998 23:04:25 +0100 [Vincent]Vincent Renardias1998-12-313-6/+6
| | | | | | * Major translation updates. svn path=/trunk/; revision=567
* s/g_copy_strings/g_strconcat/Jeff Garzik1998-12-319-14/+20
| | | | svn path=/trunk/; revision=566
* Added and exported GNOME_APPLET_LIBS.Jeff Garzik1998-12-232-0/+6
| | | | svn path=/trunk/; revision=559
* Rewrote the old and broken alarm system. It never actually workedMiguel de Icaza1998-12-1715-47/+198
| | | | | | | | | | | | | | | | | 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx> Rewrote the old and broken alarm system. It never actually worked properly. Now it works properly, and I figured a nice way to get the Audio alarm do something nicer (it is now like an alarm clock :-). * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to actually distinguish which alarm was triggered. * alarm.c (alarm_ready): The code was only activating the first alarm. Reschedule the timer upon delivery of an alarm. svn path=/trunk/; revision=535
* Merge the changes from GNOME_STABLE into HEAD.Arturo Espinosa1998-12-172-23/+5
| | | | | | | | Merge the changes from GNOME_STABLE into HEAD. Miguel. svn path=/trunk/; revision=533
* Add the hacked version of the gettext macros that is used in Gtk+ here.Martin Baulig1998-12-163-0/+357
| | | | | | | | | | | 1998-12-15 Martin Baulig <martin@home-of-linux.org> * gnome-gettext.m4: Add the hacked version of the gettext macros that is used in Gtk+ here. * autogen.sh: Accept both AM_GNU_GETTEXT and AM_GNOME_GETTEXT. svn path=/trunk/; revision=526
* Just set the version number to 0.99.0 to keep it in sync with the restMartin Baulig1998-12-162-3/+3
| | | | | | | | | | | of GNOME. 1998-12-15 Martin Baulig <martin@home-of-linux.org> Released LibGTop 0.99.0 which is a feature-freezed version for GNOME 1.0. svn path=/trunk/; revision=525
* All parts of GNOME will now require LibGTop >= 0.30.0 which is the latestMartin Baulig1998-12-152-1/+7
| | | | | | | | | | 1998-12-15 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: All parts of GNOME will now require LibGTop >= 0.30.0 which is the latest version from CVS and already feature-freezed for GNOME 1.0. svn path=/trunk/; revision=524
* Use the allocation size instead of the old fields in the canvas structure.Federico Mena Quintero1998-12-157-8/+17
| | | | | | | | | 1998-12-14 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Use the allocation size instead of the old fields in the canvas structure. svn path=/trunk/; revision=523
* Use gnome_dialog_set_parent. ditto ditto.Miguel de Icaza1998-12-1011-12/+34
| | | | | | | | | | 1998-12-09 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. * goto.c (goto_dialog): ditto * prop.c (properties): ditto. svn path=/trunk/; revision=522
* Fixed typo, from Markus Linnala <maage@cs.tut.fi>Jeff Garzik1998-12-101-1/+1
| | | | svn path=/trunk/; revision=519
* GNOME PIM livesMichael Fulbright1998-12-0910-16/+12
| | | | | | Dr Mike <drmike@redhat.com> svn path=/trunk/; revision=518
* Added gnome-orbit-check.m4.Martin Baulig1998-12-091-0/+1
| | | | svn path=/trunk/; revision=516
* Make this work with more than one directory.Martin Baulig1998-12-092-1/+6
| | | | | | | | | 1998-12-09 Martin Baulig <martin@home-of-linux.org> * aclocal-include.m4 (AM_ACLOCAL_INCLUDE): Make this work with more than one directory. svn path=/trunk/; revision=515
* Removed gnome-libgtop-sysdeps.m4 here.Martin Baulig1998-12-091-1/+0
| | | | svn path=/trunk/; revision=514
* Moved into the LibGTop module. This file contains too much stuff thatMartin Baulig1998-12-092-249/+6
| | | | | | | | | | 1998-12-08 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Moved into the LibGTop module. This file contains too much stuff that should only be used internally in LibGTop, so it's better to have it there. svn path=/trunk/; revision=513
* Ok, the check for NO-AUTO-GEN is now working. This was borking up theMark Crichton1998-12-091-1/+1
| | | | | | | | | | Ok, the check for NO-AUTO-GEN is now working. This was borking up the gnome-guile compile. (It was testing for $srcdir/configure.in/NO-AUTO-GEN instead of $srcdir/NO-AUTO-GEN) Mark Crichton svn path=/trunk/; revision=512
* test -e is broken in Solaris /bin/sh, use test -r insteadFrederic Devernay1998-12-081-3/+3
| | | | svn path=/trunk/; revision=511
* Make sure aclocal.m4 works before invoking gettextize.Martin Baulig1998-12-081-0/+2
| | | | svn path=/trunk/; revision=510
* Make sure aclocal.m4 exists before making it writable.Martin Baulig1998-12-081-1/+1
| | | | svn path=/trunk/; revision=509
* Invoke gettextize with the --copy parameter to prevent it from makingMartin Baulig1998-12-061-1/+3
| | | | | | | aclocal.m4 a symlink to a place where normal people don't have write access. After that do a chmod on that file so we really can write it. svn path=/trunk/; revision=508
* Recognice OpenBSD as a valid system and use the `freebsd' sysdepsMartin Baulig1998-12-062-1/+6
| | | | | | | | | 1998-12-06 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Recognice OpenBSD as a valid system and use the `freebsd' sysdeps directory for it. svn path=/trunk/; revision=507
* clear GUILE_LIBS and GUILE_INCS if guile isn't there (quick fix)Manish Singh1998-12-062-0/+6
| | | | | | | | | * gnome-guile-checks.m4: clear GUILE_LIBS and GUILE_INCS if guile isn't there (quick fix) -Yosh svn path=/trunk/; revision=506
* Added --copy option to libtoolize. This stops libtoolize fromOle J. Tetlie1998-12-061-1/+1
| | | | | | | symlinking config.log to a location that normal users don't have write access to (on my system, at least). svn path=/trunk/; revision=505
* Recognice NetBSD as a valid system and use the `freebsd' sysdeps directoryMartin Baulig1998-12-062-1/+6
| | | | | | | | | 1998-12-05 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: Recognice NetBSD as a valid system and use the `freebsd' sysdeps directory for it. svn path=/trunk/; revision=504
* Define this to be the same as LINUX_VERSION_CODE either fromMartin Baulig1998-12-042-0/+30
| | | | | | | | | | 1998-12-03 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4 (GLIBTOP_LINUX_VERSION_CODE): Define this to be the same as LINUX_VERSION_CODE either from <linux/version.h> or from the running kernel. svn path=/trunk/; revision=503
* Only check for the linux table () function on Linux systems.Martin Baulig1998-12-031-42/+41
| | | | svn path=/trunk/; revision=502
* gncal: Fix server registration to give proper id/kindElliot Lee1998-12-032-2/+2
| | | | | | | | gncal: Fix server registration to give proper id/kind gnome-run: Update for new gnome_execute_*() retvals. svn path=/trunk/; revision=501
* "Improve" indentation and messages somewhat.Raja R Harinath1998-12-032-69/+78
| | | | | | * autogen.sh: "Improve" indentation and messages somewhat. svn path=/trunk/; revision=500
* Make it with builddir != srcdir again.Martin Baulig1998-12-031-3/+3
| | | | svn path=/trunk/; revision=499
* s/gtk_window_position/gtk_window_set_position/Sebastian Wilhelmi1998-12-024-12/+12
| | | | | | | s/gtk_window_position/gtk_window_set_position/ s/gtk_container_border_width/gtk_container_set_border_width/ svn path=/trunk/; revision=498
* Platform fixes. grep -q is not portable, do not use.Jeff Garzik1998-12-022-7/+12
| | | | svn path=/trunk/; revision=496
* Run gettextize if needed. : Run libtoolize only if configure.in hasChangwoo Ryu1998-12-012-2/+35
| | | | | | | | | 1998-12-01 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * autogen.sh: Run gettextize if needed. : Run libtoolize only if configure.in has "^AM_PROG_LIBTOOL". svn path=/trunk/; revision=495
* Re-arranged tests such that "--without-gnome" is fully supported. Not onlyJeff Garzik1998-11-302-55/+72
| | | | | | | | * gnome.m4: Re-arranged tests such that "--without-gnome" is fully supported. Not only is the logic now correct, programs can test "want_gnome=yes/no" for the results of this arg. svn path=/trunk/; revision=494
* Remove more deprecated gnome_dialog functionsManish Vachharajani1998-11-302-2/+2
| | | | svn path=/trunk/; revision=493
* Require GTK 1.1.5 -migArturo Espinosa1998-11-291-1/+1
| | | | svn path=/trunk/; revision=492
* All parts of GNOME will now require LibGTop >= 0.29.0 which is the latestMartin Baulig1998-11-272-1/+6
| | | | | | | | | 1998-11-27 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4: All parts of GNOME will now require LibGTop >= 0.29.0 which is the latest version from CVS. svn path=/trunk/; revision=490
* . libgnome/gnome-mime.c: read gnomedatadir/mime.types as well . InElliot Lee1998-11-271-10/+2
| | | | | | | | . libgnome/gnome-mime.c: read gnomedatadir/mime.types as well . In general, move data files not associated with any specific directory into a 'gnome-data' directory. svn path=/trunk/; revision=489
* Following names changed to bring MC in accordance with curses.m4:Pavel Roskin1998-11-261-1/+1
| | | | | | | | | NO_COLOR_SUPPORT -> NO_COLOR_CURSES SUNOS_CURSES -> USE_SUNOS_CURSES HAS_CURSES defined in acconfig.h config.h.in removed from CVS as it is generated by autoheader svn path=/trunk/; revision=488
* Add missing declaration for GtkWidget *sw.Andrew T. Veliath1998-11-242-0/+2
| | | | svn path=/trunk/; revision=487
* Update GtkClist usage.Miguel de Icaza1998-11-243-8/+14
| | | | | | | | 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * eventedit.c (ee_rp_init_exceptions): Update GtkClist usage. svn path=/trunk/; revision=486
* err, meant to say gtk changes not gtk clist change :)Andrew T. Veliath1998-11-241-1/+1
| | | | svn path=/trunk/; revision=485
* Use gtk_scrolled_window_add_with_viewport instead of gtk_container_addAndrew T. Veliath1998-11-243-2/+8
| | | | | | | | * gncal-day-panel.c (gncal_day_panel_new): Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add (gtk_clist change). svn path=/trunk/; revision=484
* use GPOINTER_TO_INTHerbert V. Riedel1998-11-248-8/+15
| | | | | | | | | | 1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org> * eventedit.c: use GPOINTER_TO_INT * gncal-todo.c: same. svn path=/trunk/; revision=483
* DittoHavoc Pennington1998-11-242-0/+4
| | | | svn path=/trunk/; revision=482
* Fixed the popt event parsing callback to have the correct number ofMatthew Wilson1998-11-223-110/+115
| | | | | | | | | 1998-11-22 Matthew Wilson <msw@redhat.com> * main.c: Fixed the popt event parsing callback to have the correct number of arguments. This stops it from segfaulting. svn path=/trunk/; revision=481
* Changed the call to GNOME_GNORBA_CHECK to GNOME_GNORBA_HOOK([],$2). BeforeJames Henstridge1998-11-202-1/+8
| | | | | | | | | | | 1998-11-20 James Henstridge <james@daa.com.au> * gnome.m4(GNOME_INIT_HOOK): Changed the call to GNOME_GNORBA_CHECK to GNOME_GNORBA_HOOK([],$2). Before if you specified that the macro should not exit on errors, and you didn't have ORBit, the script would fail anyway. svn path=/trunk/; revision=480
* allow setting $OBJ_DIR to specify building in a subdirElliot Lee1998-11-201-4/+14
| | | | svn path=/trunk/; revision=479
* We need to check for <net/if_var.h> and conditionally include it beforeMartin Baulig1998-11-182-0/+17
| | | | | | | | | | 1998-11-17 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4: We need to check for <net/if_var.h> and conditionally include it before <net/if_isppp.h> in the code that check for I4B to make it work on FreeBSD 3.0. svn path=/trunk/; revision=478
* *** empty log message ***Marius Vollmer1998-11-181-0/+6
| | | | svn path=/trunk/; revision=477
* Add GUILE_LIBS to LIBS when checking whether guile works. Adding them toMarius Vollmer1998-11-181-1/+3
| | | | | | | | * gnome-guile-checks.m4: Add GUILE_LIBS to LIBS when checking whether guile works. Adding them to LDFLAGS does not work on all systems. (Thanks to Rusty Chris Holleman) svn path=/trunk/; revision=476
* Doh. Fixed stupid bug where the classification buttons were not being setFederico Mena Quintero1998-11-183-10/+17
| | | | | | | | | | | | | | 1998-11-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_classification_widgets): Doh. Fixed stupid bug where the classification buttons were not being set correctly. (ee_store_general_values_to_ical): Take into account the fact that radio group lists are stored in reverse order of insertion. * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the clist into. svn path=/trunk/; revision=475
* Use a scrolled window to put the clist into.Federico Mena Quintero1998-11-173-6/+19
| | | | | | | | | 1998-11-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (gncal_todo_init): Use a scrolled window to put the clist into. svn path=/trunk/; revision=474
* fix my email address in logAndrew T. Veliath1998-11-131-1/+1
| | | | svn path=/trunk/; revision=472
* Remove AC_DEFINE(HAVE_ORBIT). Add AM_CONDITIONAL for HAVE_ORBIT.Andrew T. Veliath1998-11-133-15/+32
| | | | | | | | | | | | 1998-11-12 Andrew T. Veliath <andrewv@usa.net> * gnome-orbit-check.m4: Remove AC_DEFINE(HAVE_ORBIT). Add AM_CONDITIONAL for HAVE_ORBIT. gnome-gnorba-check.m4: Same with HAVE_GNORBA. Change GNOME_ORBIT_HOOK and GNOME_GNORBA_HOOK to use AC_CACHE_CHECK, setting both gnome_cv_orbit_found and gnome_cv_gnorba_found. svn path=/trunk/; revision=471
* Add GNOME_GNORBA_CHECK if gnome-config is found. New GNOMEGNORBA_LIBSAndrew T. Veliath1998-11-134-2/+49
| | | | | | | | | | | | | | | | 1998-11-12 Andrew T. Veliath <andrewv@usa.net> * gnome.m4: (GNOME_INIT_HOOK): Add GNOME_GNORBA_CHECK if gnome-config is found. New GNOMEGNORBA_LIBS library variable (GNOMEGNORBA_LIBS is a superset of GNOMEUI_LIBS). Update GNOME_LIBDIR and GNOME_INCLUDEDIR to to include the required Gnorba info, if it is in a different location. * Makefile.am (MACROS): Add gnome-gnorba-check.m4 to Makefile. * gnome-gnorba-check.m4: New file. svn path=/trunk/; revision=470
* Remove easy-vsnprintf hack -- it doesn't work for Solaris 2.5 binariesRaja R Harinath1998-11-132-6/+7
| | | | | | | | * gnome-support.m4 (vsnprintf): Remove easy-vsnprintf hack -- it doesn't work for Solaris 2.5 binaries running on Solaris 2.6. From Frederic Devernay <devernay@istar.fr>. svn path=/trunk/; revision=468
* Backup the old file before saving the caledar.Miguel de Icaza1998-11-123-2/+27
| | | | | | | | | 1998-11-11 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_save): Backup the old file before saving the caledar. svn path=/trunk/; revision=467
* Changed a sprintf to a snprintf in vcc.yMichael Fulbright1998-11-082-4/+4
| | | | | | | | | | | Should vcc.c be under CVS control? I thought it was a derived file. This fixes gnomecard segfaulting when it tried to load a non-existant file on startup. Dr Mike <msf@redhat.com> svn path=/trunk/; revision=466
* Add ctype.hMiguel de Icaza1998-11-074-0/+7
| | | | | | | | 1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * calobj.c: Add ctype.h svn path=/trunk/; revision=465
* Fix stupid type (sterror_r -> strerror_r).Raja R Harinath1998-11-072-1/+5
| | | | | | * gnome-support.m4: Fix stupid type (sterror_r -> strerror_r). svn path=/trunk/; revision=463
* Set this unconditionally to `yes'. We'll soon be losing this variable.Raja R Harinath1998-11-052-10/+12
| | | | | | | * gnome-support.m4 (need_gnome_support): Set this unconditionally to `yes'. We'll soon be losing this variable. svn path=/trunk/; revision=462
* use the ORBit-supplied name service stubs (in lib -lORBitCosNaming)Sebastian Wilhelmi1998-11-031-1/+1
| | | | | | instead of compiling them again. svn path=/trunk/; revision=461
* poptimizationElliot Lee1998-11-032-54/+44
| | | | svn path=/trunk/; revision=460
* Add the offset from the beginning of the current time unitFederico Mena Quintero1998-11-033-8/+16
| | | | | | | | | | | | 1998-10-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c (gnome_calendar_direction): Add the offset from the beginning of the current time unit (day/month/etc), otherwise it does not work right, for example, you are on the 31st day of a month and the next month is a 30-day one and you jump to the next month. svn path=/trunk/; revision=459
* Added -Wshadow and -Woverloaded-virtual to the --enable-cxx-warnings=yesHavoc Pennington1998-10-291-1/+1
| | | | | | case. -Wshadow complains a *lot* about gtk-- and gtk--draw. svn path=/trunk/; revision=457
* Added new feature to get PPP/ISDN support:Martin Baulig1998-10-261-0/+56
| | | | | | | | | | | | | | | | | | | | enum { GLIBTOP_PPP_STATE_UNKNOWN = 0, GLIBTOP_PPP_STATE_HANGUP, GLIBTOP_PPP_STATE_ONLINE }; struct _glibtop_ppp { u_int64_t flags, state, /* GLIBTOP_PPP_STATE */ bytes_in, /* GLIBTOP_PPP_BYTES_IN */ bytes_out; /* GLIBTOP_PPP_BYTES_OUT */ }; Currently only implemented in the FreeBSD port with ISDN via I4B. - Martin svn path=/trunk/; revision=456
* Week view work in progress - FedericoArturo Espinosa1998-10-215-1/+327
| | | | svn path=/trunk/; revision=455
* Add ORBIT_IDL detection; fix failure flag.Andrew T. Veliath1998-10-212-4/+10
| | | | | | | * gnome-orbit-check.m4 (GNOME_ORBIT_HOOK): Add ORBIT_IDL detection; fix failure flag. svn path=/trunk/; revision=454
* Simple-minded copy of GNOME_COMPILE_WARNINGS that sets CXXFLAGSHavoc Pennington1998-10-181-0/+41
| | | | | | (GNOME_CXX_WARNINGS) svn path=/trunk/; revision=453
* Changed a lot of stuff not to use the layout code -- the month view's daysFederico Mena Quintero1998-10-1712-65/+496
| | | | | | | | | | | | | | | | | | | | | 1998-10-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.c: Changed a lot of stuff not to use the layout code -- the month view's days are too small to display layout usefully. Now they display a little list of the events in each day. We also have a popup menu for the days in the month view. * calendar.c (calendar_get_objects_in_range): Reverse the list so that it is returned in increasing order. * eventedit.c (event_editor_new_whole_day): New public function to create an event for the complete span of day_begin to day_end. * year-view.c (new_appointment): Use event_editor_new_whole_day(). * year-view.c (yv_popup_menu): Mark strings for i18n. svn path=/trunk/; revision=452
* Syncety sync -- don't you love it? - FedericoArturo Espinosa1998-10-162-38/+624
| | | | svn path=/trunk/; revision=451
* Syncety sync, work in progress for an actually useful month view - FedericoArturo Espinosa1998-10-154-576/+108
| | | | svn path=/trunk/; revision=450
* sync sync - FedericoArturo Espinosa1998-10-142-284/+34
| | | | svn path=/trunk/; revision=449
* Sync - FedericoArturo Espinosa1998-10-132-6/+28
| | | | svn path=/trunk/; revision=448
* Sync sync, do not try to compile - FedericoArturo Espinosa1998-10-132-0/+200
| | | | svn path=/trunk/; revision=447
* The interval was never being loaded from the spin button.Ji Lee1998-10-123-6/+23
| | | | | | | | | 1998-10-12 Ji Lee <g@ucsd.edu> * eventedit.c (ee_store_recur_rule_to_ical): The interval was never being loaded from the spin button. svn path=/trunk/; revision=446
* Now it should also work when building packages.Martin Baulig1998-10-121-2/+2
| | | | svn path=/trunk/; revision=444
* Added `-Wno-unused'.Martin Baulig1998-10-122-1/+5
| | | | | | | | 1998-10-12 Martin Baulig <martin@home-of-linux.org> * compiler-flags.m4 (warnCFLAGS): Added `-Wno-unused'. svn path=/trunk/; revision=443
* Use `:' instead of the empty string if there is nothing to do since theMartin Baulig1998-10-122-0/+8
| | | | | | | | | | 1998-10-11 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-sysdeps.m4 (libgtop_postinstall): Use `:' instead of the empty string if there is nothing to do since the empty string is no valid shell sytax. svn path=/trunk/; revision=441
* Check for "guile-config" and then for "build-guile", if guile-configMarius Vollmer1998-10-112-10/+37
| | | | | | | | | | | * gnome-guile-checks.m4: Check for "guile-config" and then for "build-guile", if guile-config couldn't be found. Do not explicitely include output from "info libdir", it is already included in "link". Use "compile" instead of "info includedir". Do not include "1.2" in error message when Guile can't be found at all. svn path=/trunk/; revision=440
* Added optional third parameter which is the `script-if-enabled' parameterMartin Baulig1998-10-112-1/+7
| | | | | | | | | | 1998-10-11 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_INIT_LIBGTOP): Added optional third parameter which is the `script-if-enabled' parameter of the GNOME_LIBGTOP_HOOOK. svn path=/trunk/; revision=439
* Create a list of children and lay them out nicely. Lots of functions addedFederico Mena Quintero1998-10-104-20/+407
| | | | | | | | | | | | | 1998-10-09 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.c (month_view_update): Create a list of children and lay them out nicely. Lots of functions added for this purpose. (adjust_segment): Main event segment adjustment routine. (adjust_children): Adjusts all the children in the month view. (child_create_segments): Creates the segments for a particular event. (layout_children): Uses the generic layout engine to organize the children. svn path=/trunk/; revision=438
* Sync sync - FedericoArturo Espinosa1998-10-102-18/+96
| | | | svn path=/trunk/; revision=437
* Sync to laptop - FedericoArturo Espinosa1998-10-094-6/+158
| | | | svn path=/trunk/; revision=436
* Set the sensitivity of the edit/delete buttons. (gncal_todo_update):Federico Mena Quintero1998-10-093-4/+15
| | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-todo.c (clist_row_selected): Set the sensitivity of the edit/delete buttons. (gncal_todo_update): Likewise. Thanks to Dirk Luetjens for the bug report. svn path=/trunk/; revision=435
* Do some cleanup; now we pass a struct with the layout algorithm's stateFederico Mena Quintero1998-10-099-400/+313
| | | | | | | | | | | | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * layout.c: Do some cleanup; now we pass a struct with the layout algorithm's state instead of passing a trillion parameters around. * gncal-full-day.c (layout_children): Use the new generic layout engine. (child_compare): Sort keys are start time then end time, not just start time. This produces somewhat nicer results for the layout algorithm. The new layout code uses a partition of the time range occupied by the events, rather than using a fixed time granularity. This is better since the different parts of the program that use the layout module will have different semantics regarding snapping the event bounds to a fixed "time grid". svn path=/trunk/; revision=434
* Doh, add the files - FedericoArturo Espinosa1998-10-084-0/+586
| | | | svn path=/trunk/; revision=433
* Sync sync syncFederico Mena Quintero1998-10-083-0/+13
| | | | | | | | | | | | | 1998-10-07 Federico Mena Quintero <federico@nuclecu.unam.mx> * layout.[ch]: New files that abstract the event layout code from gncal-full-day.c into something useful for other parts of the program. Now all event layout is done here. * Makefile.am (gnomecal_SOURCES): Added layout.[ch] to the list of sources. svn path=/trunk/; revision=432
* Replaced the 'gnome_client_new_default' call with 'gnome_master_client'.Carsten Schaar1998-10-083-4/+11
| | | | | | | * main.c (main): Replaced the 'gnome_client_new_default' call with 'gnome_master_client'. svn path=/trunk/; revision=431
* Cells from the clipboard do not have a Sheet parameter attached.Miguel de Icaza1998-10-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 1998-10-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/cell.c (cell_modified): Cells from the clipboard do not have a Sheet parameter attached. * src/sheet.c (sheet_cell_add): Check the computed style: if the computed style includes a format, then turn on the cell flag for format is set to avoid the auto guess of cell content. (sheet_style_compute): Now can return the flags of the style that were not part of the default style. * src/file.c (dialog_query_load_file, workbook_save_as): Put the window close to the mouse. * src/workbook.c (sheet_check_dirty, workbook_close): Do not cancel without warning the user if the workbook has changed. (workbook_new, workbook_can_close, workbook_window_destroy, quit_cmd, close_cmd): Reorganized the code to suit the new code to prevent inadvertent quits. svn path=/trunk/; revision=429
* Added test for xlc, to run automake with --include-depsJoel Becker1998-10-061-1/+6
| | | | svn path=/trunk/; revision=428
* 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