Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: [1] 2 3 ... 346
1
Programming / Re: Qt6 Application Testing
« on: January 21, 2025, 10:57:50 pm »
Qt-base-os2 issue #53 does talk about using the high-res timer. dmik pointed out that libcn supports clock_gettime(CLOCK_MONOTONIC) which interfaces with the high-res timer directly and planned to enable the UNIX implementation (qelapsedtimer_unix.cpp). Might be worth looking at.
As for NSPR, which uses the environment variable NSPR_OS2_NO_HIRES_TIMER=1 to turn it off, no command line parameter as far as I know. ArcaOS does (did?) add the environment variable to config.sys
I tried yum remove nspr to see the dependencies.
Code: [Select]
---> Package adobe-source-code-pro-fonts.noarch 0:2.030.1.050-1.oc00 will be erased
---> Package adobe-source-sans-pro-fonts.noarch 0:2.020-1.oc00 will be erased
---> Package dbus-common.noarch 1:1.13.12-1.oc00 will be erased
---> Package lzlib-devel.pentium4 0:1.14-1.oc00 will be erased
---> Package os2-base-fhs.i686 0:0.0.0-19.oc00 will be erased
---> Package os2-base-unixtools-path.pentium4 0:0.0.1-3.oc00 will be erased
---> Package pci-ids.noarch 0:2023.11.11-0.oc00 will be erased
---> Package sgml-common.noarch 0:0.6.3-45.oc00 will be erased
---> Package xml-common.noarch 0:0.6.3-45.oc00 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected

So a couple of dependencies, dbus perhaps xml might use NSPR. Though some of the dependencies look weird, fonts?
At one time it was common for computers to have a BIOS option to turn off the hi-res timer, shame this one doesn't.

2
Comments, Suggestions & Questions / Re: OS/2 Licensing
« on: January 21, 2025, 10:25:43 pm »
The problem as far as I know is not Microsoft but all the other companies IBM used as contractors.
Many of them don't even exist any more so finding out who owns rights might be a nightmare.

Seems a bit surprising that the kernel used contractors, device drivers yes.

Quote
When the OS/2 kernel source was leaked (20 years ago?) the people I talked to told me they were able to build and use everything that was there. They also told me that according to text in the code there was a lot of subcontractors that kept their copyright. It was not like a Linux kernel where everything has the same license.

Interesting.
I remember hearing rumours that the PowerPC version of OS/2 didn't have as many licensing problems and IBM even considered open sourcing it. It would have needed device drivers, network stack etc as well as an LX loader to run regular OS/2 programs. If  it had been released with a good license at the right time, who knows where it may have gone.

Quote
If IBM still have some big customers with OS/2 installations they support then they definitely have the code and the tools to build it. Not that many people know how to build it though.

I remember Scott saying what a bitch it was to build, and he was the kernel maintainer.
I've also heard rumors that, yes some big customers (banks?) did have the source.

Quote
Yes, the divide between kernel and device drivers makes it easier to support more modern hardware. Less stuff in the kernel makes it easier to expand it from the outside.

But in the end, without open source it will fail, it's quite amazing that modern CPU's still supports 30+ years old code. The only way to save anything imho is to use the Linux kernel and build a "personality" on top. But there are no resources nor business case any more.

Well the last kernel updates were more like 20 years age. They included supporting SSE etc and fixed some timing issues to boot on what then was modern hardware, they seem to have future proofed it enough that the later kernels can still boot on fairly modern hardware. My Warp 4 install still boots on my 7th generation I5, WPS fails to load though.
The ReactOS kernel would maybe be a better choice to support OS/2. NT did start as OS/2 v3 NT, supported OS/2 1.x binaries up to Win2k or XP and I had a Byte issue, from perhaps '94, with a little news article about MS getting the 2.x Presentation Manager running on NT.

3
Comments, Suggestions & Questions / Re: OS/2 Licensing
« on: January 21, 2025, 02:41:08 am »
To add to what Martin said, I think ArcaOS also got the right to reverse engineer and patch the system binaries including the kernel. These are limited to only being available for ArcaOS.
Neither of us are speaking for Arca Noae and we could be misunderstanding things.

4
Applications / Re: PMMail fails sending messages
« on: January 20, 2025, 10:07:39 pm »
Is there a stunnel.ini or similar file? If so, you need the parameter "protocol = smtp" (without quotes) in it.

5
Programming / Re: Qt6 Application Testing
« on: January 20, 2025, 09:40:22 pm »
Timing? One thread wasting time trying to figure out the parameter and starting slightly later. Remy's experiments with priority might do the same thing, namely change timing slightly. The joy of multi-threading on SMP.

6
Web applications / Re: Dooble releases, Qt5 builds
« on: January 20, 2025, 04:04:31 am »
What do you think about:
https://doc.qt.io/qt-6/qdesktopservices.html
https://doc.qt.io/qt-6/qurl.html

Interesting how the classes work and important if writing Qt based browser.

7
Web applications / Re: Dooble releases, Qt5 builds
« on: January 20, 2025, 12:40:05 am »
I wonder why passing an NSPR4 argument has an effect on Dooble? It is an OS/2 thing and as far as I remember only the environment variable has an effect.
Dooble --help 2> dooble.hlp gives this for the list of dooble specific arguments,
Code: [Select]
Dooble
 --attach
 --disable-javascript
 --executable-current-url PROGRAM
 --full-screen
 --help
 --listen
 --load-url URL
 --normal-screen
 --private
 --reload-periodically 15, 30, 45, 60
 --test-aes
 --test-aes-performance
 --test-threefish
 --test-threefish-performance

Chome has a huge list of arguments, which I assume the Qtwebengine also has, see https://peter.sh/experiments/chromium-command-line-switches/
They can usually passed in the environment set QTWEBENGINE_FLAGS=

8
Web applications / Re: Dooble releases, Qt5 builds
« on: January 20, 2025, 12:34:39 am »
I quoted the documentation, which said FTP was supported. And yes I'd expect an error of some type about an unsupported protocol.

9
Web applications / Re: Dooble releases, Qt5 builds
« on: January 19, 2025, 11:21:55 pm »
Hi Dave !

The test you can try:
Start Dooble, open this os2world web page and then clic on above FTP link ...
Always start my default browser firefox.

That is weird. Here it opened a new window in SeaMonkey, my default browser, which was running. Tried the ftp://ftp.os2voice.org/dooble/ link too, opened a new window in SM with the request for password. Very strange bug or I guess feature especially with ftp kind of broken in the web engine.
Tried with the simplebrowser, as expected the Qt5 one failed, the Qt6 one worked the same as dooble

10
Mauro, to remove the high memory thing from the dll's, highmem --unmark *dll

11
Web applications / Re: Dooble releases, Qt5 builds
« on: January 19, 2025, 06:57:04 pm »
That's strange and doesn't happen here. Looking at the documentation, we have,
Code: [Select]
Supported Schemes
Dooble supports the FILE, FTP, GOPHER, HTTP(S), and JAR schemes.
So Dooble should open the FTP//: links.

12
Mauro, what color depth is your system using? Try changing it. Eg if using 16 million colours, chamge to 64K or the opposite.
It's really weird that both SM and TB are crashing the kernel at the same point. Are they both i686 builds? If not you should try the i686 builds.

13
Hi Roderick, I've been marking the Mozilla DLL's to load high for years, didn't have problems on freshly booted systems, after a few days things would go south.

14
Web applications / Re: Dooble releases, Qt5 builds
« on: January 19, 2025, 04:50:52 am »
Yes. Skia, which Qtwebengine uses, seems much slower then Cairo at drawing the canvas. Cairo's OS/2 surface is meant for 2D acceleration while Skia likely expects 3d acceleration. Skia might be able to be tuned for faster rendering on our platform but looking, the main reason it is faster is it uses the GPU rather then the CPU like Cairo. That seems to be the reason that most everyone has moved to Skia. Even our Firefox has a configure option to use Skia and does on Windows and Mac.

15
hi Dave  x:\os2\install\SMP directory only contains one file called @smpdir .
Just considering -but probably I'm far from the right evaluation- that it used to work fine since some time ago, if it was a kernel issue I believe should not work from the beginning
No UNI directory either?
The W4 kernel is missing a few things which hardly ever matter, as I said, a long shot but considering all you did was install some Qt stuff, it is weird.
Have you run chkdsk on that system? You'd have to boot to an alternative, perhaps the ArcaOS install ISO and run chkdsk x: /F:3.
What video driver are you using?

Pages: [1] 2 3 ... 346