Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-04 Thread Ondrej Pokorny
On 03.11.2015 20:26, Mattias Gaertner wrote: Of course there are some hard coded defaults in codetools. For example "i:=3" can be any integer type. It would be nice if integer constants were able to resolve their type: 3 -> ShortInt 180 -> SmallInt etc etc. This would be good for: var b: By

Re: [Lazarus] A big thank you!

2015-11-04 Thread Ondrej Pokorny
On 05.11.2015 01:02, Anthony Walter wrote: Regarding the state of generics, Sven has crushed it. Using trunk I haven't had a compiler problem with them in while. I consider them solid at this point. Go Sven! I know Sven is working hard on them! I didn't want to offend anybody! Ondrej --

Re: [Lazarus] Another widget

2015-11-04 Thread Anthony Walter
Here's an update: I added the a timeline scrubber control to go through the CPU usage history up to 1 hour: http://cache.getlazarus.org/video/cpugraph-scrub.mp4 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freep

Re: [Lazarus] A big thank you!

2015-11-04 Thread Anthony Walter
Regarding the state of generics, Sven has crushed it. Using trunk I haven't had a compiler problem with them in while. I consider them solid at this point. Go Sven! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.free

Re: [Lazarus] A big thank you!

2015-11-04 Thread Sven Barth
Am 04.11.2015 21:03 schrieb "Ondrej Pokorny" : > In particular I don't use Generics because of the issues with compiler and CodeTools. I can live without them. (I am not telling that I don't like them - I do.) Issues that are addressed in 3.0.0? Issues fixed in 3.1.1? Reported issues? Unknown issu

Re: [Lazarus] Tips for setting up Linux64 to Linux32 cross compile?

2015-11-04 Thread Anthony Walter
Forget this message. I got it working. There were a few weird circular referencing symlinks in my i386-linux-gnu folder. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] A big thank you!

2015-11-04 Thread Ondrej Pokorny
I can't promise you anything. I am a freelancer and if I work on Lazarus/FPC it means I don't earn any money for this particular time. I only tell my girlfriend that I work :) I don't have any company or university behind me. Therefore I unfortunately have to say I will be (and have been) solv

Re: [Lazarus] A big thank you!

2015-11-04 Thread Florian Klämpfl
Am 04.11.2015 um 08:23 schrieb Torsten Bonde Christiansen: > Dear Coder of code-completion > > Today after having updated my trunk Lazarus I started coding and did what I > usually do with > code completion. I was starting to implement a new OnSomething method and did > the normal > > OnSomet

Re: [Lazarus] A big thank you!

2015-11-04 Thread Maciej Izak
2015-11-04 20:30 GMT+01:00 Anthony Walter : > I was looking through the issues you posted. Why are all those CodeTools > issues assigned to Sven Barth? AFAIK Sven does work on the compiler and not > CodeTools. > Look again and more carefully :) - all those issues are "related" (not assigned) to G

[Lazarus] Tips for setting up Linux64 to Linux32 cross compile?

2015-11-04 Thread Anthony Walter
I am having issues setting up the linking portion of cross compiling from linux 64 to linux 32. The problem come with linking to all the required linux-i386 libraries on my 64 bit system. I am talking about the linking to 32 bit libs like libcairo, libpango, libgmodule-2.0, and so on. All the libr

Re: [Lazarus] A big thank you!

2015-11-04 Thread Anthony Walter
I was looking through the issues you posted. Why are all those CodeTools issues assigned to Sven Barth? AFAIK Sven does work on the compiler and not CodeTools. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepasca

Re: [Lazarus] A big thank you!

2015-11-04 Thread Maciej Izak
2015-11-04 20:12 GMT+01:00 Anthony Walter : > Ondrej, do you think you could look at this CodeTools issue which has been > sitting around for a while? > > http://mantis.freepascal.org/view.php?id=27847 > There exist also many bug reports related to Generics.Collections library and CodeTools : h

Re: [Lazarus] A big thank you!

2015-11-04 Thread Anthony Walter
Ondrej, do you think you could look at this CodeTools issue which has been sitting around for a while? http://mantis.freepascal.org/view.php?id=27847 Basically what happens is you can define a type which refers to itself "type IBitmap = interface(ICloneable)". If you ever try to use code insight

Re: [Lazarus] Encoding with SDF dataset

2015-11-04 Thread Marc Santhoff
On Mi, 2015-11-04 at 18:49 +, Mark Morgan Lloyd wrote: > Marc Santhoff wrote: > > Hi, > > > > when trying to us a TSdfDataset connected to a TDatasource and a > > TDBGrid, only some unicode symbols are shown (those little squares > > holding four tiny numbers) for string data. > > > > The dat

Re: [Lazarus] Encoding with SDF dataset

2015-11-04 Thread Mark Morgan Lloyd
Marc Santhoff wrote: Hi, when trying to us a TSdfDataset connected to a TDatasource and a TDBGrid, only some unicode symbols are shown (those little squares holding four tiny numbers) for string data. The data files are encoded iso-8859 but I have found no switch for setting the encoding of TDa

[Lazarus] Encoding with SDF dataset

2015-11-04 Thread Marc Santhoff
Hi, when trying to us a TSdfDataset connected to a TDatasource and a TDBGrid, only some unicode symbols are shown (those little squares holding four tiny numbers) for string data. The data files are encoded iso-8859 but I have found no switch for setting the encoding of TDataSource or TSdfDataset

Re: [Lazarus] Forwarding events/messages

2015-11-04 Thread Ondrej Pokorny
On 04.11.2015 18:29, Martin Grajcar wrote: On Wed, Nov 4, 2015 at 6:07 PM, Ondrej Pokorny > wrote: There is TControl.WndProc, but don't call it directly if you don't know what and why you are doing it. I found it in the meantime... and the usage seems to be o

Re: [Lazarus] Forwarding events/messages

2015-11-04 Thread Martin Grajcar
On Wed, Nov 4, 2015 at 6:07 PM, Ondrej Pokorny wrote: > On 04.11.2015 17:54, Martin Grajcar wrote: > > I'd like to forward a TLMVScroll message to the parent component as a > workaround for controls preventing parents from receiving mouse wheel > events (I couldn't find out how to let the parents

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Graeme Geldenhuys
On 2015-11-04 17:03, Mark Morgan Lloyd wrote: > No, it's HMG filtering your email. Who've you upset? :-) Who knows. Looking at the mailing list archive, I haven't received any of JuuS's messages on this thread. At least messages from others have come through. And no, I don't have spam filtering

Re: [Lazarus] Forwarding events/messages

2015-11-04 Thread Ondrej Pokorny
On 04.11.2015 17:54, Martin Grajcar wrote: I'd like to forward a TLMVScroll message to the parent component as a workaround for controls preventing parents from receiving mouse wheel events (I couldn't find out how to let the parents receive them). The problem is that the handler is PROCEDURE

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2015-11-04 16:45, Martin Schreiber wrote: On Wednesday 04 November 2015 14:31:34 JuuS wrote: But this is what, ultimately, fpGUI will address I believe? Wiki page Interestingly it is now 16:52 local time, and I haven't seen that message from Juus in my Inbox. Umm..

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Graeme Geldenhuys
On 2015-11-04 16:45, Martin Schreiber wrote: > On Wednesday 04 November 2015 14:31:34 JuuS wrote: >> > >> > But this is what, ultimately, fpGUI will address I believe? Wiki page Interestingly it is now 16:52 local time, and I haven't seen that message from Juus in my Inbox. Umm... Are there some

[Lazarus] Forwarding events/messages

2015-11-04 Thread Martin Grajcar
I'd like to forward a TLMVScroll message to the parent component as a workaround for controls preventing parents from receiving mouse wheel events (I couldn't find out how to let the parents receive them). The problem is that the handler is PROCEDURE TWhatever.WMVScroll(VAR Message : TLMVScroll);

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Martin Schreiber
On Wednesday 04 November 2015 14:31:34 JuuS wrote: > > But this is what, ultimately, fpGUI will address I believe? Wiki page > says it is still alpha but I anxiously await the opportunity to use it > natively (I work in 1.4.4, I SVN only occasionally in special > circumstances) > It is also possibl

Re: [Lazarus] Error SIGILL appearing out of the blue, what does it mean?

2015-11-04 Thread Mark Morgan Lloyd
Bo Berglund wrote: Yesterday I was testing lnet and the test project was working just fine. Today I came back and hit run again only to find a pop-up error box saying: Project xxx raised exception class 'External: SIGILL'." I have restarted Lazarus and even made a Build Clean but the problem per

[Lazarus] Error SIGILL appearing out of the blue, what does it mean?

2015-11-04 Thread Bo Berglund
Yesterday I was testing lnet and the test project was working just fine. Today I came back and hit run again only to find a pop-up error box saying: Project xxx raised exception class 'External: SIGILL'." I have restarted Lazarus and even made a Build Clean but the problem persists. I don't even g

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Mark Morgan Lloyd
JuuS wrote: Excellent research, I see you've tracked this issue for a long time. Not so much that, but my colleagues and I have a fairly wide range of OS versions etc. and there are one or two programs that I really do want to run on just about anything (e.g. one that handles cut-and-paste o

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread JuuS
On 11/04/2015 12:30 PM, Mark Morgan Lloyd wrote: > JuuS wrote: >> On 11/04/2015 09:48 AM, Mark Morgan Lloyd wrote: >>> When building the IDE you'd normally use make bigide or similar which >>> would use the platform defaults, but depending on what libraries etc. >>> were available you could als

