This is exactly what I needed.
-alr -sr -Amasm does it. I just put them into my fpc.cfg .
Thanks for all the help guys.
On 8/21/2012 00:16, Jonas Maebe wrote:
On 21 Aug 2012, at 08:32, ABorka wrote:
On 8/20/2012 22:37, Sergei Gorelkin wrote:
-R switch controls parsing assembler blocks
It would be nice to see it work with objdump also, but not a priority.
With your help guys I was able to get the needed output using the
fpc.cfg and the FPC parameters you guys mentioned.
Thanks for the help
...snip...
On 8/21/2012 00:19, Sergei Gorelkin wrote:
21.08.2012 10:32, ABorka пишет
Yes, you are right.
I just comment out the options within fpc.cfg after I got the asm files
(*.s) for study.
On 8/21/2012 00:53, Sven Barth wrote:
Am 21.08.2012 09:35, schrieb ABorka:
This is exactly what I needed.
-alr -sr -Amasm does it. I just put them into my fpc.cfg .
Why did you put
Is there a way to see the generated .s assembly files as Intel syntax
instead of the ATT one?
The -Rintel flag does not seem to work, or I am doing something wrong.
Tried command line and fpc.cfg both, on win32 and win64, latest SVN .
___
fpc-devel
Hi,
Win32 .exe compiled on Win64 computer, latest SVN build.
I am trying to multiply 2 Integers (Declared as LongInt but sometimes
need to use it as LongWord) and put the result into a QWord (64bit
unsigned) result variable on Win32.
However, it seems that the result is always cut to 32bit.
Hi,
I was not able to create a cross-compiled version of the SVN trunk FPC
for some reason.
Win7 64bit (FPC 2.6.0 - 2.7.1)
1. Brand new system, installed the 2.6.0 FPCOK
2. Compiled the default 32bit FPC OK
3. Tried to compile the 64bit cross library and getting the following:
] On Behalf Of ABorka
Sent: Friday, August 17, 2012 9:05 AM
To: FPC developers' list
Subject: [fpc-devel] Crosscompiling problem on Win7 64bit
Hi,
I was not able to create a cross-compiled version of the SVN trunk FPC for
some reason.
Win7 64bit (FPC 2.6.0 - 2.7.1)
1. Brand new system, installed
SVN 22101 works
Thx
On 8/17/2012 00:45, Thomas Schatzl wrote:
Hi,
On Fri, 2012-08-17 at 00:37 -0700, ABorka wrote:
The error comes during the
make all OS_TARGET=win64 CPU_TARGET=x86_64 === error comes here
[..]
Can you please update to latest or make sure you're on the latest
revision
On 9/25/2011 02:54, Felipe Monteiro de Carvalho wrote:
Hello,
Accessing http://bugs.freepascal.org/login_page.php
Using the following user agent (Opera in Mac OS X):
Opera/9.80 (Macintosh; Intel Mac OS X 10.6.1; U; en) Presto/2.9.168
Version/11.50
I get:
HTTP/1.1 400 Bad Request
Date: Sun,
OK, I just updated to the latest SVN trunk for FPC and Lazarus, and
recompiled them on Linux (make clean all as user, then sudo make
install).
I deleted ~./lazarus to have only the basic packages at first.
After executing startlazarus as a user from my home dir like I did a
million times
sysutils.pp(243,40) Error: Identifier not found Mode
sysutils.pp(819,3) Warning: Symbol GetLocaleFormatSettings is not portable
sysutils.pp(1277) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
___
fpc-devel maillist -
Latest FPC SVN
make clean results in:
.
.
.
make -C fppkg distclean
make[2]: Entering directory `/fpc_svn/packages/fppkg'
make[2]: *** No rule to make target `distclean'. Stop.
make[2]: Leaving directory `/fpc_svn/packages/fppkg'
make[1]: *** [fppkg_distclean] Error 2
make[1]: Leaving directory
Latest FPC SVN 17459:
Doing a make all OS_TARGET=win64 CPU_TARGET=x86_64 crosscompiling with
32bit FPC gives the following error:
=
make -C fpmkunit bootstrap
make[3]: Entering directory `c:/fpc_svn/packages/fpmkunit'
C:/pp/bin/i386-win32/gmkdir.exe -p units_bs/i386-win32
On 4/13/2011 00:07, michael.vancann...@wisa.be wrote:
...snip...
On Mon, 11 Apr 2011, ABorka wrote:
OK, found the problem:
fpweb does not set the content length properly when there was an
exception or error message, it uses the content length from the action
event handler.
For example, if we
On 4/13/2011 00:07, michael.vancann...@wisa.be wrote:
On Mon, 11 Apr 2011, ABorka wrote:
...snip...
OK, found the problem:
fpweb does not set the content length properly when there was an
exception or error message, it uses the content length from the action
event handler.
For example, if we
I was playing today with fpweb a little, and found a simply reproducible
minor problem.
When one creates a new CGI or FCGI application and creates a simple
default action, but NOT setting the handled := true; within the event
handler, then some kind of exception happens within fpweb when the
Hi,
How do we debug an FCGI application from within Lazarus? The RUN
function is disabled in the RUN menu, so I can not start it up after
putting some break points in the IDE.
AB
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
On 4/12/2011 01:31, ABorka wrote:
On 4/12/2011 00:01, michael.vancann...@wisa.be wrote:
On Mon, 11 Apr 2011, ABorka wrote:
I was playing today with fpweb a little, and found a simply
reproducible minor problem.
When one creates a new CGI or FCGI application and creates a simple
default
entered as
http://bugs.freepascal.org/view.php?id=19153
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
WinXP 32bit, latest FPC SVN trunk, everything is default, not cross
compiling
1. make all creates all the units properly, into the right places.
2. make install gets to the fcl-web package, and the files are copied
into ../.. (basically the units/i386-win32/fcl-web directory gets
created in
On 4/9/2011 11:26, Joost van der Sluis wrote:
On Sat, 2011-04-09 at 00:22 -0700, ABorka wrote:
Is it intentional that the fcl-web package is not copied when make
install is called?
make all compiles the units properly, they are just not copied by
make install.
Are you sure? Which files do you
On 4/9/2011 12:43, ABorka wrote:
On 4/9/2011 11:26, Joost van der Sluis wrote:
On Sat, 2011-04-09 at 00:22 -0700, ABorka wrote:
Is it intentional that the fcl-web package is not copied when make
install is called?
make all compiles the units properly, they are just not copied by
make install
Just like the make install does not copy the FCL-web units to the
right place, make clean does not remove them either. Here is the output:
.
.
.
C:/pp/bin/i386-win32/make.EXE -C fcl-web distclean
make.EXE[2]: Entering directory `C:/fpc_svn/packages/fcl-web'
make.EXE[2]: Nothing to be done for
On 4/9/2011 14:37, Joost van der Sluis wrote:
On Sat, 2011-04-09 at 13:05 -0700, ABorka wrote:
Just like the make install does not copy the FCL-web units to the
right place, make clean does not remove them either. Here is the output:
.
.
.
C:/pp/bin/i386-win32/make.EXE -C fcl-web distclean
https://forums.codegear.com/thread.jspa?threadID=52117tstart=0
We can check it out and do some comparisons now.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
...snip...
The only thing I've noticed is that with XML the text MySQL fields
are not coming over to ExtJS, they only say (MEMO) . Is that because
XML does not allow UTF8 or something?
No, this is a bug. I fixed it already in JSON (since I use that), but
not yet in XML.
Some non-text fields
...snip...
I will add an 'AfterFormatResult' or so event; Likewise I will add a
AfterRow event, so it is possible to append extra data to a row. I think
we should do this for both XML and JSON, so the row/response elements
can easily be accessed. The question is now, a) do I make this a
...snip...
Exceptions are usually caught and transformed to the correct response.
I coded an event that allows to influence this process.
Michael.
Yes, the ones raised within FCL-web are caught. I was thinking about the
ones raised within the developer's code, when handling the actions, or
I implemented b), see revision 15859.
Tested it, and it seems to work nicely both for JSON and XML.
I'm using the AfterDataToJSON and AfterDataToXML events to
replace/insert the correct total now.
The only thing I've noticed is that with XML the text MySQL fields are
not coming over to
...snip...
2. How can I provide the correct total for the response if I only
loaded exactly the records requested by ExtJS into the dataset but not
the whole table?
Ex: Have a table with 1000 records, I'm on page 2 of the grid that has
a page limit of 50 records.
Of the total 1000 records, only
...snip...
Well, I have no idea. As far as I know, the 'total' is only needed for
display purposes in a paging grid. You'd need to run a second query
which
counts the number of records that would be returned if no paging was
requested.
Michael.
I understand.
However, how do we send back our
...snip...
ExtJS however, will only have 'remote' type if the server response is
proper for it (having a root /which is rows/ in our case), all other
cases instead of 'remote' it has the type 'response', regardless of our
success property being true or false.
Unfortunately, the ExtJS
...snip...
I don't 100% agree: the exception() handler must also be able to handle
'response'.
If there is a server crash or so (which will result in a 500 error code)
, it must also be able to handle that.
We can add the rows for convenience, but nevertheless the error handler
must also
..snip...
We can add the rows for convenience, but nevertheless the error handler
must also handle the 'response' case.
Michael.
Hi Michael,
I've created an updated ExtJS error handler for the demo programs that
handle all these response messages from FCL-web without the need to
change the
Hi,
1. Should not the JSON replies have a total returned always like the
XML replies?
Right now total is not returned if the start/limit is not passed
to the formatter.
2. How can I provide the correct total for the response if I only
loaded exactly the records requested by ExtJS into the
did some more testing:
ROUND 4
1. minor note: We should not forget that field names are case sensitive
in ExtJS, so any database field names need to be entered exactly:
ex:
fields: [id,login,name,email, lastlogin]
is not the same as
fields: [ID,LOGIN,NAME,EMAIL, LASTLOGIN]
or
On 6/7/2010 16:40, Leonardo M. Ramé wrote:
Hi, when I use html templates with tags that contains inner tags, the
ReplaceTag event is fired only once, for the 1st order tag, but not for
the inner tags.
Example, a home page containing a header (a tag) and a body which
contains another tag like,
Hi, is it possible to call actions this way?:
http://host/cgi-bin/myprog/action1
instead of
http://host/cgi-bin/myprog?action=action1
I thougth that the designed behavior was to call any action by its name like:
http://host/cgi-bin/myprog/action1
http://host/cgi-bin/myprog/action2
But that
It seems it got closed, but I'm not sure it is really fixed (can't add
notes now).
http://bugs.freepascal.org/view.php?id=12594
In D5 the DFM files are something like this with bitbuttons:
.
.
.
object BitBtn1: TBitBtn
Left = 96
Top = 52
Width = 75
Height = 25
TabOrder = 1
Thanks for the help.
It appears that the GetLastOSError is 9 for these errors.
In the errno.inc for Linux, that is
ESysEBADF = 9;{ Bad file number }
I'm not exactly sure what this means though.
Right now as a workaround, when this happens, I do a sleep(100) and
retry the page
294692
For now, I'm retrying again the page generation if an exception happens.
So far seems to be working, but will need more time to really see. It
was rare to happen.
AB
On 3/14/2010 16:08, Jonas Maebe wrote:
On 14 Mar 2010, at 23:39, ABorka wrote:
I have a CGI application
When creating a web application, for example CGI Application in Lazarus,
and adding an action to the web module, the automatically generated
procedure name only contains a number and not the given action name.
For example, creating an action with a name ABC will generate a
OnRequest procedure
Thanks Jonas, using 2.4.0 for the 1st compile worked.
I guess I shouldn't wait months before recompiling the latest SVN :)
On 2/13/2010 02:15, Jonas Maebe wrote:
On 13 Feb 2010, at 11:10, ABorka wrote:
My ppc386.exe is v2.5.1 compiled back in September
Building FPC svn trunk has always
gives the following error for make all (win xp 32bit)
C:/pp/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems
-FuC:/.../fpc_svn/rtl/units/i386-win32 -Fii386 -FE. -FUi386/u
nits/i386-win32 -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
optcse.pas(166,24) Warning: Converting
Fresh lazarus svn checkout rev21988 on Linux
Compiling lazconfigstorage.pas
lresources.pp(2250,17) Error: Identifier not found vaQWord
lresources.pp(2250,17) Error: Constant Expression expected
lresources.pp(2250,17) Error: duplicate case label
lresources.pp(5514) Fatal: There were 3 errors
You guys are correct about the pricing, of course.
But $1K is peanuts if the finished application will be presented to
30-40 million people for download.
Considering what I read about obj C development... I think many
people/companies would happily pay the price to have some nice language
for
Well, according to Apple the number is 50M :
http://www.theiphoneblog.com/2009/09/10/apple-music-event-numbers-30m-iphones-20m-ipod-touches-75k-apps-18b-downloads/
dmitry boyarintsev wrote:
But $1K is peanuts if the finished application will be presented to 30-40
million people for download.
How is freepascal's iphone development compares to this latest mono way
of creating native iphone apps?
http://arstechnica.com/open-source/news/2009/09/monotouch-drops-net-into-apples-walled-app-garden.ars
Reading the wiki it is not really a snap to set it up to be able to
develop iphone
lNet latest SVN revision 2316 gives
.
.
.
Target OS: Win32 for i386
Compiling ludp.pp
ludp.pp(84,26) Error: Identifier not found LADDR_BR
ludp.pp(116) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
.
.
.
with the latest FPC svn rev 13686
Aleš Katona wrote:
Hi,
Trying to send emails and load web pages from Lazarus/FPC programs.
Since the latest Indy cannot be compiled and used in Lazarus/Freepascal
at the moment (it seems at least so), I have tried to start using lNet.
However, it seems it does not compile either.
The lNet SVN gives:
.
.
.
No, just with the latest FPC/Lazarus SVN
Vincent Snijders wrote:
ABorka schreef:
Hi,
Trying to send emails and load web pages from Lazarus/FPC programs.
Since the latest Indy cannot be compiled and used in
Lazarus/Freepascal at the moment (it seems at least so), I have tried
to start using
exported function isn't called,
I'm using the same code ABorka used in this example.
This is my configuration:
Free Pascal Compiler version 2.2.4-3 [2009/06/03] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Linux debian 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 GNU/Linux
Leonardo
If the custom variants need to stay then the descriptions for each
must state exactly what is the difference between the custom and not
custom and when they should be used.
Currently, anyone who is not an FPC/Lazarus professional developer
already, cannot decide based on the description.
I do
Done as
http://bugs.freepascal.org/view.php?id=13965
Joost van der Sluis wrote:
Op woensdag 10-06-2009 om 17:19 uur [tijdzone -0700], schreef ABorka:
Adding fcgi-support was only two hours work. Other systems can be added
as wel. Next on my list is a native web-server using lnet, so
Adding fcgi-support was only two hours work. Other systems can be added
as wel. Next on my list is a native web-server using lnet, so that
debugging is even easier. (I'm absolutely sure that posting all messages
about fcl-web not supportinf fcgi was more work then actually adding the
fillchar(tmp, sizeof(tmp), #0);
gives the Hint: Local variable tmp does not seem to be initialized
message upon compilation, which should not happen because it is actually
the initialization.
___
fpc-devel maillist -
('Redirected to:' + dest);
should work as is. But it does not.
UTF8 and ANSI conversion problems cannot happen here because dest is a
URL so the UTF8 and ANSI characters are the same.
Jonas Maebe wrote:
On 24 May 2009, at 04:32, ABorka wrote:
In FPC/Lazarus:
procedure TForm1.IdHTTP1Redirect(Sender
Hi,
I came across some strange thing while making a simple program using
Indy 10.
If I use an IdHTTP object to load a web page that redirects to another
one, the new destination URL is not passed properly through the event
handler.
Whether this is an indy or fpc problem, I'm not sure.
Hi Joost,
Can't add notes to resolved reports so I write here instead. :)
I assumed the FCL-web patches/changes I submitted will be applied in
chronological order so there might be a little snag there at the moment.
It seems that now 13228 and 13280 are both applied (with your
I agree. The current ways to debug FPC/Lazarus programs are not up to
the standards even compared to 10-15 years ago Delphi debugging.
Most developers does not want to start digging the underlying
RTL/Component, etc. source codes to figure out what they should enter
into the watch window
if anyone is
interested what is in there (don't panic, only about 50 something lines).
AB
Joost van der Sluis wrote:
Op zaterdag 28-02-2009 om 22:06 uur [tijdzone -0800], schreef ABorka:
I posted the following patch as
http://bugs.freepascal.org/view.php?id=13254
(includes the changes posted
Joost van der Sluis wrote:
Op zaterdag 28-02-2009 om 22:06 uur [tijdzone -0800], schreef ABorka:
I posted the following patch as
http://bugs.freepascal.org/view.php?id=13254
(includes the changes posted in 13250 and 13228 too)
It takes soo long before the patches are applied because they are too
So when someone compiles the FPC from SVN, which httpd and apr sources
will be used for /packages/fcl-web/src/fpapache.pp ?
There are httpd13 httpd20 and httpd22 directories with some identical
unit names (httpd, apr) that are used in fpapache.pp .
Joost van der Sluis wrote:
Op donderdag
Hi,
I posted the following patch as
http://bugs.freepascal.org/view.php?id=13254
(includes the changes posted in 13250 and 13228 too)
1. Added: CGI and Apache applications' temporary uploaded files will be
deleted after a request is handled /html forms with file upload(s)/ so
the files are
Hi,
I stumped into a little confusing part regarding how it is determined
what source and unit files are used by Lazarus and the FPC compiler.
By moving my mouse over a function/procedure call, Lazarus displays the
source code file where that item is declared.
However, it seems that if there
Lazarus
from the Tools menu after a clean install.
Michael Van Canneyt wrote:
On Wed, 18 Feb 2009, ABorka wrote:
Hi,
I'm getting
componenttreeview.pas(41,18) Fatal: Can't find unit ComponentTreeView used by
ObjectInspector
On this computer (win32, XP) rebuilding Lazarus does not work
Hi,
I'm getting
componenttreeview.pas(41,18) Fatal: Can't find unit ComponentTreeView
used by ObjectInspector
On this computer (win32, XP) rebuilding Lazarus does not work.
Steps:
1. Clear all lazarus/fpc directories (except the c:\pp\bin\i386-win32\
so there's a working FPC compiler left
Nice thread - as always when unicode handling is brought up :)
There should really be a decision and feature list as soon as possible
so the implementation can go on. There is really no need to spend a year
on these decisions.
Proper unicode handling strategy/implementation with backward and
True, but if the programs only run on PCs (Windows and Linux on Intel
processors in this case) it should work. Not everyone who considers
using FPC/Lazarus wants to run the compiled programs on 15 platforms.
Sometimes all that is needed is 1 platform.
There are some encrypting/decrypting
Hi,
I'm converting a Delphi program to FPC/lazarus and I did hit a snag with
an asm code part (win32, latest fpc and lazarus svn trunk is used).
I know it is probably simple to fix, but I cannot seem to be able to
figure it out:
function something(s :String; i: Integer):String;
var
Thanks. It seems that
mov al, dl
as well as
xor al, dl
gives error too. I created a bug report
http://bugs.freepascal.org/view.php?id=12595
Daniël Mantione wrote:
Op Sat, 8 Nov 2008, schreef ABorka:
Hi,
I'm converting a Delphi program to FPC/lazarus and I did hit a snag
with an asm
It seems everything works now with the latest apache servers both on
Windows and Linux.
Submitted 3 patches:
fcl-web patch : http://bugs.freepascal.org/view.php?id=12373
fcl/packages/fcl-web/
httpd22 patch : http://bugs.freepascal.org/view.php?id=12374
fcl/packages/httpd22/
lazarus patch :
and waiting.
Any thoughts?
AB
Jonas Maebe wrote:
On 24 Sep 2008, at 10:58, ABorka wrote:
I'm not sure that something is changed to make it incompatible.
The apache modules compiled on windows are only crashing if multiple
requests are coming at the same time, and they are crushing at
function
programs
included in the fcl package directory httpd22/examples)
The record length for module_struct and request_rec are the same for the
fpc compiled apache module and a C compiled module, still the fpc
compiled one does not work.
Marco van de Voort wrote:
In our previous episode, ABorka said
).
The length of module_struct (module = module_struct) is correct compared
to the C compiled working apache modules.
Did these example programs work before fpc supported exports test_module?
Jonas Maebe wrote:
On 28 Sep 2008, at 10:15, ABorka wrote:
Is the exports now supported in Linux or it's
by apache.
Felipe Monteiro de Carvalho wrote:
On Thu, Oct 2, 2008 at 10:53 PM, ABorka [EMAIL PROTECTED] wrote:
It works under Windows with apache 2.2.9 which is even newer version, but
not on Linux with apache 2.2.8 . Is it still needed to be checked on older
Apache versions?
Yes, it's a linux
:)
The C example still works with ap_hook_handler, maybe they made it a
macro or something?
I believe the translation was for apache 2.2.3 header files, based on
the ap_mmn.inc included in fpc/packages/httpd22
In the comments there we can see
* 20051115.2 (2.2.2) added inreslist member
On Linux (Ubuntu 8.04), latest SVN, in fpc/packages/httpd22/...
in httpd.inc inside request_rec:
{ body byte count, for easy access }
bytes_sent: apr_off_t;
{ Last modified time of the requested resource }
mtime: apr_time_t;
in apr.pas :
apr_off_t = Int64;
apr_int64_t =
an empty web page
is returned. Everything works under Windows, but not on Linux.
ABorka wrote:
On Linux (Ubuntu 8.04), latest SVN, in fpc/packages/httpd22/...
in httpd.inc inside request_rec:
{ body byte count, for easy access }
bytes_sent: apr_off_t;
{ Last modified time
OK, after 4 days of pulling my (remaining) hair out I was able to
compile a basic C apache module on Ubuntu 8.04 (apache 2.2.8).
It seems both fpc/lazarus (not working apache module) and the C compiled
(working apache module) one shows
sizeof(request_rec) = 412
sizeof(module_struct) = 56
Nevermind, on Ubuntu the request_rec is only 384 bytes for FPC instead
of 412.
But that still does not explain why the handler function is not even
getting called by apache.
ABorka wrote:
OK, after 4 days of pulling my (remaining) hair out I was able to
compile a basic C apache module
In the apache module examples in /fpc/packages/httpd22/examples/ all of
them has a
Free Pascal only supports exporting variables on Windows note there
and something like
{$ifdef WINDOWS}
exports
test_module name 'test_module';
{$endif}
With Apache 2.2.8 and 2.2.9 (the two I can test) on
I'm not sure that something is changed to make it incompatible.
The apache modules compiled on windows are only crashing if multiple
requests are coming at the same time, and they are crushing at
function/procedure returns (Yes, on Linux it is even worse, since no
module gets even loaded by
Well, it seems we have some progress now.
The
WaitForThreadTerminate(BeginThread(@__dummythread), 300);
seems to fix it on Windows. At least for 2 concurrent requests. For some
reason Apache cannot seem to want to run more than 2 requests at a time.
If more comes in at a time, the first 2
For me in Windows XP 32bit/ FPC (apache modules load properly):
sizeof(request_rec)=416
sizeof(module_struct)=56
For me in Ubuntu 8.04 32bit/ FPC (apache modules don't load):
sizeof(request_rec)=412
sizeof(module_struct)=56
Used exactly the same files to compile a project on Ubuntu but for
.
The crash did not go away. At least on Windows, Apache loads the module
and executes it sometimes. On Linux the apache modules compiled don't
even load.
AB
Michael Van Canneyt wrote:
On Mon, 22 Sep 2008, ABorka wrote:
After some more debugging the result is even stranger:
If I reduce
contains any try/except it is guaranteed not
returning (crashing) after the work is finished for the 2nd caller (2nd
simultaneaous request).
The first simultaneous caller always works without a problem.
Any suggestions?
ABorka wrote:
win32, latest Lazarus and FPC
Any single web request call
Original C header from the Apache 2.2.9 httpd.h :
/** Are we still talking? */
unsigned aborted:1;
/** Are we going to keep the connection alive for another request?
* @see ap_conn_keepalive_e */
ap_conn_keepalive_e keepalive;
/** have
win32, latest Lazarus and FPC
Any single web request call works OK, returning the content.
When 2 browsers are open and calling the web module at the same time
there is a crash happening after the 2nd one finishes working (just made
a loop in the web action which lasts a few seconds to have
Hi,
I'm working on the Apache application (TCustomApacheApplication)
simultaneous request handling.
When the Apache module tries to create additional instances of the web
module I get
`Error: Duplicate name: A component named FPWebModule1 already exists`
How can we create multiple
Hi Michael,
It was created in fpapache.pp in the handlerequest event.
M:=MC.create(self);
It worked without using the createnew, with the latest FPC source code.
AB
On Thu, 18 Sep 2008, ABorka wrote:
Hi,
I'm working on the Apache application (TCustomApacheApplication)
simultaneous
the name, will the next call find the changed named module
for reuse?
On Fri, 19 Sep 2008, ABorka wrote:
Hi Michael,
It was created in fpapache.pp in the handlerequest event.
M:=MC.create(self);
It worked without using the createnew, with the latest FPC source code.
This is weird, because
2008, ABorka wrote:
The thing is that for apache modules it is needed to have multiple
webmodules created for simultaneous requests coming from multiple people
browsing the web server. I was creating some pooling for the web modules
in fpapache.pp and simulated 2 concurrent requests when
After reading the mailing lists more I've played a little bit with this
and it seems that with Zeos (MySQL5) it is working out of the box at
first sight (need some more tests) if one sets the
ZConnection.Properties to
character_set_client=utf8
character_set_connection=utf8
Canneyt wrote:
On Sat, 13 Sep 2008, ABorka wrote:
Hi Michael,
I see 12110 is applied now, super :)
I am trying to improve on the fcl-web and the next step would be to fix the
apache module related things. However, there is a problem I could use some
help with.
It seems that when the apache
.
Failed to initialize component: No streaming method available.
exception is always triggered.
Thanks for any help
AB
Michael Van Canneyt wrote:
On Thu, 11 Sep 2008, ABorka wrote:
Somebody (user name kc87654321) pooped into 12110 thinking that he/she is
posting a new report.
But in fact uploaded
It is not documented at all. Just like the rest of the database-stuff.
But maybe I should write a FAQ for fpc. With the new lazarus-versions
using UTF-8 by default, this is asked quite often.
This would be really nice.
I know I'm not the only one who doesn't want to spend days on hacking
Some conversion problem occurs and empty string put into a TListbox if I
try to get a field value with some special characters from a SQL result.
(using Zeos)
The database field can contain any string with '®' in it for this to happen
for example: 'sometext®'
It seems that
.
Is there a function to convert 'My Perfect™ World®' to whatever format
the components require and vice versa? Something for the ASCII table up
till #255 (English letters with some special characters like the above
example).
JoshyFun wrote:
Hello ABorka,
Thursday, September 11, 2008, 7:26:50 PM
99 matches
Mail list logo