Re: [MSEide-MSEgui-talk] Cross compile from Intel 64 Linux to ARM 64 Linux ?

2018-01-29 Thread fredvs
> Which compiler? FPC (or MSElang, of course). OK, the people of CodeTyphon did a excellent work. Their Cross tool chain work perfectly: Target OS (-T) ---> Linux Target CPU (-P) family ---> aarch64 OK, it works for cross-compiling Intel64 --> ARM64. Target OS (-T) ---> Linux Target CPU (-P)

[MSEide-MSEgui-talk] Cross compile from Intel 64 Linux to ARM 64 Linux ?

2018-01-29 Thread fredvs
Hello everybody. Is is possible to cross-compile a library (Java native) from a Intel 64 Linux machine for target ARM 64 Linux ? I did compile/test the library (Java native) on a Rpi Linux ARM 32 and all ok (loaded from a Java class). But how to compile it for a ARM 64 ? The goal is to use the

Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-25 Thread fredvs
> so the situation is clear Hum, +-, Florian did a commit 3 weeks ago. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging

Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-24 Thread fredvs
> since fpc llvm backend has been abandoned (seems likely) http://wiki.lazarus.freepascal.org/LLVM -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the

Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-22 Thread fredvs
Perfect. And for the look, what about the size of a app compiled with LLVM (vs FPC) ? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's

Re: [MSEide-MSEgui-talk] Some change in mseconst.pas...

2018-01-22 Thread fredvs
Hello Martin. In the close confirmation dialog of MSEide, the Button "All" is still there (in place of "Yes all"). See picture: ;-( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-21 Thread fredvs
Hello Martin. Sorry for that question, but internet did not help me to find a answer. Does a program compiled by a lid of LLVM family need special libraries to run ? Or must a LLVM system be installed (like Java or Python do) ? Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Updated mseconst_es unit

2018-01-17 Thread fredvs
> mr_yesall is missing, please do a git pull first. Ooops, sorry. Done. mseconsts_fr.gz Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Updated mseconst_es unit

2018-01-16 Thread fredvs
Hello Martin. Included updated mseconst_fr.pas. mseconsts_fr.gz Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check

[MSEide-MSEgui-talk] Some change in mseconst.pas...

2018-01-15 Thread fredvs
Hello Martin. May I propose to change some values in mseconst.pas ? If yes, here what I use: en_modalresulttext: defaultmodalresulttextty = (... 'Y all' (vs All), ...) en_modalresulttextnoshortcut: defaultmodalresulttextty = 'Yes all' (vs All), ...) Included mseconst.pas modified.

Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-11 Thread fredvs
http://forum.lazarus.freepascal.org/index.php/topic,39632.msg272694/topicseen.html ---> WoW -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's

Re: [MSEide-MSEgui-talk] MSElang news.

2018-01-10 Thread fredvs
> It goes as scheduled. Next task is finishing modular compilation. Super. > I must finish another project including TAssistiveHandler. Perfect. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

[MSEide-MSEgui-talk] MSElang news.

2018-01-10 Thread fredvs
Hello Martin. Do you have some news about MSElang project ? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites,

Re: [MSEide-MSEgui-talk] TrayWidget - popup is not showing if tray has frame

2018-01-03 Thread fredvs
If I may... Since MSE has now also a huge assistive interface (and also because no other has it), I am not so sure that a MSE Window Manager would be "a one more Window Manager" like you said, Martin, a few years ago, JWM (Joe Window Manager) has accepted in his to become assistive but... no

Re: [MSEide-MSEgui-talk] Fwd: Updated mseconsts_es.pas

2017-12-28 Thread fredvs
Hello Martin. Attached updated mesconsts_fr.pas mseconsts_fr.pas Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check

Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-26 Thread fredvs
Hello Martin. With last commit, nothing compile anymore ;-( sak_mse.pas(64,10) Error: No matching implementation for interface method "doapplicationactivated;" found sak_mse.pas(64,10) Error: No matching implementation for interface method "doapplicationdeactivated;" found

Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-25 Thread fredvs
> What application are you thinking about? Google has something: Google Image Recognition. But not sure it can be used for assistive. There is also Amazon Rekognition. But I have to agree that I did not test those api-app of images recognition. Fre;D PS: Maybe, to be ready, add a

Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-24 Thread fredvs
Hello Martin. What about link MSE assistive with Image Recognition Software ? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most

Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-20 Thread fredvs
> iassistiveserver has been extended, simply add according dummy functions to > your class, clientmouseevent() has been renamed to doclientmouseevent() > for > consistency, it has been mentioned in VERSION.TXT. Ouf, ok, fixed and it works like before (you scared me). Re-by the way, I am

Re: [MSEide-MSEgui-talk] Problem with last commit.

2017-12-20 Thread fredvs
> Thereason is that I currently make a tassistivserver component for > applications which are specifically designed for visually impaired people. Ha, earlier tassistivserver was not able to help visually impaired people ? Could you explain, please, what does the new tassistivserver that earlier

Re: [MSEide-MSEgui-talk] Wasn't a member of msegui mailing list anymore :(

2017-12-19 Thread fredvs
> Has it all the mails since the start of the list? Huh, it has all the mails sine you start MSE-nabble account (even those not sent by nabble.com). (Maybe you did not choose to add all the previous mails when you created MSE-nabble account) Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Reactivate my project

2017-12-19 Thread fredvs
Thanks Graeme. uos has {$DEFINE mse} in define.inc. If you uncomment this when using uos in a MSEgui projet, mseThread will be used in place of fpc TThread, same for MSEtimers. Here a MSE/uos project: https://github.com/fredvs/strumpract/releases/ Fre;D -- Sent from: http://mseide

Re: [MSEide-MSEgui-talk] Undefined symbol "ppoll" on GhostBSD (FreeBSD distro).

2017-12-14 Thread fredvs
Hello Martin. I did install last GhostBSD11.1-mate-amd64. With this release, MSE works perfectly out of the box. Sorry for the noise. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Undefined symbol "ppoll" on GhostBSD (FreeBSD distro).

2017-12-12 Thread fredvs
> Works for me on FreeBSD 11.0 Yes, for me too on a "Pure X" FreeBSD OS. > Do you really need it? Me no, but maybe other people use GhostBSD. And if for you it is only a $ifdef to add somewhere ;-) But, ok, forget about it. Thanks. Fre;D -- Sent from:

[MSEide-MSEgui-talk] Undefined symbol "ppoll" on GhostBSD (FreeBSD distro).

2017-12-12 Thread fredvs
Hello Martin. I get a error message when trying to run mseide (or other msegui apps) on GhostBSD Mate 64 (http://www.ghostbsd.org): ---> mseide: Undefined symbol "ppoll" ---> then the application stops. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-12-12 Thread fredvs
and synchronize it with the Drums set. DJ console for auto-mixing, with 2 players and direct-output of mic. Record your ideas-jam. And much more... Binaries for Linux 64/32, Windows 64/32, ARM-Rpi 32 and FreeBSD 64 are here: https://github.com/fredvs/strumpract/releases/ Have fun. Fre;D -- Sent

Re: [MSEide-MSEgui-talk] Maximum length of array of cfloat ?

2017-11-26 Thread fredvs
Hello. Yep, I get it ;-) To detect the BPM of a audio file, first that file must be converted into a buffer of samples. This is done by a other thread. But, on my system, after decoding +- 1 mega, the conversion become slower. I did use a pause(length_of_file div ratio) before to use the

Re: [MSEide-MSEgui-talk] Maximum length of array of cfloat ?

2017-11-25 Thread fredvs
> What error? Very difficult to debug... There is that error message: #1 6252 unknown "bpmdetect" 0x00412576 in fpc_dynarray_incr_ref () If setlength(thebuffer) is big (have to determinate how much) , length(thebuffer) = -1085102592571150095 ! And then the application crash with a

