Re: [Lazarus] (no subject)

2015-06-09 Thread aradeonas
Good one !

Regards,
Ara


-- 
http://www.fastmail.com - Faster than the air-speed velocity of an
  unladen european swallow


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


Re: [Lazarus] (no subject)

2015-06-09 Thread Lukasz Sokol
Hi Graeme,

On 09/06/15 14:17, Graeme Geldenhuys wrote:
 On 2015-05-06 15:27, Lukasz Sokol wrote:
 You are consistently:

 - top posting (please don't unless you have a good reason like need to use 
 of screen reader)
 
 Lukasz, here is a good response that explains the issue clearly (screen
 reader exception applies).
 
 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?
 
 
 :-)

Cool although it must be noted I prefer to hand-craft my top-posting warnings ;)

It gets them* to gtfo what top-posting means :) and there is no knowledge like 
having gtfo'd something by oneself ;)

*hopefully

 
 Regards,
   - Graeme -
 
Kind Regards

Lukasz


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


Re: [Lazarus] (no subject)

2015-06-09 Thread Graeme Geldenhuys
On 2015-05-06 15:27, Lukasz Sokol wrote:
 You are consistently:
 
 - top posting (please don't unless you have a good reason like need to use of 
 screen reader)

Lukasz, here is a good response that explains the issue clearly (screen
reader exception applies).


A: Yes.
 Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
   Q: Why is top posting annoying in email?


:-)

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] (no subject)

2015-05-07 Thread Sandro Cumerlato
Sorry Frederic for the misunderstanding, my suggestion was intended only
for personal usage and not for the official distribution of Lazarus.

Thinking about it better, it could be a good idea perform a VirusTotal
check of UPXed executable before releasing a new version of the software.

Sandro

On 7 May 2015 at 19:59, Frederic Da Vitoria davito...@gmail.com wrote:

 2015-05-07 17:54 GMT+02:00 Sandro Cumerlato sandro.cumerl...@gmail.com:

 I'd like to recommend you to STRIP and UPX executables under Windows.

 Initial executables size:
 lazarus.exe  170859359 bytes (*)
 lazbuild.exe  52797635 bytes
 startlazarus.exe  15897492 bytes

 after STRIP and UPX:
 lazarus.exe  4093952 bytes (*)
 lazbuild.exe  1653760 bytes
 startlazarus.exe  1653760 bytes

 executables size is reduced to:
 lazarus.exe  2% of the original size
 lazbuild.exe  3% of the original size
 startlazarus.exe  10% of the original size

 ...and Lazarus (*) starts as a real cheetah! :)

 Just my 2 cents.


 Some anti-virus software consider UPXed executables as potentially
 dangerous. So while this idea often works, I suggest it is better left as
 an option to the users.

 --
 Frederic Da Vitoria
 (davitof)

 Membre de l'April - « promouvoir et défendre le logiciel libre » -
 http://www.april.org

 --
 ___
 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] (no subject)

2015-05-07 Thread Frederic Da Vitoria
2015-05-07 17:54 GMT+02:00 Sandro Cumerlato sandro.cumerl...@gmail.com:

 I'd like to recommend you to STRIP and UPX executables under Windows.

 Initial executables size:
 lazarus.exe  170859359 bytes (*)
 lazbuild.exe  52797635 bytes
 startlazarus.exe  15897492 bytes

 after STRIP and UPX:
 lazarus.exe  4093952 bytes (*)
 lazbuild.exe  1653760 bytes
 startlazarus.exe  1653760 bytes

 executables size is reduced to:
 lazarus.exe  2% of the original size
 lazbuild.exe  3% of the original size
 startlazarus.exe  10% of the original size

 ...and Lazarus (*) starts as a real cheetah! :)

 Just my 2 cents.


Some anti-virus software consider UPXed executables as potentially
dangerous. So while this idea often works, I suggest it is better left as
an option to the users.

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2015-05-07 Thread Sandro Cumerlato
I'd like to recommend you to STRIP and UPX executables under Windows.

Initial executables size:
lazarus.exe  170859359 bytes (*)
lazbuild.exe  52797635 bytes
startlazarus.exe  15897492 bytes

after STRIP and UPX:
lazarus.exe  4093952 bytes (*)
lazbuild.exe  1653760 bytes
startlazarus.exe  1653760 bytes

executables size is reduced to:
lazarus.exe  2% of the original size
lazbuild.exe  3% of the original size
startlazarus.exe  10% of the original size

...and Lazarus (*) starts as a real cheetah! :)

Just my 2 cents.

Sandro

On 7 May 2015 00:50, Mattias Gaertner nc-gaert...@netcologne.de wrote:

 On a fast system the IDE starts in half a second.
 The startup speed heavily depends on disk speed, scanners and installed
 packages.


 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] (no subject)

2015-05-06 Thread Xirax Xirax
Thanks Juha and Bart and we are in the same page about version release.

I know an IDE used for coding but as you all can see other big IDEs
keep looking good in time by updating it self.Maybe me and you are old
proframmers and used too logo and splash and web site but a LIVE
project need new users and new users are young,also its good to make a
change sometimes.
My purpose is helping Lazarus if I can so I need to know what is the
rules.For this I need to know who is in charge in these cases.

Have a good day.

On 5/6/15, Juha Manninen juha.mannine...@gmail.com wrote:
 On Wed, May 6, 2015 at 11:04 AM, Michael Van Canneyt
 mich...@freepascal.org wrote:
 Just out of curiosity: why would you want to download the splash screen ?

 For some people the splash-screen is a bigger than life question.
 You will see it when this mail thread continues. Somebody proposes to
 use his picture. Somebody else says no, my picture is better, I want
 my picture there ... and so on.

 I will commit code that makes it configurable, otherwise I am out of
 this discussion. Have better things to do.

 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] (no subject)

2015-05-06 Thread Xirax Xirax
A program like a person need a name and a face so there should not be
continuously changing logo but I think Lazarus graphical interface is
getting old and maybe I can help so I what to know who is in charge
for this case and who did this in the past so I can talk about.

Have a good day.

On 5/6/15, Michael Van Canneyt mich...@freepascal.org wrote:


 On Wed, 6 May 2015, Juha Manninen wrote:

 On Wednesday, May 6, 2015, Xirax Xirax xiraxxirax...@gmail.com wrote:
   I want to know who is the designer and may I propose a new graphic
 set
   for Lazarus?


 Yes but it must be configurable. There have been heated discussions about
 the splash screen especially. Everybody wanted to get their own pictures
 there.

 There are already some logos. Maybe more can be added. Ideally they should
 be downloaded on demand from somewhere once we have such a system
 available.

 Just out of curiosity: why would you want to download the splash screen ?

 I'm not a marketeer, but having a single recognizable logo, consistently
 used, seems more preferable than a continuously changing logo ?

 Michael.

 --
 ___
 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] (no subject)

2015-05-06 Thread Michael Van Canneyt



On Wed, 6 May 2015, Xirax Xirax wrote:


we cannot decide which option to use, so we make it configurable
its good but there is need for a default,most of the times users just
use default and it need decide but it soon for a such thins,for now I
just need to know how can I help in this way.


Just send your proposals to this list. That seems the easiest. 
I don't think there is a central person who handles this kind of requests.


Michael.

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Vojtěch Čihák

Hi,
 
I like current splash (cheetah on the pillar). Its timeless, I wouldn't change 
it.
The only aesthetic flaw is that it is a little empty in the middle.
It is problem of Splash screen only.
In About Box - there are written infos about Lazarus, FPC and system, so it 
looks fine.
 
V.
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
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] (no subject)

2015-05-06 Thread Xirax Xirax
we cannot decide which option to use, so we make it configurable
its good but there is need for a default,most of the times users just
use default and it need decide but it soon for a such thins,for now I
just need to know how can I help in this way.

On 5/6/15, Xirax Xirax xiraxxirax...@gmail.com wrote:
 Thanks Juha and Bart and we are in the same page about version release.

 I know an IDE used for coding but as you all can see other big IDEs
 keep looking good in time by updating it self.Maybe me and you are old
 proframmers and used too logo and splash and web site but a LIVE
 project need new users and new users are young,also its good to make a
 change sometimes.
 My purpose is helping Lazarus if I can so I need to know what is the
 rules.For this I need to know who is in charge in these cases.

 Have a good day.

 On 5/6/15, Juha Manninen juha.mannine...@gmail.com wrote:
 On Wed, May 6, 2015 at 11:04 AM, Michael Van Canneyt
 mich...@freepascal.org wrote:
 Just out of curiosity: why would you want to download the splash screen
 ?

 For some people the splash-screen is a bigger than life question.
 You will see it when this mail thread continues. Somebody proposes to
 use his picture. Somebody else says no, my picture is better, I want
 my picture there ... and so on.

 I will commit code that makes it configurable, otherwise I am out of
 this discussion. Have better things to do.

 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] (no subject)

2015-05-06 Thread Bart
On 5/6/15, Xirax Xirax xiraxxirax...@gmail.com wrote:

 A program like a person need a name and a face so there should not be
 continuously changing logo but I think Lazarus graphical interface is
 getting old and maybe I can help so I what to know who is in charge
 for this case and who did this in the past so I can talk about.

By all means: please present a new logo that does not look old.
I would really like to see your ideas about that.
Mind you, since I am old I like the current logo.
We are not against change, we've changed the logo a few times in the past.
IIRC we even had a poll in the forum about is at some time.

As far as I am concerned: there MUST be a cheetah in the logo.

I would however suggest to only change logo for either the release of
1.6.x or 2.0 series..

 Have a good day.

Same to you.

Bart

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Juha Manninen
On Wed, May 6, 2015 at 11:04 AM, Michael Van Canneyt
mich...@freepascal.org wrote:
 Just out of curiosity: why would you want to download the splash screen ?

For some people the splash-screen is a bigger than life question.
You will see it when this mail thread continues. Somebody proposes to
use his picture. Somebody else says no, my picture is better, I want
my picture there ... and so on.

I will commit code that makes it configurable, otherwise I am out of
this discussion. Have better things to do.

Juha

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Michael Van Canneyt



On Wed, 6 May 2015, Juha Manninen wrote:


On Wed, May 6, 2015 at 11:04 AM, Michael Van Canneyt
mich...@freepascal.org wrote:

Just out of curiosity: why would you want to download the splash screen ?


For some people the splash-screen is a bigger than life question.
You will see it when this mail thread continues. Somebody proposes to
use his picture. Somebody else says no, my picture is better, I want
my picture there ... and so on.

I will commit code that makes it configurable, otherwise I am out of
this discussion. Have better things to do.


Ah, the old we cannot decide which option to use, so we make it configurable 
argument.

I am very familiar with it :-)

Michael.

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Michael Van Canneyt



On Wed, 6 May 2015, Juha Manninen wrote:


On Wednesday, May 6, 2015, Xirax Xirax xiraxxirax...@gmail.com wrote:
  I want to know who is the designer and may I propose a new graphic set
  for Lazarus?


Yes but it must be configurable. There have been heated discussions about the 
splash screen especially. Everybody wanted to get their own pictures there.

There are already some logos. Maybe more can be added. Ideally they should be 
downloaded on demand from somewhere once we have such a system available.


Just out of curiosity: why would you want to download the splash screen ?

I'm not a marketeer, but having a single recognizable logo, consistently used, 
seems more preferable than a continuously changing logo ?

Michael.

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Sandro Cumerlato
I'd like to recommend SVG format for new graphics.

Sandro
 On 6 May 2015 07:17, Xirax Xirax xiraxxirax...@gmail.com wrote:

 Excuse me for missed subject.

 I want to know who is the designer and may I propose a new graphic set
 for Lazarus?

 On 5/6/15, Marcos Almeida Azevedo marcos.al.azev...@gmail.com wrote:
  On Wed, May 6, 2015 at 5:18 AM, Mattias Gaertner
  nc-gaert...@netcologne.de
  wrote:
 
  On Wed, 6 May 2015 01:11:02 +0430
  Xirax Xirax xiraxxirax...@gmail.com wrote:
 
   Hello,
  
   Any one know who can I talk about Lazarus graphical interface like
   logo,splash screen and so on?
 
 
  What do you want to do specifically? Or do you wish to have some example
  codes?
 
 
 
  This is the right place.
 
  Mattias
 
  --
  ___
  Lazarus mailing list
  Lazarus@lists.lazarus.freepascal.org
  http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 
 
 
 
  --
  Marcos | I love PHP, Linux, and Java
  http://javadevnotes.com/java-string-split-newline-examples
 

 --
 ___
 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] (no subject)

2015-05-06 Thread Juha Manninen
On Wednesday, May 6, 2015, Xirax Xirax xiraxxirax...@gmail.com wrote:

 I want to know who is the designer and may I propose a new graphic set
 for Lazarus?


Yes but it must be configurable. There have been heated discussions about
the splash screen especially. Everybody wanted to get their own pictures
there.

There are already some logos. Maybe more can be added. Ideally they should
be downloaded on demand from somewhere once we have such a system available.

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Xirax Xirax
vojtech if there is a new graphic set sure it will have familiar but fresh lock.
OK Michael but if you have a link to mail archive or forum that people
talked about this subject before please send it to me.

Have a good day.

On 5/6/15, Vojtěch Čihák vojtech.ci...@atlas.cz wrote:
 Hi,

 I like current splash (cheetah on the pillar). Its timeless, I wouldn't
 change it.
 The only aesthetic flaw is that it is a little empty in the middle.
 It is problem of Splash screen only.
 In About Box - there are written infos about Lazarus, FPC and system, so it
 looks fine.

 V.
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 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] (no subject)

2015-05-06 Thread Juha Manninen
On Wednesday, May 6, 2015, Xirax Xirax xiraxxirax...@gmail.com wrote:

 vojtech if there is a new graphic set sure it will have familiar but fresh
 lock.
 OK Michael but if you have a link to mail archive or forum that people
 talked about this subject before please send it to me.


Last time it happened in forum few years back when I tried to get the new
web main page designed.
For some reason the discussion turned into splash screen images. It
happened in many threads and may be difficult to find.
The consensus was that the developers are against progress because they
don't change the splash screen image, but none of the images pleased
everybody.
Besides, the importance of splash screen got highly exaggerated. It only
shows during few seconds at start, but for new users it seems to be very
important.
Thus, I say let's make it configurable.

The candidate images should be collected somewhere. Where?

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Xirax Xirax
I'm not just talking about splash,I'm talking about a complete graphical set.
About configurable it can be good but I think we can make a restore
point for probably change so if there will be changes and some users
don't want it can go back to old.

So if I can talk to last designer (Icon,splash and so on) it can be a
very useful help.

On 5/6/15, Juha Manninen juha.mannine...@gmail.com wrote:
 On Wednesday, May 6, 2015, Xirax Xirax xiraxxirax...@gmail.com wrote:

 vojtech if there is a new graphic set sure it will have familiar but
 fresh
 lock.
 OK Michael but if you have a link to mail archive or forum that people
 talked about this subject before please send it to me.


 Last time it happened in forum few years back when I tried to get the new
 web main page designed.
 For some reason the discussion turned into splash screen images. It
 happened in many threads and may be difficult to find.
 The consensus was that the developers are against progress because they
 don't change the splash screen image, but none of the images pleased
 everybody.
 Besides, the importance of splash screen got highly exaggerated. It only
 shows during few seconds at start, but for new users it seems to be very
 important.
 Thus, I say let's make it configurable.

 The candidate images should be collected somewhere. Where?

 Juha


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


Re: [Lazarus] (no subject)

2015-05-06 Thread Martin Frb

On 06/05/2015 09:19, Xirax Xirax wrote:

A program like a person need a name and a face so there should not be
continuously changing logo but I think Lazarus graphical interface is
getting old and maybe I can help so I what to know who is in charge
for this case and who did this in the past so I can talk about.



There is no single person.
Changing the logo(s) would be something that would be discussed by the 
team (final discussion would be none public, sorry).


In general icons, splash, and similar are identifying a product in the 
same way as the name. So IMHO they should not simple be replaced. 
However one could *discuss* changes (e.g. crisper/softer colors, 
rounding edges,...), But that would still leave the original in tact.


As for the icons: They where changed recently (few years ago). It took 
me many months until I was able to find the task button again


As for (configurable) replacements (IMHO): the first step is to document 
where to copy the replacement, and then rebuild. That already works.
Of course if someone writes a package (yes a package) that adds config 
options to the Tools/options dialog, then the main code can be changed 
to allow all the hooks necessary, so that such a package can also load 
the gfx.



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


Re: [Lazarus] (no subject)

