Re: [Lazarus] Unicode RTL for FPC

2023-01-15 Thread Rolf Wetjen via lazarus
Hi Michael, - update/clone fpc: git clone https://gitlab.com/freepascal.org/fpc/source.git fpc ** ok - Switch to unicode branch: cd fpc **missing in the description git switch unicodertl ** ok - Create FPC unicode-rtl-capable compiler cd fpc ** already in fpc make all ** ok, beside of the fact

Re: [Lazarus] Unicode RTL for FPC

2023-01-12 Thread Rolf Wetjen via lazarus
Hi Michael, I'm interested in this but I expect that I'm not the expert you are looking for. Some time ago ( Lazarus 1.8 or even earlier) I made a directory sync program for my own use for Windows which is aware of Unicode names in the file system. I tried to follow your instruction but I fa

[Lazarus] TStatusBar.AutoSize doesn't work (Lazarus 2.12, Win32)

2021-09-28 Thread Rolf Wetjen via lazarus
Hi everybody, TStatusBar.AutoSize doesen't work. The size of the statusbar is always a default size. From https://docs.microsoft.com/en-us/windows/win32/controls/status-bars#size-and-height : "The height i

[Lazarus] Issue #37100 / Can not create StatusBar control under Win32 LCL Dll application

2021-09-23 Thread Rolf Wetjen via lazarus
Hello everybody, can someone tell me what's the status of issue #37100? Will it be implemented? The code looks a little bit strange. Both, the original one and the patch as well. The procedure "InitializePreferredStatusBarHeight" is referenced only one time in "class procedure TWin32WSStatus

Re: [Lazarus] Fritzbox TR64 communication

2021-09-06 Thread Rolf Wetjen via lazarus
Meanwhile I've my own Fritzbox TR64 API interface unit. If someone is interested: https://sourceforge.net/projects/fritzbox/ There's a unit uFritzbox_tr64.pas (the interface unit to the Fritzbox TR64 API), a test application to get data and a Deskb

[Lazarus] Fritzbox TR64 communication

2021-08-19 Thread Rolf Wetjen via lazarus
Does anyone have some experience how to communicate via TR64 SOAP with a Fritzbox? I've a working Python example (fritzconnection) and I know the neccesary http header and data for the SOAP communication. AVM states that "The default authentication mechanism is HTTP authentication using digest

Re: [Lazarus] Some IDE/LHelp issues

