Skip to content

Releases: lammas/glsl-man

v1.1.10

06 Jul 09:14
Compare
Choose a tag to compare

Many thanks to @DiThi and @mikecao for finding these problems.

  • Fix: glsl.string() - handling parentheses for ternary operators
  • Fix: glsl.string() - array size in function parameters
  • Fix: glsl.string() - handling of statement bodies with no statements
  • Fix: glsl.string() - parentheses with a postfix mishandled in deparsing
  • Fix: glsl.parse() - parsing unary operator after return
  • Fix: glsl.string() - missing newline before preprocessor directives in minified output

v1.1.6

23 Dec 08:45
Compare
Choose a tag to compare
  • @ChiChou added a missing sequence expression and provided a ton of other test cases. Many thanks! :)

Other fixes since the last release:

  • Add: AST to string generator for structs
  • Fix: Incomplete negative float constant handling

v1.1.2

04 Nov 11:42
Compare
Choose a tag to compare
  • Add: AST modification functions by @yofreke
  • Fix: array size declarator was ignored (#4)
  • Fix: deparser did not force newlines on preprocessor directives (#5)
  • Fix: if-else statements without braces not minified correctly (#7)
  • Fix: tape package should only be in devDependencies

v1.0.7

15 Aug 09:29
Compare
Choose a tag to compare
  • Fix: Implied scope for if/for/while statements generated incorrectly
  • Fix: elseif -> else if

v1.0.6

16 Jun 10:52
Compare
Choose a tag to compare
  • Fixes negative int constant parsing as well

v1.0.5

16 Jun 10:45
Compare
Choose a tag to compare
  • Fixes a bug parsing negaive float constants

v1.0.4

28 Apr 16:34
Compare
Choose a tag to compare
1.0.4