Re: [E-devel] cvs, servers and stuff.
You can always ask some help on git@vger.kernel.org.Personally I have been following the development of git from a technical point of view out of interest, but at the moment I do not have a linux box unfortunately so I have not been able to play with it. It also has a tool (gitk) that visualizes merges etc.) What I can say is that from a usability point of view it is very fast (that was Linus' number one design rule when he wrote git)For download performance it is probably important to pack the repository before checking out from a client. Pack files are supposed to help a lot with regards to network performance if I understand correct. Some links :http://git.or.cz/gitwiki/GitBenchmarkshttp://www.kernel.org/pub/software/scm/git/docs/cvs-migration.html Which projects use git? (X.org e.g.)http://git.or.cz/gitwiki/GitProjectshttp://freedesktop.org/wiki/UsingGit the web interface :http://www.kernel.org/git/some history of why Linus started it.http://git.or.cz/gitwiki/GitHistory Hope this is of help to some.DènisOn 8/16/06, Eugen Minciu [EMAIL PROTECTED] wrote: On Wed, 16 Aug 2006 08:07:16 +0900Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote: actually - i think we need to know how this works WITH data on disk - why? some scm's may invoke much more disk IO than others and thus bottleneck at the disk earlier than others. we need to know. unless you mean save on the client side - then thats fine. but its server-side we really care about here - remember :)Well ... it was client side, but it didn't work as I couldn't find a way to send the files to the bit bucket with either svn or git. word seems to have it that git is da shitsnizzle when it comes to performance - but i am going to want to see the numbers. how many clients can connect and checkout and/or update and how long does it take vs. the load on the server etc. Well I oficially declare my numbers crap. I hold my laptop responsible for this mess and I don't really trust a single number here. And I'll explain why in a minute.Here are the numbers, but as I said, I really don't think they should be considered usefull. Consider this to be FUD. CVS:- CPU Load: Max- Mem Load: 45%- Checkout Time: 296.374sSVN:- CPU Load: 20% ( It was 20% in the last test as well I believe, all processes seem to share the same CPU usage.)- Mem Load: 40% - Checkout Time: 658.576SVN/HTTP:- CPU Load: 70-90%- Mem Load: 60%- Checkout Time: 874.618GIT (git protocol):- CPU Load: Max- Mem Load: 10-15%- Checkout Time: 2345.243GIT (http): - CPU Load: 5%- Mem Load: 10-12%- Checkout Time: A lot, from what I could see, it was cloning at a very low rate.I used actual disk access on both the client and the server, Apache2-mpm-worker, SVN with FSFS and that's about it. A spec of machines would be missing the point. The point is they aren't any good for these kinds of benchmarks. It looks really suspicious to me that times seem to increase linearly among the tested SCMs, even though this wasn't the case in the first test.Also, I often found network traffic dropping to 0 because the laptop's HDD couldn't take the heat anymore. Also, the version of the script I tested with did not wait after one SCM finished and moved directly to the next one. I don't think that was a good idea.Now, Git with http was excellent in terms of CPU Memory usage but I'm not really sure why it wouldn't go past 1.5MB/s (ever). It would have probably taken me an hour or so, and that's on a LAN which is pretty much unacceptable.But here's the script. Feel free to change the number of threads at the top of the script (it's currently at 20) but please make note that you need about 180MBx number of threads available. Change the lines near the top to specify how the checkout commands should be run in your environment. If you want to add another test but lack the Ruby know-how just tell me what you need and I'll patch it up for you. Finally make a new directory, copy the script there and execute 'ruby scm_benchmark.rb'. And that's it.So ultimately I urge someone with more patience and two solid machines to give my little test a spin. Please don't make any decision based on my data. Pretty please! And Carsten, if this doesn't turn you on, I'm sorry ;) Cheers,Eugen.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___enlightenment-devel mailing listenlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your
Re: [E-devel] cvs, servers and stuff.
On Wed, 16 Aug 2006, Carsten Haitzler (The Rasterman) wrote: i think i should check git. i know svn enough to know its a viable move from cvs - but i know very little of git - but from the comments - it seems good (these days) - though much more radical than move to svn :) Then try xcb :) (http://freedesktop.org/wiki/UsingGit) Vincent - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto rhapsodhy
On Wed, 16 Aug 2006 05:18:41 -0400 (EDT), Enlightenment CVS [EMAIL PROTECTED] wrote : Enlightenment CVS committal Author : rhapsodhy Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: _ew_list.c ew_dialog.c ew_dialog.h ew_entry.c ew_group.c ew_messagebox.c ew_messagebox.h ew_notice.c ew_notice.h Log Message: I don't know what is this etk_box_append(), but there were a lot of it, and has to be wiped out, because doesn't exists. Also, fixed the messageboxes, now they work again. You should probably update Etk :) etk_box_pack_start/end() has been replaced by etk_box_append() and other functions. Regards, Simon TRENY MoOm - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] e: Using freedesktop.org .desktop files.
David: I've attached a librsvg based svg loader for evas in case you might find it useful.. it uses a scale of 90 dpi for rendering, and needs librsvg = 2.13. If you want to give this a try, you will have to add it to evas... then test it, and possibly debug it.. :( I've not had, and likely won't have, a chance to do so anytime soon. jose. #include evas_common.h #include evas_private.h #include librsvg/rsvg.h #include librsvg/rsvg-cairo.h int evas_image_load_file_head_svg(RGBA_Image *im, const char *file, const char *key); int evas_image_load_file_data_svg(RGBA_Image *im, const char *file, const char *key); Evas_Image_Load_Func evas_image_load_svg_func = { evas_image_load_file_head_svg, evas_image_load_file_data_svg }; static int rsvg_initialized = 0; static void svg_loader_unpremul_data(DATA32 *data, unsigned int len); static void svg_loader_unpremul_data(DATA32 *data, unsigned int len) { DATA32 *de = data + len; while (data de) { DATA32 a = A_VAL(data); if (a (a 255)) { R_VAL(data) = (R_VAL(data) * 255) / a; G_VAL(data) = (G_VAL(data) * 255) / a; B_VAL(data) = (B_VAL(data) * 255) / a; } data++; } } int evas_image_load_file_head_svg(RGBA_Image *im, const char *file, const char *key) { DATA32 *ptr, *end; FILE *f; RsvgHandle *rsvg; RsvgDimensionData dim; if (!file) return 0; rsvg = rsvg_handle_new_from_file(file, NULL); if (!rsvg) return 0; if (!im-image) { im-image = evas_common_image_surface_new(im); if (!im-image) { rsvg_handle_free(rsvg); return 0; } } rsvg_handle_set_dpi_x_y(rsvg, 90, 90); rsvg_handle_get_dimensions(rsvg, dim); im-image-w = dim.width; im-image-h = dim.height; im-flags |= RGBA_IMAGE_HAS_ALPHA; rsvg_handle_free(rsvg); return 1; } /** FIXME: All evas loaders need to be tightened up **/ int evas_image_load_file_head_svg(RGBA_Image *im, const char *file, const char *key) { DATA32 *ptr, *end; FILE *f; RsvgHandle *rsvg; RsvgDimensionData dim; int w, h; cairo_surface_t*surface; cairo_t*cr; if (!file) return 0; if (!im-image) return 0; rsvg = rsvg_handle_new_from_file(file, NULL); if (!rsvg) { evas_common_image_surface_free(im-image); im-image = NULL; return 0; } rsvg_handle_set_dpi_x_y(rsvg, 90, 90); rsvg_handle_get_dimensions(rsvg, dim); w = dim.width; h = dim.height; im-image-w = w; im-image-h = h; im-flags |= RGBA_IMAGE_HAS_ALPHA; evas_common_image_surface_alloc(im-image); if (!im-image-data) { evas_common_image_surface_free(im-image); im-image = NULL; rsvg_handle_free(rsvg); return 0; } surface = cairo_image_surface_create_for_data((unsigned char *)im-image-data, CAIRO_FORMAT_ARGB32, w, h, w * sizeof(DATA32)); if (!surface) { evas_common_image_surface_free(im-image); im-image = NULL; rsvg_handle_free(rsvg); return 0; } cr = cairo_create(surface); if (!cr) { cairo_surface_destroy(surface); evas_common_image_surface_free(im-image); im-image = NULL; rsvg_handle_free(rsvg); return 0; } rsvg_handle_render_cairo(rsvg, cr); cairo_surface_destroy(surface); /* need to check if this is required... */ cairo_destroy(cr); rsvg_handle_free(rsvg); /* un-premul the im data */ svg_loader_unpremul_data(im-image-data, w * h); return 1; } int module_open(Evas_Module *em) { if (!em) return 0; em-functions = (void *)(evas_image_load_svg_func); if (!rsvg_initialized) rsvg_init(); rsvg_initialized = 1; return 1; } void module_close(void) { rsvg_term(); rsvg_initialized = 0; } Evas_Module_Api evas_modapi = { EVAS_MODULE_API_VERSION, EVAS_MODULE_TYPE_IMAGE_LOADER, svg, none }; - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
now if you can - try slowing down the server. I'm running a box I found in the trash, with a designed for windows 95 sticker on the side; I would hope that's slow enough :P On the down side, cvs2svn is taking ages -- it's currently translating cvs commit 3000 / 25000 after about 3 hours... (the only *problem* encountered with conversion is that two people had used the name a for different branches / tags) -- Shish - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
Dènis Riedijk escreveu: What I can say is that from a usability point of view it is very fast (that was Linus' number one design rule when he wrote git) For download performance it is probably important to pack the repository before checking out from a client. Pack files are supposed to help a lot with regards to network performance if I understand correct. Some links : [snip] Adding to that list, here's the mail from cairo when they converted to git, lot's of usefull info: http://lists.freedesktop.org/archives/cairo/2006-February/006335.html I'm pretty sure some of that is outdated, since I remind posts changing some things and scripts created to handle things easier and then it was before some other things got fixed in git. I couldn't find if these where put somewhere, their wiki doesn't have anything about it. Solerman - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto rhapsodhy
Simon TRENY wrote: On Wed, 16 Aug 2006 05:18:41 -0400 (EDT), Enlightenment CVS [EMAIL PROTECTED] wrote : Enlightenment CVS committal Author : rhapsodhy Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: _ew_list.c ew_dialog.c ew_dialog.h ew_entry.c ew_group.c ew_messagebox.c ew_messagebox.h ew_notice.c ew_notice.h Log Message: I don't know what is this etk_box_append(), but there were a lot of it, and has to be wiped out, because doesn't exists. Also, fixed the messageboxes, now they work again. You should probably update Etk :) etk_box_pack_start/end() has been replaced by etk_box_append() and other functions. i've reapplied this to CVS. Rhapsodhy, You should check commit logs when anything appears strange next time. Thnx MoOm. Cheers, Essien Regards, Simon TRENY MoOm - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
It is better (imho) the disk space issue is valid, BUT it is not server-side but client site. The svn repo is pretty light on the server (no heavier than CVS, cp commands are lightweight copies which can help) but on the client side there is pretty much 2 copies of everything (i.e. a cache of the server - this makes diff etc light on bandwidth). I think it will help load a lot, it has done in my other projects already. A Inc wrote: well, I've done a bit of a research on SVN vs. CVS. The general census is that SVN was created to improve and replace CVS. I have heard its kinder to network resources and cpu usage and what not. The only thing is that it needs more disk space. Which honestly with the servers that we are looking at, that shouldn't matter. Also, yes this is a slightly stupid reason to use SVN, but I have enjoyed using SVN with trac for the web based source browser... It provides a great wiki / landmarks and what not. I enjoy it. Anyways thats just my take on the SVN vs. CVS -- --Inc www.inc-omplete.org http://www.inc-omplete.org www.inc-corporate.org http://www.inc-corporate.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: apps/e raster
On Sat, 12 Aug 2006 23:37:23 -0400 (EDT), Enlightenment CVS [EMAIL PROTECTED] wrote : Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: focusout patch from sthitha This patch makes e17 segfault when I drag an icon to a directory in Rox Filer. I think it's because the Move window appears and disappears really quickly. So I guess it happens when a window pops up and pops down REALLY quickly. Here is the backtrace: http://rafb.net/paste/results/WQe3U182.html and the valgrind log: http://rafb.net/paste/results/VpdN5T35.html (this warning is repeated at least 30 times) Cheers, Simon TRENY MoOm === RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.523 retrieving revision 1.524 diff -u -3 -r1.523 -r1.524 --- e_border.c12 Aug 2006 13:22:48 - 1.523 +++ e_border.c13 Aug 2006 03:37:23 - 1.524 @@ -1351,11 +1351,20 @@ { if (focused) { + E_Event_Border_Focus_Out *ev; //printf(unfocus previous\n); edje_object_signal_emit(focused-bg_object, passive, ); if (focused-icon_object) edje_object_signal_emit(focused-icon_object, passive, ); e_focus_event_focus_out(focused); + + ev = calloc(1, sizeof(E_Event_Border_Focus_Out)); + ev-border = focused; + e_object_ref(E_OBJECT(focused)); + + ecore_event_add(E_EVENT_BORDER_FOCUS_OUT, ev, + _e_border_event_border_focus_out_free, NULL); + /* FIXME: Sometimes we should leave the window fullscreen! */ // if (focused-fullscreen) e_border_unfullscreen(focused); focused-focused = 0; - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
Carsten Haitzler (The Rasterman) wrote: i think i should check git. i know svn enough to know its a viable move from cvs - but i know very little of git - but from the comments - it seems good (these days) - though much more radical than move to svn :) Of course one reason for using SVN rather than any other non-cvs system is that it is almost exactly the same to a user. No radical updates - it just works ;) A - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: apps/e raster
On Wed, Aug 16, 2006 at 04:06:32AM -0400, Enlightenment CVS wrote: Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: Makefile.am Log Message: compile again bad rephorm! Crap. Sorry about that. Only meant to remove the e_gadget lines, not add the gradient ones in. Git's local branching would come in handy at times like this (when you have some stuff you don't want to commit and some you do). rephorm. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
David Seikel wrote: On Tue, 15 Aug 2006 00:41:34 -0400 Michael Jennings [EMAIL PROTECTED] wrote: FUD. You can tag CVS without having a checkout. (Try cvs -H rtag.) And SVN doesn't even HAVE tagging. It has copying, which contrary to popular (SVN developer) belief, is NOT the same thing. A (non-branch) tag is a symbolic name assigned to a particular state of the repository (i.e., a changeset). It is not a copy. Tagging and branching, when was the last time either occurred to E? Tagging may be a symbolic name in CVS but the svn tagged copy idea is pretty much the same - it is a snapshot of the repository at a point in time given a name. Remember here that SVN uses light copy - it is not a copy of the actual repos at all - list a link very like cvs tags, when you think about it. A - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
Hello again, I was thinking that you might want to try something if you get a second machine up. From the man page of git-cvsimport: Imports a CVS repository into git. It will either create a new repository, or incrementally import into an existing one. So you might want to try using a git mirror of what you guys actually have on CVS. Now personally, I think moving to git alltogether is much better then this follow the cvs server sort of thing. There are just a couple of things that are really cool about git (and any distributed scm) versus cvs or svn. For those of you who know git well enough, sorry for writing this stuff, but I imagine there's an equal number of devs who don't so I just wanted to give people an idea on what it's about. 1) Local commits. You clone a remote repository (you get the history and everything) and you can then commit to your own local copy of the repository. Not only that but you can do just about everything you would do with cvs locally without even needing access to the server. Then when you're done you can merge your superfanstasticincredible feature with the main repository. 2) Local tags and branches. Well, it's part of what I said above but it should get some special notice. You get to branch from what you just cloned and so on ... 3) It's easy to setup. Basically you don't need to set it up at all. You just copy the .git/ directory from your repository to a server in something like http://e.org/e.git and you're all done. Then anyone can mirror it very easily. 4) The repository is well compacted with git-repack. For example, the part of the repository I had was 135MB in size (e17 without the history). With git-repack it all shrunk down to 52MB. Thanks for pointing that out, I wasn't aware of it. 5) The server seems to handle the load quite well, even though downloads may be a tad slower. Ultimately, the compression might turn out to make retrieving faster, and it is probably Now I know those so called benchmarks of mine don't indicate these but I have strong doubts about the conditions in which they are run. I believe git to be much faster then cvs if properly set up. And I've seen first hand that it doesn't beat the server to death on 20 simultaneous checkouts. 6) It can be mirrored and offered for retrieval in a variety of methods. There's git:// rsync:// and http:// and it can probably be setup with other webservers like lighttpd (though my attempts to use lighttpd with a git repo misteriously failed). 7) A larger emphasys on branching may actually be good. You might eventually want to create a more stable branch, or you might want to try to rewrite some library in the EFL, in a new cooler way or whatever. Ultimately that's my best argument for it. With git you can do stuff like that in a more natural way and I generally found that it offers an almost unlimited degree of freedom. I tend to believe it's more efficient but I can't really back my claim up with consistent numbers. I have provided a way to test it but my hardware isn't cut out for that. I'm still waiting for someone else's benchmark... But finally, the best way to test would be to use that second machine as a git mirror and see how well it behaves. You might even go as far as denying anoncvs for a while and telling people to use git for anonymous access instead. Well, anyway, you guys know better then I do. If you decide to keep on using CVS, I could make some sort of script to do CVS updates and make dist stuff on an event (like upon email notification or whatever), but it would have to be in Ruby. I can do that if you want to use SVN or Git as well. Your call. Cheers, Eugen. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] wallpaper theme dialogs
Hey all, I'm currently compiled the lates E cvs, and tried wallpaper and theme dialogs. So, I have some comments on them. IMHO the wallpaper/theme list is too small in height and width. It is quite hard to navigate it, at least for me, since I have to scroll the list too much. For example I have 5 themes installed, and I can see just two of theme in the selector. My current theme is the one before the last in the list. So, order to set the first theme I have to scroll the list. Would not be better to make these selector lists bigger, at least in height? Then I think the navigation would be much easier. sndev -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 +370-61278908 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: apps/e raster
I'll look into it and spit out another patch soon. On 8/16/06, Sthithaprajna Garapaty [EMAIL PROTECTED] wrote: I'll look into it and spit out another patch soon. On 8/16/06, Simon TRENY [EMAIL PROTECTED] wrote: On Sat, 12 Aug 2006 23:37:23 -0400 (EDT), Enlightenment CVS [EMAIL PROTECTED] wrote : Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: focusout patch from sthitha This patch makes e17 segfault when I drag an icon to a directory in Rox Filer. I think it's because the Move window appears and disappears really quickly. So I guess it happens when a window pops up and pops down REALLY quickly. Here is the backtrace: http://rafb.net/paste/results/WQe3U182.html and the valgrind log: http://rafb.net/paste/results/VpdN5T35.html (this warning is repeated at least 30 times) Cheers, Simon TRENY MoOm === RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.523 retrieving revision 1.524 diff -u -3 -r1.523 -r1.524 --- e_border.c12 Aug 2006 13:22:48 - 1.523 +++ e_border.c13 Aug 2006 03:37:23 - 1.524 @@ -1351,11 +1351,20 @@ { if (focused) { + E_Event_Border_Focus_Out *ev; //printf(unfocus previous\n); edje_object_signal_emit(focused-bg_object, passive, ); if (focused-icon_object) edje_object_signal_emit(focused-icon_object, passive, ); e_focus_event_focus_out(focused); + + ev = calloc(1, sizeof(E_Event_Border_Focus_Out)); + ev-border = focused; + e_object_ref(E_OBJECT(focused)); + + ecore_event_add(E_EVENT_BORDER_FOCUS_OUT, ev, + _e_border_event_border_focus_out_free, NULL); + /* FIXME: Sometimes we should leave the window fullscreen! */ // if (focused-fullscreen) e_border_unfullscreen(focused); focused-focused = 0; - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: apps/e raster
On Wed, 16 Aug 2006 16:13:13 +0200, Simon TRENY [EMAIL PROTECTED] wrote : On Sat, 12 Aug 2006 23:37:23 -0400 (EDT), Enlightenment CVS [EMAIL PROTECTED] wrote : Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: focusout patch from sthitha This patch makes e17 segfault when I drag an icon to a directory in Rox Filer. I think it's because the Move window appears and disappears really quickly. So I guess it happens when a window pops up and pops down REALLY quickly. Here is the backtrace: http://rafb.net/paste/results/WQe3U182.html and the valgrind log: http://rafb.net/paste/results/VpdN5T35.html (this warning is repeated at least 30 times) Since the paste on rafb.net are deleted after 24 hours, I post the logs here: - Backtrace: Program received signal SIGSEGV, Segmentation fault. e_object_unref (obj=0x3a8) at e_object.c:99 99 obj-references--; (gdb) bt #0 e_object_unref (obj=0x3a8) at e_object.c:99 #1 0x0807c1d9 in _e_border_free (bd=0x81365a0) at e_border.c:2989 #2 0x080921a9 in e_object_unref (obj=0x3a8) at e_object.c:101 #3 0x0807ac92 in _e_border_event_border_focus_out_free (data=0x0, ev=0x8179e28) at e_border.c:6650 #4 0xb7e971b3 in _ecore_event_del (event=0x82f0f88) at ecore_events.c:356 #5 0xb7e97505 in _ecore_event_call () at ecore_events.c:444 #6 0xb7e9cbfe in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:639 #7 0xb7e9cdff in ecore_main_loop_begin () at ecore_main.c:79 #8 0x080651c7 in main (argc=1, argv=0xbfb3f804) at e_main.c:713 - Valgrind log: ==4222== Invalid read of size 4 ==4222==at 0x8092298: e_object_unref (e_object.c:99) ==4222==by 0x807ACA1: _e_border_event_border_focus_out_free (e_border.c:6650) ==4222==by 0x40AE1B2: _ecore_event_del (ecore_events.c:356) ==4222==by 0x40AE504: _ecore_event_call (ecore_events.c:444) ==4222==by 0x40B3BFD: _ecore_main_loop_iterate_internal (ecore_main.c:639) ==4222==by 0x40B3DFE: ecore_main_loop_begin (ecore_main.c:79) ==4222==by 0x80651D6: main (e_main.c:713) ==4222== Address 0x47EDB90 is 8 bytes inside a block of size 932 free'd ==4222==at 0x401F199: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==4222==by 0x80922B8: e_object_unref (e_object.c:101) ==4222==by 0x807AC71: _e_border_event_border_focus_in_free (e_border.c:6640) ==4222==by 0x40AE1B2: _ecore_event_del (ecore_events.c:356) ==4222==by 0x40AE504: _ecore_event_call (ecore_events.c:444) ==4222==by 0x40B3BFD: _ecore_main_loop_iterate_internal (ecore_main.c:639) ==4222==by 0x40B3DFE: ecore_main_loop_begin (ecore_main.c:79) ==4222==by 0x80651D6: main (e_main.c:713) Simon Cheers, Simon TRENY MoOm === RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.523 retrieving revision 1.524 diff -u -3 -r1.523 -r1.524 --- e_border.c 12 Aug 2006 13:22:48 - 1.523 +++ e_border.c 13 Aug 2006 03:37:23 - 1.524 @@ -1351,11 +1351,20 @@ { if (focused) { +E_Event_Border_Focus_Out *ev; // printf(unfocus previous\n); edje_object_signal_emit(focused-bg_object, passive, ); if (focused-icon_object) edje_object_signal_emit(focused-icon_object, passive, ); e_focus_event_focus_out(focused); + +ev = calloc(1, sizeof(E_Event_Border_Focus_Out)); +ev-border = focused; +e_object_ref(E_OBJECT(focused)); + +ecore_event_add(E_EVENT_BORDER_FOCUS_OUT, ev, +_e_border_event_border_focus_out_free, NULL); + /* FIXME: Sometimes we should leave the window fullscreen! */ //if (focused-fullscreen) e_border_unfullscreen(focused); focused-focused = 0; - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list
Re: [E-devel] E CVS: proto essiene
Enlightenment CVS wrote: Enlightenment CVS committal Author : essiene Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: ew_entry.c ew_entry.h Log Message: - Fix return type warning when getting an etk_entry, it returns a const char*, but we use normal char*'s everywhere. === RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_entry.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ew_entry.c16 Aug 2006 12:52:01 - 1.7 +++ ew_entry.c16 Aug 2006 13:13:30 - 1.8 @@ -47,10 +47,10 @@ return ew; } -const char* +char* ew_entry_get(Entrance_Entry ew) { - return etk_entry_text_get(ETK_ENTRY(ew-control)); + return (char*) etk_entry_text_get(ETK_ENTRY(ew-control)); } ... You should never (have to) cast away the const modifier. It is there for a purpose. It tells you (and the compiler) that here is a pointer to a piece of memory that you are not supposed to modify. The compiler warns you if you pass a const pointer to a function that takes non-const pointer arguments, that you may be changing something you are not supposed to change. The compiler can also use the const modifier to make certain assumptions used for optimization, e.g. that the content of an object is unchanged across calling a function which takes a const pointer to the object. If you seem to have to cast away a const pointer to avoid compiler warnings it is most likely because something is wrong somewhere. /Kim - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto essiene
Kim Woelders wrote: Enlightenment CVS wrote: Enlightenment CVS committal Author : essiene Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: ew_entry.c ew_entry.h Log Message: - Fix return type warning when getting an etk_entry, it returns a const char*, but we use normal char*'s everywhere. === RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_entry.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ew_entry.c 16 Aug 2006 12:52:01 - 1.7 +++ ew_entry.c 16 Aug 2006 13:13:30 - 1.8 @@ -47,10 +47,10 @@ return ew; } -const char* +char* ew_entry_get(Entrance_Entry ew) { -return etk_entry_text_get(ETK_ENTRY(ew-control)); +return (char*) etk_entry_text_get(ETK_ENTRY(ew-control)); } ... You should never (have to) cast away the const modifier. It is there for a purpose. It tells you (and the compiler) that here is a pointer to a piece of memory that you are not supposed to modify. The compiler warns you if you pass a const pointer to a function that takes non-const pointer arguments, that you may be changing something you are not supposed to change. The compiler can also use the const modifier to make certain assumptions used for optimization, e.g. that the content of an object is unchanged across calling a function which takes a const pointer to the object. If you seem to have to cast away a const pointer to avoid compiler warnings it is most likely because something is wrong somewhere. thnx for bringing that up. the full scenario is etk_entry_text_get() returns a const char*. ecore_config_string_set, takes a char*, i have to pass the value returned from etk_entry_text_get() to ecore_config_string_set(), if i use one variable, there will be warnings anyhow i do it: /*warning by ecore_config_string_set*/ const char * try1 etk_entry_text_get(...); ecore_config_string_set(key, try1); /*warning by etk_entry_text_get*/ char* try2 etk_entry_text_get(...); ecore_config_string_set(key, try2); that's why i did that. anyways... what's the best way to do this? or just ignore it? its a trivial warning *i tink* /Kim - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto essiene
On Wed, 16 Aug 2006 21:06:28 +0100, Essien Ita Essien [EMAIL PROTECTED] wrote : Kim Woelders wrote: Enlightenment CVS wrote: Enlightenment CVS committal Author : essiene Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: ew_entry.c ew_entry.h Log Message: - Fix return type warning when getting an etk_entry, it returns a const char*, but we use normal char*'s everywhere. === RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_entry.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ew_entry.c 16 Aug 2006 12:52:01 - 1.7 +++ ew_entry.c 16 Aug 2006 13:13:30 - 1.8 @@ -47,10 +47,10 @@ return ew; } -const char* +char* ew_entry_get(Entrance_Entry ew) { - return etk_entry_text_get(ETK_ENTRY(ew-control)); + return (char*) etk_entry_text_get(ETK_ENTRY(ew-control)); } ... You should never (have to) cast away the const modifier. It is there for a purpose. It tells you (and the compiler) that here is a pointer to a piece of memory that you are not supposed to modify. The compiler warns you if you pass a const pointer to a function that takes non-const pointer arguments, that you may be changing something you are not supposed to change. The compiler can also use the const modifier to make certain assumptions used for optimization, e.g. that the content of an object is unchanged across calling a function which takes a const pointer to the object. If you seem to have to cast away a const pointer to avoid compiler warnings it is most likely because something is wrong somewhere. thnx for bringing that up. the full scenario is etk_entry_text_get() returns a const char*. ecore_config_string_set, takes a char*, i have to pass the value returned from etk_entry_text_get() to ecore_config_string_set(), if i use one variable, there will be warnings anyhow i do it: /*warning by ecore_config_string_set*/ const char * try1 etk_entry_text_get(...); ecore_config_string_set(key, try1); /*warning by etk_entry_text_get*/ char* try2 etk_entry_text_get(...); ecore_config_string_set(key, try2); that's why i did that. anyways... what's the best way to do this? or just ignore it? its a trivial warning *i tink* etk_entry_text_get() returns a const char * because it returns the string used internally by the entry. So you should not by any means modify it. Now, if you need to modify it, you should probably work on a copy (created with strdup() or whathever). But, in your case, I don't think ecore_config_string_set() modifies the given string, so the better fix would probably be to change the API of ecore_config to make it use a const char * instead of a char *. Regards Simon TRENY MoOm /Kim - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto essiene
Simon TRENY wrote: On Wed, 16 Aug 2006 21:06:28 +0100, Essien Ita Essien [EMAIL PROTECTED] wrote : Kim Woelders wrote: Enlightenment CVS wrote: Enlightenment CVS committal Author : essiene Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: ew_entry.c ew_entry.h Log Message: - Fix return type warning when getting an etk_entry, it returns a const char*, but we use normal char*'s everywhere. === RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_entry.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ew_entry.c 16 Aug 2006 12:52:01 - 1.7 +++ ew_entry.c 16 Aug 2006 13:13:30 - 1.8 @@ -47,10 +47,10 @@ return ew; } -const char* +char* ew_entry_get(Entrance_Entry ew) { - return etk_entry_text_get(ETK_ENTRY(ew-control)); + return (char*) etk_entry_text_get(ETK_ENTRY(ew-control)); } ... You should never (have to) cast away the const modifier. It is there for a purpose. It tells you (and the compiler) that here is a pointer to a piece of memory that you are not supposed to modify. The compiler warns you if you pass a const pointer to a function that takes non-const pointer arguments, that you may be changing something you are not supposed to change. The compiler can also use the const modifier to make certain assumptions used for optimization, e.g. that the content of an object is unchanged across calling a function which takes a const pointer to the object. If you seem to have to cast away a const pointer to avoid compiler warnings it is most likely because something is wrong somewhere. thnx for bringing that up. the full scenario is etk_entry_text_get() returns a const char*. ecore_config_string_set, takes a char*, i have to pass the value returned from etk_entry_text_get() to ecore_config_string_set(), if i use one variable, there will be warnings anyhow i do it: /*warning by ecore_config_string_set*/ const char * try1 etk_entry_text_get(...); ecore_config_string_set(key, try1); /*warning by etk_entry_text_get*/ char* try2 etk_entry_text_get(...); ecore_config_string_set(key, try2); that's why i did that. anyways... what's the best way to do this? or just ignore it? its a trivial warning *i tink* etk_entry_text_get() returns a const char * because it returns the string used internally by the entry. So you should not by any means modify it. Now, if you need to modify it, you should probably work on a copy (created with strdup() or whathever). i didn't want to have to strdup and then free for something i'm just passing around actually. But, in your case, I don't think ecore_config_string_set() modifies the given string, so the better fix would probably be to change the API of ecore_config to make it use a const char * instead of a char *. yup. i think that would be more elegant. but uhhh... who'll bell the cat ;) maybe i'll just strdup for now... its not like the strdup call will kill the system anyways :) Anyhoo... who *own* ecore (i.e. who do i have to bug with that recommendation? :) ). Regards Simon TRENY MoOm /Kim - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto essiene
Simon TRENY wrote: On Wed, 16 Aug 2006 21:06:28 +0100, Essien Ita Essien [EMAIL PROTECTED] wrote : Kim Woelders wrote: Enlightenment CVS wrote: Enlightenment CVS committal Author : essiene Project : e17 Module : proto Dir : e17/proto/entrance_edit_gui/src/widgets Modified Files: ew_entry.c ew_entry.h Log Message: - Fix return type warning when getting an etk_entry, it returns a const char*, but we use normal char*'s everywhere. === RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_entry.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ew_entry.c 16 Aug 2006 12:52:01 - 1.7 +++ ew_entry.c 16 Aug 2006 13:13:30 - 1.8 @@ -47,10 +47,10 @@ return ew; } -const char* +char* ew_entry_get(Entrance_Entry ew) { - return etk_entry_text_get(ETK_ENTRY(ew-control)); + return (char*) etk_entry_text_get(ETK_ENTRY(ew-control)); } ... You should never (have to) cast away the const modifier. It is there for a purpose. It tells you (and the compiler) that here is a pointer to a piece of memory that you are not supposed to modify. The compiler warns you if you pass a const pointer to a function that takes non-const pointer arguments, that you may be changing something you are not supposed to change. The compiler can also use the const modifier to make certain assumptions used for optimization, e.g. that the content of an object is unchanged across calling a function which takes a const pointer to the object. If you seem to have to cast away a const pointer to avoid compiler warnings it is most likely because something is wrong somewhere. thnx for bringing that up. the full scenario is etk_entry_text_get() returns a const char*. ecore_config_string_set, takes a char*, i have to pass the value returned from etk_entry_text_get() to ecore_config_string_set(), if i use one variable, there will be warnings anyhow i do it: /*warning by ecore_config_string_set*/ const char * try1 etk_entry_text_get(...); ecore_config_string_set(key, try1); /*warning by etk_entry_text_get*/ char* try2 etk_entry_text_get(...); ecore_config_string_set(key, try2); that's why i did that. anyways... what's the best way to do this? or just ignore it? its a trivial warning *i tink* etk_entry_text_get() returns a const char * because it returns the string used internally by the entry. So you should not by any means modify it. Now, if you need to modify it, you should probably work on a copy (created with strdup() or whathever). But, in your case, I don't think ecore_config_string_set() modifies the given string, so the better fix would probably be to change the API of ecore_config to make it use a const char * instead of a char *. I did assume this was the reason and I changed the ecore_config function API before sending my first rant :) /Kim - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto essiene
Essien Ita Essien wrote: Anyhoo... who *own* ecore (i.e. who do i have to bug with that recommendation? :) ). Send a patch to the ml. Someone will look at it. HandyAndE is the main author of ecore_config if you're curious. dan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] add data set/get of specific columns of an Etk_Combobox_Item
On Fri, 4 Aug 2006 12:00:57 -0200, Chady Kassouf [EMAIL PROTECTED] wrote : Hi, This is to allow people to get/set the widgets on specific columns of the combobox item. Hi Chady, I'm sorry, I still haven't had the time to look at it. Going to look at it in the next days. Thanks for the patch :) Simon - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [PATCH] ecore_desktop_icon_find add const
Hello, Attached is a patch to make the ecore_desktop_icon_find function use and return const strings. It doesn't appear to modify these strings (and it still works once constified). But, I wanted to send it here before committing it as I'm not sure if this code is changing in ecore_desktop or not. dan Index: Ecore_Desktop.h === RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/Ecore_Desktop.h,v retrieving revision 1.7 diff -u -r1.7 Ecore_Desktop.h --- Ecore_Desktop.h 14 Aug 2006 21:42:53 - 1.7 +++ Ecore_Desktop.h 16 Aug 2006 20:43:17 - @@ -133,8 +133,9 @@ Ecore_Desktop *ecore_desktop_get(const char *file, const char *lang); voidecore_desktop_destroy(Ecore_Desktop * desktop); - char *ecore_desktop_icon_find(char *icon, char *icon_size, - char *icon_theme); + const char *ecore_desktop_icon_find(const char *icon, + const char *icon_size, + const char *icon_theme); Ecore_Desktop_Tree *ecore_desktop_menu_get(char *file); Index: ecore_desktop_icon.c === RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v retrieving revision 1.6 diff -u -r1.6 ecore_desktop_icon.c --- ecore_desktop_icon.c 16 Aug 2006 08:50:39 - 1.6 +++ ecore_desktop_icon.c 16 Aug 2006 20:43:17 - @@ -5,8 +5,9 @@ //#define DEBUG 1 -static char*_ecore_desktop_icon_find0(char *icon, char *icon_size, - char *icon_theme); +static const char *_ecore_desktop_icon_find0(const char *icon, + const char *icon_size, + const char *icon_theme); static const char *ext[] = { .png, .svgz, .svg, .xpm, , NULL }; @@ -32,11 +33,12 @@ * @ingroup Ecore_Desktop_Icon_Group */ -char * -ecore_desktop_icon_find(char *icon, char *icon_size, char *icon_theme) +const char * +ecore_desktop_icon_find(const char *icon, const char *icon_size, const char *icon_theme) { charicn[MAX_PATH], path[MAX_PATH]; - char *dir, *home; + const char *dir; + char *home; if (icon == NULL) return NULL; @@ -89,8 +91,8 @@ * @param icon_theme The icon theme to search in. * @return The full path to the found icon. */ -static char* -_ecore_desktop_icon_find0(char *icon, char *icon_size, char *icon_theme) +static const char* +_ecore_desktop_icon_find0(const char *icon, const char *icon_size, const char *icon_theme) { /* NOTES ON OPTIMIZATIONS * @@ -118,7 +120,8 @@ */ charicn[MAX_PATH], path[MAX_PATH]; - char *theme_path, *found; + char *theme_path; + const char *found; if ((icon == NULL) || (icon[0] == '\0')) return NULL; @@ -174,7 +177,7 @@ int wanted_size; int minimal_size = INT_MAX; int i; - char *closest = NULL; + const char *closest = NULL; char *directory; wanted_size = atoi(icon_size); - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto essiene
On Wed, 16 Aug 2006 16:28:15 -0400, dan sinclair [EMAIL PROTECTED] wrote : Essien Ita Essien wrote: Anyhoo... who *own* ecore (i.e. who do i have to bug with that recommendation? :) ). Send a patch to the ml. Someone will look at it. HandyAndE is the main author of ecore_config if you're curious. This actually has been fixed recently by Kim. There no reason anymore to use char * instead of const char * in entrance_edit_gui. dan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
On Wed, 16 Aug 2006 14:51:39 +0100 Andrew Williams [EMAIL PROTECTED] babbled: Carsten Haitzler (The Rasterman) wrote: i think i should check git. i know svn enough to know its a viable move from cvs - but i know very little of git - but from the comments - it seems good (these days) - though much more radical than move to svn :) Of course one reason for using SVN rather than any other non-cvs system is that it is almost exactly the same to a user. No radical updates - it just works ;) true - no radical learning curve and back to work. of course - as i said - we could have other options, like nuke anoncvs and replace it with server-side generated tarballs. A - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: apps/e raster
On Wed, 16 Aug 2006 19:14:26 +0200 Simon TRENY [EMAIL PROTECTED] babbled: Hmmm - this is weird - that patch seems fine. it refcounts the border up - spews out an event. unless the focus call is called from within the free func for the border that is focused i addded an obj is del check and refcount check before generating the event On Wed, 16 Aug 2006 16:13:13 +0200, Simon TRENY [EMAIL PROTECTED] wrote : On Sat, 12 Aug 2006 23:37:23 -0400 (EDT), Enlightenment CVS [EMAIL PROTECTED] wrote : Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: focusout patch from sthitha This patch makes e17 segfault when I drag an icon to a directory in Rox Filer. I think it's because the Move window appears and disappears really quickly. So I guess it happens when a window pops up and pops down REALLY quickly. Here is the backtrace: http://rafb.net/paste/results/WQe3U182.html and the valgrind log: http://rafb.net/paste/results/VpdN5T35.html (this warning is repeated at least 30 times) Since the paste on rafb.net are deleted after 24 hours, I post the logs here: - Backtrace: Program received signal SIGSEGV, Segmentation fault. e_object_unref (obj=0x3a8) at e_object.c:99 99 obj-references--; (gdb) bt #0 e_object_unref (obj=0x3a8) at e_object.c:99 #1 0x0807c1d9 in _e_border_free (bd=0x81365a0) at e_border.c:2989 #2 0x080921a9 in e_object_unref (obj=0x3a8) at e_object.c:101 #3 0x0807ac92 in _e_border_event_border_focus_out_free (data=0x0, ev=0x8179e28) at e_border.c:6650 #4 0xb7e971b3 in _ecore_event_del (event=0x82f0f88) at ecore_events.c:356 #5 0xb7e97505 in _ecore_event_call () at ecore_events.c:444 #6 0xb7e9cbfe in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:639 #7 0xb7e9cdff in ecore_main_loop_begin () at ecore_main.c:79 #8 0x080651c7 in main (argc=1, argv=0xbfb3f804) at e_main.c:713 - Valgrind log: ==4222== Invalid read of size 4 ==4222==at 0x8092298: e_object_unref (e_object.c:99) ==4222==by 0x807ACA1: _e_border_event_border_focus_out_free (e_border.c:6650) ==4222==by 0x40AE1B2: _ecore_event_del (ecore_events.c:356) ==4222==by 0x40AE504: _ecore_event_call (ecore_events.c:444) ==4222==by 0x40B3BFD: _ecore_main_loop_iterate_internal (ecore_main.c:639) ==4222==by 0x40B3DFE: ecore_main_loop_begin (ecore_main.c:79) ==4222==by 0x80651D6: main (e_main.c:713) ==4222== Address 0x47EDB90 is 8 bytes inside a block of size 932 free'd ==4222==at 0x401F199: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==4222==by 0x80922B8: e_object_unref (e_object.c:101) ==4222==by 0x807AC71: _e_border_event_border_focus_in_free (e_border.c:6640) ==4222==by 0x40AE1B2: _ecore_event_del (ecore_events.c:356) ==4222==by 0x40AE504: _ecore_event_call (ecore_events.c:444) ==4222==by 0x40B3BFD: _ecore_main_loop_iterate_internal (ecore_main.c:639) ==4222==by 0x40B3DFE: ecore_main_loop_begin (ecore_main.c:79) ==4222==by 0x80651D6: main (e_main.c:713) Simon Cheers, Simon TRENY MoOm === RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.523 retrieving revision 1.524 diff -u -3 -r1.523 -r1.524 --- e_border.c12 Aug 2006 13:22:48 - 1.523 +++ e_border.c13 Aug 2006 03:37:23 - 1.524 @@ -1351,11 +1351,20 @@ { if (focused) { + E_Event_Border_Focus_Out *ev; //printf(unfocus previous\n); edje_object_signal_emit(focused-bg_object, passive, ); if (focused-icon_object) edje_object_signal_emit(focused-icon_object, passive, ); e_focus_event_focus_out(focused); + + ev = calloc(1, sizeof(E_Event_Border_Focus_Out)); + ev-border = focused; + e_object_ref(E_OBJECT(focused)); + + ecore_event_add(E_EVENT_BORDER_FOCUS_OUT, ev, + _e_border_event_border_focus_out_free, NULL); + /* FIXME: Sometimes we should leave the window fullscreen! */ // if (focused-fullscreen) e_border_unfullscreen(focused); focused-focused = 0; - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
Re: [E-devel] wallpaper theme dialogs
On Wed, 16 Aug 2006 17:16:34 + Aleksej Struk [EMAIL PROTECTED] babbled: Hey all, I'm currently compiled the lates E cvs, and tried wallpaper and theme dialogs. So, I have some comments on them. IMHO the wallpaper/theme list is too small in height and width. It is quite hard to navigate it, at least for me, since I have to scroll the list too much. For example I have 5 themes installed, and I can see just two of theme in the selector. My current theme is the one before the last in the list. So, order to set the first theme I have to scroll the list. Would not be better to make these selector lists bigger, at least in height? Then I think the navigation would be much easier. you do know the dialog is resizable? you do know you can use remember to remember your last size/location... the dialog is small by default so people stuck in 640x480 on vga screens can at least USE the UI - unlike other desktops environment (gnome, kde, windows xp) where some dialogs - especially ones for doing things like changing screen resolution - do not fit in 640x480. you can't click ok to change resolution in windows xp for example. these are bad design errors. thus by default we try keep our dialogs within 640x480. you are always free to resize the dialog to make it bigger. you can ask e to remember this for you :) sndev -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 +370-61278908 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] wallpaper theme dialogs
On Thu, Aug 17, 2006 at 08:16:11AM +0900, Carsten Haitzler wrote: On Wed, 16 Aug 2006 17:16:34 + Aleksej Struk [EMAIL PROTECTED] babbled: Hey all, I'm currently compiled the lates E cvs, and tried wallpaper and theme dialogs. So, I have some comments on them. IMHO the wallpaper/theme list is too small in height and width. It is quite hard to navigate it, at least for me, since I have to scroll the list too much. For example I have 5 themes installed, and I can see just two of theme in the selector. My current theme is the one before the last in the list. So, order to set the first theme I have to scroll the list. Would not be better to make these selector lists bigger, at least in height? Then I think the navigation would be much easier. you do know the dialog is resizable? you do know you can use remember to remember your last size/location... Well, I know this :). Basically I tried to be as a newb user that sees E first time in his/her life and tries to set a wallpaper/theme :) the dialog is small by default so people stuck in 640x480 on vga screens can at least USE the UI - unlike other desktops environment (gnome, kde, windows xp) where some dialogs - especially ones for doing things like changing screen resolution - do not fit in 640x480. you can't click ok to change resolution in windows xp for example. Completely agree. these are bad design errors. thus by default we try keep our dialogs within 640x480. you are always free to resize the dialog to make it bigger. you can ask e to remember this for you :) Can be dialogs be smart for example? Maybe they can have their minimum settings and optimal settings. Consequently, if it sees that cannot fit into entire screen, it uses minimum settings. Otherwise, it uses optimal settings. Please do not kill me with arguments. I basically propose some ideas/solutions. sndev -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 +370-61278908 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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)[EMAIL PROTECTED] ?$BMg9%B? Tokyo, Japan (?$BEl5~ ?$BF|K\) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Aleksej Struk Master Degree Student Free University of Bozen-Bolzano Faculty of Computer Science phone: +39-0471-061749 cell phone: +39-3204627049 +370-61278908 [EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cvs, servers and stuff.
On Tuesday, 15 August 2006, at 14:48:36 (-0500), Nathan Ingersoll wrote: Do we have any current statistics about the load on a CVS mirror? Might be easier to find more mirrors if we can give them some idea what sort of bandwidth, disk use and CPU load they can expect. The repository currently requires just over 800MB. The anoncvs server has transmitted 206GB in the past 19 days, so about 11GB/day or so. CPU load depends entirely on the box, but anoncvs is a P4 1.7 GHz with 15 minute load averages fairly consistently under 2. And it's doing several things, not just anoncvs. So YMMV. On Wednesday, 16 August 2006, at 08:43:22 (+0900), Carsten Haitzler wrote: the compelling reason is that (apparently) anoncvs is straining under its load (again) and this happened so quickly that i am putting up a debate for alternate solutions - willing to discuss really anything :) Not exactly. The machine is doing fine; the only problem is that I had to limit simultaneous CVS pserver connections to 1 per IP and 24 total to keep the box usable. The result is that some people will have their connections refused during peak times, but the machine spends an awful lot of time doing nothing too, so unless everyone hits it all at once, it's fine. Would it help if I figured out the peak times for anoncvs and made those public so that folks could schedule updates for other times? On Tuesday, 15 August 2006, at 20:20:40 (-0400), Kevin Brosius wrote: Hmmm. I'm not sure I see the logic that way. We moved off sf to get the ability to do rsync backup of cvs (one of the reasons, along with some intermittent performance of dev and anon cvs.) We now have solid dev cvs performance, rsync access, and better anon access (IMO.) I agree. I don't think it's quite time to throw in the towel. I think we just need one or two additional anoncvs boxes to share the load. Are you against requesting offers of open anon mirrors? With the rsync access, that seems easy, but of you want a anon cvs farm that has full status monitoring, then you're stepping the complexity up a bit. As it stands now, anyone can run an anoncvs mirror simply by rsyncing periodically. If we had enough volunteers, we could create a mirror list Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ [EMAIL PROTECTED] n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) --- May the forces of evil become confused on the way to your house. -- George Carlin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel