[Lazarus] Lazarus made it to IBPhoenix :-)

2010-05-20 Thread michael . vancanneyt
IBPhoenix is a support company for Firebird. Their news site mention a (portugese) article on how to connect Lazarus to Firebird using SQLDB. See http://www.ibphoenix.com/ Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] How to insert item in TJSONObject?

2011-12-12 Thread michael . vancanneyt
On Mon, 12 Dec 2011, silvioprog wrote: Hello, To Add or Delete is very easy: TJSONObject(FJSONData).Add('Item name', 'Item value'); TJSONObject(FJSONData).Delete(AIndex); And to Insert? TJSONObject(FJSONData).Insert(AIndex, 'Item name', 'Item value')? No no no... TJSONObject don't

Re: [Lazarus] Date format conversion function?

2011-12-22 Thread michael . vancanneyt
On Wed, 21 Dec 2011, Howard Lee Harkness wrote: I am using SQLite in a small application, and using TDateEdit to pick a date. The date is returned in the Text field (I can't find a DateTime property in this control) in the format 'mm/dd/', and to use INSERT in SQLite, it wants dates in

Re: [Lazarus] Run-time packages create a register unit

2011-12-22 Thread michael . vancanneyt
On Thu, 22 Dec 2011, Mattias Gaertner wrote: ik ido...@gmail.com hat am 22. Dezember 2011 um 11:04 geschrieben: Hello, I'm creating a run-time package, but it seems that Lazarus also create a register unit with the package itself. Why is that, if I do not wish to register components,

Re: [Lazarus] How to access private field in FPC 2.7.1? (class helper?)

2011-12-23 Thread michael . vancanneyt
On Fri, 23 Dec 2011, silvioprog wrote: Hi, I tried to access the FScanner field from the TJSONParser, but without sucess. x( You can't. It is a private field, this is not supported. I committed a patch, it is now a protected property, rev. 19885. Michael. --

Re: [Lazarus] program version

2012-01-02 Thread michael . vancanneyt
On Mon, 2 Jan 2012, Antonio Fortuny wrote: Hi folks. First of all happy new year 2012. Lazarus provides the possibility to include the program version in the project options. I've the ability to extract it at runtime using the WIndows core functions GetFileVersionInfoSize,

Re: [Lazarus] ExecuteProcess

2012-01-20 Thread michael . vancanneyt
On Fri, 20 Jan 2012, Kjow wrote: Hi all, I can't find it on google, so is it possible to hide the command prompt window that appears with SysUtils.ExecuteProcess('','',[]); ? I need to run some external processes, but I would not see the console window. Doesn't this depend on the kind of

Re: [Lazarus] Help on FCL?

2012-01-20 Thread michael . vancanneyt
On Fri, 20 Jan 2012, Hans-Peter Diettrich wrote: Is this a limitation of the fpdoc chm writer? It's a limitation of fpdoc in general. It can generate documentation only for single *packages* (--package=xyz). This does not matter much when building HTML help, residing in a bunch of

Re: [Lazarus] Help on FCL?

2012-01-23 Thread michael . vancanneyt
On Mon, 23 Jan 2012, Marco van de Voort wrote: On Sat, Jan 21, 2012 at 11:56:45PM +0100, Michael Van Canneyt wrote: The fpdoc editor can now create new fpdoc files for the fpc sources. I recommend to add the path to the fpcdocs in the options. How can these files be used in future

Re: [Lazarus] Guides on using Ext Designer and fpweb?

2012-01-24 Thread michael . vancanneyt
On Tue, 24 Jan 2012, Joshua Lim wrote: Hi, I've been trying out the fpweb extdirect demos and find the js coding part quite challenging for someone who only knows Pascal, so in the absence of a WYSIWYG extjs editor for fpc such as Randaus and UniGui, I thought of using Ext Designer, but

Re: [Lazarus] class completion now updates multiple implementation signatures

2012-01-26 Thread michael . vancanneyt
On Thu, 26 Jan 2012, Sven Barth wrote: Am 25.01.2012 20:26 schrieb Mattias Gaertner nc-gaert...@netcologne.de: Hi all, I improved class completion to update multiple method signatures. For example: type TMyClass = class public procedure DoIt(a: integer); // parameter added

Re: [Lazarus] class completion now updates multiple implementation signatures

2012-01-26 Thread michael . vancanneyt
On Thu, 26 Jan 2012, Mattias Gaertner wrote: On Thu, 26 Jan 2012 09:13:29 +0100 (CET) michael.vancann...@wisa.be wrote: [...] Usually I work the other way round: I add parameters in the implementation while coding the routine. Will that work too ? No. I was afraid this would be so. And

Re: [Lazarus] MessageDlg default button

2012-01-26 Thread michael . vancanneyt
On Thu, 26 Jan 2012, Koenraad Lelong wrote: Hi, I'm using a MessageDlg to show some information, with multiple buttons. Unfortunately, in this case, I would like to have another button as default. Is there a way to do this ? What I have : if MessageDlg('Attention', 'Data does exist,

Re: [Lazarus] Help on FCL?

2012-01-26 Thread michael . vancanneyt
On Thu, 26 Jan 2012, Michael Schnell wrote: On 01/26/2012 04:35 PM, Sven Barth wrote: What do you have against FPC's language help? It's rather complete and if something is wrong or missing Michael is usually fast in fixing it if you tell him. I was not aware that it does exist, as I

Re: [Lazarus] FPC, gzip and stream

2012-02-06 Thread michael . vancanneyt
On Sat, 4 Feb 2012, silvioprog wrote: Hello, How to use gzip in stream with FPC? The zstream unit contains the TGZFileStream class which can be used to read or write GZIp files. Michael. -- ___ Lazarus mailing list

Re: [Lazarus] Adding items in a json object and then save to file

2012-02-07 Thread michael . vancanneyt
On Tue, 7 Feb 2012, silvioprog wrote: Hellow guys, good afternoon. :) I'm tried to add items in a json object, and I tryied to save it in a file using stream. My doubt is: do I need to do everything manually? Or has json a native feature to save it in file? I really could not find it. You

Re: [Lazarus] Adding Notes in FPDoc

2012-02-14 Thread michael . vancanneyt
On Tue, 14 Feb 2012, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Now the lazarus team needs to decide how it intends to use the new feature. When a decision has been reached, I'll see how I can help (if any help is still needed). This reminds me on: Here's the solution,

Re: [Lazarus] Adding Notes in FPDoc

2012-02-14 Thread michael . vancanneyt
On Tue, 14 Feb 2012, Graeme Geldenhuys wrote: On 14 February 2012 04:54, waldo kitty wrote: so, basically, i'm working on the documentation and write a local note that only belongs on my machine so that it doesn't pollute the documentation... This is something that does not belong in

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi, I was doing some test programming for android. The android SDK unit contains 68000 lines (.pas and .inc together). Opening it in the IDE (by right-clicking an identifier in my sources) virtually

Re: [Lazarus] installing chm help

2012-02-15 Thread michael . vancanneyt
On Tue, 14 Feb 2012, waldo kitty wrote: On 2/14/2012 14:40, Sven Barth wrote: On 14.02.2012 19:33, waldo kitty wrote: so why isn't this working??? what is the key step that has been left out of the instructions?? What about trying not a keyword? What about things like FileExists,

Re: [Lazarus] installing chm help

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Hans-Peter Diettrich wrote: waldo kitty schrieb: also basic things like 'writeln', 'write', and similar do not give any help... but then some stuff, like 'integer' popup with a Help selector window as mentioned above and one of the two RTL (ahh! found a RTL[] hit)

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Mattias Gaertner wrote: zeljko zel...@holobit.net hat am 15. Februar 2012 um 12:44 geschrieben: On Wednesday 15 of February 2012 12:17:00 michael.vancann...@wisa.be wrote: On Wed, 15 Feb 2012, Sven Barth wrote: Am 15.02.2012 09:14, schrieb Michael Van Canneyt: Hi,

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, Graeme Geldenhuys wrote: On 15 February 2012 13:27, Sven Barth wrote: Here http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/jvmbackend/rtl/android/jvm/ files androidr14.pas and androidr14.inc. Thanks. Tested here under Lazarus 0.9.30.1 r33214M FPC 2.5.1

Re: [Lazarus] Lazarus slow on large files

2012-02-15 Thread michael . vancanneyt
On Wed, 15 Feb 2012, zeljko wrote: On Wednesday 15 of February 2012 15:34:28 Mattias Gaertner wrote: Yes. It is TLazAccessibleObject.GetChildAccessibleObjectWithDataObject. It uses a linear search for the 10.000 items. I will replace it with an avl tree. Exact point. So - as workaround

Re: [Lazarus] Android Target GUI

2012-02-17 Thread michael . vancanneyt
On Fri, 17 Feb 2012, Marc Santhoff wrote: Hi, I'd like to know, how GUI building for Android is handled using Lazarus. I have pretty much no idea of the Android SDK or things, but I understand that this target involves compiling the code to Java byte code. The details are not what I need at

Re: [Lazarus] Android Target GUI

2012-02-17 Thread michael . vancanneyt
On Fri, 17 Feb 2012, Sven Barth wrote: Am 17.02.2012 10:23, schrieb Felipe Monteiro de Carvalho: On Fri, Feb 17, 2012 at 9:11 AM,michael.vancann...@wisa.be wrote: Android uses XML files to specify the layout. This is the recommended way by Google. You can build the GUI in code as well,

Re: [Lazarus] fpweb fcl-web

2012-02-23 Thread michael . vancanneyt
On Thu, 23 Feb 2012, Juha Manninen wrote: Hi I am trying to make a cgi app for an embedded ARM machine. I have a native FPC for it, I don't need cross-compiling. I looked at fpweb package. Its example dir has a README: The examples were moved to the FPC sources. See

Re: [Lazarus] What is the most widely used Pascal on Linux and other Unix variants?

2012-02-27 Thread michael . vancanneyt
On Mon, 27 Feb 2012, Vincent Snijders wrote: Op 27 februari 2012 12:45 heeft Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com het volgende geschreven: On Mon, Feb 27, 2012 at 12:37 PM, Henry Vermaak henry.verm...@gmail.com wrote: I think Vincent is asking where you got the

Re: [Lazarus] What is the most widely used Pascal on Linux and other Unix variants?

2012-02-27 Thread michael . vancanneyt
On Mon, 27 Feb 2012, Vincent Snijders wrote: Op 27 februari 2012 13:18 heeft michael.vancann...@wisa.be het volgende geschreven: On Mon, 27 Feb 2012, Vincent Snijders wrote: Op 27 februari 2012 12:45 heeft Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com het volgende

Re: [Lazarus] Missing Documentation

2012-02-29 Thread michael . vancanneyt
On Wed, 29 Feb 2012, Michael Schnell wrote: On 02/29/2012 11:34 AM, Felipe Monteiro de Carvalho wrote: I think it would be perfectly fine to generate 1 new offline IDE CHM for each release and ship Lazarus with it. This discussion is about how to enable non-core members to help improving

Re: [Lazarus] Missing Documentation

2012-02-29 Thread michael . vancanneyt
On Wed, 29 Feb 2012, Michael Schnell wrote: On 02/29/2012 12:32 PM, Sven Barth wrote: Did you read Matthias' answers? He wrote that he's working on a tool to export the Wiki entries for e.g. CHM, so this is not a problem... So some part of the offline help is produced by FPdoc and thus

Re: [Lazarus] Missing Documentation

2012-02-29 Thread michael . vancanneyt
On Wed, 29 Feb 2012, Michael Schnell wrote: On 02/29/2012 12:54 PM, Sven Barth wrote: Michael already wrote in one of the recent discussions that he wants to create a webpage (using fpweb of course ;) ) that will allow to edit the FPDoc help entries (I'll try to find the mail). Also

Re: [Lazarus] Project management

2012-03-01 Thread michael . vancanneyt
On Thu, 1 Mar 2012, Michael Schnell wrote: On 03/01/2012 09:45 AM, Marco van de Voort wrote: Don't blame the tools, don't blame core, don't blame the weather, just start. Sorry, I tried to keep my moth shut, but I can't. If we want contributors who help enhancing the documentation, we are

Re: [Lazarus] Launching process from ServiceDaemon fails under Ubuntu x64 11.10+

2012-03-07 Thread michael . vancanneyt
On Tue, 6 Mar 2012, Andrew Brunner wrote: Up until a few days ago I was using my service daemon app (X) to launch a console application (Y) worked flawlessly. The service daemon monitors for crashes and scale and can create instances at runtime. I did a trunk update to both FPC and Lazarus

Re: [Lazarus] How to get external FileVersion

2012-03-07 Thread michael . vancanneyt
On Wed, 7 Mar 2012, Kjow wrote: 2012/3/7 Antonio Fortuny a.fort...@sitasoftware.lu: works for Windows, not yet rewritten for LINUX. Thank you! Unfortunately I need a cross-platform solution. Kjow The below unit does what you need. It can be made more simple, I still need to include the

Re: [Lazarus] Project activity

2012-03-12 Thread michael . vancanneyt
On Mon, 12 Mar 2012, Graeme Geldenhuys wrote: 2012/3/11 Michael Van Canneyt...:: It's a small app that sits in the tray, and can be used to manage project time. If there is interest, I can donate it to the Lazarus community. It also serves as a nice example of how to program Lazarus and

Re: [Lazarus] Project activity

2012-03-12 Thread michael . vancanneyt
On Mon, 12 Mar 2012, José Mejuto wrote: Hello Lazarus-List, Sunday, March 11, 2012, 7:54:47 PM, you wrote: Is there any package or something that add working in project time counters ? Something that shows the time spend in a project. MVC I have such a program, written in Lazarus. MVC It

Re: [Lazarus] Dropdown File list in Source Editor

2012-03-19 Thread michael . vancanneyt
On Mon, 19 Mar 2012, Giuliano Colla wrote: Hi, until a few revisions ago, the dropdown list of files which is shown right-clicking on the editor tabs, would show an asterisk beside modified files, which now has disappeared, at least in Linux. This was very useful, because one could

Re: [Lazarus] Is it meaningful or possible to change the visibility or the properties and events in a form or datamodule, ie make the private or protected?

2012-03-23 Thread michael . vancanneyt
On Fri, 23 Mar 2012, Michael Fuchs wrote: Am 23.03.2012 14:55, schrieb Frank Church: [...] I'd prefer to look only at the public section and say, Oh, this is what it does for the program's other modules. Whatever isn't there is not relevant to the rest of the application. I understand that

Re: [Lazarus] Is it meaningful or possible to change the visibility or the properties and events in a form or datamodule, ie make the private or protected?

2012-03-23 Thread michael . vancanneyt
On Fri, 23 Mar 2012, Frank Church wrote: On 23 March 2012 14:15, michael.vancann...@wisa.be wrote: On Fri, 23 Mar 2012, Michael Fuchs wrote: Am 23.03.2012 14:55, schrieb Frank Church: [...]  I'd prefer to look only at the public section and say, Oh, this is what it does for the

Re: [Lazarus] Android build without ant

2012-03-26 Thread michael . vancanneyt
On Mon, 26 Mar 2012, Felipe Monteiro de Carvalho wrote: Hello, I see that some people that follow this list have been doing this with the FPC Java port, so I though: Does anyone have a script which does the calls to build an APK (right from beginning, that is, building Java code, till the

Re: [Lazarus] wiki on a new server

2012-03-27 Thread michael . vancanneyt
On Tue, 27 Mar 2012, Graeme Geldenhuys wrote: On 23 March 2012 11:03, Vincent Snijders vincent.snijd...@gmail.com wrote: time consuming the default monoskin is used now. Therefore you will notice changes in its appearance. There are still problems with the new wiki. It seems the wiki

Re: [Lazarus] FCL-web and bandwidth usage

2012-03-27 Thread michael . vancanneyt
On Tue, 27 Mar 2012, Graeme Geldenhuys wrote: Hi, This is probably one of the big reasons I dislike (hate is a bit harsh) the current state of the internet - it's all a bandwidth hog forcing everything to be slow. And seeing that just about every second website is a near web application

Re: [Lazarus] FCL-web and bandwidth usage

2012-03-27 Thread michael . vancanneyt
On Tue, 27 Mar 2012, Andrew Brunner wrote: On Tue, Mar 27, 2012 at 4:13 AM, Graeme Geldenhuys graemeg.li...@gmail.com So has anybody done some bandwidth breakdowns of there FCL-web based websites or web applications? How do you fare? I have an entire cloud platform developed in

Re: [Lazarus] Is it meaningful or possible to change the visibility or the properties and events in a form or datamodule, ie make the private or protected?

2012-03-28 Thread michael . vancanneyt
On Wed, 28 Mar 2012, Frank Church wrote: On 27 March 2012 06:03, Frank Church vfcli...@gmail.com wrote: On 23 March 2012 14:15,  michael.vancann...@wisa.be wrote: You could even substitute the complete TMyForm form with another one, depending on configuration options. Michael. Will I

Re: [Lazarus] SQLQuery crashes in Android

2012-03-30 Thread michael . vancanneyt
On Fri, 30 Mar 2012, Felipe Monteiro de Carvalho wrote: Hello, Simply putting a TSQLQuery in a Android form crashes. I searched the lcl and sqldb directories but I couldn't find any place which says Unknown property Any ideas where the exception could be or how to fix it? It means the

Re: [Lazarus] Library with XMLHttpRequest functionality?

2012-04-03 Thread michael . vancanneyt
On Tue, 3 Apr 2012, Frank Church wrote: Is there some library in FPC/Lazarus which implements XMLHTTPRequest functionality? XMLHTTPRequest is just a regular HTTP request. You can use the TFPHTTPClient component for it. Michael. -- ___ Lazarus

Re: [Lazarus] TFpHttpClient and ssl

2012-04-03 Thread michael . vancanneyt
On Tue, 3 Apr 2012, Rimmert Ooink wrote: Hi all, Does TFpHttpClient support ssl/https? No. I see there is a openssl package, but i have no idea if it can be used with the http component. Any hints? It is not usable, and there are no immediate plans to support this. (although patches

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-03 Thread michael . vancanneyt
On Tue, 3 Apr 2012, fred f wrote: Hi! I need to set up LIBOVERLAY_SCROLLBAR=0 on Ubuntu 64bit, but there LIBC is not supported and therefore I am looking for SetEnv which I can use on 64bit Linux. SysUtils contains only GetEnvironmentVariable, but not Set... That's not how it works on

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-03 Thread michael . vancanneyt
On Tue, 3 Apr 2012, Marco van de Voort wrote: On Tue, Apr 03, 2012 at 03:57:01PM +0200, michael.vancann...@wisa.be wrote: supported and therefore I am looking for SetEnv which I can use on 64bit Linux. SysUtils contains only GetEnvironmentVariable, but not Set... That's not how it works

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/3 Michael Van Canneyt mich...@freepascal.org: On Tue, 3 Apr 2012, waldo kitty wrote: On 4/3/2012 09:57, michael.vancann...@wisa.be wrote: On Tue, 3 Apr 2012, fred f wrote: I need to set up LIBOVERLAY_SCROLLBAR=0 on Ubuntu 64bit, but there LIBC

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: Thank you for the help. Unfortunately I'm now confused even more. I believe it's my fault, not yours. You can always modify them (it's just data in memory), but modifying them will only change your private view of the

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: Not the current. The EXTERNAL variable environ, i.e. the one that the kernel passed on, which cannot be modified. You can only modify your local copy. 14:00 myname@tux64:~/tmp/c$ ls a.c b.c 14:00 myname@tux64:~/tmp/c$

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: Output of strace: brk(0)                                  = 0x21a5000 brk(0x21c6000)                = 0x21c6000 write(1, a2: MYVALUE\n, 12a2: MYVALUE )   = 12 execve(./b.out, [0], [/* 57 vars */]) = 0 brk(0)              

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: I do not agree with this interpretation. First of all, you are calling execv() in your code, not execve(). That libc changes this to execve() is IMHO not permissible. So all bets and conclusions are off from that point

Re: [Lazarus] fpdocmanager questions crash

2012-04-05 Thread michael . vancanneyt
On Thu, 5 Apr 2012, Reinier Olislagers wrote: The FPDocManager has no platform dependencies. The only external dependency currently is the fpcdocs Makefile, which should be replaced by fpdoc projects, supplied and maintained by the FPC/fpdoc people. Then why is fpdocmanager in Lazarus, not

Re: [Lazarus] Strange dependency of units

2012-04-05 Thread michael . vancanneyt
On Thu, 5 Apr 2012, Michael Schnell wrote: On 04/05/2012 02:05 PM, Hans-Peter Diettrich wrote: AFAIR there exists a noGUI widgetset, which implements the message processing (for Timer...) in a non-GUI application. Last time I checked the noGUI Widget Type did not support TTimer or

Re: [Lazarus] fpdocmanager questions crash

2012-04-05 Thread michael . vancanneyt
On Thu, 5 Apr 2012, Reinier Olislagers wrote: On 5-4-2012 14:35, michael.vancann...@wisa.be wrote: On Thu, 5 Apr 2012, Reinier Olislagers wrote: Then why is fpdocmanager in Lazarus, not in FPC - I thought fpcdocs should be maintainable with FPC only without requirement for Lazarus, but I

Re: [Lazarus] fpdocmanager questions crash

2012-04-05 Thread michael . vancanneyt
On Thu, 5 Apr 2012, Reinier Olislagers wrote: On 5-4-2012 14:56, michael.vancann...@wisa.be wrote: On Thu, 5 Apr 2012, Reinier Olislagers wrote: On 5-4-2012 14:35, michael.vancann...@wisa.be wrote: On Thu, 5 Apr 2012, Reinier Olislagers wrote: Then why is fpdocmanager in Lazarus, not

Re: [Lazarus] fpdocmanager questions crash

2012-04-05 Thread michael . vancanneyt
On Thu, 5 Apr 2012, Reinier Olislagers wrote: On 5-4-2012 15:26, michael.vancann...@wisa.be wrote: On Thu, 5 Apr 2012, Reinier Olislagers wrote: On 5-4-2012 14:56, michael.vancann...@wisa.be wrote: On Thu, 5 Apr 2012, Reinier Olislagers wrote: On 5-4-2012 14:35, michael.vancann...@wisa.be

Re: [Lazarus] Strange dependency of units

2012-04-05 Thread michael . vancanneyt
On Thu, 5 Apr 2012, Michael Schnell wrote: On 04/05/2012 04:45 PM, Michael Van Canneyt wrote: Exactly. That is called 'polling' windows... ... You have a strange definition of polling. Polling = Checking something at regular intervals. Sorry for being tense, but what has been

Re: [Lazarus] TIBConnection LoginPrompt

2012-04-06 Thread michael . vancanneyt
On Fri, 6 Apr 2012, Koenraad Lelong wrote: On 06-04-12 10:14, Koenraad Lelong wrote: Hi, How does one use the LoginPrompt of a TIBConnection ? I set it to True and then started my app. There is no loginprompt-form, but an error the user/password is not defined. I'm still using Lazarus

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread michael . vancanneyt
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 a function who receives as a parameter a pointer to a callback function and an

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread michael . vancanneyt
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://www.lazarus.freepascal.org/index.php?topic=10571.0 My main program launches a thread, that

Re: [Lazarus] RE : Development of other revision control

2012-04-12 Thread michael . vancanneyt
On Thu, 12 Apr 2012, Ludo Brands wrote: IIUC, the SVN package (plugin) lets people use SVN with their Lazarus project, e.g. check in and out his project code from within the IDE. Yes, a developer might be interested in doing more with SVN, but managing his project source code in SVN would be

Re: [Lazarus] TProcess, UTF8, Windows

2012-04-16 Thread michael . vancanneyt
On Mon, 16 Apr 2012, Jürgen Hestermann wrote: Michael Van Canneyt schrieb: When I go to http://svn.freepascal.org/svn/fpcdocs/trunk; it is empty. I just found out that active scripting is required for this web page (I use the FireFox NoScript plugin). Is there a reason for this? You are

Re: [Lazarus] TProcess, UTF8, Windows

2012-04-17 Thread michael . vancanneyt
On Mon, 16 Apr 2012, waldo kitty wrote: On 4/15/2012 05:25, Michael Van Canneyt wrote: On Sun, 15 Apr 2012, Jürgen Hestermann wrote: When I go to http://svn.freepascal.org/svn/fpcdocs/trunk; it is empty. I just found out that active scripting is required for this web page (I use

Re: [Lazarus] TImage - Getting image properties in 'canvas space'

2012-04-19 Thread michael . vancanneyt
On Thu, 19 Apr 2012, Graeme Geldenhuys wrote: On 19 April 2012 00:04, Alberto Narduzzi albertonardu...@yahoo.com wrote: An interface to a class (or its concept, anyway) is there for a reason. And you should adhere to. I may also say that if you need to access a protected, or private for

Re: [Lazarus] TImage - Getting image properties in 'canvas space'

2012-04-19 Thread michael . vancanneyt
On Thu, 19 Apr 2012, Martin Schreiber wrote: On Thursday 19 April 2012 09:52:30 michael.vancann...@wisa.be wrote: On Thu, 19 Apr 2012, Graeme Geldenhuys wrote: On 19 April 2012 00:04, Alberto Narduzzi albertonardu...@yahoo.com wrote: An interface to a class (or its concept, anyway) is

Re: [Lazarus] Object inspector hints ?

2012-04-30 Thread michael . vancanneyt
On Mon, 30 Apr 2012, Mattias Gaertner wrote: On Mon, 30 Apr 2012 10:03:41 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: Hi, The lazarus code editor shows tooltip hints about identifiers; It gets those from the sources or even fpdoc. Is there any reason why the object

Re: [Lazarus] Inserting images in mysql records

2012-05-04 Thread michael . vancanneyt
On Fri, 4 May 2012, Hugues Moisy wrote: Hi all, I'm trying to insert gif file content into a blob field in a mysql database. Insertion process works, but the size of the data inserted is cut to 64 Kbytes, so the images are cut and impossible to read (crash), except those that are less

Re: [Lazarus] Embarcadero vs Lazarus/FPC (Oracle vs Google)

2012-05-08 Thread michael . vancanneyt
On Tue, 8 May 2012, Graeme Geldenhuys wrote: Hi, I'm following the trial between Oracle vs Google and wondered about the following... Judge Alsup told the jury to assume API's are copyrightable - something Alsup still has to determine later during trial. Now if he does rule that API's are

Re: [Lazarus] Postgresql listen/notify

2012-05-08 Thread michael . vancanneyt
On Tue, 8 May 2012, Mark Morgan Lloyd wrote: Leonardo M. Ramé wrote: Hi, does sql-db allows to capture PostgreSql notify events?. If yes, how?. Indirectly. You have to set it up using the TPQConnection.Handle since this has long-term persistence, and have to make direct API calls *not*

Re: [Lazarus] Embarcadero vs Lazarus/FPC (Oracle vs Google)

2012-05-08 Thread michael . vancanneyt
On Tue, 8 May 2012, Andrew Brunner wrote: On Tue, May 8, 2012 at 7:31 AM, Graeme Geldenhuys graemeg.li...@gmail.comwrote: On 8 May 2012 14:07, Andrew Brunner andrew.t.brun...@gmail.com wrote: Oracle is telling google that that it is UNACCEPTABLE for google to take creative ownership over

Re: [Lazarus] Embarcadero vs Lazarus/FPC (Oracle vs Google)

2012-05-08 Thread michael . vancanneyt
On Tue, 8 May 2012, Felipe Monteiro de Carvalho wrote: On Tue, May 8, 2012 at 3:15 PM, michael.vancann...@wisa.be wrote: IP is much like the church and its universal truths in the middle ages. I thought we got rid of those shackles, now we get other ones. Instead of church, we have large

Re: [Lazarus] Function to get the mimetype from a file extension

2012-05-09 Thread michael . vancanneyt
On Wed, 9 May 2012, Felipe Monteiro de Carvalho wrote: Hello, I need this now and after some Googling I couldn't find anything. So I was wondering, maybe we already have this somewhere in FPC or Lazarus? If not it might be something to consider adding to LazUtils. FPC contains this unit:

Re: [Lazarus] Function to get the mimetype from a file extension

2012-05-09 Thread michael . vancanneyt
On Wed, 9 May 2012, Felipe Monteiro de Carvalho wrote: On Wed, May 9, 2012 at 2:51 PM, michael.vancann...@wisa.be wrote: FPC contains this unit: fpmimetypes.pp It is used by fcl-web. On linux, it loads /etc/mime.types. On windows not yet, I must still look up how to do this. I just opened

Re: [Lazarus] Function to get the mimetype from a file extension

2012-05-09 Thread michael . vancanneyt
On Wed, 9 May 2012, Graeme Geldenhuys wrote: On 9 May 2012 14:51, michael.vancann...@wisa.be wrote: It is used by fcl-web. On linux, it loads /etc/mime.types. I don't know the exact format of that file, I guessed mime type name then file extension list Correct. But on my Ubuntu

Re: [Lazarus] Function to get the mimetype from a file extension

2012-05-09 Thread michael . vancanneyt
On Wed, 9 May 2012, Felipe Monteiro de Carvalho wrote: On Wed, May 9, 2012 at 4:15 PM, michael.vancann...@wisa.be wrote: Distribute a mime.types from a unix box with your app and load this in the fpmimetypes unit using the provided function. That's what I do on Windows. By far the easiest

Re: [Lazarus] toolbar buttons (Windows vs GTK2)

2012-05-10 Thread michael . vancanneyt
On Thu, 10 May 2012, Graeme Geldenhuys wrote: On 10 May 2012 13:49, William Oliveira Ferreira bdexterholl...@gmail.com wrote: Should be another Unity Issue? I'm not running Unity, I'm running Ubuntu 10.04 LTS which pre-dates Unity. It's a standard Gnome desktop, and all other GTK2

Re: [Lazarus] usability: please not focus the messages window, only bring to front

2012-05-21 Thread michael . vancanneyt
On Mon, 21 May 2012, Bernd wrote: 2012/5/21 Martin laza...@mfriebe.de: Have you checked the options? There is an option, that if set will focus the message window. Options / Desctop See my original message. It tried both. It does not do what the option says in both cases (checked or

Re: [Lazarus] usability: please not focus the messages window, only bring to front

2012-05-21 Thread michael . vancanneyt
On Mon, 21 May 2012, zeljko wrote: On Monday 21 of May 2012 17:02:49 michael.vancann...@wisa.be wrote: On Mon, 21 May 2012, zeljko wrote: On Monday 21 of May 2012 16:41:34 michael.vancann...@wisa.be wrote: On Mon, 21 May 2012, Bernd wrote: 2012/5/21 Martin laza...@mfriebe.de: Have you

Re: [Lazarus] Erro: undefined symbol

2012-05-29 Thread michael . vancanneyt
On Tue, 29 May 2012, Antonio Fortuny wrote: Hi All. Maybe I'm coming back with an old thing but I can't get rid of it. I've compiled and installed a new package (UIB): no problem anywhere. Then I begin to use the package into a new project. I've just added the package to the project and

Re: [Lazarus] Pasting components

2012-06-13 Thread michael . vancanneyt
On Wed, 13 Jun 2012, Mattias Gaertner wrote: Hi all, Pasting components now keeps the references between multiple pasted components. If the pasted components are renamed their captions are now updated as well. Great news. That one has been long in the tracker :) Michael. --

Re: [Lazarus] Loading an library from thread on Ubuntu 12.04 64bit.

2012-06-15 Thread michael . vancanneyt
On Fri, 15 Jun 2012, fred f wrote: Hi guyz, I have been fighting few hours to solve the problem which occurs on Ubuntu 12.04 64bit. The same code works find on U12.04 32bit or U10.04 32 or 64bit. It is about loading an library (it doesn't matter which one, all behave the same) from thread.

Re: [Lazarus] Splitting a sentence into words??!

2012-06-27 Thread michael . vancanneyt
On Wed, 27 Jun 2012, Reinier Olislagers wrote: Splitting a string with a sentence into words shouldn't be hard, should it? See the strutils unit. WordCount, ExtractWord: http://www.freepascal.org/docs-html/rtl/strutils/extractword.html

Re: [Lazarus] Web-services

2012-07-19 Thread michael . vancanneyt
On Thu, 19 Jul 2012, Ian Godman wrote: Hi I am trying to get Lazarus to connect to a Java based web service. The web service is in Java because its on an existing webserver and will provide information and services etc from that site. I am using Apache CXF and Jersey for the web services.

Re: [Lazarus] Web-services

2012-07-19 Thread michael . vancanneyt
On Thu, 19 Jul 2012, Ian Godman wrote: On 19/07/12 14:28, michael.vancann...@wisa.be wrote: On Thu, 19 Jul 2012, Ian Godman wrote: Hi I am trying to get Lazarus to connect to a Java based web service. The web service is in Java because its on an existing webserver and will provide

Re: [Lazarus] How does Lazarus find SQLite?

2012-07-25 Thread michael . vancanneyt
On Wed, 25 Jul 2012, Mark Morgan Lloyd wrote: Alexander Klenin wrote: I see. Based my incorrect conclusion that Lazarus itself uses SQLite I was hoping to guarantee its presence for the demo. I'll just write in the demo documentation that it is required :) Applies to any database: has to

Re: [Lazarus] Cannot connect Firebird server

2012-07-25 Thread michael . vancanneyt
On Wed, 25 Jul 2012, Sławek wrote: Hello, I'd like to start a new life (after Delphi) with Lazarus IDE but got into trouble with basic Firebird connection procedure :( Error message: Cannot load default Firebird clients (fbembed.dll or gds32.dll) ?? System Win7,64bit,home Firebird

Re: [Lazarus] Cannot connect Firebird server

2012-07-25 Thread michael . vancanneyt
On Wed, 25 Jul 2012, Reinier Olislagers wrote: On 25-7-2012 12:40, michael.vancann...@wisa.be wrote: On Wed, 25 Jul 2012, Sławek wrote: Hello, I'd like to start a new life (after Delphi) with Lazarus IDE but got into trouble with basic Firebird connection procedure :( Error message:

Re: [Lazarus] Cannot connect Firebird server

2012-07-25 Thread michael . vancanneyt
On Wed, 25 Jul 2012, Sławomir Cabaj wrote: W dniu 2012-07-25 12:40, michael.vancann...@wisa.be pisze: On Wed, 25 Jul 2012, Sławek wrote: Hello, I'd like to start a new life (after Delphi) with Lazarus IDE but got into trouble with basic Firebird connection procedure :( Error message:

Re: [Lazarus] Web-services

2012-07-25 Thread michael . vancanneyt
On Wed, 25 Jul 2012, Ian Godman wrote: I have been able to test my web service with SOAPUI and it responds without error, giving it the parameter 'George' I get: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body ns1:helloResponse

Re: [Lazarus] Web-services

2012-07-25 Thread michael . vancanneyt
On Wed, 25 Jul 2012, Ian Godman wrote: X-MULE_SESSION:

Re: [Lazarus] OpenSUSE KDE keeps stealing my IDE shortcuts

2012-07-30 Thread michael . vancanneyt
On Mon, 30 Jul 2012, Graeme Geldenhuys wrote: Hi, I've been forcefully pushed to change Linux Distros (from Ubuntu to OpenSUSE). I've been running the very stable Ubuntu 10.04 LTS for very long. But I recently upgraded to a new system, and 10.04 seems to lack some hardware support. The

Re: [Lazarus] OpenSUSE KDE keeps stealing my IDE shortcuts

2012-07-30 Thread michael . vancanneyt
On Mon, 30 Jul 2012, Graeme Geldenhuys wrote: On 30 July 2012 14:27, michael.vancann...@wisa.be wrote: Here it is 'System settings - Computer Administration - Keyboard Mouse - Standard Keyboard Shortcuts' (or global keyboard shortcuts). Are you running OpenSuse as well? or some other

Re: [Lazarus] Lazarus 1.0 release candidate 1 available for download

2012-08-02 Thread michael . vancanneyt
Wonderful job, guys ! Michael. On Wed, 1 Aug 2012, Mattias Gaertner wrote: The Lazarus team is glad to announce that Lazarus 1.0RC is available for download at the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ Choose your CPU / OS / distro and then the 1.0RC1

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread michael . vancanneyt
On Fri, 3 Aug 2012, Henry Vermaak wrote: On 03/08/12 09:43, Graeme Geldenhuys wrote: HI, On 2 August 2012 18:38, Reinier Olislagers reinierolislag...@gmail.com wrote: Ehmm.. I'm trying to contain myself, but WHY does Lazarus 1 and 1+ even support Win9x/ME anymore? Because not everybody

Re: [Lazarus] Web-services

2012-08-06 Thread michael . vancanneyt
Hi, In the generated hello.pas, try changing 'literal' to 'document' in the following calls: mm.SetOperationCustomData( sUNIT_NAME, 'HelloWorldPortType', 'hello', 'FORMAT_Input_EncodingStyle', 'literal' ); mm.SetOperationCustomData( sUNIT_NAME,

Re: [Lazarus] Web Service Toolkit issue

2012-08-08 Thread michael . vancanneyt
On Wed, 8 Aug 2012, Ian Godman wrote: I am using the Web Service Tool kit and have problems with Hello World. By tracing in debug mode I have found the following: SOAP Envelope is being received - saved the by adding the line: rsps.SaveToFile('ians.saved'); at line 239 of

  1   2   3   4   >