hello guys, I got some bug on library project. When I uses Lazarus 0.9.28.2 I
write this code and work well, then I recompile it use Lazarus 1.0.2 and 1.0.4
and got this error
Project project_test raised exception class 'External: SIGEGV'.
At address 7C91B1FA
I have 2 project
first p
24.01.2013 10:08, xrfang пишет:
procedure TPainter.SetFont(AValue: TFont);
begin
if FFont=AValue then Exit;
FFont:=AValue;
end;
My question is, why the "if" clause needed? Is there any performance
benefits?
Usually setters have more complex code than just FFont:=AValue;
In this case If
Hi all,
Lazarus auto generated the following code for my class:
procedure TPainter.SetFont(AValue: TFont);
begin
if FFont=AValue then Exit;
FFont:=AValue;
end;
My question is, why the "if" clause needed? Is there any performance benefits?
Thanks,
Shannon--
__
dear Mr. Manninen, thanks very much for your observation,
after my message, I have been working with the appl. and found that redefining
the label control the problem was solved.
thanks again
yours
Ing. Héctor F. Fiandor Rosario
hfian...@infomed.sld.cu
--
Este mensaje le ha llegado mediant
2013/1/23 Michael Van Canneyt
> On Wed, 23 Jan 2013, silvioprog wrote:
>
>> 2013/1/23 silvioprog
>> [...]
>>
>> I was thinking to myself... an initial idea:
>>
>
> Please post a feature request.
>
> I think one event
> TOnProgressEvent = (Sender : TObject; BytesRead,ContentLength : Int6
2013/1/23 Michael Van Canneyt
> On Wed, 23 Jan 2013, silvioprog wrote:
>
>> Hello,
>>
>> Some times, we need to resume a download. To do this is very easy, enough
>> read byte by byte and continuing from the last 50KB (Chrome and Firefox
>> works so).
>>
>> So, TFPHttpClient allow to read byte b
Hello All,
Please it is possible to reset or reinitialize the values of the
TComboBox list after it has been selected?
--
Kind Regards
Eric Kom
System Administrator & Programmer - Metropolitan College
_
/ You are scrupulously honest, frank, and \
| s
On Wed, 23 Jan 2013, silvioprog wrote:
2013/1/23 silvioprog
[...]
I was thinking to myself... an initial idea:
Please post a feature request.
I think one event
TOnProgressEvent = (Sender : TObject; BytesRead,ContentLength : Int64) of object;
should be enough.
Michael.
--
On Wed, 23 Jan 2013, silvioprog wrote:
Hello,
Some times, we need to resume a download. To do this is very easy, enough read
byte by byte and continuing from the last 50KB (Chrome and Firefox works so).
So, TFPHttpClient allow to read byte by byte of a content?
No.
Michael.
--
_
On Wed, 23 Jan 2013 00:21:44 +0100
Michalis Kamburelis wrote:
First of all thanks for the explanation.
> The general idea is that TOpenGLControl has safe default values, that
> are guaranteed to work (and be fast) even on really really ancient
> graphic cards or when the system is running unde
2013/1/23 silvioprog
> [...]
>
I was thinking to myself... an initial idea:
http://pastebin.com/41GTFsws
--
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazaru
2013/1/23 silvioprog
> [...]
> What do you think about implementa this method?:
>
> (...)
> public
> procedure ReadingResponse(const ASize, APosition: Int64); virtual;
> (...)
>
Or only:
procedure ReadingResponse(AStream: TStream); virtual;
--
Silvio Clécio
My public projects - github
2013/1/23 silvioprog
> 2013/1/23 silvioprog
>
>> Hello,
>>
>> First, sorry for my various requests. I'm contributing to improves this
>> beautiful class.
>>
>> So, how to show a download progress?
>>
>> I think that the method "ReadResponse" should have two callbacks, like as
>> "AContentLenght"
2013/1/23 silvioprog
> Hello,
>
> First, sorry for my various requests. I'm contributing to improves this
> beautiful class.
>
> So, how to show a download progress?
>
> I think that the method "ReadResponse" should have two callbacks, like as
> "AContentLenght" and "AContentPosition". What do yo
Hello,
Some times, we need to resume a download. To do this is very easy, enough
read byte by byte and continuing from the last 50KB (Chrome and Firefox
works so).
So, TFPHttpClient allow to read byte by byte of a content?
Thank you!
--
Silvio Clécio
My public projects - github.com/silvioprog
Hello,
First, sorry for my various requests. I'm contributing to improves this
beautiful class.
So, how to show a download progress?
I think that the method "ReadResponse" should have two callbacks, like as
"AContentLenght" and "AContentPosition". What do you think?
Thank you!
--
Silvio Cléci
Am 23.01.2013 16:32, schrieb John Landmesser:
Am 23.01.2013 15:56, schrieb Vincent Snijders:
Is your fpc 2.6.1 version up to date?
Vincent
Thanks for this tipp, now it compiles ok!
But:
I had fpc 2.6.1 from 2012 and now i extracted fpc 2.6.1 from a snapshot.
There are differences between 2
Kostas Michalopoulos wrote:
AFAIK even if you ask for 24 and there is no support for it, you'll get
a 16bit buffer anyway.
No. This is a required minimal value, at least for GLX and modern
wglChoosePixelFormatARB. It was *possibly* treated in more relaxed way
by the old ChoosePixelFormat, bu
On 23-1-2013 16:32, John Landmesser wrote:
> Am 23.01.2013 15:56, schrieb Vincent Snijders:
> I had fpc 2.6.1 from 2012 and now i extracted fpc 2.6.1 from a snapshot.
>
> There are differences between 2.6.1 and 2.6.1 ???
Yes.
And there are differences between 2.7.1 and 2.7.1
--
_
Am 23.01.2013 15:56, schrieb Vincent Snijders:
Is your fpc 2.6.1 version up to date?
Vincent
Thanks for this tipp, now it compiles ok!
But:
I had fpc 2.6.1 from 2012 and now i extracted fpc 2.6.1 from a snapshot.
There are differences between 2.6.1 and 2.6.1 ???
I have to keep that in mind
2013/1/23 John Landmesser :
> Hi,
>
> i cannot compile actual lazarus trunk version:
>
Is your fpc 2.6.1 version up to date?
Vincent
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/l
Hi,
i cannot compile actual lazarus trunk version:
Stops here:
procedure TLazCanvas.AssignFontData(AFont: TFPCustomFont);
begin
if AFont = nil then Exit;
Font.FPColor := AFont.FPColor;
Font.Name := AFont.Name;
Font.Size := AFont.Size;
Font.Bold := AFont.Bold;
Font.Italic := AFont.It
Mattias Gaertner wrote:
On Wed, 23 Jan 2013 11:18:04 +
Mark Morgan Lloyd wrote:
Mattias Gaertner wrote:
[...]
Question if I may: should .lrs files be stored in (a local) .svn
repository?
It depends. If you only use Lazarus to compile the project, you don't
need to store them.
What abo
On Wed, 23 Jan 2013, silvioprog wrote:
I'm sorry, the title is: "...easy calls for DELETE/OPTIONS. and some adjusts."
2013/1/23 silvioprog
Hello,
Please see:
http://bugs.freepascal.org/view.php?id=23731
Thank you!
Applied, thank you very much.
Michael.
--
___
I'm sorry, the title is: "...easy calls for DELETE/OPTIONS. and some
adjusts."
2013/1/23 silvioprog
> Hello,
>
> Please see:
>
> http://bugs.freepascal.org/view.php?id=23731
>
> Thank you!
>
--
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Hello,
Please see:
http://bugs.freepascal.org/view.php?id=23731
Thank you!
--
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listin
On Wed, 23 Jan 2013 11:54:13 +0100
duilio foschi wrote:
> Hi!
>
> this code
>
> procedure TForm1.DrawBtnClick(Sender: TObject);
> {Draw some ellipses on the canvas - random size and color}
> var
> i:integer;
> cx,cy:integer;
> begin
> with image1, canvas do
> begin
> for i:= 1 to 10
On Wed, 23 Jan 2013 11:18:04 +
Mark Morgan Lloyd wrote:
> Mattias Gaertner wrote:
>[...]
> Question if I may: should .lrs files be stored in (a local) .svn
> repository?
It depends. If you only use Lazarus to compile the project, you don't
need to store them.
> What about .or?
No.
Matti
On Wed, 23 Jan 2013 12:01:47 +0100
Antonio Fortuny wrote:
>
> Le 23/01/2013 11:51, Mattias Gaertner a écrit :
> > Check the project option Resource type is set to lrs.
> Where is this located ?
> > Check the file date of the lrs file or simply delete the file. The IDE
> > will regenerate it on n
Mattias Gaertner wrote:
On Wed, 23 Jan 2013 11:45:23 +0100
Antonio Fortuny wrote:
Hi folks.
Got a problem: I have a data module in a project with some TMemDataset
All of them have some fields in the FieldDefs list
Now I'm changing some of the datasets but new fields appear as not
existing wh
Check the project option Resource type is set to lrs.
Ok, found it.
The option Save .lrs files in output folder was checked too. It is
unchecked now and .lrs files are rebuilt
This time I was confused because there are alittle bit too much options.
But OK. It works
Thanks Mattias, your answe
Le 23/01/2013 11:51, Mattias Gaertner a écrit :
Check the project option Resource type is set to lrs.
Where is this located ?
Check the file date of the lrs file or simply delete the file. The IDE
will regenerate it on next build.
does not work
If this does not work:
Check that there is onl
Hi!
this code
procedure TForm1.DrawBtnClick(Sender: TObject);
{Draw some ellipses on the canvas - random size and color}
var
i:integer;
cx,cy:integer;
begin
with image1, canvas do
begin
for i:= 1 to 10 do
begin
cx:=random(width);
cy:=random(height);
brush.color:=
On Wed, 23 Jan 2013 11:45:23 +0100
Antonio Fortuny wrote:
> Hi folks.
>
> Got a problem: I have a data module in a project with some TMemDataset
> All of them have some fields in the FieldDefs list
> Now I'm changing some of the datasets but new fields appear as not
> existing when they are ref
Sorry, just miss the environment:
WIn32, Lazarus 1.1 32979 from 2012/01/02, FPC 2.6.1
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi folks.
Got a problem: I have a data module in a project with some TMemDataset
All of them have some fields in the FieldDefs list
Now I'm changing some of the datasets but new fields appear as not
existing when they are referenced somewhere else in the project.
Finally I've seen that the datam
AFAIK even if you ask for 24 and there is no support for it, you'll get a
16bit buffer anyway.
On Wed, Jan 23, 2013 at 12:21 AM, Michalis Kamburelis <
michalis.ka...@gmail.com> wrote:
> Reimar Grabowski wrote:
>
>> Hi,
>>
>> the in the topic mentioned property defaults to a value of 16. Is
>> th
On 01/22/2013 06:52 PM, Anton Kavalenka wrote:
But GTK Widgetset uses pure Xlib calls for determining keyboard states.
Xlib thread-safety is not initialized in GTK2 widgetset.
AFAIK: As the GUI and Event-queue related LCL classes (i.e.
TApplication) are not thread save themselves (e.g. using
On Wed, Jan 23, 2013 at 8:16 AM, Héctor F. Fiandor Rosario
wrote:
> I have found that some label.caption are written correctly in spanish, but
> other don´t admit the accents as for example in the word Terminó.
It sounds strange. If there was such bug in TLabel, it would affect
all label captions
39 matches
Mail list logo