Avoid a crash when trying to drag widgets (not text) in non-default visual.
[nedit.git] / ReleaseNotes
blob51904644468c281cb90a9b995286ac2aa0a12c41
1           Release Notes for NEdit Version 5.4beta, May 2003
4 $Id: ReleaseNotes,v 1.20 2003/05/23 10:58:33 edg 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.
16 New Features in 5.4
18   - Calltips (SF patch #495286)
20   - Rangesets (SF patch #529298, #628933)
22   - Backlighting (SF patch #529298)
24   - Highlighting information macros (SF patch #529298)
26   - Full mouse wheel support (SF patch #715941)
28   - Look-behind matching for regular expressions (SF patch #530308)
30   - Regular expression and syntax highlighting speed-ups
32   - Flexible resource file location (SF patch #484674)
33     See the section "Upgrading from 5.3 to 5.4" of the README file for 
34     more information.
36   - Color dialog (SF patch #595330)
38   - Option to auto-hide mouse pointer while typing
40   - Option to keep cursor away from top and bottom of the screen
42   - Check for real changes of externally modified files (SF patch #602426)
44   - Synchronized interaction between nc and nedit (SF patch #403647)
46   - Several smaller improvements on usability and speed
48   - Several smaller improvements to the macro language (SF patch #552760, ...)
50 Bugs Fixed in 5.4
52   - Unconvential word boundary semantics for regular expressions have
53     been corrected (including affected syntax highlighting patterns). 
54     See the section "Upgrading from 5.3 to 5.4" of the README file for 
55     important information.
56     
57   - Config files didn't accept non-Unix file format (SF bug #411092)
59   - Removed regex search bugs (SF bug #429110, #515120)
61   - Smart-indent macros were unaffected by language mode renames (SF bug #439867)
63   - All dialogs have titles now (SF bug #480960)
65   - Giving long filenames at startup caused buffer overflows (SF bug #488412)
67   - Made sure that dialogs don't get wider than screen
68     (SF bug #488593, #489614, #713999)
70   - Dragging a rectangular selection could delete characters (SF bug #557225)
72   - Keyboard-based rectangular selections were forgotten if the selection ever
73     became zero-width.
75   - Paths were still shown in current's window Windows menu after global option
76     was changed (SF bug #564782)
78   - Scrolling to searched or undone/redone section stopped short (SF bug #578551)
80   - Removed flicker in stats line due to bug prevention (SF bug #594838)
82   - NEdit coredumped while dismissing a resized help window (SF bug #600175)
84   - Macro functions were evaluated in a wrong order (SF bug #602336, #628552)
86   - Syntax highlighting failures in LaTeX (SF bug #607072)
88   - NEdit coredumped with wrong values for -tabs option (SF bug #608693)
90   - Macro shortcuts were sensitive to Lock and NumLock (SF bug #612558)
92   - Appending the terminating line break was not reflected in the buffer
93     (SF bug #617840)
95   - A new nc(1) hanged after a server was killed or crashed (SF bug #619231)
97   - Adds (short) list of deprecated macro functions (SF bug #619236)
99   - Removed hazardous command shortcut (SF bug #649442)
101   - Typo in SCO makefile (SF bug #689808)
103   - Syntax highlighting routines assumed ASCII encoding (SF bug #700823)
105   - Fixes various bugs about LANG settings (SF bug #703246, ...)
107   - Crash while manipulating highlighting pattern (SF bug #705495)
109   - Removed flicker in stats line during macro execution (SF bug #713780)
111   - Macro function goto_line_number() only accepted one argument (SF bug #726325)
113   - Newline macro inserting a string caused a recursive loop when triggered
114     through smart indent
116   - Close pane resize bug (SF bug #715767)
118 New Features in 5.3
120   This is mainly a bug fix release. The list of new features is therefore 
121   limited:
123   - The built-in Help system was revamped. Most notably, a hyperlink
124     mechanism was added for following cross-references.
126   - Enhanced Exuberant ctags support (SF #491109).
128   - Line numbers are available in shell commands (SF #434451).
130   - Goto Line also accepts column numbers (SF #403435).
131   
132   - Automatic line-feed termination when saving is now optional (SF #503073).
134   - A customizable window title (SF #477875/#519092).
136   - Optional syntax based parenthesis matching (iso. purely character based)
137     (SF #513976).
139 Bugs Fixed in 5.3
141   - Find Definition incorrectly reads the X selection when not needed 
142     (SF #520941).
144   - Background popup menu could lock up X-server when used with any of 
145     the lock keys on.
147   - Very wide windows when starting NEdit under fvwm (SF #496526).
149   - Workaround for illegal key bindings installed by other Motif applications,
150     causing PageUp/PageDown and arrow keys to stop responding in NEdit
151     (SF #493421/#525903). This is not an NEdit bug, it just looks like one.
152     
153   - Fix for PageUp/PageDown keys not responding (SF #508961).
154   
155   - Crash when running X on 2nd screen (SF #478234, #500353).
157   - Line number display updating in continous wrap mode (SF #516920).
159   - Performance problem with X Resources highlight patterns (SF #481290).
161   - Menu fonts showing up as blocks (SF #434383)
163   - Lockup's in syntax highlighting (especially Perl) (SF #512961).
165   - Crash when using characters with ASCII code >= 128 in syntax
166     highlighting patterns.
168   - Crash when modifying tab distance in continous wrap mode (SF #510631).
170   - Crash when running NEdit in low-depth color modes.
172   - Continous wrap mode + variable width font display bugs.
174   - Potential scroll bar corruption in continuous wrap mode (SF #510765).
176   - Workaround for selection copy/paste problems with recent versions
177     of gnome-terminal.
179   - Jump to tags only referenced by line number.
181   - Composed characters in learned sequence (SF #480966).
183   - Missing titles in some dialogs (SF #480960).
185   - Macro language: continue statement outside loop crash (SF #495293).
187   - Rectangular overstrike past fixes (SF #487945).
189   - Hard-coded statistics line font (SF #487153).
191   - Open filenames starting with a dash (SF #485610).
193   - Crash when closing window of non-existing file while error dialog is up.
195   - Bad CapsLock grab on certain keyboard configurations (SF #482504).
197   - Replacements in rectangular selections could sometimes fail.
198   
199   - Various buffer overflow fixes.
201   - Multiple selection dialog does not pop up on first find (SF #473602).
202   
203   - Tag not found (SF #466742).
204   
205   - Files opened with -read command line option could not be unlocked.
207 New Features in 5.2
209  - Added built-in patterns for CSS, XML, and regular expressions (Regex).
210    Many other pattern updates.
212  - Support for high- and true-color systems.  NEdit now will automatically
213    select the best visual from your X server.  This reduces the chance of
214    running out of colors.
216  - New features in the Find and Replace dialogs:
218    o Replacement across multiple windows in a session.
219    o Case sensitivity may be set independently of regular expressions.
220    o Add "Replace and Find" command, which saves keystrokes when doing
221      a large-scale find & replace.
223  - ClearCase version-extended pathnames.
225  - Many new macro subroutines and variables.
227  - Array support in macros.
229  - Range highlighting of matching delimiters.
231  - Undo and Redo highlights the text that has changed, when visible.
233  - Support for wheel mouse scrolling on servers that support it (XFree86).
235  - Improved accelerator key handling.
237  - Insert Control Code dialog accepts value in any valid C notation
239  - Optional beeping when search operations wrap.
241  - Additional default search styles.
243  - Optional displaying of path names in the window list menu.
246 Bug Fixes in 5.2
248  - Fix a crash when entering an invalid line number in "Goto Line".
250  - Ignore the Caps-Lock key when invoking accelerators.
252  - Fix problems when running NEdit on 64-bit platforms like Alpha
254  - NEdit failed to open files if some directories above were not "readable"
256  - Fix potential crashes if some system calls fail
258  - When no colors are left, attempt to reuse the closest matching color.  This
259    allows NEdit's syntax highlighting to better coexist with Netscape, which
260    unfortuntely takes all available colors.
262  - "Overtype" mode is now bound to the Insert key, to be consistent with
263    Motif text fields.
265  - Accelerators now available in confirmation dialogs, and may be invoked
266    without the Alt key.
268  - Don't even try to open a directory for editing
270  - Fix a couple of memory corruption problems
273 New Features in 5.1
275  - Significant extensions to the regular expression syntax.  See details
276    below.
278  - Incremental search, and optional search bar.
280  - New ctags code with full support for Exuberant Ctags, better
281    handling of tag collisions, multiple tag file support, on-demand
282    loading of tag files, and automatic reload of modified tag files.
284  - Optional display of line numbers along the left side of the text.
286  - NEdit can now read and write MS DOS format files.
288  - New built-in syntax highlighting patterns for Lex, PostScript, SQL,
289    Many syntax highlighting pattern improvements.
291  - Improved international character set input
293  - New macro subroutines: list_dialog, getenv, set_language_mode.
295  - Optional warnings about external modifications to files
297  - Clearcase awareness
299  - Session manager restart capability
301  - Default language mode "*" for user-defined menu items, allows
302    per-language variations on a common base
304  - Allow additional modifiers like Sun diamond key in user defined
305    accelerators
307  - Option to sort open previous menu.
309  - -geometry and -iconic command line arguments act per-window, and
310    can be specified via nc
312  - -geometry now specified in characters, rather than pixels
314  - -lm (language mode) command line option
316  - Save As dialog defaults to same file name
318  - Better default fonts for Linux systems
320  - .nedit file version mechanism to make future upgrades easier
323 Bug Fixes in 5.1
325  - Crash on large amounts of data fed to shell command which does not
326    take input
328  - Delayed secondary windows when executable statements specified in
329    users .neditmacro file
331  - Many corrections to online help
333  - Many highlight patterns corrections
335  - Using window close box in file open/save dialogs leaves nedit server
336    unresponsive
338  - escape in macro dialogs can cause macro hang
340  - Lesstif-specific fixes: attachment warnings in font selector,
341    Work around replace dialog focus bug.
343  - NEdit no longer maintains original protection settings on files.  It
344    allows them to be changed externally.
347 Details of Regular Expression Changes in 5.1
349   Bug Fixes
351     o Fixed bug that caused character classes with a character range not to
352       work properly if one of the range characters was an escaped character.
354   Improvements In Existing Features
356     o Increased maximum number of capturing parentheses from 40 to 50.
358     o Removed optimization that uses `must match' strings (it didn't work and
359       caused more problems than it solved.)
361     o Improved error messages.
363     o Improved Start-Of-Line and End-Of-Line detection by the `^', `$', and the
364       new `\B' (see below) anchors.  The Start-Of-Word and End-Of-Word anchors
365       `<' and `>' where not enhanced due to syntax color highlighting pattern
366       compatibility issues.
368     o Changed code to use "unsigned char" in most cases instead of "signed
369       char". Also, use of ANSI character functions (e.g. isdigit(), isspace())
370       were added wherever possible.  These changes should improve support for
371       locales other than "C", for example character sets with accented
372       characters.
374     o Added character escapes for:
375       -  \e   ASCII escape character (for environments that use the EBCDIC
376               character set, set the EBCDIC_CHARSET compiler symbol to get the
377               EBCDIC equivalent escape character.)
379       -  \-   minus sign
380       -  \{   left brace
381       -  \}   right brace
383     o Removed the `\"' escape since `"' is not a meta character.
385     o In order to support numeric escapes, use of `\0' as a synonym for `&'
386       in replacement strings was removed.  `\0' now signals the start of a
387       numeric (octal) escape sequence (see below.)
389     o Minor tweaks for improved performance.
391   Enhancements
393     o Octal and Hexadecimal Escapes
395       Octal and hexadecimal escapes begin with \0 and \x (or \X) respectively.
396       For example, \052 and \X2A both specify the `*' character.  Escapes for
397       null (\00 or \x0) are not valid and will generate an error message.
399     o Shortcut Escapes for Common Character Classes
401       \d  digits            0-9
402       \l  letters           a-z and A-Z
403       \s  whitespace        \t, \r, \v, \f, and space
404       \w  word characters   a-z, A-Z, 0-9, and underscore, `_'
406       `\D', `\L', `\S', and `\W' are the same as the lowercase versions except
407       that the resulting character class is negated.
409     o Anchors
411       The `\B' non-word boundary anchor has been added as the logical opposite
412       of `<' and `>' collectively.  This anchor ensures that the left and
413       right characters are either both delimiter characters or both
414       non-delimiter characters.
416     o Word Delimiter Escape Sequences
418       \y   Word delimiter character
419       \Y   Not a word delimiter character
421       The `\y' token matches any single character that is one of the characters
422       that NEdit recognizes as a word delimiter character, while the `\Y' token
423       matches any character that is NOT a word delimiter character.  Note:
424       these are not anchors and DO consume one character of input.
427     o Quantifiers
429       +  Minimal (lazy) Matching Quantifiers
431          *?   Match zero or more
432          +?   Match one at least one
433          ??   Match zero or one
435          These quantifiers match only what is absolutely necessary to achieve
436          a match.
438       +  Counting (or Brace) Quantifier
440          {min,max}  Match from `min' to `max' times the previous regular
441                     expression atom.
443          If `min' is omitted, it is assumed to be zero.  If `max' is omitted,
444          it is assumed to be infinity.  Whether specified or assumed, `min'
445          must be less than or equal to `max'.  If both are omitted, then the
446          construct is the same as `*'.   Note that `{,}' and `{}' are both
447          valid brace constructs.  A single number appearing without a comma,
448          e.g. `{3}' is short for the `{min,min}' construct, or to match
449          exactly `min' number of times.
451     o Non-Capturing Parentheses
453       Non-Capturing Parentheses are of the form `(?:<regex>)' and facilitate
454       grouping only and do not incur the overhead of normal capturing
455       parentheses.
457     o Positive Look-Ahead
459       Positive look-ahead constructs are of the form `(?=<regex>)' and
460       implement a zero width assertion of the enclosed regular expression. In
461       other words, a match of the regular expression contained in the positive
462       look-ahead construct is attempted.  If it succeeds, control is passed to
463       the next regular expression atom, but the text that was consumed by the
464       positive look-ahead is first unmatched (backtracked) to the place in the
465       text where the positive look-ahead was first encountered.
467     o Negative Look-Ahead
469       Negative look-ahead takes the form `(?!<regex>)' and is exactly the same
470       as positive look-ahead except that the enclosed regular expression must
471       NOT match.
473     o Case Sensitivity
475       (?i<regex>)   Case insensitive; `AbcD' and `aBCd' are equivalent.
476       (?I<regex>)   Case sensitive;   `AbcD' and `aBCd' are different.
478       Regular expressions are case sensitive by default, i.e `(?I<regex>)' is
479       assumed.  All regular expression meta characters respond appropriately to
480       case insensitivity including character classes and back-references.
482     o Matching Newlines
484       (?n<regex>)   `.', `[^...]', `\s', `\S' will match newlines
485       (?N<regex>)   `.', `[^...]', `\s', `\S' do not match newlines
487       `(?N<regex>)' is the default behavior.
489     o Comments
491       Comments are of the form `(?#<comment text>)' and can be inserted
492       anywhere and have no effect on the execution of the regular expression.
494     o Notes on New Parenthetical Constructs
496       Except for plain parentheses, none of the parenthetical constructs
497       capture text.  If that is desired, the construct must be wrapped with
498       capturing parentheses, e.g. `((?i<regex))'.
500       All parenthetical constructs can be nested as deeply as desired, except
501       for capturing parentheses which have a limit of 50 sets of parentheses,
502       regardless of nesting level.
505 New Features in 5.0.2:
507  - Word-selection (double click) can be used to select ranges of delimiters
509  - New built-in macro variables: $line, $column, and $modified
511  - Smart-indent mode available for Python language
513  - Minor improvements in default pattern sets for NEdit Macros, X Resources,
514    and Sh/Ksh/Bash
517 Bug Fixes in 5.0.2:
519  - -import did not work as advertised in 5.0.1.  When used, it re-set a
520    number of preferences back to default values.  Could also potentially
521    cause a crash.
523  - Macro -> Repeat crashes on some systems.
525  - Mouse state can get "stuck" on Alpha-based systems.
527  - Combination of auto-wrap, auto-indent, and unbreakable lines extending the
528    width of the window, caused nedit to unnecessarily insert blank lines.
530  - Incorrect case-insensitive comparison in character sets > 128 bits.
532  - in by-word drag-selection (double click then drag) when begun in the middle
533    of a whitespace selection, anchor would revert to original cursor position
534    rather than maintaining the entire whitespace block.
536  - Language mode names containing spaces could not be used in language
537    sensitive user-defined menu items.
539  - New windows did not always see existing learn/replay sequence, recorded
540    before the window was created.
542  - Possible crash in search_string and search_window macros, when used with
543    long search strings.
545  - Possible crash in get_selection("any") macro.
547  - Under Solaris, crashes on window opening, file dialog, and language mode
548    selection, when user-defined sub-menus were used.
550  - Filenames containing spaces could cause the .neditdb file to become
551    unreadable.
553  - Escape key could not be used to cancel file-selection dialogs when the
554    file list had keyboard focus (which it almost always does).
557 New Features in 5.0.1:
559  - Repeat-over-range, and repeat-to-end capability for repeating last
560    command and learn/replay sequence.
562  - Import capability for loading macro/shell menu commands, highlight
563    patterns, and style sets created by other users.
565  - New macro language routines: string_to_clipboard, clipboard_to_string,
566    toupper, tolower, variables: $em_tab_dist.
568  - Additional default highlight patterns for sh and X resources.
570  - Sorted Open Previous menu.
572  - Numerous improvements to default highlighting patterns and smart indent
573    macros.
576 Bug Fixes in 5.0.1:
578  - Various crashes on Motif 2.0 (Linux and FreeBSD) systems, usually
579    associated with opening files and changing language modes.  Usually,
580    but not necessarily, following changes to user-defined menu items.
582  - Background menu activation during drag operation could leave drag
583    unfinished, cause undo to malfunction, and eventually lead to a crash (which
584    was easy to trigger accidentally when the middle button is emulated with
585    mouse-chords on a two button mouse).
587  - X11R6 clients talking to X11R5 servers could crash on font dialog.
589  - Rapid repetition of long macros (such as binding to key and using keyboard
590    repeat) could cause crash.
592  - Several commands which put up dialogs were vulnerable to timing windows
593    where repeating the command could cause a crash.
595  - Calling macro close() routine could cause crash if used to close the window
596    in which the macro was executing.
598  - Using load_macro_file() as an "include" statement in macro files could
599    cause hang.
601  - Artifacts when using non-matching highlight fonts, and making certain types
602    of changes which change the fonts used to display other (not the line being
603    modified) lines in the file.
605  - Auto-newline wrap in overtype mode could duplicate part of wrapped text.
607  - Lower panes in split window mode allowed modification to read-only windows.
609  - Several minor dialog and window focus related problems for explicit (click
610    to focus) users.
612  - Paste Column ignored existing selection.
614  - After copying and re-naming language mode information, highlight patterns
615    and smart indent macros remained attached to the re-named pattern instead of
616    the original.
618  - Trailing newlines should not have been prohibited in Open Selected.
620  - Help for creating smart indent macros was missing.
623 New Features in 5.0
625  - Completed macro extension language (Simple C/awk-like syntax, safe,
626    fully interruptable)
628  - Syntax highlighting.  Built-in patterns for C, C++, Java, Fortran, Pascal,
629    Ada, Perl, Python, Tcl, Awk, Csh, HTML, LaTeX, VHDL, Verilog, and more.
631  - Programmable Smart indent.  (Experimentally, at least.  There are only
632    macros for C and C++, and they may not fit everyone's programming style.)
634  - Language-sensitive preferences
636  - Continuous wrap mode (long line wrapping), in addition to existing
637    automatic-newline wrapping
639  - User-defined menus can be hierarchical and language-sensitive.
641  - Configurable right-button pop up menu
643  - Pan-scrolling
645  - Searchable on-line help
647  - Word boundary matching (<>) in regular expressions
649  - Repeat command
651  - More dialogs have up-arrow recall
653  - White-space selection via double-click
656 Bug Fixes and Enhancements to Existing Features in 5.0
658  - No more limits on editing files containing ascii nul characters
660  - Fill Paragraph command handles leading indents
662  - Select to mark
664  - Better directory defaulting in Open Selected and shell commands
666  - Open Selected processes tilde (~) and wildcards
668  - Goto Mark centers scroll position better
670  - Multiple shell commands can be run simultaneously
672  - Shell command execution doesn't block server command processing
674  - Emulated-tab deletion treats auto-indent as emulated tabs
676  - Auto-wrapping of pasted text is optional (off by default)
678  - Notice that default preferences have changed and ask about saving
679    on exit
681  - Selections remain selected after shell command and filter execution
683  - Wrap margin and emulated tab distance preferences are properly
684    transferred to new panes in split window mode