Re: [lazarus] My first GUI Application

2008-02-08 Thread ik
On Feb 8, 2008 3:43 PM, Lee Jenkins <[EMAIL PROTECTED]> wrote: > ik wrote: > > Wow, cool application. What version of Asterisk does your manager works > > with ? > > > > Ido > > > > Thanks guys, > > I'm on Asterisk 1.2.12 here at my office

Re: [lazarus] My first GUI Application

2008-02-08 Thread ik
Wow, cool application. What version of Asterisk does your manager works with ? Ido On Feb 8, 2008 7:41 AM, Lee Jenkins <[EMAIL PROTECTED]> wrote: > > I've written several console/daemon apps with Lazarus/Freepascal, but this is > my > first GUI app that really does anything and aside from some g

Re: [lazarus] GTK2 Help [OT]

2008-02-08 Thread ik
Hi, If you can, try to install debian instead (Sorry, I just don't like RH distro's thy sucks imho) ;) You should know that with yum you must first clean the repository cache, and then read it again (as I said, they sucks). The best way is to add a new repository with your rpm's made for centos 4

Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
2008/2/7 wile64 <[EMAIL PROTECTED]>: > See also environnement variable $BROWSER under linux On my machine it is not set (Kubuntu 7.10 amd64)... > > -- > Laurent. > > My Components: http://wiki.lazarus.freepascal.org/Wile64 > French Forum : http://lazforum-fr.tuxfamily.org/index.php Ido -- http:

Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
Hi, On Debian bases system (I don't know on others) there is an alternative that known as x-www-browser that holds the "default" web browser. On Feb 7, 2008 12:18 PM, Antonio Sanguigni <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to create an hyperlink component but I'm having some difficu

[lazarus] Lazaus and inc files

2008-02-01 Thread ik
Hi, I've created a binding using a several inc files, and it seems that Lazarus does not even try to complete code inside such files, not even defenitions inside the inc file such as records. Is it on purpose or there wasn't any supplements to such files ? Thanks, Ido -- http://ik.homelinux.org/

Re: [lazarus] Production quality crosss platform applications

2008-01-28 Thread ik
On Jan 28, 2008 7:13 PM, Sergio Samayoa <[EMAIL PROTECTED]> wrote: > Hi. > > Has someone already put into production lazarus applications which are cross > platform? I have a small propriety application that works well in Linux and Windows that I wrote using LNet and Lazarus that helps me to make

[lazarus] FPDoc tooltip

2008-01-25 Thread ik
Hi, I noticed that I can view comments that where added above a function on lazarus as FPDoc, however, it ignores line breaks inside the comment, and does not wrap text. So I wonder if there is a way to configure this, and/or if there is (like in Eclipse) a tab/window that can display it properly

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-21 Thread ik
Thank you for the information :) Ido On Jan 20, 2008 10:12 PM, Luca Olivetti <[EMAIL PROTECTED]> wrote: > En/na ik ha escrit: > > For someone that does not know arm cpus, what are oabi and eabi ? > > oabi (I don't think that's the proper definition, anyway "o&

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-20 Thread ik
For someone that does not know arm cpus, what are oabi and eabi ? Thanks, Ido On Jan 20, 2008 9:21 PM, Luca Olivetti <[EMAIL PROTECTED]> wrote: > En/na Florian Klaempfl ha escrit: > > > > > It should be enough to build FPC with OPT=-dFPC_ARMEL > > So it's now possible to produce eabi code with fp

[lazarus] OpenMoko and FPC/Lazarus

2008-01-16 Thread ik
Hi, While google suggest rewards for developing applications for Android, there is an open source firmware named OpenMoko (http://openmoko.org/). I asked Michael Shiloh what are some of the requirement in building apps in different compilers (FPC to be exact, and I also mentioned Lazarus :)). Well

Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread ik
Hi, I've binded libsndfile, and you can use it as well : http://ik.homelinux.org/index.rhtml/projects/fpc/sndfile On Jan 16, 2008 10:38 AM, Adrian Maier <[EMAIL PROTECTED]> wrote: > Hello , > > Did anyone integrate sound capabilities into a Lazarus application ? > (in a cross-platform way :-D )

Re: [lazarus] Native debugger

2008-01-15 Thread ik
On Jan 15, 2008 11:00 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Al Boldi schreef: > > Cesar Liws Gmail wrote: > > Check out http://sourceforge.net/projects/mseide-msegui > > > > It's got a nicely integrated debugger, > > AFAIK, it is also a front end to GDB. > > > complete with CpuView and

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
ffer)) You are casting a pointer as a string... The way to convert PChar to a string is to use the function StrPas I believe that it will solve the problem. Ido > > > 2008/1/13, ik <[EMAIL PROTECTED] >: > > I can't see the content, and from quick googeling, i see t

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
t; 40 > TCP 58.251.57.69: 80 -> 192.168.1.100: 3617 TTL= 52 A- > bytes=1300 > TCP192.168.1.100: 3617 -> 58.251.57.69: 80 TTL=128 A- bytes= > 40 > TCP 58.251.57.69: 80 -> 192.168.1.100: 3617 TTL= 52 F--PA- bytes= > 215 > TCP192.1

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
cket.ResponseStatus]) + > ' ' + ASocket.ResponseReason + ', data...'; > end; > > 2008/1/13, ik <[EMAIL PROTECTED]>: > > > > > > > > Do you have LHTTPClientError event ? > > If not, please make sure you have and try to show

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
Do you have LHTTPClientError event ? If not, please make sure you have and try to show any given error... BTW, do you use a sniffer to see how your request is transferring ? Ido On Jan 13, 2008 10:55 AM, wfifi <[EMAIL PROTECTED]> wrote: > some url can get data(example: http://www.google.com/ ),

[lazarus] The Lazarus components

2008-01-12 Thread ik
Hello, For a while now I'm trying to figure out how to write proper component (and also to solve problems of specific components) in Lazarus. One of the component I wish to create is a general Calendar component that will allow me the ability to register different set of dates ... For example Jew

Re: [lazarus] Working with different versions of lazarus

2007-12-27 Thread ik
On Dec 27, 2007 12:55 PM, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > On Thu, 27 Dec 2007 11:27:03 +0100 > > Vincent Snijders <[EMAIL PROTECTED]> wrote: > > > Mattias Gaertner schreef: > > > On Sat, 22 Dec 2007 13:23:11 +0100 > > > Vincent Sni

Re: [lazarus] Module viewer Controller

2007-12-27 Thread ik
On Dec 27, 2007 7:52 AM, Marc Santhoff <[EMAIL PROTECTED]> wrote: > Am Dienstag, den 25.12.2007, 11:02 +0200 schrieb ik: > > Thank you all for answering. > > > > Good to see that other people have needs to ease their development :) > > I see: my capability

Re: [lazarus] Module viewer Controller

2007-12-25 Thread ik
Thank you all for answering. Good to see that other people have needs to ease their development :) Ido On Dec 24, 2007 4:39 PM, <[EMAIL PROTECTED]> wrote: > Quoting ik <[EMAIL PROTECTED]>: > > > Hello, > > > > I do not know if Lazarus or fpc-pascal is the r

[lazarus] Module viewer Controller

2007-12-23 Thread ik
Hello, I do not know if Lazarus or fpc-pascal is the right malling list... Anyway, I'm looking for an implementation of MVC for FPC/Lazarus. Does anyone knows about any implementation of that technique in FPC/Lazarus ? Thanks, Ido -- http://ik.homelinux.org/ ___

Re: [lazarus] XML Config

2007-12-22 Thread ik
Try this: cfg: TXMLConfig.Create(nil); cfg.Filename := 'myconfig.xml'; Ido On Dec 22, 2007 10:42 PM, Igor Pokorny <[EMAIL PROTECTED]> wrote: > Hello friends, > I would like to know how to open existing XML file for TXMLConfig. > > Thomas Zastrow's tutorial suggests to use > > cfg := TXMLConfig.

Re: [lazarus] Working with different versions of lazarus

2007-12-22 Thread ik
On Dec 21, 2007 12:27 AM, Vincent Snijders <[EMAIL PROTECTED]> wrote: > ik schreef: > > Hello, > > > > My "stable" version of lazarus is 0.9.24, however I do check Lazarus > > svn from time to time, and usually I change the .lazarus directory > &g

[lazarus] Working with different versions of lazarus

2007-12-20 Thread ik
Hello, My "stable" version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell Lazarus to store information regarding he specific version I'm using instead of working like

[lazarus] SVN components

2007-12-18 Thread ik
Hello, Is there any SVN components/library for Lazarus/FPC ? Thanks Ido -- http://ik.homelinux.org/ _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.

[lazarus] public variable and gdb

2007-12-14 Thread ik
Hello, I'm not sure if this is the right malling list, or not... Anyway I'm using FPC 2.2.0 and Lazarus 0.9.24 on Linux. I have a public variable (that is accessed by several methods on specific events), but when I try to debug my code, gdb gives me (inside Lazarus) the following error: No symbo

Re: [lazarus] MySQL Queries using Lazarus

2007-12-12 Thread ik
On Dec 12, 2007 2:39 PM, John <[EMAIL PROTECTED]> wrote: > Joost van der Sluis wrote: > > Op woensdag 12-12-2007 om 22:51 uur [tijdzone +1100], schreef John: > > > >> ik wrote: > >> > >>> One small note, you have an SQL injection at your code. I

Re: [lazarus] MySQL Queries using Lazarus

2007-12-11 Thread ik
One small note, you have an SQL injection at your code. I recommend you to use parameters as how to add the values, but prior to that, you should check to see if there are invalid chars, and trim them. That way, you can avoid a lot of problems. Ido On Dec 12, 2007 1:54 AM, el stamatakos <[EMAIL P

Re: [lazarus] Bad news

2007-11-12 Thread ik
On Nov 12, 2007 4:01 PM, Giuliano Colla <[EMAIL PROTECTED]> wrote: > 12 12 ha scritto: > >> Not really bad news. I, for myself, would never have paid the full > > price > >> for a useless license, but 300$ to get the souvenir of once a great > >> thing now dying, to put in a frame, hang to the wall

Re: [lazarus] Using SDL.framework within Lazaru project

2007-10-30 Thread ik
On 10/30/07, Dominique Louis <[EMAIL PROTECTED]> wrote: > Hi Philip, >Thanks for pointing this out. On the Mac that option was being > hidden due to the dialog size, so I could not see the area where I > needed to put the framework. This is now entered, but I now get a > "Unable to find sdl" er

Re: [lazarus] Delphi Source/Samples/*.pas units

2007-10-30 Thread ik
On 10/30/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > To ALL developers, > > I got confirmation from Dave Nottage on the borland non-technical > newsgroup that ALL source code included in Delphi are copyright > material, including the sample units. Only files mentioned in the > deploy text fi

Re: [lazarus] Anybody using FVWM window manager?

2007-10-24 Thread ik
On 10/24/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 24/10/2007, ik <[EMAIL PROTECTED]> wrote: > > > > I believe this is a "feature" of FVWM (I never used it for a long time > > though, so I'm not sure). The "title" is a new wind

Re: [lazarus] Anybody using FVWM window manager?

2007-10-24 Thread ik
Hi, I believe this is a "feature" of FVWM (I never used it for a long time though, so I'm not sure). The "title" is a new window that is attached to your window at X11 protocol. So I believe that some properties of a windows in the xlib level will cause different visibility in different WM. On 10

Re: [lazarus] Type definition issues

2007-10-19 Thread ik
Hi, On 10/19/07, Vladimir Aksenov <[EMAIL PROTECTED]> wrote: > Hi, i'm trying to compare some Delphi based sources with Lazarus and > failed > Seems that i found the reason, but couldnt overcome it. > > it seems that its in type definition mechanism of FPC (maybe its tunable > but i've no id

[lazarus] Synedit syntax highlight

2007-10-11 Thread ik
Hello, Is there a guide or example with comments that explains how to create syntax highlight to SynEdit ? And does SynEdit support multiple syntax highlight in one source ? That is for example, PHP with CSS Javascript and HTML all in one syntax highlighter ? Thanks, Ido -- http://ik.homelinu

[lazarus] Converting Delphi component to Lazarus

2007-10-06 Thread ik
Hi, Long ago (in 2003) I developed the following component : http://cc.codegear.com/Item/19974 . I wish to convert it to Lazarus and to make it platform based. That is, also make it use X (and might be also for other platforms). My questions are: 1. What do I need to know in order to convert it i

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-05 Thread ik
On 10/5/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > On Fri, 05 Oct 2007 16:00:41 +0800 > Paul Ishenin <[EMAIL PROTECTED]> wrote: > > > Graeme Geldenhuys wrote: > > > Does this mean UTF-8 was chosen only because it is more compatible > > > with existing pascal programs? Any other reasons? > >

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-01 Thread ik
Hi, I'm using my memory here, so I might remember it wrongly... There is a difference between a scan code, and the actual char. to "know" the actual char, you need to know what is the language layout that you are at. There is an X "debug" program to know what scan code was pressed and it's value

Re: [lazarus] Syntax parser vs compiler

2007-09-23 Thread ik
Thank you, it does work :) Ido On 9/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > On Sat, 22 Sep 2007 12:58:33 +0200 > ik <[EMAIL PROTECTED]> wrote: > > > On 9/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > > On Sat, 22 Sep 2007 12:33:5

Re: [lazarus] Syntax parser vs compiler

2007-09-22 Thread ik
On 9/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > On Sat, 22 Sep 2007 12:33:57 +0200 > ik <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I'm using Lazarus (latest svn version) with GTK2, FPC 2.2.0, on linux > > amd64. > > > > I

[lazarus] Syntax parser vs compiler

2007-09-22 Thread ik
Hi, I'm using Lazarus (latest svn version) with GTK2, FPC 2.2.0, on linux amd64. I have written in a class (mode of objfpc), a class function and the syntax parser of Lazarus keep on having the following error: ### TCodeToolManager.HandleException: "identifier expected, but class found" at Line=

Re: [lazarus] UTF-8 input handling

2007-09-22 Thread ik
Oh, I forgot to add the links :) http://unicode.org/reports/tr9/ http://unicode.org/faq/bidi.html On 9/22/07, ik <[EMAIL PROTECTED]> wrote: > On 9/21/07, zaher dirkey <[EMAIL PROTECTED]> wrote: > > >I wonder how could Right-To-Left work on the code editor. > > You

Re: [lazarus] UTF-8 input handling

2007-09-22 Thread ik
On 9/21/07, zaher dirkey <[EMAIL PROTECTED]> wrote: > >I wonder how could Right-To-Left work on the code editor. > You mean Right-To-Left in SynEdit, Especially in strings and comments. > I think mixing LTR and RTL in same text will be complex to read it. That's why people invented Bidi (Bi-Direct

[lazarus] GTK2 on Windows

2007-09-20 Thread ik
Hello, I'm looking for a way to make a GTK2 based program that will also be executed on Windows (using GTK2). I could not find any reference for GTK2 to be able to execute under Windows (I mean using Lazarus). Does Lazarus have a support for GTK2 in Windows ? Thanks, Ido -- http://ik.homelinux.

[lazarus] Lazarus with GTK2 and Hebrew

2007-09-13 Thread ik
Hi, I have very recently (two days ago) rebuilt Lazarus (svn) with GTK2, and made some tests with it. So even if you do not know Hebrew, you can still look at the screen shout :) http://idkn.blogli.co.il/archives/82 Thank you, Ido -- http://ik.homelinux.org/ __

Re: [lazarus] FPC 2.2 article made it onto OSNews.com

2007-09-11 Thread ik
On 9/11/07, Giuliano Colla <[EMAIL PROTECTED]> wrote: > ik ha scritto: > > >On 9/11/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > > > > >>Nicely done Joost! > >> > >>http://www4.osnews.com/story/18592/Cross-Platform_Developmen

Re: [lazarus] FPC 2.2 article made it onto OSNews.com

2007-09-11 Thread ik
On 9/11/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Nicely done Joost! > > http://www4.osnews.com/story/18592/Cross-Platform_Development_with_Free_Pascal_2.2.0 > > ... or a shorter link: http://tinyurl.com/ywzyvr I have translated the article to Hebrew, if there are anyone that interested

Re: [lazarus] Lazarus and QT4

2007-09-01 Thread ik
On 9/1/07, zeljko <[EMAIL PROTECTED]> wrote: > On Friday 31 August 2007 22:46, ik wrote: > > Hi, > > > > I'm using Lazarus with QT4 from latest revision (11893) using fpc > > 2.1.4 on amd 64 linux. > > The latest work on the QT4 really works much

[lazarus] Lazarus and QT4

2007-08-31 Thread ik
Hi, I'm using Lazarus with QT4 from latest revision (11893) using fpc 2.1.4 on amd 64 linux. The latest work on the QT4 really works much better, however there is one big problem: The keyboard when the editor is in place is really slow, and it takes a second or two to see any result back. Is there

Re: [lazarus] Critical BUG in TBits class!

2007-08-31 Thread ik
On 8/31/07, Skybuck Flying <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "ik" <[EMAIL PROTECTED]> > To: > Sent: Friday, August 31, 2007 11:01 AM > Subject: Re: [lazarus] Critical BUG in TBits class! > > > > Hi Please see

Re: [lazarus] Critical BUG in TBits class!

2007-08-31 Thread ik
Hi Please see my code inline On 8/31/07, 12 12 <[EMAIL PROTECTED]> wrote: > I tried to include sophisticated unit with math operations into my > project. > The unit worked fine in Delphi. > But in Lazarus it get error when call TBits.SetSize(0): > "Invalid bit index -1". > I go to implementation o

Re: [lazarus] utf8toansi and others seem don't work

2007-08-23 Thread ik
On Latin chars and every ANSI char (that is 255 chars) you will never notice the difference because the number of bytes... Please note that UTF-8 is up to 4 bytes per char. Ido On 8/23/07, fedorax <[EMAIL PROTECTED]> wrote: > Hello, > > Whith actuals versions of lazarus this fonction: > > Fo

Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread ik
I'm guessing, but it might be because I'm using amd64 and there is only a directory for i386, that it can't find and just ignore the repository or something ... Ido On 8/18/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > ik schreef: > > Hi Vincent, > > >

Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread ik
Hi Vincent, When I'm trying to get the repository, apt is unable to have it: Get:5 http://www.hu.freepascal.org lazarus-stable Release.gpg [191B] Ign http://www.hu.freepascal.org lazarus-stable/universe Translation-he Are there any rules for locales on your http server ? Anyway my locales (if nee

Re: [lazarus] Unicode support and fonts

2007-07-15 Thread ik
On 7/16/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: Hi, I was studying more about the unicode support, and I compiled my lcl for the partial unicode support available and tryed to run one form with 1 button, 1 label and 1 edit, with this code: procedure TForm1.Button1Click(Sender

Re: [lazarus] international dates

2007-06-02 Thread ik
Hi Michael, Does your unit also calculate the week from the first day to the last day according to the system ? For example, here Sunday is the first day of the "regular" week, while on Europe and the US, it's Monday. I wrote once a Delphi extension for such calculation without using the OS API,

[lazarus] Lazarus translations

2007-05-22 Thread ik
Hi, There used to be a place where I could paced the compiled po files, so the translation will take be applied. I'm unable to locate such place for my additional translation. What am I missing ? Ido -- http://ik.homelinux.org/ _

Re: [lazarus] Image from SQL

2007-05-16 Thread ik
Hi, Why not to use the FPC's unit of BASE64 ? it works on streams. Or am I missing something ? Ido On 5/16/07, A.J. Venter <[EMAIL PROTECTED]> wrote: So - second attempt at implementing it... same sad result - only now the XPM fails as well... This is my now somewhat improved code... am I mis

Re: [lazarus] Image from SQL

2007-05-16 Thread ik
On 5/16/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Wed, 16 May 2007, ik wrote: > On 5/16/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > What DBMS where you using? Firebird has no such issue. I store loads > > of PNG and JPG images in binary Blob

Re: [lazarus] Image from SQL

2007-05-16 Thread ik
require to give a very fast diagnostic for any problem (sometimes without direct access at all) and to solve it. I found out that it's easier to fix database that stores images using base64 text blobs then binary. Graeme. Ido On 5/15/07, ik <[EMAIL PROTECTED]> wrote: > Many o

Re: [lazarus] Image from SQL

2007-05-15 Thread ik
Oracle, apart from IMP/EXP and new (for 10g) data pump, you can use RMAN and other database methods. I don't known much about postgres but I guess has nice backup utilities. If you are too lazy to learn how really your RDBMS works don't recommend bad practices. -Mensaje original

Re: [lazarus] Image from SQL

2007-05-15 Thread ik
e that PosgreSQL will work well with binary blob including backups and restores ... Ido On Tue, 2007-05-15 at 17:26 +0300, ik wrote: > Many of the database backup and restore tools backup the data as sql dump. > The binary image can not be restored "as-is" in that sql dump. > I

Re: [lazarus] Image from SQL

2007-05-15 Thread ik
I learned from expirence :) Ido On 5/15/07, Sergio Samayoa <[EMAIL PROTECTED]> wrote: Why text? Database's software must provide backup & restore utilities which can handle binary data. -Mensaje original- De: ik [mailto:[EMAIL PROTECTED] Enviado el: Martes, 15 de May

Re: [lazarus] Image from SQL

2007-05-15 Thread ik
Hi, You are looking for blob. I recommand you to store the image a base64 on a text blob rathet then a binary blob. The reason is simple.. backup and restore of data. Ido On 5/15/07, A.J. Venter <[EMAIL PROTECTED]> wrote: Hi all, I would like to be able to store images inside a postgresql tabl

Re: [lazarus] rotated text

2007-05-13 Thread ik
Hi, Try the following code : ... uses ... GTK, gdkpixbuf ... function gdk_pixbuf_rotate_simple(pixbuf : PGdkPixbuf; angle : longint) : PGdkPixbuf; external 'libgdk-x11-2.0.so' name 'gdk_pixbuf_rotate_simple'; Ido On 5/13/07, Fujimaki Haruyuki <[EMAIL PROTE

Re: [lazarus] rotated text

2007-05-12 Thread ik
de On 5/12/07, Fujimaki Haruyuki <[EMAIL PROTECTED]> wrote: ik wrote: > Hi, > > On GTK2.6 you can try and use the gdk_pixbuf_rotate_simple () function > > Ido Thanks. It seems similar to QPainter_rotate. How can I call the function from FreePascal? I googled, but could n

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread ik
t only minor version. GTK1.2 only support Latin1. The fact that it can run under different locales, still does not mean it can work properly with it (as I said above). Ido On 5/12/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: On Sat, 12 May 2007 16:18:42 +0300 ik <[EMAIL PROTECTED]> w

Re: [lazarus] rotated text

2007-05-12 Thread ik
Hi, On GTK2.6 you can try and use the gdk_pixbuf_rotate_simple () function Ido On 5/12/07, Fujimaki Haruyuki <[EMAIL PROTECTED]> wrote: Hello, I would like to draw rotated text on TImage.Canvas. In Delphi/Kylix, we have done it with TLogFont/QPainter_rotate. Is there equivalent class or proce

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread ik
Hi, GTK1.2 does not support Unicode and UTF8 charset at all, only latin1. And AFAIK it's deprecated and not under development anymore. Ido On 5/12/07, Luis R. Hilario B. <[EMAIL PROTECTED]> wrote: 2007/5/12, ik <[EMAIL PROTECTED]>: > Hi, > > I have few questio

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread ik
Hi, I have few questions for you : 1. What UTF (7,8,16,32) ? 2. What font are you using to display, and what GUI toolkit (GTK1.2,QT, GTK2 ...) ? 3. What is the GUI toolkit that your lazarus is using (same as the above) ? 4. How did you add the char, and what is it's type (Char, String, WideString

Re: [lazarus] po files and utf8

2007-03-31 Thread ik
Hello, There might be two reasons (that I can think of at the moment): 1. The font does not have the right char entry value. 2. Your decoding giving you the wrong values. Ido On 3/31/07, Sebastian Kraft <[EMAIL PROTECTED]> wrote: anyone can give me some hints? I couldn't solve this in the mean

Re: [lazarus] Headless sip client?

2007-03-30 Thread ik
Have you tried using it using dcop ? Ido On 3/30/07, Luca Olivetti <[EMAIL PROTECTED]> wrote: En/na ik ha escrit: > Hi, > > Please try the soft-phone called twinkle (by the house of KDE), or if > you simply wish to create tests for SIP, use SIPp > (http://sipp.sourcefor

Re: [lazarus] Headless sip client?

2007-03-30 Thread ik
Hi, Please try the soft-phone called twinkle (by the house of KDE), or if you simply wish to create tests for SIP, use SIPp (http://sipp.sourceforge.net/). Ido On 3/30/07, Luca Olivetti <[EMAIL PROTECTED]> wrote: En/na Luca Olivetti ha escrit: > Hello, > > I'm trying to use an usb phone under

Re: [lazarus] PostgreSQL

2007-03-28 Thread ik
Then the answer is really simple. You do not close your connection when you close your program. Further more, you open your connection at design time, rather then at run time. Ido On 3/29/07, Darmawan Sugiarto <[EMAIL PROTECTED]> wrote: It's OK... now I know If I don't have this error if I comp

Re: [lazarus] Headless sip client?

2007-03-27 Thread ik
Hello, I have a plan to implement both IAX2 and SIP in natural protocol using FPC (at the moment i only have a problem for lack of time) . The implementation will use LNET rather then any havy library. Having said that, now to your questions. Why won't you use softphone rather then usb VOIP ph

Re: [lazarus] OT: Döner was Re: Ideas to implement AllocateHwnd

2007-02-26 Thread ik
On 2/26/07, Henry Vermaak <[EMAIL PROTECTED]> wrote: On 26/02/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > One interresting thing is that the most popular brazilian fast food > restaurant is called Habib´s , and serves arabian food. The food is > somewhat similar, but also not tha

Re: [lazarus] Ideas to implement AllocateHwnd

2007-02-25 Thread ik
Hi, Both X and Windows support such actions. On X you can create a window that it's entire porpose is to have events. And as you mentioned, Windows also support such thing. On Windows there is a usage of AllocateHwnd in order to have events for things such as System Tray. But my X programming sk

Re: [lazarus] XML and ThunderBird

2007-02-10 Thread ik
Hi, Regarding the XML question, the HTML you have posted is a broken XML that is, it is not xhtml, and some tags (such as your are not closed -> ) Ido On 2/10/07, Nataraj S Narayan <[EMAIL PROTECTED]> wrote: Hi I am planning to implement Purchase requisition over E-mail, using Thunderbird Cl

Re: [lazarus] Lazarus AMD64 version bug ?

2007-01-17 Thread ik
I also have this problem. If you will look at my email about it, you can find more details what causing it. Ido On 1/18/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Hello, Clicking the middle mouse button in the Lazarus editor window crashes the IDE with a 'Segmentation fault' if it's co

[lazarus] Range check error

2007-01-13 Thread ik
Hi, By compiling Lazarus with GTK1.2 (and actually on any other interface) I'm getting the following exception: An unhandled exception occurred at $004F0108 : ERangeError : Range check error $004F0108 INTERNALINIT, line 850 of graphtype.pp $004F022D GRAPHTYPE_init,

Re: [lazarus] FPC Incompatible types error

2007-01-12 Thread ik
On 1/13/07, Mohamed A. Hammady <[EMAIL PROTECTED]> wrote: Hi all, I have the following types declaration type LongIntRA = array [1..1] of LongInt; LongIntp = ^LongIntRA; . . . Procedure test; var lLongRA: LongIntp; Pos: Longint; Begin . . . lLongRA[1] := Pos; . . . End; When I compli

[lazarus] Exception when running Lazarus for QT

2007-01-12 Thread ik
Hi, I compiled lazarus for QT from revision 10433, and when I start Lazarus, it have an exception: An unhandled exception occurred at $00498D48 : ERangeError : Range check error $00498D48 INTERNALINIT, line 850 of graphtype.pp $00498E6D GRAPHTYPE_init, line 861 of g

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins <[EMAIL PROTECTED]> wrote: ik wrote: > > Good luck, and if you can please share your sources :) > Please find attached a simple unit to use for now. I will be finishing the more robust version in a few days (weeks?) as time permits. Cool, a qu

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins <[EMAIL PROTECTED]> wrote: ik wrote: > On 12/30/06, Lee Jenkins <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I'm try to write a console application that interfaces with Asterisk >> PBX. The pbx communicates with

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins <[EMAIL PROTECTED]> wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry for the question, but are you on the right library to use AGI ? The problem

Re: [lazarus] Base64 examples?

2006-12-14 Thread ik
Hi, FPC comes with four Examples: ./fcl/tests/b64enc.pp ./fcl/tests/b64.pp ./fcl/tests/b64test.pp ./fcl/tests/b64test2.pp But the thing is, that there is no difference between TBase64Encoding to any other stream existed. On 12/14/06, Lee <[EMAIL PROTECTED]> wrote: Hi, Is there any examples

[lazarus] Auto complete inside strings

2006-12-01 Thread ik
Hi, I'm using Lazarus 0.9.20, and when I'm inside a string and write text, I'm getting locked from moving, and having word complete when I'm adding dot. Is this a bug ? If not, how can I disable this behavior when inside a string ? Thanks, Ido -- http://ik.homelinux.org/ _

[lazarus] TIpHtmlPanel And Streams

2006-11-14 Thread ik
Hi, Has anyone on the list used TIpHtmlPanel and streams as the html and images content ? I'm looking for example on how to do so without rewriting the OpenURL procedure. Thanks, Ido -- http://ik.homelinux.org/ _ To unsubscri

Re: [lazarus] UTF-8 vs Unicode - Could someone explain?

2006-10-20 Thread ik
On 10/20/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Ok, I'll start up front by announcing my ignorance on these two items: UTF-8 and Unicode. After reading some discussions of implementing Unicode/UTF-8 support in Lazarus I thought I would ask. Could someone give the watered down explanat

Re: [lazarus] Paste makes Lazarus hangs

2006-10-19 Thread ik
address 0x8000ffee68d8 ) at interfacebase.inc:42 #29 0x00437d27 in TAPPLICATION__RUN (this=Cannot access memory at address 0x8000ffee6918 ) at application.inc:1008 #30 0x0040fb95 in main () at lazarus.pp:99 On 9/18/06, Andrew Haines <[EMAIL PROTECTED]> wrote: ik wrote

Re: [lazarus] TBitmap

2006-10-19 Thread ik
fault location that it was created in the first place. const xpm ='/home/ik/gtodo.xpm'; procedure TForm1.Button1Click ( Sender: TObject ) ; begin hide; Icon.LoadFromFile(xpm); show; end; procedure TForm1.Button2Click ( Sender: TObject ) ; var ico : TIcon; begin hide; ico

Re: [lazarus] TBitmap

2006-10-19 Thread ik
On 10/19/06, Chad Crabtree <[EMAIL PROTECTED]> wrote: I would like to change the icon that shows up on the on the upper left of the form. self.form1.icon := TIcon afaik It will change the icon on run time ... It would be cooler still if the icon showed up over the executable. I know this ca

Re: [lazarus] Minimal FPC compiler to compile FPC sources

2006-10-02 Thread ik
On Linux with package manager you can take only the fpc compiler without the rest of the packages ... Ido On 10/2/06, Al Boldi <[EMAIL PROTECTED]> wrote: Is there a minimal/small (Linux/Windows/...) FPC compiler that can compile FPC from the sources, instead of downloading a fully blown pre-co

Re: [lazarus] Send files to trash

2006-10-01 Thread ik
On 10/1/06, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: On 10/1/06, Arí Ricardo Ody <[EMAIL PROTECTED]> wrote: > I'm writting an application that delete files. Instead of delete them I would like to put them in the trash. How can I send files to trash? I went to www.tamaracka.com and

Re: [lazarus] avoiding multi-instance detection

2006-09-28 Thread ik
Another way, that is easier to control, is to use mutexes. Mutex is a place in memory that is locked until someone free it. So you can check if that place (usually mapped to a name, alto I do not remember at the moment how Linux implement it) exists, and if so, you stop your own execution, otherwi

Re: [lazarus] UTF-8 application

2006-09-24 Thread ik
Hi, The problem is not the multi-lingual, but the cross platform... Windows for example keep changing the way it handles languages on each version that is coming out. For example, my language on Windows 95 saved in reverse, on Windows 98, added support for direct as default, on XP, it's pure UTF

Re: [lazarus] Screenshot tool under Linux

2006-09-22 Thread ik
Gnome in Ubuntu by default have mapped the key print screen to capture your screen, but personally I like all the others prefer ksnapshot :) Ido On 9/22/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Does anybody know if there is a similar tool to MWSnap but for Linux? Or how I could write su

Re: [lazarus] How Can Lazarus Generate Excel ?

2006-09-22 Thread ik
Newer Excel (I don't remember from what exact version), have their own *XML* syntax: http://www.microsoft.com/office/xml/default.mspx And it seems that Microsoft try to make it even a standard format :) Ido On 9/22/06, Jonathan Chiu <[EMAIL PROTECTED]> wrote: Want to prepare some reports(with

[lazarus] Paste makes Lazarus hangs

2006-09-17 Thread ik
Hi, I'm using Lazarus from revision 9918 on FPC 2.0.4 on Ubuntu Linux x86_64 with gtk 1.2 (and gnome if that matters). I tried to paste text into Lazarus's editor from the temporary clipboard of X using a mouse. The result caused Lazarus to hang, with high memory usage, and made itself to be on

  1   2   >