Home | Sitemap | Contact us   
Taurus Technologies
  About Taurus Technologies Vision Products

Customers

Partners
 
 


ASN1C v6.1.x Change Log

The current production release version of the ASN1C compiler is 6.1.3. Bug fixes that went into this release include the following:

  • Added -3gpp command-line switch to generate more user-friendly code code for table constraints in 3GPP/LTE specifications such as NBAP, RANAP, S1AP, or X2AP. This change affects C/C++ code generation for PER only.
  • Fixed a compiler bug in which calls to asn1Init functions were generated more than once (PR #ASN-1615).
  • Fixed a compiler crash when -list was specified with certain types of input specifications (PR#ASN-1610).
  • Changed Java and C# code generation to emit default constructors for ENUMERATED items when -tables is specified (PR #ASN-1605).
  • Test code generated for ASN1UniversalString is fixed to set 'nchars' value (PR #ASN-1604).
  • Fixed a regression failure where non-sequential XML elements were not properly indexed for lookup (PR #ASN-1603/ASN-1187).
  • Fixed a compiler bug in which incorrect code was generated for Null type (PR #ASN-1583).
  • Fixed a compiler bug in which wrong parameter was generated in Compare functions (PR #ASN-1583).
  • Fixed a memory leak encountered when calling memFreeAll on generated C++ control classes (PR# ASN-1571).

The following are changes made in ASN1C 6.1.2.

  • Fixed issues in how module names and OID's are matched when doing imports due to observation that module OID's are frequently mismatched between module headers and import statements. New policy is to match on module name as primary key and only use OID when ambiguity exists (i.e when multiple modules with the same name are found). The -strict option can be used to enforce strict matching of module name and OID value.
  • Fixed error message printing to suppress printing the same error message to standard output more than once per compilation.
  • Fixed a bug in generated print code that calls rtPrint16BitCharStr due to a change that was made in the calling arguments.
  • Updated makefile generation to properly trigger code generation when configuration files (specified with -config) are updated. (PR# ASN-1505)
  • Fixed C# code generation for derived enumeration types. (PR# ASN-1497)
  • Fixed Java code generation from XSDs that resulted in premature class termination. (PR# ASN-1496)
  • Added "sun" to the list of reserved words on Sun machines. (PR# ASN-1443)
  • Fixed a number of issues related to compiling XML schema (XSD) files with ASN1C.
  • Fixed a bug in which Java reserved words used in enumerated values were causing Java code that could not be compiled to be generated.
  • Fixed a bug in which module identifier object identifiers values were not being parsed correctly.

The following are changes made in ASN1C 6.1.1.

  • Fixed a bug in which real values in value range constraints (for example X ::= REAL (0..10.25)) were causing a syntax error to be reported by the scanner. (PR# ASN-1415)
  • Fixed a bug in the C/C++ PER decode bit macro (PD_BIT) in which it was not detecting read past end-of-buffer in certain situations. Also modified compact code generation to always check status when this macro was invoked.
  • Modified enumerated value printing in generated C/C++ code to print the enumerated value using ASN.1 name instead of modified C name. (PR# ASN-1391)
  • Modifed C/C++ table constraint code generation to use the configured object set prefix element (objectsetPrefix) to disambiguate generated _init functions used to set table values. (PR# ASN-1391)
  • Fixed Java code generation for some cases where null test comparisons contained typos.
  • Added integers into Java code generation for ENUMERATED types to facilitate the use of switch-case statements. (PR #ASN-1377)
  • Corrected regression when handling BIT STRINGs with bits named value. (PR #ASN-1377)
  • Fixed Java code generation for ENUMERATION elements that were contained in different modules as a result of using the -dirs switch. (PR# ASN-1369, ASN-1377)
  • Updated Java and C# runtime and code generation to ensure thread-safe decoding for enumerated types. (PR# ASN-1364)
  • Miscellaneous GUI fixes. (PR# ASN-1354)
  • Fixed Java code generation for ENUMERATION elements in SEQUENCE types whose default values were improperly set. (PR# ASN-1340)
  • Updated C# XML encoding to remove null bytes from input strings. (PR# ASN-1332)
  • Fixed a segmentation fault triggered by compiling X.509 specifications. (PR# ASN-1329)
  • Fixed a bug in C++ XER decoding of ASN.1 INTEGER types with named number identifiers.
  • Fixed a bug in the XML pull-parser in which it was not detecting well-formedness errors when control characters were embedded in the document. (PR# XBI-698)

New items in the initial 6.1.0 release include:

  • Support for Visual Studio 2008.
  • Support for Symbian OS.
  • Upgrade of Java code generation to be Java 5 compliant.
  • Generation of Ant build.xml files for Java.
  • Configuration of repeating types (SEQUENCE OF) in Java to use linked lists instead of arrays
  • Use of Singletons for Enumerations in Java and C#
  • C# reader/writer and test code generation
  • Capability to configure strings to use fixed-sized character arrays
  • Use of Module Object Identifiers in IMPORT's processing
  • Parsing of ISO 8601 Date/Time as per X.680 Amendment 3

 
| Home | About Taurus Technologies | Vision | Products| Customers | Partners | Sitemap | Contact |
Site Design & Developed By DHEERAJ MALHOTRA