Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-18 Thread Graeme Geldenhuys
On 2014-02-12 10:40, Michael Schnell wrote:
> 
> But I never was able to generate the files for DocView from the current 
> revisions of the SVNs.

Last time I tried (a couple months back) the LCL docs wasn't in a state
that could be built - or it was a fpdoc bug not yet resolve. I'll update
to the latest and see if things are better now. They should be.


> (Here, multiple files are necessary (language definition,. RTL, LCL, 
> "Help on Help"  you name it. )

Simply run:

  docview +
or
  docview 
or
  docview 



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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


Re: [Lazarus] Error dialog in freshly built Lazarus

2014-02-18 Thread Mattias Gaertner
On Tue, 18 Feb 2014 17:53:30 +0100
Lubos Pintes  wrote:

> Hello,
> So now it looks like this: someone mentioned that I have a path of old 
> 2.6.0 compiler in mi "PATH" variable. That was true, I removed the 
> directory from the "PATH", and also removed whole Lazarus configuration 
> from mi users folder. Just FYI, the 2.6.0 dir was in the path, but I 
> uninstalled old FPC a long time ago. Maybe this caused some troubles.

Yes, if the directory still exists.

> Now when I run Lazarus, it says "OK" for FPC installation. But when I 
> try to define FPC source, it fails with another weird error. I have FPC 
> trunk in
> c:\vcs\fpc directory. So I add it, and I see this in the information memo:
> Directory: circularmacroerror

Maybe you put the right value at the wrong place.

For example you can not use the macro FPCVer in the compiler field.

Mattias

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


Re: [Lazarus] Error dialog in freshly built Lazarus

2014-02-18 Thread patspiper

On 18/02/14 18:53, Lubos Pintes wrote:

Hello,
So now it looks like this: someone mentioned that I have a path of old 
2.6.0 compiler in mi "PATH" variable. That was true, I removed the 
directory from the "PATH", and also removed whole Lazarus 
configuration from mi users folder. Just FYI, the 2.6.0 dir was in the 
path, but I uninstalled old FPC a long time ago. Maybe this caused 
some troubles.
Now when I run Lazarus, it says "OK" for FPC installation. But when I 
try to define FPC source, it fails with another weird error. I have 
FPC trunk in
c:\vcs\fpc directory. So I add it, and I see this in the information 
memo:

Directory: circularmacroerror

Error: directory not found
You can download FPC and the FPC sources from 
http://sourceforge.net/projects/lazarus/?source=directory


What are your exact settings for 'compiler path' and 'fpc sources'?

Post our updated about FPC and IDE.

Stephano

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


Re: [Lazarus] Error dialog in freshly built Lazarus

2014-02-18 Thread Lubos Pintes

Hello,
So now it looks like this: someone mentioned that I have a path of old 
2.6.0 compiler in mi "PATH" variable. That was true, I removed the 
directory from the "PATH", and also removed whole Lazarus configuration 
from mi users folder. Just FYI, the 2.6.0 dir was in the path, but I 
uninstalled old FPC a long time ago. Maybe this caused some troubles.
Now when I run Lazarus, it says "OK" for FPC installation. But when I 
try to define FPC source, it fails with another weird error. I have FPC 
trunk in

c:\vcs\fpc directory. So I add it, and I see this in the information memo:
Directory: circularmacroerror

Error: directory not found
You can download FPC and the FPC sources from 
http://sourceforge.net/projects/lazarus/?source=directory



Dňa 18. 2. 2014 0:17 Mattias Gaertner  wrote / napísal(a):

On Mon, 17 Feb 2014 15:59:00 +0100
Lubos Pintes  wrote:


Attached contents of both tabs.


Thanks.



Dňa 17. 2. 2014 14:17 Mattias Gaertner  wrote / napísal(a):

On Mon, 17 Feb 2014 14:04:12 +0100
Lubos Pintes  wrote:


Hi again,
Sorry for noise, but "interesting" things are happening to me now.
I successfully built the Lazarus, and when I run it, I receive this dialog:
Error
Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target
i386-win32

I really don't understand this...


Can you post output of View / IDE Internals / About FPC?


The IDE message "does not support target" comes because RealCompiler is
empty. That is the backend compiler, here: ppc386.exe. The IDE grabs
that from the line "Compiler: ".
The strange thing is, that your output contains the line:

[0.890] Compiler: C:\FPC\2.6.2\bin\i386-Win32\ppc386.exe

A lot of macros are missing too.
It seems that everything behind 'found source file name
"compilertest.pas"' was not seen.


Please try a Tools / Rescan FPC source directory.


Mattias

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


[Lazarus] Advanced TrackBar / Rating control

2014-02-18 Thread luiz americo pereira camara
Does someone knows an open source rating control (similar to
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=74089&lngWId=1)

A TTrackBar that shows the tick value below the tick mark also fit my needs

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


Re: [Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Reinier Olislagers
On 18/02/2014 16:33, Martin Frb wrote:
> On 18/02/2014 14:38, Reinier Olislagers wrote:
>>> 2)ARM:
>>> pascal script has some support, it may be fixable, but I can not test...
>> TBH, I'm not interested in testing it either. I'll just keep it disabled
>> for all platforms in my default fpcup settings then.
>>
> 
> I look at disabling it, (if I remember) but it may be back some day.
See below: no need to do that on my account ;)

