Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Gerard N/A
Do you mean the actual SVN or my Patch?
I tested my patch against a small test project (Prj + 2 units + 1 include file).
The only TODO's that don't make it in the list are the ones in the .inc file.

Regards,

Gerard.

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


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Graeme Geldenhuys
Hi,

 Do you mean the actual SVN or my Patch?

Sorry, I meant the default code in Lazarus SVN, not your patch.


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] Enhanced TODO list patch

2007-11-06 Thread Gerard N/A
I think it doesn't load the includes because it parses the include
file name, but passes it as it is without path to the loading routine,
so the file cannot be loaded.
Any idea where I can get the current project path?

Regards,

Gerard.

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


[lazarus] Free method of any object didn't executes.

2007-11-06 Thread 12 12

For example i do the following:

Ser := TSerie.Create(Chart1);
Ser.Free;

I set breakpoint in implementation of TSerie.Destroy.
Neither the debugger stops on breakpoint nor the debugger steps into 
implementation of Free or Destroy.

Is it bug or feature ?

--
12 12 aka skywriter

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


Re: [lazarus] Free method of any object didn't executes.

2007-11-06 Thread Joao Morais

12 12 wrote:

For example i do the following:

Ser := TSerie.Create(Chart1);
Ser.Free;

I set breakpoint in implementation of TSerie.Destroy.
Neither the debugger stops on breakpoint nor the debugger steps into 
implementation of Free or Destroy.

Is it bug or feature ?


Perhaps you didn't place an override; after the destroy declaration 
neither saw the warning the compiler issued to you.


--
Joao Morais

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


Re: [lazarus] Free method of any object didn't executes.

2007-11-06 Thread Gus Wirth

12 12 wrote:

For example i do the following:

Ser := TSerie.Create(Chart1);
Ser.Free;

I set breakpoint in implementation of TSerie.Destroy.
Neither the debugger stops on breakpoint nor the debugger steps into 
implementation of Free or Destroy.

Is it bug or feature ?


What does this message have to do with the Enhanced TODO list?

Could you please start a new thread rather than just arbitrarily 
replying to some other message? It makes finding topics and their 
resulting threads much easier and you will more likely get an 
appropriate answer.


As for your question, how do you know that your code snippet actually 
gets called in the first place? Try turning off optimizations and see if 
that helps.


Gus

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


Re: [lazarus] Is possible load a DLL at design time?

2007-11-06 Thread Bogusław Brandys

Raistware wrote:

Hi all!

In our company we are thinking to migrate from Delphi 7 and Delphi 2007 
to Lazarus. But we need some third party components that are distributed 
as a DLL.
So, is it possible to load a DLL at Lazarus runtime? Lazarus supports 
loading DLLs at the execution of the project?


Thanks a lot!



At runtime or design-time ? Please clarify.

Boguslaw

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


Re: [lazarus] Is possible load a DLL at design time?

2007-11-06 Thread Raistware

Bogusław Brandys escribió:

Raistware wrote:

Hi all!

In our company we are thinking to migrate from Delphi 7 and Delphi 
2007 to Lazarus. But we need some third party components that are 
distributed as a DLL.
So, is it possible to load a DLL at Lazarus runtime? Lazarus supports 
loading DLLs at the execution of the project?


Thanks a lot!



At runtime or design-time ? Please clarify.

Boguslaw




Hello!

Well, we don't have the sources of the component, we only have a set of 
DLL and a few OCX files, the redistributable files. Also we have a few 
precompiled DCU and PAS files, the .pas files are only linkers to DLLs, 
and a DPK and DPROJ files, the Delphi package and project files to 
install the component, but I think that this doesn't will work for Lazarus.

The component's name is Combit ListLabel.


The questions:
Is it possible to install this component at Lazarus?
What can we do to install the component at Lazarus?

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


Re: [lazarus] Is possible load a DLL at design time?

2007-11-06 Thread Ciprian Mustiata
Hi Raistware,

For now the components in Lazarus are linked static. 

There is a FPC compiler miss-support for doing them dinamically. It is a
purposed feature for FPC team.

The DLL's only (excluding the component part) are possible to load with
no issue. If you are affraid of that, you may create still the component
and make a proxy function to export your control (I know, is not a
solution) and use it as the coresponding control in Lazarus. (hint:
every control has the Handle property which corresponds to the Windows'
HWND ID) but no guarantees about the behavior.

You may still wait until it gets integrated to the FPC compiler that
feature, or you may compile first statically, and use as is, adding
firstly to Lazarus IDE, and lately you may import project with
(hopefully) no issue.

Hope that helps,
Ciprian

On Tue, 2007-11-06 at 17:16 +0100, Raistware wrote:
 Bogusław Brandys escribió:
  Raistware wrote:
  Hi all!
 
  In our company we are thinking to migrate from Delphi 7 and Delphi 
  2007 to Lazarus. But we need some third party components that are 
  distributed as a DLL.
  So, is it possible to load a DLL at Lazarus runtime? Lazarus supports 
  loading DLLs at the execution of the project?
 
  Thanks a lot!
 
 
  At runtime or design-time ? Please clarify.
 
  Boguslaw
 
 
 
 Hello!
 
 Well, we don't have the sources of the component, we only have a set of 
 DLL and a few OCX files, the redistributable files. Also we have a few 
 precompiled DCU and PAS files, the .pas files are only linkers to DLLs, 
 and a DPK and DPROJ files, the Delphi package and project files to 
 install the component, but I think that this doesn't will work for Lazarus.
 The component's name is Combit ListLabel.
 
 
 The questions:
 Is it possible to install this component at Lazarus?
 What can we do to install the component at Lazarus?
 
 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended 
recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please 
contact the sender by reply email and destroy all copies of the original 
message.

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


Re: [lazarus] Free method of any object didn't executes.

2007-11-06 Thread Jeff Steinkamp


- Original Message - 
From: Gus Wirth [EMAIL PROTECTED]

To: lazarus@miraclec.com
Sent: Tuesday, November 06, 2007 08:34
Subject: Re: [lazarus] Free method of any object didn't executes.



12 12 wrote:

For example i do the following:

Ser := TSerie.Create(Chart1);
Ser.Free;

I set breakpoint in implementation of TSerie.Destroy.
Neither the debugger stops on breakpoint nor the debugger steps into 
implementation of Free or Destroy.

Is it bug or feature ?


What does this message have to do with the Enhanced TODO list?

Could you please start a new thread rather than just arbitrarily 
replying to some other message? It makes finding topics and their 
resulting threads much easier and you will more likely get an 
appropriate answer.


As for your question, how do you know that your code snippet actually 
gets called in the first place? Try turning off optimizations and see 
if that helps.


Gus



I believe if you look at the subject line you will discover that he did 
start a new thread.


Jeff


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


Re: [lazarus] Free method of any object didn't executes.

2007-11-06 Thread Henry Vermaak
On 06/11/2007, Jeff Steinkamp [EMAIL PROTECTED] wrote:

 I believe if you look at the subject line you will discover that he did
 start a new thread.

it doesn't help just changing the subject.  if you look at the headers
of his email, you'll note the references header.  mail clients use
this to display mails in a threaded manner.  his email is thus grouped
under the Enhanced TODO list patch thread.

the right thing to do is to create a new message if you intend to
start a new thread, not to reply to an existing message.


 Jeff

henry

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


[lazarus] What do you thing of this ?

2007-11-06 Thread Razvan Adrian Bogdan
Do you think this is a good initiative ?
Would it be in the community interest to standardize Office formats as ISO ?

http://www.noooxml.org/petition


Razvan

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


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Mattias Gaertner
On Tue, 6 Nov 2007 18:30:33 +0100
Gerard N/A [EMAIL PROTECTED] wrote:

 Ok, I have the .inc thing fixed, as long as it is in the project's
 directory.

1. Can you create a patch? See
http://wiki.lazarus.freepascal.org/Creating_A_Patch

2. Don't use implementation uses sections in the IDE.

3. Don't load source files from disk. Always use

CodeToolBoss.LoadFile(CleanAndExpandFilename(Filename),true,false). 

4. Why only for the project directory?
5. Why not use the existing functions to get all units and
include files of projects/packages?
6. Why not use the existing comment parsing code? It is faster and not
limited to single line comments.

Maybe you can describe, what todos the ToDo dialog should maintain?


Mattias

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


Re: [lazarus] What do you thing of this ?

2007-11-06 Thread Michael Van Canneyt


On Tue, 6 Nov 2007, Razvan Adrian Bogdan wrote:

 Do you think this is a good initiative ?
 Would it be in the community interest to standardize Office formats as ISO ?
 
 http://www.noooxml.org/petition

If you look at it, you'll see that many FPC devels have signed it already.

The idea is that there is already a ISO standard (the OpenOffice one) 
and that there should be only 1 standard. There is no need for a second one.

M$ just tries to avoid having to write a import/export routine by
registering their own format as a standard.

Michael.

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


Re: [lazarus] What do you thing of this ?

2007-11-06 Thread Giuliano Colla

Michael Van Canneyt ha scritto:


On Tue, 6 Nov 2007, Razvan Adrian Bogdan wrote:


Do you think this is a good initiative ?
Would it be in the community interest to standardize Office formats as ISO ?

http://www.noooxml.org/petition


If you look at it, you'll see that many FPC devels have signed it already.

The idea is that there is already a ISO standard (the OpenOffice one) 
and that there should be only 1 standard. There is no need for a second one.


M$ just tries to avoid having to write a import/export routine by
registering their own format as a standard.



The revers of the coin is: how can it be registered as an ISO standard 
and remain proprietary at the same time?

Or I'm missing a point?

--
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] What do you thing of this ?

2007-11-06 Thread Michael Van Canneyt


On Tue, 6 Nov 2007, Giuliano Colla wrote:

 Michael Van Canneyt ha scritto:
  
  On Tue, 6 Nov 2007, Razvan Adrian Bogdan wrote:
  
   Do you think this is a good initiative ?
   Would it be in the community interest to standardize Office formats as ISO
   ?
  
   http://www.noooxml.org/petition
  
  If you look at it, you'll see that many FPC devels have signed it already.
  
  The idea is that there is already a ISO standard (the OpenOffice one) and
  that there should be only 1 standard. There is no need for a second one.
  
  M$ just tries to avoid having to write a import/export routine by
  registering their own format as a standard.
  
 
 The revers of the coin is: how can it be registered as an ISO standard and
 remain proprietary at the same time?
 Or I'm missing a point?

Why have 2 standards ?

Michael.

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


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Gerard N/A
Hi,

 1. Can you create a patch? See
 http://wiki.lazarus.freepascal.org/Creating_A_Patch

Sure.

 2. Don't use implementation uses sections in the IDE.

Ok.

 3. Don't load source files from disk. Always use

 CodeToolBoss.LoadFile(CleanAndExpandFilename(Filename),true,false).

Ok, I'll correct this. (I didn't touch this).

 4. Why only for the project directory?

Sheer ignorance of any alternative method.

 5. Why not use the existing functions to get all units and
 include files of projects/packages?

See above.
Do you mean to parse all the units used by a project including the LCL?

 6. Why not use the existing comment parsing code? It is faster and not
 limited to single line comments.

Any hint on how to do this?
More in general, can you point me to a some high level description of
the IDE structure and services?

 Maybe you can describe, what todos the ToDo dialog should maintain?

Any Todo displayed by the list? I'm sorry but I think I don't
understand the question.
BTW, I'm not the original author of the Todo list/Add Todo Item
dialog, I just added some functionality, so it's hard for me to answer
questions about the design of these.

Regards,

Gerard.

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


Re: [lazarus] What do you thing of this ?

2007-11-06 Thread Giuliano Colla

Michael Van Canneyt ha scritto:


On Tue, 6 Nov 2007, Giuliano Colla wrote:


Michael Van Canneyt ha scritto:

On Tue, 6 Nov 2007, Razvan Adrian Bogdan wrote:


Do you think this is a good initiative ?
Would it be in the community interest to standardize Office formats as ISO
?

http://www.noooxml.org/petition

If you look at it, you'll see that many FPC devels have signed it already.

The idea is that there is already a ISO standard (the OpenOffice one) and
that there should be only 1 standard. There is no need for a second one.

M$ just tries to avoid having to write a import/export routine by
registering their own format as a standard.


The revers of the coin is: how can it be registered as an ISO standard and
remain proprietary at the same time?
Or I'm missing a point?


Why have 2 standards ?



Because one is good, and one allows BG to make some extra money to buy 
his bread and butter.


But if M$ request of standardizing their shitty thing can be used to 
show that they can't have it both ways, then why not to take the 
opportunity?


However I signed the petition, just to stay on the safe side.

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] What do you thing of this ?

2007-11-06 Thread Albert Zeyer
Please read also this:
http://www.heise.de/open/artikel/92735

It's not only that MS-OOXML is useless. There is the usual MS strategy
behind. Their goal is to became MS-OOXML as an standard and after to
make all its users dependend on MS (because some important parts are not
open).

Read perhaps also this:
http://blog.janik.cz/archives/2007/05/19/T20_32_07/

--
Albert


Am Dienstag, den 06.11.2007, 20:36 +0200 schrieb Razvan Adrian Bogdan:
 Do you think this is a good initiative ?
 Would it be in the community interest to standardize Office formats as ISO ?
 
 http://www.noooxml.org/petition
 
 
 Razvan
 
 _
  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] help for Scanline exemple

2007-11-06 Thread wile64
2007/11/6, Marc Weustink [EMAIL PROTECTED]:

 wile64 wrote:
  Hi,
 
  I use the example Scanline to change an image with the alpha channel as
  well.
 
alphaTransparent  = 0;
alphaOpaque   = 255;
 
 
IntfImage.CopyPixels(ScanLineImage);

 what is the Description of IntfImage ?
 Does it have an Aplha channel ?


see the Scanline example ;-)

  ScanLineImage:=TLazIntfImage.Create(0,0);
  ImgFormatDescription.Init_BPP32_B8G8R8_BIO_TTB(30,20);
  ScanLineImage.DataDescription:=ImgFormatDescription;


   MyBitmap.LoadFromIntfImage(IntfImage);

 Why not loading from ScanLineImage ?


I change several images and load since ScanLineImage directly, there is
plenty of evidence of previous file

   Canvas.Draw(10,10,MyBitmap);



 I think ths should work.


Yes, but not transparency!

 The problem is that I have no transparency with this method.
 
  How to give transparency to MyBitmap?

 Marc


Thanks Marc,

-- 
Laurent.

Soon -LAZTUCE-

French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] help for Scanline exemple

2007-11-06 Thread Marc Weustink

wile64 wrote:

Hi,

I use the example Scanline to change an image with the alpha channel as 
well.


  alphaTransparent  = 0;
  alphaOpaque   = 255;


  IntfImage.CopyPixels(ScanLineImage);


what is the Description of IntfImage ?
Does it have an Aplha channel ?


  MyBitmap.LoadFromIntfImage(IntfImage);


Why not loading from ScanLineImage ?


  Canvas.Draw(10,10,MyBitmap);


I think ths should work.


The problem is that I have no transparency with this method.

How to give transparency to MyBitmap?


Marc

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


[lazarus] help for Scanline exemple

2007-11-06 Thread wile64
Hi,

I use the example Scanline to change an image with the alpha channel as
well.

  alphaTransparent  = 0;
  alphaOpaque   = 255;


  IntfImage.CopyPixels(ScanLineImage);
  MyBitmap.LoadFromIntfImage(IntfImage);
  Canvas.Draw(10,10,MyBitmap);

The problem is that I have no transparency with this method.

How to give transparency to MyBitmap?


Thanks for help,


-- 
Laurent.

Soon -LAZTUCE-

French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] help for Scanline exemple

2007-11-06 Thread wile64
2007/11/6, wile64 [EMAIL PROTECTED]:



 2007/11/6, Marc Weustink [EMAIL PROTECTED]:
 
  wile64 wrote:
   Hi,
  
   I use the example Scanline to change an image with the alpha channel
  as
   well.
  
 alphaTransparent  = 0;
 alphaOpaque   = 255;
  
  
 IntfImage.CopyPixels(ScanLineImage);
 
  what is the Description of IntfImage ?
  Does it have an Aplha channel ?


 see the Scanline example ;-)

   ScanLineImage:=TLazIntfImage.Create(0,0);
   ImgFormatDescription.Init_BPP32_B8G8R8_BIO_TTB(30,20);
   ScanLineImage.DataDescription:=ImgFormatDescription;


MyBitmap.LoadFromIntfImage(IntfImage);
 
  Why not loading from ScanLineImage ?


 I change several images and load since ScanLineImage directly, there is
 plenty of evidence of previous file

Canvas.Draw(10,10,MyBitmap);



  I think ths should work.


 Yes, but not transparency!

  The problem is that I have no transparency with this method.
  
   How to give transparency to MyBitmap?
 
  Marc
 
 
 Thanks Marc,

 --
 Laurent.

 Soon -LAZTUCE-

 French Forum : http://lazforum-fr.tuxfamily.org/index.php



Sorry, I have modified  Description to Init_BPP32_B8G8R8A8_BIO_TTB

Thanks,


-- 
Laurent.

Soon -LAZTUCE-

French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Graeme Geldenhuys
On 06/11/2007, Mattias Gaertner [EMAIL PROTECTED] wrote:
 4. Why only for the project directory?
 5. Why not use the existing functions to get all units and
 include files of projects/packages?

Mattias, am I understanding you correctly?   You want the ToDo list to
list all items from all projects and packages at once?  I work on 40+
projects (big and small) and definitely don't want the ToDo list to
list items form all 40+ projects when I'm only interested in current
ProjectX.

The last time I tried the ToDo list screen it was quite useless and
crashed the IDE repeatedly!  It only detected todo items in the LCL
code and never in my projects.  I'll get a SVN update tomorrow and try
out the latest todo dialog - hopefully it has improved since my last
attempt.


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] help for Scanline exemple

2007-11-06 Thread wile64



 Sorry, I have modified  Description to Init_BPP32_B8G8R8A8_BIO_TTB

 Thanks,


Don't work  :-(

-- 
 Laurent.

 Soon -LAZTUCE-

 French Forum : http://lazforum-fr.tuxfamily.org/index.php




-- 
Laurent.

Soon -LAZTUCE-

French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] compiled file size on OS X

2007-11-06 Thread Tobias Giesen
Hello,

I noticed that my compiled Lazarus programs are huge. I assume they
contain debug info or something else that can be stripped.
Interestingly, GNU DB debug info is not checked on the Linker tab sheet,
but I can debug anyway, within Lazarus.

How can I get the binaries smaller?

Thanks.

Kind Regards,
Tobias Giesen

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


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Mattias Gaertner
On Tue, 6 Nov 2007 23:22:40 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:

 On 06/11/2007, Mattias Gaertner [EMAIL PROTECTED] wrote:
  4. Why only for the project directory?
  5. Why not use the existing functions to get all units and
  include files of projects/packages?
 
 Mattias, am I understanding you correctly?   You want the ToDo list to
 list all items from all projects and packages at once?  I work on 40+
 projects (big and small) and definitely don't want the ToDo list to
 list items form all 40+ projects when I'm only interested in current
 ProjectX.

Of course not at once.
I meant showing ToDo list for all files of a project XOR all files of a
package.


 
 The last time I tried the ToDo list screen it was quite useless and
 crashed the IDE repeatedly!  It only detected todo items in the LCL
 code and never in my projects.  I'll get a SVN update tomorrow and try
 out the latest todo dialog - hopefully it has improved since my last
 attempt.

That's why I'm asking what you and any other user want to do with list.
What is the goal?
At the moment it is merely a showing a few comments as list.
I don't understand what the goal of the patch is, but I guess it should
extend it to read lots of source files and search for special
comments, jump to them and edit them - in short words: make it a
useful tool. If this is correct, then some parts should be rewritten
(not use TStringLists, not load files directly).


Mattias

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


Re: [lazarus] help for Scanline exemple

2007-11-06 Thread wile64
I found,

with Init_BPP32_B8G8R8A8_BIO_TTB and load ScanLineImage, work Ok

with Init_BPP32_B8G8R8A8_BIO_TTB and CopyPixels in example don't work,

  IntfImage.CopyPixels(ScanLineImage);
  MyBitmap.LoadFromIntfImage(IntfImage);


Thanks Marc,


-- 
Laurent.

Soon -LAZTUCE-

French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Mattias Gaertner
On Tue, 6 Nov 2007 21:25:48 +0100
Gerard N/A [EMAIL PROTECTED] wrote:

 Hi,
 
  1. Can you create a patch? See
  http://wiki.lazarus.freepascal.org/Creating_A_Patch
 
 Sure.
 
  2. Don't use implementation uses sections in the IDE.
 
 Ok.
 
  3. Don't load source files from disk. Always use
 
  CodeToolBoss.LoadFile(CleanAndExpandFilename(Filename),true,false).
 
 Ok, I'll correct this. (I didn't touch this).
 
  4. Why only for the project directory?
 
 Sheer ignorance of any alternative method.
 
  5. Why not use the existing functions to get all units and
  include files of projects/packages?
 
 See above.
 Do you mean to parse all the units used by a project including the
 LCL?
 
  6. Why not use the existing comment parsing code? It is faster and
  not limited to single line comments.
 
 Any hint on how to do this?

Sure. But I need to know, what you want to achieve.


 More in general, can you point me to a some high level description of
 the IDE structure and services?

There are wiki pages, examples and some toolbox articles.
There is no guide for the IDE source code for various reasons.

 
  Maybe you can describe, what todos the ToDo dialog should maintain?
 
 Any Todo displayed by the list? I'm sorry but I think I don't
 understand the question.
 BTW, I'm not the original author of the Todo list/Add Todo Item
 dialog, I just added some functionality, so it's hard for me to answer
 questions about the design of these.

That makes two of us.
So forget for a moment the existing implementation and write what a good
ToDo List dialog should do.


Mattias

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


Re: [lazarus] help for Scanline exemple

2007-11-06 Thread wile64
I found,

with Init_BPP32_B8G8R8A8_BIO_TTB and load ScanLineImage, work Ok

with Init_BPP32_B8G8R8A8_BIO_TTB and CopyPixels in example don't work,

  IntfImage.CopyPixels(ScanLineImage);
  MyBitmap.LoadFromIntfImage(IntfImage);


Thanks Marc,


-- 
Laurent.

Soon -LAZTUCE-

French Forum : http://lazforum-fr.tuxfamily.org/index.php


RE: [lazarus] compiled file size on OS X

2007-11-06 Thread Hess, Philip J
Tobias,

When I compile the IDE with Carbon I get an executable of 84.5MB. If I run 
strip on it, this shrinks it to 13.2MB. You can achieve similar reduction 
without using strip simply by unchecking the -gl switch on the Linker tab. In 
both cases, the shrunken executable won't have the useful line number 
information. For now, I always leave this switch checked.

Thanks.

-Phil


-Original Message-
From: Tobias Giesen [mailto:[EMAIL PROTECTED]
Sent: Tue 11/6/2007 6:09 PM
To: lazarus@miraclec.com
Subject: [lazarus] compiled file size on OS X
 
Hello,

I noticed that my compiled Lazarus programs are huge. I assume they
contain debug info or something else that can be stripped.
Interestingly, GNU DB debug info is not checked on the Linker tab sheet,
but I can debug anyway, within Lazarus.

How can I get the binaries smaller?

Thanks.

Kind Regards,
Tobias Giesen

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

winmail.dat

[lazarus] Daily Digest option?

2007-11-06 Thread Peter Gannon
Is there a way to get the messages on Lazarus mailing list in  a daily 
digest, instead of single messages?


I haven't seen that option at 
http://www.lazarus.freepascal.org/modules.php?op=modloadname=StaticPagefile=indexsURL=maill


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


[lazarus] date time picker

2007-11-06 Thread somat
i was searched for datetime picker for lazarus on the web, but i 
didn't find it,

did anyone know, where i can find it ??

--
akhmat safrudin
linux user  : # 457561
ubuntu user : # 18665
http://www.megono.com
y!m somat_ori

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


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Graeme Geldenhuys
On 07/11/2007, Mattias Gaertner [EMAIL PROTECTED] wrote:

 Of course not at once.

OK.  ;-)

 That's why I'm asking what you and any other user want to do with list.
 What is the goal?

OK, so here is my wish list which should make it useful for me.

* Search the current open projects source, including .inc files
   for ToDo, TODO, #todo tags. It must support multiple tag formats
   and maybe have a developer pick their preferred format (see later why)
* Support a category tag. Can't remember how Delphi specified this.
   It was something like the following:
{ TODO:  Fix year-end calculation.  -c Accounting }
* Support a priority tag (1-9): eg:   { #todo This must be fixed urgently.  -1 }
* Show them in a list.
* List must be sortable by: Unit name, Description, Category and Priority
* Double clicking a item must close the Todo list window and take you to
   the location in the source unit.
* ToDo items must be editable from the todo list screen. A simple little
   edit dialog for entering a optional category, optional priority and
   description
* A nice to have (though not urgent and not even sure if needed) would
   be to have some editor keyboard shortcut to bring up a todo list edit
   item dialog.  So while you are coding and want to insert a item
   press the shortcut; fill in the details and press enter to close. The
   source code would then have the item inserted in the correct format,
   using the developers preferred todo tag format.



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: Failed delivery: Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Graeme Geldenhuys
Hi,

Could somebody please remove this guy from the mailing list
subscription!  I keep getting bounced messages for every message I
send to the list.


Regards,
  - Graeme -



On 07/11/2007, Maersk Crew Mail [EMAIL PROTECTED] wrote:
 Failed delivery: Re: [lazarus] Enhanced TODO list patch
 Message from MaerskCrew AutoReply Service.

 Your mail 'Re: [lazarus] Enhanced TODO list patch' sent 2007-11-07 06:30:40 
 did not reach the following recipient(s):

 Receiver Trzeciak, Grzegorz Zygmunt ([EMAIL PROTECTED]) is on home leave.


 Part of original text:
 On 07/11/2007, Mattias Gaertner [EMAIL PROTECTED] wrote:
 
  Of course not at once.

 OK.  ;-)

  That's why I'm asking what you and any other user want to do with list.
  What is the goal?

 OK, so here is my wish list which should make it useful for me.






-- 
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] date time picker

2007-11-06 Thread Graeme Geldenhuys
 i was searched for datetime picker for lazarus on the web, but i
 didn't find it,
 did anyone know, where i can find it ??

Doesn't Lazarus come with one?   I'm not sure what time of date picker
you are looking for, but I wrote a while back a popup calendar dialog
component to look identical on all platforms we use.  If you are
interested, I can email you a copy. Just drop a TBitBtn on a form and
in it's OnClick event handler call TM2Calendar.Execute(SelectedDate);
Simple, but it works.

Regards,
   Graeme.

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


[lazarus] shift+enter key = shift+tab key

2007-11-06 Thread somat

i used this to change the enter key to tab key :

 if Key = #13 then
 begin
  Key := #0;
  SelectNext(ActiveControl, true, true);
 end;

but i have some question, how about to change the shift+enter key to 
shift+tab key.

thank's

--
akhmat safrudin
linux user  : # 457561
ubuntu user : # 18665
http://www.megono.com
y!m somat_ori

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


Re: [lazarus] Enhanced TODO list patch

2007-11-06 Thread Graeme Geldenhuys
On 07/11/2007, Graeme Geldenhuys [EMAIL PROTECTED] wrote:
  That's why I'm asking what you and any other user want to do with list.
  What is the goal?

 OK, so here is my wish list which should make it useful for me.

 * Search the current open projects source, including .inc files
for ToDo, TODO, #todo tags. It must support multiple tag formats
and maybe have a developer pick their preferred format (see later why)
 * Support a category tag. Can't remember how Delphi specified this.
It was something like the following:
 { TODO:  Fix year-end calculation.  -c Accounting }
 * Support a priority tag (1-9): eg:   { #todo This must be fixed urgently.  
 -1 }
 * Show them in a list.
 * List must be sortable by: Unit name, Description, Category and Priority
 * Double clicking a item must close the Todo list window and take you to
the location in the source unit.
 * ToDo items must be editable from the todo list screen. A simple little
edit dialog for entering a optional category, optional priority and
description
 * A nice to have (though not urgent and not even sure if needed) would
be to have some editor keyboard shortcut to bring up a todo list edit
item dialog.  So while you are coding and want to insert a item
press the shortcut; fill in the details and press enter to close. The
source code would then have the item inserted in the correct format,
using the developers preferred todo tag format.


Another one I only remembered now.

*  Assigning a keyboard shortcut to Project - View ToDo List doesn't work.
o   It doesn't show the shortcut key combination in the menu.
o   I've tried multiple keyboard shortcuts to no avail. eg: F2  or
 Ctrl-Shift-T


PS:
  I'm using Lazarus v0.9.23 r12561 i386-linux-gtk.  Oh by the way, it
seems the ToDo List now detects my 'TODO:' items in my current
projects code (all *.pas files).  A few months back it didn't.  :-)


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] date time picker

2007-11-06 Thread somat

Graeme Geldenhuys wrote:

Doesn't Lazarus come with one?   I'm not sure what time of date picker
you are looking for, but I wrote a while back a popup calendar dialog
component to look identical on all platforms we use.  If you are
interested, I can email you a copy. Just drop a TBitBtn on a form and
in it's OnClick event handler call TM2Calendar.Execute(SelectedDate);
Simple, but it works.

Regards,
   Graeme.
  

thank's for attention,
but i found it, this is enough for me.

--
akhmat safrudin
linux user  : # 457561
ubuntu user : # 18665
http://www.megono.com
y!m somat_ori

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


Re: [lazarus] Free method of any object didn't executes.

2007-11-06 Thread Bogusław Brandys

Henry Vermaak wrote:

On 06/11/2007, Jeff Steinkamp [EMAIL PROTECTED] wrote:

I believe if you look at the subject line you will discover that he did
start a new thread.


it doesn't help just changing the subject.  if you look at the headers
of his email, you'll note the references header.  mail clients use
this to display mails in a threaded manner.  his email is thus grouped
under the Enhanced TODO list patch thread.

the right thing to do is to create a new message if you intend to
start a new thread, not to reply to an existing message.


Jeff


henry



Thank you for clarify that issue to me.I have always be surprised why 
some of not related emails jump across an interesting discuss.


Regards
Boguslaw

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


Re: [lazarus] Free method of any object didn't executes.

2007-11-06 Thread 12 12

the right thing to do is to create a new message if you intend to
start a new thread, not to reply to an existing message.


Sotty i didn't know this issue.
I use web-interface to read and send mails.
And i thought it is enough to type new subject for creating new thread.

--
12 12 aka skywriter

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