RE: [lazarus] Google's Android OS :)

2007-11-23 Thread Pieter Valentijn
Hi Willem Nice to see your from holland to.
Im sure where all intrested in what ever you can produce.
You seem to have a impressive ambition that is supporten by your
experience.




Met vriendelijke groet, 
Pieter Valentijn
 
Delphidreams
http://www.delphidreams.nl
 


-Oorspronkelijk bericht-
Van: willem [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 23 november 2007 0:56
Aan: lazarus@miraclec.com
Onderwerp: Re: [lazarus] Google's Android OS :)


Marco van de Voort wrote:
 On Thu, Nov 22, 2007 at 07:52:59PM +0100, willem wrote:
   
 I know that the lazarus grammar is based on yacc
 

I did some google search on the fpc
I do know that google searches results are not always correct. I a a
newby to the lazarus project. but i did study compiler comnstruction 30
years ago. Pascal has been founded by Prof niklaus Wirth as an an
educational 
computer language
and he has extended the backus -nauer form to EBNF.
Well I am going to extend ENBF with XML.
Grammar is very important as a base to study a language.
I want to start Andromedia.
 The first  effort will be documenting the delphi antlr grammar. I will
use XML for that. because the the delphi grammar can easily be expanded
with an XML 
specification.

I did study websites with html and javascript. That horrible and it 
takes a lot of time to understand that kind of thing

well i have 30 years of experience with computing problems
my first computer experience was with the intel 4004 but i am a newby on

this forum.
My intentention is is to start the androida project on sourceforge I
will then publish the delphi grammar for antlr. Experienced Lazarus
developpers can then suggest improvements on this 
delphi grammar and so it becomes
lazarus grammar. I want to extend the delphi grammar with XML So EBNF
becomes XEBNF !!!



















 The FPC is recursive descent and is not based on yacc. Syntax 
 highlighter parsers don't have to be 100% correct.

   
 Before you start you might also learn your target better, and at 
 least
 have
 an idea how you are going to tackle porting unmanaged constructs to
a
 managed version.
   
   
 Sorry you are wrong.
 I have already the delphi grammar for antlr
 

 There is even one in the Delphi's manual. But even that is not 
 complete. How can you be so sure yours is?

 _
  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

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


RE: [lazarus] Google's Android OS :)

2007-11-23 Thread Pieter Valentijn
Im not realy a core guys my specialty is to create programs (GUI) or
SOAP services. Im more a user then a core designer so im not realy
familiar with this.

But im sure it will aid somehow to bringing te Lazarus project to a
other level.
Im stil waiting for the day I can have everyting I need to recompile
osFinancials with Lazarus.

I gess I also need the time to reinvest to see if this is posible yet.

You know how it goes when you have users Bugs first :-)



Met vriendelijke groet, 
Pieter Valentijn
 
Delphidreams
http://www.delphidreams.nl
 


-Oorspronkelijk bericht-
Van: willem [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 23 november 2007 10:07
Aan: lazarus@miraclec.com
Onderwerp: Re: [lazarus] Google's Android OS :)


Pieter Valentijn wrote:
 Hi Willem Nice to see your from holland to.
 Im sure where all intrested in what ever you can produce.
 You seem to have a impressive ambition that is supporten by your 
 experience.

 Hello Pieter,
   
Yes i am from  holland.
i am experienced but ia newby in the lazarus field.
So i start with the grammar.
simply because i got a lot of teaching about  grammar at school. i
downloaded the pascal grammar of the web. and run it strough antlrwork
and checked the pascal grammar.

this was the result.

[08:54:51] Checking Grammar...
[08:54:53] warning(200): java.g:777:5: Decision can match input such as 
'0'..'9'{'E', 'e'}{'+', '-'}'0'..'9'{'D', 'F', 'd', 'f'} using 
multiple alternatives: 3, 4
As a result, alternative(s) 4 were disabled for that input

so thats interesting !!
i have no idea what it means but i will find.
because i did study study 30 years ago
so i have to refresh my knowledge.
i have attached the pascal grammar in this post.

regards

 Met vriendelijke groet,
 Pieter Valentijn
  
 Delphidreams
 http://www.delphidreams.nl
  


 -Oorspronkelijk bericht-
 Van: willem [mailto:[EMAIL PROTECTED]
 Verzonden: vrijdag 23 november 2007 0:56
 Aan: lazarus@miraclec.com
 Onderwerp: Re: [lazarus] Google's Android OS :)


 Marco van de Voort wrote:
   
 On Thu, Nov 22, 2007 at 07:52:59PM +0100, willem wrote:
   
 
 I know that the lazarus grammar is based on yacc
 
   

 I did some google search on the fpc
 I do know that google searches results are not always correct. I a a 
 newby to the lazarus project. but i did study compiler comnstruction 
 30 years ago. Pascal has been founded by Prof niklaus Wirth as an an 
 educational computer language
 and he has extended the backus -nauer form to EBNF.
 Well I am going to extend ENBF with XML.
 Grammar is very important as a base to study a language.
 I want to start Andromedia.
  The first  effort will be documenting the delphi antlr grammar. I
will
 use XML for that. because the the delphi grammar can easily be
expanded
 with an XML 
 specification.

 I did study websites with html and javascript. That horrible and it
 takes a lot of time to understand that kind of thing

 well i have 30 years of experience with computing problems
 my first computer experience was with the intel 4004 but i am a newby 
 on

 this forum.
 My intentention is is to start the androida project on sourceforge I 
 will then publish the delphi grammar for antlr. Experienced Lazarus 
 developpers can then suggest improvements on this delphi grammar and 
 so it becomes lazarus grammar. I want to extend the delphi grammar 
 with XML So EBNF becomes XEBNF !!!


















   
 The FPC is recursive descent and is not based on yacc. Syntax
 highlighter parsers don't have to be 100% correct.

   
 
 Before you start you might also learn your target better, and at
 least
 have
 an idea how you are going to tackle porting unmanaged constructs to
 
 a
   
 managed version.
   
   
 
 Sorry you are wrong.
 I have already the delphi grammar for antlr
 
   
 There is even one in the Delphi's manual. But even that is not
 complete. How can you be so sure yours is?

 _
  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

 _
  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] Error compiling lazarus

2007-11-23 Thread Antonio Talamini

Somebody has this error compiling Lazarus?

Compiling /usr/lib/lazarus/components/tachart/taseries.pas
Compiling /usr/lib/lazarus/components/tachart/tagraph.pas
Compiling /usr/lib/lazarus/components/tachart/taengine.pas
taengine.pas(43,24) Error: Identifier not found class
taengine.pas(45,5) Error: Error in type definition
taengine.pas(45,5) Fatal: Syntax error, ; expected but identifier 
PRIVATE found

Fatal: Compilation aborted

thanks

Antonio

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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Damien Gerard


On Nov 23, 2007, at 1:00 PM, Jury Azovtzev wrote:



I tryied with Puppy, but I have memory problems and side effects...
Now I'll try with your DVD.

I think it was problems with video device detestion.

I would appriciat to you for this disk tests. Write here if you'll  
find any ptoblems and troubles.



Under VMWare, there are some troubles :)
Screenshots are in the archive file.

