<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/asn1c/patches/" rel="alternate"/><link href="https://sourceforge.net/p/asn1c/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/asn1c/patches/</id><updated>2013-03-19T23:48:19.175000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#12 INTEGER conversion from and to integers of explicit sizes</title><link href="https://sourceforge.net/p/asn1c/patches/12/?limit=25#92e8" rel="alternate"/><published>2013-03-19T23:48:19.175000Z</published><updated>2013-03-19T23:48:19.175000Z</updated><author><name>Lev Walkin</name><uri>https://sourceforge.net/u/vlm/</uri></author><id>https://sourceforge.net125cf3a8e0386f19e99305bd5af0a48cc9d98798</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; pending&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#12 INTEGER conversion from and to integers of explicit sizes</title><link href="https://sourceforge.net/p/asn1c/patches/12/?limit=25#16d3" rel="alternate"/><published>2013-03-19T23:48:07.909000Z</published><updated>2013-03-19T23:48:07.909000Z</updated><author><name>Lev Walkin</name><uri>https://sourceforge.net/u/vlm/</uri></author><id>https://sourceforge.net8f087d5317533aa30032040c02ffd41348573b20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Many platforms don't have 64-bit integers. So this patch will break more stuff than it fixes.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#13 support for c++ keywords</title><link href="https://sourceforge.net/p/asn1c/patches/13/?limit=25#189b" rel="alternate"/><published>2013-03-19T23:46:04.708000Z</published><updated>2013-03-19T23:46:04.708000Z</updated><author><name>Lev Walkin</name><uri>https://sourceforge.net/u/vlm/</uri></author><id>https://sourceforge.netceb8ba7e477145f5f85decb5fc200fdb8cfd8bd4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>enable to fill an OCTET_STRING incrementally</title><link href="https://sourceforge.net/p/asn1c/patches/14/" rel="alternate"/><published>2010-04-19T15:31:15Z</published><updated>2010-04-19T15:31:15Z</updated><author><name>Timo</name><uri>https://sourceforge.net/u/funktopus/</uri></author><id>https://sourceforge.netef3b034d1a29cab36dc9a6185906146d8c410eef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;OCTET_STRING currently does not allow incremental filling, i.e., assigning one piece of data to it, and later another one using a subsequent call. Right now, users need to assemble data outside of asn1c and then provide the aggregated data in one piece to OCTET_STRING_fromBuf. To the least, this is non-convenient and error-prone.&lt;/p&gt;
&lt;p&gt;The attached patch implements the desired functionality. To do so, the given OCTET_STRING's buffer is checked for prior allocation; if so, it will be re-allocated and the given data copied accordingly.&lt;/p&gt;
&lt;p&gt;The patch has been in usage for me for quite a while.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>support for c++ keywords</title><link href="https://sourceforge.net/p/asn1c/patches/13/" rel="alternate"/><published>2009-04-21T03:29:31Z</published><updated>2009-04-21T03:29:31Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netbd5e58f6b3c76d3d86c7aaacc7d6e3386a498427</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 13 has been modified: support for c++ keywords&lt;br /&gt;
Edited By: Lev Walkin (vlm)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed-fixed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>support for c++ keywords</title><link href="https://sourceforge.net/p/asn1c/patches/13/" rel="alternate"/><published>2009-04-21T03:29:31Z</published><updated>2009-04-21T03:29:31Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netdbf94669ff1b8d28faa195fdd124b32b92872f6a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;not all c++ keywords listened. Compile of produced modules than fails with some gcc options.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>INTEGER conversion from and to integers of explicit sizes</title><link href="https://sourceforge.net/p/asn1c/patches/12/" rel="alternate"/><published>2008-08-30T13:54:46Z</published><updated>2008-08-30T13:54:46Z</updated><author><name>J-F Smigielski</name><uri>https://sourceforge.net/u/jf-smig/</uri></author><id>https://sourceforge.net251d5977d6c7a4eb715162af43b4f4ee8660cb8c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 12 has been modified: INTEGER conversion from and to integers of explicit sizes&lt;br /&gt;
Edited By: Lev Walkin (vlm)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'pending'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>INTEGER conversion from and to integers of explicit sizes</title><link href="https://sourceforge.net/p/asn1c/patches/12/" rel="alternate"/><published>2008-08-30T13:54:46Z</published><updated>2008-08-30T13:54:46Z</updated><author><name>J-F Smigielski</name><uri>https://sourceforge.net/u/jf-smig/</uri></author><id>https://sourceforge.netb91e11c0838e236af6d6a1902189ce9e0a0761dc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch allows the conversion of C integers, signed or unsigned, for integers of 8, 16, 32, 64 bits.&lt;/p&gt;
&lt;p&gt;In facts, it is a simple generalisation of the work already made on "long integers" in the 0.9.21 version.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Allow compiling converter-sample.c without default PDU</title><link href="https://sourceforge.net/p/asn1c/patches/11/" rel="alternate"/><published>2008-07-11T11:22:18Z</published><updated>2008-07-11T11:22:18Z</updated><author><name>Steve Peltz</name><uri>https://sourceforge.net/u/tricorn/</uri></author><id>https://sourceforge.net75712df63307a8186fb7fd63a58a33744e707761</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If compiled with -DASN_PDU_COLLECTION and not defining a default PDU with -DPDU=xxx, this will require you to enter a -p option to select a PDU from a list.&lt;/p&gt;
&lt;p&gt;If you only select -h, all options will be shown, and neither PER nor BER will be shown as the default.&lt;/p&gt;
&lt;p&gt;If you select a PDU and also -h afterwards on the command line, it sets the default input option appropriately.&lt;/p&gt;
&lt;p&gt;This allows compiling a generic converter-sample.c that can be linked against a library of compiled definitions that contains a pdu_collection file without having to define a default PDU.&lt;/p&gt;
&lt;p&gt;This makes generating, e.g. rrc-dump, even easier;&lt;/p&gt;
&lt;p&gt;Create a directory asn1lib; inside, do:&lt;/p&gt;
&lt;p&gt;gcc -c -DASN_PDU_COLLECTION -I/usr/local/share/asn1c /usr/local/share/asn1c/*.c&lt;br /&gt;
ar -r asn1lib.a *.o&lt;/p&gt;
&lt;p&gt;In another directory, compile the rrc source:&lt;/p&gt;
&lt;p&gt;asn1c -fcompound-names -gen-PER -pdu=auto -R ../rrc.asn&lt;br /&gt;
gcc -c -I/usr/local/share/asn1c *.c&lt;br /&gt;
ar -r rcclib.a *.o&lt;/p&gt;
&lt;p&gt;Now you can link them together with:&lt;/p&gt;
&lt;p&gt;gcc -o rrc-dump asn1lib.a rrclib.a&lt;/p&gt;
&lt;p&gt;(assuming you've moved both of the files into the same directory)&lt;/p&gt;
&lt;p&gt;Building asn1lib.a and rrclib.a that way makes it a lot easier to use inside another project, and this makes it even easier to build a test reader/writer program.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>honor -pdu=auto with -R</title><link href="https://sourceforge.net/p/asn1c/patches/10/" rel="alternate"/><published>2008-07-11T11:04:43Z</published><updated>2008-07-11T11:04:43Z</updated><author><name>Steve Peltz</name><uri>https://sourceforge.net/u/tricorn/</uri></author><id>https://sourceforge.net3e1628cec060c0ce4b08ee4bdea45e09caeb47aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;pdu_collection.c isn't created when using the -R option, it should be.  This allows compiling the support routines and the compiled routines separately without linking in all the support files or creating a makefile.&lt;/p&gt;
&lt;p&gt;If you don't want the pdu_collection.c file, don't specify it on the command line.&lt;/p&gt;
&lt;p&gt;Very small patch.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>