<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/bnotes/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/bnotes/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 08 Oct 2007 12:12:35 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/bnotes/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Support for Multiple-line comments</title><link>https://sourceforge.net/p/bnotes/feature-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ASN.1 2002 introduced Multiple-line comments using "/*" "*/" pairs. BN1.5.1 doesn't support this notation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olivier</dc:creator><pubDate>Mon, 08 Oct 2007 12:12:35 -0000</pubDate><guid>https://sourceforge.netc9d906325b5705da65937cacdb8d81332772c131</guid></item><item><title>Prepared reflection data supports for Enum</title><link>https://sourceforge.net/p/bnotes/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The enumeration encoding/decoding is not supported prepared data feature and had a performance troubles.&lt;br /&gt;
This is must be fixed in 1.5.2.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdulla(h) Abdurakhmanov</dc:creator><pubDate>Tue, 11 Sep 2007 19:57:33 -0000</pubDate><guid>https://sourceforge.net57264440ec849f8ad51cb73a782852bbde2e4c23</guid></item><item><title>ObjectIdentifier datatype support</title><link>https://sourceforge.net/p/bnotes/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We are need to the OID support for version 1.5 for Java/.NET.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdulla(h) Abdurakhmanov</dc:creator><pubDate>Thu, 12 Jul 2007 18:43:42 -0000</pubDate><guid>https://sourceforge.net9a413afd1e0953d724d5560bb5bd4227965463e2</guid></item><item><title>Grammar cannot handle parameterization</title><link>https://sourceforge.net/p/bnotes/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;MyString{INTEGER:maxSize} ::= CHOICE {&lt;br /&gt;
utf8 UTF8String(SIZE(0..maxSize)),&lt;br /&gt;
bmp  BMPString(SIZE(0..maxSize))&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;compiler gives:&lt;/p&gt;
&lt;p&gt;line 104:1: unexpected token: MyString&lt;br /&gt;
line 104:25: unexpected token: }&lt;br /&gt;
line 104:31: unexpected token: CHOICE&lt;br /&gt;
java.lang.NullPointerException&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomas Carlfalk</dc:creator><pubDate>Wed, 13 Jun 2007 07:20:48 -0000</pubDate><guid>https://sourceforge.net948d0d08d6dbf0dcddcb6a842cc5308f4ea7800f</guid></item><item><title>Grammar cannot handle ellipsis (extension marker "...")</title><link>https://sourceforge.net/p/bnotes/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ASN.1 syntax allows to design SEQUENCE:s and CHOICE:s for extendability by using the extension marker "...".&lt;/p&gt;
&lt;p&gt;This is not supported in BNotes. Example:&lt;/p&gt;
&lt;p&gt;ExtendableSeq ::= SEQUENCE {&lt;br /&gt;
a INTEGER (0..31),&lt;br /&gt;
b INTEGER (0..15),&lt;br /&gt;
...&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Comiler gives:&lt;/p&gt;
&lt;p&gt;line 107:3: unexpected token: ...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomas Carlfalk</dc:creator><pubDate>Wed, 13 Jun 2007 07:14:33 -0000</pubDate><guid>https://sourceforge.net007aba99dd62054a714a3c2a136ae5e3607343ee</guid></item><item><title>Bug in BitString.getLength()?</title><link>https://sourceforge.net/p/bnotes/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Abdulla,&lt;/p&gt;
&lt;p&gt;I think there's a bug in BitString.getLength().&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;public int getLength() {&lt;br /&gt;
return bitStrValue.length;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Shouldn't this be:&lt;/p&gt;
&lt;p&gt;public int getLength() {&lt;br /&gt;
return bitStrValue.length * 8 - trailBitsCnt;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Or am I confused?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
John&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Finley</dc:creator><pubDate>Thu, 01 Mar 2007 21:09:17 -0000</pubDate><guid>https://sourceforge.net09318dec6166eb7f77e1c7ee5a19240be887125a</guid></item><item><title>Additional C# type support</title><link>https://sourceforge.net/p/bnotes/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to add byte and enum properties to my class.&lt;/p&gt;
&lt;p&gt;I didn't realize that there was an ASN1Enum attribute, I figured that this would be implicit CS element, but it is not.&lt;/p&gt;
&lt;p&gt;Also, I would like byte to be a valid type, currently only int and long are supported.&lt;/p&gt;
&lt;p&gt;I added the following code to make this work:&lt;/p&gt;
&lt;p&gt;Encoder.cs, encodeCSElement method&lt;/p&gt;
&lt;p&gt;if (obj.GetType().IsEnum)&lt;br /&gt;
{&lt;br /&gt;
System.Type declaringType = System.Enum.GetUnderlyingType(obj.GetType());&lt;br /&gt;
if (declaringType == typeof(long))&lt;br /&gt;
{&lt;br /&gt;
return encodeInteger((long) obj, stream, info);&lt;br /&gt;
}&lt;br /&gt;
else if (declaringType == typeof(int))&lt;br /&gt;
{&lt;br /&gt;
return encodeInteger((int) obj, stream, info);&lt;br /&gt;
}&lt;br /&gt;
else if (declaringType == typeof(byte))&lt;br /&gt;
{&lt;br /&gt;
return encodeInteger((byte) obj, stream, info);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
return 0;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Similar code is required for decoding.&lt;/p&gt;
&lt;p&gt;-Chris Peterson&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 24 Jan 2007 20:40:20 -0000</pubDate><guid>https://sourceforge.net13e148efb70f687a87f7197a37d1e68da4e9efb5</guid></item><item><title>Encoding/decoding performance issues.</title><link>https://sourceforge.net/p/bnotes/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Abdullah,&lt;/p&gt;
&lt;p&gt;I've run into some performance bottlenecks with the encoders and decoders.  The problem seems to be that they rely heavily on java reflection, particularly reflection on annotations, and this is really slow!  I've attached an example that generates java hprof output to demonstrate this.&lt;/p&gt;
&lt;p&gt;I've also prototyped some workarounds that demonstrate a noticable improvement when reflection is minimized.&lt;/p&gt;
&lt;p&gt;I believe the performance of the encoders and decoders could be orders of magnitude faster if the reliance on annotations was removed, although I recognize that this is no small undertaking.&lt;/p&gt;
&lt;p&gt;Would it be possible to replace the class and field annotations with static class members?  These could&lt;br /&gt;
be accessed by the coders with almost no overhead.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
John&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Finley</dc:creator><pubDate>Thu, 07 Dec 2006 21:42:37 -0000</pubDate><guid>https://sourceforge.net003b6686dc5418e265fded5b6189df377098b8f2</guid></item></channel></rss>