Commit Graph

13267 Commits

Author SHA1 Message Date
6caeba2849 Oops, compilation fixes plus more work - Federico
svn path=/trunk/; revision=123
1998-04-11 01:18:21 +00:00
6cffb55b8d Gnome cal enhancemnets -mig
svn path=/trunk/; revision=122
1998-04-11 01:12:58 +00:00
ecfd18d871 More work in progress - Federico
svn path=/trunk/; revision=121
1998-04-10 19:41:15 +00:00
a4b297a8d4 Show instead of just map the child widget (otherwise the text widget gets
1998-04-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gncal-full-day.c (child_map): Show instead of just map the child
	widget (otherwise the text widget gets confused and will not focus).

	* calobj.c (ical_object_to_vobject): Quote chars as 'x', not "x".

	* calobj.h: Added prototype for ical_object_to_vobject().

	* gnome-cal.c (gnome_calendar_object_changed): New function.  This
	should be called when a calendar object is changed.

	* gncal-full-day.c (update_from_drag_info): Call
	gnome_calendar_object_changed() instead of updating manually.

	* calendar.c (calendar_add_object):
	(calendar_remove_object): Set the modified flag to true.

	* gncal-full-day.c (gncal_full_day_draw): Finished implementing
	this function.

svn path=/trunk/; revision=120
1998-04-09 07:36:54 +00:00
8e5a66e2c3 Also run AC_HEADER_DIRENT.
* gnome-support.m4: Also run AC_HEADER_DIRENT.

svn path=/trunk/; revision=118
1998-04-09 00:20:07 +00:00
95839b6f9a Update to list newer versions of packages. Add `scandir'.
* autogen.sh: Update to list newer versions of packages.
* gnome-support.m4 (AC_REPLACE_FUNCS): Add `scandir'.

svn path=/trunk/; revision=117
1998-04-08 23:54:06 +00:00
9bb0572b2c The full day widget now gets updated correctly when you add an
appointment from the menus.  - Federico

svn path=/trunk/; revision=116
1998-04-08 23:24:29 +00:00
2e5812a2c1 Say #if 0', not #ifdef 0'.
* gncal.c (update_calendar): Say `#if 0', not `#ifdef 0'.

svn path=/trunk/; revision=115
1998-04-08 22:51:54 +00:00
82f62a2782 Updates - Fed
svn path=/trunk/; revision=114
1998-04-08 21:01:31 +00:00
d46d71aaf7 Added a TODO list to refresh my memory from time to time - Federico
svn path=/trunk/; revision=113
1998-04-08 20:54:12 +00:00
56ccb475f9 Wheee! Now you can drag events correctly - Federico
svn path=/trunk/; revision=112
1998-04-08 18:42:58 +00:00
1e19f2f580 More updates - Federico
svn path=/trunk/; revision=111
1998-04-08 08:19:24 +00:00
70143f6e1f Removed unused global variable parent_class.
1998-04-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* eventedit.c: Removed unused global variable parent_class.

	* eventedit.h: Renamed gtk_window field to window.
	Made the parent_class field in the EventEditorClass structure be a
	GtkWindowClass, not a gnome property box class.
	Added prototype for event_editor_get_type().

svn path=/trunk/; revision=110
1998-04-08 02:35:05 +00:00
b5a61327da More work in progress, wheeeee - Federico
svn path=/trunk/; revision=109
1998-04-07 19:01:42 +00:00
eaba896a14 New file.
* versit/.cvsignore: New file.

svn path=/trunk/; revision=108
1998-04-06 05:20:20 +00:00
45ebcc48ee vCalendar gets fully saved -mig
svn path=/trunk/; revision=107
1998-04-04 21:06:49 +00:00
524de5fe83 Include <config.h>.
Fri Apr  3 22:31:54 1998  Tom Tromey  <tromey@cygnus.com>

	* calendar.c: Include <config.h>.

svn path=/trunk/; revision=106
1998-04-04 05:49:09 +00:00
c050cb45aa lots more -mig
svn path=/trunk/; revision=105
1998-04-04 03:43:48 +00:00
bacbb08589 more and more fixes -mig
svn path=/trunk/; revision=104
1998-04-04 03:29:36 +00:00
f4295ffe09 Lots -mig
svn path=/trunk/; revision=103
1998-04-04 02:44:29 +00:00
1be7718e7d More work. Weee! -mig
svn path=/trunk/; revision=102
1998-04-03 08:07:17 +00:00
e2fbfd581d The "better" format string for strftime() wasn't better, after all :-(
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-03 08:05:35 +00:00
45a75ede7f add test.vcf, more code progress -mig
svn path=/trunk/; revision=100
1998-04-03 07:33:34 +00:00
197ca7ac5b New full-day widget. It is still a work in progress. It will be similar to
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-03 06:03:18 +00:00
dc90ad6b43 More calendar work -mig
svn path=/trunk/; revision=98
1998-04-03 04:53:51 +00:00
01b4ff7532 Use better format specifier for strftime().
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-03 03:59:49 +00:00
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