Commit Graph

175 Commits

Author SHA1 Message Date
821548d922 1. Calendar property configuration is finally here with nice live-updates.
1. Calendar property configuration is finally here with
   nice live-updates.

2. Double clicking on week view jumps to that day in the
   day view;  Context menu allows adding an appointment
   on that day.

Miguel.

svn path=/trunk/; revision=182
1998-04-22 05:19:51 +00:00
6b159ed2c3 Fix for gedit compilation -mig
svn path=/trunk/; revision=181
1998-04-22 02:56:19 +00:00
3b00cc7479 Added calls to gtk_window_set_wmclass to gnome-utils - mig
svn path=/trunk/; revision=180
1998-04-22 02:29:30 +00:00
1e77e73903 Small fix for goto-day-year computation -mig
svn path=/trunk/; revision=179
1998-04-22 01:15:42 +00:00
45abc2cbef Lots of changes:
Lots of changes:

1998-04-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	1. gEdit got Gnomified:  gnome-stock, gnome-app, i18n
	   tretment + integration into gnome-utils compilation.

	   Original configure.in is still there for Alex/Evans to
	   redistribute as Gtk App (I tried to ifdef gnome code).

	2. gHex:  warning fixes + crash fixes + i18n fixes.

	3. GnCal: week view shows date range (needs some fixing);
	   changed the day view order;  other stuff I dont remember

	4. GTop: more i18n treatmnet.

	5. Updated Spanish translation.

svn path=/trunk/; revision=178
1998-04-22 00:16:43 +00:00
b707ff2b15 Made it use GncalDayPanel.
1998-04-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gnome-cal.c: Made it use GncalDayPanel.

	* gncal-day-panel.c: New widget for the day view in the main
	calendar toplevel.  It basically takes care of everything
	gnome-cal did by hand with respect to the day view.

	* Makefile.am (gnomecal_SOURCES): Added gncal-day-panel.[ch] to
	the rules.

	* main.c: Added a separator between the About menu item and the
	help topics.

svn path=/trunk/; revision=177
1998-04-21 23:55:49 +00:00
2c6974eb71 Added icon for gncal to .desktop entry
Dr Mike <msf@redhat.com>

svn path=/trunk/; revision=176
1998-04-21 18:23:15 +00:00
feb0cdbe7a Misc. event handling fixes - Federico
svn path=/trunk/; revision=175
1998-04-21 03:59:50 +00:00
07239d418c Enhance the exception date handling -mig
svn path=/trunk/; revision=174
1998-04-21 03:22:09 +00:00
5fda22d839 Make the any-key-creates-new-appointment-at-selection thing actually work - Federico
svn path=/trunk/; revision=173
1998-04-21 03:11:42 +00:00
d57e1662cf Now any printable keystroke (not just Return) will activate the selected
1998-04-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gncal-full-day.c (gncal_full_day_key_press): Now any printable
	keystroke (not just Return) will activate the selected range.

svn path=/trunk/; revision=172
1998-04-21 02:17:33 +00:00
65dbe3a385 Made it use the new paint_row function instead of painting everything
1998-04-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gncal-full-day.c (paint_back): Made it use the new paint_row
	function instead of painting everything directly.  We calculate
	areas in a smarter way so there is even less flicker than before,
	especially when selecting regions.

	* eventedit.c: Sensitize recurrence widgets properly.

svn path=/trunk/; revision=171
1998-04-21 00:29:06 +00:00
e9a7215277 Fix compiler warnings - Federico
svn path=/trunk/; revision=170
1998-04-20 22:13:36 +00:00
3acbe7a46f more fixes -mig
svn path=/trunk/; revision=169
1998-04-20 19:53:21 +00:00
26e5915000 A lot of usability changes to GnomeCal -miguel
svn path=/trunk/; revision=168
1998-04-20 18:00:54 +00:00
efc1cef1db Use GNOME_STOCK_PIXMAP_HOME for today -mig
svn path=/trunk/; revision=167
1998-04-19 20:58:02 +00:00
d4f950c3fd added to ignore generated files.
Sun Apr 19 09:38:36 EDT 1998 Gregory McLean <gregm@comstar.net>

        * ee/doc/.cvsignore: added to ignore generated files.

svn path=/trunk/; revision=166
1998-04-19 13:33:37 +00:00
2a20ac7931 Updated the gtk check to check for 1.0.0
Sun Apr 19 01:35:53 EDT 1998 Gregory McLean <gregm@comstar.net>

        * gnome-x-checks.m4: Updated the gtk check to check for 1.0.0

