Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Bart
On Wed, Mar 13, 2019 at 6:43 PM Bart wrote: > That was the easy part. Since all values written are now UnicodeString, WriteStringList in XMLREG implementation now writes a sequence of UnicodeChar representations to the registry. Previously it wrote AnsiChar's. Give a stringlist with values

Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Cyrax
On 14.3.2019 19.32, Bart wrote: On Thu, Mar 14, 2019 at 8:22 AM Cyrax wrote: If your computer have enough RAM and have support for hardware virtualization (motherboard, its firmware and CPU) then I would recommend that you set up a VM for testing. I would recommend to you to use VirtualBox.

Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Bart
On Thu, Mar 14, 2019 at 7:50 PM Sven Barth via fpc-devel wrote: > Support for 64-bit values in the registry was only added a few weeks ago, so > I'd say that was an oversight. > If you implement it, then please as a separate patch, maybe also with a > separate bug report. OK

Re: [fpc-devel] Publish some of FPC's internal cross-platform functionality

2019-03-14 Thread Anton Shepelev
I wrote: > system.inc defines FileFunc as a procedure without a > return value: > >FileFunc = Procedure(var t : TextRec); > > whereas streamio.pp defines the same operations as > functions returning longint, e.g.: > >Function StreamRead(var F: TTextRec) : longint; Here are the relevant

Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Sven Barth via fpc-devel
Bart schrieb am Do., 14. März 2019, 19:34: > On Wed, Mar 13, 2019 at 6:43 PM Bart wrote: > > > That was the easy part. > > TXMLRegistry does not seem to support Int64. > Any reason for that? > > If it's an oversight (support for that was only recently added for > Windows) should I try and

Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Bart
On Wed, Mar 13, 2019 at 6:43 PM Bart wrote: > That was the easy part. TXMLRegistry does not seem to support Int64. Any reason for that? If it's an oversight (support for that was only recently added for Windows) should I try and implement it as well in the unicode patch or implement it later?

Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Bart
On Thu, Mar 14, 2019 at 8:22 AM Cyrax wrote: > If your computer have enough RAM and have support for hardware > virtualization (motherboard, its firmware and CPU) then I would > recommend that you set up a VM for testing. I would recommend to you to > use VirtualBox. That is not really the

Re: [fpc-devel] TRegistry and Unicode

2019-03-14 Thread Cyrax
On 13.3.2019 16.56, Bart wrote: On Wed, Mar 13, 2019 at 2:24 PM Michael Van Canneyt wrote: Done and done. Thanks. I will report back here if I have something I think is worth applying. In the mean time ignore patches added to that bugreport. I'll attach intermediate diff's there, just