Re: [fpc-devel]decal

2004-04-16 Thread Dean Zobec
Alle 20:30, martedì 13 aprile 2004, Marco van de Voort ha scritto: I ported the Delphi library Decal (used to be called SDL, by Soletta) to FPC 1.9.[2? 3!]+. Thank you for the porting, it was one of the most needed libraries in fpc IMHO (I consider the cntnrs unit in Delphi a simple joke in

Re: [fpc-devel] Generic Programming Units

2005-06-21 Thread Dean Zobec
John Briggs wrote: This is a repost of an earlier response to another thread. I did not recieve any response so I am posting this in its own thread. I have several old books (circa 1991), including source code, covering TP6 in my library. I still remember the Algorithms + Data Structures =

Re: [fpc-devel] Generic Programming Units

2005-06-21 Thread Dean Zobec
Michael Van Canneyt wrote: Depends how the hash is parametrized. If you've a big hash array and a good hash function accessing has a complexity of O(1) while for a binary search it's O(log(n)) But I assume that calculating the hash becomes harder for 'better' hashes ? Not always, it

Re: [fpc-devel] Generic Programming Units

2005-06-21 Thread Dean Zobec
Michael Van Canneyt wrote: What is the performance difference between a hash() and a binary search on an ordered list ? I've also been working with an 'associative' stringlist, but I was using an ordered stringlist to keep the data, so a binary search is done. The TStringList is a very fast

Re: [fpc-devel] Generic Programming Units

2005-06-21 Thread Dean Zobec
Marco van de Voort wrote: The generic functions are very powerful and model closely the C++ STL library (as fpc does not have generics yet a sort of typecast is still required when fetching the items from the container). The library was not designed for speed though, from the first test the

Re: [fpc-devel] Generic Programming Units

2005-06-21 Thread Dean Zobec
Marco van de Voort wrote: Dean Zobec wrote: As the project looks like a long term one and I think that fpc urgently needs a optimized hash table I'll also work on a streamlined hash table with a chaining technique as a collision resolution scheme and a paging for the allocation

Re: [fpc-devel] Generic Programming Units

2005-06-21 Thread Dean Zobec
Bram Kuijvenhoven wrote: Besides using TVarRecs, we could also use pointers (as in classes.TList) or objects. Pointers like in TList were the things I had in mind. This would perhaps be a bit like it is in java.util. Then we would also need container classes for basic types such as

Re: [fpc-devel] Generic Programming Units

2005-06-22 Thread Dean Zobec
Marco van de Voort wrote: Better finish decal. DeCal is good and comfortable for most cases, and trying to speed it up will kill the ease of use. Then we can collect some other set of routines over time for more performance dependant stuff. You are right, it will be probably the easier way.

Re: [fpc-devel] PR: What sites to spam for 2.0.2 release?

2005-12-09 Thread Dean Zobec
Daniël Mantione wrote: Hi guys, Speaking of PR, we have a 2.0.2 to announce within a very short time and we better do it well. We won't be able to do a Slashdot or OSnews announcement, nevertheless we should take these opportunities to promote FPC. So, any ideas what sites we should spam?

Re: [fpc-devel] fpcUnit generates invalid XML

2006-05-28 Thread Dean Zobec
Graeme Geldenhuys wrote: Hi Dean and others, I have setup a nightly build server for the tiOPF framework and want to generate a Last Build Status page on my web server. I started by creating a XSL file that will translate the XML file generated by the Text Runner, when I noticed that the

Re: [fpc-devel] fpcUnit demo error

2006-09-14 Thread Dean Zobec
Leonardo M. Ramé ha scritto: People, just found an error in the consolerunner/testrunner.pp demo application. It's constructor and destrutor differs from the frameworktest sample in the tests directory. The correct methods are: constructor TTestRunner.Create(AOwner: TComponent); begin

Re: [fpc-devel] fpcUnit demo error

2006-09-15 Thread Dean Zobec
Leonardo M. Ramé ha scritto: Sorry, i thought frameworktest was the correct one. No problem, my fault, lack of documentation :) Thank you for reporting, Regards, Dean ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] fpcUnit demo error

2006-09-15 Thread Dean Zobec
Hi Graeme While on the subject of fpcUnit... Have you submitted the patch for GUI Runner with checkbox support? I remeber you email a select few to test it, but can't remember if it was officially submitted and maybe got missed in all the mail traffic. Reason I noticed, is because my work

Re: [fpc-devel] last change to xmlreporter.pas (part of fpcUnit) not working

2006-10-02 Thread Dean Zobec
Dean Zobec ha scritto: Graeme Geldenhuys ha scritto: Hi, I got an update of FPC 2.1.1 today, and my fpcUnit test results are not correct anymore. The XML test listener (xmlreporter.pas) is not writing the Failures correctly. It keeps creating new (duplicate) list nodes for each Failure

Re: [fpc-devel] [patch] - fpcUnit testreport.pp

2006-10-26 Thread Dean Zobec
Graeme Geldenhuys ha scritto: Hi Thanks for that, I didn't know about that function. Attached is the patch using the new StringOfChar. Incidently the speed increase is not much, but yes it is faster. Maybe my test cases are just not big enough. ;-) I did 4 test runs with the old

Re: [fpc-devel] Base64 decoding stream in the FCL

2007-02-21 Thread Dean Zobec
Bram Kuijvenhoven pravi: Hi, Attached is a patched base64 unit and a unit with FPCUnit tests. I zipped it to save space; I think my previous attempt has been rejected because the message was too big. Changes: - Added support for a MIME and a Strict mode for TBase64DecodingStream A very

Re: [fpc-devel] FPCUnit as a separate project from FPC?

2007-05-22 Thread Dean Zobec
2007/5/22, Graeme Geldenhuys [EMAIL PROTECTED]: Hi everybody, Darius Blaszijk, Vincent Snijders and myself had a discussion off the mailing list about the possibility of moving FPCUnit out of FPC as a separate project. I thought it to be important that we get the opinions of others as well.

Re: [fpc-devel] FPCUnit as a separate project from FPC?

2007-05-22 Thread Dean Zobec
Florian Klaempfl pravi: If it helps, I see no problem to give Dean write access to the FPC repository. I guess the same applies for lazarus. Thank you for the offer. I think it's not necessary for now, I get along very well with MvC's mentorship and like to discuss with the core team every

[fpc-devel] [patch] small fpcunit patch from Graeme

2007-05-24 Thread Dean Zobec
Graeme Geldenhuys writes: I can't remember the details - the patch was submitted a while back. Basically running the GUI, it always writes to the console as well, which I think is wrong. So while the tests run, the console gets filled up as well as the XML test results tab. I'm attaching

Re: [fpc-devel] FPCUnit problem - do we fix or rewrite?

2009-05-19 Thread Dean Zobec
still feel the same way about this issue? Dean Zobec, are you still around? FPCUnit was your baby to start with. Do you have any comments? FPCUnit was a port of JUnit, actually a clone in Free Pascal. The Setup and Teardown run only once for a set of tests goes against the philosophy of unit