Re: [Lazarus] FCL-Web and new WebDesign packages

2010-01-26 Thread Dariusz Mazur
W dniu 2010-01-26 09:30, Graeme Geldenhuys pisze: Joost van der Sluis wrote: EmbWeb: Adds to possibility to FCL-Web to create webapplications with a build-in webserver, based in LNet which is also included. Usefull for debugging I'm very interested in this feature. I have been looking

Re: [Lazarus] FCL-Web and new WebDesign packages

2010-01-28 Thread Dariusz Mazur
W dniu 2010-01-28 14:22, Graeme Geldenhuys pisze: Adrian Veith wrote: environments - I use pascal since 30 years for my every day development and love it - but IMHO for web programming, it is more productive to have a dynamic language - it is the nature of websites. (Free)-Pascal A ma

Re: [Lazarus] Lazarus make me create better apps

2010-05-07 Thread Dariusz Mazur
projects there are other people that forget to free some stuff. What do you use? Have you made any real app using some of these technologies and FPC? I would like to use FPC for my web apps, but I don't see many examples... Does anyone uses FPC for real web applications? We also develop

Re: [Lazarus] Lazarus make me create better apps

2010-05-18 Thread Dariusz Mazur
W dniu 2010-05-18 18:10, Bee Jay pisze: There is a sense that web development work feels like writing mainframe apps in the early 1980s. Its slower, more cumbersome and you have to feel like there must be a better way to do this. The ability to craft a PC application quickly due to great IDE

Re: [Lazarus] Threads in Lazarus code base

2010-09-17 Thread Dariusz Mazur
The parallel loop solves nothing which makes threading hard and is only a cheap excuse. The real problems of threading are synchronization and especially abording threads e.g. triggered by the main thread. Whats about CILK http://en.wikipedia.org/wiki/Cilk |_function_ fib (n: integer):int

Re: [Lazarus] Threads in Lazarus code base

2010-09-18 Thread Dariusz Mazur
W dniu 2010-09-17 17:49, Mattias Gaertner pisze: On Fri, 17 Sep 2010 14:09:59 +0200 Dariusz Mazur wrote: [...] Whats about CILK http://en.wikipedia.org/wiki/Cilk |_function_ fib (n: integer):integer; var x,y : integer; begin if (n< 2) then exit(n) else be

Re: [Lazarus] Threads in Lazarus code base

2010-09-19 Thread Dariusz Mazur
W dniu 2010-09-18 18:55, Mattias Gaertner pisze: On Sat, 18 Sep 2010 18:08:09 +0200 Dariusz Mazur wrote: W dniu 2010-09-17 17:49, Mattias Gaertner pisze: On Fri, 17 Sep 2010 14:09:59 +0200 Dariusz Mazur wrote: [...] Whats about CILK http://en.wikipedia.org/wiki/Cilk |_function_

Re: [Lazarus] Threads in Lazarus code base

2010-09-20 Thread Dariusz Mazur
W dniu 2010-09-20 09:25, Mattias Gaertner pisze: On Sun, 19 Sep 2010 22:22:21 +0200 Dariusz Mazur wrote: W dniu 2010-09-18 18:55, Mattias Gaertner pisze: [...] Whats about CILK http://en.wikipedia.org/wiki/Cilk |_function_ fib (n: integer):integer; var x,y : integer; begin

Re: [Lazarus] Threads in Lazarus code base

2010-09-20 Thread Dariusz Mazur
W dniu 2010-09-20 13:55, Mattias Gärtner pisze: Zitat von Dariusz Mazur : [...] Before using multi threading, try to use a better single threaded algorithm. And when comparing multi with single threading speed, you must not compare a multi threaded algorithm running single threaded, but a

Re: [Lazarus] Threads in Lazarus code base

2010-09-20 Thread Dariusz Mazur
W dniu 2010-09-20 16:09, Sven Barth pisze: Am 20.09.2010 15:22, schrieb Dariusz Mazur: W dniu 2010-09-20 13:55, Mattias Gärtner pisze: Zitat von Dariusz Mazur : [...] Before using multi threading, try to use a better single threaded algorithm. And when comparing multi with single threading

Re: [Lazarus] Threads in Lazarus code base

2010-09-20 Thread Dariusz Mazur
W dniu 2010-09-20 16:03, Mattias Gärtner pisze: Zitat von Dariusz Mazur : [...] Most of programs are huge count of simple computing. There are many places, that things may run parallel without pain. But very often this places are computing short, thus very often overhead of starting thread

Re: [Lazarus] Threads in Lazarus code base

2010-09-21 Thread Dariusz Mazur
W dniu 2010-09-21 09:51, Michael Schnell pisze: On 09/18/2010 06:08 PM, Dariusz Mazur wrote: with CILK approach we deal with task, not threads. IMHO this does not make much sense. For the user-programmer, the relevant difference between tasks and threads is that thread share memory

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 l

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Dariusz Mazur
2010/11/24 ik: 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 Canvas is only program

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 des

Re: [Lazarus] GUI development for web UI

2010-11-24 Thread Dariusz Mazur
W dniu 2010-11-24 19:06, Michael Van Canneyt pisze: 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 t

Re: [Lazarus] GUI development for web UI

2010-12-01 Thread Dariusz Mazur
ExtPascal uses threads to handle multiple connections. I remember you don't accept this way, right? BTW, what is there wrong if ExtPascal uses threads? I accept using threads, but not the way ExtPascal does it. Threads should be optional. In extpascal, the thread is equal to the session: if y

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Dariusz Mazur
W dniu 2010-12-02 09:25, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: ExtPascal uses threads to handle multiple connections. I remember you don't accept this way, right? BTW, what is there wrong if ExtPascal uses threads? I accept using threads, but no

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Dariusz Mazur
W dniu 2010-12-02 11:38, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 09:25, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: ExtPascal uses threads to handle multiple connections. I remember you don't a

Re: [Lazarus] help plz

2009-11-14 Thread Dariusz Mazur
Alexander Kaupp pisze: Hello, I had the idea to try to make it possible to transform an existing lazarus-project to a XUL/XPCOM-Gui application. So I need many informations about a Lazarus Project: - forms - gui-components inside a form - properties of all gui-components - eventhandler of gui-

Re: [Lazarus] help plz

2009-11-16 Thread Dariusz Mazur
Alexander Kaupp pisze: Hi Dariuz, wow great job :) Gut the benefit of using XUL would be that it can be run in a XUL-capable browser or native as an local application or both :) In your case it could be possible to generate XUL on the server instead of HTML and send this to the browser. And if

Re: [Lazarus] Code Metrics and Project Analysis

2009-11-17 Thread Dariusz Mazur
Graeme Geldenhuys pisze: If not, anybody know of such a tool I can use on Object Pascal code? watch at www.peganza.com -- Darek -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/lis

Re: [Lazarus] web apps - http header inspection

2009-11-20 Thread Dariusz Mazur
Graeme Geldenhuys pisze: Hi, Does anybody know how I can inspect the HTTP header information passed to my web browser. the best tool is firebug get*firebug*.com for firefox in Safari You can enable development menu -- Darek -- ___ Lazarus

[Lazarus] Powerpdf

2009-11-26 Thread Dariusz Mazur
Hi I've made several changes to powerpdf unit it consist: - possibility of using char form charset 1250:aogonek, Sacute, Zdotaccent (simple change to other) - draw vertical text using this unit without dependency of Lazarus (even pdfImage depends only from fpImage) My source in http://www.e

Re: [Lazarus] Powerpdf

2009-11-26 Thread Dariusz Mazur
Jesus Reyes pisze: --- El jue 26-nov-09, Dariusz Mazur escribió: De:: Dariusz Mazur Asunto: [Lazarus] Powerpdf A: "Lazarus mailing list" Fecha: jueves 26 de noviembre de 2009, 12:03 Hi I've made several changes to powerpdf unit it consist: - possibility of using char fo

Re: [Lazarus] Powerpdf

2009-11-27 Thread Dariusz Mazur
Michael Van Canneyt pisze: On Thu, 26 Nov 2009, Dariusz Mazur wrote: Hi I've made several changes to powerpdf unit it consist: - possibility of using char form charset 1250:aogonek, Sacute, Zdotaccent (simple change to other) - draw vertical text using this unit without dependen

Re: [Lazarus] What's the hold-up with Lazarus v1.0?

2009-11-29 Thread Dariusz Mazur
Florian Klaempfl pisze: Graeme Geldenhuys schrieb: 2009/11/29 Florian Klaempfl : Do you really think we should care about people looking at version numbers? Wine took years to get 1.0 and people used it, one of the greatest emulators (qemu) is still at 0.11 having a quality Borland had

Re: [Lazarus] Cross Compile for arm-linux

2009-12-07 Thread Dariusz Mazur
view only output commands... Please, help me to make a generic script/tutorial to make fpc/lazarus arm-linux "compatible"! I have this script to compile FPC from svn: make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/home/darek2008/fpcarm/arm-linux-uclibc/bin CROSSOPT="-CaEAB

Re: [Lazarus] Cross Compile for arm-linux

2009-12-07 Thread Dariusz Mazur
Kjow pisze: 2009/12/7 Dariusz Mazur : and at last fpc.cfg: Thank you very much! I'm going to try all, but I don't know a thing: the fpc.cfg you posted is to append to existing one or it is a replace? I'm not expert to config fpc... this is fpc.cfg in the same dir

Re: [Lazarus] Cross Compile for arm-linux

2009-12-08 Thread Dariusz Mazur
Kjow pisze: 2009/12/7 Dariusz Mazur : this is fpc.cfg in the same dir as you compile, as you see it include default fpc Thank you very much! I understand better now :) in your fpc.cfg there are these rows: -FU/home/darek2008/fpcarm/praca/$fpctarget -Fu~/lib/synapsesvn/trunk what&#

Re: [Lazarus] Cross Compile for arm-linux

2009-12-09 Thread Dariusz Mazur
Kjow pisze: Now I have this problem: /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm -XParm-linux- /home/kjow/Programmazione/TestARM/prova1.pas try /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm -XParm-linux- prova1.pas which is curr dir? have You write access to TestARM ? Free Pascal Compiler

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread Dariusz Mazur
Kjow pisze: Hi all again, I think that I'm almost at the end of my path to make Lazarus able to build for arm-linux "graphical projects". It compiles and it seems to link right, I found all target libs I need (I grabbed most of these from sdk), but almost at the end I have this error: ... /hom

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Dariusz Mazur
Kjow pisze: 2009/12/15 : Should be Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT="-dFPC_ARMEL" ... This is the command that I used to make crosscompiler: sudo make crossinstall CPU_T

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Dariusz Mazur
Florian Klaempfl pisze: Dariusz Mazur schrieb: Kjow pisze: 2009/12/15 : Should be Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT="-dFPC_ARMEL" ... T

Re: [Lazarus] Web vs desktop development

2016-01-18 Thread Dariusz Mazur
On 2016-01-15 19:01, Dmitry Boyarintsev wrote: On Fri, Jan 15, 2016 at 12:29 PM, Anthony Walter > wrote: For businesses web development is probably a better fit for their software needs. For people who are computer enthusiasts that use their computers to

Re: [Lazarus] Web vs desktop development

2016-01-18 Thread Dariusz Mazur
On 2016-01-17 02:10, Graeme Geldenhuys wrote: On 2016-01-15 17:29, Anthony Walter wrote: For businesses web development is probably a better fit for their software needs. Yes in a way I see that, but having worked in the past (2014) in a 100% web based company developing online banking and mort

Re: [Lazarus] Web vs desktop development

2016-01-18 Thread Dariusz Mazur
On 2016-01-18 11:52, Graeme Geldenhuys wrote: On 2016-01-18 10:22, Dariusz Mazur wrote: on web much less data ar drawn from serwer That is debatable. Back in the day (circa 1994) loading a web page with stacks of content was in the region of 100-200KB max. Now you load a page with hardly any

[Lazarus] IDE change source itself

2013-05-28 Thread Dariusz Mazur
Hi I have problem with editor under Win8 If I try edit attached file, IDE remove some of chars from source. There are some of diacritic chars from different code page, but I think, editor mustn't it changed. Is this know behavior? Is this bug? I use Lazarus x64 ver 1.08 (under Linux was eve

Re: [Lazarus] IDE change source itself

2013-05-29 Thread Dariusz Mazur
W dniu 2013-05-29 07:55, Mattias Gaertner pisze: On Tue, 28 May 2013 20:07:11 +0200 Dariusz Mazur wrote: Hi I have problem with editor under Win8 If I try edit attached file, IDE remove some of chars from source. There are some of diacritic chars from different code page, but I think

Re: [Lazarus] IDE change source itself

2013-05-29 Thread Dariusz Mazur
W dniu 2013-05-29 01:35, waldo kitty pisze: On 5/28/2013 14:07, Dariusz Mazur wrote: Hi I have problem with editor under Win8 If I try edit attached file, IDE remove some of chars from source. There are some of diacritic chars from different code page, but I think, editor mustn't it ch

Re: [Lazarus] IDE change source itself

2013-05-29 Thread Dariusz Mazur
W dniu 2013-05-29 09:59, Mattias Gaertner pisze: On Wed, 29 May 2013 09:54:44 +0200 Dariusz Mazur wrote: W dniu 2013-05-29 07:55, Mattias Gaertner pisze: On Tue, 28 May 2013 20:07:11 +0200 Dariusz Mazur wrote: Hi I have problem with editor under Win8 If I try edit attached file, IDE

[Lazarus] unit on relative path is not recompile

2013-09-27 Thread Dariusz Mazur
Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program on relative path program p; uses u1 in '..\..\test\u1.pas'; begin ... end; After change something in u1, even in full build u1 is not recompile. If I added path '..\..\test\' to directory options ev

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Dariusz Mazur
On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program on relative path program p; uses u1 in '..\..\test\u1.pas'; be

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Dariusz Mazur
On 2013-09-30 17:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are

Re: [Lazarus] The future of desktop

2013-11-29 Thread Dariusz Mazur
I have made a small test program, by hand, with no LCL and no RAD utilities. It is boring and a lot of dirty work, but not difficult (If I could do it, it can't be difficult, my programming skills are rusted after years of programming sales reports). I have taken a look at QT widget, and perhap

Re: [Lazarus] The future of desktop

2013-11-29 Thread Dariusz Mazur
On 2013-11-29 10:28, Michael Schnell wrote: On 11/28/2013 04:39 PM, Michael Van Canneyt wrote: These days it is very easy to make a very responsive web gui. "Responsiveness" (the program reacts to user input) is not the problem I meant to describe but the ability of the program to issue "state"

Re: [Lazarus] The future of desktop

2013-11-29 Thread Dariusz Mazur
On 2013-11-29 11:01, Michael Schnell wrote: On 11/28/2013 10:29 PM, Santi wrote: I don't want to use Lazarus because it is the last defender of "Native controls" against the evil "web-controls". I want to use Lazarus because I want to use a powerful language like Pascal in the backend and a fr