> Also, just to be sure. This should have been a one off (per install)
> message? It should not come back. It should stay disabled, even if you
> upgrade. (Except, when I change the selftest version in the code, but
> then again it will be a once off)

Yes, it appears only once after an installation; restarting Lazarus or
rebuilding Lazarus doesn't lead to it showing again.
I didn't know that, sorry - that makes it much, much more acceptable,
thanks.


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


Re: [Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Martin Frb

On 18/02/2014 14:38, Reinier Olislagers wrote:

2)ARM:
pascal script has some support, it may be fixable, but I can not test...

TBH, I'm not interested in testing it either. I'll just keep it disabled
for all platforms in my default fpcup settings then.



I look at disabling it, (if I remember) but it may be back some day.


Also, just to be sure. This should have been a one off (per install) 
message? It should not come back. It should stay disabled, even if you 
upgrade. (Except, when I change the selftest version in the code, but 
then again it will be a once off)


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


Re: [Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Reinier Olislagers
On 18/02/2014 15:34, Martin Frb wrote:
> On 18/02/2014 12:01, Reinier Olislagers wrote:
>> On 12/02/2014 17:50, Mark Morgan Lloyd wrote:
>> Just tested on ARM (ARMHF, with FPC trunk), Laz trunk. Noticed Martin's
>> fix that still allows compilation on ARM.
>> Compiling the IDE went ok.
>> Starting it showed an error dialog:
>> The package EditorMacroScript (pascalscript macros) has detected a
>> problem and was deactivated.
>> The package failed its selftest with the message "Failed getstr2 [Expr:
>> "456" / Got: "abc"]".
>>
>> I wonder whether disabling the package on ARM CPUs as well as other non
>> x86/x64 CPUs would be a good solution?
> 
> Again IMHO 2 issues.
> 
> 1) Sparc:
Sorry, perhaps I wasn't clear: I wasn't talking about SPARC; you & Mark
covered that AFAIU?

> 2)ARM:
> pascal script has some support, it may be fixable, but I can not test...

TBH, I'm not interested in testing it either. I'll just keep it disabled
for all platforms in my default fpcup settings then.

Thanks,
Reinier

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


Re: [Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Martin Frb

On 18/02/2014 12:01, Reinier Olislagers wrote:

On 12/02/2014 17:50, Mark Morgan Lloyd wrote:

I find that trunk+2.71 won't build as bigide, since PascalScript has no
sparc.inc and it attempts to build for x86. I've raided this as
http://mantis.freepascal.org/view.php?id=25709 and suggest that for the
moment PscalScript is excluded for that processor. It's OK on PPC, I've
not checked others.

Just tested on ARM (ARMHF, with FPC trunk), Laz trunk. Noticed Martin's
fix that still allows compilation on ARM.
Compiling the IDE went ok.
Starting it showed an error dialog:
The package EditorMacroScript (pascalscript macros) has detected a
problem and was deactivated.
The package failed its selftest with the message "Failed getstr2 [Expr:
"456" / Got: "abc"]".

I wonder whether disabling the package on ARM CPUs as well as other non
x86/x64 CPUs would be a good solution?


Again IMHO 2 issues.

1) Sparc:
there is nothing there yet, so yes, an IFDEF in EditorMacroScript would 
be in order to avoid registration at all.


In fact I wonder why it does not happen. There already is:

{$if defined(cpupowerpc)}
  {$ifNdef darwin}  {$DEFINE PasScriptNotAvail } {$ifend}
  {$ifNdef cpu32}  {$DEFINE PasScriptNotAvail } {$ifend}
{$ifend}
{$if defined(cpusparc) }  {$DEFINE PasScriptNotAvail } {$ifend}

const
  EMSSupported = {$IFDEF PasScriptNotAvail} False {$ELSE} True {$ENDIF} ;

- ppc only on 32 bit darwin
- no sparc

2)ARM:
pascal script has some support, it may be fixable, but I can not test...



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


[Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Reinier Olislagers
On 12/02/2014 17:50, Mark Morgan Lloyd wrote:
> I find that trunk+2.71 won't build as bigide, since PascalScript has no
> sparc.inc and it attempts to build for x86. I've raided this as
> http://mantis.freepascal.org/view.php?id=25709 and suggest that for the
> moment PscalScript is excluded for that processor. It's OK on PPC, I've
> not checked others.

Just tested on ARM (ARMHF, with FPC trunk), Laz trunk. Noticed Martin's
fix that still allows compilation on ARM.
Compiling the IDE went ok.
Starting it showed an error dialog:
The package EditorMacroScript (pascalscript macros) has detected a
problem and was deactivated.
The package failed its selftest with the message "Failed getstr2 [Expr:
"456" / Got: "abc"]".

I wonder whether disabling the package on ARM CPUs as well as other non
x86/x64 CPUs would be a good solution?

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


Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1

2014-02-18 Thread Reinier Olislagers
On 16/02/2014 21:45, Bart wrote:
> On 2/16/14, Maxim Ganetsky  wrote:
> 
>> ...  Nobody
>> tests compilation with 2.6.4 RC1, so I wouldn't recommend to use it.
> 
> We were politely asked to test 2.6.4RC1, so we did.
> And we report these errors...
> If we wouldn't have, the what?

AFAIU, Marco commits fixes to 2.6.4RC1 to the fixes 2.6 branch, and
there have been some fixes - so testing with fixes 2.6 would seem to
make more sense at this time.

Marco, is this accurate?


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


Re: [Lazarus] problem when compiling Lazarus

2014-02-18 Thread Corpsman

In my Lazarus Version the LazDebuggerGdbmi package is not on the list.
Adding DebugerIntf alone worked fine.

Lazarus 44121
FPC 2.6.2-5
i386-linux-gtk 2

Thanks for your help.
Corpsman

On 02/17/2014 08:29 PM, Martin Frb wrote:

On 17/02/2014 18:43, patspiper wrote:

On 17/02/14 20:27, Junior wrote:
environmentopts.pp(44,76) Fatal: Can not find unit 
DbgIntfDebuggerBase used by EnvironmentOpts.



Lazarus 1.3
FPC 2.6.2
i386-linux-gtk 2


Rebuilding the IDE from within even with the clean option does not 
work in this case.


Try make clean all from command line.


Yes, in this case the update process, includes to install the package 
(package DebugerIntf and LazDebuggerGdbmi) by hand.


Or you can use the makefile.

Or update revision by revision. There is one revision, that rebuilds, 
without needing the package, that will then allow to build the next, 
that needs it.


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




--

Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie 
aktualisiert und erweitert. Da ist für jeden was dabei.


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