Re: [fpc-devel] Free Pascal

2014-03-06 Thread Žilvinas Ledas
Hi, I would be interested to hear your method as I have some code I would like to potentially be able to use on Windows Phone 8. Thanks, Žilvinas On 2014-03-05 20:18, Vsevolod Alekseyev wrote: Hi Sergio, I say your message on the Free Pascal mailing list:

Re: [fpc-devel] Free Pascal

2014-03-06 Thread Žilvinas Ledas
On 2014-03-06 10:51, Tomas Hajny wrote: On Thu, March 6, 2014 09:13, Žilvinas Ledas wrote: Hi Žilvinas, I would be interested to hear your method as I have some code I would like to potentially be able to use on Windows Phone 8. Please note that the original poster is not subscribed to fpc

Re: [fpc-devel] estimating function code size

2012-01-18 Thread Žilvinas Ledas
Maebe wrote: On 18 Jul 2010, at 13:14, Žilvinas Ledas wrote: I want to use it this way: 1) Gel all @unitname.function addresses. 2) Use disassembler to find nearest next RET. 3) Then I assume that I have start and end of the function in the binary file. It works at least for the concept-showing

[fpc-devel] Compilation is broken at rev. 17482 ?

2011-05-17 Thread Žilvinas Ledas
Hello all, is it me, or compilation is broken (revision: 17482): ... Fatal: Can't find unit fphttpclient used by pkgfphttp Fatal: Compilation aborted make[4]: *** [pkgfphttp.ppu] Error 1 make[4]: Leaving directory `E:/lazarus/fpc/fpc_my/source_SVN___/packages/fppkg' make[3]: *** [fpc_smart]

Re: [fpc-devel] Compilation is broken at rev. 17482 ?

2011-05-17 Thread Žilvinas Ledas
On 2011-05-17 20:36, Michael Van Canneyt wrote: Please update packages/Makefile* and try again. I added a dependency of fppkg on fcl-web Michael. Thank you, it works now. Regards Žilvinas ___ fpc-devel maillist -

Re: [fpc-devel] HTTP client/server components committed.

2011-05-15 Thread Žilvinas Ledas
Hi, it's greate fpc has simple http client now ;) On 2011-05-15 19:13, Michael Van Canneyt wrote: if someone knows where this file can be found (or related information) on a Windows OS, please let me know. You can look at components\turbopower_ipro\iputils.pas - it has handling for mime

Re: [fpc-devel]Building compiler, rtl, host, target... (cross compiling)

2011-04-06 Thread Žilvinas Ledas
Hi, maybe some basic info could help you understand some things: http://wiki.lazarus.freepascal.org/Cross_compiling Regards Žilvinas On 2011-04-06 23:19, Skybuck Flying wrote: Hello, ... Bye, Skybuck. ___ fpc-devel maillist -

Re: [fpc-devel] Boehm garbage collector for freepascal

2010-11-19 Thread Žilvinas Ledas
It works, but there is a small problem: the compiler itself is a nightmare for any heap manager and it shows*THE* disadvantages of GC: it is sloow. Compiling the system unit with the default heap manager: 0.4 sec with the BoehmGC port 98.9 sec (creates a ppu, but crashes on exit)

Re: [fpc-devel] Boehm garbage collector for freepascal

2010-11-18 Thread Žilvinas Ledas
But it might be an advantage for some projects as the discussions over the years implied. What about using GC for fpc itself? If it is usable for fpc, then the problem of fpc leaking memory when compilation fails with errors can be solved using GC. As a result fpc can be integrated to some

Re: [fpc-devel] RIP NoGlobals

2010-09-30 Thread Žilvinas Ledas
these pages. I get: --- Access Denied. [ Click here to proceed ] --- Regards Žilvinas Ledas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Status of Delphi-like packages (Class+RTTI aware DLL/SO)?

2010-09-09 Thread Žilvinas Ledas
think you can start by reading http://wiki.freepascal.org/packages and http://wiki.freepascal.org/shared_library . Regards Žilvinas Ledas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-08-28 Thread Žilvinas Ledas
On 2010-08-28 01:38, Graeme Geldenhuys wrote: Yes, I placed in on GitHub. You can clone the repository as follows: via git protocol (faster): git clone git://github.com/graemeg/fpprofiler.git via http protocol: git clone http://github.com/graemeg/fpprofiler.git Alternatively

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-08-28 Thread Žilvinas Ledas
On 2010-08-28 01:38, Graeme Geldenhuys wrote: Alternatively (though not tested) - you should be able to download a zip archive of the latest code via this URL: http://github.com/graemeg/fpprofiler/zipball/HEAD Tried sample project today. Some a comment and a question: 1) I have a strange

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-08-28 Thread Žilvinas Ledas
P. S. I know I didn't have to include -FuE:\lazarus\components\fpprofiler\fpprof\ This log is from an experiment... ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-08-27 Thread Žilvinas Ledas
On 2010-08-26 17:24, Graeme Geldenhuys wrote: I'll find it a new home tomorrow and post the link Any news? ;) Regards Žilvinas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-08-26 Thread Žilvinas Ledas
On 2010-08-22 16:42, Graeme Geldenhuys wrote: fpprofiler (it was a bit further along than my own attempt), but it wasn't touched for over 2 years, so didn't compile. It was also riddled with memory leaks (sorry Darius Blaszyk). I fixed a lot of things including memory leaks, removed the custom

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-08-26 Thread Žilvinas Ledas
On 2010-08-26 17:24, Graeme Geldenhuys wrote: Op 2010-08-26 16:20, Žilvinas Ledas het geskryf: It's in the 'fpcprojects' repository. http://svn.freepascal.org/svn/fpcprojects/fpprofiler Thanks, I'll try it. Just remember, that's not going to compile. Yes, I understand that. Please

[fpc-devel] How to get function start and end position in executable?

2010-07-16 Thread Žilvinas Ledas
Against Analysis and Tampering, 2006 (https://www.cosic.esat.kuleuven.be/publications/article-811.pdf) Regards Žilvinas Ledas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] FPC doesn't support big equations

2010-03-31 Thread Žilvinas Ledas
) with FPC 2.2.4 (32 bit). http://rapidshare.com/files/370437049/TestFunc.pas http://rapidshare.com/files/370436993/TestFunc.c It works for me using FPC from SVN (~7 days old) on Win7. The printed result is: -7.96011734923075E+001. I guess you need to update your FPC. Regards, Žilvinas Ledas

[fpc-devel] Profiling in Windows

2009-12-06 Thread Žilvinas Ledas
: Failed reading coff file, invalid section index while reading C:\cygwin\lib\libcygwin.a(_cygwin_crt0_common.o) What am I doing wrong? Regards, Žilvinas Ledas JoshyFun wrote: Hello Vincent, Friday, November 20, 2009, 8:30:49 AM, you wrote: pp.pas(224,1) Error: Import library not found

Re: [fpc-devel] Errors using generics - what is wrong?

2009-10-07 Thread Žilvinas Ledas
Yes, I had an internal error and now I know why - I used specialization in function params. This gives internal error: procedure asdasd(something: specialize TTwoValuesListUnicodeString); begin end; I'll make a bug report tomorow or a day after. And yes, I think a descriptive message saying to

[fpc-devel] Errors using generics - what is wrong?

2009-10-06 Thread Žilvinas Ledas
Hello all, I am trying to use generics but compilation fails. Whan I try to use unit with my generic class in my real project I get Fatal: Internal error 200204175 error. When I try to use it in empty Lazarus application (Unit1.pas) and I put - procedure TForm1.Button1Click(Sender:

Re: [fpc-devel] Errors using generics - what is wrong?

2009-10-06 Thread Žilvinas Ledas
Sorry, I forgot to mention I am using Free Pascal Compiler version 2.3.1 [2009/09/08] for i386 (don't know how to get more specific version info...) Žilvinas Ledas wrote: Hello all, I am trying to use generics but compilation fails. Whan I try to use unit with my generic class in my real

Re: [fpc-devel] Errors using generics - what is wrong?

2009-10-06 Thread Žilvinas Ledas
Vincent Snijders wrote: I would try to use a named type: type TTwoUnicodeValuesList = specialize TTwoValuesListUnicodeString; procedure TForm1.Button1Click(Sender: TObject); var lst: TTwoUnicodeValuesList; begin end; Vincent Thanks, it works with named type. Is using not named