Re: [JPP-Devel] PrinterPlugIn (for Michael, Pepe and Ede)

2011-07-15 Thread edgar . soldin
On 15.07.2011 02:42, Geoffrey Roy wrote:
> I am a little reluctant to go to SVN - new skills for me to learn!

ok, no wörries :) .. a source code archive does it as well ... thanks ede

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread Giuseppe Aruta
Hi Geoff,
today I will send you the translation of your plugin in Spanish nad some 
corrections for Italian too. Before new realize

Giuseppe

--- Gio 14/7/11, Michaël Michaud  ha scritto:

Da: Michaël Michaud 
Oggetto: Re: [JPP-Devel] PrinterPlugIn (for Michael
A: "OpenJump develop and use" 
Data: Giovedì 14 luglio 2011, 12:22



  


  
  
Hi Geoffrey,




  OK, when you are happy that there are no more bugs I will release
  the new version (and code)


Thanks, it works fine for me now.



Later, I'll send you a language file for vertex plugin, but this is
another jar, so this is just for information.



Thanks for all,



Regards



Michaël








  

  Geoff

  

  On 14/07/2011 4:11 AM, Michaël Michaud wrote:
  



Hi, Geoffrey



Thanks a lot for all your efforts,



I'll test your improvements soon and let you know.



Michaël



  
  Dear Michael

  

  Thanks for the feedback. I am attaching revised version:

  
The problem with the number format could be solved
  nicely with some effort, but I have simply removed the
  grouping separator (a comma in English).  There is
  obviously a problem with European decimal formats.  I
  think this is the problem, please test again.
The titles for the various renderers have changed over
  time - also their "meaning".  In earlier attempts I was
  testing 4 different renders that were called "Quality"
  "Accurate" etc, but these have been replaced by three
  "ISA, Core and External" - with the user to decide which
  gives the best results.
I now understand your problem with the name of the JAR -
  yes it cannot be changed without changing the code.  Again
  this can be fixed, but I do not have the time at the
  moment.
The typo in the language files fixed
A new French language file installed.
  
  Hope this is now OK for you.

  

  regards

  

  Geoff

  

  On 11/07/2011 6:29 AM, Michaël Michaud wrote:
  



Hi Geoff,



Thanks a lot for improvements !




  
The scale field now checks for numeric values with
  spaces, and attempts to resolve a reasonable number,
  so "1 234" and "1,234" converts to "1234".  Please let
  me know if this causes any other problems with your
  decimal point/separator values.
  

  
  

  

  
  

This one is not fixed for me. To reproduce the problem, set
locale to french/France, open the main printer dialog (I get
a scale of "2 897" for example), and click in the "fit to
page" checkbox.

I get an "Error in the scale field" error.

If I change to english/Australia locale, I get the scale as
2,897 (instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.

Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html



  
The  button now operates the
  same as the  button.
  

Fixed, thanks.


  
PrinterPlugin tooltip is now internationalized
  

Fixed, thanks.


  
The title of the  dialog is now
  internationalized.
  

Fixed, thanks


  
The "Quality" word in the Help dialog should simply
  be removed from the language file
  (JumpPrinter.HelpDialog.Message7).  In English I have
  changed this to "Options ".  I have not changed
  the other language files.
  

OK, what I meant was that "Precision" and "Quality words
used in "JumpPrinter.Setup.Quality" and
"JumpPrinter.Setup.Message7" were probably refering to old
PrinterSetUp

String [] qualityItems = {"OJ Quality Renderer", "OJ
Accurate Renderer", "External Rendere

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread Michaël Michaud

Hi Geoffrey,

OK, when you are happy that there are no more bugs I will release the 
new version (and code)

Thanks, it works fine for me now.

Later, I'll send you a language file for vertex plugin, but this is 
another jar, so this is just for information.


Thanks for all,

Regards

Michaël





Geoff

On 14/07/2011 4:11 AM, Michaël Michaud wrote:

Hi, Geoffrey

Thanks a lot for all your efforts,

I'll test your improvements soon and let you know.

Michaël

Dear Michael

Thanks for the feedback. I am attaching revised version:

   1. The problem with the number format could be solved nicely with
  some effort, but I have simply removed the grouping separator
  (a comma in English).  There is obviously a problem with
  European decimal formats.  I think this is the problem, please
  test again.
   2. The titles for the various renderers have changed over time -
  also their "meaning".  In earlier attempts I was testing 4
  different renders that were called "Quality" "Accurate" etc,
  but these have been replaced by three "ISA, Core and External"
  - with the user to decide which gives the best results.
   3. I now understand your problem with the name of the JAR - yes
  it cannot be changed without changing the code.  Again this
  can be fixed, but I do not have the time at the moment.
   4. The typo in the language files fixed
   5. A new French language file installed.

Hope this is now OK for you.

regards

Geoff

On 11/07/2011 6:29 AM, Michaël Michaud wrote:

Hi Geoff,

Thanks a lot for improvements !


   1. The scale field now checks for numeric values with spaces,
  and attempts to resolve a reasonable number, so "1 234" and
  "1,234" converts to "1234".  Please let me know if this
  causes any other problems with your decimal point/separator
  values.



This one is not fixed for me. To reproduce the problem, set locale 
to french/France, open the main printer dialog (I get a scale of "2 
897" for example), and click in the "fit to page" checkbox.

I get an "Error in the scale field" error.
If I change to english/Australia locale, I get the scale as 2,897 
(instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.
Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html


   1. The  button now operates the same as the
   button.


Fixed, thanks.


   1. PrinterPlugin tooltip is now internationalized


Fixed, thanks.


   1. The title of the  dialog is now internationalized.


Fixed, thanks


   1. The "Quality" word in the Help dialog should simply be
  removed from the language file
  (JumpPrinter.HelpDialog.Message7).  In English I have
  changed this to "Options ".  I have not changed the
  other language files.

OK, what I meant was that "Precision" and "Quality words used in 
"JumpPrinter.Setup.Quality" and "JumpPrinter.Setup.Message7" were 
probably refering to old PrinterSetUp
String [] qualityItems = {"OJ Quality Renderer", "OJ Accurate 
Renderer", "External Renderer","SkyJump Renderer"};

but make less sens for the user now that renderer are called
String [] qualityItems = {"ISA Renderer", "Core Renderer", 
"External Renderer"};
Not sure if terms Precision/Quality must be removed from language 
file or add to renderer names...



   1. [..] around "Furniture"  in Help dialog now corrected.


Fixed, thanks


   1. Save Image dialog, "Size" is now internationalised


Fixed, thanks


   1. Your French language file is now included in the jar


Great, thanks


   1.  Panel -- and ++ buttons are now internationalised, In
  English I have named these "Del" and "Add".  I have
  attempted the translation into Italian, German and French
  (excuse my poor language skills).  Note that the layout of
  the dialog is sensitive to word length - but you can always
  put "--" and "++" in the language file.


Fine, thanks


   1. The package com.cadplan.fileio was in both jars (this is not
  good - I know).  Generally it did not cause problems -
  but!!!  For JumpPrinter I have renamed this package to
  com.cadplan.fileioA - this should solve the problem for the
  moment.

Sorry for my bad diagnosis. The problem is still there (if I change 
the jar name to JumpPrinter-1.77.jar, I get an exception).

Now, I think this is because application name in PrinterPlugIn...
//PrinterPlugIn
IconLoader loader = new IconLoader(dirName,"JumpPrinter");
// is used as jarname in IconLoader
filename = "jar:file:"+wd+"/"+appName+".jar!/"+"Resources/"+name;

OK, this problem is not a big issue as I have not to rename the jar 
file
Just let you know why I could not do it and let you decide if it is 
worthwhile fixing it.


Also there is a typo in language file with the key
JumPrinter.OkToPrint which should be JumpPrinter.OkToPrint (with 2 
'p') as in the source code


Attached, the french file with a few typo fixed.

Best regards,

Micha

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread edgar . soldin
On 14.07.2011 11:47, Geoffrey Roy wrote:
> 
> OK, when you are happy that there are no more bugs I will release the new 
> version (and code)

do you want to host the code on the sf.net svn? we could create an account for 
you.

ede

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread Geoffrey Roy

Dear Michael

OK, when you are happy that there are no more bugs I will release the 
new version (and code)


Geoff

On 14/07/2011 4:11 AM, Michaël Michaud wrote:

Hi, Geoffrey

Thanks a lot for all your efforts,

I'll test your improvements soon and let you know.

Michaël

Dear Michael

Thanks for the feedback. I am attaching revised version:

 1. The problem with the number format could be solved nicely with
some effort, but I have simply removed the grouping separator (a
comma in English).  There is obviously a problem with European
decimal formats.  I think this is the problem, please test again.
 2. The titles for the various renderers have changed over time -
also their "meaning".  In earlier attempts I was testing 4
different renders that were called "Quality" "Accurate" etc, but
these have been replaced by three "ISA, Core and External" - with
the user to decide which gives the best results.
 3. I now understand your problem with the name of the JAR - yes it
cannot be changed without changing the code.  Again this can be
fixed, but I do not have the time at the moment.
 4. The typo in the language files fixed
 5. A new French language file installed.

Hope this is now OK for you.

regards

Geoff

On 11/07/2011 6:29 AM, Michaël Michaud wrote:

Hi Geoff,

Thanks a lot for improvements !


 1. The scale field now checks for numeric values with spaces, and
attempts to resolve a reasonable number, so "1 234" and "1,234"
converts to "1234".  Please let me know if this causes any
other problems with your decimal point/separator values.



This one is not fixed for me. To reproduce the problem, set locale 
to french/France, open the main printer dialog (I get a scale of "2 
897" for example), and click in the "fit to page" checkbox.

I get an "Error in the scale field" error.
If I change to english/Australia locale, I get the scale as 2,897 
(instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.
Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html


 1. The  button now operates the same as the 
button.


Fixed, thanks.


 1. PrinterPlugin tooltip is now internationalized


Fixed, thanks.


 1. The title of the  dialog is now internationalized.


Fixed, thanks


 1. The "Quality" word in the Help dialog should simply be removed
from the language file (JumpPrinter.HelpDialog.Message7).  In
English I have changed this to "Options ".  I have not
changed the other language files.

OK, what I meant was that "Precision" and "Quality words used in 
"JumpPrinter.Setup.Quality" and "JumpPrinter.Setup.Message7" were 
probably refering to old PrinterSetUp
String [] qualityItems = {"OJ Quality Renderer", "OJ Accurate 
Renderer", "External Renderer","SkyJump Renderer"};

but make less sens for the user now that renderer are called
String [] qualityItems = {"ISA Renderer", "Core Renderer", "External 
Renderer"};
Not sure if terms Precision/Quality must be removed from language 
file or add to renderer names...



 1. [..] around "Furniture"  in Help dialog now corrected.


Fixed, thanks


 1. Save Image dialog, "Size" is now internationalised


Fixed, thanks


 1. Your French language file is now included in the jar


Great, thanks


 1.  Panel -- and ++ buttons are now internationalised, In
English I have named these "Del" and "Add".  I have attempted
the translation into Italian, German and French (excuse my poor
language skills).  Note that the layout of the dialog is
sensitive to word length - but you can always put "--" and "++"
in the language file.


Fine, thanks


 1. The package com.cadplan.fileio was in both jars (this is not
good - I know).  Generally it did not cause problems - but!!! 
For JumpPrinter I have renamed this package to

com.cadplan.fileioA - this should solve the problem for the moment.

Sorry for my bad diagnosis. The problem is still there (if I change 
the jar name to JumpPrinter-1.77.jar, I get an exception).

Now, I think this is because application name in PrinterPlugIn...
//PrinterPlugIn
IconLoader loader = new IconLoader(dirName,"JumpPrinter");
// is used as jarname in IconLoader
filename = "jar:file:"+wd+"/"+appName+".jar!/"+"Resources/"+name;

OK, this problem is not a big issue as I have not to rename the jar file
Just let you know why I could not do it and let you decide if it is 
worthwhile fixing it.


Also there is a typo in language file with the key
JumPrinter.OkToPrint which should be JumpPrinter.OkToPrint (with 2 
'p') as in the source code


Attached, the french file with a few typo fixed.

Best regards,

Michaël


Please let me know how you get on.

thanks

Geoff



On 3/07/2011 6:34 PM, Michaël Michaud wrote:

Hi Geoff,

I just have translated PrinterPlugIn to french.
Please find the properties file attached to this mail.
I'm on the way of including it in OpenJUMP 1.4.1-s distribution.

It gave 

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-13 Thread Michaël Michaud

Hi, Geoffrey

Thanks a lot for all your efforts,

I'll test your improvements soon and let you know.

Michaël

Dear Michael

Thanks for the feedback. I am attaching revised version:

   1. The problem with the number format could be solved nicely with
  some effort, but I have simply removed the grouping separator (a
  comma in English).  There is obviously a problem with European
  decimal formats.  I think this is the problem, please test again.
   2. The titles for the various renderers have changed over time -
  also their "meaning".  In earlier attempts I was testing 4
  different renders that were called "Quality" "Accurate" etc, but
  these have been replaced by three "ISA, Core and External" -
  with the user to decide which gives the best results.
   3. I now understand your problem with the name of the JAR - yes it
  cannot be changed without changing the code.  Again this can be
  fixed, but I do not have the time at the moment.
   4. The typo in the language files fixed
   5. A new French language file installed.

Hope this is now OK for you.

regards

Geoff

On 11/07/2011 6:29 AM, Michaël Michaud wrote:

Hi Geoff,

Thanks a lot for improvements !


   1. The scale field now checks for numeric values with spaces, and
  attempts to resolve a reasonable number, so "1 234" and
  "1,234" converts to "1234".  Please let me know if this causes
  any other problems with your decimal point/separator values.



This one is not fixed for me. To reproduce the problem, set locale to 
french/France, open the main printer dialog (I get a scale of "2 897" 
for example), and click in the "fit to page" checkbox.

I get an "Error in the scale field" error.
If I change to english/Australia locale, I get the scale as 2,897 
(instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.
Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html


   1. The  button now operates the same as the
   button.


Fixed, thanks.


   1. PrinterPlugin tooltip is now internationalized


Fixed, thanks.


   1. The title of the  dialog is now internationalized.


Fixed, thanks


   1. The "Quality" word in the Help dialog should simply be removed
  from the language file (JumpPrinter.HelpDialog.Message7).  In
  English I have changed this to "Options ".  I have not
  changed the other language files.

OK, what I meant was that "Precision" and "Quality words used in 
"JumpPrinter.Setup.Quality" and "JumpPrinter.Setup.Message7" were 
probably refering to old PrinterSetUp
String [] qualityItems = {"OJ Quality Renderer", "OJ Accurate 
Renderer", "External Renderer","SkyJump Renderer"};

but make less sens for the user now that renderer are called
String [] qualityItems = {"ISA Renderer", "Core Renderer", "External 
Renderer"};
Not sure if terms Precision/Quality must be removed from language 
file or add to renderer names...



   1. [..] around "Furniture"  in Help dialog now corrected.


Fixed, thanks


   1. Save Image dialog, "Size" is now internationalised


Fixed, thanks


   1. Your French language file is now included in the jar


Great, thanks


   1.  Panel -- and ++ buttons are now internationalised, In
  English I have named these "Del" and "Add".  I have attempted
  the translation into Italian, German and French (excuse my
  poor language skills).  Note that the layout of the dialog is
  sensitive to word length - but you can always put "--" and
  "++" in the language file.


Fine, thanks


   1. The package com.cadplan.fileio was in both jars (this is not
  good - I know).  Generally it did not cause problems - but!!! 
  For JumpPrinter I have renamed this package to

  com.cadplan.fileioA - this should solve the problem for the
  moment.

Sorry for my bad diagnosis. The problem is still there (if I change 
the jar name to JumpPrinter-1.77.jar, I get an exception).

Now, I think this is because application name in PrinterPlugIn...
//PrinterPlugIn
IconLoader loader = new IconLoader(dirName,"JumpPrinter");
// is used as jarname in IconLoader
filename = "jar:file:"+wd+"/"+appName+".jar!/"+"Resources/"+name;

OK, this problem is not a big issue as I have not to rename the jar file
Just let you know why I could not do it and let you decide if it is 
worthwhile fixing it.


Also there is a typo in language file with the key
JumPrinter.OkToPrint which should be JumpPrinter.OkToPrint (with 2 
'p') as in the source code


Attached, the french file with a few typo fixed.

Best regards,

Michaël


Please let me know how you get on.

thanks

Geoff



On 3/07/2011 6:34 PM, Michaël Michaud wrote:

Hi Geoff,

I just have translated PrinterPlugIn to french.
Please find the properties file attached to this mail.
I'm on the way of including it in OpenJUMP 1.4.1-s distribution.

It gave me the occasion to appreciate the excellent work you did 
for this plugin.

I re

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-13 Thread edgar . soldin
On 11.07.2011 09:54, Geoffrey Roy wrote:
> I now understand your problem with the name of the JAR - yes it cannot be 
> changed without changing the code.  Again this can be fixed, but I do not 
> have the time at the moment.

is the code available via svn or such? i could have a look at that.

ede

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel