[EGIT] [core/enlightenment] master 04/09: support proxy settings provided by Connman.
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=67ca168f6f6adefb41cc5ca3d7b4e1d857522e33 commit 67ca168f6f6adefb41cc5ca3d7b4e1d857522e33 Author: Leif Middelschulte <leif.middelschu...@klsmartin.com> Date: Tue Sep 26 12:26:18 2017 -0400 support proxy settings provided by Connman. Summary: This implements support for Connman's proxy configuration. The 'all_proxy', 'http_proxy', 'https_proxy' environment variables are set to the first value of the 'proxy_servers' set. The 'no_proxy' environment variable is set to a concatenated string of all the 'proxy_exclude' values. Reviewers: zmike! Subscribers: cedric Maniphest Tasks: T5442 Differential Revision: https://phab.enlightenment.org/D4833 modified by zmike --- src/modules/connman/e_connman.c | 87 + 1 file changed, 87 insertions(+) diff --git a/src/modules/connman/e_connman.c b/src/modules/connman/e_connman.c index fb6fcf959..464a578c2 100644 --- a/src/modules/connman/e_connman.c +++ b/src/modules/connman/e_connman.c @@ -196,6 +196,93 @@ static void _service_parse_prop_changed(struct Connman_Service *cs, _dbus_str_array_to_eina(value, >security, 2); DBG("New security count: %d", eina_array_count(cs->security)); } + else if (strcmp(prop_name, "Proxy") == 0) + { + Eldbus_Message_Iter* proxy_dict = NULL; + const char* method = "direct"; + Eina_Array *proxy_servers = NULL, *proxy_excludes = NULL; + Eldbus_Message_Iter* proxy_dict_entry = NULL; + + // 'Proxy': {'Excludes': [], 'Method': 'manual', 'Servers': []} + if (!eldbus_message_iter_arguments_get(value, "a{sv}", _dict)) +{ + ERR("Error getting arguments."); + return; +} + + while (eldbus_message_iter_get_and_next(proxy_dict, 'e', + _dict_entry)) +{ + Eldbus_Message_Iter* proxy_dict_entry_val = NULL; + char* proxy_dict_entry_key = NULL; + if (!eldbus_message_iter_arguments_get(proxy_dict_entry, "sv", + _dict_entry_key, + _dict_entry_val)) + continue; + if (strcmp(proxy_dict_entry_key, "Excludes") == 0) + { + _dbus_str_array_to_eina(proxy_dict_entry_val, _excludes, 4); + } + else if (strcmp(proxy_dict_entry_key, "Method") == 0) + { + EINA_SAFETY_ON_FALSE_RETURN(eldbus_message_iter_arguments_get( + proxy_dict_entry_val, "s", )); + } + else if (strcmp(proxy_dict_entry_key, "Servers") == 0) + { + _dbus_str_array_to_eina(proxy_dict_entry_val, _servers, 4); + } +} + + if (strcmp(method, "manual") == 0) +{ + if (eina_array_count(proxy_servers) > 0) + { + DBG("New {all,http{,s}}_proxy: %s", + (const char*)eina_array_data_get(proxy_servers, 0)); + e_env_set("all_proxy", eina_array_data_get(proxy_servers, 0)); + e_env_set("http_proxy", eina_array_data_get(proxy_servers, 0)); + e_env_set("https_proxy", eina_array_data_get(proxy_servers, 0)); + } + if (eina_array_count(proxy_excludes) > 0) + { + char buf[256], concatinated_proxy_exceptions[256]; + size_t concatinated_string_length; + concatinated_proxy_exceptions[0] = '\0'; + for (unsigned int i = 0; i < eina_array_count(proxy_excludes); i++) +{ + snprintf(buf, (sizeof(buf) - 1), "%s ", + (const char*)eina_array_data_get(proxy_excludes, i)); + concatinated_string_length = eina_strlcat(concatinated_proxy_exceptions, buf, + sizeof(concatinated_proxy_exceptions)); +} + if ((concatinated_string_length < sizeof(concatinated_proxy_exceptions)) && (concatinated_string_length > 0)) +{ + concatinated_proxy_exceptions[concatinated_string_length - 1] = '\0'; +} + DBG("New no_proxy: %s", (const char*)concatinated_proxy_exceptions); + e_env_set("no_proxy", concatinated_proxy_exceptions); +
Re: [E-devel] build system
Hi, I'd be in favour of Mesonbuild. - It's main developer is very responsive and already provided modules for qt and gnome, which both require certain facilities we do need too (e.g. resource compilers). - It uses a DSL that makes it *very* straight forward to use. - It has a concept called "wrapping". It allows embedding so-called "subprojects", which can be synonymous with dependencies (https://github.com/mesonbuild/meson/wiki/Wrap%20dependency%20system%20manual) and be handy on non-package-centric OSes. Furthermore do they provide a wrap-db (https://github.com/mesonbuild/meson/wiki/Using%20the%20WrapDB) so developers could simply reference the respective wrap (i.e. efl) as a dependency. - Generates Clang completion database There's a guide for porting from Autotools (https://github.com/mesonbuild/meson/wiki/Porting-from-autotools). Just my 2 cents, cheers, Leif 2017-01-16 4:18 GMT+01:00 Vincent Torri: > Hey > > On Mon, Jan 16, 2017 at 3:30 AM, Carsten Haitzler > wrote: >> >> So given that.. what do we do? Options: >> >> * A shell script to replace configure + gen a Makefile.cfg & include from >> our >> Makefile(s) >> * CMake >> * KConfig >> * Scons >> * Waf >> * Meson >> * Ninja >> * Jam > > if I would have to choose : gmake + hand-written Makefile's, because > most people know shell and make rules. Building big projects is > feasible: see ffmpeg. > > about benchmark of some build systems : > http://retropaganda.info/~bohan/devel/wonderbuild/benchmarks/time.xml That's interesting, thanks for sharing. Unfortunately, Mesonbuild is missing. > > Vincent > > -- > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Detorious theme not working
2017-01-10 14:02 GMT+01:00 Stephen Houston: > The quick answer is no. None of the themes currently available in Extra are > complete. Though Arc is probably the closest. There's also a light version of the arc theme by now. See https://github.com/LeBlue/enlightenment-arc-theme Cheers, Leif > > On Tue, Jan 10, 2017, 5:55 AM Andrew Williams wrote: > >> Hi, >> >> I was trying to use some themes and I found that detorious is no longer >> working: >> >> ERR<3420>:edje lib/edje/edje_calc.c:756 _edje_part_description_apply() >> Cannot find description "icononly" in part "elm.text" from group >> "elm/button/base/default". Fallback to default description. >> >> Is anyone maintaining the themes in our git repo? >> >> Thanks, >> Andrew >> -- >> http://andywilliams.me >> http://ajwillia.ms >> >> -- >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> ___ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > -- > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] OpenInfotainment Raspberry Pi 2 Port
Hey Cedric, > Am 08.04.2016 um 22:19 schrieb Cedric BAIL: > > Hello, > > On Fri, Apr 8, 2016 at 11:59 AM, Andreas Volz wrote: >> as I'm so happy I managed to port my OpenInfotainment In-Car prototype >> software to Raspberry Pi 2 here are some photos: >> >> https://drive.google.com/folderview?id=0B3wpqTeeGOAHUVlOT3VuMmdyeWc=sharing >> >> Everything depends on EFL and E20 itself. All processes are connected >> with DBus. I used libosmscout for the navigation map and cairo in an >> evas canvas to draw it. The GUI CPU load of the prototype is ok for >> the Raspi, so I could continue with the feature development. :-) > > That's cool. Maybe that will get someone motivated to actually finish > eglfs support for RPi :-) What's the state here? I know somebody who might be interested. How complex, do you think, is the remaining work? Cheers, Leif > > Is your code open ? I was wondering how you use cairo and if evas > vector graphics could actually help you there. Evas vector graphics > API is still in development, so there is still bugs there, but we do > already have better performance in software than cairo in many case > and I am very interested to see new use of it. Well, actually I would > love to see Elementary map widget have a backend that use Evas vector > graphics to draw the map, which is why I ask question here to figure > out how much work it could be :-) > >> If you're interested I'll keep you informed about the state of this >> project on the list here. > > Sure don't hesitate to keep us updated. > > Cedric > > -- > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ > gampad/clk?id=1444514301=/ca-pub-7940484522588532 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301=/ca-pub-7940484522588532 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] UI syntax, letter 2
> Am 09.03.2016 um 15:26 schrieb Tom Hacohen <t...@osg.samsung.com>: > > On 08/03/16 18:14, Leif Middelschulte wrote: >> Hey, >> >> this is more of a question/feature request. Do you consider constraints >> definition compatible to Cassowary[0] (Apple speak: auto-layout) yet? >> An example of how such constraint definition could look like can be found in >> the following DSL: https://github.com/s4cha/Stevia >> >> Would be nice to have that considered (reserved keywords, etc.). >> > > You love mentioning this one. :P Sure I do. Qt and others already have integration. Thus layouts working with iOS (autolayout) also work with Qt :-O > > > This is out of scope. This language is a description language for > describing eo objects. Ah, the subject of this thread is "UI syntax", so I thought it was about a User Interface description DSL syntax. Maybe it just got me confused then ;-) > It is not a constraint solver or a layout engine. Sure, but the language discussed on this thread will be a replacement for edje's DSL, thus should contain keywords to configure bob (the future layout engine)? > For that we'll need bob, where I think this is a much needed feature. Well afaii, bob would be an implementation of Cassowary for Evas_Objects, wouldn't it? > > -- > Tom. Cheers, Leif > > > -- > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] UI syntax, letter 2
Hey, this is more of a question/feature request. Do you consider constraints definition compatible to Cassowary[0] (Apple speak: auto-layout) yet? An example of how such constraint definition could look like can be found in the following DSL: https://github.com/s4cha/Stevia Would be nice to have that considered (reserved keywords, etc.). Cheers, Leif [0] http://www.cs.washington.edu/research/constraints/cassowary/ > Am 08.03.2016 um 17:14 schrieb Yakov Goldberg: > > Hello everyone, > I had discussions with Tom and as a result updated wiki page. > > You can find it here: > https://phab.enlightenment.org/w/ui_builders_format/ > > > Most things are clear there are several questions to be discussed: > > * fixed indentation (4 spaces) or not fixed > * Widget vs Elm.Widget: all widgets - are they Elm Widgets only and thus > "Elm" can be skipped or we want to use namespace > * button vs Button: starts with capital letter? > * callbacks format - options: > Button() > on clicked("callback_name") > on("clicked", "callback_name") > > #and whether allow or not property modification and object creations in > callbacks: > on("clicked", "callback_name", box_1.visible = true, #and more ui > updates) > on clicked,double(box_1.visible = true) > on clicked,double(create ("window_2", null)) > > * snippets support - please read in wiki > https://phab.enlightenment.org/w/ui_builders_format/#snippets > > > Regards > Yakov > > > -- > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] EFL and friends on Mac OS/(home)brew
Hey there, I created formulas for Mac OS' Homebrew (http://brew.sh http://brew.sh/) package manager of version 1.14.0 of the following components: - efl - elementary - evas generic loaders The efl formula has optional flags for x11 and docs using homebrew's --with-.. parameter. Have fun testing them, Leif signature.asc Description: Message signed with OpenPGP using GPGMail -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] libtiff: mandatory - optional?
Hi, while packaging efl and friends for Mac OS, I noticed that it depends on libtiff, mandatorily. Does that still make sense? Cheers, Leif -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] HELP WANTED: Distro/platform packaging status of efl and E
Am 09.04.2015 um 12:35 schrieb Stefan Schmidt ste...@datenfreihafen.org: Hello. On 09/04/15 12:29, Leif Middelschulte wrote: Am 09.04.2015 um 11:22 schrieb Stefan Schmidt ste...@datenfreihafen.org: Hello. On 09/04/15 10:47, Tom Hacohen wrote: On 09/04/15 01:14, Carsten Haitzler (The Rasterman) wrote: On Wed, 08 Apr 2015 12:31:13 +0100 Tom Hacohen tom.haco...@samsung.com said: On 08/04/15 11:26, thomasg wrote: On Wed, Apr 8, 2015 at 11:27 AM, Tom Hacohen tom.haco...@samsung.com wrote: On 08/04/15 10:20, Stefan Schmidt wrote: Hello. At the EFL Dev Day US during the talk from Lars he brought up the point that EFL is heavily outdated in many distros and platforms. While I instantly agree to this I wondered how bad it really is. I think as a developer as well as a user it makes sense for us to know what versions of EFL and friends are packaged in which distros and platforms. Thus I started to pull together a wiki page for it. https://phab.enlightenment.org/w/packaging_status/ Its a tedious work and I only started today. Feel free to jump in and update the links and versions for your beloved distro. Please go with main package repositories first. You can add a line for a overlay/ppa if it is well maintained. When filling a new field please add the link as you can already see in existing entries. That way we have a page where we can easily look for the latest versions and update. My plan is to fill in more items over time (hoping for some crowdsourcing here) and run a quick update of versions numbers once a month (already set a calendar entry for it). I wrote latest for every package of Arch. It's too crazy to maintain it for Arch, and it's always up to date anyway. If it's too crazy to update a wiki page, no wonder the maintainers might find it crazy to do up-to-date packaging :P It's too crazy for us to maintain 2000 boxes of a table. :) Yes btw, we release too often nowadays (the micro releases), and it's becoming more and more annoying to stay up to date, and I think that's why Arch has been so slow recently with micro releases for the efl. look at: https://www.enlightenment.org/doku.php?id=download-latest look at the top - it's a bunch of variables for version of that package. that's it. url and label is generates from the vars. just update those vars at release of anything (add more vars and table entries when new stuff is being released that wasn't before). I'm talking about two things: 1. Maintaining the 2000 cells of the table. You have to check the distro's websites (or script it, and then it's fine) in order to update those. Your approach doesn't matter there. Its easy to make it sounding scarry when using factor 10. Its actually 231 cells. Not all of them need to be updated. If someone wants to script this I would be happy. Given that I do not see this happening I will do it manually and see how this goes. https://phab.enlightenment.org/P116 https://phab.enlightenment.org/P116 https://phab.enlightenment.org/P116 https://phab.enlightenment.org/P116 php script fetches the current arch linux package version of the efl. I also wrote a bash script (https://phab.enlightenment.org/P115 https://phab.enlightenment.org/P115 https://phab.enlightenment.org/P115 https://phab.enlightenment.org/P115) that creates a transparent .png since that might be easier to include in the wiki. Cool. Are you willing to extend this script to work for all listed distros in the wiki? Arch alone does not bring me much but if we can cover a lot more distros and generate the table for it that would help. Even if I had to do some updates on my own. I've changed the script. It's written in python now and currently scraps the version information for: arch, ubuntu, debian, fedora, elive, openSuSE 13.2, gentoo, Tizen: Common Others can be easily added. Maybe add a link to the script in the wiki page? Cheers, Leif regards Stefan Schmidt -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel signature.asc Description: Message signed with OpenPGP using GPGMail -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com
Re: [E-devel] HELP WANTED: Distro/platform packaging status of efl and E
Am 09.04.2015 um 11:22 schrieb Stefan Schmidt ste...@datenfreihafen.org: Hello. On 09/04/15 10:47, Tom Hacohen wrote: On 09/04/15 01:14, Carsten Haitzler (The Rasterman) wrote: On Wed, 08 Apr 2015 12:31:13 +0100 Tom Hacohen tom.haco...@samsung.com said: On 08/04/15 11:26, thomasg wrote: On Wed, Apr 8, 2015 at 11:27 AM, Tom Hacohen tom.haco...@samsung.com wrote: On 08/04/15 10:20, Stefan Schmidt wrote: Hello. At the EFL Dev Day US during the talk from Lars he brought up the point that EFL is heavily outdated in many distros and platforms. While I instantly agree to this I wondered how bad it really is. I think as a developer as well as a user it makes sense for us to know what versions of EFL and friends are packaged in which distros and platforms. Thus I started to pull together a wiki page for it. https://phab.enlightenment.org/w/packaging_status/ Its a tedious work and I only started today. Feel free to jump in and update the links and versions for your beloved distro. Please go with main package repositories first. You can add a line for a overlay/ppa if it is well maintained. When filling a new field please add the link as you can already see in existing entries. That way we have a page where we can easily look for the latest versions and update. My plan is to fill in more items over time (hoping for some crowdsourcing here) and run a quick update of versions numbers once a month (already set a calendar entry for it). I wrote latest for every package of Arch. It's too crazy to maintain it for Arch, and it's always up to date anyway. If it's too crazy to update a wiki page, no wonder the maintainers might find it crazy to do up-to-date packaging :P It's too crazy for us to maintain 2000 boxes of a table. :) Yes btw, we release too often nowadays (the micro releases), and it's becoming more and more annoying to stay up to date, and I think that's why Arch has been so slow recently with micro releases for the efl. look at: https://www.enlightenment.org/doku.php?id=download-latest look at the top - it's a bunch of variables for version of that package. that's it. url and label is generates from the vars. just update those vars at release of anything (add more vars and table entries when new stuff is being released that wasn't before). I'm talking about two things: 1. Maintaining the 2000 cells of the table. You have to check the distro's websites (or script it, and then it's fine) in order to update those. Your approach doesn't matter there. Its easy to make it sounding scarry when using factor 10. Its actually 231 cells. Not all of them need to be updated. If someone wants to script this I would be happy. Given that I do not see this happening I will do it manually and see how this goes. https://phab.enlightenment.org/P116 https://phab.enlightenment.org/P116 php script fetches the current arch linux package version of the efl. I also wrote a bash script (https://phab.enlightenment.org/P115 https://phab.enlightenment.org/P115) that creates a transparent .png since that might be easier to include in the wiki. cheers, Leif 2. Building new EFL packages. Building a newer version is easy, that's not the problem. The problem is testing. At our current rate, if maintainers follow our releases they need to build and *test* packages way too often, and testing takes time. From what current rate do you talk here? We have two stable updates for 1.13 which out for two months. That sounds like we are still having one stable update per months on average. Which is more or less what we had all the time. Around 3-4 stable updates per major release. A month is not enough time to update a package? I try to not have to many of them (my initial goal has been 4-5 but I decreased this over time) but they are essentially bug fixes which we should offer our users. If you take 1.13.2 as example there was a evas use after free fix which was tracked for a long time and it was asked by the user to make a stable update with this. So in summary it means balancing the needs of updates and reducing the amount of updates we do. I think one stable update per month on average is good. regards Stefan Schmidt -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [E-devel] Exterminator - Simple Task Manager in Elementary
Hi Jeff, Cool to see this! Would be great if it has a column for power usage too. The consumption in average and at the moment. Because that's what matters if you're on the road with your laptop and need to save some battery to keep working. Maybe have a look at powertop's code for help? Cheers, Leif Am 24.02.2015 um 20:27 schrieb Jeff Hoogland jeffhoogl...@linux.com: Spent last night cleaning up some code I started last year. Simple, functional, task manager - Exterminator: http://jeffhoogland.github.io/Exterminator/ -- ~Jeff Hoogland http://jeffhoogland.com/ My Projects on GitHub https://github.com/JeffHoogland -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL and friends 1.13.0 alpha 1
Hi, I (tried to) compile(d) efl and elm on Mac OS Yosemite. Here's a little feedback. EFL: It seems that src/lib/ecore_cocoa/ecore_cocoa_window.h is missing in the tarball and thus compilation fails on Mac OS when enabling the cocoa backend. Anyway, I attached a formula for the efl package for Mac OS' homebrew package manager. It works with the linked packages. Once a new package containing the missing file is available, the embedded patch can be removed from the brew formula. Elementary: Compilation fails with the message below. == ./configure --disable-silent-rules --prefix=/usr/local/Cellar/elementary/1.13.0-alpha1 == make install Making install in src Making install in lib make[2]: *** No rule to make target `elm_access.eo.c', needed by `install'. Stop. make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 I'm using Clang: 6.0 build 600 I haven't tried the generic loaders/players yet. I will do so once elm succeeds to compile. BR, Leif # Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md #/usr/local/Library/Contributions/example-formula.rb # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! class Efl Formula homepage efl url http://download.enlightenment.org/rel/libs/efl/efl-1.13.0-alpha1.tar.gz; version 1.13.0-alpha1 sha1 82db0fec8040d372684e5a5fd88e173cd1338650 # depends_on cmake = :build depends_on :x11 # if your formula requires any X11/XQuartz components depends_on 'luajit' depends_on 'fribidi' depends_on 'giflib' depends_on 'gstreamer' depends_on 'gst-plugins-good' depends_on 'dbus' depends_on 'pulseaudio' depends_on 'bullet' patch :DATA def install ENV['PKG_CONFIG'] = /usr/local/bin/pkg-config ENV['PKG_CONFIG_PATH'] = /usr/local/lib/pkgconfig/ # ENV.deparallelize # if your formula fails when building in parallel # Remove unrecognized options if warned by configure system ./configure, --disable-debug, --disable-dependency-tracking, --disable-silent-rules, --enable-cocoa, --prefix=#{prefix} # system cmake, ., *std_cmake_args system make, install # if this fails, try separate make/make install steps end test do # `test do` will create, run in and delete a temporary directory. # # This test will fail and we won't accept that! It's enough to just replace # false with the main program this formula installs, but it'd be nice if you # were more thorough. Run the test with `brew test efl`. Options passed # to `brew install` such as `--HEAD` also need to be provided to `brew test`. # # The installed folder is not in the path, so use the entire path to any # executables being tested: `system #{bin}/program, do, something`. system false end end __END__ --- /dev/null +++ b/src/lib/ecore_cocoa/ecore_cocoa_window.h @@ -0,0 +1,24 @@ +#import Foundation/Foundation.h +#import AppKit/AppKit.h + +@interface EcoreCocoaWindow : NSWindow + +@property void *ecore_window_data; + +- (id) initWithContentRect: (NSRect) contentRect + styleMask: (unsigned int) aStyle + backing: (NSBackingStoreType) bufferingType + defer: (BOOL) flag; + + +- (BOOL)isFullScreen; + +- (BOOL)acceptsFirstResponder; + +- (BOOL)canBecomeKeyWindow; + +- (void)windowWillClose:(NSNotification *) notification; + +- (void)windowDidResize:(NSNotification *) notification; + +@end Am 12.01.2015 um 15:00 schrieb Stefan Schmidt ste...@datenfreihafen.org: A bunch of fresh new tarballs with our latest work waiting for your testing before we can go into the final stages of releases. = EFL, Elementary and friends 1.13 alpha tarballs = The merge window for 1.13 closed today which means it is time for an alpha tarball of what we have been working on over the last two months. You can find the generated NEWS file content below. They might get updated over the next weeks before the final release but still should give you a rough idea what this release will bring you. == Download == Its getting a long post so the most important stuff upfront. Downloads. :-) http://download.enlightenment.org/rel/libs/efl/efl-1.13.0-alpha1.tar.gz 424cdde596c977e18350e0d82397525c2b42f51ae044ddd1c68c7bcd3d51544f http://download.enlightenment.org/rel/libs/elementary/elementary-1.13.0-alpha1.tar.gz 8bbb4561cf0addbdb77ab4764350bbdcb99680dd87a21af6d8c3a34a99d94ca2 http://download.enlightenment.org/rel/libs/emotion_generic_players/emotion_generic_players-1.13.0-alpha1.tar.gz e3e18684656d8d8734205700d67e88e77c477857e79a396d15ff242f7edf http://download.enlightenment.org/rel/libs/evas_generic_loaders/evas_generic_loaders-1.13.0-alpha1.tar.gz cb23e3c96e570704e16ec7bf768a01ffd2e3707f3a17a3dff5b89753f44cc070 = What's New = == EFL == Features: * Edje: Set
[EGIT] [core/enlightenment] master 01/01: ibar: Fix additional actions and seperator placement.
raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=416aaa978d89f6ee1a2c464bd0406cc44f9e5a9a commit 416aaa978d89f6ee1a2c464bd0406cc44f9e5a9a Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Wed Dec 3 18:14:23 2014 +0900 ibar: Fix additional actions and seperator placement. Summary: This moves the additional actions to the top of the menu and the seperator right underneath. Reviewers: zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1694 --- src/modules/ibar/e_mod_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index b0b67a8..9613ad2 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1639,6 +1639,7 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS if (ic-app-actions) { + mi = NULL; EINA_LIST_FOREACH(ic-app-actions, it, action) { mi = e_menu_item_new_relative(m, mi); @@ -1646,7 +1647,7 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS e_util_menu_item_theme_icon_set(mi, action-icon); e_menu_item_callback_set(mi, _ibar_cb_menu_icon_action_exec, action); } - mi = e_menu_item_new(m); + mi = e_menu_item_new_relative(m, mi); e_menu_item_separator_set(mi, 1); } --
Re: [E-devel] [EGIT] [core/enlightenment] master 01/01: Implement FreeDesktop .deskop Additional Actions menu
Am 25.11.2014 um 01:13 schrieb Leif Middelschulte leif.middelschu...@gmail.com: Hi, Am 24.11.2014 um 22:44 schrieb Davide Andreoli d...@gurumeditation.it mailto:d...@gurumeditation.it: 2014-11-24 19:33 GMT+01:00 Leif Middelschulte leif.middelschu...@gmail.com mailto:leif.middelschu...@gmail.com : discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=6a92676cf805eeae0df1c90dc79530102c8d7fd2 http://git.enlightenment.org/core/enlightenment.git/commit/?id=6a92676cf805eeae0df1c90dc79530102c8d7fd2 commit 6a92676cf805eeae0df1c90dc79530102c8d7fd2 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Mon Nov 24 13:33:02 2014 -0500 Implement FreeDesktop .deskop Additional Actions menu Summary: This implements the additional actions as specified in FreeDesktop.org's desktop entry specification 1.1. This version is implemented by Efreet 1.12 The additional actions are presented as right-click menu entries. Fantastic feature, really, I love it!! Included yet in my media center :) glad you like it too :) But I'm not sure the items are placed correctly inside the menu, see the shot: http://www.imgbin.org/index.php?page=imageid=21048 http://www.imgbin.org/index.php?page=imageid=21048 are the Additionals in the right position? why a separator is on the bottom? you’re right. The code is a bit odd. The shelf seems to shove menu items into a module sub menu. The code works around it but, as you pointed out, still has flaws (the separator and placement underneath the symbol entry). Leftovers from the first attempt, when I didn’t know about the „weird“ behavior. Anyway, fixed and waiting for review: https://phab.enlightenment.org/D1694 https://phab.enlightenment.org/D1694I updated the Differential revision to only prepend once and append relatively subsequently so the code is easier readable. Afaics it’s fine now. @feature Reviewers: zmike Subscribers: tasn, q66, cedric Differential Revision: https://phab.enlightenment.org/D1657 https://phab.enlightenment.org/D1657 --- src/modules/ibar/e_mod_main.c | 24 1 file changed, 24 insertions(+) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 3f7f8a0..e583658 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -111,6 +111,7 @@ static void _ibar_sep_create(IBar *b); static void _ibar_icon_signal_emit(IBar_Icon *ic, char *sig, char *src); static void _ibar_cb_app_change(void *data, E_Order *eo); static void _ibar_cb_obj_moveresize(void *data, Evas *e, Evas_Object *obj, void *event_info); +static void _ibar_cb_menu_icon_action_exec(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_new(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_add(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_properties(void *data, E_Menu *m, E_Menu_Item *mi); @@ -1043,6 +1044,13 @@ _ibar_cb_obj_moveresize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE } static void +_ibar_cb_menu_icon_action_exec(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) +{ + Efreet_Desktop_Action *action = (Efreet_Desktop_Action*)data; + e_exec(NULL, NULL, action-exec, NULL, ibar); +} + +static void _ibar_cb_menu_icon_new(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) { if (!e_configure_registry_exists(applications/new_application)) return; @@ -1558,8 +1566,10 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS } else if (ev-button == 3) { +Eina_List *it; E_Menu *m, *mo; E_Menu_Item *mi; +Efreet_Desktop_Action *action; char buf[256]; int cx, cy; @@ -1626,6 +1636,20 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS mi); e_menu_item_submenu_set(mi, mo); e_object_unref(E_OBJECT(mo)); + +if (ic-app-actions) + { + EINA_LIST_FOREACH(ic-app-actions, it, action) + { + mi = e_menu_item_new_relative(m, mi); + e_menu_item_label_set(mi, action-name); + e_util_menu_item_theme_icon_set(mi, action-icon); + e_menu_item_callback_set(mi, _ibar_cb_menu_icon_action_exec, action); + } + mi = e_menu_item_new(m); + e_menu_item_separator_set(mi, 1); + } + e_gadcon_client_menu_set(ic-ibar-inst-gcc, m); e_gadcon_canvas_zone_geometry_get(ic-ibar-inst-gcc-gadcon, -- -- Download BIRT iHub F
[EGIT] [core/enlightenment] master 01/01: Implement FreeDesktop .deskop Additional Actions menu
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=6a92676cf805eeae0df1c90dc79530102c8d7fd2 commit 6a92676cf805eeae0df1c90dc79530102c8d7fd2 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Mon Nov 24 13:33:02 2014 -0500 Implement FreeDesktop .deskop Additional Actions menu Summary: This implements the additional actions as specified in FreeDesktop.org's desktop entry specification 1.1. This version is implemented by Efreet 1.12 The additional actions are presented as right-click menu entries. @feature Reviewers: zmike Subscribers: tasn, q66, cedric Differential Revision: https://phab.enlightenment.org/D1657 --- src/modules/ibar/e_mod_main.c | 24 1 file changed, 24 insertions(+) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 3f7f8a0..e583658 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -111,6 +111,7 @@ static void _ibar_sep_create(IBar *b); static void _ibar_icon_signal_emit(IBar_Icon *ic, char *sig, char *src); static void _ibar_cb_app_change(void *data, E_Order *eo); static void _ibar_cb_obj_moveresize(void *data, Evas *e, Evas_Object *obj, void *event_info); +static void _ibar_cb_menu_icon_action_exec(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_new(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_add(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_properties(void *data, E_Menu *m, E_Menu_Item *mi); @@ -1043,6 +1044,13 @@ _ibar_cb_obj_moveresize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE } static void +_ibar_cb_menu_icon_action_exec(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) +{ + Efreet_Desktop_Action *action = (Efreet_Desktop_Action*)data; + e_exec(NULL, NULL, action-exec, NULL, ibar); +} + +static void _ibar_cb_menu_icon_new(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) { if (!e_configure_registry_exists(applications/new_application)) return; @@ -1558,8 +1566,10 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS } else if (ev-button == 3) { +Eina_List *it; E_Menu *m, *mo; E_Menu_Item *mi; +Efreet_Desktop_Action *action; char buf[256]; int cx, cy; @@ -1626,6 +1636,20 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS mi); e_menu_item_submenu_set(mi, mo); e_object_unref(E_OBJECT(mo)); + +if (ic-app-actions) + { + EINA_LIST_FOREACH(ic-app-actions, it, action) + { + mi = e_menu_item_new_relative(m, mi); + e_menu_item_label_set(mi, action-name); + e_util_menu_item_theme_icon_set(mi, action-icon); + e_menu_item_callback_set(mi, _ibar_cb_menu_icon_action_exec, action); + } + mi = e_menu_item_new(m); + e_menu_item_separator_set(mi, 1); + } + e_gadcon_client_menu_set(ic-ibar-inst-gcc, m); e_gadcon_canvas_zone_geometry_get(ic-ibar-inst-gcc-gadcon, --
Re: [E-devel] [EGIT] [core/enlightenment] master 01/01: Implement FreeDesktop .deskop Additional Actions menu
Hi, Am 24.11.2014 um 22:44 schrieb Davide Andreoli d...@gurumeditation.it: 2014-11-24 19:33 GMT+01:00 Leif Middelschulte leif.middelschu...@gmail.com mailto:leif.middelschu...@gmail.com : discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=6a92676cf805eeae0df1c90dc79530102c8d7fd2 commit 6a92676cf805eeae0df1c90dc79530102c8d7fd2 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Mon Nov 24 13:33:02 2014 -0500 Implement FreeDesktop .deskop Additional Actions menu Summary: This implements the additional actions as specified in FreeDesktop.org's desktop entry specification 1.1. This version is implemented by Efreet 1.12 The additional actions are presented as right-click menu entries. Fantastic feature, really, I love it!! Included yet in my media center :) glad you like it too :) But I'm not sure the items are placed correctly inside the menu, see the shot: http://www.imgbin.org/index.php?page=imageid=21048 http://www.imgbin.org/index.php?page=imageid=21048 are the Additionals in the right position? why a separator is on the bottom? you’re right. The code is a bit odd. The shelf seems to shove menu items into a module sub menu. The code works around it but, as you pointed out, still has flaws (the separator and placement underneath the symbol entry). Leftovers from the first attempt, when I didn’t know about the „weird“ behavior. Anyway, fixed and waiting for review: https://phab.enlightenment.org/D1694 https://phab.enlightenment.org/D1694 @feature Reviewers: zmike Subscribers: tasn, q66, cedric Differential Revision: https://phab.enlightenment.org/D1657 --- src/modules/ibar/e_mod_main.c | 24 1 file changed, 24 insertions(+) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 3f7f8a0..e583658 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -111,6 +111,7 @@ static void _ibar_sep_create(IBar *b); static void _ibar_icon_signal_emit(IBar_Icon *ic, char *sig, char *src); static void _ibar_cb_app_change(void *data, E_Order *eo); static void _ibar_cb_obj_moveresize(void *data, Evas *e, Evas_Object *obj, void *event_info); +static void _ibar_cb_menu_icon_action_exec(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_new(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_add(void *data, E_Menu *m, E_Menu_Item *mi); static void _ibar_cb_menu_icon_properties(void *data, E_Menu *m, E_Menu_Item *mi); @@ -1043,6 +1044,13 @@ _ibar_cb_obj_moveresize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE } static void +_ibar_cb_menu_icon_action_exec(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) +{ + Efreet_Desktop_Action *action = (Efreet_Desktop_Action*)data; + e_exec(NULL, NULL, action-exec, NULL, ibar); +} + +static void _ibar_cb_menu_icon_new(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) { if (!e_configure_registry_exists(applications/new_application)) return; @@ -1558,8 +1566,10 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS } else if (ev-button == 3) { +Eina_List *it; E_Menu *m, *mo; E_Menu_Item *mi; +Efreet_Desktop_Action *action; char buf[256]; int cx, cy; @@ -1626,6 +1636,20 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS mi); e_menu_item_submenu_set(mi, mo); e_object_unref(E_OBJECT(mo)); + +if (ic-app-actions) + { + EINA_LIST_FOREACH(ic-app-actions, it, action) + { + mi = e_menu_item_new_relative(m, mi); + e_menu_item_label_set(mi, action-name); + e_util_menu_item_theme_icon_set(mi, action-icon); + e_menu_item_callback_set(mi, _ibar_cb_menu_icon_action_exec, action); + } + mi = e_menu_item_new(m); + e_menu_item_separator_set(mi, 1); + } + e_gadcon_client_menu_set(ic-ibar-inst-gcc, m); e_gadcon_canvas_zone_geometry_get(ic-ibar-inst-gcc-gadcon, -- -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
Re: [E-devel] [EGIT] [apps/econnman] master 01/01: Refactor pnac config into a class and separate module
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 16.07.2014 10:53, schrieb Kai Huuhko: kuuko pushed a commit to branch master. http://git.enlightenment.org/apps/econnman.git/commit/?id=80b83a2e2805ebedce3a710d79dde511d5dbc0d2 commit 80b83a2e2805ebedce3a710d79dde511d5dbc0d2 Author: Kai Huuhko kai.huu...@gmail.com Date: Wed Jul 16 11:46:47 2014 +0300 Refactor pnac config into a class and separate module This breaks econnman-bin. The module isn't installed and therefore not found :-/ Regards, Leif This will make it easier to add proper authorization for it in the future. --- .gitignore | 1 + econnman-bin.in | 155 ++-- pnac.py | 114 + 3 files changed, 141 insertions(+), 129 deletions(-) diff --git a/.gitignore b/.gitignore index a29def7..5cdde3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.py[oc] INSTALL Makefile Makefile.in diff --git a/econnman-bin.in b/econnman-bin.in index 67f7454..0593ba8 100755 --- a/econnman-bin.in +++ b/econnman-bin.in @@ -14,16 +14,10 @@ import logging import argparse import os.path -# For python2 backwards compatibility -try: -import configparser -except ImportError: -import ConfigParser as configparser - try: import efl.evas as evas import efl.ecore as ecore -import efl.edje +import efl.edje as edje # Class resolve hack for edje_get from efl.dbus_mainloop import DBusEcoreMainLoop import efl.elementary as elm from efl.elementary import ELM_POLICY_QUIT, \ @@ -51,7 +45,7 @@ except: import elementary as elm import evas import ecore -import edje + import edje # Class resolve hack for edje_get from e_dbus import DBusEcoreMainLoop from elementary import Window, Background, Box, Label, Naviframe, Popup, \ Button, Scroller, Check, Progressbar, Genlist, GenlistItemClass, \ @@ -59,6 +53,7 @@ except: ELM_WIN_DIALOG_BASIC, ELM_POLICY_QUIT, ELM_SCROLLER_POLICY_OFF, \ ELM_SCROLLER_POLICY_AUTO, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED +from pnac import PNACConfig dbus_ml = DBusEcoreMainLoop() bus = dbus.SystemBus(mainloop=dbus_ml) @@ -72,9 +67,6 @@ log.addHandler(log_handler) manager = None -CONF_FILE = /var/lib/connman/econnman.config -configs = None - EXPAND_BOTH = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND) EXPAND_HORIZ = (evas.EVAS_HINT_EXPAND, 0.0) @@ -268,103 +260,6 @@ class ObjectView(object): return lb, en -### - -# Config Files Helper: -def config_file_setup(): -global configs -configs = configparser.RawConfigParser() -configs.optionxform = str - try: -fd = open(CONF_FILE, 'r', encoding='utf8') - configs.readfp(fd) -fd.close() -except IOError: - popup_error( -win, -Cannot read configuration file, -Econnman cannot read the coniguration file \ + CONF_FILE + -\, used by connman to configure your ieee802.1x networks. -Make sure the user running connman is able to read/write it. - ) -configs = None -raise IOError - - -def config_del(name): -global configs -secname = 'service_' + name -if configs is None: -try: - config_file_setup() -except IOError: -return - if configs.has_section(secname): - configs.remove_section(secname) -config_write(name) - - -def config_set(name, key, value): -global configs -secname = 'service_' + name -if configs is None: -try: - config_file_setup() -except IOError: -return - if not configs.has_section(secname): - configs.add_section(secname) -configs.set(secname, 'Type', 'wifi') -configs.set(secname, 'Name', name) -if value is not None: -configs.set(secname, key, value) -elif configs.has_option(secname, key): - configs.remove_option(secname, key) -config_write(name) - - -def config_get(name): -global configs -if configs is None: -try: -config_file_setup() - except IOError: -return None -for sec in configs.sections(): -if configs.has_option(sec, 'Name') and \ -configs.get(sec, 'Name') == name: - return sec -else: -return None - - -def config_option_get(secname, key): -if configs.has_option(secname, key): -return configs.get(secname, key) -return None - - -def config_exists(name): -if config_get(name): -return True -else: -return False - - -def config_write(name): -global configs -try: -with open(CONF_FILE, 'w', encoding='utf8') as configfile: - configs.write(configfile) -except IOError: - popup_error( -win, -Cannot write configuration file, -Econnman cannot write the coniguration file \ + CONF_FILE + -\, used by connman to configure
[EGIT] [enlightenment/modules/share] master 01/01: Use json-c.pc instead of json.pc
leif pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/share.git/commit/?id=9ab20a05699dd264f8e98ffb8cd42a05172f4080 commit 9ab20a05699dd264f8e98ffb8cd42a05172f4080 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Wed Apr 16 12:50:26 2014 +0200 Use json-c.pc instead of json.pc --- configure.ac | 2 +- src/sourcedrop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5b27776..f773d74 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ MODULE_ARCH=$host_os-$host_cpu-$release AC_SUBST(MODULE_ARCH) AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture) -PKG_CHECK_MODULES(JSON, [json]) +PKG_CHECK_MODULES(JSON, [json-c]) # # Platform specific setup diff --git a/src/sourcedrop.c b/src/sourcedrop.c index 8a790a9..4bac035 100644 --- a/src/sourcedrop.c +++ b/src/sourcedrop.c @@ -1,5 +1,5 @@ #include ctype.h -#include json/json.h +#include json.h #ifdef __linux__ #include bsd/string.h // strlcpy, etc. found in libbsd #else --
[E-devel] Espresso
Hi, I’ve created a small shelf-module called ‚Espresso’ [0]. Espresso is a toggle that temporary enables the presentation mode (blue cup: on/ white cup: off). Use case: You read a long article/code and don’t want the screensaver to activate while you stew over the text. Now to the funny part: I wrote this not realizing that somehow xscreensaver isn’t working in my vm, thus no presentation mode at all and no testing for me. Known issues: - Espresso should watch the presentation mode config variable and indicate whether it was switched via the main menu pretty quickly. As far as I could see, it doesn’t. I hope someone can test it and provide some feedback :-) [0] https://git.enlightenment.org/devs/leif/espresso.git/ BR, Leif signature.asc Description: Message signed with OpenPGP using GPGMail -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [website/www] master 01/02: Remove moon os. It seems dead.
leif pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=dd112fc87e027e5acc68d359ccc9afa43bcc6c28 commit dd112fc87e027e5acc68d359ccc9afa43bcc6c28 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Wed Apr 2 15:12:39 2014 +0200 Remove moon os. It seems dead. --- public_html/p/download/en-body | 1 - 1 file changed, 1 deletion(-) diff --git a/public_html/p/download/en-body b/public_html/p/download/en-body index 2f61809..6c7b138 100644 --- a/public_html/p/download/en-body +++ b/public_html/p/download/en-body @@ -202,7 +202,6 @@ lia href=http://www.elivecd.org/Elive/a/li lia href=http://humanitye17linux.wordpress.comHUMANity/a/li lia href=http://macpup.org/Macpup/a/li - lia href=http://moonos.org/MoonOS/a/li lia href=http://www.pentoo.ch/Pentoo/a/li lia href=http://www.pclinuxos.com/PCLinuxOS/a/li lia href=http://www.sabayon.org/Sabayon/a/li --
[EGIT] [website/www] master 02/02: Add Manjaro community edition to distribution listing
leif pushed a commit to branch master. http://git.enlightenment.org/website/www.git/commit/?id=8dc80b8ad4e0c04bfffc68b9f128bd3a416dd66d commit 8dc80b8ad4e0c04bfffc68b9f128bd3a416dd66d Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Wed Apr 2 15:14:07 2014 +0200 Add Manjaro community edition to distribution listing --- public_html/p/download/en-body | 1 + 1 file changed, 1 insertion(+) diff --git a/public_html/p/download/en-body b/public_html/p/download/en-body index 6c7b138..fd438b4 100644 --- a/public_html/p/download/en-body +++ b/public_html/p/download/en-body @@ -206,6 +206,7 @@ lia href=http://www.pclinuxos.com/PCLinuxOS/a/li lia href=http://www.sabayon.org/Sabayon/a/li lia href=http://www.yellowdoglinux.com/Yellow Dog/a/li + lia href=http://manjaro.org/Manjaro (community edition)/a/li /ul /p /div --
Re: [E-devel] LinuxTag 2014
-- Leif Am 20.02.2014 um 17:04 schrieb Stefan Schmidt ste...@datenfreihafen.org: Hello. On Thu, 2014-02-20 at 16:29, Leif Middelschulte wrote: Am 20.02.2014 um 11:04 schrieb Stefan Schmidt ste...@datenfreihafen.org: Hello. On Thu, 2014-02-20 at 12:36, Cedric BAIL wrote: There is a chance that this year we can have the time to setup a booth at LinuxTag in Berlin. We already have 3 peoples that showed interest on being there. But as you may know or will after reading the call for projects, we need to have that booth running for 3 days (May 8 to May 10). So those poor 3 souls will be dead if they are the only one to go there and make presence. We understand that everyone doesn't have the time to show for the full 3 days, but if only for one day, it will help. So who can and want to help ? You don't need to be a developer, just showing what you do with Enlightenment is the only requirement here, so any user of E will fit the requirement :-) To make this successful and not only stressed out for some people I would like to see at least 6 or 7 different people helping with the booth. At least 2 people at the booth at all times and the rest having some time to wander around and relax or listening to talks. I have manned a booth at LinuxTag before and it was really stressful if you have to be there everyday the whole time. This should not sound to negative I just want to set the people-helping-out bar high enough to make it a good experience. Hey, count Matthias and me in :-) Cool. For all three days? Yes, entire period. It would for sure help us to attract more people trying out our software. Especially as we now have e17, e18 and even e19 in the pipeline combined with efl/elm releases. Yeah, that would be great :-) If you have other show cases they are always welcome. Don’t know yet. regards, Leif regards Stefan Schmidt -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel signature.asc Description: Message signed with OpenPGP using GPGMail -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] LinuxTag 2014
Am 20.02.2014 um 04:36 schrieb Cedric BAIL cedric.b...@free.fr: Hello everyone, There is a chance that this year we can have the time to setup a booth at LinuxTag in Berlin. We already have 3 peoples that showed interest on being there. But as you may know or will after reading the call for projects, we need to have that booth running for 3 days (May 8 to May 10). So those poor 3 souls will be dead if they are the only one to go there and make presence. We understand that everyone doesn't have the time to show for the full 3 days, but if only for one day, it will help. Matthias and I will be there for the entire period. So who can and want to help ? You don't need to be a developer, just showing what you do with Enlightenment is the only requirement here, so any user of E will fit the requirement :-) I’ve added a wiki page about the event (https://phab.enlightenment.org/w/linux_tag_berlin_2014/). Please add yourself to the list, if you plan to come for one or multiple days :-) -- Leif For more information on the Call for Projects : http://wiki.linuxtag.org/w/fp:Call_for_Projects (Yeah, they didn't update the date on the web site). Cheers, -- Cedric BAIL -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel signature.asc Description: Message signed with OpenPGP using GPGMail -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] forecast to E18
Am 21.02.2014 um 15:57 schrieb Tony Peña emperor...@gmail.com: any suggest to can compile forecast to get the module in E18 ? i have compiled everythings from actual Git repo.. and te module say this... tony@emperor:~/_developer/enlightenment/modules/forecasts$ ./autogen.sh Running autopoint... Running aclocal... Running autoheader... Running autoconf... Running libtoolize... Running automake... Makefile.am:19: warning: wildcard images/*.png: non-POSIX variable name Makefile.am:19: (probably a GNU make extension) Makefile.am:25: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for strerror in -lcposix... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC...
Re: [E-devel] forecast to E18
Am 21.02.2014 um 16:14 schrieb Leif Middelschulte leif.middelschu...@gmail.com: Am 21.02.2014 um 15:57 schrieb Tony Peña emperor...@gmail.com: any suggest to can compile forecast to get the module in E18 ? i have compiled everythings from actual Git repo.. and te module say this... tony@emperor:~/_developer/enlightenment/modules/forecasts$ ./autogen.sh Running autopoint... Running aclocal... Running autoheader... Running autoconf... Running libtoolize... Running automake... Makefile.am:19: warning: wildcard images/*.png: non-POSIX variable name Makefile.am:19: (probably a GNU make extension) Makefile.am:25: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for strerror in -lcposix... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext
Re: [E-devel] forecast to E18
Am 21.02.2014 um 17:18 schrieb Tony Peña emperor...@gmail.com: sorry not understand have to patch??? No. The links I sent show how you have to adjust forecast’s code to work with recent enlightenment. i compiled places.. very well.. and the same error on forecast.. forecast dependes the places git repo ? No, it does not. See above as to why I sent you the links. — Leif 2014-02-21 16:16 GMT+01:00 Leif Middelschulte leif.middelschu...@gmail.com : Am 21.02.2014 um 16:14 schrieb Leif Middelschulte leif.middelschu...@gmail.com: Am 21.02.2014 um 15:57 schrieb Tony Peña emperor...@gmail.com: any suggest to can compile forecast to get the module in E18 ? i have compiled everythings from actual Git repo.. and te module say this... tony@emperor:~/_developer/enlightenment/modules/forecasts$ ./autogen.sh Running autopoint... Running aclocal... Running autoheader... Running autoconf... Running libtoolize... Running automake... Makefile.am:19: warning: wildcard images/*.png: non-POSIX variable name Makefile.am:19: (probably a GNU make extension) Makefile.am:25: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for strerror in -lcposix... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker
Re: [E-devel] LinuxTag 2014
Am 20.02.2014 um 11:04 schrieb Stefan Schmidt ste...@datenfreihafen.org: Hello. On Thu, 2014-02-20 at 12:36, Cedric BAIL wrote: There is a chance that this year we can have the time to setup a booth at LinuxTag in Berlin. We already have 3 peoples that showed interest on being there. But as you may know or will after reading the call for projects, we need to have that booth running for 3 days (May 8 to May 10). So those poor 3 souls will be dead if they are the only one to go there and make presence. We understand that everyone doesn't have the time to show for the full 3 days, but if only for one day, it will help. So who can and want to help ? You don't need to be a developer, just showing what you do with Enlightenment is the only requirement here, so any user of E will fit the requirement :-) To make this successful and not only stressed out for some people I would like to see at least 6 or 7 different people helping with the booth. At least 2 people at the booth at all times and the rest having some time to wander around and relax or listening to talks. I have manned a booth at LinuxTag before and it was really stressful if you have to be there everyday the whole time. This should not sound to negative I just want to set the people-helping-out bar high enough to make it a good experience. Hey, count Matthias and me in :-) It would for sure help us to attract more people trying out our software. Especially as we now have e17, e18 and even e19 in the pipeline combined with efl/elm releases. Yeah, that would be great :-) Regards, Leif regards Stefan Schmidt -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel signature.asc Description: Message signed with OpenPGP using GPGMail -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [apps/terminology] master 01/01: Add base16/ocean/dark theme
leif pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=e1de7a85211e7eea873a89442c3db417df82b9b4 commit e1de7a85211e7eea873a89442c3db417df82b9b4 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Tue Feb 18 20:00:52 2014 +0100 Add base16/ocean/dark theme --- data/themes/Makefile.am | 9 - data/themes/base16_ocean_dark.edc | 31 +++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 0751e9b..a21eff2 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -15,7 +15,8 @@ mild.edj \ black.edj \ solarized.edj \ solarized_light.edj \ -mustang.edj +mustang.edj \ +base16_ocean_dark.edj AM_V_EDJ = $(am__v_EDJ_$(V)) am__v_EDJ_ = $(am__v_EDJ_$(AM_DEFAULT_VERBOSITY)) @@ -26,6 +27,7 @@ default.edc \ mild.edc \ black.edc \ mustang.edc \ +base16_ocean_dark.edc \ solarized.edc \ solarized_light.edc \ default_colors.in.edc @@ -60,5 +62,10 @@ mustang.edj: Makefile mustang.edc mild.edc default_colors.in.edc $(top_srcdir)/data/themes/mustang.edc \ $(top_builddir)/data/themes/mustang.edj +base16_ocean_dark.edj: Makefile base16_ocean_dark.edc mild.edc default_colors.in.edc + $(AM_V_EDJ)$(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/base16_ocean_dark.edc \ + $(top_builddir)/data/themes/base16_ocean_dark.edj + clean-local: rm -f *.edj diff --git a/data/themes/base16_ocean_dark.edc b/data/themes/base16_ocean_dark.edc new file mode 100644 index 000..124a0ac --- /dev/null +++ b/data/themes/base16_ocean_dark.edc @@ -0,0 +1,31 @@ +// Adapted from base16/ocean by Chris Kempson +// See https://github.com/chriskempson/base16-builder/blob/master/schemes/ocean.yml + +#define BG_COLOR 43 48 59 255 +#define BG_COLOR_TRANSLUCENT 43 48 59 200 +#define BELL_OVERLAY_COLOR 43 48 59 32 +#define INHERIT_PROVIDE_OWN_COLORS 1 + +collections { +color_classes { +color_class { name: c0; color: 192 197 206 255; } +color_class { name: C0; color: 43 48 59 255; } +color_class { name: C1; color: 191 97 106 255; } +color_class { name: C10; color: 52 61 70 255; } +color_class { name: C11; color: 79 91 102 255; } +color_class { name: C12; color: 167 173 186 255; } +color_class { name: C13; color: 223 225 232 255; } +color_class { name: C14; color: 171 121 103 255; } +color_class { name: C15; color: 239 241 245 255; } +color_class { name: C2; color: 163 190 140 255; } +color_class { name: C3; color: 235 203 139 255; } +color_class { name: C4; color: 143 161 179 255; } +color_class { name: C5; color: 180 142 173 255; } +color_class { name: C6; color: 150 181 180 255; } +color_class { name: C7; color: 192 197 206 255; } +color_class { name: C8; color: 101 115 126 255; } +color_class { name: C9; color: 208 135 112 255; } +} +} + +#include mild.edc --
Re: [E-devel] Bob
Am 26.01.2014 um 12:05 schrieb Thomas Strobel ts...@cam.ac.uk: On Sun, 2014-01-26 at 18:05 +0900, Carsten Haitzler wrote: On Wed, 15 Jan 2014 15:42:16 -0200 Felipe Magno de Almeida felipe.m.alme...@gmail.com said: sounds like they are talking about a glade like thing with a json/edc style syntax... and a few other doobies. some thing we have learned: 1. programmers hate designing gui's... in text - because they have to guess/imagine the results. it doesn't work. we need to design a gui in a gui. it may, in its internals have text or somethig else - but that is not relevant... as long as its EASY to bind to code that talks to the gui. 2. edc was way too verbose and was nothing more than really an exposure of edje structures. if you write such things you design it for writing in text - not as a simple exposing of internals 3. what we ended up with is that a declarative ui is mostly just the display of properties, and the declaration is simply a way of expressng that. edc/edje were too basic and elm is too much of a traditional set of widgets. we need to marry both - and that is what the adam/eve thing is seemingly doing at the glade/widget level. 4. we need a faster way to implement logic of ui elements and trivially inherit them and PATCH them. not just inherit then override - too coarse. what people need 90% of the time is an xisting ui element/widget with a few lines of extra logic here and there. i don't want to focus on any kind of json/c-like or xml file at all - it's wrong. been there. done that. not useful. you need a gui to design a gui. :) well ok - some of us can live without but MOST can't. :) lua (luajit) should solve the quickly build ui element logic problem and still keep thing pretty fast and lean. bob is waiting for eo2/eolian so we can expose efl bindings without manually doing them all ourselves. beyond that is pretty much building the layout elements we want in lua and a gui editor for it. Hello all, I would like to share some ideas for Bob, which I see as an evolution of edje. Please correct me if I'm wrong. Since I've started developing, back in 2008, a C++ Gui Library, which has been already removed from assembla a long time ago, I've already been eyeing the project AdamEve from Adobe Software Library (ASL). Documentation can be found here: http://stlab.adobe.com/group__asl__overview.html I think it is obvious the advantage of writing in a declarative way a UI. But, writing UIs in EFL/Elementary are still a bit awkward and requires more code than is necessary, because edje doesn't offer a more dynamic layout setting. This generally requires box widgets to be instantiated and edje layouts to be placed as small fixed dialogs inside a multiple boxed layout. If bob/edje would incorporate ASL's AdamEve idea, we could develop more fluid and easily portable layouts that would could ease developing applications based in EFL. The layout language could be written in Lua and a C engine could do the automatic layout placement. It would require that the language gives room for manual placement so the layout can be finely-tuned too, but I think this idea can vastly ease development of UI for applications. BTW, there was a question about constraint solver on the ML recently. I think it might've been related to this topic. It was me how asked about constraint solvers recently. Yes, I was looking for a way do describe more complex UI layouts in a declarative, constraint based way. On a first look, I often came across the cassowary constraint solver which seems to be used/mentioned a lot the last years. E.g. MacOS seems to be using it as well. A recent, free and apparently fast implementation in C++ (could be easily converted to C) could be found here: https://github.com/nucleic/kiwi/ Kiwi is being developed to layout UI elements in Python in a declarative way, and looking at how simple it looks, I don't think that you would need a GUI to build up a GUI with enaml. I'm not sure yet whether the cassowary algorithm is actually the current state of art, or if there are faster or more suitable constraint solver out there by now. But so far I'm thinking that there might not be one solution/solver to fit all. If I were to integrate a constraint solver into EFL, I would probably keep edje, and it's capabilities, like it is. It seems to have a small and fast solver for linear equality constraints, and so I would keep edje to describe building blocks for the UI. I mean, I would emphasise on speed rather then expressiveness on this stage, and so I would be fine with having to describe layouts in boxes or so. It doesn't seem like edje is designed to build complex UI directly, but looking at the possibility of having pre-rendered images with different resolutions that are being picked automatically, it seems very well designed to construct building blocks of a UI. But I would then
[EGIT] [apps/econnman] master 01/01: Add arcconfig to econnman
leif pushed a commit to branch master. http://git.enlightenment.org/apps/econnman.git/commit/?id=7a8e21167dd26554c277c4c6c7056c00254d14aa commit 7a8e21167dd26554c277c4c6c7056c00254d14aa Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Mon Jan 20 15:10:09 2014 +0100 Add arcconfig to econnman --- .arcconfig | 4 1 file changed, 4 insertions(+) diff --git a/.arcconfig b/.arcconfig new file mode 100644 index 000..a650463 --- /dev/null +++ b/.arcconfig @@ -0,0 +1,4 @@ +{ + project_id : econnman, + conduit_uri : https://phab.enlightenment.org/; +} --
[EGIT] [apps/econnman] master 01/01: Fix small typo
leif pushed a commit to branch master. http://git.enlightenment.org/apps/econnman.git/commit/?id=1f31b7b92f38edbaaf35217205c7dda81c9794b3 commit 1f31b7b92f38edbaaf35217205c7dda81c9794b3 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Fri Jan 17 15:19:20 2014 +0100 Fix small typo --- econnman-bin.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/econnman-bin.in b/econnman-bin.in index e2d5956..0503182 100755 --- a/econnman-bin.in +++ b/econnman-bin.in @@ -258,7 +258,7 @@ def config_file_setup(): configs = configparser.RawConfigParser() configs.optionxform = str try: -fd = open(CONFIG_FILE, 'r', encoding='utf8') +fd = open(CONF_FILE, 'r', encoding='utf8') configs.readfp(fd) close(fd) except IOError: --
[EGIT] [apps/econnman] master 01/01: Close ieee802.1x config file properly.
leif pushed a commit to branch master. http://git.enlightenment.org/apps/econnman.git/commit/?id=546e9c2776bd0ce05c1071372778d52ce8742a20 commit 546e9c2776bd0ce05c1071372778d52ce8742a20 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Fri Jan 17 15:31:30 2014 +0100 Close ieee802.1x config file properly. --- econnman-bin.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/econnman-bin.in b/econnman-bin.in index 0503182..1f2b6a3 100755 --- a/econnman-bin.in +++ b/econnman-bin.in @@ -260,7 +260,7 @@ def config_file_setup(): try: fd = open(CONF_FILE, 'r', encoding='utf8') configs.readfp(fd) -close(fd) +fd.close() except IOError: popup_error(win, Cannot read configuration file, Econnman cannot read the coniguration file \ + CONF_FILE + \, used by connman to configure your ieee802.1x networks. Make sure the user running connman is able to read/write it.) configs = None --
Re: [E-devel] Analyzing Crashdumps
Am 14.12.2013 um 03:51 schrieb Cedric BAIL cedric.b...@free.fr: Hello, On Sat, Dec 14, 2013 at 2:59 AM, Leif Middelschulte leif.middelschu...@gmail.com wrote: as I proposed some time ago, I’d like to improve the way we approach crash dumps. I’d suggest to use breakpad instead of our current hackish approach. It’s used by Mozilla to help get an overview of prevailing problems in their applications (e.g. Firefox). See https://crash-stats.mozilla.com/home/products/Firefox for an exemplary web interface implementation of the server (https://github.com/mozilla/socorro). Have a look at https://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide to see the code necessary to get started on the client side. I’d write the code to detect a backtrace and (with the user’s consent) send it to our Socorro instance. What do you guys think? If there are no political/design objections (e.g. „won’t be accepted upstream“), I’d work on it. Nothing against the idea, just that we don't want to depend on tool that we don't have all active core developers who can write code for it. Right now, we only accept PHP as it is close to C and any developers of Enlightenment can manage that. So I would say we can't use that tool because it is not PHP. Hm.. Jenkins is written in Java afaik. Anyway, socorro is split into multiple parts. To cite the docs: The components which make up Socorro are: • Collector - collects breakpad minidump crashes which come in over HTTP POST • Processor - turn breakpad minidump crashes into stack traces and other info • Middleware - provide HTTP REST interface for JSON reports and real-time data • Web UI aka crash-stats - django-based web app for visualizing crash data So maybe we could ditch the web ui and middleware and write a extension for phabricator instead. Regards, -- Cedric BAIL -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel signature.asc Description: Message signed with OpenPGP using GPGMail -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[EGIT] [apps/econnman] master 01/02: Add support for ieee802.1x wireless networks.
kuuko pushed a commit to branch master. http://git.enlightenment.org/apps/econnman.git/commit/?id=f797c7d2d8fd2a64e8d6ff74f862cd7d9bc1d4f9 commit f797c7d2d8fd2a64e8d6ff74f862cd7d9bc1d4f9 Author: Leif Middelschulte leif.middelschu...@gmail.com Date: Thu Dec 12 19:39:23 2013 +0100 Add support for ieee802.1x wireless networks. Connman does only support two phase authentication via config files. These config files reside in /var/lib/connman/ and are watched by the connman daemon. Unfortunatelly, connman does not support per session/user config files, so for simplicity's sake, we modify one in /var/lib/connman. With these changes, econnman manages a single file (/var/lib/connman/econnman.config), to which the user running it needs write access. By default the (empty) config file shipped with this packages has write permissions set for the group. Packagers might want to change the owner/group to root:users after installation or come around with a more sophisticated approach. --- AUTHORS | 2 + ChangeLog| 4 + Makefile.am | 6 ++ README | 1 + ChangeLog = data/config/econnman.config | 0 econnman-bin.in | 130 ++- 6 files changed, 142 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 5ab1470..d236e58 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,3 @@ Gustavo Sverzut Barbieri barbi...@profusion.mobi +Matthias Wauer matthiaswa...@gmail.com +Leif Middelschulte leif.middelschu...@gmail.com diff --git a/ChangeLog b/ChangeLog index e69de29..f51649d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -0,0 +1,4 @@ +Since 1.1: +* Added basic support for ieee802.1x wireless networks configuration + The user running econnman needs to be able to write its own configfile at + /var/lib/connman/econnman.config diff --git a/Makefile.am b/Makefile.am index a65ebf2..83cf1ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,6 +17,12 @@ econnman-bin: $(top_srcdir)/econnman-bin.in $(top_builddir)/Makefile $(top_srcdir)/econnman-bin.in $(top_builddir)/econnman-bin chmod +x $(top_builddir)/econnman-bin +configdir = $(localstatedir@)/lib/connman +dist_config_DATA = \ + data/config/econnman.config + +EXTRA_DIST += $(config_DATA) + desktopdir = $(datadir)/applications desktop_DATA = \ data/desktop/econnman-agent.desktop \ diff --git a/README b/README index 89a0ec5..ece4fb7 100644 --- a/README +++ b/README @@ -36,6 +36,7 @@ Build:: Install:: make install +chown root:users /var/lib/connman/econnman.config If you wish to install at alternative locations, then make sure to configure your PYTHONPATH to be able to access this location! diff --git a/ChangeLog b/data/config/econnman.config similarity index 100% copy from ChangeLog copy to data/config/econnman.config diff --git a/econnman-bin.in b/econnman-bin.in index 55d2256..3292638 100755 --- a/econnman-bin.in +++ b/econnman-bin.in @@ -14,6 +14,12 @@ import logging import argparse import os.path +''' For python2 backwards compatibility ''' +try: +import configparser +except ImportError: +import ConfigParser as configparser + try: import efl.evas as evas import efl.ecore as ecore @@ -58,6 +64,9 @@ log = logging.getLogger() manager = None +CONF_FILE = /var/lib/connman/econnman.config +configs = None + EXPAND_BOTH = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND) EXPAND_HORIZ = (evas.EVAS_HINT_EXPAND, 0.0) @@ -242,6 +251,52 @@ class ObjectView(object): en.callback_activated_add(callback) return lb, en +### +# Config Files Helper: + +def config_del(name): +secname = 'service_' + name +if configs == None: +log.error(Config file was not parsed!) +return +if not configs.has_section(secname): +configs.remove_section(secname) +config_write(name) + +def config_set(name, key, value): +secname = 'service_' + name +if configs == None: +log.error(Config file was not parsed!) +return +if not configs.has_section(secname): +configs.add_section(secname) +configs.set(secname, 'Type', 'wifi') +configs.set(secname, 'Name', name) +if value != None: +configs.set(secname, key, value) +elif configs.has_option(secname, key): +configs.remove_option(sec, key) +config_write(name) + +def config_get(name): +if configs == None: +log.error(Config file was not parsed!) +return None +for sec in configs.sections(): +if configs.has_option(sec, 'Name') and configs.get(sec, 'Name') == name: +return sec +else: +return None + +def config_exists(name): +if config_get(name): +return True +else
[E-devel] Analyzing Crashdumps
Hey, as I proposed some time ago, I’d like to improve the way we approach crash dumps. I’d suggest to use breakpad instead of our current hackish approach. It’s used by Mozilla to help get an overview of prevailing problems in their applications (e.g. Firefox). See https://crash-stats.mozilla.com/home/products/Firefox for an exemplary web interface implementation of the server (https://github.com/mozilla/socorro). Have a look at https://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide to see the code necessary to get started on the client side. I’d write the code to detect a backtrace and (with the user’s consent) send it to our Socorro instance. What do you guys think? If there are no political/design objections (e.g. „won’t be accepted upstream“), I’d work on it. Best Regards, Leif signature.asc Description: Message signed with OpenPGP using GPGMail -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/efl] master 01/03: Stop leaking evas objects in Lua.
Unfortunately, this bug is still valid. Applications using lua crash, if it creates(/deletes) sufficient elements. See https://phab.enlightenment.org/T323 for an example that will crash e.g. edje_player if the window is resized a couple of times. Could you have another look? I guess that increasing the number of rects should crash the applications right on startup. Regards, Leif 2013/5/22 David Walter Seikel - Enlightenment Git no-re...@enlightenment.org: onefang pushed a commit to branch master. commit d6b3e8848a6aaa132e4211c4a6bf2e764a74bcc6 Author: David Walter Seikel won_f...@yahoo.com.au Date: Wed May 22 12:55:41 2013 +1000 Stop leaking evas objects in Lua. Bug and test case reported by Leif Middelschulte. --- src/lib/edje/edje_lua2.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lib/edje/edje_lua2.c b/src/lib/edje/edje_lua2.c index ec5d48a..8bb7f02 100644 --- a/src/lib/edje/edje_lua2.c +++ b/src/lib/edje/edje_lua2.c @@ -327,9 +327,13 @@ _elua_obj_new(lua_State *L, Edje *ed, int size, const char *metatable) // Stack } static void -_elua_obj_free(lua_State *L EINA_UNUSED, Edje_Lua_Obj *obj) +_elua_obj_free(lua_State *L, Edje_Lua_Obj *obj) { if (!obj-free_func) return; + // Free the reference, so it will actually get gc'd. + // It seems that being a completely weak table isn't enough. + lua_pushnil(L); // Stack usage [-0, +1, -] + _elua_ref_set(L, obj); // Stack usage [-4, +4, m] obj-free_func(obj); obj-ed-lua_objs = eina_inlist_remove(obj-ed-lua_objs, EINA_INLIST_GET(obj)); obj-free_func = NULL; @@ -3888,7 +3892,7 @@ _elua_init(void) lua_pushlightuserdata(L, _elua_objs); // Stack usage [-0, +1, -] lua_newtable(L); // Stack usage [-0, +1, m] lua_pushstring(L, __mode); // Stack usage [-0, +1, m] - lua_pushstring(L, v); // Stack usage [-0, +1, m] + lua_pushstring(L, kv); // Stack usage [-0, +1, m] lua_rawset(L, -3); // Stack usage [-2, +0, m] lua_rawset(L, LUA_REGISTRYINDEX); // Stack usage [-2, +0, m] } @@ -3978,7 +3982,7 @@ _edje_lua2_script_init(Edje *ed) // Stack usage lua_pushlightuserdata(L, _elua_objs); // Stack usage [-0, +1, -] lua_newtable(L); // Stack usage [-0, +1, m] lua_pushstring(L, __mode); // Stack usage [-0, +1, m] - lua_pushstring(L, v);// Stack usage [-0, +1, m] + lua_pushstring(L, kv); // Stack usage [-0, +1, m] lua_rawset(L, -3); // Stack usage [-2, +0, m] lua_rawset(L, LUA_REGISTRYINDEX); // Stack usage [-2, +0, m] -- -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.8 coming release
Am 25.10.2013 um 10:35 schrieb Cedric BAIL cedric.b...@free.fr: Hello everyone, EFL and Elementary 1.8 have there todo list almost done by now. I think we are good to start the release process. So if nobody object by end of next week, on Sunday 3rd, we will enter on code freeze. As usual, only bug fixes, test code and limited API fix are allowed. Right now I am only aware of one major change that need to be done, fixing Ecore_Wayland.h exposing private structure. So if you have anything important, please share it here. I will go over phab and take of what I can. Time to finally roll 1.8 out ! Great new! Just to let you know tough: I’m trying to package efl (with default configuration) for Mac OS’ Homebrew package manager. So far no patches are necessary for efl. I’ll update the status, once I’ve done it successfully. -- Leif -- Cedric BAIL -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Eolian meta-data parsing
Am 23.10.2013 um 23:16 schrieb daniel.za...@samsung.com: On 10/23/2013 07:15 PM, Leif Middelschulte wrote: Am 23.10.2013 um 01:54 schrieb Lucas De Marchi lucas.demar...@profusion.mobi: On Tue, Oct 22, 2013 at 3:03 PM, Leif Middelschulte leif.middelschu...@gmail.com wrote: 2013/10/21 daniel.za...@samsung.com daniel.za...@samsung.com: Hi all, I would like to discuss about a project that we are beginning just now. I presented it on EFL dev. day yesterday but I would like to share it here since it will imply all the EFL developers (yes, you) one day or another. It is called Eolian and was first aimed to facilitate addition of new Eo functions by auto-generating code. Then we noted that we can automatically generate language bindings too but it is not the goal of this discussion. The idea is that each Eo class is represented into a .eo file. These files are manually modified to add new functions, comments, callbacks... and parsed and the generation phase updates the C/H files. They contain descriptions of inherited classes, properties, methods, base classes implemented functions and callbacks. We thought about two formats: - a C-like format: Evas_Object_Image = { inherit { Evas_Object; } properties { /* Set the DPI resolution ... */ load_dpi(double dpi /* dpi resolution*/); /* Apply the source object's clip to the proxy */ source_clip(Eina_Bool source_clip); /* Set whether the image object's fill property ... */ filled(Eina_Bool filled); /* Get the kind of looping the image object does. */ ro animated_loop_type( Evas_Image_Animated_Loop_Hint hint /* hint */ ); /* Get the number times the animation of the object loops. */ ro animated_loop_count( int loop_count ); } methods { /* Set the source object… */ source_set( in Evas_Object* src /* in */, out Eina_Bool* result /* out */ ); /* Get the current source object ... */ source_get( out Evas_Object** src /* out */ ); /* Begin preloading an image … */ preload_begin(); /* Mark a sub-region of the given ... */ data_update_add( in int x /* in */, in int y /* in */, in int w /* in */, in int h /* in */ ); } } For C developers that we are, it has the advantage to be easier to our eyes. It fits most of the needs but still lacks for specific points: - if we have a property whose comment is different for set and get, how can we describe it? By inserting tokens inside the comments themselves, meaning parsing of the comments is needed. - if we want to define a function as virtual pure, do we use the so loved C++ notation = 0? - properties that are read-only or write-only (only get or set): do we add some ro/wo parameter, as in the example? ... People complained that it seems too much like C++. - JSON format: { class_name : Evas_Object_Image, inherits : [ Evas_Object ], properties : [ { name : load_dpi, description : DPI resolution ..., parameter : [ { name : dpi, type : double, description : dpi resolution } } ... (don't have the force to write all ;-) } The format is less intuitive to C developers and there is more to write but it is extensible and so easily solves the issues described in the C-style. So, until yesterday (the day I presented), I really thought we would go on the C (ok, C++) style but now that I saw some faces when I showed the C format and since I want to come back home safe, I prefer asking here. Thank you for your help JackDanielZ, alias Daniel Zomething Do you want something you'd only write in the text editor? If that's not a restriction, have you thought about using UML class diagrams? I'm not sure about inlining comments in it, but it has all the other features and is XML, so trivially transformable and validateable. no Okay, since my assumption: „We want to do it in a text editor“ seems to hold, I’d suggest having a look at Obj-C interface/class declarations, before coming up with yet another syntax/language. https://developer.apple.com/library/ios/documentation/cocoa/conceptual/ProgrammingWithObjectiveC/DefiningClasses/DefiningClasses.html Obj-C is translated to ordinary C too. Maybe it would be interesting to have a look at the translator in gcc/clang and see whether it would fit our needs, if modified. Cheers, Leif Hi Leif, Hi Daniel, I don't think people will want to describe their Eo classes in Obj-C. So better invent/come up with yet another syntax/language? People mostly complain about the function call syntax of ObjC, not the interface/class declaration. It is way better coined, than in other languages (@interface vs. @implementation). They’d find lots of documentation about it right there, online. Apple imho really provides great documentation. And passing through Clang to parse the files means that every people compiling EFL will have to install it. I know I wouldn't like it at all ;-) Just to be clear: This is a second point (the parser). And I don’t care
Re: [E-devel] a little problem on macbook
Hi, have you both tried using another configuration? E.g. use Mac OS on the macbook or some linux live thumb drive? What you could do is: 1.) Boot some live linux distribution from usb thumb 2.) Use xrandr command to change the backlight property of the output you use 3.) Wipe e’s config so it won’t reset your setting once you login to e again. Cheers, Leif Am 23.10.2013 um 13:07 schrieb ChunEon Park her...@naver.com: I'd similar situation on the Samsung Series 9 + Ubuntu 12.04 before. Still backlight doesn't work and no idea. :( - -Regards, Hermet- -Original Message- From: Kim Shinwookimcinoo@gmail.com To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; Cc: Sent: 2013-10-23 (수) 03:30:25 Subject: [E-devel] a little problem on macbook Dear all, Hello. I'm using Enlightenment on macbook which has ubuntu 12.04. I have changed back light level to zero by using the gadget backlight. but it is not possible to change back light level because the screen is black. The shortcut (fn key + f1,f2) does not work currently. omg. Do you have any idea? Do i have to re-install ubuntu? Cordially, Shinwoo Kim. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Eolian meta-data parsing
Am 23.10.2013 um 01:54 schrieb Lucas De Marchi lucas.demar...@profusion.mobi: On Tue, Oct 22, 2013 at 3:03 PM, Leif Middelschulte leif.middelschu...@gmail.com wrote: 2013/10/21 daniel.za...@samsung.com daniel.za...@samsung.com: Hi all, I would like to discuss about a project that we are beginning just now. I presented it on EFL dev. day yesterday but I would like to share it here since it will imply all the EFL developers (yes, you) one day or another. It is called Eolian and was first aimed to facilitate addition of new Eo functions by auto-generating code. Then we noted that we can automatically generate language bindings too but it is not the goal of this discussion. The idea is that each Eo class is represented into a .eo file. These files are manually modified to add new functions, comments, callbacks... and parsed and the generation phase updates the C/H files. They contain descriptions of inherited classes, properties, methods, base classes implemented functions and callbacks. We thought about two formats: - a C-like format: Evas_Object_Image = { inherit { Evas_Object; } properties { /* Set the DPI resolution ... */ load_dpi(double dpi /* dpi resolution*/); /* Apply the source object's clip to the proxy */ source_clip(Eina_Bool source_clip); /* Set whether the image object's fill property ... */ filled(Eina_Bool filled); /* Get the kind of looping the image object does. */ ro animated_loop_type( Evas_Image_Animated_Loop_Hint hint /* hint */ ); /* Get the number times the animation of the object loops. */ ro animated_loop_count( int loop_count ); } methods { /* Set the source object… */ source_set( in Evas_Object* src /* in */, out Eina_Bool* result /* out */ ); /* Get the current source object ... */ source_get( out Evas_Object** src /* out */ ); /* Begin preloading an image … */ preload_begin(); /* Mark a sub-region of the given ... */ data_update_add( in int x /* in */, in int y /* in */, in int w /* in */, in int h /* in */ ); } } For C developers that we are, it has the advantage to be easier to our eyes. It fits most of the needs but still lacks for specific points: - if we have a property whose comment is different for set and get, how can we describe it? By inserting tokens inside the comments themselves, meaning parsing of the comments is needed. - if we want to define a function as virtual pure, do we use the so loved C++ notation = 0? - properties that are read-only or write-only (only get or set): do we add some ro/wo parameter, as in the example? ... People complained that it seems too much like C++. - JSON format: { class_name : Evas_Object_Image, inherits : [ Evas_Object ], properties : [ { name : load_dpi, description : DPI resolution ..., parameter : [ { name : dpi, type : double, description : dpi resolution } } ... (don't have the force to write all ;-) } The format is less intuitive to C developers and there is more to write but it is extensible and so easily solves the issues described in the C-style. So, until yesterday (the day I presented), I really thought we would go on the C (ok, C++) style but now that I saw some faces when I showed the C format and since I want to come back home safe, I prefer asking here. Thank you for your help JackDanielZ, alias Daniel Zomething Do you want something you'd only write in the text editor? If that's not a restriction, have you thought about using UML class diagrams? I'm not sure about inlining comments in it, but it has all the other features and is XML, so trivially transformable and validateable. no Okay, since my assumption: „We want to do it in a text editor“ seems to hold, I’d suggest having a look at Obj-C interface/class declarations, before coming up with yet another syntax/language. https://developer.apple.com/library/ios/documentation/cocoa/conceptual/ProgrammingWithObjectiveC/DefiningClasses/DefiningClasses.html Obj-C is translated to ordinary C too. Maybe it would be interesting to have a look at the translator in gcc/clang and see whether it would fit our needs, if modified. Cheers, Leif +1 for json Lucas De Marchi -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- October Webinars: Code for Performance Free Intel webinars
Re: [E-devel] Eolian meta-data parsing
2013/10/21 daniel.za...@samsung.com daniel.za...@samsung.com: Hi all, I would like to discuss about a project that we are beginning just now. I presented it on EFL dev. day yesterday but I would like to share it here since it will imply all the EFL developers (yes, you) one day or another. It is called Eolian and was first aimed to facilitate addition of new Eo functions by auto-generating code. Then we noted that we can automatically generate language bindings too but it is not the goal of this discussion. The idea is that each Eo class is represented into a .eo file. These files are manually modified to add new functions, comments, callbacks... and parsed and the generation phase updates the C/H files. They contain descriptions of inherited classes, properties, methods, base classes implemented functions and callbacks. We thought about two formats: - a C-like format: Evas_Object_Image = { inherit { Evas_Object; } properties { /* Set the DPI resolution ... */ load_dpi(double dpi /* dpi resolution*/); /* Apply the source object's clip to the proxy */ source_clip(Eina_Bool source_clip); /* Set whether the image object's fill property ... */ filled(Eina_Bool filled); /* Get the kind of looping the image object does. */ ro animated_loop_type( Evas_Image_Animated_Loop_Hint hint /* hint */ ); /* Get the number times the animation of the object loops. */ ro animated_loop_count( int loop_count ); } methods { /* Set the source object… */ source_set( in Evas_Object* src /* in */, out Eina_Bool* result /* out */ ); /* Get the current source object ... */ source_get( out Evas_Object** src /* out */ ); /* Begin preloading an image … */ preload_begin(); /* Mark a sub-region of the given ... */ data_update_add( in int x /* in */, in int y /* in */, in int w /* in */, in int h /* in */ ); } } For C developers that we are, it has the advantage to be easier to our eyes. It fits most of the needs but still lacks for specific points: - if we have a property whose comment is different for set and get, how can we describe it? By inserting tokens inside the comments themselves, meaning parsing of the comments is needed. - if we want to define a function as virtual pure, do we use the so loved C++ notation = 0? - properties that are read-only or write-only (only get or set): do we add some ro/wo parameter, as in the example? ... People complained that it seems too much like C++. - JSON format: { class_name : Evas_Object_Image, inherits : [ Evas_Object ], properties : [ { name : load_dpi, description : DPI resolution ..., parameter : [ { name : dpi, type : double, description : dpi resolution } } ... (don't have the force to write all ;-) } The format is less intuitive to C developers and there is more to write but it is extensible and so easily solves the issues described in the C-style. So, until yesterday (the day I presented), I really thought we would go on the C (ok, C++) style but now that I saw some faces when I showed the C format and since I want to come back home safe, I prefer asking here. Thank you for your help JackDanielZ, alias Daniel Zomething Do you want something you'd only write in the text editor? If that's not a restriction, have you thought about using UML class diagrams? I'm not sure about inlining comments in it, but it has all the other features and is XML, so trivially transformable and validateable. Regards, Leif -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Building efl on Mac OSX
Am Samstag, 14. September 2013 um 17:16 schrieb Sung W. Park: Hi all, Has any of you tried compiling efl on Mac lately? I've followed the Wiki page instructions before efl was merged to a single tree and got it to work but now I've just tried it again last night and I'm getting the following errors. CC lib/ecore/lib_ecore_libecore_la-ecore_coroutine.lo lib/ecore/ecore_coroutine.c: In function '_ecore_coroutine_setjmp': lib/ecore/ecore_coroutine.c:124: error: request for member 'env' in something not a structure or union lib/ecore/ecore_coroutine.c:125: error: request for member 'env' in something not a structure or union lib/ecore/ecore_coroutine.c: In function 'ecore_coroutine_resume': lib/ecore/ecore_coroutine.c:282: error: incompatible types in assignment lib/ecore/ecore_coroutine.c:289: error: too few arguments to function 'longjmp' lib/ecore/ecore_coroutine.c:293: error: incompatible types in assignment lib/ecore/ecore_coroutine.c:295: error: incompatible types in assignment lib/ecore/ecore_coroutine.c: In function 'ecore_coroutine_yield': lib/ecore/ecore_coroutine.c:310: error: too few arguments to function 'longjmp' Obviously this is all Cedric's doing as all bugs and errors come from him ;-) but I was just wondering if any of you guys tried it on Mac lately. Hey, actually, I'm waiting for the 1.8 release of efl to provide recipes for the Mac OS packager manager Homebrew. So I'm not bothering until the release happens. -- Leif cheers, Sung -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Building efl on Mac OSX
Am Samstag, 14. September 2013 um 18:05 schrieb Stefan Schmidt: Hello. On Sat, 2013-09-14 at 17:21, Leif Middelschulte wrote: Am Samstag, 14. September 2013 um 17:16 schrieb Sung W. Park: Hi all, Has any of you tried compiling efl on Mac lately? I've followed the Wiki page instructions before efl was merged to a single tree and got it to work but now I've just tried it again last night and I'm getting the following errors. CC lib/ecore/lib_ecore_libecore_la-ecore_coroutine.lo lib/ecore/ecore_coroutine.c: In function '_ecore_coroutine_setjmp': lib/ecore/ecore_coroutine.c:124: error: request for member 'env' in something not a structure or union lib/ecore/ecore_coroutine.c:125: error: request for member 'env' in something not a structure or union lib/ecore/ecore_coroutine.c: In function 'ecore_coroutine_resume': lib/ecore/ecore_coroutine.c:282: error: incompatible types in assignment lib/ecore/ecore_coroutine.c:289: error: too few arguments to function 'longjmp' lib/ecore/ecore_coroutine.c:293: error: incompatible types in assignment lib/ecore/ecore_coroutine.c:295: error: incompatible types in assignment lib/ecore/ecore_coroutine.c: In function 'ecore_coroutine_yield': lib/ecore/ecore_coroutine.c:310: error: too few arguments to function 'longjmp' Obviously this is all Cedric's doing as all bugs and errors come from him ;-) but I was just wondering if any of you guys tried it on Mac lately. Hey, actually, I'm waiting for the 1.8 release of efl to provide recipes for the Mac OS packager manager Homebrew. So I'm not bothering until the release happens. Which means it might, or in this case will, be broken for the release and only discovered afterwards. Everyone who cares about a specific distributions, architecture or setup should test _before_ a release so this can be fixed and working once the release is due. Sure, if the release of 1.8 is at least in sight, I might give it (packaging) another shot ;-) regards, Leif regards Stefan Schmidt -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [apps/terminology] master 04/04: fix crash when closing top-level split. Closes T256.
Am Mittwoch, 28. August 2013 um 17:14 schrieb Boris Faure - Enlightenment Git: billiob pushed a commit to branch master. commit 441f2ef39e7f9912cfa1002e84e7d809368c5a0c Author: Boris Faure bill...@gmail.com (mailto:bill...@gmail.com) Date: Wed Aug 28 17:11:48 2013 +0200 fix crash when closing top-level split. Closes T256. --- src/bin/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/main.c b/src/bin/main.c index c0e11d1..92d6910 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -493,6 +493,8 @@ _split_merge(Split *spp, Split *sp, const char *slot) spp-s2-parent = spp; spp-horizontal = sp-horizontal; o = sp-panes; + elm_object_part_content_unset(sp-parent-panes, + (strcmp(slot, PANES_TOP)) ? PANES_TOP : PANES_BOTTOM); sure that it shouldn't be !strcmp or (stcmp(..) == 0)? -- Leif if (spp-parent) { elm_object_part_content_unset(spp-parent-panes, slot); -- -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elua bitching on exit
Am Dienstag, 27. August 2013 um 12:38 schrieb David Seikel: On Mon, 26 Aug 2013 23:38:29 +0200 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: 2013/5/22 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com): Am Mittwoch, 22. Mai 2013 um 05:00 schrieb David Seikel: On Thu, 16 May 2013 11:43:50 +0200 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: 2013/5/3 David Seikel onef...@gmail.com (mailto:onef...@gmail.com) On Thu, 2 May 2013 18:24:43 +0200 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Hi, I've written an 'all script' lua edje, which creates/modifies/deletes a couple of objects. Everything seems fine, until the application is closed (not crashing), when it complains about exceeding lua's memory limit. Is this expected? If not, do you need me to provide code, or is it even a known issue? Don't think I've seen that before. Please provide code. Edje Lua tracks how much memory you have allocated to each Lua script, and will complain about that if you exceed it, but that should not be happening when you are shutting down. Sorry for taking this long. See the attached edc. If you confirm this, I can open a ticket, if necessary. Thanks for looking into this. Fixed. It seems that weak tables are not working as advertised. We are using a weak table to store references to the evas objects we create so that we can pull Lua objects representing them out of that table to pass back to Lua calls that return previously created evas objects. But those references prevented the evas objects from being garbage collected, so they leaked. Thanks! :-) Seems like bitching is 'in' again :-/ Could you have another look? Thanks for your test script. The script is still or again exposing the behavior. If it doesn't right away, try resizing the window a bit. Could you open a ticket for this please, and assign it to me? It's about time I pulled my finger out and started working with the new bug tracker. Done. -- Leif -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elua bitching on exit
2013/5/22 Leif Middelschulte leif.middelschu...@gmail.com: Am Mittwoch, 22. Mai 2013 um 05:00 schrieb David Seikel: On Thu, 16 May 2013 11:43:50 +0200 Leif Middelschulte leif.middelschu...@gmail.com wrote: 2013/5/3 David Seikel onef...@gmail.com On Thu, 2 May 2013 18:24:43 +0200 Leif Middelschulte leif.middelschu...@gmail.com wrote: Hi, I've written an 'all script' lua edje, which creates/modifies/deletes a couple of objects. Everything seems fine, until the application is closed (not crashing), when it complains about exceeding lua's memory limit. Is this expected? If not, do you need me to provide code, or is it even a known issue? Don't think I've seen that before. Please provide code. Edje Lua tracks how much memory you have allocated to each Lua script, and will complain about that if you exceed it, but that should not be happening when you are shutting down. Sorry for taking this long. See the attached edc. If you confirm this, I can open a ticket, if necessary. Thanks for looking into this. Fixed. It seems that weak tables are not working as advertised. We are using a weak table to store references to the evas objects we create so that we can pull Lua objects representing them out of that table to pass back to Lua calls that return previously created evas objects. But those references prevented the evas objects from being garbage collected, so they leaked. Thanks! :-) Seems like bitching is 'in' again :-/ Could you have another look? Thanks for your test script. The script is still or again exposing the behavior. If it doesn't right away, try resizing the window a bit. -- Leif You're very welcome! -- Leif -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] systemd: change from simple e18 service to target
Hello everyone, If this lands, https://phab.enlightenment.org/w/e18_with_systemd_user_session/ should be updated. -- Leif Am Samstag, 20. Juli 2013 um 16:50 schrieb Thomas Gstädtner: This has a few advantages over the current approach: - only depends on user-session-units, not the flawed systemd-user-units - allows isolating the target to switch between e.g. e17 and e18 at runtime - works much more reliably for me Important: please don't commit without review by Cedric! --- data/units/Makefile.am (http://Makefile.am) | 6 +- data/units/e18.service | 9 +++-- data/units/e18.target | 6 ++ 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 data/units/e18.target -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Anhänge: - 0001-systemd-change-from-simple-e18-service-to-target.patch -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm/evas callback sequence
Am Freitag, 14. Juni 2013 um 01:42 schrieb Daniel Juyung Seo: On Fri, Jun 14, 2013 at 4:36 AM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Mittwoch, 12. Juni 2013 um 06:21 schrieb Daniel Juyung Seo: On Wed, Jun 12, 2013 at 1:38 AM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: 2013/6/11 Daniel Juyung Seo seojuyu...@gmail.com (mailto:seojuyu...@gmail.com) (mailto: seojuyu...@gmail.com (mailto:seojuyu...@gmail.com)) On Wed, Jun 12, 2013 at 12:43 AM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Dienstag, 11. Juni 2013 um 16:19 schrieb Rafael Antognolli: Hi, On Tue, Jun 11, 2013 at 9:54 AM, Daniel Juyung Seo seojuyu...@gmail.com (mailto:seojuyu...@gmail.com)(mailto: seojuyu...@gmail.com (mailto:seojuyu...@gmail.com)) wrote: On Tue, Jun 11, 2013 at 9:42 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) (mailto: leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) ) wrote: Am Dienstag, 11. Juni 2013 schrieb Daniel Juyung Seo : Hello, this follows elementary policy. 1. focused object A lose its focus when another object is going to get focus. 2. an object is focused when it's clicked. so the sequence is 1. click object B 2. focused object A lose its focus 3. object B gets focus So only one object is focused at any point. It's not possible to unfocus other object before any other object is clicked. Because clicked signal will trigger unfocus signal. So, as I already imagined, it's due to the current implementation. Not just an implementation. It's a policy. Can't we trigger unfocused callbacks, before we trigger clicked callbacks? I assume that it's the way it is, because Edje understands How come? I repeat. 1. An object is focused when it's clicked. 2. An object is unfocused when other object is going to be focused. It means mouse click - unfocused - focused. If I understood correctly, Leif is saying that this is not what is happening, and his test proves that (I didn't try it). He is saying that the current order is: mouse click - focused - unfocused I haven't considered focused events yet, because I want to react to clicked while focused (sets stuff) and unfocused (resets stuff) events. Well, contradiction here. If an object is already focused, click does not emit focused signal again. So clicked while focused doesn't happen. Sorry, that was more of a goal description. But with current behavior I get: set (click) - reset (unfocused) So, afaics, we basically ignore the concept of object focus for clicked events. Maybe we can have focused,clicked or whatever? Well maybe I should check your fundamental requirement first, not wasting my time on this topic. Sorry, I didn't mean to waste anybody's time here :-/ Explaining same thing a couple of times is not a happy job. But I wasn't intended to be agrressive though. From your example I don't get what you really want to do as the final outcome. Even your first email does not describe your goal. Can you show me more code? I've attached an easy example. Clicking on a button shall set the global state variable to some value. If focus is lost, it should be reset to some other value. As you can see, clicking on one button, and then the next, while using unfocused callbacks, leads to a reset value. Well here is a catch. You are chaning one global variable with different types of callbacks. unfocused and mouse up. I would rather use focused + unfocused combination OR mouse down + mouse up combination. That's more correct logically, isn't it? No, because one might want to use clicked in conjunction with focused, as I'll explain later. If you
Re: [E-devel] elm/evas callback sequence
Am Mittwoch, 12. Juni 2013 um 06:21 schrieb Daniel Juyung Seo: On Wed, Jun 12, 2013 at 1:38 AM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: 2013/6/11 Daniel Juyung Seo seojuyu...@gmail.com (mailto:seojuyu...@gmail.com) On Wed, Jun 12, 2013 at 12:43 AM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Dienstag, 11. Juni 2013 um 16:19 schrieb Rafael Antognolli: Hi, On Tue, Jun 11, 2013 at 9:54 AM, Daniel Juyung Seo seojuyu...@gmail.com (mailto:seojuyu...@gmail.com)(mailto: seojuyu...@gmail.com (mailto:seojuyu...@gmail.com)) wrote: On Tue, Jun 11, 2013 at 9:42 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com ) wrote: Am Dienstag, 11. Juni 2013 schrieb Daniel Juyung Seo : Hello, this follows elementary policy. 1. focused object A lose its focus when another object is going to get focus. 2. an object is focused when it's clicked. so the sequence is 1. click object B 2. focused object A lose its focus 3. object B gets focus So only one object is focused at any point. It's not possible to unfocus other object before any other object is clicked. Because clicked signal will trigger unfocus signal. So, as I already imagined, it's due to the current implementation. Not just an implementation. It's a policy. Can't we trigger unfocused callbacks, before we trigger clicked callbacks? I assume that it's the way it is, because Edje understands How come? I repeat. 1. An object is focused when it's clicked. 2. An object is unfocused when other object is going to be focused. It means mouse click - unfocused - focused. If I understood correctly, Leif is saying that this is not what is happening, and his test proves that (I didn't try it). He is saying that the current order is: mouse click - focused - unfocused I haven't considered focused events yet, because I want to react to clicked while focused (sets stuff) and unfocused (resets stuff) events. Well, contradiction here. If an object is already focused, click does not emit focused signal again. So clicked while focused doesn't happen. Sorry, that was more of a goal description. But with current behavior I get: set (click) - reset (unfocused) So, afaics, we basically ignore the concept of object focus for clicked events. Maybe we can have focused,clicked or whatever? Well maybe I should check your fundamental requirement first, not wasting my time on this topic. Sorry, I didn't mean to waste anybody's time here :-/ Explaining same thing a couple of times is not a happy job. But I wasn't intended to be agrressive though. From your example I don't get what you really want to do as the final outcome. Even your first email does not describe your goal. Can you show me more code? I've attached an easy example. Clicking on a button shall set the global state variable to some value. If focus is lost, it should be reset to some other value. As you can see, clicking on one button, and then the next, while using unfocused callbacks, leads to a reset value. Well here is a catch. You are chaning one global variable with different types of callbacks. unfocused and mouse up. I would rather use focused + unfocused combination OR mouse down + mouse up combination. That's more correct logically, isn't it? No, because one might want to use clicked in conjunction with focused, as I'll explain later. If you use different types of callbacks for one global variable there is no garuantee of call sequence. And I still don't get your final goal yet. Why do you change one global variable in unfocused and mouse up? First of all: Thanks for you patience here :) I am working on an ui that should be usable via touch or a rotary knob/keyboard at the same time. To allow the ui multicontextual usage of the rotary knob, I manipulate the X events (could be a different elm call too, I know) the rotary knob emits as input depending on the current ui context. Scenario: Two flipselectors (a,b) which are 'locked' by default. Rotating the knob left/right will emit tab/shift tab respectively and thus switch focus from one flipselector to the next. Clicking/pressing Return while a flipselector is focused unlocks it and changes the rotary knob's context to Up/Down. So here's where my problem with the missing
Re: [E-devel] elm/evas callback sequence
Am Dienstag, 11. Juni 2013 schrieb Daniel Juyung Seo : Hello, this follows elementary policy. 1. focused object A lose its focus when another object is going to get focus. 2. an object is focused when it's clicked. so the sequence is 1. click object B 2. focused object A lose its focus 3. object B gets focus So only one object is focused at any point. It's not possible to unfocus other object before any other object is clicked. Because clicked signal will trigger unfocus signal. So, as I already imagined, it's due to the current implementation. Can't we trigger unfocused callbacks, before we trigger clicked callbacks? I assume that it's the way it is, because Edje understands clicked but not focused, right? There is a sequence. The sequence is contra intuitive from an observant's point of view. Thanks. thank you! -- Leif Daniel Juyung Seo (SeoZ) On Mon, Jun 10, 2013 at 7:07 PM, Leif Middelschulte leif.middelschu...@gmail.com javascript:; wrote: Hi, I'm trying to reset some global state once an object loses its focus and set a different one, when another one is clicked. Let's assume the focuse switches from obj A to B via mouse click. The problem is, that the unfocused callback of A is called _after_ object B's mouse clicked callback. This behavoir is imo - at least - contraintuitive, because the temporal sequence is perceived differently. I think that an object has to be focused for being clicked/when it's clicked, therefor the previous focus holder must already have lost the focus, since only one object (on the same hierarchy level) should be focused at the same time. See the attached example code, that exposes the behavior. -- Leif -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm/evas callback sequence
Am Dienstag, 11. Juni 2013 um 16:19 schrieb Rafael Antognolli: Hi, On Tue, Jun 11, 2013 at 9:54 AM, Daniel Juyung Seo seojuyu...@gmail.com (mailto:seojuyu...@gmail.com) wrote: On Tue, Jun 11, 2013 at 9:42 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Dienstag, 11. Juni 2013 schrieb Daniel Juyung Seo : Hello, this follows elementary policy. 1. focused object A lose its focus when another object is going to get focus. 2. an object is focused when it's clicked. so the sequence is 1. click object B 2. focused object A lose its focus 3. object B gets focus So only one object is focused at any point. It's not possible to unfocus other object before any other object is clicked. Because clicked signal will trigger unfocus signal. So, as I already imagined, it's due to the current implementation. Not just an implementation. It's a policy. Can't we trigger unfocused callbacks, before we trigger clicked callbacks? I assume that it's the way it is, because Edje understands How come? I repeat. 1. An object is focused when it's clicked. 2. An object is unfocused when other object is going to be focused. It means mouse click - unfocused - focused. If I understood correctly, Leif is saying that this is not what is happening, and his test proves that (I didn't try it). He is saying that the current order is: mouse click - focused - unfocused I haven't considered focused events yet, because I want to react to clicked while focused (sets stuff) and unfocused (resets stuff) events. But with current behavior I get: set (click) - reset (unfocused) So, afaics, we basically ignore the concept of object focus for clicked events. Maybe we can have focused,clicked or whatever? Thanks for your explanations, Leif Regards, -- Rafael Antognolli -- This SF.net (http://SF.net) email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm/evas callback sequence
2013/6/11 Daniel Juyung Seo seojuyu...@gmail.com On Wed, Jun 12, 2013 at 12:43 AM, Leif Middelschulte leif.middelschu...@gmail.com wrote: Am Dienstag, 11. Juni 2013 um 16:19 schrieb Rafael Antognolli: Hi, On Tue, Jun 11, 2013 at 9:54 AM, Daniel Juyung Seo seojuyu...@gmail.com(mailto: seojuyu...@gmail.com) wrote: On Tue, Jun 11, 2013 at 9:42 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Dienstag, 11. Juni 2013 schrieb Daniel Juyung Seo : Hello, this follows elementary policy. 1. focused object A lose its focus when another object is going to get focus. 2. an object is focused when it's clicked. so the sequence is 1. click object B 2. focused object A lose its focus 3. object B gets focus So only one object is focused at any point. It's not possible to unfocus other object before any other object is clicked. Because clicked signal will trigger unfocus signal. So, as I already imagined, it's due to the current implementation. Not just an implementation. It's a policy. Can't we trigger unfocused callbacks, before we trigger clicked callbacks? I assume that it's the way it is, because Edje understands How come? I repeat. 1. An object is focused when it's clicked. 2. An object is unfocused when other object is going to be focused. It means mouse click - unfocused - focused. If I understood correctly, Leif is saying that this is not what is happening, and his test proves that (I didn't try it). He is saying that the current order is: mouse click - focused - unfocused I haven't considered focused events yet, because I want to react to clicked while focused (sets stuff) and unfocused (resets stuff) events. Well, contradiction here. If an object is already focused, click does not emit focused signal again. So clicked while focused doesn't happen. Sorry, that was more of a goal description. But with current behavior I get: set (click) - reset (unfocused) So, afaics, we basically ignore the concept of object focus for clicked events. Maybe we can have focused,clicked or whatever? Well maybe I should check your fundamental requirement first, not wasting my time on this topic. Sorry, I didn't mean to waste anybody's time here :-/ From your example I don't get what you really want to do as the final outcome. Even your first email does not describe your goal. Can you show me more code? I've attached an easy example. Clicking on a button shall set the global state variable to some value. If focus is lost, it should be reset to some other value. As you can see, clicking on one button, and then the next, while using unfocused callbacks, leads to a reset value. Thanks. Thank you! Leif Daniel Juyung Seo (SeoZ) Thanks for your explanations, Leif Regards, -- Rafael Antognolli -- This SF.net (http://SF.net) email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto: enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif #include stdio.h #include elementary-1/Elementary.h #define RESET_VALUE (-1) static void __mouse_clicked_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info); static void __focus_out_cb(void *data, Evas_Object *obj, void *event_info); int global_state_var = 0; const int state_vals[] = { 0, 1, 2}; EAPI_MAIN int elm_main(int argc, char **argv) { unsigned int i; Evas_Object *win, *bg, *bx; win = elm_win_add(NULL, OddSequence, ELM_WIN_BASIC); elm_win_title_set(win, Odd Callback Sequence); elm_win_autodel_set(win, EINA_TRUE); elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
[E-devel] elm/evas callback sequence
Hi, I'm trying to reset some global state once an object loses its focus and set a different one, when another one is clicked. Let's assume the focuse switches from obj A to B via mouse click. The problem is, that the unfocused callback of A is called _after_ object B's mouse clicked callback. This behavoir is imo - at least - contraintuitive, because the temporal sequence is perceived differently. I think that an object has to be focused for being clicked/when it's clicked, therefor the previous focus holder must already have lost the focus, since only one object (on the same hierarchy level) should be focused at the same time. See the attached example code, that exposes the behavior. -- Leif #include stdio.h #include elementary-1/Elementary.h static void __mouse_clicked_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info); static void __focus_out_cb(void *data, Evas_Object *obj, void *event_info); EAPI_MAIN int elm_main(int argc, char **argv) { unsigned int i; Evas_Object *win, *bg, *bx; win = elm_win_add(NULL, OddSequence, ELM_WIN_BASIC); elm_win_title_set(win, Odd Callback Sequence); elm_win_autodel_set(win, EINA_TRUE); elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(bg); bx = elm_box_add(win); evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_win_resize_object_add(win, bx); elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); for (i = 1; i = 2; i++) { char buf[16]; Evas_Object *bt = elm_button_add(win); snprintf(buf, (sizeof(buf) - 1), Button %i, i); elm_object_text_set(bt, buf); evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_event_callback_add(bt, EVAS_CALLBACK_MOUSE_UP, __mouse_clicked_cb, NULL); evas_object_smart_callback_add(bt, unfocused, __focus_out_cb, NULL); elm_box_pack_end(bx, bt); evas_object_show(bt); } evas_object_resize(win, 320, 240); evas_object_show(win); elm_run(); elm_shutdown(); return 0; } ELM_MAIN() static void __focus_out_cb(void *data, Evas_Object *vci, void *event_info) { printf(focus out called\n); } static void __mouse_clicked_cb(void *data, Evas *evas, Evas_Object *vent_ctrl_obj, void *event_info) { printf(mouse clicked called!\n); } -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] focus out callback and elm objects
Hey, how about focused unfocused edje signals (e.g. elm.focused) for elm widgets by default? I think some widgets already use them, but probably emit them privately. -- Leif Am Freitag, 7. Juni 2013 um 00:50 schrieb Leif Middelschulte: Am Donnerstag, 6. Juni 2013 um 18:16 schrieb Daniel Juyung Seo: On Thu, Jun 6, 2013 at 8:23 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Mittwoch, 5. Juni 2013 um 22:41 schrieb Chris Michael: On 05/06/13 19:18, Leif Middelschulte wrote: Hi, I want a function to be called once an object loses the focus. I tried to add an evas object event callback for EVAS_CALLBACK_FOCUS_OUT, but it never gets called. See the attached code. Hopefully I'm just doing something wrong. I believe what you want to use is: evas_object_smart_callback_add(obj, focused, _cb_focused, NULL); evas_object_smart_callback_add(obj, unfocused, _cb_unfocused, NULL); Doesn't work either. I think that I've tried another one focus,out or similar too, which neither worked. Well it should work with focused and unfocused smart callbacks. Can you test it again with the latest elementary? I just pushed focused/unfocused smart callbacks for all the focusable widgets. Hey Daniel, thanks! I just tested the example code I provided, with the given smart callbacks and recent efl/elm and it seems to work :) -- Leif Thanks. Daniel Juyung Seo (SeoZ) -- Leif dh -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) (mailto: enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net)) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] focus out callback and elm objects
Am Mittwoch, 5. Juni 2013 um 22:41 schrieb Chris Michael: On 05/06/13 19:18, Leif Middelschulte wrote: Hi, I want a function to be called once an object loses the focus. I tried to add an evas object event callback for EVAS_CALLBACK_FOCUS_OUT, but it never gets called. See the attached code. Hopefully I'm just doing something wrong. I believe what you want to use is: evas_object_smart_callback_add(obj, focused, _cb_focused, NULL); evas_object_smart_callback_add(obj, unfocused, _cb_unfocused, NULL); Doesn't work either. I think that I've tried another one focus,out or similar too, which neither worked. -- Leif dh -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] focus out callback and elm objects
Am Donnerstag, 6. Juni 2013 um 18:16 schrieb Daniel Juyung Seo: On Thu, Jun 6, 2013 at 8:23 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Am Mittwoch, 5. Juni 2013 um 22:41 schrieb Chris Michael: On 05/06/13 19:18, Leif Middelschulte wrote: Hi, I want a function to be called once an object loses the focus. I tried to add an evas object event callback for EVAS_CALLBACK_FOCUS_OUT, but it never gets called. See the attached code. Hopefully I'm just doing something wrong. I believe what you want to use is: evas_object_smart_callback_add(obj, focused, _cb_focused, NULL); evas_object_smart_callback_add(obj, unfocused, _cb_unfocused, NULL); Doesn't work either. I think that I've tried another one focus,out or similar too, which neither worked. Well it should work with focused and unfocused smart callbacks. Can you test it again with the latest elementary? I just pushed focused/unfocused smart callbacks for all the focusable widgets. Hey Daniel, thanks! I just tested the example code I provided, with the given smart callbacks and recent efl/elm and it seems to work :) -- Leif Thanks. Daniel Juyung Seo (SeoZ) -- Leif dh -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) (mailto: enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net)) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] focus out callback and elm objects
Hi, I want a function to be called once an object loses the focus. I tried to add an evas object event callback for EVAS_CALLBACK_FOCUS_OUT, but it never gets called. See the attached code. Hopefully I'm just doing something wrong. -- Leif #include stdio.h #include evas-1/Evas.h #include elementary-1/Elementary.h static void __focus_out_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info); EAPI_MAIN int elm_main(int argc, char **argv) { unsigned int i; Evas_Object *win, *bg, *bx; win = elm_win_add(NULL, Focus out bug, ELM_WIN_BASIC); elm_win_title_set(win, Focus out bug); elm_win_autodel_set(win, EINA_TRUE); elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(bg); bx = elm_box_add(win); evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_win_resize_object_add(win, bx); elm_box_horizontal_set(bx, EINA_TRUE); evas_object_show(bx); for (i = 1; i 3; i++) { char buf[32]; Evas_Object *button = elm_button_add(bx); snprintf(buf, (sizeof(buf) - 1), Button %i, i); elm_object_text_set(button, buf); evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(button, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_event_callback_add(button, EVAS_CALLBACK_FOCUS_OUT, __focus_out_cb, NULL); elm_box_pack_end(bx, button); evas_object_show(button); } evas_object_resize(win, 320, 240); evas_object_show(win); elm_run(); elm_shutdown(); return 0; } ELM_MAIN() static void __focus_out_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info) { printf(Object %p lost the focus\n, obj); } -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] insecure strdup usage
Hi, after fixing a strdup issue I stumbled over by chance, I had a quick look through elm's source and saw multiple places where strdup is used, without security checks. Since spotting real cases manually is a bit tiring, I hoped there would be a tool that could help us with this task. My question (primarily directed at Lucas De Marchi) is: Can we use coccinelle to identify those places? First tools that came to my mind were llvm and coccinelle. But maybe somebody knows another one? -- Leif -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] insecure strdup usage
Am Mittwoch, 5. Juni 2013 schrieb Carsten Haitzler : On Tue, 4 Jun 2013 12:23:07 +0200 Leif Middelschulte leif.middelschu...@gmail.com javascript:; said: Hi, after fixing a strdup issue I stumbled over by chance, I had a quick look through elm's source and saw multiple places where strdup is used, without security checks. Since spotting real cases manually is a bit tiring, I hoped there would be a tool that could help us with this task. what security checks...? what has this got to do with security? you fied the case of a NULL ptr return from an internal func. there isn't a buffer overrun here. this segv's instantly when it tries to dup the first char. you can't insert instructions on the stack or data into the heap etc. nothing insecure here. it's simply a crash/oopsie that needs fixing. :) saying security issue is by far and wide a different problem and worry. :) Excuse the term I used. Maybe it should have been safety instead? Discussing the term used, doesn't fix the problem you obviously understood, does it? ;-) -- Leif My question (primarily directed at Lucas De Marchi) is: Can we use coccinelle to identify those places? First tools that came to my mind were llvm and coccinelle. But maybe somebody knows another one? -- Leif -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com javascript:; -- Leif -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elua bitching on exit
Am Mittwoch, 22. Mai 2013 um 05:00 schrieb David Seikel: On Thu, 16 May 2013 11:43:50 +0200 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: 2013/5/3 David Seikel onef...@gmail.com (mailto:onef...@gmail.com) On Thu, 2 May 2013 18:24:43 +0200 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Hi, I've written an 'all script' lua edje, which creates/modifies/deletes a couple of objects. Everything seems fine, until the application is closed (not crashing), when it complains about exceeding lua's memory limit. Is this expected? If not, do you need me to provide code, or is it even a known issue? Don't think I've seen that before. Please provide code. Edje Lua tracks how much memory you have allocated to each Lua script, and will complain about that if you exceed it, but that should not be happening when you are shutting down. Sorry for taking this long. See the attached edc. If you confirm this, I can open a ticket, if necessary. Thanks for looking into this. Fixed. It seems that weak tables are not working as advertised. We are using a weak table to store references to the evas objects we create so that we can pull Lua objects representing them out of that table to pass back to Lua calls that return previously created evas objects. But those references prevented the evas objects from being garbage collected, so they leaked. Thanks! :-) Thanks for your test script. You're very welcome! -- Leif -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elua bitching on exit
2013/5/3 David Seikel onef...@gmail.com On Thu, 2 May 2013 18:24:43 +0200 Leif Middelschulte leif.middelschu...@gmail.com wrote: Hi, I've written an 'all script' lua edje, which creates/modifies/deletes a couple of objects. Everything seems fine, until the application is closed (not crashing), when it complains about exceeding lua's memory limit. Is this expected? If not, do you need me to provide code, or is it even a known issue? Don't think I've seen that before. Please provide code. Edje Lua tracks how much memory you have allocated to each Lua script, and will complain about that if you exceed it, but that should not be happening when you are shutting down. Sorry for taking this long. See the attached edc. If you confirm this, I can open a ticket, if necessary. Thanks for looking into this. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif lua_leak.edc Description: Binary data -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] edje calculated offsets
Hello everyone, I'm trying to place elements in corners, limited to the size they really need. I try to do this by setting rel1 and rel2 to the same values. I thought, that its min size would force it to have an equal offset. The reason for this approach vs. using alignment is, that I want to place other objects relative to the elements (contents') size. E.g. I want a table to be max. the size of its content and be able to put other elements relative to that geometry, not the entire canvas. Unfortunately it seems, that edje puts the parts half the object's (min) size off the canvas. See the attached example. Is that the intended behavoir? If so, how can I accomplish the desired behavior? Thanks and regards, Leif half_min_size_offset.edc Description: Binary data -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/enlightenment] master 01/01: add zoomap so we get back our zooming comp client things with.. menu for today. popups need doing... anything that bypasses the comp native surf
http://idahofalls.webimpakt.com/wwwroot/userfiles/images/pr/zoo/mapforweb2.gif Let's meet at the bar aka. drinking fountain later. -- Leif Am Dienstag, 16. April 2013 um 13:07 schrieb Carsten Haitzler - Enlightenment Git: raster pushed a commit to branch master. commit e0e513f457866042c0099dd6927e1784738bdb91 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com (mailto:ras...@rasterman.com) Date: Tue Apr 16 20:06:47 2013 +0900 add zoomap so we get back our zooming comp client things with.. menu for today. popups need doing... anything that bypasses the comp native surface stuff needs this. :) --- src/bin/Makefile.am (http://Makefile.am) | 2 + src/bin/e_includes.h | 1 + src/bin/e_menu.c | 29 - src/bin/e_menu.h | 1 + src/bin/e_zoomap.c | 323 +++ src/bin/e_zoomap.h | 17 +++ 6 files changed, 367 insertions(+), 6 deletions(-) diff --git a/src/bin/Makefile.am (http://Makefile.am) b/src/bin/Makefile.am (http://Makefile.am) index 675bccf..710112b 100644 --- a/src/bin/Makefile.am (http://Makefile.am) +++ b/src/bin/Makefile.am (http://Makefile.am) @@ -201,6 +201,7 @@ e_win.h \ e_xinerama.h \ e_xkb.h \ e_xsettings.h \ +e_zoomap.h \ e_zone.h if HAVE_WAYLAND_CLIENTS @@ -371,6 +372,7 @@ e_win.c \ e_xinerama.c \ e_xkb.c \ e_xsettings.c \ +e_zoomap.c \ e_zone.c \ $(ENLIGHTENMENTHEADERS) diff --git a/src/bin/e_includes.h b/src/bin/e_includes.h index 5863b22..70b5ceb 100644 --- a/src/bin/e_includes.h +++ b/src/bin/e_includes.h @@ -55,6 +55,7 @@ #include e_remember.h #include e_win.h #include e_pan.h +#include e_zoomap.h #include e_dialog.h #include e_configure.h #include e_configure_option.h diff --git a/src/bin/e_menu.c b/src/bin/e_menu.c index e333eb8..0c37fad 100644 --- a/src/bin/e_menu.c +++ b/src/bin/e_menu.c @@ -1170,6 +1170,8 @@ e_menu_idler_before(void) m-prev.h = m-cur.h; w = m-cur.w; h = m-cur.h; + evas_object_resize(m-bg_object, w, h); + evas_object_resize(m-bg_object_wrap, w, h); if (m-cw) e_comp_win_resize(m-cw, w, h); } @@ -1210,9 +1212,10 @@ e_menu_idler_before(void) m-prev.visible = m-cur.visible; if (!m-cw) { - evas_object_move(m-bg_object, m-cur.x, m-cur.y); evas_object_resize(m-bg_object, m-cur.w, m-cur.h); - E_LAYER_SET(m-bg_object, E_COMP_CANVAS_LAYER_MENU); + evas_object_move(m-bg_object_wrap, m-cur.x, m-cur.y); + evas_object_resize(m-bg_object_wrap, m-cur.w, m-cur.h); + E_LAYER_SET(m-bg_object_wrap, E_COMP_CANVAS_LAYER_MENU); } e_comp_win_show(m-cw); } @@ -1284,7 +1287,8 @@ _e_menu_free(E_Menu *m) if (m-parent_item) m-parent_item-submenu = NULL; /* del callback causes this to unrealize the menu */ - if (m-bg_object) evas_object_del(m-bg_object); + if (m-bg_object_wrap) evas_object_del(m-bg_object_wrap); + m-bg_object_wrap = NULL; EINA_LIST_FOREACH_SAFE(m-items, l, l_next, mi) e_object_del(E_OBJECT(mi)); if (m-in_active_list) @@ -1393,6 +1397,8 @@ _e_menu_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo E_Menu *m = data; m-bg_object = NULL; + evas_object_del(m-bg_object_wrap); + m-bg_object_wrap = NULL; _e_menu_unrealize(m); } @@ -1688,6 +1694,7 @@ _e_menu_realize(E_Menu *m) Evas_Object *o; Eina_List *l; E_Menu_Item *mi; + const char *s; if (m-realized || (!m-items)) return; m-realized = 1; @@ -1701,9 +1708,6 @@ _e_menu_realize(E_Menu *m) o = edje_object_add(m-evas); evas_object_event_callback_add(o, EVAS_CALLBACK_DEL, _e_menu_del_cb, m); m-bg_object = o; - evas_object_name_set(o, menu-bg_object); - evas_object_data_set(o, e_menu, m); - evas_object_data_set(o, eobj, m); e_theme_edje_object_set(o, base/theme/menus, e/widgets/menu/default/background); if (m-header.title) { @@ -1712,6 +1716,17 @@ _e_menu_realize(E_Menu *m) edje_object_message_signal_process(o); } + o = e_zoomap_add(m-evas); + evas_object_name_set(o, menu-bg_object_wrap); + evas_object_data_set(o, e_menu, m); + evas_object_data_set(o, eobj, m); + m-bg_object_wrap = o; + s = edje_object_data_get(m-bg_object, argb); + if (!s) s = edje_object_data_get(m-bg_object, shaped); + if ((s) (s[0] == '1')) e_zoomap_solid_set(o, EINA_FALSE); + else e_zoomap_solid_set(o, EINA_TRUE); + e_zoomap_child_set(o, m-bg_object); + o = e_box_add(m-evas); evas_object_name_set(o, menu-container_object); m-container_object = o; @@ -1981,6 +1996,8 @@ _e_menu_unrealize(E_Menu *m) m-header.icon = NULL; if (m-bg_object) evas_object_del(m-bg_object); m-bg_object = NULL; + if (m-bg_object_wrap) evas_object_del(m-bg_object_wrap); + m-bg_object_wrap = NULL; if (m-container_object) evas_object_del(m-container_object); m-container_object = NULL; m-cur.visible = 0; diff --git a/src/bin/e_menu.h b/src/bin/e_menu.h index 8c4d05c..36f22cc 100644 --- a/src/bin/e_menu.h +++ b/src/bin/e_menu.h @@ -56,6 +56,7 @@ struct _E_Menu E_Container_Shape *shape; Ecore_Job *dangling_job; Evas *evas; + Evas_Object *bg_object_wrap; Evas_Object
Re: [E-devel] State of E
For all those who have pulled latest revision and are looking for a working revision: Using revision 93f8f16bfde302f13282be49a7d912bcfa19df04 should to the trick :-) -- Leif Am Dienstag, 16. April 2013 um 16:26 schrieb Michael Blumenkrantz: People will likely want to avoid updating their E18 for the time being until a mildly crippling pixmap bug has been resolved. To anyone considering not reading this message, don't be a hero. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] State of E
Am Dienstag, 16. April 2013 um 16:38 schrieb Leif Middelschulte: For all those who have pulled latest revision and are looking for a working revision: Using revision 93f8f16bfde302f13282be49a7d912bcfa19df04 should to the trick :-) Sorry for the wrong info I forwarded without prior confirmation. 26f26283a4da25f08a385e7a0143434218318044 does work (including window resizing). -- Leif -- Leif Am Dienstag, 16. April 2013 um 16:26 schrieb Michael Blumenkrantz: People will likely want to avoid updating their E18 for the time being until a mildly crippling pixmap bug has been resolved. To anyone considering not reading this message, don't be a hero. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [EGIT] [core/enlightenment] master 01/03: e: add support for systemd user session.
Am Samstag, 30. März 2013 um 10:22 schrieb Cedric Bail - Enlightenment Git: cedric pushed a commit to branch master. commit cd28bc814552bf52bb670e108343b23d48fa839e Author: Cedric Bail cedric.b...@free.fr (mailto:cedric.b...@free.fr) Date: Thu Mar 28 23:53:24 2013 +0900 e: add support for systemd user session. --- ChangeLog | 4 NEWS | 1 + configure.ac (http://configure.ac) | 7 +++ data/Makefile.am (http://Makefile.am) | 4 +++- data/units/Makefile.am (http://Makefile.am) | 9 + data/units/e18.service | 27 + m4/pkg_var.m4 | 14 + src/bin/e_main.c | 55 ++ 8 files changed, 94 insertions(+), 27 deletions(-) diff --git a/ChangeLog b/ChangeLog index b040cf5..2b19cb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-28 Cedric Bail + + * added support for systemd user session. + 2013-03-11 Mike Blumenkrantz * menus are now drawn directly on the compositor canvas diff --git a/NEWS b/NEWS index d8cf3ac..c5d08c7 100644 --- a/NEWS +++ b/NEWS @@ -45,6 +45,7 @@ Additions: * new option for disabling all pointer warps * added option for preventing all keyboard layout changes * added option for remembering filemanager windows globally + * Added support for systemd user session Changes: Modules: diff --git a/configure.ac (http://configure.ac) b/configure.ac (http://configure.ac) index ef09d46..34e68dd 100644 --- a/configure.ac (http://configure.ac) +++ b/configure.ac (http://configure.ac) @@ -205,6 +205,12 @@ if test x${have_bluetooth} = xyes; then AC_DEFINE_UNQUOTED([HAVE_BLUETOOTH], [1], [Bluetooth is there]) fi +# Detect systemd user session directory properly +EFL_PKG_CHECK_VAR([USER_SESSION_DIR], [systemd], [systemduserunitdir], + [have_systemd_user_session=yes], [have_systemd_user_session=no]) +AM_CONDITIONAL([HAVE_SYSTEMD_USER_SESSION], [test x${have_systemd_user_session} = xyes]) +AC_SUBST([USER_SESSION_DIR]) + execinfo_libs= AC_CHECK_HEADERS([execinfo.h], [have_execinfo=yes], [have_execinfo=no]) if test x${have_execinfo} = xyes ; then @@ -1009,6 +1015,7 @@ data/etc/Makefile data/etc/sysactions.conf data/icons/Makefile data/backgrounds/Makefile +data/units/Makefile doc/Makefile doc/Doxyfile doc/e.dox diff --git a/data/Makefile.am (http://Makefile.am) b/data/Makefile.am (http://Makefile.am) index f320e9d..dbd5a42 100644 --- a/data/Makefile.am (http://Makefile.am) +++ b/data/Makefile.am (http://Makefile.am) @@ -10,4 +10,6 @@ icons \ backgrounds \ flags \ favorites \ -desktop +desktop \ +units + diff --git a/data/units/Makefile.am (http://Makefile.am) b/data/units/Makefile.am (http://Makefile.am) new file mode 100644 index 000..04ed87f --- /dev/null +++ b/data/units/Makefile.am (http://Makefile.am) @@ -0,0 +1,9 @@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in (http://Makefile.in) + +if HAVE_SYSTEMD_USER_SESSION +unitsdir = $(USER_SESSION_DIR) +units_DATA = e18.service +endif + +EXTRA_DIST = $(units_DATA) diff --git a/data/units/e18.service b/data/units/e18.service new file mode 100644 index 000..79feb40 --- /dev/null +++ b/data/units/e18.service @@ -0,0 +1,27 @@ +[Unit] +Description=Enlightenment 17 service 17 or 18? +Before=end.target +After=xorg.target +Requires=xorg.target +Requires=dbus.socket +Requires=pulseaudio.service +Requires=ssh-agent.service ssh-agent really required? -- Leif +AllowIsolate=true + +[Service] +Type=notify +#Environment=PATH=uncomment:to:override:your:PATH +Environment=E_START=enlightenment +ExecStart=/usr/bin/enlightenment +Restart=always +RestartPreventExitStatus=0 +RestartSec=2 +StartLimitInterval=30 +StartLimitBurst=7 +KillMode=process +WatchdogSec=1 +TimeoutSec=1 +NotifyAccess=all + +[Install] +WantedBy=wm.target diff --git a/m4/pkg_var.m4 b/m4/pkg_var.m4 new file mode 100644 index 000..3d0a309 --- /dev/null +++ b/m4/pkg_var.m4 @@ -0,0 +1,14 @@ +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --- +# Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([EFL_PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable=][$3][], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [], [$5], [$4])dnl +])# PKG_CHECK_VAR + diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 2df3d96..a6cc382 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -187,32 +187,35 @@ main(int argc, char **argv) /* trap deadly bug signals and allow some form of sane recovery */ /* or ability to gdb attach and debug at this point - better than your */ /* wm/desktop vanishing and not knowing what happened */ - TS(Signal Trap); - action.sa_sigaction = e_sigseg_act; -
Re: [E-devel] Git Mailing List
Am 14.03.2013 um 08:42 schrieb Michael Blumenkrantz michael.blumenkra...@gmail.com: Hi, I don't get mails from this list, and I haven't for a few weeks; the so-called git^Wsvn elimination team has been notified of this repeatedly. This is pretty crippling in terms of being able to know what's going on and review incoming code, so it would be nice to know what steps are being taken to fix this and/or what the problem is. If anyone else has the same issue, please reply so I can feel less alone. Hey, I've had the same issue. I registered the first time, once the git mailing list was available. I didn't receive mails either. So I reregustered and now I do. I hope this helps. -- Leif PS. The first person to tell me to use RSS instead of a mailing list will get a stern talking to. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] enable Eina logging
Am Montag, 25. Februar 2013 um 22:57 schrieb Andreas Volz: Am Mon, 25 Feb 2013 11:47:21 +0900 (KST) schrieb ChunEon Park: ah mistake. EINA_LOG_LEVEL=3 As I said... no good chance to modify the C environment in Android... I hacked static Eina_Log_Level _log_level = EINA_LOG_LEVEL_DBG; in eina_log.c now it works :-) Android bionic's libc has setenv. Can't you call it to modify your env before you initialize eina? -- Leif -Regards, Hermet- -Original Message- From: ChunEon Parkher...@naver.com (mailto:her...@naver.com) To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net); Cc: Sent: 2013-02-25 (월) 11:30:18 Subject: Re: [E-devel]enable Eina logging EINA_LOG_ERROR=3 ? -Regards, Hermet- -Original Message- From: Andreas Volzlists@brachttal.net (http://brachttal.net) To: enlightenment-devel@lists.sourceforge.net (http://lists.sourceforge.net); Cc: Sent: 2013-02-25 (월) 00:35:58 Subject: [E-devel] enable Eina logging Hello, I just wonder why these debug messages aren't printed out: EAPI Eina_Bool eina_module_load(Eina_Module *m) { ... DBG(m=%p, handle=%p, file=%s, refs=%d, m, m-handle, m-file, m-ref); ... WRN(could not dlopen(\%s\, RTLD_NOW): %s, m-file, dlerror()); ... They should be printed for my use case. I assume I didn't enable debugging for eina. How do I enable all available debug scopes? I tried with: eina_log_level_set (0); But for my use case that's to late because I do load eina/evas before my user shared object (on android). So how to enable all scopes? Environment variables are no option. Is there maybe a variable in a header file to set all log scopes to enabled? regards Andreas -- Technical Blog http://andreasvolz.wordpress.com (http://andreasvolz.wordpress.com)/ -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Technical Blog http://andreasvolz.wordpress.com/ -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/e/src/bin
Just as an explenation: I added timestamps, so one could add a browser for the remembered configurations and eventually remove any one won't use anymore. But since this configuration browser won't be added, I guess we could just as well remove this entry. -- Leif Am Dienstag, 19. Februar 2013 um 11:54 schrieb Enlightenment SVN: Log: Remove timestamps from config (not needed). Add randr versions to header. Signed-off-by: Christopher Michael cp.mich...@samsung.com (mailto:cp.mich...@samsung.com) Author: devilhorns Date: 2013-02-19 02:54:49 -0800 (Tue, 19 Feb 2013) New Revision: 84111 Trac: http://trac.enlightenment.org/e/changeset/84111 Modified: trunk/e/src/bin/e_randr.h Modified: trunk/e/src/bin/e_randr.h === --- trunk/e/src/bin/e_randr.h 2013-02-19 10:54:44 UTC (rev 84110) +++ trunk/e/src/bin/e_randr.h 2013-02-19 10:54:49 UTC (rev 84111) @@ -8,6 +8,11 @@ # ifndef E_RANDR_H # define E_RANDR_H +#define E_RANDR_VERSION_1_1 ((1 16) | 1) +#define E_RANDR_VERSION_1_2 ((1 16) | 2) +#define E_RANDR_VERSION_1_3 ((1 16) | 3) +#define E_RANDR_VERSION_1_4 ((1 16) | 4) + #define E_RANDR_CONFIG_FILE_EPOCH 1 #define E_RANDR_CONFIG_FILE_GENERATION 1 #define E_RANDR_CONFIG_FILE_VERSION \ @@ -21,7 +26,6 @@ unsigned char primary; // flag to indicate if primary output unsigned long edid_count; // monitor's edid length unsigned char *edid; // monitor's edid - double timestamp; // config timestamp }; struct _E_Randr_Crtc_Config @@ -31,35 +35,15 @@ unsigned int orient; // value of the ecore_x_randr_orientation unsigned int mode; // ecore_x_randr mode id (xid) Eina_List *outputs; // list of outputs for this crtc - double timestamp; // config timestamp }; struct _E_Randr_Config { - /* RANDR CONFIG - * - * Screen: - * width, height (int); - * - * list of crtcs - * each crtc having: - * unsigned int crtc_id (Ecore_X_ID); - * int x, y, w, h; (Eina_Rectangle); - * unsigned int orientation (Ecore_X_Randr_Orienation); - * unsigned int mode_id (Ecore_X_ID); - * list of outputs - * each output having: - * unsigned int output_id (Ecore_X_ID); - * unsigned int crtc_id (Ecore_X_ID); - * unsigned int output_policy; - */ - int version; // INTERNAL CONFIG VERSION struct { int width, height; // geometry - double timestamp; // config timestamp } screen; Eina_List *crtcs; -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net (mailto:enlightenment-...@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] EFL Snippet Sharing
Hello everyone, Every few days I come across some functionality that isn't usable 'straight forward' but isn't explicitly documented either. After asking on IRC I usually go back to read the library's C code, which sometimes is quite a bit time consuming. Since I strongly believe that many problems and their respective solutions are reoccurring, I'd like to have some sort of searchable snippets for EFL usage. I'm referring to short snippets, not to full fledged examples that could be added to examples/ or deserve a blog entry/whatever. Let me give you an example: Problem: Change an edje part's rel1 value via message using embryo Straight forward solution I assumed: set_state_val(…) Real solution: custom_state(…) set_state_val(…) set_state(…) Now I'd go and create a snippet that contains only the few correct lines + comments and tag it with e.g.: edje part geometry change rel1 embryo message I imagine a dedicated git repository (e.g. 'snippets') that contains tagged code snippets (first commit line) and a web interface to eventually add/edit/browse/search entries. Luckily we have phabricator, which already provides all of this :-) Now we'd just need to add such a repository. What do you guys think? -- Leif -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Snippet Sharing
Am Montag, 18. Februar 2013 um 20:34 schrieb Davide Andreoli: 2013/2/18 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) Hello everyone, Every few days I come across some functionality that isn't usable 'straight forward' but isn't explicitly documented either. After asking on IRC I usually go back to read the library's C code, which sometimes is quite a bit time consuming. Since I strongly believe that many problems and their respective solutions are reoccurring, I'd like to have some sort of searchable snippets for EFL usage. I'm referring to short snippets, not to full fledged examples that could be added to examples/ or deserve a blog entry/whatever. Let me give you an example: Problem: Change an edje part's rel1 value via message using embryo Straight forward solution I assumed: set_state_val(…) Real solution: custom_state(…) set_state_val(…) set_state(…) exactly this is explained in the example: efl/src/examples/edje/embryo_custom_state.edc I didn't want a custom state. I wanted to modify the current one. So this is - imo - not straight forward! Nevertheless I found an example that showed it. Now I'd go and create a snippet that contains only the few correct lines + comments and tag it with e.g.: edje part geometry change rel1 embryo message I imagine a dedicated git repository (e.g. 'snippets') that contains tagged code snippets (first commit line) and a web interface to eventually add/edit/browse/search entries. Luckily we have phabricator, which already provides all of this :-) Now we'd just need to add such a repository. What do you guys think? I don't think a new place to put example is a good idea, will make the search of resources more difficult. We have example/test/snippets too much sparse around: in sources, in the wiki, in examples, in tests... I think we need a sort of contentrator for all that info around. As I wrote it's not about full examples, just snippets! Are you familiar with gists? (see http://gist.github.com) I don't have the time to write out entire examples, but have the time to copy/paste a few lines I just coded/figured out and add some comments to them. Maybe a well done wiki page can be enough, I'm thinking of a sort of big index of resources grouped by libs. If we'd use a git repository you could use tools of your choice (e.g. grep) to search the given snippets for matching tags (either we embed them into the commit message or into the files). -- Leif -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Snippet Sharing
Am Dienstag, 19. Februar 2013 um 00:50 schrieb Carsten Haitzler: On Mon, 18 Feb 2013 20:53:42 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Am Montag, 18. Februar 2013 um 20:34 schrieb Davide Andreoli: 2013/2/18 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com leif.middelschu...@gmail.com) Hello everyone, Every few days I come across some functionality that isn't usable 'straight forward' but isn't explicitly documented either. After asking on IRC I usually go back to read the library's C code, which sometimes is quite a bit time consuming. Since I strongly believe that many problems and their respective solutions are reoccurring, I'd like to have some sort of searchable snippets for EFL usage. I'm referring to short snippets, not to full fledged examples that could be added to examples/ or deserve a blog entry/whatever. Let me give you an example: Problem: Change an edje part's rel1 value via message using embryo Straight forward solution I assumed: set_state_val(…) Real solution: custom_state(…) set_state_val(…) set_state(…) exactly this is explained in the example: efl/src/examples/edje/embryo_custom_state.edc I didn't want a custom state. I wanted to modify the current one. So this is - imo - not straight forward! Nevertheless I found an example that showed it. you can't modify a state from embryo without making a custom state. you MAKE a custom state FROM an existing state... Herrgott nochmal, it was just an example for a snippet ;-) Please stop commenting about this particular example and think about other pieces of code (if necessary)/the idea in general instead! An examplary snippet _could_ look like: embryo_part_modify_rel.edc: // TAGS: edje embryo message part modify resize rel1 rel2 script { public message(Msg_Type:type, id, ...) { new Float:rel_val; rel_val = getfarg(2); custom_state(PART:some_part, default, 0.0); // We need to create a custom state, since we can't modify a preexisting one set_state_val(PART:some_part, STATE_REL1, 0.0, rel_val); // Modify the state we can actually modify set_state(PART:some_part, custom, 0.0); // Set part's state the the customized one } } -- Leif Now I'd go and create a snippet that contains only the few correct lines + comments and tag it with e.g.: edje part geometry change rel1 embryo message I imagine a dedicated git repository (e.g. 'snippets') that contains tagged code snippets (first commit line) and a web interface to eventually add/edit/browse/search entries. Luckily we have phabricator, which already provides all of this :-) Now we'd just need to add such a repository. What do you guys think? I don't think a new place to put example is a good idea, will make the search of resources more difficult. We have example/test/snippets too much sparse around: in sources, in the wiki, in examples, in tests... I think we need a sort of contentrator for all that info around. As I wrote it's not about full examples, just snippets! Are you familiar with gists? (see http://gist.github.com) I don't have the time to write out entire examples, but have the time to copy/paste a few lines I just coded/figured out and add some comments to them. Maybe a well done wiki page can be enough, I'm thinking of a sort of big index of resources grouped by libs. If we'd use a git repository you could use tools of your choice (e.g. grep) to search the given snippets for matching tags (either we embed them into the commit message or into the files). -- Leif -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.netenlightenment-devel@lists.sourceforge.net ) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.netenlightenment
Re: [E-devel] e5: Call for VM
Am Freitag, 8. Februar 2013 um 09:45 schrieb Stefan Schmidt: Hello. On 08/02/13 04:29, Carsten Haitzler (The Rasterman) wrote: On Thu, 07 Feb 2013 21:45:23 -0600 ravenlock ravenl...@ravenlock.us (mailto:ravenl...@ravenlock.us) said: On 2/7/13 8:35 PM, Carsten Haitzler (The Rasterman) wrote: On Thu, 07 Feb 2013 09:35:07 -0600 ravenlock ravenl...@ravenlock.us (mailto:ravenl...@ravenlock.us) said: On 1/30/13 5:32 AM, Bertrand Jacquin wrote: Hi, For e5 buildbot/whatever we will need different OS and architecture to test. So if some volunteer are free to build some, we can gladly host them. Needed OS : - Windows XP x86 - Windows XP x86_64 - Windows Vista x86_64 - Windows 7 x86_64 - Windows 8 x86_64 What is the plan for licensing the above? someone needs to actually pay for a proper license/copy. there is no way i will allow us to use pirated copies of any software on our infra. if we ask people to respect our licenses, be they bsd, gpl or anything else, then we will respect theirs, regardless if they are open or not. I didn't propose pirating anything. Didn't know if we were hoping for people to purchase and donate copies, send in old decommissioned personal copies, if we were using E-funds or whatnot. sure - i'm just making it clear, that any such vm's must be installed above board with legitimate licenses for the vm os's :) This is kinda mood as nobody seems to actually want to setup and maintain these. I certainly will not touch windows for efl builds. And some point I would be willing to look into automated mingw64 build though, cross-compiled from Linux. I don't rule that somebody at some day may want to do this. But so far nobody showed up so we can happily ignore this. (maybe more declination are needed ?) - Mac OS X Snow Leopard - Mac OS X Lion - Mac OS X Mountain Lion This is easy and do'able if you have the Mac hardware and Parallels. Refurbed Mac Minis are like $500, you can stuff 16GB in them and a 1TB disk. Works perfectly well. Once upon a time there were E-funds being held. We might tap into those? he's asking for vm's, not hardware. we can't do squat diddly with a mac mini. If you desire osx, you'll be duct taping that Mac Mini to your rack mounted colo. ;) which means its not going to happen. osx support in our buildbot/cluster is not an option until apple changes their licensing policies. so upstream support == whatever devs manage to do at home on their own machines if they have osx boxen. My personal opinion is that we should just ignore this as well. They don't want people to devel something else then iOS apps. So why should we help them with our time? I think that it's legal to run Mac OS Server in a virtual machine. But I'm not 100% sure about this. Maybe this information is outdated. A general idea we had was some way of having jenkins slaves that only report to the master. Leaving out the scary parts of a server controlling the PC in your home for doing the builds. I guess MacOSX would not care but I find it scary. :) Anyway, something like this is way down on my list. Way down. Sounds even better. -- Leif regards Stefan Schmidt -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] e5: Call for VM
Am Mittwoch, 30. Januar 2013 um 12:32 schrieb Bertrand Jacquin: Hi, For e5 buildbot/whatever we will need different OS and architecture to test. So if some volunteer are free to build some, we can gladly host them. Needed OS : - Windows XP x86 - Windows XP x86_64 - Windows Vista x86_64 - Windows 7 x86_64 - Windows 8 x86_64 (maybe more declination are needed ?) - Mac OS X Snow Leopard - Mac OS X Lion - Mac OS X Mountain Lion - FreeBSD 8 - FreeBSD 9 - NetBSD 4.0 (still supported) - NetBSD 6.0 (still supported) - NetBSD 6.0 - OpenBSD 5.2 - ?? Other, and maybe more declination on previous list While it's not directly efl development focused, it would be nice to have a vm to compile/package (GBS/OBS) native (efl based) Tizen apps for the Tizen developer device. -- Leif Here are characteristics : - More the system is light, faster we can transfer it - dd if=/dev/zero of=/device at first - Make the image available as a disk gzip/xz format (as main content will be unused space defined with zeros previously) - Use virtIO for network, disk and console - kernel parameters: panic=5 clocksource=kvm-clock console=tty0 console=ttyS0,115200 - 1 network interface with DHCP - syslog everything to host: log.e5 (I can send you a syslog-ng conf if necessery) - smtp relay: smtp.e5 (I can send you a exim config) - minimal install - watchdog (wdd prefered http://linux.exosec.net/watchdog/daemon/) - necessary packages - snmpd - acpid Thanks, -- Beber -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: discomfitor IN trunk/efl: . src/lib/eina
Am Freitag, 1. Februar 2013 um 12:19 schrieb Michael Blumenkrantz: when a function name is already over 24 characters, adding another 12 is just not a great idea. Rather have a meaningful name and use autocomplete in your editor of choice! -- Leif On Fri, Feb 1, 2013 at 11:14 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi (mailto:barbi...@profusion.mobi) wrote: Awful name! Maybe replace_stringshared()? On Friday, February 1, 2013, Enlightenment SVN wrote: Log: add eina_stringshare_refplace(): same as replace(), but calls ref instead of add also fixed a small doc error Author: discomfitor Date: 2013-02-01 03:12:33 -0800 (Fri, 01 Feb 2013) New Revision: 83549 Trac: http://trac.enlightenment.org/e/changeset/83549 Modified: trunk/efl/ChangeLog trunk/efl/NEWS trunk/efl/src/lib/eina/eina_inline_stringshare.x Modified: trunk/efl/ChangeLog === --- trunk/efl/ChangeLog 2013-02-01 11:05:38 UTC (rev 83548) +++ trunk/efl/ChangeLog 2013-02-01 11:12:33 UTC (rev 83549) @@ -1,6 +1,7 @@ 2013-02-01 Mike Blumenkrantz * added eet_data_descriptor_name_get() + * added eina_stringshare_refplace() 2013-01-31 Guillaume Friloux Modified: trunk/efl/NEWS === --- trunk/efl/NEWS 2013-02-01 11:05:38 UTC (rev 83548) +++ trunk/efl/NEWS 2013-02-01 11:12:33 UTC (rev 83549) @@ -48,6 +48,7 @@ * Added eina_xattr_fd_get(), eina_xattr_fd_set(), eina_xattr_del(), eina_xattr_fd_del(), eina_xattr_copy() and eina_xattr_fd_copy() + * added eina_stringshare_refplace() * Added eina_file_copy() * Add eet_mmap. * added eet_data_descriptor_name_get() Modified: trunk/efl/src/lib/eina/eina_inline_stringshare.x === --- trunk/efl/src/lib/eina/eina_inline_stringshare.x 2013-02-01 11:05:38 UTC (rev 83548) +++ trunk/efl/src/lib/eina/eina_inline_stringshare.x 2013-02-01 11:12:33 UTC (rev 83549) @@ -28,9 +28,41 @@ */ /** + * Replace the previously stringshared pointer with another stringshared pointer. + * + * The string pointed by @a p_str must be previously stringshared or + * @c NULL and it will be eina_stringshare_del(). The new string must also + * be stringshared and will be passed to eina_stringshare_ref() and then assigned to @c *p_str. + * This function is identical to eina_stringshare_replace() except that it calls + * eina_stringshare_ref() instead of eina_stringshare_del() + * + * @param p_str pointer to the stringhare to be replaced. Must not be + * @c NULL, but @c *p_str may be @c NULL as it is a valid + * stringshare handle. + * @param news new string to replace with, may be @c NULL. + * + * @return #EINA_TRUE if the strings were different and thus replaced, #EINA_FALSE + * if the strings were the same after shared. + * + * @since 1.8 + */ +static inline Eina_Bool +eina_stringshare_refplace(Eina_Stringshare **p_str, Eina_Stringshare *news) +{ + if (*p_str == news) return EINA_FALSE; + + news = eina_stringshare_ref(news); + eina_stringshare_del(*p_str); + if (*p_str == news) + return EINA_FALSE; + *p_str = news; + return EINA_TRUE; +} + +/** * Replace the previously stringshared pointer with new content. * - * The string pointed by @a p_str should be previously stringshared or + * The string pointed by @a p_str must be previously stringshared or * @c NULL and it will be eina_stringshare_del(). The new string will * be passed to eina_stringshare_add() and then assigned to @c *p_str. * @@ -58,7 +90,7 @@ /** * Replace the previously stringshared pointer with a new content. * - * The string pointed by @a p_str should be previously stringshared or + * The string pointed by @a p_str must be previously stringshared or * @c NULL and it will be eina_stringshare_del(). The new string will * be passed to eina_stringshare_add_length() and then assigned to @c *p_str. * -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net (mailto:enlightenment-...@lists.sourceforge.net) javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com (mailto:barbi...@gmail.com) Skype: gsbarbieri Mobile: +55 (19) 9225-2202
Re: [E-devel] e5: Call for VM
Am Freitag, 1. Februar 2013 um 14:21 schrieb Bertrand Jacquin: - ?? Other, and maybe more declination on previous list While it's not directly efl development focused, it would be nice to have a vm to compile/package (GBS/OBS) native (efl based) Tizen apps for the Tizen developer device. What is needed for this ? Either you setup a vm with cross compiling stuff, etc. yourself _or_ you use one of these appliances: http://susestudio.com/a/e0uuBG/obs-obs-server-opensuse-12-1-devel or http://susestudio.com/a/e0uuBG/obs-light-obs-client-stable Unfortunately I haven't tested them myself locally yet :-/ As far as I read, the 'light' edition is actually intended to run locally (read: on dev machines) though. -- Leif -- Beber -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/efl/src/lib/ecore_x/xlib
Am Freitag, 1. Februar 2013 um 12:51 schrieb Enlightenment SVN: Log: Length is optional here when getting edid from output. Signed-off-by: Christopher Michael cp.mich...@samsung.com (mailto:cp.mich...@samsung.com) Author: devilhorns Date: 2013-02-01 03:50:59 -0800 (Fri, 01 Feb 2013) New Revision: 83554 Trac: http://trac.enlightenment.org/e/changeset/83554 Modified: trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c Modified: trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c === --- trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c 2013-02-01 11:47:24 UTC (rev 83553) +++ trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c 2013-02-01 11:50:59 UTC (rev 83554) @@ -2527,8 +2527,6 @@ if (_randr_version RANDR_VERSION_1_2) return NULL; - if (!length) return NULL; Maybe the docs should be updated too to mention that it'll return 128bytes anyway. -- Leif - /* try to get the edid atom */ if (!(edid = XInternAtom(_ecore_x_disp, RR_PROPERTY_RANDR_EDID, True))) return NULL; -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net (mailto:enlightenment-...@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Enlightenment DR 0.17.1 release and E18 snapshot
Am Donnerstag, 31. Januar 2013 um 15:23 schrieb Michael Blumenkrantz: Due to various things, this is coming out a couple weeks later than expected. Who would have guessed that we would be behind schedule on a release? I'd write out a full changelog here, but it would be far too massive. Instead, here is a link to the current NEWS file in trunk: http://svn.enlightenment.org/svn/e/trunk/e/NEWS How about adding links to/replacing links on the downloads page too? -- Leif The bugfix release contains most of the fixes listed here, so long as they did not require new features or libraries. E17.1 (bugfix release): http://download.enlightenment.org/releases/enlightenment-0.17.1.tar.gz http://download.enlightenment.org/releases/enlightenment-0.17.1.tar.bz2 EDBUSv2 snapshot (required if using E18 snapshot with 1.7 branch): http://download.enlightenment.org/snapshots/2013-01-31/edbus-1.7.99.83479.tar.gz http://download.enlightenment.org/snapshots/2013-01-31/edbus-1.7.99.83479.tar.bz2 E18 SNAPSHOT - 83479 http://download.enlightenment.org/snapshots/2013-01-31/enlightenment-0.17.99.83479.tar.gz http://download.enlightenment.org/snapshots/2013-01-31/enlightenment-0.17.99.83479.tar.bz2 The latest updates and news on Enlightenment can be found at http://e18releasemanager.wordpress.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje external elm/entry's editable parameter
2013/1/18 Carsten Haitzler ras...@rasterman.com On Thu, 17 Jan 2013 20:03:18 -0200 Bruno Dilly bdi...@profusion.mobi said: On Thu, Jan 17, 2013 at 7:41 PM, Bruno Dilly bdi...@profusion.mobi wrote: On Tue, Jan 15, 2013 at 1:09 AM, Leif Middelschulte leif.middelschu...@gmail.com wrote: Hello everyone, I'm trying to use an elm_entry for a UI via edje externals. Unfortunatelly, the entries don't respect the 'editable' parameter. I've attached an edc example, hoping that I've just been doing something wrong. Hey Leif, interesting issue. But looks like editable parameter is respected, if you set it to 1, you can cut text, if it's set to 0, you can't. Btw, entries are editable by default. I guess it's an issue related to focus, and it exists on 1.7.x too. And it's not specific to entries. Other stuff swallowed won't be focused as well. You can try to add a button, it won't be focused after you press it (you could try to press spacebar to activate it). But for entries it's a major issue. the moment you use externals.. or an edje object by hand, you break elm's focus chain. That's unfortunate. I don't know if it's linked or not, but using edje TEXTBLOCK and its entry_mode parameter hides the set text and isn't usable either. No way to enter text. I've attached an EDC that shows it perfectly. Once you uncomment the 'entry_mode' line, the text will disappear and you won't be able to enter text either. In hope that I've just been misunderstanding something, Leif -- Leif -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Bruno Dilly Lead Developer ProFUSION embedded systems http://profusion.mobi -- Bruno Dilly Lead Developer ProFUSION embedded systems http://profusion.mobi -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif edje_textblock_editable_fail.edc Description: Binary data -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Call of embryo_cc in edje_cc_out.c
Hi guys, while trying to get efl (seperate libraries) and elementary packaged upstream for homebrew package manager (Mac OS), I came over a bug in edje_cc that was causing the compilation of elm's theme to fail. It seems that edje_cc uses edje's binary prefix to execute embryo, which is wrong. I'm not sure whether it should rely on PATH or use embryo's pkg-config value. Since it uses eina_prefix now, I assume a runtime dynamic version is preferred. The problematic line is the following: http://trac.enlightenment.org/e/browser/trunk/IN-EFL/edje/src/bin/edje_cc_out.c#L1331 For now, I'll just add a patch for edje to its homebrew formula. I hope we can fix this in the next release. -- Leif -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Call of embryo_cc in edje_cc_out.c
Am Samstag, 26. Januar 2013 um 03:41 schrieb Carsten Haitzler: On Fri, 25 Jan 2013 20:32:43 +0100 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) said: Hi guys, while trying to get efl (seperate libraries) and elementary packaged upstream for homebrew package manager (Mac OS), I came over a bug in edje_cc that was causing the compilation of elm's theme to fail. It seems that edje_cc uses edje's binary prefix to execute embryo, which is wrong. I'm not sure whether it should rely on PATH or use embryo's pkg-config value. Since it uses eina_prefix now, I assume a runtime dynamic version is preferred. The problematic line is the following: http://trac.enlightenment.org/e/browser/trunk/IN-EFL/edje/src/bin/edje_cc_out.c#L1331 it HAS to do this as it can't rely on knowing embryo's prefix. it assumes embryo is put int he same prefix as edje - that is its assumption. as of the efl merged tree.. this is 100% correct too. :) So why not rely on PATH or pkg-config? Taking some other package's prefix and assuming it has to be the same seem's odd. Also, maybe a differentiating error message (executable not found) would be useful here. For now, I'll just add a patch for edje to its homebrew formula. I hope we can fix this in the next release. -- Leif -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com (mailto:ras...@rasterman.com) -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] terminology crash triggered by options panel
Am Mittwoch, 23. Januar 2013 um 00:34 schrieb Ulisses Furquim: Hi Leif, On Tue, Jan 22, 2013 at 8:28 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: 2013/1/22 Ulisses Furquim ulis...@profusion.mobi (mailto:ulis...@profusion.mobi) Hi Leif, On Tue, Jan 22, 2013 at 6:08 PM, Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) wrote: Hi, terminology (latest efl too) crashes when I try to display the options dialog. Maybe this is due to changes in efl, because when I checkout a terminology revision I know used to work it still crashes when displaying the theme page (though it takes a few seconds to crash). Backtrace? Sorry, I assumed it happens for everyone. Please find the backtrace attached. Really, we all should be reporting the errors better. A backtrace and/or valgrind log always helps as well as telling what you were doing (like you did). You're totally right. I somehow assumed it would happen for everyone. So people with the knowledge of the codebase would debug it right on their machines. That was apparently a wrong assumption, my bad. I cannot check now but maybe the last Raster's commit with config per term is causing this? Can you try without that patch and maybe identify which commit broke this? Seems to be fixed with latest efl,elementary and terminology. -- Leif Thanks, -- Ulisses Furquim ProFUSION embedded systems http://profusion.mobi Mobile: +55 19 9250 0942 Skype: ulissesffs -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] terminology crash triggered by options panel
Hi, terminology (latest efl too) crashes when I try to display the options dialog. Maybe this is due to changes in efl, because when I checkout a terminology revision I know used to work it still crashes when displaying the theme page (though it takes a few seconds to crash). -- Leif -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] terminology crash triggered by options panel
2013/1/22 Ulisses Furquim ulis...@profusion.mobi Hi Leif, On Tue, Jan 22, 2013 at 6:08 PM, Leif Middelschulte leif.middelschu...@gmail.com wrote: Hi, terminology (latest efl too) crashes when I try to display the options dialog. Maybe this is due to changes in efl, because when I checkout a terminology revision I know used to work it still crashes when displaying the theme page (though it takes a few seconds to crash). Backtrace? Sorry, I assumed it happens for everyone. Please find the backtrace attached. -- Leif -- Ulisses -- Leif -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Ulisses Furquim ProFUSION embedded systems http://profusion.mobi Mobile: +55 19 9250 0942 Skype: ulissesffs -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel #0 options_toggle (win=0x0, bg=0x0, term=0x0) at options.c:189 it_fn = 0x0 config = 0x0 o = 0x0 #1 0x764ebd07 in evas_object_smart_callback_call (eo_obj=0x97bed0, event=0x77b5ee40 SIG_CLICKED clicked, event_info=0x0) at lib/evas/canvas/evas_object_smart.c:737 o = 0x97c100 l = 0x96ee60 cb = optimized out strshare = optimized out obj = 0x97bf60 event_desc = optimized out #2 0x76026a8b in edje_match_callback_exec_check_finals (prop=0 '\000', ed=0x97c898, callbacks=0x96eef0, source= 0x76c7a83d , sig=0x6aa44c elm,action,click, source_finals=0x9833c8, signal_finals=0x982368, source_ppat=0x9833a0, signal_ppat=0x982340, signal_states=optimized out, source_states=optimized out) at lib/edje/edje_match.c:500 run = {version = 1, data = 0x9879e0, total = 4, count = 0, step = 4, __magic = 2557874747} i = optimized out escb = optimized out j = optimized out r = optimized out #3 edje_match_callback_exec (ppat_signal=0x982340, ppat_source=0x9833a0, sig=sig@entry=0x6aa44c elm,action,click, source=source@entry=0x76c7a83d , callbacks=0x96eef0, ed=ed@entry=0x97c898, prop=prop@entry=0 '\000') at lib/edje/edje_match.c:658 signal_result = 0x982430 source_result = optimized out r = 0 #4 0x7602cdfc in _edje_emit_cb (prop=0 '\000', data=0x0, src=0x76c7a83d , sig=0x6aa44c elm,action,click, ed= 0x97c898) at lib/edje/edje_program.c:1513 match = optimized out iterator = optimized out i = optimized out escb = optimized out r = 1 l = optimized out #5 _edje_emit_handle (ed=0x97c898, sig=0x6aa44c elm,action,click, src=0x76c7a83d , sdata=0x0, prop=0 '\000') at lib/edje/edje_program.c:1465 done = 0 #6 0x7602811f in _edje_message_queue_process () at lib/edje/edje_message_queue.c:789 em = 0x9486b0 ed = 0x97c898 __FUNCTION__ = _edje_message_queue_process #7 0x76028287 in _edje_job (data=optimized out) at lib/edje/edje_message_queue.c:185 No locals. #8 0x762705eb in _ecore_job_event_handler (data=optimized out, type=optimized out, ev=optimized out) at lib/ecore/ecore_job.c:153 job = optimized out #9 0x7626bccc in _ecore_call_handler_cb (event=optimized out, type=optimized out, data=optimized out, func=optimized out) at lib/ecore/ecore_private.h:354 r = optimized out #10 _ecore_event_call () at lib/ecore/ecore_events.c:562 ret = 10 '\n' e = 0x9ac840 handle_count = 1 l = optimized out l_next = optimized out eh = 0x649780 #11 0x76271ca9 in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1934 next_time = optimized out #12 0x76272237 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:956 No locals. #13 0x77adf255 in elm_run () at elm_main.c:965 No locals. #14 0x0040dddb in elm_main (argc=optimized out, argv=optimized out) at main.c
Re: [E-devel] E SVN: billiob IN trunk/terminology: . data/themes
Am Sonntag, 20. Januar 2013 um 17:48 schrieb Enlightenment SVN: Log: terminology: add solarized theme Author: billiob Date: 2013-01-20 08:48:21 -0800 (Sun, 20 Jan 2013) New Revision: 83020 Trac: http://trac.enlightenment.org/e/changeset/83020 Added: trunk/terminology/data/themes/solarized.edc Modified: trunk/terminology/.gitignore trunk/terminology/data/themes/Makefile.am (http://Makefile.am) Modified: trunk/terminology/.gitignore === --- trunk/terminology/.gitignore 2013-01-20 16:48:18 UTC (rev 83019) +++ trunk/terminology/.gitignore 2013-01-20 16:48:21 UTC (rev 83020) @@ -24,6 +24,7 @@ data/themes/default.edj data/themes/mild.edj data/themes/black.edj +data/themes/solarized.edj data/themes/images/Makefile data/themes/images/Makefile.in (http://Makefile.in) depcomp Modified: trunk/terminology/data/themes/Makefile.am (http://Makefile.am) === --- trunk/terminology/data/themes/Makefile.am (http://Makefile.am) 2013-01-20 16:48:18 UTC (rev 83019) +++ trunk/terminology/data/themes/Makefile.am (http://Makefile.am) 2013-01-20 16:48:21 UTC (rev 83020) @@ -12,9 +12,10 @@ files_DATA = \ default.edj \ mild.edj \ -black.edj +black.edj \ +solarized.edj -EXTRA_DIST = default.edc mild.edc black.edc +EXTRA_DIST = default.edc mild.edc black.edc default_colors.in.edc default.edj: Makefile default.edc $(EDJE_CC) $(EDJE_FLAGS) \ @@ -31,5 +32,10 @@ $(top_srcdir)/data/themes/black.edc \ $(top_builddir)/data/themes/black.edj +solarized.edj: Makefile solarized.edc default_colors.in.edc As I told you on IRC, I assume that you only accidently added default_colors.in.edc to the dependencies of solarized.edj This is just a reminder to remove it. -- Leif + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/solarized.edc \ + $(top_builddir)/data/themes/solarized.edj + clean-local: rm -f *.edj Added: trunk/terminology/data/themes/solarized.edc === --- trunk/terminology/data/themes/solarized.edc (rev 0) +++ trunk/terminology/data/themes/solarized.edc 2013-01-20 16:48:21 UTC (rev 83020) @@ -0,0 +1,942 @@ + +collections { + +// + the background and general container for the terminal + group { name: terminology/background; + color_classes { + color_class { name: color-0; color: 131 148 150 255; } + color_class { name: color-1; color: 7 54 66 255; } + color_class { name: color-2; color: 220 50 47 255; } + color_class { name: color-3; color: 133 153 0 255; } + color_class { name: color-4; color: 181 137 0 255; } + color_class { name: color-5; color: 38 139 210 255; } + color_class { name: color-6; color: 211 54 130 255; } + color_class { name: color-7; color: 42 161 152 255; } + color_class { name: color-8; color: 238 232 213 255; } + color_class { name: color-11; color: 131 148 150 255; } + + color_class { name: color-13; color: 0 43 54 255; } + color_class { name: color-14; color: 203 75 22 255; } + color_class { name: color-15; color: 88 110 117 255; } + color_class { name: color-16; color: 101 123 131 255; } + color_class { name: color-17; color: 131 148 150 255; } + color_class { name: color-18; color: 108 113 196 255; } + color_class { name: color-19; color: 147 161 161 255; } + color_class { name: color-20; color: 253 246 227 255; } + + color_class { name: color-25; color: 0 43 54 255; } + color_class { name: color-26; color: 203 75 22 255; } + color_class { name: color-27; color: 88 110 117 255; } + color_class { name: color-28; color: 101 123 131 255; } + color_class { name: color-29; color: 131 148 150 255; } + color_class { name: color-30; color: 108 113 196 255; } + color_class { name: color-31; color: 147 161 161 255; } + color_class { name: color-32; color: 253 246 227 255; } + + color_class { name: 256color-0; color: 7 54 66 255; } // COL_BLACK + color_class { name: 256color-1; color: 220 50 47 255; } // COL_RED + color_class { name: 256color-2; color: 133 153 0 255; } // COL_GREEN + color_class { name: 256color-3; color: 181 137 0 255; } // COL_YELLOW + color_class { name: 256color-4; color: 38 139 210 255; } // COL_BLUE + color_class { name: 256color-5; color: 211 54 130 255; } // COL_MAGENTA + color_class { name: 256color-6; color: 42 161 152 255; } // COL_CYAN + color_class { name: 256color-7; color: 238 232 213 255; } // COL_WHITE + + color_class { name: 256color-8; color: 0 43 54 255; } // COL_BLACK + color_class { name: 256color-9; color: 203 75 22 255; } // COL_RED + color_class { name: 256color-10; color: 88 110 117 255; } // COL_GREEN + color_class { name: 256color-11; color: 101 123 131 255; } // COL_YELLOW + color_class { name: 256color-12; color: 131 148 150 255; } // COL_BLUE + color_class { name:
[E-devel] edje external elm/entry's editable parameter
Hello everyone, I'm trying to use an elm_entry for a UI via edje externals. Unfortunatelly, the entries don't respect the 'editable' parameter. I've attached an edc example, hoping that I've just been doing something wrong. -- Leif test.edc Description: Binary data -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] configure.ac English terms
Am Freitag, 28. Dezember 2012 um 04:50 schrieb Carsten Haitzler: On Thu, 27 Dec 2012 16:35:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) said: Hello everyone, Does anybody have a problem with replacing the English terms parameters of grep in m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s \n, $1);}' | tr -d ' :MSP\n'])) (taken from configure.ac (http://configure.ac)) with something like `gettext -d subversion Unversioned directory%` so it'll work in non-Enligsh environments too? thats filtering out stuff that will make it break... the problem is what to filter out per locale is a massive long list of every language in the world... :) Well, the replacement I proposed will return the string translated to the locale currently used. So we don't have to filter per locale. gettext will get the current locale and return the translated string :) -- Leif -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com (mailto:ras...@rasterman.com) -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] configure.ac English terms
Am Freitag, 28. Dezember 2012 um 13:08 schrieb Gustavo Sverzut Barbieri: On Friday, December 28, 2012, Leif Middelschulte wrote: Am Freitag, 28. Dezember 2012 um 04:50 schrieb Carsten Haitzler: On Thu, 27 Dec 2012 16:35:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) javascript:; (mailto: leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) javascript:;) said: Hello everyone, Does anybody have a problem with replacing the English terms parameters of grep in m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s \n, $1);}' | tr -d ' :MSP\n'])) (taken from configure.ac (http://configure.ac) ( http://configure.ac)) with something like `gettext -d subversion Unversioned directory%` so it'll work in non-Enligsh environments too? thats filtering out stuff that will make it break... the problem is what to filter out per locale is a massive long list of every language in the world... :) Well, the replacement I proposed will return the string translated to the locale currently used. So we don't have to filter per locale. gettext will get the current locale and return the translated string :) Given that you have gettext. When I used gentoo I didn't have it, as English works better. I'm more like force Lang=C Even better :) -- Leif -- Leif -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com (mailto:ras...@rasterman.com) javascript:;(mailto: ras...@rasterman.com (mailto:ras...@rasterman.com) javascript:;) -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com (mailto:barbi...@gmail.com) Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] configure.ac English terms
Am Freitag, 28. Dezember 2012 um 13:19 schrieb Carsten Haitzler: On Thu, 27 Dec 2012 16:35:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) said: Hello everyone, Does anybody have a problem with replacing the English terms parameters of grep in m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s \n, $1);}' | tr -d ' :MSP\n'])) (taken from configure.ac (http://configure.ac)) with something like `gettext -d subversion Unversioned directory%` so it'll work in non-Enligsh environments too? and that will work better than just setting LC_ALL=C ? :) Then do it like that. Somehow I wasn't thinking about that option for some reason, although I already used it to manipulate autogen.sh execution in arch's AUR PKGBUILDs ;) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com (mailto:ras...@rasterman.com) -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] configure.ac English terms
Hi Vincent, could you, the master of autotools, add LANG=C to the grep commands in the EFL, as described below? I don't want to poach in your teretory ;) Thanks, Leif Am Freitag, 28. Dezember 2012 um 13:08 schrieb Gustavo Sverzut Barbieri: On Friday, December 28, 2012, Leif Middelschulte wrote: Am Freitag, 28. Dezember 2012 um 04:50 schrieb Carsten Haitzler: On Thu, 27 Dec 2012 16:35:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) javascript:; (mailto: leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com) javascript:;) said: Hello everyone, Does anybody have a problem with replacing the English terms parameters of grep in m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s \n, $1);}' | tr -d ' :MSP\n'])) (taken from configure.ac (http://configure.ac) ( http://configure.ac)) with something like `gettext -d subversion Unversioned directory%` so it'll work in non-Enligsh environments too? thats filtering out stuff that will make it break... the problem is what to filter out per locale is a massive long list of every language in the world... :) Well, the replacement I proposed will return the string translated to the locale currently used. So we don't have to filter per locale. gettext will get the current locale and return the translated string :) Given that you have gettext. When I used gentoo I didn't have it, as English works better. I'm more like force Lang=C -- Leif -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com (mailto:ras...@rasterman.com) javascript:;(mailto: ras...@rasterman.com (mailto:ras...@rasterman.com) javascript:;) -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) javascript:; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com (mailto:barbi...@gmail.com) Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [PATCH] configure.ac v_rev svnversion locale
Hello folks, I don't have the entire svn repository around, but I figured I'd provide patches for at least some libs/apps. The patches were created using: for i in `find . -name configure.ac; do sed -i'' '/Unversioned/s/svnversion/LANG=C svnversion/' $i; done; So please either apply the patches or - if you have more stuff around - execute the command above and commit the changes. -- Leif azy_configure_ac_lang_c_svnversion.diff Description: Binary data e_configure_ac_lang_c_svnversion.diff Description: Binary data e_dbus_configure_ac_lang_c_svnversion.diff Description: Binary data edbus_configure_ac_lang_c_svnversion.diff Description: Binary data edje_configure_ac_lang_c_svnversion.diff Description: Binary data eeze_configure_ac_lang_c_svnversion.diff Description: Binary data efl_configure_ac_lang_c_svnversion.diff Description: Binary data efreet_configure_ac_lang_c_svnversion.diff Description: Binary data elementary_configure_ac_lang_c_svnversion.diff Description: Binary data emotion_configure_ac_lang_c_svnversion.diff Description: Binary data ephysics_configure_ac_lang_c_svnversion.diff Description: Binary data ethumb_configure_ac_lang_c_svnversion.diff Description: Binary data etrophy_configure_ac_lang_c_svnversion.diff Description: Binary data -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] eina_module core-dump
Hello everyone, I'm trying to use eina_module for a project. Unfortunatelly I keep getting a SEGFAULT with a core-dump when I implement the functions '__eina_module_init' or '__eina_module_shutdown'. Symbols are exported (checked with nm). Is there something I am missing? -- Leif -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] configure.ac English terms
Hello everyone, Does anybody have a problem with replacing the English terms parameters of grep in m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s\n, $1);}' | tr -d ' :MSP\n'])) (taken from configure.ac) with something like `gettext -d subversion Unversioned directory%` so it'll work in non-Enligsh environments too? -- Leif -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E17 Crash with dual monitor setup
Am 18.12.2012 um 22:48 schrieb Edward Mann e@edmann.com: I have 2 HP LA2405wg monitors my video card is as below VGA compatible controller: nVidia Corporation G98 [Quadro NVS 295] (rev a1) (prog-if 00 [VGA controller]) Subsystem: nVidia Corporation Device 062e Physical Slot: 1 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at f100 (32-bit, non-prefetchable) [size=16M] Memory at f800 (64-bit, prefetchable) [size=64M] Memory at f200 (64-bit, non-prefetchable) [size=32M] I/O ports at 1100 [size=128] Expansion ROM at unassigned [disabled] Capabilities: access denied Kernel driver in use: nvidia I am running NVidia driver Version 304.64 When i turn the monitor off that is the primary everything is fine, however if i turn the secondary monitor off E17 will crash. I am running the latest Omega release. This is not the first release it has done it on. I have removed the .e directory and did setup steps and that did not fix the crashing. Has anyone else experienced this behavior? Hey, firstofall I don't have your hardware. Could you please do a full backtrace? Regards, Leif Thanks .e-crashdump.txt-- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric trunk/e/src/modules/conf_randr
Am 18.12.2012 um 18:11 schrieb Michael Blumenkrantz michael.blumenkra...@gmail.com: this one is not supposed to be resizable since by spec you are only allowed to move monitors within a certain area… I assume that you mean the max. screen size? If i recall correctly (lucky) the dialog doesn't scale the monitors to match the max. screen size, does it? In the old dialog I used to have a scroller to have sane sizes for the monitors in the dialog, yet have the max. screen size available. -- Leif On Tue, Dec 18, 2012 at 3:25 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: e: seriously, WTF with all this non resizable config setting window, it's insane ! Author: cedric Date: 2012-12-17 19:25:45 -0800 (Mon, 17 Dec 2012) New Revision: 81199 Trac: http://trac.enlightenment.org/e/changeset/81199 Modified: trunk/e/src/modules/conf_randr/e_int_config_randr.c Modified: trunk/e/src/modules/conf_randr/e_int_config_randr.c === --- trunk/e/src/modules/conf_randr/e_int_config_randr.c 2012-12-18 01:31:52 UTC (rev 81198) +++ trunk/e/src/modules/conf_randr/e_int_config_randr.c 2012-12-18 03:25:45 UTC (rev 81199) @@ -47,6 +47,7 @@ E, screen/screen_setup, preferences-system-screen-resolution, 0, v, NULL); + e_dialog_resizable_set(cfd-dia, 1); return cfd; } -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: discomfitor IN trunk/e: . src/modules src/modules/birthday
Happy birthday! Make sure you stop by for a beer if you do the 'jackson' ;) -- Leif Am 29.11.2012 um 05:17 schrieb Brian 'morlenxus' Miculcy morlen...@gmx.net: Happy birthday, old man! :) On 11/29/2012 04:26 AM, Daniel Juyung Seo wrote: Yay happy birthday raster! Daniel Juyung Seo (SeoZ) On Thu, Nov 29, 2012 at 11:30 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: for the next 24 hours, E17 is in BIRTHDAY MODE! HAPPY BIRTHDAY RASTER! Author: discomfitor Date: 2012-11-28 18:30:06 -0800 (Wed, 28 Nov 2012) New Revision: 79798 Trac: http://trac.enlightenment.org/e/changeset/79798 Added: trunk/e/src/modules/Makefile_birthday.am trunk/e/src/modules/birthday/ trunk/e/src/modules/birthday/e-module-birthday.edj trunk/e/src/modules/birthday/e_mod_main.c trunk/e/src/modules/birthday/ e_modules-birthday.spec.in trunk/e/src/modules/birthday/module.desktop.in Modified: trunk/e/configure.ac trunk/e/src/modules/Makefile.am Modified: trunk/e/configure.ac === --- trunk/e/configure.ac2012-11-29 02:28:08 UTC (rev 79797) +++ trunk/e/configure.ac2012-11-29 02:30:06 UTC (rev 79798) @@ -836,6 +836,7 @@ AC_E_OPTIONAL_MODULE([ibar], true) AC_E_OPTIONAL_MODULE([dropshadow], true) +AC_E_OPTIONAL_MODULE([birthday], true) AC_E_OPTIONAL_MODULE([clock], true) AC_E_OPTIONAL_MODULE([pager], true) AC_E_OPTIONAL_MODULE([battery], true, [CHECK_MODULE_BATTERY]) @@ -916,6 +917,8 @@ EFL_COMPILER_FLAG([-W]) ]) +EFL_COMPILER_FLAG([-Wno-trigraphs]) +EFL_COMPILER_FLAG([-trigraphs]) SUID_CFLAGS=-fPIE SUID_LDFLAGS=-pie AC_SUBST([SUID_CFLAGS]) @@ -932,6 +935,7 @@ src/modules/Makefile src/modules/ibar/module.desktop src/modules/dropshadow/module.desktop +src/modules/birthday/module.desktop src/modules/clock/module.desktop src/modules/pager/module.desktop src/modules/battery/module.desktop Modified: trunk/e/src/modules/Makefile.am === --- trunk/e/src/modules/Makefile.am 2012-11-29 02:28:08 UTC (rev 79797) +++ trunk/e/src/modules/Makefile.am 2012-11-29 02:30:06 UTC (rev 79798) @@ -42,6 +42,10 @@ include Makefile_clock.am endif +if USE_MODULE_BIRTHDAY +include Makefile_birthday.am +endif + if USE_MODULE_PAGER include Makefile_pager.am endif Property changes on: trunk/e/src/modules/birthday ___ Added: svn:ignore + .deps .dirstamp module.desktop Property changes on: trunk/e/src/modules/birthday/e-module-birthday.edj ___ Added: svn:mime-type + application/octet-stream -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_index takes entire canvas space and autohide weirdness
Am 23.11.2012 um 01:00 schrieb Carsten Haitzler (The Rasterman) ras...@rasterman.com: On Thu, 22 Nov 2012 18:50:04 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hi there, 1. Bug (space taken): As the subject says, elm_index takes the entire canvas (horizontally xor vertically) and thus renders e.g. it unusable with any ui that has e.g. buttons in the respective corners. I think that it should be limited to the viewport size of its parent element à la 'elm_index_add(parent)'. my testing says otherwise... rememebr parent is just the parent for CREATION and logical ownership.. did you PACK index into something? eg a table? use a table. put the object on top of which u want the index for in first, THEN pack the index in the same table cell. it will be layered on top.. and it'll occupy the same space as (eg the list) that its on top of... and it even gets clipped to it... ALL the examples add it as a resize object to the window - but it can be put anywhere... and it positions, sizes and clips - i just modified elm_test's index test to do this and it works correctly. what index DOESNT do is gracefully handle if # of items doesnt fit in the space allowed - it doesn't go removing them... so it overflows and gets clipped by the index region. Thanks for the clarification :) 2. Bug (autohide): Disabling autohide before elements are added leads to weird behavior. E.g. there's just one index A. e... no can reproduce... disabling or enabling it means all items exist - at least in elm test's index code… Nice to see that you've already adjusted the test code :) Thank you for your quick reply! -- Leif -- Leif -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: billiob IN trunk/terminology: data/themes src/bin
Am 05.11.2012 um 16:40 schrieb Gustavo Sverzut Barbieri barbi...@profusion.mobi: Before we make it configurable you can do a quick hack: whenever you load the theme, you ask for edje_object_data_get(ed, color-ID) and atoi() to the real color, set it to the used colors in textgrid Boris, will you do this? On Mon, Nov 5, 2012 at 1:36 PM, Boris Faure bo...@fau.re wrote: On 12-11-05 16:31, Leif Middelschulte wrote: Nice! But why wouldn't you just provide another theme file? It's almost the default file. The main change is the colors hardcoded in col.c. For the moment, i've got that commit i keep on pushing and reverting waiting there's a better way to change colors. -- Boris Faure Pointer Arithmetician -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d ___ 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 -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] elm_index takes entire canvas space and autohide weirdness
Hi there, 1. Bug (space taken): As the subject says, elm_index takes the entire canvas (horizontally xor vertically) and thus renders e.g. it unusable with any ui that has e.g. buttons in the respective corners. I think that it should be limited to the viewport size of its parent element à la 'elm_index_add(parent)'. 2. Bug (autohide): Disabling autohide before elements are added leads to weird behavior. E.g. there's just one index A. -- Leif -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E17 - enlightenment menu
Am Dienstag, 20. November 2012 um 02:43 schrieb Carsten Haitzler: On Mon, 19 Nov 2012 12:35:18 -0200 Lucas De Marchi lucas.demar...@profusion.mobi (mailto:lucas.demar...@profusion.mobi) said: i just tried adding about enlightenment and restart enlightenment, exit enlightenment and it's horrible text duplication - it looks awful and repetitive. it's already under the enlightenment parent item - thus the topic already is enlightenment... there's context. the on ly thing that makes sense to change is Theme - About Theme How about connecting that dialog to a button in the theme configuration and remove its link from the main menu? On Mon, Nov 19, 2012 at 12:16 PM, Carsten Haitzler ras...@rasterman.com (mailto:ras...@rasterman.com) wrote: On Mon, 19 Nov 2012 10:46:04 -0200 Lucas De Marchi lucas.demar...@profusion.mobi (mailto:lucas.demar...@profusion.mobi) said: Does the enlightenment menu still make sense? IMO actions on this menu could either be absorbed by other menus or removed altogether: - About: remove (outdated/useless info?) about is 100% up to date. it shows the current version, authors and licensing info. the unstable message will go once e is released. My question is: why is this any useful to the user? We could hide it a bit more in the menus or anywhere else, not standing in the first sublevel menu as if the user had an urgent need to know this info I myself never used it. - Theme: remove (btw, it opens a window saying I'm using BW theme instead of dark) this is the place themers can advertise... it should stay. and yes - i know it doesnt talk about the new theme - it's not updated yet. Why? My first guess when I look at it is to change the current theme, not to open a window talking about the current theme. - Restart: move to System menu? restart system or e? reaname it to Restart E or remove, letting things like this to be ctrl+alt +end - Exit: already done by System Logout umm no. exit is different. exit just exits e. logout tries to close all running windows then exits. exit is immediate. logout will wait and show a popup etc. And... what do we need this for? Lucas De Marchi -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com (mailto:ras...@rasterman.com) -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net (mailto:enlightenment-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel