Re: [fpc-pascal] Heavy heap fragmentation issue

2019-07-16 Thread Burkhard Carstens
Am Montag, 15. Juli 2019 17:27 schrieb Martok: > Am 13.07.2019 um 08:36 schrieb Burkhard Carstens: > > Try compiling the heap manager with "-dBESTMATCH". This makes it a > > bit slower but greatly reduces fragmentation. > > Thanks, I'll give that a try! > > J

Re: [fpc-pascal] Heavy heap fragmentation issue

2019-07-13 Thread Burkhard Carstens
Am Dienstag, 4. Juni 2019 18:00 schrieb Martok: > Am 03.06.2019 um 14:49 schrieb Marco van de Voort: > > Note that it is fairly typical that also frustrated pre fastmm D7. > > Back then I wrote a simple pool-factory combo class for it, and > > with D2009 I upgraded it to generics,so that I can

Re: [fpc-pascal] Indy 10 HTTP Server component with FPC

2011-10-24 Thread Burkhard Carstens
Am Sonntag, 23. Oktober 2011 00:04 schrieb Graeme Geldenhuys: On 22/10/2011, Marco van de Voort wrote: I haven't tried for years, but I can remember some strange problems designtime that went away if you manually added a tidbinding in formcreate. I'm not using design-time usage at all,

Re: [fpc-pascal] Re: Platform independent alternatives

2011-06-24 Thread Burkhard Carstens
Am Freitag, 24. Juni 2011 19:55 schrieb fluisgira...@gmail.com: Some years ago, I started the port of my project (PascalSCADA) from Windows to others platforms. I found some issues doing this. I used all resources that the FPC RTL can offer. To thread, I used TThread class. The issues that I

Re: [fpc-pascal] JSON - RTTI streaming.

2011-05-16 Thread Burkhard Carstens
Am Donnerstag, 6. Januar 2011 00:12 schrieb Michael Van Canneyt: Hello, For those of you that need JSON support: I have committed support for streaming published properties (properties for which RTTI is generated) from objects to JSON and vice versa, in a unit fpjsonrtti. Not the full

Re: [fpc-pascal] Cannot get TFPTimer to work

2010-12-02 Thread Burkhard Carstens
Am Donnerstag, 2. Dezember 2010 19:39 schrieb Darius Blaszyk: Whatever I tried, I cannot get TFPTimer to work. Can someone help? For some reason the OnTimer even is never fired. Tried on Windows and Linux. Here's a snippet I used as test. Regards, Darius [..] begin test :=

Re: [fpc-pascal] The new book: WEB and database programming with fpc and Lazarus for newbies and professionals

2010-06-18 Thread Burkhard Carstens
Am Freitag, 18. Juni 2010 04:13 schrieb Bee Jay: On 18 Jun 2010, at 02:58, Burkhard Carstens wrote: What about ExtJS being GPL licensed? Got a developer license? Yes, if you make commercial apps. :-( Here you refere to the ExtJS components of fpweb, right? IOW. if those

Re: [fpc-pascal] The new book: WEB and database programming with fpc and Lazarus for newbies and professionals

2010-06-18 Thread Burkhard Carstens
Am Freitag, 18. Juni 2010 09:25 schrieb Michael Van Canneyt: [..] Joost uses jQuery and some Javascript components built around it. I'm sure that with his help, the ExtJS components can be modified to support jquerygrid and whatnot. Here you refere to the ExtJS components of fpweb,

Re: [fpc-pascal] The new book: WEB and database programming with fpc and Lazarus for newbies and professionals

2010-06-17 Thread Burkhard Carstens
Am Mittwoch, 16. Juni 2010 23:01 schrieb Michael Van Canneyt: On Wed, 16 Jun 2010, Burkhard Carstens wrote: .. anybody knows where I can buy it? ;-) After spending hours on www.w3c.org and www.w3schools.com, extjs.com (now sencha.com) and jquery.com reading a lot about html, dhtml

[fpc-pascal] The new book: WEB and database programming with fpc and Lazarus for newbies and professionals

2010-06-16 Thread Burkhard Carstens
.. anybody knows where I can buy it? ;-) I just started my first web application and .. well .. the basics work, but I have the feeling, I'm doing it the wrong way. [Warning: Looong post] What it's about: It's a time-punch machine that registers when I'm working on which project. Data is

Re: [fpc-pascal] power?

2010-06-01 Thread Burkhard Carstens
Am Sonntag, 30. Mai 2010 20:38 schrieb spir ☣: On Sun, 30 May 2010 18:28:47 +0200 Reimar Grabowski reimg...@web.de wrote: On Sun, 30 May 2010 15:03:03 +0200 spir ☣ denis.s...@gmail.com wrote: PS: is there a round(fractional_size) function? that's the reason why i needed power.

Re: [fpc-pascal] Linux program sometimes crashes with EProcess : Failed to create pipes

2009-09-10 Thread Burkhard Carstens
Am Donnerstag, 10. September 2009 11:01 schrieb T. Guilleminot: Hi, Have a Linux program that recently started to crash several times with such message : An unhandled exception occurred at $080A4CB9 : EProcess : Failed to create pipes $080A4CB9 $080A4D3D $080526E0 $08057C11

Re: [fpc-pascal] heap size growing

2009-01-14 Thread Burkhard Carstens
Am Mittwoch, 14. Januar 2009 04:50 schrieb Seth Grover: I've got a fairly large system (originally written in Delphi, then moved to Kylix, and now finally in FPC 2.2.2) which is doing a lot of different things. Various threads are running which execute reports, communiate with other devices,

Re: [fpc-pascal] [RFC] Modification to packages/paszlib/src/zipper.pp

2008-09-30 Thread Burkhard Carstens
Am Dienstag, 30. September 2008 10:05 schrieb Michael Van Canneyt: On Tue, 30 Sep 2008, Brad Campbell wrote: Michael Van Canneyt wrote: Implemented as proposed (rev. 11833). I updated TUnZipper so it works with TZipFileEntry as well. It is now also possible to provide the input

Re: [fpc-pascal] FPC + Indy

2008-07-21 Thread Burkhard Carstens
Am Freitag, 18. Juli 2008 18:04 schrieb Cesar Romero: I wrote a appserver with fpc +Indy, all works just fine in OpenSuse 11, but when I install in a Fedora box (I tried Fedora 7, 8 and 9) it just dont run and raises the exception: An unhandled exception occurred at $08159DC9 :

Re: [fpc-pascal] CGI upload app

2007-06-06 Thread Burkhard Carstens
Am Dienstag, 5. Juni 2007 22:21 schrieb Michael Van Canneyt: On Tue, 5 Jun 2007, Darius Blaszijk wrote: Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? The fpweb or cgiapp components can do this for you. Michael, is there

Re: [fpc-pascal] CGI upload app

2007-06-06 Thread Burkhard Carstens
Am Mittwoch, 6. Juni 2007 14:38 schrieb Michael Van Canneyt: On Wed, 6 Jun 2007, Burkhard Carstens wrote: Am Dienstag, 5. Juni 2007 22:21 schrieb Michael Van Canneyt: On Tue, 5 Jun 2007, Darius Blaszijk wrote: Hi I would like to upload a file through a web page. How can I do

Re: [fpc-pascal] CGI upload app

2007-06-06 Thread Burkhard Carstens
Am Dienstag, 5. Juni 2007 22:21 schrieb Michael Van Canneyt: On Tue, 5 Jun 2007, Darius Blaszijk wrote: Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? The fpweb or cgiapp components can do this for you. The README.TXT in

Re: [fpc-pascal] CGI upload app

2007-06-06 Thread Burkhard Carstens
Am Mittwoch, 6. Juni 2007 18:07 schrieb Michael Van Canneyt: On Wed, 6 Jun 2007, Burkhard Carstens wrote: Am Dienstag, 5. Juni 2007 22:21 schrieb Michael Van Canneyt: On Tue, 5 Jun 2007, Darius Blaszijk wrote: Hi I would like to upload a file through a web page. How can I do

[fpc-pascal] patch for bug 7491

2006-11-23 Thread Burkhard Carstens
Hi, Please find a patch for bug 7491 attached to the bugreport. Best regards Burkhard ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Burkhard Carstens
Am Freitag, 3. November 2006 17:41 schrieb Peter Vreman: At 17:33 3-11-2006, you wrote: yes but there are some lovely stuff on the trunk ;) like working debug symbols with the internal linker and so on If you want a 'stable' trunk stick with r5191 for now. .. but don't use smart-linking

Re: [fpc-pascal] Who applies patches for FPC

2006-09-13 Thread Burkhard Carstens
Am Mittwoch, 13. September 2006 10:46 schrieb Graeme Geldenhuys: Hi, Is there someone in charge of applying patches to FPC? If so, is that someone on leave? I have noticed quite a few patches being sent to FPC-Devel mailing list, but hardly any gets applied. 6 months ago, this was a

Re: [fpc-pascal] Who applies patches for FPC

2006-09-13 Thread Burkhard Carstens
Am Mittwoch, 13. September 2006 12:00 schrieb Graeme Geldenhuys: Hi, Just come to the fpc IRC channel and talk about your patch, try to find someone in charge and bug him again and again, until it is either applied or denied ;-) :-) I have never used IRC before, but have heard of it..

Re: [fpc-pascal] Function Pointers

2006-09-07 Thread Burkhard Carstens
Am Donnerstag, 7. September 2006 15:02 schrieb Brent Smith: I am trying to use function/procedure pointers with the FPC version 2.0.2 on Windows 2000. The complete test program is given below. The error is Wrong number of parameters specified. When I put this into Delphi 5 then it works no

Re: [fpc-pascal] Unknown runtime error 202

2006-07-27 Thread Burkhard Carstens
Am Donnerstag, 27. Juli 2006 15:15 schrieb Wolfram Kläger: Vinzent wrote: BTW, do you know why exceptions donŽt return a line number? Because you forgot to include the -gl switch for automatically including the line info unit? As I understand it, this option is only helpful when you

Re: [fpc-pascal] Semaphore problems

2006-07-25 Thread Burkhard Carstens
Am Dienstag, 25. Juli 2006 10:46 schrieb Micha Nelissen: Vinzent Hoefler wrote: Ehm, no. Ehm, yes. I was being ironic here. Of course, the action of checking the counter and locking/unlocking the associated mutex must be atomic. But here they are not associated, they're protected by

Re: [fpc-pascal] Semaphore problems

2006-07-25 Thread Burkhard Carstens
Am Dienstag, 25. Juli 2006 11:59 schrieb Vinzent Hoefler: On Tuesday 25 July 2006 09:04, Burkhard Carstens wrote: Am Dienstag, 25. Juli 2006 10:46 schrieb Micha Nelissen: function Recursive_Mutex.Lock:...; begin // Owned by current thread? if CurrentThreadId self.ThreadId

Re: [fpc-pascal] Semaphore problems

2006-07-24 Thread Burkhard Carstens
Am Montag, 24. Juli 2006 16:19 schrieb Vinzent Hoefler: On Monday 24 July 2006 14:09, Michael Van Canneyt wrote: On Mon, 24 Jul 2006, Vinzent Hoefler wrote: On Monday 24 July 2006 13:34, Marco van de Voort wrote: When I run the Unit Tests and create a single Lock and the Unlock it, all

Re: [fpc-pascal] Semaphore problems

2006-07-24 Thread Burkhard Carstens
Am Montag, 24. Juli 2006 17:27 schrieb Vinzent Hoefler: On Monday 24 July 2006 14:57, Burkhard Carstens wrote: I vote for more pascal based versions of TMutex, TSemaphore and TEvent, that behaves just like the ones in Delphi and use the system specific functions (like pthread stuff) only

Re: [fpc-pascal] Compiling the compiler

2006-07-24 Thread Burkhard Carstens
Am Montag, 24. Juli 2006 17:42 schrieb Andreas Berger: I downloaded the latest snapshot and wish to recompile the fpc compiler for G032v2. I found an old doc that says to: cd compiler make cycle This obviously will not work since FPC has fpcmake and not make. There is also no makefile

Re: [fpc-pascal] Semaphore problems

2006-07-24 Thread Burkhard Carstens
Am Montag, 24. Juli 2006 19:22 schrieb Vinzent Höfler: Burkhard Carstens wrote: Am Montag, 24. Juli 2006 17:27 schrieb Vinzent Hoefler: - the rtlEvent works even with timeout (with my patch posted on mantis), but this one clears the signaled state, when wait is called. *oh* Before

Re: [fpc-pascal] Semaphore problems

2006-07-24 Thread Burkhard Carstens
[..] ... As long as rtlevent is used with this in mind, it should give a consistent behaviour on windows and linux. this in mind means: The only way how rtlevent should be used is: 1. call rtlstartwait 2. start the code (e.g. start/resume a thread), that signals the event. 3. call rtlwaitevent

Re: [fpc-pascal] Semaphore problems

2006-07-24 Thread Burkhard Carstens
Am Montag, 24. Juli 2006 22:05 schrieb Vinzent Höfler: Burkhard Carstens wrote: Am Montag, 24. Juli 2006 20:33 schrieb Vinzent Höfler: Burkhard Carstens wrote: [..] ... As long as rtlevent is used with this in mind, it should give a consistent behaviour on windows and linux

