mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Fix a bunch of spelling mistakes found by Jens Schleusener
This commit is contained in:
2
build.tk
2
build.tk
@@ -355,7 +355,7 @@ proc RunCommand { cmd } {
|
|||||||
# %RETURNS:
|
# %RETURNS:
|
||||||
# Nothing
|
# Nothing
|
||||||
# %DESCRIPTION:
|
# %DESCRIPTION:
|
||||||
# Reads characters from command pipelin and appends them to .msg.
|
# Reads characters from command pipeline and appends them to .msg.
|
||||||
#***********************************************************************
|
#***********************************************************************
|
||||||
proc CommandReadable { f } {
|
proc CommandReadable { f } {
|
||||||
global CmdDone
|
global CmdDone
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
# version 0.5 2007-03-21
|
# version 0.5 2007-03-21
|
||||||
# - Add more help options
|
# - Add more help options
|
||||||
# - --project-lead-time option
|
# - --project-lead-time option
|
||||||
# - Supress printing of heading if there are no todos to print
|
# - Suppress printing of heading if there are no todos to print
|
||||||
# version 0.4
|
# version 0.4
|
||||||
# - Version 0.4 changes all written or inspired by, and thanks to Mark Stosberg
|
# - Version 0.4 changes all written or inspired by, and thanks to Mark Stosberg
|
||||||
# - Change to GetOptions
|
# - Change to GetOptions
|
||||||
@@ -84,7 +84,7 @@ How may days in advance to start getting reminders about the events. Defaults to
|
|||||||
|
|
||||||
ical2rem.pl --no-todos
|
ical2rem.pl --no-todos
|
||||||
|
|
||||||
If you don't care about the ToDos the calendar, this will surpress
|
If you don't care about the ToDos the calendar, this will suppress
|
||||||
printing of the ToDo heading, as well as skipping ToDo processing.
|
printing of the ToDo heading, as well as skipping ToDo processing.
|
||||||
|
|
||||||
=head2 --heading
|
=head2 --heading
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ appear with exactly the text and exactly the same duration (including
|
|||||||
one VEVENT object, that will have a RFC2445 C<RDATE> property.
|
one VEVENT object, that will have a RFC2445 C<RDATE> property.
|
||||||
|
|
||||||
B<rem2ics> is not yet smart enough to derive an C<RRULE> based
|
B<rem2ics> is not yet smart enough to derive an C<RRULE> based
|
||||||
recurrance. If you really want that feature, either implement it and
|
recurrence. If you really want that feature, either implement it and
|
||||||
send in a patch, or contact the author and convince him to do it.
|
send in a patch, or contact the author and convince him to do it.
|
||||||
|
|
||||||
=head2 Other iCalendar Properties
|
=head2 Other iCalendar Properties
|
||||||
@@ -164,7 +164,7 @@ runs.
|
|||||||
|
|
||||||
=head2 Other iCalendar Perl objects
|
=head2 Other iCalendar Perl objects
|
||||||
|
|
||||||
Why does't B<rem2ics> use any of the iCalendar Perl stuff in CPAN?
|
Why doesn't B<rem2ics> use any of the iCalendar Perl stuff in CPAN?
|
||||||
Because I don't trust them, and they are too big for this app. One
|
Because I don't trust them, and they are too big for this app. One
|
||||||
links to a binary library. Another hasn't been maintained since 1991,
|
links to a binary library. Another hasn't been maintained since 1991,
|
||||||
and is full of notes as to how buggy and incomplete it is. And so
|
and is full of notes as to how buggy and incomplete it is. And so
|
||||||
@@ -218,7 +218,7 @@ Bug fix, error message for non-recurring events
|
|||||||
Bug fix,
|
Bug fix,
|
||||||
rem2ics 0.91 chokes on timed reminders with
|
rem2ics 0.91 chokes on timed reminders with
|
||||||
duration using `remind -s` as it functions in remind-03.01.03.
|
duration using `remind -s` as it functions in remind-03.01.03.
|
||||||
Remind 3.01 changed how the -s data is formated for events that have a duration
|
Remind 3.01 changed how the -s data is formatted for events that have a duration
|
||||||
Patch by Paul Hinze E<lt>paul dot t dot hinze at gmail dot comE<gt>
|
Patch by Paul Hinze E<lt>paul dot t dot hinze at gmail dot comE<gt>
|
||||||
and Michael Schultz E<lt>mjschultz at gmail dot comE<gt>
|
and Michael Schultz E<lt>mjschultz at gmail dot comE<gt>
|
||||||
|
|
||||||
@@ -376,7 +376,7 @@ foreach $v (@events) {
|
|||||||
|
|
||||||
my(%grovel);
|
my(%grovel);
|
||||||
|
|
||||||
# if the user doesnt want recurrance detection
|
# if the user doesn't want recurrence detection
|
||||||
unless ($options{norecurr}) {
|
unless ($options{norecurr}) {
|
||||||
|
|
||||||
# then dont put events in the grovel hash
|
# then dont put events in the grovel hash
|
||||||
@@ -393,7 +393,7 @@ unless ($options{norecurr}) {
|
|||||||
$v = ${$grovel{$k}}[0];
|
$v = ${$grovel{$k}}[0];
|
||||||
$v->{recurlist} = \@{$grovel{$k}};
|
$v->{recurlist} = \@{$grovel{$k}};
|
||||||
foreach my $v0 (@{$grovel{$k}}) {
|
foreach my $v0 (@{$grovel{$k}}) {
|
||||||
$v0->{is_recurrance} = $v;
|
$v0->{is_recurrence} = $v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -409,12 +409,12 @@ unless ($options{norecurr}) {
|
|||||||
# might have a problem if a recurring event has two instances both on
|
# might have a problem if a recurring event has two instances both on
|
||||||
# the first day.
|
# the first day.
|
||||||
|
|
||||||
# Every event that is recurring has a "is_recurrance" property.
|
# Every event that is recurring has a "is_recurrence" property.
|
||||||
# Additionally, (hopefully) the first/earliest event in a set of
|
# Additionally, (hopefully) the first/earliest event in a set of
|
||||||
# recurrances has a "recurlist" property. The "recurlist" is a
|
# recurrences has a "recurlist" property. The "recurlist" is a
|
||||||
# reference to a list of references to each of the events. The first
|
# reference to a list of references to each of the events. The first
|
||||||
# one on that list will be the same event that has the "recurlist"
|
# one on that list will be the same event that has the "recurlist"
|
||||||
# property. The "is_recurrance" property is a reference back to the
|
# property. The "is_recurrence" property is a reference back to the
|
||||||
# event that has the "recurlist" property.
|
# event that has the "recurlist" property.
|
||||||
|
|
||||||
foreach my $k (keys %grovel) {
|
foreach my $k (keys %grovel) {
|
||||||
@@ -466,8 +466,8 @@ foreach my $k (keys %grovel) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach $v (@events) {
|
foreach $v (@events) {
|
||||||
# for recurrant events, skip those that arnt the "head"
|
# for recurrent events, skip those that arnt the "head"
|
||||||
next if ($v->{is_recurrance} and (not $v->{recurlist}));
|
next if ($v->{is_recurrence} and (not $v->{recurlist}));
|
||||||
|
|
||||||
if (${$v->{sf}}[4] eq "*") { # no time was given
|
if (${$v->{sf}}[4] eq "*") { # no time was given
|
||||||
$v->{i_dtstart} = sprintf("DTSTART:%s", $v->{dts});
|
$v->{i_dtstart} = sprintf("DTSTART:%s", $v->{dts});
|
||||||
@@ -485,7 +485,7 @@ foreach $v (@events) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (${$v->{sf}}[3] ne "*") { # a duration was given
|
if (${$v->{sf}}[3] ne "*") { # a duration was given
|
||||||
# It's convienient that RFC2445 defines DURATION, thus we
|
# It's convenient that RFC2445 defines DURATION, thus we
|
||||||
# don't need to calculate DTEND, with awkward figuring out
|
# don't need to calculate DTEND, with awkward figuring out
|
||||||
# crossing hours, days, months, year, etc. Instead we
|
# crossing hours, days, months, year, etc. Instead we
|
||||||
# will let the iCalendar consuming application worry about it.
|
# will let the iCalendar consuming application worry about it.
|
||||||
@@ -501,8 +501,8 @@ print "BEGIN:VCALENDAR\015\012"
|
|||||||
|
|
||||||
# output each vevent
|
# output each vevent
|
||||||
foreach $v (@events) {
|
foreach $v (@events) {
|
||||||
# for recurrant events, only output the "head", skip the others
|
# for recurrent events, only output the "head", skip the others
|
||||||
next if ($v->{is_recurrance} and (not $v->{recurlist}));
|
next if ($v->{is_recurrence} and (not $v->{recurlist}));
|
||||||
|
|
||||||
print "BEGIN:VEVENT\015\012";
|
print "BEGIN:VEVENT\015\012";
|
||||||
my $tag = ${$v->{sf}}[2];
|
my $tag = ${$v->{sf}}[2];
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ ENDIF
|
|||||||
###########################################################
|
###########################################################
|
||||||
SET Quote CHAR(34)
|
SET Quote CHAR(34)
|
||||||
|
|
||||||
# Handy constants/function for specifing week of month...
|
# Handy constants/function for specifying week of month...
|
||||||
SET Week_1 1
|
SET Week_1 1
|
||||||
SET Week_2 8
|
SET Week_2 8
|
||||||
SET Week_3 15
|
SET Week_3 15
|
||||||
|
|||||||
@@ -2237,10 +2237,10 @@ static int SunStuff(int rise, double cosz, int jul)
|
|||||||
/* Sometimes, we get roundoff error. Check for "reasonableness" of
|
/* Sometimes, we get roundoff error. Check for "reasonableness" of
|
||||||
answer. */
|
answer. */
|
||||||
if (rise) {
|
if (rise) {
|
||||||
/* Sunrise so close to midnight it wrapped around -- permament light */
|
/* Sunrise so close to midnight it wrapped around -- permanent light */
|
||||||
if (hours >= 23) return NO_TIME;
|
if (hours >= 23) return NO_TIME;
|
||||||
} else {
|
} else {
|
||||||
/* Sunset so close to midnight it wrapped around -- permament light */
|
/* Sunset so close to midnight it wrapped around -- permanent light */
|
||||||
if (hours <= 1) return -NO_TIME;
|
if (hours <= 1) return -NO_TIME;
|
||||||
}
|
}
|
||||||
return hours*60 + mins;
|
return hours*60 + mins;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdio.h> /* For defintion of FILE - sigh! */
|
#include <stdio.h> /* For definition of FILE - sigh! */
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "custom.h"
|
#include "custom.h"
|
||||||
#define MK_GLOBALS 1
|
#define MK_GLOBALS 1
|
||||||
|
|||||||
@@ -1135,8 +1135,8 @@ int DoErrMsg(ParsePtr p)
|
|||||||
|
|
||||||
/* The array FoldArray[2][7] contains sample years which begin
|
/* The array FoldArray[2][7] contains sample years which begin
|
||||||
on the specified weekday. For example, FoldArray[0][2] is a
|
on the specified weekday. For example, FoldArray[0][2] is a
|
||||||
non-leapyear beginning on Wednesday, and FoldArray[1][5] is a
|
non-leap year beginning on Wednesday, and FoldArray[1][5] is a
|
||||||
leapyear beginning on Saturday. Used to fold back dates which
|
leap year beginning on Saturday. Used to fold back dates which
|
||||||
are too high for the standard Unix representation.
|
are too high for the standard Unix representation.
|
||||||
NOTE: This implies that you cannot set BASE > 2001!!!!! */
|
NOTE: This implies that you cannot set BASE > 2001!!!!! */
|
||||||
static int FoldArray[2][7] = {
|
static int FoldArray[2][7] = {
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ void HandleQueuedReminders(void)
|
|||||||
/* Do NOT trigger the reminder if tt.nexttime is more than a
|
/* Do NOT trigger the reminder if tt.nexttime is more than a
|
||||||
minute in the past. This can happen if the clock is
|
minute in the past. This can happen if the clock is
|
||||||
changed or a laptop awakes from hibernation.
|
changed or a laptop awakes from hibernation.
|
||||||
However, DO triger if tt.nexttime == tt.ttime so all
|
However, DO trigger if tt.nexttime == tt.ttime so all
|
||||||
queued reminders are triggered at least once. */
|
queued reminders are triggered at least once. */
|
||||||
if ((SystemTime(1) - (q->tt.nexttime * 60) <= 60) ||
|
if ((SystemTime(1) - (q->tt.nexttime * 60) <= 60) ||
|
||||||
(q->tt.nexttime == q->tt.ttime)) {
|
(q->tt.nexttime == q->tt.ttime)) {
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ set e a + " at " + tu
|
|||||||
[a] msg [show("y")]
|
[a] msg [show("y")]
|
||||||
[a] msg [show("z")]
|
[a] msg [show("z")]
|
||||||
|
|
||||||
msg %_Time substititions for a time in the future:%
|
msg %_Time substitutions for a time in the future:%
|
||||||
[d] msg [show("1")]
|
[d] msg [show("1")]
|
||||||
[d] msg [show("2")]
|
[d] msg [show("2")]
|
||||||
[d] msg [show("3")]
|
[d] msg [show("3")]
|
||||||
@@ -143,7 +143,7 @@ msg %_Time substititions for a time in the future:%
|
|||||||
[d] msg [show("!")]
|
[d] msg [show("!")]
|
||||||
[d] msg [show("@")]
|
[d] msg [show("@")]
|
||||||
[d] msg [show("#")]
|
[d] msg [show("#")]
|
||||||
msg %_Time substititions for a time in the past:%
|
msg %_Time substitutions for a time in the past:%
|
||||||
[e] msg [show("1")]
|
[e] msg [show("1")]
|
||||||
[e] msg [show("2")]
|
[e] msg [show("2")]
|
||||||
[e] msg [show("3")]
|
[e] msg [show("3")]
|
||||||
@@ -158,7 +158,7 @@ msg %_Time substititions for a time in the past:%
|
|||||||
[e] msg [show("@")]
|
[e] msg [show("@")]
|
||||||
[e] msg [show("#")]
|
[e] msg [show("#")]
|
||||||
|
|
||||||
msg %_Time substititions for the current time:%
|
msg %_Time substitutions for the current time:%
|
||||||
set e a + " at " + now()
|
set e a + " at " + now()
|
||||||
[e] msg [show("1")]
|
[e] msg [show("1")]
|
||||||
[e] msg [show("2")]
|
[e] msg [show("2")]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ it should work on any UNIX web server.
|
|||||||
|
|
||||||
To install it, you need the Remind package, available via ftp from
|
To install it, you need the Remind package, available via ftp from
|
||||||
https://dianne.skoll.ca/projects/remind/ You should install Remind,
|
https://dianne.skoll.ca/projects/remind/ You should install Remind,
|
||||||
setting the lattitude, longitude, location and time zone as appropriate
|
setting the latitude, longitude, location and time zone as appropriate
|
||||||
for your machine.
|
for your machine.
|
||||||
|
|
||||||
Once you have Remind installed, follow these steps to set up your WWW
|
Once you have Remind installed, follow these steps to set up your WWW
|
||||||
|
|||||||
Reference in New Issue
Block a user