Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Craig Peterson
On Sep 3, 2012, at 2:14 AM, Graeme Geldenhuys  wrote:

> I don't know who Uwe is, I just got to his website by following various links 
> on the internet. Is Uwe an Embarcadero employee?

No, just a community member.  In addition to the project you linked to he 
maintains the open source version of Delphi's Subversion Integration (Version 
Insight) and he's one of the two maintainers for the JEDI VCS project, as well 
as developer for the JCL/JVCL.

-- 
Craig Peterson
Scooter Software

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Juha Manninen
On Tue, Sep 4, 2012 at 3:57 AM, Bernd  wrote:
> CLAN
> (Comprehensive Lazarus Archive Network)

That already means "Community Local Area Network" and many other things.

Yet, I don't say it is a bad thing because most acronyms are "taken"
and the context would reveal what it means.

Juha

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


[Lazarus] Tabsheet font style

2012-09-03 Thread kaller
  

How can I set the tabsheet caption font style to bold for a single
tab only?

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


Re: [Lazarus] File Managers compared

2012-09-03 Thread Alexander Klenin
On Mon, Sep 3, 2012 at 11:12 PM, Kostas Michalopoulos
 wrote:
> Yes, i used Norton Commander for many years (basically until early
> 2000s) and i use Midnight Commander always in Linux. Compared to FAR
> Manager, Midnight Commander is very limited in features. I'm not sure
> it makes sense to go and list all the differences, you can just
> download and install it in a Windows box and try it yourself. You'll
> see how much more advanced FAR is.

I agree. Far Manager is certainly the most advanced in its class by a
wide margin.
Pity it is not portable.

-- 
Alexander S. Klenin

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


[Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-03 Thread Alexander Klenin
As reported on forum:
http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html
tutorials do not appear on this page unless the user is logged in.

Perhaps some caching issue?

-- 
Alexander S. Klenin

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Bernd
2012/9/4 Juha Manninen :
> On Tue, Sep 4, 2012 at 1:46 AM, Martin  wrote:
>>> The name can be changed if people don't like it.
>>
>> Maybe an acronym?
>>
>> All Addons Rapid Repositry Environment, or short AARRE
>
> :-)
> Hm


CLAN
(Comprehensive Lazarus Archive Network)

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


Re: [Lazarus] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found "TTiffIDF"

2012-09-03 Thread Marcos Douglas
On Mon, Sep 3, 2012 at 6:16 PM, Mattias Gaertner
 wrote:
> On Mon, 3 Sep 2012 18:00:02 -0300
> Marcos Douglas  wrote:
>
>> On Mon, Sep 3, 2012 at 5:18 PM, Marcos Douglas  wrote:
>> > Hi,
>> >
>> > I'm trying to compile my Lazarus, rev 38507, but I got:
>> > \1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found "TTiffIDF"
>> >
>> > ENV:
>> > Windows
>> > FPC 2.6.1 (rev 22298)
>>
>> Registered in http://bugs.freepascal.org/view.php?id=22785
>
> A tiff feature was backported from fpc 2.7.1 to 2.6.1.
>
> I updated lazarus trunk and fixes.
>
> Mattias

Worked very well, thank you.

Marcos Douglas

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Juha Manninen
On Tue, Sep 4, 2012 at 1:46 AM, Martin  wrote:
>> The name can be changed if people don't like it.
>
> Maybe an acronym?
>
> All Addons Rapid Repositry Environment, or short AARRE

:-)
Hm

Juha

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Martin

On 03/09/2012 23:39, Juha Manninen wrote:

The name can be changed if people don't like it.




Maybe an acronym?

All Addons Rapid Repositry Environment, or short AARRE

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Juha Manninen
On Mon, Sep 3, 2012 at 11:54 PM, Vincent Snijders
 wrote:
>> No idea, but google suggests it is finnish for treasure.
>
> So maybe Juha knows what Mattias is doing ;-)

It is related to a new Lazarus package repository, enabling easy
search and installation of packages from there.
I feel it is an important feature. Many other languages / programming
environments are popular because they have a comprehensive and easily
accessible package repository,

A unique name for such thing is difficult to find - using English
language - and Mattias suggested using another language like Finnish.
A word "aarrearkku" (treasure box) popped to mind and it was shortened
to "aarre".
This is the same tactics Ubuntu uses BTW, and I like it.
I only wonder how people will pronounce it. Here 'R' pronounces like
in Spanish (caRamba) and 'RR' is double as strong.
The name can be changed if people don't like it.

Juha

P.S.
Regards from Holland. I am happy I went!

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 18:45, Felipe Monteiro de Carvalho wrote:

The code works in Windows and in Qt in Mac OS X.


OK thanks. Good news there is some transparency support in LCL now. Bad 
news there is one more inconsistency in LCL too. I'll add this to Mantis.



Regards,
  - Graeme -


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


Re: [Lazarus] Writing application that sends things into facebook

2012-09-03 Thread ik
On Mon, Sep 3, 2012 at 5:53 PM, Ludo Brands  wrote:
>> Start from here: http://developers.facebook.com/docs/reference/api/
>> The authentication uses OAuth 2.0 which I'm not aware any
>> implementation of. BigChimp and ludob created an OAuth 1.0a
>> implementation in fpctwit, maybe you could take that as a
>> base (though I'm not sure about the effort since I have no
>> idea about the differences between 1.0a and 2.0).
>>
> I have also written an Oauth2 implementation for the Google API (implemented
> most of the Google Calendar api). Oauth2 is designed to be easier than
> Oauth1 and supported by many more companies that all wanted their own thing
> in the standard. The result is a standard that is lacking portability and
> every Oauth2 implementation is different and needs coding from almost
> scratch. Very little in Oauth1 can be re-used in Oauth2. If interested I can
> sent you the Oauth2 implementation for Google using Synapse for the HTTP
> layer.

Where can I find your OAuth2  unit ?

>
> Ludo
>
>
> --
> ___
> 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] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found "TTiffIDF"

2012-09-03 Thread Mattias Gaertner
On Mon, 3 Sep 2012 18:00:02 -0300
Marcos Douglas  wrote:

> On Mon, Sep 3, 2012 at 5:18 PM, Marcos Douglas  wrote:
> > Hi,
> >
> > I'm trying to compile my Lazarus, rev 38507, but I got:
> > \1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found "TTiffIDF"
> >
> > ENV:
> > Windows
> > FPC 2.6.1 (rev 22298)
> 
> Registered in http://bugs.freepascal.org/view.php?id=22785

A tiff feature was backported from fpc 2.7.1 to 2.6.1.

I updated lazarus trunk and fixes.

Mattias


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


Re: [Lazarus] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found "TTiffIDF"

2012-09-03 Thread Marcos Douglas
On Mon, Sep 3, 2012 at 5:18 PM, Marcos Douglas  wrote:
> Hi,
>
> I'm trying to compile my Lazarus, rev 38507, but I got:
> \1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found "TTiffIDF"
>
> ENV:
> Windows
> FPC 2.6.1 (rev 22298)

Registered in http://bugs.freepascal.org/view.php?id=22785

Marcos Douglas

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Mattias Gaertner
On Mon, 3 Sep 2012 16:03:26 +0200
Vincent Snijders  wrote:

> Hi,
> 
> I looked at recent svn commits and wondered, what is aarre?

"Aarre" is finnish for "treasure". Maybe the name
will change.

 
> BTW: there is a typo in aarreupdatelist.lpr:
> Application.Title:='Aaree update list';

Thanks for the hint. Fixed.

The tool is barely started. The goal is to scan a directory and gather
information about all lpk files.

Mattias

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Vincent Snijders
2012/9/3 Bart :
> On 9/3/12, Vincent Snijders  wrote:
>
>> Hi,
>>
>> I looked at recent svn commits and wondered, what is aarre?
>>
>> BTW: there is a typo in aarreupdatelist.lpr:
>> Application.Title:='Aaree update list';
>>
>
> No idea, but google suggests it is finnish for treasure.

So maybe Juha knows what Mattias is doing ;-)

>
> Where is this "aarreupdatelist.lpr" b.t.w.?

/trunk/components/aarre/tools/aarreupdatelist.lpr

Vincent

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


Re: [Lazarus] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found "TTiffIDF"

2012-09-03 Thread Marcos Douglas
On Mon, Sep 3, 2012 at 5:28 PM, Bart  wrote:
> On 9/3/12, Marcos Douglas  wrote:
>
>> Hi,
>>
>> I'm trying to compile my Lazarus, rev 38507, but I got:
>> \1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found "TTiffIDF"
>>
>
> The definition of TTiffIDF is in FPTiffCmn.pas (fpc).
> Looks like a configuration problem on your side.

No.
The definition _should be_ in the fptiffcmn.pas but the TTiffIDF type
doesn't exist any more.

Marcos Douglas

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


Re: [Lazarus] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found "TTiffIDF"

2012-09-03 Thread Bart
On 9/3/12, Marcos Douglas  wrote:

> Hi,
>
> I'm trying to compile my Lazarus, rev 38507, but I got:
> \1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found "TTiffIDF"
>

The definition of TTiffIDF is in FPTiffCmn.pas (fpc).
Looks like a configuration problem on your side.

Bart

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


[Lazarus] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found "TTiffIDF"

2012-09-03 Thread Marcos Douglas
Hi,

I'm trying to compile my Lazarus, rev 38507, but I got:
\1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found "TTiffIDF"

ENV:
Windows
FPC 2.6.1 (rev 22298)

Marcos Douglas

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


Re: [Lazarus] What is aarre?

2012-09-03 Thread Bart
On 9/3/12, Vincent Snijders  wrote:

> Hi,
>
> I looked at recent svn commits and wondered, what is aarre?
>
> BTW: there is a typo in aarreupdatelist.lpr:
> Application.Title:='Aaree update list';
>

No idea, but google suggests it is finnish for treasure.

Where is this "aarreupdatelist.lpr" b.t.w.?

Bart

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Zaher Dirkey
On Mon, Sep 3, 2012 at 5:55 PM, Graeme Geldenhuys
wrote:

> On 03/09/12 15:19, Felipe Monteiro de Carvalho wrote:
>
>> Transparency is supported, just use TWinControl.SetShape(Region) or
>> SetShape(Bitmap);
>>
>
> It seems some people have different definitions of "transparency". Will
> that make the TTransparentContainer clear like glass? Will I see through it
> and see the main form's tiled canvas?
>
> Anyway, I'm not 100% sure how to your the TRegion, so tried the following.
> Still no luck. The TTransparentContainer doesn't look "visually"
> transparent / see-thru.
>
>
> procedure TForm1.FormCreate(Sender: TObject);
> var
>   r: TRegion;
> begin
>   Width := 400;
>
>   r := TRegion.Create;
>   FMyContainer := TTransparentContainer.Create(**self);
>   FMyContainer.Parent := self;
>   with FMyContainer do
>   begin
> Left := 50;
> Top := 50;
> Width := 300;
> Height := 200;
> r.AddRectangle(0, 0, FMyContainer.Width, FMyContainer.Height);
> SetShape(r);
>   end;
>
>   ...
> end;
>
>
> See attached image for the results.
>
>
That if you want to use a real "window" in the OS as transparent;

The idea i need a container transparent to see behind it, and ignore any
mouse actions, in another way, this container only can container a child
controls, but do nothing, so it is not a real window, i mean it have no
handle.

In fact, it is TControl bypass any mouse/keys action bypass any drawing to
the window handler, it is easy to make it, but not easy, we cant put
control inside it, and if we use TCustomControl it become a real window and
have handle from the OS.

Uhm any one understand me :)

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Felipe Monteiro de Carvalho
The code works in Windows and in Qt in Mac OS X.

Gtk2 has a problem that it does not allow setting the region of a
control before the expose event. So basically setting the region in
the event OnCreate will not do anything. I had this problem in my
application and I think that the only thing that worked for me was
using a timer with interval 1. It sucks, but well, that's Gtk2 =)

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 16:11, Felipe Monteiro de Carvalho wrote:

