[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 -Fu/home/ik

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

2012-03-05 Thread ik
On Sun, Mar 4, 2012 at 22:18, Sven Barth pascaldra...@googlemail.com 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.

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

2012-02-29 Thread ik
On Wed, Feb 29, 2012 at 14:44, LacaK la...@zoznam.sk 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 flor...@freepascal.orgwrote: 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

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

2011-12-13 Thread ik
On Tue, Dec 13, 2011 at 02:57, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Mon, 12 Dec 2011 22:04:55 +0200 ik ido...@gmail.com wrote: On Mon, Dec 12, 2011 at 21:58, Andrew Haines andrewd...@aol.com wrote: On 12/12/11 14:55, ik wrote: I'm trying to build it from the svn repo

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

2011-12-12 Thread ik
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 make[1]: -iSO: Command

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

2011-12-12 Thread ik
On Mon, Dec 12, 2011 at 21:58, Andrew Haines andrewd...@aol.com 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: - $ make CROSSOPT=-O2 -g

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

2011-12-12 Thread ik
On Mon, Dec 12, 2011 at 22:12, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 12 Dec 2011, at 21:04, ik wrote: On Mon, Dec 12, 2011 at 21:58, Andrew Haines andrewd...@aol.com wrote: On 12/12/11 14:55, ik wrote: make[1]: -iVSPTPSOTO: Command not found I've seen these messages before

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

2011-11-25 Thread ik
Hello, I've created a binding for libnotify https://github.com/ik5/libnotify-fpcthat 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

[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-laptop2 3.0-ARCH #1

[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 Sun, May 15, 2011 at 21:22, Joerg Schuelke joerg.schue...@gmx.de wrote: Am Sun, 15 May 2011 20:06:02 +0200 schrieb Jonas Maebe jonas.ma...@elis.ugent.be: Those three ways also have data overhead, because you have to store the string representation somewhere. Whether this initialised

Re: [fpc-devel] Macro Processing

2011-05-16 Thread ik
On Mon, May 16, 2011 at 12:23, Joerg Schuelke joerg.schue...@gmx.de wrote: Am Mon, 16 May 2011 11:16:39 +0300 schrieb ik ido...@gmail.com: 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

[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; #

Re: [fpc-devel] intptr_t and Linux

2011-04-24 Thread ik
On Sun, Apr 24, 2011 at 19:40, Marco van de Voort mar...@stack.nl 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, my bad. ik@ik-office:~/projects/fpc/fpc/rtl$ grep -in intptr_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 ido...@gmail.com 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

[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] Blackfin support

2010-07-09 Thread ik
Hello, Does FPC capable of supporting blackfinhttp://www.analog.com/en/embedded-processing-dsp/processors/index.html(and others in it's family) CPU ? It seems that more and more embedded projects starting to use it. Ido http://ik.homelinux.org/ ___

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

[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,

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 mar...@stack.nl 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/getmem on a local variable

[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 system.pp

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

2010-01-02 Thread ik
Thanks Ido http://ik.homelinux.org/ 2009/12/31 Giuliano Colla giuliano.co...@fastwebnet.it 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. I hope

[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] 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

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 jonas.ma...@elis.ugent.bewrote: On 14 Dec 2009, at 11:39, ik wrote: Is there a support

[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

[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

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 jonas.ma...@elis.ugent.bewrote: On 30 Nov 2009, at 22:22, ik wrote: It uses ARM EABI version. My latest attempt provides me the following executable

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:41 PM, ik

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

2009-12-01 Thread ik
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 jonas.ma...@elis.ugent.bewrote: On 01 Dec 2009, at 19:09, ik wrote: The program now execute

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

2009-12-01 Thread ik
1, 2009 at 9:08 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: 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 This is free software

[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

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 graemeg.li...@gmail.comwrote: 2009/3/31 ik ido...@gmail.com: 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

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 paul2...@brenemanlabs.comwrote: Hello Ido, I have a real

[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

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 henry.verm...@gmail.comwrote: 2009/3/21 ik ido...@gmail.com: Hello, I have a real (not emulator) opnmoko PDA/cell phone. The main distro for it uses armv4tl

[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

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

[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

[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

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 any steps

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

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 hidden from

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

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

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

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

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
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

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

2008-05-06 Thread ik
; CloseFile (InputFile); end. ik wrote: 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

[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

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 === ---

[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 -

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 sure how this

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

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 how

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. The book will

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. However

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

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 spacing

[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 directory you are located at. Thanks

[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] 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

[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

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. How

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

2007-09-29 Thread ik
and 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 most of the API there is obsolete

[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

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 the library, I have noticed that the packages/extra/sndfile/sndfile.pp

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 packages/extra/sndfile/sndfile.pp is old, and most of the API there is obsolete and no longer exists

[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

[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

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 I only took a very quick look

[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 patch for the functionality

[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

[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 --

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,

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

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 with

[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] 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 functions: sub

[fpc-devel] teaching pascal

2007-01-23 Thread ik
Hi All, Recently at my work place a non technical person asked me if I could teach him some programming language, and after several minutes of discussion regarding what is the best programming language to begin with, I was able to convince him that Pascal is the best thing to start with. Now I

[fpc-devel] Coding conventions and optimization

2007-01-13 Thread ik
Hi, Recently I read somewhere that languages such as Java optimize better when you write your code in specific convention. Is that also apply for FPC and/or other Pascal compilers as well ? Ido -- http://ik.homelinux.org/ ___ fpc-devel maillist -

[fpc-devel] Efficient way to inc loop over hexadecimal values

2006-11-22 Thread ik
Hi List, I have two cardinal numbers that represent ranges. The 10 base value of that two variables are useless and far from having any meaning for my needs.However the hexa number does have meaning after I'm changing the network order (aka big endian). I can think on many non efficient ways

Re: [fpc-devel] Efficient way to inc loop over hexadecimal values

2006-11-22 Thread ik
On 11/22/06, Dominique Leducq [EMAIL PROTECTED] wrote: ik a écrit : Hi List, I have two cardinal numbers that represent ranges. The 10 base value of that two variables are useless and far from having any meaning for my needs.However the hexa number does have meaning after I'm changing

Re: [fpc-devel] Efficient way to inc loop over hexadecimal values

2006-11-22 Thread ik
On 11/22/06, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: On 11/22/06, Dominique Leducq [EMAIL PROTECTED] wrote: ik a écrit : Hi List, I have two cardinal numbers that represent ranges. The 10 base value of that two variables are useless and far from having any meaning

Re: [fpc-devel] Efficient way to inc loop over hexadecimal values

2006-11-22 Thread ik
On 11/22/06, Dominique Leducq [EMAIL PROTECTED] wrote: On Wed, 22 Nov 2006 16:56:04 +0200 ik [EMAIL PROTECTED] wrote: On 11/22/06, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: On 11/22/06, Dominique Leducq [EMAIL PROTECTED] wrote: ik a écrit : Hi List, I have two

Re: [fpc-devel] Cross compiling issues

2006-11-10 Thread ik
On 11/9/06, Peter Vreman [EMAIL PROTECTED] wrote: On 11/9/06, ik [EMAIL PROTECTED] wrote: On 11/9/06, Peter Vreman [EMAIL PROTECTED] wrote: Hello, When I try to create a cross compile of fpc 2.0.4 to i386 (I'm using amd64 native ubuntu edgy). When I try to compile

[fpc-devel] Small fix for db.pp

2006-11-10 Thread ik
Hi, I found wrong value order in db.pp, and I'm sending a patch to fix that ... Ido -- http://ik.homelinux.org/ Index: db/db.pp === --- db/db.pp (revision 5283) +++ db/db.pp (working copy) @@ -30,7 +30,7 @@ // Used in

[fpc-devel] Translation malling list

2006-11-10 Thread ik
Hi all, I wish to announce the FPC translation malling list. In this malling list, we would like to have a notification on anything regarding the translation of FPC compilers (including the changes for errore.msg). You can post messages to the address of: [EMAIL PROTECTED] Please use this

[fpc-devel] Cross compiling issues

2006-11-09 Thread ik
Hello, When I try to create a cross compile of fpc 2.0.4 to i386 (I'm using amd64 native ubuntu edgy). When I try to compile it as following: make all tar CPU_TARGET=i386 CROSSINSTALL=1 INSTALL_PREFIX=/usr/lib It compiles, until it needs to create a tar file and then I have the following error

Re: [fpc-devel] Cross compiling issues

2006-11-09 Thread ik
On 11/9/06, Peter Vreman [EMAIL PROTECTED] wrote: Hello, When I try to create a cross compile of fpc 2.0.4 to i386 (I'm using amd64 native ubuntu edgy). When I try to compile it as following: make all tar CPU_TARGET=i386 CROSSINSTALL=1 INSTALL_PREFIX=/usr/lib It compiles, until it needs

  1   2   >