Merge pull request #650 from deadwood2/misc_changes | Kalamatee | 2024-09-01T23:01:06Z

Merge pull request #650 from deadwood2/misc_changes

Misc changes

Merge pull request #649 from deadwood2/wanderer | Kalamatee | 2024-09-01T23:00:50Z

Merge pull request #649 from deadwood2/wanderer

Wanderer changes

Add include to resolve warnings | | 2024-09-01T14:17:16Z

Add include to resolve warnings

Increase temporary buffer size | | 2024-09-01T14:15:56Z

Increase temporary buffer size

Debug entries from Odyssey (C++ code) were overrunning buffer of 512.

Implement processing ARexx commands in Zune | | 2024-09-01T14:15:56Z

Implement processing ARexx commands in Zune

Hooks installed with MUIA_Application_Commands are now called
Hooks can now results via MUIA_Application_RexxString
Hooks can now read MUIA_Application_RexxMsg to get original message

Fix memory leak | | 2024-09-01T14:14:04Z

Fix memory leak

ListEntry that is remove needs to be freed (see also MUIM_List_Clear)

Adjust to change in 075a1d4985c1dcff0a7e9cca1ab6083e6c1cc054 | | 2024-09-01T14:14:03Z

Adjust to change in 075a1d4985c1dcff0a7e9cca1ab6083e6c1cc054

The original memory allocation address is now placed at
AROS_ALIGN(sizeof(void *)) not at sizeof(void *)

This was causing crash whenever posix_memalign() memory was freed()

Use strcasecmp instead of stricmp | | 2024-09-01T14:14:03Z

Use strcasecmp instead of stricmp

strcasecmp comes from strings.h, while stricmp comes from string.h or
strings.h depending on system. Use difference function instead of ifdeffing
include.

Note: On AROS stricmp is a define to strcasecmp

Fix order of arguments for AllocMem | | 2024-09-01T14:14:03Z

Fix order of arguments for AllocMem

Fix from stegerg: double size so wrapped-over data can be appended at… | | 2024-09-01T14:12:49Z

Fix from stegerg: double size so wrapped-over data can be appended at end

ManagedMem pools will now grow using pool requirements | | 2024-09-01T14:10:48Z

ManagedMem pools will now grow using pool requirements

mh_First needs to be set as early as possible so that mhe_InitPool can
possibly cache this information (as is the case for TLSF). mh_First however
cannot have MEMF_SEM_PROTECTED as the semaphore is not yet crated and this
will lead to crashes when calling ObtainSemaphore (for example during
mhe_InitPool)

Set MEMF_SEM_PROTECTED only once semaphore is initialized.

For non-ManagedMem nothing changes as pool.Requirements is used to
check for MEMF_SEM_PROTECTED

This solves the problem when MEMF_31BIT pool started returning 64-bit
memory after it has grown.

Remove single-call function that has confusing name | | 2024-09-01T14:10:48Z

Remove single-call function that has confusing name

It does not init autogrow, it inits the complete tlsf structure

Adjust bttask to work on x86_64 | | 2024-09-01T14:10:48Z

Adjust bttask to work on x86_64

Fix warnings | | 2024-09-01T14:08:11Z

Fix warnings

Don't redefine interface. It is already defined in interface/Hidd_Sto… | | 2024-09-01T14:08:11Z

Don't redefine interface. It is already defined in interface/Hidd_Storage.h

Resolve misc warnings | | 2024-09-01T14:08:11Z

Resolve misc warnings

Resolve hidd attribute base redefinition warning | | 2024-09-01T14:06:32Z

Resolve hidd attribute base redefinition warning

For #undef/#define to work, the hidd header needs to be include before
them. This was not the case in some files and especially in _start.c and
_end.c

Make sure ed_Comment is empty string, not NULL | | 2024-09-01T13:59:05Z

Make sure ed_Comment is empty string, not NULL

This makes it consistent with RAM, SFS and emulation in dos.library.

When there is no comment, return pointer to empty string in ed_Comment | | 2024-09-01T13:59:05Z

When there is no comment, return pointer to empty string in ed_Comment

Previous implementation was returning pointer to memory which size was
zero and thus was not a valid C-string (no trailing \0)

Returning empty string is consistent with SFS and ExAll emulation in
dos.library.

This fixes https://github.com/deadwood2/AROS/issues/134

Fix for https://github.com/deadwood2/AROS/issues/128 | | 2024-09-01T13:57:46Z

Fix for https://github.com/deadwood2/AROS/issues/128

Support checking if lock is on same volume in case filesystem support
ACTION_SAME_LOCK