The code works as expected. Translucency is not supported, only full
transparent or full opaque.


I want "full transparent" or "100% see-thru". Like I said... there seems 
to be a 101 definitions of "transparent" in this mailing list. I got the 
same confusing answers back in 2009.




If you set a region that includes the entire control, by definition
nothing will change. You need to include in your region what you want
to include. In this case the text+button.


OK, so as a sample, I included a 5x5 region to be opaque, and by your 
definition, everything else should be "full transparent/see-thru".


So I did this..


  r := TRegion.Create;
  FMyContainer := TTransparentContainer.Create(self);
  FMyContainer.Parent := self;
  with FMyContainer do
  begin
Left := 50;
Top := 50;
Width := 300;
Height := 200;
r.AddRectangle(0, 0, 10, 10);
SetShape(r);
  end;


Now as you can see the container is much larger than 10x10, so I should 
see a grey 10x10 block, and the rest should be the background logo of 
the main form.


Yet, nothing changed. The output at runtime looks exactly like the image 
I attached in my previous message. The whole container is painted grey, 
even though I this time defined a smaller region.


It seems my initial assumption is still correct. Transparency in 
LCL-GTK2 at least is not supported. I say LCL-GTK2, because that is 
currently the only widgetset I have tested.


If you still disagree with my assumption, could you possibly take my 
test code (attached) and see if you can get a working fully 100% 
transparent (looking like clear glass) see-thru container? Something 
where the main forms tiled background will show through. Ignoring the 
Label and Button for now. I would very much appreciate your help with 
this. I simply can't get it to work.



Regards,
  - Graeme -



tile_background.tar.gz
Description: GNU Zip compressed data
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Felipe Monteiro de Carvalho
The code works as expected. Translucency is not supported, only full
transparent or full opaque. But you can set irregular regions as 100%
transparent.

The region that you set will be 100% opaque. Anything outside that
region will be 100% transparent.

If you set a region that includes the entire control, by definition
nothing will change. You need to include in your region what you want
to include. In this case the text+button. The down side is that
TRegion doesn't support text shapes, only geometric figures (ellipses,
rectangles and any combination of them using various operators).

You can work around this by using SetShape(bitmap) instead, but I
don't think it will work in all platforms.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Writing application that sends things into facebook

2012-09-03 Thread Marcos Douglas
On Mon, Sep 3, 2012 at 11:53 AM, Ludo Brands  wrote:
>
> > Start from here: http://developers.facebook.com/docs/reference/api/
> > The authentication uses OAuth 2.0 which I'm not aware any
> > implementation of. BigChimp and ludob created an OAuth 1.0a
> > implementation in fpctwit, maybe you could take that as a
> > base (though I'm not sure about the effort since I have no
> > idea about the differences between 1.0a and 2.0).
> >
> I have also written an Oauth2 implementation for the Google API
> (implemented
> most of the Google Calendar api). Oauth2 is designed to be easier than
> Oauth1 and supported by many more companies that all wanted their own
> thing
> in the standard. The result is a standard that is lacking portability and
> every Oauth2 implementation is different and needs coding from almost
> scratch. Very little in Oauth1 can be re-used in Oauth2. If interested I
> can
> sent you the Oauth2 implementation for Google using Synapse for the HTTP
> layer.

Would be better to create a git repo to this project.

Marcos Douglas

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 15:19, Felipe Monteiro de Carvalho wrote:

Transparency is supported, just use TWinControl.SetShape(Region) or
SetShape(Bitmap);


It seems some people have different definitions of "transparency". Will 
that make the TTransparentContainer clear like glass? Will I see through 
it and see the main form's tiled canvas?


Anyway, I'm not 100% sure how to your the TRegion, so tried the 
following. Still no luck. The TTransparentContainer doesn't look 
"visually" transparent / see-thru.



procedure TForm1.FormCreate(Sender: TObject);
var
  r: TRegion;
begin
  Width := 400;

  r := TRegion.Create;
  FMyContainer := TTransparentContainer.Create(self);
  FMyContainer.Parent := self;
  with FMyContainer do
  begin
Left := 50;
Top := 50;
Width := 300;
Height := 200;
r.AddRectangle(0, 0, FMyContainer.Width, FMyContainer.Height);
SetShape(r);
  end;

  ...
end;


See attached image for the results.


Regards,
  - Graeme -

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


Re: [Lazarus] Writing application that sends things into facebook

2012-09-03 Thread Ludo Brands
> Start from here: http://developers.facebook.com/docs/reference/api/
> The authentication uses OAuth 2.0 which I'm not aware any 
> implementation of. BigChimp and ludob created an OAuth 1.0a 
> implementation in fpctwit, maybe you could take that as a 
> base (though I'm not sure about the effort since I have no 
> idea about the differences between 1.0a and 2.0).
> 
I have also written an Oauth2 implementation for the Google API (implemented
most of the Google Calendar api). Oauth2 is designed to be easier than
Oauth1 and supported by many more companies that all wanted their own thing
in the standard. The result is a standard that is lacking portability and
every Oauth2 implementation is different and needs coding from almost
scratch. Very little in Oauth1 can be re-used in Oauth2. If interested I can
sent you the Oauth2 implementation for Google using Synapse for the HTTP
layer. 

Ludo


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


Re: [Lazarus] Writing application that sends things into facebook

2012-09-03 Thread leledumbo
Start from here: http://developers.facebook.com/docs/reference/api/
The authentication uses OAuth 2.0 which I'm not aware any implementation of.
BigChimp and ludob created an OAuth 1.0a implementation in fpctwit, maybe
you could take that as a base (though I'm not sure about the effort since I
have no idea about the differences between 1.0a and 2.0).



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Writing-application-that-sends-things-into-facebook-tp4026222p4026229.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Felipe Monteiro de Carvalho
Transparency is supported, just use TWinControl.SetShape(Region) or
SetShape(Bitmap);

It will be tricky if you want to have a very irregular region of
transparency, such as for having text. In this case SetShape(Bitmap)
is the best option.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Delphi post-XE3 roadmap

2012-09-03 Thread leledumbo
Seems like those bankers finally realized their mistake:
https://forums.embarcadero.com/thread.jspa?threadID=76285&tstart=0

The restriction now applies only to dbExpress.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Delphi-post-XE3-roadmap-tp4025806p4026227.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

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


Re: [Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 14:56, Graeme Geldenhuys wrote:


How do I create a transparent container/panel in LCL? I tried the
following code, and as you can see, csOpaque is not defined in the
ControlStyle property.



Don't worry, searching the mailing list archives I found my answer back 
in December 2009. It's not possible in LCL. csOpaque has nothing to do 
with "visual behaviour" but simply with "mouse click / clipping behaviour".



Sorry for the noise.


   Graeme.


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


[Lazarus] What is aarre?

2012-09-03 Thread Vincent Snijders
Hi,

I looked at recent svn commits and wondered, what is aarre?

BTW: there is a typo in aarreupdatelist.lpr:
Application.Title:='Aaree update list';

Vincent

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


[Lazarus] Transparent Container/Panel in LCL?

2012-09-03 Thread Graeme Geldenhuys

Hi,

How do I create a transparent container/panel in LCL? I tried the 
following code, and as you can see, csOpaque is not defined in the 
ControlStyle property.


---
type
  TTransparentContainer = class(TCustomControl)
  public
constructor Create(AOwner: TComponent); override;
  end;


constructor TTransparentContainer.Create(AOwner: TComponent);
begin
  inherited Create(AOwner);
  // Do not include [csOpaque] because we want a transparent widget.
  ControlStyle := [csAcceptsControls, csNoFocus];
end;
---


Please see attached the result at runtime. The grey box in the middle of 
the form (which contains a TLabel and TButton) is not "transparent" 
container. Not very transparent because the form's tiled background is 
not showing through.


Maybe I misunderstood the [csOpaque] option, though I though it seems 
self explanatory.


I'm using Lazarus v1.0 GTK2 under Linux with FPC 2.6.0 on 64-bit 
OpenSUSE 12.1



Any tips?


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


Re: [Lazarus] File Managers compared

2012-09-03 Thread Kostas Michalopoulos
> I have no idea how you get to that statement. I have used MC for years and
> it is rock solid and stable under Linux and FreeBSD. In terms of
> features do you even know of all the shortcuts in MC, and the ability to
> extend MC via the User Menu (F2 shortcut key)? My MC has lots and lots of
> features added via F2 menu.

Yes, i used Norton Commander for many years (basically until early
2000s) and i use Midnight Commander always in Linux. Compared to FAR
Manager, Midnight Commander is very limited in features. I'm not sure
it makes sense to go and list all the differences, you can just
download and install it in a Windows box and try it yourself. You'll
see how much more advanced FAR is.

Kostas

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


[Lazarus] Writing application that sends things into facebook

2012-09-03 Thread ik
Hello,

I have this hobby project:
https://github.com/ik5/display-quotes

And I wish to add it the ability to send random quote to facebook as well.
I never wrote an application for facebook, and I can only find
information about web based application that works both ways.

Does anyone here know of a good and up to date tutorial on how to do it,
or an open source application that I can learn from ?

Thanks,
Ido

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


[Lazarus] RAD tools for Solaris

2012-09-03 Thread Mark Morgan Lloyd

I've just had this pointed out to me which I think is worth quoting:

-8<-
Secondly I find it incredibly hard to start developing things on the
operating system.

I may be irrelevant here, but there are rapid application development
tools in modern computing world. One of them could be packaged for
OpenIndiana. I am talking about Lazarus - a RAD environment for Free
Pascal compiler. Having Lazarus for OpenIndiana would provide an
easy-to-follow path for Windows developers who want to develop for UNIX.
See http://lazarus.freepascal.org/ and
http://wiki.freepascal.org/Lazarus_on_Solaris .
->8-

http://permalink.gmane.org/gmane.os.openindiana.general/9206

I could do with revisiting the Wiki page now that we're at 2.6.0 + 1.0, 
but at the moment time does not permit that.


--
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] File Managers compared

2012-09-03 Thread Graeme Geldenhuys
Yes, very off-topic now moved to lazarus-other mailing list. So 
please only reply to the lazarus-other list.



On 03/09/12 10:23, Kostas Michalopoulos wrote:

  FAR blows MC away by a wide
margin in terms of features, stability, UI, etc.



I have no idea how you get to that statement. I have used MC for years 
and it is rock solid and stable under Linux and FreeBSD. In terms of 
features do you even know of all the shortcuts in MC, and the 
ability to extend MC via the User Menu (F2 shortcut key)? My MC has lots 
and lots of features added via F2 menu.


Regards,
  - Graeme -



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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Mattias Gaertner
Please create a bug report for the favorites bug and move this topic to
lazarus-other.

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 09:45, Michael Schnell wrote:


But Total
Commander and FreeCommander are a lot more versatile (e.g. they do
filtering, very handy searching, ftp and digging into archives).



I'm not sure if this was comparing to Dolphin or Midnight Commander. If 
you meant the latter, then I can easily say that MC can do everything 
you mentioned, plus lots more... see my reply to Felipe.




  Graeme.




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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 09:48, Felipe Monteiro de Carvalho wrote:

I use Double Commander in Linux and Windows: it is easier to use
cross-platform apps then changing my apps for each operating system.



I use Total Commander under Windows, Midnight Commander under Linux and 
FreeBSD. I can even SSH from a Windows box to any of the *nix systems I 
admin, and can still use MC. I also have lots of custom functions added 
to MC's F2 user menu, launching things like Beyond Compare 3 after 
tagging two items to compare, auto creating a *.desktop file for the 
currently selected item, etc etc. There are some cases were console apps 
just trump GUI apps in flexibility.


Though I must add, under Windows, you don't get better than Total 
Commander (though Midnight Commander for Windows does exist, but I have 
never tried it). There are 100's of Windows clones of Total Commander, 
but the original Total Commander just beats them all.




  Graeme.


PS:
Double Commander has improved a lot in recent times, so it is a good 
contender too.


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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Kostas Michalopoulos
On Mon, Sep 3, 2012 at 10:45 AM, Michael Schnell  wrote:
> On 09/03/2012 10:31 AM, Graeme Geldenhuys wrote:
>>
>>
>> Simply use Midnight Commander
>
>
> (Sorry, very off-topic):
>
> That is exactly what I do (when not using KDE's "dolphin". But Total
> Commander and FreeCommander are a lot more versatile (e.g. they do
> filtering, very handy searching, ftp and digging into archives). Dolphin
> seems to be catching up.

While Midnight Commander is nice, i'd like to see a port of FAR
Manager 2 (which is now open source). FAR blows MC away by a wide
margin in terms of features, stability, UI, etc.

Kostas

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Mark Morgan Lloyd

Hans-Peter Diettrich wrote:

Apart from licensing issues, which may require to keep the source 
closed, why should somebody ever open up his own source code? Before 
all, everybody has to earn his living. Only then it's possible at all to 
contribute to community projects for free.


As somebody else has pointed out, a number of people make a living by 
supporting/enhancing their open-source codebase for specialist 
applications and users. Unfortunately, many more people have tried this 
business model and failed dismally.


However, I think two things follow on from this:

i)   The ideal of open source would be if code was good enough that it 
didn't need the skill of the original developer to maintain it (and 
shipping source in obfuscated form is really /not/ playing fair).


ii)  There's nothing to stop a developer abstracting ideas from feedback 
to his open source program, and using those to enrich the next release 
that might be shipped to paying customers first.


I've certainly come across free (as in beer) programs that have died 
with their developer, since he has made no provision for the source to 
be released despite having no obvious monetary value to his estate.


--
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] Proprietary vs Open Source mentality

2012-09-03 Thread Felipe Monteiro de Carvalho
I use Double Commander in Linux and Windows: it is easier to use
cross-platform apps then changing my apps for each operating system.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Michael Schnell

On 09/03/2012 10:31 AM, Graeme Geldenhuys wrote:


Simply use Midnight Commander


(Sorry, very off-topic):

That is exactly what I do (when not using KDE's "dolphin". But Total 
Commander and FreeCommander are a lot more versatile (e.g. they do 
filtering, very handy searching, ftp and digging into archives). Dolphin 
seems to be catching up.


-Michael

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 08:55, Michael Schnell wrote:

Since many Years I use (a legal payed for copy of) TotalCommander
(called WinCommander before), which is a program done with Delphi. I
now  would love to use it in Linux,


Total Commander is "paid for" software, so I have no problem with it 
being a closed source application.


Don't get me wrong... I never suggested that ALL software must be open 
source. If that is what you thought I meant, you understood me wrong.


PS:
Total Commander works perfectly under Linux with WINE. Still the best
GUI file manager out there by far.


Regards,
  Graeme.



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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 09:06, michael.vancann...@wisa.be wrote:


You can try "double commander". It is written in Lazarus.
There is another one, but I cannot remember the name of it.


Wow, I got a bit lost there... the topic changing from coder mentality 
to file managers. I see the URL is quote does have a very similar name 
though. :)  I seem to be missing Michael Schnell's email too. Weird.


@Michael Schnell
Simply use Midnight Commander - a console based file manager that even 
works via SSH. All distros have 'mc' in their repositories. It rocks!


  Graeme.


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


Re: [Lazarus] Alternatives to WinCE (Windows Mobile)

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 08:38, Michael Schnell wrote:

Unfortunately the "Linux Devices" site died (i.e. was sold and put to
sleep by the new owner 


Or use "The Internet Archive" website and still view the old pages.  I 
love that website, and I use it quite often.




   Graeme.

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Michael Schnell

On 09/03/2012 10:06 AM, michael.vancann...@wisa.be wrote:


You can try "double commander". It is written in Lazarus.
There is another one, but I cannot remember the name of it.

I did evaluate double commander. But (last time I checked) it's much 
less grown up than free commander. In a perfect open source world the 
multiple free "Commander" communities would unite to a single projects 
(maybe with variants managed by git trees).


-Michael

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Michael Schnell

On 09/03/2012 08:26 AM, Marc Santhoff wrote:

Am Sonntag, den 02.09.2012, 23:48 -0400 schrieb Rolf Grunsky:

Open Source != free of charge 


Yeah !

There is a growing consulting business doing payed jobs producing or 
enhancing open source projects.


OTOH "License enforcement by obfuscation" IMHO is not a good idea at all.

-Michael

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread michael . vancanneyt



On Mon, 3 Sep 2012, Michael Schnell wrote:


On 09/03/2012 12:35 AM, Graeme Geldenhuys wrote:
 So if I get hit by a bus tomorrow, tough sh*t to all of you, my work will 
be lost forever. What weird mentality.


I just got hit by a very bad (for me) example for this: "FreeCommander".

Since many Years I use (a legal payed for copy of) TotalCommander (called 
WinCommander before), which is a program done with Delphi. I now  would love 
to use it in Linux, as I moved most of my activities there. In fact there is 
a free clone of TotalCommander called FreeCommander ( 
http://www.freecommander.com/index.htm ). AFAIK, same also is done in Delphi 
and so it would be rather easy to use Lazarus to port it to Linux. But 
seemingly they don't provide the source code :-( .


You can try "double commander". It is written in Lazarus.
There is another one, but I cannot remember the name of it.

Michael.

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Michael Schnell

On 09/03/2012 12:35 AM, Graeme Geldenhuys wrote:
 So if I get hit by a bus tomorrow, tough sh*t to all of you, my work 
will be lost forever. What weird mentality.


I just got hit by a very bad (for me) example for this: "FreeCommander".

Since many Years I use (a legal payed for copy of) TotalCommander 
(called WinCommander before), which is a program done with Delphi. I 
now  would love to use it in Linux, as I moved most of my activities 
there. In fact there is a free clone of TotalCommander called 
FreeCommander ( http://www.freecommander.com/index.htm ). AFAIK, same 
also is done in Delphi and so it would be rather easy to use Lazarus to 
port it to Linux. But seemingly they don't provide the source code :-( .


-Michael

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


Re: [Lazarus] Alternatives to WinCE (Windows Mobile)

2012-09-03 Thread Michael Schnell

On 09/02/2012 09:18 AM, Tommi Prami wrote:


But all are old...

Unfortunately the "Linux Devices" site died (i.e. was sold and put to 
sleep by the new owner world> ) some months ago. But You might take this a a starting point for 
research for newer models.


-Michael

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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

Thanks Chavoux. You understood my post perfectly.

Your idea of "testing the water" could very well explain why many keep 
some utility apps or small products closed source... with the hopes of 
later selling a "delux" version [I haven't seen that word used in 
software in years :) ].


Thanks for your input.

Regards,
  - Graeme -



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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

Hi Craig,

Thanks for your informative answer... What you said could explain the 
reason for him keeping his work closed source.


I don't know who Uwe is, I just got to his website by following various 
links on the internet. Is Uwe an Embarcadero employee?


Regards,
  Graeme.


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


Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-03 Thread Graeme Geldenhuys

On 03/09/12 03:15, Hans-Peter Diettrich wrote:


First of all, this topic should go into Lazarus-other.


Sorry, I forgot that list existed.



Apart from licensing issues, which may require to keep the source
closed, why should somebody ever open up his own source code?


That's the whole point. He is giving his IDE add-ons away for FREE. He 
is *not* making money off it. If he was selling the IDE add-ons, then 
obviously I would understand. What he is doing is similar to GExperts. I 
believe it was a GExperts developer asking if his work could be merged, 
and he said no.


I just don't see [in such a case] what the benefit is to the developer 
to keep his work closed sourced.




...while earning your living otherwise :-]


You're missing my point.


  Graeme.

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