Hi,
Is it possible to have the following in the code tools:
I would like to be able to specify a code snippet that is inserted at the start
and end of a procedure
(after begin, before end keywords). The code snippet should contains some
macros like $(CLASSNAME) $(METHODNAME).
Conceivably,
Michael Van Canneyt wrote:
Hi,
Is it possible to have the following in the code tools:
I would like to be able to specify a code snippet that is inserted at
the start and end of a procedure
(after begin, before end keywords). The code snippet should contains
some macros like $(CLASSNAME)
On Thu, 27 Mar 2014, Mark Morgan Lloyd wrote:
Michael Van Canneyt wrote:
Hi,
Is it possible to have the following in the code tools:
I would like to be able to specify a code snippet that is inserted at the
start and end of a procedure
(after begin, before end keywords). The code snippet
On Thu, 27 Mar 2014 09:22:21 +0100 (CET)
Michael Van Canneyt mich...@freepascal.org wrote:
[...]
I would like to be able to specify a code snippet that is inserted at the
start and end of a procedure
[...]
Similarly, I'd like to be able to specify a code snippet to insert
before/after the
On 27/03/2014 08:22, Michael Van Canneyt wrote:
The intended use is that the IDE generates stuff like
Procedure TMyClass.MyMethod;
begin
{$IFDEF LOGPROCESSFLOW}Log('Entering TMyClass.MyMethod');{$ENDIF}
{$ENDIF LOGPROCESSFLOW}Log('Exiting TMyClass.MyMethod');{$ENDIF}
end;
If I have
Michael Van Canneyt wrote:
If the compiler could track the current procedure (or function, or
class.method etc.) name, then couldn't that be done with a macro? Then
the app source would be a less-obtrusive:
Procedure TMyClass.MyMethod;
begin_logged
end_logged;
I prefer not to use macros.
On Thu, 27 Mar 2014, Martin Frb wrote:
On 27/03/2014 08:22, Michael Van Canneyt wrote:
The intended use is that the IDE generates stuff like
Procedure TMyClass.MyMethod;
begin
{$IFDEF LOGPROCESSFLOW}Log('Entering TMyClass.MyMethod');{$ENDIF}
{$ENDIF LOGPROCESSFLOW}Log('Exiting
On Thu, 27 Mar 2014, Mark Morgan Lloyd wrote:
Michael Van Canneyt wrote:
If the compiler could track the current procedure (or function, or
class.method etc.) name, then couldn't that be done with a macro? Then the
app source would be a less-obtrusive:
Procedure TMyClass.MyMethod;
On Thu, 27 Mar 2014, Mattias Gaertner wrote:
On Thu, 27 Mar 2014 09:22:21 +0100 (CET)
Michael Van Canneyt mich...@freepascal.org wrote:
[...]
I would like to be able to specify a code snippet that is inserted at the start
and end of a procedure
[...]
Similarly, I'd like to be able to
Hi guys,
i use a SQLQuery in a project to connect to a Firebird database. In my
table i use a BEFORE INSERT trigger for my primary ID field.
In the same transaction i have to insert a detail row in another column. How
can i find out the ID result after post but before commit?
ps : i tried
On Thu, 27 Mar 2014, Chris Crori wrote:
Hi guys,
i use a SQLQuery in a project to connect to a Firebird database. In my
table i use a BEFORE INSERT trigger for
my primary ID field.
In the same transaction i have to insert a detail row in another column. How
can i find out the ID result
On Thu, 27 Mar 2014, Chris Crori wrote:
Hi guys,
i use a SQLQuery in a project to connect to a Firebird database. In my
table i use a BEFORE INSERT trigger for
my primary ID field.
In the same transaction i have to insert a detail row in another column.
How can i find out the ID result
On Do, 2014-03-27 at 13:09 +0100, Michael Van Canneyt wrote:
On Thu, 27 Mar 2014, Martin Frb wrote:
In addition, you do not need the IfDef.
But I want the ifdef :)
The reason is that I very often add some code inside the $IFDEF to check for
assigned props, params and whatnot.
So,
Hi, I'm sending a custom header I called Filename to a Brook CGI
(which uses TRequest from fcl-web) but I can't access that header.
Here's what I capture on the Network tab on Chrome's developer tools;
POST /cgi-bin/gtir2/test/ HTTP/1.1
Host: 127.0.0.1:8080
Connection: keep-alive
Content-Length:
I've been experimenting with the codetools example finddeclaration
project, using the codetools outside the IDE, and feeding FPC and
Lazarus source directory information via environment variables to the
CodeToolBoss constructor, which works OK for simple source files.
However, when looking for,
On Thu, 27 Mar 2014, Leonardo M. Ramé wrote:
Hi, I'm sending a custom header I called Filename to a Brook CGI
(which uses TRequest from fcl-web) but I can't access that header.
To my knowledge, the CGI protocol doesn't support the use of custom headers.
Michael.--
Done!
I used the second query method on the beforepost event and it works fine
I would like to try expanding the TSQLQuery to be able to use generator
fields, can someone help me send the patch after?
Thank you Michael for your help
-Αρχικό μήνυμα-
From: Chris Crori
Sent: Thursday,
Hi all,
Good day,
For Lazarus 1.0.14/Ubuntu 64 Precise
I have successfully installed crosscompile win32/i386 and can generate win32
executable.
I upgraded to 1.2.
I've moved the old .lazarus to .lazarus_0.14 because Laz 1.2 is unable to
upgrade it and was using instead the binary in that
On Fri, 28 Mar 2014 09:42:17 +0800 (PHT)
Allan E. Registos allan.regis...@smpc.steniel.com.ph wrote:
[...]
For Lazarus 1.0.14/Ubuntu 64 Precise
I have successfully installed crosscompile win32/i386 and can generate win32
executable.
I upgraded to 1.2.
I've moved the old .lazarus to
On Thu, 27 Mar 2014 20:20:39 +
Howard Page-Clark h...@talktalk.net wrote:
I've been experimenting with the codetools example finddeclaration
project, using the codetools outside the IDE, and feeding FPC and
Lazarus source directory information via environment variables to the
20 matches
Mail list logo