Commit Graph

45860 Commits

Author SHA1 Message Date
e4a4179f9d Oooo...it actually works now. Forgot a ,
1998-08-27  Christopher Blizzard  <blizzard@appliedtheory.com>

        * gnome-ghttp-check.m4: Oooo...it actually works now.
	  Forgot a ,

svn path=/trunk/; revision=345
1998-08-27 20:04:27 +00:00
a9dae64ea7 Umm...I think this works better. Doesn't break anything anyway.
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
1998-08-27 19:52:23 +00:00
11500f35b9 Make it work with a brain-dead /bin/sh and a brain-dead /bin/test.
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
1998-08-26 20:42:02 +00:00
00098c1abe Today: beginning of year view using the canvas. I still have to finish
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
1998-08-26 19:59:46 +00:00
4da4e49249 Use AC_MSG_WARN' if LibGTop cannot be found and the fail' argument is
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
1998-08-26 12:43:09 +00:00
5d410b8d43 Set the heading color of the month item.
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
1998-08-26 01:48:53 +00:00
f6f316d744 Fixlet to the about box - Federico
svn path=/trunk/; revision=338
1998-08-25 02:37:43 +00:00
bf844f9fa8 Today: Beautification of the Preferences dialog. Made the menus more
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
1998-08-25 02:19:20 +00:00
4d075f28b5 Changed the Properties menu item to Preferences. These are global
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
1998-08-24 19:59:25 +00:00
abdba7c651 Added setreuid', setregid' and `getpagesize'. (AC_TYPE_UID_T): New
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
1998-08-24 19:30:06 +00:00
eb752301e0 Add gnome-ghttp-check.m4 to the Makefile.
1998-08-24  Christopher Blizzard  <blizzard@appliedtheory.com>

        * Makefile.am (MACROS): Add gnome-ghttp-check.m4 to the Makefile.

svn path=/trunk/; revision=333
1998-08-24 13:58:23 +00:00
480c5e8e62 macro for checking for gnome-http
* macro for checking for gnome-http

svn path=/trunk/; revision=332
1998-08-23 21:05:13 +00:00
8a43c49459 You can give this macro two parameters: the required version number and an
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
1998-08-23 16:26:47 +00:00
ea96ac1a82 Added check for -lnsl' and -lsocket' if `build-guile' cannot be found.
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
1998-08-21 23:52:38 +00:00
2e0a88042f Small fixes for calendar saving
svn path=/trunk/; revision=328
1998-08-21 21:44:22 +00:00
bfdb2a9614 New file. Defines the GNOME_COMPILER_WARNINGS macro. Add
* 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
1998-08-20 21:23:52 +00:00
6158ea365f We now have a nice generic monthly calendar item for the canvas. We
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
1998-08-19 00:31:04 +00:00
b7c9e891f6 make it require libgtop >= 0.25.0. Added (AC_SUBST):
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
1998-08-18 12:15:39 +00:00
4776c8413a Fixes for 0.28 - Federico
svn path=/trunk/; revision=321
1998-08-17 18:28:24 +00:00
c01b9850eb Completely rewrote this file. It uses now the `libgtop-config' script and
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
1998-08-16 23:23:41 +00:00
8783a09884 `make distcheck' cleanups - Hey, it really works, guys !
svn path=/trunk/; revision=319
1998-08-16 20:14:23 +00:00
20cd42a84f It helps to add the files first - Federico
svn path=/trunk/; revision=318
1998-08-14 00:33:53 +00:00
43fd11d9b8 Doh. Actually recalculate the days using the month and year.
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
1998-08-14 00:33:01 +00:00
a6266876c6 0.27 fixes
svn path=/trunk/; revision=315
1998-08-13 23:50:30 +00:00
f53b446689 0.27 fixes
svn path=/trunk/; revision=314
1998-08-13 23:01:32 +00:00
307e206fec Little compiler warning fix - Federico
svn path=/trunk/; revision=313
1998-08-13 15:55:56 +00:00
6466c2f6d5 More work on the month view - Federico
svn path=/trunk/; revision=312
1998-08-13 01:13:11 +00:00
d4e5256718 More work on the month view item - Federico
svn path=/trunk/; revision=311
1998-08-12 03:55:15 +00:00
4131f00f34 Made title i18n friendly. This was bug #215.
* 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
1998-08-11 22:05:55 +00:00
340b547a81 Fix small cut&paste bug - Federico
svn path=/trunk/; revision=309
1998-08-11 04:33:06 +00:00
f0d0f623bb Oops - Federico
svn path=/trunk/; revision=308
1998-08-11 04:27:22 +00:00
1596825b7d Start of the month view widget. This will use the generic month item and
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
1998-08-11 04:22:05 +00:00
f91ebfeae9 Added `freebsd' directory.
1998-08-06  Martin Baulig  <martin@home-of-linux.org>

	* gnome-libgtop-sysdeps.m4: Added `freebsd' directory.

