Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 02:27, Lars via Lazarus wrote: > Maybe not a huge issue with todays high speed internet connections, but it > still is another dependency. Not all internet connections are equal in all countries. In the UK, 8Mbps is currently the average speed. In South Africa the average speed would

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Bart via Lazarus
On 11/8/16, Lars via Lazarus wrote: > On Sun, November 6, 2016 10:05 am, Michael Van Canneyt via Lazarus wrote: >> >> press ctrl-c to do command-completion > > If ctrl - c is for copying, how does this not interfere? It is Shift+Ctrl+C by default. Bart -- __

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 02:31, Lars via Lazarus wrote: > One issue is firefox has a track record of not supporting embedded browser > for very long without abandoning it, or changing the api to make it > incompatible with old code... so who says this isn't also going to happen > with chromium (CEF) at some p

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 02:51, Lars via Lazarus wrote: > It's sort of like a JVM bytecode, but for the web browser. That makes you wonder, why not simply go back to Java Applets. They came out in 1996 and I thought they were brilliant for web applications. You had the full power of the Java language and gra

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Marco van de Voort via Lazarus
On Fri, Oct 21, 2016 at 12:13:32PM +0100, Graeme Geldenhuys via Lazarus wrote: > Regarding the FPC guides. I consider the FPC Language Reference the most > important one, so I manually converted it (and keep it in sync with FPC > releases when I can), and also added my own additions to take advanta

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Michael Van Canneyt via Lazarus
On Mon, 7 Nov 2016, Lars via Lazarus wrote: On Mon, November 7, 2016 12:25 pm, vfclists . via Lazarus wrote: I mean the latest thing now is WebAssembly which shows how ridiculous the whole business has become. Web assembly, if designed properly, might actually get rid of some problems. Jav

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Michael Schnell via Lazarus
On 08.11.2016 11:42, Michael Van Canneyt via Lazarus wrote: I seriously doubt that. It's just something that will exist next to javascript but in essence will perform the same tasks as javascript. ==OFF TOPIC== (so ignore if there is not a very short answer) Any plans for a webassembly suppo

Re: [Lazarus] CCR, how to send files?

2016-11-08 Thread Mattias Gaertner via Lazarus
On Fri, 28 Oct 2016 11:58:31 +0300 Alexey via Lazarus wrote: > Hi > I try to send mail to Vincent S, he is unreachable, mail cannot send. > How to send my files to CCR? Has Vincent answered in the meantime? Mattias -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Mattias Gaertner via Lazarus
On Sun, 6 Nov 2016 11:59:44 +0100 (CET) Michael Van Canneyt via Lazarus wrote: >[...] > It would be good to have an option in the package system to write and/or > register the package version somewhere, so it is accessible at runtime, and > an application can query the various packages and their

Re: [Lazarus] TThread.Synchronize

2016-11-08 Thread Michael Schnell via Lazarus
On 25.10.2016 14:07, LacaK via Lazarus wrote: Yes this can happen. MyForm.MyMethod is called also from event handler and also is used in Synchronize(@MyForm.MyMethod) How can this happen/play role? I suppose by "event handler" you mean a GUI event (Mouse, Keyboard, ...) Such events are servic

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Michael Van Canneyt via Lazarus
On Tue, 8 Nov 2016, Michael Schnell via Lazarus wrote: On 08.11.2016 11:42, Michael Van Canneyt via Lazarus wrote: I seriously doubt that. It's just something that will exist next to javascript but in essence will perform the same tasks as javascript. ==OFF TOPIC== (so ignore if there is n

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Mattias Gaertner via Lazarus
On Sun, 6 Nov 2016 18:05:39 +0100 (CET) Michael Van Canneyt via Lazarus wrote: >[...] > - Function to function, > > - Procedure to procedure > > - and the setter in > >property Values[const Name: string]: string read GetValue write SetValue; > >is changed from > >procedure SetVal

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Michael Van Canneyt via Lazarus
On Tue, 8 Nov 2016, Mattias Gaertner via Lazarus wrote: On Sun, 6 Nov 2016 11:59:44 +0100 (CET) Michael Van Canneyt via Lazarus wrote: [...] It would be good to have an option in the package system to write and/or register the package version somewhere, so it is accessible at runtime, and a

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Michael Van Canneyt via Lazarus
On Tue, 8 Nov 2016, Mattias Gaertner via Lazarus wrote: On Sun, 6 Nov 2016 18:05:39 +0100 (CET) Michael Van Canneyt via Lazarus wrote: [...] - Function to function, - Procedure to procedure - and the setter in property Values[const Name: string]: string read GetValue write SetValue;

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 12:10, Michael Van Canneyt via Lazarus wrote: >> > >> > Why does that cause a compiler error? > Because both procedures remained in the sources. I can confirm, I've seen this quite a few times recently too. Not sure if this is related: Another way to reproduce this is to change th

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 13:08:41 +0100 (CET) Michael Van Canneyt wrote: >[...] > I'm not sure we're talking about the same thing. I don't know what 'version > unit' you mean ? For example lazarus/lcl/lclversion.pas >[...] > As far as I know, the version number of a lazarus packages lives outside t

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 13:10:40 +0100 (CET) Michael Van Canneyt via Lazarus wrote: > On Tue, 8 Nov 2016, Mattias Gaertner via Lazarus wrote: > > > On Sun, 6 Nov 2016 18:05:39 +0100 (CET) > > Michael Van Canneyt via Lazarus wrote: > > > >> [...] > >> - Function to function, > >> > >> - Procedure

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 13:00:44 + Graeme Geldenhuys via Lazarus wrote: >[...] > I can confirm, I've seen this quite a few times recently too. > > Not sure if this is related: > Another way to reproduce this is to change the parameters of two > overloaded methods and then do Ctrl+Shift+C to cla

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 13:14, Mattias Gaertner via Lazarus wrote: > In this case codetools don't have enough information. Because it does > not know the former connection. By why does it work if I do them one at a time. eg: Change the first interface declaration and do code completion. Change the second in

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Ondrej Pokorny via Lazarus
On 08.11.2016 14:49, Graeme Geldenhuys via Lazarus wrote: On 2016-11-08 13:14, Mattias Gaertner via Lazarus wrote: In this case codetools don't have enough information. Because it does not know the former connection. By why does it work if I do them one at a time. eg: Change the first interface

[Lazarus] Anchoring fails on Windows 10

2016-11-08 Thread Jürgen Hestermann via Lazarus
I have a simple form with 2 components, a TVirtualDrawTree and a TProgressBar. The TProgressBar is anchored to the bottom of the form and the bottom of the TVirtualDrawTree is anchored to the top of the TProgressBar. This works okay on Windows 7 and 8.1 but not on Windows 10! When I resize the f

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 14:45, Mattias Gaertner via Lazarus wrote: > Just do changes one by one and you are good to go. Thanks for the explanations... I'll continue has I have been doing, one at a time. Regards, Graeme -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 13:49:16 + Graeme Geldenhuys via Lazarus wrote: > On 2016-11-08 13:14, Mattias Gaertner via Lazarus wrote: > > In this case codetools don't have enough information. Because it does > > not know the former connection. > > By why does it work if I do them one at a time. eg

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Martok via Lazarus
Hi, I may have missed this point in the discussion, but would it not make more sense to get a native HTML component (either from IPro or the THTML port) to the point where it can provide everything needed? THTML (my favourite) already has fairly solid layout and CSS support, so it should provide m

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Mark Morgan Lloyd via Lazarus
On 08/11/16 13:30, Mattias Gaertner via Lazarus wrote: On Tue, 8 Nov 2016 13:08:41 +0100 (CET)Michael Van Canneyt wrote: [...]> I'm not sure we're talking about the same thing. I don't know what 'version> unit' you mean ? For example lazarus/lcl/lclversion.pas I don't want to hijack anybod

Re: [Lazarus] Anchoring fails on Windows 10

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 14:59:45 +0100 Jürgen Hestermann via Lazarus wrote: > I have a simple form with 2 components, > a TVirtualDrawTree and a TProgressBar. > > The TProgressBar is anchored to the bottom of the form and > the bottom of the TVirtualDrawTree is anchored to the top of the TProgressBar

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 15:20:22 + Mark Morgan Lloyd via Lazarus wrote: > On 08/11/16 13:30, Mattias Gaertner via Lazarus wrote: > > On Tue, 8 Nov 2016 13:08:41 +0100 (CET)Michael Van Canneyt > > wrote: > >> [...]> I'm not sure we're talking about the same thing. I don't know what > >> 'versi

Re: [Lazarus] COCOA Graphics

2016-11-08 Thread Mattias Gaertner via Lazarus
On Sat, 1 Oct 2016 18:09:29 +0100 Josh via Lazarus wrote: > Not sure if this list is the place to post issues using COCOA > > I have tried laz 1.6 fpc 3.0.1 with fixes and laz 1.7 fpc 3.1.1 trunk > > I have a problem, I thought was with bgrabitmap but after some test it > appears problem is lo

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Graeme Geldenhuys via Lazarus
On 2016-11-08 16:10, Mattias Gaertner via Lazarus wrote: >> > I don't want to hijack anybody else's thread, but I habitually use that >> > file to get version info so that I can always find out what compiler >> > etc. has been used to build a binary. > How does lclversion tell you the used compil

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Werner Pamler via Lazarus
Am 08.11.2016 um 15:56 schrieb Martok via Lazarus: Hi, I may have missed this point in the discussion, but would it not make more sense to get a native HTML component (either from IPro or the THTML port) to the point where it can provide everything needed? THTML (my favourite) already has fairly

Re: [Lazarus] Anchoring fails on Windows 10

2016-11-08 Thread Jürgen Hestermann via Lazarus
Am 2016-11-08 um 16:47 schrieb Mattias Gaertner via Lazarus: On Tue, 8 Nov 2016 14:59:45 +0100 Jürgen Hestermann via Lazarus wrote: I have a simple form with 2 components, a TVirtualDrawTree and a TProgressBar. The TProgressBar is anchored to the bottom of the form and the bottom of the TVirt

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Mark Morgan Lloyd via Lazarus
On 08/11/16 16:30, Mattias Gaertner via Lazarus wrote: On Tue, 8 Nov 2016 15:20:22 +Mark Morgan Lloyd via Lazarus wrote: On 08/11/16 13:30, Mattias Gaertner via Lazarus wrote:> > On Tue, 8 Nov 2016 13:08:41 +0100 (CET)Michael Van Canneyt wrote: > >> [...]> I'm not sure we're talking abo

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Michael Van Canneyt via Lazarus
On Tue, 8 Nov 2016, Mattias Gaertner via Lazarus wrote: On Tue, 8 Nov 2016 13:08:41 +0100 (CET) Michael Van Canneyt wrote: [...] I'm not sure we're talking about the same thing. I don't know what 'version unit' you mean ? For example lazarus/lcl/lclversion.pas [...] As far as I know, t

Re: [Lazarus] Anchoring fails on Windows 10

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 18:45:56 +0100 Jürgen Hestermann via Lazarus wrote: >[...] > >> Anybody else having such issues on Windows 10? > > I tested with a TTreeView and a TProgressBar and it works here with Laz > > 1.7 at design time and run time. > > > On Windows 10? Yes. > I am using Lazarus

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Mattias Gaertner via Lazarus
On Tue, 8 Nov 2016 21:45:16 +0100 (CET) Michael Van Canneyt wrote: > packagename_version.p(p|pas) Ok. Although if we make it configurable, we can use it for lclversion.pas as well. >[...] > [x] Generate unit with version number Ok. Needs update when saving the package. > [x] Generate ver

Re: [Lazarus] Lazarus Version

2016-11-08 Thread Michael Van Canneyt via Lazarus
On Tue, 8 Nov 2016, Mattias Gaertner via Lazarus wrote: On Tue, 8 Nov 2016 21:45:16 +0100 (CET) Michael Van Canneyt wrote: packagename_version.p(p|pas) Ok. Although if we make it configurable, we can use it for lclversion.pas as well. Your proposals sound all very well. Michael. -- ___

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Lars via Lazarus
On Tue, November 8, 2016 3:49 am, Michael Schnell via Lazarus wrote: > On 08.11.2016 11:42, Michael Van Canneyt via Lazarus wrote: > >> >> I seriously doubt that. It's just something that will exist next to >> javascript but in essence will perform the same tasks as javascript. > ==OFF TOPIC== (so

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Lars via Lazarus
On Tue, November 8, 2016 3:19 am, Graeme Geldenhuys via Lazarus wrote: > On 2016-11-08 02:51, Lars via Lazarus wrote: > >> It's sort of like a JVM bytecode, but for the web browser. >> > > That makes you wonder, why not simply go back to Java Applets. One issue, back in the day, was that you cou

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Lars via Lazarus
On Tue, November 8, 2016 9:36 am, Werner Pamler via Lazarus wrote: > Am 08.11.2016 um 15:56 schrieb Martok via Lazarus: > >> Hi, >> >> >> I may have missed this point in the discussion, but would it not make >> more sense to get a native HTML component (either from IPro or the THTML >> port) to the

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Lars via Lazarus
On Tue, November 8, 2016 3:13 am, Graeme Geldenhuys via Lazarus wrote: > My point is, for a help system you really don't need the latest and > greatest HTML5 features. It's simply not needed. What you do want in well > formatted text, images and some basic rich text styles. Good help is more > abou

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Lars via Lazarus
On Tue, November 8, 2016 3:42 am, Michael Van Canneyt via Lazarus wrote: > I seriously doubt that. It's just something that will exist next to > javascript but in essence will perform the same tasks as javascript. You > can create relatively clean and structured javascript if you want. It just > re