*** krizz has quit IRC *** reinhard has joined #gnuenterprise good morning all morning hi *** kilo has joined #gnuenterprise good morning *** btami has joined #gnuenterprise morning *** lekma has joined #gnuenterprise morning everyone morning reinhard: you around? yes do you think it'd be possible to have type, length and scale returned from a load(clas, [[]], propertylist) instead of a fullType string? otherwise i have to regexp or split or whatever the string to find out what i need theoretically yes, however we use that internally so it would break compatibility just once again oh so no? and we would like to avoid that ok we would have to look where we use it that would have been my next question: where is it used? language/Object.py is something I find there it is used to determine whether something is a procedure or a property and if it is a property, it selects plain property and reference property *** johannesV has joined #gnuenterprise alternatively you could query the gnue_class and gnue_property classes directly and not use the load (class, [[]], propertylist) hack at all good morning morning johannesV hi lekma there's less code involved with load :) bad news for wx26-driver regarding unicode-problems: we have to enter a bug-report agains wxPython, but robin dunn isn't sure if he can fix that at all lekma, are that good or bad news ? johannesV: is that the "no EVT_CHAR for special characters" bug? johannesV: ?? reinhard, yes lekma, as you've mentioned there is less code involved with load is that good for you or is that bad ? it's good johannesV: that was related to a discussion we are having or do i need to backread the logs :) having less code ah, ok, so i *do* backread the logs ok, now i see dimas_, are you around ? is anybody here using unicode-characters for form-input on windows ? johannesV: yep hello all hi dimas_ what ui-driver are you currently using and on which os ? gtk2 in linux ah, ok, thanks; that should work (at least for the unicode-stuff) to be honest I can't understand why it should not be fixable - as all the events are there and correct in gtk2, it shouldn't be impossible to pass them through correctly through the wx layer reinhard, he said something about the native control taking away that ime-event ... but we'll see the request-id is 1455924 i'll add a bug-report to our roundup, pointing to the bug-report in wxPython ok, bug-report submitted to roundup *** yure has quit IRC reinhard, shall i close the bug-report 66 (closing form with sqlite3) ah, it's issue 58 I think I have closed that, haven't I? *** Shufla has joined #gnuenterprise *** yure has joined #gnuenterprise *** Shufla has left #gnuenterprise a session.list sends data from cache if available, correct? is there a way to refresh the cache? session.rollback()? s/session.list/session.request() a session.request will always do a new query on the backend bbl, off to lunch *** reinhard has quit IRC *** btami has quit IRC reinhard: if you read it, i tested multiple requests with changes in the db in between the result is always the same ie changes in db are not reflected *** reinhard has joined #gnuenterprise back changes done by another transaction? manually changing in db i can affirm that that is a different transaction that is isolated by the db *** johannesV_ has joined #gnuenterprise you must start a new transaction (commit or rollback) got get changes from other transactions *** johannesV has quit IRC reinhard: ok which I think is not only acceptable but even necessary as it would be strange if, for example, you did the same query 2 times in a row just with different sorting and you get different result sets well, data changed, so to me it would seem normal even "required" :) it's a matter of transaction isolation it is not even a feature of appserver, it's a feature of postgres we use here (or the other backends) could anyone test it if ggcvs works ok? if i use it, it put every line in the gsd file 2 times... s/put/puts bbl kilo, i will double-check ... just starting db host first ... thx kilo, i can confirm it ... all rows are duplicate ?! will investigate all rows, indeed thx in advance btw it does not harm any functional thing, ie the gsd can be imported without any trouble... but it is double sized... well, the gsd is doubl in size which does affect re-loading with gnue-schema (which in fact is not really optimized for handling large files) indeed oh, wow all field lists contain each field twice wow hm, all props are doubled in the classdef of the repository item ahhhh f**** ok, will fix it \o/ kilo, svn update and retry thx trying it's ok, thx for the fix johannesV_ no problem *** yure has quit IRC *** jamest has joined #gnuenterprise *** kilo has left #gnuenterprise *** johannesV_ has quit IRC *** btami has joined #gnuenterprise *** siesel has joined #gnuenterprise hello hi jamest: what time is it over there? 9:06am here its 0:00. *** johannesV has joined #gnuenterprise its really bad, always when I want to start coding, ... I should go to bed. :( hi johannes what was the info with the IME event? I just read the logs bad dunno what you mean concerning wx siesel, i've added a bug-report against wxPython siesel, the wxEVT_TEXT has the proper unicode-string, but the wx.EVT_CHAR does not show up the proper key-code ok but we cannot use wx.EVT_TEXT since we have to put the displayHandler in between so it can decide wether a keypress is valid or not (i.e. max-length, format-mask, and so on) I think gtk2 works by using the equivalent to EVT_TEXT, but has a way to stop the event Or that is the way it was two years ago :) yeah, haven't looked into pygtk recently Can we use EVT_TEXT as a fallback solution? no as this would break the displayHandler (although i'm seriously thinking about it) I mean, it shouldn't be affected by setValue, so it should be only called via "bad" unicode characters at least it would be a 'dirty' workaround yes where can I get a good description about EVT_TEXT? it would result in strange, flickery widgets ... just think of an enty having a maxlength of 5. pressing the 6th character and holding it down, results in a flickering character which is there and then disappears and so on additionally, having format-masks is quite complicated then as EVT_TEXT has only the complete contents of the widget not just the last character pressed (which is evt_char [obviously]) I aggree, that just using EVT_TEXT is bad the signal chain is wx.EVT_CHAR (and if not skipped) wx.EVT_TEXT but not for all characters there are some unicode-characters which are built from multiple characters yes, I would guess that characters which come from input methods go directly to EVT_TEXT if i change the input-method to cyrillic for example and then enter abcd i get the following result: *** klasstek has joined #gnuenterprise onCHAR: 97 onTEXT: u'\u0430' at 0 onCHAR: 98 onTEXT: u'\u0430\u0431' at 1 onCHAR: 99 onCHAR: 100 *** klasstek has quit IRC *** klasstek_ has joined #gnuenterprise onTEXT: u'\u0430\u0431\u0446' at 2 onTEXT: u'\u0430\u0431\u0446\u0434' at 3 *** klasstek_ has quit IRC onCHAR shows the result of GetUnicodeKey () function of the wx.EVT_CHAR event *** klasstek has joined #gnuenterprise where onTEXT shows the GetString () result of wx.EVT_TEXT and the current insertion point of the widget and because gnue just uses the result of EVT_CHAR just abc is printet instead of u'\u0430\u0431\u0446' as you can see the "c" generates an onCHAR only (but with a wrong keycode) well, i'm not really clear about the value of GetUnicodeKey () shouldn't that reflect the value of say, \u0430 ? (= 4*256 + 3 * 16) instead of 97 (=a) no, as I think that getchar just get the direct keypress or can you explain that ime-thing yeah I cannot try it out at the moment with chinese, but I imaging the following: all real keypresses are catched via EVT_CHAR yes, that would fit to the result shown above when I insert a chinese charater like 我 which is writte WO3 just a sec, do you have to press a W, 0, 3 to get that char ? then i would press "w" "o" "3" and go down with the arrow keys to choose one out of a douzend characters which is spelled that way so probably also up and down keypresses would be send down via EVT_CHAR hm, but that would mean wx.EVT_CHAR could never be enough for us and when I finally press space the character I've chosen will be send to the screen insteat we have to look for a solution using EVT_TEXT anyway and an EVT_TEXT would be called in principle we need something in between, hm i cannot stop the emission of a wx.EVT_TEXT or a way to detect if EVT_CHAR is called in IME mode what would be the benefit of that ? that would solve the cyrillic becomes latin case. whose property is "IME mode" *** derek has quit IRC if EVT_CHAR is in cyrillic mode or chinese ime input mode and EVT_CHAR would be called and terminated, then no cyrillic or chinese would be entered, but just normal letters and otherwise ? otherwise, the characters would be passed through and converted via the IME into unicode characters these characters should be intercepted asap by a kind of EVT_CHAR2 event, but if this is not possible, we have to use EVT_TEXT btw. do you already have some kind of small wxpython testprogram for this issue? yeah (really small) cool could I try it? because I want to test the difference between gtk2 chinese IME module, which should work as described above, and the XIM input method, which I have used till now. http://www.gnuenterprise.org/~johannes/input.py must run off for today cu tomorrow *** reinhard has quit IRC it's just a dialog having two entries with both handlers bound the XIM input method doesn't create EVT_CHAR events at all, as real keypresses are handled by the XIM server, which will finally sends the unicode characters to the application via XIM protocoll you're using the sample-program ? yes. works fine. I just have to install another part of the gtk2 chinese input method handler (apt-get install uim-gtk2.0) sorry I was mistaken, in case of japanese input method no EVT_CHAR are produced at all ok, so the situation is even worse I would like to know the meaning of EVT_CHAR in windows context hopefully just the gtk2 driver has to be adapted how could this be checked on windows ? by just using f.e. chinese or japanese input method ok, starting up win32 chinese on a second comp. wow great i've checked with greek and? and i get a wx.eVT_CHAR with values like 968 looks good cool try a japanese now so probably its a wxGTK bug yeah, it looks like it would be great to check it on os x to but i've to find out how to change the im there first ... :) as i'm quite new to os x *** Shufla has joined #gnuenterprise *** derek has joined #gnuenterprise os x is cool, I think it should work very smooth there there should be an IME setting box in the overall settings installing wx2.6 did the japanese character worked for you? ok, chinese is working no, as i couldn't select it there there is no japanese on my xp looks like i've just set my mac to simple chinese ... and now i'm trying to get back :) lol if you find the command to make a screen shot I can help you :) I confirmed chinese and japanese on my win2k, seems to be alright * siesel trying to give some a advice ok so it really looks like a bug in wxGTK do you find the characters 格式化 ? (as i've added the bug-report against wx.GTK) i'm about to reboot the mac now ok, (as i've use another account to look at the order of the settings and controls) :) ah great, everything's in latin-1 again * johannesV phu ok, but in case you see these characters, don't push it, as it means format ;) *lol* i'm very sorry but i've to leave now for a while ... bbl ok, cu and good night. i'll backread the logs yeah, thanks ... good night to you too :) I should have been sleeping already one h. cu :) *** siesel has quit IRC *** Shufla has quit IRC *** lekma has quit IRC *** psu has joined #gnuenterprise *** psu has quit IRC *** johannesV has quit IRC *** sjc has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** johannesV has quit IRC *** btami has quit IRC *** krouzos has joined #gnuenterprise *** krouzos has quit IRC *** kilo has joined #gnuenterprise *** jamest has left #gnuenterprise *** klasstek has quit IRC *** klasstek has joined #gnuenterprise *** krouzos has joined #gnuenterprise *** klasstek has quit IRC *** kilo has quit IRC *** krouzos has quit IRC *** derek has quit IRC *** jcater has quit IRC *** krizz_ has joined #gnuenterprise *** derek has joined #gnuenterprise *** dimas_ has quit IRC *** krizz_ has quit IRC *** sjc has quit IRC *** dimas_ has joined #gnuenterprise