Re: [Lazarus] A big thank you!

2015-11-04 Thread Graeme Geldenhuys
On 2015-11-04 11:52, Ondrej Pokorny wrote: > > I think it was you who filled the issue report: Thanks, I'll test and close it. > Honestly, if I had been annoyed by a missing feature for so long, I'd > have implemented it by myself. Over the years I've contributed in various places in Lazarus

Re: [Lazarus] How to get real width of grid columns?

2015-11-04 Thread Gabor Boros
2015.11.02. 18:35 keltezéssel, Gabor Boros írta: Hi All, I want to save and load state(width,visibility,...) of columns. My problem is Width property give back 0 value from invisible columns. FWidth contains the real value. How to access the value? From my POV this is a bug, column width and vi

Re: [Lazarus] A big thank you!

2015-11-04 Thread Ondrej Pokorny
On 04.11.2015 10:09, Graeme Geldenhuys wrote: On 2015-11-04 07:23, Torsten Bonde Christiansen wrote: I cannot count how many times I have been annoyed that the code was autoplaced in the published section. Ah yes... that change would be very welcome. It is something that has bugged me since 200

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Michael Schnell
On 11/04/2015 12:45 PM, Mattias Gaertner wrote: I don't know what the two checkboxes mean that appear in front of IDE-Macro: LCLWidgetType:=nogui You can choose in which of your build modes the flag is enabled. Ah, now I see that a lot above there is a caption stating two build modes. Great

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Mattias Gaertner
On Wed, 04 Nov 2015 10:16:16 +0100 Michael Schnell wrote: > On 11/04/2015 10:09 AM, Michael Schnell wrote: > > > > "Project options" -> "Additions and Overrides" -> "Set LCLWidgetType". > Sorry: > > "Project options" -> "Compiler Options" -> "Additions and Overrides" -> > "Set LCLWidgetType". >

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Mark Morgan Lloyd
JuuS wrote: On 11/04/2015 09:48 AM, Mark Morgan Lloyd wrote: When building the IDE you'd normally use make bigide or similar which would use the platform defaults, but depending on what libraries etc. were available you could also use e.g. make LCL_PLATFORM=qt bigide Hi, This question / di

Re: [Lazarus] A big thank you!

2015-11-04 Thread Marcos Douglas
On Wed, Nov 4, 2015 at 5:26 AM, Ondrej Pokorny wrote: > > It was me. You are welcome ;) Good job! Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Michael Schnell
On 11/04/2015 11:28 AM, JuuS wrote: Why would I want to use qt, gtk3, etc? Yes, of course for different platforms but which platforms (Fedora? Debian? ?? ). Lazarus takes a lot of care on portability. So a "normal" user project should run on any supported platform/OS/CPU architecture. Even suc

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread JuuS
On 11/04/2015 09:48 AM, Mark Morgan Lloyd wrote: > > When building the IDE you'd normally use make bigide or similar which > would use the platform defaults, but depending on what libraries etc. > were available you could also use e.g. make LCL_PLATFORM=qt bigide > Hi, This question / discu

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Michael Schnell
On 11/04/2015 10:09 AM, Michael Schnell wrote: "Project options" -> "Additions and Overrides" -> "Set LCLWidgetType". Sorry: "Project options" -> "Compiler Options" -> "Additions and Overrides" -> "Set LCLWidgetType". I don't know what the two checkboxes mean that appear in front of IDE-Ma

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Michael Schnell
On 11/04/2015 09:48 AM, Mark Morgan Lloyd wrote: Bo Berglund wrote: How do you change which "widgetset" is used? When building the IDE ... You don't need to rebuild the IDE to change the WidgetType (AKA "Interface") used in a project. It is a project option. In older Lazarus IDE versions y

Re: [Lazarus] A big thank you!

2015-11-04 Thread Graeme Geldenhuys
On 2015-11-04 07:23, Torsten Bonde Christiansen wrote: > I cannot count how many times I have been annoyed that the code was > autoplaced > in the published section. Ah yes... that change would be very welcome. It is something that has bugged me since 2006! Thank you very much to the author of t

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Tue, 3 Nov 2015 18:39:50 +0100, Mattias Gaertner wrote: you mean that Application.Processmessages is available in this console program? It is available when you use the NoGUI widgetset. How do you change which "widgetset" is used? (I really do not know what you mean by

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Michael Schnell
On 11/03/2015 09:01 PM, Bo Berglund wrote: It is available when you use the NoGUI widgetset. How do you change which "widgetset" is used? In the IDE the Macro to be set is called "LCLWidgetType" (not "widgetset"). -Michael -- ___ Lazarus mailing lis

Re: [Lazarus] A big thank you!

2015-11-04 Thread Anthony Walter
Thank you Ondrej for your work on CodeTools! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus