<?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/j2cstranslator/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/j2cstranslator/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 18 Nov 2010 09:12:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/j2cstranslator/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Arrays.copyOf(T[] array, int newLength) is missing</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sample additions into existed code:&lt;/p&gt;
&lt;p&gt;ILOG.J2CsMapping.Collections.Generics.Arrays:&lt;br /&gt;
public static T[] CopyOf&amp;lt;T&amp;gt;(T[] original, int newLength)&lt;br /&gt;
{&lt;br /&gt;
T[] newArray = new T[newLength];&lt;br /&gt;
Array.Copy(original, newArray, newLength);&lt;br /&gt;
return newArray;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;java.util.mappingml:&lt;br /&gt;
&amp;lt;class name="Arrays"&amp;gt;&lt;br /&gt;
&amp;lt;target packageName="System" name="Array"&amp;gt;&lt;br /&gt;
....................&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&amp;lt;method signature="(char[],int)"&lt;br /&gt;
name="copyOf"&amp;gt;&lt;br /&gt;
&amp;lt;target&amp;gt;&lt;br /&gt;
&amp;lt;format&amp;gt;&lt;br /&gt;
&amp;lt;![CDATA[ILOG.J2CsMapping.Collections.Generics.Arrays.CopyOf&amp;lt;%1&amp;gt;(@1,@2)]]&amp;gt;&lt;br /&gt;
&amp;lt;/format&amp;gt;&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&amp;lt;/method&amp;gt;&lt;br /&gt;
&amp;lt;method signature="(int[],int)"&lt;br /&gt;
name="copyOf"&amp;gt;&lt;br /&gt;
&amp;lt;target&amp;gt;&lt;br /&gt;
&amp;lt;format&amp;gt;&lt;br /&gt;
&amp;lt;![CDATA[ILOG.J2CsMapping.Collections.Generics.Arrays.CopyOf&amp;lt;%1&amp;gt;(@1,@2)]]&amp;gt;&lt;br /&gt;
&amp;lt;/format&amp;gt;&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&amp;lt;/method&amp;gt;&lt;br /&gt;
&amp;lt;method signature="(long[],int)"&lt;br /&gt;
name="copyOf"&amp;gt;&lt;br /&gt;
&amp;lt;target&amp;gt;&lt;br /&gt;
&amp;lt;format&amp;gt;&lt;br /&gt;
&amp;lt;![CDATA[ILOG.J2CsMapping.Collections.Generics.Arrays.CopyOf&amp;lt;%1&amp;gt;(@1,@2)]]&amp;gt;&lt;br /&gt;
&amp;lt;/format&amp;gt;&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&amp;lt;/method&amp;gt;&lt;br /&gt;
&amp;lt;method signature="(T[],int)"&lt;br /&gt;
name="copyOf"&amp;gt;&lt;br /&gt;
&amp;lt;target&amp;gt;&lt;br /&gt;
&amp;lt;format&amp;gt;&lt;br /&gt;
&amp;lt;![CDATA[ILOG.J2CsMapping.Collections.Generics.Arrays.CopyOf&amp;lt;%1&amp;gt;(@1,@2)]]&amp;gt;&lt;br /&gt;
&amp;lt;/format&amp;gt;&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&amp;lt;/method&amp;gt;&lt;br /&gt;
....................&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evgeny Filatov</dc:creator><pubDate>Thu, 18 Nov 2010 09:12:58 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6e90c9b9eb238d8dfd55094e785751ec11143889</guid></item><item><title>Translation Object.finalize() to c# destructor</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;c# doesnt permit Finalize() overriding, but translator convert it as is. It should be better if translator can create c# destructor from finalize() method&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vasiliy Potapenko</dc:creator><pubDate>Tue, 16 Nov 2010 12:54:10 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf8fd8d14d200e1897f371cce1f95b6889d64ea0b</guid></item><item><title>Support for merging properties</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Current versions have a mechanisme to 'translate' resources but there is only "override" or "donotreplace".&lt;br /&gt;
User may need a way to "merge"/"update" properties files.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandre FAU</dc:creator><pubDate>Tue, 09 Nov 2010 14:05:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net99e6db283d3b0da2ca1e8a3f2e12902d0274feb0</guid></item><item><title>Support mapping replacement</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When adding custom mappings which overlay existing translator mappings the old and new mappings are merged.  If existing mappings map class methods A and B and new map methods B and C, A mapping comes from old and B and C from new mappings.&lt;br /&gt;
(Please correct this if incorrect Alex)&lt;/p&gt;
&lt;p&gt;In some cases it would be useful if the new mappings completely replaced those for a class.  In the example above methods B and C would be mapped, but there would be no mapping for A.&lt;/p&gt;
&lt;p&gt;This feature might be useful for both class and package.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DM192</dc:creator><pubDate>Mon, 12 Apr 2010 22:09:09 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net55ef21592971f19ca74446281b924c0908a683e6</guid></item><item><title>Improve javadoc translation</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Current version of the translator only support "basic" javadoc translation.&lt;br /&gt;
What is missing :&lt;br /&gt;
- @link support : both keyword, content and csharp speficities ("M:", "P:") must be handled&lt;br /&gt;
- see/seealso support must be improved : reference to class/method must be replace by the CSharp equivalent&lt;br /&gt;
- improve "custom" documentation : the way for user to specify it's own chsarp doc in the mapping file&lt;br /&gt;
- xhtml compliance (always close and open tag)&lt;/p&gt;
&lt;p&gt;It's clearly a hard stuff ... But required if we want to publicly publish class produced using the translator.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 23 Mar 2010 14:15:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net99957624b64fcfb192c7d80389b31c95597e3331</guid></item><item><title>Feature request for a new xml tag</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've been trying to fix my java code by running the translator through the 2 phases of the Java Compatible Refactoring. &lt;br /&gt;
To do this, I need to recompile the generated Java project, see what breaks &amp;amp; then fix that in my original source.&lt;br /&gt;
I'd like two new xml tags (and optionally, checkboxes in the plugin UI) which allow the translator to stop automatically after the first and the second pass of the Java Compatible Refactoring&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anil Peres-da-Silva</dc:creator><pubDate>Tue, 23 Mar 2010 13:18:43 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdc1c5e4d70a353b0b05ca524a9ff0a23c15da931</guid></item><item><title>Provide untranslateable Java as C# comments</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There are some Java constructs that may be impossible or excessively difficult to translate.&lt;br /&gt;
An example may be static methods defined on Java enums.&lt;br /&gt;
In such cases it would be very helpful to have the source Java code transferred into the C#&lt;br /&gt;
target module as comments.  This would greatly assist manual conversion.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DM192</dc:creator><pubDate>Tue, 23 Mar 2010 12:56:44 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5cf67a7e9e166ff13810e7a61dfba95b6c73c8fb</guid></item><item><title>Access to method parameters inside codeReplacement</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;[Avatar]&lt;br /&gt;
2010-02-10 09:33:24 CET&lt;br /&gt;
Hi, I would like to have access to method parameters inside codeReplacement like in the following example :&lt;/p&gt;
&lt;p&gt;Code:&lt;br /&gt;
method encodeFile(LyEnvironment, String, String, String) { codeReplacement = #System.IO.File.Copy(@3,@4,true); return null#; }&lt;/p&gt;
&lt;p&gt;I would like @3 and @4 to be replaced by the rights parameters&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin</dc:creator><pubDate>Thu, 11 Feb 2010 10:43:03 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net56e74417a59423c49f3d40644ef4eee5ac308322</guid></item><item><title>Translation of the Object.finalize() into C# destructor</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I want to transform the finalize() method of every Object into the C# destructor notation : ~class_name(). (Note: C# does not allow to extend the method Finalize()).&lt;/p&gt;
&lt;p&gt;For example : &lt;br /&gt;
class TestClass {&lt;br /&gt;
protected finalize() {&lt;br /&gt;
// ... &lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;will translate to :&lt;br /&gt;
class TestClass {&lt;br /&gt;
~TestClass() {&lt;br /&gt;
// ... &lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;So in the mapping i suggest to have a parameter telling the name of the resulting C# class (%C#_Class), and the mapping should be quite straight forward :&lt;/p&gt;
&lt;p&gt;class java.lang.Object :: System:Object {&lt;br /&gt;
method finalize() { name = ~%C#_Class;}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;So every finalize() method will translate into :&lt;br /&gt;
~class_name() {&lt;br /&gt;
... &lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Colin de Verdičre</dc:creator><pubDate>Thu, 26 Nov 2009 10:23:32 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3be0f55d6e27a4ed63fe281bf4a07b44449ebf9b</guid></item><item><title>Migrate resources</title><link>https://sourceforge.net/p/j2cstranslator/feature-requests/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When a java project have properties (i18n message, ...) during translation process the files are just copied.&lt;br /&gt;
It will be a great improvement to "convert" that properties file into the equivalent in .NET (an XML resources file).&lt;br /&gt;
Ideally it can "merge" data (add or remove) in case of already existing .NET artifact.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandre FAU</dc:creator><pubDate>Wed, 25 Nov 2009 13:29:40 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7381582814d52d9ed42a25136332ce3e5cc00553</guid></item></channel></rss>