[fpc-devel] a bug with fgl.TFPSMap

2013-02-05 Thread ik
Hello, I have reported[1] a bug a week ago regarding a problem with fgl.TFPSMap, and it looks like no one saw it. So I send this email to raise an awareness. Ido [1] http://bugs.freepascal.org/view.php?id=23804 ___ fpc-devel maillist - fpc-devel@lis

Re: [fpc-devel] Do bitwise operation (1 or 2) acre about the sign ? (Giving sign related hints on compilation)

2013-01-14 Thread ik
On Mon, Jan 14, 2013 at 3:11 PM, Martin wrote: > Having recently asked about and learned that it is mainly a hint about > performance. I have now another question about this hint: > project1.lpr(6,9) Hint: Mixing signed expressions and longwords gives a > 64bit result > > Actually not so much ab

[fpc-devel] Is this a compiler bug ?

2012-09-27 Thread ik
Hello, While trying to compile FPC r22471: make CROSSOPT="-O2 -g -FD/usr/share/java/" CPU_TARGET=jvm OS_TARGET=android INSTALL_PREFIX=/usr/ FPC=/usr/bin/ppcx64 all zipinstall I get the following message: /home/ik/projects/foss/fpc/fpc/compiler/ppc -Ur -Xs -O2 -n -Fujvm -Fusystems -

Re: [fpc-devel] Xlib and XCB: any plans?

2012-03-05 Thread ik
On Sun, Mar 4, 2012 at 22:18, Sven Barth wrote: > On 04.03.2012 18:42, Giuliano Colla wrote: >> >> I'm attempting to contribute to the CustomDrawn components project for >> Lazarus. >> One of the target platforms is X, and we may take advantage of the X and >> Xlib units of fpc. However Xorg disco

Re: [fpc-devel] Copy function and dynamic array

2012-02-29 Thread ik
On Wed, Feb 29, 2012 at 14:44, LacaK wrote: > Hi *, > I found small incompatibility between Delphi and FPC. > > This code: > var a,b: array of byte; > begin > 适适 setlength(a,2); > 适适 b:=copy(a,2,1); //<--HERE "Range check error" in FPC, Delphi returns > empty array > end; > > Delphi documentation

Re: [fpc-devel] Closures

2012-01-15 Thread ik
On Sun, Jan 15, 2012 at 17:38, Florian Klämpfl wrote: > Am 15.01.2012 16:26, schrieb Blaise Thorn: > > My question is: how the work should be organised? Should a separate SVN > > branch be created for this? > > The best is to create an svn branch. See private mail. > ‎The best way is to use distr

Re: [fpc-devel] New FPC JVM snapshot: Android support

2011-12-13 Thread ik
On Tue, Dec 13, 2011 at 02:57, Mattias Gaertner wrote: > On Mon, 12 Dec 2011 22:04:55 +0200 > ik wrote: > > > On Mon, Dec 12, 2011 at 21:58, Andrew Haines wrote: > > > > > On 12/12/11 14:55, ik wrote: > > > > I'm trying to build it from the svn

Re: [fpc-devel] New FPC JVM snapshot: Android support

2011-12-12 Thread ik
On Mon, Dec 12, 2011 at 22:12, Jonas Maebe wrote: > > On 12 Dec 2011, at 21:04, ik wrote: > > > On Mon, Dec 12, 2011 at 21:58, Andrew Haines wrote: > > > >> On 12/12/11 14:55, ik wrote: > >>> make[1]: -iVSPTPSOTO: Command not found > >> >

Re: [fpc-devel] New FPC JVM snapshot: Android support

2011-12-12 Thread ik
On Mon, Dec 12, 2011 at 21:58, Andrew Haines wrote: > On 12/12/11 14:55, ik wrote: > > I'm trying to build it from the svn repo: > > http://svn.freepascal.org/svn/fpc/branches/jvmbackend/ . > > I get the following error: > > > > - &

Re: [fpc-devel] New FPC JVM snapshot: Android support

2011-12-12 Thread ik
: -iTP: Command not found make: -iSO: Command not found make: -iTO: Command not found make compiler_cycle RELEASE=1 make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/home/ik/projects/foss/fpc/jvmbackend' make[1]: -iSP: Command not found make[1]: -iTP: Command not found ma

[fpc-devel] Adding libnotify to the packages of 2.6.0 ?

2011-11-25 Thread ik
Hello, I've created a binding for libnotify that will work only for 2.6.0 and above. At the moment I'm writing an example program for it (translating notify-send to pascal), and then it will be ready. Will it be possible to add it to the packages directory ?

[fpc-devel] What is the status of SymbianOS ?

2011-10-14 Thread ik
Hello list, I have a project to develop app also for cellphones, and one of the environment will be Symbian (also iOS and Android). For using it, I need to better understand the status of the SymbianOS support using FPC. I remember that there was work to make it work, but I do not understand it's

Re: [fpc-devel] sysconst error

2011-10-11 Thread ik
On Tue, Oct 11, 2011 at 13:36, Jonas Maebe wrote: > > On 11 Oct 2011, at 13:29, ik wrote: > > I'm having a problem compiling FPC 2.7.1 under linux 64 bit: >> >> sysconst.pp(243,7) Error: Wrong number of parameters specified for call to >> "$fpc_ansistr_sin

[fpc-devel] sysconst error

2011-10-11 Thread ik
Hello, I'm having a problem compiling FPC 2.7.1 under linux 64 bit: sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint" sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping uname identify my system like so: Linux ik-l

[fpc-devel] suggestion for new parameter regarding cross compile

2011-06-15 Thread ik
Hello, FPC have at the moment the tag -XP to provide prefix for mostly cross compile code for binutils. I think that there should be also something like -XSU (-XS already taken) to provide suffix for binutils. For example, in my Arch Linux that is 64 bit, the 32 bit binutils have "ld86" and "as86

Re: [fpc-devel] Macro Processing

2011-05-16 Thread ik
On Mon, May 16, 2011 at 12:23, Joerg Schuelke wrote: > Am Mon, 16 May 2011 11:16:39 +0300 > schrieb ik : > > > So what that I'm trying to say is that Macro in C and C++ are there > > as a hack to do things you can not do properly > > in any other way. And I can no

Re: [fpc-devel] Macro Processing

2011-05-16 Thread ik
On Sun, May 15, 2011 at 21:22, Joerg Schuelke wrote: > Am Sun, 15 May 2011 20:06:02 +0200 > schrieb Jonas Maebe : > > > Those three ways also have data overhead, because you have to store > > the string representation somewhere. Whether this initialised data is > > part of a predefined format cal

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
On Sun, Apr 24, 2011 at 19:40, Marco van de Voort wrote: > In our previous episode, ik said: > > > > Linux. > > > > > > I guess this went to the wrong list. I can't find any intptr_t in e.g. > the > > > FreeBSD rtl. > > > > Right,

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
On Sun, Apr 24, 2011 at 18:43, Marco van de Voort wrote: > In our previous episode, ik said: > > > > I see that intptr_t type is defined for all supported Unix that are not > > Linux. > > I guess this went to the wrong list. I can't find any intptr_t in e.g. the

[fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
Hello List, I see that intptr_t type is defined for all supported Unix that are not Linux. Is there are reason why it was never declared for Linux ? stdint.h is define it like so: /* Types for `void *' pointers. */ #if __WORDSIZE == 64 # ifndef __intptr_t_defined typedef long intintptr_t; #

[fpc-devel] Re: A bug report of mine that was never handled

2011-02-14 Thread ik
Hello, Is there a reason why no one apply the patch or look at the bug report ? Ido On Wed, Jan 5, 2011 at 18:39, ik wrote: > Hi List, > > I have reported the first Bug/Patch (actually feature as a patch) for 2011, > but no one have looked at it so far: > http://bugs.freepasc

[fpc-devel] A bug report of mine that was never handled

2011-01-05 Thread ik
Hi List, I have reported the first Bug/Patch (actually feature as a patch) for 2011, but no one have looked at it so far: http://bugs.freepascal.org/view.php?id=18355 Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il __

[fpc-devel] type inside a class with generics raises Fatal: Internal error 200705152

2010-11-06 Thread ik
Hello, When I create a file like the one I attached I reacived the following error message on line 10: Fatal: Internal error 200705152 When I remove the class to be outside of the parent class, then no error is set. Am I using it wrong or is it a compiler bug ? I'm using Linux with: Free Pascal

[fpc-devel] Blackfin support

2010-07-09 Thread ik
Hello, Does FPC capable of supporting blackfin(and others in it's family) CPU ? It seems that more and more embedded projects starting to use it. Ido http://ik.homelinux.org/ ___ fp

Re: [fpc-devel] Mercurial mirror

2010-06-25 Thread ik
There is a very big chance (nothing is set yet) add my own server (a real hardware) soon on the air. It will be a development server (RAID 1 software), using Debian or FreeBSD 8x (with zfs mirroring). If there is a will by FPC dev's, I'm willing to provide some sort of jail environment on this ser

Re: [fpc-devel] compile time memory leak detection

2010-01-19 Thread ik
http://ik.homelinux.org/ On Tue, Jan 19, 2010 at 10:59, Marco van de Voort wrote: > In our previous episode, ik said: > > There are sometimes way to "see" that you have memory leak in a code > without > > using any sort of profiler. > > For example using new/

[fpc-devel] compile time memory leak detection

2010-01-19 Thread ik
Hello list, There are sometimes way to "see" that you have memory leak in a code without using any sort of profiler. For example using new/getmem on a local variable without releasing it etc... Does FPC know how to find this places on compile time and at least issue a warning about it ? Thanks,

[fpc-devel] Duplicate TTime type ?

2010-01-08 Thread ik
Hello, I'm trying to build FPC 2.5.1 revision 14575. When I do make zipinstall I have the following error message: /usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/ik/projects/fpc/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE -Us -Sg syst

[fpc-devel] Re: [Lazarus] OT: Happy new year

2010-01-02 Thread ik
Thanks Ido http://ik.homelinux.org/ 2009/12/31 Giuliano Colla > I join Ido in wishing you all a very happy new year. > > To Ido, shana tova umetukah. > > Giuliano > > ik ha scritto: > > Hello All, > > Sorry for the offtopic, but I wish you all happy new year

[fpc-devel] OT: Happy new year

2009-12-31 Thread ik
Hello All, Sorry for the offtopic, but I wish you all happy new year. I hope that in 2010 we'll see Pascal, FPC and Lazarus become more main stream. Have a great new year and 2010, Ido http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists

Re: [fpc-devel] eglibc support

2009-12-14 Thread ik
Then I'll start add it when I'll find some time :) I think this is the reason why my OM does not work. It uses eglibc. Ido http://ik.homelinux.org/ On Mon, Dec 14, 2009 at 1:05 PM, Jonas Maebe wrote: > > On 14 Dec 2009, at 11:39, ik wrote: > > Is there a sup

[fpc-devel] eglibc support

2009-12-14 Thread ik
Hello, Is there a support for eglibc in FPC ? Thanks, Ido http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] rtl/arm/thumb2.inc vs rtl/arm/arm.inc

2009-12-03 Thread ik
Hello, What is the difference between thumb2.inc and arm.inc ? Thanks, Ido http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] debugging the RTL (system unit)

2009-12-03 Thread ik
Hello, How I can debug problems with the system and rtl in general for the reason my code crashes before it execute my own code ? Thanks, Ido http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-devel] ARM Illegal instruction debugging howto

2009-12-01 Thread ik
1, 2009 at 9:08 PM, Jonas Maebe wrote: > > On 01 Dec 2009, at 19:36, ik wrote: > > > gdb ./hello > > GNU gdb (GDB) 7.0 > > Copyright (C) 2009 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later < > http://gnu.org/licenses/gpl.html

Re: [fpc-devel] ARM Illegal instruction debugging howto

2009-12-01 Thread ik
?? () (gdb) bt #0 0x in ?? () #1 0xf670 in SYSTEM_REENABLE_SIGNAL$LONGINT$$BOOLEAN () #2 0x in ?? () (gdb) c Continuing. Program exited with code 0330. Thanks, Ido http://ik.homelinux.org/ On Tue, Dec 1, 2009 at 8:31 PM, Jonas Maebe wrote: > > On 01 Dec 2009, at 19:09, ik w

Re: [fpc-devel] ARM Illegal instruction debugging howto

2009-12-01 Thread ik
The program now execute but does not do anything: program hello; begin writeln('Hello World'); end. it does not print anything on the screen. strace only uses execv as the single executing line. What am I missing here ? Ido http://ik.homelinux.org/ On Tue, Dec 1, 2009 at 12

Re: [fpc-devel] ARM Illegal instruction debugging howto

2009-12-01 Thread ik
‎Thanks Jonas, I'll try it this evening and see if it works. Ido http://ik.homelinux.org/ On Tue, Dec 1, 2009 at 12:09 AM, Jonas Maebe wrote: > > On 30 Nov 2009, at 22:22, ik wrote: > > > It uses ARM EABI version. My latest attempt provides me the following > > exec

[fpc-devel] ARM Illegal instruction debugging howto

2009-11-30 Thread ik
Hello, I'm working (when I have time) to find a way to create an OpenMoko FPC version. It uses ARM EABI version. My latest attempt provides me the following executable: ELF 32-bit LSB executable, ARM, version 1, statically linked, not stripped While on "regular" Linux the same file identifier is:

Re: [fpc-devel] New feature discussion: LAMBDA

2009-10-20 Thread ik
Pascal have something close to lambda, and it's nested functions/procedures The original idea of lambda is to have sub process that takes parameters and simple tasks. For example (in Ruby): def action(base) expo = lambda { |by_num| base ** by_num} x = something a = expo(x) end I can

Re: [fpc-devel] Luhn algorithm implementation

2009-04-01 Thread ik
Here is the unit and a small test case together (don't worry it's not my credit card number :) ) Ido On Wed, Apr 1, 2009 at 11:52 AM, Graeme Geldenhuys wrote: > 2009/3/31 ik : > > > > I wrote a unit for Luhn algorithm using FPC, and I want to release it > under

[fpc-devel] Luhn algorithm implementation

2009-03-31 Thread ik
Hello, I wrote a unit for Luhn algorithm using FPC, and I want to release it under LGPL. This algorithm check validity of numbers such as credit cards, and ID numbers in some countries. I'm attaching my unit, and I hope it will be added to FPC packages. I'm going to create also a credit card chec

Re: [fpc-devel] Porting FPC to Support OpenMoko

2009-03-22 Thread ik
Hello Paul, I've tested your Hello World example and it returns to me the following error message: ./ppcarm hello.pas Illegal instruction The two OM distro I tested using EABI Ido On Sat, Mar 21, 2009 at 3:10 PM, Paul Breneman wrote: > Hello Ido, > > > I have a real (not emulator) opnmoko P

Re: [fpc-devel] Porting FPC to Support OpenMoko

2009-03-21 Thread ik
architecture. Can anyone tell from that what is the type of ABI for arm ? Thanks, Ido On Sat, Mar 21, 2009 at 3:20 PM, Henry Vermaak wrote: > 2009/3/21 ik : > > Hello, > > > > I have a real (not emulator) opnmoko PDA/cell phone. The main distro for > it > > uses armv4

[fpc-devel] Porting FPC to Support OpenMoko

2009-03-21 Thread ik
Hello, I have a real (not emulator) opnmoko PDA/cell phone. The main distro for it uses armv4tl. Is there a need to add extra support for OM, or will FPC (what version) will support it ? If there is a support, are there any known issues with it ? If there is work needed to be done, can you pleas

[fpc-devel] GTK 2 problems

2009-02-10 Thread ik
Hello, I'm not sure what is the correct ml for this, so I sent it to both ml, sorry for sending it to the wrong ml. There is a "bug" in gtk2.pas (actually gtkfilesystem.inc) that arrives with FPC. It contains 3 internal functions there where removed from GTK. I found a bug report on this matter:

[fpc-devel] wrong behaviuor of GetAppConfigDir

2009-02-04 Thread ik
Hello, GetAppConfigDir takes the title of the application in order to set the directory where the project will store it's configuration. This type of behavior is wrong because of: 1. Translating of a program (for example for Hebrew in my case) will result in different directory 2. The title of th

Re: [fpc-devel] [patch] FPCunit and new XSLT result processing

2008-12-05 Thread ik
What version of XSLT does it support ? Ido http://ik.homelinux.org/ On Fri, Dec 5, 2008 at 11:42 AM, Graeme Geldenhuys <[EMAIL PROTECTED]>wrote: > See the following bug report and description for new features and sample > output. > > http://bugs.freepascal.org/view.php?id=12754 > > > Regards,

[fpc-devel] patch for xi.pp

2008-10-24 Thread ik
Hello, I'm sending a patch for packages/x11/src/xi.pp with a missing constant. Please apply it. Regards, Ido -- http://ik.homelinux.org/ xi.pp.patch.gz Description: GNU Zip compressed data ___ fpc-devel maillist - fpc-devel@lists.freepascal.org ht

[fpc-devel] FPC's documentation

2008-10-11 Thread ik
Hello, It seems that many unit of RTL, packages etc.. does not contain proper documentation or documentation at all. Is there an attempt to create such documentation, or any plans to create a work type that on every feature/new support it will be marked as "done" only when there is also a document

[fpc-devel] OT: mandriva 2009.0 have FPC 2.2.2

2008-10-10 Thread ik
Hello, I'm upgrading my Mandriva to 2009.0 and it has FPC 2.2.2 . That's a very interesting fact, because when 2008.1 was out I discussed the issues with some Mandriva developers, and they said that they will include FPC only if someone will contribute them a proper spec file (less complicated the

Re: [fpc-devel] Excellent work you guys have done

2008-10-07 Thread ik
On Tue, Oct 7, 2008 at 11:30 AM, Michael Schnell <[EMAIL PROTECTED]> wrote: > >> That's another catch-up game being played - the same as Delphi for >> .NET. They will ALWAYS be two steps behind Microsoft (which is also >> competing in the developer tools market). >> > > I don't think Microsoft is

Re: [fpc-devel] circular uses clauses

2008-10-02 Thread ik
The difference between include and uses is that include just drop everything inside the file that is using it, uses is also adding namespace and you do not share the same content. The problem with circular issues, is that it really hard to debug problems, and it usually cosing more headacks then so

Re: [fpc-devel] Unicodestring branch, please test and help fixing

2008-09-09 Thread ik
On Tue, Sep 9, 2008 at 2:23 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 9/9/08, Anton Kavalenka <[EMAIL PROTECTED]> wrote: >> The Pascal huge strings always annoy me. >> Since - it is IMPLICIT automatic object with set of overloaded methods, >> length and reference count fields etc hidd

Re: [fpc-devel] Unicode functions

2008-08-26 Thread ik
Also many languages such as Hebrew Arabic and more does not have upper/lower case thingy (Arabic have for most but not all chars 3 types of appearing one at the beginning of the word/next to a non combined char), one in the middle of the chars (combined on both sides) and one for the end, if it doe

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread ik
On Wed, Aug 13, 2008 at 6:58 PM, Micha Nelissen <[EMAIL PROTECTED]> wrote: > Bernd Mueller wrote: >> >> I think, the proper way could be, that fpc makes this message fatal, if >> the unit source is not present. > > The proper way is probably for Lazarus to parse also other messages in case > of Fat

Re: [fpc-devel] Unicode Letters

2008-07-16 Thread ik
In hebrew (at least) the punctuation is a different char that comes after the letter, but painted like it was part of the letter, so you can parse each word and ignore non letter value (it arrives in different range in the unicode table). Ido On Wed, Jul 16, 2008 at 10:09 PM, theo <[EMAIL PROTECT

Re: [fpc-devel] 2.2.2rc1 can't find the system unit

2008-06-19 Thread ik
On Thu, Jun 19, 2008 at 10:28 AM, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > ik schrieb: >> >> Am I missing something, or should I report it as a bug ? > > Which installer did you use? RPM on Mandriva 2008.1 Ido -- http://ik.homelinux.org/

[fpc-devel] 2.2.2rc1 can't find the system unit

2008-06-19 Thread ik
fpc output is as follows: ppcx64 -gh -vut test2.pp Configfile search: /home/ik/.fpc.cfg Configfile search: /usr/lib64/fpc/etc/fpc.cfg Configfile search: /etc/fpc.cfg Reading options from file /etc/fpc.cfg Path "/usr/lib64/fpc/2.2.2/units/x86_64-linux/httpd-2.2/" not found Path "

Re: [fpc-devel] NetBSD / PPC (Xillinx 405)

2008-05-20 Thread ik
I'm not sure what you are looking for. I started binding a osip to FPC but i didn't had the time (and will) to finish the binding. I can give you what I have started to continue working on it, but only if it will return as open source back for everyone to use. Ido On Tue, May 20, 2008 at 2:20 PM

Re: [fpc-devel] Compiler limitations

2008-05-09 Thread ik
What about iterators, linked lists ? You can use them some of them. You can also create a temporary file that built in a way that you understand it as an "array". there are many ways to do work around over this issues. I yet found a good reason to have such a big data for array. It's bed practice.

Re: [fpc-devel] How to use fpFlock?

2008-05-06 Thread ik
InputFile, LOCK_SH); > WriteLn ('After Flock'); > Flush (Output); > > Reset (InputFile); > ReadLn; > > CloseFile (InputFile); > > end. > > > > ik wrote: > > > flock in Linux (at least) is blocking by default unless passed with >

Re: [fpc-devel] How to use fpFlock?

2008-05-05 Thread ik
flock in Linux (at least) is blocking by default unless passed with specific parameter. You can try also to create a mutex that only when removed you will access the procedure/function that try to write to the file, and the process that created the mutex is the only one that can write to that file

[fpc-devel] new linker for gnu binutils

2008-03-24 Thread ik
Hi, It seems that there is a new linker that arrive with gnu bintuls, that some claims to be faster. http://sourceware.org/ml/binutils/2008-03/msg00162.html Ido -- http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http:

Re: [fpc-devel] Summer of Code 2008

2008-03-19 Thread ik
I would have never thought that the day that I will agree with ZDNet will come, but it has :( http://blogs.zdnet.com/open-source/?p=2143 I think it explains the reason why Google is acting as they do in Summer of code Ido On Tue, Mar 18, 2008 at 12:56 PM, Luca Olivetti <[EMAIL PROTECTED]> wrote:

[fpc-devel] first patch for the apr lib

2008-03-08 Thread ik
Hello, Here is a small patch for the apr library. I believe that the more I'll continue binding the svn library, i will have more patches to give. Ido -- http://ik.homelinux.org/ Index: packages/httpd22/src/apr/apr.pas === --- packa

[fpc-devel] systemh.inc(592, 2) Fatal: Can't open include file "currh.inc"

2008-03-03 Thread ik
Hello, I'm trying to compile the latest revision (10436) and I'm having the above error. After quick search (find ./ -name currh.inc) I saw that the file really does not exists. Ido -- http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists

Re: [fpc-devel] Unicode resourcestrings

2008-03-02 Thread ik
I wonder, do you care also to try BIDI text as well ? Ido On Sun, Mar 2, 2008 at 8:07 PM, Martin Schreiber <[EMAIL PROTECTED]> wrote: > > On Sunday 02 March 2008 18.48:01 Daniël Mantione wrote: > > Op Sun, 2 Mar 2008, schreef Florian Klaempfl: > > >> What did I wrong? > > > > > > I'am not sur

Re: [fpc-devel] Unexpected behaviour for With ... Do construct

2008-02-26 Thread ik
You made the following error: With FOtherClass Do; You added semiclone after "do", so you exist the scope of with ...Actually the compiler works really good in this case :) Ido On Tue, Feb 26, 2008 at 1:11 PM, <[EMAIL PROTECTED]> wrote: > I've hit a subtle issue whilst using the With ... Do co

Re: [fpc-devel] Convert C++ Array[1] to FPC

2008-02-23 Thread ik
{$PACKRECORDS C} ... type LPSSLPROTOCOL = ^SSLPROTOCOL; SSLPROTOCOL = record dwProtocol : DWORD; dwVersion : DWORD; dwFlags: DWORD; end; _SSLPROTOCOL = SSLPROTOCOL; On Sat, Feb 23, 2008 at 5:59 AM, Sooky Boo <[EMAIL PROTECTED]> wrote: > > > Please help I am unsure h

Re: [fpc-devel] An incomplete prototype of my ebook FREE PASCAL FROM SQUARE ONE

2008-02-20 Thread ik
On Feb 20, 2008 11:16 AM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Tue, 19 Feb 2008, Jeff Duntemann wrote: > > > Hi guys-- > > > > At the encouragement of Anthony Henry, I've been working on converting my > > 1993 > > book *Borland Pascal 7 From Square One* to focus on FreePascal. T

Re: [fpc-devel] Linux gid_t uid_t

2008-02-02 Thread ik
It does on my buntu amd64. Ido On Feb 2, 2008 6:15 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > I noticed that somewhere since baseunix times Linux/glibc updated all basic > types that were still 16-bit to 32-bit. FPC didn't notice it, since the x86 > stat record is a typeless hack. Howe

Re: [fpc-devel] QEMU for 64-bit FPC testing?

2008-01-29 Thread ik
Hi, Yes you can emulate all of the listed CPU's, it just have different executable names. qemu-system-x86_64 for what you require. The only problem that I found, is that sometimes the hardware you have using qemu virtualization is not suited for some of the linux distro you wish to use. Ido On

[fpc-devel] latest translation of errorhe.msg and errorheu.msg (a diff file)

2007-11-26 Thread ik
Hi, I hope you will apply this patch ... Thanks, Ido -- "There once was a virtualization coder, Whose patches kept getting older, Each time upstream would drop, His documentation would slightly rot, SO APPLY MY F*$KING PATCHES OR I'LL KEEP WRITING LIMERICKS." -- Rusty Russel http://ik.h

Re: [fpc-devel] copyright infringement in FPC code

2007-11-13 Thread ik
On Nov 13, 2007 10:51 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 13/11/2007, peter green <[EMAIL PROTECTED]> wrote: > > > > In many cases two people trying to implement the same relatively simple > > behaviour will end up with code that differs in little more than > > variable names and

[fpc-devel] Re: libsndfile full working code

2007-11-04 Thread ik
Any hints warnings, commits, something ? On 11/1/07, ik <[EMAIL PROTECTED]> wrote: > Hello, > > I'm sending a tar file with a full working copy of libsndfile > (fpc/packages/extra/sndfile). > > Please note that it is not a patch, and it will extract file to the &

[fpc-devel] Contribute libfam/gam binding to FPC

2007-11-01 Thread ik
Hello, I have binded the libfam into FPC, and I wish to contribute it to the FPC packges/extra. So, can I contribute it to the FPC packages ? Thanks, Ido -- http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://list

[fpc-devel] libsndfile full working code

2007-11-01 Thread ik
Hello, I'm sending a tar file with a full working copy of libsndfile (fpc/packages/extra/sndfile). Please note that it is not a patch, and it will extract file to the directory you are located at. Thanks, Ido -- http://ik.homelinux.org/ sndfile.tar.gz Description: GNU Zip compressed data ___

[fpc-devel] errorhe translations

2007-10-30 Thread ik
Hello I'm attaching here diff files for errorhe.msg and errorheu.msg files. I think that some of the translation are prior to 2.2.0 (I haven't translated for a while). Thanks, Ido -- http://ik.homelinux.org/ errorhe.msg.diff.bz2 Description: BZip2 compressed data errorheu.msg.diff.bz2 Descr