Re: [fpc-pascal] Semaphore problems

2006-07-24 Thread Burkhard Carstens
Am Montag, 24. Juli 2006 23:38 schrieb Vinzent Höfler: Vinzent Höfler wrote: Hmm. So we'd need a mutex inside a mutex. Now I know why they call it recursive. ;) So it'll be something like that: function Recursive_Mutex.Lock : ...; begin // Lock mutex inside mutex.

Re: [fpc-pascal] NNTP sever component

2006-07-15 Thread Burkhard Carstens
Am Samstag, 15. Juli 2006 16:16 schrieb Graeme Geldenhuys: Hi, Anybody know of a NNTP server component I can use with Lazarus or FreePascal? I would like to write a News Server that uses the Firebird DB as backend. Indy has a NNTP server component. See

Re: [fpc-pascal] Porting jcl to fpc on linux : Status and some questions

2006-07-08 Thread Burkhard Carstens
Am Sonntag, 23. April 2006 18:54 schrieb Michael Ring: I've started porting, so far I have ported about 50% of jcl. [..] What is the status if the port? Can I download it somewhere? Are there any docs, about how to use it in fpc? Regards, Burkhard

Re: [fpc-pascal] Daemon doesn't work right at boottime.

2006-06-01 Thread Burkhard Carstens
Am Donnerstag, 1. Juni 2006 22:40 schrieb A.J. Venter: Hi all, I have written a daemon as part of a project (I used the daemon.pp example as a skeleton), it's working quite perfectly if you start it from the commandline, including from the bootscript I wrote. But when started at boottime it

Re: [fpc-pascal] spin_lock

2006-05-31 Thread Burkhard Carstens
Alain, I think I got a personal mail from you, but I deleted it before I realized that it's not spam (still sleepy :-). This email is for mailing list only, so any mail not coming from the mailing list is automatically dropped to the spam folder.. Could you resend it on the list? Burkhard

Re: [fpc-pascal] spin_lock

2006-05-30 Thread Burkhard Carstens
Am Dienstag, 30. Mai 2006 01:05 schrieb Alain Michaud: Hi, would someone know how to execute: spin_lock spin_lock_init and spin_unlock I just want to disable the interrupts for 200 miliseconds maximum! This is not too long and hopefuly, my system will not crash... Well, 200 ms is about

Re: [fpc-pascal] spin_lock

2006-05-30 Thread Burkhard Carstens
Am Dienstag, 30. Mai 2006 09:51 schrieb Jonas Maebe: On 30 mei 2006, at 08:57, Marco van de Voort wrote: This is not that easy: Is it only for UP or maybe also for SMP machines? Basically, for x86 the cli and sti asm instructions do disable/ enable interrupts, but read about it before you

Re: [fpc-pascal] porting fpIoctl() to windows

2006-05-29 Thread Burkhard Carstens
Am Montag, 29. Mai 2006 22:47 schrieb Marc Santhoff: Hi, on FreeBSD I use fpOpen, fpIoctl, etc. to drive some generic device. In my porting efforts to win32 I have found the more generic FileOpen, but no equivalent of fpIoctl or it's underlying unix system call ioctl(). An old win32.hlp

Re: [fpc-pascal] i386-linux-as: command not found

2006-03-20 Thread Burkhard Carstens
The problem isn't related to particular distribution, but rather to particular SVN revision. Some bug slipped into our makefiles during this weekend, it should be hopefully corrected soon. linux-i386, fixes_2_0 To me it seem that rtl/inc/text.inc is broken Please see

[fpc-pascal] buildcrossbinutils.sh

2006-03-11 Thread Burkhard Carstens
... fails building binutils for multiple platforms under some conditions. System: Intel-P4 / Linux Kernel 2.6.x Details: ## binutils-2.14 ## - Builds fine (except some openbsd and sparc-bsd targets) with gcc3.3.5 (suse 9.3) - Fails when using gcc4.0.2 (Suse10) Example: $ cat

[fpc-pascal] cross-compiling ..

2006-03-09 Thread Burkhard Carstens
Hi, I finally managed to install fpc and lazarus from svn-source on a linux box (suse10.0 / i686). Now, as the first hello world app is running, I'd like to cross-compile it for windows and as many other platforms as possible. So I got fpcbuild/ from svn, started playing with the