Force Motif to be pulled in statically by default. Linux users tend to upgrade
[nedit.git] / ReleaseNotes
blob0c6f78150b65895a36759ac3c19b8277a809724f
1           Release Notes for NEdit Version 5.3, February 2002
4 $Id: ReleaseNotes,v 1.13 2002/02/14 20:24:04 amai Exp $
6 This file contains last minute notes to users about the release, which are not
7 included in the documentation or README files included with the distribution
8 kits.  It also contains change information, for users who are interested in
9 what bugs have been fixed, and what features have been added in the current
10 version.
12 If you are upgrading NEdit from a version prior to 5.0, please see the notes in
13 the README file which came with the (source or executable) distribution kit,
14 about updating macros and font settings in your .nedit file.
17 New Features in 5.3
19   This is mainly a bug fix release. The list of new features is therefore 
20   limited:
22   - The built-in Help system was revamped. Most notably, a hyperlink
23     mechanism was added for following cross-references.
25   - Enhanced Exuberant ctags support (SF #491109).
27   - Line numbers are available in shell commands (SF #434451).
29   - Goto Line also accepts column numbers (SF #403435).
32 Bugs Fixed in 5.3
34   - Crash when running X on 2nd screen (SF #478234, #500353).
36   - Line number display updating in continous wrap mode (SF #516920).
38   - Performance problem with X Resources highlight patterns (SF #481290).
40   - Menu fonts showing up as blocks (SF #434383)
42   - Lockup's in syntax highlighting (especially Perl) (SF #512961).
44   - Crash when using characters with ASCII code >= 128 in syntax
45     highlighting patterns.
47   - Crash when modifying tab distance in continous wrap mode (SF #510631).
49   - Crash when running NEdit in low-depth color modes.
51   - Continous wrap mode + variable width font display bugs.
53   - Potential scroll bar corruption in continuous wrap mode (SF #510765).
55   - Workaround for selection copy/paste problems with recent versions
56     of gnome-terminal.
58   - Jump to tags only referenced by line number.
60   - Composed characters in learned sequence (SF #480966).
62   - Missing titles in some dialogs (SF #480960).
64   - Macro language: continue statement outside loop crash (SF #495293).
66   - Rectangular overstrike past fixes (SF #487945).
68   - Hard-coded statistics line font (SF #487153).
70   - Open filenames starting with a dash (SF #485610).
72   - Crash when closing window of non-existing file while error dialog is up.
74   - Bad CapsLock grab on certain keyboard configurations (SF #482504).
76   - Replacements in rectangular selections could sometimes fail.
77   
78   - Various buffer overflow fixes.
80   - Multiple selection dialog does not pop up on first find (SF #473602).
81   
82   - Tag not found (SF #466742).
83   
84   - Files opened with -read command line option could not be unlocked.
86 New Features in 5.2
88  - Added built-in patterns for CSS, XML, and regular expressions (Regex).
89    Many other pattern updates.
91  - Support for high- and true-color systems.  NEdit now will automatically
92    select the best visual from your X server.  This reduces the chance of
93    running out of colors.
95  - New features in the Find and Replace dialogs:
97    o Replacement across multiple windows in a session.
98    o Case sensitivity may be set independently of regular expressions.
99    o Add "Replace and Find" command, which saves keystrokes when doing
100      a large-scale find & replace.
102  - ClearCase version-extended pathnames.
104  - Many new macro subroutines and variables.
106  - Array support in macros.
108  - Range highlighting of matching delimiters.
110  - Undo and Redo highlights the text that has changed, when visible.
112  - Support for wheel mouse scrolling on servers that support it (XFree86).
114  - Improved accelerator key handling.
116  - Insert Control Code dialog accepts value in any valid C notation
118  - Optional beeping when search operations wrap.
120  - Additional default search styles.
122  - Optional displaying of path names in the window list menu.
125 Bug Fixes in 5.2
127  - Fix a crash when entering an invalid line number in "Goto Line".
129  - Ignore the Caps-Lock key when invoking accelerators.
131  - Fix problems when running NEdit on 64-bit platforms like Alpha
133  - NEdit failed to open files if some directories above were not "readable"
135  - Fix potential crashes if some system calls fail
137  - When no colors are left, attempt to reuse the closest matching color.  This
138    allows NEdit's syntax highlighting to better coexist with Netscape, which
139    unfortuntely takes all available colors.
141  - "Overtype" mode is now bound to the Insert key, to be consistent with
142    Motif text fields.
144  - Accelerators now available in confirmation dialogs, and may be invoked
145    without the Alt key.
147  - Don't even try to open a directory for editing
149  - Fix a couple of memory corruption problems
152 New Features in 5.1
154  - Significant extensions to the regular expression syntax.  See details
155    below.
157  - Incremental search, and optional search bar.
159  - New ctags code with full support for Exuberant Ctags, better
160    handling of tag collisions, multiple tag file support, on-demand
161    loading of tag files, and automatic reload of modified tag files.
163  - Optional display of line numbers along the left side of the text.
165  - NEdit can now read and write MS DOS format files.
167  - New built-in syntax highlighting patterns for Lex, PostScript, SQL,
168    Many syntax highlighting pattern improvements.
170  - Improved international character set input
172  - New macro subroutines: list_dialog, getenv, set_language_mode.
174  - Optional warnings about external modifications to files
176  - Clearcase awareness
178  - Session manager restart capability
180  - Default language mode "*" for user-defined menu items, allows
181    per-language variations on a common base
183  - Allow additional modifiers like Sun diamond key in user defined
184    accelerators
186  - Option to sort open previous menu.
188  - -geometry and -iconic command line arguments act per-window, and
189    can be specified via nc
191  - -geometry now specified in characters, rather than pixels
193  - -lm (language mode) command line option
195  - Save As dialog defaults to same file name
197  - Better default fonts for Linux systems
199  - .nedit file version mechanism to make future upgrades easier
202 Bug Fixes in 5.1
204  - Crash on large amounts of data fed to shell command which does not
205    take input
207  - Delayed secondary windows when executable statements specified in
208    users .neditmacro file
210  - Many corrections to online help
212  - Many highlight patterns corrections
214  - Using window close box in file open/save dialogs leaves nedit server
215    unresponsive
217  - escape in macro dialogs can cause macro hang
219  - Lesstif-specific fixes: attachment warnings in font selector,
220    Work around replace dialog focus bug.
222  - NEdit no longer maintains original protection settings on files.  It
223    allows them to be changed externally.
226 Details of Regular Expression Changes in 5.1
228   Bug Fixes
230     o Fixed bug that caused character classes with a character range not to
231       work properly if one of the range characters was an escaped character.
233   Improvements In Existing Features
235     o Increased maximum number of capturing parentheses from 40 to 50.
237     o Removed optimization that uses `must match' strings (it didn't work and
238       caused more problems than it solved.)
240     o Improved error messages.
242     o Improved Start-Of-Line and End-Of-Line detection by the `^', `$', and the
243       new `\B' (see below) anchors.  The Start-Of-Word and End-Of-Word anchors
244       `<' and `>' where not enhanced due to syntax color highlighting pattern
245       compatibility issues.
247     o Changed code to use "unsigned char" in most cases instead of "signed
248       char". Also, use of ANSI character functions (e.g. isdigit(), isspace())
249       were added wherever possible.  These changes should improve support for
250       locales other than "C", for example character sets with accented
251       characters.
253     o Added character escapes for:
254       -  \e   ASCII escape character (for environments that use the EBCDIC
255               character set, set the EBCDIC_CHARSET compiler symbol to get the
256               EBCDIC equivalent escape character.)
258       -  \-   minus sign
259       -  \{   left brace
260       -  \}   right brace
262     o Removed the `\"' escape since `"' is not a meta character.
264     o In order to support numeric escapes, use of `\0' as a synonym for `&'
265       in replacement strings was removed.  `\0' now signals the start of a
266       numeric (octal) escape sequence (see below.)
268     o Minor tweaks for improved performance.
270   Enhancements
272     o Octal and Hexadecimal Escapes
274       Octal and hexadecimal escapes begin with \0 and \x (or \X) respectively.
275       For example, \052 and \X2A both specify the `*' character.  Escapes for
276       null (\00 or \x0) are not valid and will generate an error message.
278     o Shortcut Escapes for Common Character Classes
280       \d  digits            0-9
281       \l  letters           a-z and A-Z
282       \s  whitespace        \t, \r, \v, \f, and space
283       \w  word characters   a-z, A-Z, 0-9, and underscore, `_'
285       `\D', `\L', `\S', and `\W' are the same as the lowercase versions except
286       that the resulting character class is negated.
288     o Anchors
290       The `\B' non-word boundary anchor has been added as the logical opposite
291       of `<' and `>' collectively.  This anchor ensures that the left and
292       right characters are either both delimiter characters or both
293       non-delimiter characters.
295     o Word Delimiter Escape Sequences
297       \y   Word delimiter character
298       \Y   Not a word delimiter character
300       The `\y' token matches any single character that is one of the characters
301       that NEdit recognizes as a word delimiter character, while the `\Y' token
302       matches any character that is NOT a word delimiter character.  Note:
303       these are not anchors and DO consume one character of input.
306     o Quantifiers
308       +  Minimal (lazy) Matching Quantifiers
310          *?   Match zero or more
311          +?   Match one at least one
312          ??   Match zero or one
314          These quantifiers match only what is absolutely necessary to achieve
315          a match.
317       +  Counting (or Brace) Quantifier
319          {min,max}  Match from `min' to `max' times the previous regular
320                     expression atom.
322          If `min' is omitted, it is assumed to be zero.  If `max' is omitted,
323          it is assumed to be infinity.  Whether specified or assumed, `min'
324          must be less than or equal to `max'.  If both are omitted, then the
325          construct is the same as `*'.   Note that `{,}' and `{}' are both
326          valid brace constructs.  A single number appearing without a comma,
327          e.g. `{3}' is short for the `{min,min}' construct, or to match
328          exactly `min' number of times.
330     o Non-Capturing Parentheses
332       Non-Capturing Parentheses are of the form `(?:<regex>)' and facilitate
333       grouping only and do not incur the overhead of normal capturing
334       parentheses.
336     o Positive Look-Ahead
338       Positive look-ahead constructs are of the form `(?=<regex>)' and
339       implement a zero width assertion of the enclosed regular expression. In
340       other words, a match of the regular expression contained in the positive
341       look-ahead construct is attempted.  If it succeeds, control is passed to
342       the next regular expression atom, but the text that was consumed by the
343       positive look-ahead is first unmatched (backtracked) to the place in the
344       text where the positive look-ahead was first encountered.
346     o Negative Look-Ahead
348       Negative look-ahead takes the form `(?!<regex>)' and is exactly the same
349       as positive look-ahead except that the enclosed regular expression must
350       NOT match.
352     o Case Sensitivity
354       (?i<regex>)   Case insensitive; `AbcD' and `aBCd' are equivalent.
355       (?I<regex>)   Case sensitive;   `AbcD' and `aBCd' are different.
357       Regular expressions are case sensitive by default, i.e `(?I<regex>)' is
358       assumed.  All regular expression meta characters respond appropriately to
359       case insensitivity including character classes and back-references.
361     o Matching Newlines
363       (?n<regex>)   `.', `[^...]', `\s', `\S' will match newlines
364       (?N<regex>)   `.', `[^...]', `\s', `\S' do not match newlines
366       `(?N<regex>)' is the default behavior.
368     o Comments
370       Comments are of the form `(?#<comment text>)' and can be inserted
371       anywhere and have no effect on the execution of the regular expression.
373     o Notes on New Parenthetical Constructs
375       Except for plain parentheses, none of the parenthetical constructs
376       capture text.  If that is desired, the construct must be wrapped with
377       capturing parentheses, e.g. `((?i<regex))'.
379       All parenthetical constructs can be nested as deeply as desired, except
380       for capturing parentheses which have a limit of 50 sets of parentheses,
381       regardless of nesting level.
384 New Features in 5.0.2:
386  - Word-selection (double click) can be used to select ranges of delimiters
388  - New built-in macro variables: $line, $column, and $modified
390  - Smart-indent mode available for Python language
392  - Minor improvements in default pattern sets for NEdit Macros, X Resources,
393    and Sh/Ksh/Bash
396 Bug Fixes in 5.0.2:
398  - -import did not work as advertised in 5.0.1.  When used, it re-set a
399    number of preferences back to default values.  Could also potentially
400    cause a crash.
402  - Macro -> Repeat crashes on some systems.
404  - Mouse state can get "stuck" on Alpha-based systems.
406  - Combination of auto-wrap, auto-indent, and unbreakable lines extending the
407    width of the window, caused nedit to unnecessarily insert blank lines.
409  - Incorrect case-insensitive comparison in character sets > 128 bits.
411  - in by-word drag-selection (double click then drag) when begun in the middle
412    of a whitespace selection, anchor would revert to original cursor position
413    rather than maintaining the entire whitespace block.
415  - Language mode names containing spaces could not be used in language
416    sensitive user-defined menu items.
418  - New windows did not always see existing learn/replay sequence, recorded
419    before the window was created.
421  - Possible crash in search_string and search_window macros, when used with
422    long search strings.
424  - Possible crash in get_selection("any") macro.
426  - Under Solaris, crashes on window opening, file dialog, and language mode
427    selection, when user-defined sub-menus were used.
429  - Filenames containing spaces could cause the .neditdb file to become
430    unreadable.
432  - Escape key could not be used to cancel file-selection dialogs when the
433    file list had keyboard focus (which it almost always does).
436 New Features in 5.0.1:
438  - Repeat-over-range, and repeat-to-end capability for repeating last
439    command and learn/replay sequence.
441  - Import capability for loading macro/shell menu commands, highlight
442    patterns, and style sets created by other users.
444  - New macro language routines: string_to_clipboard, clipboard_to_string,
445    toupper, tolower, variables: $em_tab_dist.
447  - Additional default highlight patterns for sh and X resources.
449  - Sorted Open Previous menu.
451  - Numerous improvements to default highlighting patterns and smart indent
452    macros.
455 Bug Fixes in 5.0.1:
457  - Various crashes on Motif 2.0 (Linux and FreeBSD) systems, usually
458    associated with opening files and changing language modes.  Usually,
459    but not necessarily, following changes to user-defined menu items.
461  - Background menu activation during drag operation could leave drag
462    unfinished, cause undo to malfunction, and eventually lead to a crash (which
463    was easy to trigger accidentally when the middle button is emulated with
464    mouse-chords on a two button mouse).
466  - X11R6 clients talking to X11R5 servers could crash on font dialog.
468  - Rapid repetition of long macros (such as binding to key and using keyboard
469    repeat) could cause crash.
471  - Several commands which put up dialogs were vulnerable to timing windows
472    where repeating the command could cause a crash.
474  - Calling macro close() routine could cause crash if used to close the window
475    in which the macro was executing.
477  - Using load_macro_file() as an "include" statement in macro files could
478    cause hang.
480  - Artifacts when using non-matching highlight fonts, and making certain types
481    of changes which change the fonts used to display other (not the line being
482    modified) lines in the file.
484  - Auto-newline wrap in overtype mode could duplicate part of wrapped text.
486  - Lower panes in split window mode allowed modification to read-only windows.
488  - Several minor dialog and window focus related problems for explicit (click
489    to focus) users.
491  - Paste Column ignored existing selection.
493  - After copying and re-naming language mode information, highlight patterns
494    and smart indent macros remained attached to the re-named pattern instead of
495    the original.
497  - Trailing newlines should not have been prohibited in Open Selected.
499  - Help for creating smart indent macros was missing.
502 New Features in 5.0
504  - Completed macro extension language (Simple C/awk-like syntax, safe,
505    fully interruptable)
507  - Syntax highlighting.  Built-in patterns for C, C++, Java, Fortran, Pascal,
508    Ada, Perl, Python, Tcl, Awk, Csh, HTML, LaTeX, VHDL, Verilog, and more.
510  - Programmable Smart indent.  (Experimentally, at least.  There are only
511    macros for C and C++, and they may not fit everyone's programming style.)
513  - Language-sensitive preferences
515  - Continuous wrap mode (long line wrapping), in addition to existing
516    automatic-newline wrapping
518  - User-defined menus can be hierarchical and language-sensitive.
520  - Configurable right-button pop up menu
522  - Pan-scrolling
524  - Searchable on-line help
526  - Word boundary matching (<>) in regular expressions
528  - Repeat command
530  - More dialogs have up-arrow recall
532  - White-space selection via double-click
535 Bug Fixes and Enhancements to Existing Features in 5.0
537  - No more limits on editing files containing ascii nul characters
539  - Fill Paragraph command handles leading indents
541  - Select to mark
543  - Better directory defaulting in Open Selected and shell commands
545  - Open Selected processes tilde (~) and wildcards
547  - Goto Mark centers scroll position better
549  - Multiple shell commands can be run simultaneously
551  - Shell command execution doesn't block server command processing
553  - Emulated-tab deletion treats auto-indent as emulated tabs
555  - Auto-wrapping of pasted text is optional (off by default)
557  - Notice that default preferences have changed and ask about saving
558    on exit
560  - Selections remain selected after shell command and filter execution
562  - Wrap margin and emulated tab distance preferences are properly
563    transferred to new panes in split window mode