Re: [fpc-devel] fcl-web webdata ExtJS "total" field question

2010-08-20 Thread ABorka
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 E

Re: [fpc-devel] fcl-web webdata ExtJS "total" field question

2010-08-20 Thread Michael Van Canneyt
On Fri, 20 Aug 2010, ABorka wrote: ...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'

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote: What should I be doing here- using both -Cf and -d? Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default. Thanks Jonas, work continues and I'll report back. Is there a way of

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Mark Morgan Lloyd
Henry Vermaak wrote: I've managed to get trunk working on my slug (also on debian lenny) quite a while ago, so I hope it's still possible. I was using trunk to build a cross compiler, though. Thanks Henry. I've definitely had both FPC and Lazarus running natively on ARM in the past, but I su

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Henry Vermaak
On 20 August 2010 21:38, Mark Morgan Lloyd wrote: > Jonas Maebe wrote: >> >> On 20 Aug 2010, at 17:47, Mark Morgan Lloyd wrote: >> >>> Is what I am doing reasonable, or should I- as an example- be using 2.4.0 >>> to rebuild itself with -CaEABI before trying to go any further? >> >> It's best to co

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Jonas Maebe
On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote: > What should I be doing here- using both -Cf and -d? Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default. Jonas___ fpc-devel maillist - fpc-devel@list

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 20 Aug 2010, at 17:47, Mark Morgan Lloyd wrote: Is what I am doing reasonable, or should I- as an example- be using 2.4.0 to rebuild itself with -CaEABI before trying to go any further? It's best to compile 2.4.0 with -dFPC_ARMEL (no need to use -CaEABI) and use the re

Re: [fpc-devel] fcl-web webdata ExtJS "total" field question

2010-08-20 Thread ABorka
...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

Re: [fpc-devel] NoGlobals branch

2010-08-20 Thread Florian Klämpfl
Am 20.08.2010 20:29, schrieb Hans-Peter Diettrich: > Florian Klaempfl schrieb: > >>> Currently the introduction of a new target CPU requires to update many >>> parts of the existing general compiler units, >> >> E.g.? >> >> I just greped for ifdef sparc in the general compiler directory: >> 11 hi

Re: [fpc-devel] NoGlobals branch

2010-08-20 Thread Hans-Peter Diettrich
Florian Klaempfl schrieb: Currently the introduction of a new target CPU requires to update many parts of the existing general compiler units, E.g.? I just greped for ifdef sparc in the general compiler directory: 11 hits: Try the same with i386, and get hits somewhere else :-( The prob

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Stefan Kisdaroczi
On 20.08.2010 18:51, Stefan Kisdaroczi wrote: > On 20.08.2010 17:47, Mark Morgan Lloyd wrote: > >> I've previously had FPC (and Lazarus) running natively on Debian ARM, >> but I think it was "Etch"- things got a bit cloudy after that. The >> kernel being shipped with Lenny is 2.6.26-2 and I note

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Stefan Kisdaroczi
On 20.08.2010 17:47, Mark Morgan Lloyd wrote: > I've previously had FPC (and Lazarus) running natively on Debian ARM, > but I think it was "Etch"- things got a bit cloudy after that. The > kernel being shipped with Lenny is 2.6.26-2 and I note > > CONFIG_AEABI=y > CONFIG_OABI_COMPAT=y > > If I down

Re: [fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Jonas Maebe
On 20 Aug 2010, at 17:47, Mark Morgan Lloyd wrote: > Is what I am doing reasonable, or should I- as an example- be using 2.4.0 to > rebuild itself with -CaEABI before trying to go any further? It's best to compile 2.4.0 with -dFPC_ARMEL (no need to use -CaEABI) and use the resulting compiler.

[fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

2010-08-20 Thread Mark Morgan Lloyd
I've previously had FPC (and Lazarus) running natively on Debian ARM, but I think it was "Etch"- things got a bit cloudy after that. The kernel being shipped with Lenny is 2.6.26-2 and I note CONFIG_AEABI=y CONFIG_OABI_COMPAT=y If I download the binary for 2.2.2 it won't compile a trivial app

Re: [fpc-devel] NoGlobals branch

2010-08-20 Thread Florian Klaempfl
Am 20.08.2010 12:39, schrieb Hans-Peter Diettrich: > Jonas Maebe schrieb: > >>> Such complications can be eliminated by a refactoring of the >>> targets, into dedicated classes. This can be done in the same >>> branch, because the existing units (in the target directories) have >>> conflicting nam

Re: [fpc-devel] GPM vs Debian warning messages

2010-08-20 Thread Jonas Maebe
On 20 Aug 2010, at 11:34, Mark Morgan Lloyd wrote: Looking at http://www.freepascal.org/probs.var I see that FPC still has bug 0008416 open and marked "not fixable", but that it was fixed from the Debian side in February '08 (their http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412927) .

Re: [fpc-devel] NoGlobals branch

2010-08-20 Thread Hans-Peter Diettrich
Jonas Maebe schrieb: Such complications can be eliminated by a refactoring of the targets, into dedicated classes. This can be done in the same branch, because the existing units (in the target directories) have conflicting names, and consequently must be replaced by new unit trees - something s

Re: [fpc-devel] NoGlobals branch

2010-08-20 Thread Hans-Peter Diettrich
Jonas Maebe schrieb: Run the following command in the compiler directory: make fullcycle There seems to exist a problem with the compiler configuration. This call looks good and works as expected: D:/repos/NoGlobals/compiler/ppc2.exe -Fux86_64 -Fusystems -Fu../rtl/units/x86_64-win64 -Fix8

[fpc-devel] GPM vs Debian warning messages

2010-08-20 Thread Mark Morgan Lloyd
Looking at http://www.freepascal.org/probs.var I see that FPC still has bug 0008416 open and marked "not fixable", but that it was fixed from the Debian side in February '08 (their http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412927). Would it be appropriate for somebody to remove the star

Re: [fpc-devel] fcl-web webdata ExtJS "total" field question

2010-08-20 Thread Michael Van Canneyt
On Fri, 20 Aug 2010, ABorka wrote: ...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 questio

Re: [fpc-devel] fcl-web webdata ExtJS "total" field question

2010-08-20 Thread ABorka
...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 TNotifyEv

Re: [fpc-devel] Wiki language

2010-08-20 Thread Graeme Geldenhuys
Op 2010-08-20 09:16, Desmond Coertzen het geskryf: > Hello, > > Who did the Afrikaans (AF) section of the wiki pages? > Graeme was that you? Yes. Every now and then I feel very patriotic and update some Afrikaans articles in Wikipedia or FPC/Lazarus Wiki. :) > I would like to contribute transla

Re: [fpc-devel] fcl-web webdata ExtJS "total" field question

2010-08-20 Thread Michael Van Canneyt
On Thu, 19 Aug 2010, ABorka wrote: ...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 understa

[fpc-devel] Wiki language

2010-08-20 Thread Desmond Coertzen
Hello, Who did the Afrikaans (AF) section of the wiki pages? Graeme was that you? I would like to contribute translations to any outstanding translations. How do I go about this? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.f