Re: [E-devel] Call for Packagers
On Thu, Sep 06, 2012 at 03:01:18PM +0930, Simon Lees wrote: Date: Wed, 5 Sep 2012 12:26:49 +0200 From: Leif Middelschulte Subject: Re: [E-devel] Call for Packagers To: Enlightenment developer list Message-ID: <5313fd14-f083-4dda-afb8-032e903cc...@gmail.com> Content-Type: text/plain; charset=us-ascii Am 05.09.2012 um 04:24 schrieb Simon Lees : >> Date: Tue, 4 Sep 2012 20:48:45 +0200 >> From: Leif Middelschulte >> Subject: Re: [E-devel] Call for Packagers >> To: Enlightenment developer list >> >> Message-ID: <53a14c37-bdec-485d-ae8f-29f092368...@gmail.com> >> Content-Type: text/plain; charset=windows-1252 >> >> Am 04.09.2012 um 20:04 schrieb Gustavo Sverzut Barbieri < >> barbi...@profusion.mobi>: >> >>> On Tue, Sep 4, 2012 at 11:01 AM, Leif Middelschulte < >>> leif.middelschu...@gmail.com> wrote: >>> Am 04.09.2012 um 15:09 schrieb Rui Miguel Silva Seabra : > On Tue, 4 Sep 2012 13:57:51 +0100 > Michael Blumenkrantz wrote: > >> On Tue, 4 Sep 2012 13:54:30 +0100 >> Rui Miguel Silva Seabra wrote: >> >>> On Sat, 1 Sep 2012 14:48:15 -0300 >>> Gustavo Sverzut Barbieri wrote: >>> Hi all, We have released EFL 1.7 and terminology 0.1, but to reach a broader audience we need binary packages! In order to keep quality and reduce overall pain, I'd try to coordinate this in our mail list with the following ideas: - don't create multiple PPA/OBS/overlays for the same distribution. Cooperate with others that want to help - those with official distro packager status could step in and help with their knowledge and rules. Ultimately we want these packages to be used by upstream of Ubuntu, Fedora, Suse, Arch and Gentoo. - the EFL developers could review build flags (optimizations) and compile options. This would ensure our packages are in good shape. - everybody could help with QA and test to ensure they work as expected. It would be nice to do some comparison such as benchmark expedite on the same HW with different distros. I'd like to have an updated list of "official" (as per our standards, if possible by distro as well) of EFL 1.7 and Terminology 0.1 packages. If you know of some distro people that would like to help but are not in this list, please share with him. Phoronix and Lwn would BR useful as well. BR, -- Gustavo >>> >>> With all the training I've been doing building my own Fedora RPMS I >>> was thinking of reading the new rpm guidelines of Fedora and >>> submitting specs to them. >>> >>> Right now I only don't publish my own in some repo because I >>> probably couldn't afford the network traffic. >>> >>> Any suggestions regarding that? >>> >>> Best regards, >>> Rui >>> >> >> I've made enquiries with the fedora people on irc and they seemed >> pretty friendly; the main reason why they don't do much e/efl >> packaging is lack of manpower for it. > > Yeah, but I still need read the guidelines and to keep a separate set >> of > specs built "the Fedora Way" before trying to commit :) How about using those from the obs? They'd just need minor adjustments >> to work with Fedora too? >>> >> > > As i said in a previous post i fixed up alot of opensuse on obs last > weekend F16 and F17 are currently included in the nightly repo and in the > patches i am waiting to be merged back in evas doesn't currently build > because in the nightly repository evas depends on egueb. There isn't > currently targets in the release repo but i removed the egueb dependency in > the release repo so they may work better. There are a few targets that need > adding to the release repo such as openSUSE 12.1 and 12.2 as well. I can't > do that, hopefully tonight ill add patches to update 17 to the latest > snapshot and add release packages for the python-efl packages and sometime > soon ill hopefully add econnman. The only thing i haven't really figued out > yet is how to run the scripts to update the nightly build. Sounds great! Have you contacted SleepWalker (creator of nightly) on irc? He could add you to the maintainers so you can apply the fixes in place :) I spoke to him about a week ago saying that i was going to look at fixing a couple of things at that time i had spent less then a hour on obs and had added 1 dependancy to a file and that was it. As such at the moment im happy for someone to quickly check the diffs and make sure i'm getting everything write before i have access to do it myself. Over the next month i will be living across 2 houses going overseas for 10 days and have a whole lot of stuff going on. After that period I'm moving into 1 of those houses and i have another week off work. So
Re: [E-devel] Call for Packagers
Uh, I just noticed 23 submit requests, you seem to be very productive! Unfortunately, X11:Enlightenment:Nightly is focused on current revision. Try instead X11:Enlightenment:Released for package stabilisation. It was never brought to an end, so it would make sense to copy packages and project data and metadata from Nightly to Released. I just added all necessary rights to that repository to you. Best regards, Tomas Cech Sleep_Walker pgpeO6TZnv1aO.pgp Description: PGP signature -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Call for Packagers
Hi Daniel, Did you try, cmake . -DPORT=Efl ? On Wed, Sep 5, 2012 at 1:35 PM, Daniel Juyung Seo wrote: > Yes they depend on webkit-efl. > I want to try them with webkit-efl so I checked out webkit source code. > But if I can easily install webkit-efl, it'll be better because I can > share the information with others. > > Daniel Juyung Seo (SeoZ) > > On Wed, Sep 5, 2012 at 1:29 PM, Dennis.Yxun wrote: > > sorry , I should check before ask > > seems elementary and eve (the browser) depend on webkit-efl > > > > On Wed, Sep 5, 2012 at 12:26 PM, Dennis.Yxun > wrote: > >> HI Juyung: > >> Actually I made one ebuild (gentoo) for webkit-efl, and it just stay > >> in my own overlay > >> But for my understanding webkit-efl is just a library, currently is > >> there any package/application depend on it? Also seems that I can't > >> build webkit-1 and webkit-2 simultaneously, right? > >> > >> Dennis > >> > >> On Wed, Sep 5, 2012 at 11:52 AM, Daniel Juyung Seo < > seojuyu...@gmail.com> wrote: > >>> Does it includes webkit + webkit efl? > >>> Any instructions how to install it? > >>> > >>> I tried cmake and got this error. > Please choose which WebKit port to build (one of Efl;WinCE;BlackBerry) > >>> > >>> Daniel Juyung Seo (SeoZ) > >>> > >>> > >>> On Wed, Sep 5, 2012 at 12:09 PM, Lucas De Marchi > >>> wrote: > On Tue, Sep 4, 2012 at 11:30 PM, Simon Lees > wrote: > > On Wed, Sep 5, 2012 at 11:54 AM, Simon Lees > wrote: > > > >> > >> Date: Tue, 4 Sep 2012 20:48:45 +0200 > >>> From: Leif Middelschulte > >>> Subject: Re: [E-devel] Call for Packagers > >>> To: Enlightenment developer list > >>> > >>> Message-ID: <53a14c37-bdec-485d-ae8f-29f092368...@gmail.com> > >>> Content-Type: text/plain; charset=windows-1252 > >>> > >>> Am 04.09.2012 um 20:04 schrieb Gustavo Sverzut Barbieri < > >>> barbi...@profusion.mobi>: > >>> > >>> > On Tue, Sep 4, 2012 at 11:01 AM, Leif Middelschulte < > >>> > leif.middelschu...@gmail.com> wrote: > >>> > > >>> >> Am 04.09.2012 um 15:09 schrieb Rui Miguel Silva Seabra < > r...@1407.org>: > >>> >> > >>> >>> On Tue, 4 Sep 2012 13:57:51 +0100 > >>> >>> Michael Blumenkrantz wrote: > >>> >>> > >>> On Tue, 4 Sep 2012 13:54:30 +0100 > >>> Rui Miguel Silva Seabra wrote: > >>> > >>> > >>> > On Sat, 1 Sep 2012 14:48:15 -0300 > >>> > Gustavo Sverzut Barbieri wrote: > >>> > > >>> >> Hi all, > >>> >> > >>> >> We have released EFL 1.7 and terminology 0.1, but to reach a > >>> >> broader audience we need binary packages! > >>> >> > >>> >> In order to keep quality and reduce overall pain, I'd try to > >>> >> coordinate this in our mail list with the following ideas: > >>> >> - don't create multiple PPA/OBS/overlays for the same > >>> >> distribution. Cooperate with others that want to help > >>> >> - those with official distro packager status could step in > and > >>> >> help with their knowledge and rules. Ultimately we want > these > >>> >> packages to be used by upstream of Ubuntu, Fedora, Suse, > Arch and > >>> >> Gentoo. > >>> >> - the EFL developers could review build flags > (optimizations) > >>> >> and compile options. This would ensure our packages are in > good > >>> >> shape. > >>> >> - everybody could help with QA and test to ensure they > work as > >>> >> expected. It would be nice to do some comparison such as > benchmark > >>> >> expedite on the same HW with different distros. > >>> >> > >>> >> I'd like to have an updated list of "official" (as per our > >>> >> standards, if possible by distro as well) of EFL 1.7 and > >>> >> Terminology 0.1 packages. > >>> >> > >>> >> If you know of some distro people that would like to help > but are > >>> >> not in this list, please share with him. Phoronix and Lwn > would > >>> >> BR useful as well. > >>> >> > >>> >> BR, > >>> >> -- Gustavo > >>> >> > >>> >> > >>> > > >>> > With all the training I've been doing building my own Fedora > RPMS I > >>> > was thinking of reading the new rpm guidelines of Fedora and > >>> > submitting specs to them. > >>> > > >>> > Right now I only don't publish my own in some repo because I > >>> > probably couldn't afford the network traffic. > >>> > > >>> > Any suggestions regarding that? > >>> > > >>> > Best regards, > >>> > Rui > >>> > > >>> > >>> I've made enquiries with the fedora people on irc and they > seemed > >>> pretty friendly; the main reason why they don't do much e/efl > >>> packaging is lack of manpower for it. > >>> >>> > >>> >>> Yeah, but I
Re: [E-devel] RFC: Framespace and Object Move
On 07/09/12 01:14, Christopher Michael wrote: > Right. but when we change viewport, we could loop the objects and update > them (as you suggested below for a different problem, the same approach > could work here). > > And what happens to existing applications which were made using only > Ecore_Evas ? If this is handled only in Elm, it will break all other > existing non-elm applications (or ones currently being written). > > Besides, I am not adding any specific framespace stuff to Elm (if > avoidable) anymoreI was told that hacks like that should not be > needed, so widgets that break in elm because of all this will remain > broken (until someone fixes them). Just do it in evas, i.e loop on all the objects in the frame. -- Tom. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [patch][elementary] index - add access feature
dear all, hello the attachment has access features for the index. and this patch is depends on the previous patch which has _elm_access_edje_object_part_object_unregister(); to find the previous patch, please refer to the following http://sourceforge.net/mailarchive/forum.php?thread_name=CAP-c0nG8NkMx3J-YkSJnWdB23cWOPrtk1Rx10Lae0Zwxst1eeQ%40mail.gmail.com&forum_name=enlightenment-devel the index could have two levels, one is level 0, the other is level 1. the patch supports only level 0 because we have no style for the level 1.. (just a cowardly excuse, i will keep up with this.. and update..) then please review the attachment and give feedback. thanks. cordially, shinwoo kim. index.access.diff Description: Binary data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL: status on Windows
On Thu, 23 Aug 2012 17:32:55 +0200 Vincent Torri said: http://www.enlightenment.org/~raster/t.sma get that and embryo_cc t.sma -o t.amx you can now test a small testcase. can you get a backtrace from the complaint about a-z? (throw in an abort) ? > On Tue, Aug 21, 2012 at 9:32 AM, Vincent Torri > wrote: > > Hey > > > > > > 2) there are some problems here and there with how paths are cheked, > > as, on Windows, '/' and '\' can be used. So I have to check all the > > source from evil to at least edje to see what to do exactly.. > > It seems that my fixes in eina_file_win32.c were enough to fix that. > But elm theme fails to compile. The terminal output is below. That > would be nice to add an option to dump the edc file after > preprocessing, to see if there are problems in what is being compiled. > And maybe other options for debugging > > Vincent > > make[1]: Entering directory `/home/torri/svnroot/elementary/data' > Making install in themes > make[2]: Entering directory `/home/torri/svnroot/elementary/data/themes' > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default.edc \ > ../../data/themes/default.edj > Assertion failed: (*name >= 'A' && *name <= 'Z') || (*name >= 'a' && > *name <= 'z') || *name == '_', file embryo_cc_sclist.c, line 259 > > This application has requested the Runtime to terminate it in an unusual way. > Please contact the application's support team for more information. > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/hover/base/menu(41): image attributes missing for part "pop", > description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/hover/base/submenu(42): image attributes missing for part "pop", > description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/icon_text_style_item/default(48): image attributes > missing for part "event", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/icon_text_style_item/default(48): image attributes > missing for part "over1", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/icon_text_style_item/default(48): image attributes > missing for part "over1", description "clicked" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/icon_text_style_item/default(48): image attributes > missing for part "over2", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/icon_text_style_item/default(48): image attributes > missing for part "over2", description "clicked" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/icon_text_style_item/default(48): image attributes > missing for part "blocker", description "enabled" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/item_compress/default(49): image attributes missing for > part "event", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/item_compress/default(49): image attributes missing for > part "over1", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/item_compress/default(49): image attributes missing for > part "over1", description "clicked" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/item_compress/default(49): image attributes missing for > part "over2", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/item_compress/default(49): image attributes missing for > part "over2", description "clicked" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/ctxpopup/item_compress/default(49): image attributes missing for > part "blocker", description "enabled" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/gengrid/item/thumb/default(247): image attributes missing for part > "fg2", description "selected" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/map/marker/empty/default(253): image attributes missing for part > "base", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/diskselector/item/datetime/default(279): image attributes missing > for part "over1", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/naviframe/base/pager(295): image attributes missing for part > "base0", description "default" 0.00 > C:\MinGW_PKG\msys\1.0\opt\efl\bin\edje_cc.exe: Warning. Collection > elm/popup/item/default(308): image attributes missing for
Re: [E-devel] EFL: status on Windows
On Fri, Sep 7, 2012 at 10:13 AM, Carsten Haitzler wrote: > On Thu, 23 Aug 2012 17:32:55 +0200 Vincent Torri > said: > > http://www.enlightenment.org/~raster/t.sma > > get that > and > embryo_cc t.sma -o t.amx > > > you can now test a small testcase. can you get a backtrace from the complaint > about a-z? (throw in an abort) ? (gdb) bt #0 0x00418805 in find_subst (name=0x4c1ce0 "  flip_up(str[]) {\n", length=2) at embryo_cc_sclist.c:263 #1 0x0040bf94 in substallpatterns (line=0x4c1ce0 "  flip_up(str[]) {\n", buffersize=655360) at embryo_cc_sc2.c:1685 #2 0x0040c08a in preprocess () at embryo_cc_sc2.c:1736 #3 0x0040c358 in lex (lexvalue=0x22fc48, lexsym=0x22fc44) at embryo_cc_sc2.c:1914 #4 0x00402a81 in parse () at embryo_cc_sc1.c:795 #5 0x00401d5e in sc_compile (argc=4, argv=0x3e4588) at embryo_cc_sc1.c:346 #6 0x0040175d in main (argc=4, argv=0x3e4588, env=0x3e3108) at embryo_cc_sc1.c:123 Vincent -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL: status on Windows
On Fri, 7 Sep 2012 10:51:28 +0100 Vincent Torri said: try commit 76293 to embryo > On Fri, Sep 7, 2012 at 10:13 AM, Carsten Haitzler > wrote: > > On Thu, 23 Aug 2012 17:32:55 +0200 Vincent Torri > > said: > > > > http://www.enlightenment.org/~raster/t.sma > > > > get that > > and > > embryo_cc t.sma -o t.amx > > > > > > you can now test a small testcase. can you get a backtrace from the > > complaint about a-z? (throw in an abort) ? > > (gdb) bt > #0 0x00418805 in find_subst (name=0x4c1ce0 "  flip_up(str[]) > {\n", length=2) at embryo_cc_sclist.c:263 > #1 0x0040bf94 in substallpatterns (line=0x4c1ce0 "  > flip_up(str[]) {\n", buffersize=655360) > at embryo_cc_sc2.c:1685 > #2 0x0040c08a in preprocess () at embryo_cc_sc2.c:1736 > #3 0x0040c358 in lex (lexvalue=0x22fc48, lexsym=0x22fc44) at > embryo_cc_sc2.c:1914 > #4 0x00402a81 in parse () at embryo_cc_sc1.c:795 > #5 0x00401d5e in sc_compile (argc=4, argv=0x3e4588) at embryo_cc_sc1.c:346 > #6 0x0040175d in main (argc=4, argv=0x3e4588, env=0x3e3108) at > embryo_cc_sc1.c:123 > > Vincent > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Bug Fix in eina_convert
Hi, I think your patch duplicate my patch which I had sent yesterday. Right? Regards, Patrick -Original Message- From: Sungho Kwak [[1]mailto:sungho@gmail.com] Sent: 7 wrzeĹnia 2012 04:05 To: Enlightenment developer list Subject: [E-devel] Bug Fix in eina_convert Hi, eina_convert should return EINA_FALSE in error case. However, if fp is null, it returns EINA_TRUE. In that case, function should return EINA_FALSE. Thanks. Sincerely, Sungho Kwak [SeenTimeChecker?do=aeeb1c78fe7118600f61f60f50e2efff8fe3fda13a00183e70944169 732f05a3770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c35dd0 4a815ff174d7a728c55b39cc59eacf878f9a26ce15a0] References 1. mailto:sungho@gmail.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Bug Fix on eina_list.c
Hi, I think this patch also duplicate my patch which I had sent yesterday. Regards, Patrick -Original Message- From: 곽성호 [[1]mailto:sungho1.k...@samsung.com] Sent: 7 września 2012 07:10 To: [2]enlightenment-devel@lists.sourceforge.net Subject: [E-devel] Bug Fix on eina_list.c Hi, I found 2 bugs on eina_list.c 1) eina_list_sort : if func or list is NULL, function returns NULL (on documentation). I changed code to check to check both of func and list with well-known pattern. 2) eina_list_accessor_new : if list is NULL, function nreturn NULL (on documentation). I add NULL check routine. Thanks. Sincerely, Sungho Kwak. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. [3]http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list [4]enlightenment-devel@lists.sourceforge.net [5]https://lists.sourceforge.net/lists/listinfo/enlightenment-devel [SeenTimeChecker?do=aeeb1c78fe71186086ab5c679c7148d59a9a49b49c4a445170944169 732f05a3770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c35dd0 4a815ff174d7a728c55b39cc59eacf878f9a26ce15a0] References 1. mailto:sungho1.k...@samsung.com 2. mailto:enlightenment-devel@lists.sourceforge.net 3. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ 4. mailto:enlightenment-devel@lists.sourceforge.net 5. https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch] Allow to send SelectionNotify event if there is no data from XGetWindowProperty.
Dear EFL developers, I am currently working on implementation of a clipboard for WebKit-EFL. WebKit?s architecture and test framework requires that system clipboard has to work synchronously. Elementary paste implementation (elm_cnp_selection_get) works asynchronously returning data using paste callback passed as one of elm_cnp_selection_get function. An introduction of nested main loop will help making clipboard in WebKit-EFL work synchronously (more or less similar mechanism is used in GTK+ WebKit port), but the main problem is that elementary clipboard does not return paste callback if selection does not contain any data. Currently when ecore_x_window_prop_property_get function is called asking for AnyProperty it returns 0 if there is no data (number of items stored equals 0). This causes ecore_x_event_handle_selection_notify to exit before SelectionNotify event is added and eventually elementary paste callback is not fired. My patch removes this condition and changes behaviour of this function by allowing to add SelectionNotify event even if data returned is empty. BR, Michal 0001-PATCH-ecore_x-Modify-_ecore_x_event_handle_selection.patch Description: Binary data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Bug Fix on eina_list.c
On Friday, September 7, 2012, Daniel Juyung Seo wrote: > Ok I changed my mind. > Returning NULL would not help users to detect a bug because list can be > NULL. > > This Is the most non sense comment ever. Why a programmer that giver the function the INCORRECT parameters would be checking the error code??!??!!??!!?!!? Seriously this is also technically wrong in other ways: - NULL list is valid, never change this - sort without a compare is no sort. Just don't change the list. Return it - eina list reports errors as Eina_Error not return > So the first one! > Now I am in a 'fix the documentation' mood. > > Daniel Juyung Seo (SeoZ) > > On Fri, Sep 7, 2012 at 2:45 PM, Daniel Juyung Seo > > > wrote: > > Well... > > > > According to the existing code, it returns 'list' when func is NULL. > > According to the documentation, it returns NULL when func is NULL. > > > > Fighting between code and documentation :) > > This is a matter of choice imho. > > > > I prefer the second one. > > > > Of course, we should print a huge amount of error messages in either > case. > > > > Daniel Juyung Seo (SeoZ) > > > > > > On Fri, Sep 7, 2012 at 2:13 PM, Sungho Kwak > > > > wrote: > >> Huh, where is my attached file? :( > >> > >> 2012/9/7 곽성호 > > >> > >>> Hi, > >>> > >>> I found 2 bugs on eina_list.c > >>>1) eina_list_sort : if func or list is NULL, function returns NULL > (on > >>> documentation). I changed code to check to check both of func and list > with > >>> well-known pattern. > >>>2) eina_list_accessor_new : if list is NULL, function nreturn NULL > (on > >>> documentation). I add NULL check routine. > >>> > >>> Thanks. > >>> > >>> Sincerely, > >>> Sungho Kwak. > >>> > >>> > -- > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. > Discussions > >>> will include endpoint security, mobile security and the latest in > malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> ___ > >>> enlightenment-devel mailing list > >>> enlightenment-devel@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >>> > >> > >> > -- > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> ___ > >> enlightenment-devel mailing list > >> enlightenment-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/embryo/src/bin
On Friday, September 7, 2012, Enlightenment SVN wrote: > Log: > vincent - try this on windows. If this fixes his problems, we may have a bug on windows code that GENERATES the string/array. The characters are stores in integers, yes, but for strings they should be in 0-255 > > > > Author: raster > Date: 2012-09-07 03:12:50 -0700 (Fri, 07 Sep 2012) > New Revision: 76293 > Trac: http://trac.enlightenment.org/e/changeset/76293 > > Modified: > trunk/embryo/src/bin/embryo_cc_sc.h trunk/embryo/src/bin/embryo_cc_sc1.c > trunk/embryo/src/bin/embryo_cc_sc2.c trunk/embryo/src/bin/embryo_cc_sc6.c > trunk/embryo/src/bin/embryo_cc_sc7.c > > Modified: trunk/embryo/src/bin/embryo_cc_sc.h > === > --- trunk/embryo/src/bin/embryo_cc_sc.h 2012-09-07 10:07:09 UTC (rev 76292) > +++ trunk/embryo/src/bin/embryo_cc_sc.h 2012-09-07 10:12:50 UTC (rev 76293) > @@ -664,4 +664,10 @@ > > extern jmp_buferrbuf; /* target of longjmp() on a fatal error */ > > +#define sc_isspace(x) isspace ((int)((unsigned char)x)) > +#define sc_isalpha(x) isalpha ((int)((unsigned char)x)) > +#define sc_isdigit(x) isdigit ((int)((unsigned char)x)) > +#define sc_isupper(x) isupper ((int)((unsigned char)x)) > +#define sc_isxdigit(x) isxdigit((int)((unsigned char)x)) > + > #endif > > Modified: trunk/embryo/src/bin/embryo_cc_sc1.c > === > --- trunk/embryo/src/bin/embryo_cc_sc1.c2012-09-07 10:07:09 UTC > (rev 76292) > +++ trunk/embryo/src/bin/embryo_cc_sc1.c2012-09-07 10:12:50 UTC > (rev 76293) > @@ -489,7 +489,7 @@ > > /* tagname currently unknown, add it */ > tag = last + 1; /* guaranteed not to exist already */ > - if (isupper(*name)) > + if (sc_isupper(*name)) >tag |= (int)FIXEDTAG; > append_constval(&tagname_tab, name, (cell) tag, 0); > return tag; > @@ -1949,7 +1949,7 @@ > tag &= TAGMASK; > assert(tag >= 0); > sprintf(dest, "0%x", tag); > - return isdigit(dest[1]) ? &dest[1] : dest; > + return sc_isdigit(dest[1]) ? &dest[1] : dest; > } > > char * > @@ -1995,7 +1995,7 @@ > } /* if */ > assert(!unary || *tag1 == 0); > assert(*ptr != '\0'); > - for (name = opname; !isdigit(*ptr);) > + for (name = opname; !sc_isdigit(*ptr);) >*name++ = *ptr++; > *name = '\0'; > *tag2 = (int)strtol(ptr, NULL, 16); > @@ -2010,7 +2010,7 @@ > constvalue *tagsym[2]; > int unary; > > - if (isalpha(*funcname) || *funcname == '_' || *funcname == PUBLIC_CHAR > + if (sc_isalpha(*funcname) || *funcname == '_' || *funcname == > PUBLIC_CHAR > || *funcname == '\0') > { > if (dest != funcname) > > Modified: trunk/embryo/src/bin/embryo_cc_sc2.c > === > --- trunk/embryo/src/bin/embryo_cc_sc2.c2012-09-07 10:07:09 UTC > (rev 76292) > +++ trunk/embryo/src/bin/embryo_cc_sc2.c2012-09-07 10:12:50 UTC > (rev 76293) > @@ -443,9 +443,9 @@ > > *val = 0; > ptr = curptr; > - if (!isdigit(*ptr)) /* should start with digit */ > + if (!sc_isdigit(*ptr)) /* should start with digit */ >return 0; > - while (isdigit(*ptr) || *ptr == '_') > + while (sc_isdigit(*ptr) || *ptr == '_') > { > if (*ptr != '_') >*val = (*val * 10) + (*ptr - '0'); > @@ -453,7 +453,7 @@ > } /* while */ > if (alphanum(*ptr)) /* number must be delimited by > non-alphanumerical */ >return 0; > - if (*ptr == '.' && isdigit(*(ptr + 1))) > + if (*ptr == '.' && sc_isdigit(*(ptr + 1))) >return 0;/* but a fractional part must not > be present */ > return (int)(ptr - curptr); > } > @@ -471,18 +471,18 @@ > > *val = 0; > ptr = curptr; > - if (!isdigit(*ptr)) /* should start with digit */ > + if (!sc_isdigit(*ptr)) /* should start with digit */ >return 0; > if (*ptr == '0' && *(ptr + 1) == 'x') > { /* C style hexadecimal notation */ > ptr += 2; > - while (isxdigit(*ptr) || *ptr == '_') > + while (sc_isxdigit(*ptr) || *ptr == '_') > { > if (*ptr != '_') >{ > - assert(isxdigit(*ptr)); > + assert(sc_isxdigit(*ptr)); > *val = *val << 4; > - if (isdigit(*ptr)) > + if (sc_isdigit(*ptr)) > *val += (*ptr - '0'); > else > *val += (tolower(*ptr) - 'a' + 10); > @@ -554,9 +554,9 @@ > fnum = 0.0; > dnum = 0L; > ptr = curptr; > - if (!isdigit(*ptr)) /* should start with digit */ > + if (!sc_isdigit(*ptr)) /* should start with digit */ >return 0; > -
Re: [E-devel] RFC: Framespace and Object Move
2012/9/7 Tom Hacohen : > On 07/09/12 01:14, Christopher Michael wrote: >> Right. but when we change viewport, we could loop the objects and update >> them (as you suggested below for a different problem, the same approach >> could work here). >> >> And what happens to existing applications which were made using only >> Ecore_Evas ? If this is handled only in Elm, it will break all other >> existing non-elm applications (or ones currently being written). >> >> Besides, I am not adding any specific framespace stuff to Elm (if >> avoidable) anymoreI was told that hacks like that should not be >> needed, so widgets that break in elm because of all this will remain >> broken (until someone fixes them). > > Just do it in evas, i.e loop on all the objects in the frame. It's every object not in the frame that needs adjustment, not the frame. > > -- > Tom. > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Suggestion of additional feature to EET
On Fri, 7 Sep 2012 16:42:50 +0530 Dinesh Devaraj wrote: > You may include a additional feature to add the data descriptor itself to > EET file along with the data. > > Regards, > D. Dinesh forwarding along to the list... -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EET : Why this code is not printing any value in the list?
On Fri, 7 Sep 2012 18:00:48 +0530 Dinesh Devaraj wrote: > /* > * File: FirstEet.c > * Author: root > * > * Created on September 7, 2012, 6:39 PM > */ > > #include > #include > #include > #include > > /* > * > */ > > int main(int argc, char** argv) { > > eina_init(); > eet_init(); > > //- Crating a new EET descriptor starts -// > > typedef struct { > int Id; > char *szName; > Eina_List *label; > Eina_Bool bGender; > } PERSON; > > /* Step 01 : declaration of the description handle */ > Eet_Data_Descriptor *des; > /* Step 02 : declaration of the description class variable */ > Eet_Data_Descriptor_Class eddc; > /* Step 03 : initializing the description class including the > * data structure to the description class */ > EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, PERSON); > /* Step 04 : registering the new description class to get the > * description handle */ > des = eet_data_descriptor_stream_new(&eddc); > /* Step 05 : binding the members to the data description */ > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "Id", Id, EET_T_INT); > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "szName", szName, EET_T_STRING); > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "bGender", bGender, EET_T_INT); > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "label", label, EET_G_LIST); > > /* Step 06 : declaring a variable to the data structure */ > PERSON *Student; > > /* Step 07 : opening a EET file */ > Eet_File *ef = eet_open("DesEet.eet", EET_FILE_MODE_READ_WRITE); > > int write = 1; > /* Step 08 : write/read the data structure to the EET file */ > if (write) { > Student = (PERSON *) malloc(sizeof (PERSON)); > Student->Id = 5; > Student->szName = "SomeOne"; > Student->bGender = 0; > Student->label = NULL; > Student->label = eina_list_append(Student->label, (void *) 0x73245); > Student->label = eina_list_append(Student->label, (void *) 0x95324); > Student->label = eina_list_append(Student->label, (void *) 0x13643); > Student->label = eina_list_append(Student->label, (void *) 0x87142); > Student->label = eina_list_append(Student->label, (void *) 0x59241); > eet_data_write(ef, des, "ReFKey", Student, 0); > } else { > Student = eet_data_read(ef, des, "ReFKey"); > printf(" > Id : %d\n", Student->Id); > printf(" > Name : %s\n", Student->szName); > printf(" > Gender : %d\n", Student->bGender); > void *data; > Eina_List *temp = NULL; > EINA_LIST_FOREACH(Student->label, temp, data) > printf("%p-", data); > } > > /* Step 09 : close the EET file */ > eet_close(ef); > > /* Step 10 : delete the description handle */ > eet_data_descriptor_free(des); > > //- Crating a new EET descriptor ends -// > > eet_shutdown(); > eina_shutdown(); > return (EXIT_SUCCESS); > } forwarding this one too... -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/embryo/src/bin
On Fri, 7 Sep 2012 11:45:35 -0300 Gustavo Sverzut Barbieri said: > On Friday, September 7, 2012, Enlightenment SVN wrote: > > > Log: > > vincent - try this on windows. > > > If this fixes his problems, we may have a bug on windows code that > GENERATES the string/array. The characters are stores in integers, yes, but > for strings they should be in 0-255 i'm hunting it. this is an attempt to narrow down what exactly is causing it. as such the array contains exactly the same bytes as in linux. now i'm wondering by sign-extending the SIGNED char to an int, this causes the windows is*() funcs to be different to linux. thus my little thing to avoid sign extending. :) > > Author: raster > > Date: 2012-09-07 03:12:50 -0700 (Fri, 07 Sep 2012) > > New Revision: 76293 > > Trac: http://trac.enlightenment.org/e/changeset/76293 > > > > Modified: > > trunk/embryo/src/bin/embryo_cc_sc.h trunk/embryo/src/bin/embryo_cc_sc1.c > > trunk/embryo/src/bin/embryo_cc_sc2.c trunk/embryo/src/bin/embryo_cc_sc6.c > > trunk/embryo/src/bin/embryo_cc_sc7.c > > > > Modified: trunk/embryo/src/bin/embryo_cc_sc.h > > === > > --- trunk/embryo/src/bin/embryo_cc_sc.h 2012-09-07 10:07:09 UTC (rev 76292) > > +++ trunk/embryo/src/bin/embryo_cc_sc.h 2012-09-07 10:12:50 UTC (rev 76293) > > @@ -664,4 +664,10 @@ > > > > extern jmp_buferrbuf; /* target of longjmp() on a fatal error */ > > > > +#define sc_isspace(x) isspace ((int)((unsigned char)x)) > > +#define sc_isalpha(x) isalpha ((int)((unsigned char)x)) > > +#define sc_isdigit(x) isdigit ((int)((unsigned char)x)) > > +#define sc_isupper(x) isupper ((int)((unsigned char)x)) > > +#define sc_isxdigit(x) isxdigit((int)((unsigned char)x)) > > + > > #endif > > > > Modified: trunk/embryo/src/bin/embryo_cc_sc1.c > > === > > --- trunk/embryo/src/bin/embryo_cc_sc1.c2012-09-07 10:07:09 UTC > > (rev 76292) > > +++ trunk/embryo/src/bin/embryo_cc_sc1.c2012-09-07 10:12:50 UTC > > (rev 76293) > > @@ -489,7 +489,7 @@ > > > > /* tagname currently unknown, add it */ > > tag = last + 1; /* guaranteed not to exist already */ > > - if (isupper(*name)) > > + if (sc_isupper(*name)) > >tag |= (int)FIXEDTAG; > > append_constval(&tagname_tab, name, (cell) tag, 0); > > return tag; > > @@ -1949,7 +1949,7 @@ > > tag &= TAGMASK; > > assert(tag >= 0); > > sprintf(dest, "0%x", tag); > > - return isdigit(dest[1]) ? &dest[1] : dest; > > + return sc_isdigit(dest[1]) ? &dest[1] : dest; > > } > > > > char * > > @@ -1995,7 +1995,7 @@ > > } /* if */ > > assert(!unary || *tag1 == 0); > > assert(*ptr != '\0'); > > - for (name = opname; !isdigit(*ptr);) > > + for (name = opname; !sc_isdigit(*ptr);) > >*name++ = *ptr++; > > *name = '\0'; > > *tag2 = (int)strtol(ptr, NULL, 16); > > @@ -2010,7 +2010,7 @@ > > constvalue *tagsym[2]; > > int unary; > > > > - if (isalpha(*funcname) || *funcname == '_' || *funcname == PUBLIC_CHAR > > + if (sc_isalpha(*funcname) || *funcname == '_' || *funcname == > > PUBLIC_CHAR > > || *funcname == '\0') > > { > > if (dest != funcname) > > > > Modified: trunk/embryo/src/bin/embryo_cc_sc2.c > > === > > --- trunk/embryo/src/bin/embryo_cc_sc2.c2012-09-07 10:07:09 UTC > > (rev 76292) > > +++ trunk/embryo/src/bin/embryo_cc_sc2.c2012-09-07 10:12:50 UTC > > (rev 76293) > > @@ -443,9 +443,9 @@ > > > > *val = 0; > > ptr = curptr; > > - if (!isdigit(*ptr)) /* should start with digit */ > > + if (!sc_isdigit(*ptr)) /* should start with digit */ > >return 0; > > - while (isdigit(*ptr) || *ptr == '_') > > + while (sc_isdigit(*ptr) || *ptr == '_') > > { > > if (*ptr != '_') > >*val = (*val * 10) + (*ptr - '0'); > > @@ -453,7 +453,7 @@ > > } /* while */ > > if (alphanum(*ptr)) /* number must be delimited by > > non-alphanumerical */ > >return 0; > > - if (*ptr == '.' && isdigit(*(ptr + 1))) > > + if (*ptr == '.' && sc_isdigit(*(ptr + 1))) > >return 0;/* but a fractional part must not > > be present */ > > return (int)(ptr - curptr); > > } > > @@ -471,18 +471,18 @@ > > > > *val = 0; > > ptr = curptr; > > - if (!isdigit(*ptr)) /* should start with digit */ > > + if (!sc_isdigit(*ptr)) /* should start with digit */ > >return 0; > > if (*ptr == '0' && *(ptr + 1) == 'x') > > { /* C style hexadecimal notation */ > > ptr += 2; > > - while (isxdigit(*ptr) || *ptr == '_') > > + while (sc_isxdigit(*ptr) || *ptr == '_') > > { > >
Re: [E-devel] Call for Packagers
On Friday, September 7, 2012, Sanjeev BA wrote: > Hi Daniel, > > Did you try, > > cmake . -DPORT=Efl ? I'll come back to that. U need an unstable version of libsoup and glib. Also -DENABLE_WEB_AUDIO=ON breaks the build. To build WebGL u need some fixes as well (but even tho doesn't work gl for me) > > > On Wed, Sep 5, 2012 at 1:35 PM, Daniel Juyung Seo > > >wrote: > > > Yes they depend on webkit-efl. > > I want to try them with webkit-efl so I checked out webkit source code. > > But if I can easily install webkit-efl, it'll be better because I can > > share the information with others. > > > > Daniel Juyung Seo (SeoZ) > > > > On Wed, Sep 5, 2012 at 1:29 PM, Dennis.Yxun > wrote: > > > sorry , I should check before ask > > > seems elementary and eve (the browser) depend on webkit-efl > > > > > > On Wed, Sep 5, 2012 at 12:26 PM, Dennis.Yxun > > wrote: > > >> HI Juyung: > > >> Actually I made one ebuild (gentoo) for webkit-efl, and it just stay > > >> in my own overlay > > >> But for my understanding webkit-efl is just a library, currently is > > >> there any package/application depend on it? Also seems that I can't > > >> build webkit-1 and webkit-2 simultaneously, right? > > >> > > >> Dennis > > >> > > >> On Wed, Sep 5, 2012 at 11:52 AM, Daniel Juyung Seo < > > seojuyu...@gmail.com> wrote: > > >>> Does it includes webkit + webkit efl? > > >>> Any instructions how to install it? > > >>> > > >>> I tried cmake and got this error. > > Please choose which WebKit port to build (one of > Efl;WinCE;BlackBerry) > > >>> > > >>> Daniel Juyung Seo (SeoZ) > > >>> > > >>> > > >>> On Wed, Sep 5, 2012 at 12:09 PM, Lucas De Marchi > > >>> wrote: > > On Tue, Sep 4, 2012 at 11:30 PM, Simon Lees > > wrote: > > > On Wed, Sep 5, 2012 at 11:54 AM, Simon Lees > > wrote: > > > > > >> > > >> Date: Tue, 4 Sep 2012 20:48:45 +0200 > > >>> From: Leif Middelschulte > > >>> Subject: Re: [E-devel] Call for Packagers > > >>> To: Enlightenment developer list > > >>> > > >>> Message-ID: <53a14c37-bdec-485d-ae8f-29f092368...@gmail.com> > > >>> Content-Type: text/plain; charset=windows-1252 > > >>> > > >>> Am 04.09.2012 um 20:04 schrieb Gustavo Sverzut Barbieri < > > >>> barbi...@profusion.mobi>: > > >>> > > >>> > On Tue, Sep 4, 2012 at 11:01 AM, Leif Middelschulte < > > >>> > leif.middelschu...@gmail.com> wrote: > > >>> > > > >>> >> Am 04.09.2012 um 15:09 schrieb Rui Miguel Silva Seabra < > > r...@1407.org>: > > >>> >> > > >>> >>> On Tue, 4 Sep 2012 13:57:51 +0100 > > >>> >>> Michael Blumenkrantz wrote: > > >>> >>> > > >>> On Tue, 4 Sep 2012 13:54:30 +0100 > > >>> Rui Miguel Silva Seabra wrote: > > >>> > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] RFC: Framespace and Object Move
On 07/09/12 17:45, Iván Briano wrote: > 2012/9/7 Tom Hacohen : >> On 07/09/12 01:14, Christopher Michael wrote: >>> Right. but when we change viewport, we could loop the objects and update >>> them (as you suggested below for a different problem, the same approach >>> could work here). >>> >>> And what happens to existing applications which were made using only >>> Ecore_Evas ? If this is handled only in Elm, it will break all other >>> existing non-elm applications (or ones currently being written). >>> >>> Besides, I am not adding any specific framespace stuff to Elm (if >>> avoidable) anymoreI was told that hacks like that should not be >>> needed, so widgets that break in elm because of all this will remain >>> broken (until someone fixes them). >> >> Just do it in evas, i.e loop on all the objects in the frame. > > It's every object not in the frame that needs adjustment, not the frame. > Are you certain? Because I think the actual coords remain the same, i.e with a frame that starts at (20,20) an item at the (0,0) of the frame will actually have (20,20) as it's position, and thus will need to be adjusted accordingly (moved to 0,0 of the canvas) after the frame dies. -- Tom. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] RFC: Framespace and Object Move
2012/9/7 Tom Hacohen : > On 07/09/12 17:45, Iván Briano wrote: >> 2012/9/7 Tom Hacohen : >>> On 07/09/12 01:14, Christopher Michael wrote: Right. but when we change viewport, we could loop the objects and update them (as you suggested below for a different problem, the same approach could work here). And what happens to existing applications which were made using only Ecore_Evas ? If this is handled only in Elm, it will break all other existing non-elm applications (or ones currently being written). Besides, I am not adding any specific framespace stuff to Elm (if avoidable) anymoreI was told that hacks like that should not be needed, so widgets that break in elm because of all this will remain broken (until someone fixes them). >>> >>> Just do it in evas, i.e loop on all the objects in the frame. >> >> It's every object not in the frame that needs adjustment, not the frame. >> > > Are you certain? Because I think the actual coords remain the same, i.e > with a frame that starts at (20,20) an item at the (0,0) of the frame > will actually have (20,20) as it's position, and thus will need to be > adjusted accordingly (moved to 0,0 of the canvas) after the frame dies. > Not the best naming, but setting the framespace sets the space within the viewport that IS NOT the frame. The frame gets drawn at 0,0 normally, any other object that you put in 0,0 will be adjusted to 20,20. That's to keep users seeing as 0,0 the top left corner of their workable area, not to have the object that is the frame adjusted somewhere else. > -- > Tom. > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EET : Why this code is not printing any value in the list?
On Fri, 7 Sep 2012 15:47:51 +0100 Michael Blumenkrantz said: > On Fri, 7 Sep 2012 18:00:48 +0530 > Dinesh Devaraj wrote: > > > /* > > * File: FirstEet.c > > * Author: root > > * > > * Created on September 7, 2012, 6:39 PM > > */ > > > > #include > > #include > > #include > > #include > > > > /* > > * > > */ > > > > int main(int argc, char** argv) { > > > > eina_init(); > > eet_init(); > > > > //- Crating a new EET descriptor starts -// > > > > typedef struct { > > int Id; > > char *szName; > > Eina_List *label; > > Eina_Bool bGender; > > } PERSON; > > > > /* Step 01 : declaration of the description handle */ > > Eet_Data_Descriptor *des; > > /* Step 02 : declaration of the description class variable */ > > Eet_Data_Descriptor_Class eddc; > > /* Step 03 : initializing the description class including the > > * data structure to the description class */ > > EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, PERSON); > > /* Step 04 : registering the new description class to get the > > * description handle */ > > des = eet_data_descriptor_stream_new(&eddc); > > /* Step 05 : binding the members to the data description */ > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "Id", Id, EET_T_INT); > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "szName", szName, EET_T_STRING); > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "bGender", bGender, EET_T_INT); > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "label", label, EET_G_LIST); > > > > /* Step 06 : declaring a variable to the data structure */ > > PERSON *Student; > > > > /* Step 07 : opening a EET file */ > > Eet_File *ef = eet_open("DesEet.eet", EET_FILE_MODE_READ_WRITE); > > > > int write = 1; > > /* Step 08 : write/read the data structure to the EET file */ > > if (write) { > > Student = (PERSON *) malloc(sizeof (PERSON)); > > Student->Id = 5; > > Student->szName = "SomeOne"; > > Student->bGender = 0; > > Student->label = NULL; > > Student->label = eina_list_append(Student->label, (void *) 0x73245); > > Student->label = eina_list_append(Student->label, (void *) 0x95324); > > Student->label = eina_list_append(Student->label, (void *) 0x13643); > > Student->label = eina_list_append(Student->label, (void *) 0x87142); > > Student->label = eina_list_append(Student->label, (void *) 0x59241); > > eet_data_write(ef, des, "ReFKey", Student, 0); > > } else { > > Student = eet_data_read(ef, des, "ReFKey"); > > printf(" > Id : %d\n", Student->Id); > > printf(" > Name : %s\n", Student->szName); > > printf(" > Gender : %d\n", Student->bGender); > > void *data; > > Eina_List *temp = NULL; > > EINA_LIST_FOREACH(Student->label, temp, data) > > printf("%p-", data); > > } > > > > /* Step 09 : close the EET file */ > > eet_close(ef); > > > > /* Step 10 : delete the description handle */ > > eet_data_descriptor_free(des); > > > > //- Crating a new EET descriptor ends -// > > > > eet_shutdown(); > > eina_shutdown(); > > return (EXIT_SUCCESS); > > } > > forwarding this one too... adding the basic type as a list wont do anything.. a list of WHAT? eet has no clue - a list of strings" of structs of what? you want to add a list of a sub type. look at edje or e17 as to how it does this (or elm). in fact this is documented in eet's docs! examples there! look at the nested example. it has a list. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] Allow to send SelectionNotify event if there is no data from XGetWindowProperty.
On Friday, September 7, 2012, Michal Pakula Vel Rutka wrote: > > Dear EFL developers, > > I am currently working on implementation of a clipboard for WebKit-EFL. > WebKit?s architecture and test framework requires that system clipboard has > to work synchronously. The WebKit tests considers your platform to your definition. It does not mean X11 or Elementary, as per WebKit-EFL it does NOT know what Elementary is. I've explained to you before and your fellow coworker yesterday: just expose the functions pointers (vurtuals) in Ewk_View smart class. In your WebKit TEST you do using a global pointer to a "clipboard" string. This is simple, fast and CLEAN as you are sure about the state, unlinke rea x11l clipboard that 1)would require Xserver to run and 2) could be changed by someone else during the test. Of course you should implement those virtuals in elm_web.c using elm_cnp. > Elementary paste implementation (elm_cnp_selection_get) works > asynchronously returning data using paste callback passed as one of > elm_cnp_selection_get function. > An introduction of nested main loop will help making clipboard in > WebKit-EFL work synchronously (more or less similar mechanism is used in > GTK+ WebKit port), but the main problem is that elementary clipboard does > not return paste callback if selection does not contain any data. Ouch WebKit people, seems you don't learn :-/ While you did spot a real bug of the async selection not returning in the case of an empty clipboard, there should never be such "synchronous" requests. WebKit folks looove to do such broken API, such as the JavaScript alert() that is synchronous in JS but does not need to be like that in C++, yet they force it! Just fill a bug and have them to fix the clipboard to be asynchronous. If possible do patches to that. And inner main loops are broken concept. As elaborated by raster in this list many times. > Currently when ecore_x_window_prop_property_get function is called asking > for AnyProperty it returns 0 if there is no data (number of items stored > equals 0). This causes ecore_x_event_handle_selection_notify to exit before > SelectionNotify event is added and eventually elementary paste callback is > not fired. > My patch removes this condition and changes behaviour of this function by > allowing to add SelectionNotify event even if data returned is empty. > > > BR, > Michal > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EET : Why this code is not printing any value in the list?
On Friday, September 7, 2012, Carsten Haitzler wrote: > On Fri, 7 Sep 2012 15:47:51 +0100 Michael Blumenkrantz > > said: > > > On Fri, 7 Sep 2012 18:00:48 +0530 > > Dinesh Devaraj > wrote: > > > > > /* > > > * File: FirstEet.c > > > * Author: root > > > * > > > * Created on September 7, 2012, 6:39 PM > > > */ > > > > > > #include > > > #include > > > #include > > > #include > > > > > > /* > > > * > > > */ > > > > > > int main(int argc, char** argv) { > > > > > > eina_init(); > > > eet_init(); > > > > > > //- Crating a new EET descriptor starts -// > > > > > > typedef struct { > > > int Id; > > > char *szName; > > > Eina_List *label; > > > Eina_Bool bGender; > > > } PERSON; > > > > > > /* Step 01 : declaration of the description handle */ > > > Eet_Data_Descriptor *des; > > > /* Step 02 : declaration of the description class variable */ > > > Eet_Data_Descriptor_Class eddc; > > > /* Step 03 : initializing the description class including the > > > * data structure to the description class */ > > > EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, PERSON); > > > /* Step 04 : registering the new description class to get the > > > * description handle */ > > > des = eet_data_descriptor_stream_new(&eddc); > > > /* Step 05 : binding the members to the data description */ > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "Id", Id, EET_T_INT); > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "szName", szName, > EET_T_STRING); > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "bGender", bGender, > EET_T_INT); > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "label", label, EET_G_LIST); > > > > > > /* Step 06 : declaring a variable to the data structure */ > > > PERSON *Student; > > > > > > /* Step 07 : opening a EET file */ > > > Eet_File *ef = eet_open("DesEet.eet", EET_FILE_MODE_READ_WRITE); > > > > > > int write = 1; > > > /* Step 08 : write/read the data structure to the EET file */ > > > if (write) { > > > Student = (PERSON *) malloc(sizeof (PERSON)); > > > Student->Id = 5; > > > Student->szName = "SomeOne"; > > > Student->bGender = 0; > > > Student->label = NULL; > > > Student->label = eina_list_append(Student->label, (void *) 0x73245); > > > Student->label = eina_list_append(Student->label, (void *) 0x95324); > > > Student->label = eina_list_append(Student->label, (void *) 0x13643); > > > Student->label = eina_list_append(Student->label, (void *) 0x87142); > > > Student->label = eina_list_append(Student->label, (void *) 0x59241); > > > eet_data_write(ef, des, "ReFKey", Student, 0); > > > } else { > > > Student = eet_data_read(ef, des, "ReFKey"); > > > printf(" > Id : %d\n", Student->Id); > > > printf(" > Name : %s\n", Student->szName); > > > printf(" > Gender : %d\n", Student->bGender); > > > void *data; > > > Eina_List *temp = NULL; > > > EINA_LIST_FOREACH(Student->label, temp, data) > > > printf("%p-", data); > > > } > > > > > > /* Step 09 : close the EET file */ > > > eet_close(ef); > > > > > > /* Step 10 : delete the description handle */ > > > eet_data_descriptor_free(des); > > > > > > //- Crating a new EET descriptor ends -// > > > > > > eet_shutdown(); > > > eina_shutdown(); > > > return (EXIT_SUCCESS); > > > } > > > > forwarding this one too... > > adding the basic type as a list wont do anything.. a list of WHAT? eet has > no > clue - a list of strings" of structs of what? you want to add a list of a > sub > type. look at edje or e17 as to how it does this (or elm). in fact this is > documented in eet's docs! examples there! look at the nested example. it > has a > list. > > geneet does all of this for u, just reached svn > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlighten
Re: [E-devel] RFC: Framespace and Object Move
On 07/09/12 15:52, Iván Briano wrote: > 2012/9/7 Tom Hacohen : >> On 07/09/12 17:45, Iván Briano wrote: >>> 2012/9/7 Tom Hacohen : On 07/09/12 01:14, Christopher Michael wrote: > Right. but when we change viewport, we could loop the objects and update > them (as you suggested below for a different problem, the same approach > could work here). > > And what happens to existing applications which were made using only > Ecore_Evas ? If this is handled only in Elm, it will break all other > existing non-elm applications (or ones currently being written). > > Besides, I am not adding any specific framespace stuff to Elm (if > avoidable) anymoreI was told that hacks like that should not be > needed, so widgets that break in elm because of all this will remain > broken (until someone fixes them). Just do it in evas, i.e loop on all the objects in the frame. >>> >>> It's every object not in the frame that needs adjustment, not the frame. >>> >> >> Are you certain? Because I think the actual coords remain the same, i.e >> with a frame that starts at (20,20) an item at the (0,0) of the frame >> will actually have (20,20) as it's position, and thus will need to be >> adjusted accordingly (moved to 0,0 of the canvas) after the frame dies. >> > > Not the best naming, but setting the framespace sets the space within > the viewport > that IS NOT the frame. Incorrect. Setting "framespace" sets the space Occupied by the frame (within the viewport). The frame gets drawn at 0,0 normally, any other > object that > you put in 0,0 will be adjusted to 20,20. That's to keep users seeing > as 0,0 the top left > corner of their workable area, not to have the object that is the > frame adjusted somewhere else. Correct. dh > >> -- >> Tom. >> > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Suggestion of additional feature to EET
Cedric Bail On Sep 7, 2012 11:47 PM, "Michael Blumenkrantz" < michael.blumenkra...@gmail.com> wrote: > > On Fri, 7 Sep 2012 16:42:50 +0530 > Dinesh Devaraj wrote: > > > You may include a additional feature to add the data descriptor itself to > > EET file along with the data. > > > > Regards, > > D. Dinesh > > forwarding along to the list... Sorry, what is the idea here? > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Suggestion of additional feature to EET
On Fri, Sep 7, 2012 at 12:40 PM, Cedric BAIL wrote: > Cedric Bail > On Sep 7, 2012 11:47 PM, "Michael Blumenkrantz" < > michael.blumenkra...@gmail.com> wrote: >> >> On Fri, 7 Sep 2012 16:42:50 +0530 >> Dinesh Devaraj wrote: >> >> > You may include a additional feature to add the data descriptor itself > to >> > EET file along with the data. >> > >> > Regards, >> > D. Dinesh >> >> forwarding along to the list... > > Sorry, what is the idea here? trees? I never tried or remember this part of the code, but I don't see why it wouldn't be possible. Like: Tree { Left: Tree, Right: Tree } -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/embryo/src/bin
On 09/07/2012 12:16 PM, Vincent Torri wrote: As much as I hate Windows, it's neat to see that screenshot. Good job Vincent :) > On Fri, Sep 7, 2012 at 12:12 PM, Enlightenment SVN > wrote: >> Log: >> vincent - try this on windows. > seems to work : i reverted my changes, updated embryo, clean elm, build it : > > make[2]: Entering directory `/home/torri/svnroot/elementary/data/themes' > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default.edc \ > ../../data/themes/default.edj > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default-desktop.edc \ > ../../data/themes/default-desktop.edj > make[3]: Entering directory `/home/torri/svnroot/elementary/data/themes' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/opt/efl/share/elementary/themes" || /bin/mkdir -p > "/opt/efl/share/elementary/themes" > /bin/install -c -m 644 default.edj default-desktop.edj > '/opt/efl/share/elementary/themes' > > so no problem, it seems. I execute elm_test (i have to set the engine > to gdi, though. Strange as, iirc, there is something automatic, now). > The window appear. > > thank you > > Vincent > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/embryo/src/bin
On Fri, 07 Sep 2012 13:34:48 -0500 Nicholas Hughart wrote: > On 09/07/2012 12:16 PM, Vincent Torri wrote: > > As much as I hate Windows, it's neat to see that screenshot. > > Good job Vincent :) > > On Fri, Sep 7, 2012 at 12:12 PM, Enlightenment SVN > > wrote: > >> Log: > >> vincent - try this on windows. > > seems to work : i reverted my changes, updated embryo, clean elm, build it : > > > > make[2]: Entering directory `/home/torri/svnroot/elementary/data/themes' > > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > > ../../data/themes \ > > ../../data/themes/default.edc \ > > ../../data/themes/default.edj > > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > > ../../data/themes \ > > ../../data/themes/default-desktop.edc \ > > ../../data/themes/default-desktop.edj > > make[3]: Entering directory `/home/torri/svnroot/elementary/data/themes' > > make[3]: Nothing to be done for `install-exec-am'. > > test -z "/opt/efl/share/elementary/themes" || /bin/mkdir -p > > "/opt/efl/share/elementary/themes" > > /bin/install -c -m 644 default.edj default-desktop.edj > > '/opt/efl/share/elementary/themes' > > > > so no problem, it seems. I execute elm_test (i have to set the engine > > to gdi, though. Strange as, iirc, there is something automatic, now). > > The window appear. > > > > thank you > > > > Vincent > > w vtorri! great work -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/embryo/src/bin
On Fri, Sep 7, 2012 at 8:38 PM, Michael Blumenkrantz wrote: > On Fri, 07 Sep 2012 13:34:48 -0500 > Nicholas Hughart wrote: > >> On 09/07/2012 12:16 PM, Vincent Torri wrote: >> >> As much as I hate Windows, it's neat to see that screenshot. >> >> Good job Vincent :) >> > On Fri, Sep 7, 2012 at 12:12 PM, Enlightenment SVN >> > wrote: >> >> Log: >> >> vincent - try this on windows. >> > seems to work : i reverted my changes, updated embryo, clean elm, build it >> > : >> > >> > make[2]: Entering directory `/home/torri/svnroot/elementary/data/themes' >> > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd >> > ../../data/themes \ >> > ../../data/themes/default.edc \ >> > ../../data/themes/default.edj >> > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd >> > ../../data/themes \ >> > ../../data/themes/default-desktop.edc \ >> > ../../data/themes/default-desktop.edj >> > make[3]: Entering directory `/home/torri/svnroot/elementary/data/themes' >> > make[3]: Nothing to be done for `install-exec-am'. >> > test -z "/opt/efl/share/elementary/themes" || /bin/mkdir -p >> > "/opt/efl/share/elementary/themes" >> > /bin/install -c -m 644 default.edj default-desktop.edj >> > '/opt/efl/share/elementary/themes' >> > >> > so no problem, it seems. I execute elm_test (i have to set the engine >> > to gdi, though. Strange as, iirc, there is something automatic, now). >> > The window appear. >> > >> > thank you >> > >> > Vincent >> > > > > w vtorri! great work thanks, but that have worked for a long time. It's just that on Windows, embryo_cc was not working. When i'm building the installer and packages, i do all that on linux and that's the linux edje_cc (and embryo_cc) that are used, hence no problem to build the elm theme. Now, I now that Windows people can build the elm theme natively on Windows Now I can try more prog on Windows (shotgun ? empower ?) Vincent. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: discomfitor trunk/e/src/modules/battery
I told you the patch was bad and needed improvement. But the basic idea to get (dis)charge rate from udev is good. S. Den 7. sep. 2012 kl. 10:01 skrev "Enlightenment SVN" : > Log: > revert changes from last month to udev backend, seems to have broken things > probably fixes ticket #1304 > > > Author: discomfitor > Date: 2012-09-07 01:01:17 -0700 (Fri, 07 Sep 2012) > New Revision: 76285 > Trac: http://trac.enlightenment.org/e/changeset/76285 > > Modified: > trunk/e/src/modules/battery/e_mod_main.c > trunk/e/src/modules/battery/e_mod_udev.c > > Modified: trunk/e/src/modules/battery/e_mod_main.c > === > --- trunk/e/src/modules/battery/e_mod_main.c2012-09-07 07:44:20 UTC (rev > 76284) > +++ trunk/e/src/modules/battery/e_mod_main.c2012-09-07 08:01:17 UTC (rev > 76285) > @@ -302,9 +302,10 @@ >int charging = 0; > >int batnum = 0; > + int acnum = 0; > >EINA_LIST_FOREACH(device_ac_adapters, l, ac) > - if (ac->present) have_power++; > + if (ac->present) acnum++; > >EINA_LIST_FOREACH(device_batteries, l, bat) > { > @@ -312,6 +313,7 @@ > continue; > have_battery = 1; > batnum++; > +if (bat->charging == 1) have_power = 1; > if (full == -1) full = 0; > if (bat->percent >= 0) > full += bat->percent; > > Modified: trunk/e/src/modules/battery/e_mod_udev.c > === > --- trunk/e/src/modules/battery/e_mod_udev.c2012-09-07 07:44:20 UTC (rev > 76284) > +++ trunk/e/src/modules/battery/e_mod_udev.c2012-09-07 08:01:17 UTC (rev > 76285) > @@ -1,17 +1,15 @@ > #include "e.h" > #include "e_mod_main.h" > > -static void _battery_udev_event_battery(const char *syspath, > Eeze_Udev_Event event, void *data, Eeze_Udev_Watch *watch); > -static void _battery_udev_event_ac(const char *syspath, Eeze_Udev_Event > event, void *data, Eeze_Udev_Watch *watch); > -static void _battery_udev_battery_add(const char *syspath); > -static void _battery_udev_ac_add(const char *syspath); > -static void _battery_udev_battery_del(const char *syspath); > -static void _battery_udev_ac_del(const char *syspath); > -#if 0 > +static void _battery_udev_event_battery(const char *syspath, Eeze_Udev_Event > event, void *data, Eeze_Udev_Watch *watch); > +static void _battery_udev_event_ac(const char *syspath, Eeze_Udev_Event > event, void *data, Eeze_Udev_Watch *watch); > +static void _battery_udev_battery_add(const char *syspath); > +static void _battery_udev_ac_add(const char *syspath); > +static void _battery_udev_battery_del(const char *syspath); > +static void _battery_udev_ac_del(const char *syspath); > static Eina_Bool _battery_udev_battery_update_poll(void *data); > -#endif > -static void _battery_udev_battery_update(const char *syspath, Battery > *bat); > -static void _battery_udev_ac_update(const char *syspath, Ac_Adapter > *ac); > +static void _battery_udev_battery_update(const char *syspath, Battery *bat); > +static void _battery_udev_ac_update(const char *syspath, Ac_Adapter *ac); > > extern Eina_List *device_batteries; > extern Eina_List *device_ac_adapters; > @@ -61,9 +59,7 @@ > eina_stringshare_del(bat->technology); > eina_stringshare_del(bat->model); > eina_stringshare_del(bat->vendor); > -#if 0 > ecore_poller_del(bat->poll); > -#endif > free(bat); > } > } > @@ -113,11 +109,9 @@ > } >bat->last_update = ecore_time_get(); >bat->udi = eina_stringshare_add(syspath); > -#if 0 > - bat->poll = ecore_poller_add(ECORE_POLLER_CORE, > -battery_config->poll_interval, > -_battery_udev_battery_update_poll, bat); > -#endif > + bat->poll = ecore_poller_add(ECORE_POLLER_CORE, > +battery_config->poll_interval, > +_battery_udev_battery_update_poll, bat); >device_batteries = eina_list_append(device_batteries, bat); >_battery_udev_battery_update(syspath, bat); > } > @@ -161,9 +155,7 @@ >eina_stringshare_del(bat->technology); >eina_stringshare_del(bat->model); >eina_stringshare_del(bat->vendor); > -#if 0 >ecore_poller_del(bat->poll); > -#endif >free(bat); > } > > @@ -184,8 +176,7 @@ >free(ac); > } > > -#if 0 > -static Eina_Bool > +static Eina_Bool > _battery_udev_battery_update_poll(void *data) > { >_battery_udev_battery_update(NULL, data); > @@ -193,8 +184,6 @@ >return EINA_TRUE; > } > > -#endif > - > #define GET_NUM(TYPE, VALUE, PROP) test = > eeze_udev_syspath_get_property(TYPE->udi, #PROP); \ > do > \ > if (test) > \ > @@ -218,9 +207,7 @@ > return _battery_udev_battery_add(
Re: [E-devel] E SVN: discomfitor trunk/e/src/modules/battery
On Fri, 7 Sep 2012 22:01:47 +0200 Sebastian Dransfeld wrote: > I told you the patch was bad and needed improvement. But the basic idea to > get (dis)charge rate from udev is good. > > S. > > Den 7. sep. 2012 kl. 10:01 skrev "Enlightenment SVN" > : > > > Log: > > revert changes from last month to udev backend, seems to have broken things > > probably fixes ticket #1304 > > > > > > Author: discomfitor > > Date: 2012-09-07 01:01:17 -0700 (Fri, 07 Sep 2012) > > New Revision: 76285 > > Trac: http://trac.enlightenment.org/e/changeset/76285 > > > > Modified: > > trunk/e/src/modules/battery/e_mod_main.c > > trunk/e/src/modules/battery/e_mod_udev.c > > I did make some improvements, but not enough apparently. I agree that the idea is good, but I don't have time to debug it further right now. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/embryo/src/bin
On Fri, 7 Sep 2012 19:16:18 +0200 Vincent Torri said: > On Fri, Sep 7, 2012 at 12:12 PM, Enlightenment SVN > wrote: > > Log: > > vincent - try this on windows. > > seems to work : i reverted my changes, updated embryo, clean elm, build it : shit! crap. so it was the sign extension that was the problem. or more specifically things like 0xc2 and 0xa0 as a char (signed char) are actually negative values and thus become 0xffc2 etc. as ints since isspace and friends use ints. now here comes the issue. i think the linux ones handle these negative values correctly as they "expect" this kind of sign extending stuff coming from chars. and now i think windows doesn't. thus on linux it was skipping the utf8 seq as whitespace, but on windows it thought it was a real symbol/token. my macros simply avoid the sign extending into negative land and thus... make it work on windows. it was a guess based on the feedback you have given me (thanks very much for that - a bit frustrating to have to wait between guesses and poking around to see what's up - but hey - it's done and you did a great job!). nb - embryo didn't change or break in 1.7 - elm added edc src that happened to have such utf8 char seqs that are invisible. i could have taken the easy way and just re-edited that bit of the edc to remove it, but reality is we'd eventually hit this problem again, so we should fix it properly. :) > make[2]: Entering directory `/home/torri/svnroot/elementary/data/themes' > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default.edc \ > ../../data/themes/default.edj > C:/MinGW_PKG/msys/1.0/opt/efl/bin/edje_cc -id ../../data/themes -fd > ../../data/themes \ > ../../data/themes/default-desktop.edc \ > ../../data/themes/default-desktop.edj > make[3]: Entering directory `/home/torri/svnroot/elementary/data/themes' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/opt/efl/share/elementary/themes" || /bin/mkdir -p > "/opt/efl/share/elementary/themes" > /bin/install -c -m 644 default.edj default-desktop.edj > '/opt/efl/share/elementary/themes' > > so no problem, it seems. I execute elm_test (i have to set the engine > to gdi, though. Strange as, iirc, there is something automatic, now). > The window appear. > > thank you > > Vincent -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EET : Why this code is not printing any value in the list?
On Fri, 7 Sep 2012 12:10:25 -0300 Gustavo Sverzut Barbieri said: > On Friday, September 7, 2012, Carsten Haitzler wrote: > > > On Fri, 7 Sep 2012 15:47:51 +0100 Michael Blumenkrantz > > > said: > > > > > On Fri, 7 Sep 2012 18:00:48 +0530 > > > Dinesh Devaraj > wrote: > > > > > > > /* > > > > * File: FirstEet.c > > > > * Author: root > > > > * > > > > * Created on September 7, 2012, 6:39 PM > > > > */ > > > > > > > > #include > > > > #include > > > > #include > > > > #include > > > > > > > > /* > > > > * > > > > */ > > > > > > > > int main(int argc, char** argv) { > > > > > > > > eina_init(); > > > > eet_init(); > > > > > > > > //- Crating a new EET descriptor starts -// > > > > > > > > typedef struct { > > > > int Id; > > > > char *szName; > > > > Eina_List *label; > > > > Eina_Bool bGender; > > > > } PERSON; > > > > > > > > /* Step 01 : declaration of the description handle */ > > > > Eet_Data_Descriptor *des; > > > > /* Step 02 : declaration of the description class variable */ > > > > Eet_Data_Descriptor_Class eddc; > > > > /* Step 03 : initializing the description class including the > > > > * data structure to the description class */ > > > > EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, PERSON); > > > > /* Step 04 : registering the new description class to get the > > > > * description handle */ > > > > des = eet_data_descriptor_stream_new(&eddc); > > > > /* Step 05 : binding the members to the data description */ > > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "Id", Id, EET_T_INT); > > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "szName", szName, > > EET_T_STRING); > > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "bGender", bGender, > > EET_T_INT); > > > > EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "label", label, EET_G_LIST); > > > > > > > > /* Step 06 : declaring a variable to the data structure */ > > > > PERSON *Student; > > > > > > > > /* Step 07 : opening a EET file */ > > > > Eet_File *ef = eet_open("DesEet.eet", EET_FILE_MODE_READ_WRITE); > > > > > > > > int write = 1; > > > > /* Step 08 : write/read the data structure to the EET file */ > > > > if (write) { > > > > Student = (PERSON *) malloc(sizeof (PERSON)); > > > > Student->Id = 5; > > > > Student->szName = "SomeOne"; > > > > Student->bGender = 0; > > > > Student->label = NULL; > > > > Student->label = eina_list_append(Student->label, (void *) 0x73245); > > > > Student->label = eina_list_append(Student->label, (void *) 0x95324); > > > > Student->label = eina_list_append(Student->label, (void *) 0x13643); > > > > Student->label = eina_list_append(Student->label, (void *) 0x87142); > > > > Student->label = eina_list_append(Student->label, (void *) 0x59241); > > > > eet_data_write(ef, des, "ReFKey", Student, 0); > > > > } else { > > > > Student = eet_data_read(ef, des, "ReFKey"); > > > > printf(" > Id : %d\n", Student->Id); > > > > printf(" > Name : %s\n", Student->szName); > > > > printf(" > Gender : %d\n", Student->bGender); > > > > void *data; > > > > Eina_List *temp = NULL; > > > > EINA_LIST_FOREACH(Student->label, temp, data) > > > > printf("%p-", data); > > > > } > > > > > > > > /* Step 09 : close the EET file */ > > > > eet_close(ef); > > > > > > > > /* Step 10 : delete the description handle */ > > > > eet_data_descriptor_free(des); > > > > > > > > //- Crating a new EET descriptor ends -// > > > > > > > > eet_shutdown(); > > > > eina_shutdown(); > > > > return (EXIT_SUCCESS); > > > > } > > > > > > forwarding this one too... > > > > adding the basic type as a list wont do anything.. a list of WHAT? eet has > > no > > clue - a list of strings" of structs of what? you want to add a list of a > > sub > > type. look at edje or e17 as to how it does this (or elm). in fact this is > > documented in eet's docs! examples there! look at the nested example. it > > has a > > list. > > > > > geneet does all of this for u, just reached svn i saw yesterday. i didn't have time to look. :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Suggestion of additional feature to EET
On Fri, 7 Sep 2012 12:43:16 -0300 Gustavo Sverzut Barbieri said: > On Fri, Sep 7, 2012 at 12:40 PM, Cedric BAIL wrote: > > Cedric Bail > > On Sep 7, 2012 11:47 PM, "Michael Blumenkrantz" < > > michael.blumenkra...@gmail.com> wrote: > >> > >> On Fri, 7 Sep 2012 16:42:50 +0530 > >> Dinesh Devaraj wrote: > >> > >> > You may include a additional feature to add the data descriptor itself > > to > >> > EET file along with the data. > >> > > >> > Regards, > >> > D. Dinesh > >> > >> forwarding along to the list... > > > > Sorry, what is the idea here? > > trees? > > I never tried or remember this part of the code, but I don't see why > it wouldn't be possible. > > Like: Tree { Left: Tree, Right: Tree } i don't see why it wouldn't work right now if you defined a struct with pointers to itself in an made an eet data desc for it. as u say a left and right ptr pointing to itself and well some payload in the struct as you want SOMETHING useful there... (a string, an int, a set of ints, strings or what not) :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EET : Why this code is not printing any value in the list?
On Fri, Sep 7, 2012 at 4:47 PM, Michael Blumenkrantz wrote: > On Fri, 7 Sep 2012 18:00:48 +0530 > Dinesh Devaraj wrote: > >> /* >> * File: FirstEet.c >> * Author: root >> * >> * Created on September 7, 2012, 6:39 PM >> */ >> >> #include >> #include >> #include >> #include >> >> /* >> * >> */ >> >> int main(int argc, char** argv) { >> >> eina_init(); >> eet_init(); >> >> //- Crating a new EET descriptor starts -// >> >> typedef struct { >> int Id; >> char *szName; >> Eina_List *label; >> Eina_Bool bGender; >> } PERSON; >> >> /* Step 01 : declaration of the description handle */ >> Eet_Data_Descriptor *des; >> /* Step 02 : declaration of the description class variable */ >> Eet_Data_Descriptor_Class eddc; >> /* Step 03 : initializing the description class including the >> * data structure to the description class */ >> EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, PERSON); >> /* Step 04 : registering the new description class to get the >> * description handle */ >> des = eet_data_descriptor_stream_new(&eddc); >> /* Step 05 : binding the members to the data description */ >> EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "Id", Id, EET_T_INT); >> EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "szName", szName, EET_T_STRING); >> EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "bGender", bGender, EET_T_INT); >> EET_DATA_DESCRIPTOR_ADD_BASIC(des, PERSON, "label", label, EET_G_LIST); That one is really wrong. Actually I think I will patch eet_data to detect this non sense, not difficult and should be easier for people to understand what is going on. So you need to use : EET_DATA_DESCRIPTOR_ADD_LIST or EET_DATA_DESCRIPTOR_ADD_LIST_STRING (if you want a list of string). >> /* Step 06 : declaring a variable to the data structure */ >> PERSON *Student; >> >> /* Step 07 : opening a EET file */ >> Eet_File *ef = eet_open("DesEet.eet", EET_FILE_MODE_READ_WRITE); >> >> int write = 1; >> /* Step 08 : write/read the data structure to the EET file */ >> if (write) { >> Student = (PERSON *) malloc(sizeof (PERSON)); >> Student->Id = 5; >> Student->szName = "SomeOne"; >> Student->bGender = 0; >> Student->label = NULL; >> Student->label = eina_list_append(Student->label, (void *) 0x73245); >> Student->label = eina_list_append(Student->label, (void *) 0x95324); >> Student->label = eina_list_append(Student->label, (void *) 0x13643); >> Student->label = eina_list_append(Student->label, (void *) 0x87142); >> Student->label = eina_list_append(Student->label, (void *) 0x59241); That is not going to play well with eet. Eet is designed to manipulate real existing data. It doesn't save raw pointer as they will change from one context to another, it only save the actual data (the pointed data). So you need to put something real here. -- Cedric BAIL -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel