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] 4 5 ... 320
31
Applications / Re: Test build of dooble with qt5
« on: February 23, 2024, 06:12:42 pm »
Hi Martin, I get the same results with both Qt5 and Qt6 Dooble as well as the Qt5 simplebrowser.
My first thought was it was due to the user agent. Tried with SeaMonkey's, same result.
So yes, it does seem like a webengine bug. or to old webengine. Have to test on Linux at some point.

32
Applications / Re: Test build of dooble with qt5
« on: February 23, 2024, 05:58:05 pm »
Hi Dave

That command may work for qt6 but not qt5  as I get

SYS1041: The name qwebengine_convert_dict is not recognized as an
internal or external command, operable program or batch file.


No "howto" in the zip file.


Regards

Pete

@unixroot\usr\lib\qt5\bin\qwebengine_convert_dict.exe

33
Applications / Re: Test build of dooble with qt5
« on: February 23, 2024, 08:24:18 am »
Hi Dave

Same warning - this is in Settings.
Should there be *.bdic files in the zip package?


Regards

Pete

I thought I tested this, looking I guess not, age?
Anyways, looking, I must have converted them. Should be a howto in the zip, needs updating, which I'll quote. Mind the drive letters. Actually perhaps I need to add this. It was for Qt6, should be the same for Qt5.

Code: [Select]
[L:\qt6\bin\qtwebengine_dictionaries]qwebengine_convert_dict ./en_CA.dic ./en_CA.bdic./en_CA.dic_delta not found.
Reading ./en_CA.aff
Reading ./en_CA.dic
Serializing...
Verifying...
Writing ./en_CA.bdic
Success. Dictionary converted.

Tomorrow, I'll improve the howto
Edit: Improvements welcome

34
Applications / Re: Test build of dooble with qt5
« on: February 23, 2024, 06:46:21 am »
Hi Pete,
Try with the environment path as J:\usr\share\qt5\qtwebengine_dictionaries
Set the language in the settings.

35
Applications / Re: Test build of dooble with qt5
« on: February 23, 2024, 01:52:29 am »
The patch was Qt6 and QSqlDatabase, committed last Christmas. The change that broke our port was unrelated but in the same patch.
Interestingly I see this patch too, not sure why it was committed.
Code: [Select]
From: textbrowser <textbrowser@gmail.com>
Date: Mon, 15 Jan 2024 15:24:43 -0500
Subject: [PATCH] OS/2.

---
 dooble.pro | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dooble.pro b/dooble.pro
index 0c730b5f..f030a075 100644
--- a/dooble.pro
+++ b/dooble.pro
@@ -333,8 +333,9 @@ QMAKE_CXXFLAGS_RELEASE += -O3 \
                           -pedantic \
                           -std=c++17
 os2 {
-# -fstack-protector requires manual lib spec.
 LIBS += -lssp
+QMAKE_CXXFLAGS_RELEASE += -Wstrict-overflow=1
+QMAKE_CXXFLAGS_RELEASE -= -Wstrict-overflow=5
 } else {
 QMAKE_CXXFLAGS_RELEASE += -Wl,-z,relro \
                           -fPIE \
--
2.30.2


Which just ups the warnings about signed overflow.

36
Applications / Re: XWP v1.0.16
« on: February 21, 2024, 08:29:58 pm »
Thanks, seems to work as advertised.

37
Applications / Re: Test build of dooble with qt5
« on: February 21, 2024, 07:08:23 pm »
I also uploaded all the dictionary files, ftp://dry@ftp.os2voice.org/Qt_Dictionaries.zip.

38
Applications / Re: Test build of dooble with qt5
« on: February 21, 2024, 07:07:14 pm »
Finally got around to investigating the settings db being stored in the root of the drive that Dooble runs from.
Seems to be a Qt bug where whether the environment variables are prepared before or after the application is declared.
This fixed it here,
Code: [Select]
diff --git a/Source/dooble_main.cc b/Source/dooble_main.cc
index 6239e4e2..17e1252d 100644
--- a/Source/dooble_main.cc
+++ b/Source/dooble_main.cc
@@ -270,7 +270,6 @@ int main(int argc, char *argv[])
   QDir::setCurrent("/Applications/Dooble.d");
 #endif
   QString dooble_settings_path("");
-  dooble::s_application = new dooble_application(argc, argv);
 #if defined(Q_OS_WIN)
   auto bytes(qgetenv("DOOBLE_HOME").trimmed());

@@ -357,6 +356,12 @@ int main(int argc, char *argv[])

   dooble_settings::prepare_web_engine_environment_variables();

+  /*
+  ** Create the application after environment variables are prepared.
+  */
+
+  dooble::s_application = new dooble_application(argc, argv);
+
   /*
   ** Create a splash screen.
   */

Really shouldn't matter as far as I can see. Be interesting if the Qt6 build of Dooble has the same problems.
New binary at ftp://dry@ftp.os2voice.org/Dooble_21_02_2024.zip, password your email, just replace the binary in @unixroot\usr\bin for now.
I did have to start over with my profile to get the larger text size with XWorkPlace. I also had to set QTWEBENGINE_DICTIONARIES_PATH for Dooble to find my dictionaries.
Only lightly tested so far.

39
Applications / Re: DSSaver and XWP
« on: February 21, 2024, 06:58:52 pm »
Latest screensaver at ftp://dry@ftp.os2voice.org/dssaver_v25_19_02_2024.exe, password your email address.
This has a bunch of various fixes, thanks to Rich for many and Alfredo for help updates and help with the wic.
Hopefully close to done besides more translations.
You may want to adjust the Desktop Properties size to look better, best to do it with the Modules tab open.

40
Applications / Re: XWP v1.0.16
« on: February 21, 2024, 06:53:24 pm »
I notice that the environment tab in some properties notebooks does not seem to honour the text size.
Same with the Objects and Schedule tabs.

41
Applications / Re: Themes
« on: February 18, 2024, 09:11:46 am »
I've used Resmgr (from Hobbes) in the past - too long ago to recall any details.

On AOS, should be installed in X:\sys\bin so on your path.
Code: [Select]
H:\tmp>resmgr
Operating System/2  Resource Manager
Version 0.06.000 Apr 29 2002
(C) Copyright Martin Lafaix 1995-1996, 2002
All rights reserved.

Usage:  resmgr <option> <.RES file> [id.type] [file] [-l1:<error log>] [-l2:<install log>] [-q]
        -a              - Add specified resources
        -d              - Delete specified resources
        -l              - List resources (short format)
        -v              - List resources (long format)
        -x              - Extract specified resources
        -h              - Access Help

        .RES file       = .RES, .EXE or .DLL file name
        file            = Input or output file name
        type            = Resource type or *
        id              = Resource ID or *

Possible type value (with -d, -l, -v or -x):

  Acceltable Bitmap   Chartbl Dialog  Displayinfo  Dlginclude Fd     Fddir
  Fkalong    Fkashort Font    Fontdir Helpsubtable Helptable  Keytbl Menu
  Messagetable        Pointer RCData  Stringtable  Vkeytbl

Optional parameters:
        -l1:<file>      - Log errors to <file>
        -l2:<file>      - Log results to <file>
        -q              - Suppress most results

Environment variables:
        TMP=temporary file path
        TEMP=temporary file path
Exiting - rc = 0

42
Applications / Re: Test build of dooble with qt5
« on: February 13, 2024, 03:53:45 am »
Dave,

 Well, it kinda works here (I think) only if the jar file is on my unixroot drive. But all it does is display the contents - if I click on any file displayed nothing happens. What exactly is it supposed to do?

Basically display the contents. See the release notes under help for a link to the discussion.
There's a problem with drive letters, I think in our Qt ports, both 5 and 6.

Quote
One weird thing: I get a new 'dooble_settings.db' file in the root of my boot drive with this version. Never had that before...

So there is, didn't notice before. Last one in my profile is dated 12/02/24 so something changed around then. I'll have to investigate.

43
Applications / Re: Test build of dooble with qt5
« on: February 12, 2024, 11:29:18 pm »
They're for testing the new support for jar files. Never could get it to work here. I think our Qt ports need more file system support.

44
Applications / Re: Test build of dooble with qt5
« on: February 12, 2024, 10:35:07 pm »
Your email address is the usual one. Some use a fake address.

Pages: 1 2 [3] 4 5 ... 320