Re: [Lazarus] Lazarus Logo

2012-01-03 Thread Kjow
2011/12/30 Kjow antispamm...@gmail.com:
 2011/12/30 Vincent Snijders vincent.snijd...@gmail.com:
 Maybe you can use:
 http://svn.freepascal.org/svn/lazarus/trunk/images/powered-by.svg

 Vincent

 Nice, SVG!
 Thank you!

 Is there SVG of IDE icon (the stylized cheetah)?

 Best Regards
 Kjow

Can I use a modified (by me) logo?

Thank you,
Kjow

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


Re: [Lazarus] Free Pascal 2.6.0 released!

2012-01-03 Thread Fabio Luis Girardi
In www.freepascal.org is wrote:

Current Version

Version *2.4.4 *is the latest stable version the Free Pascal. Hit the
download http://www.freepascal.org/download.var link and select a mirror
close to you to download your copy. The development releases have version
numbers *2.5.x*. See the development
http://www.freepascal.org/develop.var page
how to obtain the latest sources and support development.





-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Logo

2012-01-03 Thread Mattias Gaertner
On Tue, 3 Jan 2012 10:19:27 +0100
Kjow antispamm...@gmail.com wrote:

 2011/12/30 Kjow antispamm...@gmail.com:
  2011/12/30 Vincent Snijders vincent.snijd...@gmail.com:
  Maybe you can use:
  http://svn.freepascal.org/svn/lazarus/trunk/images/powered-by.svg
 
  Vincent
 
  Nice, SVG!
  Thank you!
 
  Is there SVG of IDE icon (the stylized cheetah)?
 
  Best Regards
  Kjow
 
 Can I use a modified (by me) logo?

Modified how?

Using the original has the advantage of recognition and tracking.
You can modify it.

Anyway, you may want to add a link here:
http://wiki.lazarus.freepascal.org/Projects_using_Lazarus

Mattias

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


Re: [Lazarus] Finished full JVM Android application

2012-01-03 Thread Felipe Monteiro de Carvalho
On Tue, Dec 27, 2011 at 5:03 PM, Sven Barth pascaldra...@googlemail.com wrote:
 As I've written in the wiki itself, I wanted to wait with this until the JVM
 port is merged to trunk.

I commited in rev 34549

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread David Unric
Hi,

I've read about cross compiling on the wiki, finaly managed to rebuild
sources and install compiled binaries and units however fpc's target OSes
did not changed and still missing support for Win64.
Sources were built with

make all OS_TARGET=win64 CPU_TARGET=x86_64
make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64
INSTALL_PREFIX=\path\to\my\fpc

I can produce x86_64/win64 binaries manually with 'ppcrossx64'  but the
main fpc.exe still lacks win64 target, so I'm not able switch in Lazarus
between win32 and win64 targets.

The question is about including another target in fpc compiler so I need
not to call separate cross-compiler.

Take care.



On Fri, Dec 30, 2011 at 8:00 PM, leledumbo leledumbo_c...@yahoo.co.idwrote:

  What commands do I have to use to rebuild FPC another target OS/CPU like
 Win32/i386 will be supported ?

 http://wiki.lazarus.freepascal.org/Cross_compiling

 --
 View this message in context:
 http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Custom-OS-CPU-targets-for-FPC-build-help-tp3621041p3621677.html
 Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

 --
 ___
 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] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Vincent Snijders
2012/1/3 David Unric dunric...@gmail.com:
 The question is about including another target in fpc compiler so I need not
 to call separate cross-compiler.

If you installed the cross compiler correctly, you can use fpc
-Px86_64, which will call the cross compiler.

Vincent

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


Re: [Lazarus] Finished full JVM Android application

2012-01-03 Thread Sven Barth

Am 03.01.2012 13:40, schrieb Felipe Monteiro de Carvalho:

On Tue, Dec 27, 2011 at 5:03 PM, Sven Barthpascaldra...@googlemail.com  wrote:

As I've written in the wiki itself, I wanted to wait with this until the JVM
port is merged to trunk.


I commited in rev 34549



Ok. Thank you.

Regards,
Sven

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


Re: [Lazarus] Lazarus Logo

2012-01-03 Thread Kjow
2012/1/3 Mattias Gaertner nc-gaert...@netcologne.de:
 Modified how?

 Using the original has the advantage of recognition and tracking.
 You can modify it.

 Anyway, you may want to add a link here:
 http://wiki.lazarus.freepascal.org/Projects_using_Lazarus

 Mattias

I merged Lazarus Icon with Powered by (svg), in next email I'll attach it.

Ok, I'm going to finish the project, I'll add my program to the wiki :)

Thank you!
Kjow

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Sven Barth

Am 03.01.2012 13:45, schrieb David Unric:

I can produce x86_64/win64 binaries manually with 'ppcrossx64'  but the
main fpc.exe still lacks win64 target, so I'm not able switch in Lazarus
between win32 and win64 targets.


The fpc.exe simply calls the default ppcXXX.exe for which it was 
compiled if no -PXXX was given and displays the help options of that. 
So if your default compiler is ppc386 then fpc -h will display all 
i386 targets. If you now do a fpc -Px86_64 -h it should display all 
targets for x86_64.


Regards,
Sven

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


Re: [Lazarus] Lazarus Logo

2012-01-03 Thread William Oliveira Ferreira
Nice!
please, share the svg file...

William de Oliveira Ferreira
Bacharel em Sistemas de Informação


2012/1/3 Kjow antispamm...@gmail.com

 2012/1/3 Kjow antispamm...@gmail.com:
  I merged Lazarus Icon with Powered by (svg), in next email I'll
 attach it.

 Here it is.

 Kjow

 --
 ___
 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] Documentation update (CHM building, lazutils)

2012-01-03 Thread Michael Schnell

On 12/30/2011 04:23 PM, Marco van de Voort wrote:
If that is at the expense of requiring a GUI system then IMHO it gets 
worse rather than better:-)

+1
The generation should be callable from another script.

-Michael

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


Re: [Lazarus] Lazarus Logo

2012-01-03 Thread Kjow
2012/1/3 William Oliveira Ferreira bdexterholl...@gmail.com:
 Nice!
 please, share the svg file...

I have no svg of Lazarus Icon (the stylized cheetah on png format).

I merged:
 http://svn.freepascal.org/svn/lazarus/trunk/images/powered-by.svg
with
 
http://wiki.lazarus.freepascal.org/images/f/fd/Lazarus-icons-lpr-proposal-bpsoftware.png
(from: http://wiki.lazarus.freepascal.org/New_Lazarus_Icon_Proposals

But If I could have this one in svg also, I can release an hi-quality
svg logo :)

Best Regards,
Kjow

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


Re: [Lazarus] Documentation update (CHM building, lazutils)

2012-01-03 Thread Hans-Peter Diettrich

Michael Schnell schrieb:

On 12/30/2011 04:23 PM, Marco van de Voort wrote:
If that is at the expense of requiring a GUI system then IMHO it gets 
worse rather than better:-)

+1
The generation should be callable from another script.


As it already is?

If you want to learn more about the documentation manager, look into 
examples\fpdocmanager\ :-)


DoDi


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


Re: [Lazarus] Lazarus Logo

2012-01-03 Thread silvioprog
2012/1/3 Kjow antispamm...@gmail.com:
 2012/1/3 William Oliveira Ferreira bdexterholl...@gmail.com:
 Nice!
 please, share the svg file...

 I have no svg of Lazarus Icon (the stylized cheetah on png format).

 I merged:
  http://svn.freepascal.org/svn/lazarus/trunk/images/powered-by.svg
 with
  http://wiki.lazarus.freepascal.org/images/f/fd/Lazarus-icons-lpr-proposal-bpsoftware.png
 (from: http://wiki.lazarus.freepascal.org/New_Lazarus_Icon_Proposals

 But If I could have this one in svg also, I can release an hi-quality
 svg logo :)

 Best Regards,
 Kjow

Wow, nice icon. http://wiki.lazarus.freepascal.org/Image:Old_icon_dock.png

-- 
Silvio Clécio

Site - silvioprog.com.br
LazSolutions - code.google.com/p/lazsolutions


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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread David Unric
Thx Vincent,

by supplying -P switch to fpc, I can finally produce x86_64 executables.
I'm surprised this switch is not mentioned in interactive help (fpc -? or
-h).
Why compiler fails when supplied with documented -Ttarget os option ?
fpc -Twin64 consoleapp.dpr
Error: Illegal parameter: -Twin64
Error: c:\Lazarus\fpc\2.7.1\bin\i386-win32\ppc386.exe returned an error
exitcode
 (normal if you did not specify a source file to be compiled)

Lazarus 0.9.31 seems to do not use -P option as it still produces i386 code
even if target CPU family is set to x86_64 in Project options and exe is
rebuilt from scratch (console app).

I'd like to ask somebody to shed some light on this subjects:
1) why supplying target OS option (-T) fails ? If I'd like to build win64
exe on win32 system have I pass CPU Target and fpc automagically selects
appropriate OS Target ?
2) How to tweak Lazarus so I can simply switch between win32/win64 targets ?

I'd appreciate any hint.

David




On Tue, Jan 3, 2012 at 1:52 PM, Vincent Snijders vincent.snijd...@gmail.com
 wrote:

 2012/1/3 David Unric dunric...@gmail.com:
  The question is about including another target in fpc compiler so I need
 not
  to call separate cross-compiler.

 If you installed the cross compiler correctly, you can use fpc
 -Px86_64, which will call the cross compiler.

 Vincent

 --
 ___
 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] Build modes not saved in default compileroptions?

2012-01-03 Thread Mattias Gaertner
On Mon, 2 Jan 2012 16:46:54 +0100
Bart bartjun...@gmail.com wrote:

 Hi,
 
 A while ago I added buildmodes to one of my projects (Release and
 Debug) with 2 different sets of options for code-generation and
 linking.
 I then told the IDE to use these compileroptions for all my new projects.
 This worked fine, all my new projects now had my 2 build modes.

Maybe you used Save Project As?

 
 However, this seems no longer the case.

It was never implemented. Only the active build mode was saved
(one set of compiler options).

 I have to re-define my build modes in every new project I make.

I implemented it. 
When the checkbox 'Use these ... as default' is checked the IDE now
saves all build modes and will use them for new projects.

 
 I'm currently using r34334 with fpc 2.6.0.


Mattias

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread David Unric
I got it, thank You Sven.
Now I just need to set Lazarus to use -P option if I set target CPU family
target in Project options. It seems to be ignored by my current installed
version 0.9.31 .

Regards.

David

On Tue, Jan 3, 2012 at 2:03 PM, Sven Barth pascaldra...@googlemail.comwrote:

 Am 03.01.2012 13:45, schrieb David Unric:

  I can produce x86_64/win64 binaries manually with 'ppcrossx64'  but the
 main fpc.exe still lacks win64 target, so I'm not able switch in Lazarus
 between win32 and win64 targets.


 The fpc.exe simply calls the default ppcXXX.exe for which it was compiled
 if no -PXXX was given and displays the help options of that. So if your
 default compiler is ppc386 then fpc -h will display all i386 targets. If
 you now do a fpc -Px86_64 -h it should display all targets for x86_64.

 Regards,
 Sven


 --
 __**_
 Lazarus mailing list
 Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://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] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread zeljko
On Tuesday 03 of January 2012 15:55:58 David Unric wrote:
 I'd like to ask somebody to shed some light on this subjects:
 1) why supplying target OS option (-T) fails ? If I'd like to build win64
 exe on win32 system have I pass CPU Target and fpc automagically selects
 appropriate OS Target ?

You don't need anything to pass to fpc, lazarus can do that via project 
options (compiler options), you can set various build modes there.

 2) How to tweak Lazarus so I can simply switch between win32/win64 targets
 ?

You have project build modes ... it's easy to switch.

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Sven Barth

Am 03.01.2012 15:55, schrieb David Unric:

Lazarus 0.9.31 seems to do not use -P option as it still produces i386
code even if target CPU family is set to x86_64 in Project options and
exe is rebuilt from scratch (console app).


Are you sure that it's a 32-Bit application?


I'd like to ask somebody to shed some light on this subjects:
1) why supplying target OS option (-T) fails ? If I'd like to build
win64 exe on win32 system have I pass CPU Target and fpc automagically
selects appropriate OS Target ?


This is the same problem I mentioned in my other mail. Without the 
-PXXX argument fpc selects the i386 compiler which does not know about 
the win64 target, thus the error.



2) How to tweak Lazarus so I can simply switch between win32/win64 targets ?
I'd appreciate any hint.


Normally this works by changing the CPU family in the compiler options. 
Are you sure that you've set Lazarus to use the correct compiler?


Regards,
Sven

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Mattias Gaertner
On Tue, 3 Jan 2012 15:55:58 +0100
David Unric dunric...@gmail.com wrote:

 Thx Vincent,
 
 by supplying -P switch to fpc, I can finally produce x86_64 executables.
 I'm surprised this switch is not mentioned in interactive help (fpc -? or
 -h).

Indeed. Please create a bug report.

 Why compiler fails when supplied with documented -Ttarget os option ?
 fpc -Twin64 consoleapp.dpr
 Error: Illegal parameter: -Twin64
 Error: c:\Lazarus\fpc\2.7.1\bin\i386-win32\ppc386.exe returned an error
 exitcode
  (normal if you did not specify a source file to be compiled)

ppc386.exe does not know about the target 'win64'.

 
 Lazarus 0.9.31 seems to do not use -P option as it still produces i386 code
 even if target CPU family is set to x86_64 in Project options and exe is
 rebuilt from scratch (console app).

It does use the -P and -T switch. But it passes them only if they
differ from the default.

 
 I'd like to ask somebody to shed some light on this subjects:
 1) why supplying target OS option (-T) fails ? If I'd like to build win64
 exe on win32 system have I pass CPU Target and fpc automagically selects
 appropriate OS Target ?
 2) How to tweak Lazarus so I can simply switch between win32/win64 targets ?

1. Fix your installation, so that setting Target OS and
Target CPU in the IDE compiler options works.
2. Add another build mode.

http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Build_modes

Mattias

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread David Unric
Hi,

On Tue, Jan 3, 2012 at 4:33 PM, Sven Barth pascaldra...@googlemail.comwrote:

 Am 03.01.2012 15:55, schrieb David Unric:

  Lazarus 0.9.31 seems to do not use -P option as it still produces i386
 code even if target CPU family is set to x86_64 in Project options and
 exe is rebuilt from scratch (console app).


 Are you sure that it's a 32-Bit application?


It is detected as i386 app by PE Information tool from GExperts. If I
compile source from command line by fpc -Px86_64, the produced exe is
detected as 64bit (AMD x64).



  I'd like to ask somebody to shed some light on this subjects:
 1) why supplying target OS option (-T) fails ? If I'd like to build
 win64 exe on win32 system have I pass CPU Target and fpc automagically
 selects appropriate OS Target ?


 This is the same problem I mentioned in my other mail. Without the -PXXX
 argument fpc selects the i386 compiler which does not know about the win64
 target, thus the error.


Ok, fpc -P argument is mandatory, there is no default CPU target for OS
target.




 2) How to tweak Lazarus so I can simply switch between win32/win64 targets
 ?
 I'd appreciate any hint.


 Normally this works by changing the CPU family in the compiler options.
 Are you sure that you've set Lazarus to use the correct compiler?

 Regards,
 Sven


Yes, the path to fpc compiler in Lazarus options is coorect. Compiler
path is C:\Lazarus\fpc\2.7.1\bin\i386-win32\fpc.exe .




 --
 __**_
 Lazarus mailing list
 Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://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] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread David Unric
Hi Mattias,

On Tue, Jan 3, 2012 at 4:39 PM, Mattias Gaertner
nc-gaert...@netcologne.dewrote:

 On Tue, 3 Jan 2012 15:55:58 +0100
 David Unric dunric...@gmail.com wrote:

  Thx Vincent,
 
  by supplying -P switch to fpc, I can finally produce x86_64 executables.
  I'm surprised this switch is not mentioned in interactive help (fpc -? or
  -h).

 Indeed. Please create a bug report.

I'm going to fill a bug report. Just attempted to make sure I did not miss
something, ie. I'm mistaken.


  Why compiler fails when supplied with documented -Ttarget os option ?
  fpc -Twin64 consoleapp.dpr
  Error: Illegal parameter: -Twin64
  Error: c:\Lazarus\fpc\2.7.1\bin\i386-win32\ppc386.exe returned an error
  exitcode
   (normal if you did not specify a source file to be compiled)

 ppc386.exe does not know about the target 'win64'.


Allright, CPU target is a mandatory option.


  Lazarus 0.9.31 seems to do not use -P option as it still produces i386
 code
  even if target CPU family is set to x86_64 in Project options and exe is
  rebuilt from scratch (console app).

 It does use the -P and -T switch. But it passes them only if they
 differ from the default.

I'm still confused here. I did peek into .lpi project options file and it
contains the following tag:

CodeGeneration
  TargetCPU Value=x86_64/
  TargetOS Value=win64/
/CodeGeneration
Although a clean rebuild of source produces i386 executable. No error
messages during compilation phase.
???



  I'd like to ask somebody to shed some light on this subjects:
  1) why supplying target OS option (-T) fails ? If I'd like to build win64
  exe on win32 system have I pass CPU Target and fpc automagically
 selects
  appropriate OS Target ?
  2) How to tweak Lazarus so I can simply switch between win32/win64
 targets ?

 1. Fix your installation, so that setting Target OS and
 Target CPU in the IDE compiler options works.
 2. Add another build mode.

 http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Build_modes

 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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Mattias Gaertner
On Tue, 3 Jan 2012 17:19:57 +0100
David Unric dunric...@gmail.com wrote:

[...]
   Lazarus 0.9.31 seems to do not use -P option as it still produces i386
  code
   even if target CPU family is set to x86_64 in Project options and exe is
   rebuilt from scratch (console app).
 
  It does use the -P and -T switch. But it passes them only if they
  differ from the default.
 
 I'm still confused here. I did peek into .lpi project options file and it
 contains the following tag:
 
 CodeGeneration
   TargetCPU Value=x86_64/
   TargetOS Value=win64/
 /CodeGeneration
 Although a clean rebuild of source produces i386 executable. No error
 messages during compilation phase.
 ???

Hmm. Maybe your fpc.exe and lazarus.exe were compiled differently and
have different defaults.
I changed the IDE to always pass the -T and -P if they are set.


[...]

Mattias

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


Re: [Lazarus] Problem with JVM and/or native types

2012-01-03 Thread Mattias Gaertner
On Thu, 29 Dec 2011 13:23:08 +0100
Sven Barth pascaldra...@googlemail.com wrote:

[...]
 The error with the first external class or interface declaration now 
 has gone away, but I have found a new problem:
 
 Ctrl+Clicking on an identifier that is declared in the AndroidR14 unit 
 gives the following error:
 
 ### TCodeToolManager.HandleException: Bezeichner nicht gefunden: 
 TObject at Line=2 Col=6 in 
 /mnt/data/source/fpc/fpc-jvm/rtl/android/jvm/androidr14.pas
 
 But there is no TObject at that position.

TObject is the default ancestor of a class. It does not need to be
written in code.
It works here.
Clicking on what identifier?

 
 Also if I do this in a Java project instead of an Android one with an 
 identifier that is declared in jdk15.pp then I get the following error:
 
 ### TCodeToolManager.HandleException: Bezeichner nicht gefunden: 
 TObject at Line=17 Col=6 in 
 /mnt/data/source/fpc/fpc-jvm/rtl/java/system.pp
 
 Using an identifier that is declared in the system unit (JLObject) 
 results in the same error.

It works here. But I don't have a working jvm compiler, so maybe it
has some special defines.


 
 Also a strange behavior: consider the following code:
 
 === example begin ===
 
THelloWorld = class(OBPJJavaPlugin)

Where is OBPJJavaPlugin defined?


private
  fLog: JULLogger;
  fFoo: OBPJJavaPlugin;
public
  constructor Create;
  procedure onEnable;
  procedure onDisable;
  procedure onLoad; override;
end;
 
 === example end ===
 
 I can successfully Ctrl+Click the identifier inside the class(...), 
 but I can not do that for the type of fFoo (see above mentioned error). 
 I can also successfully do code completion in the class parent, but not 
 for fFoo (if I do that for the type of fFoo then the code completion 
 jumps to the above mentioned error location in system.pp, which is the 
 unit system; line)
 
 Nevertheless working with the JVM port is much easier now. Thank you 
 very much :)


Mattias

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


Re: [Lazarus] Build modes not saved in default compileroptions?

2012-01-03 Thread Bart
On 1/3/12, Mattias Gaertner nc-gaert...@netcologne.de wrote:
 On Mon, 2 Jan 2012 16:46:54 +0100
 It was never implemented. Only the active build mode was saved
 (one set of compiler options).


I must have been delirious then, because that is how I remember it,
and being excited that it did that. Too much Lazarus makes you high
... ?


 I implemented it.
 When the checkbox 'Use these ... as default' is checked the IDE now
 saves all build modes and will use them for new projects.

Thanks for implementing my hallucinations!

Bart

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


[Lazarus] Cycle vs. Circle errors

2012-01-03 Thread marcelo.bp
Hello list,

That got me ! I know what a circle reference is, but can anyone explain with 
more details what a “cycle reference” is, please!

I need a suggestion to translate this to portuguese. Usually an “invalid 
circle” is translated as “referência circular inválida”,
but right now i am confused with this new term, maybe that classic M$ error 
“Erro de redundância cíclica” 

Any help will be welcomed.

Thanks in advance,

Marcelo B. PaulawlEmoticon-smile[1].png--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problem with JVM and/or native types

2012-01-03 Thread Mattias Gaertner
On Thu, 29 Dec 2011 13:23:08 +0100
Sven Barth pascaldra...@googlemail.com wrote:

