Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-04

Using GTK2

25 messages · 8 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Show quoted text 11 lines
Hi all, I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a problem, and was able to do some basic coding. However, I would prefer to use gtk2 over gtk1. I downloaded gtk2pascal but I cannot figure out where I am supposed to put it, changing the lazarus makefile to use GTK2 instead of GTK, clearly recognises this, and attempts to build, but cannot find the units (they are installed in /usr/lib/fpc/1.0.6/units/linux) where do I need them in order to use them with lazarus ? I allready have systems where gtk1 compiled lazarus apps refuse to run (although my home system functions).

The gtk2 interface for the LCL is not complete.

If someone wants to help us imlementing the gtk2 interface: The gtk2forpascal directory with the compiled .ppu files should be added to your /etc/fpc.cfg.
The gtk2 interface shares the gtk1 interface files. Basically they just needs some {$IFDEF gtk2} statements and of course a lot of testing.

While I am on it, should I be using a C.V.S snapshot instead ? What are the pros/cons.

The cvs snapshots are only for those people who want to download on one computer and install it on a computer without internet access.

I am having some bad problems with the project manager, which tends to mess up code generation when I use new project, application. Only by copying a template project into a new directory can I seem to make it work, but this is obviously a work-around.

Can you give more details?

Finally, how do I set up a TMenuBar component, I can drop it, and change the few settings in the object inspector, but I have no idea how to configure the menu items or create an action list, seeing as there is no actionlist manager/editor to be found in Lazarus.

I have added Oliviers menu editor, so basic menu editing is now possible.

Once I am more familiar with Lazarus, I will begin porting all the Jedi-VCL components I can over.

:)

Mattias

Reply by email

A.J. Venter
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Show quoted text 9 lines
. The gtk2 interface for the LCL is not complete. If someone wants to help us imlementing the gtk2 interface: The gtk2forpascal directory with the compiled .ppu files should be added to your /etc/fpc.cfg. The gtk2 interface shares the gtk1 interface files. Basically they just needs some {$IFDEF gtk2} statements and of course a lot of testing.

Ah, that explains it.

Show quoted text 7 lines
> While I am on it, should I be using a C.V.S snapshot instead ? What are > the pros/cons. The cvs snapshots are only for those people who want to download on one computer and install it on a computer without internet access.

Actually that is my situation right now, at least until I get my ADSL line later this month. What I meant though was, is it better to be using a current CVS version than the source-packages on the website dated March 3 (I believe). From your answer below I take it this would be the case.

Show quoted text 8 lines
> I am having some bad problems with the project manager, which tends to > mess up code generation when I use new project, application. Only by > copying a template project into a new directory can I seem to make it > work, but this is obviously a work-around. Can you give more details?

Step through example:
Project - New Project - Select Application -
A form is created, along with unit 1.
Save project - in some directory.
build project
The above will work throughout, however, running the result, will not open the form. Regardless of wether it is in fact empty or not.

Looking at the code for project1.lpr you find the problem (at least the
one I know of)
Application.initialize;
Application.Run;

Is all it contains. In order to actually work however, an Application.CreateForm call needs to be added between the lines above.

This problem did not occur on the first project I did, hence I have been copying it, and reusing, for further projects (at this stage all pretty simple test stuff)

Show quoted text 8 lines
> Finally, how do I set up a TMenuBar component, I can drop it, and change > the few settings in the object inspector, but I have no idea how to > configure the menu items or create an action list, seeing as there is no > actionlist manager/editor to be found in Lazarus. I have added Oliviers menu editor, so basic menu editing is now possible.

I take it I will need the latest version to get this ?

Story of my life: "Semper in excretum, set alta variant" A.J. Venter DireqLearn Linux Guru

Reply by email

Vasily I. Volchenko
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…

As much more localization have been made, I have translated it (Russian). Translation is not complete because of TTreeView incomplete (it uses a strange font, and, besides, have a bug: when scrolling TTreeView, the left bar of the screen, which doesn't belong to the app. window, becomes black).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gz00016.gz
Type: application/octet-stream
Size: 4118 bytes
Desc: "lazarus.ru.1.04.03.diff.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030402/6c02e507/gz00016.obj

Reply by email

Mattias Gaertner
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Show quoted text 21 lines
> > I am having some bad problems with the project manager, which tends to > > mess up code generation when I use new project, application. Only by > > copying a template project into a new directory can I seem to make it > > work, but this is obviously a work-around. > > Can you give more details? Step through example: Project - New Project - Select Application - A form is created, along with unit 1. Save project - in some directory. build project The above will work throughout, however, running the result, will not open the form. Regardless of wether it is in fact empty or not. Looking at the code for project1.lpr you find the problem (at least the one I know of) Application.initialize; Application.Run; Is all it contains. In order to actually work however, an Application.CreateForm call needs to be added between the lines above.

:(
There was a bug, when the rpm was built. They need update. As soon as Michael A.H. finds some free time, he will automate the creation of the rpms.

Show quoted text 13 lines
This problem did not occur on the first project I did, hence I have been copying it, and reusing, for further projects (at this stage all pretty simple test stuff) > > > > Finally, how do I set up a TMenuBar component, I can drop it, and > > change the few settings in the object inspector, but I have no idea > > how to configure the menu items or create an action list, seeing as > > there is no actionlist manager/editor to be found in Lazarus. > > I have added Oliviers menu editor, so basic menu editing is now > possible. I take it I will need the latest version to get this ?

Yes.
It's so fresh, that it is probably not yet in the cvs snapshots.

Mattias

Reply by email

A.J. Venter

Hi all,
I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a problem, and was able to do some basic coding. However, I would prefer to use gtk2 over gtk1.
I downloaded gtk2pascal but I cannot figure out where I am supposed to put it, changing the lazarus makefile to use GTK2 instead of GTK, clearly recognises this, and attempts to build, but cannot find the units (they are installed in /usr/lib/fpc/1.0.6/units/linux) where do I need them in order to use them with lazarus ? I allready have systems where gtk1 compiled lazarus apps refuse to run (although my home system functions).

While I am on it, should I be using a C.V.S snapshot instead ? What are the pros/cons.

I am having some bad problems with the project manager, which tends to mess up code generation when I use new project, application. Only by copying a template project into a new directory can I seem to make it work, but this is obviously a work-around.

Finally, how do I set up a TMenuBar component, I can drop it, and change the few settings in the object inspector, but I have no idea how to configure the menu items or create an action list, seeing as there is no actionlist manager/editor to be found in Lazarus.

Once I am more familiar with Lazarus, I will begin porting all the Jedi-VCL components I can over.

TIA.

Story of my life: "Semper in excretum, set alta variant" A.J. Venter DireqLearn Linux Guru

Reply by email

Marc Weustink
to andrew johnson: I started looking and while most of the basics I can and probably will do(already working…
Marc Weustink wrote 44 lines
At 15:52 2-4-2003 -0500, andrew johnson wrote: >On Wed, 2003-04-02 at 04:06, Mattias Gaertner wrote: > > On 02 Apr 2003 10:37:31 +0200 > > "A.J. Venter" wrote: > > > > > Hi all, > > > I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. > > > built without a problem, and was able to do some basic coding. However, > > > I would prefer to use gtk2 over gtk1. > > > I downloaded gtk2pascal but I cannot figure out where I am supposed to > > > put it, changing the lazarus makefile to use GTK2 instead of GTK, > > > clearly recognises this, and attempts to build, but cannot find the > > > units (they are installed in /usr/lib/fpc/1.0.6/units/linux) where do I > > > need them in order to use them with lazarus ? I allready have systems > > > where gtk1 compiled lazarus apps refuse to run (although my home system > > > functions). > > > > The gtk2 interface for the LCL is not complete. > > > > If someone wants to help us imlementing the gtk2 interface: > > The gtk2forpascal directory with the compiled .ppu files should be > added to > > your /etc/fpc.cfg. > > The gtk2 interface shares the gtk1 interface files. Basically they just > > needs some {$IFDEF gtk2} statements and of course a lot of testing. > >I started looking and while most of the basics I can and probably will >do(already working on keymap and gtkproc). I do not know what to do >about GTKWinAPIWindow. Some of it is as you say a matter of IfDefs. but >much of it I guess is no longer applicable. Can anyone who knows what is >different about gtk2 custom widget creation take a look and do this one? >For the limited time I have to work on it its a bit beyond me. Since it >is required by the other stuff I cannot test any other changes I make >till it is fixed, and while I did try I couldn't make much sense of it. > >If no one else can I may try again over the weekend, but I would like to >get the ifdefs in place so I can do some testing on making sure that it >not only compiles, but actually works :) Pfffff... At the time I wrote the initial GTKWinAPIWindow. I just found out that my other Linux box has gtk2, so I might spend some time looking at gtk2 sources and docs and write the creation if in in gtk2. Now I only have to find some time :(

From the initial scan and looking at the gtk_entry source code it seems to me that GTKWinAPIWindow in it curren state probably would work. Tomorrow I'll have a closer look (I've to print some sources first to comapre) Sure GTK2 has a lot more features the widged could support/expose, so in the future there might be a rewrite, but for now.... it will do (I hope)

Marc

Reply by email

andrew johnson
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Mattias Gaertner wrote 22 lines
On 02 Apr 2003 10:37:31 +0200 "A.J. Venter" wrote: > Hi all, > I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. > built without a problem, and was able to do some basic coding. However, > I would prefer to use gtk2 over gtk1. > I downloaded gtk2pascal but I cannot figure out where I am supposed to > put it, changing the lazarus makefile to use GTK2 instead of GTK, > clearly recognises this, and attempts to build, but cannot find the > units (they are installed in /usr/lib/fpc/1.0.6/units/linux) where do I > need them in order to use them with lazarus ? I allready have systems > where gtk1 compiled lazarus apps refuse to run (although my home system > functions). The gtk2 interface for the LCL is not complete. If someone wants to help us imlementing the gtk2 interface: The gtk2forpascal directory with the compiled .ppu files should be added to your /etc/fpc.cfg. The gtk2 interface shares the gtk1 interface files. Basically they just needs some {$IFDEF gtk2} statements and of course a lot of testing.

I started looking and while most of the basics I can and probably will do(already working on keymap and gtkproc). I do not know what to do about GTKWinAPIWindow. Some of it is as you say a matter of IfDefs. but much of it I guess is no longer applicable. Can anyone who knows what is different about gtk2 custom widget creation take a look and do this one? For the limited time I have to work on it its a bit beyond me. Since it is required by the other stuff I cannot test any other changes I make till it is fixed, and while I did try I couldn't make much sense of it.

If no one else can I may try again over the weekend, but I would like to get the ifdefs in place so I can do some testing on making sure that it not only compiles, but actually works :)

Andrew

Reply by email

Catalin Mincu
to Mattias Gaertner: On Wed, 2 Apr 2003 03:46:52 -0800 (PST) I think, this list will quite long. The goal of…
What kind of screenshots do you miss?

Whatever do you think it's usefull to show on the site . Take a (another open source project).

=====
Sincerely yours Catalin

Phone : 0721.333.439
0722.336.491
Mail :
Web : www.geocities.com/cata_mincu
cata76.home.ro

__________________________________________________ Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

Reply by email

Mattias Gaertner
to A.J. Venter: I am doing a CVS checkout right now, once I have my ADSL is in I intend to do so dayly.…
Show quoted text 7 lines
On Thu, 2003-04-03 at 02:27, Mattias Gaertner wrote: > FCL components: > TProcess, TDatasource, TDatabase, TIBStoredProc, TIBQuery, TIBDatabase Uh... I just realized that about the TDataSource component. Why doesn't it show in the palette by default then?

Good question.
db.pp does not seem to use any special lib. So I activated it.

Mattias

Reply by email

Tony Maro
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
A.J. Venter wrote 5 lines
The project I was trying to look at is Tony's rdesktop frontend, which I thought would be a nice way to get a feel for lazarus coding styles. Tony, you might want to have a look at how your code will handle a problem when loading an image.

Mmm... I'm not sure how this could crash the IDE, but then again it's not only the first program I wrote in Lazarus, it's also the first thing I wrote in Linux. And I wrote it about 7 months ago, so there's no telling.

I'll try to dust off the code tonight or tomorrow and see what I can find.

-Tony

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Wed, 2 Apr 2003 03:46:52 -0800 (PST) I think, this list will quite long. The goal of…
Show quoted text 6 lines
> > What kind of screenshots do you miss? > > Whatever do you think it's usefull to show on the site

?

Many of the lazarus screenshots are from me.
Do you mean more form editing screen shots?

Mattias

Show quoted text 20 lines
. Take a (another open source project). ===== Sincerely yours Catalin Phone : 0721.333.439 0722.336.491 Mail : Web : www.geocities.com/cata_mincu cata76.home.ro __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Marc Weustink
to Mattias Gaertner: On 02 Apr 2003 10:37:31 +0200 The gtk2 interface for the LCL is not complete. If someone…
andrew johnson wrote 36 lines
On Wed, 2003-04-02 at 04:06, Mattias Gaertner wrote: > On 02 Apr 2003 10:37:31 +0200 > "A.J. Venter" wrote: > > > Hi all, > > I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. > > built without a problem, and was able to do some basic coding. However, > > I would prefer to use gtk2 over gtk1. > > I downloaded gtk2pascal but I cannot figure out where I am supposed to > > put it, changing the lazarus makefile to use GTK2 instead of GTK, > > clearly recognises this, and attempts to build, but cannot find the > > units (they are installed in /usr/lib/fpc/1.0.6/units/linux) where do I > > need them in order to use them with lazarus ? I allready have systems > > where gtk1 compiled lazarus apps refuse to run (although my home system > > functions). > > The gtk2 interface for the LCL is not complete. > > If someone wants to help us imlementing the gtk2 interface: > The gtk2forpascal directory with the compiled .ppu files should be added to > your /etc/fpc.cfg. > The gtk2 interface shares the gtk1 interface files. Basically they just > needs some {$IFDEF gtk2} statements and of course a lot of testing. I started looking and while most of the basics I can and probably will do(already working on keymap and gtkproc). I do not know what to do about GTKWinAPIWindow. Some of it is as you say a matter of IfDefs. but much of it I guess is no longer applicable. Can anyone who knows what is different about gtk2 custom widget creation take a look and do this one? For the limited time I have to work on it its a bit beyond me. Since it is required by the other stuff I cannot test any other changes I make till it is fixed, and while I did try I couldn't make much sense of it. If no one else can I may try again over the weekend, but I would like to get the ifdefs in place so I can do some testing on making sure that it not only compiles, but actually works :)

Pfffff... At the time I wrote the initial GTKWinAPIWindow.

I just found out that my other Linux box has gtk2, so I might spend some time looking at gtk2 sources and docs and write the creation if in in gtk2. Now I only have to find some time :(

Marc

Reply by email

A.J. Venter
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…

Here is the full output at the moment of death.
Any idea what I can do about it ?

TPascalParserTool.BuildTree B OnlyIntf=TRUE
/home/ddt/downloads/laz/sample_apps/rdp/source/unit1.pas

Gdk-CRITICAL **: file gdkcolor.c: line 57 (gdk_colormap_new): assertion `visual != NULL' failed.
WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED! TMainIDE.DoOpenEditorFile END
"/home/ddt/downloads/laz/sample_apps/rdp/source/unit1.pas" TMainIDE.DoOpenEditorFile END
"/home/ddt/downloads/laz/sample_apps/rdp/source/rdp.lpr" Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 6068 error_code 8 request_code 62 minor_code 0

Story of my life: "Semper in excretum, set alta variant" A.J. Venter DireqLearn Linux Guru

Reply by email

A.J. Venter
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…

I found the problem. Here is how to reproduce it:
A project attempts to load an image, without an exception to handle a failed load.
This would cause the project itself to die if for example the image file was moved.
If lazarus is then used to open such a project, Lazarus will also crash when the image load fails.

The latter part should I presume be looked at.

The project I was trying to look at is Tony's rdesktop frontend, which I thought would be a nice way to get a feel for lazarus coding styles. Tony, you might want to have a look at how your code will handle a problem when loading an image.

A.J.

Show quoted text 16 lines
Start lazarus in gdb with --g-fatal-warnings, reproduce the error, and send the backtrace. []> gdb lazarus run --g-fatal-warnings backtrace Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Story of my life: "Semper in excretum, set alta variant" A.J. Venter DireqLearn Linux Guru

Reply by email

Tony Maro
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…

Actually, I know if it's the error of which you speak, then yes, it will cause the application to crash. I ran into that with early editions of CBT, until I stopped using BitBtn's altogether.

andrew johnson wrote 37 lines
oh hummm its been a while since I did anything with this but I think that I remember that the problem was at least partly with the GdkPixbuf version. Needs to be greater then 0.13, >=0.18 or better recommended because of crash fixes and loading fixes which affect the lcl gtk backend. But I agree. this shouldn't be causing the app or lazarus to crash, as the error should be being handled. Andrew On Wed, 2003-04-02 at 13:14, Tony Maro wrote: > On Wed, 2003-04-02 at 07:47, A.J. Venter wrote: > > > > The project I was trying to look at is Tony's rdesktop frontend, which I > > thought would be a nice way to get a feel for lazarus coding styles. > > Tony, you might want to have a look at how your code will handle a > > problem when loading an image. > > Mmm... I'm not sure how this could crash the IDE, but then again it's > not only the first program I wrote in Lazarus, it's also the first thing > I wrote in Linux. And I wrote it about 7 months ago, so there's no > telling. > > I'll try to dust off the code tonight or tomorrow and see what I can > find. > > -Tony > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Thanks, Tony Maro Need a Linux replacement for Microsoft Money? Check out CheckBook Tracker! http://tony.maro.net/

Reply by email

Mattias Gaertner
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Show quoted text 16 lines
Here is the full output at the moment of death. Any idea what I can do about it ? TPascalParserTool.BuildTree B OnlyIntf=TRUE /home/ddt/downloads/laz/sample_apps/rdp/source/unit1.pas Gdk-CRITICAL **: file gdkcolor.c: line 57 (gdk_colormap_new): assertion `visual != NULL' failed. WARNING: [TgtkObject.LoadFromPixbufData] loading data FAILED! TMainIDE.DoOpenEditorFile END "/home/ddt/downloads/laz/sample_apps/rdp/source/unit1.pas" TMainIDE.DoOpenEditorFile END "/home/ddt/downloads/laz/sample_apps/rdp/source/rdp.lpr" Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 6068 error_code 8 request_code 62 minor_code 0

Start lazarus in gdb with --g-fatal-warnings, reproduce the error, and send the backtrace.

[]> gdb lazarus
run --g-fatal-warnings
backtrace

Mattias

Reply by email

A.J. Venter
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Show quoted text 7 lines
> Is all it contains. In order to actually work however, an > Application.CreateForm call needs to be added between the lines above. :( There was a bug, when the rpm was built. They need update. As soon as Michael A.H. finds some free time, he will automate the creation of the rpms.

I am doing a CVS checkout right now, once I have my ADSL is in I intend to do so dayly. The project has made some great strides over time, and soon enough it will be a viable competitor to borlands products. If microsoft does in fact take them over, Lazarus may be left as the only delphi like product on Linux (I don't see M$ supporting kylix myself).

Show quoted text 8 lines
> > I have added Oliviers menu editor, so basic menu editing is now > > possible. > I take it I will need the latest version to get this ? Yes. It's so fresh, that it is probably not yet in the cvs snapshots.

I'll have a look at the CVS checkout instead.
I would like to start by doing some simple but real programs in Lazarus, what better way to see where it can be improved, by myself or one more skilled.

I have a suggestion though:
Right now, there is almost no way for a person visiting the site to really understand the functionality level of the program. I see this made the FAQ as well (unanswered). If I may, I would like to maintain such a list of "Delphi features that work" and make it available to people.
Perhaps Mathias or Michael could send me an initial "shortlist" beyond the obvious, which I will then flesh out.
Obviously I know there are others who know the system better than me, but then again, they are busy enhancing it, and I am willing to learn. I think all the developers are doing a marvelous job, and I would like to help. This seems to me, is a good way I can contribute something back. Any sugestions ?

-- Story of my life: "Semper in excretum, set alta variant" A.J. Venter DireqLearn Linux Guru

Reply by email

Marc Weustink
to Marc Weustink: Pfffff... At the time I wrote the initial GTKWinAPIWindow. I just found out that my other…

OK,

I ported the GTKWinAPIWidget. Using gtk1 everything still works, using gtk2 al least the GTKWinAPIWidget.pp compiles. It now complains about keymaps or so.

I ran into 2 things:

1) the gtk signal marshallers aren't translated yet in gtk2pascal, so for the time being I declared the one I needed locally.

2) In the existing GTKWinAPIWidget_new code a new instance is created with 2 scrollbars as argument, however both of then are nil. In the gtk2 code I didnt pass the scrollbars. IMO for gtk1 this can also skipped.

Marc

Reply by email

Tony Maro
to Mattias Gaertner: On 02 Apr 2003 10:37:31 +0200 The gtk2 interface for the LCL is not complete. If someone…
Marc Weustink wrote 5 lines
I just found out that my other Linux box has gtk2, so I might spend some time looking at gtk2 sources and docs and write the creation if in in gtk2. Now I only have to find some time :(

Check the cushions of the couch (the one in front of the TV.) That's where I normally find my lost time. ;-) There or under the sheets.

But to add something actually useful to this thread, is there any thought to QT widget development going on? I've been trying out multiple distributions of Linux lately including the latest RedHat, Mandrake, Knoppix (Debian incarnation) and a few others. One thing I've noticed is just how many distro's prefer to install KDE by default over Gnome.

We've been doing this because I've found that Mandrake doesn't like some motherboards, while RedHat doesn't like others. RedHat doesn't like to install from a CDRW, but Mandrake will. Appletalk doesn't seem to work on RedHat without patches, etc. We have yet to find one distribution that will install on all of the machines we've tested without some headache on at least one.

-Tony

Reply by email

zeljko
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Vasily I. Volchenko wrote
As much more localization have been made, I have translated it (Russian). Translation is not complete because of TTreeView incomplete (it uses a strange font, and, besides, have a bug: when scrolling TTreeView, the left bar of the screen, which doesn't belong to the app. window, becomes black).

Is it possible that translation binaries receive only Jens since he is translation manager ?

Reply by email

Catalin Mincu
to A.J. Venter: I am doing a CVS checkout right now, once I have my ADSL is in I intend to do so dayly.…
Show quoted text 23 lines
I have a suggestion though: Right now, there is almost no way for a person visiting the site to really understand the functionality level of the program. I see this made the FAQ as well (unanswered). If I may, I would like to maintain such a list of "Delphi features that work" and make it available to people. Perhaps Mathias or Michael could send me an initial "shortlist" beyond the obvious, which I will then flesh out. Obviously I know there are others who know the system better than me, but then again, they are busy enhancing it, and I am willing to learn. I think all the developers are doing a marvelous job, and I would like to help. This seems to me, is a good way I can contribute something back. Any sugestions ?

Yeap .. Maybe some screenshots would be helpful too .

=====
Sincerely yours Catalin

Phone : 0721.333.439
0722.336.491
Mail :
Web : www.geocities.com/cata_mincu
cata76.home.ro

__________________________________________________ Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com

Reply by email

andrew johnson
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…

oh hummm its been a while since I did anything with this but I think that I remember that the problem was at least partly with the GdkPixbuf version. Needs to be greater then 0.13, >=0.18 or better recommended because of crash fixes and loading fixes which affect the lcl gtk backend. But I agree. this shouldn't be causing the app or lazarus to crash, as the error should be being handled.

Andrew

Tony Maro wrote 21 lines
On Wed, 2003-04-02 at 07:47, A.J. Venter wrote: > > The project I was trying to look at is Tony's rdesktop frontend, which I > thought would be a nice way to get a feel for lazarus coding styles. > Tony, you might want to have a look at how your code will handle a > problem when loading an image. Mmm... I'm not sure how this could crash the IDE, but then again it's not only the first program I wrote in Lazarus, it's also the first thing I wrote in Linux. And I wrote it about 7 months ago, so there's no telling. I'll try to dust off the code tonight or tomorrow and see what I can find. -Tony _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to A.J. Venter: I am doing a CVS checkout right now, once I have my ADSL is in I intend to do so dayly.…
Show quoted text 14 lines
> I have a suggestion though: > Right now, there is almost no way for a person > visiting the site to > really understand the functionality level of the > program. I see this > made the FAQ as well (unanswered). If I may, I would > like to maintain > such a list of "Delphi features that work" and make > it available to > people. > Perhaps Mathias or Michael could send me an initial > "shortlist" beyond > the obvious, which I will then flesh out.

I think, this list will quite long. The goal of lazarus is to make porting Delphi programs/components to LCL easy, not to emulate Delphi/VCL.

Here is a beginning:
(There is almost no item, that works exactly as under Delphi)

-----------------------------------------
IDE

Is there:
source editor (highlighting, search&replace, ...), form editing (object inspector, component editors, property editors, sizing, aligning, scaling, ...), projects, identifier completion (Delphi slang: code completion), find declaration, code templates, smart hints, class completion, debugging (locals, stack, breakpoints, watches, ...), compilation

Extra:
include files support, lazarus resources, several code completion tools, find declaration works with FPC/Delphi/Kylix sources, word completion, bracket higlighting

Missing:
online help and docs, packages, data modules, object treeview, code explorer, project manager, win32 resources, find in files, database wizards, import delphi projects/packages, translation tools, frames

-----------------------------------------
LCL

Is there:
Over 40 components:
TForm, TMainMenu, TPopupMenu, TLabel, TEdit, TMemo, TButton, TToggleBox, TCheckBox, TRadioButton, TListBox, TComboBox, TScrollBar, TGroupBox, TStaticText, TRadioGroup, TCheckGroup, TPanel, TBitBtn, TSpeedButton, TImage, TShape, TBevel, TPaintBox, TNoteBook, TScrollBox, TStringGrid, TDrawGrid, TImageList, TTrackbar, TProgressBar, TTreeView, TListView, TStatusBar, TToolBar, TUpDown, TCalendar, TArrow, TTimer, TIdleTimer, TOpenDialog, TSaveDialog,
TColorDialog, TFontDialog, TSpinEdit, TSynEdit
FCL components:
TProcess, TDatasource, TDatabase, TIBStoredProc, TIBQuery, TIBDatabase

Missing:
Image saving to file, thread safety for components, frames, drag&drop, tab stops, actionlinks, lots of components and properties

-----------------------------------------
FCL, RTL, Compiler

This is not part of lazarus, but I guess it will be interesting for the site as well. With the fpc 1.1 they are very near to Delphi compatibility. The missing things are mostly win32 specific libs and bindings to all kinds of libs. Maybe someone of the fpc-team can give some points what is missing.

Show quoted text 12 lines
> Obviously I know there are others who know the > system better than me, > but then again, they are busy enhancing it, and I am > willing to learn. I > think all the developers are doing a marvelous job, > and I would like to > help. This seems to me, is a good way I can > contribute something back. > Any sugestions ? > Yeap .. Maybe some screenshots would be helpful too .

What kind of screenshots do you miss?

Mattias

Reply by email

Mattias Gaertner
to A.J. Venter: I have downloaded and installed the 0.85.1 lazarus sources from C.V.S. built without a…
Translation is not complete because of TTreeView incomplete (it uses a strange font,

I have improved the selection of the default font and added a new option to TTreeView.Options tvoAutoItemHeight. It sets the DefaultItemHeight according to the current font.
It is set by default on creating new TTreeViews. For your existing TTreeViews you have to set it once.

and, besides, have a bug: when scrolling TTreeView, the left bar of the screen, which doesn't belong to the app. window, becomes black).

Mattias

Reply by email