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 - Rich Walsh

Pages: [1] 2 3 ... 26
1
Applications / Re: PMMail fails sending messages
« on: January 20, 2025, 10:44:13 pm »
You didn't explicitly say that you're using 'stunnel' but I'll assume you are. Here's the section of my 'stunnel.conf' for my ISP:

Quote
[century]
client = yes
accept = 127.0.0.1:25
connect = smtp.centurylink.net:587
;
verifyChain = yes
CAfile = N:/etc/pki/tls/certs/ca-bundle.trust.crt
checkHost = smtp.centurylink.net
;
protocol = smtp
protocolUsername = <my email>
protocolPassword = <my password>
protocolAuthentication = login

The "protocolAuthentication" line may not be needed by your ISP.

2
Programming / Re: Qt6 Application Testing
« on: January 19, 2025, 04:27:48 am »
Re: webengine and 6.2.11 - potentially I rebuild webengine AFTER I imaged the drive.... the only thing I remember doing is rebuilding it with system ICU - which didn't appear to make any differences...

It seems that it did make a difference:  the 'Qt6WebEn.dll' in the latest drop wants 'icuuc69.dll' and 'icuin69.dll'. The previous version didn't want either of these files, numbered or unnumbered.

3
Web applications / Re: Dooble releases, Qt5 builds
« on: January 17, 2025, 11:29:27 pm »
What improvement does "Qt5libs-2025-01-09.zip" has?

1- an improved method for displaying UTF-8 in the titlebar. Dooble enables this feature automatically.

To enable it in other QT apps (not necessarily a good idea) use this new environment variable:
    SET QT_UTF8=[ 1 |  Y | ON ]
(the old variable, "QT_PM_CP" has been abandoned)

2- composing characters using dead keys and AltGr should now work correctly.

4
Programming / Re: Qt6 Application Testing
« on: January 09, 2025, 10:15:23 pm »
well, for completeness, I guess it should be:
Code: [Select]
return fp.isEmpty() || (fp.at(1) != u':' && fp.at(1) != u'/')  || fp.at(0) != u'/'; ?

Nope. "fp.at(1) != u'/'" would disqualify "./myapp.exe". I believe it should be:

Code: [Select]
return fp.isEmpty() || (fp.at(1) != u':' && fp.at(0) != u'/');

This should return FALSE for f/q DOSish paths (C:/blahblah) and f/q UNIX paths (/blahblah).


5
Programming / Re: Qt6 Development
« on: January 03, 2025, 08:18:29 am »
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

That was what I assumed. Obviously a wrong assumption.

Someone is missing something here - it could be me, but...

Just like any other project, you have to clone the QT6 master repo from the original at 'qt.io', then port it to your platform. For QT5, it looks like BWW didn't have to do anything except add a small script which can probably be reused for QT6.

Perhaps I'll try it...

6
Programming / Re: Qt6 Development
« on: January 03, 2025, 07:44:08 am »
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

7
Web applications / Re: Dooble releases, Qt5 builds
« on: January 02, 2025, 07:16:46 pm »
In new version 2024.12.31., I cannot use diacritic characters like č š đ ž.

Were they working for you before? Did you update the Qt5 libs that I posted?

I mentioned this in an email to Dave and Paul last week: composing an accented character using Alt-Gr doesn't work. Instead, the menu gets the focus when releasing Altr-Gr.

However, composing a character that uses a diacritical that is already a dead-key on the keyboard does work. For example, a tilde (~) + 'n' produces 'ñ'. (I'm using the US International keyboard layout for testing so YMMV.)

I just restored the original QT5 dlls and the original version of Dooble, and Alt-Gr didn't work with them either so this is nothing new. I'll look into it.

8
Programming / Re: Qt6 Development
« on: December 30, 2024, 07:38:22 pm »
I cannot get the base build, i get lots of errors.
Not remember what those are, as im not @ home.

Are you getting this?

Code: [Select]
warning: visibility attribute not supported in this configuration; ignored [-Wattributes]

My first attempt to build produced thousands of these. I had to add "-no-reduce-exports" to the 'configure' commandline to get rid of them. I traced the cause of the errors back to 'qtbase\src\corelib\global\qcompilerdetection.h (ln 227)' where I found:

Code: [Select]
#  ifdef Q_OS_DOSLIKE
#    define Q_DECL_EXPORT     __declspec(dllexport)
#    define Q_DECL_IMPORT     __declspec(dllimport)
#  elif defined(QT_VISIBILITY_AVAILABLE)
#    define Q_DECL_EXPORT     __attribute__((visibility("default")))
#    define Q_DECL_IMPORT     __attribute__((visibility("default")))
#    define Q_DECL_HIDDEN     __attribute__((visibility("hidden")))
#  endif

Shouldn't Q_OS_DOSLIKE be defined for OS/2?

9
Setup & Installation / Re: Installing CUPS on MCP
« on: December 29, 2024, 06:47:53 am »
Do you have the 'PSPRINT' driver installed? I believe it provides the list of printers. You can find it on any AOS install DVD at 'x:\CID\SERVER\PRINTPAK\PSPRINT.ZIP'

10
Programming / Re: Qt6 Application Testing
« on: December 29, 2024, 06:12:50 am »
With Paul's updates and Dave latest build of QT6, a site like https://ru.ecomstation.ru should look like attached screen shot.

Dooble switches itself to CP-1208 (UTF-8) so it's titlebar can display any characters WarpSans supports (Latin-1, Latin-2, PC Extended, Baltic, Cyrillic, Hebrew, Greek and Arabic). Changing the  titlebar font to one of the WT-J fonts adds Chinese, Japanese, and Korean.

The Window List (and everything else) continues to use CP-850, so the range of text it can display is limited. Any character not in CP-850 is replaced with a "mid dot" which is easier on the eye than a question mark.

FYI... Only the PM codepage gets changed; the Process codepage (used for filenames, etc.) remains the same (usually CP-850). When Dave releases his next build of Dooble, you'll be able to *turn off* codepage switching using "SET QT_PM_CP=0".

11
Programming / Re: DISKIO - storage device detection logic
« on: December 23, 2024, 06:40:02 am »
In the 'fsDeviceAttr' field, Bit 3 (0x08) will be on if this is PRM.

12
Programming / Re: time during compiling
« on: December 21, 2024, 12:05:40 am »
I was wondering if its possible to add a time to see howlong a build takes.

I use:

Code: [Select]
@date.exe > ..\bld.log
@cmake --build . --parallel 6  | tee -a ..\bld.log
@date.exe >> ..\bld.log

'date.exe' is the standard *nix util, not the OS/2 "date" command

13
Storage / Re: DISKIO - updated version in need of TEST
« on: December 17, 2024, 06:43:07 am »
Code: [Select]
Number of fixed disks: 17
Number of CD-ROM drives: 1

Dhrystone 2.1 C benchmark routines (C) 1988 Reinhold P. Weicker
Dhrystone benchmark for this CPU: -567273196 runs/sec

Hard disk 1: 255 sides, 62261 cylinders, 63 sectors per track = 488390 MB

Drive cache/bus transfer rate:
SYS1808:
The process has stopped.  The software diagnostic
code (exception code) is  009B.

Even if it didn't crash with a "divide by zero" error (009B), 'Diskio' would be unlikely to provide useful info about my disks. Both of them are GPT and are normally *hidden* from the system by 'gpt.flt'.

What OS/2 sees are a bunch of _emulated_ MBR disks, one for each mounted partition plus a few spares that appear to be unpartitioned. Doing a speed test on a phony disk that refers to some partition somewhere on one of the physical disks wouldn't be overly informative. In any case, I don't think you can access them using the Physical Disk IOCTLs that 'Diskio' depends on, so we'll probably never know.

FWIW... GPT disks can be made visible, though I'm not sure how accessible they are. I look forward to trying 'Diskio' again with the disks visible once the current crop of issues is resolved.

14
Internet / Re: Dooble releases-Qt6
« on: December 04, 2024, 10:05:03 am »
https://doc.qt.io/qt-6/qtextcodec.html might help...
[...]
scratch this, QTextCodec is part of qt5compat which can't be used in building qt6core

I hate to run people around with a bunch of almost-but-not-quite-right binaries that we could easily test ourselves before release. Could we please take this development process offline until we do get it right? I'll send you and Dave an email.

15
Internet / Re: Dooble releases-Qt6
« on: December 04, 2024, 07:13:11 am »
Hi Remy, you are going to have to wait for new builds.

Actually, Remy, et al. are going to have to wait for even more new builds beyond those currently available.

Dave/Paul: in my window list patch, I used '.toLatin1()' to generate the switch list text. This is incorrect because Latin1 is not CP850 and produces the wrong accented characters. The screenshot shows QT5 on the left and QT6 on the right. Whatever QT5 does is the correct way to go (but _only_ for the switch list entry - the actual titlebar text must remain '.toLocal8Bit()').

Pages: [1] 2 3 ... 26