flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 08 Feb 2011, 22:32
I just uploaded the latest version of FreshLib as a separate file in its page on Fresh site: FreshLib page
Now, the library is little bit progressed and contains the first release of "FreshLib reference manual" that is intended to explain the architecture of the library and the main design ideas. The library is not finished yet. Actually it is very far from to be finished, but some parts are already useful. The library can be used with FASM and with Fresh. Any opinions on the library, the reference manual and comments about the design of the system are highly appreciated. Regards. |
|||
![]() |
|
JohnFound 09 Feb 2011, 11:57
revolution wrote: Request for website usability: Please don't use collapsed menus that require JS to activate and view. I can't access the "Related projects" pages unless I examine the source and manually enter the URLs. OK, I will check this ASAP. BTW, the link in the first post should work, opening the collapsed folder even without JS. Regards. |
|||
![]() |
|
revolution 09 Feb 2011, 14:47
JohnFound wrote: BTW, the link in the first post should work, opening the collapsed folder even without JS. With only three extra links I wonder if it is necessary to have a collapsed menu at all. |
|||
![]() |
|
JohnFound 12 Feb 2011, 08:19
The site engine is updated now.
So, how about the FreshLib? ![]() |
|||
![]() |
|
JohnFound 16 Feb 2011, 18:04
New work version of FreshLib is uploaded.
Now it can draw text with truetype fonts. The text should looks similar in Windows and Linux but I can test only in andLinux. I wonder whether it works in other Linux/Unix distributions. Please, check the compiled executable: "TestLib" and report here any problems. It opens an window with two flat buttons - one small and one big. Both are clickable. The message in the console is displayed on click. Here is how it looks in Windows XP and andLinux:
|
||||||||||
![]() |
|
pelaillo 18 Feb 2011, 04:00
Hi JohnFound,
The FreshLib is shaping very good. Very nice cross platform implementation of fonts rendering. The example is working properly on linux, the debug messages are arriving at the console but the application is not responding to the destroy event (it needs to be xkilled). Maybe the problem resides in the __ProcessOneSystemEvent not managing the destroy system event? Thanks for sharing ![]()
|
||||||||||
![]() |
|
JohnFound 18 Feb 2011, 07:07
pelaillo wrote: The example is working properly on linux, the debug messages are arriving at the console but the application is not responding to the destroy event (it needs to be xkilled). Thanks for testing. The destroy events are still not processed both in Windows and Linux. It will be fixed later. |
|||
![]() |
|
JohnFound 20 Mar 2011, 11:09
FreshLib news:
Recently, FreshLib was developed towards Unicode support. Now all text drawing functions supports UTF-8 (although some of them may contain bugs). StrLib will need some more tests in order to be acknowledged as fully UTF-8 compatible. You can download the latest version from FreshLibDev branch in the source repository. Here you can see recent screen shot (Linux):
|
||||||||||
![]() |
|
vid 20 Mar 2011, 12:11
Do you support combining code points?
|
|||
![]() |
|
JohnFound 20 Mar 2011, 12:23
vid wrote: Do you support combining code points? Note, I am not very familiar with UNICODE at all. So, "combining code points" sounds for me like nothing ![]() The approach of FreshLib to utf-8 is simple - in Linux, it simply use the UTF-8 API in order to output text. In Windows, it converts utf-8 to widechar (is it utf-16 or not???) using Win32 api, then outputs the text. Additionally, in OS independent code FreshLib have several procedures that deals with utf-8: convert some byte series to 32bit full unicode and compute the length in bytes of the unicode character (and also detects invalid utf-8 codes). |
|||
![]() |
|
JohnFound 20 Mar 2011, 12:38
Ah, I see now (wikipedia rulez).
As long as UNICODE have symbols for all characters with diacritics IMHO it is pretty useless to support such combination in output functions. (But as I said - the output in FreshLib is implemented through target OS API functions, so it depends on it). On the other hand it could be useful to support input of these characters from the keyboard. As long as FreshLib still does not support keyboard input - I can't even say whether "combining code points" for the keyboard will be supported or not. ![]() |
|||
![]() |
|
vid 20 Mar 2011, 16:50
Don't worry, I was just nitpicking. Proper full unicode support is overkill anyway.
PS: http://en.wikipedia.org/wiki/UTF-16/UCS-2#Code_points_U.2B10000..U.2B10FFFF ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.