Commit Graph

49 Commits

Author SHA1 Message Date
Dianne Skoll d6b4fdd6d3 Always clean up. 2022-01-20 20:10:39 -05:00
Dianne Skoll e637c20dee Don't try to do filedir() shenanigans for "DO /absolute/path" 2022-01-20 19:47:04 -05:00
Dianne Skoll e51d7f3c6d Add "DO file" command which is equivalent to "INCLUDE [filedir()]/file" 2022-01-20 19:30:10 -05:00
Dianne Skoll 0a1d0011f6 Add "-+username" option to trust "username" for the purpose of allowing RUN. 2021-10-05 12:04:44 -04:00
Dianne Skoll 4395e2f7ed Use "pclose" rather than "fclose" to close descriptors opened with "popen" 2021-09-05 11:45:55 -04:00
Dianne Skoll 3c9b5b786e Convert \n from continuation lines in INCLUDECMD to ' ' to make it a little friendlier. 2021-09-05 11:28:54 -04:00
Dianne Skoll 895ac6f0f7 Fix bugs in INCLUDECMD. Improve INCLUDECMD documentation. Add ! feature
If you use:

    INCLUDECMD !some_command

then RUN is disabled for the outptu of some_command.
2021-09-05 10:49:04 -04:00
Dianne Skoll 759ca0253e Strip leading spaces from arg to INCLUDECMD. 2021-09-05 10:05:18 -04:00
Dianne Skoll 0ca368c8d9 Parse arg to INCLUDECMD as a character string, not a sequence of tokens. 2021-09-05 10:02:59 -04:00
Dianne Skoll c65fd826a5 Use cached results of commands. 2021-09-04 23:25:37 -04:00
Dianne Skoll a163a0c446 Add INCLUDECMD command
Executes a shell command and reads the resulting output as a Remind script.
2021-09-04 23:00:03 -04:00
Dianne Skoll 34409f7a7d Update copyright year. 2021-04-02 10:43:54 -04:00
Dianne Skoll 4f6dcde980 Upper-case section references.
Prevent potential null pointer dereference.
2020-10-31 16:57:13 -04:00
Dianne Skoll fbbffb4672 Bump version to 3.1.18 and copyright year to 2020. 2019-12-30 11:15:00 -05:00
Dianne Skoll 52d252723f Depenguinization. 2018-11-04 10:56:47 -05:00
David F. Skoll 29c8475ea9 s/David/Dianne/ 2015-04-17 02:07:18 -04:00
David F. Skoll fc2d7ae446 Add support for __EOF__ to make Remind stop reading a file. 2014-05-22 14:19:06 -04:00
David F. Skoll 1e5b44d063 Make handling of continued lines same as in 3.1.8. 2010-04-25 10:07:12 -04:00
David F. Skoll 099ad9945d Fix huge bug in handling of continued lines. 2010-04-25 10:03:13 -04:00
David F. Skoll a1faa8d804 Finish up Purge Mode:
o Make it recognize constant expressions (yay!)
o Make it not add a blank line to end of *.purged files.
o Make it nuke #!P comments in the source files.
2010-04-21 09:02:25 -04:00
David F. Skoll d294e62be1 More work on purge mode. 2010-04-20 11:34:07 -04:00
David F. Skoll 31f90b6c53 Add purge mode. 2010-04-20 10:59:57 -04:00
David F. Skoll 184d29c592 More work on -j ("Purge Mode") option. 2010-04-19 15:57:35 -04:00
David F. Skoll 0101d76113 Better -df output. 2009-11-16 00:09:40 -05:00
David F. Skoll 30a385a7bb Fix bug in IsTopLevel. 2008-10-05 14:29:03 -04:00
David F. Skoll 58fbd51ef4 Call globfree to free memory used by glob. 2008-03-24 23:12:27 -04:00
David F. Skoll 5f574949e6 Nicer -df output. Document -df. 2008-03-24 20:39:47 -04:00
David F. Skoll 724bce4fb9 Add "-df" debugging flag to track file opens. 2008-03-24 20:22:00 -04:00
David F. Skoll aad44f4716 Spit out errors if we can't open a non-readable file in a dir/*.rem. 2008-03-24 14:02:39 -04:00
David F. Skoll 26f0acab35 Opening of directories works properly. 2008-03-24 13:16:28 -04:00
David F. Skoll 3897973bc1 Improve error messages. 2008-03-24 13:11:21 -04:00
David F. Skoll a85ee5f31c INCLUDE /directory works. Still need more futzing to fix parse error. 2008-03-24 12:58:23 -04:00
David F. Skoll b272863aa0 Prep for push. 2008-03-24 10:00:34 -04:00
David F. Skoll 8249964380 Start coding feature allowing "INCLUDE /directory" which basically
includes "/directory/*.rem" files in glob-order.
2008-03-22 23:28:51 -04:00
David F. Skoll af81bbb299 Preserve "\n" in continued lines.
Set a flag if parser encounters [expr].
2008-03-15 14:06:12 -04:00
David F. Skoll ce3bb191c4 More code cleanups and const-correctness. 2008-01-30 21:37:19 -05:00
David F. Skoll f055664f77 More const-correctness. 2008-01-27 11:02:03 -05:00
David F. Skoll 0ed1bb4017 Remove $Id$ tags. 2007-08-08 12:05:28 -04:00
dfs 88ff86c910 Removed old non-ANSI, non-UNIX cruft. 2005-09-30 03:29:32 +00:00
dfs 2bc3d991c1 -- Updated contact info, copyright years, etc. 2000-02-18 03:45:11 +00:00
dfs f60fc18d1b -- Changed copyright notice to Roaring Penguin Software Inc. 1999-04-05 17:34:34 +00:00
dfs 102cbcc181 -- Made REMIND accept group-writable files. 1998-04-19 03:39:43 +00:00
dfs 69d85c5228 -- Compiles with no warnings with -Wall flag 1998-02-14 03:31:58 +00:00
dfs 38280bed8a -- Pass some more basic tests.
-- Updated copyright year.
1998-02-10 03:15:46 +00:00
dfs f4e09f9e96 -- Got dynamic-buffer version to pass acceptance test. 1998-02-09 00:25:45 +00:00
dfs ce88211f50 -- Replaced static buffers with dynamic ones and broke everything. 1998-02-07 05:35:50 +00:00
dfs 2db390d2e2 -- Made check for TM_IN_SYS_TIME_H 1998-01-17 04:50:50 +00:00
dfs 931e7a7b26 -- Made source compatible with autoconf script. 1998-01-17 03:58:26 +00:00
dfs 0ff20006c7 -- Rearranged directory structure; starting conversion to autoconf. 1998-01-15 02:49:26 +00:00