[MSEide-MSEgui-talk] Maximum length of array of cfloat ?

2017-11-25 Thread fredvs
Hello. Is there a maximum length for a array of cfloat? I have problem with conversion of audio files into array of samples if length of array is > 20 megas. ;-( Thanks. . Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] MSE and XLib. @Graeme

2017-11-06 Thread fredvs
Ooops. Well seen Martin. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [MSEide-MSEgui-talk] MSE and XLib. @Graeme

2017-11-06 Thread fredvs
Sorry, I cannot resist. >From Ubuntu 17.4 and child ( Mint, etc, ... ) --> $ sudo apt-get install libX11-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libX11-dev $ sudo apt-get install libXft-dev Reading package

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-11-02 Thread fredvs
> We should fix bugs not circumvent them. Ok, I will do a test program to show the problem. But ASAP (sorry I a m overbooked). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the

Re: [MSEide-MSEgui-talk] display images

2017-11-02 Thread fredvs
> I use ID3Lib from this web site: www.muetze1.de. Ha, I do not know this one. I will try it, many thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community

Re: [MSEide-MSEgui-talk] display images

2017-11-01 Thread fredvs
Hello Martin. I battle hard with id3 tag. (http://id3.org/Home) id3 version 2 is in the pocket > var BufferTag: array[1..128] of char; F: file; begin AssignFile(F, '/test.mp3'); Reset(F, 1); Seek(F, FileSize(F) - 128); BlockRead(F, BufferTag, SizeOf(BufferTag));

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-11-01 Thread fredvs
> Why? A crash should not happen. Because the wrong value is still there (if not corrected). And the mix is done by a timer of 100 ms. So when the mix occurs, each 0.1 second there is a modal error message (no time to close it). And finally it crash. PS: All works like wanted with the tuned

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-31 Thread fredvs
> It can be closed by pressing "Enter". Yes, but for lazy people (like me) it is lot of work to press a key. ;-) Also, because the message-form is modal, if a process is running that needs to access value of the spinedit, it can make trouble if the message-form was not closed. Also, in the

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-31 Thread fredvs
oid crash, the wrong value is corrected (it is commented in the hint-timed-form) . https://github.com/fredvs/strumpract/releases/tag/1.5.3 Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Ch

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-30 Thread fredvs
> Press Esc in order to restore the previous value. Ha, good to know (and to add to the hint text of a spinedit). Perfect Martin. (But I think that I will use "ontextedited" to check-correct value and a kind of timed-hint-message-self-closed-form to explain the error value entered). Many

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-30 Thread fredvs
> It contradicts the value entry philosophy of MSEgui OK, I understand but maybe it could be good, if for example a new value > valuemax is entered, that a error range message is displayed (like MSE do now) but after the old value before changing is restored. For example if you assign: valuemax

Re: [MSEide-MSEgui-talk] trealspinedit and valuemin/valuemax ?

2017-10-30 Thread fredvs
> Please set "valuemax" to a very big value instead. Ok, valuemax = 99 and valuemin = '' . Now, if for example 200 is entered ---> reset to 100. And if value = '' or < 0 --> reset to 0. Perfect. Huh, for the totally dummies, is it possible to do a filter if a character is entered in

Re: [MSEide-MSEgui-talk] display images

2017-10-27 Thread fredvs
Hello. Can MSE display animated png ? https://en.wikipedia.org/wiki/APNG This because mp3 picture-tag can only deal with png or jpg images. (And because no mp3 player exists that can render animated png pictures). Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Extended Tfilelistview.

2017-10-12 Thread fredvs
> datalist_files.adddirectory('./',fil_ext1,'"*.mp3" "*.wav" "*.ogg" "*.flac"'); Perfect. > Tip: Ctrl+LeftClick in source editor on "adddirectory" shows the the > header definition: Huh, I use it lot of time but... I have to admit that const amask was well hidden. I have to wash my glasses.

Re: [MSEide-MSEgui-talk] Extended Tfilelistview.