svn path=/trunk/; revision=165
1998-04-19 05:28:13 +00:00
112b6d8f88 It works. I promise
svn path=/trunk/; revision=164
1998-04-19 02:02:43 +00:00
0fc535febd I missed this one as well
svn path=/trunk/; revision=163
1998-04-19 02:01:34 +00:00
e8bf10cb34 Duh forgot config.h here -mig
svn path=/trunk/; revision=162
1998-04-19 02:00:17 +00:00
7be750901d More touches -mig
svn path=/trunk/; revision=161
1998-04-19 01:59:53 +00:00
3b76de8bcd Various small fixes here and there -mig
svn path=/trunk/; revision=160
1998-04-19 01:16:59 +00:00
64a3522aca Update spanish translation for the Calendar.
Update spanish translation for the Calendar.

Added command line handling to the calendar program.  You can now
display your appointments for any given date from the command line
wihtout running X.

Added CVS's `getdate'.  This is a date parser for a bunch of formats.

Internationalized getdate.  You can even type date descriptions in
your native language.

Miguel.

svn path=/trunk/; revision=159
1998-04-19 00:19:48 +00:00
24f0de6340 Add Quoted printable property to items containing new lines. (duration):
1998-04-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* calobj.c (ical_object_to_vobject): Add Quoted printable property
	to items containing new lines.
	(duration): Use unsigned integers, to work around buggy calendar
	files generated by korganizer.

	* main.c (save_calendar_cmd): Do not ask for file name if we are
	saving.
	(save_as_calendar_cmd): New command.

svn path=/trunk/; revision=158
1998-04-18 21:37:45 +00:00
6329a627a9 Final steps.
svn path=/trunk/; revision=157
1998-04-18 04:40:59 +00:00
d4f4dc26fc Usability fixes -mig
svn path=/trunk/; revision=156
1998-04-18 04:22:57 +00:00
f1b08663dd Yes.
Yes.

It works.

It loads, it saves, it does all that stuff.

It works, even if federico complains that we did not test close.

Repetition, alarms, all that stuff you all guys love.

It it is there.  We did minimal testing, but we know you will
happilly commit a fix if you find a problem, right?

Ok, we are off to a party now.

Miguel

svn path=/trunk/; revision=155
1998-04-18 04:02:46 +00:00
d79ee74dad Added mandatory status property. (ical_object_to_vobject): Only store
1998-04-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* calobj.c (ical_new): Added mandatory status property.
	(ical_object_to_vobject): Only store "related" list if it exists.
	(store_list): Add terminating null char and free the correct data.

svn path=/trunk/; revision=154
1998-04-18 02:09:54 +00:00
36a42fc603 Added mandatory status property. (ical_object_to_vobject): Only store
1998-04-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* calobj.c (ical_new): Added mandatory status property.
	(ical_object_to_vobject): Only store "related" list if it exists.

	* main.c (save_calendar_cmd): Implemented calendar saving.
	(open_calendar_cmd): Implemented calendar loading.
	(new_calendar_cmd): Implemented calendar creation.
	(new_calendar): Don't load our test calendar by default.

	* gncal-full-day.c (delete_appointment): Delete appointment implemented.

svn path=/trunk/; revision=153
1998-04-18 02:03:07 +00:00
d55901c052 Year view, double click -mig
svn path=/trunk/; revision=152
1998-04-17 23:48:05 +00:00
4b926012c0 The event dialog is beautified, recurrences are saner.
1998-04-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* eventedit.c (ee_init_recurrence_page): New function that creates
	the recurrence page in the toplevel notebook.
	(ee_store_recur_values_to_ical): Now we can also store the recurrences.

svn path=/trunk/; revision=151
1998-04-17 23:22:50 +00:00
470866a257 We load the alarms -mig
svn path=/trunk/; revision=150
1998-04-17 21:37:34 +00:00
2ec1fdc08f Save Recurrence rules -Miguel
svn path=/trunk/; revision=149
1998-04-17 21:24:10 +00:00
55f88f14fe Large number of updates. Recurrence basically works now in most of its
Large number of updates.  Recurrence basically works now in most
of its forms (daily, weekly, month-by-position).

Miguel.

svn path=/trunk/; revision=148
1998-04-17 19:35:43 +00:00
ad0347d16b Remove deadly excessive abuse of encapsulation -mig
svn path=/trunk/; revision=147
1998-04-17 05:08:55 +00:00
541c3a7a73 New event generation api in place -miguel
svn path=/trunk/; revision=146
1998-04-17 04:49:37 +00:00
fe09695939 Use menu_shell->children, not menu->children. Why does GtkMenu have a
1998-04-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* eventedit.c (ee_store_alarm): Use menu_shell->children, not
	menu->children.  Why does GtkMenu have a children field in the
	object structure?
	(check_dates): New function that insures that start_date < end_date.
	(check_times): In addition to checking whether the event spans the
	whole day, now it insures that start_time < end_time.

	* gncal-full-day.c (child_set_size): Now children get bigger
	temporarily while they are focused.  This allows the handles not
	to "overlap" the rows used by the child and thus allow editing of
	very thin events.
	(recompute_motion): Fix for new child coordinates.
	(gncal_full_day_expose): Make it use find_child_by_window()
	instead of looking for it by hand.

svn path=/trunk/; revision=145
1998-04-17 00:14:45 +00:00
fe316c1621 Changed exec name to gnomecal, not gncal
Dr Mike <msf@redhat.com>

svn path=/trunk/; revision=144
1998-04-16 18:28:16 +00:00
71df667488 XPM files for events with alarm and recurrence, respectively.
1998-04-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* bell.xpm recur.xpm: XPM files for events with alarm and
	recurrence, respectively.

1998-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gncal-full-day.c (button_1): Preserve the up/down cursor while dragging.

svn path=/trunk/; revision=143
1998-04-16 05:18:12 +00:00
8a6f658300 Now children have a vertical handle as well. This can be used to move the
1998-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gncal-full-day.c (child_draw): Now children have a vertical
	handle as well.  This can be used to move the child anytime, not
	only when it is focused.
	(recompute_motion): Modified for new drag behavior.

svn path=/trunk/; revision=142
1998-04-16 02:56:44 +00:00
96eeb8b74e run fix -mig
svn path=/trunk/; revision=141
1998-04-15 23:23:01 +00:00
77d15722d2 The general_owner may be null. Do the proper thing when creating the
1998-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* eventedit.c (ee_init_general_page): The general_owner may be
	null.  Do the proper thing when creating the label.
	(ee_ok): Update the gnome calendar appropriately.

	* timeutil.h:
	* gncal-year-view.h: Add some missing prototypes.

	* gncal-full-day.c (child_popup_menu): Set the sensitivity of menu
	items according to whether the ical object is being edited or not.

	* eventedit.c (event_editor_new): Set the "being edited" flag on
	the ical object (stored as the ical object's user data).
	(event_editor_destroy): Release the flag.

	* calobj.h: The iCalObject structure now has a generic user_data pointer.
	* calobj.c (ical_object_set_user_data ical_object_get_user_data):
	Functions to set this data.

svn path=/trunk/; revision=140
1998-04-15 22:51:48 +00:00
f89cf24d20 Year view marks ranges of new dates (on update view). Recurrence iterator
Year view marks ranges of new dates (on update view).
Recurrence iterator functions are here now (clap, clap, clap).

Microsoft Outlook's days are counted.

Miguel.

svn path=/trunk/; revision=139
1998-04-15 07:59:09 +00:00
3ef4dcf9bb TODO updates - Federico
svn path=/trunk/; revision=138
1998-04-15 07:48:57 +00:00
420485aafa Now using time_t for new and set. Random fixes, as well.
1998-04-15  Arturo Espinosa Aldama  <arturo@nuclecu.unam.mx>

        * gncal-year-view.[hc]: Now using time_t for new and set.
	Random fixes, as well.

svn path=/trunk/; revision=137
1998-04-15 06:47:33 +00:00
ca50d9fad9 Routine to destory rows array properly.
1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gncal-full-day.c (layout_kill_rows): Routine to destory rows
	array properly.

	* gncal-year-view.c (gncal_year_view_new): Add missing year in
	call to strftime.

	* calobj.c (ical_object_create_from_vobject): Fixed memory leaks
	from the return values of versit's fakeCString.

svn path=/trunk/; revision=136
1998-04-15 06:37:34 +00:00
32c4768901 Argh
svn path=/trunk/; revision=135
1998-04-15 03:13:44 +00:00
0e5cfe78a5 New widget for the year view. added required compilation of the new files.
1998-04-14  Arturo Espinosa Aldama  <arturo@nuclecu.unam.mx>

        * gncal-year-view.[hc]: New widget for the year view.
	* Makefile.am: added required compilation of the new files.

svn path=/trunk/; revision=134
1998-04-15 02:40:24 +00:00
3161696e57 Load recurrence rules; Paint the recurrence screen according to the rules.
Load recurrence rules;  Paint the recurrence screen according to the
rules.

-miguel

svn path=/trunk/; revision=133
1998-04-14 05:24:38 +00:00