Version 0.8.8 released
2010年03月14日 Andreas Rumpf
Bugfixes
- The Posix version of
os.copyFilehas better error handling. - Fixed bug #502670 (underscores in identifiers).
- Fixed a bug in the
parsexmlmodule concerning the parsing of<tag attr="value" />. - Fixed a bug in the
parsexmlmodule concerning the parsing of enities like<XX. system.write(f: TFile, s: string)now works even ifscontains binary zeros.- Fixed a bug in
os.setFilePermissionsfor Windows. - An overloadable symbol can now have the same name as an imported module.
- Fixed a serious bug in
strutils.cmpIgnoreCase. - Fixed
unicode.toUTF8. - The compiler now rejects
'\n'(use"\n"instead). times.getStartMilsecs()now works on Mac OS X.- Fixed a bug in
pegs.matchconcerning start offsets. - Lots of other little bugfixes.
Additions
- Added
system.cstringArrayToSeq. - Added
system.lines(f: TFile)iterator. - Added
system.delete,system.delandsystem.insertfor sequences. - Added
system./for int. - Exported
system.newExceptiontemplate. - Added
cgi.decodeData(data: string): tuple[key, value: string]. - Added
strutils.insertSep. - Added
math.trunc. - Added
ropesmodule. - Added
socketsmodule. - Added
browsersmodule. - Added
httpservermodule. - Added
httpclientmodule. - Added
parseutilsmodule. - Added
unidecodemodule. - Added
xmldommodule. - Added
xmldomparsermodule. - Added
xmltreemodule. - Added
xmlparsermodule. - Added
htmlparsermodule. - Added
remodule. - Added
graphicsmodule. - Added
colorsmodule. - Many wrappers now do not contain redundant name prefixes (like
GTK_,lua). The old wrappers are still available inlib/oldwrappers. You can change your configuration file to use these. - Triple quoted strings allow for
"in more contexts. ""within raw string literals stands for a single quotation mark.- Arguments to
openArrayparameters can be left out. - More extensive subscript operator overloading. (To be documented.)
- The documentation generator supports the
.. raw:: htmldirective. - The Pegs module supports back references via the notation
$capture_index.
Changes affecting backwards compatibility
- Overloading of the subscript operator only works if the type does not provide a built-in one.
- The search order for libraries which is affected by the
pathoption has been reversed, so that the project’s path is searched before the standard library’s path. - The compiler does not include a Pascal parser for bootstrapping purposes any
more. Instead there is a
pas2nimtool that contains the old functionality. - The procs
os.copyFileandos.moveFilehave been deprecated temporarily, so that the compiler warns about their usage. Use them with named arguments only, because the parameter order will change the next version! atomicandletare now keywords.- The
\wcharacter class for pegs now includes the digits'0'..'9'. - Many wrappers now do not contain redundant name prefixes (like
GTK_,lua) anymore. - Arguments to
openArrayparameters can be left out.