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 ... 9 10 [11] 12 13 ... 23
151
Applications / Re: XWP - Create New => popup sort?
« on: April 16, 2023, 09:50:24 am »
First, confirm the folder settings are correct. On the View->Icon view page, ensure it is set to "Single column". On the Sort page, both "Folders first" and "Always maintain sort order" should be unchecked.

Next, as you probably know, you have to Shift-Drag and Shift-Drop to move a template icon - otherwise it you'll just create a new object from that template. When moving an item to the top or bottom of the list, I find it more reliable to put the icon in the second or next-to-last position first, then move the current first or last item to wherever it should be.

Finally, *close the folder* before checking a menu to see if things are in the right order. Doing so _should_ trigger XWP to update its list of objects - but sometimes it doesn't. You may have to play games with it by reopening the folder, moving some other icon, then closing it. By the time you're done repeating this process to put that icon back in its correct place, the update should have occured.

Note: on a *new* installation the order will _never_ be correct (and this can't be fixed) because XWP relies on the folder's .ICONPOS EA to get the correct order - and that EA isn't created until the folder is opened, rearranged, and then closed. Likewise, it depends on the WPS updating .ICONPOS when you rearrange things. To date, I haven't been able to find a way to help this process along.

152
Applications / Re: David's Doodles
« on: March 12, 2023, 07:58:24 am »
Has anyone noticed that when one REARRANGES  any folders icons from its default setting which is STANDARD to anything else such as TOP,, when the folder is closed and reopened, it reverts back to the default STANDARD. This has to be a bug. ArcaOS 5.07.

Not a bug - more likely, a user-level configuration error. You probably have XWP's 'Always maintain sort order' enabled. You can disable it on a per-folder basis from its notebook, or globally from the WPS object in System Setup.

FYI... the 'Arrange' option simply changes the icons' positions - the option itself is not stored. However, it is remembered until the folder is closed. Thereafter, your arrangement will persist through multiple opens/closes provided nothing causes the icon positions to change - such as sorting them either manually or via 'Always maintain sort order'.

153
Hardware / Re: AM4 and 570 chips sets
« on: March 09, 2023, 11:10:20 pm »
I haven't got sound running yet.

Don't forget that when all else fails, USB Audio always works.

All you need is a dongle ($5-10) and the drivers (if not already installed, you can find Lars Erdmann's drivers on recent AOS ISOs at 'x:\CID\SERVER\ARCAPKG\USBAUD2.WPI').

FWIW... in a quest for a bit of modernity, I use a USB-Audio-to-Bluetooth dongle ($15-20) paired to my portable BT speaker. I also use 'ASwitch' (in your Desktop MM folder) to automatically switch from the built-in audio to USB Audio when I plug in the dongle. .


154
Programming / Re: Qt6 Application Testing
« on: March 08, 2023, 03:15:21 am »
I have no Spain keyb
And can't test it.

For PM apps: go to System Setup->Keyboard->Layout, select "Spain".

 The 'ñ' is where the semicolon and colon would be on an English keyboard.

155
  Couldn't boot USB (tried two different 2GB thumbsticks). 
    BIOS only has boot options for USB-FDD, USB-CDROM, USB-ZIP
    none of these USB-XXX options allowed me USB boot (tried both front and rear ports)

I wrote a lot of the USB boot stuff ("AOSBoot"), so let me offer some insights...

AOSBoot will only work on machines that support USB Mass Storage (USB-MSD). Ideally, the USB stick will just be listed as another hard drive - there usually isn't an explicit USB-MSD option.  Some BIOSs in that transitional period didn't provide full mass-storage support but could navigate a partition table then boot the partition in the first slot as a large floppy. In this case, you'd select the "USB Removable"  option (e.g. "USB-ZIP").

No effort was made to support unpartitioned media (i.e. "large floppy" mode) because any system that was too old to provide USB-MSD probably wouldn't perform very well (or at all in the case of a browser). Still, I think it _may_ be possible if you have a 2gb stick (I can't test this myself because I burned up all my 2gb's years ago). Let me know if you're insterested.

Quote
  Booted ArcaOS from a DVD+R media disc, was able to complete the install !
    but then ArcaOS doesn't start from hard drive  :(

Did you install to a primary partition or to a logical? If a logical, OS/2 will not boot to it without the help of a compatible boot manager, i.e. "AirBoot".  Even if you used a primary and called it 'C:' there are still good reasons to install it. Since it replaces the boot-sector code with its own, you should get _something_ at startup if the disk is functional.  Assuming its menu appears, you should see your partition(s) listed - if not the partitioning has problems. Finally, what happens when you boot your AOS partition? Blinking cursor, error message from AIrBoot, or success?

To add AirBoot, boot from the DVD to the installer, then select the System Management button in the lower right. On the next screen, under 'Disk' select 'MiniLVM' (I'm working from memory here). When that opens, select System->BootMenu->Install/Update. Finally, shut down, reboot, hope...

156
Programming / Re: Qt6 Development
« on: February 23, 2023, 08:33:16 pm »
Quote
; Needed on OS/2 where it is 16-bit by default.
%macro SECTION_TEXT 0
    %ifidn __OUTPUT_FORMAT__,obj
        SEGMENT TEXT32 CLASS=CODE USE32
    %else
        SECTION .text
    %endif
%endmacro

BTW, why 16-bit not 16-byte? And the default alignment of SEGMENT/SECTION of NASM for obj is 1-byte unlike any other file format which is 16-byte in general. See https://www.nasm.us/xdoc/2.16rc12/html/nasmdoc8.html#section-8.4.1.
So if you want to declare segment with 16-bit alignment, you should add align=2. if 16-byte alignment, add align=16.

This was added to fix code generation -not alignment- after Paul encountered these errors:
Quote
src/x86/downsample_bilinear.asm:754: error: short jump is out of range
src/x86/downsample_bilinear.asm:754: warning: byte data exceeds bounds [-w+number-overflow]

At line 754 is a LOOP instruction whose target was more than 128 bytes away (bigger than a short jump allows). With the assembler assuming 16-bit code, it was adding a 32-bit-operand prefix before all 32-bit code, causing it to swell in size. Adding USE32 eliminated the prefixes and shrunk the loop to <= 128 bytes.

BTW... using this to also set alignment sounds like a good idea - the more stuff you have nailed down in one place, the better.

157
Programming / Re: Qt6 Development
« on: February 10, 2023, 06:43:20 pm »
I've built a custom libcn0.dll that should generate a dump file whenever exit() or _exit() are called.

Wouldn't it be far easier to find an appropriate top-level '.h' file where you could redefine 'exit()'?.
For example, this will create an Exceptq report in the current directory, then exit:

Code: [Select]
#define exit(x) { \
EXCEPTIONREPORTRECORD err = { EXCEPTQ_DEBUG_EXCEPTION, EH_NONCONTINUABLE, 0, 0, 0, {0,0,0,0}}; \
DosRaiseException(&err); }


158
Storage / Re: LVM stopped working
« on: February 09, 2023, 05:23:07 pm »
To my fellow posters: if you don't know the answer, please keep your hands off the keyboard! Ill-considered, *untested* answers that send people down deadends are not "helpful".

Glenn, Remy offered one of two likely reasons for this (LVM engine already open).

The other is that your 2nd disk isn't using an MBR layout. To keep LVM engine from destroying disks laid-out using GPT & LUKS, a crude fix was added: if it finds one of these disks, it won't even start the LVM engine. The solution is either recreate/repartition as MBR or just blank the first 63 sectors of the disk. If this still doesn't fix the issue, I can PM you a workaround to get rid of the message (AYOR!).

FWIW... in AOS 5.1, GPT disks will be supported and any other type of layout will be hidden by the disk drivers, so this problem shouldn't arise.

159
Applications / Re: Porting question
« on: January 17, 2023, 09:06:39 pm »
Is there a chromium browser port in progress somewhere still?

That's whal the QT5, QT6, and Dooble threads are all about. Use AN Package Manager (ANPM) to install the official (and pretty usable) versions of QT5 and Dooble. The QT6 port is coming along but definitely still of alpha-quality/stability.

160
Programming / Re: Qt6
« on: January 16, 2023, 04:04:57 am »
Politico works fine here without your blocklist, likely as I have a 6MB host file that routes all those addresses to 0.0.0.0
Code: [Select]
wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

I was never willing to weigh my system down with a 6mb text lookup file. This 59kb listing seems to serve my single-browser needs: I don't recall ever seeing an ad after installing it.

BTW... the blocklist I attached above comes from a site recommended in the Dooble docs. I generated it a few minutes before the posting:

https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext

161
Programming / Re: Qt6 - Works for me!
« on: January 16, 2023, 03:34:18 am »
Thanks to Martin's concise listing of required files 'n stuff, I was able to get Dooble/QT6 up and running quickly. The installation is isolated from the rest of the system in its own QT6 tree and has its own 'home' directory.

Like others, I had a rough time until I realized the problems weren't with QT6 (vs QT5), they were the same old Dooble problems I'd already learned to work-around. Once my fixes were in place, the whole thing was remarkably stable - even on a javascript-infested site like politico.com. WFM!

1) import the attached block list into Dooble - the difference in performance and CPU load can be astounding on a site like politico. It appears that all of the banners and ads and whatever load their own JS that keeps running in the background. On many sites, you may not have to disable JS if you can prevent the scripts from getting loaded in the first place.

2) do not save cookies. This may be painful if you log into a lot of sites, but again, performance and stability are noticably improved. Plus, this fixes the "first tab doesn't work" problem.

3) if your CPU meter is far more active than it should be, right-click on the current tab and uncheck "Javascript". IMHO, this is Dooble's single-best feature :)

162
Programming / Re: Qt6
« on: January 16, 2023, 02:42:51 am »
Code: [Select]
[115:6:0115/161115.645000:ERROR:nss_util.cc(177)] Error initializing NSS with a
persistent database (sql:h:\home\.pki\nssdb): NSS error code: -8174

This one is easy to fix. If you create a new home directory, dooble will create a '.pki\nssdb' directory with an empty 'cert9.db', no 'key4.db', and a *valid* 'pkcs11.txt'. Go to your primary home directory, find the cert9 and key4 files, then copy them over (do _not_ replace pkcs11).

163
JTA, a certain understanding of the OS/2 scene should be emerging: most people in this forum (and most hobbyists generally) want to run OS/2 on bare metal. Period. Once AN releases AOS v5.1, that should remain a viable option for some years. I've been running the beta on this 10th-gen i7 box for 18 months now: UEFI-only, Secure Boot, GPT, NVME, etc. No virtualization needed. WiFi or Bluetooth don't work but we're used to it  :)

Some may have compelling reasons to virtualize OS/2, e.g. on a laptop used for other purposes, but on my trusty desktop it's just too much effort. Generic "productivity" isn't an issue - OS/2 does most of what I currently need to do. And, if OS/2 can't do it natively I'd rather reach for my phone than deal with an OS that I spent years avoiding or one that leaves me cold (I have both installed).

As to software... The days when the lone "gentleman programmer" could turn out boffo native apps are long gone. I've probably written more native software in the last 5+ years than anyone else on the platform, yet almost none of it involves stuff you'd actually want to _do_. For that we have to rely on ports. And who wants to run an OS/2 port of a Linux app in an OS/2 VM on their Linux desktop? Too much fun for me...

164
Programming / Re: Qt6
« on: January 13, 2023, 07:51:27 am »
@Paul,

PMFJI... attached is the util I mentioned ('mk83.exe') that will rename DLLs with long names.

Code: [Select]

mk83   - changes a DLL's file and module names to be 8.3-compliant
       - also sets/clears the HIMEM flag for executable segments

usage: mk83 [/H | /L] [/D] filename.dll [modname | lookup.txt]
  or   mk83 [/H | /L] [/D] /B lookup.txt

       [/H] set flag  [/L] clear flag  [/D] delete original DLL
       [/B] batch update all DLLs in lookup.txt

       [lookup.txt] a text file with one "filename.dll modname"
         pair per line; if the DLL name is qualified, its path is
         ignored for lookups but used for batch updates.


FYI... this is actually a REXX script attached to an executable header ('runrx.exe'). To see the script, open 'mk83.exe' in Text Editor, turn on word-wrap, then scroll down to the beginning of the script. You can recover the script by deleting everything from the beginning of the file down to the first /* then saving as 'mk83.cmd'.

165
Programming / Re: Qt6
« on: January 10, 2023, 08:05:00 pm »
could be one of those cases where due to our 8.3 DLL convention, we have multiple DLL's with the same name
Wouldn't it be easier to let these packages use whatever name they want, then in a post-processing step, update the file and module names as needed? This could be done at build-time or later in a batch coordinated by a control file.

Definitely interested - but this approach would also require changes to cmake to make cmake NOT shorten the names. I also suspect this might not work for some of the Qml issues, where Qt seems to be looking for the 'original' name.

The goal is to be helpful across a range of projects without requiring you to go out of your way to use it. Perhaps one of these use cases will fit your needs now or later:

* Basic usage:    mk83 qt6webengine.dll qt6weben

* Avoid name collisions:    mk83 qt6webee.dll qt6weben

* Coordinate renames using a control file:    mk83 qt6webengine.dll /F qt6dlls.txt
(where 'qt6dlls.txt' is a simple plain-text file with entries like "qt6webengine.dll qt6weben").

* Batch rename after a build:    mk83 /X qt6dlls.txt
(this assumes the control file contains qualified filenames so they can be found)

These are the scenarios that come to mind. If it seems worth the effort, I'll proceed.

Pages: 1 ... 9 10 [11] 12 13 ... 23