Liss Tarnell
4436927dcb
configure: rebuild
2017-09-25 13:26:36 +01:00
Liss Tarnell
be5a5c6a41
configure.ac: RT/TTS -> TTS
2017-09-25 13:25:58 +01:00
Liss Tarnell
b473a74c9d
configure.ac: bump version to D.84.1
2017-09-25 13:25:23 +01:00
Liss Tarnell
b4e2a8e6cf
functions.c: do not allow entry titles containing only whitespace
2017-09-25 13:24:40 +01:00
Liss Tarnell
e37b911807
kmerge: remove extraneous '?' in merge prompt
2017-09-25 13:18:23 +01:00
Liss Tarnell
6c853f1b95
configure: raise error if curses is not found
2017-09-25 13:14:35 +01:00
Liss Tarnell
000a019648
README: -> README.md
2017-06-27 15:14:11 +01:00
Liss Tarnell
75750530a7
update README and add a screenshot
2017-06-27 15:13:57 +01:00
Felicity Tarnell
e73d4f8a10
bling_import.pl: fix LWP import
2017-05-23 09:42:45 +01:00
Felicity Tarnell
bf5a894fc2
.gitignore: update
2016-04-12 10:13:21 +01:00
Felicity Tarnell
a91ce6326d
str.c: missing #include <time.h>
2016-04-12 10:12:44 +01:00
Felicity Tarnell
c0074a61d2
prompt(): handle tab characters
2014-11-18 15:48:14 +00:00
Felicity Tarnell
7ff1070bb7
Fix bling_import.pl error message.
2014-05-27 12:18:10 +01:00
Felicity Tarnell
86f643dc0e
Add mailing list info to README.
2014-03-31 02:08:17 +01:00
Felicity Tarnell
49651c90a2
Honour user's time format when editing entry duration.
2014-03-08 13:58:21 +00:00
Felicity Tarnell
0479ee0f89
Configurable time format.
2014-03-08 13:49:19 +00:00
Felicity Tarnell
2af789884e
Use new time format in day headers.
2014-03-08 13:26:35 +00:00
Felicity Tarnell
1ea26690e5
Include tts.h for wcs* prototypes.
2014-03-08 13:09:14 +00:00
Felicity Tarnell
2e64382573
Prototype wcsl*
2014-03-08 13:08:55 +00:00
Felicity Tarnell
1758e63f6b
Fix wcslcpy compat.
2014-03-08 13:05:44 +00:00
Felicity Tarnell
7c26144e31
Provide compat functions for wcsl{cpy,cat}().
2014-03-08 13:03:19 +00:00
Felicity Tarnell
684c581b32
Second argument to input_char() is wint_t, not wchar_t.
2014-03-08 12:57:35 +00:00
Felicity Tarnell
0959aad655
Prompt support in macros: $[Text].
2014-03-08 12:54:05 +00:00
Felicity Tarnell
0bf6dd5766
Escape macro bodies when displaying in help.
2014-03-08 12:31:58 +00:00
Felicity Tarnell
34712e643c
New time format: "1h30m7s".
...
This is fairly flexible, so you could say 10s1h, or even 1h1h1h (which is
equivalent to 3h). Time parsing is now implemented by a single function, so
there should be no inconsistencies.
The old [[HH:]MM:]SS syntax is still supported, but not used in prompts.
2014-03-08 12:18:22 +00:00
Felicity Tarnell
c0df452c04
Provide error for invalid number in c_set().
2014-03-08 11:37:52 +00:00
Felicity Tarnell
a5dd2e4ae5
Fix crash on executing unknown command.
2014-03-08 11:31:08 +00:00
Felicity Tarnell
bf84f9a054
Fix memory leak when re-setting variable.
2014-03-08 11:29:01 +00:00
Felicity Tarnell
5739ca900f
Remove obsolete comment.
2014-03-08 11:27:06 +00:00
River Tarnell
e8ccd681e3
Don't spin-loop in prompt().
2014-03-08 01:00:30 +00:00
Felicity Tarnell
f25e283f21
Fix NetBSD and non-ncurses build. Simplify CPPFLAGS.
2014-03-08 00:50:11 +00:00
Felicity Tarnell
003ac6cca4
Always use wide characters.
2014-03-08 00:30:40 +00:00
Felicity Tarnell
d239b1669b
Clean up power code.
2014-03-07 23:50:13 +00:00
Felicity Tarnell
524b09511d
Code cleanups; no functional changes.
2014-03-07 23:47:31 +00:00
Felicity Tarnell
3440a87ea3
Add macro support.
...
Replace WGETCH() with input_char(), which works the same except it supports an
input buffer. Calling input_macro(s) sets the input buffer to 's'. The input
buffer is returned by input_char() as if it had been typed by the user.
If an error occurs (cmderr()), the input buffer is cleared.
2014-03-07 23:34:06 +00:00
Felicity Tarnell
44b2e4371e
Copyright notice for Makefile.
2014-03-07 22:44:57 +00:00
Felicity Tarnell
ba30bffef2
Lots of changes, so make this version D.84.0.
2014-03-07 22:40:18 +00:00
Felicity Tarnell
0b072f4d3a
Fix up the sample style a bit.
2014-03-07 22:39:02 +00:00
Felicity Tarnell
fb9ffde209
Fix prompt styling & memory leak in yesno().
2014-03-07 22:37:43 +00:00
Felicity Tarnell
707812a078
Draw the input prompt in the right place.
2014-03-07 22:24:33 +00:00
Felicity Tarnell
ca908281b4
No need to use kevent64().
2014-03-07 22:19:07 +00:00
Felicity Tarnell
e8396d70ba
Always timeout the poll.
...
Otherwise, events like the laststatus update and (more importantly) lastsave
don't get run unless there's a running entry.
2014-03-07 22:03:47 +00:00
Felicity Tarnell
0c3b7443d5
Handle multiple input characters at once.
2014-03-07 22:00:47 +00:00
Felicity Tarnell
9a3719817e
Fix ^C handling.
2014-03-07 21:58:10 +00:00
Felicity Tarnell
38021971e3
Rework input handling; no functional changes.
...
Instead of using halfdelay() and relying on GETCH() to return, poll for
input ourselves using select() and only call GETCH() when input is ready.
On Darwin, use kqueue instead of select. This allows us to receive IOKit
notifications directly to the main thread, instead of having a separate
thread dedicated to that. We also no longer link to CoreFoundation.
2014-03-07 21:54:26 +00:00
Felicity Tarnell
9676c88378
Add .gitignore.
2014-03-07 20:21:09 +00:00
Felicity Tarnell
a1a3b576a0
OS X: Remove CoreFoundation; use kqueue() directly.
2014-03-07 20:20:20 +00:00
Felicity Tarnell
50d9efdac9
Cleanups; add 'make depend'.
2014-03-07 19:18:20 +00:00
Felicity Tarnell
332fdba0bd
Source refactoring; no functional changes.
2014-03-07 17:43:41 +00:00
Felicity Tarnell
b174130c91
T.83.6: Incorrect memory allocation in configuration parser.
2014-03-07 16:11:23 +00:00