Re: [fpc-devel] types in xlib unit

2007-10-03 Thread ik
On C some records are "magically" created, and you do not know their content. So you can use either a pointer, or an empty record, and use a pointer to that empty pointer. Ido On 10/3/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Hi, > > In the xlib.pp unit the following types are defined.

[fpc-devel] Re: update for the sndfile.pp binding

2007-09-29 Thread ik
d and made the library a bit more cross platfrom/compiler as Adrian did, but a bit different :) Thanks, Ido On 9/22/07, ik <[EMAIL PROTECTED]> wrote: > Hello, > > While trying to work with the library, I have noticed that the > packages/extra/sndfile/sndfile.pp is old, and m

[fpc-devel] a patch for fpioctl

2007-09-28 Thread ik
Hi, I found a difference between the POSIX and the BSD implementation of ioctl, and the FPC fpioctrl is set as the way BSD is working. My patch fixes that, making different decleration according to BSD/everything else. Please note that accidentally Linuxs' ioctl have parameters the way POSIX spec

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread ik
On 9/25/07, Adriaan van Os <[EMAIL PROTECTED]> wrote: > > Michael Van Canneyt wrote: > >> > >> On Sat, 22 Sep 2007, ik wrote: > >> > >>> Hello, > >>> > >>> While trying to work with the library, I have noticed that the &

Re: [fpc-devel] update for the sndfile.pp binding

2007-09-25 Thread ik
Hi Sorry for the late response. First of all thank you Michael. On 9/25/07, Adriaan van Os <[EMAIL PROTECTED]> wrote: > Michael Van Canneyt wrote: > > > > On Sat, 22 Sep 2007, ik wrote: > > > >> Hello, > >> > >> While trying to work with th

[fpc-devel] update for the sndfile.pp binding

2007-09-22 Thread ik
Hello, While trying to work with the library, I have noticed that the packages/extra/sndfile/sndfile.pp is old, and most of the API there is obsolete and no longer exists on the library. So I have created (from scratch) a new translation for the latest version (1.0.17) that came out over a year a

[fpc-devel] Compiler supported platforms

2007-09-12 Thread ik
Hi, I was wondering regarding few platforms, to see if FPC support them: 1. I remember that there is a port for Symbian, is it ready and arrived with FPC 2.2.0, if not, when can we expect it ? 2. Just out of curiosity, will there be an iPhone port for FPC ? 3. Does FPC works well with Vista, or

[fpc-devel] libc is missing

2007-09-11 Thread ik
Hi, I installed FPC 2.2.0 using deb on my Kubuntu amd64 bit, and it seems that the libc library is missing. I looked for it directly, and it seems not to be exists: /usr/lib/fpc/2.2.0# find ./ -name "*libc*" ./units/x86_64-linux/fppkg/pkglibcurl.ppu ./units/x86_64-linux/fppkg/pkglibcurl.o ./units/

Re: [fpc-devel] mysql5

2007-09-04 Thread ik
On 9/4/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Tue, 4 Sep 2007, ik wrote: > > > Hi, > > > > I have noticed that on packages/main/mysql everything is set to > > mysql4, and fpmake does not include inside the mysql5 units. > > Is

[fpc-devel] mysql5

2007-09-04 Thread ik
Hi, I have noticed that on packages/main/mysql everything is set to mysql4, and fpmake does not include inside the mysql5 units. Is there a reason for that ? Are there any problems with mysql5 ? I have looked at the svn version, but "stable" versions has the same settings. Thanks, Ido -- http:/

Re: [fpc-devel] Re: Patch for gtk2

2007-06-08 Thread ik
Hi, You are right, here is the right patch. Thanks, Ido On 6/6/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: ik schreef: > Hi, > > I don't see that anyone have applied the patch. > Please note that this patch is for the FPC binding and not for the > Lazarus binding

[fpc-devel] Re: Patch for gtk2

2007-06-06 Thread ik
Hi, I don't see that anyone have applied the patch. Please note that this patch is for the FPC binding and not for the Lazarus binding Ido On 6/1/07, ik <[EMAIL PROTECTED]> wrote: Hi, I have added support for GTK2.8 functions that support menu direction. Here is the pa

[fpc-devel] Patch for gtk2

2007-06-01 Thread ik
Hi, I have added support for GTK2.8 functions that support menu direction. Here is the patch for the functionality. I hope I understood well the structure of the binded functions, and added it as it should be added. If I made any error or mistake in my placement, or I should add additional code

Re: [fpc-devel] QT and FPC

2007-05-13 Thread ik
Hi First of all Thank you. Here is my POC : program qt_poc; uses sysutils,qt4; var app : QApplicationH; window : QWidgetH; message_ : QLabelH; text : WideString; begin app := QApplication_create(@argc, argv); text := 'Hello World'; window := QWidget_create(nil, 1);

[fpc-devel] QT and FPC

2007-05-13 Thread ik
Hi All, I wish to create a proof of concept FPC code that shows how "easy" it is to use QT using FPC. The thing is, that I wish to do it in pure code without using Lazarus. Is there any known to work binding for QT3 (or 4) that works without using Lazarus ? Thanks, Ido -- http://ik.homelinux.o

Re: [fpc-devel] what fpc is good for?

2007-05-12 Thread ik
Hi, Ok, you dragged me into responding this subject as well :) While it might sound as such, this is not Windows vs Linux fight, only a point of view for an ex Delphi developer, and a 5 years of Linux users (as only OS). On 5/12/07, Peter Popov <[EMAIL PROTECTED]> wrote: On Sat, 12 May 2007 05:

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread ik
On 4/27/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: > Hallo, > > Another day Florian was talking about the cppclass, a experimental > feature to link to c++ > > I would like to know: Could someone inherit a class based on cppclass >

[fpc-devel] Generics and compiler conditions

2007-04-03 Thread ik
Hello, I wish to know if there is a predefine macro or compiler directive that can tell me if there is a support for generics with something such as: {$IFDEF USEGENERICS} ... {$ELSE} ... {$ENDIF} Or {$IF USEGENERICS} ... {$ELSE} .. {$ENDIF} Thanks, Ido -- http://ik.homelinux.org/ __

[fpc-devel] Generics

2007-02-03 Thread ik
Hi All, I'm looking for a guide (for people that have slow learning curves like me ;)) regarding understanding generics, and the ability to start using them. Thanks, Ido -- http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepasca

Re: [fpc-devel] delegate objects

2007-01-30 Thread ik
Hi, Thank you for the example. I will study it more on the weekend, when I'll have more time to learn it .. Ido On 1/30/07, Leonardo M. Ramé <[EMAIL PROTECTED]> wrote: > Is there a way do delegate such methods on classes using Object Pascal ? > If so, how would you do it ? Yes, delegates are

[fpc-devel] delegate objects

2007-01-28 Thread ik
Hi List, There is a small conversation I read regarding delegating methods in objects. The thing is something like so (from the original discussion) < sub factors { my $self = shift; return $self->result()->factors(); } And besides it similar declarations for some other functio

  1   2   >