📄 changelog
字号:
* utf8.c: Added preprocessor directives to utf8.c to check for locale support. Needs more work: should check for iconv() support. Fix bug which happened when no locale env vars set.Thu Apr 15 2004 Joe Allen <jhallen@world.std.com> * Makefile.am, configure.ac, main.c, scrn.c, uedit.c, ufile.c, utf8.c, utf8.h: First attempt at character set conversion iconv(). Now the file's coding can be different from the terminal's coding. Needs error checking... Also, applied secure linux patch from RedHat.Thu Apr 15 2004 Joe Allen <jhallen@world.std.com> * bw.c, help.c, main.c, menu.c, rc.c, scrn.c, scrn.h, syntax.c, syntax.h, uedit.c, w.c: Fix syntax definition file loader so that you don't get seg faults when you refer to a state which doesn't exist. Fix outatr() to work with non-UTF-8 character sets again. Need to start thinking about iconv(). Mess with option strings to make ^T look nicer. Got rid of yellow selection bar from ^T.Wed Apr 14 2004 Joe Allen <jhallen@world.std.com> * b.c b.h macro.c main.c rc.c uedit.c uerror.c uformat.c utag.c utils.c utils.h: Fix many edit fuctions for UTF-8. Now we use iswalnum() when in UTF-8 mode. Paragraph format works. Search is still broken.Tue Apr 13 2004 Joe Allen <jhallen@world.std.com> * bw.c, syntax.c, syntax.h, syntax/php.jsf.in, syntax/c.jsf.in: Added '-NNN' syntax to .jsf files. Allows you to specify number of lines back to start parsing when we don't have the syntax highlighting state.Tue Apr 13 2004 Joe Allen <jhallen@world.std.com> Moved syntax file to syntax/ subdirectory. They still don't get installed in a subdirectory :-(Tue Apr 13 2004 Joe Allen <jhallen@world.std.com> * scrn.c, rc.c, joerc.in: Added -assume_color global option. Need to update other *rc files.Mon Apr 12 2004 Joe Allen <jhallen@world.std.com> * Makefile.am b.c b.h bw.c scrn.c uedit.c utf8.c utf8.h: Input of UTF-8 is now working. For example, you can cut and paste in an xterm. Placed UTF-8 encoder and decoder in separate file.Mon Apr 12 2004 Joe Allen <jhallen@world.std.com> * bw.c: If a double-wide character hits right column, display '>' instead of the character. If a double-wide character is one column to the left of the screen, display '<' instead of the character.Mon Apr 12 2004 Joe Allen <jhallen@world.std.com> * almost all of them...: Added -notite global option: when set, prevents screen from being restored on exit. Added -usetabs global option: when set, uses tabs for cursor position update (which was the default before). Now we don't use tabs by default. Completed change to 'unsigned char *' and elimination of MAXINT. What a mess. No warnings with gcc -pedantic. Fix UTF-8 bugs where cursor was not correct on scrolled screen.Fri Apr 9 2004 Joe Allen <jhallen@world.std.com> * b.c, b.h, bw.c, types.h: Fix lockup bug with down arrow on last line (utf-8). Type change: chars will be banned. Unsigned char * and int will be used for characters.Fri Apr 9 2004 Joe Allen <jhallen@world.std.com> * Makefile.am, b.c, b.h, bw.c, help.c, main.c, menu.c, rc.c, scrn.c, scrn.h, types.h, uedit.c, w.c, wcwidth.c: Initial check-in of UTF-8 support. Use ^T U to enable UTF-8. JOE is likely to have many bugs at this point.Thu Apr 8 2004 Joe Allen <jhallen@world.std.com> * bw.c, b.c, joerc.in, rc.c, rc.h, tw.c, types.h: Fix screen update bug introduced with Apr 7th change. Option settings now can be based on file contents as well as file name. Added syntax indicator for status line.Thu Apr 8 2004 Joe Allen <jhallen@world.std.com> * syntax.c, syntax.h: Clean up syntax.c: use hash table for keywords, use subroutine for allocating new states.Wed Apr 7 2004 Joe ALlen <jhallen@world.std.com> * scrn.c, bw.c: Fix highlighting bug: pointer was not always at start of line. Assume terminal supports color if it looks like an ansi terminal (this should really be an option).Tue Apr 6 2004 Joe Allen <jhallen@world.std.com> * Makefile.am, bw.c, configure.ac, joerc.in, rc.c, scrn.c, scrn.h, syntax.c, syntax.h, c.jsf.in, perl.jsf.in, verilog.jsf.in: Clean up meaning of default color. Allow syntax to be specified in joerc file: "-syntax perl" Add class definitions to syntax files. Add perl and verilog definitions (they need work). Change joerc to assume files with . in their name do not want word wrap enabled (except for .txt).Thu Apr 1 2004 Joe Allen <jhallen@world.std.com> * scrn.c: Fix color handling for terminals which do not use my defaults :-) Basically we revert to the default text color, use ESC [ 0 m, not ESC [ 37 m and ESC [ 40 m.Tue Mar 30 2004 Joe Allen <jhallen@world.std.com> * uedit.c, syntax.c, syntax.h, types.h, bw.c: Next steps for syntax highlighting: Now there is a real parser, so syntax files can be defined (although, it only loads the C language c.jsf for now). The line length limit has been eliminated. It should be faster for large files: we start parsing only 50 lines back when you hit PgUp, not from the start of file each time. Todo: update other windows, allow files of other types to be highlighted, create user interface to allow region names to be assigned colors, create more syntax files. Possibly create program to convert regex NFA to joe DFA syntax file format.Wed Mar 24 2004 Joe Allen <jhallen@world.std.com> * uedit.c: Fix bug where hitting ^Z on first word of file caused joe to lock upWed Mar 24 2004 Joe Allen <jhallen@world.std.com> * lots of file: First steps at syntax highlighting! This version has support for C only (and the parser is a big hack), and only if all lines in the file are less than 1K. Turn it on with ^T H Todo: some more speed enhancements, a real parser to handle many file types, eliminate long line hack, update other windows during typing, eliminate some cycle saving hacks when highlighting is on.Mon Mar 22 2004 Joe Allen <jhallen@world.std.com> * jmacsrc.in: Added ^X [ and ^X ].Sat Mar 20 2004 Joe Allen <jhallen@world.std.com> * menu.c, menu.h, joerc.in, jstarrc.in, jmacsrc.in, rjoerc.in, jpicorc.in, cmd.c: File selection menu is now four lines instead of one line. This needs a little more work: user should be able to set how many lines it should be in each context.Sat Mar 20 2004 Joe Allen <jhallen@world.std.com> * usearch.c: After every search we reset window left offset to 0 and then make the minimal left-right scroll necessary to get entire found text completely on the screen.Sat Mar 20 2004 Joe Allen <jhallen@world.std.com> * uerror.c: Slight improvement in compiler error parser.Sat Mar 20 2004 Joe Allen <jhallen@world.std.com> Fix shell window again: instead of running bash if there is no SHELL variable defined, we just print a message. Also noticed that session leader stuff in Cygwin is broken: if you suspend joe the subshell breaks.Sat Mar 20 2004 Joe Allen <jhallen@world.std.com> * tty.c, ushell.c: Fix shell window for Cygwin: The problem was that the SHELL environment variable is not defined. So now, if it's not defined we assume /usr/bin/bash. Also, we have to use /dev/ptmx for Cygwin. There is still a problem: have to refresh the screen after shell starts.Fri Mar 19 2004 Joe Allen <jhallen@world.std.com> * tty.c: Fix shell window for SunOS 5.8Thu Mar 18 2004 Joe Allen <jhallen@world.std.com> * usearch.c, regex.c, regex.h: Allow full escape sequences in replacement strings fixes bug #828156Thu Mar 18 2004 Joe Allen <jhallen@world.std.com> * b.c: Automatically detect MS-DOS files (files with ^M^J terminated lines)Thu Mar 18 2004 Joe Allen <jhallen@world.std.com> * tw.c, uedit.c, tty.c: Fix ^C and ^D in shell windows (for linux at least)Mon Jan 19 2004 Marek 'Marx' Grac <xgrac@fi.muni.cz> * utag.c: Correct file position by using tags file generated from ctags 5.5.2Wed Jul 9 2003 John Morrissey <jwm@horde.net> * configure.ac: look for snprintf() in libdb too (fixes compilation on OSF1)Fri Jun 20 2003 Anil Madhavapeddy <anil@recoil.org> * usearch.c: fix boundary to snprintf()Mon Jun 16 2003 Vitezslav Samel <samel@mail.cz> * uedit.c u_goto_prev()/u_goto_next() fix take two: skip over spaces (return of joe-2.8 behaviour)Sun Jun 1 2003 Vitezslav Samel <samel@mail.cz> * cmd.c, tab.c, uisrch.c: don't beep when not asked (suggestion by Marc Joosen <marcj@historia.et.tudelft.nl>)Sun Jun 1 2003 Vitezslav Samel <samel@mail.cz> * configure.ac, ublock.c: NEW FEATURE: when filtering block put JOE_FILENAME= with the right filename into the environment (only when putenv() is available); patch by Marc Joosen <marcj@historia.et.tudelft.nl>Sat May 31 2003 Vitezslav Samel <samel@mail.cz> * uedit.c: make u_goto_prev()/u_goto_next() act like ubackw()/u_word_delete() when moving cursor, i.e. operate on the same class of charactersSat May 31 2003 Vitezslav Samel <samel@mail.cz> * configure.ac: change version number to include _CVS suffixMon May 5 2003 Vitezslav Samel <samel@mail.cz> *** Release joe-2.9.8 *** * NEWS, configure.ac, main.c: update NEWS; bump up version; update copyright year Sat May 3 2003 Vitezslav Samel <samel@mail.cz> * README: delete untrue statements and mention the new build system; this file needs some more workSat Mar 22 2003 Vitezslav Samel <samel@mail.cz> * jstarrc.in, rc.c: fix typos (patch by Jesse McGrew)Sat Mar 22 2003 Vitezslav Samel <samel@mail.cz> * cmd.c: fix memleak in docmd() (patch by Jesse McGrew)Sat Mar 22 2003 Vitezslav Samel <samel@mail.cz> * path.c: use O_EXCL when creating temporary fileSun Mar 2 2003 Vitezslav Samel <samel@mail.cz> * bw.c, cmd.c, hash.c, kbd.c, macro.c, main.c, menu.c, path.c, poshist.c, pw.c, qw.c, rc.c, regex.c, scrn.c, tab.c, termcap.c, tty.c, tw.c, ublock.c, uedit.c, uerror.c, ufile.c, uisrch.c, umath.c, undo.c, usearch.c, ushell.c, utag.c, vfile.c, vs.c, w.c: change 0 to NULL where we're talking about pointersSun Mar 2 2003 Vitezslav Samel <samel@mail.cz> * vs.c, vs.h: make vsrm() and slen() of type sELEMENT *Sat Feb 22 2003 Vitezslav Samel <samel@mail.cz> * configure.ac: remove AC_FUNC_MALLOC check; this fixes problem with compilation on alpha; we should check for size == 0 in joe_malloc()Wed Feb 19 2003 Vitezslav Samel <samel@mail.cz> * b.c, b.h, cmd.c, cmd.h, help.c, kbd.c, kbd.h, macro.c, macro.h, main.c, rc.c, rc.h, regex.c, uisrch.c: change type of variables holding string to unsigned char *Wed Feb 19 2003 Vitezslav Samel <samel@mail.cz> * b.c, tw.c: change type of variables holding time values to time_tSat Feb 15 2003 Vitezslav Samel <samel@mail.cz> * b.c, b.h, bw.c, config.h, macro.c, regex.c, tty.c, ublock.c, uedit.c, uerror.c, uformat.c, uisrch.c, usearch.c, utag.c, utils.c, utils.h, vfile.c, vfile.h: fix segafults in isalpha(): replace MAXINT with NO_MORE_DATA symbol which has value of EOF (-1); that value is permitted to pass into isalpha() type functionsSun Jan 5 2003 Vitezslav Samel <samel@mail.cz> * configure.ac: newer versions (>= 2.54) of autoconf need AC_PROG_EGREP to prevent lockup when running configure; this change require autoconf-2.54 at least to properly build joe from CVSWed Jan 1 2003 Vitezslav Samel <samel@mail.cz> * rc.c: eliminate "expr, expr" to make sources more readable; change "magic number" to the sizeof()Wed Jan 1 2003 Vitezslav Samel <samel@mail.cz> * b.c: pisbow() should match the beginning of file and piseow() should match the end of fileSat Dec 7 2002 Vitezslav Samel <samel@mail.cz> * kbd.c: don't expect all archs have "char == signed char" by defaultSat Dec 7 2002 Vitezslav Samel <samel@mail.cz> * blocks.c, vfile.c: 64bit arch fixes: don't expect pointer fits into int (now we assume it fits into unsigned long)Sat Dec 7 2002 Vitezslav Samel <samel@mail.cz> * types.h, usearch.c: rename restrict() and restrict member of struct search to make joe compile under HPUX with HP C compilerMon Aug 5 2002 Vitezslav Samel <samel@mail.cz> *** SECURITY *** * ufile.c: drop suid and sgid bits (if set) when creating backup filesSat Jul 27 2002 Vitezslav Samel <samel@mail.cz> * jmacsrc.in, jpicorc.in, jstarrc.in: use .@7 terminfo entry for "End" keyWed Jun 26 2002 Vitezslav Samel <samel@mail.cz> * bw.c, rc.c, rc.h, w.c: rename getcontext() to kmap_getcontext() to prevent conflict with glibc (from Debian patches)Mon Jun 17 2002 Vitezslav Samel <samel@mail.cz> * ublock.c: insert braces to make if() block evidentSun Jun 9 2002 Vitezslav Samel <samel@mail.cz> * b.c, bw.c, cmd.c, hash.c, kbd.c, macro.c, main.c, rc.c, regex.c, termcap.c, tty.c, ublock.c, umath.c, vfile.c: change "expr, expr" to "expr; expr" where appropriate to make sources more readable (should have no impact on code) (take 2)Sun Jun 9 2002 Vitezslav Samel <samel@mail.cz> * hash.c, hash.h: move hnext() definition into hash.cSun Jun 9 2002 Vitezslav Samel <samel@mail.cz> * bw.c, rc.c, termcap.c, ufile.c, usearch.c: kill some warnings when compiled with -WallSat Jun 8 2002 Vitezslav Samel <samel@mail.cz> * cmd.c: unwrap array elements in initialization of cmds[]Sat Jun 8 2002 Vitezslav Samel <samel@mail.cz> * va.c, va.h: change aELEMENT #define to typedefSat Jun 8 2002 Vitezslav Samel <samel@mail.cz> * ufile.c: change write() to joe_write() to avoid partly copied filesSat Jun 8 2002 Vitezslav Samel <samel@mail.cz> * termcap.c: strcmp() can return values other than -1/0/+1Sat Jun 8 2002 Vitezslav Samel <samel@mail.cz> * b.c, bw.c, macro.c, path.c, pw.c, queue.h, rc.c, regex.c, scrn.c, scrn.h, tab.c, termcap.c, termidx.c, tty.c, tw.c, ublock.c, uedit.c, uerror.c, ufile.c, uformat.c, undo.c, usearch.c, ushell.c, vfile.c, vs.c, w.c: change "expr, expr" to "expr; expr" where appropriate to make sources more readable (should have no impact on code)Tue Jun 4 2002 Vitezslav Samel <samel@mail.cz> * scrn.c: don't clear screen when nonzero skiptop is given (part 2)Mon Jun 3 2002 Vitezslav Samel <samel@mail.cz> * scrn.c: don't clear screen when nonzero skiptop is givenSat Jun 1 2002 Vitezslav Samel <samel@mail.cz> * configure.ac, utils.c: kill warnings when compilling with -WundefTue May 21 2002 Vitezslav Samel <samel@mail.cz> * poshist.c, scrn.c, uformat.c: include some headers which are needed to compile without warnings about implicit function declarationsSun May 5 2002 Vitezslav Samel <samel@mail.cz>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -