Commit Graph

45791 Commits

Author SHA1 Message Date
2ff4c25c6c Various time fixes; lib fixes; cache fixes -mig
svn path=/trunk/; revision=96
1998-04-02 21:00:59 +00:00
f6963100c2 Day events are now cached inside the widget. They get initialized at this
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 20:35:12 +00:00
d4f096e0ca New customization function. We can't decide on a stupid border type :-)
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 08:10:50 +00:00
f865d886f5 New main program that uses our new datatypes and objects.
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 07:57:58 +00:00
33b0ab0d0f Oops, forgot these - Federico
svn path=/trunk/; revision=92
1998-04-02 07:45:48 +00:00
0b8a6756ac More updates so that Mig can test it - Federico
svn path=/trunk/; revision=91
1998-04-02 07:25:44 +00:00
23463e22bc New week view composite widget. This provides a full week view (7 day
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-02 06:12:25 +00:00
4750b90ad1 GnomeCalendar toplevel GnomeApp; versit code -mig
svn path=/trunk/; revision=89
1998-04-02 02:18:42 +00:00
9bc7db5333 These functions now take a sort_func parameter, which is of type
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-04-02 00:15:39 +00:00
af10696db7 Calendar object editor -mig
svn path=/trunk/; revision=87
1998-04-01 08:31:33 +00:00
f9457ac006 Sync with my copy -mig
svn path=/trunk/; revision=86
1998-04-01 08:31:11 +00:00
0032eeb1e0 `buf' now static.
Tue Mar 31 23:46:50 1998  Tom Tromey  <tromey@cygnus.com>

	* timeutil.c (format_simple_hour): `buf' now static.

svn path=/trunk/; revision=85
1998-04-01 06:48:20 +00:00
26c91c237c Removed #include "gtkcalendar.h", because it now comes from libgnomeui.
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-04-01 04:51:04 +00:00
8a5a6f0d15 New function, formats an hour/am_pm pair into a string of the form "3am",
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
1998-04-01 03:56:40 +00:00
a0487eaeb0 Look for vasprintf.
* gnome-support.m4 (AC_REPLACE_FUNCS): Look for vasprintf.

svn path=/trunk/; revision=82
1998-04-01 03:48:15 +00:00
b254597d85 iCalendar/vCalendar time utilties
svn path=/trunk/; revision=81
1998-04-01 03:41:40 +00:00
d9508281e8 Small typo fixed -mig
svn path=/trunk/; revision=80
1998-04-01 01:36:00 +00:00
65e2dca7eb Calendar objects as defined by the iCalendar IETF draft. Calendar holder
Calendar objects as defined by the iCalendar IETF draft.
Calendar holder for Calendar Objects.

-mig&fed

svn path=/trunk/; revision=79
1998-04-01 00:30:46 +00:00
0d8c9252ca added clist.[ch]
svn path=/trunk/; revision=78
1998-03-31 03:40:28 +00:00
ee2e59f3f0 Added session maanagement and using clists
svn path=/trunk/; revision=77
1998-03-31 03:38:46 +00:00
190d643bce Use gnome_message_box_*, not gnome_messagebox_*.
Sat Mar 21 15:43:20 1998  Tom Tromey  <tromey@cygnus.com>

	* gncal.c: Use gnome_message_box_*, not gnome_messagebox_*.

svn path=/trunk/; revision=76
1998-03-21 22:43:56 +00:00
5eaac21387 An empty true branch of an `if' statement is not valid sh syntax. If
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-20 06:24:33 +00:00
1c388d9817 Weee! gmc uses the gnome.m4 macros now and detects properly gnome installation - mig
svn path=/trunk/; revision=72
1998-03-20 02:54:16 +00:00
15549badbe Add support for gtk_container_add to GnomeApp widget.
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
1998-03-20 00:46:38 +00:00
8fe52111b6 Cache results of check for program_invocation_short_name,
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
1998-03-19 20:23:21 +00:00
dc8628becc Cache results of argp check.
Thu Mar 19 00:17:46 1998  Tom Tromey  <tromey@cygnus.com>

	* gnome-support.m4: Cache results of argp check.

svn path=/trunk/; revision=69
1998-03-19 07:24:22 +00:00
40c9962c2e Updates to use AM_PATH_GTK. See various ChangeLogs for details.
svn path=/trunk/; revision=68
1998-03-15 20:56:36 +00:00
03b1949546 Add a check for <linewrap.h> -- this enables some optimizations when
* gnome-support.m4: Add a check for <linewrap.h> -- this enables
some optimizations when compiling `argp'.

- Hari

svn path=/trunk/; revision=67
1998-03-12 22:52:05 +00:00
bf52e68d68 linked into gtkcalendar widget
svn path=/trunk/; revision=66
1998-03-11 23:29:16 +00:00
4b15a0fb97 Much more work on the mailman - it is semi-functional, and also on girc.
svn path=/trunk/; revision=65
1998-03-11 22:26:17 +00:00
b06287fb7b Made it conform to the new gnome_init parameters.
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
1998-03-10 21:24:48 +00:00
616ba82aef Build vsnprintf.o, not vsnprint.o.
Mon Mar  9 19:32:42 1998  Tom Tromey  <tromey@cygnus.com>

	* gnome-support.m4: Build vsnprintf.o, not vsnprint.o.

svn path=/trunk/; revision=63
1998-03-10 02:34:27 +00:00
2aae804727 Add check for `vsnprintf'.
* gnome-support.m4: Add check for `vsnprintf'.

- Hari

svn path=/trunk/; revision=62
1998-03-10 00:13:02 +00:00
11d40d6493 Added GNOME_INCLUDEDIR. (gncal_LDADD): Don't include libsupport.a.
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
1998-03-09 04:37:18 +00:00
287b072ef5 Set need_gnome_support shell variable. Define BUILD_GNOME_SUPPORT automake
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
1998-03-09 01:59:51 +00:00
31f8b8cd00 Check for strnlen().
Sat Mar  7 00:04:22 1998  Tom Tromey  <tromey@cygnus.com>

	* gnome-support.m4 (GNOME_SUPPORT_CHECKS): Check for strnlen().

svn path=/trunk/; revision=59
1998-03-07 07:07:45 +00:00
d98bf00fbd Check for argp code, strndup, program_invocation_name,
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.

svn path=/trunk/; revision=58
1998-03-04 08:14:23 +00:00
c8ee176b4c Also check for SMlib.h; some Solaris systems have -lSM but not SMlib.h.
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
1998-03-02 22:34:42 +00:00
5dcf515056 Changed spacing so --help output looks right.
Sun Mar  1 17:49:42 1998  Tom Tromey  <tromey@cygnus.com>

	* gnome.m4 (GNOME_INIT): Changed spacing so --help output looks
	right.

svn path=/trunk/; revision=56
1998-03-02 00:54:14 +00:00
6891ee88bc Set OBJECTIVE_C shell variable.
Fri Feb 27 10:05:34 1998  Tom Tromey  <tromey@cygnus.com>

	* gnome-objc-checks.m4 (GNOME_CHECK_OBJC): Set OBJECTIVE_C shell
	variable.

svn path=/trunk/; revision=55
1998-02-27 17:11:38 +00:00
7a87976a0e Removed bogus Makefile - tromey@cygnus.com
svn path=/trunk/; revision=54
1998-02-27 06:19:39 +00:00
dcca0a05a9 Added $(GNOME_LIBDIR) to some Makefile.am files.
-Marc

svn path=/trunk/; revision=53
1998-02-27 05:20:11 +00:00
1353f7fde6 Stupid mistake... Forgot a `,'
- Hari

svn path=/trunk/; revision=52
1998-02-26 20:57:44 +00:00
15dc03c04e Put $X_CFLAGS here, not in $CFLAGS. (GNOME_HAVE_SM): New var. `true' if we
* 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
1998-02-26 20:52:33 +00:00
64121e487c Added German translation.
svn path=/trunk/; revision=50
1998-02-23 17:31:27 +00:00
9bd90b4cff Changed 'gtt' to 'gncal'.
svn path=/trunk/; revision=49
1998-02-23 17:30:54 +00:00
dfba578d4b Mon, 23 Feb 1998 04:17:37 +0100 Vincent
*.desktop translations for the gnome-utils module.

svn path=/trunk/; revision=48
1998-02-23 03:18:02 +00:00
a4bdc2c8c0 gnome_init app_id parameter changes - Federico
svn path=/trunk/; revision=47
1998-02-20 00:19:26 +00:00
9fa2269734 Added '$(INTLLIBS)'
* Makefile.am (gncal_LDADD): Added '$(INTLLIBS)'

svn path=/trunk/; revision=46
1998-02-19 17:24:17 +00:00
40f4c86884 (gncal_LDADD): Added '$(INTLLIBS)'
svn path=/trunk/; revision=45
1998-02-19 17:23:30 +00:00