[Lazarus] Blaise Pascal Magazine

2009-05-21 Thread Leonardo M. Ramé
Hi, does anyone noted in the cover of the last edition of Blaise Pascal Magazine, that says Lazurus instead of Lazarus?. -- Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351 - 4247979 inline: lazurus.jpg___ Lazarus mailing list Lazarus

Re: [Lazarus] Visual database design software

2009-05-28 Thread Leonardo M. Ramé
About FlameRobin. It is developed using FPC/Lazarus?. It caught my attention because in the site it says it works on Solaris. BTW, I use IBExpert and I love its Stored Procedure Debugger. Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351 - 4247979 Lee Jenkins escribió: Michael

Re: [Lazarus] Lazarus/Embedded firebird tutorial

2009-06-04 Thread Leonardo M. Ramé
Of course, I used it with Zeos and IBExpress in Delphi (don't tested with Lazarus) without recompiling my code. The only change I did was replacing fbClient.dll to its embedded version. Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351 - 4247979 Michael Van Canneyt escribió: Hi

[Lazarus] Lazbuild search path

2012-02-17 Thread Leonardo M . Ramé
that? Thanks in advance, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazbuild search path

2012-02-17 Thread Leonardo M . Ramé
On 2012-02-17 19:57:47 +0100, Mattias Gaertner wrote: On Fri, 17 Feb 2012 15:29:45 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm trying to use Lazbuild from a cron job in a server to create nightly builds. Our projects are developed on machines with different paths

Re: [Lazarus] Lazbuild search path

2012-02-17 Thread Leonardo M . Ramé
On 2012-02-17 21:39:59 +0100, Mattias Gaertner wrote: On Fri, 17 Feb 2012 17:28:13 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-02-17 19:57:47 +0100, Mattias Gaertner wrote: On Fri, 17 Feb 2012 15:29:45 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm trying

[Lazarus] Internal error 2011090501

2012-04-05 Thread Leonardo M . Ramé
» make: *** [lazbuild] Error 2 Any hint? -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Internal error 2011090501

2012-04-05 Thread Leonardo M . Ramé
On 2012-04-05 20:20:41 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to compile trunk using FPC 2.7.1 from today on Linux x86_64 and I'm getting this: Free Pascal Compiler version 2.7.1 [2012/04/05] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86

[Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
library is not multithreaded. Also the shared library was linked against pthreads library, and the main program uses cthreads. I also tried to enclose the Callback inside a CriticalSection but the problem persists. Thanks in advance, -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: I have a similar problem to this: http://www.lazarus.freepascal.org/index.php?topic=10571.0 My main program launches a thread, that loads a shared library, then execute

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 14:49:05 +0200, Mattias Gaertner wrote: On Fri, 6 Apr 2012 09:45:38 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: I have a similar problem

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 14:53:13 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: I have a similar problem to this: http

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 17:59:38 +0400, Sergei Gorelkin wrote: 06.04.2012 16:31, Leonardo M. Ramé пишет: I have a similar problem to this: http://www.lazarus.freepascal.org/index.php?topic=10571.0 My main program launches a thread, that loads a shared library, then execute a function who receives

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 16:05:34 +0200, Antonio Fortuny wrote: Le 06/04/2012 15:04, Leonardo M. Ramé a écrit : On 2012-04-06 14:53:13 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6

[Lazarus] Paintbox.Canvas copyrect problem

2012-05-07 Thread Leonardo M . Ramé
with the paintbox's canvas. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com attachment: clopboard.JPG-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Paintbox.Canvas copyrect problem

2012-05-07 Thread Leonardo M . Ramé
On 2012-05-07 16:59:06 -0300, Leonardo M. Ramé wrote: Hi, I'm implementing a Copy to clipboard function to an application. It has to copy the contents of a TPaintBox's Canvas into the Clipboard, but found a bug, it copies the windows over the Paintbox too. I've attached a screenshot showing

Re: [Lazarus] Paintbox.Canvas copyrect problem

2012-05-07 Thread Leonardo M . Ramé
On 2012-05-07 17:12:46 -0300, Leonardo M. Ramé wrote: On 2012-05-07 16:59:06 -0300, Leonardo M. Ramé wrote: Hi, I'm implementing a Copy to clipboard function to an application. It has to copy the contents of a TPaintBox's Canvas into the Clipboard, but found a bug, it copies the windows

[Lazarus] Postgresql listen/notify

2012-05-07 Thread Leonardo M . Ramé
Hi, does sql-db allows to capture PostgreSql notify events?. If yes, how?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Paintbox.Canvas copyrect problem

2012-05-08 Thread Leonardo M . Ramé
On 2012-05-07 17:29:41 -0300, Leonardo M. Ramé wrote: On 2012-05-07 17:12:46 -0300, Leonardo M. Ramé wrote: On 2012-05-07 16:59:06 -0300, Leonardo M. Ramé wrote: Hi, I'm implementing a Copy to clipboard function to an application. It has to copy the contents of a TPaintBox's Canvas

[Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
Hi, does anyone noted the latest revision is to slow, it brings down the whole machine until Lazarus is killed. I'm using Linux x86_64 - Ubuntu 12.04. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 20:56:09 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 15:48:40 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, does anyone noted the latest revision is to slow, it brings down the whole machine until Lazarus is killed. I'm using Linux x86_64 - Ubuntu 12.04

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 21:45:46 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 16:04:56 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-05-09 20:56:09 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 15:48:40 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, does anyone

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 22:18:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 17:00:53 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: [...] I'm using Linux x86_64 - Ubuntu 12.04. [...] cd /path/to/lazarus/directory LIBOVERLAY_SCROLLBAR=0 ./lazarus I've tested

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 17:25:00 -0300, Leonardo M. Ramé wrote: On 2012-05-09 22:18:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 17:00:53 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: [...] I'm using Linux x86_64 - Ubuntu 12.04. [...] cd /path/to/lazarus/directory

[Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
result. Before writing this, I've tested all combinatios of linking configuration (-g, -gw, and so on), with and without external symbols file (-Xg), but the result is allways the same. Does anyone knows if this is related to gdb, Lazarus or Fpc?. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 23:52:06 +0100, Martin wrote: On 09/05/2012 23:41, Leonardo M. Ramé wrote: I'm using Lazarus Fpc compiled from trunk, on Ubuntu 12.04 x86_64. Since today, I found the debugger stopped working, I mean, breakpoints are never reached, also, when I close the applications started

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 19:52:21 -0300, Flávio Etrusco wrote: Hi, Since you said in the other thread that you wiped your Lazarus configuration, did you remember do reconfigure the debugger in the IDE? (a default I'd love to change...) Regards, Flávio Yes, of course. -- Leonardo M. Ramé http

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
trunk, but I don't think it is fixed in any release yet. [1]http://sourceware.org/ml/gdb/2012-03/msg00056.html If you need this option, you need to use gdb 7.3 Well, no, InternalStartBreak = gdsbDefault Maybe gdsbDefault is equal to gbsAddZero in 7.4 ?. Regards, -- Leonardo M. Ramé

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-10 01:13:40 +0100, Martin wrote: On 10/05/2012 01:07, Leonardo M. Ramé wrote: On 2012-05-10 00:53:45 +0100, Martin wrote: Looks like you have set InterlnalStartBreak (from the debugger options / property grid) to gbsAddZero That option does not work with gdb 7.4

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 19:15:14 -0300, Leonardo M. Ramé wrote: On 2012-05-09 17:25:00 -0300, Leonardo M. Ramé wrote: On 2012-05-09 22:18:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 17:00:53 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: [...] I'm using Linux x86_64

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-10 01:27:25 +0100, Martin wrote: On 10/05/2012 01:16, Leonardo M. Ramé wrote: Ok, that is weird, I will analyse that further. In the mean time try to set it to gdsbMain. (or gdsbEntry) hopefully that will work around Thank you very much! Martin, changing to gdsbMain did

Re: [Lazarus] Rev 37233 too slooow

2012-05-11 Thread Leonardo M . Ramé
On 2012-05-10 21:24:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 22:57:06 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-05-09 19:15:14 -0300, Leonardo M. Ramé wrote: On 2012-05-09 17:25:00 -0300, Leonardo M. Ramé wrote: On 2012-05-09 22:18:26 +0200, Mattias Gaertner

[Lazarus] Generics type as parameter

2012-05-12 Thread Leonardo M . Ramé
, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Generics type as parameter

2012-05-12 Thread Leonardo M . Ramé
On 2012-05-12 17:00:22 +0200, Sven Barth wrote: On 12.05.2012 13:32, Leonardo M. Ramé wrote: I'm trying to work in an abstract way with generics, I need to create a method receiving a un-specialized generic and do some work on it. Example: function ProcessGeneric(AList: TFPGList); begin

Re: [Lazarus] Generics type as parameter

2012-05-12 Thread Leonardo M . Ramé
On 2012-05-12 13:07:18 -0300, Leonardo M. Ramé wrote: Thanks Sven and Michalis. Using the suggestion by Michalis, I got a solution mixing Generics and regular objects. What I'm pursuing is to replace my TCollection based ORM, with a Generics based one, this allow users to write less code

Re: [Lazarus] Generics type as parameter

2012-05-13 Thread Leonardo M . Ramé
On 2012-05-13 10:53:42 +0200, Sven Barth wrote: On 13.05.2012 02:49, Leonardo M. Ramé wrote: On 2012-05-12 13:07:18 -0300, Leonardo M. Ramé wrote: Thanks Sven and Michalis. Using the suggestion by Michalis, I got a solution mixing Generics and regular objects. What I'm pursuing

Re: [Lazarus] Generics type as parameter

2012-05-13 Thread Leonardo M . Ramé
On 2012-05-13 13:38:36 +0200, Sven Barth wrote: On 13.05.2012 12:46, Leonardo M. Ramé wrote: On 2012-05-13 10:53:42 +0200, Sven Barth wrote: On 13.05.2012 02:49, Leonardo M. Ramé wrote: On 2012-05-12 13:07:18 -0300, Leonardo M. Ramé wrote: Thanks Sven and Michalis. Using the suggestion

[Lazarus] Cannot build 37377

2012-05-21 Thread Leonardo M . Ramé
: *** [lazbuild] Error 2 -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cannot build 37377

2012-05-21 Thread Leonardo M . Ramé
On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote: On Mon, 21 May 2012 11:10:48 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: This is the output I'm getting after make clean all in 37377, fpc trunk was compiled a few minutes before: Free Pascal Compiler version 2.7.1 [2012/05/21

Re: [Lazarus] Cannot build 37377

2012-05-21 Thread Leonardo M . Ramé
On 2012-05-21 14:22:55 -0300, Leonardo M. Ramé wrote: On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote: On Mon, 21 May 2012 11:10:48 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: This is the output I'm getting after make clean all in 37377, fpc trunk was compiled a few minutes

Re: [Lazarus] Cannot build 37377

2012-05-22 Thread Leonardo M . Ramé
On 2012-05-22 09:35:59 +0200, Sven Barth wrote: Am 22.05.2012 08:24, schrieb Sergei Gorelkin: 22.05.2012 0:51, Maxim Ganetsky пишет: 21.05.2012 22:15, Leonardo M. Ramé написал: On 2012-05-21 14:22:55 -0300, Leonardo M. Ramé wrote: On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote: On Mon

[Lazarus] Block of text to string?

2012-06-25 Thread Leonardo M . Ramé
I'm pretty sure I used a feature called block to string or similar, where you selected a block of several lines of code, right-mouse-click and there was an option allowing you to convert the selected block, to a string concatenation. Where it is?, am I confused?. Regards, -- Leonardo M. Ramé

[Lazarus] Key bindings in XUbuntu

2012-08-05 Thread Leonardo M . Ramé
revision from SVN (38174). Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Key bindings in XUbuntu

2012-08-05 Thread Leonardo M . Ramé
On 2012-08-05 11:24:41 -0300, Leonardo M. Ramé wrote: I'm using Ubuntu 12.04 64bits with the XUbuntu Dekstop (it's XFCE 4.10) and noted the Ctrl+F9 key combination doesn't work in this environment. Doesn anyone knows how can I find if the desktop environment is using that same key

Re: [Lazarus] Key bindings in XUbuntu

2012-08-05 Thread Leonardo M . Ramé
combination for anything else?. Run window manager in xfce4-settings-manager, and click on keyboard tab. You can find ControlF9 and disable it. I have also disabled ControlF2. Fujimaki Ha!, we posted the same answer at the same time! Regards, -- Leonardo M. Ramé http

[Lazarus] fpWeb long process progress

2012-08-13 Thread Leonardo M . Ramé
begin AResponse.Content := IntToStr(I); Sleep(1000); end; Handled := True; end; Of course this doesn't work. How can I send responses by intervals?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] fpWeb long process progress

2012-08-13 Thread Leonardo M . Ramé
finishes when the last task is ended. 3) The client calss a getProcStatus(ID) method. The server, using IPC or Pipes, asks the already-launched process for its status. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing

Re: [Lazarus] fpWeb long process progress

2012-08-14 Thread Leonardo M . Ramé
). This method writes a temporary file which name is the taskId. 3) The client can ask for status by using a method called getTaskStatus(myTaskId). This way I can run a long task without having to create a daemon. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] fpWeb long process progress

2012-08-14 Thread Leonardo M . Ramé
On 2012-08-14 09:06:20 +0200, michael.vancann...@wisa.be wrote: On Mon, 13 Aug 2012, Leonardo M. Ramé wrote: On 2012-08-13 15:15:56 -0700, leledumbo wrote: How can I send responses by intervals? AFAIK that's not the way web application works. It's the client that should be querying

Re: [Lazarus] fpWeb long process progress

2012-08-14 Thread Leonardo M . Ramé
the process wouldn't take more than one minute, but for longer processes the gateway is a nice idea. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

[Lazarus] TProcess pipe through StdIn

2012-08-17 Thread Leonardo M . Ramé
], Length(lText)); lStr.Clear; lStr.LoadFromStream(lProcess.Output); lStr.SaveToFile('output.pdf'); finally lStr.Free; lProcess.Free; end; end; -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] TProcess pipe through StdIn

2012-08-18 Thread Leonardo M . Ramé
, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Leonardo M . Ramé
/RichView (no editing features AFAIK) There's also lzRichEdit, you can get it using svn from: http://lazarus-br.googlecode.com/svn/trunk/package/lzRichEdit Hopefully some day somebody will convert TRichView (www.richview.com), the best rich editor I've seen so far. Regards, -- Leonardo M

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Leonardo M . Ramé
On 2012-08-19 23:04:11 +0100, Graeme Geldenhuys wrote: On 19/08/12 22:39, Leonardo M. Ramé wrote: Hopefully some day somebody will convert TRichView (www.richview.com), That URL now advertises a home window blinds product. :) Regards, - Graeme - Hehe, sorry, it's

[Lazarus] LongMonthNames locale

2012-08-20 Thread Leonardo M . Ramé
Hi I need to get the list of month names in Spanish, but I'm getting it in English, is it possible to automatically populate LongMonthNames array without doing it by hand?. I'm using Ubuntu 12.04. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] LongMonthNames locale

2012-08-20 Thread Leonardo M . Ramé
On 2012-08-20 17:05:49 +0200, Vincent Snijders wrote: 2012/8/20 Leonardo M. Ramé l.r...@griensu.com: Hi I need to get the list of month names in Spanish, but I'm getting it in English, is it possible to automatically populate LongMonthNames array without doing it by hand?. I'm using

[Lazarus] Question about fcl-web Request's Handled variable

2012-08-22 Thread Leonardo M . Ramé
?. If yes, I could inherit all my webmodules from a common ancestor, with it's onRequest method containing Cookie handling code. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Question about fcl-web Request's Handled variable

2012-08-23 Thread Leonardo M . Ramé
On 2012-08-23 10:17:57 +0200, michael.vancann...@wisa.be wrote: On Wed, 22 Aug 2012, Leonardo M. Ramé wrote: As I'm looking for a way to handle Cookies in an automatic/global way, instead of checking for cookie existence in every action request, I was looking into TFPWebModule.onRequest

Re: [Lazarus] Lazarus 1.0 Release

2012-08-29 Thread Leonardo M . Ramé
for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Congratulations!, thanks for making this dream come true. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing

[Lazarus] PascalScript on Linux x86_64

2012-09-13 Thread Leonardo M . Ramé
) Warning: No size specified and unable to determine the size of the operands, using DWORD as default x64.inc(144,12) Error: Asm: [push mem32] invalid combination of opcode and operands ... Any workaround? or alternative?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

[Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-16 Thread Leonardo M . Ramé
, but I didn't tested, since I don't need it, I just have to log in using SSH, compile my app and run it. I've installed FPC 2.7.1 from sources and Lazarus also from sources. If anyone is interested in helping me with this, I can give a user/pass. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-17 Thread Leonardo M . Ramé
On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote: Leonardo M. Ramé wrote: As I must deploy a Lazarus CGI on this machine, an IBM 560 with a PowerPC processor using OpenSuse Linux, and I'm getting some Access Violations on places where the x86-64 works ok, I'm offering access

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-17 Thread Leonardo M . Ramé
On 2012-09-17 14:02:30 +0200, Chavoux Luyt wrote: Hi Leonardo On 17 September 2012 13:53, Leonardo M. Ramé [1]l.r...@griensu.com wrote: On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote: Leonardo M. Ramé wrote:   I've installed FPC 2.7.1 from sources

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-18 Thread Leonardo M . Ramé
On 2012-09-18 09:36:02 +, Mark Morgan Lloyd wrote: Mattias Gaertner wrote: On Mon, 17 Sep 2012 14:02:30 +0200Chavoux Luyt chav...@gmail.com wrote: Hi Leonardo On 17 September 2012 13:53, Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-18 Thread Leonardo M . Ramé
On 2012-09-18 14:58:54 +0200, Mattias Gaertner wrote: Leonardo M. Ramé l.r...@griensu.com hat am 18. September 2012 um 14:47 geschrieben: On 2012-09-18 09:36:02 +, Mark Morgan Lloyd wrote: [...] Maybe those are causing the problems with my CGI app. Aparently all

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-18 Thread Leonardo M . Ramé
On 2012-09-18 23:00:58 +0200, Mattias Gaertner wrote: On Sun, 16 Sep 2012 20:30:50 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: As I must deploy a Lazarus CGI on this machine, an IBM 560 with a PowerPC processor using OpenSuse Linux, and I'm getting some Access Violations on places

[Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
not load PostgreSQL client library libpq.so. Check your installation What can be happening?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:07:28 +0200, zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:28:28 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear there if installed correctly -- Here's the result

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:47:57 +0200, Bernd wrote: 2012/9/25 Bernd prof7...@gmail.com: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:52:49 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: libpq.so (libc6) = /usr/local/pgsql/lib/libpq.so It seems to be installed correctly. maybe libpq.so itself has some dependency problems and will refuse to load (but I am not sure how the error

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 18:54:11 +, Mark Morgan Lloyd wrote: zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 11:52:49 -0300, Leonardo M. Ramé wrote: On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know

[Lazarus] Checkbox value in TDrawGrid

2012-10-19 Thread Leonardo M . Ramé
Hi, is there a method to set/get the value of a checkbox in a TDrawGrid, when the column's buttonStyle was declared as cbsCheclBoxColumn?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Checkbox value in TDrawGrid

2012-10-20 Thread Leonardo M . Ramé
On 2012-10-19 17:09:43 -0700, Jesus Reyes wrote: --- El vie 19-oct-12, Leonardo M. Ramé l.r...@griensu.com escribió: De: Leonardo M. Ramé l.r...@griensu.com Asunto: [Lazarus] Checkbox value in TDrawGrid A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Fecha: viernes, 19

Re: [Lazarus] Remote application

2012-10-29 Thread Leonardo M . Ramé
could connect the client to the server remotely. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Remote application

2012-10-29 Thread Leonardo M . Ramé
On 2012-10-29 15:54:45 +0100, Santiago A. wrote: El 29/10/12 14:38, Reinier Olislagers escribió: On 29-10-2012 13:57, Leonardo M. Ramé wrote: Hi Santiago, did you try to run the application from a remote location?, by just publishing the database (assuming you are using a TCP database

[Lazarus] Splash window with drop shadow

2012-10-29 Thread Leonardo M . Ramé
Hi, I'm wondering if there's a way to create an splash screen (a borderless window) with a drop shadow, I'm thinking of something like showing a PNG with shadow on screen, but without its background window. Better if it's cross platform. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Splash window with drop shadow

2012-10-30 Thread Leonardo M . Ramé
, but couldn't you just create a PNG with only the shadow, alpha-something; make the borderless window slightly bigger and transparent where the shaow is, and just drop the PNG onto it? Cheers, A. Alberto, how can I make a window transparent?. -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Splash window with drop shadow

2012-11-04 Thread Leonardo M . Ramé
On 2012-11-02 22:02:03 +0200, Alberto Narduzzi wrote: That's what I meant. Cheers, A. Alberto, the problem is with alphablending all elements of the form, including the PNG image, become transparent. -- Leonardo M. Ramé http://leonardorame.blogspot.com

[Lazarus] TAChart equal range in two charts

2012-11-04 Thread Leonardo M . Ramé
get that range to use in the 2nd chart?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com attachment: graphs.png-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Debugging fpc sources

2011-02-24 Thread Leonardo M . Ramé
debug FPC packages?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Debugging fpc sources

2011-02-25 Thread Leonardo M . Ramé
On 2011-02-25 08:50:49 +0200, Graeme Geldenhuys wrote: To enable debug information you need to pass the -dDEBUG to the make command. eg: cd fpc-src/packages/fcl-xml make clean make OPT=-dDEBUG make install Thanks. -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] does anybody knows whats up with zeos?

2011-03-15 Thread Leonardo M . Ramé
-- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Stock Charting with Lazarus

2011-03-15 Thread Leonardo M . Ramé
Hi, does anyone know how can I draw an Open, High, Low, Close chart (for stock charting) with Lazarus/TChart?. An example of what I need: http://download.oracle.com/docs/html/A96127_01/img/stock_ohlc.gif Thanks in advance, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Stock Charting with Lazarus

2011-03-18 Thread Leonardo M . Ramé
On 2011-03-17 22:38:25 +1000, Alexander Klenin wrote: On Wed, Mar 16, 2011 at 06:27, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, does anyone know how can I draw an Open, High, Low, Close chart (for stock charting) with Lazarus/TChart?. An example of what I need: http

[Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
; lCanvas.Free; lJPegImage.Free; end; Handled := True; end; After executing the method I'm getting Control '' has no parent window' at the CopyRect line. I'm sure there is another method to copy a TCanvas to a TFPCustomCanvas. Any hint? Thanks in advance, -- Leonardo M. Ramé http

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
On 2011-03-21 03:58:12 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 03:22, Leonardo M. Ramé l.r...@griensu.com wrote:    lCanvas.CopyRect(0,0,TFPCustomCanvas(lChart.Canvas),lRect); After executing the method I'm getting Control '' has no parent window' at the CopyRect line

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
can't. The current TAChart is not suitable for a CGI application. It expects a GUI. I'm afraid Michael is right. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
On 2011-03-21 04:54:45 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé l.r...@griensu.com wrote: Of course, since you are converting an object to the type it does not belong to. You should create a TBitmap or another similar object. Did you look

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
On 2011-03-21 05:27:49 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 05:14, Leonardo M. Ramé l.r...@griensu.com wrote: On 2011-03-21 04:54:45 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 04:44, Leonardo M. Ramé l.r...@griensu.com wrote: Of course, since you

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
On 2011-03-21 06:00:20 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 05:42, Leonardo M. Ramé l.r...@griensu.com wrote: [Sun Mar 20 16:30:09 2011] [error] [client ::1] (cgicharts:16246): Gtk-WARNING **: cannot open display: [Sun Mar 20 16:30:09 2011] [error] [client ::1] Premature

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
On 2011-03-20 20:16:19 +, Henry Vermaak wrote: On 20 March 2011 19:42, Leonardo M. Ramé l.r...@griensu.com wrote: On 2011-03-21 05:39:01 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé l.r...@griensu.com wrote: You have to link you CGI app with some

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-20 Thread Leonardo M . Ramé
On 2011-03-20 18:16:00 -0300, Leonardo M. Ramé wrote: On 2011-03-20 20:16:19 +, Henry Vermaak wrote: On 20 March 2011 19:42, Leonardo M. Ramé l.r...@griensu.com wrote: On 2011-03-21 05:39:01 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé l.r

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-21 Thread Leonardo M . Ramé
On 2011-03-21 09:43:23 -0300, Marcos Douglas wrote: On Sun, Mar 20, 2011 at 3:44 PM, Leonardo M. Ramé l.r...@griensu.com wrote: 2011/3/21 Michael Van Canneyt mich...@freepascal.org: Simply said: you can't. The current TAChart is not suitable for a CGI application. It expects a GUI

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-21 Thread Leonardo M . Ramé
On 2011-03-21 23:49:36 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 23:19, Leonardo M. Ramé l.r...@griensu.com wrote: On 2011-03-21 09:43:23 -0300, Marcos Douglas wrote: So, create a GUI app (always on) with HTTP support. The CGI request charts to this app. Marcos Douglas

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-22 Thread Leonardo M . Ramé
On 2011-03-21 15:07:46 -0300, Leonardo M. Ramé wrote: On 2011-03-21 23:49:36 +1000, Alexander Klenin wrote: On Mon, Mar 21, 2011 at 23:19, Leonardo M. Ramé l.r...@griensu.com wrote: On 2011-03-21 09:43:23 -0300, Marcos Douglas wrote: So, create a GUI app (always on) with HTTP support

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-22 Thread Leonardo M . Ramé
On 2011-03-23 05:23:26 +1000, Alexander Klenin wrote: On Tue, Mar 22, 2011 at 21:57, Leonardo M. Ramé l.r...@griensu.com wrote: Since r29962, nogui demo uses nogui widgetset -- thus, it should not need GTK anymore. Please test. It seems to work, at least from command line

  1   2   3   4   5   >