Sign in Join

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

Mailing lists / lazarus / 2009-11

Lazarus Examples

11 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Brian Prentice

I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel mac which is running OS X 10.5.8 from here:

http://sourceforge.net/projects/lazarus/files/

Included with this software are examples which are installed in directory

/Developer/lazarus/examples.

I've tried some of these examples and those that I've tried don't work!

Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work.

Brian Prentice

Reply by email

Vincent Snijders
to Brian Prentice
Brian Prentice wrote 13 lines
I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel mac which is running OS X 10.5.8 from here: http://sourceforge.net/projects/lazarus/files/ Included with this software are examples which are installed in directory /Developer/lazarus/examples. I've tried some of these examples and those that I've tried don't work! Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work.

In general all example in that directory should work.

What error messages do you get? What problems do you have?

Vincent

Reply by email

Brian Prentice
to Vincent Snijders

Here is the result of opening the first example address_book

http://linuxenvy.com/bprentice/Lazarus/Snapshot%202009-11-11%2006-18-48.jpg

Brian

Vincent Snijders wrote 24 lines
Brian Prentice schreef: > I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my > intel mac which is running OS X 10.5.8 from here: > http://sourceforge.net/projects/lazarus/files/ > Included with this software are examples which are installed in > directory > /Developer/lazarus/examples. > I've tried some of these examples and those that I've tried don't > work! > Can someone please tell me which examples should work, which > examples require modification to get them to work and which > examples will not work. In general all example in that directory should work. What error messages do you get? What problems do you have? Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Michael Van Canneyt
to Brian Prentice: Here is the result of opening the first example address_book…
Brian Prentice wrote
Here is the result of opening the first example address_book http://linuxenvy.com/bprentice/Lazarus/Snapshot%202009-11-11%2006-18-48.jpg

That error means that you don't have the TDBF component installed.

I see you use Mac. If you are running the PowerPC processor, it is an unfortunate case where a particular component is not supported on all platforms. I think TDBF does not supports the PowerPC processor, because it uses a bigendian architecture.

The number of components that do not run on all platforms, is small. You're just in bad luck that the "first" example does not work on your particular platform.

Michael.

Reply by email

Brian Prentice
to Vincent Snijders: In general all example in that directory should work. What error messages do you get?…

Thank you for your replies on this matter. No one addressed the underlying problem here. I believe that all the examples should be run prior to a major release and those that do not run should be removed. This should be a significant part of regression testing. This was clearly not done on the Intel Mac version and from your replies has never been done for this version.

My original request repeated below remains unanswered.

I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel mac which is running OS X 10.5.8 from here:

http://sourceforge.net/projects/lazarus/files/

Included with this software are examples which are installed in directory

/Developer/lazarus/examples.

I've tried some of these examples and those that I've tried don't work!

Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091111/d10c1dd5/attachment.html>

Reply by email

Hans-Peter Diettrich
to Brian Prentice: I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel mac which is running…
Show quoted text 6 lines
/Developer/lazarus/examples. I've tried some of these examples and those that I've tried don't work! Can someone please tell me which examples should work, which examples require modification to get them to work and which examples will not work.

My dockmanager examples should work - if not, please report what doesn't work.

Dunno about the other examples. Can you provide a list of what you tested and found [not] working?

DoDi

Reply by email

Martin
to Hess, Philip J
Philip J wrote 6 lines
> Thank you for your replies on this matter. No one addressed the underlying problem here. I believe that all the examples should be run prior to a major release and those that do not run should be removed. This > should be a significant part of regression testing. This was clearly not done on the Intel Mac version and from your replies has never been done for this version. > I agree completely. With a volunteer project, it likely comes down to a question of manpower. Who exactly should test every example on all platforms before each release? That's pretty tedious work. However, I would submit that whoever wrote or contributed the example should do the testing. Vincent does give those of us who have published packages (see CCR page) plenty of warning before a new release to _test_ our stuff against it and file bug reports if anything is broken. Anything that's considered a regression usually holds up the release until it's fixed. The same should hold for the examples shipped with Laz.

Also take into acount, that most of the people who contribute, including many of the core developers, have limited budget for hardware and software licenses. After all people do this in their spare time for no for example have only one PC for testing. 32 bit intel architecture. And a Windows license (one).
I can test things under:
- Vista (32 bit)
- Various linux versions (32 bit) in a Virtual machine I can not test under:
- Mac (unless someone buys me a mac)
- any 64 bit architecture (unless someone buys me the hardware)

Similar will apply for other people. If Lazarus would only include code by people who can afford all testing environment, there would be very little code available.

The people who build the distros for the platform, already spend a lot of time on this. Asking them to do *all* test by them self, would put off a lot off people and there would be no distros being code is a contribution, same as good and as important as writing code. People willing to contributors their time on testing are always welcome.

As stated by Philip, the release process has plenty of time for tests. Many are done by the lazarus team, but more need to be done by contributors.

Best Regards
Martin

Reply by email

Hess, Philip J
to Martin

I guess by platform, I kind of mean the widgetset. That's really the key with Lazarus, not so much the OS or even the OS version. With a Mac, it's easy to test on carbon, gtk, gkt2 and qt, leaving only win32 to test on a Windows box. With the Orpheus port, for example, I have 4 .sh files on my Mac - each one compiles all 10 test apps using lazbuild for a different widgetset. Then all I have to do is actually run each one and note any problems. (Although that doesn't mean I actually have all the ported components working perfectly!!!)

Martin, have you looked around for PowerPC Macs? I would think you could practically get one for free these days! My 8 year old Cube still runs fine, perfect for testing.

Thanks.

-Phil

Reply by email

Hans-Peter Diettrich
to Brian Prentice: Thank you for your replies on this matter. No one addressed the underlying problem…
Show quoted text 6 lines
Thank you for your replies on this matter. No one addressed the underlying problem here. I believe that all the examples should be run prior to a major release and those that do not run should be removed. This should be a significant part of regression testing. This was clearly not done on the Intel Mac version and from your replies has never been done for this version.

The problem is: who should run the tests? Not every developer of an example can test his code on all target platforms. Removing examples, that do not run on a specific platform, IMO is no reasonable decision. Instead a general README file could list the platforms, on which every sample application has been tested, with what result.

My original request repeated below remains unanswered. I have recently installed fpc 2.2.4 and lazarus 0.9.28.2 on my intel mac which is running OS X 10.5.8 from here:

Since such hardware and OS is not available to most example developers, you could test all sample applications and report. I'm willing to update the README files accordingly.

DoDi

Reply by email