1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* view-utils.c (view_utils_draw_events): The "better" format
string for strftime() wasn't better, after all :-(
... plus more work on progress
svn path=/trunk/; revision=101
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-full-day.c: New full-day widget. It is still a work in
progress. It will be similar to M$ Schedule's nifty full day view
widget, but with Gtk's elegance :-)
* Makefile.am (gnomecal_SOURCES): Added gncal-full-day.[ch] to the sources.
svn path=/trunk/; revision=99
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* view-utils.c (view_utils_draw_events): Use better format
specifier for strftime().
(view_utils_draw_textured_frame): Ultra-nifty function to draw
textured "metal" frames, like Netscape's handles.
HEAR YE! HEAR YE! GtkHandleBox could use this last function to draw
a prettier drag handle. Any takers?
svn path=/trunk/; revision=97
1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gncal-day-view.c (gncal_day_view_update): Day events are now
cached inside the widget. They get initialized at this time.
* view-utils.c (view_utils_draw_events): Use the list of events.
svn path=/trunk/; revision=95
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-day-view.c (gncal_day_view_set_shadow): New customization
function. We can't decide on a stupid border type :-)
(gncal_day_view_init): Made GTK_SHADOW_ETCHED_IN be the default
shadow type. Looks good.
svn path=/trunk/; revision=94
1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c: New main program that uses our new datatypes and
objects.
* calendar.c (calendar_load_from_vobject, calendar_load):
Implement loading of vCalendar objects and vCalendar files.
* calobj.c (ical_object_create_from_vobject): Implement loading of
vCalendar event and todo objects.
* timeutil.c (isodate_from_time_t): New function.
* gnome-cal.c, gnome-cal.h: Implement a toplevel widget, derived
from GnomeApp. It holds all of the day views and arbitrates the
display.
svn path=/trunk/; revision=93
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-week-view.[ch]: New week view composite widget. This
provides a full week view (7 day views plus busy time display --
the latter is currently unimplemented).
1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-day-view.c: New day view widget. It is intended to be a
child widget of the week view composite widget.
svn path=/trunk/; revision=90
1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* calendar.c (calendar_get_objects_in_range):
(calendar_get_events_in_range):
(calendar_get_journal_in_range):
(calendar_get_journal_in_range): These functions now take a
sort_func parameter, which is of type GCompareFunc. If the
specified value is non-NULL, it will return a sorted list.
Otherwise, it will return an unordered list.
(calendar_compare_by_dtstart): Provide a generic sorting routine
for calendar objects.
svn path=/trunk/; revision=88
1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal.c: Removed #include "gtkcalendar.h", because it now comes
from libgnomeui.
* Makefile.am (gncal_SOURCES): Added new source files to the rules.
svn path=/trunk/; revision=84
1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
* timeutil.c (format_simple_hour): New function, formats an
hour/am_pm pair into a string of the form "3am", "12pm", "05h",
"19h", etc. It is used by the day view widget for its labels.
svn path=/trunk/; revision=83
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.
svn path=/trunk/; revision=73
1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-app.c (gnome_app_add): Add support for gtk_container_add
to GnomeApp widget.
svn path=/trunk/; revision=71
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.
svn path=/trunk/; revision=70
Tue Mar 10 15:34:17 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* obgnome/obgnomeApp.h: Made it conform to the new gnome_init parameters.
svn path=/trunk/; revision=64
Sun Mar 8 16:38:10 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR.
(gncal_LDADD): Don't include libsupport.a.
* gncal.c (main): Use new gnome_init.
svn path=/trunk/; revision=61
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.
svn path=/trunk/; revision=60
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.
svn path=/trunk/; revision=57
* gnome-x-checks.m4 (CPPFLAGS): Put $X_CFLAGS here, not in
$CFLAGS.
(GNOME_HAVE_SM): New var. `true' if we have libSM, `false'
otherwise.
- Hari
svn path=/trunk/; revision=51