Re: [Lazarus] Obviously I'm missing something.

2015-12-21 Thread Anthony Walter
Don, stop beating your head please:

http://www.getlazarus.org/setup/?download#raspberry_pi
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread Juha Manninen
On Mon, Dec 21, 2015 at 8:51 PM, FreeMan  wrote:
> Ok I listen you and I unsubscript from mail list, I can not  unregister from
> bugtracker you can remove my account.

No, don't unsubscribe from anywhere. I am only asking you to open bug
reports only after confirming them from other users.
Other reason NOT to report bugs is when a piece of code is in alpha
state. Then everybody knows it is full of bugs and missing features.
The quality level must be raised to reasonably good before reporting
bugs makes sense.
According to Zeljko the Qt-Cocoa support has more or less alpha
quality. It will need code contributions, not bug reports.


> yes, my system config is problem, 'cos just update every day, before update
> my system working after update config version not changed but my system has
> problem.
> Yes, main problem is saddam. Saddam has chemical weapons, and he have to
> died for democracy.

The world situation is interesting in Middle East but also in Europe
where I live. If you want to discuss it, please send me a personal
mail. I promise to answer it. This Lazarus mailing list however is a
wrong place.

Regards,
Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread FreeMan
Ok I listen you and I unsubscript from mail list, I can not unregister 
from bugtracker you can remove my account.
yes, my system config is problem, 'cos just update every day, before 
update my system working after update config version not changed but my 
system has problem.
Yes, main problem is saddam. Saddam has chemical weapons, and he have to 
died for democracy.


On 21.12.2015 18:41, Juha Manninen wrote:

FreeMan, please stop opening tens of bug reports for OS/X. Many of
them turned out to be problems in your local system config, not bugs
in Lazarus, and you asked yourself to close them.
Do the other problems also happen only in your local system?

Some of the reports are about QT on OS/X. Some are only OS/X without
widgetset. Does it mean you used Carbon then? Or does the problem
happen with many widgetsets?

QT maintainer Zeljko cannot reproduce your issues. I guess nobody can.
Hence it makes no sense to open so many reports. You could have one
report like "FreeMan's problems on OS/X that nobody can reproduce"
where you list all the anomalies, or better yet list them here under a
mailing list thread.

When the bug tracker is polluted with issues that nobody can reproduce
and which finally must be resolved as "unable to reproduce", finding
and prioritizing the real bugs becomes more difficult.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 1.6RC1 on various platforms

2015-12-21 Thread Mattias Gaertner
On Mon, 21 Dec 2015 18:00:31 +
Mark Morgan Lloyd  wrote:

>[...]
> Yippee :-) Hopefully that's something that can get into the release.

Yes.

 
>[...]
>  http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-A-change-in-LCL-require-your-TCustomForm-descendants-to-have-a-resource-or-to-use-a-CreateNer-td2402646.html
>   
>[...]
> > Or set RequireDerivedFormResource to false.
> 
> The unit/form is outside the project but is predefined (i.e. not 
> constructed at runtime). It's created early (before the main form's 
> constructor has completed) in order to check and if necessary create a 
> configuration file. Please correct me, but since its layout is stored in 
> resources I think CreateNew() doesn't fix anything.

The link you gave is about forms without resources. If your buggy form
has a resource, then this was misleading.

 
> I'm still not entirely convinced, but I think the problem was that it 
> had a {$I unitname.lrs} in the initialisation part rather than a {$R 
> *.lfm} at the start of the implementation.
> 
> So I'm fairly sure this isn't an IDE etc. problem, but since I can't 
> easily say what version created these files it might be one that will 
> bite more people with elderly projects.

This is not enough detail to help you.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Obviously I'm missing something.

2015-12-21 Thread Mark Morgan Lloyd

Donald Ziesig wrote:

Hi All!

I have been beating my head against the wall trying to get the latest 
versions of fpc and lazarus installed on an almost plain vanilla 
Raspberry Pi.


The reason I say "almost plain vanilla" is that I have setup TightVNC, 
ftp, svn, etc. on a 16GB SD card loaded with raspbian-jessie.  I have 
this backed up on my laptop so I can restart from a usable configuration.


