home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vile-src.zip / vile-8.1 / CHANGES < prev    next >
Text File  |  1998-10-02  |  20KB  |  390 lines

  1. Changes for vile 8.1 (released Fri Oct 02, 1998)
  2.  
  3.  (tom) 980102 (w)
  4.      + modify xterm mouse-click handling so that clicking on the left margin
  5.       when the window is right-shifted always shifts it left.  Before, if
  6.       a tab fell on the left margin, the effective column was still in the
  7.       visible part of the window.
  8.     + back out redundant limit-check in display.c from 8.0u that caused
  9.       an extra cell to be highlighted when doing full-line selection.
  10.  
  11.  (tom) 980101 (v)
  12.      + updated install-rules for perl scripts.
  13.     + set was_clean flag in all instances of ttclean(), fixing a problem
  14.       where TTkopen() was not invoked on return from :sh command (reported
  15.       by Ryan Murray).
  16.      + strip trailing ^M's from hilite.pl and syntax.pl, add those to the
  17.       list of Perl scripts in vile.hlp and makefiles (report/patch by
  18.       Clark Morgan).
  19.     + pass-through $(OPT) value in recursive-make in makefile.wnt (patch
  20.       by Clark Morgan).
  21.     + move logic to reset regionshape out of multimotion, to main.c's loop(),
  22.       since commands such as "y2q<some motion>q" would otherwise be yanked
  23.       in EXACT mode (reported by Ed Henderson).
  24.  
  25.  (tom) 980930 (u)
  26.     + modify :ww command to ignore readonly buffers (reported by Chris
  27.       Sherman).
  28.     + add sample Redhat RPM spec file "vile.spec" (from Radek Liboska
  29.       <liboska@uochb.cas.cz>).
  30.     + add code to allow user to color Motif pulldown menus, ifdef'd with
  31.       OPT_MENUS_COLORED, normally off since I prefer the toolkit's color
  32.       scheme (patch by Mark D Robinson <Mark.D.Robinson@farn-wts.uk.Sun.COM>)
  33.     + modify multimotion to reset regionshape to the original value on
  34.       return after a selection is made, or to EXACT if the selection is
  35.       aborted.  This corrects a case where performing quoted fullline
  36.       motion would cause a succeeding "cw" command to affect the whole line
  37.       (reported by Yuri Antonik <ya@islc.minsk.by>).
  38.     + add syntax.pl, hilite.pl, which support syntax highlighting for perl,
  39.       c and tcl (Kuntal Daftary).
  40.     + modify os2vio.c so that when running vile in fullscreen mode, bright
  41.       colors are used rather than blinking colors.
  42.      + undo incorrect use of VFCOL mask from my 7.2q change, which caused
  43.       the pscreen array to record VAREV attributes on shifted-in rows.
  44.     + minor optimization in vtset function to perform better on very long
  45.       lines.
  46.     + modify x11.c to give xvile CDE-like quad-click support.  CDE's
  47.       dtterms select the entire window (including scrollback) on a quad
  48.       click.  Increased the timeout slightly to be able to repeatedly
  49.       select this (patch by Ryan Murray).
  50.     + documentation updates for visvile (patch by Clark Morgan).
  51.     + fix a bug that prevented -font option from working on winvile
  52.       (patch by Clark Morgan).
  53.  
  54.  (tom) 980925 (t)
  55.      + correct two errors in AdjustedWidth and AdjustedHeight, making
  56.       winvile resize properly when maximized, as well as not jumping when
  57.       resizing after changing fontsize.
  58.     + keep caret in winvile invisible until ttrow,ttcol point to a legal
  59.       position, i.e., until initialization is complete.
  60.  
  61.  (tom) 980922 (s)
  62.      + correct caret position and size in winvile after changing fontsize.
  63.     + modify putctext() function to support setv of $word, $identifier,
  64.       $qidentifier and $pathname.
  65.     + rename "$wline" to "$wlines", add "$bchars" and "$blines" to return
  66.       the number of characters and lines in the current buffer,
  67.       respectively (request by Paul Askounis <askounis@sgi.com>).
  68.     + modify select.c to allow de-attributing attributed regions.  It takes
  69.       care of the following scenarios now: 
  70.       - Non-overlapping regions were decided earlier on the basis on just
  71.         line offsets and as a result worked correctly only for FULLLINE
  72.         regions.  Now they are decided based on line and column offsets and
  73.         so work correctly for all three region types. 
  74.       - when de-attributing a region, partially or completely overlapping
  75.         with a previously attributed region, the whole of previous region
  76.         was de-attributed instead of only the overlapping portion.  Now
  77.         only the overlapping portion is de-attributed as long as we don't
  78.         have any RECTANGLE regions.  The fix still does not include
  79.         RECTANGLE regions. 
  80.       (patch by Kuntal M Daftary)
  81.     + modify c-filt.c to allow color and text attributes simultaneously
  82.       (patch by Gary Ross <ross@Ultimatech.COM>)
  83.     + add watch.obj to descrip.mms and vmsbuild.com; change ifdef's for
  84.       VMS consistently to SYS_VMS and comment-out Motif xvile definitions
  85.       in descrip.mms in favor of X toolkit (reported by Andy Harper).
  86.       This may make xvile build with DEC C, however Andy reports also that
  87.       his library lacks XmCreatePullDownWindow, which is not simple to fix.
  88.  
  89.  (kev) 980919 (r)
  90.      + buffer.c (zotbuf): Kill any fake windows associated with
  91.       the buffer we're about to kill.
  92.     + select.c (hyperspray): Only execute the first found hypertext
  93.       command.
  94.     + window.c (delwp): Added support for deleting fake windows.
  95.       (push_fake_win, pop_fake_win): Removed #if 0'd out code.
  96.     + x11.c (is_color_cursor):  Added this field back to
  97.       TextWindowRec; Also added back code to initialize it in
  98.       x_preparse_args() and test it in flush_line().  Without this
  99.       code in place, non-color cursors will not blink properly
  100.       when they are within selections.  [This was removed in
  101.       vile-7.3w.  We should address the reasons for removing this
  102.       code in some other way.]
  103.  
  104.  (tom) 980910 (q)
  105.     + correct parenthesis for test of F4 change in 8.0l (winvile.c)
  106.     + modify so that xvile builds with --disable-shell (eval.c).
  107.     + correct off-by-one in scrollbar position for winvile.
  108.     + correct computation in AdjustResizing function so that starting a
  109.       window resizing does not change the initial window size (ntwinio.c).
  110.     + improved ":!command" for winvile, by creating a transient console
  111.       which closes when the user presses any key (patch by Clark Morgan).
  112.  
  113.  (tom) 980908 (p)
  114.     + modify attribute rendition in win32 drivers (ntconio.c, ntwinio.c)
  115.       to make highlighting work with colored text by reversing fg/bg.
  116.     + modify colors in winvile to make lightgray distinct from gray
  117.       (reported by Clark Morgan).
  118.     + further modify shell_complete() to continue splitting command lines
  119.       on blanks, e.g., ^X!command did not do filename completion just like
  120.       :!command.
  121.     + minor lint fixes, e.g,. signed/unsigned values (buffer.c, input.c).
  122.     > patches by Clark Morgan (mostly for visvile):
  123.     + implement logic to return $font value on winvile.
  124.     + simplified some expressions in vile's comment-formatter to make it
  125.       format C++ comments.
  126.     + if visvile disabled, no other dialog options are editable 
  127.     + added more document type checking to avoid occasionally opening such
  128.       things as dialog box resource scripts. 
  129.     + implemented "CWD set from opened document's path" option 
  130.     + implemented "Write all modified buffers to disk prior to build"
  131.       option.  This feature doesn't work as well as it could due to a
  132.       DevStudio (v5) bug.  Refer to ../doc/visvile.doc for further details. 
  133.     + implemented "Build log -> errbuf if build reports errs/warnings"  
  134.       option. 
  135.  
  136.  (tom) 980903 (o)
  137.     + correct 8.0n change for highlighting, fixing an off-by-one error in
  138.       visual-matches (reported by Alex Wetmore).
  139.     + remove SetCursor calls from ntwinio.c, since they obstruct WinNT from
  140.       showing the resize-cursor, as well as causing the cursor to flicker
  141.       around the window border.
  142.     > patches by Clark Morgan:
  143.     + add the ability to set winvile's font from the command line or via
  144.       the environment variable "$font" (a la xvile).
  145.     + modify OLE automation registration to accept a font specification,
  146.       making it possible to configure both the font and screen geometry of
  147.       future instances of winvile OLE automation servers. 
  148.     + remove some compiler warnings in ntwinio.c and correct the OLE
  149.       registration logic for the "-geometry" switch (file w32reg.c). 
  150.  
  151.  (tom) 980902 (n)
  152.     + modify updattrs function so that video attributes applied to tabs and
  153.       other nonprinting characters will paint all of the cells used to
  154.       display those characters (request by Richar A Ward).
  155.     + modify win32 drivers (ntconio.c and ntwinio.c) to make visual-matches
  156.       override syntax highlighting (reported by Clark Morgan).
  157.     + correct unstacking behavior for next-tags as per original request.
  158.     + modify shell_complete() function, which is used in both normal
  159.       filename completion, and in completing shell commands so that for at
  160.       least the former case it will handle filenames with embedded blanks
  161.       (analysis by Rick Sladkey <jrs@foliage.com>).
  162.  
  163.  (tom) 980901 (m)
  164.     + add a check to keep initial TTkopen from trashing the command-line
  165.       help or version (termio.c).
  166.     + implement token-type for macro label linenumber, e.g., tokens
  167.       beginning with an '*'.
  168.     + modify behavior of next-tags so that continued matches do not push
  169.       the tags stack, but remain at the same level as the initial match
  170.       (requed by Ed Henderson).
  171.     + correct typo in change to imdying for the non-Unix case (patch by
  172.       Clark Morgan).
  173.  
  174.  (tom) 980831 (l)
  175.     + modify dbgwrite() message to show how to get out of the loop, since
  176.       more than one person has thought vile is hung when it is awaiting
  177.       a ^G after reporting a keyboard problem.
  178.     + modify imdying() function to search for a temp-directory, preferring
  179.       $TMPDIR, /var/tmp and /usr/tmp over /tmp.  Lengthened cmd buffer in
  180.       that function since it was too small.  (reported by Duncan Barclay
  181.       <dmlb@ragnet.demon.co.uk>).
  182.     + correct logic for dragging scrollbar thumb in winvile which also
  183.       moved cursor position unnecessarily (reported by Ed Henderson).
  184.     + correct handling of Alt-F4 in winvile, which did not close the window
  185.       because it was hidden by logic to support Win32 key modifiers
  186.       (reported by Clark Morgan).
  187.     + correct rendering of color 8 in winvile, which was black rather than
  188.       gray (reported by Clark Morgan).
  189.     + add gui_isprint() function to x11.c to test for characters which are
  190.       nonprinting in xvile, override printing-low and printing-high modes
  191.       to keep, for example, \80 to \A0 in printable form (main.c, x11.c)
  192.     + added a TTkopen call to ttunclean to match the TTkclose in ttclean,
  193.       fixes a problem where arrow keys did not work in the termcap version
  194.       after a :sh command (reported by Ryan Murray).
  195.     + modify configure script tests for termcap/terminfo libraries to allow
  196.       $LIBS to have the corresponding libraries (for Ryan Murray, who wants
  197.       to override the check for -lcurses).
  198.     + correct handling of configure --without-perl, which still tried to
  199.       use perl (reported by Ryan Murray).
  200.      + add autoconf macro CF_PROG_PERL, based on macro from Brendan O'Dea.
  201.      + remove x_quit function, using normal imdying function to handle
  202.       SIGHUP and SIGTERM for xvile (reported by Shawn Halpenny).
  203.     > patches by Clark Morgan:
  204.     + remove spurious rumor in doc/visvile.doc
  205.     + winvile shows file name in title bar
  206.     + winvile ole automation server now catches bogus command line
  207.       arguments before attempting to process -Or switch.
  208.  
  209.  (tom) 980827 (k)
  210.     + add gui_version() function for winvile, to handle -V option (reported
  211.       by Clark Morgan).
  212.     + set flags for bminip and wminip so that all control characters except
  213.       for newline are echoed as in list-mode (display.c, window.c).
  214.     + correct rendering of termcap color while highlight-selection is
  215.       active (tcap.c)
  216.     + corrected logic of '<' register so it captures both calls on TTgetc
  217.       in map.c, otherwise it missed the 'M' in xterm mouse clicks.
  218.     + revise xterm mouse code to support movement of modelines by
  219.       "dragging" button 1, and selection/extension with buttons 1 and 3.
  220.       Integrated with multimotion() function (select.c, tcap.c).
  221.     + fix a couple of memory leaks
  222.     > patches by Clark Morgan:
  223.     + adds _some_ winvile integration to DevStudio Version 5.  In
  224.       particular, this patch creates a component called visvile.dll, which
  225.       is a DevStudio-compatible add-in that invokes an OLE-compatible
  226.       version of winvile when editing/browsing text/source documents.
  227.       Visvile.dll, a work in progress, is heavily based on visvim.dll.
  228.       Full documentation is included in the new file doc/visvile.doc.
  229.     + add InsertMode and IsMinimized functions for OLE interface.
  230.     + remove unneeded assert's (winreg.c).
  231.     + always set force-console mode for Win95 (main.c).
  232.     + add command-line options to winvile to support OLE (ntwinio.c).
  233.  
  234.  (tom) 980816 (j)
  235.  
  236.      + implement a simple usage/popup for winvile.
  237.      + correct a problem with cursor-droppings in winvile when the mouse
  238.       is clicked on the modeline.
  239.      + implement scrollbars for winvile (ntwinio.c)
  240.     > patches by Clark Morgan:
  241.     + changes to allow winvile to be built as an OLE automation server.
  242.       Included with this patch are several new files, including one called
  243.       doc/oleauto.doc, which describes the build process and the relevant
  244.       server options/features.
  245.  
  246.  (tom) 980727 (i)
  247.     + modify makefile.djg to use -f option of rm, to work with djgpp 2.x
  248.     + updated dependencies in makefile.wnt (patch by Clark Morgan).
  249.     + restore old functionality for win32 ^X-!  (see 8.0c), but make a
  250.       special check for its use in getting directory listings to avoid
  251.       lockup with Thompson Toolkit Shell (patch by Clark Morgan).
  252.     + change "%u" in lsprintf call in w32cbrd.c to "%d", fixes _snprintf
  253.       change in 8.0h (reported by Clark Morgan).
  254.  
  255.  (tom) 980726 (h)
  256.     + updated config.guess, config.sub based on automake 1.3.
  257.     + combine some logic in file.c with new function strip_if_dosmode().
  258.     + correct typo in perl.xs from 8.0g
  259.      + change win32 _snprintf calls to lsprintf, to build with Borland C++.
  260.     + modify makefile.wnt to build with Perl 5.004, which is missing a
  261.       global for 'rs' on win32 (patch by Clark Morgan, analysis by Kevin).
  262.     + modified Clark's change so that the Win32-specific keycodes are returned
  263.       only when combined with key-modifiers (shift/alt/ctrl) that are specific
  264.       to Win32.
  265.     + mods to cause apropos and show-bindings to display proper binding
  266.       strings for the Win32 clipboard-related features.  Also, modified
  267.       ntconio to support noticed that winvile allows the user to sweep out
  268.       a rectangular region when a control key is pressed during mouse-based
  269.       text selection as in winvile, and documented in vile.hlp (patch by
  270.       Clark Morgan).
  271.     + correct message in win32 clipboard paste reporting the number of
  272.       bytes transferred to the clipboard (patch by Clark Morgan).
  273.     + updated makefile.blc, modified ifdefs to build with with Borland C++
  274.       5.02 (patch by Ryan Murray <rmurray@cyberhqz.com>).
  275.     + rename update_scrollbar to gui_update_scrollbar as part of ongoing
  276.       work on scrollbars for winvile.
  277.     + move autoconf tests for OpenLook and Motif libraries into aclocal.m4,
  278.       for reuse in other applications (e.g., xterm).
  279.  
  280.  (kev) 980725 (g)
  281.      + perl.xs (incgv, rs, ofslen, ofs, ors, orslen): Added PL_ prefix
  282.       to these for perl5.005.  Defined these in terms of the old
  283.       non-prefixed names for older versions of perl5.
  284.  
  285.  (tom) 980717 (f)
  286.     + corrected return-value of do_a_submode(), which was hiding a problem
  287.       in the call on new_regexval() from set_mode_value().
  288.     + correction to fences-begin and fences-end logic, to account for the
  289.       size of the matched text when doing a reverse sweep.  Only one
  290.       character from fences-end was selected, so that deleting a C-style
  291.       comment would leave a '/' (reported by Clark Morgan).
  292.     + add a couple of null-pointer checks in modes.c, to fix a case
  293.       when 'comments' submode is not initialized.
  294.     + implement previous-buffer command (requested by Quang Ngo
  295.       <quang@usa.net>).
  296.     + modify doindent() to adjust dot to point to the same text on exit as
  297.       it did on entry.  This fixes an instance of autoindent in cmode where
  298.       inserting a right-brace character at the wrapmargin caused the brace
  299.       to be inserted _before_ the wrapped word (reported by Michel Oey
  300.       <michel@cs.vu.nl>).
  301.     + corrected missing brackets in configure.in that caused --with-scr=xm
  302.       to be misinterpreted.
  303.     + modify win32 clipboard support to enable the copying of an arbitrary
  304.       region or named register to the windows clipboard (patch by Clark
  305.       Morgan).
  306.  
  307.  (tom) 980710 (e)
  308.      + correct recompilation of [Error Expressions], by adding a check if
  309.       the buffer is marked as changed, or if the number of lines in it
  310.       has changed.  If [Error Expressions] was popped up to view its
  311.       contents, that worked, but otherwise (e.g., in .vilerc), it did not
  312.       trigger the recompile (reported by Brian Moore).
  313.      + change winvile -geometry parameter to COLSxROWS, for consistency with
  314.       X Window applications (e.g., xterm), and documented in vile.hlp.
  315.      + correct parsing of line-specification when a leading ',' is used,
  316.       e.g., ":,$d" (reported by hymie! <hymie@lactose.smart.net>).
  317.     + documentation updates (patch by Clark Morgan).
  318.     + modify logic in tags.c so that tags completion works when some of the
  319.       tags files are missing (patch by Clark Morgan).
  320.  
  321.  (tom) 980708 (d)
  322.     + correct offset for ending null in kbd_string(), which was beyond
  323.       buffer limit - bug from 7.3f (patch by Chris Sherman
  324.       <sherman@unx.sas.com>).
  325.      + implement -geometry command-line option for winvile, and corresponding
  326.       modifiable $pagelen and $pagewid values.
  327.     + modify configure script to accept --with-screen=xaw and
  328.       --with-screen=xm, i.e., lowercase screen values (reported by Ryan
  329.       Murray <rmurray@glenvan.glenayre.com>).
  330.     + modify winvile to read stdin when there's data available, e.g.,
  331.       dir|winvile.  Tested on Win95 _and_ NT (patch by Clark Morgan).
  332.  
  333.  (tom) 980703 (c)
  334.      + remove spurious 'void' in perl.xs which caused items to be miscounted
  335.       (report by Kuntal M. Daftary, patch by Kevin Buettner).
  336.     + shorten identifiers to no more than 31 characters (reported by
  337.       Graeme Miller).
  338.     > patches by Clark Morgan:
  339.     + fix for a problem reported by Paul Fox:  when a dos box has scroll
  340.       bars (window size smaller than buffer size), then :!<dir> displays
  341.       its output in a switched screen context that the user can't examine.
  342.       This applies to console vile only (winvile has much worse problems in
  343.       the same scenario :-).
  344.     + changes to make -!  use the same code path as filter-region and
  345.       read-pipe when the host is win32-based.
  346.     + implement paste-from-clipboard for win32, bound to Shift+Insert
  347.     + add a new documentation file (doc/w32modes.doc) that describes the
  348.       optimum settings for win32 modes when the host OS is not NT4.
  349.  
  350.  (tom) 980702 (b)
  351.     + change highlighting rule in vile-c-filt to highlight only the
  352.       "#" and keyword on preprocessor lines (patch by Paul Fox).
  353.     + dynamically allocate pm_buffer array in menu.c, eliminating limit on
  354.       number of menu items (reported by William Yuan
  355.       <yuan@bucket.its.unimelb.edu.au>).
  356.      + new configure macro CF_CC_INIT_UNIONS checks for compilers that
  357.       cannot initialize a union, e.g, a K&R compiler using unproto.
  358.       Ifdef'd union in CMDFUNC to work in that case.
  359.     + correct spelling of EXTRA_LOAD_FLAGS in CF_IMAKE_CFLAGS configure
  360.       macro.
  361.     + set VIEWOK flag on stored-procedure buffers, otherwise they cannot
  362.       be used in buffers set "view" (reported by Larry Gensch).
  363.     + rename character-type names to use "vl" prefix, to avoid conflict
  364.       with ctype.h names on Digital Unix 5.0 (patch by Larry Gensch).
  365.     + note that $progname may be "winvile" (patch by Clark Morgan).
  366.     + modify configure.in and makefile.in so that $(datadir)/perl is not
  367.       created unless vile is configured --with-perl (patch by Brendan
  368.       O'Dea).
  369.     + require perl 5.004 since the XS interface is dependent upon tied file
  370.       handles, which are not completely implemented in 5.003 (request by
  371.       Brendan O'Dea).
  372.  
  373.  (kev) 980606 (a)
  374.      + perl.xs (svrs): No longer a global static variable.
  375.       (perl_init): Don't initialize svrs here anymore.  Also, stifle
  376.       compiler warning.
  377.       (READLINE): Declare and initialize svrs here, but only for
  378.       platforms on which it's broken.
  379.       (perl_default_region, do_perl_cmd, set_region): Adjust r_size
  380.       field in region returned by getregion to account for buffers
  381.       which don't have a trailing newline.
  382.       (newVBrv): call gv_IOadd() in order to be able to use $. with
  383.       the filehandles.
  384.       (newVBrv, do_perl_cmd, set_region): Initialize $. .
  385.       (READLINE): increment (or advance) $. as appropriate.
  386.  
  387.       [Brendan O'Dea sent me patches for much of the above.]
  388.  
  389. This change log started on Monday Jun 8, 1998.
  390.