Re: [lazarus] graphical shapes library or component

2006-03-04 Thread Marc Santhoff
Am Freitag, den 03.03.2006, 19:45 +0200 schrieb Markku Niskanen: On Fri, 03 Mar 2006 17:15:05 +0100, Danny Milosavljevic [EMAIL PROTECTED] wrote: In gtk terminology that's a drawing area. A dia canvas is the complex thing that *stores* the shapes as objects and such... I have been

Re: [lazarus] Repository access via the SVN protocol

2006-03-04 Thread A.J. Venter
Our german FTP machine was compromised recently (that is why the wiki is down). The main server has also been compromised some time ago. Since then, I am reluctant to open too much ports. In reality, the problem is with your ISP, namely that they don't seem to support all WebDAV

Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, John Briggs wrote: Any hint? I have /opt/gnome/lib/libgdk-1.2.so.0 . What am i missing? Any help on this, please? Uwe Hi Uwe, For me there are major problems setting up the correct programming/developement environment in OpenSuSe 10.0. I am

Re: [lazarus] graphical shapes library or component

2006-03-04 Thread Markku Niskanen
On Sat, 04 Mar 2006 10:35:33 +0100, Marc Santhoff [EMAIL PROTECTED] wrote: May I ask which version of the DXF spec you are using? As for the DXF version I have no idea whatsoever. The library is the same you mentioned (John Biddiscombe 1997, based on earlier work from 1995 by someone else). I

Re: [lazarus] setColor part 3

2006-03-04 Thread Mattias Gaertner
On Sat, 4 Mar 2006 08:34:26 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: On Sat, 4 Mar 2006 08:06:24 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: On Sat, 4 Mar 2006 02:06:46 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: If 'red' buttons are needed that often, then we should add

Re: [lazarus] setColor part 3

2006-03-04 Thread darekm
Mattias Gaertner wrote: On Fri, 03 Mar 2006 23:10:41 +0100 darekm [EMAIL PROTECTED] wrote: [...] A button under gtk1 is an area, not just the frame. Some themes define a simple darkened area when presses, some some define whole images (e.g. round buttons). Maybe gtk2 has

Re: [lazarus] bug in tComboBox

2006-03-04 Thread darekm
Mattias Gaertner wrote: Darek PS.Can I comment all EventTrace (or IFDEFs) in gtkcallback.inc, they slowdown running. Did you test that? How much slower? I've not test but I'm looking for not necessary lines of code all LCL should follow directive RELEASE and should remove all

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Uwe Grauer
Matt Henley wrote: I belong to a mailing list for a defunt open source chemical process simulator (Sim42). Members of the list are now showing interest in restarting the effort. It was originally written in python which cause some speed issues. Several of the list members (including me)

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, Uwe Grauer wrote: Matt Henley wrote: I belong to a mailing list for a defunt open source chemical process simulator (Sim42). Members of the list are now showing interest in restarting the effort. It was originally written in python which cause some speed issues.

[lazarus] ipHTMLPanel Selection paint

2006-03-04 Thread Panagiotis Sidiropoulos
On Windows version of Lazarus I added a small part of code in order to paint selected part of page viewed. it seem it is never called. This same addition to Linux version of Lazarus does not afect selection is painted. Addition made in ipHTML unit about line 8040. {$IFDEF IP_LAZARUS}

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread A.J. Venter
python is a very nice language. Why don't you just write the speed critical parts in C or C++. That's how everyone does it in python. Showing only that python isn't up to the task. Just like all these other interpreted languages: .NET, Java... It's cheating, and they all do it:

Re: [lazarus] setColor part 3

2006-03-04 Thread Mattias Gaertner
On Sat, 04 Mar 2006 12:31:05 +0100 darekm [EMAIL PROTECTED] wrote: [...] I talk about tSpeedButton not tButton A normal TSpeedButton should look like a normal button. Only if you set some custom colors, then it can paint some non theme button. I don't know, what windows can do with

[lazarus] Give FPC/Lazarus a face...

2006-03-04 Thread rstar
Is there a list who is working on FPC/Lazarus, who is contributor, who is responsible for sub-system xy, how many people are working on FPC/Lazarus, etc. ??? _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] setColor part 3

2006-03-04 Thread Danny Milosavljevic
Hi, Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm: [...] If I want (as programmer) to one of buttons will be red, user should'n change it by change theme I merely react to this grossly out of context (so please forgive me), but I just can't resist... Did you really mean what I

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-03-04 Thread Mattias Gaertner
On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: [...] If you Linux guys (Even the Lazarus on Windows guys) - Could do the following : i) Download the TurboCASH/Delphi project. Steal whatever you need ii) Open a set of books simply by connecting to

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Danny Milosavljevic
Hi, Am Samstag, den 04.03.2006, 15:41 +0200 schrieb A.J. Venter: python is a very nice language. Why don't you just write the speed critical parts in C or C++. That's how everyone does it in python. Showing only that python isn't up to the task. Actually showing that one should

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-03-04 Thread Tony Maro
Mattias Gaertner wrote: On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: [...] If you Linux guys (Even the Lazarus on Windows guys) - Could do the following : i) Download the TurboCASH/Delphi project. Steal whatever you need ii) Open a set of

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread L505
No, if you need pointer _arithmetic_ you are doing it wrong or using a language that is assembly in disguise. Pointers itself are fine and dandy, but don't *(x + 3 * i + 2) = *(y - 3);. Would you talk like that to a human? No? Why talk like that to a computer then? It's just a sign that

[lazarus] Windows CE support on the IDE

2006-03-04 Thread Felipe Monteiro de Carvalho
Hello, Today or on the next days I will be sending patches to implement basic structures for the Windows CE LCL Interface. At the moment TApplication and TCustomForm have basics implemented. A screenshot of the first lazarus - wince gui software is here:

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Mattias Gaertner
On Sat, 04 Mar 2006 12:42:31 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hello, Today or on the next days I will be sending patches to implement basic structures for the Windows CE LCL Interface. At the moment TApplication and TCustomForm have basics implemented. A

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Yury Sidorov
From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then other widgetsets on some aspects: - The compiler it uses has a diferent name, it´s called ppcrossarm.exe and must be from 2.1.x branch. Do we need a

Re: [lazarus] bug in tComboBox

2006-03-04 Thread darekM
Mattias Gaertner napisa(a): On Sat, 04 Mar 2006 12:39:34 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Darek PS.Can I comment all EventTrace (or IFDEFs) in gtkcallback.inc, they slowdown running.

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Mattias Gaertner
On Sat, 4 Mar 2006 18:16:40 +0200 Yury Sidorov [EMAIL PROTECTED] wrote: From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then other widgetsets on some aspects: - The compiler it uses has a diferent

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, Yury Sidorov wrote: From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then other widgetsets on some aspects: - The compiler it uses has a diferent name, it´s called

Re: [lazarus] bug in tComboBox

2006-03-04 Thread Mattias Gaertner
On Sat, 04 Mar 2006 17:16:46 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Sat, 04 Mar 2006 12:39:34 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Darek PS.Can I comment all EventTrace (or IFDEFs) in

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Mattias Gaertner
On Sat, 4 Mar 2006 17:33:55 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 4 Mar 2006, Yury Sidorov wrote: From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Yury Sidorov
From: Michael Van Canneyt [EMAIL PROTECTED] From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then other widgetsets on some aspects: - The compiler it uses has a diferent name, it´s called

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Yury Sidorov
From: Mattias Gaertner [EMAIL PROTECTED] Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 4 Mar 2006, Yury Sidorov wrote: From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then other

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Dale Welch
Object Pascal is a long way from Wirth's pascal or even from turbo pascal. People who say it is a backward language or dead language don't know object pascal, teach C++, and think pascal is algol. The mass of interpreted languages out do indeed have interesting features. Very nice features.

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Michael Van Canneyt
On Sat, 4 Mar 2006, Yury Sidorov wrote: From: Michael Van Canneyt [EMAIL PROTECTED] From: Mattias Gaertner [EMAIL PROTECTED] Now onto the problem. How can we add support for Windows CE on the IDE? It behaves differently then other widgetsets on some aspects:

Re: [lazarus] setColor part 3

2006-03-04 Thread darekm
simple: when I set color:=clRed then not change color (like in others controls) The solution is simple: if colorclBtnFace then paint a custom button. The question is only, how to implement it. The easiest would be to extend TSpeedButton.Paint with a if (ColorclBtnFace) or (...

Re: [lazarus] setColor part 3

2006-03-04 Thread Mattias Gaertner
On Sat, 04 Mar 2006 17:56:41 +0100 darekm [EMAIL PROTECTED] wrote: simple: when I set color:=clRed then not change color (like in others controls) The solution is simple: if colorclBtnFace then paint a custom button. The question is only, how to implement it. The

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Yury Sidorov
From: Michael Van Canneyt [EMAIL PROTECTED] Normally, the 'fpc' binary can choose the correct compiler name based on target OS and CPU setting. That is what it is for in the first place. I do not see in fpc source that it can run crosscompiler. It only run native compiler. Then it

Re: [lazarus] setColor part 3

2006-03-04 Thread darekm
Danny Milosavljevic wrote: Hi, Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm: [...] If I want (as programmer) to one of buttons will be red, user should'n change it by change theme I merely react to this grossly out of context (so please forgive me), but I just can't

Re: [lazarus] bug in tComboBox

2006-03-04 Thread darekm
Mattias Gaertner wrote: On Sat, 04 Mar 2006 17:16:46 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): On Sat, 04 Mar 2006 12:39:34 +0100 darekm [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Darek PS.Can I comment all

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Mattias Gaertner
On Sat, 4 Mar 2006 19:03:25 +0200 Yury Sidorov [EMAIL PROTECTED] wrote: From: Michael Van Canneyt [EMAIL PROTECTED] Normally, the 'fpc' binary can choose the correct compiler name based on target OS and CPU setting. That is what it is for in the first place. I do not see

[lazarus] feature in Lazarus

2006-03-04 Thread darekM
Can close editor file be added (best at begin) to Recent List Why: I use Lazarus with many open files, some of them close, some open when I close by mistake any of older files, then I can't revert it simple (when it was at Recent list) Darek

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread rstar
Mattias Gaertner wrote: On Sat, 4 Mar 2006 19:03:25 +0200 Yury Sidorov [EMAIL PROTECTED] wrote: From: Michael Van Canneyt [EMAIL PROTECTED] Normally, the 'fpc' binary can choose the correct compiler name based on target OS and CPU setting. That is what it is for in the first place.

Re: [lazarus] feature in Lazarus

2006-03-04 Thread Mattias Gaertner
On Sat, 04 Mar 2006 18:20:42 +0100 darekM [EMAIL PROTECTED] wrote: Can close editor file be added (best at begin) to Recent List Why: I use Lazarus with many open files, some of them close, some open when I close by mistake any of older files, then I can't revert it simple (when it

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread A.J. Venter
less power. It's always like that. The language of a human (and maths) is just so much more advanced than any computer language, it depresses me at times. (Assembly language is so primitive that we all stopped talking it by now, except when we absolutely must do it. But it sure is flexible,

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Yury Sidorov
From: Mattias Gaertner [EMAIL PROTECTED] On Sat, 4 Mar 2006 19:03:25 +0200 Yury Sidorov [EMAIL PROTECTED] wrote: From: Michael Van Canneyt [EMAIL PROTECTED] Normally, the 'fpc' binary can choose the correct compiler name based on target OS and CPU setting. That is what it is for in

Re: [lazarus] setColor part 3

2006-03-04 Thread A.J. Venter
gtk does the right thing by letting the programmer register style properties for a widget class. These names can then be used in themes and gtk will assign the theme color to the style property of the widgets of that class on runtime. I know that it usually depends on the target audience

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Vincent Snijders
Yury Sidorov wrote: From: Mattias Gaertner [EMAIL PROTECTED] On Sat, 4 Mar 2006 19:03:25 +0200 Yury Sidorov [EMAIL PROTECTED] wrote: From: Michael Van Canneyt [EMAIL PROTECTED] Normally, the 'fpc' binary can choose the correct compiler name based on target OS and CPU setting. That

Re: [lazarus] setColor part 3

2006-03-04 Thread Danny Milosavljevic
Hi, Am Samstag, den 04.03.2006, 02:06 +0100 schrieb Mattias Gaertner: On Fri, 03 Mar 2006 23:10:41 +0100 darekm [EMAIL PROTECTED] wrote: [...] A button under gtk1 is an area, not just the frame. Some themes define a simple darkened area when presses, some some define whole images

Re: [lazarus] setColor part 3

2006-03-04 Thread Danny Milosavljevic
Hi, Am Samstag, den 04.03.2006, 18:11 +0100 schrieb darekm: Danny Milosavljevic wrote: Hi, Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm: [...] If I want (as programmer) to one of buttons will be red, user should'n change it by change theme I merely react to

Re: [lazarus] setColor part 3

2006-03-04 Thread Danny Milosavljevic
Hi, Am Samstag, den 04.03.2006, 20:00 +0200 schrieb A.J. Venter: gtk does the right thing by letting the programmer register style properties for a widget class. These names can then be used in themes and gtk will assign the theme color to the style property of the widgets of that class

Re: [lazarus] setColor part 3

2006-03-04 Thread A.J. Venter
The default should always be to follow the theme, the programmer should think five or six times before overriding it - but when he does, it must be assumed that he had a good reason and his changes should be honoured. Exactly. Let me try to explain what I mean with an EXTREME example.

[lazarus] Menu fix

2006-03-04 Thread Colin Western
Under gtk1 on linux it is not possible to have an underscore character displayed. The attached patch fixes this Colin diff -uNr lazarus/lcl/interfaces/gtk/gtkproc.inc /dos/fpc/lazarus.w/lcl/interfaces/gtk/gtkproc.inc --- lazarus/lcl/interfaces/gtk/gtkproc.inc 2006-03-04 11:04:49.0 +

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Danny Milosavljevic
Hi, Am Samstag, den 04.03.2006, 19:44 +0200 schrieb A.J. Venter: less power. It's always like that. The language of a human (and maths) is just so much more advanced than any computer language, it depresses me at times. (Assembly language is so primitive that we all stopped talking it by

[lazarus] Grids fixes

2006-03-04 Thread Colin Western
The attached fixes two problems I noticed that were exposed with a small display area for a grid: 1. A range check error if compiled with checks on 2. A hang on scrolling two a particular cell if it is not possible to show all of the cell Colin diff -uNr lazarus/lcl/grids.pas

Re: [lazarus] setColor part 3

2006-03-04 Thread Danny Milosavljevic
Hi, Am Samstag, den 04.03.2006, 20:58 +0200 schrieb A.J. Venter: The default should always be to follow the theme, the programmer should think five or six times before overriding it - but when he does, it must be assumed that he had a good reason and his changes should be honoured.

Re: [lazarus] Grids fixes

2006-03-04 Thread Jesus Reyes
--- Colin Western [EMAIL PROTECTED] escribió: The attached fixes two problems I noticed that were exposed with a small display area for a grid: 1. A range check error if compiled with checks on @@ -2162,7 +2162,8 @@ {$endif} ScrollInfo.nMin := 0; ScrollInfo.nMax :=

Re: [lazarus] Grids fixes

2006-03-04 Thread Jesus Reyes
--- Colin Western [EMAIL PROTECTED] escribió: The attached fixes two problems I noticed that were exposed with a small display area for a grid: 1. A range check error if compiled with checks on I couldn't reproduce this problem (in linux) how can I do to reproduce? if aPage0 then

[lazarus] Help Authoring questions

2006-03-04 Thread George Lober
Hello all, Being a total noob when it comes to the subject of Help Authoring, I would like to ask people for pointers and suggestions on writing end user Help Documentation, possibly context sensitive, for a Lazarus app. What is involved implementing context sensitive help in Lazarus ? I can

Re: [lazarus] Windows CE support on the IDE

2006-03-04 Thread Vincent Snijders
Vincent Snijders wrote: Yury Sidorov 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 directory layout).

Re: [lazarus] setColor part 3

2006-03-04 Thread darekM
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 overloaded-reactor-color ... :) I feel like I'm still missing your point :(

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Markku Niskanen
On Sat, 4 Mar 2006 08:41:53 -0800, Dale Welch [EMAIL PROTECTED] wrote: But everyone always knew java was slow. It wasn't meant to be able to be your primary language for large projects. This is where I have do disagree, having used Java. Example: I wrote a piece of linguistic software in

Re: [lazarus] ipHTMLPanel Selection paint

2006-03-04 Thread Jesus Reyes
- Original Message - From: Panagiotis Sidiropoulos [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, March 04, 2006 9:41 AM Subject: [lazarus] ipHTMLPanel Selection paint On Windows version of Lazarus I added a small part of code in order to paint selected part of page

[lazarus] button icons for lazarus

2006-03-04 Thread A.J. Venter
After some positive feedback on the suggestion last week, I did the work and created a full set of button icons for lazarus. This set provides a replacement for everything in the standard delphi buttons directory under images. Right now, only xpm's exist. Most of the icons were taken from the

[lazarus] TRunInThread - Progress, but new problem

2006-03-04 Thread A.J. Venter
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 live. The structure I have no compiles, and can be placed on a form - it is all but right. The

Re: [lazarus] Object pascal a Modern Language

2006-03-04 Thread Flávio Etrusco
Maybe a StringBuffer type is needed for pascal Do you mean in pascal or for FreePascal? ;-) 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

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

2006-03-04 Thread A.J. Venter
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 live. The structure I have no compiles, and