Re: [Lazarus] While starting IDE, lazarus lock, without nay error

2015-08-16 Thread FreeMan

On 15.08.2015 18:33, Mattias Gaertner wrote:

Sounds as if the bug was not introduced after 49639.

Does the lock happen with fpc 2.6.4?

  
Mattias

and the end, I found bug (I hope) before goes mad.
osx tosemite 10.10.5 qtx64 fpc svn r31326
lazarus r49600 I can say stable for me.
r49611:
In terminal, make then lazbuild so many result like this
.Warning: (5066) Symbol . is deprecated: Use the 
function in LazFileUtils unit LazFileCache unit and some others units 
as well.

Then IDE start. From Tool menu build IDE,
get this error in messages window:
Panic: internal error: unable to execute: Failed to create pipes
last 5-6 packages aborted and line's color is red, IDE not lock still 
running,
redo from Tool menu build IDE, all lines is green and IDE succes and 
restart IDE


r49612:
In terminal, make then run lazbuild. Lazbuild lock after 5-6 lines 
result, no error.
each change version, delete all lazarus file and directly download all 
files from svn then make that, not update or downgrade. I mean clean 
install.


Why I nearly goes mad :)
I started r49600 then update one by one I mean svn update -r49601 to 
r49615 after each update then make then run lazbuild then run IDE then 
build from menu. On r49615 lazbuild lock then start downgrade version on 
by one. on r49613 lazarus maked lazbuild run, IDE run, everythink is 
okey. Last tıme I removed all fpc files and rebuild fpc then lazarus 
(before remove lazarus files) r49613 make is okey but lazbuild lock 
again ??? it was worked before reinstall fpc???
Then start again one by one downgrade version and find result, its on 
first paragraph on this mail.
I mean if you wanna test, remove all files fpc and lazarus then make it. 
some file(s) cached and not removed I think.


And the bug is unit's uses orders and can fileutils  UTF8 problem (I think)
regards


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


[Lazarus] multi step dialog

2015-08-16 Thread Marc Santhoff
Hi,

is there any template like dialog having multiple steps the user
switches with next/previous/finish-buttons?

Sth. like installer programs do for asking the user a lot of
information: what to install, where to, accept licence, some config
data, etc.

Maybe a source on LCCR or an example program has such code, I don't want
to invent the world anew. ;)

TIA,
Marc

-- 
Marc Santhoff m.santh...@web.de


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


Re: [Lazarus] multi step dialog

2015-08-16 Thread Luiz Americo Pereira Camara
2015-08-16 11:33 GMT-03:00 Marc Santhoff m.santh...@web.de:

 Hi,

 is there any template like dialog having multiple steps the user
 switches with next/previous/finish-buttons?


https://code.google.com/p/luipack/source/browse/#svn%2Ftrunk%2Fluicontrols%2Fdemos%2Fwizard

The API is a bit cumbersome but works. Plan to improve the interface

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


Re: [Lazarus] multi step dialog

2015-08-16 Thread Marc Santhoff
On So, 2015-08-16 at 11:41 -0300, Luiz Americo Pereira Camara wrote:
 2015-08-16 11:33 GMT-03:00 Marc Santhoff m.santh...@web.de:
 
  Hi,
 
  is there any template like dialog having multiple steps the user
  switches with next/previous/finish-buttons?
 
 
 https://code.google.com/p/luipack/source/browse/#svn%2Ftrunk%2Fluicontrols%2Fdemos%2Fwizard

Wow, very elaborated code. It's what I need, the only thing is it has
itself and another package installed in the IDE. I'll try to use it
dynamically wihtout installation, but that will take a while.

 The API is a bit cumbersome but works. Plan to improve the interface

I cannot comment on that, yet.

Thank you!

-- 
Marc Santhoff m.santh...@web.de


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


Re: [Lazarus] multi step dialog

2015-08-16 Thread Marc Santhoff
On So, 2015-08-16 at 19:37 +, Mark Morgan Lloyd wrote:
 Marc Santhoff wrote:
  Hi,
  
  is there any template like dialog having multiple steps the user
  switches with next/previous/finish-buttons?
  
  Sth. like installer programs do for asking the user a lot of
  information: what to install, where to, accept licence, some config
  data, etc.
  
  Maybe a source on LCCR or an example program has such code, I don't want
  to invent the world anew. ;)
 
 I've done it (for a database connection) using a notebook with tabs at 
 the top. The only significant complexity was due to having the buttons 
 on each page since it meant that I had to fudge the default as I 
 progressed through the sequence.

Me too, back in the 90ies, using Delphi 1 or 2. That's why I hoped there
may be a somewhat general implementation for such generic use case. Like
the one Luiz made - but I have to try it, learn how to use it first.

Marc

-- 
Marc Santhoff m.santh...@web.de


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


[Lazarus] Recommended install methods

2015-08-16 Thread DougC
Graeme just posted this to the fpc list as a recommended way to install fpc:
 
Remove all copies of FPC, no matter the 
versions. Remove all copies of the fpc.cfg too. Look in /usr/local/etc 
and $HOME. 

Then download the official FPC release install: 

http://sourceforge.net/projects/freepascal/files/FreeBSD/2.6.4/ 

Untar the file to a temp directory and run the install script. Install 
to your own home directory location - that way you don't need root 
privileges. For example: 

/home/freds/devel/fpc-2.6.4/ 

Using version numbers in the install location also means that you can 
install other versions of FPC concurrently. You can then tweak the 
~/.fpc.cfg to use $fpcversion macros instead of hard-coded version 
numbers. That way all FPC install share the same ~/.fpc.cfg file. 

If you need the FPC source code, download that from SF.net too, and 
unpack that in /home/freds/devel/fpc-2.6.4/src/ 

I then amend my PATH environment variable to include the stable FPC 
bin directory, so I can use FPC from anywhere in my system, simply by 
typing 'fpc lt;myprogram.pasgt;'. Other FPC versions can be used by 
specifying the full path to the fpc binary. 

I've used this setup for years - first with Linux, then the last 3 years 
with FreeBSD. This has always worked without fail. I NEVER use any 
package management version of FPC, and neither to I use FreeBSD ports to 
install FPC. The official FPC release installer is all you need. 


Regards, 
- Graeme - 

I like this approach. Is there a similar (not any more complex) recommended way 
to handle Lazarus installs that allows for multiple versions to be 
simultaneously installed and used interchangeably?





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


Re: [Lazarus] Specifying Y axis

2015-08-16 Thread Richard Mace
On 15 August 2015 at 10:38, Werner Pamler werner.pam...@freenet.de wrote:

 Chart1.Extent.YMax := 1;
 Chart1.Extent.YMin := 0;
 Chart1.Extent.UseYMax := true;
 Chart1.Extent.UseYMin := true;

 Call this before or after adding data to the series, or set it in the
 object inspector.


​Thanks Werner, That works great.
I've now got a the 0 as Min and the 1 as Max, however, it's also showing a
0.5 in the middle.
Any idea how I can remove that?

Also, is it possible to actually replace the 0 and 1 for words such as
true and false?

Thanks

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


Re: [Lazarus] multi step dialog

2015-08-16 Thread Mark Morgan Lloyd

Marc Santhoff wrote:

Hi,

is there any template like dialog having multiple steps the user
switches with next/previous/finish-buttons?

Sth. like installer programs do for asking the user a lot of
information: what to install, where to, accept licence, some config
data, etc.

Maybe a source on LCCR or an example program has such code, I don't want
to invent the world anew. ;)


I've done it (for a database connection) using a notebook with tabs at 
the top. The only significant complexity was due to having the buttons 
on each page since it meant that I had to fudge the default as I 
progressed through the sequence.


--
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