Re: [fpc-pascal] Request redirection + login session in fpweb

2012-03-29 Thread michael
if (Session.Variables['UserID']='') then Response.SendRedirect('Yourloginurl'); Redirect the request back to its referer (I could get the referer from ARequest.Referer) Do something like this: if LoginSuccesfull then begin Session.Variables['UserID&#x

Re: [fpc-pascal] Processing passwords etc.

2014-04-13 Thread michael
> On 04/13/2014 09:02 AM, Michael Van Canneyt wrote: >> > >> >> You are right. A logic error. ReallocMem is the more tricky one. >> Revised. > > In case of a block move, the memory (OP) is already freed when you > clear/scramble it. I'm afraid you can

Re: [fpc-pascal] Re: RE : RE : Re: SQLDB GetSchemaInfoSQL for indexes etc?

2012-04-19 Thread michael . vancanneyt
sily get useful info from an ISO SQL 92+ compliant database.. Anybody against this? Michael? Joost? Not against. Has anybody used this functionality in sqldb at all? No. For a simple reason: I implemented all this information in fpdatadict; I think it belongs more there, and definitely

Re: [fpc-pascal] Re: RE : RE : Re: SQLDB GetSchemaInfoSQL for indexes etc?

2012-04-19 Thread michael . vancanneyt
to the information_schema standard seems like a good idea - especially because it will make it easier to easily get useful info from an ISO SQL 92+ compliant database.. Anybody against this? Michael? Joost? Not against. Has anybody used this functionality in sqldb at all? No. For a simple r

Re: RE : [fpc-pascal] Re: RE : RE : Re: SQLDB GetSchemaInfoSQL for indexesetc?

2012-04-19 Thread michael . vancanneyt
int if I hear that word ;) ) But adding some aliases and add new features such as octet_length should not be a problem (NUMERIC_SCALE exists in precision). Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or

Re: [fpc-pascal] Re: RE : RE : Re: SQLDB GetSchemaInfoSQL for indexes etc?

2012-04-19 Thread michael . vancanneyt
nes; Maybe it will gain wider acceptance, and the same then for the lazarus data database desktop. I use it daily, but then, I use firebird... Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: RE : RE : [fpc-pascal] Re: RE : RE : Re: SQLDB GetSchemaInfoSQL forindexesetc?

2012-04-19 Thread michael . vancanneyt
confusing, but I blame Borland employees for that ;-) Like I said: adding some aliases should take care of this. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: RE : RE : [fpc-pascal] Re: RE : RE : Re: SQLDB GetSchemaInfoSQL forindexesetc?

2012-04-19 Thread michael . vancanneyt
ionary is the schema ? Unless I misunderstand the meaning of schema :-) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling from and to memory

2012-04-20 Thread michael . vancanneyt
from within a program, I was not able to find any information. Is this possible? If yes, how should I proceed? It is currently not possible. FPC always reads from and writes to files. Michael. ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] SQLDB: logging all generated SQL?

2012-04-26 Thread michael . vancanneyt
and where to find it? Perhaps something to do with TSQLConnection.LogEvents? That's the one. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] InstantFPC and argv

2012-05-04 Thread michael . vancanneyt
cript location? Is there an alternative way? The solution can be found on http://www.freepascal.org/docs-html/prog/progsu38.html Const ScriptName = {$INCLUDE FILE}; Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] InstantFPC and argv

2012-05-04 Thread michael . vancanneyt
n the name of the temporary script file. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Catching math exceptions in a DLL

2012-05-16 Thread michael . vancanneyt
bably running into http://bugs.freepascal.org/view.php?id=12974 Wasn't Sergei working on SEH under windows ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpimage blur

2012-05-31 Thread michael . vancanneyt
On Thu, 31 May 2012, Mattias Gaertner wrote: Hi, Is there a function to blur an entire fpimage or a rectangular area? Not to my knowledge. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-12 Thread michael . vancanneyt
7;s hardly necessary to create a wrapper. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Adding method dynamically to a class

2012-06-19 Thread michael . vancanneyt
a way to make at some point of my code execution, that Bar will be a method of TTest ? Or maybe for a specific instance of TTest ? As far as I know there is no language structure for this, unless the objective C classes support offers this. Michael. __

Re: [fpc-pascal] Adding method dynamically to a class

2012-06-20 Thread michael . vancanneyt
I can see, or is made easier by dynamically adding methods. So finally, what is gained by adding them dynamically ? Or what forces you to even consider this path ? Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

Re: [fpc-pascal] Adding method dynamically to a class

