1. New Win32lib & wxEuphoria

Hello All,

I noticed there hasn't been a new version of Win32lib or wxEuphoria in awhile. I was wondering if these were still being worked on? Any info would be appericated.

new topic     » topic index » view message » categorize

2. Re: New Win32lib & wxEuphoria

Lone_EverGreen_Ranger said...

I noticed there hasn't been a new version of Win32lib or wxEuphoria in awhile. I was wondering if these were still being worked on? Any info would be appericated.

They're not forgotten, though they've taken a bit of a back seat to developing euphoria itself. I was just working a bit with wxEuphoria a few days ago. Once Euphoria 4.0 is released, I plan to finalize the current version (v0.14) of wxEuphoria. I know that Derek has been working on Win32Lib, as well, and I'd expect for that to be released after Eu4.0 is out.

Volunteers to help are always appreciated. blink

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: New Win32lib & wxEuphoria

Lone_EverGreen_Ranger said...

Hello All,

I noticed there hasn't been a new version of Win32lib or wxEuphoria in awhile. I was wondering if these were still being worked on? Any info would be appericated.

As for Win32lib, I've been working on a version that will be based on using Eu4. The current will run on V4 but it is a bit slower and larger than it should be. The new one will have an entirely new internal structure but the API is unchanged.

When work on Eu4 itself dies down, I'll be refocusing on Win32lib and then the IDE for it.

new topic     » goto parent     » topic index » view message » categorize

4. Re: New Win32lib & wxEuphoria

Ah, I see. Well that is good to hear.

new topic     » goto parent     » topic index » view message » categorize

5. Re: New Win32lib & wxEuphoria

I used the 'current' version of win32lib with the new reserved words renamed.
That loaded very slowly. Then I discovered a version by the forum user 'Mike'.
This is a version rearranged into a single file and loads much faster.

To find it search the archive for 'win32lib4'.

new topic     » goto parent     » topic index » view message » categorize

6. Re: New Win32lib & wxEuphoria

I am eagerly waiting for wxEuphoria next version with the Euphoria 4.0 I would like to work with the 4 byte character representation. Should I use Little Endian or Big Endian?

new topic     » goto parent     » topic index » view message » categorize

7. Re: New Win32lib & wxEuphoria

Vinoba said...

I am eagerly waiting for wxEuphoria next version with the Euphoria 4.0 I would like to work with the 4 byte character representation. Should I use Little Endian or Big Endian?

I'm hoping to release an updated version of wxEuphoria soon. However, I'm not sure what you're thinking of regarding 4 byte characters. The current release of wxEuphoria works in either ANSI or Unicode mode (depending on the way that wxWidgets is built). The Unicode version uses UTF-16, I think. Anyways, the internal wxWidgets characters in Unicode mode are 16 bits.

Matt

new topic     » goto parent     » topic index » view message » categorize

8. Re: New Win32lib & wxEuphoria

Vinoba said...

I am eagerly waiting for wxEuphoria next version with the Euphoria 4.0 I would like to work with the 4 byte character representation. Should I use Little Endian or Big Endian?

When you say "4 byte character representation" are you referring to Unicode characters?

EuV4 does not really support Unicode and UTF processing yet, although internally all characters are stored as 32-bit values. We are leaving basic Unicode support to v4.1 and the more advanced Unicode support for later versions as requirements come to light.

The 'endian-ness' is not an issue until you are storing characters to a file, in which case Eu4 supports this with some new routines but that will still not address the storing of UTF encoding.

Note that Win32lib does not support 'wide-characters' yet.

new topic     » goto parent     » topic index » view message » categorize

9. Re: New Win32lib & wxEuphoria

DerekParnell said...

We are leaving basic Unicode support to v4.1 and the more advanced Unicode support for later versions as requirements come to light.

Note that Win32lib does not support 'wide-characters' yet.

Google gives me over 12 Unicode languages to write in any "windows" enviroment. See some examples below. You just have to accept that input which is in UTF-8 and do simple manipulations. ડેરેક પારનેલ ডেরেক পার্নেল্ল डेरेक पारनेल رھدھک حممدغھی etc etc. Pelles compiler and Visual C+ allows it. freebasic and Pure basic and a few others allow it. Why not Euphoria?

new topic     » goto parent     » topic index » view message » categorize

10. Re: New Win32lib & wxEuphoria

Vinoba said...

Why not Euphoria?

Lack of people (all volunteers) to implement it.

We don't get paid to work on Euphoria, and only do it part time as we all have other things to do as well, and there is only a handful of us. Would you like to join the development team?

Most of the Unicode / UTF stuff has been coded, but we didn't have time to complete it or fully test it, so its been delayed.

new topic     » goto parent     » topic index » view message » categorize

11. Re: New Win32lib & wxEuphoria

mattlewis said...

Volunteers to help are always appreciated. blink

Matt


LOL ! !

useless

new topic     » goto parent     » topic index » view message » categorize

12. Re: New Win32lib & wxEuphoria

DerekParnell said...

Most of the Unicode / UTF stuff has been coded, but we didn't have time to complete it or fully test it, so its been delayed.

I am A BIG ZERO as far as C language goes. Casually looking at what IS available, it seems to me that you are nearly there. I am aware of the voluntary nature of your and other people's effort. I brought up the issue because it seemed to me a bit unreal that you all being good programmers in C should not have just hooked on to the relevant public domain code and produced the result.

I don't mind testing some stuff that you have compiled, but I am unable to code in C or even connect properly to C or write wrappers in Euphoria.

My apologies if I have offended anybody.

new topic     » goto parent     » topic index » view message » categorize

13. Re: New Win32lib & wxEuphoria

Vinoba said...

I brought up the issue because it seemed to me a bit unreal that you all being good programmers in C should not have just hooked on to the relevant public domain code and produced the result.

I don't mind testing some stuff that you have compiled, but I am unable to code in C or even connect properly to C or write wrappers in Euphoria.

Well, if you are writing a program using wxEuphoria, you can already use unicode. As I mentioned, I believe that unicode builds of wxWidgets use UTF-16, but there is also a wxEuhporia routine called to_utf8() that converts to UTF-8, which is pretty standard for output purposes.

There is also wx_sprintf(), which uses wide characters in the same way that the built-in sprintf() works with ANSI characters.

As for euphoria, for better or worse, we focused on other features that seemed more urgent. It's certainly possible that our bias as native English speakers (there used to be a native French speaker and another who spoke Chinese) was a factor in the prioritization.

Matt

new topic     » goto parent     » topic index » view message » categorize

14. Re: New Win32lib & wxEuphoria

mattlewis said...

There is also wx_sprintf(), which uses wide characters in the same way that the built-in sprintf() works with ANSI characters.

Matt

I went to see W_SPRINTF() and then looked for documentation on the "built-in sprintf()" but did not see any.

So far I have found wxWidgets (worked on by friends) and wrappings derived from wxwidgets somewhat deffective when one wants to extract a substring out of a Indic Unicode string. This is because, unlike European languages, there are many Unicode Indic characters that can't exist on their own. स्मशानयात्रा (smashan-yatra स्म शा न या त्रा) in Hindi is 5 characters. Unicode represents this as 12 characters (3 2 1 2 4) and if I were to extract the third and fourth characters I should get न या. I get varying results and the only place I have had some sensible results is in Java. Perhaps I am doing something wrong.

new topic     » goto parent     » topic index » view message » categorize

15. Re: New Win32lib & wxEuphoria

Vinoba said...

I went to see W_SPRINTF() and then looked for documentation on the "built-in sprintf()" but did not see any.

Take a look at your euphoria documentation for sprintf().

Vinoba said...

So far I have found wxWidgets (worked on by friends) and wrappings derived from wxwidgets somewhat deffective when one wants to extract a substring out of a Indic Unicode string. This is because, unlike European languages, there are many Unicode Indic characters that can't exist on their own. स्मशानयात्रा (smashan-yatra स्म शा न या त्रा) in Hindi is 5 characters. Unicode represents this as 12 characters (3 2 1 2 4) and if I were to extract the third and fourth characters I should get न या. I get varying results and the only place I have had some sensible results is in Java. Perhaps I am doing something wrong.

I really don't know that much about unicode and working with it. With wxEuphoria, you might try building that using something like:

constant smashan_yatra = {#2360,#2381,#2350,#2358,#2366,#2344,#2351,#2366,#2340,#2381,#2352,#2366} 

And see how that displays with a font that covers those code points. I tried it here, and got gibberish. Alternatively, if you can encode it in UTF-8, you can use from_utf8() in wxEuphoria to get whatever wxWidgets expects that to look like.

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu