If you look around I think you'll find there are already amiga-ized versions of some of these at least libxml2: 2mb libjpeg: 1.5mb libfreetype: 1mb libwebp : 0.5mb
We talk about real amiga libraries of _latest_ versions. Not 10 years old ones, or 68k ones. Exactly native amigaos4 xxxxx.library , which of the very latest version (which i use in Odyssey now).
For example, the only real amiga library of libjpeg i found is jpeg_lib from 24 Sep 2006. Absolutely no go. webp lib also from 27 Sep 2012, also no go. for xml2 and FreeType I found nothing on os4depot, only the same link libraries as I use.
We need _shared_ versions of _true amiga libs_ exactly of the latest versions of things i use now statically inbuild in the odyssey. Not sobjs, not link libs which all of us can /configure;make , but wrapped to the real amiga libs.
If I understand you correcly, you want to split the static linked library into a regular amiga shared library (.library) and a static linked wrapper library. The static linked wrapper library contains calls to the newly created amiga library. To make it a clean implementation, the static linked wrapper library must open and close this library each time the amiga library function is executed afaik.
In case of the jpeg library, you could also create a wrapper for jpeg datatypes.
@geennaam Yeah exactly. Link libs in this case will be a few bytes only, and whole real code in real shared amiga library. I do not know how internaly those library wrappers works, but from user pov you just open a library one time on running and close on exit (but internaly very possible that link-stub-wrapper will open it each time for each call).
You need to turn a shared private library into an amiga public library.
this bit of issue is public variables in staticky linked or shared objects is private to the program, that uses it. While public variables in Amiga library is public to all program that use the library.
So what you need is an instance to hold copy of “public” variables per application. instances can be allocated in the interface and the interface can be unique per program.
If global are stored in interface the data is also available to the application.
YourInstance = (struct YouInstance *) (((char *) (IInterface) - (IInterface -> data.NegativeSize)); YourInstance -> libGlobalVar = 33; (but you can hide “YouInstance -> “ with an macro.)
for some reason when I load up odyssey now I always get "initialising fonts". I cannot remember this happening before. Not sure what I have done / changed.
No big deal, but wondering why it is happening all of a sudden if it is not normal.
for some reason when I load up odyssey now I always get "initialising fonts". I cannot remember this happening before. Not sure what I have done / changed.
Not sure if related to latest MUI5 or just Odyssey, but i can make the browser crashing at startup in this way:
1 - Using the latest MUI5 (expired) nightly build 2 - Launching Odyssey as usual by double clicks 3 - When the expired window popup appear on screen, instead of clicking to the Continue button, just pressing the Enter key
--> CRASH
What is strange is that if i press Continue in MUI expired requested, then Odyssey will be normally opened .. but instead it always crash if i press the Enter key instead!
But pressing Enter should be theorically the same as pressing the Continue button no?
@walkero I think almost all, except single one about self-signed certs, as it was some dirtly-last hack, and i want to make it proper for next one, with normal window spawned, etc ,etc.
@kas1e Thank you, Roman. Maybe it would make sense to add the repo the rest of the files as well.
The reason I am asking for that is that I have created a new theme for the top pages, but there is nowhere to upload the extra files in the repo, in case you would like to merge them.
This way I could add my scripts with PRs in the future.
Okay, I get some pretty different behaviour with the same version of OWB on my X1 vs X5.
Firstly, I always have my bookmarks section up on the left hand side. For the X5 I have to manually delete "WebpageIcons.db" then, when I click on my bookmarks the image will appear and be saved. But, for whatever reason, that is no longer the case and they have all gone back to the default blue circle.
Second is that now when I go onto Amigans.net, enter credentials and click remember me and - just for fun - go to Settings > Preferences > Save