Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-06 Thread patspiper

On 03/01/16 19:15, Michael Van Canneyt wrote:



On Sun, 3 Jan 2016, patspiper wrote:


On 03/01/16 17:44, Michael Van Canneyt wrote:



On Sun, 3 Jan 2016, patspiper wrote:


On 02/01/16 19:06, Michael Van Canneyt wrote:



On Sat, 2 Jan 2016, Anthony Walter wrote:


Michael,

Just FYI currently there is no "fpddmssql.pp" (the dd is for data
dictionary I suppose) so no, it's not as easy as just adding a 
unit name to
the project source. New units must be created and a register 
function must

be create for mssql to appear in the connections list.


I have just committed initial support for this.


FPC trunk for WinCE fails to build now:
Compiling ./fcl-db/src/datadict/fpddmssql.pp
fpddmssql.pp(52,6) Fatal: Can't find unit mssqlconn used by fpddmssql
Fatal: Compilation aborted

Shall I submit a bug report?


Please do.


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


You must have a nonstandard system somehow ?

T:=P.Targets.AddUnit('fpddmssql.pp', DatadictOSes*MSSQLOSes);
with T.Dependencies do
  begin
  AddUnit('sqldb');
  AddUnit('fpdatadict');
  AddUnit('fpddsqldb');
  AddUnit('mssqlconn');
end;

Unless there is a compiler error, DatadictOSes*MSSQLOSes should not 
contain WinCE, since wince is not in

MSSQLOSes, hence fpddmssql.pp must not be compiled at all ?
As your fix (commit 32843) shows, the inclusion stems from the following 
line where DatadictOSes is not intersected with MSSQLOSes


Stephano

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


[Lazarus] ScrollBox - How to get proper scrolling for a TPanel?

2016-01-06 Thread Gabor Boros

Hi All,

I have a TScrollBox (Height=150) and a TPanel (Height=450) in it.
With Linux-Qt I can scroll up and down if the mouse over the scrollbar, 
the empty space or the Panel in 13 steps.
With Windows can scroll if over the scrollbar or the empty space (in 13 
steps too). But the scroll not working if mouse over the Panel. I can 
override DoMouseWheel but down know how to get the 13 steps long 
scrolling from it. Any idea? (I use latest fixes_1_6.)


Gabor

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 9:54 AM, Marc Santhoff  wrote:

> One could demand to remove any religious reference, then the name would
> have to be changed.
>
IIRC even "Lazarus" name was discussed at some point as having religious
reference.
Which is kind-of is... but to avoid another Phoenix bird named project.

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 10:31 AM, Bart  wrote:

>
> So, yes, IMVPAPO, it should be removed.
>
>
Swastika glyph is in Unicode standard. That actually an excuses for having
the function available.
(i.e. if a font doesn't support swastika, it could be drawn manually).

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Vojtěch Čihák

Hi,
 
I just tested and PaintSwastika always paints clockwise swastika (both 
religious and nazi symbol).
I vote for keeping procedure but there should be added boolean parameter + 
patch for painting anti-clockwise swastika (which is religious symbol only).
 
Blaazen
__

Od: Marc Santhoff 
Komu: 
Datum: 06.01.2016 15:54
Předmět: Re: [Lazarus] Do we really need a PaintSwastika procedure?


On Mi, 2016-01-06 at 00:51 -0500, Anthony Walter wrote:

While browsing the docs I found:

http://docs.getlazarus.org/#lcl+extgraphics+paintswastika 




--
___
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] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Marc Santhoff
On Mi, 2016-01-06 at 00:51 -0500, Anthony Walter wrote:
> While browsing the docs I found:
> 
> http://docs.getlazarus.org/#lcl+extgraphics+paintswastika

Btw., I only see a header and an empty page ...

> Do we really need this procedure in the lcl? I think it should probably be
> removed.

Additionally to Micheals answer:

Please don't be foolish. Would you want to dispel any star symbol
because the soviet union, satanists and northern korea use(d) a red
star?  This would put the question on "PaintCross" and some more.

One could demand to remove any religious reference, then the name would
have to be changed. Or to filter out any bad words when printing text,
censorship that is.

Please, be tolerant. You're free not to use those procedures or delete
them in your copy.

-- 
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; \
finger; mount; gasp; yes; uptime; umount; sleep


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Bart
On 1/6/16, Marc Santhoff  wrote:

>> Do we really need this procedure in the lcl? I think it should probably
>> be
>> removed.
>
> Additionally to Micheals answer:
>
> Please don't be foolish. Would you want to dispel any star symbol
> because the soviet union, satanists and northern korea use(d) a red
> star?  This would put the question on "PaintCross" and some more.
>
> One could demand to remove any religious reference, then the name would
> have to be changed. Or to filter out any bad words when printing text,
> censorship that is.

While I agree a similar argument can be made for anything that offends
people there are some differences here.

First f all. Taking offence against a  cross (because of religious
beleives) is not of the same order as taking offence against the
symbol of the Nazi's.
While I am willing to defend each and everyone's freedom of speech,
IMO this does not imply that we (the Lazarus community) should
actively support speading such logo's.
(Nor should we e.g. support bashing of any religion/race etc in our
sourcecode or comments.)

As for the "its an ancient rune" argument: the same thing can be said
for several phrases that now are considered to be offending to e.g.
ethnic groups, and we do not promote these her as well.
Current state is that the Swastika now has very strong associations
witj the Nazi regime and all the evil it stood for.

So, yes, IMVPAPO, it should be removed.

NB. The function was apparently introduced by Seppo (over 9 years ago)

Bart

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


[Lazarus] Installation under SUSE

2016-01-06 Thread Josef Schnieder

Hello,

the setup-script from http://www.getlazarus.org/setup/ will not work 
under SUSE (open SUSE 42.1 Leap).

the message is:
"This script requires the package libgdk-pixbuf2.0-dev which was not 
found on your system"


But I can't find this package for SUSE.

What should I do?
Is there another way to install Lazarus with FPC 3.0 under SUSE.

best regards
Josef





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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Anthony Walter
There are many versions of the religious swastika symbol, but is only one
version of the swastika is draw with the squared capped leaves and a stroke
width exactly equal to 1/5th of the linear diameter. Guess which one the
lcl function draws?

http://cache.getlazarus.org/images/nazi_symbol.png

And I've looked at the unicode characters. They don't draw the Nazi
swastika, the stroke width and end caps aren't the same, but our lcl
version precisely matches the Nazi version.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Vojtěch Čihák

Hi,
 
I guess you can't run Lazarus without this package.
Maybe you need to add some repository, but I have no openSUSE anymore.
Anyway, the package exits: 
https://build.opensuse.org/package/view_file?file=gdk-pixbuf_2.24.0-1ubuntu1.dsc=gdk-pixbuf=home%3Atsx-5=69b8579f342e48ebf42537de01eed0e7
Try to find a way to install it via YAST rather than install *.rpm directly.
 
Blaazen
 
__

Od: Josef Schnieder 
Komu: Lazarus mailing list 
Datum: 06.01.2016 19:40
Předmět: [Lazarus] Installation under SUSE


Hello,

the setup-script from http://www.getlazarus.org/setup/ 
 will not work under SUSE (open SUSE 42.1 
Leap).
the message is:
"This script requires the package libgdk-pixbuf2.0-dev which was not found on your 
system"
But I can't find this package for SUSE.
What should I do?Is there another way to install Lazarus with FPC 3.0 under 
SUSE.
best regards
Josef






--

--
___
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] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Mark Morgan Lloyd

Juha Manninen wrote:


From Bart:
Current state is that the Swastika now has very strong
associations witj the Nazi regime and all the evil it stood for.


Then it is time to change that association.
Maybe it is a cultural thing but here most people understand the big
picture and don't judge the symbol itself.
Maybe you and Anthony don't know the history of that symbol? Please study it!
To me your opinions seem very narrow-minded, sorry to say.


I'm inclined to agree, particularly since the variant that has such 
unpleasant connotations was usually drawn at a 45 deg angle while almost 
all other renditions are square (i.e. all elements are either horizontal 
or vertical).


There's a general principle that numbers can't be copyrighted or 
patented, and that extends to various "illegal numbers" which some trade 
bodies and even a few jurisdictions insist can't be published and 
shouldn't even be read outside certain narrows contexts. I think this 
principle should also extend to simple geometric shapes.


So come on chaps. It's not as though we're talking about something 
completely unambiguous like the Waiblingen triple-headed eagle or even 
the Penrose Chickens :-)


--
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] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Marc Santhoff
On Mi, 2016-01-06 at 13:07 -0500, Dmitry Boyarintsev wrote:

> ExtGraphics doesn't really have any other religions/cultural symbols there.

Hooray! Let's sing!

"Ding-Dong! The Witch Is Dead"



How about that:

procedure TForm1.PaintBox1Paint(Sender: TObject);
var
  r: TRect;
begin
  r.Top := 0;
  r.Left := 0;
  r.Bottom := 200;
  r.Right := 200;
  PaintFivePointLineStar(PaintBox1.Canvas, r);
end;

Got some silver knifes and black candles at hand?


-- 
Is sex dirty?  Only if it's done right.
-- Woody Allen, "All You Ever Wanted To Know About Sex"
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Juha Manninen
On Wed, Jan 6, 2016 at 6:42 PM, Dmitry Boyarintsev
 wrote:
> Fair enough.
> Here's the patch. (Anyone,) please create a bug report, so it could be
> applied.

Dmitry, you have full SVN write access, don't you? You can commit it
without any bug reports.
There could be more variations. Swastika has been drawn standing on
its side, clockwise and counter-clockwise, and standing on its corner.

It has a very long and rich history. It is a nice looking symbol and
for that reason has been so popular during the millenniums.
It is used in Russian Orthodox religion and many other religions
especially in Asia. It has been used in Finnish traditions and art
always. It was a symbol of many military air-forces including Finnish
air-force from its beginning.
And so on ...

>From Bart:
> Current state is that the Swastika now has very strong
> associations witj the Nazi regime and all the evil it stood for.

Then it is time to change that association.
Maybe it is a cultural thing but here most people understand the big
picture and don't judge the symbol itself.
Maybe you and Anthony don't know the history of that symbol? Please study it!
To me your opinions seem very narrow-minded, sorry to say.

Juha

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 12:42 PM, Juha Manninen 
wrote:

> Dmitry, you have full SVN write access, don't you? You can commit it
> without any bug reports.
> There could be more variations. Swastika has been drawn standing on
> its side, clockwise and counter-clockwise, and standing on its corner.
>

I was actually awaiting for someone's else approval to commit :) (r51215)
As for "corner standing" there's already RadAngle parameter.

It has a very long and rich history. ...
> And so on ...
>

Imho, the reason the procedure is there it's because it's quite easy to be
drawn.
(Specifically using Polygon method).
ExtGraphics doesn't really have any other religions/cultural symbols there.

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Graeme Geldenhuys
On 2016-01-06 05:51, Anthony Walter wrote:
> Do we really need this procedure in the lcl?


This discussion is ridiculous! With thinking like that even the project
name "Lazarus" can't be used. Get real people!


https://en.wikipedia.org/wiki/Swastika#Symbol_in_various_scripts

When I look at that, I see a "running stick figure", or a Ninja throwing
star - I see no problem with either of those. ;-)  I guess it boils down
to what mentality you have.


Regards,
  - Graeme -


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Bart
On 1/6/16, Dmitry Boyarintsev  wrote:

> Swastika glyph is in Unicode standard.

Ref: https://en.wikipedia.org/wiki/Swastika#Symbol_in_various_scripts

Bart

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Marc Santhoff
On Mi, 2016-01-06 at 16:31 +0100, Bart wrote: 

Look there:
https://en.wikipedia.org/wiki/Swastika

> While I am willing to defend each and everyone's freedom of speech,
> IMO this does not imply that we (the Lazarus community) should
> actively support speading such logo's.
> (Nor should we e.g. support bashing of any religion/race etc in our
> sourcecode or comments.)
> 
> As for the "its an ancient rune" argument: the same thing can be said
> for several phrases that now are considered to be offending to e.g.
> ethnic groups, and we do not promote these her as well.

Well what about "PaintCross", "PaintFivePointStar",
"PaintFivePointLineStar", "PaintChevron"? 

All in the same unit ... has anyone ever used that procedures, what do
the results actually look like?

> Current state is that the Swastika now has very strong associations
> witj the Nazi regime and all the evil it stood for.
> 
> So, yes, IMVPAPO, it should be removed.

I'd be with you and support that idea if any star symbol having a
satanistic or stalinistic look would be removed, too.

Go ahead, burn the witch, what's next?

> NB. The function was apparently introduced by Seppo (over 9 years ago)

Who's that? A Nazi, historan or hindu? A joker most probably.

-- 
Marc Santhoff 




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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Michael Van Canneyt



On Wed, 6 Jan 2016, Vojtěch Čihák wrote:


Hi,
 
I just tested and PaintSwastika always paints clockwise swastika 
(both religious and nazi symbol).
I vote for keeping procedure but there should be added boolean parameter + 
patch for painting anti-clockwise swastika (which is religious symbol only).


I think both rotations are OK for the religious symbol:

https://en.wikipedia.org/wiki/Swastika


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 11:20 AM, Vojtěch Čihák 
wrote:

> I vote for keeping procedure but there should be added boolean parameter +
> patch for painting anti-clockwise swastika (which is religious symbol
> only).
>

Fair enough.
Here's the patch. (Anyone,) please create a bug report, so it could be
applied.

thanks,
Dmitry


Index: extgraphics.pas
===
--- extgraphics.pas(revision 51191)
+++ extgraphics.pas(working copy)
@@ -56,7 +56,7 @@
 procedure PaintRightTriangle(Canvas: TCanvas; const PaintRect: TRect;
   RadAngle :Extended=0.0);
 procedure PaintSwastika(Canvas: TCanvas; const PaintRect: TRect;
-  RadAngle :Extended=0.0);
+  RadAngle :Extended=0.0; ClockWise: Boolean = true);
 procedure PaintTriangle(Canvas: TCanvas; const PaintRect: TRect;
   RadAngle :Extended=0.0);
 procedure PaintTriangular(Canvas: TCanvas; const PaintRect: TRect;
@@ -583,8 +583,10 @@
 end;


-procedure InitSwastika(var P:array of TPoint;const R: TRect;var
NumPts:Integer);
+procedure InitSwastika(var P:array of TPoint;const R: TRect;var
NumPts:Integer; CW: Boolean = true);
 var x1,x2,y1,y2:Integer;
+  t: TPoint;
+  i: integer;
 begin
   x1:=(R.Right-R.Left) div 5;
   y1:=(R.Bottom-R.Top) div 5;
@@ -601,8 +603,21 @@

P[16].x:=P[15].x;P[16].y:=R.Bottom-y1;P[17].x:=R.Left+x2;P[17].y:=P[16].y;
   P[18].x:=P[17].x;P[18].y:=R.Bottom-y2;P[19].x:=R.Left;P[19].y:=P[18].y;
   NumPts:=20;
+  if not CW then
+for i:=0 to NumPts -1 do
+  p[i].x:=R.Right - (p[i].x - R.left);
 end;

+procedure InitSwastikaCW(var P:array of TPoint;const R: TRect;var
NumPts:Integer);
+begin
+  InitSwastika(P, R, NumPts, true);
+end;
+
+procedure InitSwastikaCCW(var P:array of TPoint;const R: TRect;var
NumPts:Integer);
+begin
+  InitSwastika(P, R, NumPts, false);
+end;
+
 procedure InitTriangle(var P:array of TPoint; const R: TRect;
   var NumPts:Integer);
 begin
@@ -719,9 +734,12 @@
   InitPolygon(Canvas,PaintRect,RadAngle,@InitRightTriangle);
 end;

-procedure PaintSwastika(Canvas: TCanvas; const PaintRect: TRect;RadAngle
:Extended=0.0);
+procedure PaintSwastika(Canvas: TCanvas; const PaintRect: TRect;RadAngle
:Extended=0.0; ClockWise: Boolean = true);
 begin
-  InitPolygon(Canvas,PaintRect,RadAngle,@InitSwastika);
+  if ClockWise then
+InitPolygon(Canvas,PaintRect,RadAngle,@InitSwastikaCW)
+  else
+InitPolygon(Canvas,PaintRect,RadAngle,@InitSwastikaCCW);
 end;

 procedure PaintTriangle(Canvas: TCanvas; const PaintRect: TRect;RadAngle
:Extended=0.0);
Index: extgraphics.pas
===
--- extgraphics.pas (revision 51191)
+++ extgraphics.pas (working copy)
@@ -56,7 +56,7 @@
 procedure PaintRightTriangle(Canvas: TCanvas; const PaintRect: TRect;
   RadAngle :Extended=0.0);
 procedure PaintSwastika(Canvas: TCanvas; const PaintRect: TRect;
-  RadAngle :Extended=0.0);
+  RadAngle :Extended=0.0; ClockWise: Boolean = true);
 procedure PaintTriangle(Canvas: TCanvas; const PaintRect: TRect;
   RadAngle :Extended=0.0);
 procedure PaintTriangular(Canvas: TCanvas; const PaintRect: TRect;
@@ -583,8 +583,10 @@
 end;
 
 
-procedure InitSwastika(var P:array of TPoint;const R: TRect;var 
NumPts:Integer);
+procedure InitSwastika(var P:array of TPoint;const R: TRect;var 
NumPts:Integer; CW: Boolean = true);
 var x1,x2,y1,y2:Integer;
+  t: TPoint;
+  i: integer;
 begin
   x1:=(R.Right-R.Left) div 5;
   y1:=(R.Bottom-R.Top) div 5;
@@ -601,8 +603,21 @@
   P[16].x:=P[15].x;P[16].y:=R.Bottom-y1;P[17].x:=R.Left+x2;P[17].y:=P[16].y;
   P[18].x:=P[17].x;P[18].y:=R.Bottom-y2;P[19].x:=R.Left;P[19].y:=P[18].y;
   NumPts:=20;
+  if not CW then
+for i:=0 to NumPts -1 do
+  p[i].x:=R.Right - (p[i].x - R.left);
 end;
 
+procedure InitSwastikaCW(var P:array of TPoint;const R: TRect;var 
NumPts:Integer);
+begin
+  InitSwastika(P, R, NumPts, true);
+end;
+
+procedure InitSwastikaCCW(var P:array of TPoint;const R: TRect;var 
NumPts:Integer);
+begin
+  InitSwastika(P, R, NumPts, false);
+end;
+
 procedure InitTriangle(var P:array of TPoint; const R: TRect;
   var NumPts:Integer);
 begin
@@ -719,9 +734,12 @@
   InitPolygon(Canvas,PaintRect,RadAngle,@InitRightTriangle);
 end;
 
-procedure PaintSwastika(Canvas: TCanvas; const PaintRect: TRect;RadAngle 
:Extended=0.0);
+procedure PaintSwastika(Canvas: TCanvas; const PaintRect: TRect;RadAngle 
:Extended=0.0; ClockWise: Boolean = true);
 begin
-  InitPolygon(Canvas,PaintRect,RadAngle,@InitSwastika);
+  if ClockWise then
+InitPolygon(Canvas,PaintRect,RadAngle,@InitSwastikaCW)
+  else
+InitPolygon(Canvas,PaintRect,RadAngle,@InitSwastikaCCW);
 end;
 
 procedure PaintTriangle(Canvas: TCanvas; const PaintRect: TRect;RadAngle 
:Extended=0.0);
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Sven Barth
Am 06.01.2016 20:44 schrieb "Marc Santhoff" :
> Got some silver knifes and black candles at hand?

Ehm... You do know that the one with the tip at the top is *not* a satanic
symbol? It's a protective symbol instead. The satanic one is the one
standing on its tip. I should know, because I like to wear the protective
variant ;)

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


Re: [Lazarus] ScrollBox - How to get proper scrolling for a TPanel?

2016-01-06 Thread Michael W. Vogel
I've a similar problem, so I made a little test, but it is imho not the 
best solution (I have some flickering, but it works on Windows(7) ).


You can use a own inherited TPanel and override its WndProc to send the 
message to its parent (TScrollBox):


uses  Classes, ExtCtrls, LMessages, Forms, Controls;

type
  TMyPanel = class(TPanel)
procedure WndProc(var TheMessage: TLMessage); override;
  end;

...

procedure TMyPanel.WndProc(var TheMessage: TLMessage);
var
  aControl: TControl;
begin
  case TheMessage.Msg of
LM_MOUSEWHEEL:
  begin
aControl := Parent;
if Assigned(aControl) then
  aControl.Perform(TheMessage.Msg, TheMessage.wParam, 
TheMessage.lParam);

Exit;
  end;
  end;
  inherited WndProc(TheMessage);
end;


Am 06.01.2016 um 15:16 schrieb Gabor Boros:

Hi All,

I have a TScrollBox (Height=150) and a TPanel (Height=450) in it.
With Linux-Qt I can scroll up and down if the mouse over the 
scrollbar, the empty space or the Panel in 13 steps.
With Windows can scroll if over the scrollbar or the empty space (in 
13 steps too). But the scroll not working if mouse over the Panel. I 
can override DoMouseWheel but down know how to get the 13 steps long 
scrolling from it. Any idea? (I use latest fixes_1_6.)


Gabor

--
___
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] Installation under SUSE

2016-01-06 Thread Koenraad Lelong

Op 06-01-16 om 19:40 schreef Josef Schnieder:

Hello,

the setup-script from http://www.getlazarus.org/setup/ will not work
under SUSE (open SUSE 42.1 Leap).
the message is:
"This script requires the package libgdk-pixbuf2.0-dev which was not
found on your system"

But I can't find this package for SUSE.

What should I do?
Is there another way to install Lazarus with FPC 3.0 under SUSE.

best regards
Josef


FWIW,

The Education repo of Opensuse has lazarus 1.4.4 
(https://software.opensuse.org/package/lazarus). I think it should be 
possible to discover what packages this needs, lazarus 3.0 should need 
the same libraries, I think.


I successfully installed fpcup on my opensuse 13.2.

Koenraad.


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Sven Barth
Am 06.01.2016 21:25 schrieb "Graeme Geldenhuys" <
mailingli...@geldenhuys.co.uk>:
>
> On 2016-01-06 19:21, Anthony Walter wrote:
> > but our lcl
> > version precisely matches the Nazi version.
>
> No it doesn't - if you want to get technical. The star isn't drawn
> inside a circle (as your screenshot clearly shows). It also isn't drawn
> on a red background by default.

The "Hakenkreuz" wasn't black on white surrounded by red everywhere.
Especially on sculptures (think eagle of the Reich) it was more often than
not simply the base material with the "white" being air.

Anyway, I agree that PaintSwastika doesn't necessarily have to do with the
Nazis...

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


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Anthony Walter
Gordon thanks for the zypper package names. I may incorporate them into the
install script sometime in the future.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Gordon Findlay
Suse Leap (I no longer have and OpenSuse 13 machines) seems to call the
required packages

gtk2-devel
cairo-devel
pango-devel
gdk-pixbuf-devel
atk-devel
ghc-X11-devel

Most likely install commands such as

  zypper install gtk2-devel

would be fine, but much depends on the way repositories set up. On this
machine there are (too) many repositories, and much more time is spent
updating metadata rather than installing.

To test for a package being installed I always use rpm, in a naive way:

rpm -qa | grep gtk2-devel

which is slower than it needs to be, but installing Lazarus is not done
very often.

Incidentally I ran the script from getlazarus.org on two Leap installations
a few days ago. The first one went swimmingly; the second one failed as the
make of lazbuild failed. I never located quite what was the problem: to
save time I just copied the installation that worked.


On Thu, Jan 7, 2016 at 2:33 PM, David Copeland 
wrote:

> On my 13.2 system at home with Laz 1.4.2/fpc 2.6.4, I have the following
> packages installed
>
> gdk-pixbuf-devel
> libgdk_pixbuf-2_0-0
>
> plus a few other related packages. I think the devel is required.
>
> Dave.
>
> On 01/06/2016 05:00 PM, Koenraad Lelong wrote:
> > Op 06-01-16 om 19:40 schreef Josef Schnieder:
> >> Hello,
> >>
> >> the setup-script from http://www.getlazarus.org/setup/ will not work
> >> under SUSE (open SUSE 42.1 Leap).
> >> the message is:
> >> "This script requires the package libgdk-pixbuf2.0-dev which was not
> >> found on your system"
> >>
> >> But I can't find this package for SUSE.
> >>
> >> What should I do?
> >> Is there another way to install Lazarus with FPC 3.0 under SUSE.
> >>
> >> best regards
> >> Josef
> >
> > FWIW,
> >
> > The Education repo of Opensuse has lazarus 1.4.4
> > (https://software.opensuse.org/package/lazarus). I think it should be
> > possible to discover what packages this needs, lazarus 3.0 should need
> > the same libraries, I think.
> >
> > I successfully installed fpcup on my opensuse 13.2.
> >
> > Koenraad.
> >
> >
> > --
> > ___
> > Lazarus mailing list
> > Lazarus@lists.lazarus.freepascal.org
> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread David Copeland
On my 13.2 system at home with Laz 1.4.2/fpc 2.6.4, I have the following
packages installed

gdk-pixbuf-devel
libgdk_pixbuf-2_0-0

plus a few other related packages. I think the devel is required.

Dave.

On 01/06/2016 05:00 PM, Koenraad Lelong wrote:
> Op 06-01-16 om 19:40 schreef Josef Schnieder:
>> Hello,
>>
>> the setup-script from http://www.getlazarus.org/setup/ will not work
>> under SUSE (open SUSE 42.1 Leap).
>> the message is:
>> "This script requires the package libgdk-pixbuf2.0-dev which was not
>> found on your system"
>>
>> But I can't find this package for SUSE.
>>
>> What should I do?
>> Is there another way to install Lazarus with FPC 3.0 under SUSE.
>>
>> best regards
>> Josef
>
> FWIW,
>
> The Education repo of Opensuse has lazarus 1.4.4
> (https://software.opensuse.org/package/lazarus). I think it should be
> possible to discover what packages this needs, lazarus 3.0 should need
> the same libraries, I think.
>
> I successfully installed fpcup on my opensuse 13.2.
>
> Koenraad.
>
>
> -- 
> ___
> 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] Installation under SUSE

2016-01-06 Thread Josef Schnieder

Thanks for the lot of answer.
Gordon thanks for the package names. I have installed them manually and 
remarked the requirePackage-Statements in the setup-script.


--> the installation works fine.

best regards
Josef


Am 07.01.2016 um 07:22 schrieb Anthony Walter:
Gordon thanks for the zypper package names. I may incorporate them 
into the install script sometime in the future.



--
___
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] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Marc Santhoff
On Do, 2016-01-07 at 00:02 +0100, Sven Barth wrote:
> Am 06.01.2016 20:44 schrieb "Marc Santhoff" :
> > Got some silver knifes and black candles at hand?
> 
> Ehm... You do know that the one with the tip at the top is *not* a satanic
> symbol? It's a protective symbol instead. The satanic one is the one
> standing on its tip. I should know, because I like to wear the protective
> variant ;)

Ok, I've learned sth. today. But this thread is about what (anxious)
people see. Anthony sse a Hakenkreuz. I have seen a satanic symbol - for
other reasons. ;)

Maybe this discussion can be closed when the names are mangled for
political correctness and/or there is a clear statement added in the
unit in question. May it be in the documentation or some comments, so
people understand the generic nature of those drawing procedures.

-- 
Marc Santhoff 


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 2:45 PM, Marc Santhoff  wrote:

>
> How about that:
>
>   PaintFivePointLineStar(PaintBox1.Canvas, r);
>
> Got some silver knifes and black candles at hand?
>

That's the point :) It's FivePointLineStart, not Pentagram. (
https://en.wikipedia.org/wiki/Pentagram)
It might look the same, but in the end it's FivePointLineStart.

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 2:21 PM, Anthony Walter  wrote:

> There are many versions of the religious swastika symbol, but is only one
> version of the swastika is draw with the squared capped leaves and a stroke
> width exactly equal to 1/5th of the linear diameter. Guess which one the
> lcl function draws?
>

r51217 introduced LineWidth parameter (which should probably be renamed to
LeafWidth) that allows to specify a different than default 1/5th diameter.

That also brings the memory of my childhood. Unfortunately I was about 2-3
years old that the event the occurred, so I could not be a witness myself,
but...
But a couple of older kids (4-6 years) were left at home for a short period
of time (less than an hour or so). However, after a few minutes of playing,
they got really scared that the nazis might come in. Being terrified of
being captured they took all black markers, pens and pencils they could
find at home and started drawing swastikas all over the house. (I cannot
confirm if they were the right 1/5th proportion). But in a few minutes all
walls in were covered in swastikas.

Despite their hopes and worries, instead of Nazis, parents appeared! They
were really mad about what has happened and caused kids to do some labor
and cleaning up the mess.

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 3:06 PM, Marc Santhoff  wrote:

> I see. But from that view: the Nazi symbol is named "Hakenkreuz", not
> "Swastika". If you argue like this, you can revert the patch. ;)
>
> Indeed! PaintSwastika draws a religious rune, not a Nazi symbol!

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Graeme Geldenhuys
On 2016-01-06 19:21, Anthony Walter wrote:
>  Guess which one the
> lcl function draws?

It still looks like a Ninja throwing star to me. ;-)

Regards,
  - Graeme -


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Ondrej Pokorny

On 06.01.2016 21:09, Dmitry Boyarintsev wrote:

Indeed! PaintSwastika draws a religious rune, not a Nazi symbol!


Indeed! Therefore PaintSwastika should be renamed to "PaintCrookedCross" 
to comply with "PaintFivePointLineStar".


It doesn't make sense to have Swastika and then omit Pentagram. Lazarus 
sources should be uniform.


Ondrej

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


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Graeme Geldenhuys
On 2016-01-06 18:40, Josef Schnieder wrote:
> "This script requires the package libgdk-pixbuf2.0-dev which was not 
> found on your system"
> 
> But I can't find this package for SUSE.


The inconsistencies of Linux distros are mind boggling. SUSE probably
named the packages something different. So use its package manager and
search for keywords like "libgdk", "pixbuf", "gdk_pixbuf-2.0",
"gtk-x11-2.0" etc until you find a package similar to
libgdk-pixbuf2.0-dev, install that and see how it goes.

Alternatively, you can also compile Lazarus + LCL with the LCL-qt4
widgetset, instead of LCL-gtk2 widgetset.


Regards,
  - Graeme -

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

My public PGP key:  http://tinyurl.com/graeme-pgp

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Graeme Geldenhuys
On 2016-01-06 19:21, Anthony Walter wrote:
> but our lcl
> version precisely matches the Nazi version.

No it doesn't - if you want to get technical. The star isn't drawn
inside a circle (as your screenshot clearly shows). It also isn't drawn
on a red background by default.

Dude, you are reading way to much into this. Simply delete it from your
copy of Lazarus and be happy.


Regards,
  - Graeme -


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Marc Santhoff
On Mi, 2016-01-06 at 14:50 -0500, Dmitry Boyarintsev wrote:
> On Wed, Jan 6, 2016 at 2:45 PM, Marc Santhoff  wrote:
> 
> >
> > How about that:
> >
> >   PaintFivePointLineStar(PaintBox1.Canvas, r);
> >
> > Got some silver knifes and black candles at hand?
> >
> 
> That's the point :) It's FivePointLineStart, not Pentagram. (
> https://en.wikipedia.org/wiki/Pentagram)
> It might look the same, but in the end it's FivePointLineStart.



I see. But from that view: the Nazi symbol is named "Hakenkreuz", not
"Swastika". If you argue like this, you can revert the patch. ;)

-- 
NOBODY EXPECTS THE SPANISH INQUISITION


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Graeme Geldenhuys
On 2016-01-06 19:45, Marc Santhoff wrote:
> Got some silver knifes and black candles at hand?

No, you got to rotate it by about 15 to 20 degrees first. ;-)

Regards,
  - Graeme -


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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 3:23 PM, Ondrej Pokorny  wrote:

> Indeed! Therefore PaintSwastika should be renamed to "PaintCrookedCross"
> to comply with "PaintFivePointLineStar".
>
> It doesn't make sense to have Swastika and then omit Pentagram. Lazarus
> sources should be uniform.
>

Any objection if I add PaintHammerAndSickle procedure too?

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Anthony Walter
Regarding a patch, can whomever creates/applies it insure the PaintSwastika
procedure does not default to the Nazi symbol characteristics?

That is don't default the leaf widths to 1/5th the linear width (The Nazi
version is the only swastika with those proportions. Please don't default
to the Nazi proportions). Also most religious versions either use counter
clockwise leaves or rounded end caps. I'd go with defaulting the leaf
direction to counter clockwise as almost all versions other than the Nazi
one default to that direction.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread wkitty42

On 01/06/2016 03:23 PM, Ondrej Pokorny wrote:

On 06.01.2016 21:09, Dmitry Boyarintsev wrote:

Indeed! PaintSwastika draws a religious rune, not a Nazi symbol!


Indeed! Therefore PaintSwastika should be renamed to "PaintCrookedCross" to
comply with "PaintFivePointLineStar".

It doesn't make sense to have Swastika and then omit Pentagram. Lazarus sources
should be uniform.


so how about adding PaintCrookedCross and PaintPentagram? 

--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 3:29 PM, Anthony Walter  wrote:

> Regarding a patch, can whomever creates/applies it insure the
> PaintSwastika procedure does not default to the Nazi symbol characteristics?
>
It's easy, just changing  LineWidth: Single = 0.20 to whatever
But how about backwards compatibility?
I doubt anyone is using the function, but introducing an incompatibility
requires at least documenting it.
As you know there're far more important notes to be done for the coming
Lazarus release.

Besides, Nazi's swastika should be turned by 45 degrees. The procedure is
using 0 degrees by default.
As Graeme pointed out colors don't match either.

In the end. It's not about a routine. It's about how an end user
(developer) apply it.
Maybe they're developing the very next version of Wolfenstain 3d game or
creating a historic application or whatever.
Library is a tool, it's not intended to be a cultural symbol of any kind.

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


Re: [Lazarus] Installation under SUSE

2016-01-06 Thread Anthony Walter
Josef, I am the maintainer of http://www.getlazarus.org.

Unfortunately each Linux distribution can use different package names for
their distribution when compared to other distributions (eg. Redhat,
Debian, Suse). There is no Linux standard for either a universal package
management system or universal package names.

What we users are generally left with is either to depend on the
distribution manager to put the software we want into their own proprietary
package management system, where the software versions may potentially lag
far behind.

OR

We can attempt to build software from sources where we typically execute
run a configure script to check for the existence of binaries and then we
have to use our knowledge to locate the package for our distribution to
install the missing requirements ourselves.

The Linux install script at http://www.getlazarus.org/setup/#linux is a
compromise. It it build mainly around Debian but will attempt to find
certain programs or libraries if you distribution supports it, and at least
tells you the names of packages it's looking for if their binary parts
cannot be found, but realistically it's going to fail most of the time when
your not using a Debian based distro (Debian, Raspbian, Mint, Ubuntu).

What's really needed is a list of all the various distros, their package
manager names and arguments, and the names of their equivalent packages.
This would require me or a group of people to examine each distro and
figure out the differences, then merge the result into a single script. Me
personally installing all the different distributions (possibly using a
virtual machine) and mapping out all these differences is not something I
want to commit time to (and it would take a significant amount of time).

If you want to figure out the package names for Suse, and research the
package manager check for install and package manager install programs plus
arguments, along with the names of the packages required to run lazarus,
you can send that info to me at ad...@getlazarus.org and I can include it
within the Linux install script if Suse is detected as the current
distribution.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Ondrej Pokorny

On 06.01.2016 21:29, Dmitry Boyarintsev wrote:

Any objection if I add PaintHammerAndSickle procedure too?


On the contrary, please do so! I also suggest to wait with 1.6 RC2 so 
that it could be merged.


Ondrej

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


[Lazarus] [Possible BUG] Incompatible ppu

2016-01-06 Thread Tomáš Emresz
Hello,

have  an  problem with detection of ppu compatibility. I'l describe my
steps (shorted):

1) install fpcup
2) install fpc fixes_3_0_0
3) instal lazarus fixes_1_6
4) open package (postgresdac, with lot of changes)
5) at now, it was compiled ok
6) install this package
7) rebuild lazarus
8) open simple commandline apps, add one unist from package to uses
9) compile
10)  app_server.lpr(13,3)  Fatal:  Cannot find PSQLDirectQuery used by
app_server, incompatible ppu=C:\\i386-win32\PSQLDirectQuery.ppu, 
multiple packages: dclPostgresDACL, PostgresDACL

This  file is on disc at this place. When i delete them, recompile the
package, the new one shows.

So it seemslike bug i think.

Sorry  -  i'm  totally   new  to  lazarus  (moved from delphi and code
typhon).

I  tried  run  lazarus  from debugger (for debug compile process), but
this way have a lot of error, which i didn't understand this time (new
in lazarus).

-- 
S pozdravem,
 Tomáš Emresz
 mailto:tomas.emr...@strankysnadno.cz



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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Ondrej Pokorny

On 06.01.2016 21:40, Dmitry Boyarintsev wrote:
In the end. It's not about a routine. It's about how an end user 
(developer) apply it.
Maybe they're developing the very next version of Wolfenstain 3d game 
or creating a historic application or whatever.

Library is a tool, it's not intended to be a cultural symbol of any kind.



Yes!

What about forbidding knives just because you can kill with them? I 
still use them every morning for cutting my bread...


Ondrej

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


Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Ondrej Pokorny

On 06.01.2016 21:48, Ondrej Pokorny wrote:

On 06.01.2016 21:29, Dmitry Boyarintsev wrote:

Any objection if I add PaintHammerAndSickle procedure too?


On the contrary, please do so! I also suggest to wait with 1.6 RC2 so 
that it could be merged.




For the sake of completeness we also shouldn't forget about 
PaintTwelveFivePointLineStarsInACircle. This can easily be added by 
taking advantage of the PaintFivePointLineStar procedure.


+ The best thing is that you can combine these symbols!

Ondrej

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