2015-05-06 Thread Lukasz Sokol
On 06/05/15 15:08, Xirax Xirax wrote:
 I'm not just talking about splash,I'm talking about a complete graphical set.
 About configurable it can be good but I think we can make a restore
 point for probably change so if there will be changes and some users
 don't want it can go back to old.
 
 So if I can talk to last designer (Icon,splash and so on) it can be a
 very useful help.
 

You are consistently:

- top posting (please don't unless you have a good reason like need to use of 
screen reader)

- missing the point : (please EXCUSE the spoonfeed):
  
  BY ALL MEANS, PLEASE, SHOW US THE PICTURES SOMEWHERE and we'll see if we LIKE 
them.
  
  Those in charge of repositories are in charge of the picture uploads - they 
CAN take things in
  that the Team and the users AGREE on. No more, no less.

HTH
el es


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


Re: [Lazarus] (no subject)

2015-05-06 Thread Giuliano Colla

Il 06/05/2015 23:36, Graeme Geldenhuys ha scritto:

At least Lazarus IDE is miles ahead of Delphi IDE. G*d that application
starts up slow, even on my beefy i7 3770K system.


Sorry if I'm completely OT, but did you try to TURN OFFF hyperthreading 
on your I7?
After some reading around, trying to figure out why the I7 I was 
validating for our equipments wasn't as fast as I would have expected, I 
discovered that HT, unless you have an application specially designed 
for HT (i.e. almost no application in the world), dramatically increases 
the amount of cache misses, providing as a result a performance loss 
instead of a performance gain!

I just disabled HT from BIOS, and the poor 10ms of my benchmark became 5ms!
Of course it depends on applications, but it's worth a try.
Just my 2 c

Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


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


Re: [Lazarus] (no subject)

2015-05-06 Thread Mattias Gaertner
On Wed, 06 May 2015 22:36:33 +0100
Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote:

[...]
 I don't give a hoot about the splash screen image. What would be an
 improvement is if the IDE [or any application for that matter] starts up
 so fast that a splash screen isn't needed at all.

On a fast system the IDE starts in half a second.
The startup speed heavily depends on disk speed, scanners and installed
packages.


Mattias

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


Re: [Lazarus] (no subject)

2015-05-06 Thread Graeme Geldenhuys
On 2015-05-06 09:45, Juha Manninen wrote:
 For some people the splash-screen is a bigger than life question.

[my 2c worth]

I don't give a hoot about the splash screen image. What would be an
improvement is if the IDE [or any application for that matter] starts up
so fast that a splash screen isn't needed at all.

Remember the point of a splash screen? The idea came about because a
application starts up so damn slow, they have to show the user something
immediately, otherwise they might think nothing is happening and might
double click the program icon again.

MSEide is a good example of an IDE that starts up so fast, it simply
doesn't need a splash screen. Can't all applications be made like that. ;-)

ps:
At least Lazarus IDE is miles ahead of Delphi IDE. G*d that application
starts up slow, even on my beefy i7 3770K system.

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] (no subject)

2015-05-06 Thread Xirax Xirax
As I think mail list probably is not a good place for asking like this
question becuase every one specialy developer dont like changing in
how something look in first place even me.
Dear Mr Fortuny you are right but consdir that new developers come
half century after you and they have different taste.
Martin as I want in the first email I just need to talk with
pereviouse designer and talking about design and maybe get old full
resolution design resource like logo. so if you know he tell me and if
not I will go for it and send you result so you and other team member
can discuss about it.

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


Re: [Lazarus] (no subject)

2015-05-06 Thread A. Fortuny

Le 5/05/2015 22:41, Xirax Xirax a écrit :

Hello,

Any one know who can I talk about Lazarus graphical interface like
logo,splash screen and so on?


Hi Guys (not seeing girls over there)

After a reading across this post, I wonder how much relevant is, for 
Lazarus users like me, Xirax Xirax proposal. To be honest I must write 
that I'm 64 and I know Lazarus and use it for more than 5 years. I also 
know Delphi from the very first version 1.0 on Windos 3.1 (do some of 
you remeber what it was ?).  As a Lazarus user, I'm absolutely happy on 
the job the team has achieved so far. As a developer (but non in 
Lazarus) I like that an IDE gives me as much help as possible to 
implement the best solution to a given problem. I do not care at all 
whether the splash screen is either red or grey or maybe the icon 
representing a component is blue or dark yellow, as long as I SEE that 
icon at the same place across all new releases. Lazarus and Delphi 
achieved the same goal. This is, for instance, one of my major blames 
against Micro$oft. On every new release I've to loose time just to find 
where those crazy people disguise the well known function in previous 
version.  That's also the major reason why I love Linux. I use the same 
Linux dialect for almost 10 years and nothing changed (except new 
features) neither in install process nor in the graphical interface 
(OpenSuse  Xfce). I'm not interested on what the GUI looks like as far 
as it works fine. Being a Linus and a Wind$ws user and developer, I 
highly apreciate how close the IDEs are in Linux and Windo$ws. This is 
also highly productive.


Xirax Xirax proposal could maybe lead to have a nice GUI for the IDE: 
useless for me and development time lost. As a developer I prefer to 
focus on efficiency rather than on beauty. The last needs guys (or 
girls) having some artistic skills. I have none.


Thanks to you all guys.

Antonio.


---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
http://www.avast.com



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


Re: [Lazarus] (no subject)

2015-05-05 Thread Marcos Almeida Azevedo
On Wed, May 6, 2015 at 5:18 AM, Mattias Gaertner nc-gaert...@netcologne.de
wrote:

 On Wed, 6 May 2015 01:11:02 +0430
 Xirax Xirax xiraxxirax...@gmail.com wrote:

  Hello,
 
  Any one know who can I talk about Lazarus graphical interface like
  logo,splash screen and so on?


What do you want to do specifically? Or do you wish to have some example
codes?



 This is the right place.

 Mattias

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




-- 
Marcos | I love PHP, Linux, and Java
http://javadevnotes.com/java-string-split-newline-examples
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2015-05-05 Thread Xirax Xirax
Excuse me for missed subject.

I want to know who is the designer and may I propose a new graphic set
for Lazarus?

On 5/6/15, Marcos Almeida Azevedo marcos.al.azev...@gmail.com wrote:
 On Wed, May 6, 2015 at 5:18 AM, Mattias Gaertner
 nc-gaert...@netcologne.de
 wrote:

 On Wed, 6 May 2015 01:11:02 +0430
 Xirax Xirax xiraxxirax...@gmail.com wrote:

  Hello,
 
  Any one know who can I talk about Lazarus graphical interface like
  logo,splash screen and so on?


 What do you want to do specifically? Or do you wish to have some example
 codes?



 This is the right place.

 Mattias

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




 --
 Marcos | I love PHP, Linux, and Java
 http://javadevnotes.com/java-string-split-newline-examples


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


Re: [Lazarus] (no subject)

2015-05-05 Thread Mattias Gaertner
On Wed, 6 May 2015 01:11:02 +0430
Xirax Xirax xiraxxirax...@gmail.com wrote:

 Hello,
 
 Any one know who can I talk about Lazarus graphical interface like
 logo,splash screen and so on?

This is the right place.

Mattias

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


Re: [Lazarus] (no subject)

2014-08-28 Thread Bart
On 8/28/14, Jesus Reyes jesus...@yahoo.com.mx wrote:

 Has anybody noticed that you can't get an annotated view of a file in
 ViewVC?

 Every time it results in Error occurred while calculating annotation
 data., however there is no problem doing it the command line: svn blame
 afile works.

Already reported as http://bugs.freepascal.org/view.php?id=26603
You might want to add the info that commandline blame is working.

Bart

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


Re: [Lazarus] (no subject)

2014-02-24 Thread Mattias Gaertner


 Michael Van Canneyt mich...@freepascal.org hat am 23. Februar 2014 um 21:05
 geschrieben:
 [...]
 When you press shift-ctrl-c to add a new method or function, the ide also
 corrects casing or other 'small'
 discrepancies between interface and implementation.
 
 While in principle, I am very much a fan of this feature, it is very annoying
 when you edit
 older sources in a versioned file: all of a sudden a huge diff is created
 which hides the
 'real' change between all kinds of cosmetic diffs.

It's not so sudden any more. The source editor shows yellow and green spot on
the right bar.


 For example, I added a function to the fpcunit unit of FPC. I declared the
 function, pressed
 CTRL-shift-C so the IDE would complete it, and add 1 line of code. The result
 is a 60-line diff
 with 5 lines of real changes, and +/- 55 lines of bogus changes (mostly
 casing, sometimes whitespace).
 
 stuff like (see if you spot the difference, sometimes it's real hard):
 
 -class procedure TAssert.AssertTrue(const AMessage: String; ACondition:
 Boolean);
 +
 +class procedure TAssert.AssertTrue(const AMessage: string; ACondition:
 boolean);

 Is there by any chance a way to disable this behaviour ?

Options / Codetools / Class Completion / Update all method signatures.

Mattias

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


Re: [Lazarus] (no subject)

2014-02-24 Thread Michael Van Canneyt



On Mon, 24 Feb 2014, Mattias Gaertner wrote:



It's not so sudden any more. The source editor shows yellow and green spot on
the right bar.


With sudden I meant that before updating the IDE, this didn't happen.
(and yes, I didn't update in a long time)



Is there by any chance a way to disable this behaviour ?


Options / Codetools / Class Completion / Update all method signatures.


Wonderful, thank you !

Michael.

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


Re: [Lazarus] (no subject)

2014-02-24 Thread Sven Barth

Am 24.02.2014 10:20, schrieb Michael Van Canneyt:




Is there by any chance a way to disable this behaviour ?


Options / Codetools / Class Completion / Update all method signatures.


Wonderful, thank you !
One of those cases again where I'd like to have the ability to override 
this per project... for working on the compiler/RTL/etc. I'd like to 
have this disabled and for my own projects I'd like to have it 
enabled... (I already reported that some years ago as 
http://bugs.freepascal.org/view.php?id=18517 )


Regards,
Sven


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


Re: [Lazarus] (no subject)

2013-09-20 Thread Mattias Gaertner
On Fri, 20 Sep 2013 09:24:17 +0200
Michael Schnell mschn...@lumino.de wrote:

 Hi experts,
 
 Using (nearly) the current trunk fpc, when checking out Lazarus and 
 doing make clean all  get:
 
 ..
 Compiling debugmanager.pas
 debugmanager.pas(63,3) Error: Duplicate identifier GDBMISERVERDEBUGGER
 debugmanager.pas(63,3) Error: Duplicate identifier GDBMIServerDebugger
 ...
 make: *** [ide] Error 2
 
 What am I doing wrong ?

It works here. Maybe you were unlucky and got a bad revision.

Mattias

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


Re: [Lazarus] (no subject)

2013-01-21 Thread Mattias Gaertner

amin ibrahime amin...@hotmail.com hat am 21. Januar 2013 um 16:23 geschrieben:

   i   can not  build  LCL with os target linux and cpu i386

Why not?
What is the error message?
Are you cross compiling?

Mattias

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


Re: [Lazarus] (no subject)

2012-08-05 Thread Zaher Dirkey
On Sun, Aug 5, 2012 at 12:05 AM, Marco van de Voort mar...@stack.nl wrote:

 Btw, while I'm uncomfortable with the SF.NET situation, I don't like rash
 matters like switching providers. At least sf.net has been long time
 stable.


Agree, i like SF, my project hosted there also.


 It could be a good reason to have at least one separate mirror somewhere to
 defang the biggest problems, not need to change everything.


One simple mirror only for last Release version for Lazarus.

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


Re: [Lazarus] (no subject)

2012-08-05 Thread Hans-Peter Diettrich

Mark Morgan Lloyd schrieb:

See the Wassenaar Arrangement wassenaar.org, Cat. 5.D.2 (encryption 
software), and the participating states.


If it had treaty status, and was *ratified* by all parties (something 
the USA, in particular, is extremely bad at) that would be one thing. 
But as it stands it's little better than a cartel of arms-manufacturing 
countries.


Are you really saying that because the Vatican isn't a signatory that we 
shouldn't allow them to download an unexpurgated FPC?


It's not a matter of what *we* allow, intstead the *hosters* of the 
participating states are bound to not distribute such software.


DoDi


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


Re: [Lazarus] (no subject)

2012-08-05 Thread Hans-Peter Diettrich

Bernd K. schrieb:

On 04.08.2012 13:29, Hans-Peter Diettrich wrote:

The restriction is an *international* agreement, not limited to 
SourceForge or the USA. We should accept the weird political reasoning, 


No. Such nonsense should not be accepted by *anybody* because by
accepting it you agree with it and nobody should ever agree with
something like this.


Of course you can ignore the facts, that Germany, Netherlands etc. 
countries have signed the arrangement, and enforce the restrictions by 
local law (EU wide, I suppose). But it may not be wise to do so...


FPC and Lazarus are not the right platforms for propagating political 
opinions. Let's simply remove the Blowfish package, and everything is fine.



I vote for changing the hosting platform.


-1

DoDi


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


Re: [Lazarus] (no subject)

2012-08-05 Thread Mark Morgan Lloyd

Hans-Peter Diettrich wrote:

Bernd K. schrieb:

On 04.08.2012 13:29, Hans-Peter Diettrich wrote:

The restriction is an *international* agreement, not limited to 
SourceForge or the USA. We should accept the weird political reasoning, 


No. Such nonsense should not be accepted by *anybody* because by
accepting it you agree with it and nobody should ever agree with
something like this.


Of course you can ignore the facts, that Germany, Netherlands etc. 
countries have signed the arrangement, and enforce the restrictions by 
local law (EU wide, I suppose). But it may not be wise to do so...


FPC and Lazarus are not the right platforms for propagating political 
opinions. Let's simply remove the Blowfish package, and everything is fine.


I think it's a decision for the core developers, who need to ensure- 
above all else- that they are not exposed to legal action in their home 
countries by what the project puts on a server somewhere.


--
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] (no subject)

2012-08-05 Thread Bernd K.
On 05.08.2012 19:23, Hans-Peter Diettrich wrote:

 Of course you can ignore the facts, that Germany, Netherlands etc. 
 countries have signed the arrangement, and enforce the restrictions by 
 local law (EU wide, I suppose). But it may not be wise to do so...

There is no arrangement that has been signed. This is about the US not
wanting to export cryptography from the US into certain countries. This
is a US-only thing. FPC is not affected by it, its not a US based
project so it will not be (and never was) exported from the US if you
simply host it outside the US. Removing valuable parts of the code only
to obey to some random nonsense regulations in foreign countries (US)
that do not apply anyways would be complete nonsense.


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


Re: [Lazarus] (no subject)

2012-08-05 Thread Hans-Peter Diettrich

Mark Morgan Lloyd schrieb:

FPC and Lazarus are not the right platforms for propagating political 
opinions. Let's simply remove the Blowfish package, and everything is 
fine.


I think it's a decision for the core developers, who need to ensure- 
above all else- that they are not exposed to legal action in their home 
countries by what the project puts on a server somewhere.


No problem here, when the material is not otherwise illegal. The only 
consequence affects the distribution of the uploads, what can mean:

- it can be removed entirely from the server,
- download can be blocked for certain countries[1]
- the server provider is sued for not taking such action,
- the server may be blacklisted
...

[1] AFAIR we already had this problem, where a guy from Cuba complained 
some time ago that he was not allowed to download FPC/Lazarus, because 
his country is one of the blocked states.


DoDi




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


Re: [Lazarus] (no subject)

2012-08-04 Thread Hans-Peter Diettrich

Mark Morgan Lloyd schrieb:


If it possible (i am not sure), to allow us download it in Syria and
other country have belong to T7 https://sourceforge.net/t7.php

FPC contains at least native Blowfish encryption code, so that wouldn't
apply.

No idea whether Lazarus incorporates, accesses, calls upon etc that...
but my guess is that it likely will.


Lazarus does not use the blowfish unit, but it ships fpc on its
download pages.


Why is this relevant to a project which is predominantly European? If 
Sourceforge can't distribute it because of the laws under which they 
operate then we should look for an alternative.


The restriction is an *international* agreement, not limited to 
SourceForge or the USA. We should accept the weird political reasoning, 
and distribute encryption units only as add-ons.


DoDi


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


Re: [Lazarus] (no subject)

2012-08-04 Thread Marco van de Voort
On Sat, Aug 04, 2012 at 12:29:02PM +0100, Hans-Peter Diettrich wrote:
  
  Why is this relevant to a project which is predominantly European? If 
  Sourceforge can't distribute it because of the laws under which they 
  operate then we should look for an alternative.
 
 The restriction is an *international* agreement, not limited to 
 SourceForge or the USA.

What restriction? The categorization of SF.NET contains crypto is US only,
we had to send a mail to the relevant US ministry even.

Nothing International about it. Russia blocked nearly all sanctions and
continues to deliver military equipment.

 We should accept the weird political reasoning, and distribute encryption
 units only as add-ons.

No. Either drop sf.net as hosting or add a minor mirror on free soil, but
not complicate everyday work because of it.

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


Re: [Lazarus] (no subject)

2012-08-04 Thread Bernd K.
On 04.08.2012 13:29, Hans-Peter Diettrich wrote:

 The restriction is an *international* agreement, not limited to 
 SourceForge or the USA. We should accept the weird political reasoning, 

No. Such nonsense should not be accepted by *anybody* because by
accepting it you agree with it and nobody should ever agree with
something like this. I vote for changing the hosting platform.

Bernd


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


Re: [Lazarus] (no subject)

2012-08-04 Thread Hans-Peter Diettrich

Marco van de Voort schrieb:

On Sat, Aug 04, 2012 at 12:29:02PM +0100, Hans-Peter Diettrich wrote:
Why is this relevant to a project which is predominantly European? If 
Sourceforge can't distribute it because of the laws under which they 
operate then we should look for an alternative.
The restriction is an *international* agreement, not limited to 
SourceForge or the USA.


What restriction?


See the Wassenaar Arrangement wassenaar.org, Cat. 5.D.2 (encryption 
software), and the participating states.


DoDi


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


Re: [Lazarus] (no subject)

2012-08-04 Thread Mark Morgan Lloyd

Bernd K. wrote:

On 04.08.2012 13:29, Hans-Peter Diettrich wrote:

The restriction is an *international* agreement, not limited to 
SourceForge or the USA. We should accept the weird political reasoning, 


No. Such nonsense should not be accepted by *anybody* because by
accepting it you agree with it and nobody should ever agree with
something like this. I vote for changing the hosting platform.


I'm not happy being indebted to SourceForge, but I'm neutral on any change.

The specific reason that I'm not happy is that a few years ago we had a 
very nasty situation in the UK where an American-owned colo handed a 
London-based server to an American enforcement/intelligence agency in 
contravention of UK law.


In practical terms, I'm not sure that somebody like Berlios would be 
significantly better. But at least the owners are in Europe, and taking 
into account extant treaties and conventions I'd trust the Germans over 
the Americans any 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] (no subject)

2012-08-04 Thread Mark Morgan Lloyd

Hans-Peter Diettrich wrote:

Marco van de Voort schrieb:

On Sat, Aug 04, 2012 at 12:29:02PM +0100, Hans-Peter Diettrich wrote:
Why is this relevant to a project which is predominantly European? 
If Sourceforge can't distribute it because of the laws under which 
they operate then we should look for an alternative.
The restriction is an *international* agreement, not limited to 
SourceForge or the USA.


What restriction?


See the Wassenaar Arrangement wassenaar.org, Cat. 5.D.2 (encryption 
software), and the participating states.


If it had treaty status, and was *ratified* by all parties (something 
the USA, in particular, is extremely bad at) that would be one thing. 
But as it stands it's little better than a cartel of arms-manufacturing 
countries.


Are you really saying that because the Vatican isn't a signatory that we 
shouldn't allow them to download an unexpurgated FPC?


--
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] (no subject)

2012-08-04 Thread Marco van de Voort
On Sat, Aug 04, 2012 at 09:24:54PM +0100, Hans-Peter Diettrich wrote:
  The restriction is an *international* agreement, not limited to 
  SourceForge or the USA.
  
  What restriction?
 
 See the Wassenaar Arrangement wassenaar.org, Cat. 5.D.2 (encryption 
 software), and the participating states.

That is mostly paper, see the FAQ:

---
 How are regulations on export controls implemented in the WA?

Export controls are implemented by each individual WA Participating State.
Although the scope of export controls in Participating States is determined
by WA lists, practical implementation varies from country to country in
accordance with national procedures. 
---

Afaik the only state that enforces such measures on old encryption, for
which code has been been widely available for 20 years, is the USA.

Btw, while I'm uncomfortable with the SF.NET situation, I don't like rash
matters like switching providers. At least sf.net has been long time stable.

It could be a good reason to have at least one separate mirror somewhere to
defang the biggest problems, not need to change everything.

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


Re: [Lazarus] (no subject)

2012-08-03 Thread Reinier Olislagers
On 3-8-2012 21:16, Zaher Dirkey wrote:
 Hi,
 
 Please would you change and option in SourceForge project of Lazaus and
 FPC in Admin page, to this
 -
 This project does NOT incorporate, access, call upon, or otherwise use
 encryption of any kind, including, but not limited to, open source
 algorithms and/or calls to encryption in the operating system or
 underlying platform.
 -
 
 If it possible (i am not sure), to allow us download it in Syria and
 other country have belong to T7 https://sourceforge.net/t7.php

FPC contains at least native Blowfish encryption code, so that wouldn't
apply.

No idea whether Lazarus incorporates, accesses, calls upon etc that...
but my guess is that it likely will.

Regards,
Reinier


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


Re: [Lazarus] (no subject)

2012-08-03 Thread Sven Barth

On 03.08.2012 21:16, Zaher Dirkey wrote:

Hi,

Please would you change and option in SourceForge project of Lazaus and
FPC in Admin page, to this
-
This project does NOT incorporate, access, call upon, or otherwise use
encryption of any kind, including, but not limited to, open source
algorithms and/or calls to encryption in the operating system or
underlying platform.
-

If it possible (i am not sure), to allow us download it in Syria and
other country have belong to T7 https://sourceforge.net/t7.php


FPC can also be found here: ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/

And Lazarus could normally be found here: 
ftp://freepascal.dfmk.hu/pub/lazarus/snapshots/ , but it seems that only 
the sources and the Mac OS X distributions of the RC are located there...


Regards,
Sven


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


Re: [Lazarus] (no subject)

2012-08-03 Thread Mattias Gaertner
On Fri, 03 Aug 2012 21:32:08 +0200
Reinier Olislagers reinierolislag...@gmail.com wrote:

 On 3-8-2012 21:16, Zaher Dirkey wrote:
  Hi,
  
  Please would you change and option in SourceForge project of Lazaus and
  FPC in Admin page, to this
  -
  This project does NOT incorporate, access, call upon, or otherwise use
  encryption of any kind, including, but not limited to, open source
  algorithms and/or calls to encryption in the operating system or
  underlying platform.
  -
  
  If it possible (i am not sure), to allow us download it in Syria and
  other country have belong to T7 https://sourceforge.net/t7.php
 
 FPC contains at least native Blowfish encryption code, so that wouldn't
 apply.
 
 No idea whether Lazarus incorporates, accesses, calls upon etc that...
 but my guess is that it likely will.

Lazarus does not use the blowfish unit, but it ships fpc on its
download pages.

Mattias

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


Re: [Lazarus] (no subject)

2012-08-03 Thread Zaher Dirkey
On Sat, Aug 4, 2012 at 1:25 AM, Mattias Gaertner
nc-gaert...@netcologne.dewrote:

 On Fri, 03 Aug 2012 21:32:08 +0200


Lazarus does not use the blowfish unit, but it ships fpc on its
 download pages.

 Mattias


Is there a mirror outside sourceforge at least for release versions.

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


Re: [Lazarus] (no subject)

2012-08-03 Thread Mark Morgan Lloyd

Mattias Gaertner wrote:

On Fri, 03 Aug 2012 21:32:08 +0200
Reinier Olislagers reinierolislag...@gmail.com wrote:


On 3-8-2012 21:16, Zaher Dirkey wrote:

Hi,

Please would you change and option in SourceForge project of Lazaus and
FPC in Admin page, to this
-
This project does NOT incorporate, access, call upon, or otherwise use
encryption of any kind, including, but not limited to, open source
algorithms and/or calls to encryption in the operating system or
underlying platform.
-

If it possible (i am not sure), to allow us download it in Syria and
other country have belong to T7 https://sourceforge.net/t7.php

FPC contains at least native Blowfish encryption code, so that wouldn't
apply.

No idea whether Lazarus incorporates, accesses, calls upon etc that...
but my guess is that it likely will.


Lazarus does not use the blowfish unit, but it ships fpc on its
download pages.