svn path=/trunk/; revision=304
1998-08-06 21:52:01 +00:00
56d9c43fd9 Do not abort on obj-c not being there
svn path=/trunk/; revision=301
1998-08-05 23:21:28 +00:00
6c3c0efea6 Define USE_DEVGTK unconditionally to `true'.
* 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
1998-08-04 23:56:12 +00:00
473fe5d0fc make it require GTK >= 1.1.1 dnl'd the dev_gtk since they will have to
1998-08-04  Stuart Parmenter  <pavlov@innerx.net>

        * gnome-x-checks.m4: (AM_PATH_GTK) make it require GTK >= 1.1.1
        dnl'd the dev_gtk since they will have to anyways.

svn path=/trunk/; revision=298
1998-08-04 23:44:57 +00:00
8aac6667d9 gnome.m4: (GNOME_INIT_HOOK): Call $1 also, if `gnome-config' is found and used
svn path=/trunk/; revision=297
1998-08-04 13:44:46 +00:00
e095ce5ab8 Use an array of const strings to keep gcc happy.
1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* main.c (about_calendar_cmd): Use an array of const strings to
	keep gcc happy.

	* alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy.
	* calendar.c (calendar_object_compare_by_start): Likewise.
	* gncal-full-day.c (child_compare_by_start): Likewise.

svn path=/trunk/; revision=296
1998-08-04 01:55:18 +00:00
d19286255d Use the `gnome-config' program if it exists.
* gnome.m4 (GNOME_CONFIG): Use the `gnome-config' program if it
exists.

With this, `make distcheck' on `gnome-core' inches forward slightly.

svn path=/trunk/; revision=295
1998-08-02 22:23:15 +00:00
32fec7af94 Remove `macros.dep'.
* Makefile.am (EXTRA_DIST): Remove `macros.dep'.

Because it doesn't work for srcdir != builddir.  I see no great loss
in not distributing this file -- it is used only in maintainer-mode,
and it is easily generated.  Anyone who's not using GNU make for
maintainer-mode is already not supported, so this doesn't make a
difference, I think.

svn path=/trunk/; revision=294
1998-08-02 01:50:52 +00:00
065d930830 New macro. Checks for u_int64_t' and int64_t'.
1998-07-30  Martin Baulig  <martin@home-of-linux.org>

	* gnome-libgtop-check.m4 (GNOME_LIBGTOP_TYPES): New macro.
	Checks for `u_int64_t' and `int64_t'.

svn path=/trunk/; revision=293
1998-07-30 17:51:56 +00:00
131df2c4bb Added (AC_SUBST): LIBGTOP_NAMES_LIBS', LIBGTOP_NAMES_INCS',
1998-07-29  Martin Baulig  <martin@home-of-linux.org>

	* gnome-libgtop-check.m4: Added (AC_SUBST):
	`LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS',
	`LIBGTOP_GUILE_LIBS', `LIBGTOP_GUILE_NAMES_LIBS',
	`LIBGTOP_MAJOR_VERSION', `LIBGTOP_MINOR_VERSION',
	`LIBGTOP_VERSION'.

	* gnome-libgtop-sysdeps.m4 (libgtop_sysdeps_dir):
	Added `AC_SUBST(libgtop_sysdeps_dir)'.

svn path=/trunk/; revision=292
1998-07-29 21:46:33 +00:00
f55db51d4b Check for functions that `error.c' looks for.
* gnome-support.m4: Check for functions that `error.c' looks for.

svn path=/trunk/; revision=291
1998-07-29 20:38:32 +00:00
e66556dbdc Removed.
1998-07-29  Martin Baulig  <martin@home-of-linux.org>

	* gnome-fileutils.m4 (AM_FUNC_ERROR_AT_LINE): Removed.

	* gnome-support.m4 (AM_FUNC_ERROR_AT_LINE): New check.

svn path=/trunk/; revision=290
1998-07-29 10:53:18 +00:00
6b2ca8957a Changed Gtk version test to use GTK_HAVE_FEATURES_1_1_0.
1998-07-27  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gnome-x-checks.m4: Changed Gtk version test to use
	GTK_HAVE_FEATURES_1_1_0.

svn path=/trunk/; revision=289
1998-07-27 18:37:15 +00:00
3f79258dc3 Added gnome-xml-check.m4 for libxml detection, Daniel.
svn path=/trunk/; revision=288
1998-07-26 21:55:40 +00:00
c674046f4e No longer requiring `GNOME_LIBGTOP_SYSDEPS'.
1998-07-24  Martin Baulig  <martin@home-of-linux.org>

	* gnome-libgtop-check.m4: No longer requiring
	`GNOME_LIBGTOP_SYSDEPS'.

svn path=/trunk/; revision=287
1998-07-24 14:49:06 +00:00
c2fffade9b Added linger.m4. New file.
Fri Jul 24 00:45:38 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am (MACROS): Added linger.m4.
	* linger.m4: New file.

svn path=/trunk/; revision=286
1998-07-24 06:50:18 +00:00
d8e1ea20af Actually add files mentioned in last commit
svn path=/trunk/; revision=285
1998-07-24 06:19:39 +00:00
3c526bc893 Added gnome-undelfs.m4, gnome-vfs.m4. New file. New file.
Thu Jul 23 22:41:23 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am (MACROS): Added gnome-undelfs.m4, gnome-vfs.m4.
	* gnome-undelfs.m4: New file.
	* gnome-vfs.m4: New file.

svn path=/trunk/; revision=284
1998-07-24 06:14:30 +00:00