Re: [Lazarus] FPC Pestering Peacock (3.0.0) release

2015-11-26 Thread Joost van der Sluis
Op 26-11-15 om 12:57 schreef Bart: On 11/25/15, Joost van der Sluis <jo...@cnoc.nl> wrote: We are happy to announce the release of the Free Pascal Compiler version 3.0.0 "Pestering Peacock". Sources on FPC website still link to the 2.6.4 version (http://www.freepascal

[Lazarus] FPC 3.0.0-rc2 release

2015-10-21 Thread Joost van der Sluis
Hello We have placed the second release candidate of the Free Pascal Compiler version 3.0.0 on our ftp servers. Most important change since the first release candidate is a change in the unicode resource-string handling. Also there is a new Windows to Android cross-compiler installer. You

[Lazarus] Lazarus 1.4 review

2015-04-30 Thread Joost van der Sluis
Hi all, Now Lazarus has been released a week ago, I've finished a simple review with an overview of some of it's new features. For those interested: http://www.cnoc.nl/en/lazarus-1-4-review/ Regards, Joost. -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus 1.4 review

2015-04-30 Thread Joost van der Sluis
This website seems a bit weird. I went to have a look at the article and the page was blank. Now I always uses the excellent noscript to protect me from some of more nasty aspects of the internet and this was clearly blocking something. Looking at the HTML, comes up with things like: It's

Re: [Lazarus] need suggestion about TDataset.Lookup

2015-04-23 Thread Joost van der Sluis
On 04/16/2015 03:10 PM, FreeMan wrote: I need use TDataset.Lookup, I know how to do this, but need help about, result field is blob field The whole idea of blob-fields is that they are not loaded into the dataset-in-memory. They are only read from the database if they are specifically read.

Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Joost van der Sluis
On 04/23/2015 12:28 PM, Mark Morgan Lloyd wrote: Mattias Gaertner wrote: On Wed, 22 Apr 2015 16:40:02 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/22/2015 02:07 PM, Mattias Gaertner wrote: Why downgrade? You can install both and switch any time in the IDE. Thanks ! But how to

Re: [Lazarus] GUI front-end for Firebird Trace Manager

2015-04-23 Thread Joost van der Sluis
On 04/20/2015 11:08 AM, Graeme Geldenhuys wrote: Hi, Has anybody built (or know about) a cross-platform GUI front-end for Firebird 2.5's Trace Manager? I know there are commercial products that seem very good, but they are all Windows platform only. :-/ Yes, I've build such a tool. But after

Re: [Lazarus] TDBCalendar problems

2015-04-03 Thread Joost van der Sluis
On 03/15/2015 12:04 AM, Donald Ziesig wrote: Hi All! I have been trying to get the TDBCalendar control to update my database with no success. If I manually update the date field in the table, the value is immediately reflected in the control - it changes to the correct date. On the other

Re: [Lazarus] BreakIf

2015-03-27 Thread Joost van der Sluis
On 03/27/2015 01:45 PM, JuuS wrote: procedure BreakIf( b : Boolean ); begin if b then asm INT 3==debugger would then stop here and one could then F8 step to the offending routine based on the boolean condition passed end; end; I believe this is

Re: [Lazarus] BreakIf

2015-03-27 Thread Joost van der Sluis
On 03/27/2015 02:53 PM, Sven Barth wrote: Am 27.03.2015 14:17 schrieb Joost van der Sluis jo...@cnoc.nl mailto:jo...@cnoc.nl: But I think that debuggers nowadays are more clever, they detect that the breakpoint is actually self-inflicted, and so they decide to continue. After all

[Lazarus] Lazarus crashes on startup with g_object_unref: assertion 'G_IS_OBJECT (object)' failed

2015-03-26 Thread Joost van der Sluis
Hi all, I received a bug-report that Lazarus does not start on Fedora 22. Yeah, that version has not been released yet, so we can fix this problem before it actually occurs. ;) It was originally reported against Lazarus v1.2, but I updated to 1.4rc2 and the problem is still there. The

Re: [Lazarus] Typecast set to byte in mode OBJFPC

2014-12-31 Thread Joost van der Sluis
On 12/31/2014 04:40 PM, Jürgen Hestermann wrote: type FlagType= (Flag1,Flag2); FlagSetType = set of FlagType; var i : SizeInt; S : FlagSetTyp; S := [Flag1]; i := byte(S); // Error illegal type conversion i := ord(S); ? But it's still invalid, though. A set can

Re: [Lazarus] Lazarus Configuration

2014-12-22 Thread Joost van der Sluis
On 12/22/2014 05:19 PM, J S wrote: In my cursory examination, it appears that lazarus looks in a hardwired directory for configuration information. If this is true, it seems very, very wrong to me. My expectation was that there would be a configuration file for lazarus in the current search

[Lazarus] Range-check error in TCarbonListColumn.SetHeaderWidth

2014-12-06 Thread Joost van der Sluis
Hi all, Each time I start Lazarus on OS/X-Carbon, I get a range-check error. This because TCarbonDataBrowser.AutoSizeColumns calculates a negative width. It calculates ((cRect.right-cRect.left)-sWidth) div aCnt. I think that sWidth is the sum of the width of all columns which are not

Re: [Lazarus] Default debug mode and internal debugger

2014-12-06 Thread Joost van der Sluis
On 12/04/2014 04:29 PM, Mattias Gaertner wrote: On Thu, 4 Dec 2014 16:11:54 +0100 Reimar Grabowski reimg...@web.de wrote: if you let the IDE create debug and release build modes for you the resulting debug mode sets the -Xg flag (GDB external debug symbols file). The internal debugger does

Re: [Lazarus] Need testers for the a new debugger

2014-11-28 Thread Joost van der Sluis
On 11/25/2014 07:50 PM, Mattias Gaertner wrote: On Mon, 24 Nov 2014 11:48:38 +0100 Joost van der Sluis jo...@cnoc.nl wrote: On 11/22/2014 12:18 AM, Mattias Gaertner wrote: On Fri, 21 Nov 2014 23:08:00 + Martin Frb laza...@mfriebe.de wrote: [...] So as far as the debugger goes

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-24 Thread Joost van der Sluis
On 11/23/2014 09:09 PM, waldo kitty wrote: On 11/22/2014 6:45 PM, Mattias Gaertner wrote: On Sat, 22 Nov 2014 23:27:30 +0100 Bart bartjun...@gmail.com wrote: On 11/22/14, Joost van der Sluis jo...@cnoc.nl wrote: Add the windows-unit to the uses section of lresources as a quick fix. Done

Re: [Lazarus] Need testers for the a new debugger

2014-11-24 Thread Joost van der Sluis
On 11/22/2014 12:45 PM, C Western wrote: I have been switching back and forth between gdb and the new one - both have some issues. The one I noticed most recently with the new one is with a multi threaded application - a break set in the thread seem to cause the debugger to become lost. Is the

Re: [Lazarus] Need testers for the a new debugger

2014-11-24 Thread Joost van der Sluis
On 11/22/2014 12:18 AM, Mattias Gaertner wrote: On Fri, 21 Nov 2014 23:08:00 + Martin Frb laza...@mfriebe.de wrote: [...] So as far as the debugger goes, this would then be correctly following the debug info. Funny fpc. Thanks for checking. BTW, the default TGDBMIDebugger jumps even

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-22 Thread Joost van der Sluis
On 11/22/2014 08:30 PM, waldo kitty wrote: fpc trunk r29110 lazarus trunk r46966 vista 32-bit i just updated fpc trunk and lazarus trunk... fpc compiled ok... lazarus fails with lresources.pp(3089,67) Error: Identifier not found RT_RCDATA Add the windows-unit to the uses section of

[Lazarus] Lazarus conference in the Netherlands

2014-11-07 Thread Joost van der Sluis
Free Pascal. A new feature that is now in development. For registration and more information about the event you have to visit the Blase Pascal Magazine website. (http://www.blaisepascal.eu/DucthPascon/Info_Laz_2014.php) I hope to see you there, Joost van der Sluis

Re: [Lazarus] lazarus trunk compile fails with fpc trunk

2014-11-06 Thread Joost van der Sluis
On 11/06/2014 01:18 AM, waldo kitty wrote: On 11/5/2014 10:14 AM, Joost van der Sluis wrote: On 11/04/2014 04:50 PM, waldo kitty wrote: i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus

Re: [Lazarus] lazarus trunk compile fails with fpc trunk

2014-11-05 Thread Joost van der Sluis
On 11/04/2014 04:50 PM, waldo kitty wrote: i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus, on the other hand, gave me the following failure output... $004AA2F3

Re: [Lazarus] TFMTBCDField problem

2014-10-30 Thread Joost van der Sluis
On 10/30/2014 04:45 PM, Chris Rempas wrote: ...as a last resort, i formatted an old disk, installed windows 8.1, installed lazarus, downloaded a new snapshot from freepascal site, extracted and followed instructions. I get an error (i think in fpmkunit.pp) when i execute make clean all. i tried

Re: [Lazarus] TPQConnection.CreateDB: ENCODING, OWNER, TEMPLATE, LC_CTYPE, TABLESPACE

2014-10-29 Thread Joost van der Sluis
On 10/28/2014 02:03 AM, silvioprog wrote: On Wed, Oct 8, 2014 at 12:44 PM, Michael Van Canneyt Hello buddy, sorry for my long delay. Thanks for the great tip, I tried it too, but unfortunately the postgre rejected that talking something like unrecognized param for this operation. Today I

Re: [Lazarus] TFMTBCDField problem

2014-10-27 Thread Joost van der Sluis
On 10/27/2014 09:28 AM, Chris Crori wrote: Hi Vincent, can you help me build lazarus with fpc 2.7.1? I downloaded fpc trunk, changed the file folders, undated the lazarus configuration, but I cannot build fpc and lazarus tells me it can’t find fpc.cfg file... the file exists! When you

Re: [Lazarus] TFMTBCDField problem

2014-10-24 Thread Joost van der Sluis
On 10/24/2014 09:22 AM, Chris Rempas wrote: I downloaded trunk fpc but i can't get it to work, is there an easy way to get fpc 2.7.1 compiled for lazarus? Hmm, it was always available at the snapshot-page http://www.hu.freepascal.org/lazarus/ but it's not there. Maybe that the 2.7.1

Re: [Lazarus] TFMTBCDField problem

2014-10-23 Thread Joost van der Sluis
On 10/23/2014 01:07 AM, Chris Rempas wrote: Hi guys! I am using SQLdb with Firebird 2. I have a DECIMAL(9,5) field that SQLdb makes it TFMTBCDField automatically. Mt problem is that i cannot save any value to the database. If i let the field with the NULL value, my record is saved fine, if

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-13 Thread Joost van der Sluis
On 09/04/2014 11:42 PM, Martin Frb wrote: Example in procedure TDebugManager.ConnectMainBarEvents; This was at least a little bit of use. Frustrating that disabling a menu-item in the IDE takes more time than implementing the whole pseudo-terminal feature. It still does not work, though.

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-04 Thread Joost van der Sluis
On 09/02/2014 03:31 PM, Martin Frb wrote: On 02/09/2014 12:11, Joost van der Sluis wrote: Add a class[1] method to the debugger-class. return true/false, depending on the availability of the feature. The base class, would have the current ifdef. All other code depends on the value of the method

[Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-02 Thread Joost van der Sluis
Hi all, On Linux there's the option to view a window with the console-output of applications being debugged. This option is enabled with the define DBG_ENABLE_TERMINAL in three units. In debugger/debugger.pp the define is set for linux only, with the result that the window is actually

[Lazarus] Leakview missing from tools menu

2014-09-01 Thread Joost van der Sluis
Hi all, I have LeakView installed, but I can't find it in the tools menu. Am I the only one with this problem? Lazarus+svn trunk, Linux/Fedora/gtk2. Joost. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Leakview missing from tools menu

2014-09-01 Thread Joost van der Sluis
On 09/01/2014 06:39 PM, Mattias Gaertner wrote: On Mon, 01 Sep 2014 17:51:03 +0200 Joost van der Sluis jo...@cnoc.nl wrote: I have LeakView installed, but I can't find it in the tools menu. Am I the only one with this problem? Lazarus+svn trunk, Linux/Fedora/gtk2. Leakview was extended

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread Joost van der Sluis
On 08/25/2014 02:02 PM, Dmitry Boyarintsev wrote: On Mon, Aug 25, 2014 at 6:26 AM, C Western l...@c-m-w.me.uk mailto:l...@c-m-w.me.uk wrote: 1. How about a slow step option? What's is slow step option? Is it stepping over each instruction until the next known line reached? As I wrote

Re: [Lazarus] Need testers for the a new debugger

2014-08-24 Thread Joost van der Sluis
On 07/21/2014 10:11 PM, C Western wrote: Managed to create a small test program: program tproj; uses sysutils; procedure a(const s: string); var a: string; r: array [0..10] of Double; begin a := s+s+s; r[8] := StrToFloat(a); WriteLn(a, ' ', r[8]) end; begin a('6'); -Set break

Re: [Lazarus] Cannot find -lpthread

2014-08-22 Thread Joost van der Sluis
On 08/21/2014 05:22 PM, Leonardo M. Ramé wrote: /usr/bin/ld: aviso: link.res contiene secciones de salida. ¿Olvidó -T? /usr/bin/ld: no se puede encontrar -lpthread /usr/bin/ld: no se puede encontrar -ldl /usr/bin/ld: no se puede encontrar -lc fpmake.pp(44,1) Error: Error while linking Does

Re: [Lazarus] Need testers for the a new debugger

2014-07-21 Thread Joost van der Sluis
2014.07.14. 23:13 keltezéssel, Joost van der Sluis írta: To install the debugger just install the components/lazdebuggers/lazdebuggerfp.lpk package. Can anybody install on Win32? I 've tried that myself again and it installed without any problems. Maybe you can try to run the Lazarus

Re: [Lazarus] Need testers for the a new debugger

2014-07-21 Thread Joost van der Sluis
On 20/07/14 15:47, Joost van der Sluis wrote: I haven't seen the spurious SIGSEGV for a while, so maybe that is fixed. I am still seeing the spurious leaving of a routine on pressing step into on one particular begin, but mostly it looks good - I think it is rather faster than the gdb

Re: [Lazarus] Need testers for the a new debugger

2014-07-20 Thread Joost van der Sluis
On 19/07/14 22:26, Joost van der Sluis wrote: Do you get a message on the console like 'failed to write data at xx'? Just tried it again - it doesn't seem to be consistent. The specific was stepping into a routine, and the problem seems to happen when stepping

Re: [Lazarus] Need testers for the a new debugger

2014-07-19 Thread Joost van der Sluis
when I switched to the new debugger, I have no output in the Console window (Terminal Output). Whenever I use WriteLn() or  DebugLn() in code, this window remains empty while with GDB I can see it. Yeah, that window was added because with gdb it's difficult to debug

Re: [Lazarus] Need testers for the a new debugger

2014-07-19 Thread Joost van der Sluis
Follow up to this - a simple patch (attached) allows the rtl source to show, rather than the assembler window. However there seems to be a more fundamental problem, in that a step into that ends up stepping into a rtl routine like fpc_shortstr_SInt reports a SIGSEGV in the debugged

Re: [Lazarus] Need testers for the a new debugger

2014-07-19 Thread Joost van der Sluis
Did you step directly into fpc_shortstr_SInt, or did you do a 'step into', and did it eventually arrived at fpc_shortstr_SInt, because it was the first procedure with debug-info? In the first case, a software-debug breakpoint is set, which is probably not removed correctly. In that

Re: [Lazarus] Need testers for the a new debugger

2014-07-18 Thread Joost van der Sluis
On 07/16/2014 09:53 AM, Joost van der Sluis wrote: I hung lazarus by hitting F4 (step to current line). The backtrace may help: Step to current line is indeed broken, I'll fix that. This one is fixed. But I discovered that removing breakpoints while the debuggee is running is buggy

Re: [Lazarus] Need testers for the a new debugger

2014-07-16 Thread Joost van der Sluis
On 14/07/14 22:13, Joost van der Sluis wrote: Hi all, As I've written before there's a new debugger available for Lazarus. (Actually there are two new debuggers, but I'm talking about the new gdb-less debugger) The debugger has been improved a lot and I could need some help testing

Re: [Lazarus] Need testers for the a new debugger

2014-07-15 Thread Joost van der Sluis
Il 14/07/2014 23:13, Joost van der Sluis ha scritto: Hi all, As I've written before there's a new debugger available for Lazarus. (Actually there are two new debuggers, but I'm talking about the new gdb-less debugger) The debugger has been improved a lot and I could need some help

Re: [Lazarus] Need testers for the a new debugger

2014-07-15 Thread Joost van der Sluis
Am 15.07.2014 09:47 schrieb Gabor Boros gaborbo...@yahoo.com mailto:gaborbo...@yahoo.com : 2014.07.14. 23:13 keltezéssel, Joost van der Sluis írta: To install the debugger just install the components/lazdebuggers/lazdebuggerfp.lpk package. After you've done this, go to tools-options

[Lazarus] Need testers for the a new debugger

2014-07-14 Thread Joost van der Sluis
, but keep in mind that when you think that your application is behaving somewhat strange, it also might be a bug in the debugger, instead of a problem with your application. Happy debugging, Joost van der Sluis. -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Can't compile a saved project

2014-06-12 Thread Joost van der Sluis
On 06/12/2014 10:41 AM, Michael Van Canneyt wrote: On Thu, 12 Jun 2014, Michael Schnell wrote: On Linux x86 32 Bits, using the current svn version, since two days, while I still can create a new-application, after I just did save project as and saved the two files, I can't compile any more

Re: [Lazarus] Problem rounding values at post

2014-06-04 Thread Joost van der Sluis
On 06/04/2014 01:20 PM, Daniel Erles wrote: Strange. I tried many values and y found this happens: ... inserting 0.06 stored as 0.0599 0.07 -- 0.07 0.08 -- 0.08 0.09 -- 0.0899 0.10 -- 0.10 0.11 -- 0.11 0.12 -- 0.1199 0.13 -- 0.13 0.14 -- 0.14 0.15 -- 0.1499 0.16 -- 0.16 0.17 -- 0.17 0.18 --

Re: [Lazarus] [lazarus] update version 1.22 doesn't compile

2014-05-25 Thread Joost van der Sluis
On 05/25/2014 04:46 AM, Martin Frb wrote: On 25/05/2014 00:43, Bob Axtell wrote: My lazarus WAS working fine until I updated to 1.22. Errors say that it can't find PPU unit INTERFACES.PPU, but IN FACT it is right there, in the very spot it is complaining about. Don't know how to proceed...go

Re: [Lazarus] New member with compiler query

2014-05-07 Thread Joost van der Sluis
On 05/07/2014 08:03 PM, Gordon Cooper wrote: problem. My compiled fP file runs immediately and perfectly on Puppy Linux but will not run on Kubuntu or Mepis. Both these systems are asking me to select a program to run the file. This may be a permissions issue, although all appears to be

Re: [Lazarus] Early daredevil alpha testers: FpGdbmiDebugger

2014-05-07 Thread Joost van der Sluis
On 05/03/2014 05:42 PM, Martin Frb wrote: If anyone using trunk feels a bit daredevilish, feel free to test FpGdbmiDebugger. Do NOT use for production. / Use at your own risk only. Important: Read http://wiki.lazarus.freepascal.org/FpGdbmiDebugger It explains what to expect. More important,

Re: [Lazarus] Retina Font Rendering not working anymore in Lazarus Trunk

2014-04-17 Thread Joost van der Sluis
On 09/04/14 10:00, Michael Ring wrote: I realized a few weeks ago that fonts inside of lazarus started to look ugly again on my Macbook Pro Retina, it seems that even though the App has the retina flag set the fonts are rendered in 1920x1080 (My screen resolution) and do not look smooth anymore.

Re: [Lazarus] Delphi 5 project migration to Lazarus or Delphi XE* ?

2013-08-23 Thread Joost van der Sluis
On 08/23/2013 03:34 PM, Roland Turcan wrote: I am about to migrate my key project from Delphi to Lazarus, but... 5. TWordApplication, TWordDocument, ... OLE support for MS Word - That's just ActiveX. The only thing you need are the right bindings. But if you own a valid Delphi 5

[Lazarus] SquiziMouse

2013-08-04 Thread Joost van der Sluis
of the logic used in there. You can see the mice in action here: http://youtu.be/e5yyymMtV5Q Joost van der Sluis. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cross compiler

2013-05-27 Thread Joost van der Sluis
On Mon, 2013-05-27 at 11:18 +0200, Antonio Fortuny wrote: I then copied folders compiler, ide and installer from fpcsrc from the zip file into the folder C:\lazarus\fpc\2.6.2\source Didn't touch the packages and 'rtl as they are up to date. open a command line console: You'll need to copy the

Re: [Lazarus] Cross compiler

2013-05-27 Thread Joost van der Sluis
On Mon, 2013-05-27 at 12:01 +0200, Antonio Fortuny wrote: Le 27/05/2013 11:47, Joost van der Sluis a écrit : On Mon, 2013-05-27 at 11:18 +0200, Antonio Fortuny wrote: I then copied folders compiler, ide and installer from fpcsrc from the zip file into the folder C:\lazarus\fpc\2.6.2\source

Re: [Lazarus] Cross compiler

2013-05-27 Thread Joost van der Sluis
On Mon, 2013-05-27 at 12:05 +0200, Mattias Gaertner wrote: Joost van der Sluis jo...@cnoc.nl hat am 27. Mai 2013 um 11:47 geschrieben: [...] But it could be that you'll encounter problems with the 10-bit floating point support. 10-bit FP? Byte (Extended) Joost

[Lazarus] New iOS xib-Designer for Lazarus available for testing

2013-02-17 Thread Joost van der Sluis
Hi all, I've finished a version of my iOS xib-Designer which is good enough for testing. ;) This package adds a designer to design iOS layouts, which are stored in xib-files. You can create an xib-file in Lazarus, then open it in XCode to adapt it and open it in Lazarus again, without any

Re: [Lazarus] New iOS xib-Designer for Lazarus available for testing

2013-02-17 Thread Joost van der Sluis
On 17.02.2013 17:10, Joost van der Sluis wrote: I've finished a version of my iOS xib-Designer which is good enough for testing. ;) This package adds a designer to design iOS layouts, which are stored in xib-files. You can create an xib-file in Lazarus, then open it in XCode to adapt

Re: [Lazarus] New iOS xib-Designer for Lazarus available for testing

2013-02-17 Thread Joost van der Sluis
Yes. Mattias wrote that for me a few years ago for another project. Now it is also used for this xib-designer. Biggest difference between this version and earlier versions is that the xib-file is used as a resource-file, so it can be opened in Xcode and thereafter opened in Lazarus

[Lazarus] Patch to use different resource-formats within the ide

2013-02-16 Thread Joost van der Sluis
Hi all, Maybe someone can have a look at the patch in http://bugs.freepascal.org/view.php?id=23814 . It adds the ability to register other resource-formats then the lfm-format inside the IDE. If we can agree on adding this feature, I can ask people to help testing the XIB-designer. Joost.

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-16 Thread Joost van der Sluis
In our WinCE client for our application we use it for a miniature version of our database. As the client does not need all tables and only a specific subset of the data we generate a database on the host computer and download that to the device. When the user is done the database is

[Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
Hi all, I'm writing my own method propertyeditor. And I want it to create the source for a new method. Only problem is that it should use the RTTI-information to obtain the method's parameters. Now if I look at TMainIDE.OnPropHookCreateMethod, it does exactly what I want except that

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
Joost van der Sluis jo...@cnoc.nl wrote: Hi all, I'm writing my own method propertyeditor. And I want it to create the source for a new method. Only problem is that it should use the RTTI-information to obtain the method's parameters. Now if I look

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
Wow. That's the worst hack of the IDE. I was glad to get rid of it and now someone asks for its return. Are you sure you need them? I can think of two other options: (Maybe there are more, let me know if you can think of any...) 1: Adapt the codetools in such a way that when dealing with an

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
I added a TDesignerMediator.UseRTTIForMethods. I don't have an example to test it myself. Works flawless. Thanks. Joost. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] What is GeckoPort version 2 status?

2013-01-19 Thread Joost van der Sluis
H. I thought i fixed that. Maybe forgot to commit and package. Normally lazarus shows the error location. Cast the nativewindow (or something like that) to a thandle. You have to do this on two or three locations. I'll update the package tomorrow.. Free Pascal Compiler version

Re: [Lazarus] What is GeckoPort version 2 status?

2013-01-19 Thread Joost van der Sluis
Could be the exception mask, which does not cooperate with javascript. You could try to experiment with that.Op 19-01-13 15:56 schreef Maxim Ganetsky: 19.01.2013 16:39, Joost van der Sluis пишет: H. I thought i fixed that. Maybe forgot to commit and package. Normally lazarus shows the error

Re: [Lazarus] What is GeckoPort version 2 status?

2013-01-18 Thread Joost van der Sluis
On Sat, 2013-01-12 at 04:14 +0400, Maxim Ganetsky wrote: 11.01.2013 19:50, Joost van der Sluis пишет: On Sat, 2012-11-03 at 02:39 +0400, Maxim Ganetsky wrote: As far as I can see latest SVN version of GeckoPort version 2 is broken. It cannot be compiled via Lazarus package (e.g. each

[Lazarus] Reminder for patch 22483

2013-01-18 Thread Joost van der Sluis
Hi all, A while ago I've send two patches to the bug-tracker. I need those patches for the iOS-designer, and it would be nice if they could be applied. The first one is almost trivial: http://bugs.freepascal.org/view.php?id=22483 It makes it possible to use the codetools to add methods to

Re: [Lazarus] Reminder for patch 22483

2013-01-18 Thread Joost van der Sluis
On Fri, 2013-01-18 at 17:24 +0100, Joost van der Sluis wrote: The second one is not that simple. And maybe there's a better solution then my patch. But I would like the problem to be solved. Let me finished my mail. Accidentally send it: http://bugs.freepascal.org/view.php?id=22487

Re: [Lazarus] What is GeckoPort version 2 status?

2013-01-18 Thread Joost van der Sluis
: 18.01.2013 20:15, Joost van der Sluis пишет: On Sat, 2013-01-12 at 04:14 +0400, Maxim Ganetsky wrote: The problem is that GeckoPort v2 fails to compile. See full log: Could you try again? Now it compiles OK, thanks. For installation into Lazarus you have to supply the path of lazarus in your

Re: [Lazarus] What is GeckoPort version 2 status?

2013-01-18 Thread Joost van der Sluis
: 19.01.2013 1:47, Maxim Ganetsky пишет: 18.01.2013 20:15, Joost van der Sluis пишет: On Sat, 2013-01-12 at 04:14 +0400, Maxim Ganetsky wrote: The problem is that GeckoPort v2 fails to compile. See full log: Could you try again? Now it compiles OK, thanks. For installation into Lazarus you

Re: [Lazarus] What is GeckoPort version 2 status?

2013-01-11 Thread Joost van der Sluis
On Sat, 2012-11-03 at 02:39 +0400, Maxim Ganetsky wrote: As far as I can see latest SVN version of GeckoPort version 2 is broken. It cannot be compiled via Lazarus package (e.g. each-version directory is missing). Also GeckoPort version 2 cannot be installed via FpPkg (at least with FPC

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

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] 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] 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

[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

[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] 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] 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

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] 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] 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

Re: [Lazarus] Postgres Cannot connect

2011-11-23 Thread Joost van der Sluis
On Mon, 2011-11-21 at 15:36 -0500, Tom Russell wrote: Its like this: Procedure InitialisePostgres3; Ok, then it has been changed in the mean-time. You could try fpc 2.6.0 (rc1) or higher. Joost. -- ___ Lazarus mailing list

Re: [Lazarus] RE : GeckoPort - Qt and GTK2

2011-11-21 Thread Joost van der Sluis
On Sun, 2011-11-20 at 23:04 -0200, silvioprog wrote: 2011/11/19 Ludo Brands ludo.bra...@free.fr: windres not found, switching to external mode On ubuntu I had to install mingw32-binutils to get windres. It wasn't part of the standard binutils. IRC I had also to create a symlink to

Re: [Lazarus] Postgres Cannot connect

2011-11-21 Thread Joost van der Sluis
On Mon, 2011-11-21 at 11:01 -0500, Tom Russell wrote: I tried this but it still cannot find the files I need to connect to postgres. When I try setting the connection property to true it states it cannot find the file and asks if Postgres is installed. Can you tell us what 'the' file is?

  1   2   3   4   >