Up until now, I have fpc 2.9.4 and Lazarus 1.5 working on a NOOBS SD 
Card (that is too small for what I need to do).  That version of Lazarus 
has a bug that has been fixed in 1.6 so I would like to get 1.6 or 1.7 
working.



I am using an example tracked down from the FreePascal.org website. The 
ultimate website is:


http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2/#getfpc 



Going step-by-step from this site:

It says to install fpc 2.6.4 as the bootstrap compiler.  Another place 
says 3.0.0 is the

required bootstrap.  I can't find 3.0.0 for Pi so here goes with 2.6.4.

# sudo su
# mkdir /usr/local/fpc
# cd /usr/local/fpc
# wget 
http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar 


No, that version of the compiler doesn't know about EABIHF. I suggest 
starting with the one I pointed you at the other day.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 1.6RC1 on various platforms

2015-12-21 Thread Mark Morgan Lloyd

Mattias Gaertner wrote:

An annoyance affecting all platforms above is that the timeout in the 
"Configure Lazarus IDE" -> "Compiler" box is impossibly fast, if the 
default isn't right about the only way to use it is to paste a prepared 
name.

What timeout?
After the compiler name has been changed by the addition or removal of a 
single character, it goes and checks whether the filename is now valid. 
The timeout here is something like 10th sec, and displays a dialogue if 
the name is bad.


Fixed.


Yippee :-) Hopefully that's something that can get into the release.

Slightly more serious from my POV is that a project that created a form 
early to set up a configuration file from a template is now giving 
problems on all tested platforms. I'm assuming that 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-A-change-in-LCL-require-your-TCustomForm-descendants-to-have-a-resource-or-to-use-a-CreateNer-td2402646.html 
is relevant, but at present am struggling.

This is a pretty old change.

Yes, but has only now become mandatory.


The change was already in 1.0.

 

Simply use CreateNew instead of Create.


Or set RequireDerivedFormResource to false.


The unit/form is outside the project but is predefined (i.e. not 
constructed at runtime). It's created early (before the main form's 
constructor has completed) in order to check and if necessary create a 
configuration file. Please correct me, but since its layout is stored in 
resources I think CreateNew() doesn't fix anything.


I'm still not entirely convinced, but I think the problem was that it 
had a {$I unitname.lrs} in the initialisation part rather than a {$R 
*.lfm} at the start of the implementation.


So I'm fairly sure this isn't an IDE etc. problem, but since I can't 
easily say what version created these files it might be one that will 
bite more people with elderly projects.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread zeljko

On 12/21/2015 05:41 PM, Juha Manninen wrote:

FreeMan, please stop opening tens of bug reports for OS/X. Many of
them turned out to be problems in your local system config, not bugs
in Lazarus, and you asked yourself to close them.
Do the other problems also happen only in your local system?

Some of the reports are about QT on OS/X. Some are only OS/X without
widgetset. Does it mean you used Carbon then? Or does the problem
happen with many widgetsets?

QT maintainer Zeljko cannot reproduce your issues. I guess nobody can.
Hence it makes no sense to open so many reports. You could have one
report like "FreeMan's problems on OS/X that nobody can reproduce"
where you list all the anomalies, or better yet list them here under a
mailing list thread.


I've already told him (few months ago) that Qt-Cocoa (QtLCL-64bit) is 
not supported by me or anybody else yet since Qt have pretty much bugs 
(Qt-4.8.6) on this platform and they're not fixed yet.
I'm not planning to fix anything related to qt-4.8 Cocoa 64bit (carbon 
32bit works fine). When Qt5 support is available then it will be 
supported (but no more 32bit Qt support in that case (Carbon)).


zeljko


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Obviously I'm missing something.

2015-12-21 Thread Donald Ziesig

Hi All!

I have been beating my head against the wall trying to get the latest 
versions of fpc and lazarus installed on an almost plain vanilla 
Raspberry Pi.


The reason I say "almost plain vanilla" is that I have setup TightVNC, 
ftp, svn, etc. on a 16GB SD card loaded with raspbian-jessie.  I have 
this backed up on my laptop so I can restart from a usable configuration.


Up until now, I have fpc 2.9.4 and Lazarus 1.5 working on a NOOBS SD 
Card (that is too small for what I need to do).  That version of Lazarus 
has a bug that has been fixed in 1.6 so I would like to get 1.6 or 1.7 
working.



I am using an example tracked down from the FreePascal.org website. The 
ultimate website is:


http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2/#getfpc

Going step-by-step from this site:

It says to install fpc 2.6.4 as the bootstrap compiler.  Another place 
says 3.0.0 is the

required bootstrap.  I can't find 3.0.0 for Pi so here goes with 2.6.4.

# sudo su
# mkdir /usr/local/fpc
# cd /usr/local/fpc
# wget 
http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar

# tar xvf fpc-2.6.4.arm-linux.tar
# cd fpc-2.6.4.arm-linux

### answer first prompt with /usr/local, the rest with 

# ./install.sh
# cd /usr/local/fpc
# svn co http://svn.freepascal.org/svn/fpc/trunk source
Checked out revision 32692.

# cd source
# make all OPT=-dFPC_ARMHF

Much text, followed by

types.pp(652,17) Error: function header doesn't match the previous 
declaration "TRectF.Union(const TRectF):;"

types.pp(667) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:3711: recipe for target 'types.ppu' failed

-

I have tried various combinations of suggestions from this website and 
others and have yet to be able to get fpc and/or lazarus to compile and 
install from sources.  The errors are different, but the result is the 
same: no fpc/lazarus.:'(


Can anyone point me to instructions/examples that work on the Raspberry 
Pi using raspbian-jessie?


Thanks,

Don Ziesig.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread Juha Manninen
It is a good practice to confirm a suspected bug from other people
before opening a report. That's what many people on forum do. They
explain their problem, then others may notice it is caused by a wrong
config or similar, or the bug is already reported. Only sometimes it
leads to a new report.
FreeMan, you must use a similar process. Please open a report only
after somebody confirms your bug.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread Juha Manninen
FreeMan, please stop opening tens of bug reports for OS/X. Many of
them turned out to be problems in your local system config, not bugs
in Lazarus, and you asked yourself to close them.
Do the other problems also happen only in your local system?

Some of the reports are about QT on OS/X. Some are only OS/X without
widgetset. Does it mean you used Carbon then? Or does the problem
happen with many widgetsets?

QT maintainer Zeljko cannot reproduce your issues. I guess nobody can.
Hence it makes no sense to open so many reports. You could have one
report like "FreeMan's problems on OS/X that nobody can reproduce"
where you list all the anomalies, or better yet list them here under a
mailing list thread.

When the bug tracker is polluted with issues that nobody can reproduce
and which finally must be resolved as "unable to reproduce", finding
and prioritizing the real bugs becomes more difficult.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-21 Thread Ondrej Pokorny

On 21.12.2015 11:45, Jürgen Hestermann wrote:

Well, I downloaded RC1 on Dec 10th and read the release notes before
but it came not to my mind to read it again daily just in case some 
changes

were made (to the changes ;-)).


Yes, sorry. I added the 'IsCancel' parameter as a bug fix upon your 
request because I realized that people may need it. Again, thanks for 
testing - without your question the code change without "IsCancel" would 
make it to 1.6 stable. Now it is corrected.


Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-21 Thread Jürgen Hestermann

Am 2015-12-20 um 18:21 schrieb Ondrej Pokorny:

On 20.12.2015 17:51, Jürgen Hestermann wrote:

Where do I find it?
I use official (pre) releases only.


Btw. if you read http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes 
, you find this information there:

  * Added 'iscancel' parameter to QuestionDlg. If no cancel button is 
explicitely set, mrCancel is returned in case the dialog is closed with ESC or 
system close button.

I added it there on Dec 14th 2015...



Well, I downloaded RC1 on Dec 10th and read the release notes before
but it came not to my mind to read it again daily just in case some changes
were made (to the changes ;-)).

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus