Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Bo Berglund
On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund bo.bergl...@gmail.com wrote: Why is one Lazarus using a relative path and the other an absolute path? 0.9.29 uses relative paths for packages in the Lazarus

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-24 Thread Fred Flinestone
On Wed, Nov 24, 2010 at 12:02 AM, dmitry boyarintsev skalogryz.li...@gmail.com wrote: Is it reproducible on Print to PDF printer? Yes, it is the same. TRoland; -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-24 Thread Fred Flinestone
On Wed, Nov 24, 2010 at 4:30 AM, dmitry boyarintsev skalogryz.li...@gmail.com wrote: On Tue, Nov 23, 2010 at 4:32 AM, Fred Flinestone ffre...@gmail.com wrote: Any idea, what can I check? Also, you need to check how you're handling Context translation, if you're using Carbon API (CGContext)

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make it work like a web app that act the same as the desktop version,

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread ik
On Wed, Nov 24, 2010 at 11:21, michael.vancann...@wisa.be wrote: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, ik wrote: On Wed, Nov 24, 2010 at 11:21, michael.vancann...@wisa.be wrote: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Felipe Monteiro de Carvalho
On Wed, Nov 24, 2010 at 10:31 AM, michael.vancann...@wisa.be wrote: Unless they plan on translating the whole of GTK3 to Javascript, I don't see how you can do that ? How to create a hover effect, tooltips, whatnot, whenever the mouse moves ? What to do when a user clicks a button ? All

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Mattias Gaertner
On Wed, 24 Nov 2010 09:30:01 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Nov 2010 20:03:26 +0100 Bo Berglund bo.bergl...@gmail.com wrote: Why is one Lazarus using a relative path and the

Re: [Lazarus] Debugging Lazarus IDE (Package access violation)

2010-11-24 Thread Mattias Gaertner
On Tue, 23 Nov 2010 16:19:18 +0300 Max Vlasov max.vla...@gmail.com wrote: On Tue, Nov 23, 2010 at 3:12 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: By the way, the bug listed as solved ( http://bugs.freepascal.org/view.php?id=17437) probably still exist. Actually the

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 10:36 AM, Felipe Monteiro de Carvalho wrote: I couldn't find any reasonable way to reuse my LCL animations code in web applications. Did you consider to use Delphi Prism (AFAIK the compiler is free) in a Silverlight / Moonlight based web page ? This might allow for reusing some

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread ik
On Wed, Nov 24, 2010 at 12:13, Michael Schnell mschn...@lumino.de wrote: On 11/24/2010 10:36 AM, Felipe Monteiro de Carvalho wrote: I couldn't find any reasonable way to reuse my LCL animations code in web applications. Did you consider to use Delphi Prism (AFAIK the compiler is free) in a

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 08:32 AM, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make it work like a web app that act the same as the desktop version,

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Felipe Monteiro de Carvalho
2010/11/24 ik ido...@gmail.com: SilverLight/Moonlight are the wrong way to do things (so does Flash). HTML5 provide in the DOM support for Canvas (you have some games for it), And IE9, Webkit, Opera and Gecko support it, so it's like 99% of web browsers that support for it. But the HTML5

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread ik
On Wed, Nov 24, 2010 at 12:29, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: 2010/11/24 ik ido...@gmail.com: SilverLight/Moonlight are the wrong way to do things (so does Flash). HTML5 provide in the DOM support for Canvas (you have some games for it), And IE9,

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, Michael Schnell wrote: On 11/24/2010 08:32 AM, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make it work like a web

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread ik
On Wed, Nov 24, 2010 at 12:26, Michael Schnell mschn...@lumino.de wrote: On 11/24/2010 08:32 AM, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus,

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, ik wrote: On Wed, Nov 24, 2010 at 12:26, Michael Schnell mschn...@lumino.de wrote: On 11/24/2010 08:32 AM, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread ik
On Wed, Nov 24, 2010 at 12:46, michael.vancann...@wisa.be wrote: On Wed, 24 Nov 2010, ik wrote: On Wed, Nov 24, 2010 at 12:26, Michael Schnell mschn...@lumino.de wrote: On 11/24/2010 08:32 AM, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus,

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, ik wrote: On Wed, Nov 24, 2010 at 12:46, michael.vancann...@wisa.be wrote: I did some research on that some months ago. I found that this supposedly best would be done using ExtJS. There are few problems with ExtJS. First it's not open source if you wish to use it in

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread zeljko
On Wednesday 24 November 2010 12:11, michael.vancann...@wisa.be wrote: MySQL I simply don't use because it is a bad database engine :-) +1 zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Marcos Douglas
On Wed, Nov 24, 2010 at 8:28 AM, zeljko zel...@holobit.net wrote: On Wednesday 24 November 2010 12:11, michael.vancann...@wisa.be wrote: MySQL I simply don't use because it is a bad database engine :-) +1 +2 Marcos Douglas -- ___ Lazarus

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 11:24 AM, ik wrote: SilverLight/Moonlight are the wrong way to do things (so does Flash). If you want to do client-programming in Pascal (or any other CIL enabled language) Silverlight/Moonlight is just perfect, as it's this only way to do this :). -Michael --

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 11:36 AM, ik wrote: making Pascal and Lazarus provide additional market to use regarding Web Client programming, Silverlight/Moonlight does this fore Pascal :) (any many other languages) but not for Lazarus :( . -Michael -- ___

Re: [Lazarus] Web Module not works on Linux

2010-11-24 Thread Michael Schnell
On 11/22/2010 02:00 PM, waldo kitty wrote: a... that sounds like the trick... but i guess we don't call it a widget set like the others, eh? Right, as it's not a part of the LCL and completely of Lazarus. -Michael -- ___ Lazarus mailing list

Re: [Lazarus] Web Module not works on Linux

2010-11-24 Thread Michael Schnell
On 11/23/2010 02:58 AM, waldo kitty wrote: ahhhHAaaa... that makes sense in a way... why not use it in the LCL or lazarus and make a widget set with it? That would be great indeed, but Widget Type are complex beasts and unfortunately they do not adhere to a common hierarchical structure but

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 11:26 AM, Michael Schnell wrote: A decent way to do this would be creating an appropriate Widget Type Interface (See How to tell lazarus the location of a used package in this forum). Sorry wrong link. See Web Module not works on Linux in this forum -Michael --

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 11:42 AM, michael.vancann...@wisa.be wrote: I tried making moderatly complicated production applications with it. It cannot be done without redesigning ExtPascal from the ground up. Same here, That is why I only recommended it as a way to try out ExtJS. Comet is a rickety

Re: [Lazarus] Web Module not works on Linux

2010-11-24 Thread Martin Schreiber
Michael Schnell wrote: - link to a remote Widget set connected via a byte stream (such as TCP/IP) and implemented as a Lazarus Program running on a remote PC (just another dream :) ) The experimental MSEifi does this for MSEgui. Martin -- ___

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Henry Vermaak
2010/11/24 Michael Schnell mschn...@lumino.de: _Of course_. It can't be repeated often enough :-[  ;-)   Maybe some day it helps Maybe the day you send the patches? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Web Module not works on Linux

2010-11-24 Thread Michael Schnell
On 11/24/2010 01:04 PM, Martin Schreiber wrote: The experimental MSEifi does this for MSEgui. This beasty started my dreaming . :-) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
On 11/24/2010 01:01 PM, Henry Vermaak wrote: Maybe the day you send the patches? Unfortunately after some initial experiments I'm not working actively on this any more. Of course I'll try to help whenever someone starts decent work on this issue. -Michael --

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, Michael Schnell wrote: On 11/24/2010 11:42 AM, michael.vancann...@wisa.be wrote: I tried making moderatly complicated production applications with it. It cannot be done without redesigning ExtPascal from the ground up. Same here, That is why I only recommended it as

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Schnell
To who is interested: I tried to create a LinuxIFI Widget Type by stripping off the KDE binding from the KDE2 Widget Type (when starting today I supposedly would use FPGUI instead) and replace the Widget bindings by calls to would-be transporter functions. I even got at a presentable point:

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Lee Jenkins
On 11/24/2010 4:21 AM, michael.vancann...@wisa.be wrote: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make it work like

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, Lee Jenkins wrote: On 11/24/2010 4:21 AM, michael.vancann...@wisa.be wrote: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Marcos Douglas
On Wed, Nov 24, 2010 at 10:40 AM, Lee Jenkins l...@datatrakpos.com wrote: I started a framework like that in question, actually had a decent working prototype that used Adob Flex as the front end.  The problem is as you explained in that there is a tremendous amount of traffic for all of that

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Bo Berglund
On Wed, 24 Nov 2010 11:06:15 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 24 Nov 2010 09:30:01 +0100 Bo Berglund bo.bergl...@gmail.com wrote: On Tue, 23 Nov 2010 23:57:11 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Nov 2010 20:03:26 +0100 Bo

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Mattias Gärtner
Zitat von Bo Berglund bo.bergl...@gmail.com: On Wed, 24 Nov 2010 11:06:15 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: [...] I am trying to get my head around this concept... Currently we work in Delphi. Say that we develop a number of different programs. These programs have

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Dariusz Mazur
W dniu 2010-11-24 10:21, michael.vancann...@wisa.be pisze: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui application using Lazarus, and make it work

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Dariusz Mazur
2010/11/24 ikido...@gmail.com: SilverLight/Moonlight are the wrong way to do things (so does Flash). HTML5 provide in the DOM support for Canvas (you have some games for it), And IE9, Webkit, Opera and Gecko support it, so it's like 99% of web browsers that support for it. But the HTML5

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Dimitri Smits
- michael vancanneyt michael.vancann...@wisa.be schreef: Now if I build a web app for my clients and they have the source code, do I require to buy a commercial license of ExtJS ? Yes, because you make money on it, it is not open source. Michael, that is a fallacy. It is not because

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, Dariusz Mazur wrote: W dniu 2010-11-24 10:21, michael.vancann...@wisa.be pisze: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a gui

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread michael . vancanneyt
On Wed, 24 Nov 2010, Dimitri Smits wrote: - michael vancanneyt michael.vancann...@wisa.be schreef: Now if I build a web app for my clients and they have the source code, do I require to buy a commercial license of ExtJS ? Yes, because you make money on it, it is not open source.

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Dariusz Mazur
On Wed, 24 Nov 2010, Dariusz Mazur wrote: W dniu 2010-11-24 10:21, michael.vancann...@wisa.be pisze: On Wed, 24 Nov 2010, ik wrote: Hello List, Well I know about the framework fur Javascript library in Lazarus, but I'm thinking in the past year or so, what will it take to design a

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Alexsander Rosa
Implicit transaction even in C using libpq, even for a mere SELECT? Are you sure? 2010/11/23 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk Martin Schreiber wrote: On Tuesday, 23. November 2010 18.01:35 Alexsander Rosa wrote: I think the statement without a transaction, Postgres will do

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread ABorka
On 11/24/2010 03:11, michael.vancann...@wisa.be wrote: On Wed, 24 Nov 2010, ik wrote: On Wed, Nov 24, 2010 at 12:46, michael.vancann...@wisa.be wrote: I did some research on that some months ago. I found that this supposedly best would be done using ExtJS. There are few problems with

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Dariusz Mazur wrote: That's not true. Transfer every action to server is very simple task, and computing results also. Thus (on my web app) it took less than 10ms and every user very rare generate more actions than 1 per second. Computing and sending pdf reports took

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Lee Jenkins wrote: On 11/24/2010 8:57 AM, Marcos Douglas wrote: On Wed, Nov 24, 2010 at 10:40 AM, Lee Jenkinsl...@datatrakpos.com wrote: I started a framework like that in question, actually had a decent working prototype that used Adob Flex as the front end. The

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Marcos Douglas
On Wed, Nov 24, 2010 at 3:09 PM, Michael Van Canneyt mich...@freepascal.org wrote: Currently we're deploying a webapp that uses fpweb, FastCGI and runs as a windows service app. Although the latter is more of a necessity than a voluntary choice. The fastcgi approach makes it easy to debug.

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Martin Schreiber
On Wednesday, 24. November 2010 18.52:11 Alexsander Rosa wrote: Implicit transaction even in C using libpq, even for a mere SELECT? Are you sure? Yes: http://www.postgresql.org/docs/8.3/static/tutorial-transactions.html PostgreSQL actually treats every SQL statement as being executed within a

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Alexsander Rosa
But it is transparent to the libpq programmer; why it's not transparent with sqldb? 2010/11/24 Martin Schreiber mse00...@gmail.com On Wednesday, 24. November 2010 18.52:11 Alexsander Rosa wrote: Implicit transaction even in C using libpq, even for a mere SELECT? Are you sure? Yes:

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Marcos Douglas wrote: On Wed, Nov 24, 2010 at 3:09 PM, Michael Van Canneyt mich...@freepascal.org wrote: Currently we're deploying a webapp that uses fpweb, FastCGI and runs as a windows service app. Although the latter is more of a necessity than a voluntary choice.

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Dariusz Mazur wrote: Again, if my assumption is correct, my system again scales better, because it does not need nearly the memory your system uses. Of course. I didn;t say not. But many Delphi todays application need involve strong interaction between database and

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? Correction: it can be transparant in libpq. But we can make it so in SQLDB. The SQLDB model is in fact modeled after Firebird. Firebird offers more control

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Alexsander Rosa
Could you point which files should be patched? 2010/11/24 Michael Van Canneyt mich...@freepascal.org On Wed, 24 Nov 2010, Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? Correction: it can be transparant in libpq. But we can

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Michael Van Canneyt
On Wed, 24 Nov 2010, Alexsander Rosa wrote: Could you point which files should be patched? I think it could be done by simply patching sqldb.pp itself. My suggestion: 1. Add an option 'autotransaction' to TSQLConnection. Best in the form of TSQLConnectionOption = (coAutoTransaction);

[Lazarus] Applying optimization to the project units

2010-11-24 Thread Max Vlasov
Hi, sometimes it takes time for a Delphi developer to understand the logic of fpc/lazarus packages and it's indeed content and full. Recently tried to measure different performance related numbers for a project and finally got that I should change the level of optimization for packages, not for

Re: [Lazarus] Applying optimization to the project units

2010-11-24 Thread Mattias Gaertner
On Thu, 25 Nov 2010 00:03:09 +0300 Max Vlasov max.vla...@gmail.com wrote: Hi, sometimes it takes time for a Delphi developer to understand the logic of fpc/lazarus packages and it's indeed content and full. Recently tried to measure different performance related numbers for a project and

Re: [Lazarus] Applying optimization to the project units

2010-11-24 Thread Max Vlasov
On Thu, Nov 25, 2010 at 12:36 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 25 Nov 2010 00:03:09 +0300 Max Vlasov max.vla...@gmail.com wrote: Hi, sometimes it takes time for a Delphi developer to understand the logic of fpc/lazarus packages and it's indeed content and

Re: [Lazarus] Applying optimization to the project units

2010-11-24 Thread Max Vlasov
On Thu, Nov 25, 2010 at 12:26 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 25 Nov 2010, Max Vlasov wrote: Hi, sometimes it takes time for a Delphi developer to understand the logic of fpc/lazarus packages and it's indeed content and full. Recently tried to measure

Re: [Lazarus] Applying optimization to the project units

2010-11-24 Thread Mattias Gaertner
On Thu, 25 Nov 2010 00:44:52 +0300 Max Vlasov max.vla...@gmail.com wrote: On Thu, Nov 25, 2010 at 12:36 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 25 Nov 2010 00:03:09 +0300 Max Vlasov max.vla...@gmail.com wrote: Hi, sometimes it takes time for a Delphi

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-11-24 Thread Martin Schreiber
On Wednesday, 24. November 2010 20.40:38 Alexsander Rosa wrote: But it is transparent to the libpq programmer; why it's not transparent with sqldb? It is, with tao_fake set (MSEgui). The different DB's have very different transaction models. As Michael writes, sqldb is designed to get the full