2012-06-20 Thread michael . vancanneyt
d, and not to touch other stuff, and that requires me to design an engine instead. This is understandable, but none of this explains why you would need to add a method to a class ? I have a similar system, but do not need to add methods to a class ? Michael.

Re: [fpc-pascal] Win64 SEH patch fixes some Firebird embedded bugs

2012-06-21 Thread michael . vancanneyt
fixed the issue, recommend to enable SEH by default on Win64. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Windows Phone 8 + pascal

2012-06-25 Thread michael . vancanneyt
vented yet another technology/API. Their partners must go crazy :/ Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Windows Phone 8 + pascal

2012-06-25 Thread michael . vancanneyt
e new developer is faced with the choice: which one ? if you're in it for the long term, this is a crucial decision. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Unhandled exception from library crashes host exe

2012-06-27 Thread michael . vancanneyt
ure. I am not sure the problem can be solved correctly with the compiler as-is, but the compiler people should confirm or deny this. Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Should FCL documentation be splitted?

2012-07-05 Thread michael . vancanneyt
) would it be better to split the documentation as well? No, it's better to keep it together: 1. to have an overview of what is available. 2. cross-referencing across packages in documentation is not easy. Michael. ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] How to write text to the console?

2012-07-16 Thread michael . vancanneyt
ables. Should I set the console codepage back to the one in use before the program ran? Should I also mess with SetConsoleCP and/or SetTextCodePage? These don't exist on non-windows ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: RE : [fpc-pascal] Database problem on Solaris SPARC

2012-07-16 Thread michael . vancanneyt
TIBConnection from the registercomponents call as well. If that works, we'll put it in the sources in SVN. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: RE : Database problem on Solaris SPARC

2012-07-16 Thread michael . vancanneyt
t make it "not supported". Firebird rocks! :) That means we should compile & distribute IBase and ibconnection in FPC, because I think currently they are not. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lis

Re: [fpc-pascal] Re: RE : Database problem on Solaris SPARC

2012-07-16 Thread michael . vancanneyt
to be x86-only. Apparently, it is available for your platform too. Strange that it was removed from trunk, though. We'll need to re-enable it. Maybe it is the switch to fpmake that caused this. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-18 Thread michael . vancanneyt
t on unix, and on windows a Windows window handle to copy data. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-18 Thread michael . vancanneyt
s no defense"). No need to apologize, I'm just curious where you got your info from. The implementation has been the same since day 1, which means your statement puzzles me. So instead of re-inventing the wheel, maybe have a closer look again at the sta

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-18 Thread michael . vancanneyt
meant the SimpleIPC unit from the FCL: http://lazarus-ccr.sourceforge.net/docs/fcl/simpleipc/index.html Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Generating templates with FPTemplate

2012-07-27 Thread michael . vancanneyt
program e30; {$mode objfpc}{$H+} uses fptemplate, classes; var T : TTemplateParser; BEGIN T := TTemplateParser.create; try T.StartDelimiter:='<#'; T.EndDelimiter:='>'; T.values['name'] := 'freevox'; T.values['

Re: [fpc-pascal] Generating templates with FPTemplate

2012-07-27 Thread michael . vancanneyt
On Fri, 27 Jul 2012, Luciano de Souza wrote: Michael, Your example is very clear. I am not very good to understand source codes. But this style seems to be very good and logical. It's really wonderful: FPC owns units for everything! Well, I use FPC for everything. So, I need tool

Re: [fpc-pascal] Initialization of class field

2012-07-31 Thread michael . vancanneyt
is in overrided constructor, but above example is much faster. Object Pascal currently does not support this, except maybe for static class variables. The compiler people should confirm this. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] strlen and nil

2012-08-01 Thread michael . vancanneyt
does not say what happens when passing nil. Both the generic and assembler implementation return 0. Thanks. Can this be added to the docs? Done. rev. 930. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread michael . vancanneyt
. (the definition of the first day of the week differs from region to region iirc) But the FPC docs don't mention what the first day of the week is for that function, OR its compliance. It is monday=1..sunday=7, and the whole unit is supposed to be ISO

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
ne in packages\fcl-res\xml) but not in the bin directory. IIRC, fpdoc picks up fpdoc.css when generating HTML/CHM output. Shouldn't fpdoc.css be also present under the bin directory then? No. You're responsible for putting this file wherever it needs to be

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
file. You can perfectly create one from scratch, or adapt the existing one. Since we do not know what you want to do, we do not 'automagically' copy it to the output. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org ht

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
If you do not specify the location with --css-file, then fpdoc does not look in the bin directory, only in the current working directory. That we should distribute the file somewhere is something I agree on, but I do not think it should be in the bin directory;

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
ide on the bin dir anyway, then so be it... Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
fpdoc.css should be distributed. The only question is: where should we put it ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
hers in other versions... What about the fpc root directory then? I think it is better to have it in fpc/docs. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
k. So: \docs for Windows and on Linux/Unix/(OSX??) Jonas' suggestion $PREFIX/share/doc/fpc-$fpcversion/ Seems like the reasonable thing, yes. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/li

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
n file for fpdoc than its documentation, isn't it? From this point of view, shouldn't SysUtils.GetAppConfigDir serve as the most reasonable location? It is definitely not a config file. It is a file that must be copied to every project you want to document

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
) Thinking about it, I will change fpdoc so it does not need the file installed, but generates it if not present, as Graeme suggested. That will be far easier, and causes less headaches and discussion. Michael. ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread michael . vancanneyt
erested in changing the design of our FPC documentation. The file in the docs dir is there so they can copy it. It will never be used directly. Anyway, it's all moot now, I will let fpdoc generate the file. Michael. ___ fpc-pascal maillist

Re: [fpc-pascal] Malformed email messages

2012-08-16 Thread Michael Schneider
Am Thursday 16 August 2012 14:53:05 schrieb microc...@zoho.com: > Is anybody else receiving mailformed emails from the list? > > I've received several, most or all from Marco, with all with most of the > headers appearing as text since there is an extra blank line between the > X-Mailer header and

Re: [fpc-pascal] Possible RTFM question: is there something like an IsRootPath() function?

2012-08-19 Thread michael . vancanneyt
On Mon, 20 Aug 2012, Bart wrote: Hi, Does fpc have a function that determines if a given paths is the root (e.g. '/' in Linux, 'F:\' in Windows)? I could not find such a thing. There is no such function. Michael. ___ fpc-pas

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread michael . vancanneyt
?id=22691 Applied, thank you. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread michael . vancanneyt
more serious problem, IMHO. (and one which would exist even if I had followed your suggestion of implementing the property in TSQLConnection). Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/lis

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread michael . vancanneyt
of Loaded, I will see for some kind of hook mechanism. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Easier fpmake

2012-08-23 Thread michael . vancanneyt
On Wed, 22 Aug 2012, Tomas Hajny wrote: On 22 Aug 12, at 19:03, Michael Van Canneyt wrote: Hi Michael, As you know, FPC uses fpmake to compile everything in packages. As I've been steadily improving fcl-passrc for fpdoc, (it's now almost on par with the compiler, barring

Re: [fpc-pascal] Unit testing aid...

2012-08-23 Thread michael . vancanneyt
On Wed, 22 Aug 2012, Martin wrote: On 22/08/2012 18:08, Michael Van Canneyt wrote: Hi, for those that do unit testing, I committed a small tool "pas2ut" which analyses a unit, and creates a unit with a number of (empty) test cases. Obviously, the unit should be compileable (well

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-30 Thread michael . vancanneyt
us functions, then Pascal is simply not for you. Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-30 Thread michael . vancanneyt
feature. Especially such an abomination as lambda functions, which totally destroys readability. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-30 Thread michael . vancanneyt
in a pascal-ish way, i.e. rather verbose. Simply because it is Pascal, after all, and not some C derivative language (java, C#, Javascript, PHP, Perl whatnot...) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-30 Thread michael . vancanneyt
reading docs, i admired it. Like probably you do. Not really: it breaks my eyes, just as it does in JavaScript :( Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Firebird: bulk insert performance: suggestions?

2012-09-07 Thread michael . vancanneyt
I once did tests with that (600.000 records) and did not notice any influence of the transaction control. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Firebird: bulk insert performance: suggestions?

2012-09-07 Thread michael . vancanneyt
d it, thanks. I thought sqldb would prepare automatically if you are using parameters though? If it prepares the statement automatically, it also unprepares it. (at least, it should :) ) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] SDFDataset users!?

2012-09-24 Thread michael . vancanneyt
more tests. 2. Presumably sdfdataset is used to exchange data with Delphi systems using tstrings.delimitedtext. Therefore I'm stressing Delphi compatibility in my tests. Do you think this is justified? No, definitely not. The two are totally unrelated. Michael. ___

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread michael . vancanneyt
On Tue, 25 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 18:43, Michael Van Canneyt wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 17:22, michael.vancanneyt-0is9kj9sb0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread michael . vancanneyt
because that is how I perceived the original question :-) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread michael . vancanneyt
nect then. I've responded to your other mail ;) Friends? ;) I have never thought otherwise :-) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-25 Thread michael . vancanneyt
On Tue, 25 Sep 2012, Reinier Olislagers wrote: On 25-9-2012 10:11, michael.vancann...@wisa.be wrote: On Tue, 25 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 18:43, Michael Van Canneyt wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 17:22, michael.vancanneyt

Re: [fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread michael . vancanneyt
. We are working on removing this requirement (Inoussa created a native Object Pascal widestring manager), but we're currently stuck on dealing with a copyright requirement of the Unicode group. Michael. ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread michael . vancanneyt
pecialized listeners. All you need to do is create a listener that inserts into a database instead of writing XML/txt/latex... Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread michael . vancanneyt
d clarification of the unicode group, but got no reply yet. (whether we ever will is another matter) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] DOM, XMLRead, XMLWrite - cwstring requirement

2012-09-28 Thread michael . vancanneyt
data from Unicode.org - repackaging it is irrelevant as far as I'm concerned. Well, the matter is not entirely clear. That is why we decided to ask the unicode group what their opinion is on this matter. Michael. ___ fpc-pascal maillist

Re: [fpc-pascal] Getting fpcunit test results into a database

2012-09-28 Thread michael . vancanneyt
ose 5 ITestListerner methods will then insert records into the database as needed. Ah, Listeners thanks. Is this listener concept something that's common to more xunit frameworks (junit... etc) or is it an fpcunit invention? It is common to NNNunit testing frameworks

Re: [fpc-pascal] Assigning pointer address

2012-10-01 Thread michael . vancanneyt
2-bit systems, it is a DWord. The docs were generated on such a system, so you get this definition. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Assigning pointer address

2012-10-01 Thread michael . vancanneyt
gned or not). 2) Same size as a pointer type on all platforms. If we start specifying when it is of what type, then a) we need to maintain this. b) people will start making assumptions. We exactly need to avoid b) Michael. ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: Assigning pointer address

2012-10-01 Thread michael . vancanneyt
thing that helps the documenter flag a certain piece of code and let fpdoc know that it should show alternatives or instead a separate piece of code (similar as examples does). Since fpdoc relies on a pascal parser that only accepts valid pascal code, such a mechanism seems very unlikely to me. Mi

Re: [fpc-pascal] Re: Assigning pointer address

2012-10-01 Thread michael . vancanneyt
wording (to stress the opaque nature of this type) is obviously up to you, but a request for some kind of clarification added to the docs is IMHO absolutely reasonable. Absolutely, and I plan to do so :-) Michael. ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] Using database-specific functionality with TSQLConnector

2012-10-04 Thread michael . vancanneyt
en it can be delegated to the proxy in TSQLConnector. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fphttpclient close connection?

2012-10-15 Thread michael . vancanneyt
itely not a property of the http client. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Memoryleak in SQLite3db.TSqlite?

2012-10-16 Thread Michael Fuchs
:= TSqlite.Create('test.sqlite'); X.Query('SELECT * FROM FIRM', S); finally FreeAndNil(X); FreeAndNil(S); end; end. It works, but the heap trace shows a bunch of memory leaks. The trace could be found under: http://michael-fuchs.net/newsgroups/fpc-pascal/sqlitememor

Re: [fpc-pascal] fpmake compiles the same unit multiple times

2012-10-17 Thread michael . vancanneyt
specify the dependencies right, it should figure out the order by itself. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] releasing commercial components as PPU files

2012-10-22 Thread michael . vancanneyt
ecompiled, there are problems. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] releasing commercial components as PPU files

2012-10-22 Thread michael . vancanneyt
;re in problems. IMHO, in the end it is not worth the trouble. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] releasing commercial components as PPU files

2012-10-22 Thread michael . vancanneyt
ybody from the Lazarus development team that can comment here? I am more optimistic than Michael. Because the same source is used, the CRC is the same and no recompile is done. It also depends on the date of the .ppu ? Michael. ___ fpc-pascal mai

Re: [fpc-pascal] releasing commercial components as PPU files

2012-10-22 Thread michael . vancanneyt
On Mon, 22 Oct 2012, Vincent Snijders wrote: 2012/10/22 : On Mon, 22 Oct 2012, Vincent Snijders wrote: I am more optimistic than Michael. Because the same source is used, the CRC is the same and no recompile is done. It also depends on the date of the .ppu ? I don't think so.

Re: [fpc-pascal] TurboPower FlashFiler for Free Pascal

2012-10-23 Thread michael . vancanneyt
thoughts on this? Has anybody else started such a port? Allen Harrington works on B-Tree filer, which (if I am correct) is the original from Flash Filer. Maybe you can ask about his experiences. Michael. ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] TurboPower FlashFiler for Free Pascal

2012-10-23 Thread michael . vancanneyt
derstand Graeme correctly, he wants it compiled-in (i.e. without dll). SQLite is a separate DLL. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Subversion Client/Server Source

2012-10-24 Thread michael . vancanneyt
otocol for implementing SVN? Does anyone have any contributions of SVN client/server code in pascal? Why not use the library version of SVN ? This is how Tortoise does it, as far as I know. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Subversion Client/Server Source

2012-10-24 Thread michael . vancanneyt
port uses WEBDAV. So search for the WEBDAV protocol, and you're set ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Subversion Client/Server Source

2012-10-24 Thread michael . vancanneyt
On Wed, 24 Oct 2012, Andrew Brunner wrote: On 10/24/2012 09:01 AM, michael.vancann...@wisa.be wrote: Well, the http transport uses WEBDAV. So search for the WEBDAV protocol, and you're set ? Michael. ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Memoryleak in SQLite3db.TSqlite?

2012-10-31 Thread Michael Fuchs
Am 16.10.2012 12:59, schrieb Michael Fuchs: ... It works, but the heap trace shows a bunch of memory leaks. ... Is this a bug or am I doing something wrong? For information: I created an entry in the bug tracker for this problem: http://bugs.freepascal.org/view.php?id=23247 Michael

Re: [fpc-pascal] FPCUnit checking Single values

2012-11-02 Thread michael . vancanneyt
ed: extended; actual: extended; delta: extended = 0; msg: string = ''); overload; virtual; Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: cannot make debugserver

2012-11-08 Thread michael . vancanneyt
tions to fixing the problem, though. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] adding additional libraries

2012-11-09 Thread Michael Fuchs
rsion 39 of synapse project1/libs/tidypas <- last version of tidy pascal wrapper project2/libs/synapse <- contains version 40 of synapse In this case, I also have the libs in my subversion repository. Michael ___ fpc-pascal maillist

Re: [fpc-pascal] BSD

2012-11-21 Thread michael . vancanneyt
On Wed, 21 Nov 2012, Mark Morgan Lloyd wrote: Somebody's suggesting we ought to be at least looking at BSD. What's the preferred variant from FPC/Lazarus's POV: OpenBSD, FreeBSD etc.? I think Marco mainly uses FreeBSD. Michael. ___

Re: [fpc-pascal] Coping a DataSet

2012-12-03 Thread michael . vancanneyt
On Mon, 3 Dec 2012, silvioprog wrote: Guys, Is "Assign" method implemented for dataset in FPC? No, it is not. Datasets differ wildly in how they access and store data. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Property alias

2012-12-07 Thread michael . vancanneyt
in my descendant as "MyExtraText". Is this possible? Currently not. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] G+ community for Free Pascal and Lazarus

2012-12-11 Thread michael . vancanneyt
ommunities/114860965042324270757 The two links are the same ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Registers in loops

2012-12-14 Thread michael . vancanneyt
without any optimization, the registers are used. Indeed, adding inline assembler to a routine disables many optimizations. Doesn't adding the list of modified registers to the 'ASM' block help in this case ? I thought this was why we supported

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-17 Thread michael . vancanneyt
ntains the table. People interested in the schema, can read the schema field. It's easier to concatenate 2 fields than to separate out 2 parts of a field, doubly so if you don't know whether the 2 parts are there or not. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Brook 1.0 - A new framework for web was born

2012-12-17 Thread michael . vancanneyt
al XML. A pasdoc-to-fpdoc conversion is on my TODO list. (tracker item 325689871 ;)) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-17 Thread michael . vancanneyt
rings; Options : TSchemaOptions = []); I am not interested in schema information, but I can imagine some people are (the original poster, obviously). The above caters for everyone and keeps backwards compatibility. Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-17 Thread michael . vancanneyt
more options, this way there is no need for custom solutions. Everyone benefits. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-17 Thread michael . vancanneyt
In that case, there is no need for this option, as the connection will apply the quotes as needed ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-18 Thread michael . vancanneyt
. That said, I understand you need it, we're just trying to find a solution that is good&acceptable for everyone. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

  1   2   3   4   5   6   7   8   9   10   >