Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread Anthony Walter
Sven, thanks for all these improvements you've made. From this page http://wiki.freepascal.org/Helper_types#Syntax can you explain what [hint modifiers] are, and also how does the optional (BaseHelper) come into play? ___ fpc-pascal maillist -

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-18 Thread Jeppe Græsdal Johansen
Den 17-02-2015 kl. 17:21 skrev turro75: Hi All, I'm trying to get the fpc working on a stm32f103c8 board (maple_mini_clone). following this http://j-software.dk/stm32f103.php http://j-software.dk/stm32f103.php I'm able to compile (fpc-2.6.4) and flash the bin in the flash but no way to see

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread Michael Schnell
What do you think? :) Multiple times he says stuff like ... Currently on .NET only ... So seems that Oxygene now (finally) is available for native Archs (I did not check which ones). Sadly, the (IMHO) most interesting extension parallel loop is Currently on .NET only :(. -Michael

Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread Sven Barth
Am 18.02.2015 09:18 schrieb Anthony Walter sys...@gmail.com: Sven, thanks for all these improvements you've made. From this page http://wiki.freepascal.org/Helper_types#Syntax can you explain what [hint modifiers] are, and also how does the optional (BaseHelper) come into play? Hint modifiers

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread hinsta...@yandex.ru
* RemObjects charges crazy bucks for their IDE* and their IDE is not even built from ground, it is based on Visual Studio. * Visual Studio Community Edition is available for free* Oxygene Language is based on .NET meaning that RemObjects didn't make RTL for it, like file handling, compression,

Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread leledumbo
can you explain what [hint modifiers] are probably: http://www.freepascal.org/docs-html/ref/refse5.html how does the optional (BaseHelper) come into play? http://wiki.freepascal.org/Helper_types#Inheritance -- View this message in context:

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread Michael Schnell
On 02/18/2015 11:18 AM, Sven Barth wrote: Oxygene relies heavily on the features provided by the underlying runtime (CLR, JVM, ObjC) and thus they can't provide each language feature everywhere. ... While the beauty of fpc is the true cross-platform design :-) -Michael

Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread Mattias Gaertner
On Tue, 17 Feb 2015 22:56:18 -0500 Anthony Walter sys...@gmail.com wrote: Dmitry: See this function and test if against a large block of text doing a case insensitive replace on a moderate length phrase. Match it in speed against whatever is in the RTL and see if my function is faster and

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread Sven Barth
Am 18.02.2015 11:10 schrieb Michael Schnell mschn...@lumino.de: What do you think? :) Multiple times he says stuff like ... Currently on .NET only ... So seems that Oxygene now (finally) is available for native Archs (I did not check which ones). Oxygene is available for .Net, Android

Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread Anthony Walter
Okay guys, some testing results of my earlier referenced string functions. I went to this page and copied Moby Dick: https://www.gutenberg.org/files/2701/2701-h/2701-h.htm I save that to 'c:\temp\moby-dick.txt' and ran this test (IStopwatch.Time is seconds elapsed as Double): procedure

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread Florian Klämpfl
Am 18.02.2015 um 14:03 schrieb Lukasz Sokol: I'm actually with Silvio on this Silvio sets goals but doesn't provide the resources to do so. That is the crucial flaw in such rants. Please don't get us wrong, no one says this has to happen now, immediately or OVERNIGHT, it's more like

Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread Anthony Walter
I had a request. It would be nice if we could use class helpers with generic types like so: type TArrayT = array of T; StringArray = TArraystring; IntArray = TArrayInteger; type TArrayHelperT = record helper for TArrayT private function GetLength: Integer; procedure

[fpc-pascal] Functions for int128rec ?

2015-02-18 Thread LacaK
Hi, I noticed that there is int128rec type, but I do not found any support routines which can do operations like multiplication, addition with this type. Is there something or is planed any integrated support in FPC for int128 ? (To be precise I need convert large integer (larger than int64)

Re: [fpc-pascal] Record helpers on built in types?

2015-02-18 Thread Sven Barth
On 18.02.2015 22:10, Anthony Walter wrote: I had a request. It would be nice if we could use class helpers with generic types like so: You are not the first, you won't be the last, but my answer will be the same: nearly impossible to implement. Regards, Sven

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-18 Thread turro75
ok, as I told in the previous post, I 'm now able to run and debug code with the trunk fpc (3.1.1). I just made some minor changes in t_embed.pas in order to automatically create also the bin and call size. Debugging works fine (not yet tested a complex program) with gdb --tui. Working in

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-18 Thread turro75
Dear Jeppe, Your job is awesome! Thanks for your effort on port fpc to stm32. Yesterday I found a way by using the 3.1.1, I was able to blink the led and visually debug the firmware through openocd (stlinkv2). This evening when I back to home I`ll explain better what I did. Turro -- View

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread Lukasz Sokol
On 18/02/15 11:57, Marco van de Voort wrote: In our previous episode, Lukasz Sokol said: [...] You might end up with some people that are less patient instantiating their own git repos, and adopting faster pace, and the main repos becoming outdated... because their downstream patches

Re: [fpc-pascal] Some features for FPC 3.0?

2015-02-18 Thread Marco van de Voort
In our previous episode, Lukasz Sokol said: I don't think this needs to be done formally. Any users can package snapshots cq pseudo releases and mark them as test, and release them for feedback. Then process the feedback, triage it, and communicate that back upstream. Which sometimes