Oops, sorry, you're right. Your cygwin diffs don't seem to
agree with (the way I use) fpc patch; I got it to apply only
the first part of the patch... Now it works.
The patches I upload to bugs.freepascal are made with svn diff. The ones I
sent you earlier were made with cygwin diff since
Hello, I am ressuscitating this ancient thread because I'd like to
continue the talk about it =)
My main doubt here is if androidprt0.as is really required, which
would mean that I can only produce android libraries if I make changes
to the compiler.
Benjamin, couldn't one just declare the
Hi,
I tried to implement linux timer with timer_create and signals, but an
exception always fired (External:SIGUSR1).
It was a lcl program, but I narrowed it to a console one.
Here is the lines without extra codes of releasing (the error appears
before),
What can be wrong with the code below?
I do get a segfault in the last test when assigning to
ftWideString256. When tracing the code it crashes when moving the
size+1 chracters to the database. This fixed length moving is
fundamentally wrong. The string is only 20 or so chars long and
TCustomBufDataset.SetFieldData tries to
Hi,
On Wed, 10 Aug 2011 11:09:26 +0200, Felipe Monteiro de Carvalho wrote:
Hello, I am ressuscitating this ancient thread because I'd like to
continue the talk about it =)
My main doubt here is if androidprt0.as is really required, which
would mean that I can only produce android libraries if
Hi,
On Wed, 10 Aug 2011 11:59:03 +0200, Thomas Schatzl wrote:
Hi,
On Wed, 10 Aug 2011 11:09:26 +0200, Felipe Monteiro de Carvalho
wrote:
Hello, I am ressuscitating this ancient thread because I'd like to
continue the talk about it =)
My main doubt here is if androidprt0.as is really
ZeelandNet Webmail
I've been trying the simplehttpserver and
found a problem, but I have no idea what is goiing on. When I request a
page, everything works fine, but when I try to request a non existing
page and then go back to the existing page, the server quits. I have
tried GDB, but I get
On Wednesday 10 August 2011 11:51:41 Ludo Brands wrote:
What I propose is:
1 to create overloaded versions of SetFieldData and GetFieldData that
include a length parameter, to change TStringField.SetAsString and
TWideStringField.SetAsWideString to use these versions and to migrate the
On Wed, Aug 10, 2011 at 11:59 AM, Thomas Schatzl tom_at_w...@gmx.at wrote:
However, you might want to use the hack from
http://mantis.freepascal.org/view.php?id=18833 on android for now.
What do you think about merging this hack to trunk and to 2.6.0? I can
do the commit on trunk.
I think that
On Wed, 10 Aug 2011 12:06:15 +0200, wrote:
Nevermind, I overlooked
the deactivation code in the example.
Darius
I've been trying the
simplehttpserver and found a problem, but I have no idea what is goiing
on. When I request a page, everything works fine, but when I try to
request a non
On 10 Aug 2011, at 12:10, Felipe Monteiro de Carvalho wrote:
On Wed, Aug 10, 2011 at 11:59 AM, Thomas Schatzl
tom_at_w...@gmx.at wrote:
However, you might want to use the hack from
http://mantis.freepascal.org/view.php?id=18833 on android for now.
What do you think about merging this hack
On Wed, Aug 10, 2011 at 2:04 PM, michael.vancann...@wisa.be wrote:
On Wed, 10 Aug 2011, Max Vlasov wrote:
Hi,
I tried to implement linux timer with timer_create and signals, but an
exception always fired (External:SIGUSR1)
What can be wrong with the code below?
I assume threads
MSEgui version of tbufdataset uses UnicodeString in
recordbuffer for string
fields, see file lib/common/db/msebufdataset.pas.
Well done.
Ludo
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Uploaded a patch to
http://bugs.freepascal.org/view.php?id=19930. Initially,
because of the crash, I wanted to submit another bug report
but the more I dig into this, the more I feel the definition
of SetFieldData/GetFieldData without a length/size parameter
and strings passed as pchar
On Wed, Aug 10, 2011 at 1:18 PM, Max Vlasov max.vla...@gmail.com wrote:
Hi,
I tried to implement linux timer with timer_create and signals, but an
exception always fired (External:SIGUSR1).
Hmm, it seems that it's not a 'wrong' exception, I executed the same program
from console and it
On 10 Aug 2011, at 14:24, Max Vlasov wrote:
On Wed, Aug 10, 2011 at 1:18 PM, Max Vlasov max.vla...@gmail.com
wrote:
I tried to implement linux timer with timer_create and signals, but
an
exception always fired (External:SIGUSR1).
Hmm, it seems that it's not a 'wrong' exception, I
On Wed, Aug 10, 2011 at 4:34 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
Can I somehow tell it to
ignore some, for example 'SIG35'? I tried to add it to Language exceptions
ignore list as 'External: SIG35', 'External:SIG35' (without space), SIG35.
Nothing helped.
handle SIG35 nostop
On 10 Aug 2011, at 15:32, Max Vlasov wrote:
On Wed, Aug 10, 2011 at 4:34 PM, Jonas Maebe jonas.ma...@elis.ugent.be
wrote:
Can I somehow tell it to
ignore some, for example 'SIG35'? I tried to add it to Language
exceptions
ignore list as 'External: SIG35', 'External:SIG35' (without
On 10-8-2011 9:49, Ludo Brands wrote:
Oops, sorry, you're right. Your cygwin diffs don't seem to
agree with (the way I use) fpc patch; I got it to apply only
the first part of the patch... Now it works.
The patches I upload to bugs.freepascal are made with svn diff. The ones I
sent you
On 10-8-2011 11:51, Ludo Brands wrote:
I do get a segfault in the last test when assigning to
ftWideString256. When tracing the code it crashes when moving the
size+1 chracters to the database. This fixed length moving is
fundamentally wrong. The string is only 20 or so chars long and
On Wed, Aug 10, 2011 at 5:43 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
I tried adding
--eval-command=handle SIGUSR1 nostop noprint pass
While this won't solve your problem, as Michael said you should not use
SIGUSR1 because it's probably already used by the system.
SIG35 behaves
On 10 Aug 2011, at 16:12, Max Vlasov wrote:
SIG35 behaves the same. Strangely, I looked in system monitor for gdb
command-line, it looked ok
/usr/bin/gdb -silent -i mi -nx --eval-command=handle SIG35 nostop
noprint
pass
but after the same Initialization output dialog it still stops with
On Wed, Aug 10, 2011 at 6:20 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
On 10 Aug 2011, at 16:12, Max Vlasov wrote:
SIG35 behaves the same. Strangely, I looked in system monitor for gdb
command-line, it looked ok
/usr/bin/gdb -silent -i mi -nx --eval-command=handle SIG35 nostop
Am 10.08.11 16:56, schrieb Max Vlasov:
Jonas, I see that you probably have your reasons not to use gdb inside
the lazarus, but it was quite decent for me until this strange
unavoidable moment :) It still is, hope I will find a work around
Max
Max,
This works (for me)
1) Add a file like :
On Wed, Aug 10, 2011 at 7:28 PM, Helmut Hartl helmut.ha...@firmos.atwrote:
Am 10.08.11 16:56, schrieb Max Vlasov:
Jonas, I see that you probably have your reasons not to use gdb inside the
lazarus, but it was quite decent for me until this strange unavoidable
moment :) It still is, hope I
Hello.
I have the following program:
program atest;
{$mode objfpc}{$H+}
uses
Classes, SysUtils, fgl;
type
TMyClass = class end;
TControlObjectSpecializedWithAVeryLongNameOfClass = class end;
{$IFDEF USELONGNAME}
TMyType = TControlObjectSpecializedWithAVeryLongNameOfClass; // Error
Hi,
For people working with new OpenGL features: I just submitted a patch
to upgrade our GLX unit to GLX 1.4, add some new GLX extensions, and
add comfortable functions to check existence of a particular GLX
extension/version. This allows you to easily use modern GLX FB
config functions to
I am using the latest synaser (007.005.002) from the synapse library
which works just fine with (USB) serial ports on Linux and Windows but
Mac OSX 10.6 it is proving problematic.
The call which opens the port (synaser.pas:946) is:
FHandle := THandle(fpOpen(FDevice, O_RDWR or O_SYNC));
where
28 matches
Mail list logo