Why is this relevant to a project which is predominantly European? If 
Sourceforge can't distribute it because of the laws under which they 
operate then we should look for an alternative.


--
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] (no subject)

2012-08-03 Thread Zaher Dirkey
On Sat, Aug 4, 2012 at 2:30 AM, Mark Morgan Lloyd 
markmll.laza...@telemetry.co.uk wrote:

 Why is this relevant to a project which is predominantly European?


It is good idea from SourceForge to make it project responsibility,
compared to google, googlecode forbid my country for all projects.

Best Regards

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


Re: [Lazarus] (no subject)

2012-05-19 Thread Martin

On 19/05/2012 14:28, William Oliveira Ferreira wrote:
I updated my lazarus to 37350 right now and i got this error while 
building it:


C:\lazarus\ide\sourceeditor.pp(1252,42) Error: Identifier not found 
TSourceNotebookUpdateFlags


Someone know in what unit it should be?


sourceeditor.pp line 558

Either you need to build clean, or your check out failed. In the latter 
case delete the file from your disk and update again. That should get 
you a clean checkout.


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


Re: [Lazarus] (no subject)

2012-05-19 Thread William Oliveira Ferreira
svn cleanup ./trunk solved.

Thanks..

2012/5/19 Martin laza...@mfriebe.de

  On 19/05/2012 14:28, William Oliveira Ferreira wrote:

 I updated my lazarus to 37350 right now and i got this error while
 building it:

 C:\lazarus\ide\sourceeditor.pp(1252,42) Error: Identifier not found
 TSourceNotebookUpdateFlags

 Someone know in what unit it should be?


 sourceeditor.pp line 558

 Either you need to build clean, or your check out failed. In the latter
 case delete the file from your disk and update again. That should get you a
 clean checkout.


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




-- 

William de Oliveira Ferreira
Bacharel em Sistemas de Informação
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2012-05-19 Thread William Oliveira Ferreira
Now, when trying to build again, i got this message:
C:\lazarus\ide\sourceeditor.pp(3009,47) Error: Identifier not found acoTab

why should i'm taking many problems to build this unit? do you know?

2012/5/19 William Oliveira Ferreira bdexterholl...@gmail.com

 svn cleanup ./trunk solved.

 Thanks..

 2012/5/19 Martin laza...@mfriebe.de

  On 19/05/2012 14:28, William Oliveira Ferreira wrote:

 I updated my lazarus to 37350 right now and i got this error while
 building it:

 C:\lazarus\ide\sourceeditor.pp(1252,42) Error: Identifier not found
 TSourceNotebookUpdateFlags

 Someone know in what unit it should be?


 sourceeditor.pp line 558

 Either you need to build clean, or your check out failed. In the latter
 case delete the file from your disk and update again. That should get you a
 clean checkout.


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




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




-- 

William de Oliveira Ferreira
Bacharel em Sistemas de Informação
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2012-05-19 Thread Maxim Ganetsky

19.05.2012 19:44, William Oliveira Ferreira написал:

Now, when trying to build again, i got this message:
C:\lazarus\ide\sourceeditor.pp(3009,47) Error: Identifier not found acoTab

why should i'm taking many problems to build this unit? do you know?


Your Lazarus checkout appears to be broken.

--
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] (no subject)

2012-05-19 Thread William Oliveira Ferreira
2012/5/19 Maxim Ganetsky gan...@narod.ru

 19.05.2012 19:44, William Oliveira Ferreira написал:

  Now, when trying to build again, i got this message:
 C:\lazarus\ide\sourceeditor.**pp(3009,47) Error: Identifier not found
 acoTab

 why should i'm taking many problems to build this unit? do you know?


 Your Lazarus checkout appears to be broken.




Do you know what could broke a checkout?

I'm asking this because i've done a svn update on linux and it gones fine...
-- 

William de Oliveira Ferreira
Bacharel em Sistemas de Informação
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2012-05-19 Thread Maxim Ganetsky

19.05.2012 19:55, William Oliveira Ferreira написал:



2012/5/19 Maxim Ganetsky gan...@narod.ru mailto:gan...@narod.ru

19.05.2012 19:44, William Oliveira Ferreira написал:

Now, when trying to build again, i got this message:
C:\lazarus\ide\sourceeditor. pp(3009,47) Error: Identifier not
found acoTab

why should i'm taking many problems to build this unit? do you know?


Your Lazarus checkout appears to be broken.




Do you know what could broke a checkout?

I'm asking this because i've done a svn update on linux and it gones fine...


Don't know, maybe some problems with network connection. Try svn up 
several times and if this doesn't help checkout a fresh copy.


--
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] (no subject)

2012-05-19 Thread William Oliveira Ferreira
2012/5/19 Maxim Ganetsky gan...@narod.ru

 19.05.2012 19:55, William Oliveira Ferreira написал:



 2012/5/19 Maxim Ganetsky gan...@narod.ru mailto:gan...@narod.ru


19.05.2012 19:44, William Oliveira Ferreira написал:

Now, when trying to build again, i got this message:
C:\lazarus\ide\sourceeditor. pp(3009,47) Error: Identifier not

found acoTab

why should i'm taking many problems to build this unit? do you
 know?


Your Lazarus checkout appears to be broken.




 Do you know what could broke a checkout?

 I'm asking this because i've done a svn update on linux and it gones
 fine...


 Don't know, maybe some problems with network connection. Try svn up
 several times and if this doesn't help checkout a fresh copy.


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

 --
 __**_
 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



Thanks, i'll try it later...
-- 

William de Oliveira Ferreira
Bacharel em Sistemas de Informação
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2012-05-08 Thread Martin

On 08/05/2012 22:12, Richard Mace wrote:

Hi All,
This question may have been asked several times before, so sorry if I 
am repeating it.
When I am trying to debug, and I hover my mouse over a 
MyObject.property, I get MyObject has no component named property

Am I missing something obvious? Do I need to turn an option on?



You can inspect some properties direct, but only if you change debug 
info to dwarf (project options / linking)


http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

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


Re: [Lazarus] (no subject)

2011-07-31 Thread Howard Page-Clark

On 30/7/11 11:15, Leonardo Rame wrote:

Hi, I would like to drag the mouse over a form, while the mouse is
dragged, FPos X and Y values must change in the direction of the move,
but the mouse cursor must be fixed at the position where the first click
was made.

This code does more or less what I want, but has two problems:

1 - The mouse still moves a little.
2 - The values of FPos.X and FPos.Y doesn't change.




procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
   Y: Integer);
begin
   if ssLeft in shift then
   begin
 Mouse.CursorPos := ClientToScreen(FPos);
 FPos.X := X;
 FPos.Y := Y;
 Invalidate;
   end;
end;


Changing the mouse cursor position interferes with the Invalidate call. 
Try this:


unit Unit1;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, 
StdCtrls, windows;


type

  { TForm1 }

  TForm1 = class(TForm)
Label1: TLabel;
procedure FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
procedure FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y: 
Integer);

procedure FormMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
procedure FormPaint(Sender: TObject);
  private
FPos: TPoint;
FOldCursorPos: TPoint;
FOldCursor: TCursor;
  end;

var
  Form1: TForm1;

implementation

{$R *.lfm}

{ TForm1 }

procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  if ssleft in shift then
  begin
FPos.X := X;
FPos.Y := Y;
FOldCursorPos:= FPos;
FOldCursor := Cursor;
Cursor := crNone;
  end;
end;

procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  if ssLeft in shift then
  begin
//Mouse.CursorPos := ClientToScreen(FPos);
FPos.X := X;
FPos.Y := Y;
Invalidate;
  end;
end;

procedure TForm1.FormMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  Cursor := FOldCursor;
end;

procedure TForm1.FormPaint(Sender: TObject);
var
   HCursor : THandle;
begin
   Label1.Caption := Format('X: %d - Y: %d', [FPos.X, FPos.Y]);
   HCursor := Screen.Cursors[Ord(Screen.Cursor)];
   DrawIconEx(Canvas.Handle,
   FOldCursorPos.X, FOldCursorPos.y, HCursor, 32, 32, 0, 0, DI_NORMAL) ;
end;

end.

It is only a solution for Windows, and it does not remove the 
'permanent' cursor until a second click, but it should get you on the 
right path.


Howard

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


Re: [Lazarus] (no subject)

2011-07-31 Thread Bart
As an end-user I would get rather confused if my mouse cursor didn't
move anymore when I was  moving the mouse.

Bart

On 7/31/11, Howard Page-Clark h...@talktalk.net wrote:
 On 30/7/11 11:15, Leonardo Rame wrote:
 Hi, I would like to drag the mouse over a form, while the mouse is
 dragged, FPos X and Y values must change in the direction of the move,
 but the mouse cursor must be fixed at the position where the first click
 was made.

 This code does more or less what I want, but has two problems:

 1 - The mouse still moves a little.
 2 - The values of FPos.X and FPos.Y doesn't change.


 procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
 begin
if ssLeft in shift then
begin
  Mouse.CursorPos := ClientToScreen(FPos);
  FPos.X := X;
  FPos.Y := Y;
  Invalidate;
end;
 end;

 Changing the mouse cursor position interferes with the Invalidate call.
 Try this:

 unit Unit1;

 {$mode objfpc}{$H+}

 interface

 uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
 StdCtrls, windows;

 type

{ TForm1 }

TForm1 = class(TForm)
  Label1: TLabel;
  procedure FormMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
  procedure FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y:
 Integer);
  procedure FormMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
  procedure FormPaint(Sender: TObject);
private
  FPos: TPoint;
  FOldCursorPos: TPoint;
  FOldCursor: TCursor;
end;

 var
Form1: TForm1;

 implementation

 {$R *.lfm}

 { TForm1 }

 procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
 begin
if ssleft in shift then
begin
  FPos.X := X;
  FPos.Y := Y;
  FOldCursorPos:= FPos;
  FOldCursor := Cursor;
  Cursor := crNone;
end;
 end;

 procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
 begin
if ssLeft in shift then
begin
  //Mouse.CursorPos := ClientToScreen(FPos);
  FPos.X := X;
  FPos.Y := Y;
  Invalidate;
end;
 end;

 procedure TForm1.FormMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
 begin
Cursor := FOldCursor;
 end;

 procedure TForm1.FormPaint(Sender: TObject);
 var
 HCursor : THandle;
 begin
 Label1.Caption := Format('X: %d - Y: %d', [FPos.X, FPos.Y]);
 HCursor := Screen.Cursors[Ord(Screen.Cursor)];
 DrawIconEx(Canvas.Handle,
 FOldCursorPos.X, FOldCursorPos.y, HCursor, 32, 32, 0, 0, DI_NORMAL) ;
 end;

 end.

 It is only a solution for Windows, and it does not remove the
 'permanent' cursor until a second click, but it should get you on the
 right path.

 Howard

 --
 ___
 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] (no subject)

2011-07-31 Thread Leonardo M . Ramé
On 2011-07-31 15:58:26 +0200, Bart wrote:
 As an end-user I would get rather confused if my mouse cursor didn't
 move anymore when I was  moving the mouse.
 
 Bart

I agree, but some times is better to fix the cursor to a specific
position. In my case, I have a N x M grid containing images in each cell
(cells uses 256x256 pixels or bigger), and the user can drag the mouse to change
its brightness and contrast, or zoom-in zoom-out inside the cell. 

If I don't fix the cursor pos, the user can start working on one cell and 
continue in the
cell at its side.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

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


Re: [Lazarus] (no subject)

2011-07-31 Thread Leonardo M . Ramé
On 2011-07-31 13:11:49 +0100, Howard Page-Clark wrote:
 On 30/7/11 11:15, Leonardo Rame wrote:
 Hi, I would like to drag the mouse over a form, while the mouse is
 dragged, FPos X and Y values must change in the direction of the move,
 but the mouse cursor must be fixed at the position where the first click
 was made.
 
 This code does more or less what I want, but has two problems:
 
 1 - The mouse still moves a little.
 2 - The values of FPos.X and FPos.Y doesn't change.
 
 
 procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
 begin
if ssLeft in shift then
begin
  Mouse.CursorPos := ClientToScreen(FPos);
  FPos.X := X;
  FPos.Y := Y;
  Invalidate;
end;
 end;
 
 Changing the mouse cursor position interferes with the Invalidate call. Try
 this:
 
 unit Unit1;
 
 {$mode objfpc}{$H+}
 
 interface
 
 uses
   Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
 windows;
 
 type
 
   { TForm1 }
 
   TForm1 = class(TForm)
 Label1: TLabel;
 procedure FormMouseDown(Sender: TObject; Button: TMouseButton;
   Shift: TShiftState; X, Y: Integer);
 procedure FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y:
 Integer);
 procedure FormMouseUp(Sender: TObject; Button: TMouseButton;
   Shift: TShiftState; X, Y: Integer);
 procedure FormPaint(Sender: TObject);
   private
 FPos: TPoint;
 FOldCursorPos: TPoint;
 FOldCursor: TCursor;
   end;
 
 var
   Form1: TForm1;
 
 implementation
 
 {$R *.lfm}
 
 { TForm1 }
 
 procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
   Shift: TShiftState; X, Y: Integer);
 begin
   if ssleft in shift then
   begin
 FPos.X := X;
 FPos.Y := Y;
 FOldCursorPos:= FPos;
 FOldCursor := Cursor;
 Cursor := crNone;
   end;
 end;
 
 procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
   Y: Integer);
 begin
   if ssLeft in shift then
   begin
 //Mouse.CursorPos := ClientToScreen(FPos);
 FPos.X := X;
 FPos.Y := Y;
 Invalidate;
   end;
 end;
 
 procedure TForm1.FormMouseUp(Sender: TObject; Button: TMouseButton;
   Shift: TShiftState; X, Y: Integer);
 begin
   Cursor := FOldCursor;
 end;
 
 procedure TForm1.FormPaint(Sender: TObject);
 var
HCursor : THandle;
 begin
Label1.Caption := Format('X: %d - Y: %d', [FPos.X, FPos.Y]);
HCursor := Screen.Cursors[Ord(Screen.Cursor)];
DrawIconEx(Canvas.Handle,
FOldCursorPos.X, FOldCursorPos.y, HCursor, 32, 32, 0, 0, DI_NORMAL) ;
 end;
 
 end.
 
 It is only a solution for Windows, and it does not remove the 'permanent'
 cursor until a second click, but it should get you on the right path.
 
 Howard

I tried this on Linux, with a slightly modified FormPaint event handler,
but the effect is the same as in my example. 

When I move the mouse, FPos is changed to the new values of X and Y, but
when Mouse.CursorPos is called using FOldCursorPos as new position,
OnMouseMove is called again, and FPos is changed again to its old position.

Here's my new code:

procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  if ssleft in shift then
  begin
FPos.X := X;
FPos.Y := Y;
FOldCursorPos:= FPos;
Cursor := crNone;
 end;
end;

procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  if ssLeft in shift then
  begin
FPos.X := X;
FPos.Y := Y;
Invalidate;
  end;
end;

procedure TForm1.FormMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  Cursor := crDefault;
end;

procedure TForm1.FormPaint(Sender: TObject);
begin
  Label1.Caption := Format('X: %d - Y: %d', [FPos.X, FPos.Y]);
  Mouse.CursorPos := ClientToScreen(FOldCursorPos);
end;

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

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


Re: [Lazarus] (no subject)

2011-07-31 Thread Hans-Peter Diettrich

Leonardo M. Ramé schrieb:

On 2011-07-31 15:58:26 +0200, Bart wrote:

As an end-user I would get rather confused if my mouse cursor didn't
move anymore when I was  moving the mouse.

Bart


I agree, but some times is better to fix the cursor to a specific
position. In my case, I have a N x M grid containing images in each cell
(cells uses 256x256 pixels or bigger), and the user can drag the mouse to change
its brightness and contrast, or zoom-in zoom-out inside the cell. 


If I don't fix the cursor pos, the user can start working on one cell and 
continue in the
cell at its side.


That's why usually the user has to select a cell, before changes can be 
made to exactly the selected cell. IMO you should separate cell 
selection from other actions. Zooming may have the biggest risk for a 
changed cell under the mouse, so that I would apply zoom either to the 
entire grid, or only to a selected cell. When an individual cell has 
been zoomed out, all further operations can apply to exactly that cell, 
regardless of the mouse position.


DoDi


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


Re: [Lazarus] (no subject)

2011-02-25 Thread Vincent Snijders
2011/2/25 Peter Williams pewilliams2...@live.com:
 Hi Vincent  Ann,
 I have finished as much work as I can on the Form2Html project for Lazarus.
 Could Vincent please contact me and I will send you a copy of the zipped
 code for Lazarus (171 KB).
 This code is to be included into the Lazarus component repositories.

