Re: [fpc-devel] iphone development

2009-09-16 Thread dmitry boyarintsev
Reading the wiki it is not really a snap to set it up to be able to develop iphone apps. There's no ready-to-use solution to start developing iPhone apps. http://arstechnica.com/open-source/news/2009/09/monotouch-drops-net-into-apples-walled-app-garden.ars As MonoTouch necessitates static

[fpc-devel] Re: PDF on C/C++ code in Free Pascal

2009-09-16 Thread Sven Barth
(I hope this gets attached to the right thread, cause I just registered to fpc-devel) Hi! Gilles MARCOU wrote: By the way, I am open to all suggestions to improve this text. What about documenting the 'cppclass' feature of Free Pascal? I found this a few weeks ago and digged in the compilers

[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

2009-09-16 Thread theo
I suppose converting a combined character into a single character is not possible as it would need a huge table. Michael Schnell, I thought you'd know about character.pas http://wiki.lazarus.freepascal.org/Theodp It does normalization: class function Normalize_NFD(AString: UTF8String):

Re: [fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

2009-09-16 Thread Martin Schreiber
On Tuesday 15 September 2009 15:31:36 Thaddy wrote: afaik widestrings are reference counted in Delphi. PWideChars not. According my experience, the Delphi7/Kylix3 documentation and this article: http://edn.embarcadero.com/article/21301 WideStrings are now reference counted. In Windows, the

Re: [fpc-devel] iphone development

2009-09-16 Thread Jonas Maebe
On 16 Sep 2009, at 01:06, ABorka wrote: How is freepascal's iphone development compares to this latest mono way of creating native iphone apps? http://arstechnica.com/open-source/news/2009/09/monotouch-drops-net-into-apples-walled-app-garden.ars We don't distribute an interface to most

Re: [fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

2009-09-16 Thread Michael Schnell
Jonas Maebe wrote: There are definitions of canonical forms (both composed and decomposed) of utf strings ... So unless the rtl automatically offers this, the user is required to take care of this by hand any time he tries to analyze a string in any way. Code from hell -Michael

Re: [fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

2009-09-16 Thread Jonas Maebe
On 16 Sep 2009, at 11:30, Michael Schnell wrote: Jonas Maebe wrote: There are definitions of canonical forms (both composed and decomposed) of utf strings ... So unless the rtl automatically offers this, the user is required to take care of this by hand any time he tries to analyze a

[fpc-devel] Local boolean variables not always initalized with false by default?

2009-09-16 Thread theo
Hello, I don't know if this is a bug. If fixed an old bug in the janSQL port. http://forum.lazarus.freepascal.org/index.php/topic,6694.msg35412/ The problem was, that there was an uninitialized local boolean in TjanSQL.selectFromJoin ... var bAggregate:boolean; if you insert a

Re: [fpc-devel] Re: PDF on C/C++ code in Free Pascal

2009-09-16 Thread Jonas Maebe
On 16 Sep 2009, at 09:29, Sven Barth wrote: What about documenting the 'cppclass' feature of Free Pascal? I found this a few weeks ago and digged in the compilers code. From what I saw it should still work with gcc 3.x/4.x compiled cpp code. But I didn't test how. The only documentation

Re: [fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

2009-09-16 Thread Marco van de Voort
In our previous episode, Thaddy said: It is. Widestring always worked more or less, on both FPC,Kylix and Delphi. But the COM backed versions (FPC2.2+ (?) and Delphi) suffered from performance problems As I wrote it should be opaque ( = transparent, btw). At least for windows I overcame

Re: [fpc-devel] iphone development

2009-09-16 Thread dmitry boyarintsev
Here you're. Free iPhone dev tools: http://code.google.com/p/iphone-dev/ thanks, dmitry ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

2009-09-16 Thread Luiz Americo Pereira Camara
Martin Schreiber escreveu: On Tuesday 15 September 2009 18:04:33 Luiz Americo Pereira Camara wrote: In my view, to get the fpc unicode support in a good state would be necessary to implement the encoding field in the string type so converting strings can be done system independently (seems

Re: [fpc-devel] iphone development

2009-09-16 Thread ABorka
You guys are correct about the pricing, of course. But $1K is peanuts if the finished application will be presented to 30-40 million people for download. Considering what I read about obj C development... I think many people/companies would happily pay the price to have some nice language for

Re: [fpc-devel] iphone development

2009-09-16 Thread dmitry boyarintsev
But $1K is peanuts if the finished application will be presented to 30-40 million people for download. I wonder what application can make 30-40 downloads? AFAIK there're less iPhones/Touches sold all over the world. If Jonas is right about Apple's license violation. Apple can simply ban your C#

Re: [fpc-devel] iphone development

2009-09-16 Thread Jonas Maebe
On 16 Sep 2009, at 19:01, ABorka wrote: What is interesting that they seem to be able to really use a different language within the apple rules of iphone development. Of course they can, there are no rules against that. You just cannot distribute any adapted headers (so you have to rely

Re: [fpc-devel] iphone development

2009-09-16 Thread ABorka
Well, according to Apple the number is 50M : http://www.theiphoneblog.com/2009/09/10/apple-music-event-numbers-30m-iphones-20m-ipod-touches-75k-apps-18b-downloads/ dmitry boyarintsev wrote: But $1K is peanuts if the finished application will be presented to 30-40 million people for download.

Re: [fpc-devel] Re: PDF on C/C++ code in Free Pascal

2009-09-16 Thread Sven Barth
Jonas Maebe schrieb: As far as I know, there is not a single test for this functionality, so I'm not sure that it actually works. Well... then I think it's time to change this. I'll try to test this functionality (and to fix it, if it fails), but you (or another core developer) should

Re: [fpc-devel] Re: PDF on C/C++ code in Free Pascal

2009-09-16 Thread Jonas Maebe
On 16 Sep 2009, at 20:09, Sven Barth wrote: Jonas Maebe schrieb: As far as I know, there is not a single test for this functionality, so I'm not sure that it actually works. Well... then I think it's time to change this. I'll try to test this functionality (and to fix it, if it fails),

Re: [fpc-devel] Re: PDF on C/C++ code in Free Pascal

2009-09-16 Thread Florian Klaempfl
Jonas Maebe schrieb: On 16 Sep 2009, at 20:09, Sven Barth wrote: Jonas Maebe schrieb: As far as I know, there is not a single test for this functionality, so I'm not sure that it actually works. Well... then I think it's time to change this. I'll try to test this functionality (and to

Re: [fpc-devel] Re: PDF on C/C++ code in Free Pascal

2009-09-16 Thread Sven Barth
Jonas Maebe schrieb: On 16 Sep 2009, at 20:09, Sven Barth wrote: Jonas Maebe schrieb: As far as I know, there is not a single test for this functionality, so I'm not sure that it actually works. Well... then I think it's time to change this. I'll try to test this functionality (and to fix