Commit Graph

336 Commits

Author SHA1 Message Date
8d5c52e66b Autofill lists work:
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
1998-09-16 08:22:56 +00:00
99fcfec213 Use rm -f ... ; $(LN_S) ...' instead of ln -sf'.
svn path=/trunk/; revision=378
1998-09-15 08:16:11 +00:00
70fa0cb326 Got cursors working.
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
1998-09-15 04:19:56 +00:00
95099ae101 Color attributes in formats work (ie, you can get colored cells now);
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
1998-09-14 04:50:58 +00:00
1fad87fb62 Added (AC_SUBST): `libgtop_have_sysinfo'.
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
1998-09-12 17:51:46 +00:00
5716777409 Color implemtnation
svn path=/trunk/; revision=373
1998-09-12 00:32:51 +00:00
a05ffdfc39 Added sample plugin
svn path=/trunk/; revision=371
1998-09-10 23:06:39 +00:00
e366ebc208 Set minimum required LibGTop version to 0.26.1.
svn path=/trunk/; revision=370
1998-09-09 16:35:30 +00:00
83fe9208cc Added check for SMP support. (--with-libgtop-smp): New parameter, default
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
1998-09-09 12:23:22 +00:00
f69617a3d9 Moving imlib.m4 back where it belongs.
svn path=/trunk/; revision=368
1998-09-08 14:06:24 +00:00
f2b2ddc46b removed imlib.m4 from main imlib dostribution
added imlib.m4 to gnome macros dir

svn path=/trunk/; revision=367
1998-09-08 00:46:03 +00:00
92c122de80 New check macro for ORBit -mig
svn path=/trunk/; revision=366
1998-09-07 20:04:40 +00:00
a16706067d Fixed detection of xml in gnome-xml macros take 2 -mig
svn path=/trunk/; revision=365
1998-09-07 17:52:05 +00:00
3fc82537c5 Fixed detection of xml in gnome-xml macros -mig
svn path=/trunk/; revision=364
1998-09-07 17:30:43 +00:00
40be5aa2ab Fixed the bug reported about the mail notification not beint sent until
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
1998-09-07 02:58:08 +00:00
df67e4e802 Revamped the GNOME_XML_CHECK macro. Now acts (somewhat) like the
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
1998-09-04 12:45:54 +00:00
84fa00e42a Finished with the properties dialog. You can jump to days from the year
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
1998-09-04 00:43:06 +00:00
de704a7b45 Today: we can now configure the colors for the monthly items, courtesy of
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
1998-09-03 05:33:07 +00:00
0e94defc99 Remove check for `canonicalize_file_name'.
* gnome-support.m4: Remove check for `canonicalize_file_name'.

svn path=/trunk/; revision=359
1998-09-02 22:53:56 +00:00
2be214b598 Check for canonicalize_file_name () and realpath () and add
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
1998-09-02 08:02:29 +00:00
0c255f1119 Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. Added (AC_DEFINE_UNQUOTED):
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
1998-08-30 12:47:39 +00:00
5f228d1144 It helps to add the new files - Federico
svn path=/trunk/; revision=352
1998-08-30 01:30:00 +00:00
e0d99122ab Centralized marking of month items. We now have a little utility function
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
1998-08-30 01:29:19 +00:00
9b6991077b Make it require libgtop >= 0.26.0. Added (AC_SUBST):
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
1998-08-29 21:25:02 +00:00
5edb2d96b9 Added (AC_SUBST): LIBGTOP_INTERFACE_AGE' and LIBGTOP_BINARY_AGE' for
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
1998-08-29 21:18:50 +00:00
21e41f438e Today: fixed calculation of day indexes when weeks start on Monday. The
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
1998-08-28 00:29:59 +00:00
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