Re: [fpc-pascal] Lazarus and FPC integration

2005-11-01 Thread Agustin Barto
On 11/1/05, L505 <[EMAIL PROTECTED]> wrote: > > I think there isa unicode version of synedit and it probably wouldn't take > too much work to > get it working for freepascal > > "Unicode Version: Actually into CVS there is available a UNICODE Version of > synedit, > snapshots are available here"

Re: [fpc-pascal] Lazarus and FPC integration

2005-11-01 Thread Agustin Barto
On 11/1/05, L505 <[EMAIL PROTECTED]> wrote: > The internet uses english as the standard language. That is why I use it. If > it is proven > that some other language should be used as the internet language, then I will > use it. I do > enjoy the upside down question marks in spanish, as they help

Re: [fpc-pascal] Lazarus and FPC integration

2005-11-01 Thread Agustin Barto
On 11/1/05, Micha Nelissen <[EMAIL PROTECTED]> wrote: > Yes, sorry, I replied to the wrong message, I was trying to get a > response from Agustin, not necessarily from you; he did make the Eclipse > comparison, and he said he liked that IDE better for OO stuff. But maybe > that's because the unicod

Re: [fpc-pascal] Lazarus and FPC integration

2005-11-01 Thread Agustin Barto
On 10/31/05, Team Z505 <[EMAIL PROTECTED]> wrote: > Have to tried translation tools? I have converted many Russian source code > help files from > the KOL project into English using PROMT translator online. Once in a while > you get a funny > translation like "I hit the code twice before she comp

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-31 Thread Agustin Barto
On 10/31/05, Peter Vreman <[EMAIL PROTECTED]> wrote: > > The cool thing about fpc and lazarus is that you can fix things yourself. > Don't forget that we don't get paid and do it all in our spare free time. > If Lazarus was written in Java or Smalltalk, I might be able to help out. But given that

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-31 Thread Agustin Barto
On 10/31/05, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Vincent Snijders wrote: > > > Elio Cuevas Gómez wrote: > > > >> These are all good things, but if the IDE editor can't handle basic > >> stuff like international characters it's not very useful. > > > > > > For you. It is useful for most of

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, L505 <[EMAIL PROTECTED]> wrote: > > > > I solved the problem using a single-rooted wrapper hierarchy (java > > > style). It's not elegant nor efficient, > > Google.com > > Your search - "single-rooted wrapper hierarchy" - did not match any documents. > Let's say you need a general pur

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > If Variants could store objects and interface instances, maybe. > > They can? Simply use custom variants. > Don't know what custom variants are. I'd appreciate a link to the documentation. > > I solved the problem using a single-rooted

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Agustin Barto wrote: > > I was talking about design. One example? Polymorphism with primitive > > data types can get really messy really fast with ObjectPascal. It's > > not easy, for instance, to have a

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > AFAIK this is a gtk only problem and has already being submited as a > bug report (by me). It works perfectly on Windows. And the problem is > only related to the IDE. TEdit (and programs that use it) can handle > accented words

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > > Witch unicode? UTF-8 obviously works on Lazarus as the editor produces > and reads files in this format. I have also worked with lazarus and > XML files, witch are normally in UTF-8. I can't type any international characters (

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > > Please give objective reasons to back up your statement that Lazarus > is a bad IDE (and test the latest stable one to see if the problems > were not fixed). > a) Unicode didn't work for me on any (including the lastest) versi

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/30/05, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > > But those are reasons to mix the projects (not in code)! From Systems > we can know that many people are not using FPC because they need a > good gui IDE. Errr...Lazarus is a good IDE/RAD? It certainly is a good start, but is

Re: [fpc-pascal] Lazarus and FPC integration

2005-10-30 Thread Agustin Barto
On 10/29/05, David Emerson <[EMAIL PROTECTED]> wrote: > - other reasons? > Here are the reasons why I don't use Lazarus regularly (I use FreePascal almost every day): - The "compiler mismatch" of Lazarus. Most of the time lazarus requires a version of fpc that's not the current stable version. -

[fpc-pascal] Doubts about QueryInterface

2005-07-26 Thread Agustin Barto
When I try to compile a unit in delphi mode with the following function function Implements(out AReference; const AObject: TObject; const AInterface: TGUID): Boolean; begin Result := (AObject is TInterfacedObject) and ((AObject as TInterfacedObject).QueryInterface(AInterface, AReference) = 0

[fpc-pascal] Variants vs. Variant Records

2005-07-23 Thread Agustin Barto
I have to build some container classes (like java Vector) for a project. I was thinking on how to store some primitive values (so far I only need to store Integer, Real or Extended and ShortString) and I can't decide between variants (variant arrays) and variant records (dynamic arrays of variant r

[fpc-pascal] How to know if an objects implements an interface

2005-07-21 Thread Agustin Barto
I have a class that has a TObject field. In some of the instances of this class the field will contain an objetct from a class that implements certain interface. What can I do to check if the referenced object implements the interface? ___ fpc-pascal mai

[fpc-pascal] Translating scientific libraries

2005-07-21 Thread Agustin Barto
I'd like to use some scientific/math librearies like LAPACK and GNU/GSL with fpc. I already know about h2pas and external subroutines and variables, but I wanted to know if these methods will be able to deal with libraries as complex as LAPACK (clapack obviously) and GSL. I'm porting my graduate t

[fpc-pascal] Problems with fpc-1.9.8-0.src.rpm

2005-04-06 Thread Agustin Barto
I'm trying to build the fpc 1.9.8 from the srpm and I get the following error message: [EMAIL PROTECTED] ~]$ rpmbuild --rebuild --clean fpc-1.9.8-0.src.rpm Installing fpc-1.9.8-0.src.rpm error: File /home/michael/fpc/previous/buildsrc/fpc/build/rpm/SOURCES/fpc-1.9.8-src.tar.gz: No such file or di

[fpc-pascal] Free (Speech) Report Generator for FPC (and Delphi)

2005-03-28 Thread Agustin Barto
I'm looking for a free report generator that can work with Delphi and FPC. Any recommendations? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Dynamic arrays performance test.

2005-03-02 Thread Agustin Barto
On Wed, 2 Mar 2005 11:05:50 +0100, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 2 mrt 2005, at 07:29, Florian Klaempfl wrote: > > > - FPC's random is probably more complex > > Indeed. I guess Delphi's is still a simple "(x * prime1) mod prime2" or > so. FPC uses the Mersenne twister. > > Jonas

[fpc-pascal] Dynamic arrays performance test.

2005-02-28 Thread Agustin Barto
I ran some test of serveral Extended matrix internal representations to implement on an adaptation of Jedi_Math's matrix code (already contributed some of this modifications). In the attached file you'll see one of these tests. I have some questions about the results: * The performance of the thre

Re: [fpc-pascal] Customizing tply

2004-12-15 Thread Agustin Barto
, 10 Dec 2004 12:08:13 -0300, Agustin Barto <[EMAIL PROTECTED]> wrote: > I did a little more testing, and the console based apps fail too, with > the same access violation exception. > ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists

Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Agustin Barto
I did a little more testing, and the console based apps fail too, with the same access violation exception. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Agustin Barto
I integrated the generated parser and libs with the old code and now I get a lot of run-time errors. I traced some of them to lexlib's assigns of the default input and ouput so I commented out those (It's a GUI app anyway). But then I started to get access violations. What puzzles me is that my con

[fpc-pascal] Customizing tply

2004-12-09 Thread Agustin Barto
After some work I was able to translate my parser's grammar from Coco/R to Lex/Yacc. It wasn't easy and I hate to loose the more "functional" aspects of Coco/R, but at least my project can compile both on Windows (with Delphi) and Linux (with fpc) (at least the non-UI parts). When I started to mod

[fpc-pascal] Standalone fpc tply

2004-12-06 Thread Agustin Barto
I tried to compile tply with fpc-1.9.5, and I got an error about memAvail not being avaible. A quick googling and I found out about GetHeapStatus. A little more googling and I discovered that the fpc-1.9.5 version of tply doesn't have the problem (thanks for that btw). It'll be cool if this versio

Re: [fpc-pascal] Parser Generators

2004-12-04 Thread Agustin Barto
Turbo Pascal version of Coco/R compiles ok. I don't remember needing any tweaking at all (besides from unzipping the distributions with all the filenames on lowecase). I was wondering if the lex/yacc version that comes with fpc is the same as the one from http://www.musikwissenschaft.uni-mainz.de

Re: [fpc-pascal] Internal Error 9999 on FC3

2004-12-04 Thread Agustin Barto
I had some problems with exec_shield and compilers (and intepreters) in the past. Anyway, I'm just happy to have fpc working again :) On Sat, 4 Dec 2004 20:20:20 +0100, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 4 dec 2004, at 19:18, Agustin Barto wrote: > > > I di

Re: [fpc-pascal] Internal Error 9999 on FC3

2004-12-04 Thread Agustin Barto
I disabled exec_shield (echo 0 > /proc/sys/kernel/exec_shield) and it worked. I tried several times to check and everytime I had exec_shield on, the compile process got to an error at some point. I guess it does affect the compiler, or at least it does on my particular configuration. Agustin On S

[fpc-pascal] Internal Error 9999 on FC3

2004-12-04 Thread Agustin Barto
I'm trying to rebuild the srpms of fpc 1.0.10 and 1.9.4 and I'm getting "Internal Error " randomly during the compile process. I'm running FC3 on an AMD Athlon 2600+. I'm guessing it has something to do with the distro, 'cause it used to work on FC2. __

[fpc-pascal] Parser Generators

2004-12-03 Thread Agustin Barto
I'm looking for a good free (as in speech) parser generator for FreePascal. Right now I'm working with Coco/R (from http://www.tetzel.com/CocoR/) and I'm not very pleased with this tool. The generated code works perfect with fpc-1.9.4 but the (parser) compiler only works on Windows and I want my pr

Re: [fpc-pascal]Delphi/FPC cross-compile

2004-08-04 Thread Agustin Barto
> Any recommendations on a good book for my context? I was a seasoned Java and C++ programmer when I was giving the task of implementing a very complex algorithm with Delphi. I left the Windows world years ago so I always had in mind developing on Delphi but keeping most of the code as FPC compati

Re: [fpc-pascal]Programs don't come back

2004-08-02 Thread Agustin Barto
I have FC2 (with prelinking and exec-shield enabled) and the programs work just fine. I'm using fpc-1.9.4. On Mon, 2 Aug 2004 19:57:21 +0200 (CEST), Marco van de Voort <[EMAIL PROTECTED]> wrote: > > Fedora core II. My programs seem to take over the whole screen and > > when they finish the system

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Agustin Barto
On Sat, 24 Jul 2004 11:51:41 -0500, Ken Linder <[EMAIL PROTECTED]> wrote: > > IMHO, Kylix was before its time a bit. I was at BORCON last year and there > were quite a few people interested in it being ressurected. No, it has not > been abandoned, luckily. Borland is just holding onto it for rig

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Agustin Barto
On Sat, 24 Jul 2004 14:24:35 +0200, Harald Houppermans <[EMAIL PROTECTED]> wrote: > > I doubt you know what happens "under the hood" of free pascal. > That's not the point. > Also I believe the free pascal source code is fully available so you might > look at specific parts ;) That's the point

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-22 Thread Agustin Barto
1) Using proprietary software to build scientific applications (like in my case) is just wrong. You never know what there might be happening "under the hood". And you are bound to licenses and EULAS that are designed to avoid any kind of responsability of the software maker. 2) There is a Delphi p

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-20 Thread Agustin Barto
> > Jedi math hardly has a math dependancy, at least the last time I looked, > it worked with FPC 1.9.x in a few minutes. (on FreeBSD) > > I even got the _visual_ part to work with Lazarus, but that was more an > empty form. Although I had a lot of success working with FreePascal, I can't say th

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-20 Thread Agustin Barto
]> wrote: > > > On Tue, 20 Jul 2004, Agustin Barto wrote: > > > I'm developing a statistical software and I need a mathematical > > (algebra) unit for FreePascal. Right now I'm using Jedi_Math with > > Delphi but I don't want the VLC/CLX dependency an

[fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-20 Thread Agustin Barto
I'm developing a statistical software and I need a mathematical (algebra) unit for FreePascal. Right now I'm using Jedi_Math with Delphi but I don't want the VLC/CLX dependency and I hate using proprietary software (Delphi or Kylix). If the unit is object-oriented, even better. Thanks to the last