2017-10-10 Thread fredvs
Hello Martin. I have excellent result with this: var x : integer; datalist_files : tfiledatalist; begin datalist_files := tfiledatalist.create(); // This does not work ---> // datalist_files.mask := '"*.mp3" "*.wav" "*.ogg" "*.flac"'; datalist_files.adddirectory('/home/fred/mp3/Home

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-10-10 Thread fredvs
Hello. StrumPract 1.5.0. is released! https://github.com/fredvs/strumpract/releases/tag/1.5.0 It includes a complete DJ console. With auto-mixing from file list (auto-load next song at end of song), auto-slider custom-able, and much more... About the RPi-arm version. Now that the appropriate

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-10-05 Thread fredvs
> The problem is in project setting Oooops, indeed, fixed, very sorry for the disagreement. Also there was some tosysfilepath() missing for the Windows 64/32 version --> "File does not exist...". ---> Fixed in Release 1.4.3. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-10-05 Thread fredvs
Hello Martin. >From http://www.lazarusforum.de/viewtopic.php?f=53=11100 : ---> Ich wollte es compilieren, bekomme aber die Fehlermeldung Can't find unit unixcp used by cwstring. Huh, all the Windows compiled releases were done with Wine (Windows Emulator in Linux) without problems. But after

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-10-03 Thread fredvs
> http://www.lazarusforum.de/viewtopic.php?f=53=11100 Thanks ;-) Here some pictures: StrumPract in DJ: You practicing and StrumPract in background playing + recording:

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-10-03 Thread fredvs
> If you could provide a video and/or some screenshots I would make an announcement on lazarusforum.de. ---> strumpract_demo.mp4 Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-03 Thread fredvs
Hello Martin. OK, thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [MSEide-MSEgui-talk] StrumPract is released !

2017-10-03 Thread fredvs
> f you could provide a video and/or some screenshots I would make an announcement on lazarusforum.de. Yes, of course. But it will be without sound. ;-( My screen recorder gives bad sound and I prefer that people do not think that StrumPract has the same quality of sound. Fre;D -- Sent

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-02 Thread fredvs
> Do you have a reproducible testcase? See demo in attachement. msefontcolor.zip > Are you sure you did not change a font color by accident? Yes. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

[MSEide-MSEgui-talk] StrumPract is released !

2017-10-02 Thread fredvs
/fredvs/strumpract/releases/ And the source from there: https://github.com/fredvs/strumpract/ Enjoy ;-) Fre;D PS: Thanks Martin. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant

Re: [MSEide-MSEgui-talk] About MSE TSlider.

2017-10-02 Thread fredvs
> or better Huh, to not loose the last position in the tlabel ? Yes, but it is done just after button is released by the audio thread. But ok, it is better ;-) Now the test: Perfect, smooth, direct, no delay, no "scratch". So, this works perfectly: - audio thread event to TSlider: if

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-02 Thread fredvs
> That is wrong. Do you have a reproducible testcase? I will try and if ok, I will give a demo. > Are you sure you did not change a font color by accident? Maybe. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Parent font.color ?

2017-10-02 Thread fredvs
> Activate a local font instance either by clicking the ellipse button in "font" Huh, of course I did it, but there is still a problem . But like explained in previous thread: one_of_the_forms.font.color := cl_red ---> all other child widgets, even from other forms become red-font. But Martin,

Re: [MSEide-MSEgui-talk] Color of symbol in button of tspinedit ?

2017-10-02 Thread fredvs
> trealspinedit.frame.colorglyph. Perfect (and indispensable for "Carbon" style). Many thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] About MSE TSlider.

2017-10-02 Thread fredvs
> >Sorry, I still do not catch ;-( > And I don^t understand what you want to achieve OK, we are both then. :-). Imagine that a song is playing. So the audio thread sent, at each reading of the buffer, some data to the main thread, like position in the sound. Then there is a synchro: the

Re: [MSEide-MSEgui-talk] About MSE TSlider.

2017-10-01 Thread fredvs
> The purpose of "accept" is to reject a value. Set it to false if you don't accept the value. Sorry, I still do not catch ;-( Concretely, what must I change in code ? What Tslider event? And ainfo.eventkind = ek_buttonrelease, what Tslider event gives ainfo data? Thanks. Fre;D -- Sent

Re: [MSEide-MSEgui-talk] Color of symbol in button of tspinedit ?

2017-10-01 Thread fredvs
Re-hello. Suite... And is it possible to change the color of the "X" of a tbooleanedit.value = true ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

[MSEide-MSEgui-talk] Parent font.color ?

2017-10-01 Thread fredvs
Hello Martin. How to assign font color to children only ? If there are multiple forms, doing this change the parent color of all other forms: one_of_the_forms.font.color := cl_red; Idem if there is many groupboxes, assigning a font color to one groupbox --> all other groupboxes change the

[MSEide-MSEgui-talk] Color of symbol in button of tspinedit ?

2017-10-01 Thread fredvs
Hello. Is it possible to change the color of the balck triangle-symbol of "up" and "down" buttons of a trealspinedit ? If yes , how ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ --

[MSEide-MSEgui-talk] About MSE TSlider.

2017-10-01 Thread fredvs
Hello Martin. Sorry to come back with this but I did not catch how to fire a event when the right button is released from the slider-button. I want to assign a event only when the button is released. I did try with this tslider.onsetvalue: procedure tsongplayer2fo.changepos(const Sender:

Re: [MSEide-MSEgui-talk] MSE Canvas.

2017-10-01 Thread fredvs
> Replace "visible:= true; visible:= Ha, you did see this ;-) I did try mywidget.redraw, mywidget.draw, mywidget.refresh, but not mywidget.invalidate. Thanks for the tip. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] MSE Canvas.

2017-09-29 Thread fredvs
> Attached a version OK, your patch is committed 8848320. Many thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging

Re: [MSEide-MSEgui-talk] MSE Canvas.

2017-09-29 Thread fredvs
> Great! Thanks! > Attached a version with maybe better performance because it uses > tface.image Many thanks, I will study it tonight. Huh, I did test of resource consommation and, when synchronizing, the design that needs the most ressource is the view meters of the console form. But sure it

Re: [MSEide-MSEgui-talk] MSE Canvas.

2017-09-29 Thread fredvs
> PS: Demo asap. Hello. Here image (not simulated) of MSE Tslider with custom canvas: <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/mse_scrollbar.png> To see and listen it: https://github.com/fredvs/strumpract Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.n

Re: [MSEide-MSEgui-talk] Mailing list problems

2017-09-28 Thread fredvs
Hello Martin. I sent 3 mails yesterday. There are still not here. ;-( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging

Re: [MSEide-MSEgui-talk] MSE Canvas.

2017-09-27 Thread fredvs
Hello Martin. Works perfectly. Thanks. PS: Demo asap. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites,

Re: [MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-27 Thread fredvs
Hello Martin. OK. (but a bit tricky...). Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites,

Re: [MSEide-MSEgui-talk] MSE Canvas. (Answer from Martin)

2017-09-27 Thread fredvs
Ooops, your message did not appear in nabble.com --> here a copy: On Tuesday 26 September 2017 15:05:21 fredvs wrote: > Hello Martin. > > How to draw lines on a canvas with MSE ? > > For example, > LCL: Canvas.Line(x,y, cx, cy)... > fpGUI: Canvas.drawLine(x,y,cx,cy)... &

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-26 Thread fredvs
> There is application.queueasynccall() ... Ha, ** VERY MUCH ** better. ;-) ---> No more underrun error, no scratch when opening dialog files, no scratch when switching float<>tab or opening/closing forms. Synchronization: perfect. (maybe even better than fpc-queue()). OK, re-come back to

Re: [MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-26 Thread fredvs
>> Is it possible to apply a filter? > tfilelistview.mask:= '"*.you" "*.she" "*.me"'. Does not work here: filelistfo.list_files.path := dir.value; filelistfo.list_files.mask := '"*.mp3" "*.wav" "*.ogg" "*.flac"'; --->

[MSEide-MSEgui-talk] MSE Canvas.

2017-09-26 Thread fredvs
Hello Martin. How to draw lines on a canvas with MSE ? For example, LCL: Canvas.Line(x,y, cx, cy)... fpGUI: Canvas.drawLine(x,y,cx,cy)... Does it exist a demo of some use of MSE canvas/draw lines ? Would it be possible to draw on the canvas of a TSlider.scrollbar.face ? This to draw the

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-26 Thread fredvs
> There is application.queueasynccall() OK, I will try this. Asap. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most

Re: [MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-26 Thread fredvs
> Please use a tstringgrid or a twidgetgrid with the wanted columns and fill it > with the data provided by a tfiledatalist in unit msefileutils. . Ha, ok, I will try. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread fredvs
Hello Martin. I did play with lock()/unlock in uos but still those underrun errors. There is something that I do not catch. So I came back with {.$DEFINE mse} (that uses classical fpc thread + queue()) and all synchros are ok without any error underrun message. Also no more scratch when

[MSEide-MSEgui-talk] About MSE TFilelistview.

2017-09-25 Thread fredvs
About TFilelistview Hello. In filelist.opions you may sort the filelist by name, time, size... Perfect. But is it possible to have a filelist with those data too in extra columns? Or maybe only the name can be displayed. Is it possible to apply a filter? What would be the syntax to assign

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread fredvs
> How do you do that? application.lock()/unlock()? Maybe. I have to check uos code. It uses {$DEFINE mse} and so uses msethreads and application.lock()/unlock(). Maybe there are not placed on the right place... application.lock()/unlock() is not used in Strumpact forms. > An alternative is...

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
> which sets the size of the form -> there will be scrollbars if basedock is too > big. I meant set the size of basedock too, somethin like: > basedock.size:= > height := emptyheight; > width := fowidth; Ha, ok, you mean to add the code of "TimerWait Workaround" ? ;-) Ok, many thanks.

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
> height := emptyheight; //basedock is still big -> mainfo has scrollbar(s) > width := fowidth; Huh, it is already there in code and did not help without "timerwait workaround". (see line 401 of procedure tmainfo.onfloatall(const sender: TObject) --> main.pas). PS: It is not

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-25 Thread fredvs
-- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-25 Thread fredvs
> This night will be a merciless test, StrumPract will be the dj all night. Hello Martin. OK, the night was white. Strumpact did his DJ job perfectly, no crash, no pause. The only detail is when a thread is synchronizing graphic of a other form (not the parent form of the thread). It produce

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-24 Thread fredvs
Hello Martin. ... WOW ... > Linux gui_getevent() breakes xfilterevent() loop if there is no message. If I may, you did discover something **very** annoying. My previous audio project: miXimum uses LCL + Bass audio library. https://sites.google.com/site/fiensprototyping/ Because of that

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-23 Thread fredvs
> Bugs should be fixed not "workarounded". ;-) Huh, then, sorry, there is still something... All works perfectly if all the forms are visible. But if child-docked-forms are closed inside the main parent form, it has still problems. The canvas is not refreshed when floating all the visible

Re: [MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-23 Thread fredvs
Hello Martin. > I can reproduce it now if not compiled with -gh Ha here it appends even with -gh. > But sometimes there is a libc memory error How do you get that error ? Even with -ghl + debugger I cannot have errors. Very difficult to debug then. What could I do ? Thanks. Fre;D --

[MSEide-MSEgui-talk] Application paused if no mouse event.

2017-09-22 Thread fredvs
Hello Martin. I have a strange problem. While using a timer, sometimes, the application pause itself. But when moving the mouse, it re-works again. See video. mse_stopnomouse2.mp4 What could be the cause of this ?

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-22 Thread fredvs
> si1.cx:= basedock.width; //do not change width OK only added it. ;-) Works formidably now. Many thanks Martin. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-22 Thread fredvs
> It is a matter of style. Personally I think one should not restrict the users if they want to change the window size. I agree with that too. But the "all docked" layout is to give users a "out of the box" nice layout. They may change the size of some forms (but I prefer to let some forms

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-21 Thread fredvs
Re-hello Martin. Is it possible to hide the end buttons of a Tslider ? If yes, how ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-21 Thread fredvs
Hello Martin. Many thanks for your investigations. It works perfectly now. The height-size is perfect now. Huh, why dont you like Timerwait ? It was used to ajuste the main form width if a vertical scrollbar appear. (Otherwise part of the docked forms are hidden, like the close buttons). See

Re: [MSEide-MSEgui-talk] strumpract (was Artifacts in form scrolling (was tdirdropdownedit with statfile))

2017-09-20 Thread fredvs
Hello Martin. OK, i did apply your patch + compile with last MSE commit. At loading, perfect the size of the main form is ok, scrolling refresh well the canvas. Sadly after there are few problems. - Sometimes the vert scrollbar does not appear when all the forms are dockked. - And when it

Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-19 Thread fredvs
Hello Martin. I am busy with the mercyless test of MSE dock. Many wow. At the moment I did only find this strange: When docking all the windows into main window, sometimes the height of the scrolled design canvas is too high. See video: mse_scrollheight.mp4

Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-18 Thread fredvs
> The problem is the negative shifts in mainfo.container.frame OK, removed that rounded "global" frames. (that was not nice in fact). Now, scrolling main form is perfect. Well, MSE dock was hardly and deeply tested. Verdict: There are no limit. Time to create now. Many thanks and wow

Re: [MSEide-MSEgui-talk] Artifacts in form scrolling (was tdirdropdownedit with statfile)

2017-09-18 Thread fredvs
> A hint: the program crashes if compiled with -gh (heaptrace) there seems to > be a memory error somewhere. in uos code line 2878: for x := 0 to (Data.OutFrames div ratio) do ... Must be: for x := 0 to (Data.OutFrames div ratio) -1 do ... Many thanks Martin and Heaptrace. ;-) And for the

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-18 Thread fredvs
> AFAIK heaptrace can not work with cmem. Aaargh, indeed, with cmem and using float 32 resolution: Heap dump by heaptrc unit 0 memory blocks allocated : 0/0 0 memory blocks freed : 0/0 0 unfreed memory blocks : 0 True heap size : 0 True free heap : 0 Here without cmem and float 32

Re: [MSEide-MSEgui-talk] tdirdropdownedit with statfile (was strumpract)

2017-09-18 Thread fredvs
>> On my system -Dir- (tdirdropdownedit) appears with the list of directory, like if it was selected. > Please try again with git master a26cde4dd6fd0d15c94c1e5ce0919d4baf7ef683 Perfect, fixed, many thanks. Sorry but there s something else ;-(. When main form is "scrolled" using the

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
> A hint: the program crashes if compiled with -gh (heaptrace) there seems to be a memory error somewhere. Yeeep, there is a solution: ---> program strumpract; uses cmem, ... It solves everything, no memory errors, nor memory leaks. Same for all uos examples. Good to know. ;-) Fre;D --

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
oat resolution --> crash + memory leak when using -ghl. If resolution is integer (16 or 32) no crash. Maybe you may test by yourself. Take the example SimplePlayer_MSE.prj from https://github.com/fredvs/uos. Compile it with -ghl and run it. By default, the resolution is float 32. --> it w

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
-- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [MSEide-MSEgui-talk] strumpract (was MSE and docking).

2017-09-17 Thread fredvs
Hello Martin. Many thanks for your tips and patch. I will study it deeply. > A hint: the program crashes if compiled with -gh (heaptrace) there seems > to be a memory error somewhere. Yep, I have seen it yesterday. I have to check it. Other thing. I am busy with the file-list window (for

<    6   7   8   9   10   11   12   >