Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Vincent Snijders

Christian U. wrote:

you could add a "Final Build" Menu item.



I think, this is an good idea, a publish menue Item can strip and maybe upx
the executable.
An public folder describes where to place the final executable.



And that is exactly what publish project can do, when you have 
configured it correctly.


Vincent.

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


Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Christian U.
> you could add a "Final Build" Menu item.

I think, this is an good idea, a publish menue Item can strip and maybe upx
the executable.
An public folder describes where to place the final executable.

Christian

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


Re: [lazarus] Component for to do backup !!

2006-02-12 Thread Luiz Americo Pereira Camara

Bogusław Brandys escreveu:

Luiz Americo Pereira Camara wrote:


It requires a recent sqliteds component: 
http://www.geocities.com/camara_luiz/sqliteds.zip

Is this version the same as in FPC 2.0.3 SVN ?


No. It's newer.

Luiz

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


Re: [lazarus] [lazarus-dev] TClipboard.SetAsText

2006-02-12 Thread Vincent Snijders

Bogusław Brandys wrote:

Vincent Snijders wrote:


Mattias Gaertner wrote:


On Sat, 11 Feb 2006 21:08:45 +0100
Vincent Snijders <[EMAIL PROTECTED]> wrote:



Hi,

I am trying to fix issue 1704: copy a piece of text in the editor 
and then from the messages view. If you paste in the editor, the 
copied text from the editor is pasted. The patch below fixes this 
(it removes all formats, also the synedit format, if you do setastext).


Is this ok? Otherwise, I think I will add ClipBoard.Clear just 
before ClipBoard.AsText in the messageview menu handlers.




Does Delphi clear on SetAsText? If yes, then te patch should be applied.



Does anybody on  the mailing list know, if Delphi clears the clipboard,
if I do ClipBoard.AsText := 'My text', i.e. does it remove all available
formats from it? Or does it just add this with the CF_TEXT format, but
leaves other formats on the clipboard untouched.

Vincent.




Deletes the contents of the clipboard.

procedure Clear;

Description

Call Clear to empty the clipboard.

Clear is called automatically by TClipboard operations that add data to 
the clipboard.



Also in Delphi 5 documentation there is no such method : SetAsText ?


Not clear to me but .AsText property probably call Clear.



Thanks to both you and Ido Kanner. I added the call to clear in revision 
 8733.


Vincent

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


Re: [lazarus] [lazarus-dev] TClipboard.SetAsText

2006-02-12 Thread Bogusław Brandys

Vincent Snijders wrote:

Mattias Gaertner wrote:

On Sat, 11 Feb 2006 21:08:45 +0100
Vincent Snijders <[EMAIL PROTECTED]> wrote:



Hi,

I am trying to fix issue 1704: copy a piece of text in the editor and 
then from the messages view. If you paste in the editor, the copied 
text from the editor is pasted. The patch below fixes this (it 
removes all formats, also the synedit format, if you do setastext).


Is this ok? Otherwise, I think I will add ClipBoard.Clear just before 
ClipBoard.AsText in the messageview menu handlers.



Does Delphi clear on SetAsText? If yes, then te patch should be applied.



Does anybody on  the mailing list know, if Delphi clears the clipboard,
if I do ClipBoard.AsText := 'My text', i.e. does it remove all available
formats from it? Or does it just add this with the CF_TEXT format, but
leaves other formats on the clipboard untouched.

Vincent.



Deletes the contents of the clipboard.

procedure Clear;

Description

Call Clear to empty the clipboard.

Clear is called automatically by TClipboard operations that add data to 
the clipboard.



Also in Delphi 5 documentation there is no such method : SetAsText ?


Not clear to me but .AsText property probably call Clear.


Regards
Boguslaw

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


Re: [lazarus] Component for to do backup !!

2006-02-12 Thread Bogusław Brandys

Luiz Americo Pereira Camara wrote:

Patrick escreveu:

does anybody know any backup component ???
I'm developing an backup application that supports incremental backups 
and file version tracking.It uses sqlite3 to do the file tracking. You 
can find the sources here: 
http://www.geocities.com/camara_luiz/becape-alpha.zip.


The actual backup is done in backupengine.pas and backupcatalog.pas 
which is GUI independent. To see how do a backup see fexecutetask.pas. 
Please not that the core is functional and can be considered in beta 
state, while the GUI is in alpha state. Furthermore there's a lot of 
debug hints along the code.


It requires a recent sqliteds component: 
http://www.geocities.com/camara_luiz/sqliteds.zip

Luiz


Is this version the same as in FPC 2.0.3 SVN ?

Regards
Boguslaw


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


Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Felipe Monteiro de Carvalho
On 2/12/06, Johannes Nohl <[EMAIL PROTECTED]> wrote:
> Isn't it possible to run a compiled application without linking it
> together before?

Linking is the process of putting the compiler pieces together unit a
executable file.

So no, you cannot run unless you link.

--
Felipe Monteiro de Carvalho

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


Re: [lazarus] Who Discussed Linker Slowness?

2006-02-12 Thread Johannes Nohl
Isn't it possible to run a compiled application without linking it
together before?
For testing a lazarus application it would be enough. If it's possible
you could add a "Final Build" Menu item.

Or am I completly out of logic? (I'm not very familliar with "internal stuff")

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


Re: [lazarus] Component for to do backup !!

2006-02-12 Thread Luiz Americo Pereira Camara

Patrick escreveu:

does anybody know any backup component ???
I'm developing an backup application that supports incremental backups 
and file version tracking.It uses sqlite3 to do the file tracking. You 
can find the sources here: 
http://www.geocities.com/camara_luiz/becape-alpha.zip.


The actual backup is done in backupengine.pas and backupcatalog.pas 
which is GUI independent. To see how do a backup see fexecutetask.pas. 
Please not that the core is functional and can be considered in beta 
state, while the GUI is in alpha state. Furthermore there's a lot of 
debug hints along the code.


It requires a recent sqliteds component: 
http://www.geocities.com/camara_luiz/sqliteds.zip

Luiz

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


Re: [lazarus] [lazarus-dev] TClipboard.SetAsText

2006-02-12 Thread Ido Kanner
Quoting Vincent Snijders <[EMAIL PROTECTED]>:

> Mattias Gaertner wrote:
> > On Sat, 11 Feb 2006 21:08:45 +0100
> > Vincent Snijders <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Hi,
> >>
> >>I am trying to fix issue 1704: copy a piece of text in the editor and 
> >>then from the messages view. If you paste in the editor, the copied text 
> >>from the editor is pasted. The patch below fixes this (it removes all 
> >>formats, also the synedit format, if you do setastext).
> >>
> >>Is this ok? Otherwise, I think I will add ClipBoard.Clear just before 
> >>ClipBoard.AsText in the messageview menu handlers.
> > 
> > 
> > Does Delphi clear on SetAsText? If yes, then te patch should be applied.
> > 
> 
> Does anybody on  the mailing list know, if Delphi clears the clipboard,
> if I do ClipBoard.AsText := 'My text', i.e. does it remove all available
> formats from it? Or does it just add this with the CF_TEXT format, but
> leaves other formats on the clipboard untouched.
> 

As far as I know, Delphi clears the entire clipboard when it adds the
ClipBoard.AsText text.

As far as I remember, Windows clipboard can handle only one type data each
clipboard usage. While you can register it as several data type of formats, it
still one data type. So you can have an RTF text for example with an handler
that can return it as pure text, but if you will change the content of
something, any other content format will be effected as well.

> Vincent.
> 

Ido



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


[lazarus] [lazarus-dev] TClipboard.SetAsText

2006-02-12 Thread Vincent Snijders

Mattias Gaertner wrote:

On Sat, 11 Feb 2006 21:08:45 +0100
Vincent Snijders <[EMAIL PROTECTED]> wrote:



Hi,

I am trying to fix issue 1704: copy a piece of text in the editor and 
then from the messages view. If you paste in the editor, the copied text 
from the editor is pasted. The patch below fixes this (it removes all 
formats, also the synedit format, if you do setastext).


Is this ok? Otherwise, I think I will add ClipBoard.Clear just before 
ClipBoard.AsText in the messageview menu handlers.



Does Delphi clear on SetAsText? If yes, then te patch should be applied.



Does anybody on  the mailing list know, if Delphi clears the clipboard,
if I do ClipBoard.AsText := 'My text', i.e. does it remove all available
formats from it? Or does it just add this with the CF_TEXT format, but
leaves other formats on the clipboard untouched.

Vincent.

_
archive: http://www.miraclec.com/list_archives/lazarus-developer

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


Re: [lazarus] Component for to do backup !!

2006-02-12 Thread Michael Van Canneyt


On Sat, 11 Feb 2006, Patrick wrote:

> does anybody know any backup component ??? 
> like the file attached.
> if anybody to get compile it tell me pls !!!

A simple backup for a single file can be done with the zstream unit.
More advanced backup can be done with TurboPower's abbrevia, the 
non-visual part compiles with FPC.

Michael.

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


Re: [lazarus] Component for to do backup !!

2006-02-12 Thread Vincent Snijders

Patrick wrote:

does anybody know any backup component ???
like the file attached.
if anybody to get compile it tell me pls !!!


I took a quick look at the backup.pas file.

Add {$mode delphi} or {$mode objfpc}{$h+} to the top of file.

I have problems with missing obj files. Maybe you can use the paszlib 
unit or package instead.


Vincent.

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