Create a wiki page for your component as explained here:
http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Creating_a_Code_Release_Page

Then you can send me (a link to) a source zip.

Vincent

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


Re: [Lazarus] (no subject)

2010-12-28 Thread Peter E Williams
Hi Juha,


Fond Regards, Peter Eric WILLIAMS
--- Hobart, Tasmania, Australia
--- Phone: +61 (03) 6236-9675
My free websites are:  http://pewink.info   ()
   http://pewslinuxvault.googlepages.com


On 26 December 2010 23:12, Juha Manninen juha.mannine...@gmail.com wrote:

  Hi Mattias,
  see below changes to writeln statement.

 Hi Peter


 I think you should write a bug report

Okay... please see my earlier message about my not being able to install the
deb files for the latest snapshot.

I want someone to tell me the linux command to install all deb files in the
current folder. I am still a linux newbie with deb files as I use the
Software Manager. This installs Lazarus 0.9.28,2 not the latest beta
version.

I am not a SVN user.

Are there some instructions for how I can

 use the normal diff format for your patch.

Please give details. I have never done this before! :)

It makes things easier for everybody.

I am all in favour of making things easier for everybody :-)))


 Regards,
 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] (no subject)

2010-12-26 Thread Juha Manninen
 Hi Mattias,
 see below changes to writeln statement.

Hi Peter
I think you should write a bug report and use the normal diff format for your 
patch. It makes things easier for everybody.


Regards,
Juha

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


Re: [Lazarus] (no subject)

2010-12-25 Thread Peter Williams

Hi Mattias,
see below changes to writeln statement.

From: pewilliams2...@live.com
To: lazarus@lists.lazarus.freepascal.org
Date: Sun, 26 Dec 2010 14:07:45 +1100
Subject: [Lazarus] (no subject)








Dear Mattias,
Here are my attempts to find your memory leak. So far it does not compile. Too 
many parameters.
See attached file.
/lazarus/lcl/interfaces/win32/win32object.inc
PEW
procedure TWin32WidgetSet.AppInit(var ScreenInfo: TScreenInfo);const  
Win32ClassesToInit: array[0..5] of DWord = (ICC_DATE_CLASSES,
ICC_UPDOWN_CLASS, ICC_TAB_CLASSES, ICC_PROGRESS_CLASS, ICC_BAR_CLASSES,
ICC_PAGESCROLLER_CLASS);var  ICC: TINITCOMMONCONTROLSEX;  SysMenu: HMENU;  
Handle: HWND;  DC: HDC;  AIcon: HICON;  i: integer;  f: Text;begin  
Assert(False, 'Trace:Win32Object.Init - Start');  if not WinRegister then  
beginAssert(False, 'Trace:Win32Object.Init - Register Failed');
DebugLn('Trace:Win32Object.Init - Register Failed');Exit;  end
  // lines added by PEW 26 December 2010  else  beginAssign(f, 
'/tmp/AppInit_backtrace.txt');Rewrite(f);try  // end lines added by 
PEW 26 December 2010   
  OleInitialize(nil);
[...]
  // lines added by PEW 26 December 2010  excepton e: Exception 
do begin
 Writeln(f, e.ClassName, ' : ', e.Message);
// I think this should be
  Writeln(f, e.ClassName + ' : ' + e.Message); 
  DumpExceptionBackTrace(f);end;  end;  Close(f);
end; // try  end; // if  // end lines added by PEW 26 December 2010end;
  

--
___
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] (no subject)

2010-09-22 Thread José Mejuto
Hello Lazarus-List,

Wednesday, September 22, 2010, 12:12:31 AM, you wrote:

V nice! sometimes the solution is simpler than you think :)

V patient - if i do this it hurts,
V doctor - don't do it then

V you could consider
V - check for locked resources after suspending the thread, resuming locking
V thread of necessary
V - a 'server' thread that other threads send messages to, a bit like a
V database server but for your imaginary app.
V - theres probably plenty of ideas to resolve/work around this if you search
V web

Direct use of suspend/resume in i386 at least is a call for serious
and very, very difficult to track problems. A simple code like:

if A=0 then Thread.Suspend;
DoSomething();
if Thread.Suspended then Thread.Resume;

Is not garanteed to end in a thread with a resume state. I had
experienced (unfortunatly) this problems in the past, and finally
changed to events, but it can also be changed to other functions to
not call suspend/resume directly and ensure the thread transition from
state to state is completed.

-- 
Best regards,
 José


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


Re: [Lazarus] (no subject)

2010-09-22 Thread José Mejuto
Hello Andrew,

Wednesday, September 22, 2010, 4:50:38 PM, you wrote:

AB One other thing to think about is something I do often which is to
AB have a suspend needed boolean variable for threads.  So if a suspend
AB is needed it will be processed at an appropriate section of code where
AB the thread itself knows whether or not it is indeed safe.  Other wise
AB it will remain pending for that thread until such time as it can reach
AB a suspended state, trip another flag, and suspend.

I'm not sure now that my memory is not corrupt :) but I think that a
code like:

Thread.Suspend;
Thread.Resume;

Called from different threads could put the thread in a dumb state
where it is suspended but it can not be resumed due something like a
resume arriving after the suspend has been started, but not finished,
so I think it is only safe using critical sections.

-- 
Best regards,
 José


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


Re: [Lazarus] (no subject)

2010-09-21 Thread Vannus
nice! sometimes the solution is simpler than you think :)

patient - if i do this it hurts,
doctor - don't do it then

you could consider
- check for locked resources after suspending the thread, resuming locking
thread of necessary
- a 'server' thread that other threads send messages to, a bit like a
database server but for your imaginary app.
- theres probably plenty of ideas to resolve/work around this if you search
web

On 21 September 2010 12:52, Steve Smith ste...@collector.org wrote:


  Imagine your thread has locked a major resource, now you suspend
 that thread. A instant deadlock occurs because that thread will
 never release that resource.

  Of course it will.  It's called a bug.  If I write moronic code, it
 will cause problems, whether it's single or multi threaded.  Using
 this as a justification for the use or non-use of threads is like
 saying you can't use divide because some muppet might try and divide
 by zero and crash the code!

 I look forward to the day when my OS starts scheduling my application
 using OnIdle events.

 --
 ___
 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] (no subject)

2010-06-17 Thread Alexsander Rosa

It's a one-liner, should have been applied by now...

Daniel Simoes de Ameida escreveu:

Hello staff,

I know everyone is very busy ... But I would ask your attention to a 
small patch that I sent to MantisBT


http://bugs.freepascal.org/view.php?id=16571

Thanks for the excellent job you all are developing with Lazarus

[]s Daniel

Conheça o Projeto ACBr - Automaçao Comercial Brasil 
http://acbr.sourceforge.net

DJSystem a Loja Patrocinadora do ACBr http://www.djsystem.com.br


 



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



--
Alexsander da Rosa
Twitter: @alexrosa


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


Re: [Lazarus] (no subject)

2010-06-17 Thread Mattias Gaertner
On Thu, 17 Jun 2010 14:00:10 -0700 (PDT)
Daniel Simoes de Ameida dopidan...@yahoo.com.br wrote:

 Hello staff,
 
 I know everyone 
 is very busy ... But I would ask your 
 attention to a small patch that I sent to MantisBT
 
 http://bugs.freepascal.org/view.php?id=16571

I missed that one. Applied.

Mattias

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


Re: [Lazarus] (no subject)

2009-09-10 Thread Luca Olivetti

En/na jpnu...@free.fr ha escrit:


If I code

LikeMouseClik(10,10,true);

in my program, the mouse pointer goes back to [10,10], so I don't have to
physically click in a window to set focus.


I never used it, but there's a component (look in the components 
directory) called mouseandkeyinput that should do just that.


Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007

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


Re: [Lazarus] (no subject)

2009-09-10 Thread Reimar Grabowski
On Thu, 10 Sep 2009 09:06:50 +0200
Luca Olivetti l...@wetron.es wrote:

 I never used it, but there's a component (look in the components 
 directory) called mouseandkeyinput that should do just that.
Or you can use:

var Mouse: TMouse;

// init
Mouse:=TMouse.Create;

// set position
Mouse.SetCursorPos:=NewCursorPos;

R.
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

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