Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-11-01 Thread The Rasterman
On Tue, 1 Nov 2011 16:27:35 +0100 (CET) Vincent Torri said: > > > On Tue, 1 Nov 2011, Carsten Haitzler (The Rasterman) wrote: > > > On Tue, 1 Nov 2011 08:54:47 +0100 (CET) Vincent Torri > > said: > > > > does that work on wince? > > not tested, but it should: > > http://msdn.microsoft.com/e

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-11-01 Thread Vincent Torri
On Tue, 1 Nov 2011, Carsten Haitzler (The Rasterman) wrote: > On Tue, 1 Nov 2011 08:54:47 +0100 (CET) Vincent Torri > said: > > does that work on wince? not tested, but it should: http://msdn.microsoft.com/en-us/library/aa908730.aspx I can tweak it a bit though, to give a nice error message

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-11-01 Thread The Rasterman
On Tue, 1 Nov 2011 08:54:47 +0100 (CET) Vincent Torri said: does that work on wince? > > hey > > about utf16 to utf8 conversion, can you try the function below ? If it > works, I commit it. > > Vincent > > > char * > evil_utf16_to_utf8(const wchar_t *text16) > { > char *text8; > D

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-11-01 Thread Vincent Torri
hey about utf16 to utf8 conversion, can you try the function below ? If it works, I commit it. Vincent char * evil_utf16_to_utf8(const wchar_t *text16) { char *text8; DWORD flag = 0; intsize8; if ((!text16) || (*text16 == L'\0')) return NULL; #if _WIN32_WINNT >=

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-10-31 Thread The Rasterman
; From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] > Sent: Monday, October 31, 2011 12:28 PM > To: Enlightenment developer list > Cc: Jihoon Kim > Subject: Re: [E-devel] [PATCH] Fix the bug that user cannot input key > > On Fri, 28 Oct 2011 21:03:49 +0900 Jihoon K

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-10-31 Thread The Rasterman
ng wrong. > > I send the revised patch again. > > Would you please review again? > > -Original Message- > From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] > Sent: Monday, October 31, 2011 12:28 PM > To: Enlightenment developer list > Cc:

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-10-31 Thread The Rasterman
eloper list > Cc: Jihoon Kim > Subject: Re: [E-devel] [PATCH] Fix the bug that user cannot input key > > On Fri, 28 Oct 2011 21:03:49 +0900 Jihoon Kim > said: > > i don't think this is right. this means u get 2 key press events, with with > key string, one without... :(

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-10-30 Thread Jihoon Kim
m: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] Sent: Monday, October 31, 2011 12:28 PM To: Enlightenment developer list Cc: Jihoon Kim Subject: Re: [E-devel] [PATCH] Fix the bug that user cannot input key On Fri, 28 Oct 2011 21:03:49 +0900 Jihoon Kim said: i don't think this

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-10-30 Thread The Rasterman
On Fri, 28 Oct 2011 21:03:49 +0900 Jihoon Kim said: also TranslateMessage needs to be called on KEYDOWNS... and KEYDOWN events and ALL events after the keydown have to be queued and held UNTIL the WM_CHAR that corresponds the KEYDOWN that is being held comes in then the WM_CHAR is matched up to t

Re: [E-devel] [PATCH] Fix the bug that user cannot input key

2011-10-30 Thread The Rasterman
On Fri, 28 Oct 2011 21:03:49 +0900 Jihoon Kim said: i don't think this is right. this means u get 2 key press events, with with key string, one without... :( > Hi, EFL developers and Vincent. > > On Windows 7, there are some bugs related to key input in elementary_test. > 1. alphabet and symbol