[lazarus] double posted bug report :(

2007-11-16 Thread Bee

For Lazarus' Mantis maintainer(s),

Please remove my bug report with ID: 0010191. It exactly duplicates my
other bug report with ID: 0010190. It's purely unintended because I
accidentally clicked the submit button twice. I apologize for the
inconvenience.

I'm new to Mantis system. :-D

-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


[lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Jury Azovtzev
Hallo!

I tryied to make education LiveCD with lazarus for students in local
college. But when i run all i found out there is not transactions, Mysql and
PostrgreSQL components in new lazarus anymore. Could someone explane? Are
they in other place now? Or what i have to do to make application with data
access functions?

-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Joost van der Sluis
Op vrijdag 16-11-2007 om 08:10 uur [tijdzone +0300], schreef Jury
Azovtzev:
 Hallo!
 
 I tryied to make education LiveCD with lazarus for students in local
 college. But when i run all i found out there is not transactions,
 Mysql and PostrgreSQL components in new lazarus anymore. Could someone
 explane? Are they in other place now? Or what i have to do to make
 application with data access functions? 

Those classes were very old, contained many bugs and weren't maintained
anymore. So they were removed. The code is still there , though, in
packages/fcl-db/src/unmaintained. So if you really need them, you can
use the code there and compile them yourself.

But I suggest to use sqldb, which replaces all those classes.

Joost.

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


Re: [lazarus] Lazarus and Ctrl-C

2007-11-16 Thread Damien Gerard


On Nov 16, 2007, at 10:08 AM, Antonio Sanguigni wrote:


Hi all,

I would just to warn you about a problem under Windows with CTRL-C  
into the source editor. I receive an error from Lazarus but clicking  
ok it is going on and CTRL+v works fine.


Under Linux it is working really fine, no errors. ;)

FPC 2.2.0 - Lazarus 0.9.25 - rev. 12889



Works fine with the r12763 (2007/11/14)


Thanks
Antonio




--
Damien Gerard
[EMAIL PROTECTED]



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


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Christian U.

SQLdb is there it supports MySQL,Postgree,ODBC,Interbase and Oracle

Jury Azovtzev schrieb:

Hallo!

I tryied to make education LiveCD with lazarus for students in local 
college. But when i run all i found out there is not transactions, 
Mysql and PostrgreSQL components in new lazarus anymore. Could someone 
explane? Are they in other place now? Or what i have to do to make 
application with data access functions?


--
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru http://www.forceteam.nnov.ru 


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


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Tiziano De Togni

Jury Azovtzev wrote:

thenk you for help. I'll try!

On Nov 16, 2007 11:30 AM, Joost van der Sluis [EMAIL PROTECTED] wrote:


Op vrijdag 16-11-2007 om 08:10 uur [tijdzone +0300], schreef Jury
Azovtzev:

Hallo!


could you please give details about the Live CD you are working on?

I'm actually trying to make a working Puppy Live CD with Lazarus, with 
no much success...


thanks
tiziano

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


Re: [lazarus] Lazarus and Ctrl-C

2007-11-16 Thread Paul Ishenin

Antonio Sanguigni пишет:

Hi all,

I would just to warn you about a problem under Windows with CTRL-C into 
the source editor. I receive an error from Lazarus but clicking ok it is 
going on and CTRL+v works fine.


Under Linux it is working really fine, no errors. ;)

FPC 2.2.0 - Lazarus 0.9.25 - rev. 12889


I also have such error, but seems we are only two man that have such 
error. I asked other devels several times, but they dont have error.



Best regards,
Paul Ishenin.


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


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Jury Azovtzev
thenk you for help. I'll try!

On Nov 16, 2007 11:30 AM, Joost van der Sluis [EMAIL PROTECTED] wrote:

 Op vrijdag 16-11-2007 om 08:10 uur [tijdzone +0300], schreef Jury
 Azovtzev:
  Hallo!
 
  I tryied to make education LiveCD with lazarus for students in local
  college. But when i run all i found out there is not transactions,
  Mysql and PostrgreSQL components in new lazarus anymore. Could someone
  explane? Are they in other place now? Or what i have to do to make
  application with data access functions?

 Those classes were very old, contained many bugs and weren't maintained
 anymore. So they were removed. The code is still there , though, in
 packages/fcl-db/src/unmaintained. So if you really need them, you can
 use the code there and compile them yourself.

 But I suggest to use sqldb, which replaces all those classes.

 Joost.

 _
 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] double posted bug report :(

2007-11-16 Thread Joost van der Sluis
Op vrijdag 16-11-2007 om 14:07 uur [tijdzone +0700], schreef Bee:
 For Lazarus' Mantis maintainer(s),
 
 Please remove my bug report with ID: 0010191. It exactly duplicates my
 other bug report with ID: 0010190. It's purely unintended because I
 accidentally clicked the submit button twice. I apologize for the
 inconvenience.
 
 I'm new to Mantis system. :-D

I think that you can do that yourself. Just add a new relationship,
choose 'duplicate of' and give the bug-number. Then click add.

Thereafter you can close the bug with 'change status to'

Joost.

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


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Damien Gerard


On Nov 16, 2007, at 11:10 AM, Jury Azovtzev wrote:

Damien, I have  counter offer. If you could make an archive with  
lazarus documentation - can add it to the CD. :)




What do you need exactly ?



On Nov 16, 2007 1:06 PM, Jury Azovtzev  [EMAIL PROTECTED] wrote:
If you would like - yes, i'll put it on public host with my pleasure.


On Nov 16, 2007 1:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:

On Nov 16, 2007, at 6:10 AM, Jury Azovtzev wrote:

 Hallo!

 I tryied to make education LiveCD with lazarus for students in local
 college. But when i run all i found out there is not transactions,
 Mysql and PostrgreSQL components in new lazarus anymore. Could
 someone explane? Are they in other place now? Or what i have to do
 to make application with data access functions?



Could you keep me posted when it will be available for downloading ?
(or an url to watch)
I know people who are interested in it.


--
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



--
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru




--
Damien Gerard
[EMAIL PROTECTED]





Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Jury Azovtzev
I Use ubuntu 7.10. And there is a manual in russian version of LinuxFormat
how to rebuild live cd and add there anythyng you need.
If you would like - i kane make a page in english on college wiki for you.

On Nov 16, 2007 12:55 PM, Tiziano De Togni [EMAIL PROTECTED] wrote:

 Jury Azovtzev wrote:
  thenk you for help. I'll try!
 
  On Nov 16, 2007 11:30 AM, Joost van der Sluis [EMAIL PROTECTED] wrote:
 
  Op vrijdag 16-11-2007 om 08:10 uur [tijdzone +0300], schreef Jury
  Azovtzev:
  Hallo!

 could you please give details about the Live CD you are working on?

 I'm actually trying to make a working Puppy Live CD with Lazarus, with
 no much success...

 thanks
 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] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Jury Azovtzev
If you would like - yes, i'll put it on public host with my pleasure.

On Nov 16, 2007 1:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:


 On Nov 16, 2007, at 6:10 AM, Jury Azovtzev wrote:

  Hallo!
 
  I tryied to make education LiveCD with lazarus for students in local
  college. But when i run all i found out there is not transactions,
  Mysql and PostrgreSQL components in new lazarus anymore. Could
  someone explane? Are they in other place now? Or what i have to do
  to make application with data access functions?



 Could you keep me posted when it will be available for downloading ?
 (or an url to watch)
 I know people who are interested in it.


 --
 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] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Tiziano De Togni

Jury Azovtzev wrote:

I Use ubuntu 7.10. And there is a manual in russian version of LinuxFormat
how to rebuild live cd and add there anythyng you need.
If you would like - i kane make a page in english on college wiki for you.


no, thanks, you just gave me the key.

There is already lot of documentation about Ubuntu, I'll search on the net.

tiziano



On Nov 16, 2007 12:55 PM, Tiziano De Togni [EMAIL PROTECTED] wrote:


could you please give details about the Live CD you are working on?

I'm actually trying to make a working Puppy Live CD with Lazarus, with
no much success...



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


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Damien Gerard


On Nov 16, 2007, at 6:10 AM, Jury Azovtzev wrote:


Hallo!

I tryied to make education LiveCD with lazarus for students in local  
college. But when i run all i found out there is not transactions,  
Mysql and PostrgreSQL components in new lazarus anymore. Could  
someone explane? Are they in other place now? Or what i have to do  
to make application with data access functions?




Could you keep me posted when it will be available for downloading ?  
(or an url to watch)

I know people who are interested in it.


--
Damien Gerard
[EMAIL PROTECTED]



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


Re: [lazarus] Unable to build the current Lazarus with fpc 2.0.4

2007-11-16 Thread Mattias Gaertner
On Fri, 16 Nov 2007 13:42:47 +0200
Adrian Maier [EMAIL PROTECTED] wrote:

 Hello,
 
 I'm getting the following error when trying to build the latest (svn)
 Lazarus :
 
 
 Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
 Copyright (c) 1993-2006 by Florian Klaempfl
 Target OS: Linux for i386
 Compiling lazarus.pp
 Compiling main.pp
 Compiling /stuff/am/src/lazarus/designer/designer.pp
 Compiling customformeditor.pp
 customformeditor.pp(1285,38) Error: identifier idents no member
 PropertyPath customformeditor.pp(2291) Fatal: There were 1 errors
 compiling module, stopping customformeditor.pp(74,12) Fatal:
 Compilation aborted make[2]: *** [lazarus] Error 1
 make[2]: Leaving directory `/stuff/am/src/lazarus/ide'
 make[1]: *** [ide] Error 2
 make[1]: Leaving directory `/stuff/am/src/lazarus/ide'
 make: *** [ide] Error 2

Make sure your svn has no conflicts (svn diff should be empty) and that
you do a clean rebuild.

Mattias

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


[lazarus] Unable to build the current Lazarus with fpc 2.0.4

2007-11-16 Thread Adrian Maier
Hello,

I'm getting the following error when trying to build the latest (svn)
Lazarus :


Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Compiling main.pp
Compiling /stuff/am/src/lazarus/designer/designer.pp
Compiling customformeditor.pp
customformeditor.pp(1285,38) Error: identifier idents no member PropertyPath
customformeditor.pp(2291) Fatal: There were 1 errors compiling module, stopping
customformeditor.pp(74,12) Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/stuff/am/src/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/stuff/am/src/lazarus/ide'
make: *** [ide] Error 2


Cheers,
Adrian Maier

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


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Marc Weustink

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when you 
try to perform a TImage.Picture.Assign( my_image ); it causes an access 
violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


This doesn't matter since the bitmap is loaded by TBitmap and not 
TImage.Picture.


Do you have a code example on how you are using it ?

Marc


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


[lazarus] Lazarus button caption disappeared

2007-11-16 Thread Antonio Sanguigni
Hi all,

as in the object I cannot see anymore button caption in Lazarus (Windows),
even if there are the icons. This happens for all the modal windows Lazarus
opens to warn me about something.

In Linux it's all ok.

Does one another has the same problem ?

Fpc 2.2.0
Lazarus 0.9.25 - SVN: 12889

Thanks
Antonio

-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Jury Azovtzev
Damien, I have  counter offer. If you could make an archive with lazarus
documentation - can add it to the CD. :)

On Nov 16, 2007 1:06 PM, Jury Azovtzev [EMAIL PROTECTED] wrote:

 If you would like - yes, i'll put it on public host with my pleasure.


 On Nov 16, 2007 1:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:

 
  On Nov 16, 2007, at 6:10 AM, Jury Azovtzev wrote:
 
   Hallo!
  
   I tryied to make education LiveCD with lazarus for students in local
   college. But when i run all i found out there is not transactions,
   Mysql and PostrgreSQL components in new lazarus anymore. Could
   someone explane? Are they in other place now? Or what i have to do
   to make application with data access functions?
 
 
 
  Could you keep me posted when it will be available for downloading ?
  (or an url to watch)
  I know people who are interested in it.
 
 
  --
  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




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Leonardo M. Ramé
Mark, are you maintaining a Solaris Sparc version?, I'm looking for a 
Solaris 10 x86 version of FPC to test.


Leonardo


Mark Morgan Lloyd escribió:

Marc Weustink wrote:

Mark Morgan Lloyd wrote:

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when 
you try to perform a TImage.Picture.Assign( my_image ); it causes an 
access violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


Pardon my ignorance, but is that a bigendian or littlendian 
architecture?


I'm trying to track down what might be the same type of problem on 
SPARC under Linux, but I'm afraid that I've got my hands rather full 
of (off-project) stuff at present.


Is sparc BE ?


Yes.

Working from memory rather than notes a form icon works OK on Win-32 and 
x86-Linux except that it might get turned upside-down (that might be 
specific to BMP rather than XPM). However it causes various exceptions 
in the IDE on SPARC to the extent that a form won't load into the 
designer, although compilation works and the result is runnable. I got 
as far as suspecting that there were related problems.


I must stress that the above might be unreliable since I'm not working 
from a methodical set of experiments and notes, it's something I hope to 
get back onto as soon as I have time.




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


Re: [lazarus] Unable to build the current Lazarus with fpc 2.0.4

2007-11-16 Thread Paul Ishenin

Mattias Gaertner wrote:

On Fri, 16 Nov 2007 13:42:47 +0200
Adrian Maier [EMAIL PROTECTED] wrote:

  

Hello,

I'm getting the following error when trying to build the latest (svn)
Lazarus :


Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Compiling main.pp
Compiling /stuff/am/src/lazarus/designer/designer.pp
Compiling customformeditor.pp
customformeditor.pp(1285,38) Error: identifier idents no member
PropertyPath customformeditor.pp(2291) Fatal: There were 1 errors
compiling module, stopping customformeditor.pp(74,12) Fatal:
Compilation aborted make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/stuff/am/src/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/stuff/am/src/lazarus/ide'
make: *** [ide] Error 2



Make sure your svn has no conflicts (svn diff should be empty) and that
you do a clean rebuild.
  

This relates to fpc 2.0.4 and DisableFakeMethods define

Best regards,
Paul Ishenin.

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


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Mark Morgan Lloyd

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when you 
try to perform a TImage.Picture.Assign( my_image ); it causes an access 
violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


Pardon my ignorance, but is that a bigendian or littlendian architecture?

I'm trying to track down what might be the same type of problem on SPARC under 
Linux, but I'm afraid that I've got my hands rather full of (off-project) 
stuff at present.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] Lazarus IDE revamp

2007-11-16 Thread Lee Jenkins

Ciprian Mustiata wrote:

The issue I want to put on top is Lazarus resemble with 10 years old 
UIs, FreePascal the same, and  they don't want to add value for the 
product is today most needed. I've not means about Lazarus bugs, all 
software has bugs.
So, the eexpectations for a new user, (I put me in that use-case) is to 
get for first time a wizard to understand what to do with Lazarus, 
secondly the UI should be innovative,  probably the best in market, to 
be consistent UI-wise, to give me tools and as much I've don't need to 
be hidden, by my choose or choosing a profile.


That's asking a lot, IMO.  These are all volunteers working here and they've 
done a pretty smashing job, if you ask me.  I know lazarus takes a bit to get 
familiar with, but it really is a very nice IDE, IMO.  Sure, its no Delphi2007, 
but I would guess that if the core developers had 10% of the money for RD that 
CodeGear has (.5% for M$ ;)), Lazarus would be a lot more moochy as I like 
to say.


Are there things that I'd like to see in Lazarus such as a c# style 
autocompletion?, sure I would.  But I don't have the time to contribute things 
like that myself so I am perfectly fine enjoying Lazarus as is.  To me, Lazarus 
provides something very important: value.  With only slight inconveniences from 
Delphi, etc, Lazarus provides a pretty damn productive environment for building 
true cross platform applications and the support community is excellent.


To me what is most promising is that among component/framework vendors for 
Delphi, there seems to be more and more providing support for 
freepascal/lazarus.  To me, that indicates a good solid compatibility with 
Delphi and a maturity in the Lazarus product itself.


Identity of Lazarus will make people to not think in Lazarus as the 
worse twin of Delphi. Lazarus has to be best in what it does: it must be 
simple to add a component, or to write a dll, it MUST provide a simple 
Wizard, even seems a foolish from many view, that will make to be used 
in schools, it must have less annoying bugs, that should be the 
BLOCKERS, not one bug in one toolkit. Lazarus have to implement it's own 
dialogs using not TForm with strict UI rules, they have to implement all 
dialogs from a TIDEForm, so managing the docking, etc. in future by that 
inheritance.


I agree that it would be nice to see lazarus as an IDE comparable to 
Delphi/VS.net, but it really does do most of the stuff those IDE's do, IMO.  A 
C# style autocompletion option for always be nice since I'm a lazy coder ;)


Based on that issues, and some more, me and that designer will not look 
back to Delphi legacy, excluding the LCL and we will try to manage to 
make a fork of Lazarus. The role of that fork is very easy: it will must 
provide bet UI for user, and will not take care about users that say: 
in Delphi is different, because Lazarus is not Delphi, is much better. 
That fork will be maintained to an external server, like OpenSVN one and 
hopefully when will get enough substange to get it's own merit as an 
upgrade to Lazarus, hopefully will be merged back to Lazarus code.




I don't know.  I agree with other responder in that the time would be better 
spent on lazarus proper.  The project can always use more talented contributors 
and you wouldn't have to fork the code.


--
Warm Regards,

Lee

My wife is better at Guitar Hero than I am and it's really irritating.

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


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Marc Weustink

Mark Morgan Lloyd wrote:

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when you 
try to perform a TImage.Picture.Assign( my_image ); it causes an 
access violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


Pardon my ignorance, but is that a bigendian or littlendian architecture?

I'm trying to track down what might be the same type of problem on SPARC 
under Linux, but I'm afraid that I've got my hands rather full of 
(off-project) stuff at present.


Is sparc BE ?

Marc



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


[lazarus] download lazarus 0.9.24

2007-11-16 Thread Archangel

 does exist some link ftp to download lazarus 0.9.24?

Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Mark Morgan Lloyd

Marc Weustink wrote:

Mark Morgan Lloyd wrote:

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when you 
try to perform a TImage.Picture.Assign( my_image ); it causes an 
access violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


Pardon my ignorance, but is that a bigendian or littlendian architecture?

I'm trying to track down what might be the same type of problem on 
SPARC under Linux, but I'm afraid that I've got my hands rather full 
of (off-project) stuff at present.


Is sparc BE ?


Yes.

Working from memory rather than notes a form icon works OK on Win-32 and 
x86-Linux except that it might get turned upside-down (that might be specific 
to BMP rather than XPM). However it causes various exceptions in the IDE on 
SPARC to the extent that a form won't load into the designer, although 
compilation works and the result is runnable. I got as far as suspecting that 
there were related problems.


I must stress that the above might be unreliable since I'm not working from a 
methodical set of experiments and notes, it's something I hope to get back 
onto as soon as I have time.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] LazReport questions?

2007-11-16 Thread Jesus Reyes A.


- Original Message - 
From: Heine Ferreira [EMAIL PROTECTED]

To: lazarus@miraclec.com
Sent: Thursday, November 15, 2007 4:27 PM
Subject: [lazarus] LazReport questions?



Hi

I see there's a new release of Lazarus out. Does it include LazReport?
If not how do I install LazReport?
The last time I looked LazReport was only available in gz format. Is
this for Linux only? Is this the LazReport source or binaries?


[...]


Heine Ferreira



LazReport is now included in Lazarus, see lazarus/components/lazreport
It can be installed like any other package, for exact procedure see 
lazreport/doc/readme.txt

It's not only for linux, it's source code.
Report bugs in Lazarus bug tracker.

Jesus Reyes A.

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


Re: [lazarus] Adding new path at Lazarus

2007-11-16 Thread Antonio Sanguigni

 It's better to put the shared units into a package and add the
 package to all projects.


Thanks, Mattias. Solved with packages. It's different from Delphi, but I
think a very powerful tech.

Bye
Antonio

-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


[lazarus] Lazarus and Ctrl-C

2007-11-16 Thread Antonio Sanguigni
Hi all,

I would just to warn you about a problem under Windows with CTRL-C into the
source editor. I receive an error from Lazarus but clicking ok it is going
on and CTRL+v works fine.

Under Linux it is working really fine, no errors. ;)

FPC 2.2.0 - Lazarus 0.9.25 - rev. 12889

Thanks
Antonio


-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Mark Morgan Lloyd

Leonardo M. Ramé wrote:
Mark, are you maintaining a Solaris Sparc version?, I'm looking for a 
Solaris 10 x86 version of FPC to test.


I'm not maintaining anything at the moment, certainly in terms of being an 
officially-designated maintainer.


I'm trying to build up experience with Lazarus on Linux-SPARC. As I said, I've 
got problems getting Solaris to install on the new SPARC machine and to be 
quite frank I'm not going to spend much more time trying to get round them. 
I've never considered playing with Solaris on x86, I've got quite enough 
problems as it is.


Having said that, my understanding is that the core FPC developer doing SPARC 
work uses Solaris rather than Linux, so that might indicate that the APIs are 
kept up to date. I've just about had FPC (at something like 2.0.0) running on 
Solaris-SPARC but have not had any success using it to compile a newer 
version, so I suspect that to get anything that you can't find on FTP you're 
going to have to work out how to cross-compile.


I'm sure that if you were able to make initial progress getting something 
running we'd all do our best to help. My own opinion is that the more 
platforms a piece of software is tested on the more robust it is which is to 
everybody's benefit.


If you look at (for example) 
http://www.nabble.com/Has-anyone-ported-fpc-pascal-to-Solaris---t4572940.html 
you will see a fairly extensive summary describing what I'd managed to get 
working as of 23rd August. However I'd add that the 2.2.0 compiler is much 
improved, and would suggest that rather than trying to compile Lazarus with 
available older Solaris binaries it would probably be worth focussing on 
getting a 2.2.0 compiler built- and tested- for Solaris on both SPARC and x86.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Marc Weustink

Mark Morgan Lloyd wrote:

Marc Weustink wrote:

Mark Morgan Lloyd wrote:

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when 
you try to perform a TImage.Picture.Assign( my_image ); it causes an 
access violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


Pardon my ignorance, but is that a bigendian or littlendian 
architecture?


I'm trying to track down what might be the same type of problem on 
SPARC under Linux, but I'm afraid that I've got my hands rather full 
of (off-project) stuff at present.


Is sparc BE ?


Yes.


OK, I couldn't remember. I only remembered the alignment issues florian 
and I had when getting lazarus-sparc to work


Working from memory rather than notes a form icon works OK on Win-32 and 
x86-Linux except that it might get turned upside-down (that might be 
specific to BMP rather than XPM). 


I only know that this is the case for lazarus running on wine (and I 
know the location what causes this, I only need to do some checks).


However it causes various exceptions 
in the IDE on SPARC to the extent that a form won't load into the 
designer, although compilation works and the result is runnable. I got 
as far as suspecting that there were related problems.


Lazarus should run on a BE machine (tested on my ppc mini mac)

I must stress that the above might be unreliable since I'm not working 
from a methodical set of experiments and notes, it's something I hope to 
get back onto as soon as I have time.


:)

Maybe I should find some time to fix my disk issue and fireup my sparc

Marc

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


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Mark Morgan Lloyd

Marc Weustink wrote:

OK, I couldn't remember. I only remembered the alignment issues florian 
and I had when getting lazarus-sparc to work


And I really do think you've done a great job. I'm impressed.


Maybe I should find some time to fix my disk issue and fireup my sparc


I've managed to lay my hands on an E4500 for development purposes. It's 
connected to a Heath Robinson built around a Compaq disc cage- I've got a good 
stock of discs in Compaq trays :-) Getting this working so that I can justify 
the expenditure has taken quite a lot of my time over the last few days.


Only thing I do notice in my new setup is that Solaris appears to want Genuine 
Sun hardware. There's limits to how much money and space I'm prepared to 
invest, and I think that if I could help the project along on just the 
SPARC/Linux side I might still be doing something worthwhile.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [lazarus] Unable to build the current Lazarus with fpc 2.0.4

2007-11-16 Thread Mattias Gaertner
On Fri, 16 Nov 2007 23:06:24 +0700
Paul Ishenin [EMAIL PROTECTED] wrote:

 Mattias Gaertner wrote:
  On Fri, 16 Nov 2007 13:42:47 +0200
  Adrian Maier [EMAIL PROTECTED] wrote:
 

  Hello,
 
  I'm getting the following error when trying to build the latest
  (svn) Lazarus :
 
 
  Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
  Copyright (c) 1993-2006 by Florian Klaempfl
  Target OS: Linux for i386
  Compiling lazarus.pp
  Compiling main.pp
  Compiling /stuff/am/src/lazarus/designer/designer.pp
  Compiling customformeditor.pp
  customformeditor.pp(1285,38) Error: identifier idents no member
  PropertyPath customformeditor.pp(2291) Fatal: There were 1 errors
  compiling module, stopping customformeditor.pp(74,12) Fatal:
  Compilation aborted make[2]: *** [lazarus] Error 1
  make[2]: Leaving directory `/stuff/am/src/lazarus/ide'
  make[1]: *** [ide] Error 2
  make[1]: Leaving directory `/stuff/am/src/lazarus/ide'
  make: *** [ide] Error 2
  
 
  Make sure your svn has no conflicts (svn diff should be empty) and
  that you do a clean rebuild.

 This relates to fpc 2.0.4 and DisableFakeMethods define

I disabled FakeMethods for 2.0.x.

Mattias

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


Re: [lazarus] DataAccess components in lazarus 2.9.24

2007-11-16 Thread Jury Azovtzev
On Nov 16, 2007 1:28 PM, Damien Gerard [EMAIL PROTECTED] wrote:


 On Nov 16, 2007, at 11:10 AM, Jury Azovtzev wrote:

 Damien, I have  counter offer. If you could make an archive with lazarus
 documentation - can add it to the CD. :)


 What do you need exactly ?

Everything usefull for begginers in lazarus. Books, faqs, context helps and
etc. All in one place.



 On Nov 16, 2007 1:06 PM, Jury Azovtzev  [EMAIL PROTECTED] wrote:

  If you would like - yes, i'll put it on public host with my pleasure.
 
 
  On Nov 16, 2007 1:01 PM, Damien Gerard [EMAIL PROTECTED] wrote:
 
  
   On Nov 16, 2007, at 6:10 AM, Jury Azovtzev wrote:
  
Hallo!
   
I tryied to make education LiveCD with lazarus for students in local
college. But when i run all i found out there is not transactions,
Mysql and PostrgreSQL components in new lazarus anymore. Could
someone explane? Are they in other place now? Or what i have to do
to make application with data access functions?
  
  
  
   Could you keep me posted when it will be available for downloading ?
   (or an url to watch)
   I know people who are interested in it.
  
  
   --
   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
 



 --
 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


[lazarus] ActiveX?

2007-11-16 Thread Heine Ferreira
Hi

Do you have any plans to support ActiveX in Lazarus? I know it's a
windows specific feature, but it's really usefull.
I'm not really interested in ActiveX controls but more ActiveX dll's and exe's.
This feature would for instance allow you to generate MS Word and
Excel documents with ole automation.
It would also for instance allow you to use ADO and that would open up
a whole world.
Remember Microsoft is discontinuing all support on VB6 at the end of
April next year and according to what I have seen many programmers
aren't too happy with any of the dot net languages. Apparantly
Codegear (Borland) has really crafted a nice market for themselves
with a RAD tool that does native development. Imagine if we (Lazarus)
could also get a slice of that pie.
What do you think?

Heine Ferreira

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


Re: [lazarus] Mac OS X : Picture.Assign causing Access Violation...

2007-11-16 Thread Dominique Louis

Hi Marc and Mark,
  From my tests I have found that the problem is not related to 
TBitmap. I'll investigate further and report back if I find anything.


Dominique.

Marc Weustink wrote:

Dominique Louis wrote:

Hi,
  Has anyone else encountered a problem on Mac OS X where by when you 
try to perform a TImage.Picture.Assign( my_image ); it causes an 
access violation?


In this case the my_image is a TBitmap, if that makes any difference.
Are there any Bitmap types that Lazarus cannot load?


This doesn't matter since the bitmap is loaded by TBitmap and not 
TImage.Picture.


Do you have a code example on how you are using it ?

Marc



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


Re: [lazarus] ActiveX?

2007-11-16 Thread Christian U.



I'm not really interested in ActiveX controls but more ActiveX dll's and exe's.
This feature would for instance allow you to generate MS Word and
Excel documents with ole automation.
  
Since fpc 2.0.0 this is possible, by Hand I have tested several Delphi 
exampes to use Outlook, Excel and Word with Ole Automation and it was 
succesful

Imagine if we (Lazarus)
could also get a slice of that pie.
What do you think?
  

Its all done, just use it :)

best regards
Christian

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


[lazarus] Recompile FPC unit

2007-11-16 Thread SteveG

I (think) I have found an error in the FmtBCD unit
(from C:\lazarus\fpc\2.2.1\units\i386-win32\rtl )

A simple empty dll will not load if this unit (or any 'using' it is used.
So far as I can tell, the problem 'seems' to be with the following lines

{$r+,q+,s+}
{ $r-,q-,s-}

Remove the space at the front of the second line, problem disappears.
I found this by 'using' a copy of the unit under a different name, but
have no idea how to rebuild this unit for testing in the fpc directory.

How would I go about rebuilding just this unit (or the complete fpc dir) 
 when using a binary from Laz?
It seems that the version/structure used by Laz is different to the 
standard from FPC if SVN used from FPC?


Thanks muchly - SteveG

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


[lazarus] Laz / Fpc function listing

2007-11-16 Thread SteveG
Would anybody know if there is a listing (or some way of building one) 
of all functions available for Lazarus and/or Fpc ?


I'm sure a lot of us (programmers) are re-inventing many wheels out 
here, especially if writing for multiple platforms


Thanks - SteveG

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