Re: [e-users] e17 showing empty squares for Japanese
On 12/2/05, Yasufumi Haga [EMAIL PROTECTED] wrote: On Fri, 2 Dec 2005 12:14:35 +0900, Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote:raster On Fri, 02 Dec 2005 01:56:09 +0900 (JST) Yasufumi Haga raster [EMAIL PROTECTED] babbled:rasterraster Hi allraster raster I've upgraded all EFLs except for emotion and e17 itself just now. raster I set the -lang-set to ja_JP.UTF-8 after logging in again,raster but all the Japanese characters in the menus become empty squares.raster I also tried ja as the value of -lang-set according to the raster output of enlightenment_remote -lang-list, but it didn't work,raster either. ja.po seems to be written in UTF-8 correctly.raster Also the Japanese characters on titlebars of windows in e17 become raster empty squares, too. Are there any ways to fix this issue ?rasterraster i think i just found the bug. it should be fixed now. :) if you use sf.netraster anoncvs wait about 12 hours, or if you use thinktux's cvs mirror, wait 30 raster minutes and update. :)Thanks for the quick response.I understood. I'm going to rebuild e17 tonight :) I have just updated - and indeed my Japanese is back \(^_^)/ David
Re: [e-users] e17 showing empty squares for Japanese
On Fri, 2 Dec 2005 19:48:45 +0900, David Stevenson [EMAIL PROTECTED] wrote: david.35472 david.35472 On 12/2/05, Yasufumi Haga [EMAIL PROTECTED] wrote: david.35472 david.35472 On Fri, 2 Dec 2005 12:14:35 +0900, david.35472Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote: david.35472 david.35472 raster On Fri, 02 Dec 2005 01:56:09 +0900 (JST) Yasufumi Haga david.35472 raster [EMAIL PROTECTED] babbled: david.35472 raster david.35472 raster Hi all david.35472 raster david.35472 raster I've upgraded all EFLs except for emotion and e17 itself just david.35472 now. david.35472 raster I set the -lang-set to ja_JP.UTF-8 after logging in again, david.35472 raster but all the Japanese characters in the menus become empty david.35472 squares. david.35472 raster I also tried ja as the value of -lang-set according to the david.35472 raster output of enlightenment_remote -lang-list, but it didn't work, david.35472 raster either. ja.po seems to be written in UTF-8 correctly. david.35472 raster Also the Japanese characters on titlebars of windows in e17 david.35472 become david.35472 raster empty squares, too. Are there any ways to fix this issue ? david.35472 raster david.35472 raster i think i just found the bug. it should be fixed now. :) if you david.35472 use sf.net david.35472 raster anoncvs wait about 12 hours, or if you use thinktux's cvs mirror, david.35472 wait 30 david.35472 raster minutes and update. :) david.35472 david.35472 Thanks for the quick response. david.35472 I understood. I'm going to rebuild e17 tonight :) david.35472 david.35472 I have just updated - and indeed my Japanese is back \(^_^)/ I downloaded the sources from thinktux's cvs an hour ago and tried rebuilding e17 after updating all EFL, but the configure says: config.status:20: error: cannot find input file: src/modules/gadget_test/Makefile.in I'll try again later with the sources from sf.net. --- Yasufumi Haga [EMAIL PROTECTED] http://homepage3.nifty.com/peterpan/ fingerprint:0EFA 299A BC32 7D68 1FEF BA2B 804E 9B15 C4F0 F9F0 pgpPPKSQH2WbC.pgp Description: PGP signature
[e-users] idea for moon module in e17
I'm using the moon module in e17 and it is very nice! I have the following stupid idea which could be nice for those of us living in the south hemisphere: a toggle that would rotate 180 degrees (or flip horizontally) the moon images. Just my 2 cents (well, maybe just 1 cent). Thanks a lot to all the devs, e17 is getting awesome very quickly now! Matias --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] idea for moon module in e17
On 12/2/05, Matias Grana [EMAIL PROTECTED] wrote: I'm using the moon module in e17 and it is very nice! That's good to hear - I enjoyed slapping it together!I have the following stupid idea which could be nice for those of us living in the south hemisphere: a toggle that would rotate 180 degrees(or flip horizontally) the moon images. I'm originally from New Zealand, so would like to implement this for my fellow southerners as well, but afaik the EDC interface format doesn't currently have a way of rotating images (it's on the e17 TODO though). There are some ways I could do this now without the rotation, but they would be ugly ways... So for now I'm going to wait and see what happens with the builtin rotation support, and prioritize other stuff... In the meantime, if you really want it, you could rotate the images yourself before running make :) Just my 2 cents (well, maybe just 1 cent).Thanks a lot to all the devs, e17 is getting awesome very quickly now! Matias Speaking of images, the ones the module uses currently (in the version on get-e.org) are the 60 images used in e16's moon clock, which are not so good if you like streching your modules. The United States Naval Observatory has a set of 180 images made by a R. Schmidt with larger dimensions (http://tycho.usno.navy.mil/vphase.html). I contacted the webmaster ATusno.navy.mil about the possibility redistributing those images with the moon module, but never got a response (and I can't find R. Schmidt).If anyone out there knows of any alternative image sets, please let me know. Ultimately I'd actually like to be able to do phase effect with just one image of the full moon, and layer shade images on top of it appropriately to provide the different phase views - this would make for a light theme file - it's heavy with complete images. I've gotta put aside some time to learn the GIMP before I can do that though... if someone wants to beat me to it, feel free :-) Thanks for the feedback regards! David
[e-users] cpufreq module and rights
Hi, I have a message error with cpufreq module when trying to change the cpu freq governor. I've seen in the source code that the module directly write into /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor , but this file is accessible only by root. Are you all working as root or is there a another way to make it work correctly ? Thank you ! Laurent Laffont
Re: [e-users] e17 showing empty squares for Japanese
yasufumi.haga On Fri, 2 Dec 2005 19:48:45 +0900, yasufumi.hagaDavid Stevenson [EMAIL PROTECTED] wrote: yasufumi.haga yasufumi.haga david.35472 yasufumi.haga david.35472 On 12/2/05, Yasufumi Haga [EMAIL PROTECTED] wrote: yasufumi.haga david.35472 yasufumi.haga david.35472 On Fri, 2 Dec 2005 12:14:35 +0900, yasufumi.haga david.35472Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote: yasufumi.haga david.35472 yasufumi.haga david.35472 raster On Fri, 02 Dec 2005 01:56:09 +0900 (JST) Yasufumi Haga yasufumi.haga david.35472 raster [EMAIL PROTECTED] babbled: yasufumi.haga david.35472 raster yasufumi.haga david.35472 raster Hi all yasufumi.haga david.35472 raster yasufumi.haga david.35472 raster I've upgraded all EFLs except for emotion and e17 itself just yasufumi.haga david.35472 now. yasufumi.haga david.35472 raster I set the -lang-set to ja_JP.UTF-8 after logging in again, yasufumi.haga david.35472 raster but all the Japanese characters in the menus become empty yasufumi.haga david.35472 squares. yasufumi.haga david.35472 raster I also tried ja as the value of -lang-set according to the yasufumi.haga david.35472 raster output of enlightenment_remote -lang-list, but it didn't work, yasufumi.haga david.35472 raster either. ja.po seems to be written in UTF-8 correctly. yasufumi.haga david.35472 raster Also the Japanese characters on titlebars of windows in e17 yasufumi.haga david.35472 become yasufumi.haga david.35472 raster empty squares, too. Are there any ways to fix this issue ? yasufumi.haga david.35472 raster yasufumi.haga david.35472 raster i think i just found the bug. it should be fixed now. :) if you yasufumi.haga david.35472 use sf.net yasufumi.haga david.35472 raster anoncvs wait about 12 hours, or if you use thinktux's cvs mirror, yasufumi.haga david.35472 wait 30 yasufumi.haga david.35472 raster minutes and update. :) yasufumi.haga david.35472 yasufumi.haga david.35472 Thanks for the quick response. yasufumi.haga david.35472 I understood. I'm going to rebuild e17 tonight :) yasufumi.haga david.35472 yasufumi.haga david.35472 I have just updated - and indeed my Japanese is back \(^_^)/ yasufumi.haga yasufumi.haga I downloaded the sources from thinktux's cvs an hour ago and tried yasufumi.haga rebuilding e17 after updating all EFL, but the configure says: yasufumi.haga yasufumi.haga config.status:20: error: cannot find input file: src/modules/gadget_test/Makefile.in yasufumi.haga yasufumi.haga I'll try again later with the sources from sf.net. I rebuilt EFL and e17 with the sources from SF.net, and as a result, Japanese characters are indeed displayed correctly, but two other problems have newly arisen. First, I can't enter Japanese with XIM because XIM doesn't work for the applications executed from Engage or Exige, I can do it for the ones from kterm (Kanji terminal emulator) though. Also, the characters on the menubars of those applications are displayed in English, they should be displayed in Japanese though. Japanese characters on the mode line of Emacs get garbled. I can't cut and paste Japanese characters to those applications from kterm. The fields to input text of those applications accept only ascii characters. Second, enlightenment_remote -lang-list shows ja as the value for Japanese: $ enlightenment_remote -lang-list | grep ja REPLY: ja But the following command doesn't change my language environment to Japanese: $ enlightenment_remote -lang-set ja I have to run the command below instead to change to Japanese environment: $ enlightenment_remote -lang-set ja_JP.UTF-8 Also, when I run enlightenment_remote -lang-set ja in Japanese environment, somehow it changes the language to English. Any ideas? Regards. --- Yasufumi Haga [EMAIL PROTECTED] http://homepage3.nifty.com/peterpan/ fingerprint:0EFA 299A BC32 7D68 1FEF BA2B 804E 9B15 C4F0 F9F0 pgp0cB3FWSHWx.pgp Description: PGP signature
Re: [e-users] cpufreq module and rights
y * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi, I have a message error with cpufreq module when trying to change the cpu freq governor. I've seen in the source code that the module directly write into /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor , but this file is accessible only by root. Are you all working as root or is there a another way to make it work correctly ? no no no, NEVER use root as a user account :) you have to setuid the freqset utility e installs in the module subdirectory # chmod u+s freqset This way whenever it is executed, it is executed as its owner, root, not as its real user, you. but some see it as a security hazard To avoid sec problems, I set it to r-s--x--x rights and it is owned by root. Mathieu -- Linux is organic. Its not cleanly laid out. Its not specified in some document. Linux is result of evolution as nature as dictated. This drives some people nuts, but at the end of the day, it _works_. Jeff Garzik, on LKML --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] idea for moon module in e17
How this is possible with GIMP? In which format will be the image? (sorry for my english) In OpenClipArt is a nice moon image, that make possible this, and is GPL. Guillermo 2005/12/2, David Stevenson [EMAIL PROTECTED]: On 12/2/05, Matias Grana [EMAIL PROTECTED] wrote: I'm using the moon module in e17 and it is very nice! That's good to hear - I enjoyed slapping it together! I have the following stupid idea which could be nice for those of us living in the south hemisphere: a toggle that would rotate 180 degrees (or flip horizontally) the moon images. I'm originally from New Zealand, so would like to implement this for my fellow southerners as well, but afaik the EDC interface format doesn't currently have a way of rotating images (it's on the e17 TODO though). There are some ways I could do this now without the rotation, but they would be ugly ways... So for now I'm going to wait and see what happens with the builtin rotation support, and prioritize other stuff... In the meantime, if you really want it, you could rotate the images yourself before running make :) Just my 2 cents (well, maybe just 1 cent). Thanks a lot to all the devs, e17 is getting awesome very quickly now! Matias Speaking of images, the ones the module uses currently (in the version on get-e.org) are the 60 images used in e16's moon clock, which are not so good if you like streching your modules. The United States Naval Observatory has a set of 180 images made by a R. Schmidt with larger dimensions (http://tycho.usno.navy.mil/vphase.html). I contacted the webmaster ATusno.navy.mil about the possibility redistributing those images with the moon module, but never got a response (and I can't find R. Schmidt).If anyone out there knows of any alternative image sets, please let me know. Ultimately I'd actually like to be able to do phase effect with just one image of the full moon, and layer shade images on top of it appropriately to provide the different phase views - this would make for a light theme file - it's heavy with complete images. I've gotta put aside some time to learn the GIMP before I can do that though... if someone wants to beat me to it, feel free :-) Thanks for the feedback regards! David --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] e17 showing empty squares for Japanese
On 12/3/05, Yasufumi Haga [EMAIL PROTECTED] wrote: I rebuilt EFL and e17 with the sources from SF.net, and as a result,Japanese characters are indeed displayed correctly, but two otherproblems have newly arisen.First, I can't enter Japanese with XIM because XIM doesn't work for the applications executed from Engage or Exige, I can do it forthe ones from kterm (Kanji terminal emulator) though.Also, the characters on the menubars of those applications aredisplayed in English, they should be displayed in Japanese though. Japanese characters on the mode line of Emacs get garbled.I can't cut and paste Japanese characters to those applicationsfrom kterm. The fields to input text of those applications acceptonly ascii characters. Second, enlightenment_remote -lang-list shows ja as the valuefor Japanese:$ enlightenment_remote -lang-list | grep jaREPLY: jaBut the following command doesn't change my language environment to Japanese:$ enlightenment_remote -lang-set jaI have to run the command below instead to change to Japanese environment:$ enlightenment_remote -lang-set ja_JP.UTF-8Also, when I run enlightenment_remote -lang-set ja in Japanese environment, somehow it changes the language to English.Any ideas? I think I am seeing the same problem. I export LANG=ja_JP.EUC-JP in my .xsession, but when I launch an xterm : [EMAIL PROTECTED]:~$ echo $LANG [EMAIL PROTECTED]:~$ I think cause of the problem is here (in e_intl.c): voide_intl_language_set(const char *lang){ if (_e_intl_language) free(_e_intl_language); if (lang) {... if (getenv(LANG))e_util_env_set(LANG, _e_intl_language); Regards, David
Re: [e-users] cpufreq module and rights
On Fri, 2 Dec 2005 16:24:06 +0100 [EMAIL PROTECTED] babbled: Hi, I have a message error with cpufreq module when trying to change the cpu freq governor. I've seen in the source code that the module directly write into /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor , but this file is accessible only by root. Are you all working as root or is there a another way to make it work correctly ? the makefile explicitly makes the cpufreq utility executable siod root - for some reason this is not working for you. see Makefile.am in the cpufreq module dir. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
[e-users] Re: cpufreq module and rights
Mathieu Segaud [EMAIL PROTECTED] writes: no no no, NEVER use root as a user account :) you have to setuid the freqset utility e installs in the module subdirectory # chmod u+s freqset This way whenever it is executed, it is executed as its owner, root, not as its real user, you. but some see it as a security hazard To avoid sec problems, I set it to r-s--x--x rights and it is owned by root. Why would removing the read rights for normal users help with security? Anybody can download the source and build an identical copy anyway. Then it is only the permission bits which differ, and that's all that matters. -- Martin Geisler GnuPG Key: 0x7E45DD38 PHP Exif Library | PHP Weather | PHP Shell http://pel.sf.net/| http://phpweather.net/ | http://mgeisler.net/ Read/write Exif data | Show current weather| A shell in a browser pgpXGKBjW0dD6.pgp Description: PGP signature
Re: [e-users] Re: cpufreq module and rights
On Friday, 02 December 2005, at 18:11:57 (+0100), Martin Geisler wrote: Why would removing the read rights for normal users help with security? Anybody can download the source and build an identical copy anyway. Then it is only the permission bits which differ, and that's all that matters. I think it was more of a best practices sort of comment. It certainly doesn't hurt to remove the read permissions on binaries (but it DOES for scripts!), and if there were anything sensitive in said binaries, it would provide added security. Since it could help, and it doesn't hurt, paranoia dictates that you do it. :-) 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) --- Come stand a little bit closer. Breathe in and get a bit higher. You'll never know what hit you when I get to you. -- Savage Garden, I Want You --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] e17 subpixel smoothing?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Nov 2005, James McCarthy wrote: snip You're not. I recently moved to evince and absolutely love it as a pdf reader. However, text selection by dragging your mouse makes the app crash. But it scales the file really well when you resize the window. With large files full of images, however, it tends to be really slow but i think that's less of evince's problems and more an issue with the underlying library it uses to render the pdf (can't remember it's name but xpdf uses it). snip t1lib, I believe (http://www.foolabs.com/xpdf/) - -sandalle - -- Eric Sandall | Source Mage GNU/Linux Developer [EMAIL PROTECTED] | http://www.sourcemage.org/ http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU http://counter.li.org/ #196285 | http://www.shock.wsu.edu/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDkLYPHXt9dKjv3WERAlSkAKCKeJ54njHGikz+7UJDjQQ1Gjd7kQCfVf2B vXw5NmUe5Czo5v6Nxack5EE= =g8sv -END PGP SIGNATURE- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
[e-users] Re: cpufreq module and rights
Michael Jennings [EMAIL PROTECTED] writes: On Friday, 02 December 2005, at 18:11:57 (+0100), Martin Geisler wrote: Why would removing the read rights for normal users help with security? Anybody can download the source and build an identical copy anyway. Then it is only the permission bits which differ, and that's all that matters. I think it was more of a best practices sort of comment. It certainly doesn't hurt to remove the read permissions on binaries (but it DOES for scripts!), and if there were anything sensitive in said binaries, it would provide added security. I agree that one should apply all security measures possible, but removing read permissions on stock binaries isn't one of them, IMHO. Be paranoid, but apply it with some reason :-) -- Martin Geisler GnuPG Key: 0x7E45DD38 PHP Exif Library | PHP Weather | PHP Shell http://pel.sf.net/| http://phpweather.net/ | http://mgeisler.net/ Read/write Exif data | Show current weather| A shell in a browser pgpzyo1XPg0Qn.pgp Description: PGP signature
Re: [e-users] Re: cpufreq module and rights
On Friday, 02 December 2005, at 21:49:02 (+0100), Martin Geisler wrote: I agree that one should apply all security measures possible, but removing read permissions on stock binaries isn't one of them, IMHO. Be paranoid, but apply it with some reason :-) Being able to read an executable allows one to disassemble it. This can make formulating attacks against it easier. 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) --- Somehow through the lonely night, I will leave a light in the dark. Let it lead you to my heart. -- Michael W. Smith Amy Grant, Somewhere, Somehow --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Re: cpufreq module and rights
Michael Jennings wrote: I agree that one should apply all security measures possible, but removing read permissions on stock binaries isn't one of them, IMHO. Be paranoid, but apply it with some reason :-) Being able to read an executable allows one to disassemble it. This can make formulating attacks against it easier. while being an excellent argument with proprietary software, last I checked.. the source for most linux binaries is available on the interweb ;) -- Morten --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
[e-users] ecore_config del + entrance.cfg patch
is there currently no way to delete keys with ecore_config? i was trying to patch the entrance ebuild which still modifies entrance_config.db with edb_ed, but that needs to delete a few keys... relatedly, with the switch to ecore_config is entrance no longer dependent on edb? finally, i attached a patch to use entrance.cfg without the now superflous _config part left over from when it was a .db file Index: e17/apps/entrance/entrance.spec === RCS file: /cvsroot/enlightenment/e17/apps/entrance/entrance.spec,v retrieving revision 1.9 diff -u -r1.9 entrance.spec --- e17/apps/entrance/entrance.spec 3 Nov 2005 04:49:27 - 1.9 +++ e17/apps/entrance/entrance.spec 28 Nov 2005 18:12:16 - @@ -42,7 +42,7 @@ %files %defattr(-, root, root) %doc AUTHORS COPYING* README -%{_sysconfdir}/entrance_config.cfg +%{_sysconfdir}/entrance.cfg %{_sysconfdir}/init.d/entrance %{_sysconfdir}/pam.d/entrance %{_bindir}/entrance Index: e17/apps/entrance/data/config/.cvsignore === RCS file: /cvsroot/enlightenment/e17/apps/entrance/data/config/.cvsignore,v retrieving revision 1.3 diff -u -r1.3 .cvsignore --- e17/apps/entrance/data/config/.cvsignore 16 Aug 2005 04:04:04 - 1.3 +++ e17/apps/entrance/data/config/.cvsignore 28 Nov 2005 18:12:16 - @@ -1,4 +1,4 @@ Makefile Makefile.in build_config.sh -entrance_config.cfg +entrance.cfg Index: e17/apps/entrance/data/config/Makefile.am === RCS file: /cvsroot/enlightenment/e17/apps/entrance/data/config/Makefile.am,v retrieving revision 1.4 diff -u -r1.4 Makefile.am --- e17/apps/entrance/data/config/Makefile.am 16 Aug 2005 04:04:04 - 1.4 +++ e17/apps/entrance/data/config/Makefile.am 28 Nov 2005 18:12:16 - @@ -1,4 +1,4 @@ -DB = entrance_config.cfg +DB = entrance.cfg SCRIPT = build_config.sh CLEANFILES = $(DB) Index: e17/apps/entrance/data/config/build_config.sh.in === RCS file: /cvsroot/enlightenment/e17/apps/entrance/data/config/build_config.sh.in,v retrieving revision 1.11 diff -u -r1.11 build_config.sh.in --- e17/apps/entrance/data/config/build_config.sh.in 8 Nov 2005 23:06:17 - 1.11 +++ e17/apps/entrance/data/config/build_config.sh.in 28 Nov 2005 18:12:16 - @@ -1,5 +1,5 @@ #!/bin/sh -e -DB=./entrance_config.cfg +DB=./entrance.cfg rm -f $DB # set auth to 1 for pam, 2 for shadow Index: e17/apps/entrance/src/client/entrance_edit.c === RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_edit.c,v retrieving revision 1.14 diff -u -r1.14 entrance_edit.c --- e17/apps/entrance/src/client/entrance_edit.c 5 Sep 2005 12:05:57 - 1.14 +++ e17/apps/entrance/src/client/entrance_edit.c 28 Nov 2005 18:12:24 - @@ -787,7 +787,7 @@ ecore_main_loop_quit(); else if (!strcmp(ecco,button,global,save, emission)) { - snprintf(buf, PATH_MAX, %s/entrance_config.cfg, PACKAGE_CFG_DIR); + snprintf(buf, PATH_MAX, %s/entrance.cfg, PACKAGE_CFG_DIR); if (!entrance_config_save(ecco.config, buf)) { fprintf(stderr, Wrote %s\n, buf); @@ -1917,9 +1917,9 @@ ecore_app_args_set(argc, (const char **) argv); if ((ecco.config = -entrance_config_load(PACKAGE_CFG_DIR /entrance_config.cfg)) == NULL) +entrance_config_load(PACKAGE_CFG_DIR /entrance.cfg)) == NULL) { - fprintf(stderr, Unable to open %s/entrance_config.cfg\n, + fprintf(stderr, Unable to open %s/entrance.cfg\n, PACKAGE_CFG_DIR); exit(1); } Index: e17/apps/entrance/src/client/entrance_session.c === RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_session.c,v retrieving revision 1.79 diff -u -r1.79 entrance_session.c --- e17/apps/entrance/src/client/entrance_session.c 10 Nov 2005 14:44:25 - 1.79 +++ e17/apps/entrance/src/client/entrance_session.c 28 Nov 2005 18:12:24 - @@ -43,7 +43,7 @@ if (config) e-db = strdup(config); else - e-db = strdup(PACKAGE_CFG_DIR /entrance_config.cfg); + e-db = strdup(PACKAGE_CFG_DIR /entrance.cfg); openlog(entrance, LOG_NOWAIT, LOG_DAEMON); if (!display)
Re: [e-users] ecore_config del + entrance.cfg patch
xnowfall wrote: is there currently no way to delete keys with ecore_config? i was trying to patch the entrance ebuild which still modifies entrance_config.db with edb_ed, but that needs to delete a few keys... here's a patch I just whipped up.. it includes a bit I did when I implemented list, that nukes ecore_config config (path stuff) Cheers, -- Morten Index: ecore_config.c === RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/ecore_config.c,v retrieving revision 1.3 diff -u -r1.3 ecore_config.c --- ecore_config.c 18 Sep 2005 12:48:24 - 1.3 +++ ecore_config.c 3 Dec 2005 00:59:01 - @@ -35,6 +85,17 @@ } int +del(const char *key) +{ + Ecore_Config_Prop *e; + e = ecore_config_get(key); + if(e == NULL) return -1; + + ecore_config_dst(e); + return 0; +} + +int get(const char *key) { Ecore_Config_Prop *e; @@ -143,8 +243,9 @@ usage_and_exit(const char *prog, int ret, const char *msg) { if (msg) fprintf(stderr, msg); - fprintf(stderr, Usage: %s config-file {get|set|type|list} [args...]\n, prog); + fprintf(stderr, Usage: %s config-file {get|del|set|type|list} [args...]\n, prog); fprintf(stderr, LIST: %s config-file list\n, prog); + fprintf(stderr, DEL:%s config-file del key\n, prog); fprintf(stderr, GET:%s config-file get key\n, prog); fprintf(stderr, GET TYPE: %s config-file type key\n, prog); fprintf(stderr, SET:%s config-file set key {nil|int|float|bool|str|rgb|theme} value\n, prog); @@ -154,6 +255,8 @@ int main(int argc, const char **argv) { + Ecore_Config_Bundle *t; + Ecore_Config_Prop *e; const char *prog, *file, *cmd, *key, *type, *value; int ec_type = -1; int ret = 0; @@ -169,13 +272,14 @@ if (strcmp(get, cmd) strcmp(type, cmd) strcmp(set, cmd) - strcmp(list, cmd)) + strcmp(list, cmd) + strcmp(del, cmd)) { usage_and_exit(prog, 2, Unrecognised command\n); } // Check for enough arguments - if ((*cmd == 's') || (*cmd == 'g') || (*cmd == 't')) { + if ((*cmd == 's') || (*cmd == 'g') || (*cmd == 't') || (*cmd == 'd')) { if (argc 3) usage_and_exit(prog, 2, Not enough arguments\n); key = argv[3]; } @@ -194,8 +298,15 @@ } } - // Load configuration from file ecore_config_init(econfig); + + // Remove any config not from the file + t = __ecore_config_bundle_local; + while((e = t-data)) { + ecore_config_dst(e); + } + + // Load configuration from file ecore_config_file_load(file); // Execute command @@ -208,6 +319,14 @@ ecore_config_file_save(file); } break; + case 'd': + if(del(key)) { + fprintf(stderr, Del failed\n); + ret = 4; + } else { + ecore_config_file_save(file); + } + break; case 'g': if (get(key)) ret = 4; break;
[e-users] passing a value to edje
is it possible to pass a value from the application to an edje? i'm trying to set a tween-state based on a value in the program. edje_object_message_send looks like it could send a float *somewhere*, but i don't know if/how you could use it in the .edc ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] passing a value to edje
On Sat, 03 Dec 2005 02:50:47 +0100 xnowfall [EMAIL PROTECTED] babbled: is it possible to pass a value from the application to an edje? i'm trying to set a tween-state based on a value in the program. edje_object_message_send looks like it could send a float *somewhere*, but i don't know if/how you could use it in the .edc ... there are many ways - yes. messages works. singals work too (you can PARSE a signal like a string in embryo script) but there is a dedicated system just for this too that the battery and temperature modules use with the float value after the state name. edje will find the closest provides value if you ask for my_state 0.3 then edje wil look for the closest value of all state descriptions called my_state for that part, and then use the closest. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Re: cpufreq module and rights
On Fri, 02 Dec 2005 23:22:59 +0100 Morten Nilsen [EMAIL PROTECTED] babbled: Michael Jennings wrote: I agree that one should apply all security measures possible, but removing read permissions on stock binaries isn't one of them, IMHO. Be paranoid, but apply it with some reason :-) Being able to read an executable allows one to disassemble it. This can make formulating attacks against it easier. while being an excellent argument with proprietary software, last I checked.. the source for most linux binaries is available on the interweb ;) i'ts still harmless to do so - and as mej said. a good practice. we have bigger problems in one respect that the security paranoid will have an suid root binary installed that any user on the system can use to speed up or slow down the cpu. we currently have NO way of limitng access for this to the console user only or certain sets of users (some users can log in via ssh/etc. only othershave console access). right now we are punting this off to package maintainers to set the group of the exe appropriately (some distributions have console groups) and the permissions based on their secuirty policy. the default out-of-the-box security is good for workstations where the only people logging in are console users generally and you generally trust any users remote-logging in that they just wont play with this stuff and be nice. yes we probably can do better :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] passing a value to edje
Carsten Haitzler (The Rasterman) wrote: On Sat, 03 Dec 2005 02:50:47 +0100 xnowfall [EMAIL PROTECTED] babbled: is it possible to pass a value from the application to an edje? i'm trying to set a tween-state based on a value in the program. edje_object_message_send looks like it could send a float *somewhere*, but i don't know if/how you could use it in the .edc ... there are many ways - yes. messages works. singals work too (you can PARSE a signal like a string in embryo script) but there is a dedicated system just for this too that the battery and temperature modules use with the float value after the state name. edje will find the closest provides value if you ask for my_state 0.3 then edje wil look for the closest value of all state descriptions called my_state for that part, and then use the closest. thanks :) you say messages works - maybe i'm reading you wrong but you seem to suggest there is a better way. but looking at those modules i see they use the message function. anyway, from the .edc i see they use the set_state command as i imagined i would if i could get the value passed over (with the float after the name as you say), though i thought it would interpolate rather than pick one, e.g if i set state 0.0 to size 0 and state 1.0 to size 100 then using set_state 0.7 would make it size 70 - no? but i'll see what happens btw, what are the embryo commands to parse a signal - sounds like something that might come in handy sometime --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] Re: cpufreq module and rights
On Friday, 02 December 2005, at 23:22:59 (+0100), Morten Nilsen wrote: while being an excellent argument with proprietary software, last I checked.. the source for most linux binaries is available on the interweb ;) You're making an awful lot of assumptions. Getting an identical binary requires using the same compiler, assembler, and linker; the same code generation/optimization flags; the same compile-time configuration; etc. You cannot assume that the system in question will provide all this information and all these tools. Just because you're not paranoid enough doesn't mean they're not out to get you. :-) 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) --- Blessed are the shallow; depth they'll never find. Seems to be some comfort in rooms I try to hide. Exposed beyond the shadows, you take the cup from me. Your dirt removes my blindness; your pain becomes my peace. -- Jars of Clay, Frail --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] passing a value to edje
On Sat, 03 Dec 2005 05:01:49 +0100 xnowfall [EMAIL PROTECTED] babbled: Carsten Haitzler (The Rasterman) wrote: On Sat, 03 Dec 2005 02:50:47 +0100 xnowfall [EMAIL PROTECTED] babbled: is it possible to pass a value from the application to an edje? i'm trying to set a tween-state based on a value in the program. edje_object_message_send looks like it could send a float *somewhere*, but i don't know if/how you could use it in the .edc ... there are many ways - yes. messages works. singals work too (you can PARSE a signal like a string in embryo script) but there is a dedicated system just for this too that the battery and temperature modules use with the float value after the state name. edje will find the closest provides value if you ask for my_state 0.3 then edje wil look for the closest value of all state descriptions called my_state for that part, and then use the closest. thanks :) you say messages works - maybe i'm reading you wrong but you seem to suggest there is a better way. but looking at those modules i see they use the message function. anyway, from the .edc i see they use the set_state command as i imagined i would if i could get the value passed over (with the float after the name as you say), though i thought it would interpolate rather than pick one, e.g if i set state 0.0 to size 0 and state 1.0 to size 100 then using set_state 0.7 would make it size 70 - no? but i'll see what happens btw, what are the embryo commands to parse a signal - sounds like something that might come in handy sometime see default.inc that embryo installs. there are some string handling funcs there. :) this sig and srv variables are passed to the scritp segment implicitly --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] ecore_config del + entrance.cfg patch
On 12/3/05, Morten Nilsen [EMAIL PROTECTED] wrote: here's a patch I just whipped up.. it includes a bit I did when I implemented list, that nukes ecore_config config (path stuff) Please refrain from sending your patches inline with your emails. Use proper attachments. -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users