Re: [lazarus] New component

2007-02-12 Thread Vincent Snijders

Tiziano_mk schreef:

Guadagnini David wrote:
I create a new component "Flat Button" (is a Flat button with glyps 
and gradient fill)


Someone can test it?


packaged and tested on Win32 platform. Let me the time to try on Linux...

notes:
nice!
removed reference to JWaWinGDI unit, not used;
why it's default size is so big?
can't put in front of z-order;
adding a glyph gives access violation after pressing Ok button;

Now, would you make a bit of documentation?


If there is a wiki page about it (see 
http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Packaging_and_Releasing_your_component),

I can put it on lazarus-ccr for download.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Another qt tray icon patch

2007-02-12 Thread Vincent Snijders

Felipe Monteiro de Carvalho schreef:

Improved qt tray icon implementation.

Adds tootip and popup menu support.



Thanks. Applied.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New component

2007-02-12 Thread Tiziano_mk

Vincent Snijders wrote:

Tiziano_mk schreef:

Guadagnini David wrote:

Now, would you make a bit of documentation?


If there is a wiki page about it (see 
http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Packaging_and_Releasing_your_component), 


I can put it on lazarus-ccr for download.



mmh, I see that the wiki is going to grow...
so few time to dig into it :-(

If david likes this idea, I can offer him some help on this direction.

thanks
tiziano

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] XML and XPath?

2007-02-12 Thread Kris Leech

Lee Jenkins wrote:

Lepidosteus wrote:

In fpc/fcl/xml there is a xpath unit.
Never used it, don't know if it works, guess it should.



Ahh, you're correct.  I'll poke around the sources a bit and see if I 
can figure it out.
It broken at the moment, but I just got a fixed unit today from 
Sebastian Günther.


Thanks,




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Patches: TPaintBox fix and some other minor enhancements

2007-02-12 Thread Mattias Gaertner
On Thu, 8 Feb 2007 20:59:21 -0200
"Flávio Etrusco" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> these are some fixes as follows:
> 
> 1 & 2) The only really important and no-brainer: fix TPaintBox not
> triggering OnPaint.
> 
> 3) Add some (ugly, I admit) casts to work-around some badly translated
> Winapi headers in FPC 2.0.4 and remove the associated warnings. I've
> verified that the 2 functions affected receive CONST arguments
> according to WinSDK.
> 
> 4) One I'm almost sure will get rejected: Add methods for handling
> boolean value, by means of a wrapper around 'integer' methods. To make
> things "worse" I couldn't resist renaming the parameters from
> 'Default' to 'DefaultValue'...
> 
> 5) Fix a single method, TApplication.CreateForm(), for which the
> Reference parameter should be 'out', not 'var', and the compiler hint
> was annoying me ;-)

Thanks. Applied.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] XML and XPath?

2007-02-12 Thread Lee Jenkins

Kris Leech wrote:

Lee Jenkins wrote:

Lepidosteus wrote:

In fpc/fcl/xml there is a xpath unit.
Never used it, don't know if it works, guess it should.



Ahh, you're correct.  I'll poke around the sources a bit and see if I 
can figure it out.
It broken at the moment, but I just got a fixed unit today from 
Sebastian Günther.


Thanks,



Can you forward a copy of the fixed unit to my email?
--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] XML and XPath?

2007-02-12 Thread Michael Van Canneyt


On Mon, 12 Feb 2007, Lee Jenkins wrote:

> Kris Leech wrote:
> > Lee Jenkins wrote:
> > > Lepidosteus wrote:
> > > > In fpc/fcl/xml there is a xpath unit.
> > > > Never used it, don't know if it works, guess it should.
> > > >
> > >
> > > Ahh, you're correct.  I'll poke around the sources a bit and see if I can
> > > figure it out.
> > It broken at the moment, but I just got a fixed unit today from Sebastian
> > Günther.
> > >
> > > Thanks,
> > >
> 
> Can you forward a copy of the fixed unit to my email?

And to me as well, so I can commit the fix in SVN :-)

Michael.

[lazarus] Bug on TImageList

2007-02-12 Thread Guadagnini David
If I want to write a transparent bit map and, for this, I use TImageList 
in this mode:


 TempList := TImageList.CreateSize(Picture.Width, Picture.Height);
 Try
   TempList.AddMasked(Picture1, TransColor);
   TempList.Draw(BCanvas.Canvas, X, Y, 0, Enabled);
 finally
   TempList.Free;
 end;

Where Picture is the source BitMap, BCanvas is the destination bit map 
and Picture1 is a support bitmap, during the execution of the line 
TempList.Draw(BCanvas.Canvas, X, Y, 0, Enabled); i have an error like 
this "External: SIGSEVG"


Bye,
David
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard



[lazarus] New List member

2007-02-12 Thread Jeff Steinkamp
I am new to this list.  Just downloaded Lazarus to my Linux machine.  I am an old 
Delphi user, so thought this might be an interesting way to convert some of my old 
Windows projects over to Linux.


I created a simple main form with a few menu items on it and compiled it.  It 
built a 6.8 meg executable under Linux.  Is this normal?



Jeff Steinkamp - N7YG
Tucson, AZ
SCUD Missile Coordinates
N32-13-55.01 W110-50-51.91
http://n7yg.net
http://home.earthlink.net/~jksteinkamp
Linux User #420428
Skype : jeff.steinkamp
___

A crisis is when you can't say 'let's forget the whole thing'.


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New List member

2007-02-12 Thread Darius Blaszijk

Hi Jeff,

Welcome aboard ;)

Yes it's normal, checkout this page for more info: 
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F


The wiki has a lot of information for previous delphi users. Be shure to 
browse around.


Darius

- Original Message - 
From: "Jeff Steinkamp" <[EMAIL PROTECTED]>

To: "Lazarus Mailing List" 
Sent: Monday, February 12, 2007 9:06 PM
Subject: [lazarus] New List member


I am new to this list.  Just downloaded Lazarus to my Linux machine.  I am 
an old Delphi user, so thought this might be an interesting way to convert 
some of my old Windows projects over to Linux.


I created a simple main form with a few menu items on it and compiled it. 
It built a 6.8 meg executable under Linux.  Is this normal?



Jeff Steinkamp - N7YG
Tucson, AZ
SCUD Missile Coordinates
N32-13-55.01 W110-50-51.91
http://n7yg.net
http://home.earthlink.net/~jksteinkamp
Linux User #420428
Skype : jeff.steinkamp
___

A crisis is when you can't say 'let's forget the whole thing'.


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Midware port to Lazarus

2007-02-12 Thread Balanyi Zsolt

Hi friends!

Anybody interested in porting Midware to Lazarus?
Midware is a very good middleware for Delphi and Kylix.
If you know any alternative solution, let me know!

 Best regards, Zsolt Balanyi

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Lee Jenkins

Balanyi Zsolt wrote:

Hi friends!

Anybody interested in porting Midware to Lazarus?
Midware is a very good middleware for Delphi and Kylix.
If you know any alternative solution, let me know!



Synapse works.  I've written a TCP server using it.  On the other hand, 
it's blocking sockets.  Midware is non-blocking, right?



--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Cesar Romero


Synapse works.  I've written a TCP server using it.  On the other 
hand, it's blocking sockets.  Midware is non-blocking, right?


I was looking for this kind of server with Synapse, do you know where 
can I find a example like that?


[]s


Cesar Romero

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Balanyi Zsolt

Hi!

Well, AFAIK Midware is non-blocking...
Could you send me a link to Synapse?

   Best regards, Zsolt

Lee Jenkins wrote:

Balanyi Zsolt wrote:

Hi friends!

Anybody interested in porting Midware to Lazarus?
Midware is a very good middleware for Delphi and Kylix.
If you know any alternative solution, let me know!



Synapse works.  I've written a TCP server using it.  On the other 
hand, it's blocking sockets.  Midware is non-blocking, right?





_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Lee Jenkins

Cesar Romero wrote:


Synapse works.  I've written a TCP server using it.  On the other 
hand, it's blocking sockets.  Midware is non-blocking, right?


I was looking for this kind of server with Synapse, do you know where 
can I find a example like that?


[]s



I can't remember if examples are distrbuted with the main package or 
not.  Check out their website:


http://synapse.ararat.cz/

One of the downloads has a sample project for TCP server.

--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Lee Jenkins

Balanyi Zsolt wrote:

Hi!

Well, AFAIK Midware is non-blocking...
Could you send me a link to Synapse?

   Best regards, Zsolt



Sure.  My apologies for not including it originally.

http://synapse.ararat.cz/

--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New List member

2007-02-12 Thread Algis Kabaila
On Tuesday 13 February 2007 07:24, Darius Blaszijk wrote:
> Hi Jeff,
> 
> Welcome aboard ;)
> 
> Yes it's normal, checkout this page for more info: 
> 
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F
> 

As another newbie to Lazarus, I was attracted by the Subject Title and 
followed Darius' advice to look at the FAQ.  Here is a snippet from the FAQ:

(Snippet start)
Lazarus executable size starts big, but grows very slowly, because of the Free 
Pascal compiler and the way lazarus forms operate. A c++ project (just an 
example, but applies to other languages / tools too) starts very small on the 
hello world, but quickly grows exponencially when you need features to write 
a non-trivial application. 
(Snippet end).

There is IMHO in the snipped a typo: exponentially is spelled with a "nt", 
not "nc".  Darius seems to be in the "inner circle" so perhaps he may correct 
the typo.

Lazarus is rather alive and well and growing by the day.  Good luck with your 
effort!

OldAl.
 
> The wiki has a lot of information for previous delphi users. Be shure to 
> browse around.
> 
> Darius
> 
> - Original Message - 
> From: "Jeff Steinkamp" <[EMAIL PROTECTED]>
> To: "Lazarus Mailing List" 
> Sent: Monday, February 12, 2007 9:06 PM
> Subject: [lazarus] New List member
> 
> 
> >I am new to this list.  Just downloaded Lazarus to my Linux machine.  I am 
> >an old Delphi user, so thought this might be an interesting way to convert 
> >some of my old Windows projects over to Linux.
> >
> > I created a simple main form with a few menu items on it and compiled it. 
> > It built a 6.8 meg executable under Linux.  Is this normal?
> >
> >
> > Jeff Steinkamp - N7YG
> > Tucson, AZ
> > SCUD Missile Coordinates
> > N32-13-55.01 W110-50-51.91
> > http://n7yg.net
> > http://home.earthlink.net/~jksteinkamp
> > Linux User #420428
> > Skype : jeff.steinkamp
> > ___
> >
> > A crisis is when you can't say 'let's forget the whole thing'.
> >
> >
> > _
> > To unsubscribe: mail [EMAIL PROTECTED] with
> >"unsubscribe" as the Subject
> >   archives at http://www.lazarus.freepascal.org/mailarchives 
> 
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
> 
> 

-- 
Algis Kabaila (Dr)
http://members.pcug.org.au/~akabaila/StructuralAnalysis

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Michael Van Canneyt


On Mon, 12 Feb 2007, Lee Jenkins wrote:

> Balanyi Zsolt wrote:
> > Hi friends!
> > 
> > Anybody interested in porting Midware to Lazarus?
> > Midware is a very good middleware for Delphi and Kylix.
> > If you know any alternative solution, let me know!
> > 
> 
> Synapse works.  I've written a TCP server using it.  On the other hand, it's
> blocking sockets.  Midware is non-blocking, right?

You can't compare midware with synapse. Midware is a 3-tier framework.
Synapse is a TCP/IP suite. 
ICS (on which Midware is built) is comparable to Synapse.

As far as I know, ICS works with FPC out of the box ?

Michael.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New List member

2007-02-12 Thread Darius Blaszijk

There is IMHO in the snipped a typo: exponentially is spelled with a "nt",
not "nc".

You're absolutely right!

Lazarus is rather alive and well and growing by the day.  Good luck with 
your

effort!
One of the reasons it's quite alive and growing is because anyone can 
contribute to the project how small the contribution may seem. Therefore you 
can change the type on the wiki yourself too :)
Just login and edit the page. Don't worry there's a sandbox here: 
http://wiki.lazarus.freepascal.org/Sand_Box. Also you can check the 
tutorials here: 
http://wiki.lazarus.freepascal.org/index.php/Main_Page#About.


Cheers, Darius

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Gus Wirth

Balanyi Zsolt wrote:

Hi friends!

Anybody interested in porting Midware to Lazarus?
Midware is a very good middleware for Delphi and Kylix.
If you know any alternative solution, let me know!


What Midware are you talking about? Do you have a URL?

Gus

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Osvaldo Filho

http://www.overbyte.be/frame_index.html

2007/2/12, Gus Wirth <[EMAIL PROTECTED]>:


Balanyi Zsolt wrote:
> Hi friends!
>
> Anybody interested in porting Midware to Lazarus?
> Midware is a very good middleware for Delphi and Kylix.
> If you know any alternative solution, let me know!

What Midware are you talking about? Do you have a URL?

Gus

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Balanyi Zsolt

Michael Van Canneyt wrote:

On Mon, 12 Feb 2007, Lee Jenkins wrote:

  

Balanyi Zsolt wrote:


Hi friends!

Anybody interested in porting Midware to Lazarus?
Midware is a very good middleware for Delphi and Kylix.
If you know any alternative solution, let me know!

  

Synapse works.  I've written a TCP server using it.  On the other hand, it's
blocking sockets.  Midware is non-blocking, right?



You can't compare midware with synapse. Midware is a 3-tier framework.
Synapse is a TCP/IP suite. 
ICS (on which Midware is built) is comparable to Synapse.


As far as I know, ICS works with FPC out of the box ?

Michael.
  


I contacted the author of Midware, and he gave me the advice to take a 
look on the Midware port to Kylix.

Does anybody have an idea which version is easier to port to Lazarus?
Windows version uses some Windows specific units, among others the 
Windows unit :-)

Kylix version uses only a few non-ICS units like QStdCtrls.

   Best regards, Zsolt Balanyi

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Bogusław Brandys

Balanyi Zsolt wrote:

Michael Van Canneyt wrote:

On Mon, 12 Feb 2007, Lee Jenkins wrote:

 

Balanyi Zsolt wrote:
   

Hi friends!

Anybody interested in porting Midware to Lazarus?
Midware is a very good middleware for Delphi and Kylix.
If you know any alternative solution, let me know!

  
Synapse works.  I've written a TCP server using it.  On the other 
hand, it's

blocking sockets.  Midware is non-blocking, right?



You can't compare midware with synapse. Midware is a 3-tier framework.
Synapse is a TCP/IP suite. ICS (on which Midware is built) is 
comparable to Synapse.


As far as I know, ICS works with FPC out of the box ?

Michael.
  


I contacted the author of Midware, and he gave me the advice to take a 
look on the Midware port to Kylix.

Does anybody have an idea which version is easier to port to Lazarus?
Windows version uses some Windows specific units, among others the 
Windows unit :-)

Kylix version uses only a few non-ICS units like QStdCtrls.

   Best regards, Zsolt Balanyi


Probably Kylix version.

BTW: Midware is freeware but only for non commercial applications.


Regards
Boguslaw

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives