Scintilla 1.79 released

1 view
Skip to first unread message

Neil Hodgson

unread,
Jul 2, 2009, 9:43:35 PM7/2/09
to scintilla...@googlegroups.com
Scintilla 1.79 is now available from the scintilla.org web site.

The most important change in this release is that Scintilla may no
longer crash the process when memory is exhausted. However, if memory is
exhausted while performing an operation within Scintilla, the internal
data structures may be left in an inconsistent state which may cause a
crash later. Scintilla reports memory exhaustion and other exceptions
through the SCI_GETSTATUS API. Application developers should decide on a
strategy to deal with a non-OK status. The safest thing to do is
probably to save modified buffers to a recovery directory since saving
them to their original file could cause loss if the buffer has been
corrupted. Scintilla must now be compiled with exception handling turned on.

A platform layer for Cocoa on Mac OS X is included.

Deprecated APIs have been removed. These have not been included by
default for years and required explicit enabling so this change should
not cause problems. The symbols removed are

SCI_SETCARETPOLICY
CARET_CENTER
CARET_XEVEN
CARET_XJUMPS
SC_FOLDFLAG_BOX
SC_FOLDLEVELBOXHEADERFLAG
SC_FOLDLEVELBOXFOOTERFLAG
SC_FOLDLEVELCONTRACTED
SC_FOLDLEVELUNINDENT
SCN_POSCHANGED
SCN_CHECKBRACE
SCLEX_ASP
SCLEX_PHP

Branded names are used for struct types in Scintilla.h. They now
start with "Sci_" to avoid possible clashes with platform definitions.
Currently, the old names still work but these will be phased out.

Test scripts are included with the source code. These currently
only run on Windows with Python 3.x installed. One set of tests is to
ensure that lexers remain stable between releases with example files
lexed and compared with archived lexings. Adding test files for other
languages will help ensure the quality of their lexers. While coverage
is important in example files, they should also be kept fairly short as
some of the tests take quadratic time over the number of lines of input.

When lines are wrapped, subsequent lines may be indented to match
the indent of the initial line, or one more indentation level.

Minor lexer and other improvements. Some bugs fixed.

A detailed list of changes is available on the history page.
http://www.scintilla.org/ScintillaHistory.html

Thanks to the contributors of code and documentation and to the
testers.

Neil

Reply all
Reply to author
Forward
0 new messages