Re: [Lazarus] limit of mail size to this mailing list

2009-05-24 Thread Joost van der Sluis
Op zondag 24-05-2009 om 22:27 uur [tijdzone +0800], schreef Brad Campbell: Joost van der Sluis wrote: The easier it is for people to view something, the more likely they are to review it. But that's completely irrelevant. When someone submit a patch to this list, he thinks that people who can

Re: [Lazarus] jQuery interface for fcl-web

2009-06-08 Thread Joost van der Sluis
Op maandag 08-06-2009 om 07:59 uur [tijdzone +0700], schreef Bee: (I saw something about a cgi-connection or something?) ExtPascal has CGI gateway which accept request and forward it to an FCGI application. You may look at how it works here: http://code.google.com/p/extpascal/wiki/Overview

Re: [Lazarus] jQuery interface for fcl-web

2009-06-08 Thread Joost van der Sluis
Op maandag 08-06-2009 om 14:05 uur [tijdzone +0200], schreef Michael Van Canneyt: On Sun, 7 Jun 2009, Joost van der Sluis wrote: Attached is the source with an example. Install the package and compile the example. (Change the parameters so it fits to your database) Place the resulting

Re: [Lazarus] EOL character used in .lfm files keep changing

2009-06-11 Thread Joost van der Sluis
Op donderdag 11-06-2009 om 12:39 uur [tijdzone +0200], schreef Graeme Geldenhuys: Marc Weustink wrote: Since you are creating a problem which doesn't exist (for years) for the laz developers I don't think that will happen. Considering that many projects are flocking away from SubVersion

Re: [Lazarus] EOL character used in .lfm files keep changing

2009-06-11 Thread Joost van der Sluis
Op donderdag 11-06-2009 om 13:20 uur [tijdzone +0200], schreef Graeme Geldenhuys: Fixed. Git is more that just a source code repository (ala SubVersion), it is more like a file system with integrity checking all built in. What you put in, is exactly (guaranteed by SHA1 checks) what you

Re: [Lazarus] EOL character used in .lfm files keep changing

2009-06-11 Thread Joost van der Sluis
Op donderdag 11-06-2009 om 14:17 uur [tijdzone +0200], schreef Graeme Geldenhuys: Joost van der Sluis wrote: That's why _you_ have a problem now with line-endings, because your tool doesn't handle this right. I use the best tool for the job, otherwise we would all be developing

Re: [Lazarus] jQuery interface for fcl-web

2009-06-12 Thread Joost van der Sluis
Op dinsdag 09-06-2009 om 14:34 uur [tijdzone +0200], schreef Michael Van Canneyt: On Tue, 9 Jun 2009, Joost van der Sluis wrote: Op maandag 08-06-2009 om 15:28 uur [tijdzone +0200], schreef Michael Van Canneyt: On Mon, 8 Jun 2009, Joost van der Sluis wrote: Op maandag 08-06-2009

[Lazarus] Some thoughts about the global 'Application' instance.

2009-06-18 Thread Joost van der Sluis
Hi all, I always thought that an application always had one Application-instance from the TCustomAppliction class. But at this moment this is not the case for fcl-web applications, or daemon-applications which are using Lazarus-forms. Take for example the fpcgi unit from fcl-web. (not the old

Re: [Lazarus] Some thoughts about the global 'Application' instance.

2009-06-18 Thread Joost van der Sluis
Op donderdag 18-06-2009 om 16:11 uur [tijdzone +0200], schreef Zaher Dirkey: Same in Delphi I know, but can't we come up with a better design? I have service and forms application in same exe file, so i have 2 application in same instance. Joost. --

Re: [Lazarus] Some thoughts about the global 'Application' instance.

2009-06-19 Thread Joost van der Sluis
Op donderdag 18-06-2009 om 21:56 uur [tijdzone +0200], schreef Hans-Peter Diettrich: Joost van der Sluis schrieb: Same in Delphi I know, but can't we come up with a better design? I have service and forms application in same exe file, so i have 2 application in same instance

Re: [Lazarus] Some thoughts about the global 'Application' instance.

2009-06-29 Thread Joost van der Sluis
Op maandag 29-06-2009 om 16:43 uur [tijdzone +0200], schreef Vincent Snijders: Joost van der Sluis schreef: But it would be nice if I could use LResources again, without using forms, but that's another story. I took a quick look, but i don't see how adding LResources add a dependency

Re: [Lazarus] Some thoughts about the global 'Application' instance.

2009-06-29 Thread Joost van der Sluis
Op maandag 29-06-2009 om 17:12 uur [tijdzone +0200], schreef Mattias Gaertner: On Mon, 29 Jun 2009 16:24:47 +0200 Joost van der Sluis jo...@cnoc.nl wrote: And this is what I don't understand. What part of unit forms is needed that does not require the widgetset? LResources. That's

Re: [Lazarus] Some thoughts about the global 'Application' instance.

2009-06-29 Thread Joost van der Sluis
Op maandag 29-06-2009 om 17:17 uur [tijdzone +0200], schreef Mattias Gaertner: On Mon, 29 Jun 2009 16:59:23 +0200 Joost van der Sluis jo...@cnoc.nl wrote: Op maandag 29-06-2009 om 16:43 uur [tijdzone +0200], schreef Vincent Snijders: Joost van der Sluis schreef: But it would

Re: [Lazarus] SqLite

2009-07-15 Thread Joost van der Sluis
Op maandag 13-07-2009 om 14:40 uur [tijdzone +0100], schreef Henry Vermaak: You can use sqlite3dyn unit, then use TryInitialiseSqlite, InitialiseSQLite, ReleaseSQLite funcs. See fpc sources for more info. I don't know how to do this with sqldb, though. sqldb already uses the sqlite3dyn unit.

Re: [Lazarus] Debugging and exception messages

2009-07-17 Thread Joost van der Sluis
Op vrijdag 17-07-2009 om 01:44 uur [tijdzone +0200], schreef Marc Weustink: Joost van der Sluis wrote: Hi all, When I use 'raise exception.create('test');' and run this in the debugger, I get a message that an unknown exception occured, but the error-message (test) isn't showed

Re: [Lazarus] Debugging and exception messages

2009-07-18 Thread Joost van der Sluis
Op vrijdag 17-07-2009 om 20:10 uur [tijdzone +0800], schreef Paul Ishenin: Joost van der Sluis wrote: Op vrijdag 17-07-2009 om 01:44 uur [tijdzone +0200], schreef Marc Weustink: Joost van der Sluis wrote: When I use 'raise exception.create('test');' and run this in the debugger, I

Re: [Lazarus] SQLDb ApplyUpdates

2009-08-16 Thread Joost van der Sluis
Op vrijdag 07-08-2009 om 18:05 uur [tijdzone +0200], schreef JoshyFun: Hello, Lazarus: SVN a week ago. fpc: 2.2.3, 2.2.4 Database: Firebird 1.5 and 2.1 Does anybody known a reason why this code will crash: SQLQuery1.Delete; SQLQuery1.ApplyUpdates; SQLTransaction1.CommitRetaining;

Re: [Lazarus] programmer / project statistics

2009-08-21 Thread Joost van der Sluis
Op donderdag 06-08-2009 om 17:09 uur [tijdzone +0200], schreef Graeme Geldenhuys: We actually want to implement statistics gathering in our flagship product - because users never give us feedback. Well, I can't say that this also holds for you, as Lazarus user. ;) Joost. --

Re: [Lazarus] Request for student project ideas

2009-09-12 Thread Joost van der Sluis
On Sat, 2009-09-12 at 10:46 +0200, Marco van de Voort wrote: During the Embarcadero CodeRage sessions this week I took a look at the IOUtils unit introduced in Delphi 2010. I expect developers to start using it as they tart to use Delphi 2010 more and more. It would be a big

Re: [Lazarus] enablecontrols and disablecontrols

2009-09-21 Thread Joost van der Sluis
On Mon, 2009-09-21 at 15:19 +0200, Andrea Mauri wrote: Dear all, I have a question regarding DisableControls and EnableControls procedures of TDataSet. Is it correct that if I call 2 times disablecontrols I have to call 2 times enablecontrols in order to enable again the controls associated

Re: [Lazarus] Using parameters with sqldb

2009-09-29 Thread Joost van der Sluis
On Tue, 2009-09-29 at 13:17 +0200, JoshyFun wrote: Hello waldo, Tuesday, September 29, 2009, 6:32:22 AM, you wrote: .ParamByname('filtro').AsString:='TESTE%'; .Value is not a good friend. wk then why does it exist if not usable?? :? :( It is usable, but as it involves variants

Re: [Lazarus] Publishing TBufDataset

2009-09-30 Thread Joost van der Sluis
On Tue, 2009-09-29 at 08:21 +0200, Zlatko Matić wrote: Hello, Recently I replaced MemDataset with BufDataset, because it has Locate and filters implemented. So, I'm wondering why TBufDataset is not published as a component under DataAccess pallette? It wasn't very stable for

Re: [Lazarus] Errors when trying to use SQLDBLaz

2009-10-05 Thread Joost van der Sluis
On Sun, 2009-10-04 at 11:46 -0400, Lee Jenkins wrote: Lee Jenkins wrote: Can anyone explain why Lazarus throws these errors when building the project with SQLDBLaz included in the project? cgi_test.lpr(15,1) Error: Undefined symbol: WSRegisterCustomImageList cgi_test.lpr(15,1)

Re: [Lazarus] Errors when trying to use SQLDBLaz

2009-10-05 Thread Joost van der Sluis
On Mon, 2009-10-05 at 15:41 +0200, Mattias Gärtner wrote: Zitat von Joost van der Sluis jo...@cnoc.nl: On Sun, 2009-10-04 at 11:46 -0400, Lee Jenkins wrote: Lee Jenkins wrote: Can anyone explain why Lazarus throws these errors when building the project with SQLDBLaz included

Re: [Lazarus] FastCGI?

2009-10-06 Thread Joost van der Sluis
On Tue, 2009-10-06 at 09:28 -0400, Lee Jenkins wrote: Lee Jenkins wrote: Wasn't some work done recently to add FastCGI to lazarus? If so, which version must I have, trunk? Thanks, -- I've been looking around and I see definitions for FCGI in weblazideintf.pp but I'm not

Re: [Lazarus] FastCGI?

2009-10-12 Thread Joost van der Sluis
On Sat, 2009-10-10 at 12:44 +0200, Micha Nelissen wrote: Lee Jenkins wrote: I've looked for a couple of days trying to find a location of an embedded web server for lazarus or fpc and I have found nothing in sources or google. Maybe TLHTTPServer + (fast)CGI handler in lNet was meant?

Re: [Lazarus] SQLDb Query Insert, Update vs SQL

2009-11-08 Thread Joost van der Sluis
On Wed, 2009-11-04 at 18:25 +0100, JoshyFun wrote: Hello Lazarus-List, Wednesday, November 4, 2009, 3:35:14 PM, you wrote: i I've added the queries into the InsertSQL nd UpdateSQL however it seems like i it is using the SQL code and make it's own update and insert (I know this i because

Re: [Lazarus] Write XML

2009-12-20 Thread Joost van der Sluis
There is a method in MS Visual Studio to what we pass a dataset obtained via SQL SELECT and the method convert columns to XML and write the XML data to disk. Is there a similar method in Lazarus? Or... How can I obtain the same result using Lazarus? An example would be very useful. If you

[Lazarus] Define for the used windgetset

2009-12-31 Thread Joost van der Sluis
Hi all, Is it possible to add some define which can be used to detect the current widgetset? It would be usefull in a package to detect if the 'nogui' widgetset is used. But as it is now I see no way to do so? Joost. -- ___ Lazarus mailing list

[Lazarus] How to get projectdir in package?

2009-12-31 Thread Joost van der Sluis
Hi all, I'm developing a design-time package and want to store some files in the default-project dir. How to do so? And what I actually want, is that a user can set the used path, relative to the current project path. Like you can place generated executables in 'lib'. Or even use the standard

Re: [Lazarus] Define for the used windgetset

2009-12-31 Thread Joost van der Sluis
On Thu, 2009-12-31 at 14:35 +0100, Marc Weustink wrote: Joost van der Sluis wrote: Hi all, Is it possible to add some define which can be used to detect the current widgetset? It would be usefull in a package to detect if the 'nogui' widgetset is used. But as it is now I see no way

Re: [Lazarus] How to get projectdir in package?

2009-12-31 Thread Joost van der Sluis
On Thu, 2009-12-31 at 17:47 +0100, Mattias Gaertner wrote: On Thu, 31 Dec 2009 17:12:50 +0100 Joost van der Sluis jo...@cnoc.nl wrote: And what I actually want, is that a user can set the used path, relative to the current project path. Like you can place generated executables in 'lib

[Lazarus] FCL-Web and new WebDesign packages

2010-01-24 Thread Joost van der Sluis
. But all comments and help are welcome. Regards, Joost van der Sluis. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2010-01-26 Thread Joost van der Sluis
On Tue, 2010-01-26 at 12:23 +0700, Bee Jay wrote: For it to work the fcl-web_joost branch of Freepascal has to be used. (Or copy the files in packages/fcl-web onto your checkout of fpc-trunk) Can it be just merged with current fpc-trunk so we don't need to mess around with our svn

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

2010-01-26 Thread Joost van der Sluis
On Tue, 2010-01-26 at 10:24 +0200, Graeme Geldenhuys wrote: Joost van der Sluis wrote: That has nothing to do with it. (With Git you would also have to use a local command to use this branch/part) I was simply enlightening Bee that I know how he feels and that it would have been easier

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

2010-01-26 Thread Joost van der Sluis
On Tue, 2010-01-26 at 10:30 +0200, Graeme Geldenhuys wrote: 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

Re: [Lazarus] Reconstructing Lazarus Website 4: the dev tool

2010-01-31 Thread Joost van der Sluis
The companies around me that makes the best websites, don't use CMS's anymore. And if they do they do not use on of the standard ones, but one of their own. That's because a good website begins with the design. And all CMS-systems lay rules on how the design should look like. If you want to

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-02 Thread Joost van der Sluis
On Tue, 2010-02-02 at 14:49 +0700, Bee Jay wrote: I've made a very basic design, just to show off my page layout and content structure proposal. It's not yet about the true design (color, theme, etc) and the accessories (images, icons, etc). Take a look at

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-02 Thread Joost van der Sluis
On Tue, 2010-02-02 at 15:35 +0700, Bee Jay wrote: Looks good. Maybe we can add a tagline to the brownish header. 'Code once, compile everywhere' could be it maybe. It has to tell what Lazarus/fpc is as less as words possible. Yes, as I asked previously, I need help about the wording.

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-02 Thread Joost van der Sluis
On Tue, 2010-02-02 at 15:40 +0700, Bee Jay wrote: Personally, I like the other color scheme more than this one. But, I would rather go with color scheme which is more in spirit of whole project. (btw, how about having blue behind Lazarus less intense - maybe more like those at the top and

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-02 Thread Joost van der Sluis
On Tue, 2010-02-02 at 16:35 +0700, Bee Jay wrote: The big header section isn't static. It will be slide-like presentation that will highlight key features of both FPC and Lazarus. One more thing. The header section is available on the front page only. It wouldn't be available on the

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-02 Thread Joost van der Sluis
On Tue, 2010-02-02 at 16:35 +0700, Bee Jay wrote: The big header section isn't static. It will be slide-like presentation that will highlight key features of both FPC and Lazarus. One more thing. The header section is available on the front page only. It wouldn't be available on the

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-03 Thread Joost van der Sluis
On Wed, 2010-02-03 at 14:58 +0700, Bee Jay wrote: The content pages, will have a navigation bar below the shrinked header. The shrinked header will be static which will show the appropriate slide in regard with the content being displayed. Here's my proposal for content page layout:

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-04 Thread Joost van der Sluis
On Wed, 2010-02-03 at 20:16 +0700, Klenongan wrote: And here's mine, with more 'elegant' touch to it. I use large fonts and white overall to make a neutral appearance --as I don't know Lazarus' color--. The page uses less text as possible on the front page, inspired by Mercurial, VLC,

Re: [Lazarus] Reconstructing Lazarus Website 2: the content

2010-02-04 Thread Joost van der Sluis
On Thu, 2010-02-04 at 23:15 +0700, Klenongan wrote: I don't like this design at all. Bee's design is much better. ... What you expect on a home-page is links, links, links and a few lines explaining things. Because every new-comer has a different reason to come to that page. Some like

Re: [Lazarus] Access to  PostgreSQL

2010-03-01 Thread Joost van der Sluis
On Sat, 2010-02-20 at 19:45 -0300, Pino Zollo wrote: Il sabato 20 febbraio 2010 17:17:19 lazarus-requ...@lists.lazarus.freepascal.org ha scritto: Correct. A grid cannot show blobs. In order to know it is empty, it must read it first. So you will always see (blob). This is why I for my

Re: [Lazarus] Lazarus MySQL 5.1

2010-03-03 Thread Joost van der Sluis
On Tue, 2010-03-02 at 20:11 +0100, Marco van de Voort wrote: On Tue, Mar 02, 2010 at 02:59:12PM +, Henry Vermaak wrote: seems to have fallen from the air, connecting to nothing ? I presume it comes from here (in mysql.inc): const mysqllib = 'libmysqlclient.'+sharedsuffix;

Re: [Lazarus] tarballs

2010-03-09 Thread Joost van der Sluis
On Tue, 2010-03-09 at 00:44 -0800, Jaqui Greenlees wrote: where are the tarballs of the sources for the stable releases? since debian, ubuntu and fedora are useless packages. and NO, a svn repo checkout is NOT the same as a tarball. don't need the whole version control data to build for a

Re: [Lazarus] Is Lazarus project in a downward spiral?

2010-03-09 Thread Joost van der Sluis
On Tue, 2010-03-09 at 02:57 -0700, Tom Lisjac wrote: On Tue, Mar 9, 2010 at 1:38 AM, Vincent Snijders vsnijd...@vodafonevast.nl wrote: Alexander Klenin schreef: On Tue, Mar 9, 2010 at 13:44, Hans-Peter Diettrich drdiettri...@aol.com wrote: It's not so simple. Guess why it took me

[Lazarus] New version of WebDesign available

2010-03-12 Thread Joost van der Sluis
-example. Regards, Joost van der Sluis -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] creating a Lazarus package NoGUIApplication

2010-03-15 Thread Joost van der Sluis
On Thu, 2010-03-11 at 17:01 +0100, Mattias Gaertner wrote: On Thu, 11 Mar 2010 12:04:40 +0100 Michael Schnell mschn...@lumino.de wrote: Hi Experts, I'd like to create an opens source Lazarus package NoGUIApplication, that allows for creating a Linux Application that allows for event

Re: [Lazarus] creating a Lazarus package NoGUIApplication

2010-03-15 Thread Joost van der Sluis
On Mon, 2010-03-15 at 13:18 +0100, Michael Schnell wrote: On 03/15/2010 12:31 PM, Joost van der Sluis wrote: It works perfectly. You can use it to compile any fcl-web application against. So that there are no dependencies on external gui-libraries (like gtk, qt etc) OK. Works here

Re: [Lazarus] New version of WebDesign available

2010-03-15 Thread Joost van der Sluis
On Mon, 2010-03-15 at 14:33 +0100, Michael Schnell wrote: In your mail from jan 24 I found: adds some functionality for server based and client site event handling This sounds as if persistent CGI would be supported. Would it be possible to create a CGI that allows for this: - no

Re: [Lazarus] New version of WebDesign available

2010-03-17 Thread Joost van der Sluis
On Wed, 2010-03-17 at 12:57 +0100, Michael Schnell wrote: On 03/17/2010 11:58 AM, Joost van der Sluis wrote: That's not true. What you could do is keep your program/module persistent in memory. In every cgi-call from the client you include a session-identifier. Then you can decide

Re: [Lazarus] New version of WebDesign available

2010-03-17 Thread Joost van der Sluis
On Wed, 2010-03-17 at 14:15 +0100, Michael Schnell wrote: On 03/17/2010 01:32 PM, Michael Van Canneyt wrote: It cannot use a TTimer, since TTimer presupposes a GUI and an X server. That is what I did expect. It can use a TFPTimer, which does not suppose a GUI and X server. Sounds

Re: [Lazarus] New version of WebDesign available

2010-03-18 Thread Joost van der Sluis
On Wed, 2010-03-17 at 14:39 +0100, Michael Van Canneyt wrote: On Wed, 17 Mar 2010, Joost van der Sluis wrote: On Wed, 2010-03-17 at 14:15 +0100, Michael Schnell wrote: On 03/17/2010 01:32 PM, Michael Van Canneyt wrote: It cannot use a TTimer, since TTimer presupposes a GUI and an X

Re: [Lazarus] Lazarus make me create better apps

2010-05-15 Thread Joost van der Sluis
On Thu, 2010-05-13 at 14:04 -0300, Marcos Douglas wrote: On Thu, May 13, 2010 at 12:16 PM, Joost van der Sluis jo...@cnoc.nl wrote: Does anyone uses FPC for real web applications? Yes, offcourse. So, would you like your examples, please? Well, the problem is that I am bound to some

Re: [Lazarus] TSQLQuery and creating a new record

2010-05-17 Thread Joost van der Sluis
On Sun, 2010-05-16 at 15:46 -0500, Albert Zuurbier wrote: Over the past few days I have tried creating and editing new records with the TSQLQuery component. I succeeded, but with quite a workaround. As stated in bug report 0016076 (not authored by me) TSQLQuery gives errors if you try to

Re: [Lazarus] TSQLQuery and creating a new record

2010-05-18 Thread Joost van der Sluis
On Mon, 2010-05-17 at 12:49 -0500, Albert Zuurbier wrote: would like to discuss (and hopefully learn) about other things I found. It always amazes me how people can have huge problems with the most simple things. It probably means that there

Re: [Lazarus] Lazarus make me create better apps

2010-05-18 Thread Joost van der Sluis
On Tue, 2010-05-18 at 07:40 -0700, Myles Wakeham wrote: Bee wrote: What framework do you need to build web apps using pascal? Web apps is just about read browser request and reply to it. A custom simple communication class (to encapsulate the request-reply process) should be sufficient.

Re: [Lazarus] CGI using weblaz

2010-05-19 Thread Joost van der Sluis
On Wed, 2010-05-19 at 13:45 +0100, Vannus wrote: Has anybody got query's to work with weblaz TCustomCGIApplication? ie. my.cgi?q=hello and my.cgi then outputs whatever q is? the AResponse.Fields don't get filled with the query and AResponse.URL doesn't contain the URL for me to parse

Re: [Lazarus] FPC 2.4.2 and Lazarus

2010-05-20 Thread Joost van der Sluis
On Thu, 2010-05-20 at 02:14 +0300, Dimitrios Chr. Ioannidis wrote: στις 20/5/2010 2:04 πμ, O/H Marco van de Voort έγραψε: The Alpha, Beta, RCx, Release, Maintenance cycle is a must if you care about your users. The people who use your product. Don't make them chase a moving target. If you

Re: [Lazarus] Possible fpWeb bug

2010-05-20 Thread Joost van der Sluis
On Wed, 2010-05-19 at 17:35 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to create a non-default action that must be executed when the url is /cgi-bin/myprogram?action=ShowListing. When I change the Content-property to ShowListing it automatically adds an #10 character at the end, this can be

Re: [Lazarus] Possible fpWeb bug

2010-05-20 Thread Joost van der Sluis
On Thu, 2010-05-20 at 11:48 +0200, Michael Van Canneyt wrote: On Thu, 20 May 2010, Joost van der Sluis wrote: On Wed, 2010-05-19 at 17:35 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to create a non-default action that must be executed when the url is /cgi-bin/myprogram?action

Re: [Lazarus] FPC 2.4.2 and Lazarus

2010-05-20 Thread Joost van der Sluis
On Thu, 2010-05-20 at 13:08 +0300, Dimitrios Chr. Ioannidis wrote: On Thu, 20 May 2010 11:40:09 +0200, Joost van der Sluis jo...@cnoc.nl wrote: snip But maybe it would be very useful if you help with the basic testing. When a release is build (relatively simple) you always have

Re: [Lazarus] Possible fpWeb bug

2010-05-20 Thread Joost van der Sluis
On Thu, 2010-05-20 at 08:44 -0300, Leonardo M. Ramé wrote: El jue, 20-05-2010 a las 12:22 +0200, Michael Van Canneyt escribió: On Thu, 20 May 2010, Joost van der Sluis wrote: On Thu, 2010-05-20 at 11:48 +0200, Michael Van Canneyt wrote: On Thu, 20 May 2010, Joost van der Sluis

Re: [Lazarus] Filtering on date with TDbf

2012-02-02 Thread Joost van der Sluis
On Thu, 2012-02-02 at 10:45 +0100, Koenraad Lelong wrote: Unfortunately, this does not help. The application I'm writing extracts data from the database. The input into the database is handled by an old application (dbase or a derivate), and I don't have the sources of it. So I can't

[Lazarus] Non-lcl-designer design question

2012-04-18 Thread Joost van der Sluis
Hi, I'm playing around with a non-lcl-designer to design xib forms. This works quite nice, but there are a lot of issues. Basic problem is that the 'objects' which are placed on the designer are not TComponent descendants. In fact they aren't even classes but objcclasses. To circumvent this

Re: [Lazarus] Non-lcl-designer design question

2012-04-18 Thread Joost van der Sluis
On Wed, 2012-04-18 at 14:16 +0200, Mattias Gaertner wrote: Joost van der Sluis jo...@cnoc.nl hat am 18. April 2012 um 13:45 geschrieben: To circumvent this problem I created a unit with TComponent descendants with the same name as the objcclasses I really want to use. I thought

Re: [Lazarus] Non-lcl-designer design question

2012-04-18 Thread Joost van der Sluis
On Wed, 2012-04-18 at 14:42 +0200, Joost van der Sluis wrote: On Wed, 2012-04-18 at 14:16 +0200, Mattias Gaertner wrote: Joost van der Sluis jo...@cnoc.nl hat am 18. April 2012 um 13:45 geschrieben: I will create a test example so we can check what is possible and what is needed

[Lazarus] TBaseCompilerOptions.ExecuteAfter not available in IDEIntf

2012-04-18 Thread Joost van der Sluis
Hi, (While I'm re-writing my package, I can better report some problems I'm having immediately) I want to set TBaseCompilerOptions.ExecuteAfter in a package, but to do that the package has to depend on the ide package. Not ideal, if not impossible. Could .ExecuteAfter (and probably before) be

Re: [Lazarus] Non-lcl-designer design question

2012-04-19 Thread Joost van der Sluis
On Wed, 2012-04-18 at 20:39 +0200, Joost van der Sluis wrote: On Wed, 2012-04-18 at 14:42 +0200, Joost van der Sluis wrote: On Wed, 2012-04-18 at 14:16 +0200, Mattias Gaertner wrote: Joost van der Sluis jo...@cnoc.nl hat am 18. April 2012 um 13:45 geschrieben: I will create a test

Re: [Lazarus] Non-lcl-designer design question

2012-04-19 Thread Joost van der Sluis
On Thu, 2012-04-19 at 17:59 +0200, Sven Barth wrote: On 19.04.2012 15:12, Reinier Olislagers wrote: On 19-4-2012 14:51, Reimar Grabowski wrote: On Thu, 19 Apr 2012 09:05:45 +0200 Graeme Geldenhuysgraemeg.li...@gmail.com wrote: Every heard of Git? ;-) You mean this old, little VCS

Re: [Lazarus] Non-lcl-designer design question

2012-04-19 Thread Joost van der Sluis
On Thu, 2012-04-19 at 17:01 +0200, Joost van der Sluis wrote: On Wed, 2012-04-18 at 20:39 +0200, Joost van der Sluis wrote: In principle: install the package, and create a new 'ios application'. You can add components from the MyWidgetSet tab. Then there's some trickery: you have to run 'Start

Re: [Lazarus] Non-lcl-designer design question

2012-04-19 Thread Joost van der Sluis
On Thu, 2012-04-19 at 21:09 +0200, Marco van de Voort wrote: On Thu, Apr 19, 2012 at 05:59:20PM +0200, Sven Barth wrote: can start another unicode thread or a documentation dicussion to really heat up things around here... The Git discussions don't usually get as heated up as unicode

[Lazarus] Problems with painting controls on canvas

2012-04-20 Thread Joost van der Sluis
Hi, I try to paint a widget with child-widgets on a canvas in an OnPaint handler. But I can not get it right. Below is my current code. It almost works, but when I resize the widgets in the designer, there are all kind of artefacts on the lower right part. It has something to do with the

[Lazarus] Demonstration of developing iOS application using a non-lcl-designer

2012-05-13 Thread Joost van der Sluis
Hi all, As I wrote earlier I'm working on a non-lcl-designer to make it easier to develop for iOS. I have all the basics working now. It needs some changes to Lazarus, though. A few changes can be classified as 'ugly hack, will never be accepted', but it is a start. You can view the result

[Lazarus] TControl.InvalidatePreferredSize loop detected

2012-07-09 Thread Joost van der Sluis
4289 of include/control.inc $004E83CA line 488 of include/customform.inc -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl -- ___ Lazarus mailing list Lazarus

[Lazarus] Changing the translation of forms while the program is running

2012-07-13 Thread Joost van der Sluis
Hi all, I'm using the DefaultTranslator unit to translate my application, but I would also like to switch to another language on-the-fly, thus without restarting the application. Are there any tricks to do that? -- Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en

Re: [Lazarus] Changing the translation of forms while the program is running

2012-07-13 Thread Joost van der Sluis
On Fri, 2012-07-13 at 16:00 +0200, Corpsman wrote: Try this one : http://corpsman.de/index.php?doc=komponenten/multilanguage Does it uses the .po and .mo files generated by Lazarus? Joost. -- ___ Lazarus mailing list

Re: [Lazarus] Changing the translation of forms while the program is running

2012-07-16 Thread Joost van der Sluis
On Fri, 2012-07-13 at 15:51 +0200, zeljko wrote: On Friday 13 of July 2012 15:49:37 Joost van der Sluis wrote: I'm using the DefaultTranslator unit to translate my application, but I would also like to switch to another language on-the-fly, thus without restarting the application. I

Re: [Lazarus] Changing the translation of forms while the program is running

2012-07-16 Thread Joost van der Sluis
On Mon, 2012-07-16 at 14:16 +0200, Mattias Gaertner wrote: On Mon, 16 Jul 2012 13:58:57 +0200 Joost van der Sluis jo...@cnoc.nl wrote: On Fri, 2012-07-13 at 15:51 +0200, zeljko wrote: On Friday 13 of July 2012 15:49:37 Joost van der Sluis wrote: I'm using the DefaultTranslator unit

Re: [Lazarus] Compiling LCL units via commandline

2012-07-25 Thread Joost van der Sluis
... there's still the plan to adapt fpmake so that it can compile the lcl and applications that are using the lcl. Coincidentally I've worked on that yesterday, and I was surprised how easy it was. I'll continue with it but do not expect that it will become really stable soon Joost van der

Re: [Lazarus] PascalScript on Win x64

2012-09-08 Thread Joost van der Sluis
On Thu, 2012-09-06 at 09:47 +0200, Sven Barth wrote: Am 06.09.2012 04:40, schrieb Paul Ishenin: 04.09.12, 22:10, Sven Barth пишет: RTTI may (you need to establish if this applies to *all* cases) tell you that procedure Foo(a: integer) takes 1 int param. But it will not tell you, if

Re: [Lazarus] building lazarus 1.0 with make OPT=-n and fpc.cfg in different location

2012-09-08 Thread Joost van der Sluis
On Wed, 2012-09-05 at 10:38 +0200, Reinier Olislagers wrote: Once I used fpcmkcfg instead of samplecfg, I never looked back ;) Nowadays samplecfg is only a wrapper around fpcmkcfg, for backwards-compatibility. Joost. -- ___ Lazarus mailing list

Re: [Lazarus] make clean is leaving more than 20MB stuff behind (this number is after compression!)

2012-10-14 Thread Joost van der Sluis
On Sat, 2012-10-13 at 10:46 +0200, Reinier Olislagers wrote: On 8-10-2012 14:50, Bernd wrote: 2012/10/8 Mattias Gaertner nc-gaert...@netcologne.de: FYI: FPC make distclean didn't work: fpc trunk log: r22621 | joost | 2012-10-12 23:26:16 +0200 (Friday, 12 Oct 2012) | 6 lines * For some

Re: [Lazarus] Please define delphi compatibility

2012-10-14 Thread Joost van der Sluis
On Thu, 2012-10-11 at 11:55 +0200, Sven Barth wrote: Am 10.10.2012 18:42, schrieb Florian Klämpfl: Am 10.10.2012 16:11, schrieb Bart: I would even go into the opposite direction and adjust Delphi's attribute syntax: to a more Pascal like: === hypothetical example === type

Re: [Lazarus] Please define delphi compatibility

2012-10-14 Thread Joost van der Sluis
On Sun, 2012-10-14 at 13:11 +0200, michael.vancann...@wisa.be wrote: On Sun, 14 Oct 2012, Joost van der Sluis wrote: On Thu, 2012-10-11 at 11:55 +0200, Sven Barth wrote: Am 10.10.2012 18:42, schrieb Florian Klämpfl: Am 10.10.2012 16:11, schrieb Bart: I would even go into the opposite

[Lazarus] LCL=Package changes issue

2011-02-10 Thread Joost van der Sluis
Hi all, Although the new LCL=package approach is a big step forward, I have the idea that all complaints about the old system, which you can find everywhere, are all addressed. But those parts that were useful for the power-users, who didn't complain, have become a little bit trickier. One

Re: [Lazarus] Send a ResultSet (encrypted) between 2 servers

2011-02-10 Thread Joost van der Sluis
On Wed, 2011-02-09 at 21:28 -0200, Marcos Douglas wrote: Hi, If you had to send an encrypted ResultSet between 2 DBMS servers, using port 80, what libs would you use? It isn't necessary to use WebServices. Just two applications sending encrypted packages... I also read your more recent

Re: [Lazarus] LCL=Package changes issue

2011-02-10 Thread Joost van der Sluis
On Thu, 2011-02-10 at 11:55 +0100, michael.vancann...@wisa.be wrote: On Thu, 10 Feb 2011, Joost van der Sluis wrote: Hi all, Although the new LCL=package approach is a big step forward, I have the idea that all complaints about the old system, which you can find everywhere, are all

[Lazarus] Another LCL=Package changes issue

2011-02-10 Thread Joost van der Sluis
Hi all, Now the LCL is automatically recompiled when some change has been detected, what do I do if I change something in the FCL/RTL and want to rebuild the LCL? And all packages in one go? (Checking which package depend on the rtl/fcl change and compile them manually is too much work, I

Re: [Lazarus] Another LCL=Package changes issue

2011-02-10 Thread Joost van der Sluis
On Thu, 2011-02-10 at 12:07 +0100, Felipe Monteiro de Carvalho wrote: That's a very common problem in software development and the answer is always: make clean In this particular case, open the LCL package and one of the options is Recompile clean Yes, offcourse. But before this change I

Re: [Lazarus] LCL=Package changes issue

2011-02-10 Thread Joost van der Sluis
On Thu, 2011-02-10 at 12:14 +0100, michael.vancann...@wisa.be wrote: On Thu, 10 Feb 2011, Joost van der Sluis wrote: On Thu, 2011-02-10 at 11:55 +0100, michael.vancann...@wisa.be wrote: I would even go so far as to forbid the dependency of a run-time package on a design-time package

Re: [Lazarus] LCL=Package changes issue

2011-02-10 Thread Joost van der Sluis
On Thu, 2011-02-10 at 13:12 +0100, Mattias Gaertner wrote: On Thu, 10 Feb 2011 12:53:25 +0100 Joost van der Sluis jo...@cnoc.nl wrote: Well, the user will need to know this rule. So when he opens the project, and the IDE complains that he needs the 'WebDesign' package, he has to know

Re: [Lazarus] Send a ResultSet (encrypted) between 2 servers

2011-02-10 Thread Joost van der Sluis
On Thu, 2011-02-10 at 09:11 -0300, Marcos Douglas wrote: On Thu, Feb 10, 2011 at 7:56 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2011-02-10 12:43, Marcos Douglas het geskryf: Right... and about the way to send these ResultSet packages, what would you use? I don't know

Re: [Lazarus] Send a ResultSet (encrypted) between 2 servers

2011-02-10 Thread Joost van der Sluis
On Thu, 2011-02-10 at 10:09 -0300, Marcos Douglas wrote: On Thu, Feb 10, 2011 at 9:57 AM, Joost van der Sluis jo...@cnoc.nl wrote: Midas is a web-service. (At least when is uses port 80) But if you want to use something Midas-like, you can just build it yourself, as I wrote before

Re: [Lazarus] Compile error

2011-02-15 Thread Joost van der Sluis
On Fri, 2011-02-11 at 14:02 +1300, Paul Parkyn wrote: Hello, I have been trying to compile lazarus from svn, as I have tried a number of times I am using make clean all the process fails when calling the resource compiler for lazarus.or. lazarus.pp(132,1) Error: Can't call the resource

Re: [Lazarus] LCL=Package changes issue

2011-02-16 Thread Joost van der Sluis
On Thu, 2011-02-10 at 20:02 +0100, Mattias Gaertner wrote: On Thu, 10 Feb 2011 15:08:58 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 10 Feb 2011 13:48:09 +0100 Joost van der Sluis jo...@cnoc.nl wrote: On Thu, 2011-02-10 at 13:12 +0100, Mattias Gaertner wrote

Re: [Lazarus] software licence question - deceased author

2011-02-24 Thread Joost van der Sluis
On Thu, 2011-02-24 at 11:16 +0100, Felipe Monteiro de Carvalho wrote: It depends on the country, check this list: http://en.wikipedia.org/wiki/List_of_countries'_copyright_length The usual answer is: No, you need to wait 50 or 70 years more. So if the author released under the MPL, it will

  1   2   3   4   >