Unintentional Limit in StringRequest()

Report any Hollywood bugs here
Post Reply
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Unintentional Limit in StringRequest()

Post by PEB »

There seems to be a limit to the length of a string that can be received through StringRequest().
At least on OS4, that limit seems to be 1023.

I'm guessing that this is not intentional. Can it be fixed in the next version of Hollywood?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Unintentional Limit in StringRequest()

Post by airsoftsoftwair »

The problem is that on all Amiga platforms the string requester functions operate on static buffers so there has to be a limit. I could of course raise this to 4096 or to an even higher value. What do you need? On Windows, MacOS, and Linux the limit can of course be removed completely but on Amiga platforms there needs to be a limit.
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Re: Unintentional Limit in StringRequest()

Post by PEB »

I actually only need the limit removed on the Android version.
Since there's no RapaGUI option for Android, I'm using StringRequest() to allow the user to input text, edit, copy, and paste.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Unintentional Limit in StringRequest()

Post by airsoftsoftwair »

Okay, this is possible:

Code: Select all

- Change: StringRequest() had a limit of 1024 characters; on AmigaOS and compatibles Hollywood still
  imposes this limit but on all other platforms it has been removed
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Re: Unintentional Limit in StringRequest()

Post by PEB »

Thanks!
Post Reply