Skip to content

Releases: b4n/ctpl

0.3.5 — bugfix and enhancement release for the 0.3 branch

21 Jan 23:18
@b4n b4n
v0.3.5

Choose a tag to compare

  • Added ctpl_value_take_string() to reduce memory copies, and used it internally where appropriate;
  • Fixed build with GCC 14;

0.3.4 — bugfix and enhancement release for the 0.3 branch

21 Jan 23:19
@b4n b4n
v0.3.4

Choose a tag to compare

  • Added Windows support to the command-line utility (Andrea Zagli);
  • Added French and Italian translations;
  • Fixed various build system issues;
  • Added support for building for Windows with Automake;

0.3.3 — bugfix release for the 0.3 branch

22 Jan 00:01
@b4n b4n
v0.3.3

Choose a tag to compare

  • Fixed crash when indexing expressions;
  • Fixed two possible reads of uninitialized memory;
  • Plugged a few memory leaks;

0.3.2 — bugfix and enhancement release for the 0.3 branch

22 Jan 00:03
@b4n b4n

Choose a tag to compare

  • Fixed wrong reading of some numbers that led to parsing failure when the addition or subtraction operators was not surrounded by blank characters. This bug was introduced in version 0.3.1;
  • Fixed crash comparing arrays with other types;
  • Actually implemented array comparison;
  • Added support for string literals in expressions.

Anybody using version 0.3.1 is strongly encouraged to upgrade to version 0.3.2 because of the number reading bug that may break parsing of valid templates.
For detailed changes, see the NEWS file in the CTPL 0.3.2 archive or in the Git repository.

0.3.1 — bugfix and enhancement release for the 0.3 branch

22 Jan 00:04
@b4n b4n

Choose a tag to compare

  • Fixed crash in addition operator when handling arrays
  • Improved floating-point numbers output
  • Added support for blanks between a symbol and its index
  • Added support for empty arrays in environment descriptions

For detailed changes, see the NEWS file in the CTPL 0.3.1 archive or in the Git repository.

0.3

22 Jan 00:06
@b4n b4n

Choose a tag to compare

0.3
  • Heavy API cleanup
  • Array expressions can now be indexed
  • The for loop now iterates over an expression rather than a symbol name
  • CtplEnviron now uses reference counting
  • Improvements of CtplEnviron's memory usage
  • Bug fixes:
    • ctpl_value_copy(), ctpl_value_set_string() and all the ctpl_value_set_array*() functions can now take a part of the destination value as the value to set/copy
    • Fix internal handling of an error which may lead to wrong error detection
    • Fix wrong name of streams built from GFiles, paths and URIs
    • Fix dramatic slowness when a symbol gets pushed many times
  • Some internal refactoring

For detailed changes, see the NEWS file in the CTPL 0.3 archive or in the Git repository.

0.2.2 — bugfix release for the 0.2 branch

22 Jan 00:14
@b4n b4n

Choose a tag to compare

  • Fix lexing of a whole expression input (using ctpl_lexer_expr_lex() or one of its variants)
  • Fix priority of boolean operators AND and OR
  • Fix support of operators <= and >=
  • Better error reporting in the expression lexer
  • New alternative build system: Waf

0.2.1 — bugfix release for the 0.2 branch

22 Jan 00:13
@b4n b4n

Choose a tag to compare

  • Do not export the private API

0.2

22 Jan 00:12
@b4n b4n

Choose a tag to compare

0.2

GIO replaces LibMB through a new IO layer module, providing local and remote streaming for both input and output

  • Better error message from inputs (templates and environ descriptions) with line and position mark
  • Comment support in environ descriptions
  • Improved numeric constants loading, including:
    • Integers are now loaded as such, avoiding precision loss
    • Support for octal constants via the 0o prefix
    • Support for binary constants via the 0b prefix

For detailed changes, see the NEWS file in the CTPL 0.2 archive or in the Git repository.

0.1.90 — the 0.2-minus-one release

22 Jan 00:08
@b4n b4n

Choose a tag to compare

This is and will be the last release of the 0.1 branch: it is a release of the 0.1-compatible improvements that will come in the 0.2 branch.

  • Memory usage reduced of about 20-30% for the token tree