2003-09-28 Michael Opdenacker * cursmenu.c, error.c, gtypist.c, script.c: Added #define _(String) gettext (String) so that we don't have to hack gettext.h and make it non standard. * autogen.sh: now copyies gettext.h from its install. * gettext.h: removed from CVS * configure.in: Should now work when both ncurses and curses are installed, on GNU/Solaris for example. * QUESTIONS: renaming of the StandardQuestions file. Now distributed in the source package. * TODO: updated. All developers should write their ideas in this file. 2003-08-28 Rob Leslie * gtypist.c: Added support to resync with the typist after an error. If the typist presses the correct key after an error, it is ignored (sync behind). If the typist misses a key, it is flagged as an error but the key is credited to the next character so the typist can continue without stopping (sync ahead). 2003-08-24 Dmitry Rutsky * cursmenu.c: a better handling of `left' and `right' keys in the menus, don't go offscreen on the keys if there is a large single-column list (as in lessons/ttde.typ). 2003-08-03 Dmitry Rutsky * lessons/ru.typ: new Russian cyrillic keyboard course. * po/ru.po, configure.in: new Russian localization. * tools/typcombine: tell about new course in "More lessons..." * *.[ch]: corrected "gtypist-bug" to "bug-gtypist" in addresses. * gtypist.c: #include , internationalization didn't worked without it (LC_ALL was not #defined); type of YN and RNE strings changed to `unsigned char' (comparisons with them if they were characters with 8th bit set didn't work correctly). * lessons/Makefile.am: include ru.typ in the distribution, as well as cs.typ. 2003-07-19 Dmitry Rutsky * configure.in: removed Makefiles automagically added there by gettextize (yes, that was my mistake in 2003-07-01). Added note that this file will be changed by gettextize. * autogen.sh: don't run gettextize if the sources were gettextized already. * Makefile.am: added headers to gtypist_SOURCES back (yes, that was my mistake too), removed some duplicates of what gettextize added there. Added note regarding gettextize. * cursmenu.c: 'q' now works as ESCAPE in the menus. * *.[ch] except getopt*.[ch]: added/corrected legal attributes. * gtypist.c, script.c: exit in case user got to particular excersize with -l and tried to exit using `E'. 2003-07-19 Dmitry Rutsky * configure.in: removed Makefiles automagically added there by gettextize (yes, that was my mistake in 2003-07-01). Added note that this file will be changed by gettextize. * autogen.sh: don't run gettextize if the sources were gettextized already. * Makefile.am: added headers to gtypist_SOURCES back (yes, that was my mistake too), removed some duplicates of what gettextize added there. Added note regarding gettextize. * cursmenu.c: 'q' now works as ESCAPE in the menus. * *.[ch] except getopt*.[ch]: added/corrected legal attributes. * gtypist.c, script.c: exit in case user got to particular excersize with -l and tried to exit using `E'. 2003-07-04 Dmitry Rutsky * cursmenu.c: "Up/Exit" label code was commented out, since ESCAPE key works, we don't need these items. * gtypist.[ch], cusmenu.c: support for colors in the top banner. New gtypist.h header for convenience. New --banner-colours option to select the banner colours. * script.c: now we ignore empty lines with some whitespaces rather than exit with "data shortage". * gtypist.c, cursmenu.c, script.c: fixed segfault which occured when the first thing in the script was not a menu. There actually was a bunch of problems, it seems that now they are fixed. 2003-07-03 Dmitry Rutsky * error.[ch], gtypist.c, cursmenu.c: some cleanups. * gtypist.c: new option `--always-sure' was added to suppress stupid confirmations. Bottom-line messages was tweaked a little to improve appearance (spaces at the edges), "Press Return..." now works as "Press RETURN or SPACE to continue, ESC to return to the menu". * cursmenu.c: add '\x0A' for working RETURN key in DOS build. 2003-07-02 Dmitry Rutsky * curmenu.c: Now we do not erase the banner, display the menu header centered above the menu, and even print some menu motion help at the bottom. Also now you can move around the menu with arrowed (or vi) keys in any desired possible direction, it is very useful in multi-column menus. 2003-07-01 Dmitry Rutsky * autogen.sh: check autoconf exit status and display useful information if it has failed rather than just go on and get more failures. * configure.in: duplicate intl/Makefile, po/Makefile.in and po/Makefile have been removed, autoconf no longer fails to build because of that. * README.CVS now can aid building the sources from CVS by unexperienced (for me it was a great pain). * autogen.sh: redundant `rm -f config.cache' has been removed (it have no effect with modern autoconf). * cursmenu.c: missing standard #includes were added, the code was corrected a little to eliminate the compiler warnings (what the meaning of do_menu return value was intended to be?). * script.c, error.c: missing standard includes were added, all of the compiler warnings were suppressed. * Makefile.am: excluded headers from GTYPIST_sources, they are not separately compiled and get into dependencies automatically. * configur.bat.in: really include new modules (see the ChangeLog record of 2003-04-06; BTW autogen warns about it). * cursmenu.c: '\n' was supplemented by KEY_ENTER (without it in the DOS build it was impossible to select any menu item, and even exit the program); new aliases for the control keys: KEY_RIGHT for KEY_ENTER; 'K' and 'J' for KEY_UP and KEY_DOWN respectively (now you can write in the documentation that gtypist supports vi keys in menu control ;-) ). * Some hacks to enable the `E' key in "exit the lesson" queries again, it seems to work. * cursmenu.c: added working "go back" key in the menu that completes the basical navigation code: 'Esc' or 'H' will get you to the previous menu where you've been, or out of the program if it is toplevel menu. * gtypist.c: quick hack to get rid of annoying Escape key delays in the ncurses library. * script.c: made it to print "Happy Typing!" at exit rather than just clear the screen :-) 2003-06-08 Felix Natter * cursmenu.c (do_menu): fix a bug when scrolling with many columns and items (new variable `real_items_per_column' replaces `items_first_column') * compute `columns' with a spacing of 2 so that we're sure that menu-item descriptions don't clash 2003-05-02 Michael Opdenacker * po/zh_TW: New Traditional Chinese translation from OLS3 \ 2003-04-13 Hynek Hanke * lessons/cs.typ: use M instead of K for menus * po/cs.po: new messages translated * doc/gtypist.cs.texi: updated 2003-04-06 Felix Natter * configur.bat: include the new modules * tools/typcombine: adapt to M: 2003-03-31 Felix Natter * cursmenu.c (do_menu): parse UP=