Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Vincent Snijders wrote: I think lazarus support is fine. I will test later tonight (no time now). Setting up the build environment takes longer than expected. I think most things can be done by carefully setting up the environment (fpc.cfg and

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Vincent Snijders
Yury Sidorov wrote: From: Vincent Snijders [EMAIL PROTECTED] Vincent Snijders wrote: I think lazarus support is fine. I will test later tonight (no time now). Setting up the build environment takes longer than expected. I think most things can be done by carefully setting up the

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Yury Sidorov wrote: From: Vincent Snijders [EMAIL PROTECTED] Vincent Snijders wrote: I think lazarus support is fine. I will test later tonight (no time now). Setting up the build environment takes longer than expected. I think most things can

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Darius Blaszijk
A.J. I've browsed through the list and find that some icons are missing (packages / run / among others). But I guess we could use the existing ones here. Another thing is that the icons all are 16x16 in size. There should be a 22x22 equivalent though also included. Just have a look at the

Re: [lazarus] setColor part 3

2006-03-05 Thread Mattias Gaertner
On Sat, 04 Mar 2006 23:37:08 +0100 darekM [EMAIL PROTECTED] wrote: Well, a theme bug... guess the theme author must go hide really well now :) And usually then it isn't a TGroupBox any more but a TAlertableFrame that is derived from TGroupBox and has some extra style properties like

Re: [lazarus] setColor part 3

2006-03-05 Thread A.J. Venter
It's much simpler to implement one custom drawing function for a control, then to map to various themed widgetsets. The LCL took the difficult and more complex approach. Other people can contribute custom drawn controls. I wonder, why there is not already a package providing some custom drawn

Re: [lazarus] TRunInThread - Progress, but new problem

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, A.J. Venter wrote: On Sunday 05 March 2006 08:43, A.J. Venter wrote: Well since my last mail on this a few weeks ago, I have made quite a bit of progress in my attempts to create a component that will allow me to call a tprocess in a thread while retrieving the output

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread Markku Niskanen
On Sun, 5 Mar 2006 03:50:47 -0300, Flávio Etrusco [EMAIL PROTECTED] wrote: I guess it's not so hugely useful or else someone would have contributed it already. This is much more important in Java because the String objects are constant/immutable and thus can't be This is very true I have never

Re: [lazarus] TRunInThread - Progress, but new problem

2006-03-05 Thread A.J. Venter
I checked the lpr, it calls cthreads. I checked lazarus.pp - that too calls cthreads, the only thing I can imagine is that I must somehow call cthreads in olpack, putting it in olpack.lpk doesn't work - lazarus recreates the file on compile/save apparently, putting it in runinthread.pas

Re: [lazarus] button icons for lazarus

2006-03-05 Thread A.J. Venter
Well I wasn't trying to extend the IDE, but to give a tool for USERS of the IDE, specifically to give replacements for the standard icons that delphi shipped with. These are not really meant for use INSIDE the IDE, but are meant to be available to people coding WITH the IDE. For

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, A.J. Venter wrote: On Sunday 05 March 2006 11:02, Darius Blaszijk wrote: A.J. I've browsed through the list and find that some icons are missing (packages / run / among others). But I guess we could use the existing ones here. Another thing is that the icons all

Re: [lazarus] button icons for lazarus

2006-03-05 Thread rstar
A.J. Venter wrote: Well I wasn't trying to extend the IDE, but to give a tool for USERS of the IDE, specifically to give replacements for the standard icons that delphi shipped with. These are not really meant for use INSIDE the IDE, but are meant to be available to people coding WITH the IDE.

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, Mattias Gaertner wrote: On Sun, 5 Mar 2006 11:25:30 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 5 Mar 2006, A.J. Venter wrote: On Sunday 05 March 2006 11:02, Darius Blaszijk wrote: A.J. I've browsed through the

Re: [lazarus] button icons for lazarus

2006-03-05 Thread rstar
Mattias Gaertner wrote: On Sun, 5 Mar 2006 11:25:30 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 5 Mar 2006, A.J. Venter wrote: On Sunday 05 March 2006 11:02, Darius Blaszijk wrote: A.J. I've browsed through the list and find that some

Re: [lazarus] button icons for lazarus

2006-03-05 Thread A.J. Venter
On Sunday 05 March 2006 14:13, Darius Blaszijk wrote: We should have fixed sizes (16x16, 24x24, etc.) not scaled sizes which are looking ugly. It makes no sense to use more than two sizes inside an app. 16x16 - menuitems, treeviewitems, listviewitems, small toolbars buttons 22x22 or

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Darius Blaszijk
I've browsed through the list and find that some icons are missing (packages / run / among others). But I guess we could use the existing ones here. Another thing is that the icons all are 16x16 in size. There should be a 22x22 equivalent though also included. Just have a look at the

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Darius Blaszijk
- Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Sunday, March 05, 2006 2:07 PM Subject: Re: [lazarus] button icons for lazarus On Sun, 5 Mar 2006 13:35:03 +0100 Darius Blaszijk [EMAIL PROTECTED] wrote: I've browsed through the list

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Mattias Gaertner
On Sun, 5 Mar 2006 14:13:50 +0100 Darius Blaszijk [EMAIL PROTECTED] wrote: - Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Sunday, March 05, 2006 2:07 PM Subject: Re: [lazarus] button icons for lazarus On Sun, 5 Mar 2006 13:35:03

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Marc Weustink
Yury Sidorov wrote: Also there should be an option to setup a debugger for each target. There is gdb which allows to remotely debug wince applications from win32 host. The type of debugger is not really dependent on the target. In this case we need a remote debugger class which isn't

[lazarus] Lazarus component documentation

2006-03-05 Thread Uwe Grauer
Hi, Where can i download documentation about lazarus components? Are the lazarus components similar enough to Delphi to actually use the Delphi docs? Regards, Uwe _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Lazarus component documentation

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, Uwe Grauer wrote: Hi, Where can i download documentation about lazarus components? Are the lazarus components similar enough to Delphi to actually use the Delphi docs? Yes, unless you want to create custom descendents. Michael.

Re: [lazarus] Lazarus component documentation

2006-03-05 Thread Uwe Grauer
Michael Van Canneyt wrote: On Sun, 5 Mar 2006, Uwe Grauer wrote: Hi, Where can i download documentation about lazarus components? Are the lazarus components similar enough to Delphi to actually use the Delphi docs? Yes, unless you want to create custom descendents. Michael.

Re: [lazarus] Lazarus component documentation

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, Uwe Grauer wrote: Michael Van Canneyt wrote: On Sun, 5 Mar 2006, Uwe Grauer wrote: Hi, Where can i download documentation about lazarus components? Are the lazarus components similar enough to Delphi to actually use the Delphi docs? Yes, unless you want

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-05 Thread Christian U.
you just have to install gdk and gtk devel packages just search on yast for gdk and gtk and install the devel packages works fine for me. another problem on suse is that the language settings are always on utf-8 maybe thats no problem for english distributions. on my german i had to set the

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Felipe Monteiro de Carvalho
On 3/5/06, Yury Sidorov [EMAIL PROTECTED] wrote: Rename ppcrossarm to ppcarm. But ppcrossXXX is standard naming for cross compilers and ppcXXX is standard for native compilers. So fpc should be changed to correspond current namings. I agree with Yury on this. Althought renaming could be a

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Yury Sidorov
From: Marc Weustink [EMAIL PROTECTED] Yury Sidorov wrote: From: Vincent Snijders [EMAIL PROTECTED] Yury Sidorov wrote: [snip] 4. Lazarus should have an ability to specify debugger settings for each target CPU/OS. I do not understand this, please elaborate. At least debugger type and

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: On 3/5/06, Yury Sidorov [EMAIL PROTECTED] wrote: Rename ppcrossarm to ppcarm. But ppcrossXXX is standard naming for cross compilers and ppcXXX is standard for native compilers. So fpc should be changed to correspond current namings. I agree with Yury on

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, L505 wrote: for very large strings that constantly change via concatenations. Instead of reserving memory for the ansistring to whatever amount you request, the stringbuffer type would reserve extra memory for you in a specifyable increment (256K, 128K, 20K,

[lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
I need to get information regarding system, such as user login name, OS Version/Distribution, Hard drive serial number, etc. (OS indepented). Can anyone direct me where to find infomation and/or samples on this? Panagiotis _

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread L505
I guess it's not so hugely useful or else someone would have contributed it already. Mmm... if that was the case I wouldn't be programming because everyone has already implemented what I'm trying to program :-) Seriously though - it would mean less calls to SetLength when doing big

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, L505 wrote: I guess it's not so hugely useful or else someone would have contributed it already. Mmm... if that was the case I wouldn't be programming because everyone has already implemented what I'm trying to program :-) Seriously though - it would

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread L505
But I mean if you are doing things at different times in the program: for i := 1 to 1000 DoSomestuff s:= string + string; DoOtherStuff s:= string + string; in other words.. not one big concatenation at once such as: string.concatenate(string1, string2, string3,

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, L505 wrote: But I mean if you are doing things at different times in the program: for i := 1 to 1000 DoSomestuff s:= string + string; DoOtherStuff s:= string + string; in other words.. not one big concatenation at once such as:

Re: [lazarus] System Information

2006-03-05 Thread Darius Blaszijk
There's no OS independent way to do this that I know of, but the getting the OS version on win32 goes like this; Darius function GetWin32Version: string; var verInfo: TOSVersionInfo; WinVersion: string; begin verInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo); if

Re: [lazarus] button icons for lazarus

2006-03-05 Thread Darius Blaszijk
I will take a look. Of course we should rename it then. For example StdImages.pas. And of course using one item in an appliation should not include 50 others as well. Well yes, that was my thinking too, but perhaps we could generate a single unit per image and use that in

Re: [lazarus] System Information

2006-03-05 Thread Felipe Monteiro de Carvalho
I get Windows version like this: type TVersaoDoWindows = ( vwDesconhecida, // Informações simplificadas Serie9x, // 32s em 3.11, 95, 98 e Me SerieNT, // NT 3.51, NT, 2000 e XP // Informações completas vwWin32sEm311, vwWinNT351, vwWin95, vwWinNT,

Re: [lazarus] Object pascal a Modern Language

2006-03-05 Thread L505
Sl:=TStringList.Create; for i := 1 to 1000 do begin DoSomestuff; SL.Add(SomeString); DoOtherStuff; SL.Add(SomeOtherString); end; Result:=SL.Concatenate; // This can be optimized to 1 getmem call. Michael. I suppose this is sort of like SetTextBuff

{SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
Thanks a lot for information. Now I'm seeking for similar information under Linux and MacOS. Any help would be most appreciated. Panagiotis Στις 05-03-2006, ημέρα Κυρ, και ώρα 18:09 +0100, ο/η Darius Blaszijk έγραψε: There's no OS independent way to do this that I know of, but the getting the

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Yury Sidorov
From: Marc Weustink [EMAIL PROTECTED] Yury Sidorov wrote: From: Marc Weustink [EMAIL PROTECTED] Yury Sidorov wrote: From: Vincent Snijders [EMAIL PROTECTED] Yury Sidorov wrote: [snip] 4. Lazarus should have an ability to specify debugger settings for each target CPU/OS. I do not

{SPAM?} Re: {SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
I had problems again receiving messages to the list since yesterday noon. Today I had to re-subscribe in order to get alive again. Now, a reply from me considered as potential SPAM. Does anyone know why? Panagiotis Στις 05-03-2006, ημέρα Κυρ, και ώρα 19:26 +, ο/η Panagiotis Sidiropoulos

{SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
I found Linux command hdparm at http://www.webmasterworld.com/forum40/957.htm. This command provides a part of information I need, as follows. Is it possible to retrieve this information from inside a Lazarus app but without root previledges? # hdparm -i /dev/hda /dev/hda:

Re: {SPAM?} Re: {SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Vincent Snijders
Panagiotis Sidiropoulos wrote: I had problems again receiving messages to the list since yesterday noon. Today I had to re-subscribe in order to get alive again. Now, a reply from me considered as potential SPAM. Does anyone know why? Maybe your outgoing mail server adds it? Maybe your

Re: {SPAM?} Re: [lazarus] System Information

2006-03-05 Thread A.J. Venter
On Sunday 05 March 2006 22:29, Panagiotis Sidiropoulos wrote: I found Linux command hdparm at http://www.webmasterworld.com/forum40/957.htm. This command provides a part of information I need, as follows. Is it possible to retrieve this information from inside a Lazarus app but without root

Re: [lazarus] System Information

2006-03-05 Thread Felipe Monteiro de Carvalho
Hello, There are probably better ways to do this, but the command dir on Windows will give you the HD serial number. It´s hard to parse this, since the command result can be on any language. -- Felipe Monteiro de Carvalho _ To

{SPAM?} Re: {SPAM?} Re: {SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
Maybe your outgoing mail server adds it? Maybe your incoming mailserver adds it? I never think of it this way, I'll check it, thank you. P.S. It would be nice if you could adjust your clock / time zone settings. Your last mail was sent two hours into the future. It helps sorting my

Re: [lazarus] Conversion Tool (Delphi - Lazarus): standalone or inside the IDE?

2006-03-05 Thread Felipe Monteiro de Carvalho
Hello, Are there news on the Conversion Tool ? I need to convert a project, so maybe I can help implementing it. thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

[lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
This patch adds support for the Icon property in win32. At time no Transparency works, but the Bitmap from the Icon Property is shown as Trayicon I havend tryed yet to generate the icon from TLazIntfImage, maybe this works better for getting Transparency regards Christian trayicon.dif

Re: {SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Michael Van Canneyt
On Sun, 5 Mar 2006, Panagiotis Sidiropoulos wrote: Thanks a lot for information. Now I'm seeking for similar information under Linux and MacOS. Any help would be most appreciated. You can use the fpuname call for this on linux/darwin. it's documented. (baseunix unit) Michael.

Re: [lazarus] Windows CE support on the IDE

2006-03-05 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Felipe Monteiro de Carvalho wrote: On 3/5/06, Yury Sidorov [EMAIL PROTECTED] wrote: Rename ppcrossarm to ppcarm. But ppcrossXXX is standard naming for cross compilers and ppcXXX is standard for native compilers. So fpc should be changed to

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Felipe Monteiro de Carvalho
On 3/5/06, Christian U. [EMAIL PROTECTED] wrote: This patch adds support for the Icon property in win32. It is a good patch and probably should be applied, but what part of it adds support for Icon property in win32?? That is already implemented. What isn´t working is the TIcon object and not

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
It is a good patch and probably should be applied, but what part of it adds support for Icon property in win32?? That is already implemented. What isn´t working is the TIcon object and not TrayIcon component. TTrayicon needs an real Win32 icon handle to show an icon in win32. This patch

Re: {SPAM?} Re: [lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
It works, returning some useful information. Here is a ready to use function for anyone interest: // Get sys information: // - 1 = Domain // - 2 = Machine // - 3 = Nodename // - 4 = Release // - 5 = Sysname // - 6 = Version function GetSysInfo( const WHAT_TO_RETURN: integer ): string; var

Re: [lazarus] System Information

2006-03-05 Thread Panagiotis Sidiropoulos
You should be able to get almost all of it from /proc normal users have read-only privileges there, it's basically a case of reading files to get the information you want. This is a very simple and interesting approach. I checked suggested folder and found alot of files most of them having

[lazarus] System information

2006-03-05 Thread darekM
Hi How to obtain current codepage (UTF, 8859-?) under Linux Darek _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Christian U.
Where in the patch is this code? I cannot find this Maybe you forgot to include modifications to wswin32tryicon.pas to the patch? Also this kind of modification will have to be reverted when a real TIcon is implemented. 1. a real TIcon will never be implemented becouse no os than

Re: [lazarus] System information

2006-03-05 Thread Panagiotis Sidiropoulos
What I learned working with Linux is that codepage cannot be anything else but utf, am I wrong? Panagiotis Στις 05-03-2006, ημέρα Κυρ, και ώρα 22:32 +0100, ο/η darekM έγραψε: Hi How to obtain current codepage (UTF, 8859-?) under Linux Darek

Re: [lazarus] delphi-lazarus Pointer vs. TObject

2006-03-05 Thread Vincent Snijders
Friedrich Hattendorf wrote: Still trying to convert a delphi-Program to lazarus I declared type TListenStruktur = class (TObject) private hListe: TList; AktuellePosition: Integer; ... and a function function TListenStruktur.GetElement: TObject; begin if not IsEmpty then

Re: [lazarus] Icon property of TTrayicon in win32 patch

2006-03-05 Thread Felipe Monteiro de Carvalho
On 3/5/06, Christian U. [EMAIL PROTECTED] wrote: 1. a real TIcon will never be implemented becouse no os than win32 supports icons I think this isn´t true. Qt supports icons, there is even a QIcon Qt object, and Mac OS loves icons. This is not a reason not to implement TIcon. The ideal world,

[lazarus] Second Windows CE Patch

2006-03-05 Thread Felipe Monteiro de Carvalho
Hello, This patch implements very basically: TApplication TCustomWindow TCustomButton There are also 2 new files that need to be added to the widgetset. Here is a nice screenshot of Lazarus+WinCE =) : http://wiki.lazarus.freepascal.org/index.php/Image:Second_laz_wince.PNG thanks a lot,

Re: [lazarus] delphi-lazarus Pointer vs. TObject

2006-03-05 Thread Christian U.
type TListenStruktur = class (TObject) private hListe: TList; AktuellePosition: Integer; ... and a function function TListenStruktur.GetElement: TObject; begin if not IsEmpty then GetElement := hListe.Items[AktuellePosition] end; hListe.Items^[AktuellePosition] ist

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-03-05 Thread Florian Klaempfl
Felipe Monteiro de Carvalho wrote: Just to keep you informed: Mattias and me are working on that proof of concept. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

[lazarus] Mozilla Plugin Panel component

2006-03-05 Thread Graeme Geldenhuys
Hi, I developed a panel component that allows you to use Mozilla plugins inside the panel. The panel fools the plugin, to think it is running inside the Mozilla browser. I primarily developed it to allow us to play Macromedia Flash files inside our product, but it works with the Adobe PDF