Skip to content

Releases: raydac/java-binary-block-parser

1.4.0 release

29 Jul 14:01
Compare
Choose a tag to compare
  • added type val which allows to create virtual field with calculated value, can play role of variable in scripts
  • val and var have been added into reserved words and can't be used as field names
  • added field outByteOrder attribute to Bin annotation, it affects logic of JBBPOut#Bin for output of annotated objects which fields should be saved with different byte order
  • removed deprecated method JBBPFinderException#getNameOrPath
  • added auxiliary class to build JBBP script
  • added flag JBBPParser#FLAG_NEGATIVE_EXPRESSION_RESULT_AS_ZERO to recognize negative expression result as zero
  • improved Java 6 class source generator to process FLAG_SKIP_REMAINING_FIELDS_IF_EOF for structure fields
  • added stable automatic module name igormaznitsa.jbbp into manifest file
  • added support of float, double and string java types, as floatj,doublej and stringj

1.3.0 release

02 Sep 14:53
Compare
Choose a tag to compare

1.3.0

  • fixed NPE when referencing a JBBPCustomFieldTypeProcessor parsed field
  • added Maven plugin to generate sources from JBBP scripts
  • added Gradle plugin to generate sources from JBBP scripts
  • added extra byte array reading writing methods with byte order support into JBBPBitInputStream and JBBPBitOutputStream
  • added converter of compiled parser data into Java class sources (1.6+)
  • added method to read unsigned short values as char [] into JBBPBitInputStream
  • Class version target has been changed to Java 1.6
  • fixed compatibiity of tests with Java 1.6
  • Minor refactoring

release 1.2.1

28 Jul 20:10
Compare
Choose a tag to compare

1.2.0 release

10 Jun 05:51
Compare
Choose a tag to compare

1.2.0

  • Refactoring
  • Improved tree of JBBP exceptions
  • Fixed NPE in JBBPTextWriter for String field mapped to byte array
  • Added support of custom field types through JBBPCustomFieldTypeProcessor
  • Added JBBPCustomFieldTypeProcessorAggregator, auxiliary class to join several JBBPCustomFieldTypeProcessors
  • Fixed JBBPTextWriter, added support of logging for JBBPAbstractField objects
  • Added support of payload objects in JBBPAbstractField
  • Improved inside script compiler and interpreter to support future extensions.
  • Fixed expression evaluator to support single char field names in expressions.
  • Added support of expressions in extra field numeric data part (example bit:(field*2))