http://ftn.shikami.org/misc/Lazarus/Lazarus-LiveCD-20071123.zip


--
Damien Gerard
[EMAIL PROTECTED]



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


Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-23 Thread Sam Liddicott

Tom Gregorovic wrote:

Hi,
it crossed my mind that it would be convenient to have one search
service for all the information about Lazarus and Free Pascal, which
are in forums, mail list archives, documentation reference, wiki,
Mantis, SVN repository, SVN log, blog ...
One possibility is Google Custom Search Engine
(http://www.google.com/coop/cse/):
* it is free for noncommercial usage, but I think it parses not all resources
The alternative is to use some web search engine running on own server
(e.g. http://www.mnogosearch.org/ ).
  

I recommend xapian; www.xapian.org

I've worked on it, I've used it and I've followed it's progress and when 
I worked at Orange we hired one of the developers to enhance it.


It is based on a once-commercial search engine.

Sam

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


[lazarus] Buffer Overflow

2007-11-23 Thread Jeff Steinkamp
I just rebuilt Lazarus with SVN 12973 on my Linux box with GTK2 and upon 
restart I got a error dialog that said buffer overflow.  Here is the 
output trace:


TLazarusManager.Run starting /home/n7yg/.lazarus/bin/lazarus ...
TApplication.IconChanged - TODO: convert this message...no 
implementation in gtk or win32

[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  - inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
 Sender=Ecompressionerror
 Exception=buffer error
 Stack trace:
 $081A26DE
 $0819BC0B
 $0819B9E4
 $08196D9D
 $081949E1
 $081367E1  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
 $0812BFD4  TBITMAP__LOADFROMSTREAM,  line 459 of ./include/bitmap.inc
 $08127A10  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of graphics.pp
 $08090CE6  CREATEBUTTON,  line 1431 of main.pp
 $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
 $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
 $0805C023  main,  line 93 of lazarus.pp
TApplication.HandleException buffer error
 Stack trace:
 $081A26DE
 $0819BC0B
 $0819B9E4
 $08196D9D
 $081949E1
 $081367E1  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
 $0812BFD4  TBITMAP__LOADFROMSTREAM,  line 459 of ./include/bitmap.inc
 $08127A10  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of graphics.pp
 $08090CE6  CREATEBUTTON,  line 1431 of main.pp
 $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
 $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
 $0805C023  main,  line 93 of lazarus.pp

It seems to run fine under GTK

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
Yahoo Messenger: n7yg
___

Anyone who has had a bull by the tail knows five or six things more than 
someone who hasn't.


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


Re: [lazarus] Buffer Overflow

2007-11-23 Thread Jesus Reyes

--- Jeff Steinkamp [EMAIL PROTECTED] escribió:

 I just rebuilt Lazarus with SVN 12973 on my Linux box with GTK2 and
 upon 
 restart I got a error dialog that said buffer overflow.  Here is
 the 
 output trace:
 
 TLazarusManager.Run starting /home/n7yg/.lazarus/bin/lazarus ...
 TApplication.IconChanged - TODO: convert this message...no 
 implementation in gtk or win32
 [TMainIDE.Destroy] A
 [TMainIDE.Destroy] B  - inherited Destroy... TMainIDE
 [TMainIDE.Destroy] END
 [FORMS.PP] ExceptionOccurred
   Sender=Ecompressionerror
   Exception=buffer error
   Stack trace:
   $081A26DE
   $0819BC0B
   $0819B9E4
   $08196D9D
   $081949E1
   $081367E1  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
   $0812BFD4  TBITMAP__LOADFROMSTREAM,  line 459 of
 ./include/bitmap.inc
   $08127A10  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of
 graphics.pp
   $08090CE6  CREATEBUTTON,  line 1431 of main.pp
   $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
   $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
   $0805C023  main,  line 93 of lazarus.pp
 TApplication.HandleException buffer error
   Stack trace:
   $081A26DE
   $0819BC0B
   $0819B9E4
   $08196D9D
   $081949E1
   $081367E1  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
   $0812BFD4  TBITMAP__LOADFROMSTREAM,  line 459 of
 ./include/bitmap.inc
   $08127A10  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of
 graphics.pp
   $08090CE6  CREATEBUTTON,  line 1431 of main.pp
   $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
   $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
   $0805C023  main,  line 93 of lazarus.pp
 
 It seems to run fine under GTK
 
 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
 Yahoo Messenger: n7yg


The problem is a recent change in FPC, it's already reported in
http://www.freepascal.org/mantis/view.php?id=10232 

if you compile your own FPC from SVN, for a quick fix, enter
directory fpc/packages/paszlib/src and update to r9290 (svn update
-r9290) recompile everything and that should do it.

Jesus Reyes A.


  Comparte video en la ventana de tus mensajes (y también tus fotos de 
Flickr). 
Usa el nuevo Yahoo! Messenger versión Beta.
http://mx.beta.messenger.yahoo.com/

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


[lazarus] Sometime right clic menus disappear...

2007-11-23 Thread Damien Gerard


In the IDE, the right clic menu on a control sometimes disappear. I  
mean a right clic produce nothing.

You restart the IDE and it's back.

Mainly under win32/64, I don't know how to bug report it.

Any idea ?

--
Damien Gerard
[EMAIL PROTECTED]



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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
All these errors had occured once booted and the desktop displayed.

they are in folder MacOSX - i thought it's something out of topic :)
Hm .. i should try to boot it in english.

On Nov 23, 2007 7:04 PM, Damien Gerard [EMAIL PROTECTED] wrote:


 On Nov 23, 2007, at 4:52 PM, Jury Azovtzev wrote:

 About msttrcorefonts you may do not worry :) Looks like some of ms fonts
 havn't been downloaded while package installed.

 I don't see clearly about jpg. What's that and when this error occures?


 All these errors had occured once booted and the desktop displayed.




 On Nov 23, 2007 6:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:

 
  On Nov 23, 2007, at 1:00 PM, Jury Azovtzev wrote:
 
  
   I tryied with Puppy, but I have memory problems and side effects...
   Now I'll try with your DVD.
  
   I think it was problems with video device detestion.
  
   I would appriciat to you for this disk tests. Write here if you'll
   find any ptoblems and troubles.
 
 
  Under VMWare, there are some troubles :)
  Screenshots are in the archive file.
 
  http://ftn.shikami.org/misc/Lazarus/Lazarus-LiveCD-20071123.zip
 
 
  --
  Damien Gerard
  [EMAIL PROTECTED]
 
 
 
  _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 



 --
 With best regards.
 Azovtzev Jury

 ForceTeam NNLUG
 www.forceteam.nnov.ru




 --
 Damien Gerard
 [EMAIL PROTECTED]






-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Damien Gerard


On Nov 23, 2007, at 4:52 PM, Jury Azovtzev wrote:

About msttrcorefonts you may do not worry :) Looks like some of ms  
fonts havn't been downloaded while package installed.


I don't see clearly about jpg. What's that and when this error  
occures?




All these errors had occured once booted and the desktop displayed.





On Nov 23, 2007 6:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:

On Nov 23, 2007, at 1:00 PM, Jury Azovtzev wrote:


 I tryied with Puppy, but I have memory problems and side effects...
 Now I'll try with your DVD.

 I think it was problems with video device detestion.

 I would appriciat to you for this disk tests. Write here if you'll
 find any ptoblems and troubles.


Under VMWare, there are some troubles :)
Screenshots are in the archive file.

http://ftn.shikami.org/misc/Lazarus/Lazarus-LiveCD-20071123.zip


--
Damien Gerard
[EMAIL PROTECTED]



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



--
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru




--
Damien Gerard
[EMAIL PROTECTED]





Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
About msttrcorefonts you may do not worry :) Looks like some of ms fonts
havn't been downloaded while package installed.

I don't see clearly about jpg. What's that and when this error occures?


On Nov 23, 2007 6:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:


 On Nov 23, 2007, at 1:00 PM, Jury Azovtzev wrote:

 
  I tryied with Puppy, but I have memory problems and side effects...
  Now I'll try with your DVD.
 
  I think it was problems with video device detestion.
 
  I would appriciat to you for this disk tests. Write here if you'll
  find any ptoblems and troubles.


 Under VMWare, there are some troubles :)
 Screenshots are in the archive file.

 http://ftn.shikami.org/misc/Lazarus/Lazarus-LiveCD-20071123.zip


 --
 Damien Gerard
 [EMAIL PROTECTED]



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




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-23 Thread Giuliano Colla

Bee ha scritto:
When a tag (or branch) is made, this action itself also gets a 
revision nr. Therefore a tag/branch starts with a different revision, 
but can be based on the same trunk revision.


So, a different rev number doesn't mean different codes? I mean between 
tags (9.24) and the fixes branch.




Correct. The fixes branch, in this moment contains 0.9.24 (r. 12749 in 
trunk branch, 12771 in the fixes branch, but the only change is making 
it 0.9.24.1) + patches 12756, 12757 12760 12762 12797 12816 12831 12825 
12946 from trunk. (I hope I didn't mistype too many, but an svn log -r 
12749:HEAD will tell you the truth).


The time from 0.9.24 tagging and official announcement was spent on 
installation and distribution issues, but the code is unchanged.


The branch is based (i.e. tested) with fpc 2.2.0 (the same as for the 
0.9.24 release), until further notice.


Giuliano
--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

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


Re: [lazarus] calling all Regex and Script junkies

2007-11-23 Thread Graeme Geldenhuys
On 23/11/2007, Bee [EMAIL PROTECTED] wrote:

 You must be talking about PWU, right? I saw you in the forum. ;) I'd
 used it for a while, I even had created a real web app using it. The new
 template engine rocks! :-D


For the CGI apps, yes.  I've also combined the 'Simple CMS'  and
'Syntax Parser' demos from PWU to create a working wiki server. I'm
currently implementing a whole bunch of new features plus the Creole
1.0 wiki syntax.

Oops, to make this thread Lazarus related (smile), I use the Lazarus
IDE for all my development work. Lazarus rocks!  Oh by the way, just
got a svn update and I love the new Environment Options and Editor
Options dialogs.  Tabs are so overrated - the listbox thingy on the
side looks much more professional!  Well done to all the Lazarus
developers - the IDE is looking very nice.

PS:
  I just read the release notes.  I promise I'll add two new wiki
pages to document the 'Procedure List' and 'Editor Toolbar' features.
Long overdue and I think developers will find them very handy.



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Marc Weustink

Guadagnini David wrote:


