xMarkup Changelog

What's new in xMarkup 4.2

Jun 22, 2017
  • Console modules were built with Unicon v13.0 x86_32 (GCC v6.3.0), update of 16th April, 2017.
  • GUI was built with Lazarus IDE v.1.6.4.
  • Fixed an error while processing of empty input lines (files). Early in such situations aren't always triggered markers @bol/@eol and @bof/@eof.
  • Added function EOL(), which can be used to define EOL (end-of-line) format of output files.
  • Fixed GUI error of reloading the current script when it was changed by extenral editor/program.
  • Fixed other minor inconsistiencies of GUI.
  • Docs updated and added with new examples.

New in xMarkup 4.1 (Jan 30, 2017)

  • Updated core of utility to Unicon Version 13.0 x86_32.
  • Fixed an error in xm2exe utility for muli-step scripts.
  • Added new option compatibility, which defines the minimum compatibility version of the script.
  • Updated GUI: fixed progress indicator; added block of Environment variables; added popup menus.
  • Updated docs.

New in xMarkup 4.0 (Jan 30, 2017)

  • Updated core of utility to Unicon Version 12.3. As the result the performane is rised at ~30%.
  • Added the new processing options: graphics, encoding, untranslatedRead, untranslatedWrite.
  • Added support of graphical features of Unicon Programming Language.
  • Added graphical procedure Hist of histogram visualization.
  • Added graphical procedure PlotWords to visualize words in the text.
  • Added function wt, which implements the interface with module wordtabulator of text analyse.
  • Added function Gauss to generate pseudo random value of Gaussian distribution.
  • Added function set_option to specify the needed option of processing, see chapter 4.4.
  • Start of processing now is available right from body of initialize procedure.
  • Refactored utilities xm2exe and xmcomp.
  • Changed command line (CLI) options of utility.
  • Upgraded setup program; added new variants of text editor integration.
  • Reworked documentation and examples of scripts.

New in xMarkup 3.6 (Jun 23, 2015)

  • Deleted option -x from utility's command line.
  • Added function replace_first(s,s0,s1) which replaces first substring s0 in string s to s1.
  • Added function rand(x), which generates pseudo-random value.
  • Added function oldcyr2rus(s,l), which translates old Cyrillic text to modern syle Russian (UTF-8).
  • Fixed the utility xm2exe.

New in xMarkup 3.5 (Feb 2, 2015)

  • The core of utility was updated to new version of Unicon 12.2. As a result the performace slightly rised (~25%).
  • Updated docs: added description and an example of working with SQL database.
  • Added command line option -i which outputs list of features supported by current implementation of utility.
  • Added function replace(s,s0,s1) which replaces all instancies of substring s0 in string s to s1.
  • Fixed function listfiles(s,i), which returns list of filenames by filesmask s. Unicon vs Icon implements own cross-platform means to process file system and directories, so this function was competely rewritten. 6. Fixed utility xm2exe for case of multi-step processing scripts.

New in xMarkup 3.2 (Nov 26, 2012)

  • GUI of utility was ported from Delphi 7 to open-source IDE Lazarus
  • As a result GUI has got the full support of UTF-8 and convenient localization mechanism.
  • The list of languages supported by GUI may be easily extended (now English and Russian).
  • Theoretically it's became possible to port GUI to Linux and Mac OS.
  • Refactored the source code of GUI, library of visual components Delphi VCL was replaced by Lazarus LCL.
  • Fixed bugs found in console module:
  • switched off in version 3.0 debug mode;
  • empty value of macro @body when start and stop markers are defined as beginning @bol and end of line @eol;
  • bug in function utf2ncr converting UTF-8 string to NCR in the case of 3-,4-bytes UTF-8 characters.
  • Added support of UTF-8 data. The regular expressions and case insensitive search were adapted too.
  • Added new functions:
  • utf8_upper(s) converting UTF-8 string to "upper case" (capital letters);
  • utf8_lower(s) converting UTF-8 string to "lower case" (small letters).
  • Updated program documentation.
  • Revised installator to take into account features of Windows Vista/7/8.

New in xMarkup 3.0 (May 25, 2012)

  • Refactored and optimized the console module of utility. This provides increasing of performance in the case of files with extra long lines (for example, a few megabytes). Previously utility could really "go to nirvana" on long hours while processing of such files. Now it could take only a few minutes or seconds.
  • Added support of script files in UTF-8. However GUI doesn't render UTF-8 characters properly the processing is done correctly.
  • Removed deprecated option "tagExceptions" which defined a list of paired tags, content of which should be skipped while processing. Such list can be defined by standard means with help of start and stop markers.
  • Added new functions: - get_length(s) calculates length of string in characters (rather then bytes); string may include NCR and named HTML-entities; - hex2int(s) converts hexadecimal code to integer, for example hex2int("ff") return 255; - utf2str(s) converts UTF-8 string to ANSI (uncovertable characters coded as Unicode NCR and HTML named entities); - str2utf(s) converts ANSI string to UTF-8; - ncr2char(i) converts decimal Unicode NCR to ANSI-character; this function replaced obsolete function unicode(i); - ncr2utf(i) converts decimal Unicode NCR to UTF-8 character.
  • Fixed some minor bugs. Added a few improvements to GUI, for example user now can edit list of file filters, which is used for add/search files.
  • Added two auxiliary tools: - xm2exe.exe which makes Win32 executable from source xMarkup script; - xmcomp.exe which processes source xMarkup script by Icon compiler.
  • Now xMarkup GUI completly adopted for Windows Vista/7.
  • Refactored installer.
  • Updated examples of scripts and docs.