2021-02-04 Thread Rolf Wetjen via lazarus
Hi Andy I've patched LHelp.exe with lhelp_index_combine_04.patch. The "unknown" tab issue is partly solved. Now all tabs have a caption. There's one strange behaviour: [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and [User's Guide] doesn't show the default page if LHelp is cal

[Lazarus] Some IDE/LHelp issues

2021-02-02 Thread Rolf Wetjen via lazarus
Maybe someone can help with a few issues around LHelp in the IDE: 1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1 context help) it opens with 11 tabs. Some of them have a caption, some of them are [unknown]. The [unknown] ones come up with an error message "ms-its:xyz.chm::/

[Lazarus] Update to help documentation

2021-01-08 Thread Rolf Wetjen via lazarus
I've a small update for the help files masks.xml and maskedit.xml. How can I share it to the project? Regards, Rolf -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Cross-platform using TRegistry - how to?

2020-05-04 Thread Rolf Wetjen via lazarus
Hi Bo, looking into xregreg.inc: procedure TRegistry.SysRegCreate; var s : string; begin   s:=includetrailingpathdelimiter(GetAppConfigDir(GlobalXMLFile));   ForceDirectories(s);   FSysData:=TXMLRegistryInstance.GetXMLRegistry(s+XFileName);   TXmlRegistry(FSysData).AutoFlush:=False; end; It's s

Re: [Lazarus] Can't build chm/html-help by bat-file

2020-04-14 Thread Rolf Wetjen via lazarus
Same problem for me. Try to open grids.xml with a xml viewer (Chrome, IE, Edge, ...). It will show you what's wrong. It was easy but I don't remember the details. Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- __

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-03 Thread Rolf Wetjen via lazarus
Thank you, Juha. I've reopened #36798. Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazaru

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-03 Thread Rolf Wetjen via lazarus
Juha, I wanted to ask for https://bugs.freepascal.org/view.php?id=35362 and https://bugs.freepascal.org/view.php?id=36798. Rolf Am 03.04.2020 um 10:22 schrieb Juha Manninen via lazarus: On Fri, Apr 3, 2020 at 10:58 AM Rolf Wetjen via lazarus mailto:lazarus@lists.lazarus-ide.org>>

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-03 Thread Rolf Wetjen via lazarus
Hello Martin, can you please check for r35362 and r36798 and probably include them too? Thank you, Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- ___ lazarus mailing list lazarus@lists.l

Re: [Lazarus] Embedded VLC using PasLibVlc - how to fast forward?

2020-03-23 Thread Rolf Wetjen via lazarus
Hi Bo, this could be a solution for windows (fullscreen):     SetWindowLongPtr(Handle,GWL_STYLE,iWindowStyle and not WS_OVERLAPPEDWINDOW);     Left:=0;     Top:=0;     Width:=Screen.Width;     Height:=Screen.Height; Regards Rolf Am 23.03.2020 um 07:52 schrieb Bo Berglund via lazarus: On Su

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-22 Thread Rolf Wetjen via lazarus
Hi Bart, I've uploaded a patch for the TMask documentation (https://bugs.freepascal.org/view.php?id=36798) Regards Rolf Am 20.03.2020 um 19:08 schrieb Bart via lazarus: On Fri, Mar 20, 2020 at 10:47 AM Bart wrote: I prefer the Options parameter over another Boolean, mainly because you ne

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-21 Thread Rolf Wetjen via lazarus
My misunderstanding of a set here. I'm looking for a better documentation. So, a set compares to only one charcter in the filename. Thanks, Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus --

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-21 Thread Rolf Wetjen via lazarus
Hi Bart, I'm just looking for an other error in the implementation when sets are used: Helloworld / He[lo]?orld - False Helloworld / He[lo]*orld - True Helloworld / He[lo]world - False So, it's not the final patch but not that importand as I don't think that sets are used so much. Regards

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-20 Thread Rolf Wetjen via lazarus
Same change in code as I used for my patch. So, yes: working. Rolf Am 19.03.2020 um 22:40 schrieb Bart via lazarus: On Thu, Mar 19, 2020 at 6:37 PM Bart wrote: It's on my ToDo list (as long as other devels don't object to this. I intend to have an Options property for that, with for now moC

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-20 Thread Rolf Wetjen via lazarus
lse + AddChar; This works fine. Easy to implement it as Options. Regards, Rolf Am 19.03.2020 um 18:37 schrieb Bart via lazarus: On Thu, Mar 19, 2020 at 8:25 AM Rolf Wetjen via lazarus wrote: seems that this isn't your favourite option. Without any context, I cannot

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-19 Thread Rolf Wetjen via lazarus
a patch in this way? BTW, where can I get some info how to update the help files? Rolf Am 17.03.2020 um 22:18 schrieb Bart via lazarus: On Tue, Mar 17, 2020 at 8:17 AM Rolf Wetjen via lazarus wrote: what's about to implement an additional completly new TMaskReg class without sets but i

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-17 Thread Rolf Wetjen via lazarus
Hi Lazarus team, what's about to implement an additional completly new TMaskReg class without sets but in addition with a regular expression option? Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus --

[Lazarus] Bug #0035362 (ListView with MultiSelect)

2020-03-15 Thread Rolf Wetjen via lazarus
Hi Lazarus team, can somebody please have a look at this? I've created a patch but I can see that there is any attention on the issue. Thank You Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus --

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-15 Thread Rolf Wetjen via lazarus
Bug #0036798 opened. Rolf -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-15 Thread Rolf Wetjen via lazarus
Hi Bart, sorry, this isn't a workaround if you get the filenames form FindFirst/FindNext and want to test against a fixed mask. My workaround for MatchesWindowsMask is quick' n'dirty too: Replace [ with #17 and ] with #18 in the mask and in the test string. Anyway, let's wait for the info ab

[Lazarus] MatchesWindowsMask('[x]','[x]') return False

2020-03-15 Thread Rolf Wetjen via lazarus
Hi Lazarus team, I found this during some error analysis. TMask uses the brackets as a set indicatior in the mask string. In this case the FMask.MinLength and FMask.MaxLength are set to 1. The brackets in the test string are not treated in any special way and so the match fails as the length o