Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread rustyBSD

On 09/30/12 14:11, rustyBSD wrote:

are you sure about fresqet.c ? Just returning 1 ?

Not really.

I'm looking for a way to change the cpu freq

Mmhh...

The problem with openbsd's sysctl is that
we get cpu freq in Mhz, but we can only set
it in percents - and not up to 100%.

So I put percents instead of Mhz in the menu,
even if it sometimes causes some problems with
the speedbar. But it works.

I'll continue later. You can commit these
patches.
--- e_mod_main.cMon Oct  1 07:42:45 2012
+++ e_mod_main.cMon Oct  1 07:43:43 2012
@@ -1,9 +1,8 @@
 #include e.h
 #include e_mod_main.h
 
-#ifdef __FreeBSD__
-#include sys/types.h
-#include sys/sysctl.h
+#if defined (__FreeBSD__) || defined (__OpenBSD__)
+# include sys/sysctl.h
 #endif
 
 /* gadcon requirements */
@@ -291,11 +290,17 @@
 
   frequency = (long)l-data;
   mi = e_menu_item_new(mo);
+
+#ifdef __OpenBSD__
+  snprintf(buf, sizeof(buf), _(%i %%), frequency);
+#else
   if (frequency  100)
 snprintf(buf, sizeof(buf), _(%i MHz), frequency / 1000);
   else
 snprintf(buf, sizeof(buf), _(%'.1f GHz),
  frequency / 100.);
+#endif
+
   buf[sizeof(buf) - 1] = 0;
   e_menu_item_label_set(mi, buf);
   e_menu_item_radio_set(mi, 1);
@@ -445,8 +451,10 @@
 return;
  }
 
-   // change it to userspace
+#ifndef __OpenBSD__
+   /* OpenBSD doesn't have governors */
_cpufreq_set_governor(userspace);
+#endif
 
snprintf(buf, sizeof(buf),
 %s %s %i, cpufreq_config-set_exe_path, frequency, frequency);
@@ -548,8 +556,40 @@
 {
char buf[4096];
Eina_List *l;
-   // FIXME: this sssumes all cores accept the same freqs/ might be wrong
-#ifdef __FreeBSD__
+   // FIXME: this assumes all cores accept the same freqs/ might be wrong
+
+#if defined (__OpenBSD__)
+   int freq, mib[] = {CTL_HW, HW_CPUSPEED};
+   size_t len = sizeof(freq);
+   int p;
+
+   if (sysctl(mib, 2, freq, len, NULL, 0) == 0)
+ {
+if (s-frequencies)
+  {
+ eina_list_free(s-frequencies);
+ s-frequencies = NULL;
+  }
+
+if (s-governors)
+  {
+ for (l = s-governors; l; l = l-next)
+   free(l-data);
+ eina_list_free(s-governors);
+ s-governors = NULL;
+  }
+
+/* storing percents */
+p = 100;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+p = 75;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+p = 50;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+p = 25;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+ }
+#elif defined (__FreeBSD__)
int freq, i;
size_t len = 0;
char *freqs, *pos, *q;
@@ -665,15 +705,28 @@
 static int
 _cpufreq_status_check_current(Status *s)
 {
-   char buf[4096];
-   int i;
-   FILE *f;
int ret = 0;
int frequency = 0;
-   int frequency_min = 0x7fff;
-   int frequency_max = 0;
-   int freqtot = 0;
-#ifdef __FreeBSD__
+
+#if defined (__OpenBSD__)
+   size_t len = sizeof(frequency);
+   int mib[] = {CTL_HW, HW_CPUSPEED};
+   s-active = 0;
+
+   _cpufreq_status_check_available(s);
+
+   if (sysctl(mib, 2, frequency, len, NULL, 0) == 0)
+ {
+frequency *= 1000;
+if (frequency != s-cur_frequency) ret = 1;
+s-cur_frequency = frequency;
+s-active = 1;
+ }
+
+   s-can_set_frequency = 1;
+   s-cur_governor = NULL;
+   s-cur_frequency = frequency;
+#elif defined (__FreeBSD__)
int len = 4;
 
s-active = 0;
@@ -690,6 +743,13 @@
s-can_set_frequency = 1;
s-cur_governor = NULL;
 #else
+   char buf[4096];
+   FILE *f;
+   int frequency_min = 0x7fff;
+   int frequency_max = 0;
+   int freqtot = 0;
+   int i;
+
s-active = 0;
 
_cpufreq_status_check_available(s);
@@ -724,7 +784,7 @@
 
 //  printf(%i | %i %i\n, frequency, frequency_min, frequency_max);
 
-   // FIXME: this sssumes all cores are on the same governor
+   // FIXME: this assumes all cores are on the same governor
f = fopen(/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed, r);
if (f)
  {
--- freqset.c   Mon Oct  1 07:59:21 2012
+++ freqset.c   Mon Oct  1 07:46:15 2012
@@ -5,10 +5,15 @@
 #include string.h
 
 #ifdef __FreeBSD__
-#include sys/types.h
-#include sys/sysctl.h
+# include sys/sysctl.h
 #endif
 
+#ifdef __OpenBSD__
+# include sys/param.h
+# include sys/resource.h
+# include sys/sysctl.h
+#endif
+
 static int sys_cpu_setall(const char *control, const char *value);
 static int sys_cpufreq_set(const char *control, const char *value);
 
@@ -25,9 +30,29 @@
if (seteuid(0))
  {
 fprintf(stderr, Unable to assume root privileges\n);
+return 1;
  }
 
-#ifdef __FreeBSD__
+#if defined __OpenBSD__
+   if (!strcmp(argv[1], 

Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread Vincent Torri
On Mon, Oct 1, 2012 at 8:10 AM, rustyBSD rusty...@gmx.fr wrote:
 On 09/30/12 14:11, rustyBSD wrote:

 are you sure about fresqet.c ? Just returning 1 ?

 Not really.

 I'm looking for a way to change the cpu freq

 Mmhh...

 The problem with openbsd's sysctl is that
 we get cpu freq in Mhz, but we can only set
 it in percents - and not up to 100%.

maybe this could help you :

http://stackoverflow.com/questions/4226353/show-memory-and-cpu-in-c

Vincent

 So I put percents instead of Mhz in the menu,
 even if it sometimes causes some problems with
 the speedbar. But it works.

 I'll continue later. You can commit these
 patches.

 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_x_screensaver_set wtf

2012-10-01 Thread Sebastian Dransfeld
On 09/30/2012 11:30 AM, Tomas Cech wrote:
 Hi,

 I have strong feeling that this was introduced by commit 76342
 (raster).

 I'm preparing pillory.

In combination with this:

ecore_x_screensaver.c:
  XScreenSaverSelectInput(_ecore_x_disp, root,
  ScreenSaverNotifyMask | ScreenSaverCycle);

Shouldn't the mask be ScreenSaverNotify? Else the handler in E sucks.

(Same code in xcb)

S.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_x_screensaver_set wtf

2012-10-01 Thread Christopher Michael
On 01/10/12 07:39, Sebastian Dransfeld wrote:
 On 09/30/2012 11:30 AM, Tomas Cech wrote:
 Hi,

 I have strong feeling that this was introduced by commit 76342
 (raster).

 I'm preparing pillory.

 In combination with this:

 ecore_x_screensaver.c:
XScreenSaverSelectInput(_ecore_x_disp, root,
ScreenSaverNotifyMask | ScreenSaverCycle);

 Shouldn't the mask be ScreenSaverNotify? Else the handler in E sucks.

 (Same code in xcb)

 S.


 From the man page:

XScreenSaverSelectInput asks that events related to the screen saver be 
generated for this client. If no bits are set in event-mask, then no 
events will be generated. Otherwise, any combination of the following 
bits may be set:

ScreenSaverNotify
If this bit is set, ScreenSaverNotify events are generated whenever the 
screen saver is activated or deactivated.
ScreenSaverCycle
If this bit is set, ScreenSaverNotify events are generated whenever the 
screen saver cycle interval passes.

So yes, I think you are correct wrt the mask for SelectInput. If we do 
the Cycle mask, then that explains why the handler is getting called so 
often (when the screensaver timeout is short).

I do believe that the intended usage for 
ecore_x_screensaver_event_listen_set is that we want to be notified when 
the screensaver activates (or deactivates). If that is indeed the case, 
then we can remove the ScreenSaverCycle mask and just use the NotifyMask.

dh


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: seoz IN trunk/e: . doc

2012-10-01 Thread Vincent Torri
would be nice to find an automatic way for doing this.

Vincent

On Mon, Oct 1, 2012 at 8:57 AM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 e AUTHORS e.dox.in: Added a missing author and synchronized documentation 
 with AUTHORS.

 Author:   seoz
 Date: 2012-09-30 23:57:50 -0700 (Sun, 30 Sep 2012)
 New Revision: 77237
 Trac: http://trac.enlightenment.org/e/changeset/77237

 Modified:
   trunk/e/AUTHORS trunk/e/doc/e.dox.in

 Modified: trunk/e/AUTHORS
 ===
 --- trunk/e/AUTHORS 2012-10-01 06:35:08 UTC (rev 77236)
 +++ trunk/e/AUTHORS 2012-10-01 06:57:50 UTC (rev 77237)
 @@ -37,3 +37,4 @@
  Maxime Villard rusty...@gmx.fr
  Jeremy Zurcher jer...@asynk.ch
  Shinwoo Kim kimci...@gmail.com
 +Daniel Juyung Seo (SeoZ) seojuyu...@gmail.com

 Modified: trunk/e/doc/e.dox.in
 ===
 --- trunk/e/doc/e.dox.in2012-10-01 06:35:08 UTC (rev 77236)
 +++ trunk/e/doc/e.dox.in2012-10-01 06:57:50 UTC (rev 77237)
 @@ -92,5 +92,9 @@
  @author Thomas Gstädtner tho...@gstaedtner.net
  @author q66 quake...@gmail.com
  @author Tom Hacohen t...@stosb.com
 +@author Maxime Villard rusty...@gmx.fr
 +@author Jeremy Zurcher jer...@asynk.ch
 +@author Shinwoo Kim kimci...@gmail.com
 +@author Daniel Juyung Seo (SeoZ) seojuyu...@gmail.com

  */


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Possible bug in ecore's mainloop

2012-10-01 Thread Guillaume Friloux

Hello e people,

I am having difficulties with a simple app.
While developping an internal tool that syncs files depending on their 
presence in an SQL DB, I got some problems, one with eina_lock, and one 
with ecore.


Cedric is aware of both problems, but it seems very hard to understand 
what goes wrong, so i post on the ML to see if anyone can spot the issue.
The eina_lock problem has been understood by cedric, i wont speak of it 
here, i am more concerned by the ecore issue.



Here is a simplified source code that can trigger the issue : 
http://pastebin.com/at8fMTKd



Eio will do his work, but in some case, the end_cb (_list_cb_done()) 
will never be called (so i might also not have all the calls to 
_list_cb() and _list_cb_filter())


Here is the backtrace i get when the app seems to freeze : 
http://pastebin.com/WVayFsKQ
So it seems ecore is waiting for events while eio has finished its work 
(eio's thread exited)


To ease trigger the bug, here is a directory having lots of subdirs : 
https://paranoia.abuser.eu/deduplication.tgz (238MiB file)


Is anyone able to reproduce and/or find whats wrong ?
attachment: guillaume_friloux.vcf--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: hermet trunk/elementary/data/objects

2012-10-01 Thread Daniel Juyung Seo
On Mon, Oct 1, 2012 at 3:35 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 elementary/flip - reverted 77229. actually clo.png is used.



 Author:   hermet
 Date: 2012-09-30 23:35:08 -0700 (Sun, 30 Sep 2012)
 New Revision: 77236
 Trac: http://trac.enlightenment.org/e/changeset/77236

 Modified:
   trunk/elementary/data/objects/test.edc

 Modified: trunk/elementary/data/objects/test.edc
 ===
 --- trunk/elementary/data/objects/test.edc  2012-10-01 06:09:09 UTC (rev 
 77235)
 +++ trunk/elementary/data/objects/test.edc  2012-10-01 06:35:08 UTC (rev 
 77236)
 @@ -4,6 +4,7 @@
  image: over.png COMP;
  image: under.png COMP;
  image: sky.jpg LOSSY 80;
 +image: clo.png LOSSY 60;
}
parts {
   part { name: clip;
 @@ -104,6 +105,7 @@
max: 329 147;
aspect_preference: HORIZONTAL;
image.normal: over.png;
 +visible: 0;

What is this visible: 0; with incorrect indentation?

Daniel Juyung Seo (SeoZ)

 }
  }
   part { name: clo;


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: seoz IN trunk/e: . doc

2012-10-01 Thread Daniel Juyung Seo
I hope so and it should.

Daniel Juyung Seo (SeoZ)

On Mon, Oct 1, 2012 at 3:59 PM, Vincent Torri vincent.to...@gmail.com wrote:
 would be nice to find an automatic way for doing this.

 Vincent

 On Mon, Oct 1, 2012 at 8:57 AM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
 Log:
 e AUTHORS e.dox.in: Added a missing author and synchronized documentation 
 with AUTHORS.

 Author:   seoz
 Date: 2012-09-30 23:57:50 -0700 (Sun, 30 Sep 2012)
 New Revision: 77237
 Trac: http://trac.enlightenment.org/e/changeset/77237

 Modified:
   trunk/e/AUTHORS trunk/e/doc/e.dox.in

 Modified: trunk/e/AUTHORS
 ===
 --- trunk/e/AUTHORS 2012-10-01 06:35:08 UTC (rev 77236)
 +++ trunk/e/AUTHORS 2012-10-01 06:57:50 UTC (rev 77237)
 @@ -37,3 +37,4 @@
  Maxime Villard rusty...@gmx.fr
  Jeremy Zurcher jer...@asynk.ch
  Shinwoo Kim kimci...@gmail.com
 +Daniel Juyung Seo (SeoZ) seojuyu...@gmail.com

 Modified: trunk/e/doc/e.dox.in
 ===
 --- trunk/e/doc/e.dox.in2012-10-01 06:35:08 UTC (rev 77236)
 +++ trunk/e/doc/e.dox.in2012-10-01 06:57:50 UTC (rev 77237)
 @@ -92,5 +92,9 @@
  @author Thomas Gstädtner tho...@gstaedtner.net
  @author q66 quake...@gmail.com
  @author Tom Hacohen t...@stosb.com
 +@author Maxime Villard rusty...@gmx.fr
 +@author Jeremy Zurcher jer...@asynk.ch
 +@author Shinwoo Kim kimci...@gmail.com
 +@author Daniel Juyung Seo (SeoZ) seojuyu...@gmail.com

  */


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch][elementary] add reorder fast mode for mobile case

2012-10-01 Thread Daniel Juyung Seo
It looks like there are unnecessary codes in your patch.
Can you please resend the patch?

Daniel Juyung Seo (SeoZ)

On Fri, Sep 28, 2012 at 10:04 PM, Bluezery ohpo...@gmail.com wrote:
 Dear EFL developers,

 In current genlist reorder mode, reordering is not moved when
 reordering item is on top or in bottom of within genlist objec because
 of scroller's hold mode.
 After mouse point is moved out of genlist object, then reordering item
 can be moved.
 But in mobile, mouse point can not be moved out of window (if genlist
 item is expanded in window).
 So I add some tweaks to reordering item can be moved when reordering
 item is moved on top item or bottom item.

 Please review this patch.

 BRs
 Kim.

 --
 BRs,
 Kim.

 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch][elementary] add reorder fast mode for mobile case

2012-10-01 Thread Bluezery
Sorry, test code was in there  :(
I removed them.


2012/10/1 Daniel Juyung Seo seojuyu...@gmail.com:
 It looks like there are unnecessary codes in your patch.
 Can you please resend the patch?

 Daniel Juyung Seo (SeoZ)

 On Fri, Sep 28, 2012 at 10:04 PM, Bluezery ohpo...@gmail.com wrote:
 Dear EFL developers,

 In current genlist reorder mode, reordering is not moved when
 reordering item is on top or in bottom of within genlist objec because
 of scroller's hold mode.
 After mouse point is moved out of genlist object, then reordering item
 can be moved.
 But in mobile, mouse point can not be moved out of window (if genlist
 item is expanded in window).
 So I add some tweaks to reordering item can be moved when reordering
 item is moved on top item or bottom item.

 Please review this patch.

 BRs
 Kim.

 --
 BRs,
 Kim.

 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
BRs,
Kim.


genlist@add_fast_reorder.patch
Description: Binary data
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: hermet trunk/elementary/data/objects

2012-10-01 Thread ChunEon Park
fault.
i didn't intend.
and reverted already. :)




-Regards, Hermet-

-Original Message-
From: Daniel Juyung Seolt;seojuyu...@gmail.comgt; 
To: lt;enlightenment-devel@lists.sourceforge.netgt;; 
Cc: lt;enlightenment-...@lists.sourceforge.netgt;; 
Sent: 2012-10-01 (월) 16:27:42
Subject: Re: [E-devel] E SVN: hermet trunk/elementary/data/objects

On Mon, Oct 1, 2012 at 3:35 PM, Enlightenment SVN
lt;no-replygt;@enlightenment.orggt; wrote:
gt; Log:
gt; elementary/flip - reverted 77229. actually clo.png is used.
gt;
gt;
gt;
gt; Author:   hermet
gt; Date: 2012-09-30 23:35:08 -0700 (Sun, 30 Sep 2012)
gt; New Revision: 77236
gt; Trac: http://trac.enlightenment.org/e/changeset/77236
gt;
gt; Modified:
gt;   trunk/elementary/data/objects/test.edc
gt;
gt; Modified: trunk/elementary/data/objects/test.edc
gt; ===
gt; --- trunk/elementary/data/objects/test.edc  2012-10-01 06:09:09 UTC 
(rev 77235)
gt; +++ trunk/elementary/data/objects/test.edc  2012-10-01 06:35:08 UTC 
(rev 77236)
gt; @@ -4,6 +4,7 @@
gt;  image: over.png COMP;
gt;  image: under.png COMP;
gt;  image: sky.jpg LOSSY 80;
gt; +image: clo.png LOSSY 60;
gt;}
gt;parts {
gt;   part { name: clip;
gt; @@ -104,6 +105,7 @@
gt;max: 329 147;
gt;aspect_preference: HORIZONTAL;
gt;image.normal: over.png;
gt; +visible: 0;

What is this visible: 0; with incorrect indentation?

Daniel Juyung Seo (SeoZ)

gt; }
gt;  }
gt;   part { name: clo;
gt;
gt;
gt; 
--
gt; Got visibility?
gt; Most devs has no idea what their production app looks like.
gt; Find out how fast your code is with AppDynamics Lite.
gt; http://ad.doubleclick.net/clk;262219671;13503038;y?
gt; http://info.appdynamics.com/FreeJavaPerformanceDownload.html
gt; ___
gt; enlightenment-svn mailing list
gt; enlightenment-...@lists.sourceforge.net
gt; https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch][elementary] add reorder fast mode for mobile case

2012-10-01 Thread Daniel Juyung Seo
Good catch :)
In svn but I fixed some of you codes.
Please read this carefully.

1. removed _viewport_coord_get function from your patch.
The function is not needed in this scenario.
So I just removed it and calculated geometry directly.

2. line wrap
Do not exceed 80 chars per line.
I fixed it.

3. local variable declarations at the start of each function
Declare local variables at the start of each function.
I fixed it.

Thanks otherwise.

Daniel Juyung Seo (SeoZ)

On Mon, Oct 1, 2012 at 4:51 PM, Bluezery ohpo...@gmail.com wrote:
 Sorry, test code was in there  :(
 I removed them.


 2012/10/1 Daniel Juyung Seo seojuyu...@gmail.com:
 It looks like there are unnecessary codes in your patch.
 Can you please resend the patch?

 Daniel Juyung Seo (SeoZ)

 On Fri, Sep 28, 2012 at 10:04 PM, Bluezery ohpo...@gmail.com wrote:
 Dear EFL developers,

 In current genlist reorder mode, reordering is not moved when
 reordering item is on top or in bottom of within genlist objec because
 of scroller's hold mode.
 After mouse point is moved out of genlist object, then reordering item
 can be moved.
 But in mobile, mouse point can not be moved out of window (if genlist
 item is expanded in window).
 So I add some tweaks to reordering item can be moved when reordering
 item is moved on top item or bottom item.

 Please review this patch.

 BRs
 Kim.

 --
 BRs,
 Kim.

 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 BRs,
 Kim.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: devilhorns trunk/e/src/modules/conf_randr

2012-10-01 Thread Leif Middelschulte
Am 01.10.2012 um 09:32 schrieb Enlightenment SVN no-re...@enlightenment.org:

 Log:
 E (RandR): Update mouse pointer when over the thumbnail to indicate
  move is possible.
Though, that's nice for desktop monitors, it's bad for touch screens (e.g. 
tablets) :-/
At least make it themable via some data flag in the edc or alike.

--
Leif
 
  NB: Preparation for monitor moving.
 
 
 
 Author:   devilhorns
 Date: 2012-10-01 00:32:57 -0700 (Mon, 01 Oct 2012)
 New Revision: 77243
 Trac: http://trac.enlightenment.org/e/changeset/77243
 
 Modified:
  trunk/e/src/modules/conf_randr/e_smart_monitor.c 
 
 Modified: trunk/e/src/modules/conf_randr/e_smart_monitor.c
 ===
 --- trunk/e/src/modules/conf_randr/e_smart_monitor.c  2012-10-01 07:30:06 UTC 
 (rev 77242)
 +++ trunk/e/src/modules/conf_randr/e_smart_monitor.c  2012-10-01 07:32:57 UTC 
 (rev 77243)
 @@ -99,6 +99,9 @@
 static void _e_smart_cb_indicator_mouse_out(void *data __UNUSED__, 
 Evas_Object *obj, const char *emission __UNUSED__, const char *source 
 __UNUSED__);
 static void _e_smart_cb_indicator_toggle(void *data, Evas_Object *obj 
 __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__);
 static void _e_smart_cb_frame_mouse_move(void *data, Evas *evas __UNUSED__, 
 Evas_Object *obj __UNUSED__, void *event);
 +static void _e_smart_cb_thumb_mouse_in(void *data __UNUSED__, Evas *evas 
 __UNUSED__, Evas_Object *obj, void *event __UNUSED__);
 +static void _e_smart_cb_thumb_mouse_out(void *data __UNUSED__, Evas *evas 
 __UNUSED__, Evas_Object *obj, void *event __UNUSED__);
 +static void _e_smart_cb_thumb_mouse_down(void *data __UNUSED__, Evas *evas 
 __UNUSED__, Evas_Object *obj, void *event __UNUSED__);
 static void _e_smart_cb_thumb_mouse_up(void *data, Evas *evas __UNUSED__, 
 Evas_Object *obj __UNUSED__, void *event);
 static int _e_smart_cb_modes_sort(const void *data1, const void *data2);
 
 @@ -359,8 +362,14 @@
/* create bg preview */
sd-o_thumb = e_livethumb_add(evas);
edje_object_part_swallow(sd-o_frame, e.swallow.preview, sd-o_thumb);
 +   evas_object_event_callback_add(sd-o_thumb, EVAS_CALLBACK_MOUSE_IN, 
 +  _e_smart_cb_thumb_mouse_in, obj);
 +   evas_object_event_callback_add(sd-o_thumb, EVAS_CALLBACK_MOUSE_OUT, 
 +  _e_smart_cb_thumb_mouse_out, obj);
evas_object_event_callback_add(sd-o_thumb, EVAS_CALLBACK_MOUSE_UP, 
   _e_smart_cb_thumb_mouse_up, obj);
 +   evas_object_event_callback_add(sd-o_thumb, EVAS_CALLBACK_MOUSE_DOWN, 
 +  _e_smart_cb_thumb_mouse_down, obj);
 
/* create monitor stand */
sd-o_stand = edje_object_add(evas);
 @@ -787,6 +796,39 @@
 }
 
 static void 
 +_e_smart_cb_thumb_mouse_in(void *data __UNUSED__, Evas *evas __UNUSED__, 
 Evas_Object *obj, void *event __UNUSED__)
 +{
 +   E_Manager *man;
 +
 +   man = e_manager_current_get();
 +   e_pointer_type_push(man-pointer, obj, hand);
 +}
 +
 +static void 
 +_e_smart_cb_thumb_mouse_out(void *data __UNUSED__, Evas *evas __UNUSED__, 
 Evas_Object *obj, void *event __UNUSED__)
 +{
 +   E_Manager *man;
 +
 +   man = e_manager_current_get();
 +   e_pointer_type_pop(man-pointer, obj, hand);
 +}
 +
 +static void 
 +_e_smart_cb_thumb_mouse_down(void *data __UNUSED__, Evas *evas __UNUSED__, 
 Evas_Object *obj, void *event __UNUSED__)
 +{
 +   Evas_Event_Mouse_Up *ev;
 +
 +   ev = event;
 +   if (ev-button == 1)
 + {
 +E_Manager *man;
 +
 +man = e_manager_current_get();
 +e_pointer_type_push(man-pointer, obj, move);
 + }
 +}
 +
 +static void 
 _e_smart_cb_thumb_mouse_up(void *data, Evas *evas __UNUSED__, Evas_Object 
 *obj __UNUSED__, void *event)
 {
Evas_Object *mon;
 @@ -828,6 +870,13 @@
}
   }
  }
 +   else if (ev-button == 1)
 + {
 +E_Manager *man;
 +
 +man = e_manager_current_get();
 +e_pointer_type_pop(man-pointer, obj, move);
 + }
 }
 
 static int 
 
 
 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel 

[E-devel] elementary: problem with focus in panel

2012-10-01 Thread Jérôme Pinot
Hi,

Moving from EFL 1.2 to 1.7 was not flawless for eperiodique. I had to
adjust again the button size in boxes, but well, it does mostly work as
expected.

I still got a major issue that prevents me to release: it seems that the
focus behaviour in panel changed a lot (or is it a bug?).

Under EFL 1.2, I can open a panel, which contains an entry widget and a
button, enter formula and activate via ENTER or the button to get the
result, as shown at the end of this video:
http://www.youtube.com/watch?v=wjp_0guZ05Q 

But with EFL 1.7, once the panel is open, it's not possible to get the
focus on the entry widget with the mouse (but with TAB it works).
Moreover, pressing ENTER when in the entry widget just close the
panel in same time it activates the entry.

So, if it's not bugs (I didn't change this part of eperiodique code), I'd
like to know:
- how to select the entry with mouse (as before)
- how to make the panel widget not react on the ENTER (or change the
  key)

For reference, the panel code of eperiodique is available here;
http://eperiodique.git.sourceforge.net/git/gitweb.cgi?p=eperiodique/eperiodique;a=blob;f=src/panel.c;h=f3b993035a5e3f330bdaaa48b2f9fbdd4f62a553;hb=HEAD
 

Thanks for any help, this issue is blocking my work on SlackE17.

-- 
Jérôme Pinot
http://ngc891.blogdns.net/ 


signature.asc
Description: Digital signature
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread rustyBSD

On 10/01/12 08:22, Vincent Torri wrote:

maybe this could help you :

http://stackoverflow.com/questions/4226353/show-memory-and-cpu-in-c

Vincent

?

There is no problem when getting the frequency.
The only difference with linux is that instead
of displaying available frequencies (in the menu),
we display 25-50-75-100% - as we can only set
percents.

We unfortunately cannot get available levels, so
we don't know what is the max/min frequency
available for the processor, and it sometimes
causes problem with the speedcounter, which
doesn't know where to place the freq in the
counter.

PS: I forgot to mention that the freebsd support
is broken.

Here are patches again. This time it's really ok,
I also quickly modified the freebsd code.

--- e_mod_main.cMon Oct  1 14:58:24 2012
+++ e_mod_main.cMon Oct  1 14:41:45 2012
@@ -1,9 +1,8 @@
 #include e.h
 #include e_mod_main.h
 
-#ifdef __FreeBSD__
-#include sys/types.h
-#include sys/sysctl.h
+#if defined (__FreeBSD__) || defined (__OpenBSD__)
+# include sys/sysctl.h
 #endif
 
 /* gadcon requirements */
@@ -291,17 +290,29 @@
 
   frequency = (long)l-data;
   mi = e_menu_item_new(mo);
+
+#ifdef __OpenBSD__
+  snprintf(buf, sizeof(buf), %i %%, frequency);
+#else
   if (frequency  100)
 snprintf(buf, sizeof(buf), _(%i MHz), frequency / 1000);
   else
 snprintf(buf, sizeof(buf), _(%'.1f GHz),
  frequency / 100.);
+#endif
+
   buf[sizeof(buf) - 1] = 0;
   e_menu_item_label_set(mi, buf);
   e_menu_item_radio_set(mi, 1);
   e_menu_item_radio_group_set(mi, 1);
+
+#ifdef __OpenBSD__
+  if (cpufreq_config-status-cur_percent == frequency)
+e_menu_item_toggle_set(mi, 1);
+#else
   if (cpufreq_config-status-cur_frequency == frequency)
 e_menu_item_toggle_set(mi, 1);
+#endif
   e_menu_item_callback_set(mi, _cpufreq_menu_frequency, 
l-data);
}
   }
@@ -445,8 +456,10 @@
 return;
  }
 
-   // change it to userspace
+#ifndef __OpenBSD__
+   /* OpenBSD doesn't have governors */
_cpufreq_set_governor(userspace);
+#endif
 
snprintf(buf, sizeof(buf),
 %s %s %i, cpufreq_config-set_exe_path, frequency, frequency);
@@ -548,14 +561,45 @@
 {
char buf[4096];
Eina_List *l;
-   // FIXME: this sssumes all cores accept the same freqs/ might be wrong
-#ifdef __FreeBSD__
-   int freq, i;
-   size_t len = 0;
+   // FIXME: this assumes all cores accept the same freqs/ might be wrong
+
+#if defined (__OpenBSD__)
+   int freq, mib[] = {CTL_HW, HW_CPUSPEED};
+   size_t len = sizeof(freq);
+   int p;
+
+   if (sysctl(mib, 2, freq, len, NULL, 0) == 0)
+ {
+if (s-frequencies)
+  {
+ eina_list_free(s-frequencies);
+ s-frequencies = NULL;
+  }
+
+if (s-governors)
+  {
+ for (l = s-governors; l; l = l-next)
+   free(l-data);
+ eina_list_free(s-governors);
+ s-governors = NULL;
+  }
+
+/* storing percents */
+p = 100;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+p = 75;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+p = 50;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+p = 25;
+s-frequencies = eina_list_append(s-frequencies, (void *)p);
+ }
+#elif defined (__FreeBSD__)
+   int freq;
+   size_t len = sizeof(buf);
char *freqs, *pos, *q;
 
/* read freq_levels sysctl and store it in freq */
-   len = sizeof(buf);
if (sysctlbyname(dev.cpu.0.freq_levels, buf, len, NULL, 0) == 0)
  {
 /* sysctl returns 0 on success */
@@ -665,18 +709,37 @@
 static int
 _cpufreq_status_check_current(Status *s)
 {
-   char buf[4096];
-   int i;
-   FILE *f;
int ret = 0;
int frequency = 0;
-   int frequency_min = 0x7fff;
-   int frequency_max = 0;
-   int freqtot = 0;
-#ifdef __FreeBSD__
-   int len = 4;
 
+#if defined (__OpenBSD__)
+   size_t len = sizeof(frequency);
+   int percent, mib[] = {CTL_HW, HW_CPUSPEED};
s-active = 0;
+
+   _cpufreq_status_check_available(s);
+
+   if (sysctl(mib, 2, frequency, len, NULL, 0) == 0)
+ {
+frequency *= 1000;
+if (frequency != s-cur_frequency) ret = 1;
+s-cur_frequency = frequency;
+s-active = 1;
+ }
+
+   mib[1] = HW_SETPERF;
+
+   if (sysctl(mib, 2, percent, len, NULL, 0) == 0)
+ {
+s-cur_percent = percent;
+ }
+
+   s-can_set_frequency = 1;
+   s-cur_governor = NULL;
+#elif defined (__FreeBSD__)
+   size_t len = sizeof(frequency);
+   s-active = 0;
+
/* frequency is stored in dev.cpu.0.freq */
if (sysctlbyname(dev.cpu.0.freq, frequency, len, NULL, 0) == 0)
  {
@@ 

Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread Vincent Torri
On Mon, Oct 1, 2012 at 3:14 PM, rustyBSD rusty...@gmx.fr wrote:
 On 10/01/12 08:22, Vincent Torri wrote:

 maybe this could help you :

 http://stackoverflow.com/questions/4226353/show-memory-and-cpu-in-c

 Vincent

 ?

I have seen that :

printf(CPU: %d MHz Free: %ld MB\n, cpuspeed,
sysconf(_SC_AVPHYS_PAGES)*sysconf(_SC_PAGESIZE))20

so it displays the freq in Mhz, no ?

 There is no problem when getting the frequency.
 The only difference with linux is that instead
 of displaying available frequencies (in the menu),
 we display 25-50-75-100% - as we can only set
 percents.

 We unfortunately cannot get available levels, so
 we don't know what is the max/min frequency
 available for the processor, and it sometimes
 causes problem with the speedcounter, which
 doesn't know where to place the freq in the
 counter.

 PS: I forgot to mention that the freebsd support
 is broken.

 Here are patches again. This time it's really ok,
 I also quickly modified the freebsd code.

thanks i'll check that this evening

Vincent

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Issues on init / shutdown design of elm externals

2012-10-01 Thread Bruno Dilly
On Sun, Sep 30, 2012 at 11:53 PM, Daniel Juyung Seo
seojuyu...@gmail.com wrote:
 So elm_exit() means, we are not going to continue the main loop anyhow?

We'll keep elm_exit() the way it is, a call to ecore_main_loop_quit()

Right now, on elm_shutdown, when _elm_init_count reaches 0, it will
call _elm_win_shutdown, that will go through the list of windows and
delete all of them.
But, if your theme uses externals, the count won't reaches 0 unless
you explicitly deletes the externals before exiting.

I thought about adding a policy that would delete all the windows
forcedly on elm exit, but I decided to see if anybody could have some
ideas about changing externals init / shutdown design first. So we
could have applications with themes with or without externals working
the same way.


 Daniel Juyung Seo (SeoZ)

 On Sun, Sep 30, 2012 at 8:58 PM, Cedric BAIL moa.blueb...@gmail.com wrote:
 Cedric Bail
 On Sep 29, 2012 10:26 PM, Gustavo Sverzut Barbieri 
 barbi...@profusion.mobi wrote:

 On Saturday, September 29, 2012, Cedric BAIL wrote:

  On Sep 29, 2012 6:28 AM, Bruno Dilly bdi...@profusion.mobi
 javascript:;
  wrote:
   I just saw that when an elm external is added it calls elm_init(), and
   calls shutdown when it's deleted.
   But it's not a nice place to put these calls, because you'll create
   scenarios where elm won't shutdown properly.
  
   Example:
  
   A elm application that uses elm_exit() to quit.
  
   it will have
  
   elm_main() {
...
elm_run()
...
elm_shutdown()
   }
   ELM_MAIN
  
   If you are not using externals, when you call elm_exit() it will quit
   the main loop, call elm_shutdown, elm init count will be 0, so it will
   delete the windows and it's widgets, call possible callback functions
   for object delete. Nice.
  
   But if you are using externals in your theme, when you call
   elm_shutdown(), elm init count will be the number of externals used,
   so it won't really shutdown, it won't delete the objects, no callbacks
   will be called. Not good.
  
   Does anybody have ideas about how to fix it ?
 
  Evas_object_del on the window should do the job and seem logical to me.


 That's the problem: windows are never destroyed since elm initialization
 count never drops to zero, then no Evas shutdown and no canvas deleted.

 He was talking to me about elm policy to request windows to be deleted on
 elm_exit() and I like that idea.

 Make sense to me to, as it's the common case.

   --
   Bruno Dilly
   Senior Developer
   ProFUSION embedded systems
   http://profusion.mobi
  
  
 
 
 --
   Got visibility?
   Most devs has no idea what their production app looks like.
   Find out how fast your code is with AppDynamics Lite.
   http://ad.doubleclick.net/clk;262219671;13503038;y?
   http://info.appdynamics.com/FreeJavaPerformanceDownload.html
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net javascript:;
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
 --
  How fast is your code?
  3 out of 4 devs don\\\'t know how their code performs in production.
  Find out how slow your code is with AppDynamics Lite.
  http://ad.doubleclick.net/clk;262219672;13503038;z?
  http://info.appdynamics.com/FreeJavaPerformanceDownload.html
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net javascript:;
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202

 --
 How fast is your code?
 3 out of 4 devs don\\\'t know how their code performs in production.
 Find out how slow your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219672;13503038;z?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://ad.doubleclick.net/clk;258768047;13503038;j?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 

Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread rustyBSD
On 10/01/12 15:20, Vincent Torri wrote:
 ?
 I have seen that :

 printf(CPU: %d MHz Free: %ld MB\n, cpuspeed,
 sysconf(_SC_AVPHYS_PAGES)*sysconf(_SC_PAGESIZE))20

 so it displays the freq in Mhz, no ?

My ? meant that it's not actually the problem.
The freq is correctly displayed in the counter
in Mhz, it's just the pointer which sometimes
goes crazy, but we cannot do anything.
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: devilhorns trunk/e/src/modules/conf_randr

2012-10-01 Thread Christopher Michael
Leif Middelschulte leif.middelschu...@gmail.com wrote:

Am 01.10.2012 um 09:32 schrieb Enlightenment SVN
no-re...@enlightenment.org:

 Log:
 E (RandR): Update mouse pointer when over the thumbnail to indicate
  move is possible.
Though, that's nice for desktop monitors, it's bad for touch screens
(e.g. tablets) :-/
At least make it themable via some data flag in the edc or alike.

--
Leif
 
  NB: Preparation for monitor moving.
 
 
 
 Author:   devilhorns
 Date: 2012-10-01 00:32:57 -0700 (Mon, 01 Oct 2012)
 New Revision: 77243
 Trac: http://trac.enlightenment.org/e/changeset/77243
 
 Modified:
  trunk/e/src/modules/conf_randr/e_smart_monitor.c 
 
 Modified: trunk/e/src/modules/conf_randr/e_smart_monitor.c
 ===
 --- trunk/e/src/modules/conf_randr/e_smart_monitor.c 2012-10-01
07:30:06 UTC (rev 77242)
 +++ trunk/e/src/modules/conf_randr/e_smart_monitor.c 2012-10-01
07:32:57 UTC (rev 77243)
 @@ -99,6 +99,9 @@
 static void _e_smart_cb_indicator_mouse_out(void *data __UNUSED__,
Evas_Object *obj, const char *emission __UNUSED__, const char *source
__UNUSED__);
 static void _e_smart_cb_indicator_toggle(void *data, Evas_Object *obj
__UNUSED__, const char *emission __UNUSED__, const char *source
__UNUSED__);
 static void _e_smart_cb_frame_mouse_move(void *data, Evas *evas
__UNUSED__, Evas_Object *obj __UNUSED__, void *event);
 +static void _e_smart_cb_thumb_mouse_in(void *data __UNUSED__, Evas
*evas __UNUSED__, Evas_Object *obj, void *event __UNUSED__);
 +static void _e_smart_cb_thumb_mouse_out(void *data __UNUSED__, Evas
*evas __UNUSED__, Evas_Object *obj, void *event __UNUSED__);
 +static void _e_smart_cb_thumb_mouse_down(void *data __UNUSED__, Evas
*evas __UNUSED__, Evas_Object *obj, void *event __UNUSED__);
 static void _e_smart_cb_thumb_mouse_up(void *data, Evas *evas
__UNUSED__, Evas_Object *obj __UNUSED__, void *event);
 static int _e_smart_cb_modes_sort(const void *data1, const void
*data2);
 
 @@ -359,8 +362,14 @@
/* create bg preview */
sd-o_thumb = e_livethumb_add(evas);
edje_object_part_swallow(sd-o_frame, e.swallow.preview,
sd-o_thumb);
 +   evas_object_event_callback_add(sd-o_thumb,
EVAS_CALLBACK_MOUSE_IN, 
 +  _e_smart_cb_thumb_mouse_in, obj);
 +   evas_object_event_callback_add(sd-o_thumb,
EVAS_CALLBACK_MOUSE_OUT, 
 +  _e_smart_cb_thumb_mouse_out, obj);
evas_object_event_callback_add(sd-o_thumb,
EVAS_CALLBACK_MOUSE_UP, 
   _e_smart_cb_thumb_mouse_up, obj);
 +   evas_object_event_callback_add(sd-o_thumb,
EVAS_CALLBACK_MOUSE_DOWN, 
 +  _e_smart_cb_thumb_mouse_down,
obj);
 
/* create monitor stand */
sd-o_stand = edje_object_add(evas);
 @@ -787,6 +796,39 @@
 }
 
 static void 
 +_e_smart_cb_thumb_mouse_in(void *data __UNUSED__, Evas *evas
__UNUSED__, Evas_Object *obj, void *event __UNUSED__)
 +{
 +   E_Manager *man;
 +
 +   man = e_manager_current_get();
 +   e_pointer_type_push(man-pointer, obj, hand);
 +}
 +
 +static void 
 +_e_smart_cb_thumb_mouse_out(void *data __UNUSED__, Evas *evas
__UNUSED__, Evas_Object *obj, void *event __UNUSED__)
 +{
 +   E_Manager *man;
 +
 +   man = e_manager_current_get();
 +   e_pointer_type_pop(man-pointer, obj, hand);
 +}
 +
 +static void 
 +_e_smart_cb_thumb_mouse_down(void *data __UNUSED__, Evas *evas
__UNUSED__, Evas_Object *obj, void *event __UNUSED__)
 +{
 +   Evas_Event_Mouse_Up *ev;
 +
 +   ev = event;
 +   if (ev-button == 1)
 + {
 +E_Manager *man;
 +
 +man = e_manager_current_get();
 +e_pointer_type_push(man-pointer, obj, move);
 + }
 +}
 +
 +static void 
 _e_smart_cb_thumb_mouse_up(void *data, Evas *evas __UNUSED__,
Evas_Object *obj __UNUSED__, void *event)
 {
Evas_Object *mon;
 @@ -828,6 +870,13 @@
}
   }
  }
 +   else if (ev-button == 1)
 + {
 +E_Manager *man;
 +
 +man = e_manager_current_get();
 +e_pointer_type_pop(man-pointer, obj, move);
 + }
 }
 
 static int 
 
 

--
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html

[E-devel] [e] evas bad typedef

2012-10-01 Thread rustyBSD
Hi,
== evas_gl_api_ext.h l.4 ==
The GLchar type is already defined on openbsd
(/usr/X11R6/include/GL/glext.h), so it has to
be renamed.
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread Vincent Torri
On Mon, Oct 1, 2012 at 3:14 PM, rustyBSD rusty...@gmx.fr wrote:

in svn, thanks


 PS: I forgot to mention that the freebsd support
 is broken.

 Here are patches again. This time it's really ok,
 I also quickly modified the freebsd code.

is the freebsd support still broken avec your changes ?

Vincent

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e] cpufreq: OpenBSD support

2012-10-01 Thread rustyBSD
On 10/01/12 19:41, Vincent Torri wrote:
 is the freebsd support still broken avec your changes ?
Yes I think, but I'm not sure.
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: hermet IN trunk/PROTO: . etypers etypers/images

2012-10-01 Thread Vincent Torri
move it to GAMES, then :)

Vincent

On Mon, Oct 1, 2012 at 8:09 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 PROTO/etypers - a simple efl typing game.



 Author:   hermet
 Date: 2012-10-01 11:09:40 -0700 (Mon, 01 Oct 2012)
 New Revision: 77277
 Trac: http://trac.enlightenment.org/e/changeset/77277

 Added:
   trunk/PROTO/etypers/ trunk/PROTO/etypers/Makefile 
 trunk/PROTO/etypers/etypers.c trunk/PROTO/etypers/etypers.edc 
 trunk/PROTO/etypers/images/ trunk/PROTO/etypers/images/bg.jpg 
 trunk/PROTO/etypers/images/clouds.png trunk/PROTO/etypers/images/sky.jpg


 Property changes on: trunk/PROTO/etypers/images/bg.jpg
 ___
 Added: svn:mime-type
+ application/octet-stream


 Property changes on: trunk/PROTO/etypers/images/clouds.png
 ___
 Added: svn:mime-type
+ application/octet-stream


 Property changes on: trunk/PROTO/etypers/images/sky.jpg
 ___
 Added: svn:mime-type
+ application/octet-stream


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel