Register
Final Platform Layer » Blog

Finalspace
3 weeks, 3 days ago
Hi,

i just want to give you a short overview what the current state of FPL are and what will coming in the next release.

Starting from my recent changes, i finally added support for fixing the audio playback for audio devices such as bcm2835 for ALSA. Now we can play audio almost stutterfree on the raspberry pi ;) I say almost, because my example audio mixer i wrote to test the audio playback is too slow (> 3 ms) to fill the audio buffer in time - resulting in hearable stuttering sometimes :-(

Therefore i also working to improve ... Read More →


Finalspace
2 months, 4 weeks ago
Hi there,

after a very long break, i am finally back - fully well and very motivated to code ;)
For people wo didn´t knew: i had several health & private issues in the last year, so i couldn´t do any private coding at all - resulting in putting FPL to a freezing state. But now everything is fine and i already changed it back to active, so lets get down to some business shall we?

New version 0.9.4

Its here, i have another release of FPL for you all!
This time its a huge update, with tons bugfixes, lots ... Read More →


Finalspace
1 year, 3 months ago
Due to health issues, i am putting this project on hold for now. When i am better, i will continue working on it. Read More →


Finalspace
1 year, 4 months ago
I just want to give you a quick update about FPL.

I finally finished up my little side-project "Doxygen-Editor" (a powerful tool which supports me in writing any kind of C/C++ based doxygen documentations). Of course the tool is open-source, so you can build and try it out if you want - but its far from perfect and it was never planned to be used by anyone other than me, so it may not work for you.

> https://github.com/f1nalspace/doxygeneditor/tree/develop

FPL itself on the other side is basically unchanged since the release, due to the fact that i have spent all ... Read More →


Finalspace
1 year, 5 months ago
Hi everyone,

finally its here -> The new release of FPL!

So what has changed since the last release? Not that much, i just added a multi-monitor api, added support for using FPL as a dynamic link library, fixed some bugs and updated the documentations a lot.

Delay

I know its not that much, so why took it so long?

There was several reasons for that:
- Changes in real life, resulting in less time to do any private coding
- I am still working on a tool for helping me writing documentations, faster and more reliably

Roadmap

There are ... Read More →


Finalspace
1 year, 6 months ago
Hi,

i want to give you a quick info:

The release of FPL 0.9.3 will be delayed until end of february, due to a lot of RL business.

Stay tuned,
Final Read More →


Finalspace
1 year, 7 months ago
Happy new year everyone,

to start off in this new year, i would like to say thanks to everyone!
Thanks for your support, for your help and of course, thanks for using FPL ;-)

I really hope this year will be much better than last year, as i had a very rough year and it already started sad with a funaral of a good friend of mine. But not lets talk about sad things, lets talk about happy things and the future of FPL.

Next version of FPL

Version 0.9.3 will be released this month and will contain bugfixes, improved ... Read More →


Finalspace
1 year, 8 months ago
I want to give you a short update about the current state of FPL.

The recent weeks i didn´t had much time to work on my projects at all, either i was sick or i was doing family stuff. But i finally finished the doxygen editor now and in its current state, you can actually use it ;) Of course i open sourced it, so you can find it on github as well: https://github.com/f1nalspace/doxygeneditor

So i have now a tool, to finish up the documentations - which is my main goal right now.
After that i will complete the X11 ... Read More →


Finalspace
1 year, 9 months ago
Hi everyone,

i just want to give a short update about the current state of FPL and what am i working on right know.

Since the last version, i started adding proper multi-monitor support and so far it already works on Win32, except for X11 which i havent touched since last release. As a matter of fact, since the last release i never booted my linux system nor touched the CLion IDE at all.

So for a change of pace, i decided to fully work on the documentations which are far beyond from complete.
So in the last two weeks ... Read More →


Finalspace
1 year, 9 months ago
Hi everyone,

i have another release for you all!

This time its a very huge release which consists of a ton of bugfixes, lots of refactoring & renamings.

UTF-8 only
The biggest change is the full translation to UTF-8 only for all paths and strings. This means that all strings and paths expects UTF-8 always and all Wide/Ansi functions are removed - except for UTF-8 <-> Unicode conversion functions. The windows platform implementation works internally in unicode only and does UTF-8 <-> Unicode conversion automatically.

Rewritten Event-System
The second big change is the rewrite of the event handling system.
Now ... Read More →


Finalspace
1 year, 10 months ago
For quite some time now, i am fighting with the ALSA output driver in FPL.
I dont know why but for some unknown reason my logitech blutooth headset wont produce any sound in FPL in combination with ALSA output on linux at all. All the parameters looks totally legit, but when i call snd_pcm_writei() i dont hear anything at all - just 100% silence.

Now here comes the weird thing:
The library "mini_al.h" (which is btw the best audio output library), totally works fine for the same audio device, with ALSA as a backend, the same sample rate, same format, ... Read More →


Finalspace
1 year, 10 months ago
At the moment FPL have no way to let you handle the os events directly. It just queues it up internally so you can fetch it later, but this is wrong and needs to be fixed. So i am fixing that right now.

But this will result in a api change regarding fplWindowUpdate(), fpl*Event() and so on.
Also the impact of change will be very huge, because it affects all window and input handling.

I dont expect that to be done very soon so maybe it will be done by mid of october, but i cant promise :-( Read More →


Finalspace
1 year, 11 months ago
At the moment FPL does support ansi strings for every function which uses either a path or a string buffer, but some have two versions: One for ansi and one for widechar. I dont like that way of having two different versions for each function. So i want you guys to help me settle on one solution once and for all.

If you are in a win32 platform you most likely want to use widechar for all your paths - especially when you write applications which deals with any kind of media.

On the other hand in a linux or ... Read More →


Finalspace
1 year, 11 months ago
Hi everyone,

i have a new release for you all and this release is really huge this time. Here are the major changes:

Audiosystem
The internal audio system now uses condition-variables instead of signals, which makes signals optional. This was important to get it running on BSD/Unix as well.

Api-Changes
I changed the return type of fplPlatformInit() to bool and moved the enum result type into its own function for querying the current platform state. This was really important for me because i always want to use fplPlatformInit() inside a conditional statement.

Input polling
All input polling functions for win32 ... Read More →


Finalspace
1 year, 12 months ago
Hi all,

the 64-bit file IO was not working for x86 linux builds, so i decided to release a short bugfix version - directly after that. Also the icon loading for X11 was broken, so this fix is included in here as well. Hopefully that is it.

As usual docs are updated and release is tagged. Until next time.

Changelog for v0.9.0.1 beta:
1
2
3
- Fixed: [X11] Fixed icon loading was not working at all
- Fixed: [POSIX] fplWriteFileBlock64 was not properly implemented
- Fixed: [POSIX] fplReadFileBlock64 was not properly implemented
Read More →


Finalspace
1 year, 12 months ago
Hi all,

i have another release for you all ;-)

This time its a huge release! I changed and improved FPL a lot and added a ton of new functionality to it. Here are the main changes:

64-bit File-IO:

There are now file methods for working with 64-bit files, such as fplReadFileBlock64, fplWriteFileBlock64, etc. I also added general size_t file functions which maps to the 32 or the 64 version - depending on the compiled platform.

Gamepad Support on Linux:

Gamepad support for linux is now implemented as well - tested with a Logitech F310 Gamepad successfully. But its limited ... Read More →


Finalspace
2 years ago
Hi,

i have another release for you all ;-)

This time its a short but important release which contains a fix bugfixes and two new things.
On Linux/X11 key release messages was never detected properly, so i fixed that finally.
I added support for dragging and dropping a single file into the window, but only for win32 for the moment (X11 will come soon).
Also i added a new init flag (fplInitFlags_Console) to control when a console gets created. I did that because the detection was not properly working.

Oh and before i forgot, i finally finished the image viewer ... Read More →


Finalspace
2 years, 1 month ago
Hi everyone,

i have another release for you all ;-)

This release contains a few bugfixes and a couple of new stuff.

Bugfixes/Issues:

The waiting for multiple threads in win32 was busted, so i rewritten it without using the broken WaitForMultipleObjects. There was a crash in fplThreadTerminate when the thread has already exited, which i fixed it.

Also i started to use the slow CLion in win32 as well - using the MingW compiler, so i fixed some bugs for that as well. Btw. i dont know why, but visual studio 2017 is extremely unstable right now and always restarts ... Read More →


Finalspace
2 years, 1 month ago
Hi everyone,

i made another release for you all ;-)

This release contains several bugfixes, const correctness for the api, more key mappings and the ability to load icons.
In addition i revised and corrected all the code documentation blocks which are used to generate the doxygen documentation.

But one thing that i noticed is that neither visual studio nor clion shows me any comments at all.
So it seems that both IDE´s have no support for doxygen comments, or i decided for the wrong style.

Of course thats not everything i have done: There are new demos, two new ... Read More →


Finalspace
2 years, 1 month ago
It was quiet on this project for a little while, but now i am back from holiday!
So here is a short progress about the current state of FPL and what is coming next.

What i have done since last time:

Since last time i haven´t done much, just added a few missing key translations (plus, comma, minus, etc.) and fixed up the C++ enum operator macro.

But i added another game demo (FPL_Towadev) which is a technical tower defence clone i am making for a code challenge.

While making this game, i needed a sort of game framework for ... Read More →


Finalspace
2 years, 2 months ago
Hi everyone,

i pushed another release for you all ;-)

This time i added Semaphores to the threading module, refactored the logging system and added audio device selection for ALSA.
In addition i fixed some small bugs and added a couple of new functions. Also i added Semaphores to the documentation.

Regarding Documentation: I really need some help in that! At the moment the documentation are bare minimum, full of bugs and typos - even some function descriptions may be wrong or has some errors. So if you want to help me improving FPL, you are invited to do so ... Read More →


Finalspace
2 years, 2 months ago
Hi there,

today i want to give you a short overview of what the current state of FPL are and what will come in the future.

Current state:

The Linux implementation is becoming closer to match the same feature level as Win32. There is not that much tasks left for Linux at this point. Window, sound and video is already working and the only big thing left is Gamepad support for Linux - which i havent touched yet.
In the recent days i implemented the audio device selection for ALSA and added Semaphores. Also there are still a few functions ... Read More →


Finalspace
2 years, 2 months ago
Hi everyone,

i have another release for you all!

This time i finally implemented the software output driver for X11, as well reading out OS/System infos from Linux. Also i fixed some bugs and introduced fplThreadYield(). Oh and i removed the need of including glx.h from FPL - so you can finally use any opengl loader library you want properly ;-)

In addition i added a ton to the FPL_Audio demo, so i can load/convert wave files now - to test out the audio playback properly.

And finally i upgraded my ubuntu 17.10 to 18.04 LTS - seems to be ... Read More →


Finalspace
2 years, 3 months ago
Hi everyone,

i have another release for you all!

This release contains a ton of bugfixes and improvements. Also i collapsed down all argument and platform initialization checking to macros. In addition i implemented a few missing features for the POSIX subplatform and added a few new functions.

It would be great if you can upgrade to it as soon as possible and report back any issues you might have. Thanks!

As usual docs are updated and release is tagged.

Here is the full changelog:

## v0.7.8.0 beta:
- Changed: Collapsed down all argument checking using macros
- Changed: Use ... Read More →


Finalspace
2 years, 3 months ago
Hi everyone,

i have a important release for you all!

In the last couple of days i was working a bit on FPL, getting it more into a stable stage and fixed some important bugs. There was a critical bug that any allocated memory on win32 got never freed, which fortunatly was easiely be fixed by changing the flags from MEM_FREE to MEM_RELEASE (There is no MEM_FREE for VirtualFree!).

Also i added a few new functions and macros and moved the entrypoint definition into its own block, so you can now use FPL in /or as a static library. Oh ... Read More →