Yes, those actions are *not* handled by the LCL, it is the widgetset 
itself which handles the paste. Therefore, you won't see a call to 
SetText.
This is a problem for components similar to MaskEdit because no one can 
handle text input through alternative control + v.
Whether you know there is some procedure call after or before a paste 
command?


You don't. However, the widgetsetinterface should notice a control when 
something is pasted. I don't kbnow if all interfaces implement this atm.


Marc

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


Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Marc Weustink

Guadagnini David wrote:




Again, that did you do ? Paste by doing calling paste, or paste by 
pressing ctrl-v (or choose paste form edit popup)


I tried past with ctrl+v, ctrl+ins and paste from edit popup but It's 
the same


Yes, those actions are *not* handled by the LCL, it is the widgetset 
itself which handles the paste. Therefore, you won't see a call to SetText.


Marc

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


Re: [lazarus] Support for load and save PCX format (FPC team)

2007-11-23 Thread Michael Van Canneyt


On Fri, 23 Nov 2007, wile64 wrote:

 Hi,
 
 Here is the support of PCX images, Reading all formats and saving format 24
 bits.

Thank you very much :) I have tested and committed it, revision 9319.

 
 To what fpc version will be available (2.2.1)?

Maybe in 2.2.2, due around christmas.
It depends on the progress in the copyright issue.

Michael.

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


Re: [lazarus] calling all Regex and Script junkies

2007-11-23 Thread Michael Van Canneyt


On Fri, 23 Nov 2007, Graeme Geldenhuys wrote:

 On 23/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote:
 
  Why not simply use
   ShortFile =  `basename $f .pas`
  ?
 
 Probably because I never knew about that function!  ;-)  Thanks Michael.
 
 
 And as I thought, in the time it took for somebody to reply, I wrote a
 quick console app that generates a perfect script file for me.  Free
 Pascal rocks!  :)

Makes you wonder why people use things like perl, eh ? :-)

Michael.

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


Re: [lazarus] calling all Regex and Script junkies

2007-11-23 Thread Graeme Geldenhuys
On 23/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote:

 Why not simply use
  ShortFile =  `basename $f .pas`
 ?

Probably because I never knew about that function!  ;-)  Thanks Michael.


And as I thought, in the time it took for somebody to reply, I wrote a
quick console app that generates a perfect script file for me.  Free
Pascal rocks!  :)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Mattias Gaertner
On Fri, 23 Nov 2007 12:24:10 +0300
Jury Azovtzev [EMAIL PROTECTED] wrote:

 As soon as in local college begun to study It with OpenSource
 software we (NNLUG) and system administrators of NNTC (Nizhny
 Novgorod Technical College) made a Live CD with Lazarus for student.
 
 I hope it'll be intresting for you too.
 
 I would like to say my big THENX to
 Knittl - for the world wide hosting of the cd (Austrian Univeristy of
 Applied Sciences)
 Alex_5252 - for the uploading of the image
 Viktor Bondarenko and Vladimir Slugin for partisipation and tests
 (Nizhny novgorod Technical College)
 
 You can get LiveCD from Austrian Univeristy of Applied Sciences
 hosting http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
 and md5sum file is here
 http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5

Great. Can I add this to the wiki?

Mattias

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


[lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
As soon as in local college begun to study It with OpenSource software we
(NNLUG) and system administrators of NNTC (Nizhny Novgorod Technical
College) made a Live CD with Lazarus for student.

I hope it'll be intresting for you too.

I would like to say my big THENX to
Knittl - for the world wide hosting of the cd (Austrian Univeristy of
Applied Sciences)
Alex_5252 - for the uploading of the image
Viktor Bondarenko and Vladimir Slugin for partisipation and tests (Nizhny
novgorod Technical College)

You can get LiveCD from Austrian Univeristy of Applied Sciences hosting
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
and md5sum file is here
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5

-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


[lazarus] calling all Regex and Script junkies

2007-11-23 Thread Graeme Geldenhuys
Hi,

I'm trying to create a script to auto generate the fpdoc description
(*.xml) files, but I have no idea how the regex stuff works!  Could
somebody help me please?

This is what I have so far...  in a myscript.sh file under Linux.

The first 'sed'  expression was copied from a google search, but I
think it was for .NET or something and doesn't work here.  :-(  As you
can guess I know nothing of regex. I just looks like lots of cursing
to me! ;-)
I'm considering writing a Free Pascal console app to do this, it's a
lot damn easier than figuring out this regex stuff.


-  Copy  
#!/bin/sh

PackageName=OPF
XMLBaseDir=./xml
PasSrcDir=../Sources/OPF

## create the output directory
mkdir -p $XMLBaseDir/$PackageName

# process *.pas files and create makeskel line
for f in `find $PasSrcDir/ -type f -name *.pas`; do

  ShortFile=`echo $f | sed -e 's/\/([^/]+)$#//g' -e 's/\.pas\b//g'`
  echo $ShortFile

# this is to test the output line. Remove echo to execute makeskel
#echo  makeskel --package=$PackageName
--output=$XMLBaseDir/$PackageName/$ShortFile.xml
--input='-Fi$PasSrcDir $f'

done

exit 0
-   END  


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-23 Thread Al Boldi
Sam Liddicott wrote:
 Tom Gregorovic wrote:
  Hi,
  it crossed my mind that it would be convenient to have one search
  service for all the information about Lazarus and Free Pascal, which
  are in forums, mail list archives, documentation reference, wiki,
  Mantis, SVN repository, SVN log, blog ...
  One possibility is Google Custom Search Engine
  (http://www.google.com/coop/cse/):
  * it is free for noncommercial usage, but I think it parses not all
  resources The alternative is to use some web search engine running on
  own server (e.g. http://www.mnogosearch.org/ ).

 I recommend xapian; www.xapian.org

 I've worked on it, I've used it and I've followed it's progress and when
 I worked at Orange we hired one of the developers to enhance it.

 It is based on a once-commercial search engine.

It's not bad, but it's huge.  I'm currently using swish-e, which is small and 
fast.

I once posted a patch to allow interfacing the output of any search engine 
with the Find-In-Files dialog, but I don't think it got ever merged.


Thanks!

--
Al

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


Re: [lazarus]

2007-11-23 Thread Razvan Adrian Bogdan
BTW: Synapse has a unit with quite powerful conversion routines and
handles most of the encodings without any support from iconv, i tested
it and it's wonderful :)

At first i was against UTF8 but now i understand it's power, UTF8 is
small since most text is in ASCII 7bit there is no increase there,
that's why the web uses UTF8, and it's also best for storage,
Microsoft chose UTF16 actually UCS2 because they thought UCS2 will be
enough for all characters in all languages, time proved them wrong and
UTF16 is NOT 2 byte encoded but 2 or 4 bytes depending on the
situation, it helps most people but not everyone and it add an extra
empty byte for ASCII text, Delphi seems to have some issues with UTF16
WideStrings i read about it somewhere on the web and there is also a
BIG BIG performance decrease using WideStrings in Delphi so Lazarus
played it smart with UTF8 keeping ASCII/ANSI compatibility to some
level and being fast at the same time, even with the implicit
conversion it is still faster than WideString operations, UTF8 might
look ugly but it is very efficient.

Razvan

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


Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Guadagnini David




Again, that did you do ? Paste by doing calling paste, or paste by 
pressing ctrl-v (or choose paste form edit popup)


I tried past with ctrl+v, ctrl+ins and paste from edit popup but It's 
the same
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Vincent Snijders

Jury Azovtzev schreef:
As soon as in local college begun to study It with OpenSource software 
we (NNLUG) and system administrators of NNTC (Nizhny Novgorod Technical 
College) made a Live CD with Lazarus for student.


I hope it'll be intresting for you too.

I would like to say my big THENX to
Knittl - for the world wide hosting of the cd (Austrian Univeristy of 
Applied Sciences)

Alex_5252 - for the uploading of the image
Viktor Bondarenko and Vladimir Slugin for partisipation and tests 
(Nizhny novgorod Technical College)


You can get LiveCD from Austrian Univeristy of Applied Sciences hosting
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso 
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso

and md5sum file is here
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5




Good news. Can you create a news item on the Lazarus site?

Vincent

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


Re: [lazarus]

2007-11-23 Thread Mattias Gaertner
On Fri, 23 Nov 2007 08:13:41 +0300
Vasily I. Volchenko [EMAIL PROTECTED] wrote:

 OK, I understand the problems of using utf8 on windows, but I am
 speaking about other things. Why lazarus should save (and load)
 pascal (and only pascal, not lfm/lrs, not po) files in the internal
 encoding? If gtk2 version supports utf8, it forces user to save all
 files in utf8, when if windows version not supported it, saving in
 ansi charset is forced. It is possible (and quite easy by means of
 RTL) to convert text from utf8 to ansi, why not to use this
 translation on saving/loading by the choice of user?

The old situation was: All widgetsets used their own encoding. The goal
is to use UTF-8 as *default*. The missing piece is the win32/win64
widgetset which is currently tested, so it is no yet enabled as
default. Probably UTF-8 will be enabled soon.

Of course the source editor *should* handle text files (including
pascal) in other encodings too. But this is not implemented yet.
An easy solution would be to add an converter to the codetools
load/save functions.


Mattias

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


Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-23 Thread Mattias Gaertner
On Fri, 23 Nov 2007 09:19:19 +0700
Bee [EMAIL PROTECTED] wrote:

  1) Start using it right now at your own risk (the updates of two
  weeks ago have been tested, the last ones not yet) and participate
  to the fixes branch testing.
 
 Never mind the risk, I knew about it since the beginning. What I
 meant, is the source code on 9.24 fixes branch exactly the same with
 the source code on 9.24 release? Since 9.24 release was announced
 yesterday but the fixes updates are two weeks older, I doubt they are
 the same codes. If someone can guarantee that they are same codes,
 I'd like to use it.

The release was built with rev 12749. The new patches are not
included.


Mattias

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


Re: [lazarus] Google's Android OS :)

2007-11-23 Thread willem

Pieter Valentijn wrote:

Hi Willem Nice to see your from holland to.
Im sure where all intrested in what ever you can produce.
You seem to have a impressive ambition that is supporten by your
experience.


Sorry in my previous post i made a mistake!
  

i used the java grammar file in stead of the  pascal grammar file.
i used antlrworks to check the grammar
and this is the result :

[09:12:43] Checking Grammar...
[09:12:43] error(100): pascal.g:1:1: syntax error: antlr: pascal.g:1:1: 
unexpected token: tkAsciiChar

[09:12:43] java.lang.NullPointerException
   at org.antlr.tool.Grammar.setGrammarContent(Grammar.java:524)
   at org.antlr.tool.Grammar.setGrammarContent(Grammar.java:497)
   at org.antlr.works.grammar.EngineGrammar.createNewGrammar(Unknown 
Source)
   at 
org.antlr.works.grammar.EngineGrammar.createCombinedGrammar(Unknown Source)

   at org.antlr.works.grammar.EngineGrammar.createGrammars(Unknown Source)
   at org.antlr.works.grammar.EngineGrammar.analyze(Unknown Source)
   at org.antlr.works.grammar.CheckGrammar.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
so i have to work on both the java and the pascal grammar.

kind regards.

Met vriendelijke groet, 
Pieter Valentijn
 
Delphidreams

http://www.delphidreams.nl
 



-Oorspronkelijk bericht-
Van: willem [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 23 november 2007 0:56

Aan: lazarus@miraclec.com
Onderwerp: Re: [lazarus] Google's Android OS :)


Marco van de Voort wrote:
  

On Thu, Nov 22, 2007 at 07:52:59PM +0100, willem wrote:
  


I know that the lazarus grammar is based on yacc

  


I did some google search on the fpc
I do know that google searches results are not always correct. I a a
newby to the lazarus project. but i did study compiler comnstruction 30
years ago. Pascal has been founded by Prof niklaus Wirth as an an
educational 
computer language

and he has extended the backus -nauer form to EBNF.
Well I am going to extend ENBF with XML.
Grammar is very important as a base to study a language.
I want to start Andromedia.
 The first  effort will be documenting the delphi antlr grammar. I will
use XML for that. because the the delphi grammar can easily be expanded
with an XML 
specification.


I did study websites with html and javascript. That horrible and it 
takes a lot of time to understand that kind of thing


well i have 30 years of experience with computing problems
my first computer experience was with the intel 4004 but i am a newby on

this forum.
My intentention is is to start the androida project on sourceforge I
will then publish the delphi grammar for antlr. Experienced Lazarus
developpers can then suggest improvements on this 
delphi grammar and so it becomes

lazarus grammar. I want to extend the delphi grammar with XML So EBNF
becomes XEBNF !!!


















  
The FPC is recursive descent and is not based on yacc. Syntax 
highlighter parsers don't have to be 100% correct.


  

Before you start you might also learn your target better, and at 
least

have
an idea how you are going to tackle porting unmanaged constructs to


a
  

managed version.
  
  


Sorry you are wrong.
I have already the delphi grammar for antlr

  
There is even one in the Delphi's manual. But even that is not 
complete. How can you be so sure yours is?


_
 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

_
 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


Re: [lazarus] Google's Android OS :)

2007-11-23 Thread willem

Pieter Valentijn wrote:

Hi Willem Nice to see your from holland to.
Im sure where all intrested in what ever you can produce.
You seem to have a impressive ambition that is supporten by your
experience.

Hello Pieter,
  

Yes i am from  holland.
i am experienced but ia newby in the lazarus field.
So i start with the grammar.
simply because i got a lot of teaching about  grammar at school.
i downloaded the pascal grammar of the web.
and run it strough antlrwork and checked the pascal grammar.

this was the result.

[08:54:51] Checking Grammar...
[08:54:53] warning(200): java.g:777:5: Decision can match input such as 
'0'..'9'{'E', 'e'}{'+', '-'}'0'..'9'{'D', 'F', 'd', 'f'} using 
multiple alternatives: 3, 4

As a result, alternative(s) 4 were disabled for that input

so thats interesting !!
i have no idea what it means but i will find.
because i did study study 30 years ago
so i have to refresh my knowledge.
i have attached the pascal grammar in this post.

regards


Met vriendelijke groet, 
Pieter Valentijn
 
Delphidreams

http://www.delphidreams.nl
 



-Oorspronkelijk bericht-
Van: willem [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 23 november 2007 0:56

Aan: lazarus@miraclec.com
Onderwerp: Re: [lazarus] Google's Android OS :)


Marco van de Voort wrote:
  

On Thu, Nov 22, 2007 at 07:52:59PM +0100, willem wrote:
  


I know that the lazarus grammar is based on yacc

  


I did some google search on the fpc
I do know that google searches results are not always correct. I a a
newby to the lazarus project. but i did study compiler comnstruction 30
years ago. Pascal has been founded by Prof niklaus Wirth as an an
educational 
computer language

and he has extended the backus -nauer form to EBNF.
Well I am going to extend ENBF with XML.
Grammar is very important as a base to study a language.
I want to start Andromedia.
 The first  effort will be documenting the delphi antlr grammar. I will
use XML for that. because the the delphi grammar can easily be expanded
with an XML 
specification.


I did study websites with html and javascript. That horrible and it 
takes a lot of time to understand that kind of thing


well i have 30 years of experience with computing problems
my first computer experience was with the intel 4004 but i am a newby on

this forum.
My intentention is is to start the androida project on sourceforge I
will then publish the delphi grammar for antlr. Experienced Lazarus
developpers can then suggest improvements on this 
delphi grammar and so it becomes

lazarus grammar. I want to extend the delphi grammar with XML So EBNF
becomes XEBNF !!!


















  
The FPC is recursive descent and is not based on yacc. Syntax 
highlighter parsers don't have to be 100% correct.


  

Before you start you might also learn your target better, and at 
least

have
an idea how you are going to tackle porting unmanaged constructs to


a
  

managed version.
  
  


Sorry you are wrong.
I have already the delphi grammar for antlr

  
There is even one in the Delphi's manual. But even that is not 
complete. How can you be so sure yours is?


_
 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

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

  


/** A Java 1.5 grammar for ANTLR v3 derived from the spec
 *
 *  This is a very close representation of the spec; the changes
 *  are comestic (remove left recursion) and also fixes (the spec
 *  isn't exactly perfect).  I have run this on the 1.4.2 source
 *  and some nasty looking enums from 1.5, but have not really
 *  tested for 1.5 compatibility.
 *
 *  I built this with: java -Xmx100M org.antlr.Tool java.g 
 *  and got two errors that are ok (for now):
 *  java.g:691:9: Decision can match input such as
 *'0'..'9'{'E', 'e'}{'+', '-'}'0'..'9'{'D', 'F', 'd', 'f'}
 *using multiple alternatives: 3, 4
 *  As a result, alternative(s) 4 were disabled for that input
 *  java.g:734:35: Decision can match input such as {'$', 'A'..'Z',
 *'_', 'a'..'z', '\u00C0'..'\u00D6', '\u00D8'..'\u00F6',
 *'\u00F8'..'\u1FFF', '\u3040'..'\u318F', '\u3300'..'\u337F',
 *'\u3400'..'\u3D2D', '\u4E00'..'\u9FFF', '\uF900'..'\uFAFF'}
 *using multiple alternatives: 1, 2
 *  As a result, alternative(s) 2 were disabled for that input
 *
 *  You can turn enum on/off as a keyword :)
 *
 *  Version 1.0 -- initial release July 5, 2006 (requires 3.0b2 or 

Re: [lazarus] calling all Regex and Script junkies

2007-11-23 Thread Michael Van Canneyt


On Fri, 23 Nov 2007, Graeme Geldenhuys wrote:

 Hi,
 
 I'm trying to create a script to auto generate the fpdoc description
 (*.xml) files, but I have no idea how the regex stuff works!  Could
 somebody help me please?
 
 This is what I have so far...  in a myscript.sh file under Linux.
 
 The first 'sed'  expression was copied from a google search, but I
 think it was for .NET or something and doesn't work here.  :-(  As you
 can guess I know nothing of regex. I just looks like lots of cursing
 to me! ;-)
 I'm considering writing a Free Pascal console app to do this, it's a
 lot damn easier than figuring out this regex stuff.
 
 
 -  Copy  
 #!/bin/sh
 
 PackageName=OPF
 XMLBaseDir=./xml
 PasSrcDir=../Sources/OPF
 
 ## create the output directory
 mkdir -p $XMLBaseDir/$PackageName
 
 # process *.pas files and create makeskel line
 for f in `find $PasSrcDir/ -type f -name *.pas`; do
 
   ShortFile=`echo $f | sed -e 's/\/([^/]+)$#//g' -e 's/\.pas\b//g'`
   echo $ShortFile

Why not simply use
 ShortFile =  `basename $f .pas`
?

Michael.

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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
Yes please :)
I would be proud to be on the wiki :)

On Nov 23, 2007 12:32 PM, Mattias Gaertner [EMAIL PROTECTED]
wrote:

 On Fri, 23 Nov 2007 12:24:10 +0300
 Jury Azovtzev [EMAIL PROTECTED] wrote:

  As soon as in local college begun to study It with OpenSource
  software we (NNLUG) and system administrators of NNTC (Nizhny
  Novgorod Technical College) made a Live CD with Lazarus for student.
 
  I hope it'll be intresting for you too.
 
  I would like to say my big THENX to
  Knittl - for the world wide hosting of the cd (Austrian Univeristy of
  Applied Sciences)
  Alex_5252 - for the uploading of the image
  Viktor Bondarenko and Vladimir Slugin for partisipation and tests
  (Nizhny novgorod Technical College)
 
  You can get LiveCD from Austrian Univeristy of Applied Sciences
  hosting http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
  and md5sum file is here
  http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5

 Great. Can I add this to the wiki?

 Mattias

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




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-23 Thread Bee

The release was built with rev 12749. The new patches are not
included.


Is 9.24 release is taken from tags folder? I saw it with rev 12750. And 
I saw the fixes branch is on rev 12958. I look them in laz's svn. Am I 
correct? Or any other repository that I don't know?


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

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


Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Marc Weustink

Guadagnini David wrote:
In attach You can found my TMaskEdit component with the changes proposed 
by Marc.


Note:
TComponent have a big bug (for me). The windows message WM_PASTE is not 
processed correctly.
In fact, if the override procedure RealSetText or WndProc by entering a 
simple Begin/End without other the text is still overridden if I execute 
a PAST command (note the text will be override only with past command, 
not with key press or with a normal TEXT := 'Mystring')



Again, that did you do ? Paste by doing calling paste, or paste by 
pressing ctrl-v (or choose paste form edit popup)


Marc


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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
Hm, May be if i have permission to post news.

On Nov 23, 2007 12:52 PM, Vincent Snijders [EMAIL PROTECTED] wrote:

 Jury Azovtzev schreef:
  As soon as in local college begun to study It with OpenSource software
  we (NNLUG) and system administrators of NNTC (Nizhny Novgorod Technical
  College) made a Live CD with Lazarus for student.
 
  I hope it'll be intresting for you too.
 
  I would like to say my big THENX to
  Knittl - for the world wide hosting of the cd (Austrian Univeristy of
  Applied Sciences)
  Alex_5252 - for the uploading of the image
  Viktor Bondarenko and Vladimir Slugin for partisipation and tests
  (Nizhny novgorod Technical College)
 
  You can get LiveCD from Austrian Univeristy of Applied Sciences hosting
  http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
  http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
  and md5sum file is here
  http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5
 
 

 Good news. Can you create a news item on the Lazarus site?

 Vincent

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




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-23 Thread Marc Weustink

Bee wrote:

The release was built with rev 12749. The new patches are not
included.


Is 9.24 release is taken from tags folder? I saw it with rev 12750. And 
I saw the fixes branch is on rev 12958. I look them in laz's svn. Am I 
correct? Or any other repository that I don't know?


in svn are 3 folders: trunk, tags, branches

trunk: current development
tags: all releases
branches: fixes on releases

These aren't real folders, but more a shortcut to a certain revision.
When a tag (or branch) is made, this action itself also gets a revision 
nr. Therefore a tag/branch starts with a different revision, but can be 
based on the same trunk revision.


Marc


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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Tiziano De Togni

Jury Azovtzev wrote:

As soon as in local college begun to study It with OpenSource software we
(NNLUG) and system administrators of NNTC (Nizhny Novgorod Technical
College) made a Live CD with Lazarus for student.

I hope it'll be intresting for you too.

I would like to say my big THENX to
Knittl - for the world wide hosting of the cd (Austrian Univeristy of
Applied Sciences)
Alex_5252 - for the uploading of the image
Viktor Bondarenko and Vladimir Slugin for partisipation and tests (Nizhny
novgorod Technical College)

You can get LiveCD from Austrian Univeristy of Applied Sciences hosting
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
and md5sum file is here
http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5


while downloading in order to try it, I see that it's 942 MB in size, 
have I to burn it on a DVD?


one other silly question:

I think that the limitation of using Lazarus on a Live Distribution is 
that I can't create/install new components, am I right?


tiziano


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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
B in size,
have I to burn it on a DVD?
Maybe yes. I used only DVD RW disks for test so sorry, didn't noticed the
size :)

I can't create/install new components, am I right?
You may try. But i think you a right.

We don't need additional applications for education purposes in the College
now. But if you'll tell me what modules you need - i can add it to new
version of LiveCD/DVD.
On Nov 23, 2007 1:56 PM, Tiziano De Togni [EMAIL PROTECTED] wrote:

 Jury Azovtzev wrote:
  As soon as in local college begun to study It with OpenSource software
 we
  (NNLUG) and system administrators of NNTC (Nizhny Novgorod Technical
  College) made a Live CD with Lazarus for student.
 
  I hope it'll be intresting for you too.
 
  I would like to say my big THENX to
  Knittl - for the world wide hosting of the cd (Austrian Univeristy of
  Applied Sciences)
  Alex_5252 - for the uploading of the image
  Viktor Bondarenko and Vladimir Slugin for partisipation and tests
 (Nizhny
  novgorod Technical College)
 
  You can get LiveCD from Austrian Univeristy of Applied Sciences hosting
  http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso
  and md5sum file is here
  http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5

 while downloading in order to try it, I see that it's 942 MB in size,
 have I to burn it on a DVD?

 one other silly question:

 I think that the limitation of using Lazarus on a Live Distribution is
 that I can't create/install new components, am I right?

 tiziano


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




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] TMaskEdit new release

2007-11-23 Thread Guadagnini David


Yes, those actions are *not* handled by the LCL, it is the widgetset 
itself which handles the paste. Therefore, you won't see a call to 
SetText.
This is a problem for components similar to MaskEdit because no one can 
handle text input through alternative control + v.
Whether you know there is some procedure call after or before a paste 
command?
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-23 Thread Bee
When a tag (or branch) is made, this action itself also gets a revision 
nr. Therefore a tag/branch starts with a different revision, but can be 
based on the same trunk revision.


So, a different rev number doesn't mean different codes? I mean between 
tags (9.24) and the fixes branch.


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

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


Re: [lazarus] calling all Regex and Script junkies

2007-11-23 Thread Graeme Geldenhuys
On 23/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote:
  And as I thought, in the time it took for somebody to reply, I wrote a
  quick console app that generates a perfect script file for me.  Free
  Pascal rocks!  :)

 Makes you wonder why people use things like perl, eh ? :-)



Don't get me started!   :-)
I've never created console based apps with Delphi or Free Pascal. But
since the last few months (while working on a CGI program created with
FPC), I have noticed how powerful it can be.  Creating small utilities
or testing some function etc.  It's a whole new world...  :)



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Tiziano De Togni

Jury Azovtzev wrote:


I can't create/install new components, am I right?

You may try. But i think you a right.


I tryied with Puppy, but I have memory problems and side effects...
Now I'll try with your DVD.


We don't need additional applications for education purposes in the College
now. But if you'll tell me what modules you need - i can add it to new
version of LiveCD/DVD.


I agree with you, students don't need that and the mix of components 
pre-installed can be tuned in new versions.


tiziano

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


Re: [lazarus] Lazarus 0.9.24 LiveCD

2007-11-23 Thread Jury Azovtzev
I tryied with Puppy, but I have memory problems and side effects...
Now I'll try with your DVD.

I think it was problems with video device detestion.

I would appriciat to you for this disk tests. Write here if you'll find any
ptoblems and troubles.

On Nov 23, 2007 2:27 PM, Tiziano De Togni [EMAIL PROTECTED] wrote:

 Jury Azovtzev wrote:

  I can't create/install new components, am I right?
  You may try. But i think you a right.

 I tryied with Puppy, but I have memory problems and side effects...
 Now I'll try with your DVD.

  We don't need additional applications for education purposes in the
 College
  now. But if you'll tell me what modules you need - i can add it to new
  version of LiveCD/DVD.

 I agree with you, students don't need that and the mix of components
 pre-installed can be tuned in new versions.

 tiziano

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




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re[2]: [lazarus]

2007-11-23 Thread Vasily I. Volchenko

 At first i was against UTF8 but now i understand it's power, UTF8 is
 small since most text is in ASCII 7bit there is no increase there,
 that's why the web uses UTF8, and it's also best for storage,
 Microsoft chose UTF16 actually UCS2 because they thought UCS2 will be
 enough for all characters in all languages, time proved them wrong and
 UTF16 is NOT 2 byte encoded but 2 or 4 bytes depending on the
 situation, it helps most people but not everyone and it add an extra
 empty byte for ASCII text, Delphi seems to have some issues with UTF16
 WideStrings i read about it somewhere on the web and there is also a
 BIG BIG performance decrease using WideStrings in Delphi so Lazarus
 played it smart with UTF8 keeping ASCII/ANSI compatibility to some
 level and being fast at the same time, even with the implicit
 conversion it is still faster than WideString operations, UTF8 might
 look ugly but it is very efficient.
UTF8 might be good in the case of international texts mostly English. You say 
that pascal program 
is such a text, and I would agree with you. But we are living in a real world, 
with a tons of text
files. Russian files in Russia will not mostly be converted to UTF8 because of 
twice size grouth and... Inconvenience. Old programs... They are in ANSI. It is 
possible to convert all them to UTF8, but why?
Look at Windows which introduced unicode: the first step in it was backward 
compartibility. We don't notice any unicode in it (until we want to notice).
Look at Kylix (oe) or Delphi 7 (personal): it uses unicode too, but only in 
dfm/xfm (and, of course, internal support). And lazarus team is trying to force 
UTF8 introduction with a revolution without supporting neither old project nor 
saving files (and only saving) in compartible with other projects format. 
Besides, that revolutionary process begins when the other version of the same 
product doesn't support such utf8. OK, I'll try to do something...

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


Re: [lazarus]

2007-11-23 Thread Vincent Snijders

Vasily I. Volchenko schreef:

And lazarus team is trying to force UTF8 introduction with a revolution without 
supporting neither old project nor saving files (and only saving) in 
compartible with other projects format. Besides, that revolutionary process 
begins when the other version of the same product doesn't support such utf8. 
OK, I'll try to do something...



Fortunately Lazarus is still beta, breaking things can be expected. 
Other versions of Lazarus (for linux-gtk2, windows-qt) already use UTF8.


Vincent

P.S. Please remove the reply too header.

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