Search found 382 matches

by jPV
Tue Apr 27, 2021 6:23 pm
Forum: MUI Royale
Topic: Virtual Keyboard for TextEditor
Replies: 1
Views: 141

Re: Virtual Keyboard for TextEditor

Texteditor.Insert?

Something like this?

Code: Select all

		Case "Pressed":
			mui.DoMethod("editor", "Insert", msg.id, "Cursor")
 		EndSwitch
by jPV
Wed Apr 07, 2021 6:31 pm
Forum: Hollywood bugs
Topic: Multiple copies of linked plugins in the temporary directory
Replies: 12
Views: 6393

Re: Multiple copies of linked plugins in the temporary directory

This is great, thank you!

But btw... it wouldn't be possible to do it on AROS too?
by jPV
Tue Mar 30, 2021 10:38 am
Forum: Hollywood bugs
Topic: Loadbrush Alphachannel = true (fails)
Replies: 5
Views: 288

Re: Loadbrush Alphachannel = true (fails)

You'll have to use LoadTransparency instead of LoadAlpha for palette based PNGs now, it was kind of a bug in HW8 regarding this :) PPaint saves 8bit palette based PNGs and they don't have alpha channel.
by jPV
Sun Mar 28, 2021 1:09 pm
Forum: Newbie questions
Topic: Is it possible to delete a file via FTP?
Replies: 21
Views: 963

Re: Is it possible to delete a file via FTP?

The RawFTP command LIST could probably be used to fetch a directory file list but I notice that it needs a PORT or PASV command, so this could be just as complicated as the mentioned STORE command? Yes, getting directory listings require a data port, just like when transferring files. That's why yo...
by jPV
Sun Mar 28, 2021 12:53 pm
Forum: Newbie questions
Topic: Is it possible to delete a file via FTP?
Replies: 21
Views: 963

Re: Is it possible to delete a file via FTP?

curl/hurl gives you a filelisting if you download a directory just like a file, it doesn't have separate functions for it. The filelisting is basically like a text file, but the nasty part is that the FTP standard doesn't define anything about the listing format, it's basically meant to be read by a...
by jPV
Wed Mar 24, 2021 4:58 pm
Forum: Newbie questions
Topic: Set many variables at once
Replies: 2
Views: 242

Re: Set many variables at once

Just use tables: myvar = {} For Local i = 1 To 50 Local variablename$ = "variable_"..i myvar[variablename$] = False Next DebugPrint(myvar.variable_2) DebugPrint(myvar["variable_2"]) Or skip the string indices and use numbers: myvar = {} For Local i = 1 To 50 myvar[i] = False Next DebugPrint(myvar[2])
by jPV
Fri Feb 26, 2021 4:44 pm
Forum: General plugin questions
Topic: Memory consumption with XAD and CopyFile
Replies: 1
Views: 214

Memory consumption with XAD and CopyFile

When extracting with the XAD plugin and the CopyFile function, it seems to cache the whole file in RAM before actually writing it to the destination filesystem. This doesn't seem to happen with the same conditions with the Zip plugin (although it has its own issues). You run out of memory very quick...
by jPV
Fri Feb 26, 2021 4:05 pm
Forum: General plugin questions
Topic: CopyFile with Zip is horribly slow
Replies: 1
Views: 214

CopyFile with Zip is horribly slow

When I try to extract bigger files with the Zip plugin and CopyFile, extracting gets slower and slower when the extracted file is bigger. The furter it advances, the slower it gets... the first 10 megabytes may get quickly enough that you don't notice it, but then it just slows down and finally craw...
by jPV
Fri Feb 26, 2021 3:39 pm
Forum: General plugin questions
Topic: File attributes lost with Zip and CopyFile
Replies: 1
Views: 473

File attributes lost with Zip and CopyFile

If you unpack files with the Zip plugin and the CopyFile() function, the unpacked files don't have ANY protection bits set (list shows it like --------). So the files aren't readable, deletable, writable, or executable. Tested on MorphOS. @REQUIRE "zip", {InstallAdapter = True} CopyFile("ram:test.zi...
by jPV
Wed Feb 03, 2021 3:26 pm
Forum: General plugin questions
Topic: XAD plugin and RAR archives
Replies: 2
Views: 380

XAD plugin and RAR archives

xad.hwp seems to fail to open any RAR archives on MorphOS with the 3rd party XAD client , even when the same archives can be opened with XADUnFile, XADopus, and Ambient. When trying with xad.hwp it doesn't seem to recognize the archive and a hit appears in the MorphOS debug log. Reproduce it, for ex...