[...]
 ### TCodeToolManager.HandleException: Bezeichner nicht gefunden: 
 TObject at Line=2 Col=6 in 
 /mnt/data/source/fpc/fpc-jvm/rtl/android/jvm/androidr14.pas
 
 But there is no TObject at that position.

It seems JLObject is the base class for target jvm.
I added that information to codetools.

Mattias

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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Maxim Ganetsky

03.01.2012 22:24, marcelo.bp пишет:

Hello list,
That got me ! I know what a circle reference is, but can anyone explain
with more details what a “cycle reference” is, please!


Cycle in this context (package/project dependencies) means exactly 
what circle meant before. In fact there is no term circle anymore, 
it was replaced by cycle.


--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Martin

On 03/01/2012 17:30, Maxim Ganetsky wrote:

03.01.2012 22:24, marcelo.bp пишет:

Hello list,
That got me ! I know what a circle reference is, but can anyone explain
with more details what a “cycle reference” is, please!


Cycle in this context (package/project dependencies) means exactly 
what circle meant before. In fact there is no term circle anymore, 
it was replaced by cycle.




well I am not a native English speaker, but are we sure cycle is 
better (in terms of correctness) than circle (or maybe circular)?


I would usually associate cycle with  wash cycle life cycle: a 
period (time span) of a greater happening.

(German zyklus)



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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Mattias Gaertner
On Tue, 3 Jan 2012 15:24:24 -0300
marcelo.bp marcelo...@netsite.com.br wrote:

 Hello list,
 
 That got me ! I know what a circle reference is, but can anyone explain with 
 more details what a “cycle reference” is, please!

I'm not a native English speaker, so maybe both are bad English.

It should indicate that the (package) graph has a cycle. For example
when two packages depend on each other. Because packages are compiled
one after the other, a cycle is not supported aka invalid.

The term circle was translated from German graph theory, but the
common words in English graph theory are cycle and cyclic.

 
 I need a suggestion to translate this to portuguese. Usually an “invalid 
 circle” is translated as “referência circular inválida”,
 but right now i am confused with this new term, maybe that classic M$ error 
 “Erro de redundância cíclica” 
 
 Any help will be welcomed.


Mattias

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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Felipe Monteiro de Carvalho
On Tue, Jan 3, 2012 at 3:43 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 The term circle was translated from German graph theory, but the
 common words in English graph theory are cycle and cyclic.

But people speak of circular unit reference. I never heard cyclic
unit reference. If you search for cyclic unit reference in Google,
it will give results for circular unit reference instead.

For me something cyclic makes multiple turns.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread David Unric
On Tue, Jan 3, 2012 at 5:29 PM, Mattias Gaertner
nc-gaert...@netcologne.dewrote:

 On Tue, 3 Jan 2012 17:19:57 +0100
 David Unric dunric...@gmail.com wrote:

 [...]
Lazarus 0.9.31 seems to do not use -P option as it still produces
 i386
   code
even if target CPU family is set to x86_64 in Project options and
 exe is
rebuilt from scratch (console app).
  
   It does use the -P and -T switch. But it passes them only if they
   differ from the default.
  
  I'm still confused here. I did peek into .lpi project options file and it
  contains the following tag:
 
  CodeGeneration
TargetCPU Value=x86_64/
TargetOS Value=win64/
  /CodeGeneration
  Although a clean rebuild of source produces i386 executable. No error
  messages during compilation phase.
  ???

 Hmm. Maybe your fpc.exe and lazarus.exe were compiled differently and
 have different defaults.
 I changed the IDE to always pass the -T and -P if they are set.

 Just had a look at command line options Lazarus passes to FPC (Show
options in Project options) and can confirm, the cpu target -P is missing
if x86_64 is explicitly selected.

How did you changed IDE to always pass -T and -P options ?

Thx.

David



 [...]

 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


Re: [Lazarus] Lazarus Logo

2012-01-03 Thread Kjow
2012/1/3 silvioprog silviop...@gmail.com:
 Wow, nice icon.

Thank you :)

Best Regards,
Kjow

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Reimar Grabowski
On Tue, 3 Jan 2012 21:16:34 +0100
David Unric dunric...@gmail.com wrote:

 How did you changed IDE to always pass -T and -P options ?

Here is what he did:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/ide/compileroptions.pp?sortby=dateroot=lazarusview=diffr1=34561r2=34560diff_format=h

R.

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


Re: [Lazarus] Free Pascal 2.6.0 released!

2012-01-03 Thread Marco van de Voort
On Tue, Jan 03, 2012 at 09:19:31AM -0200, Fabio Luis Girardi wrote:
 
 Version *2.4.4 *is the latest stable version the Free Pascal. Hit the
 download http://www.freepascal.org/download.var link and select a mirror
 close to you to download your copy. The development releases have version
 numbers *2.5.x*. See the development
 http://www.freepascal.org/develop.var page
 how to obtain the latest sources and support development.

Thanks, fixed, will be visible tomorrow.

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


Re: [Lazarus] Custom OS/CPU targets for FPC - build help

2012-01-03 Thread Marco van de Voort
On Tue, Jan 03, 2012 at 02:03:44PM +0100, Sven Barth wrote:
 Am 03.01.2012 13:45, schrieb David Unric:
  I can produce x86_64/win64 binaries manually with 'ppcrossx64'  but the
  main fpc.exe still lacks win64 target, so I'm not able switch in Lazarus
  between win32 and win64 targets.
 
 The fpc.exe simply calls the default ppcXXX.exe for which it was 
 compiled if no -PXXX was given and displays the help options of that. 
 So if your default compiler is ppc386 then fpc -h will display all 
 i386 targets. If you now do a fpc -Px86_64 -h it should display all 
 targets for x86_64.

Or, if you kinky, try the effect of -V

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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread marcelo.bp

I must agree with Felipe.

Cyclic to me, remember something that repeats within a period.
I just recall one error that uses the term cyclic that is the well known 
CRC error.


So I must keep the translations as they are, and keep the word circular in 
portuguese where cyclic/cycle is referred.


Thanks everyone.

Marcelo.

-Mensagem Original- 
From: Felipe Monteiro de Carvalho

Sent: Tuesday, January 03, 2012 2:57 PM
To: Lazarus mailing list
Subject: Re: [Lazarus] Cycle vs. Circle errors

On Tue, Jan 3, 2012 at 3:43 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:

The term circle was translated from German graph theory, but the
common words in English graph theory are cycle and cyclic.


But people speak of circular unit reference. I never heard cyclic
unit reference. If you search for cyclic unit reference in Google,
it will give results for circular unit reference instead.

For me something cyclic makes multiple turns.

--
Felipe Monteiro de Carvalho




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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Howard Page-Clark

On 03/1/12 5:43, Mattias Gaertner wrote:


The term circle was translated from German graph theory, but the
common words in English graph theory are cycle and cyclic.


I'm not familiar with graph theory and the possibly specialist technical 
meanings given there to words in common use.


However, in everyday English neither of the nouns 'cycle' or 'circle' 
has the meaning 'mutual interdependence' except perhaps as a curious 
extension of the metaphor which works poorly if at all.


Whereas the adjective 'circular' can carry a meaning of 'interdependent' 
or 'dependent on itself'. So a 'circular argument' is flawed in that it 
refers to itself rather than to an independently established 
proposition. But in English you would not normally refer to such a 
circular argument as a 'circle' and expect people (apart perhaps from 
graph theorists?) to appreciate immediately what you meant.


Dependency (or interdependency) is the more descriptive term, which does 
not rely on a strained metaphor - although 'mutual dependency' is rather 
a mouthful.



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


Re: [Lazarus] trunk OSX Lion 10.7.2 Scrolling Problem

2012-01-03 Thread Martin

On 30/12/2011 16:51, Helmut Hartl wrote:
On OSX lion 10.7.2 in lazarus trunk, the svn revision 33972 breaks the 
mouse wheel scrolling in the ide editor
(at least for a magic mouse) - The view stutters, does not scroll, or 
scrolls only some lines and stops.

The version before worked fine.


Please try with rev 34570

Normal scrolling should work.

However any other function that yau may assign to the wheel (or 
shift/alt + wheel) will only react to every third wheel turn.

This is due to the lcl carbon code

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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Hans-Peter Diettrich

marcelo.bp schrieb:

That got me ! I know what a circle reference is, but can anyone explain 
with more details what a “cycle reference” is, please!


There exist several idioms:
circular [unit] references leading to *wrong* circle ...
loop (endless loop) in code execution or unit references
breaking loops meaning here break loop in references

cycle (from graph theory) is the currently accepted term for unit 
references, replaces the wrong circle term. But IMO cyclic 
references is wrong wording, should still read circular references.


And don't confuse graph theory with graphics - a circle is a 
graphical element, while circular is a more general concept.
Unit references should form an tree, which is a special kind of an graph 
(*without* loops/cycles).


I hope that I didn't increase confusion right now ;-)


I need a suggestion to translate this to portuguese. Usually an “invalid 
circle” is translated as “referência circular inválida”,


Looks good to me :-)

but right now i am confused with this new term, maybe that classic M$ 
error “Erro de redundância cíclica” Alegre


What's the English wording of this? I'd guess circular references, or 
endless loop (causing stack overflow)?


DoDi


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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Hans-Peter Diettrich

Martin schrieb:

Cycle in this context (package/project dependencies) means exactly 
what circle meant before. In fact there is no term circle anymore, 
it was replaced by cycle.




well I am not a native English speaker, but are we sure cycle is 
better (in terms of correctness) than circle (or maybe circular)?


See my other mail.

I would usually associate cycle with  wash cycle life cycle: a 
period (time span) of a greater happening.

(German zyklus)


Ein Zyklus ist zwar (primär) eine zeitliche Schleife, in der 
zyklischen Vertauschung ist die Bedeutung aber eine andere, und die 
ist hier eher gemeint. In der Graphentheorie hat sich engl. cycle 
eingebürgert, deutsch eher Schleife (schleifenfreier Graph), was 
dann in der Übersetzung oft zu loop führt.


Im Nachhinein bin ich mir nicht sicher, ob cycle (Graph) statt loop 
(Programmierung) wirklich eine Verbesserung bringt, wer denkt bei 
Programmieren schon sofort an Graphentheorie?


DoDi


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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Hans-Peter Diettrich

Howard Page-Clark schrieb:

On 03/1/12 5:43, Mattias Gaertner wrote:


The term circle was translated from German graph theory, but the
common words in English graph theory are cycle and cyclic.


I'm not familiar with graph theory and the possibly specialist technical 
meanings given there to words in common use.


However, in everyday English neither of the nouns 'cycle' or 'circle' 
has the meaning 'mutual interdependence' except perhaps as a curious 
extension of the metaphor which works poorly if at all.


After all I'm also not happy with cycle, when a coder will use the 
term loop for cycles. But what's the according adjective - loopy 
looks a bit weird to me? ;-)


Whereas the adjective 'circular' can carry a meaning of 'interdependent' 
or 'dependent on itself'. So a 'circular argument' is flawed in that it 
refers to itself rather than to an independently established 
proposition. But in English you would not normally refer to such a 
circular argument as a 'circle' and expect people (apart perhaps from 
graph theorists?) to appreciate immediately what you meant.


Dependency (or interdependency) is the more descriptive term, which does 
not rely on a strained metaphor - although 'mutual dependency' is rather 
a mouthful.


IMO dependency is a straight unidirectional relationship (A depends on 
B), but interdependency is not a common term in technical (simplified 
international) documentation. The same for cycle, as borrowed from 
graph theory, which associates with motor cycle in technical context.


Many languages seem to have problems with loops/circles/cycles as nouns, 
and the matching adjectives. Which noun and adjective would you suggest 
in the context of code and (circular) unit references?


DoDi


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


Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Reinier Olislagers
On 3-1-2012 22:51, Howard Page-Clark wrote:
 On 03/1/12 5:43, Mattias Gaertner wrote:
 
 The term circle was translated from German graph theory, but the
 common words in English graph theory are cycle and cyclic.
 
 I'm not familiar with graph theory and the possibly specialist technical
 meanings given there to words in common use.
 
 However, in everyday English neither of the nouns 'cycle' or 'circle'
 has the meaning 'mutual interdependence' except perhaps as a curious
 extension of the metaphor which works poorly if at all.
 
 Whereas the adjective 'circular' can carry a meaning of 'interdependent'
 or 'dependent on itself'. So a 'circular argument' is flawed in that it
 refers to itself rather than to an independently established
 proposition. But in English you would not normally refer to such a
 circular argument as a 'circle' and expect people (apart perhaps from
 graph theorists?) to appreciate immediately what you meant.
 
 Dependency (or interdependency) is the more descriptive term, which does
 not rely on a strained metaphor - although 'mutual dependency' is rather
 a mouthful.

Though not a native speaker (which might actually be good as a lot of
users won't be either):

- agreed with Howard: circular would be the adjective that evokes an
image of something leading back to itself.
I would understand cyclic, but only because I already have skimmed graph
theory... not something I'd expect of everyone.

- the noun is more difficult. While mutual dependency or interdependency
would correctly indicate that both units need each other, it doesn't
indicate to me that this is a problem.
Circle or cycle doesn't do it for me either, see above.

I would just try to rephrase messages to use only the adjective.

Regards,
Reinier

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