Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread code dz
2019-04-25 1:05 UTC+02:00, Graeme Geldenhuys :
> On 24/04/2019 21:22, fredvs wrote:
>> Sadly I am not a guru in interface things and I do not see what is wrong
>> with iificlient interface for fpc > 3.0.x.
>
> No worries. I had a quick look and fixed the issue. Please find attached
> patches. I tested with FPC 3.0.4 and FPC 3.2.0.
>
> ===
> Graeme Geldenhuys (2):
>   Fixes compilation errors with FPC 3.2.0
>   Trimmed trailing whitespace.
>
>  lib/common/editwidgets/msegraphedits.pas | 251 ---
>  lib/common/widgets/msedispwidgets.pas|  45 ++--
>  2 files changed, 149 insertions(+), 147 deletions(-)
>
> ===
>
> Regards,
>   Graeme
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://fpgui.sourceforge.net/
>
> My public PGP key:  http://tinyurl.com/graeme-pgp
>

seems this patch is not enough
try create a gui app , add an event , and you will see some thing like
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread code dz
2019-04-25 1:05 UTC+02:00, Graeme Geldenhuys :
> On 24/04/2019 21:22, fredvs wrote:
>> Sadly I am not a guru in interface things and I do not see what is wrong
>> with iificlient interface for fpc > 3.0.x.
>
> No worries. I had a quick look and fixed the issue. Please find attached
> patches. I tested with FPC 3.0.4 and FPC 3.2.0.
>
> ===
> Graeme Geldenhuys (2):
>   Fixes compilation errors with FPC 3.2.0
>   Trimmed trailing whitespace.
>
>  lib/common/editwidgets/msegraphedits.pas | 251 ---
>  lib/common/widgets/msedispwidgets.pas|  45 ++--
>  2 files changed, 149 insertions(+), 147 deletions(-)
>
> ===
>
> Regards,
>   Graeme
>
> --
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://fpgui.sourceforge.net/
>
> My public PGP key:  http://tinyurl.com/graeme-pgp
>

Hi Graeme
i remember last month i did just what you did in this patch , it
compiled ok , but other problems raises when you create a gui app
especially when create an event in the objectinspector ,


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen

>The source for FPC can be downloaded from the 
>www.freepascal.org site.
> Follow the Download link on the right side of the screen.

Thanks Patrick.

But it seems that only source of official release fpc 3.0.4 can be downloaded 
on that site.

Fre;D
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen



De : Patrick Goupell 
Envoyé : mercredi 24 avril 2019 23:50
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0


On 4/24/19 3:00 PM, fredvs wrote:
> Re-hello Graeme.
>
> Your script is perfect but... it need to install svn to download source of
> fpc 3.2.0 (and I do not find the courage).
>
> ;-(
>
> (Things would be so much easier with GitHub).
>
> Anyway, thanks to Sternas and his out-of-the-box CodeTyphon, I did install
> fpc 3.3.1.
> I will see what appends with msegui and fpc > 3.0.x asap.
>
> Fre;D
>
The source for FPC can be downloaded from the 
www.freepascal.org site.
Follow the Download link on the right side of the screen.


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen

___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-04-24 Thread fredvs
Hello Sieghard.

You may use that mailng-list and add a zip file as attachment.

You may also use nabble (like I do): 
 http://mseide-msegui-talk.13964.n8.nabble.com 
and, when creating a message, click on "More" "Upload a file".

You may also use mse-org-forum:
http://mse-org.111682.n8.nabble.com
and , when creating a post, click on "More" "Upload a file".

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Feature Request: double click select word in editor

2019-04-24 Thread fredvs
Hello Seighard.

> So, I think the best way to handle this would be to simply exchange the 
> beviours each condition trigger and so avoid any possible collisions. 

Yes, it is what was done in last commit.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
> No worries. I had a quick look and fixed the issue.

Graeme, you are too strong.

Wow.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-04-24 Thread Sieghard
Sehr geehrter Herr van Stappen,

Sie schrieben am Mon, 22 Apr 2019 22:45:58 +:

> Huh, the po-able version was transfered here:
> https://github.com/fredvs/mseide-msegui

Thank you, I'll have a look at it shortly.

> In mse-org/mseide-msegui is the original no-po-able version.

I found this.

> > , I did get some smallish projects working in the meantime someone
> > might be interested in.
> 
> Yes, with pleasure.

Then I've to ask, how do you get them? Send them to you by email, put them
on a (my) web site for download, or some other way? (I do not get or write
list messages, as I'm reading this by means of a mailing-list-to-news-group
translation site, gmane.)


-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide sometimes very slow

2019-04-24 Thread Sieghard
Sehr geehrter Herr fredvs,

Sie schrieben am Tue, 23 Apr 2019 13:13:42 -0700 (MST):

> >> If there is a debugger timeout at startup enlarge the 
> >>Project'-'Options'-'Target'-'Wait before connect' value.  
> 
> > Maybe it could help?  
> 
> For all the people like me that did not find it, it is in:
> 
> Project'-'Options'-' '*Debugger*'-Target'-'Wait before connect' value.

Just tried this suggestion; I used 5sec for the value.
And indeed, the problem doesn't appear any more.
So in the end, the issue does seem to be debugger related, even on a plain
compile that doesn't even attempt to use the debugger at all.

(BTW, I found a couple other inconsistencies and minor issues, e.g. there's
a problem with the filedialog not finding an "images" field [noone using
this with msegui programs?], inconsistent "state file" in-/output [saving
different data from what is retrieved], not-user-accessible font and color
dialogs [the color dialog is, but it cannot be positioned at all], and
there are probabely a few more I didn't hit yet. Oh yeah, one more: there's
no "find" dialog, I'd need one...)

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide sometimes very slow

2019-04-24 Thread Sieghard
Sehr geehrter Herr van Stappen,

Sie schrieben am Tue, 23 Apr 2019 17:56:31 +:

> Maybe it s the new gdb the guilty  (sorry I did not find time to install
> the last release).
> 
> But what worries me is the remark of Sieghard:
> 
> > But it seems to happen also on normal compiles, which
> > should not even need the debugger at all, still, reloading it removes
> > the issue.
> 
> So it is maybe related with last commits of TMSEProcess.

This could also be a different issue I found, and which was previously
reported by someone else already.
When I start a compile by function key while the mouse cursor is in a
window different from the source window (Object Inspector, Messages e.g.),
the compile action seems to hang. When moving the mouse cursor back into
the source window, the hanging process gets terminated, and a little
message window with the text "not decorated" appears. This effect never
happens when the mouse cursor is located within the source window when the
compile is started. The effect is reproducible here.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Feature Request: double click select word in editor

2019-04-24 Thread Sieghard
Sehr geehrter Herr Geldenhuys,

Sie schrieben am Tue, 23 Apr 2019 18:05:39 +0100:

> In MSEide double click is consequently used for window navigation. In
> source editor double click shows the breakpoints window if there is a
...
> So it seems to have a behaviour assigned, ONLY if a breakpoint exists on
> that same line. Probably occurs extremely seldom, so I don't think
> anything further needs to be done Fred. The most common and desired

If this (default) behaviour is not disabled, or switched to the noq unused
combination, wouldn't you expect that, in the case the conditions
triggering it apply, some "interesting" (i.e. nasty) reaction might occur?
So, I think the best way to handle this would be to simply exchange the
beviours each condition trigger and so avoid any possible collisions.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 21:22, fredvs wrote:
> Sadly I am not a guru in interface things and I do not see what is wrong
> with iificlient interface for fpc > 3.0.x.

No worries. I had a quick look and fixed the issue. Please find attached
patches. I tested with FPC 3.0.4 and FPC 3.2.0.

===
Graeme Geldenhuys (2):
  Fixes compilation errors with FPC 3.2.0
  Trimmed trailing whitespace.

 lib/common/editwidgets/msegraphedits.pas | 251 ---
 lib/common/widgets/msedispwidgets.pas|  45 ++--
 2 files changed, 149 insertions(+), 147 deletions(-)

===

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
>From bcaf17bad38c8541cab114d3ce03c29c243ea4f9 Mon Sep 17 00:00:00 2001
From: Graeme Geldenhuys 
Date: Thu, 25 Apr 2019 00:00:29 +0100
Subject: [PATCH 1/2] Fixes compilation errors with FPC 3.2.0

Also tested with FPC 3.0.4 and all is well now.
---
 lib/common/editwidgets/msegraphedits.pas | 3 ++-
 lib/common/widgets/msedispwidgets.pas| 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/common/editwidgets/msegraphedits.pas b/lib/common/editwidgets/msegraphedits.pas
index 855bb1cdd..deac865e6 100644
--- a/lib/common/editwidgets/msegraphedits.pas
+++ b/lib/common/editwidgets/msegraphedits.pas
@@ -10,6 +10,7 @@
 unit msegraphedits;
 {$ifdef FPC}
  {$mode objfpc}{$h+}
+ {$interfaces corba}
 {$endif}
 {$ifndef mse_no_ifi}
  {$define mse_with_ifi}
@@ -152,7 +153,7 @@ type
fstate: dataeditstatesty;
 {$ifdef mse_with_ifi}
fifilink: tifivaluelinkcomp;
-   function getdefaultifilink: iifilink; override;
+   function getdefaultifilink: iificlient; override;
procedure ifisetvalue(var avalue; var accept: boolean);
procedure getifivalue(var avalue) virtual;
procedure setifivalue(const avalue) virtual;
diff --git a/lib/common/widgets/msedispwidgets.pas b/lib/common/widgets/msedispwidgets.pas
index d60e38bf6..acce35f9d 100644
--- a/lib/common/widgets/msedispwidgets.pas
+++ b/lib/common/widgets/msedispwidgets.pas
@@ -11,6 +11,7 @@ unit msedispwidgets;
 
 {$ifdef FPC}
  {$mode objfpc}{$h+}
+ {$interfaces corba}
 {$endif}
 {$ifndef mse_no_ifi}
  {$define mse_with_ifi}
@@ -143,7 +144,7 @@ type
fflags: dispwidgetflagsty;
 {$ifdef mse_with_ifi}
fifilink: tifilinkcomp;
-   function getdefaultifilink: iifilink; override;
+   function getdefaultifilink: iificlient; override;
 //iifidatalink
function getifilinkkind: ptypeinfo;
procedure setifilink(const avalue: tifilinkcomp);
-- 
2.17.1

>From 3d8af45631e52e62f375eae6ce41ba507ec2 Mon Sep 17 00:00:00 2001
From: Graeme Geldenhuys 
Date: Thu, 25 Apr 2019 00:02:30 +0100
Subject: [PATCH 2/2] Trimmed trailing whitespace.

My IDE was set up to trim trailing whitespace on save. No functional
changes in this commit.
---
 lib/common/editwidgets/msegraphedits.pas | 248 +++
 lib/common/widgets/msedispwidgets.pas|  42 ++--
 2 files changed, 145 insertions(+), 145 deletions(-)

diff --git a/lib/common/editwidgets/msegraphedits.pas b/lib/common/editwidgets/msegraphedits.pas
index deac865e6..cf6848b74 100644
--- a/lib/common/editwidgets/msegraphedits.pas
+++ b/lib/common/editwidgets/msegraphedits.pas
@@ -40,10 +40,10 @@ const
  defaultsliderwidth = 200;
  defaultsliderheight = 20;
  defaultboxsize = 13;
- defaultsliderscrollbaroptions = defaultscrollbaroptions + 
+ defaultsliderscrollbaroptions = defaultscrollbaroptions +
 [sbo_valuekeys,sbo_thumbtrack];
  defaultgrapheditframeoptions = defaultcaptionframeoptions + [cfo_captionfocus];
- 
+
 type
  tgrapheditframe = class(tcustomcaptionframe)
   protected
@@ -123,7 +123,7 @@ type
   published
property colorclient {default cl_foreground};
  end;
- 
+
  tgraphdataedit = class(tactionpublishedwidget,igridwidget,istatfile,
  iassistiveclientgridwidget
   {$ifdef mse_with_ifi},iifidatalink{$endif})
@@ -204,14 +204,14 @@ type
  virtual; abstract;
procedure dofontheightdelta(var delta: integer); override;
procedure sizechanged; override;
-   
+
procedure updatereadonlystate; virtual;
procedure initeditfocus;
procedure updatedatalist; virtual;
-   
+
 //igridwidget
procedure setfirstclick(var ainfo: mouseeventinfoty);
-   function createdatalist(const sender: twidgetcol): tdatalist; 
+   function createdatalist(const sender: twidgetcol): tdatalist;
  virtual; abstract;
procedure datalistdestroyed; virtual;
function getdatalistclass: datalistclassty; virtual; abstract;
@@ -293,23 +293,23 @@ type
   published
property statfile: tstatfile read fstatfile write setstatfile;
property statvarname: msestring read getstatvarname write fstatvarname;
-   property 

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Patrick Goupell


On 4/24/19 3:00 PM, fredvs wrote:

Re-hello Graeme.

Your script is perfect but... it need to install svn to download source of
fpc 3.2.0 (and I do not find the courage).

;-(

(Things would be so much easier with GitHub).

Anyway, thanks to Sternas and his out-of-the-box CodeTyphon, I did install
fpc 3.3.1.
I will see what appends with msegui and fpc > 3.0.x asap.
  
Fre;D


The source for FPC can be downloaded from the www.freepascal.org site.  
Follow the Download link on the right side of the screen.



___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Re-hello.

OK, I jumped into fpc 3.3.1 + msegui.

Indeed, same error:

Free Pascal Compiler version 3.3.1 [2019/04/24] for x86_64
Copyright (c) 1993-2018 by Florian Klaempfl and others
msegraphedits.pas(126,19) Error: No matching implementation for interface
method "getdefaultifilink:iificlient;" found
msegraphedits.pas(1214,1) Fatal: There were 1 errors compiling module,
stopping
Fatal: Compilation aborted

Sadly I am not a guru in interface things and I do not see what is wrong
with iificlient interface for fpc > 3.0.x.

;-(

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 20:00, fredvs wrote:
> Your script is perfect but... it need to install svn to download source of
> fpc 3.2.0 (and I do not find the courage).

Glad the script helped. I sometimes don't bother installing SVN either.
It the case of 3.2.0 I too didn't bother with SVN. I simply downloaded a
tar.gz of the source from somewhere - can't remember where though,
otherwise I would have shared the link.

Umm, maybe it was from SourceForge.net


Regards,
  Graeme


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Re-hello Graeme.

Your script is perfect but... it need to install svn to download source of
fpc 3.2.0 (and I do not find the courage).

;-(

(Things would be so much easier with GitHub).

Anyway, thanks to Sternas and his out-of-the-box CodeTyphon, I did install
fpc 3.3.1.
I will see what appends with msegui and fpc > 3.0.x asap.
 
Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Thanks Graeme for that clear answer!

> I thought Martin already worked on FPC 3.2.0 compatibility though. See 
>  commit history using 'gitk --all' 

Hum, I fear that those commits are about FPC 3.0.x compatibility:

In mclasses.pas:

{$if FPC_FULLVERSION >= 030100} {$define mse_fpc_3_2} {$endif}

It seems that what is called mse_fpc_3_2 point to fpc 3.0.x.

Anyway, asap I will into fpc compilation (must take a break for this first)
and (try to) make msegui compatible for fpc > 3.0.x.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 14:12, fredvs wrote:
> Yes, but only source and compiling fpc is not my favorite game.

I have been using the same compilation script for the last 7 years and
it hasn't failed me yet. Just one reminder:

  A newer FPC may only be compiled with the latest _released_ FPC
  version.

My directory structure is as follows:

/data/devel/fpc-/
+- src
+- go.sh


Where  is the version of FPC. ie: "fpc-3.0.4" or "fpc-3.2.0"
and "src" is where the source code is checked out or unpacked from a
archive.

I have one ~/.fpc.cfg which uses $fpcversion and $fpctarget instead of
hard-coded version numbers. So this file NEVER needs to change even if I
switch FPC versions.


=[go.sh]===
#!/bin/sh

TARGET_VER=3.2.0
TARGET=x86_64-linux
COMPILER=/data/devel/fpc-3.0.4/$TARGET/bin/ppcx64

cd src

make clean
make all FPC=$COMPILER OPT="-Fl/usr/local/lib"
make install INSTALL_PREFIX=/data/devel/fpc-$TARGET_VER/$TARGET
FPC=/data/devel/fpc-$TARGET_VER/src/compiler/ppcx64

===

Due to line wrapping, I've attached the go.sh script found in the
fpc-3.2.0 directory.


So after running go.sh it will build and install fpc into the same
directory structure as shown above. It is totally independent of Linux
package management. I also use the same structure for Linux, FreeBSD and
Windows.

Here is my complete directory layout of the FPC versions I test with:

/data/devel/fpc-2.6.4/
   +-go.sh
   +-src/
   +-x86_64-linux/
   +-x86_64-freebsd/
/data/devel/fpc-3.0.4/
   +-go.sh
   +-src/
   +-x86_64-linux/
   +-x86_64-freebsd/
/data/devel/fpc-3.2.0/
   +-go.sh
   +-src/
   +-x86_64-linux/
   +-x86_64-freebsd/


I deleted the fpc-2.6.2 compiler as I don't recompile 2.6.4 any more.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


go.sh
Description: application/shellscript
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
> The FPC 3.2.0 branch is being maintained and stablised here: 

Yes, but only source and compiling fpc is not my favorite game.
Anyway, if I find lot of time and lot of courage I will do it and see what
msegui + fpc 3.2.0 say.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 13:38, Fred van Stappen wrote:
> $ sudo apt-get install simplescreenrecorder

:-) Yup, that's the one I used in the end.


Regards,
  Graeme



___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 13:28, Fred van Stappen wrote:
> Hum, do you think it is already time to make msegui compatible for fpc  > 
> 3.0.4?


My rule of thumb (for fpGUI and such) is to not bother with FPC Trunk.
But once the FPC team announces a Release Candidate - which will become
the next release soonish - then I start working on making fpGUI
compatible. That why, on release day, fpGUI will work fine.


I thought Martin already worked on FPC 3.2.0 compatibility though. See
the commit history using 'gitk --all'

Commit 48b6c492b0f was a merge of a 'fpc_3_2' branch dated 2018-10-12.
There are some earlier commits too, like f064ac7cd.


The FPC 3.2.0 branch is being maintained and stablised here:

  https://svn.freepascal.org/svn/fpc/branches/fixes_3_2




Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread Fred van Stappen
> Initially I tried to record what I mean as an animated GIF, but the software 
> doesn't record
> the mouse cursor - so it was a bit useless for the purpose.

$ sudo apt-get install simplescreenrecorder

___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread Fred van Stappen
OK, I see now.

I will jump into it asap.

Fre;D


De : Graeme Geldenhuys 
Envoyé : mercredi 24 avril 2019 13:40
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

On 24/04/2019 11:50, fredvs wrote:
> But maybe (surely)  I miss something.

Yes - I thought it would be difficult to explain. Initially I tried to
record what I mean as an animated GIF, but the software doesn't record
the mouse cursor - so it was a bit useless for the purpose.

Anyway, watch from 0:03 to 0:05 in the video. Note how you moved the
mouse pointer outside the main source editor (over the gutter) and the
selection did not follow the mouse. All other editors capture the mouse
event on mouse down so that while the mouse moves, event are still sent
back to the original widget.

I've recorded another video which clearly shows the difference. Note
that once the selection starts, the left mouse button is kept down (not
obvious in the video) while I move the mouse around - even outside the
original source editor widget.


   http://geldenhuys.co.uk/~graemeg/videos/mseide_selection.ogv


In MSEide, as soon as the mouse cursor is outside the source editor, the
selection stops moving.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen

> The compilation error only occurs with FPC 3.2.0

This time was one too much.
Now I have cleaned my glazes with very hot water, strong soap, 3 times.

OK, sorry, yes, the same for FPC 3.1.x, Martin did not enable yet compatibility 
for > 3.0.4.

Hum, do you think it is already time to make msegui compatible for fpc  > 3.0.4?

Fre;D




De : Graeme Geldenhuys 
Envoyé : mercredi 24 avril 2019 13:45
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

On 24/04/2019 12:27, fredvs wrote:
> Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64

You are using FPC 3.0.2, which is why it is working. I said 3.0.2 and
3.0.4 works fine. The compilation error only occurs with FPC 3.2.0 (the
release candidate of the next FPC release). I haven't tried FPC Trunk,
because I consider trunk too unstable, but assume the same issue would
occur.

And yes, my build script ALWAYS clears out old compiled units before I
do a compilation. Years of experience with FPC has taught me any other
way is very unreliable. :-)

My build script:

[go-linux.sh]=
#!/bin/sh

rm units/x86_64-linux/*

/data/devel/fpc-3.2.0/x86_64-linux/bin/fpc \
  -O2 -XX -Xs \
  -Mobjfpc -Sh -Fcutf8 \
  -FUunits/x86_64-linux \
  -Fu${PWD}/lib/common/* \
  -Fu${PWD}/lib/common/kernel/linux \
  -Fi${PWD}/lib/common/kernel \
  -o./mseide \
  apps/ide/mseide.pas



Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 12:27, fredvs wrote:
> Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64

You are using FPC 3.0.2, which is why it is working. I said 3.0.2 and
3.0.4 works fine. The compilation error only occurs with FPC 3.2.0 (the
release candidate of the next FPC release). I haven't tried FPC Trunk,
because I consider trunk too unstable, but assume the same issue would
occur.

And yes, my build script ALWAYS clears out old compiled units before I
do a compilation. Years of experience with FPC has taught me any other
way is very unreliable. :-)

My build script:

[go-linux.sh]=
#!/bin/sh

rm units/x86_64-linux/*

/data/devel/fpc-3.2.0/x86_64-linux/bin/fpc \
  -O2 -XX -Xs \
  -Mobjfpc -Sh -Fcutf8 \
  -FUunits/x86_64-linux \
  -Fu${PWD}/lib/common/* \
  -Fu${PWD}/lib/common/kernel/linux \
  -Fi${PWD}/lib/common/kernel \
  -o./mseide \
  apps/ide/mseide.pas



Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 11:50, fredvs wrote:
> But maybe (surely)  I miss something.

Yes - I thought it would be difficult to explain. Initially I tried to
record what I mean as an animated GIF, but the software doesn't record
the mouse cursor - so it was a bit useless for the purpose.

Anyway, watch from 0:03 to 0:05 in the video. Note how you moved the
mouse pointer outside the main source editor (over the gutter) and the
selection did not follow the mouse. All other editors capture the mouse
event on mouse down so that while the mouse moves, event are still sent
back to the original widget.

I've recorded another video which clearly shows the difference. Note
that once the selection starts, the left mouse button is kept down (not
obvious in the video) while I move the mouse around - even outside the
original source editor widget.


   http://geldenhuys.co.uk/~graemeg/videos/mseide_selection.ogv


In MSEide, as soon as the mouse cursor is outside the source editor, the
selection stops moving.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
>Did you try to remove all *.ppu. *.o and friends before compilation? 
> Sometimes, with fpc, -B parameter is not enough to clean all. 

It is the reason why I highly prefer to always use the -FUadirectory
parameter.
In that case all the *.ppu and friends are in same directory and easy to
delete.


Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Hello Graeme:

Here result of compilation of last mseide with fpc 3.0.2. on Debian 9.8:

 

Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64
Copyright (c) 1993-2016 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling mseide.pas
...
Linking mseide
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
663118 lines compiled, 70.8 sec

Did you try to remove all *.ppu. *.o and friends before compilation?
Sometimes, with fpc, -B parameter is not enough to clean all.

Fre;D

 



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread fredvs
Hello Graeme.

Here video of what appends on Linux Debian 9.8 64 bit:

msede_selectmouse.mp4
  

But maybe (surely)  I miss something.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Feature Request: double click select word in editor

2019-04-24 Thread Graeme Geldenhuys
On 22/04/2019 00:43, Graeme Geldenhuys wrote:
> When you currently double click a word in the editor, it does nothing.

Thanks Fred. I tested with the latest MSEide and it works perfectly now. :)


Regards,
  Graeme


-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
Hi,

I get a compilation error when using FPC 3.2.0:

  No matching implementation of interface found


It works fine when I compile with FPC 3.0.4 though.

=
...snip...
mseedit.pas(27,32) Hint: Unit "mseifiglob" not used in mseedit
mseedit.pas(683,19) Hint: Unit "msedataedits" not used in mseedit
Compiling ./lib/common/container/msesumlist.pas
msewidgetgrid.pas(324,34) Hint: Parameter "index" not used
msewidgetgrid.pas(303,32) Hint: Parameter "avalue" not used
msewidgetgrid.pas(310,31) Hint: Parameter "avalue" not used
msewidgetgrid.pas(308,31) Hint: Parameter "avalue" not used
msewidgetgrid.pas(555,2) Hint: Unit "msereal" not used in msewidgetgrid
msegraphedits.pas(126,19) Error: No matching implementation for
interface method "getdefaultifilink:iificlient;" found
msegraphedits.pas(1214,1) Fatal: There were 1 errors compiling module,
stopping
Fatal: Compilation aborted
Error: /data/devel/fpc-3.2.0/x86_64-linux/bin/ppcx64 returned an error
exitcode
[msegui (master)]$
=



Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread Graeme Geldenhuys
Hi,

I not sure, but I consider it a bug.  When I select text with the mouse
in the source editor... The selection works perfectly as long as I keep
the mouse pointer inside the source editor. If the mouse pointer moves
into the editor gutter (where the line numbers are) or outside the
editor, then the selection stops at the point where the mouse left the
source editor widget.

In any other editors I often select a couple of lines with a mouse swipe
action (in a NW direction), but in MSEide I can't do that. I always have
to select lines only in the N or S directions to make sure the mouse
pointer doesn't leave the editor widget.

It seems that MouseCapture is not triggered or something, so the mouse
events don't get sent back to the editor.

Oh, and my editor is docked with the main IDE window - not sure if that
is relevant.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk