[EGIT] [efl] 01/01: elm theme - fix cpufreq handling if max and min freq are same

2024-09-19 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit ee34ea87aba161242120b39f39ec31ebef92a2a3
Author: Carsten Haitzler 
AuthorDate: Thu Sep 19 10:57:15 2024 +0100

elm theme - fix cpufreq handling if max and min freq are same

@fix
---
 data/elementary/themes/edc/cpufreq.edc | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/data/elementary/themes/edc/cpufreq.edc b/data/elementary/themes/edc/cpufreq.edc
index f4bcab037f..de92282f3b 100644
--- a/data/elementary/themes/edc/cpufreq.edc
+++ b/data/elementary/themes/edc/cpufreq.edc
@@ -49,7 +49,7 @@ group { name: "e/modules/cpufreq/main";
   public max_freq_now;
 
   public show_freq(Float:v) {
- new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
+ new Float:freq, Float:min_freq, Float:max_freq, Float:tf, Float:fdiff;
  new f, f0, f1;
 
  min_freq = fetch_int(available_frequencies, 0);
@@ -64,7 +64,10 @@ group { name: "e/modules/cpufreq/main";
  f = f + f0;
  set_int(cur_freq_now, f);
 
- freq = (float(f) - min_freq) / (max_freq - min_freq);
+ fdiff = max_freq - min_freq;
+
+ if (fdiff <= 0) { freq = 1.0; }
+ else { freq = (float(f) - min_freq) / (fdiff); }
  tf = (freq * 225.0) - 135.0;
  custom_state(PART:"meter", "default", 0.0);
  set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
@@ -78,7 +81,8 @@ group { name: "e/modules/cpufreq/main";
  f = f + f0;
  set_int(min_freq_now, f);
 
- freq = (float(f) - min_freq) / (max_freq - min_freq);
+ if (fdiff <= 0) { freq = 1.0; }
+ else { freq = (float(f) - min_freq) / (fdiff); }
  tf = (freq * 225.0) - 135.0;
  custom_state(PART:"meter_min", "default", 0.0);
  set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
@@ -92,7 +96,8 @@ group { name: "e/modules/cpufreq/main";
  f = f + f0;
  set_int(max_freq_now, f);
 
- freq = (float(f) - min_freq) / (max_freq - min_freq);
+ if (fdiff <= 0) { freq = 1.0; }
+ else { freq = (float(f) - min_freq) / (fdiff); }
  tf = (freq * 225.0) - 135.0;
  custom_state(PART:"meter_max", "default", 0.0);
  set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: battery - flter out "0 full charge" batteries - they seem to be dummy

2024-09-16 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 4d5b59459f10d876a7bb463f0ce3bcb98be44dde
Author: Carsten Haitzler 
AuthorDate: Mon Sep 16 13:33:00 2024 +0100

battery - flter out "0 full charge" batteries - they seem to be dummy

fix battery guage appearing at 1/2 due to it thinking you have 2
batteries (or more) where some are just dummy devices.

@fix
---
 src/modules/battery/e_mod_udev.c | 29 -
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/src/modules/battery/e_mod_udev.c b/src/modules/battery/e_mod_udev.c
index 6ab5def6e..e43b20521 100644
--- a/src/modules/battery/e_mod_udev.c
+++ b/src/modules/battery/e_mod_udev.c
@@ -96,7 +96,9 @@ static void
 _battery_udev_battery_add(const char *syspath)
 {
Battery *bat;
-   const char *type;
+   const char *type, *test;
+   double full_design = 0.0;
+   double full = 0.0;
 
if ((bat = _battery_battery_find(syspath)))
  {
@@ -120,6 +122,31 @@ _battery_udev_battery_add(const char *syspath)
   }
 eina_stringshare_del(type);
  }
+   // filter out dummy batteries with no design and no full charge level
+   test = eeze_udev_syspath_get_property(syspath, "POWER_SUPPLY_ENERGY_FULL_DESIGN");
+   if (!test)
+ test = eeze_udev_syspath_get_property(syspath, "POWER_SUPPLY_CHARGE_FULL_DESIGN");
+   if (test)
+{
+  full_design = strtod(test, NULL);
+  eina_stringshare_del(test);
+}
+
+   test = eeze_udev_syspath_get_property(syspath, "POWER_SUPPLY_ENERGY_FULL");
+   if (!test)
+ test = eeze_udev_syspath_get_property(syspath, "POWER_SUPPLY_CHARGE_FULL");
+   if (test)
+{
+  full = strtod(test, NULL);
+  eina_stringshare_del(test);
+}
+
+   if ((eina_dbl_exact(full_design, 0)) &&
+   (eina_dbl_exact(full, 0)))
+{ // ignore this battery - no full and no full design
+  return;
+}
+
if (!(bat = E_NEW(Battery, 1)))
  {
 eina_stringshare_del(syspath);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: ecore-x: Fix misaligned comments of enum _Ecore_X_Error_Code

2024-09-15 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/73/head
in repository efl.


View the commit online.
commit fc563b85174c9208ab07fa7112449dbc8bb5f6fc
Author: Andre Schulz 
AuthorDate: Sun Sep 15 14:18:25 2024 +0200

ecore-x: Fix misaligned comments of enum _Ecore_X_Error_Code
---
 src/lib/ecore_x/Ecore_X.h | 37 ++---
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index cbccd1047d..6f99d88007 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -388,25 +388,24 @@ typedef enum _Ecore_X_Netwm_Direction
  */
 typedef enum _Ecore_X_Error_Code
 {
-   /** Everything is okay. */
-   ECORE_X_ERROR_CODE_SUCCESS = 0, /** Bad request code */
-   ECORE_X_ERROR_CODE_BAD_REQUEST = 1, /** Int parameter out of range */
-   ECORE_X_ERROR_CODE_BAD_VALUE = 2, /** Parameter not a Window */
-   ECORE_X_ERROR_CODE_BAD_WINDOW = 3, /** Parameter not a Pixmap */
-   ECORE_X_ERROR_CODE_BAD_PIXMAP = 4, /** Parameter not an Atom */
-   ECORE_X_ERROR_CODE_BAD_ATOM = 5, /** Parameter not a Cursor */
-   ECORE_X_ERROR_CODE_BAD_CURSOR = 6, /** Parameter not a Font */
-   ECORE_X_ERROR_CODE_BAD_FONT = 7, /** Parameter mismatch */
-   ECORE_X_ERROR_CODE_BAD_MATCH = 8, /** Parameter not a Pixmap or Window */
-   ECORE_X_ERROR_CODE_BAD_DRAWABLE = 9, /** Bad access */
-   ECORE_X_ERROR_CODE_BAD_ACCESS = 10, /** Insufficient resources */
-   ECORE_X_ERROR_CODE_BAD_ALLOC = 11, /** No such colormap */
-   ECORE_X_ERROR_CODE_BAD_COLOR = 12, /** Parameter not a GC */
-   ECORE_X_ERROR_CODE_BAD_GC = 13, /** Choice not in range or already used */
-   ECORE_X_ERROR_CODE_BAD_ID_CHOICE = 14, /** Font or color name doesn't exist */
-   ECORE_X_ERROR_CODE_BAD_NAME = 15, /** Request length incorrect */
-   ECORE_X_ERROR_CODE_BAD_LENGTH = 16, /** Server is defective */
-   ECORE_X_ERROR_CODE_BAD_IMPLEMENTATION = 17,
+   ECORE_X_ERROR_CODE_SUCCESS = 0, /** Everything is okay. */
+   ECORE_X_ERROR_CODE_BAD_REQUEST = 1, /** Bad request code */
+   ECORE_X_ERROR_CODE_BAD_VALUE = 2, /** Int parameter out of range */
+   ECORE_X_ERROR_CODE_BAD_WINDOW = 3, /** Parameter not a Window */
+   ECORE_X_ERROR_CODE_BAD_PIXMAP = 4, /** Parameter not a Pixmap */
+   ECORE_X_ERROR_CODE_BAD_ATOM = 5, /** Parameter not an Atom */
+   ECORE_X_ERROR_CODE_BAD_CURSOR = 6, /** Parameter not a Cursor */
+   ECORE_X_ERROR_CODE_BAD_FONT = 7, /** Parameter not a Font */
+   ECORE_X_ERROR_CODE_BAD_MATCH = 8, /** Parameter mismatch */
+   ECORE_X_ERROR_CODE_BAD_DRAWABLE = 9, /** Parameter not a Pixmap or Window */
+   ECORE_X_ERROR_CODE_BAD_ACCESS = 10, /** Bad access */
+   ECORE_X_ERROR_CODE_BAD_ALLOC = 11, /** Insufficient resources */
+   ECORE_X_ERROR_CODE_BAD_COLOR = 12, /** No such colormap */
+   ECORE_X_ERROR_CODE_BAD_GC = 13, /** Parameter not a GC */
+   ECORE_X_ERROR_CODE_BAD_ID_CHOICE = 14, /** Choice not in range or already used */
+   ECORE_X_ERROR_CODE_BAD_NAME = 15, /** Font or color name doesn't exist */
+   ECORE_X_ERROR_CODE_BAD_LENGTH = 16, /** Request length incorrect */
+   ECORE_X_ERROR_CODE_BAD_IMPLEMENTATION = 17, /** Server is defective */
 } Ecore_X_Error_Code;
 
 typedef enum _Ecore_X_Dpms_Mode


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: ecore-x: Fix misaligned comments of enum _Ecore_X_Error_Code

2024-09-15 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch ecore_x_fix_misaligned_comments
in repository efl.


View the commit online.
commit fc563b85174c9208ab07fa7112449dbc8bb5f6fc
Author: Andre Schulz 
AuthorDate: Sun Sep 15 14:18:25 2024 +0200

ecore-x: Fix misaligned comments of enum _Ecore_X_Error_Code
---
 src/lib/ecore_x/Ecore_X.h | 37 ++---
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index cbccd1047d..6f99d88007 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -388,25 +388,24 @@ typedef enum _Ecore_X_Netwm_Direction
  */
 typedef enum _Ecore_X_Error_Code
 {
-   /** Everything is okay. */
-   ECORE_X_ERROR_CODE_SUCCESS = 0, /** Bad request code */
-   ECORE_X_ERROR_CODE_BAD_REQUEST = 1, /** Int parameter out of range */
-   ECORE_X_ERROR_CODE_BAD_VALUE = 2, /** Parameter not a Window */
-   ECORE_X_ERROR_CODE_BAD_WINDOW = 3, /** Parameter not a Pixmap */
-   ECORE_X_ERROR_CODE_BAD_PIXMAP = 4, /** Parameter not an Atom */
-   ECORE_X_ERROR_CODE_BAD_ATOM = 5, /** Parameter not a Cursor */
-   ECORE_X_ERROR_CODE_BAD_CURSOR = 6, /** Parameter not a Font */
-   ECORE_X_ERROR_CODE_BAD_FONT = 7, /** Parameter mismatch */
-   ECORE_X_ERROR_CODE_BAD_MATCH = 8, /** Parameter not a Pixmap or Window */
-   ECORE_X_ERROR_CODE_BAD_DRAWABLE = 9, /** Bad access */
-   ECORE_X_ERROR_CODE_BAD_ACCESS = 10, /** Insufficient resources */
-   ECORE_X_ERROR_CODE_BAD_ALLOC = 11, /** No such colormap */
-   ECORE_X_ERROR_CODE_BAD_COLOR = 12, /** Parameter not a GC */
-   ECORE_X_ERROR_CODE_BAD_GC = 13, /** Choice not in range or already used */
-   ECORE_X_ERROR_CODE_BAD_ID_CHOICE = 14, /** Font or color name doesn't exist */
-   ECORE_X_ERROR_CODE_BAD_NAME = 15, /** Request length incorrect */
-   ECORE_X_ERROR_CODE_BAD_LENGTH = 16, /** Server is defective */
-   ECORE_X_ERROR_CODE_BAD_IMPLEMENTATION = 17,
+   ECORE_X_ERROR_CODE_SUCCESS = 0, /** Everything is okay. */
+   ECORE_X_ERROR_CODE_BAD_REQUEST = 1, /** Bad request code */
+   ECORE_X_ERROR_CODE_BAD_VALUE = 2, /** Int parameter out of range */
+   ECORE_X_ERROR_CODE_BAD_WINDOW = 3, /** Parameter not a Window */
+   ECORE_X_ERROR_CODE_BAD_PIXMAP = 4, /** Parameter not a Pixmap */
+   ECORE_X_ERROR_CODE_BAD_ATOM = 5, /** Parameter not an Atom */
+   ECORE_X_ERROR_CODE_BAD_CURSOR = 6, /** Parameter not a Cursor */
+   ECORE_X_ERROR_CODE_BAD_FONT = 7, /** Parameter not a Font */
+   ECORE_X_ERROR_CODE_BAD_MATCH = 8, /** Parameter mismatch */
+   ECORE_X_ERROR_CODE_BAD_DRAWABLE = 9, /** Parameter not a Pixmap or Window */
+   ECORE_X_ERROR_CODE_BAD_ACCESS = 10, /** Bad access */
+   ECORE_X_ERROR_CODE_BAD_ALLOC = 11, /** Insufficient resources */
+   ECORE_X_ERROR_CODE_BAD_COLOR = 12, /** No such colormap */
+   ECORE_X_ERROR_CODE_BAD_GC = 13, /** Parameter not a GC */
+   ECORE_X_ERROR_CODE_BAD_ID_CHOICE = 14, /** Choice not in range or already used */
+   ECORE_X_ERROR_CODE_BAD_NAME = 15, /** Font or color name doesn't exist */
+   ECORE_X_ERROR_CODE_BAD_LENGTH = 16, /** Request length incorrect */
+   ECORE_X_ERROR_CODE_BAD_IMPLEMENTATION = 17, /** Server is defective */
 } Ecore_X_Error_Code;
 
 typedef enum _Ecore_X_Dpms_Mode


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www] 01/01: add a robots.txt for www.e.org

2024-09-09 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www.


View the commit online.
commit 99c94a02132c4ce4507f9e229420434494261fa2
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Mon Sep 9 11:30:27 2024 +0100

add a robots.txt for www.e.org
---
 robots.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/robots.txt b/robots.txt
new file mode 100644
index ..c2a49f4f
--- /dev/null
+++ b/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Allow: /


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [e16] 02/03: backgrounds: Remove pointless call to autosave()

2024-09-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit f193386a62db6c18c592eae9eaea00aec516656a
Author: Kim Woelders 
AuthorDate: Fri Sep 6 20:56:35 2024 +0200

backgrounds: Remove pointless call to autosave()

autosave() saves the settings, not the background configuration.
---
 src/backgrounds.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/backgrounds.c b/src/backgrounds.c
index 10bd38bb..b5261f48 100644
--- a/src/backgrounds.c
+++ b/src/backgrounds.c
@@ -1450,8 +1450,6 @@ _DlgApplyBackground(Dialog *d, int val __UNUSED__, void *data __UNUSED__)
 _BgDlgRedrawView(d);
 
 dd->bg_set = dd->bg;
-
-autosave();
 }
 
 static void


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [e16] 01/03: backgrounds: Some cosmetic function name changes

2024-09-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit 9dc04e2bf64d0c1e50bee0ca8e81246c6bc82459
Author: Kim Woelders 
AuthorDate: Fri Aug 16 07:57:22 2024 +0200

backgrounds: Some cosmetic function name changes

- Prepend _ on local functions
- Adjust some names for consistency
---
 src/backgrounds.c | 384 +++---
 1 file changed, 192 insertions(+), 192 deletions(-)

diff --git a/src/backgrounds.c b/src/backgrounds.c
index bf2b425f..10bd38bb 100644
--- a/src/backgrounds.c
+++ b/src/backgrounds.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2023 Kim Woelders
+ * Copyright (C) 2004-2024 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -74,7 +74,7 @@ static unsigned int bg_seq_no = 0;
 static Background *bg_assigned[N_BG_ASSIGNED];
 
 static char*
-_BackgroundGetFile(char **ptr)
+_BackgroundFindFile(char **ptr)
 {
 char   *path = *ptr;
 
@@ -90,19 +90,19 @@ _BackgroundGetFile(char **ptr)
 }
 
 static char*
-_BackgroundGetBgFile(Background *bg)
+_BackgroundFindBgFile(Background *bg)
 {
 if (!bg || !bg->bg.file)
 return NULL;
-return _BackgroundGetFile(&bg->bg.file);
+return _BackgroundFindFile(&bg->bg.file);
 }
 
 static char*
-_BackgroundGetFgFile(Background *bg)
+_BackgroundFindFgFile(Background *bg)
 {
 if (!bg || !bg->top.file)
 return NULL;
-return _BackgroundGetFile(&bg->top.file);
+return _BackgroundFindFile(&bg->top.file);
 }
 
 char   *
@@ -128,14 +128,14 @@ BackgroundGetUniqueString(Background *bg)
 f5 = 0;
 f6 = 0;
 
-f = _BackgroundGetBgFile(bg);
+f = _BackgroundFindBgFile(bg);
 if (f)
 {
 f1 = fileinode(f);
 f2 = filedev(f);
 f3 = (int)moddate(f);
 }
-f = _BackgroundGetFgFile(bg);
+f = _BackgroundFindFgFile(bg);
 if (f)
 {
 f4 = fileinode(f);
@@ -193,7 +193,7 @@ BackgroundPixmapSet(Background *bg, EX_Pixmap pmap)
 }
 
 static void
-BackgroundPixmapFree(Background *bg)
+_BackgroundPixmapFree(Background *bg)
 {
 if (bg->pmap)
 {
@@ -203,7 +203,7 @@ BackgroundPixmapFree(Background *bg)
 }
 
 static void
-BackgroundImagesFree(Background *bg)
+_BackgroundImagesFree(Background *bg)
 {
 if (bg->bg.im)
 {
@@ -219,7 +219,7 @@ BackgroundImagesFree(Background *bg)
 
 #if ENABLE_DIALOGS
 static void
-BackgroundImagesKeep(Background *bg, int onoff)
+_BackgroundImagesKeep(Background *bg, int onoff)
 {
 if (onoff)
 {
@@ -228,24 +228,24 @@ BackgroundImagesKeep(Background *bg, int onoff)
 else
 {
 bg->keepim = 0;
-BackgroundImagesFree(bg);
+_BackgroundImagesFree(bg);
 }
 }
 #endif  /* ENABLE_DIALOGS */
 
 static void
-BackgroundFilesRemove(Background *bg)
+_BackgroundFilesRemove(Background *bg)
 {
 EFREE_NULL(bg->bg.file);
 EFREE_NULL(bg->top.file);
 
-BackgroundImagesFree(bg);
+_BackgroundImagesFree(bg);
 
 bg->keepim = 0;
 }
 
 static int
-BackgroundDestroy(Background *bg)
+_BackgroundDestroy(Background *bg)
 {
 if (!bg)
 return -1;
@@ -260,8 +260,8 @@ BackgroundDestroy(Background *bg)
 
 LIST_REMOVE(Background, &bg_list, bg);
 
-BackgroundFilesRemove(bg);
-BackgroundPixmapFree(bg);
+_BackgroundFilesRemove(bg);
+_BackgroundPixmapFree(bg);
 
 Efree(bg->name);
 
@@ -272,7 +272,7 @@ BackgroundDestroy(Background *bg)
 
 #if ENABLE_DIALOGS
 static int
-BackgroundDelete(Background *bg)
+_BackgroundDelete(Background *bg)
 {
 char   *f;
 
@@ -288,22 +288,22 @@ BackgroundDelete(Background *bg)
 }
 
 /* And delete the actual image files */
-f = _BackgroundGetBgFile(bg);
+f = _BackgroundFindBgFile(bg);
 if (f)
 E_rm(f);
-f = _BackgroundGetFgFile(bg);
+f = _BackgroundFindFgFile(bg);
 if (f)
 E_rm(f);
 
-return BackgroundDestroy(bg);
+return _BackgroundDestroy(bg);
 }
 #endif  /* ENABLE_DIALOGS */
 
 static Background *
-BackgroundCreate(const char *name, unsigned int solid, const char *bgn,
- char tile, char keep_aspect, int xjust, int yjust, int xperc,
- int yperc, const char *top, char tkeep_aspect, int txjust,
- int tyjust, int txperc, int typerc)
+_BackgroundCreate(const char *name, unsigned int solid, const char *bgn,
+  char tile, char keep_aspect, int xjust, int yjust, int xperc,
+  int yperc, const char *top, char tkeep_aspect, int txjust,
+  int tyjust, int txperc, int typerc)
 {
 Background *bg;
 
@@ -345,7 +345,7 @@ BackgroundCreate(const char *name, unsigned int sol

[EGIT] [e16] 03/03: backgrounds: Save configuration when changed from configuration dialog

2024-09-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit 4e064c3d6b3a3a4ebcc687574aace580024a2c9c
Author: Kim Woelders 
AuthorDate: Fri Aug 16 07:53:40 2024 +0200

backgrounds: Save configuration when changed from configuration dialog

With this change we will also no longer always write the background
configuration on exit.
---
 src/backgrounds.c | 46 --
 1 file changed, 44 insertions(+), 2 deletions(-)

diff --git a/src/backgrounds.c b/src/backgrounds.c
index b5261f48..a1b5e9ea 100644
--- a/src/backgrounds.c
+++ b/src/backgrounds.c
@@ -68,7 +68,9 @@ struct _background {
 static  LIST_HEAD(bg_list);
 
 static Timer   *bg_timer = NULL;
+static Timer   *bg_tsave = NULL;
 static unsigned int bg_seq_no = 0;
+static bool bg_cfg_dirty = false;
 
 #define N_BG_ASSIGNED 32
 static Background *bg_assigned[N_BG_ASSIGNED];
@@ -1021,7 +1023,12 @@ BackgroundSetForDesk(Background *bg, unsigned int desk)
 if (desk >= N_BG_ASSIGNED)
 return;
 
+if (bg_assigned[desk] == bg)
+return;
+
 bg_assigned[desk] = bg;
+
+bg_cfg_dirty = true;
 }
 
 Background *
@@ -1212,6 +1219,9 @@ _BackgroundsConfigLoadUser(void)
 if (!exists(s))
 return;
 }
+
+bg_cfg_dirty = false;
+
 ConfigFileLoad(s, NULL, ConfigFileRead, 0);
 }
 
@@ -1224,6 +1234,9 @@ _BackgroundsConfigSave(void)
 unsigned intj;
 int r, g, b;
 
+if (!bg_cfg_dirty)
+return;
+
 Etmp(st);
 fs = fopen(st, "w");
 if (!fs)
@@ -1279,6 +1292,22 @@ _BackgroundsConfigSave(void)
 
 Esnprintf(s, sizeof(s), "%s.bg", EGetSavePrefix());
 E_mv(st, s);
+
+bg_cfg_dirty = false;
+}
+
+static int
+_BackgroundsConfigSaveReal(void *data __UNUSED__)
+{
+_BackgroundsConfigSave();
+return 0;
+}
+
+static void
+_BackgroundsConfigSaveDeferred(void)
+{
+TIMER_DEL(bg_tsave);
+TIMER_ADD(bg_tsave, 500, _BackgroundsConfigSaveReal, NULL);
 }
 
 /*
@@ -1460,6 +1489,8 @@ _DlgExitBackground(Dialog *d)
 if (dd->bg != dd->bg_set)
 DeskBackgroundSet(DesksGetCurrent(), dd->bg_set);
 
+_BackgroundsConfigSaveDeferred();
+
 _BackgroundImagesKeep(dd->bg, 0);
 }
 
@@ -1882,6 +1913,8 @@ _CB_BGSortFile(Dialog *d, int val __UNUSED__, void *data __UNUSED__)
 Efree(bglist);
 
 _BgDlgGoToBg(d, dd->bg);
+
+bg_cfg_dirty = true;
 }
 
 static void
@@ -1919,6 +1952,8 @@ _CB_BGSortAttrib(Dialog *d, int val __UNUSED__, void *data __UNUSED__)
 Efree(bglist);
 
 _BgDlgGoToBg(d, dd->bg);
+
+bg_cfg_dirty = true;
 }
 
 #if 0   /* Doesn't do anything useful */
@@ -2332,6 +2367,8 @@ _BgIpcBackgroundChange1(const char *name, const char *params)
 {
 IpcPrintf("Error: unknown background value type '%s'\n", type);
 }
+
+bg_cfg_dirty = true;
 }
 
 static void
@@ -2370,6 +2407,8 @@ _BgIpcBackgroundChange2(const char *name, const char *params)
   yjust, xperc, yperc, topf, tkeep_aspect,
   txjust, tyjust, txperc, typerc);
 }
+
+bg_cfg_dirty = true;
 }
 
 static void
@@ -2421,6 +2460,7 @@ _BackgroundsIpc(const char *params)
 else if (!strncmp(cmd, "del", 2))
 {
 BackgroundDestroyByName(prm);
+bg_cfg_dirty = true;
 }
 else if (!strncmp(cmd, "list", 2))
 {
@@ -2436,6 +2476,7 @@ _BackgroundsIpc(const char *params)
 else
 {
 BrackgroundCreateFromImage(prm, p, NULL, 0);
+bg_cfg_dirty = true;
 }
 }
 else if (!strncmp(cmd, "set", 2))
@@ -2470,8 +2511,6 @@ _BackgroundsIpc(const char *params)
 break;
 DeskBackgroundSet(DeskGet(num), bg);
 }
-
-_BackgroundsConfigSave();
 }
 else if (!strncmp(cmd, "xget", 2))
 {
@@ -2494,6 +2533,9 @@ _BackgroundsIpc(const char *params)
 /* Compatibility with pre- 0.16.8 clients */
 _BgIpcBackgroundChange1(cmd, params + len2);
 }
+
+if (bg_cfg_dirty)
+_BackgroundsConfigSaveDeferred();
 }
 
 static const IpcItem BackgroundsIpcArray[] = {


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: process name - special case wine/windows exes with e.g. C:\path\cmd.exe

2024-09-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 9c8e67e86d9fec41f766912010351e4669851921
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Sep 6 17:15:10 2024 +0100

process name - special case wine/windows exes with e.g. C:\path\cmd.exe
---
 src/bin/system/process.c | 15 ++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 7eb472c..c440bd6 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -196,7 +196,20 @@ _cmd_args(Proc_Info *p, char *name, size_t len)
p2[1] = '\0';
 }
   // use file portion of this path as the name
-  file = ecore_file_file_get(line2);
+  if ((line2[0] >= 'A') && (line2[0] <= 'Z') &&
+  (line2[1] == ':') && (line2[2] == '\\'))
+   { // special case what looks like as wine/proton windows
+ // exe cmdline. fine last backslash similar to below
+ file = strrchr(line2, '\\');
+ if (file) file++;
+ else file = line2;
+   }
+  else
+   { // get last / and use name of file after that if / exists
+ file = strrchr(line2, '/');
+ if (file) file++;
+ else file = line2;
+   }
   snprintf(name, len, "%s", file);
   free(line2);
}


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enigmatic] 01/01: process: fix command parsing to not get confused.

2024-09-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enigmatic.


View the commit online.
commit cc062e3ce04571da8151f37497f2fc3db7229e92
Author: Alastair Poole 
AuthorDate: Fri Sep 6 15:05:01 2024 +0100

process: fix command parsing to not get confused.

This is directly from raster and untested. I trust you old man!
---
 src/bin/system/process.c | 22 --
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 755375c..7f87707 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -181,9 +181,27 @@ _cmd_args(Proc_Info *p, char *name, size_t len)
   {
  int sz = ftell(f);
  Eina_Strbuf *buf = eina_strbuf_new();
+ char *line2 = strdup(line);
+ if (line2)
+   {
+  char *p, *p2;
+  const char *file;
 
- if (ecore_file_exists(line))
-   snprintf(name, len, "%s", ecore_file_file_get(line));
+  for (p = line, p2 = line2; *p; p++, p2++)
+{
+   if (isblank(*p))
+ {
+*p2 = '\0';
+break;
+ }
+   p2[0] = p[0];
+   p2[1] = '\0';
+}
+  file = ecore_file_file_get(line2);
+  snprintf(name, len, "%s", file);
+  free(line2);
+}
+ else name[0] = '\0';
 
  const char *cp = line;
  for (int i = 0; i < sz; i++)


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: oops - remove printf!

2024-09-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 45cb645f3280ef22af610aaf6b20a69e0f20b949
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Sep 6 14:36:45 2024 +0100

oops - remove printf!
---
 src/bin/ui/ui_util.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index cb9e39c..1b7efc5 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -198,7 +198,6 @@ evisum_icon_cache_find(Eina_Hash *icon_cache, const Proc_Info *proc)
  {
 Proc_Info *pproc = proc_info_by_pid(proc->ppid);
 
-printf("pid %i ppdi %i pproc %p\n", proc->pid, proc->ppid, pproc);
 if (!pproc) return "application";
 return evisum_icon_cache_find(icon_cache, pproc);
  }


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 02/02: process icon - get pared process icon if process icon not found

2024-09-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 51c32160ff9c9069c017e3337cdcdc0e7bb3f374
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Sep 6 14:23:31 2024 +0100

process icon - get pared process icon if process icon not found

this makes more sense i guess to assign parent pid icon...
---
 src/bin/ui/ui_util.c | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index ba626d5..cb9e39c 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -195,7 +195,13 @@ evisum_icon_cache_find(Eina_Hash *icon_cache, const Proc_Info *proc)
 
e = efreet_util_desktop_exec_find(cmd);
if (!e)
- return "application";
+ {
+Proc_Info *pproc = proc_info_by_pid(proc->ppid);
+
+printf("pid %i ppdi %i pproc %p\n", proc->pid, proc->ppid, pproc);
+if (!pproc) return "application";
+return evisum_icon_cache_find(icon_cache, pproc);
+ }
 
if (e->icon)
  name = e->icon;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/02: fix command parsing to not get confused with cmdline args with slash

2024-09-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 3d77bf6b931aa70c902f157af99f9e5f0e811b59
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Sep 6 14:21:13 2024 +0100

fix command parsing to not get confused with cmdline args with slash
---
 src/bin/system/process.c | 22 +-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 25db818..7eb472c 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -179,8 +179,28 @@ _cmd_args(Proc_Info *p, char *name, size_t len)
   {
  int sz = ftell(f);
  Eina_Strbuf *buf = eina_strbuf_new();
+ char *line2 = strdup(line);
 
- snprintf(name, len, "%s", ecore_file_file_get(line));
+ if (line2)
+   { // copy line up to first blank into line2 then 0 terminate
+  char *p, *p2, *file;
+
+  for (p = line, p2 = line2; *p; p++, p2++)
+{
+   if (isblank(*p))
+ {
+*p2 = '\0';
+break;
+ }
+   p2[0] = p[0];
+   p2[1] = '\0';
+}
+  // use file portion of this path as the name
+  file = ecore_file_file_get(line2);
+  snprintf(name, len, "%s", file);
+  free(line2);
+   }
+ else name[0] = '\0';
 
  const char *cp = line;
  for (int i = 0; i < sz; i++)


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [terminology] 01/01: bg - fix translucensy handling on start and also in general with bg

2024-09-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.


View the commit online.
commit 262c66a3755457e27c1085b81972818fc89f9e08
Author: Carsten Haitzler 
AuthorDate: Fri Sep 6 10:47:31 2024 +0100

bg - fix translucensy handling on start and also in general with bg

@fix
---
 data/themes/default/core.edc | 6 --
 src/bin/win.c| 1 +
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/data/themes/default/core.edc b/data/themes/default/core.edc
index 47670757..46efc049 100644
--- a/data/themes/default/core.edc
+++ b/data/themes/default/core.edc
@@ -22,29 +22,23 @@ group { name: "terminology/core";
 // background handling
   part { name: "terminology.fade"; type: RECT;
  description { state: "default" 0.0;
- color_class: "BG";
  }
  description { state: "image" 0.0;
 inherit: "default" 0.0;
- color_class: "";
  }
  description { state: "scale" 0.0;
 inherit: "default" 0.0;
- color_class: "";
  }
  description { state: "edje" 0.0;
 inherit: "default" 0.0;
- color_class: "";
  }
  description { state: "movie" 0.0;
 inherit: "default" 0.0;
- color_class: "";
  }
   }
   part { name: "terminology.background"; type: SWALLOW;
  clip_to: "terminology.fade";
  description { state: "default" 0.0;
- color_class: "BG";
  }
  description { state: "image" 0.0;
 inherit: "default" 0.0;
diff --git a/src/bin/win.c b/src/bin/win.c
index d4749078..f443d5f2 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -6933,6 +6933,7 @@ _term_media_update(Term *term, const Config *config)
   default:
  break;
  }
+   _term_trans(term);
 }
 
 void


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: ecore audio - handle null context for pulse without pulse crashes

2024-09-04 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit a8c1a7132d1f151186c60d99e4d0b626e3225cbe
Author: Carsten Haitzler 
AuthorDate: Wed Sep 4 11:42:11 2024 +0100

ecore audio - handle null context for pulse without pulse crashes

fixes #70

@fix
---
 src/lib/ecore_audio/ecore_audio_obj_out_pulse.c | 203 ++--
 src/lib/ecore_audio/ecore_audio_pulse.c |  17 +-
 2 files changed, 130 insertions(+), 90 deletions(-)

diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
index 463ecb6773..c225003c5f 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
@@ -54,11 +54,13 @@ _ecore_audio_out_pulse_ecore_audio_volume_set(Eo *eo_obj, Ecore_Audio_Out_Pulse_
 
   ecore_audio_obj_volume_set(efl_super(eo_obj, MY_CLASS), volume);
 
-  EINA_LIST_FOREACH(out_obj->inputs, input, in) {
+  EINA_LIST_FOREACH(out_obj->inputs, input, in)
+{
   stream = efl_key_data_get(in, "pulse_data");
   idx = EPA_CALL(pa_stream_get_index)(stream);
-  EPA_CALL(pa_operation_unref)(EPA_CALL(pa_context_set_sink_input_volume)(pd->context, idx, &pa_volume, NULL, NULL));
-  }
+  if (pd->context)
+EPA_CALL(pa_operation_unref)(EPA_CALL(pa_context_set_sink_input_volume)(pd->context, idx, &pa_volume, NULL, NULL));
+}
 }
 
 static void _write_cb(pa_stream *stream, size_t len, void *data)
@@ -103,7 +105,7 @@ static Eina_Bool _input_attach_internal(Eo *eo_obj, Eo *in)
   const char *name = NULL;
   pa_sample_spec ss;
   double speed = 0;
-  pa_stream *stream;
+  pa_stream *stream = NULL;
   Eina_Bool ret = EINA_FALSE;
   Ecore_Audio_Object *ea_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS);
   Ecore_Audio_Out_Pulse_Data *pd = efl_data_scope_get(eo_obj, MY_CLASS);
@@ -121,12 +123,13 @@ static Eina_Bool _input_attach_internal(Eo *eo_obj, Eo *in)
 
   ss.rate = ss.rate * speed;
 
-  stream = EPA_CALL(pa_stream_new)(pd->context, name, &ss, NULL);
-  if (!stream) {
+  if (pd->context) stream = EPA_CALL(pa_stream_new)(pd->context, name, &ss, NULL);
+  if (!stream)
+{
   ERR("Could not create stream");
   ecore_audio_obj_out_input_detach(efl_super(eo_obj, MY_CLASS), in);
   return EINA_FALSE;
-  }
+}
 
   efl_event_callback_add(in, ECORE_AUDIO_IN_EVENT_IN_SAMPLERATE_CHANGED, _update_samplerate_cb, eo_obj);
 
@@ -164,12 +167,15 @@ _ecore_audio_out_pulse_ecore_audio_out_input_attach(Eo *eo_obj, Ecore_Audio_Out_
 
   if (_is_input_attached(eo_obj, in)) return EINA_TRUE;
 
-  if (pd->state != PA_CONTEXT_READY) {
-DBG("Delaying input_attach because PA context is not ready.");
-efl_event_callback_add(eo_obj, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_READY, _delayed_attach_cb, in);
-  } else {
-retval = _input_attach_internal(eo_obj, in);
-  }
+  if (pd->state != PA_CONTEXT_READY)
+{
+  DBG("Delaying input_attach because PA context is not ready.");
+  efl_event_callback_add(eo_obj, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_READY, _delayed_attach_cb, in);
+}
+  else
+{
+  retval = _input_attach_internal(eo_obj, in);
+}
 
   return retval;
 }
@@ -240,27 +246,36 @@ static void _state_cb(pa_context *context, void *data)
pd->state = state;
 
//ref everything in the list to be sure...
-   EINA_LIST_FOREACH(pd->outputs, out, eo_obj) {
+   EINA_LIST_FOREACH(pd->outputs, out, eo_obj)
+{
   efl_ref(eo_obj);
-   }
+}
// the callback here can delete things in the list..
-   if (state == PA_CONTEXT_READY) {
+   if (state == PA_CONTEXT_READY)
+{
   DBG("PA context ready.");
-  EINA_LIST_FOREACH(pd->outputs, out, eo_obj) {
- efl_event_callback_call(eo_obj, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_READY, NULL);
-  }
-   } else if ((state == PA_CONTEXT_FAILED) || (state == PA_CONTEXT_TERMINATED)) {
+  EINA_LIST_FOREACH(pd->outputs, out, eo_obj)
+{
+  efl_event_callback_call(eo_obj, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_READY, NULL);
+}
+}
+  else if ((state == PA_CONTEXT_FAILED) || (state == PA_CONTEXT_TERMINATED))
+{
   DBG("PA context fail.");
-  EINA_LIST_FOREACH(pd->outputs, out, eo_obj) {
- efl_event_callback_call(eo_obj, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_FAIL, NULL);
-  }
-   } else {
+  EINA_LIST_FOREACH(pd->outputs, out, eo_obj)
+{
+  efl_event_callback_call(eo_obj, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_FAIL, NULL);
+}
+}
+  else
+{
   DBG("Connection state %i", state);
-   }
+}
// now unref everything safely
-   EINA_LIST_FOREACH_SAFE(pd->outputs, out, tmp, eo_obj) {
+   EINA_LIST_FOREACH_SAFE(pd->outputs, out, tmp, eo_obj)
+{
   efl_unref(eo_obj);
-   }
+}
 }
 
 static void _state_job(void *data)
@@ -274,17 +289,20 @@ static void _state_job(void *data)
 
 DBG("PA cont

[EGIT] [enlightenment] 03/03: fix border adjust handling if frame extents is removed to 0 0 0 0

2024-09-04 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 310adaedf1c6d9fcf52150c2ea1abe5e08c49806
Author: Carsten Haitzler 
AuthorDate: Wed Sep 4 11:11:53 2024 +0100

fix border adjust handling if frame extents is removed to 0 0 0 0

fixes #80

@fix
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 533c49655..010d34d4b 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3349,7 +3349,7 @@ e_comp_object_frame_geometry_set(Evas_Object *obj, int l, int r, int t, int b)
if ((cw->client_inset.l == l) && (cw->client_inset.r == r) &&
(cw->client_inset.t == t) && (cw->client_inset.b == b)) return;
calc = cw->client_inset.calc;
-   cw->client_inset.calc = l || r || t || b;
+   cw->client_inset.calc = 1;
eina_stringshare_replace(&cw->frame_theme, "borderless");
if (cw->client_inset.calc)
  {


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 02/03: just some cleaner debug prints if i need them - off

2024-09-04 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit d768ec55d351dbb24a2f44ae3e0102c95707f813
Author: Carsten Haitzler 
AuthorDate: Wed Sep 4 11:11:35 2024 +0100

just some cleaner debug prints if i need them - off
---
 src/bin/e_comp_x.c | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 818abbe20..f3d13d93c 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -1301,6 +1301,7 @@ _e_comp_x_resize_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_E
 if (!e_comp_find_by_window(ev->win)) ecore_x_window_resize(ev->win, ev->w, ev->h);
 return ECORE_CALLBACK_PASS_ON;
  }
+//  printf("RESIZE REQ: 0x%08x %4ix%4i\n", ev->win, ev->w, ev->h);
w = ev->w, h = ev->h;
if (ec->zone && (e_config->geometry_auto_resize_limit == 1))
  {
@@ -1710,7 +1711,7 @@ _e_comp_x_configure_request(void *data  EINA_UNUSED, int type EINA_UNUSED, Ecore
int ox, oy, ow, oh;
int x, y, w, h;
 
-//   printf("configure request {0x%08x}  %4i,%4i %4ix%4i b=%i [%c%c%c%c]\n",
+//   printf("CONFIG REQ 0x%08x  %4i,%4i %4ix%4i b=%i [%c%c%c%c]\n",
 //  ev->win, ev->x, ev->y, ev->w, ev->h, ev->border,
 //  ev->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_X ? 'x' : ' ',
 //  ev->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_Y ? 'y' : ' ',
@@ -4855,8 +4856,8 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
   */
  if (count >= 4)
{
-//  printf("GTK-FRM: get %i %i %i %i\n",
-// extents[0], extents[1], extents[2], extents[3]);
+//  printf("GTK-FRM: get 0x%08x %i %i %i %i\n",
+// win, extents[0], extents[1], extents[2], extents[3]);
   _e_comp_x_frame_extents_adjust
 (ec, extents[0], extents[1], extents[2], extents[3]);
}


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/03: priority adjust - disable debug printfs i accidentally enabled

2024-09-04 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit e34fb3bc56b94c2b64cb2cbf3ef735790a1243d6
Author: Carsten Haitzler 
AuthorDate: Wed Sep 4 10:20:44 2024 +0100

priority adjust - disable debug printfs i accidentally enabled
---
 src/bin/e_utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_utils.c b/src/bin/e_utils.c
index 174fa56e8..ce565b6f1 100644
--- a/src/bin/e_utils.c
+++ b/src/bin/e_utils.c
@@ -1614,7 +1614,7 @@ _pri_adj(int pid, int pri_set, int pri_adj, int pri_only_filter,
 if (do_adj) newpri += pri_adj;
 elsenewpri = pri_set;
 if (newpri > 19) newpri = 19;
-printf("PRI: %i -> %i (adj=%i, adj_ch=%i ch=%i)\n", pid, newpri, do_adj, do_adj_children, do_children);
+//printf("PRI: %i -> %i (adj=%i, adj_ch=%i ch=%i)\n", pid, newpri, do_adj, do_adj_children, do_children);
 ret = setpriority(PRIO_PROCESS, pid, newpri);
 //if (ret < 0) printf("PRI: ret = %i | %s\n", ret, strerror(errno));
  }
@@ -1718,7 +1718,7 @@ again:
  {
 // if we can't lower pri to at least 20 (nice 0 ...) then assume
 // we can only raise nice level never lower it
-printf("PRI: getrlimit(RLIMIT_NUICE) === cur=%i max=%i\n", (int)rlim.rlim_cur, (int)rlim.rlim_max);
+//printf("PRI: getrlimit(RLIMIT_NUICE) === cur=%i max=%i\n", (int)rlim.rlim_cur, (int)rlim.rlim_max);
 if (rlim.rlim_cur < 20) checked = 0;
  }
goto again; // set checked now - try again


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [legacy-imlib2] 01/01: imlib2_view: Toggle anti-alias flag on 'a'

2024-08-31 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.


View the commit online.
commit c952de144a00381ad8ed50f3b1cce5393da77b9d
Author: Kim Woelders 
AuthorDate: Fri Aug 30 08:41:18 2024 +0200

imlib2_view: Toggle anti-alias flag on 'a'
---
 src/bin/imlib2_view.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c
index bf74518..87f4d51 100644
--- a/src/bin/imlib2_view.c
+++ b/src/bin/imlib2_view.c
@@ -780,6 +780,9 @@ main(int argc, char **argv)
 {
 default:
 break;
+case XK_a:
+opt_aa_final = !opt_aa_final;
+goto show_cur;
 case XK_q:
 case XK_Escape:
 goto quit;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: e - client - fix explicit abort someone put in...

2024-08-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit c600f7b3397e87005904aebeccf66acbd1dd7478
Author: Carsten Haitzler 
AuthorDate: Mon Aug 26 21:41:08 2024 +0100

e - client - fix explicit abort someone put in...

i am relatively sure this wasn't me... i do not put aborts in code...
so let's not abort and let's just handle this gracefully in e client
limits handling aspect...

@fix
---
 src/bin/e_client.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 8fd4b2db4..f4d7d88ac 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -5593,7 +5593,9 @@ e_client_resize_limit(const E_Client *ec, int *w, int *h)
}
   }
 a = (double)*w / *h;
-if (a < ec->icccm.min_aspect) abort();
+// this should be a rare bizarro situation that doesn't make sense
+// so marching on and not abort()ing is preferable
+if (a < ec->icccm.min_aspect) a = ec->icccm.min_aspect;
 if (a > ec->icccm.max_aspect)
   {
  if (dw)


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 02/02: ecore-x - fix ecore_x_randr_crtc_gamma_get to not return junk

2024-08-25 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit ccdb1d77212f7c215a1af206c55e7522c22b345e
Author: Carsten Haitzler 
AuthorDate: Sun Aug 25 09:20:16 2024 +0100

ecore-x - fix ecore_x_randr_crtc_gamma_get to not return junk

so... ecore_x_randr_crtc_gamma_get has been broken and probably worked
by pure luck only as it freed the original xgamma struct but used the
rgb array ptrs from it memcpy'ing them into ecore-x's struct. no one
ever tested this much before it seems. fix it. necessary for future use.

@fix
---
 src/lib/ecore_x/ecore_x_randr.c | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_x/ecore_x_randr.c b/src/lib/ecore_x/ecore_x_randr.c
index 90be7afe38..ef3670d37f 100644
--- a/src/lib/ecore_x/ecore_x_randr.c
+++ b/src/lib/ecore_x/ecore_x_randr.c
@@ -2316,8 +2316,16 @@ ecore_x_randr_crtc_gamma_get(Ecore_X_Randr_Crtc crtc)
  return NULL;
 
/* try to allocate space for the return struct and copy the results in */
-   if ((info = malloc(sizeof(Ecore_X_Randr_Crtc_Gamma_Info
- memcpy(info, xgamma, sizeof(Ecore_X_Randr_Crtc_Gamma_Info));
+   if ((info = malloc(sizeof(Ecore_X_Randr_Crtc_Gamma_Info) + (xgamma->size * sizeof(unsigned short) * 3
+{
+  info->size = xgamma->size;
+  info->red = (unsigned short *)(((char *)info) + sizeof(Ecore_X_Randr_Crtc_Gamma_Info));
+  info->green = info->red + xgamma->size;
+  info->blue = info->green + xgamma->size;
+  memcpy(info->red,   xgamma->red,   info->size * sizeof(unsigned short));
+  memcpy(info->green, xgamma->green, info->size * sizeof(unsigned short));
+  memcpy(info->blue,  xgamma->blue,  info->size * sizeof(unsigned short));
+}
 
/* free the returned gamma resource */
XRRFreeGamma(xgamma);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/02: remove space before #if

2024-08-25 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 0e1d6bf446bf37a4d758eb7b8a10cf15e9680d00
Author: Carsten Haitzler 
AuthorDate: Sun Aug 25 08:58:58 2024 +0100

remove space before #if
---
 src/lib/ecore_x/ecore_x_randr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_x/ecore_x_randr.c b/src/lib/ecore_x/ecore_x_randr.c
index 90f8337982..90be7afe38 100644
--- a/src/lib/ecore_x/ecore_x_randr.c
+++ b/src/lib/ecore_x/ecore_x_randr.c
@@ -1,4 +1,4 @@
- #ifdef HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include 
 #endif
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: sys - add settable suspend mode

2024-08-25 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit c6d007b9af5f8b597807f489e1eaa87f3d16b3e0
Author: Carsten Haitzler 
AuthorDate: Sat Aug 24 21:48:11 2024 +0100

sys - add settable suspend mode

make hibernate events be suspend events as they serve the same purpose
add suspend modes so you can select regular suspend, hybrid suspend or
suspend then hibernate as your suspend mode and then make all ye olde
suspend actions use this mode. keep hibernate as an explicit "suspend
to disk and turn off now" option. the rest are versions of suspending
to rame.

@feat
---
 src/bin/e_actions.c|   8 +-
 src/bin/e_config.c |   1 +
 src/bin/e_config.h |   1 +
 src/bin/e_fm.c |   8 +-
 src/bin/e_powersave.c  |   2 +-
 src/bin/e_randr2.c |   2 +-
 src/bin/e_sys.c| 182 -
 src/bin/e_sys.h|   6 +-
 src/bin/e_utils.c  |  13 +-
 src/bin/system/e_system_power.c|  58 ++-
 src/modules/battery/e_mod_main.c   |   2 +-
 .../e_int_config_powermanagement.c |  50 +-
 src/modules/syscon/e_syscon.c  |   2 +-
 src/modules/syscon/e_syscon_gadget.c   |   2 +-
 14 files changed, 307 insertions(+), 30 deletions(-)

diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index 4c0347b29..3b542ad60 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -2479,7 +2479,7 @@ _e_actions_cb_suspend_dialog_ok(void *data EINA_UNUSED, E_Dialog *dia)
 e_object_del(E_OBJECT(suspend_dialog));
 suspend_dialog = NULL;
  }
-   e_sys_action_do(E_SYS_SUSPEND, NULL);
+   e_sys_action_do(E_SYS_SUSPEND_MODE, NULL);
 }
 
 static void
@@ -2497,14 +2497,14 @@ _e_actions_cb_suspend_dialog_delete(void *data, Evas *e EINA_UNUSED, Evas_Object
 
 ACT_FN_GO(suspend_now, EINA_UNUSED)
 {
-   e_sys_action_do(E_SYS_SUSPEND, NULL);
+   e_sys_action_do(E_SYS_SUSPEND_MODE, NULL);
 }
 
 ACT_FN_GO(suspend, )
 {
if ((params) && (!strcmp(params, "now")))
  {
-e_sys_action_do(E_SYS_SUSPEND, NULL);
+e_sys_action_do(E_SYS_SUSPEND_MODE, NULL);
 return;
  }
if (suspend_dialog) e_object_del(E_OBJECT(suspend_dialog));
@@ -2564,7 +2564,7 @@ ACT_FN_GO(suspend_smart, EINA_UNUSED)
if (!_have_lid_and_external_screens_on())
  {
 if (_should_suspend_if_plugged_in())
-  e_sys_action_do(E_SYS_SUSPEND, NULL);
+  e_sys_action_do(E_SYS_SUSPEND_MODE, NULL);
 else
   e_powersave_defer_suspend();
  }
diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index bfcfe7957..d59359ce1 100644
--- a/src/bin/e_config.c
+++ b/src/bin/e_config.c
@@ -829,6 +829,7 @@ _e_config_edd_init(Eina_Bool old)
E_CONFIG_VAL(D, T, screensaver_wake_on_urgent, INT);
 
E_CONFIG_VAL(D, T, suspend_connected_standby, UCHAR);
+   E_CONFIG_VAL(D, T, suspend_mode, UCHAR);
 
E_CONFIG_VAL(D, T, screensaver_suspend, UCHAR);
E_CONFIG_VAL(D, T, screensaver_hibernate, UCHAR);
diff --git a/src/bin/e_config.h b/src/bin/e_config.h
index aeb0fecdb..117c9914f 100644
--- a/src/bin/e_config.h
+++ b/src/bin/e_config.h
@@ -219,6 +219,7 @@ struct _E_Config
int   screensaver_wake_on_urgent; // GUI
 
unsigned char suspend_connected_standby; // GUI
+   unsigned char suspend_mode; // GUI
 
unsigned char screensaver_suspend; // GUI
unsigned char screensaver_hibernate; // GUI
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index e603cacec..12608ad59 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -472,7 +472,7 @@ static void  _e_fm2_volume_icon_update(E_Volume *v);
 static int   _e_fm2_desktop_open(E_Fm2_Smart_Data *sd);
 static void  _e_fm2_operation_abort_internal(E_Fm2_Op_Registry_Entry *ere);
 
-static Eina_Bool _e_fm2_sys_suspend_hibernate(void *, int, void *);
+static Eina_Bool _e_fm2_sys_suspend(void *, int, void *);
 
 static void  _e_fm2_favorites_thread_cb(void *d, Ecore_Thread *et);
 static void  _e_fm2_thread_cleanup_cb(void *d, Ecore_Thread *et);
@@ -855,8 +855,8 @@ e_fm2_init(void)
E_LIST_HANDLER_APPEND(_e_fm_handlers, E_EVENT_FM_OP_REGISTRY_DEL, _e_fm2_op_registry_entry_del_cb, NULL);
E_LIST_HANDLER_APPEND(_e_fm_handlers, E_EVENT_FM_OP_REGISTRY_CHANGED, _e_fm2_op_registry_entry_changed_cb, NULL);
/// DBG
-   E_LIST_HANDLER_APPEND(_e_fm_handlers, E_EVENT_SYS_HIBERNATE, _e_fm2_sys_suspend_hibernate, NULL);
-   E_LIST_HANDLER_APPEND(_e_fm_handlers, E_EVENT_SYS_RESUME, _e_fm2_sys_suspend_hibernate, NULL);
+   E_LIST_HANDLER

[EGIT] [efl] 01/01: eina_string_view.hh change lenght to length

2024-08-22 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 6c3630ffda0884b86e6ffc9d00d7315ab67858e5
Author: Ted Rodgers 
AuthorDate: Wed Aug 21 10:56:13 2024 -0400

eina_string_view.hh change lenght to length

fixes #71
---
 src/bindings/cxx/eina_cxx/eina_string_view.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bindings/cxx/eina_cxx/eina_string_view.hh b/src/bindings/cxx/eina_cxx/eina_string_view.hh
index 77798db70f..f0bbcb705d 100644
--- a/src/bindings/cxx/eina_cxx/eina_string_view.hh
+++ b/src/bindings/cxx/eina_cxx/eina_string_view.hh
@@ -181,7 +181,7 @@ public:
size_type rfind(basic_string_view const& s) const
{
   const_reverse_iterator iter = std::search(crbegin(), crend(), s.crbegin(), s.crend(), Traits::eq);
-  return iter == crend() ? npos : reverse_distance(crbegin(), iter) - s.lenght();
+  return iter == crend() ? npos : reverse_distance(crbegin(), iter) - s.length();
}
 
size_type rfind(basic_string_view const& s, size_type pos) const
@@ -189,7 +189,7 @@ public:
   if (pos >= _len)
 return npos;
   const_reverse_iterator iter = std::search(crbegin()+pos, crend(), s.crbegin(), s.crend(), Traits::eq);
-  return iter == crend() ? npos : reverse_distance(crbegin(), iter) - s.lenght();
+  return iter == crend() ? npos : reverse_distance(crbegin(), iter) - s.length();
}
 
size_type rfind(CharT c) const


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [e16] 01/01: Merge pull request 'Update branch' (#1) from e16/e16:master into master

2024-08-13 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit 896853442ff8954dfa21167246bd9fb249517532
Merge: 29b1cfba c8607974
Author: hugok 
AuthorDate: Tue Aug 13 04:39:24 2024 -0700

Merge pull request 'Update branch' (#1) from e16/e16:master into master

Reviewed-on: https://git.enlightenment.org/hugok/e16/pulls/1

 ChangeLog  | 47 +
 configure.ac   |  2 +-
 po/ar.po   | 32 +++
 po/bg.po   | 32 +++
 po/bs.po   | 32 +++
 po/ca.po   | 32 +++
 po/cs.po   | 32 +++
 po/csb.po  | 32 +++
 po/da.po   | 32 +++
 po/de.po   | 32 +++
 po/en_US.po| 32 +++
 po/eo.po   | 32 +++
 po/es.po   | 32 +++
 po/fo.po   | 32 +++
 po/fr.po   | 50 +++
 po/gl.po   | 32 +++
 po/hr.po   | 32 +++
 po/hu.po   | 32 +++
 po/it.po   | 32 +++
 po/ja.po   | 32 +++
 po/ko.po   | 32 +++
 po/nb.po   | 32 +++
 po/nl.po   | 32 +++
 po/pl.po   | 32 +++
 po/pt.po   | 76 ++
 po/pt_BR.po| 32 +++
 po/ru.po   | 32 +++
 po/sk.po   | 32 +++
 po/sr.po   | 32 +++
 po/sv.po   | 32 +++
 po/tr.po   | 32 +++
 po/uk.po   | 32 +++
 po/zh_CN.po| 32 +++
 scripts/e_gen_menu | 16 +++-
 src/icccm.c| 17 ++--
 35 files changed, 589 insertions(+), 547 deletions(-)


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enigmatic] 01/01: sensors: fix reporting of low-granular battery reports.

2024-08-11 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enigmatic.


View the commit online.
commit 919c0c617e1604b5405c6e36e961064600cfcc0e
Author: Alastair Poole 
AuthorDate: Sun Aug 11 21:52:34 2024 +0100

sensors: fix reporting of low-granular battery reports.

A minor logic bug. Resolved.
---
 src/bin/system/machine/sensors.x | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/bin/system/machine/sensors.x b/src/bin/system/machine/sensors.x
index 7d0d2d7..8381315 100644
--- a/src/bin/system/machine/sensors.x
+++ b/src/bin/system/machine/sensors.x
@@ -509,16 +509,17 @@ battery_update(Battery *bat)
 buf = file_contents(path);
 if (buf)
   {
+ charge_full = 100;
  if (buf[0] == 'F')
-   bat->charge_current = 100;
+   charge_current = 100;
  else if (buf[0] == 'H')
-   bat->charge_current = 75;
+   charge_current = 75;
  else if (buf[0] == 'N')
-   bat->charge_current = 50;
+   charge_current = 50;
  else if (buf[0] == 'L')
-   bat->charge_current = 25;
+   charge_current = 25;
  else if (buf[0] == 'C')
-   bat->charge_current = 5;
+   charge_current = 5;
  free(buf);
   }
  }


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enigmatic] 01/01: client: rename API as far too generic.

2024-08-11 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enigmatic.


View the commit online.
commit 05bdc745cbc6990bca5450d5c5709445273a8745
Author: Alastair Poole 
AuthorDate: Sun Aug 11 21:00:01 2024 +0100

client: rename API as far too generic.

The naming is longer but less-likely to clash with other symbols.
---
 src/bin/client/Enigmatic_Client.h   | 26 ++--
 src/bin/client/enigmatic_client.c   | 48 ++---
 src/bin/examples/blindmin.c | 36 ++--
 src/bin/examples/cpeew.c|  6 ++---
 src/bin/examples/enigmatic_client.c | 48 ++---
 src/bin/examples/memories.c |  8 +++
 6 files changed, 86 insertions(+), 86 deletions(-)

diff --git a/src/bin/client/Enigmatic_Client.h b/src/bin/client/Enigmatic_Client.h
index 9900a1d..5bf211d 100644
--- a/src/bin/client/Enigmatic_Client.h
+++ b/src/bin/client/Enigmatic_Client.h
@@ -130,45 +130,45 @@ typedef enum
 } Enigmatic_Client_Event_Type;
 
 Enigmatic_Client *
-client_open(void);
+enigmatic_client_open(void);
 
 void
-client_monitor_add(Enigmatic_Client *client, Snapshot_Callback *cb_event_change_init, Snapshot_Callback *cb_event_change, void *data);
+enigmatic_client_monitor_add(Enigmatic_Client *client, Snapshot_Callback *cb_event_change_init, Snapshot_Callback *cb_event_change, void *data);
 
 void
-client_event_callback_add(Enigmatic_Client *client, Enigmatic_Client_Event_Type type, Event_Callback *cb_event, void *data);
+enigmatic_client_event_callback_add(Enigmatic_Client *client, Enigmatic_Client_Event_Type type, Event_Callback *cb_event, void *data);
 
 void
-client_read(Enigmatic_Client *client);
+enigmatic_client_read(Enigmatic_Client *client);
 
 Enigmatic_Client *
-client_path_open(char *filename);
+enigmatic_client_path_open(char *filename);
 
 void
-client_del(Enigmatic_Client *client);
+enigmatic_client_del(Enigmatic_Client *client);
 
 Enigmatic_Client *
-client_add(void);
+enigmatic_client_add(void);
 
 void
-client_follow_enabled_set(Enigmatic_Client *client, Eina_Bool enabled);
+enigmatic_client_follow_enabled_set(Enigmatic_Client *client, Eina_Bool enabled);
 
 void
-client_snapshot_callback_set(Enigmatic_Client *client, Snapshot_Callback *cb_event_change, void *data);
+enigmatic_client_snapshot_callback_set(Enigmatic_Client *client, Snapshot_Callback *cb_event_change, void *data);
 
 /* Some events occur multiple times between block end. We can check for a snapshot event to reduce
  * the polling granuality when we don't want sub-second data.
  */
 Eina_Bool
-client_event_is_snapshot(Enigmatic_Client *client);
+enigmatic_client_event_is_snapshot(Enigmatic_Client *client);
 
 void
-client_replay_time_start_set(Enigmatic_Client *client, uint32_t secs);
+enigmatic_client_replay_time_start_set(Enigmatic_Client *client, uint32_t secs);
 
 void
-client_replay_time_end_set(Enigmatic_Client *client, uint32_t secs);
+enigmatic_client_replay_time_end_set(Enigmatic_Client *client, uint32_t secs);
 
 Eina_Bool
-client_replay(Enigmatic_Client *client);
+enigmatic_client_replay(Enigmatic_Client *client);
 
 #endif
diff --git a/src/bin/client/enigmatic_client.c b/src/bin/client/enigmatic_client.c
index 242c032..bf34ebb 100644
--- a/src/bin/client/enigmatic_client.c
+++ b/src/bin/client/enigmatic_client.c
@@ -59,7 +59,7 @@ buffer_clear(Buffer *buf)
 }
 
 static void
-client_reset(Enigmatic_Client *client)
+enigmatic_client_reset(Enigmatic_Client *client)
 {
buffer_clear(&client->zbuf);
buffer_clear(&client->buf);
@@ -109,7 +109,7 @@ callback_fire(Enigmatic_Client *client)
 }
 
 Eina_Bool
-client_event_is_snapshot(Enigmatic_Client *client)
+enigmatic_client_event_is_snapshot(Enigmatic_Client *client)
 {
return client->header.event == EVENT_BLOCK_END;
 }
@@ -1129,13 +1129,13 @@ event_end_of_file(Enigmatic_Client *client EINA_UNUSED)
 }
 
 Enigmatic_Client *
-client_open(void)
+enigmatic_client_open(void)
 {
-   return client_path_open(enigmatic_log_path());
+   return enigmatic_client_path_open(enigmatic_log_path());
 }
 
 Enigmatic_Client *
-client_path_open(char *filename)
+enigmatic_client_path_open(char *filename)
 {
Enigmatic_Client *client = calloc(1, sizeof(Enigmatic_Client));
EINA_SAFETY_ON_NULL_RETURN_VAL(client, NULL);
@@ -1158,9 +1158,9 @@ client_path_open(char *filename)
 }
 
 static Eina_Bool
-client_reopen(Enigmatic_Client *client, char *filename)
+enigmatic_client_reopen(Enigmatic_Client *client, char *filename)
 {
-   client_reset(client);
+   enigmatic_client_reset(client);
 
if (client->fd != -1)
  close(client->fd);
@@ -1187,7 +1187,7 @@ client_reopen(Enigmatic_Client *client, char *filename)
 }
 
 void
-client_del(Enigmatic_Client *client)
+enigmatic_client_del(Enigmatic_Client *client)
 {
if (client->follow)
  {
@@ -1228,7 +1228,7 @@ get_block_size(const LZ4F_frameInfo_t *info)
 
 // WIP
 void
-client_r

[EGIT] [www-content] 01/01: e16 1.0.30

2024-08-10 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit c7eb39f1a5a32c7088cf7e2d91b7d828e174acb4
Author: Kim Woelders 
AuthorDate: Sat Aug 10 12:59:56 2024 +0200

e16 1.0.30
---
 pages/download-e16.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/download-e16.txt b/pages/download-e16.txt
index c1def8da6..72f927c7e 100644
--- a/pages/download-e16.txt
+++ b/pages/download-e16.txt
@@ -1,6 +1,6 @@
 === Download Enlightenment E16 ===
 
-The latest version of [[e16|DR16]] is 1.0.29, released on October 29th, 2023.
+The latest version of [[e16|DR16]] is 1.0.30, released on August 10th, 2024.
 Packages for the current and previous releases of DR16,
 core themes, epplets, e16keyedit, and imlib2 can be found on the
 [[https://sourceforge.net/project/showfiles.php?group_id=2|SourceForge download page]].


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [e16] annotated tag v1.0.30 created (now 042f5334)

2024-08-10 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

git pushed a change to annotated tag v1.0.30
in repository e16.

  at 042f5334 (tag)
 tagging c860797453b5df530b9fb504feabed515905e9fe (commit)
 replaces v1.0.29
  by Kim Woelders
  on Sat Aug 10 11:47:16 2024 +0200

- Log -
Version 1.0.30.

Kim Woelders (43):
  docs: Add forgotten misc.session.cmd_lock
  Change formatting style
  desktops: Maintain separate workareas for each desktop
  Pass screen geometry around in Area struct
  Remove "Close" option from iconbox/systray menus
  Update po
  Unifdef HAVE_FREE_NULL_BUG
  scripts: Remove all use of the eesh -e option
  eesh: Simplify comms window creation
  eesh: Some mostly trivial changes
  eesh: Eliminate need for non-blocking stdin
  eesh: Switch to poll() instead of select()
  events: Drop select() based event loop
  ipc: Ignore whitespace only command lines
  eesh: Move some code around
  eesh: Add prompt if interactive
  eesh: Add possibility to use editline (--with-editline, default off)
  eesh: Fix prompt when command has no reply
  strings.py: Fixup according to formatting change
  menus: Eliminate enlightenment.menu
  Spec file: Set high rpm release number for non-release rpms
  session: Eliminate SetSMID()
  session: Eliminate SessionSave()
  session: Mark some private functions as such
  session: Add missing newline in error message
  session: Add some SM connection debug messages
  session: Rename some macros
  session: Add shutdown command
  session: Introduce SessionLogout()
  session: Move some #defines
  session: Rearrange logout functions
  dbus: Enable by default
  edbus: Add functions to request logout and shutdown via dbus
  session: Optionally do logout/shutdown via dbus commands
  Update po
  Danish translation update
  dbus: Only install e16-dbus-cmd if dbus support is enabled
  session: Try dbus before SM/ICE on logout/shutdown
  e_gen_menu: Search XDG_DATA_HOME and XDG_DATA_DIRS too
  French translation update (Philippe J. Guillaumie)
  icccm: Fix WM_COMMAND encoding handling
  Update po
  1.0.30

hugok (1):
  Portuguese translation update

---

No new revisions were added by this update.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.




[EGIT] [e16] 02/02: 1.0.30

2024-08-10 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit c860797453b5df530b9fb504feabed515905e9fe
Author: Kim Woelders 
AuthorDate: Fri Aug 9 17:39:09 2024 +0200

1.0.30
---
 ChangeLog| 47 +++
 configure.ac |  2 +-
 2 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a493fab4..1db56ce0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,51 @@
 
+e16 v1.0.30 - 2024-08-09
+
+- 1.0.30
+- Update po
+- icccm: Fix WM_COMMAND encoding handling
+- French translation update (Philippe J. Guillaumie)
+- e_gen_menu: Search XDG_DATA_HOME and XDG_DATA_DIRS too
+- Portuguese translation update
+- session: Try dbus before SM/ICE on logout/shutdown
+- dbus: Only install e16-dbus-cmd if dbus support is enabled
+- Danish translation update
+- Update po
+- session: Optionally do logout/shutdown via dbus commands
+- edbus: Add functions to request logout and shutdown via dbus
+- dbus: Enable by default
+- session: Rearrange logout functions
+- session: Move some #defines
+- session: Introduce SessionLogout()
+- session: Add shutdown command
+- session: Rename some macros
+- session: Add some SM connection debug messages
+- session: Add missing newline in error message
+- session: Mark some private functions as such
+- session: Eliminate SessionSave()
+- session: Eliminate SetSMID()
+- Spec file: Set high rpm release number for non-release rpms
+- menus: Eliminate enlightenment.menu
+- strings.py: Fixup according to formatting change
+- eesh: Fix prompt when command has no reply
+- eesh: Add possibility to use editline (--with-editline, default off)
+- eesh: Add prompt if interactive
+- eesh: Move some code around
+- ipc: Ignore whitespace only command lines
+- events: Drop select() based event loop
+- eesh: Switch to poll() instead of select()
+- eesh: Eliminate need for non-blocking stdin
+- eesh: Some mostly trivial changes
+- eesh: Simplify comms window creation
+- scripts: Remove all use of the eesh -e option
+- Unifdef HAVE_FREE_NULL_BUG
+- Update po
+- Remove "Close" option from iconbox/systray menus
+- Pass screen geometry around in Area struct
+- desktops: Maintain separate workareas for each desktop
+- Change formatting style
+- docs: Add forgotten misc.session.cmd_lock
+
 e16 v1.0.29 - 2023-10-28
 
 - 1.0.29
diff --git a/configure.ac b/configure.ac
index 815237b9..0ccb3234 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([e16],[1.0.29],[enlightenment-devel@lists.sourceforge.net])
+AC_INIT([e16],[1.0.30],[enlightenment-devel@lists.sourceforge.net])
 AM_INIT_AUTOMAKE([foreign dist-xz])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [direct3d] 01/01: fix configure.sh and typo

2024-08-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository direct3d.


View the commit online.
commit b8352fdf50aa24404ea9bb2c2a59b3a15c4d5ba0
Author: Vincent Torri 
AuthorDate: Wed Aug 7 19:32:15 2024 +0200

fix configure.sh and typo
---
 configure.sh | 25 -
 src/d3d_4.c  |  2 +-
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/configure.sh b/configure.sh
index 659a8db..c48d677 100644
--- a/configure.sh
+++ b/configure.sh
@@ -1,12 +1,19 @@
 #!/bin/sh
 
-cd src
+gcc -g -O2 -Wall -Wextra -o src/d3d_0 src/d3d_0.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_1 src/d3d_1.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_2 src/d3d_2.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_3 src/d3d_3.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_4 src/d3d_4.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_5 src/d3d_5.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_6 src/d3d_6.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+gcc -g -O2 -Wall -Wextra -o src/d3d_7 src/d3d_7.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
 
-gcc -g -O2 -Wall -Wextra -o d3d_0 d3d_0.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_1 d3d_1.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_2 d3d_2.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_3 d3d_3.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_4 d3d_4.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_5 d3d_5.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_6 d3d_6.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
-gcc -g -O2 -Wall -Wextra -o d3d_7 d3d_7.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+echo "diff"
+diff -Naur src/d3d_0.c src/d3d_1.c > src/d3d_1.diff
+diff -Naur src/d3d_1.c src/d3d_2.c > src/d3d_2.diff
+diff -Naur src/d3d_2.c src/d3d_3.c > src/d3d_3.diff
+diff -Naur src/d3d_3.c src/d3d_4.c > src/d3d_4.diff
+diff -Naur src/d3d_4.c src/d3d_5.c > src/d3d_5.diff
+diff -Naur src/d3d_5.c src/d3d_6.c > src/d3d_6.diff
+diff -Naur src/d3d_6.c src/d3d_7.c > src/d3d_7.diff
diff --git a/src/d3d_4.c b/src/d3d_4.c
index 5aab225..a5b110a 100644
--- a/src/d3d_4.c
+++ b/src/d3d_4.c
@@ -5,7 +5,7 @@
  *
  * Compilation:
  *
- * gcc -g -O2 -Wall -Wextra -o src/d3d_4 stc/d3d_4.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+ * gcc -g -O2 -Wall -Wextra -o src/d3d_4 src/d3d_4.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
  */
 
 #include   /* calloc() free() malloc() */


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: embryo - fix ptr type warnings

2024-08-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 73dbb7e660c6122496817cae9acb426d292f2742
Author: Carsten Haitzler 
AuthorDate: Wed Aug 7 09:57:05 2024 +0100

embryo - fix ptr type warnings

fixes issue #69

@fix
---
 src/bin/embryo/embryo_cc_sc6.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/embryo/embryo_cc_sc6.c b/src/bin/embryo/embryo_cc_sc6.c
index ccf8abf1dd..f8accc22b1 100644
--- a/src/bin/embryo/embryo_cc_sc6.c
+++ b/src/bin/embryo/embryo_cc_sc6.c
@@ -94,8 +94,8 @@ hex2long(char *s, char **n)
 }
 
 #ifdef WORDS_BIGENDIAN
-static short   *
-align16(short *v)
+static void   *
+align16(void *v)
 {
unsigned char  *s = (unsigned char *)v;
unsigned char   t;
@@ -107,8 +107,8 @@ align16(short *v)
return v;
 }
 
-static long*
-align32(long *v)
+static void*
+align32(void *v)
 {
unsigned char  *s = (unsigned char *)v;
unsigned char   t;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [direct3d] 01/01: fix debug system

2024-08-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository direct3d.


View the commit online.
commit efc03daba66552e36f5b865db1c4d45eaabc50a2
Author: Vincent Torri 
AuthorDate: Wed Aug 7 09:01:09 2024 +0200

fix debug system
---
 src/d3d_0.c | 14 ++
 src/d3d_1.c | 39 ---
 src/d3d_2.c | 39 ---
 src/d3d_3.c | 39 ---
 src/d3d_4.c | 39 ---
 src/d3d_5.c | 39 ---
 src/d3d_6.c | 39 ---
 src/d3d_7.c | 39 ---
 src/win.h   | 20 +++-
 9 files changed, 161 insertions(+), 146 deletions(-)

diff --git a/src/d3d_0.c b/src/d3d_0.c
index be3069c..74ad40e 100644
--- a/src/d3d_0.c
+++ b/src/d3d_0.c
@@ -5,16 +5,14 @@
  *
  * Compilation:
  *
- * gcc -g -O2 -Wall -Wextra -o d3d_0 d3d_0.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+ * gcc -g -O2 -Wall -Wextra -o src/d3d_0 src/d3d_0.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
  */
 
 #include   /* calloc() free() */
 #include/* printf() fflush() */
 #include   /* strlen() */
 
-#define _DEBUG
-
-/* C API for d3d11 */
+/* C API for dxgi / d3d11 */
 #define COBJMACROS
 
 #include  /* DXGI interface */
@@ -24,14 +22,6 @@
 
 #include "win.h"
 
-#ifdef _DEBUG
-# define DBG_FCT \
-do { printf(" * %s\n", __FUNCTION__); fflush(stdout); } while (0)
-#else
-# define DBG_FCT \
-do { } while (0)
-#endif
-
 struct D3d
 {
 unsigned int vsync : 1;
diff --git a/src/d3d_1.c b/src/d3d_1.c
index 1e895cf..c8c5dc3 100644
--- a/src/d3d_1.c
+++ b/src/d3d_1.c
@@ -7,16 +7,14 @@
  *
  * Compilation:
  *
- * gcc -g -O2 -Wall -Wextra -o d3d_1 d3d_1.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+ * gcc -g -O2 -Wall -Wextra -o src/d3d_1 src/d3d_1.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
  */
 
 #include   /* calloc() free() malloc() */
 #include/* printf() fflush() */
 #include   /* strlen() */
 
-#define _DEBUG
-
-/* C API for d3d11 */
+/* C API for dxgi / d3d11 */
 #define COBJMACROS
 
 #include  /* DXGI interface */
@@ -26,17 +24,6 @@
 
 #include "win.h"
 
-#ifdef _DEBUG
-# define DBG_FCT \
-do { printf(" * %s\n", __FUNCTION__); fflush(stdout); } while (0)
-# define DBG_NAME(interface_, child_, name_) interface_ ## _SetPrivateData(child_, &WKPDID_D3DDebugObjectName, strlen(name_), name_)
-#else
-# define DBG_FCT \
-do { } while (0)
-# define DBG_NAME(interface_, child_, name_) \
-do { } while (0)
-#endif
-
 struct D3d
 {
 /* DXGI */
@@ -156,6 +143,20 @@ D3d *d3d_init(Window *win, int vsync)
 UINT num;
 UINT den;
 D3D_FEATURE_LEVEL feature_level[4];
+#ifdef _DEBUG
+typedef HRESULT (*DXGIGetDebugInterface_t)(REFIID, void **);
+DXGIGetDebugInterface_t DXGIGetDebugInterface_f;
+HMODULE mod;
+
+mod = LoadLibrary("DXGIDebug.dll");
+if (!mod)
+return NULL;
+
+DXGIGetDebugInterface_f = (DXGIGetDebugInterface_t)(void *)GetProcAddress(mod, "DXGIGetDebugInterface");
+FreeLibrary(mod);
+if (!DXGIGetDebugInterface_f)
+return NULL;
+#endif
 
 d3d = (D3d *)calloc(1, sizeof(D3d));
 if (!d3d)
@@ -176,9 +177,9 @@ D3d *d3d_init(Window *win, int vsync)
 #ifdef _DEBUG
 IDXGIFactory2_SetPrivateData(d3d->dxgi_factory,
  &WKPDID_D3DDebugObjectName,
- strlen("Factory2"), "Factory2");
-res = DXGIGetDebugInterface(&IID_IDXGIDebug,
-(void **)&d3d->dxgi_debug);
+ (UINT)strlen("Factory2"), "Factory2");
+res = DXGIGetDebugInterface_f(&IID_IDXGIDebug,
+  (void **)&d3d->dxgi_debug);
 if (FAILED(res))
 goto release_dxgi_factory2;
 #endif
@@ -212,7 +213,7 @@ D3d *d3d_init(Window *win, int vsync)
 #ifdef _DEBUG
 ID3D11Device_SetPrivateData(d3d->d3d_device,
 &WKPDID_D3DDebugObjectName,
-strlen("Device"), "Device");
+(UINT)strlen("Device"), "Device");
 res = ID3D11Debug_QueryInterface(d3d->d3d_device, &IID_ID3D11Debug,
  (void **)&d3d->d3d_debug);
 if (FAILED(res))
diff --git a/src/d3d_2.c b/src/d3d_2.c
index ed4aadd..fb93830 100644
--- a/src/d3d_2.c
+++ b/src/d3d_2.c
@@ -7,16 +7,14 @@
  *
  * Compilation:
  *
- * gcc -g -O2 -Wall -Wextra -o d3d_2 d3d_2.c win.c -ld3d11 -ld3dcompiler -ldxgi /c/Windows/system32/DXGIDebug.dll -ldxguid -luuid -D_WIN32_WINNT=0x0A00
+ * gcc -g -O2 -Wall -Wextra -o src/d3d_2 src/d3d_2.c src/win.c -ld3d11 -ld3dcompiler -ldxgi -ldxguid -luuid -D_WIN32_WINNT=0x0A00
  */
 

[EGIT] [www-content] 01/01: Wiki page about.md changed with summary [] by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit 07be70d9e641dfbb406f0c62809ecf70366eeb9c
Author: Alastair Poole 
AuthorDate: Tue Aug 6 14:22:30 2024 -0700

Wiki page about.md changed with summary [] by Alastair Poole
---
 pages/about.md.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pages/about.md.txt b/pages/about.md.txt
index ec5f7113a..ffb4d7edc 100644
--- a/pages/about.md.txt
+++ b/pages/about.md.txt
@@ -94,11 +94,11 @@ EDI is a development environment designed for and built using EFL. Its aim is to
 
 See [the EDI page](https://www.enlightenment.org/about-edi) for more details.
 
-### Evisum (EFL Portable System Monitor) ###
+### Evisum (System Monitor) ###
 
 ![Evisum Icon](/_media/icon-evisum.png "Evisum")
 
-Evisum is a system monitor using EFL. It supports Linux, FreeBSD, DragonFlyBSD and OpenBSD with equal feature parity. It was written organically and took many hours and a lot of manual reading to implement. It's pretty and pays homage to FOSS applications from the 90s.
+Evisum is a system monitor using EFL. It supports Linux, FreeBSD, DragonFlyBSD and OpenBSD with equal feature parity. It was written organically and took many hours and a lot of manual reading to implement. It's pretty and pays homage to FOSS applications from the 90s. Support for processes, process, CPU, memory, sensors and networking.
 
 See [the Evisum source](https://git.enlightenment.org/enlightenment/evisum.git) for the code.
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: Wiki page about.md changed with summary [ffs netstar] by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit c249875532cbd672b54c5868d66158267d7e5bf0
Author: Alastair Poole 
AuthorDate: Tue Aug 6 13:08:03 2024 -0700

Wiki page about.md changed with summary [ffs netstar] by Alastair Poole
---
 pages/about.md.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pages/about.md.txt b/pages/about.md.txt
index 42dbf75ef..ec5f7113a 100644
--- a/pages/about.md.txt
+++ b/pages/about.md.txt
@@ -99,6 +99,7 @@ See [the EDI page](https://www.enlightenment.org/about-edi) for more details.
 ![Evisum Icon](/_media/icon-evisum.png "Evisum")
 
 Evisum is a system monitor using EFL. It supports Linux, FreeBSD, DragonFlyBSD and OpenBSD with equal feature parity. It was written organically and took many hours and a lot of manual reading to implement. It's pretty and pays homage to FOSS applications from the 90s.
+
 See [the Evisum source](https://git.enlightenment.org/enlightenment/evisum.git) for the code.
 
 ### E16 ###


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: Wiki page about.md changed with summary [why not. add evisum...] by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit 4dc20658b94cc142fcb4077dd5d9fc65b00ed8da
Author: Alastair Poole 
AuthorDate: Tue Aug 6 12:51:24 2024 -0700

Wiki page about.md changed with summary [why not. add evisum...] by Alastair Poole
---
 pages/about.md.txt | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/pages/about.md.txt b/pages/about.md.txt
index 69e239562..42dbf75ef 100644
--- a/pages/about.md.txt
+++ b/pages/about.md.txt
@@ -94,6 +94,13 @@ EDI is a development environment designed for and built using EFL. Its aim is to
 
 See [the EDI page](https://www.enlightenment.org/about-edi) for more details.
 
+### Evisum (EFL Portable System Monitor) ###
+
+![Evisum Icon](/_media/icon-evisum.png "Evisum")
+
+Evisum is a system monitor using EFL. It supports Linux, FreeBSD, DragonFlyBSD and OpenBSD with equal feature parity. It was written organically and took many hours and a lot of manual reading to implement. It's pretty and pays homage to FOSS applications from the 90s.
+See [the Evisum source](https://git.enlightenment.org/enlightenment/evisum.git) for the code.
+
 ### E16 ###
 
 E16 is the predecessor of the current Enlightenment Window Manager series (0.17...).


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: Wiki media icon-evisum.png uploaded by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit d4645e97c143fddf191790ff5994c8597645773b
Author: Alastair Poole 
AuthorDate: Tue Aug 6 12:34:37 2024 -0700

Wiki media icon-evisum.png uploaded by Alastair Poole
---
 media/icon-evisum.png | Bin 0 -> 26290 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media/icon-evisum.png b/media/icon-evisum.png
new file mode 100644
index 0..59486025d
Binary files /dev/null and b/media/icon-evisum.png differ


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: Wiki page about.md changed with summary [] by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit 172d82f83caa01874f3f8ac55484229a1e599a24
Author: Alastair Poole 
AuthorDate: Tue Aug 6 12:34:12 2024 -0700

Wiki page about.md changed with summary [] by Alastair Poole
---
 pages/about.md.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pages/about.md.txt b/pages/about.md.txt
index a1ffaf8de..69e239562 100644
--- a/pages/about.md.txt
+++ b/pages/about.md.txt
@@ -13,6 +13,8 @@ Enlightenment was launched in the 1990s by Carsten "Rasterman" Haitzler as an ea
 ![EDI Icon](/_media/edi-logo.png "EDI")
 ![Ephoto Icon](/_media/ephoto.png?128 "Ephoto")
 ![Enventor Icon](/_media/icon-enventor.png "Enventor")
+![Evisum Icon](/_media/icon-evisum.png "Evisum")
+
 
 ## Enlightenment ##
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: Wiki media evisum.png uploaded by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit a1350a018d37f3cf2fa8a77cd36190cffbcf7c81
Author: Alastair Poole 
AuthorDate: Tue Aug 6 12:31:07 2024 -0700

Wiki media evisum.png uploaded by Alastair Poole
---
 media/evisum.png | Bin 0 -> 79637 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media/evisum.png b/media/evisum.png
new file mode 100644
index 0..931b0e54c
Binary files /dev/null and b/media/evisum.png differ


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: Updating portuguese translation

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 044149406c2c7db8fa2e9be95f942d1225871c8c
Author: Massimo Maiurana 
AuthorDate: Tue Aug 6 19:16:20 2024 +0200

Updating portuguese translation
---
 po/pt.po | 148 ---
 1 file changed, 76 insertions(+), 72 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 07ee8e974..4db8fd376 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,9 +7,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: enlightenment\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-01-23 21:51+0100\n"
-"PO-Revision-Date: 2024-01-24 00:12+\n"
+"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
+"POT-Creation-Date: 2024-07-23 08:00+0200\n"
+"PO-Revision-Date: 2024-08-06 17:48+0100\n"
 "Last-Translator: Hugo Carvalho \n"
 "Language-Team: Portuguese\n"
 "Language: pt\n"
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 3.4.2\n"
+"X-Generator: Poedit 3.4.4\n"
 "X-Poedit-SourceCharset: UTF-8\n"
 
 #: src/bin/e_about.c:17
@@ -1587,7 +1587,7 @@ msgstr "Não foi possível ejetar o dispositivo"
 #: src/bin/e_fm.c:10546 src/bin/e_fm.c:10550 src/bin/e_fm.c:10554
 #: src/bin/e_fm.c:10582 src/bin/e_fm.c:10587 src/bin/e_fm.c:10591
 #: src/bin/e_fm.c:10650 src/bin/e_fm.c:10880 src/bin/e_fm_prop.c:363
-#: src/bin/e_shelf.c:2268 src/modules/pager/e_mod_main.c:2109
+#: src/bin/e_shelf.c:2268 src/modules/pager/e_mod_main.c:2108
 #: src/modules/xwayland/e_mod_main.c:272 src/modules/xwayland/e_mod_main.c:347
 msgid "Error"
 msgstr "Erro"
@@ -2335,7 +2335,7 @@ msgid "Window"
 msgstr "Janela"
 
 #: src/bin/e_int_client_menu.c:156
-#: src/modules/conf_randr/e_int_config_randr2.c:1110
+#: src/modules/conf_randr/e_int_config_randr2.c:1143
 msgid "Align"
 msgstr "Alinhar"
 
@@ -2518,10 +2518,10 @@ msgid "Window List"
 msgstr "Lista de janelas"
 
 #: src/bin/e_int_client_menu.c:1643 src/modules/pager/e_mod_main.c:350
-#: src/modules/pager/e_mod_main.c:2123 src/modules/pager/e_mod_main.c:2130
-#: src/modules/pager/e_mod_main.c:2137 src/modules/pager/e_mod_main.c:2139
-#: src/modules/pager/e_mod_main.c:2141 src/modules/pager/e_mod_main.c:2143
-#: src/modules/pager/e_mod_main.c:2145 src/modules/pager/e_mod_main.c:2147
+#: src/modules/pager/e_mod_main.c:2122 src/modules/pager/e_mod_main.c:2129
+#: src/modules/pager/e_mod_main.c:2136 src/modules/pager/e_mod_main.c:2138
+#: src/modules/pager/e_mod_main.c:2140 src/modules/pager/e_mod_main.c:2142
+#: src/modules/pager/e_mod_main.c:2144 src/modules/pager/e_mod_main.c:2146
 msgid "Pager"
 msgstr "Paginador"
 
@@ -2615,9 +2615,9 @@ msgstr "Estático"
 #: src/modules/clock/e_mod_config.c:143
 #: src/modules/conf_bindings/e_int_config_mousebindings.c:356
 #: src/modules/conf_performance/e_int_config_powermanagement.c:200
-#: src/modules/conf_randr/e_int_config_randr2.c:479
-#: src/modules/conf_randr/e_int_config_randr2.c:698
-#: src/modules/conf_randr/e_int_config_randr2.c:1077
+#: src/modules/conf_randr/e_int_config_randr2.c:494
+#: src/modules/conf_randr/e_int_config_randr2.c:713
+#: src/modules/conf_randr/e_int_config_randr2.c:1110
 #: src/modules/conf_theme/e_int_config_fonts.c:742
 #: src/modules/conf_theme/e_int_config_transitions.c:212
 #: src/modules/conf_theme/e_int_config_transitions.c:271
@@ -2629,16 +2629,16 @@ msgid "None"
 msgstr "Nenhuma"
 
 #: src/bin/e_int_client_prop.c:308
-#: src/modules/conf_randr/e_int_config_randr2.c:487
-#: src/modules/conf_randr/e_int_config_randr2.c:742
-#: src/modules/conf_randr/e_int_config_randr2.c:1081
+#: src/modules/conf_randr/e_int_config_randr2.c:502
+#: src/modules/conf_randr/e_int_config_randr2.c:757
+#: src/modules/conf_randr/e_int_config_randr2.c:1114
 msgid "Above"
 msgstr "Por cima"
 
 #: src/bin/e_int_client_prop.c:312
-#: src/modules/conf_randr/e_int_config_randr2.c:489
-#: src/modules/conf_randr/e_int_config_randr2.c:753
-#: src/modules/conf_randr/e_int_config_randr2.c:1082
+#: src/modules/conf_randr/e_int_config_randr2.c:504
+#: src/modules/conf_randr/e_int_config_randr2.c:768
+#: src/modules/conf_randr/e_int_config_randr2.c:1115
 msgid "Below"
 msgstr "Por baixo"
 
@@ -3230,7 +3230,7 @@ msgid "Types"
 msgstr "Tipos"
 
 #: src/bin/e_int_config_comp_match.c:466
-#: src/modules/conf_randr/e_int_config_randr2.c:1046
+#: src/modules/conf_randr/e_int_config_randr2.c:1079
 msgid "On"
 msgstr "Ligado"
 
@@ -4780,7 +4780,7 @@ msgstr "Menu de aplicações"
 
 #: src/modules/backlight/e_mod_main.c:354
 #: src/modules/conf_display/e_mod_main.c:36
-#: src/modules/conf_randr/e_int_config_randr2.c:1007
+#: src/modules/conf_randr/e_int_config_randr2.c:1040
 msgid "Backlight"
 msgstr "Iluminação"
 
@@ -6846,111 +6846,115 @@ msgstr "Desempenho"
 msgid "Power Management"
 msgstr "Gestão de energia"
 
-#: src/modules/conf_randr

[EGIT] [evisum] 01/01: Updating portuguese transaltion

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 634e50b560034c35afb1dd3a53c5f1f8ad867abe
Author: maxerba 
AuthorDate: Tue Aug 6 13:30:09 2024 +0200

Updating portuguese transaltion
---
 po/pt.po | 204 ---
 1 file changed, 155 insertions(+), 49 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 46b627d..9779ab9 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1,22 +1,23 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# Portuguese translation for Evisum.
+# Copyright (C) 2020 Alastair "netstar" Poole
 # This file is distributed under the same license as the evisum package.
-# FIRST AUTHOR , YEAR.
+# Alastair Poole , 2020.
+# Hugo Carvalho , 2023, 2024.
 #
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: evisum\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-04-12 09:44+0200\n"
-"PO-Revision-Date: 2024-04-17 22:10+0100\n"
+"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
+"POT-Creation-Date: 2024-07-26 09:17+0200\n"
+"PO-Revision-Date: 2024-08-05 17:03+0100\n"
 "Last-Translator: Hugo Carvalho \n"
-"Language-Team: \n"
+"Language-Team: Portuguese\n"
 "Language: pt_PT\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 3.4.2\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 3.0.1\n"
 
 #: src/bin/next/process.c:76 src/bin/system/process.c:76
 #: src/bin/ui/ui_process_list.c:1039
@@ -40,11 +41,11 @@ msgstr "em execução"
 #: src/bin/system/process.c:79 src/bin/system/process.c:86
 #: src/bin/ui/ui_process_list.c:1029
 msgid "sleeping"
-msgstr "a dormir"
+msgstr "dormente"
 
 #: src/bin/next/process.c:80 src/bin/next/process.c:87
 #: src/bin/system/process.c:80 src/bin/system/process.c:87
-#: src/bin/ui/ui_process_list.c:1031 src/bin/ui/ui_process_view.c:923
+#: src/bin/ui/ui_process_list.c:1031 src/bin/ui/ui_process_view.c:924
 msgid "stopped"
 msgstr "parado"
 
@@ -242,7 +243,7 @@ msgid "Process ID"
 msgstr "Processo ID"
 
 #: src/bin/ui/ui_process_list.c:136 src/bin/ui/ui_process_list.c:1538
-#: src/bin/ui/ui_process_view.c:1688
+#: src/bin/ui/ui_process_view.c:1693
 msgid "Threads"
 msgstr "Fios"
 
@@ -343,7 +344,7 @@ msgstr "res."
 msgid "shr"
 msgstr "part."
 
-#: src/bin/ui/ui_process_list.c:195 src/bin/ui/ui_process_view.c:1459
+#: src/bin/ui/ui_process_list.c:195 src/bin/ui/ui_process_view.c:1464
 msgid "state"
 msgstr "estado"
 
@@ -351,7 +352,7 @@ msgstr "estado"
 msgid "time"
 msgstr "hora"
 
-#: src/bin/ui/ui_process_list.c:199 src/bin/ui/ui_process_view.c:1480
+#: src/bin/ui/ui_process_list.c:199 src/bin/ui/ui_process_view.c:1485
 msgid "cpu %"
 msgstr "cpu %"
 
@@ -368,7 +369,7 @@ msgstr "%i em execução, "
 #: src/bin/ui/ui_process_list.c:993
 #, c-format
 msgid "%i sleeping, "
-msgstr "%i a dormir, "
+msgstr "%i dormente, "
 
 #: src/bin/ui/ui_process_list.c:995
 #, c-format
@@ -403,11 +404,11 @@ msgstr "Depurar"
 msgid "General"
 msgstr "Geral"
 
-#: src/bin/ui/ui_process_list.c:1536 src/bin/ui/ui_process_view.c:1677
+#: src/bin/ui/ui_process_list.c:1536 src/bin/ui/ui_process_view.c:1682
 msgid "Children"
 msgstr "Subprocesso"
 
-#: src/bin/ui/ui_process_list.c:1540 src/bin/ui/ui_process_view.c:1699
+#: src/bin/ui/ui_process_list.c:1540 src/bin/ui/ui_process_view.c:1704
 msgid "Manual"
 msgstr "Manual"
 
@@ -439,130 +440,130 @@ msgstr "Pesquisar"
 msgid "Process Explorer"
 msgstr "Explorador de processos"
 
-#: src/bin/ui/ui_process_view.c:687
+#: src/bin/ui/ui_process_view.c:688
 #, c-format
 msgid "CPU: %.0f%%Size: %sReserved: %sVirtual: %s"
 msgstr "CPU: %.0f%%Tamanho: %sReservado: %sVirtual: %s"
 
-#: src/bin/ui/ui_process_view.c:864
+#: src/bin/ui/ui_process_view.c:865
 #, c-format
 msgid "No documentation found for %s."
 msgstr "Não foi encontrada documentação para %s."
 
-#: src/bin/ui/ui_process_view.c:1005
+#: src/bin/ui/ui_process_view.c:1006
 #, c-format
 msgid "%s (%d) - Not running"
 msgstr "%s (%d) - Não está em execução"
 
-#: src/bin/ui/ui_process_view.c:1172
+#: src/bin/ui/ui_process_view.c:1177
 msgid "Command:"
 msgstr "Comando:"
 
-#: src/bin/ui/ui_process_view.c:1181
+#: src/bin/ui/ui_process_view.c:1186
 msgid "Command line:"
 msgstr "Linha de comandos:"
 
-#: src/bin/ui/ui_process_view.c:1186
+#: src/bin/ui/ui_process_view.c:1191
 msgid "PID:"
 msgstr "PID:"
 
-#: src/bin/ui/ui_process_view.c:1191
+#: src/bin/ui/ui_process_view.c:1196
 msgid "Username:"
 msgstr "Nome de utilizador:"
 
-#: src/bin/ui/ui_process_view.c:1196
+#: src/bin/ui/ui_process_view.c:1201
 msgid "UID:"
 msgstr "UID:"
 
-#: src/bin/ui/ui_process_view.c:1201
+#: src/bin/ui/ui_process_view.c:1206
 msgid "PPID:"
 msgstr "PPID:"
 
-#: src/bin/ui/ui_process_view.c:1207
+#: src/bin/ui/ui_process_view.c:1212
 msgid "WQ #:"
 msgstr "WQ #:"
 
-#: src/bin/ui/ui_process_view.c:1209
+

[EGIT] [www-content] 01/01: evisum: Download blocked not https (fixed)

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit 84b1663b56f17e633cbf62524874855cc409b811
Author: Alastair Poole 
AuthorDate: Tue Aug 6 09:41:03 2024 +0100

evisum: Download blocked not https (fixed)
---
 pages/news/2024-08-06-evisum-0.6.1.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/news/2024-08-06-evisum-0.6.1.txt b/pages/news/2024-08-06-evisum-0.6.1.txt
index 0fed535da..0a51a6a65 100644
--- a/pages/news/2024-08-06-evisum-0.6.1.txt
+++ b/pages/news/2024-08-06-evisum-0.6.1.txt
@@ -9,7 +9,7 @@ Changes:
   * Lots of bug fixes.
 
 | LINK | SHA256 |
-| [[http://download.enlightenment.org/rel/apps/evisum/evisum-0.6.1.tar.xz | evisum-0.6.1.tar.xz ]] | 832f20b8de13e290890810267cf41ed84cbb0c84e2e20a14f6783632612dadb9 |
+| [[https://download.enlightenment.org/rel/apps/evisum/evisum-0.6.1.tar.xz | evisum-0.6.1.tar.xz ]] | 832f20b8de13e290890810267cf41ed84cbb0c84e2e20a14f6783632612dadb9 |
 
 {{:blank.png?nolink&100|}}
 ~~DISCUSSIONS~~


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: evisum: evisum-0.6.1

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit 17243a3dd80b96921db8d94410e9e82e663b69b6
Author: Alastair Poole 
AuthorDate: Tue Aug 6 09:38:23 2024 +0100

evisum: evisum-0.6.1
---
 pages/news/2024-08-06-evisum-0.6.1.txt | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/pages/news/2024-08-06-evisum-0.6.1.txt b/pages/news/2024-08-06-evisum-0.6.1.txt
new file mode 100644
index 0..0fed535da
--- /dev/null
+++ b/pages/news/2024-08-06-evisum-0.6.1.txt
@@ -0,0 +1,15 @@
+=== Evisum 0.6.1 Release ===
+  * //2024-08-06 - by Alastair Poole//
+
+The latest version of evisum.
+
+Much of this was written from a psychiatric ward bed.
+
+Changes:
+  * Lots of bug fixes.
+
+| LINK | SHA256 |
+| [[http://download.enlightenment.org/rel/apps/evisum/evisum-0.6.1.tar.xz | evisum-0.6.1.tar.xz ]] | 832f20b8de13e290890810267cf41ed84cbb0c84e2e20a14f6783632612dadb9 |
+
+{{:blank.png?nolink&100|}}
+~~DISCUSSIONS~~


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [www-content] 01/01: Wiki page download-latest changed with summary [] by Alastair Poole

2024-08-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www-content.


View the commit online.
commit 25994dc5e59d02c2f40958af69994e9977f826e8
Author: Alastair Poole 
AuthorDate: Tue Aug 6 01:28:47 2024 -0700

Wiki page download-latest changed with summary [] by Alastair Poole
---
 pages/download-latest.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/download-latest.txt b/pages/download-latest.txt
index c8909f58c..0d8864805 100644
--- a/pages/download-latest.txt
+++ b/pages/download-latest.txt
@@ -8,7 +8,7 @@ rage_v= 0.4.0
 econnman_v= 1.1
 ephoto_v  = 1.6.0
 epour_v   = 0.7.0
-evisum_v  = 0.6.0
+evisum_v  = 0.6.1
 extra_v   = 0.0.1
 ecrire_v  = 0.2.0
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: README: Fix mistake.

2024-08-05 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 60967a3ff5a59aa67681cf0ba024d59f344d7125
Author: Alastair Poole 
AuthorDate: Mon Aug 5 20:56:09 2024 +0100

README: Fix mistake.
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README b/README
index ad01281..7326055 100644
--- a/README
+++ b/README
@@ -35,7 +35,7 @@ $ evisum 
 
 Open CPU monitor:
 
-$ evisum -m
+$ evisum -c
 
 See --help for further options.
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: TODO: ++

2024-08-05 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit abd1d603c6087282a9ec76c526d66521c40031b3
Author: Alastair Poole 
AuthorDate: Mon Aug 5 17:40:10 2024 +0100

TODO: ++
---
 TODO | 4 
 1 file changed, 4 insertions(+)

diff --git a/TODO b/TODO
index 2c4aef6..c920bb7 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,7 @@
+Migrate to Enigmatic:
+
+See https://git.enlightenment.org/netstar/enigmatic.git
+
 Memory:
 
 Something pretty for memory usage over time. Work in progress might need to


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: next: Enigmatic is "next" remove this shit.

2024-08-05 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 4cf18e0408ae1a48e8329f6053ac2a21bc7c4dd0
Author: Alastair Poole 
AuthorDate: Mon Aug 5 17:35:13 2024 +0100

next: Enigmatic is "next" remove this shit.
---
 NEWS | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/NEWS b/NEWS
index c1240b7..7228872 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Evisum 0.6.1
   * Fix a horrible bug rendering in process view.
 Thanks for finding that raster :)
   * Fix parsing of command arguments edge case.
+  * Remove unused code.
+  * Revert back to the original icon.
 
 
 Evisum 0.6.0


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: remove ppc altivec yuv to rgb as it was broken anyway

2024-08-02 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 6860883e1814e7fd935173c4099302c7f30abed1
Author: Carsten Haitzler 
AuthorDate: Fri Aug 2 09:59:38 2024 +0100

remove ppc altivec yuv to rgb as it was broken anyway

i have no pcc hw and it seems no one who has any cares enough to run
and test this stuff and/or fix it... so best path - remove it and rely
on the generic c fallbacks and be a bit slower.

fixes #68

@fix
---
 src/lib/evas/common/evas_convert_yuv.c | 335 -
 1 file changed, 335 deletions(-)

diff --git a/src/lib/evas/common/evas_convert_yuv.c b/src/lib/evas/common/evas_convert_yuv.c
index ee753d1961..a4afcd2f36 100644
--- a/src/lib/evas/common/evas_convert_yuv.c
+++ b/src/lib/evas/common/evas_convert_yuv.c
@@ -22,10 +22,6 @@ static void _evas_yv12torgb_sse(unsigned char **yuv, unsigned char *rgb, int
 // Broken atm - the sse and mmx get math.. wrong :(
 //static void _evas_yv12_709torgb_mmx(unsigned char **yuv, unsigned char *rgb, int w, int h);
 static void _evas_yv12torgb_mmx(unsigned char **yuv, unsigned char *rgb, int w, int h);
-#ifdef BUILD_ALTIVEC
-static void _evas_yv12torgb_altivec(unsigned char **yuv, unsigned char *rgb, int w, int h);
-static void _evas_yv12torgb_diz(unsigned char **yuv, unsigned char *rgb, int w, int h);
-#endif
 static void _evas_yv12_709torgb_raster(unsigned char **yuv, unsigned char *rgb, int w, int h);
 static void _evas_yv12torgb_raster (unsigned char **yuv, unsigned char *rgb, int w, int h);
 static void _evas_yuy2torgb_raster (unsigned char **yuv, unsigned char *rgb, int w, int h);
@@ -101,38 +97,6 @@ const int _cgv709 = RZ(CGV709);   /* 0.534 */
 
 #endif
 
-#ifdef BUILD_ALTIVEC
-#ifdef __VEC__
-const vector unsigned short res = AVV(RES);
-const vector signed short crv   = AVV(RZ(CRV));
-const vector signed short cbu   = AVV(RZ(CBU));
-const vector signed short cgu   = AVV(RZ(CGU));
-const vector signed short cgv   = AVV(RZ(CGV));
-const vector signed short ymul  = AVV(RZ(YMUL));
-const vector signed short c128  = AVV(128);
-const vector signed short c32   = AVV(RZ(OFF));
-const vector signed short c16   = AVV(16);
-const vector unsigned char zero = AVV(0);
-const vector signed short maxchar   = AVV(255);
-const vector unsigned char pickrg1  = AVV(0, 0x1, 0x11, 0,
-	  0, 0x3, 0x13, 0,
-	  0, 0x5, 0x15, 0,
-	  0, 0x7, 0x17, 0);
-const vector unsigned char pickrg2  = AVV(0, 0x9, 0x19, 0,
-	  0, 0xb, 0x1b, 0,
-	  0, 0xd, 0x1d, 0,
-	  0, 0xf, 0x1f, 0);
-const vector unsigned char pickrgb1 = AVV(0x3, 0x1, 0x2, 0x11,
-	  0x7, 0x5, 0x6, 0x13,
-	  0xb, 0x9, 0xa, 0x15,
-	  0xf, 0xd, 0xe, 0x17);
-const vector unsigned char pickrgb2 = AVV(0x3, 0x1, 0x2, 0x19,
-	  0x7, 0x5, 0x6, 0x1b,
-	  0xb, 0x9, 0xa, 0x1d,
-	  0xf, 0xd, 0xe, 0x1f);
-#endif
-#endif
-
 /* shortcut speedup lookup-tables */
 static short _v1164[256];
 static short _v1596[256];
@@ -177,10 +141,6 @@ evas_common_convert_yuv_422p_601_rgba(DATA8 **src, DATA8 *dst, int w, int h)
  _evas_yv12torgb_sse(src, dst, w, h);
else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
  _evas_yv12torgb_mmx(src, dst, w, h);
-#ifdef BUILD_ALTIVEC
-   if (evas_common_cpu_has_feature(CPU_FEATURE_ALTIVEC))
- _evas_yv12torgb_altivec(src, dst, w, h);
-#endif
else
  _evas_yv12torgb_raster(src, dst, w, h);
 }
@@ -853,224 +813,6 @@ _evas_yv12torgb_mmx(unsigned char **yuv, unsigned char *rgb, int w, int h)
 #endif
 }
 
-#ifdef BUILD_ALTIVEC
-static void
-_evas_yv12torgb_altivec(unsigned char **yuv, unsigned char *rgb, int w, int h)
-{
-#ifdef __VEC__
-   int xx, yy;
-   int w2, h2;
-   unsigned char *yp1, *yp2, *up, *vp;
-   unsigned char *dp1, *dp2;
-   vector signed short y, u, v;
-   vector signed short r, g, b;
-   vector signed short tmp1, tmp2, tmp3;
-   vector unsigned char yperm, uperm, vperm, rgb1, rgb2;
-   vector unsigned char alpha;
-
-   /* handy halved w & h */
-   w2 = w / 2;
-   h2 = h / 2;
-   /* plane pointers */
-   yp1 = yuv;
-   yp2 = yuv + w;
-   up = yuv + (w * h);
-   vp = up + (w2 * h2);
-   /* destination pointers */
-   dp1 = rgb;
-   dp2 = rgb + (w * 4);
-
-   alpha = vec_mergeh((vector unsigned char)AVV(255), zero);
-   alpha = (vector unsigned char)vec_mergeh((vector unsigned short)alpha,
-	(vector unsigned short)zero);
-
-   for (yy = 0; yy < h2; yy++)
- {
-	for (xx = 0; xx < w2; xx += 4)
-	  {
-/* Cycles */
-	 /*
-	  * Load 4 y and 4 u & v pixels for the 8x2 pixel block.
-	  */
-/* 3 */  tmp3 = (vector signed short)vec_lde(0, (unsigned int *)yp1);
-/* 3 */  tmp1 = (vector signed short)vec_lde(0, (unsigned int *)up);
-/* 3 */  tmp2 = (vector signed short)vec_lde(0, (unsigned int *)vp);
-
-	 /* Prepare for aligning the data in their vectors */
-/* 3 */  yperm = vec_lvsl

[EGIT] [evisum] 01/01: process: shorten process state name mapping.

2024-08-02 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit c23b0d06f56e5804d58fc5806901f6675a1c3b74
Author: Alastair Poole 
AuthorDate: Fri Aug 2 09:51:36 2024 +0100

process: shorten process state name mapping.

I can't do with this long text. It makes me want to vomit.

Thank you please!
---
 src/bin/system/process.c | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 0d2b7b4..25db818 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -75,16 +75,16 @@ _states_init(void)
 #if defined(__linux__)
_states['D'] = _("dsleep");
_states['I'] = _("idle");
-   _states['R'] = _("running");
-   _states['S'] = _("sleeping");
-   _states['T'] = _("stopped");
+   _states['R'] = _("run");
+   _states['S'] = _("sleep");
+   _states['T'] = _("stop");
_states['X'] = _("dead");
_states['Z'] = _("zombie");
 #else
_states[SIDL]= _("idle");
-   _states[SRUN]= _("running");
-   _states[SSLEEP]  = _("sleeping");
-   _states[SSTOP]   = _("stopped");
+   _states[SRUN]= _("run");
+   _states[SSLEEP]  = _("sleep");
+   _states[SSTOP]   = _("stop");
 #if !defined(__MacOS__)
 #if !defined(__OpenBSD__)
_states[SWAIT]   = _("wait");
@@ -93,7 +93,7 @@ _states_init(void)
 #endif
 #if defined(__OpenBSD__)
_states[SDEAD]   = _("zombie");
-   _states[SONPROC] = _("running");
+   _states[SONPROC] = _("run");
 #endif
 #endif
 #endif


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: readme - fix typo

2024-08-01 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 4e53291941d53c88398ac6d7d38599fe5042abf1
Author: Carsten Haitzler 
AuthorDate: Thu Aug 1 17:52:11 2024 +0100

readme - fix typo
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ad87040ac..fefa7c46a 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ Highly suggested:
 * acpid (Unless your system doesn't have ACPI at all)
 * packagekit (For packagekit module updates status)
 * udisks2
-* gdb (If you want automatic bactraces in ~/.e-crashdump.txt)
+* gdb (If you want automatic backtraces in ~/.e-crashdump.txt)
 
 -
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: ecore-x: fix connector type get to actually work

2024-07-29 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 64e20e8a80be01fd612baaae99463beb2af4a96b
Author: Carsten Haitzler 
AuthorDate: Mon Jul 29 14:16:59 2024 +0100

ecore-x: fix connector type get to actually work

@fix
---
 src/lib/ecore_x/ecore_x_randr.c | 14 +-
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/lib/ecore_x/ecore_x_randr.c b/src/lib/ecore_x/ecore_x_randr.c
index 7c630c0fbe..90f8337982 100644
--- a/src/lib/ecore_x/ecore_x_randr.c
+++ b/src/lib/ecore_x/ecore_x_randr.c
@@ -3189,20 +3189,8 @@ ecore_x_randr_output_connector_type_get(Ecore_X_Window root EINA_UNUSED, Ecore_X
/* try to get the output property from Xrandr */
if ((info = XRRQueryOutputProperty(_ecore_x_disp, output, connector_type)))
  {
-int ret = -1;
-
-/* convert the current value */
-if (info->num_values > 0)
-  ret = (int)(val - info->values[0]);
-
-/* printf("\tReturn Value: %d\n", ret); */
-/* printf("\t\tActual Name: %s\n",  */
-/*XGetAtomName(_ecore_x_disp, ((Atom)info->values[ret]))); */
-
-/* free the info */
 free(info);
-
-return ret;
+return val;
  }
 #endif
return -1;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: gl_common: create cache dir on Windows

2024-07-29 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 91791583799739b874ba48d36a395d0ec874b45f
Author: Vincent Torri 
AuthorDate: Thu Jul 18 15:54:35 2024 +0200

gl_common: create cache dir on Windows
---
 src/modules/evas/engines/gl_common/evas_gl_file_cache.c | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
index 3366b7e6a8..2cf887c9f3 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
@@ -41,6 +41,7 @@ evas_gl_common_file_cache_mkpath(const char *path)
 {
char ss[PATH_MAX];
unsigned int i;
+   Eina_Bool found = EINA_FALSE;
 
 #if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
if (getuid() != geteuid()) return EINA_FALSE;
@@ -50,11 +51,19 @@ evas_gl_common_file_cache_mkpath(const char *path)
for (i = 0; path[i]; ss[i] = path[i], i++)
  {
 if (i == sizeof(ss) - 1) return EINA_FALSE;
-if ((path[i] == '/') && (i > 0))
+if ((path[i] == '/')
+#ifdef _WIN32
+|| (path[i] == '\\')
+#endif
+)
   {
- ss[i] = 0;
- if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
-return EINA_FALSE;
+ if (found)
+   {
+  ss[i] = 0;
+  if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
+return EINA_FALSE;
+   }
+ found = EINA_TRUE;
   }
  }
ss[i] = 0;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: gl_common: create cache dir on Windows

2024-07-29 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 91791583799739b874ba48d36a395d0ec874b45f
Author: Vincent Torri 
AuthorDate: Thu Jul 18 15:54:35 2024 +0200

gl_common: create cache dir on Windows
---
 src/modules/evas/engines/gl_common/evas_gl_file_cache.c | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
index 3366b7e6a8..2cf887c9f3 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
@@ -41,6 +41,7 @@ evas_gl_common_file_cache_mkpath(const char *path)
 {
char ss[PATH_MAX];
unsigned int i;
+   Eina_Bool found = EINA_FALSE;
 
 #if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
if (getuid() != geteuid()) return EINA_FALSE;
@@ -50,11 +51,19 @@ evas_gl_common_file_cache_mkpath(const char *path)
for (i = 0; path[i]; ss[i] = path[i], i++)
  {
 if (i == sizeof(ss) - 1) return EINA_FALSE;
-if ((path[i] == '/') && (i > 0))
+if ((path[i] == '/')
+#ifdef _WIN32
+|| (path[i] == '\\')
+#endif
+)
   {
- ss[i] = 0;
- if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
-return EINA_FALSE;
+ if (found)
+   {
+  ss[i] = 0;
+  if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
+return EINA_FALSE;
+   }
+ found = EINA_TRUE;
   }
  }
ss[i] = 0;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: e - reduce cpu usage with proto/steam games as they render

2024-07-28 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit aa2486d334e9d3c85e38108bdb3e1be0bb8a103d
Author: Carsten Haitzler 
AuthorDate: Sun Jul 28 21:41:19 2024 +0100

e - reduce cpu usage with proto/steam games as they render

these games are changing their props all the time ... uselessly
causing e to keep looking things up as it thinks they changed. they
didn't... but rate limit this to every 0.2 sec so we will update
just with a lag/delay which is fine. this drops cpu usage drastically.
actually by about 60-70% or more. i've seen e go from 30-35% down to
6-9%. i never noticed this before... so either it's a fairly new thing
or i never looked hard.

anyway - thanks perf! :)
---
 src/bin/e_client.c | 282 +
 src/bin/e_client.h |   3 +-
 2 files changed, 157 insertions(+), 128 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 45705bea3..8fd4b2db4 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -1769,6 +1769,14 @@ _e_client_maximize_run(E_Client *ec, int x, int y, int w, int h)
 }
 
 
+static Eina_Bool
+_cb_e_client_dummy_wake_eval(void *data)
+{
+  Ecore_Timer **timer = data;
+
+  *timer = NULL;
+  return EINA_FALSE;
+}
 
 static void
 _e_client_eval(E_Client *ec)
@@ -2198,96 +2206,102 @@ _e_client_eval(E_Client *ec)
 
if (ec->changes.icon)
  {
-if (!ec->new_client)
-  E_FREE_FUNC(ec->desktop, efreet_desktop_free);
-if (ec->remember && ec->remember->prop.desktop_file)
-  {
- Efreet_Desktop *d;
- const char *desktop = ec->remember->prop.desktop_file;
+   double t_dif = ecore_loop_time_get() - ec->desktop_last_change;
 
- d = efreet_desktop_get(desktop);
- if (!d)
-   d = efreet_util_desktop_name_find(desktop);
- if (d)
-   {
-  efreet_desktop_free(ec->desktop);
-  ec->desktop = d;
-   }
-  }
-if (!ec->desktop)
-  {
- if (ec->steam.steam_game_id)
-   {
-  Efreet_Desktop *d;
-  Eina_List *desks = efreet_util_desktop_name_glob_list("*");
-  EINA_LIST_FREE(desks, d)
-{
+   if (t_dif > 0.2) // rate liomit to 5 times per sec
+ { // why rate limit? this is costly to look up all the time. i found
+   // that some apps (ahem.. steam... games... proton) keep
+   // needelessly updating their props so we k3eep having to look up
+   // icons all the time. this is crazy - but it literally makes e
+   // use 3x as much cpu usage while a game renders. so rate limit
+   // this.
+   if (!ec->new_client)
+ E_FREE_FUNC(ec->desktop, efreet_desktop_free);
+   if (ec->remember && ec->remember->prop.desktop_file)
+ {
+   Efreet_Desktop *d;
+   const char *desktop = ec->remember->prop.desktop_file;
+
+   d = efreet_desktop_get(desktop);
+   if (!d) d = efreet_util_desktop_name_find(desktop);
+   if (d)
+ {
+   efreet_desktop_free(ec->desktop);
+   ec->desktop = d;
+ }
+ }
+   if (!ec->desktop)
+ {
+   if (ec->steam.steam_game_id)
+ {
+   Efreet_Desktop *d;
+   Eina_List *desks = efreet_util_desktop_name_glob_list("*");
+   EINA_LIST_FREE(desks, d)
+ {
if (!d->exec) continue;
if (!strncmp(d->exec, "steam ", 6))
  {
-const char *st = strstr(d->exec, "steam://rungameid/");
-if (st)
-  {
- st += strlen("steam://rungameid/");
- unsigned int id = atoi(st);
- if (id == ec->steam.steam_game_id)
-   ec->desktop = d;
-  }
+   const char *st = strstr(d->exec, "steam://rungameid/");
+   if (st)
+ {
+   st += strlen("steam://rungameid/");
+   unsigned int id = atoi(st);
+   if (id == ec->steam.steam_game_id)
+ ec->desktop = d;
+ }
  }
-}
-   }
-  }
-if (!ec->desktop)
-  {
- E_Exec_Instance *inst;
+ 

[EGIT] [efl] 01/01: ecore-x - fix check on connector type get when num values is 0

2024-07-28 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit be242d3670cc61ed232954145a314b23a1f481cc
Author: Carsten Haitzler 
AuthorDate: Sun Jul 28 12:19:17 2024 +0100

ecore-x - fix check on connector type get when num values is 0

@fix
---
 src/lib/ecore_x/ecore_x_randr.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_x/ecore_x_randr.c b/src/lib/ecore_x/ecore_x_randr.c
index bd1ef23427..7c630c0fbe 100644
--- a/src/lib/ecore_x/ecore_x_randr.c
+++ b/src/lib/ecore_x/ecore_x_randr.c
@@ -3189,10 +3189,11 @@ ecore_x_randr_output_connector_type_get(Ecore_X_Window root EINA_UNUSED, Ecore_X
/* try to get the output property from Xrandr */
if ((info = XRRQueryOutputProperty(_ecore_x_disp, output, connector_type)))
  {
-int ret = 0;
+int ret = -1;
 
 /* convert the current value */
-ret = (int)(val - info->values[0]);
+if (info->num_values > 0)
+  ret = (int)(val - info->values[0]);
 
 /* printf("\tReturn Value: %d\n", ret); */
 /* printf("\t\tActual Name: %s\n",  */


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: randr - use connectortype to also check if it's a lid

2024-07-28 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 4198dad0053a71f9ea63124157b93f9b1e8fa6da
Author: Carsten Haitzler 
AuthorDate: Sun Jul 28 12:12:09 2024 +0100

randr - use connectortype to also check if it's a lid
---
 src/bin/e_comp_x_randr.c | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/src/bin/e_comp_x_randr.c b/src/bin/e_comp_x_randr.c
index d4cd72753..15b3a1151 100644
--- a/src/bin/e_comp_x_randr.c
+++ b/src/bin/e_comp_x_randr.c
@@ -903,6 +903,12 @@ e_comp_x_randr_create(void)
E_Zone *zone;
int crtcs_num = 0, outputs_num = 0, i, j, k;
Ecore_X_Window root = ecore_x_window_root_first_get();
+   Ecore_X_Atom atom;
+   static Ecore_X_Atom atom_panel = 0;
+   // panel atoms...
+   // unknown VGA DVI DVI‐I DVI‐A DVI‐D HDMI Panel
+   // TV TV-Composite TV-SVideo TV-Component
+   // TV-SCART TV-C4 DisplayPort
E_Randr2 *r = calloc(1, sizeof(E_Randr2));
if (!r) return NULL;
 
@@ -916,6 +922,8 @@ e_comp_x_randr_create(void)
crtcs = ecore_x_randr_crtcs_get(root, &crtcs_num);
outputs = ecore_x_randr_outputs_get(root, &outputs_num);
 
+   if (atom_panel == 0) atom_panel = ecore_x_atom_get("Panel");
+
for (i = 0; i < outputs_num; i++)
  {
 Ecore_X_Randr_Mode *modes;
@@ -964,6 +972,8 @@ e_comp_x_randr_create(void)
   s->info.connector = E_RANDR2_CONNECTOR_DISPLAY_PORT;
 s->info.is_lid = _is_lid_name(s->info.name);
 s->info.lid_closed = s->info.is_lid && e_acpi_lid_is_closed();
+atom = ecore_x_randr_output_connector_type_get(root, outputs[i]);
+if (atom == atom_panel) s->info.is_lid = EINA_TRUE;
 printf("RRR: .. lid_closed = %i (%i && %i)\n", s->info.lid_closed, s->info.is_lid, e_acpi_lid_is_closed());
 if (ecore_x_randr_output_connection_status_get(root, outputs[i]) ==
 ECORE_X_RANDR_CONNECTION_STATUS_CONNECTED)


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: Updating french translation

2024-07-27 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit bb766d7fc4011edc107e481cb33863df0e5ad343
Author: maxerba 
AuthorDate: Sat Jul 27 12:40:16 2024 +0200

Updating french translation
---
 po/fr.po | 336 +++
 1 file changed, 187 insertions(+), 149 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 9023f7c..e3fc669 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -2,14 +2,14 @@
 # Copyright (C) 2020 Alastair "netstar" Poole
 # This file is distributed under the same license as the evisum package.
 # Alastair Poole , 2020.
-# similar , 2020, 2021.
+# similar , 2020, 2021, 2024.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: evisum\n"
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2021-04-02 13:16+0200\n"
-"PO-Revision-Date: 2021-05-03 12:48+0200\n"
+"POT-Creation-Date: 2024-07-26 09:17+0200\n"
+"PO-Revision-Date: 2024-07-26 10:17+0200\n"
 "Last-Translator: Philippe Jean Guillaumie \n"
 "Language-Team: French\n"
 "Language: fr\n"
@@ -17,145 +17,146 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Poedit 2.4.3\n"
+"X-Generator: Poedit 3.4.3\n"
 
-#: src/bin/system/process.c:76 src/bin/ui/ui_process_list.c:927
+#: src/bin/next/process.c:76 src/bin/system/process.c:76
+#: src/bin/ui/ui_process_list.c:1039
 msgid "dsleep"
 msgstr "dsleep"
 
+#: src/bin/next/process.c:77 src/bin/next/process.c:84
 #: src/bin/system/process.c:77 src/bin/system/process.c:84
-#: src/bin/ui/ui_process_list.c:921
+#: src/bin/ui/ui_process_list.c:1033
 msgid "idle"
 msgstr "inactif"
 
-#: src/bin/system/process.c:78 src/bin/system/process.c:85
-#: src/bin/system/process.c:96 src/bin/ui/ui_process_list.c:915
+#: src/bin/next/process.c:78 src/bin/next/process.c:85
+#: src/bin/next/process.c:96 src/bin/system/process.c:78
+#: src/bin/system/process.c:85 src/bin/system/process.c:96
+#: src/bin/ui/ui_process_list.c:1027
 msgid "running"
 msgstr "fonctionnel"
 
+#: src/bin/next/process.c:79 src/bin/next/process.c:86
 #: src/bin/system/process.c:79 src/bin/system/process.c:86
-#: src/bin/ui/ui_process_list.c:917
+#: src/bin/ui/ui_process_list.c:1029
 msgid "sleeping"
 msgstr "dormant"
 
+#: src/bin/next/process.c:80 src/bin/next/process.c:87
 #: src/bin/system/process.c:80 src/bin/system/process.c:87
-#: src/bin/ui/ui_process_list.c:919
+#: src/bin/ui/ui_process_list.c:1031 src/bin/ui/ui_process_view.c:924
 msgid "stopped"
 msgstr "arrêté"
 
-#: src/bin/system/process.c:81 src/bin/ui/ui_process_list.c:925
+#: src/bin/next/process.c:81 src/bin/system/process.c:81
+#: src/bin/ui/ui_process_list.c:1037
 msgid "dead"
 msgstr "mort"
 
-#: src/bin/system/process.c:82 src/bin/system/process.c:92
-#: src/bin/system/process.c:95 src/bin/ui/ui_process_list.c:923
+#: src/bin/next/process.c:82 src/bin/next/process.c:92
+#: src/bin/next/process.c:95 src/bin/system/process.c:82
+#: src/bin/system/process.c:92 src/bin/system/process.c:95
+#: src/bin/ui/ui_process_list.c:1035
 msgid "zombie"
 msgstr "zombie"
 
-#: src/bin/system/process.c:90
+#: src/bin/next/process.c:90 src/bin/system/process.c:90
 msgid "wait"
 msgstr "attente"
 
-#: src/bin/system/process.c:91
+#: src/bin/next/process.c:91 src/bin/system/process.c:91
 msgid "lock"
 msgstr "verrou"
 
-#: src/bin/ui/evisum_ui.c:308 src/bin/ui/evisum_ui.c:541
+#: src/bin/ui/evisum_ui.c:310 src/bin/ui/evisum_ui.c:603
 #, c-format
 msgid "%1.0f secs"
 msgstr "%1.0f secondes"
 
-#: src/bin/ui/evisum_ui.c:310
+#: src/bin/ui/evisum_ui.c:312
 #, c-format
 msgid "%1.0f sec"
 msgstr "%1.0f seconde"
 
-#: src/bin/ui/evisum_ui.c:420 src/bin/ui/ui_process_list.c:1384
+#: src/bin/ui/evisum_ui.c:448 src/bin/ui/ui_process_list.c:1567
 msgid "Actions"
 msgstr "Actions"
 
-#: src/bin/ui/evisum_ui.c:437
+#: src/bin/ui/evisum_ui.c:465
 msgid "Processes"
 msgstr "Processus"
 
-#: src/bin/ui/evisum_ui.c:444
+#: src/bin/ui/evisum_ui.c:472
 msgid "CPU"
 msgstr "CPU"
 
-#: src/bin/ui/evisum_ui.c:451
+#: src/bin/ui/evisum_ui.c:479
 msgid "Memory"
 msgstr "Mémoire"
 
-#: src/bin/ui/evisum_ui.c:458 src/bin/ui/ui_disk.c:566
+#: src/bin/ui/evisum_ui.c:486 src/bin/ui/ui_disk.c:566
 msgid "Storage"
 msgstr "Stockage"
 
-#: src/bin/ui/evisum_ui.c:465 src/bin/ui/ui_sensors.c:270
+#: src/bin/ui/evisum_ui.c:493 src/bin/ui/ui_sensors.c:270
 msgid "Sensors"
 msgstr "Capteurs"
 
-#: src/bin/ui/evisum_ui.c:472 src/bin/ui/ui_network.c:351
+#: src/bin/ui/evisum_ui.c:500 src/bin/ui/ui_network.c:351
 msgid "Network"
 msgstr "Réseau"
 
-#: src/bin/ui/evisum_ui.c:486
+#: src/bin/ui/evisum_ui.c:514
 msgid "Effects"
 msgstr "Effets"
 
-#: src/bin/ui/evisum_ui.c:500 src/bin/ui/ui_util.c:421
+#: src/bin/ui/evisum_ui.c:528 src/bin/ui/ui_util.c:422
 msgid "About"
 msgstr "À propos"
 
-#: src/bin/ui/evisum_ui.c:525 src/bin/ui/ui_cpu.c:728
+#: src/bin/

[EGIT] [evisum] 01/01: NEWS: Keep this up-to-date.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 0e6f4d8ee565458aaece1fbd608ee6cc49afa4e5
Author: Alastair Poole 
AuthorDate: Sat Jul 27 00:37:48 2024 +0100

NEWS: Keep this up-to-date.

o/
---
 NEWS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/NEWS b/NEWS
index 45caec8..c1240b7 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Evisum 0.6.1
   * Fix reporting of video RAM usage on Linux.
   * Fix a horrible bug rendering in process view.
 Thanks for finding that raster :)
+  * Fix parsing of command arguments edge case.
 
 
 Evisum 0.6.0


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: processs: Linux fix for process naming.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 17d45ac4bfe9ff12717f391d20d04f88be8d3400
Author: Alastair Poole 
AuthorDate: Sat Jul 27 00:36:14 2024 +0100

processs: Linux fix for process naming.

Processes can fuck with command arguments. This addresses that.

@fix
---
 src/bin/system/process.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index b810acf..0d2b7b4 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -205,6 +205,8 @@ _cmd_args(Proc_Info *p, char *name, size_t len)
 
char *end = strchr(name, ' ');
if (end) *end = '\0';
+   end = strchr(name, ':');
+   if (end) *end = '\0';
 
p->command = strdup(name);
 }


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enigmatic] 01/01: process: Fix for when process changes its cmdline.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enigmatic.


View the commit online.
commit ee044138fc8355008b98ddfb8333af4601d5b121
Author: Alastair Poole 
AuthorDate: Sat Jul 27 00:35:44 2024 +0100

process: Fix for when process changes its cmdline.
---
 src/bin/system/process.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 69ed426..755375c 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -208,6 +208,8 @@ _cmd_args(Proc_Info *p, char *name, size_t len)
 
char *end = strchr(name, ' ');
if (end) *end = '\0';
+   end = strchr(name, ':');
+   if (end) *end = '\0';
 
p->command = strdup(name);
 }


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: icon: Bring back the masterpiece.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit fc4b9d6f102801725992abee67f0b766ee932ba2
Author: Alastair Poole 
AuthorDate: Fri Jul 26 21:30:09 2024 +0100

icon: Bring back the masterpiece.

Fuck what everyone else is doing.

I love this.
---
 data/icons/evisum.png | Bin 23686 -> 79637 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/data/icons/evisum.png b/data/icons/evisum.png
index de946d4..931b0e5 100644
Binary files a/data/icons/evisum.png and b/data/icons/evisum.png differ


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: elementary_config: change to theme selection list.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.


View the commit online.
commit 01970a3a5c3a76b90911b92560551846218b2d1a
Author: Alastair Poole 
AuthorDate: Fri Jul 26 19:44:28 2024 +0100

elementary_config: change to theme selection list.

Multi-select here is confusing and the behaviour is broken.

As with the rest of the application only allow one item to be
selected at a time.
---
 src/bin/elementary/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c
index 3c85686431..2cfc3c8841 100644
--- a/src/bin/elementary/config.c
+++ b/src/bin/elementary/config.c
@@ -2251,7 +2251,7 @@ _status_config_themes(Evas_Object *win,
evas_object_show(pd);
 
li = elm_list_add(win);
-   elm_list_multi_select_set(li, EINA_TRUE);
+   elm_list_multi_select_set(li, EINA_FALSE);
evas_object_size_hint_weight_set(li, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(li, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_object_content_set(pd, li);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 02/02: some more comments//notes

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit 9a51d84dbe2328bb6b2a28e3e8b9a6a42b82711f
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Jul 26 19:12:37 2024 +0100

some more comments//notes
---
 src/efm/efm_util.c | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/efm/efm_util.c b/src/efm/efm_util.c
index 54ca5e2..299fadf 100644
--- a/src/efm/efm_util.c
+++ b/src/efm/efm_util.c
@@ -1174,6 +1174,8 @@ _cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   const char *icstr;
 
   // XXX: right click icon menu should have
+  //
+  // regular menu:
   // (if num selected > 0) Open
   // (if dir) Open new win (or same win depending on cfg)
   // (if num selected > 0) Open with -> list mime desktops + Other...
@@ -1201,6 +1203,10 @@ _cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   // ---
   // (if can write) New Dir
   // (if view win) Close view
+  // XXX: need to know to dismiss menu if icon freed
+  //
+  // allow backend to handkle right click instead and request show
+  // of menu then from backend
 
   printf("XXX: right mouse\n");
   icbuf = eina_strbuf_new();


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 01/02: add comments for a more proepr icon right click menu

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit ac7559ddac213a3a2e1c0d5053aa78452e87d190
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Jul 26 19:09:34 2024 +0100

add comments for a more proepr icon right click menu
---
 src/efm/efm_util.c | 29 +
 1 file changed, 29 insertions(+)

diff --git a/src/efm/efm_util.c b/src/efm/efm_util.c
index 1a11830..54ca5e2 100644
--- a/src/efm/efm_util.c
+++ b/src/efm/efm_util.c
@@ -1173,6 +1173,35 @@ _cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   Eina_Strbuf *icbuf;
   const char *icstr;
 
+  // XXX: right click icon menu should have
+  // (if num selected > 0) Open
+  // (if dir) Open new win (or same win depending on cfg)
+  // (if num selected > 0) Open with -> list mime desktops + Other...
+  // Actions -> list of desktops that have actions for this mime
+  // ---
+  // (if can werite) Cut
+  // Copy
+  // (if can write) Paste
+  // Copy path
+  // ---
+  // Seklect all / none
+  // ---
+  // (if can write) Trash
+  // (if can write) Delete
+  // ---
+  // (if can write) Rename
+  // ---
+  // Properties
+  // ---
+  // View mode ->  list of efnm view modes if can change
+  // Sort -> list of sort modes/flags if can change
+  // (if can change) View Settings
+  // ---
+  // Refresh View
+  // ---
+  // (if can write) New Dir
+  // (if view win) Close view
+
   printf("XXX: right mouse\n");
   icbuf = eina_strbuf_new();
   m1 = _efm_menu_add("Submenu", "std:mail-reply-all");


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 03/03: handle the mime edje objects too in menu

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit e98d662fd2f27fd8b228f902d6c316bfa23cef07
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Jul 26 18:21:18 2024 +0100

handle the mime edje objects too in menu
---
 src/efm/efm.c  |  33 +---
 src/efm/efm_util.c | 149 ++---
 2 files changed, 111 insertions(+), 71 deletions(-)

diff --git a/src/efm/efm.c b/src/efm/efm.c
index a85c361..3474a68 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -5,6 +5,7 @@
 //
 // maximum # of files in a dir that is sane: 10,000
 // maximum number of files in a dir on a real system to be fast with: 3,000
+#include "Edje.h"
 #include "cmd.h"
 #include "efm.h"
 #include "efl_ui_check_eo.legacy.h"
@@ -2001,7 +2002,7 @@ _menu_icon_radcheck_add(Evas_Object *o_base, int icon_col, const char *icon, int
   if (icon)
 { // we have an icon to add to the icon column
   // icon can be
-  // 
+  //
   // "std:menu-eject" - native to elm menus (strip std:)
   // "std:menu/folder" - native to elm menus (strip std:)
   // "file:/path/to/file.png" - use efm_icon
@@ -2010,6 +2011,7 @@ _menu_icon_radcheck_add(Evas_Object *o_base, int icon_col, const char *icon, int
   // "thumb:/path/to/file" - use efm_icon
   // "video:/path/to/file.mp4" - use efm_icon
   // "fdo:icon-name" - use efreet to look up icon then use that
+  o = NULL;
   if (!strncmp(icon, "std:", 4))
 {
   o = elm_icon_add(o_base);
@@ -2044,11 +2046,30 @@ _menu_icon_radcheck_add(Evas_Object *o_base, int icon_col, const char *icon, int
   o = elm_icon_add(o_base);
   elm_icon_standard_set(o, icon + 4);
 }
-  // XXX: what if its an alpha thumb - needs colro multiply by fg!
-  evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
-  evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-  elm_table_pack(o_table, o, icon_col, 0, 1, 1);
-  evas_object_show(o);
+  else if (!strncmp(icon, "edje:", 5))
+{
+  char *dup = strdup(icon);
+
+  if (dup)
+{
+  char *delim = strchr(dup, '|'); // | == magic delimiter char
+  if (delim)
+{
+  *delim = 0; // break string at delim /path/file.edj|group
+  o  = edje_object_add(evas_object_evas_get(o_base));
+  edje_object_file_set(o, dup + 5, delim + 1);
+}
+  free(dup);
+}
+}
+  // XXX: what if its an alpha thumb - needs color multiply by fg!
+  if (o)
+{
+  evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
+  evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+  elm_table_pack(o_table, o, icon_col, 0, 1, 1);
+  evas_object_show(o);
+}
 }
   else if (icon_num)
 { // other icons in the list, but not this one - so dummy rect
diff --git a/src/efm/efm_util.c b/src/efm/efm_util.c
index 1c9f6c5..1a11830 100644
--- a/src/efm/efm_util.c
+++ b/src/efm/efm_util.c
@@ -7,6 +7,7 @@
 #include "efm_back_end.h"
 #include "efm_private.h"
 #include "eina_strbuf.h"
+#include "eina_types.h"
 
 // util funcs for the efm view
 static inline int
@@ -690,22 +691,34 @@ _cb_icon_longpress_timer(void *data)
   return EINA_FALSE;
 }
 
+static Eina_Bool
+_file_video_is(const char *file)
+{
+  // XXX: this probably should look up in config
+  const char *videxts[]
+= { "webm", "ogv",  "mp4","m4v", "mpg", "mp2",  "mpeg",  "mpeg2",
+"avi",  "flv",  "wmv","f4v", "swf", "mkv",  "avchd", "mov",
+"3gp",  "3g2",  "prores", "vob", "mts", "m2ts", "ts","qt",
+"rm",   "rmvb", "viv","asf", "amv", "m2v",  "mpe",   "mpv",
+"svi",  "mxf",  "nsv","f4p", "f4b", NULL };
+  const char *ext = strrchr(file, '.');
+  int i;
+
+  if (!ext) return EINA_FALSE;
+  for (i = 0; videxts[i]; i++)
+{
+  if (!strcasecmp(ext + 1, videxts[i])) return EINA_TRUE;
+}
+  return EINA_FALSE;
+}
+
 static void
 _icon_file_set(Icon *icon, const char *file)
 {
-  const char *ext;
-
-  ext = strrchr(file, '.');
-  if (ext
-  && ((!strcasecmp(ext, ".webm")) || (!strcasecmp(ext, ".mp4"))
-  || (!strcasecmp(ext, ".m4v"
-{
-  efm_icon_video_set(icon->o_icon, file);
-}
+  if (_file_video_is(file))
+efm_icon_video_set(icon->o_icon, file);
   else
-{
-  efm_icon_file_set(icon->o_icon, file);
-}
+efm_icon_file_set(icon->o_icon, file);
 }
 
 void
@@ -1041,6 +1054,62 @@ _cb_ic_item7(void *data, void *data2, Evas_Object *efm,
   printf("ic7");
 }
 
+static const char *
+_icon_strbuf_icon_def(Icon *icon, Eina_Strbuf *icbuf)
+{
+  const char *icstr;
+
+  eina_strbuf_reset(icbuf);
+  if (icon->info.thumb)
+{
+  eina_st

[EGIT] [efm2] 02/03: menu - test icon types and handle them from icon file

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit e9729cd8f56a01ef2d0be683b53c3e9225321f8e
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Thu Jul 25 14:41:06 2024 +0100

menu - test icon types and handle them from icon file
---
 src/efm/efm.c  |  1 +
 src/efm/efm_util.c | 63 +++---
 2 files changed, 61 insertions(+), 3 deletions(-)

diff --git a/src/efm/efm.c b/src/efm/efm.c
index 0635232..a85c361 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -2044,6 +2044,7 @@ _menu_icon_radcheck_add(Evas_Object *o_base, int icon_col, const char *icon, int
   o = elm_icon_add(o_base);
   elm_icon_standard_set(o, icon + 4);
 }
+  // XXX: what if its an alpha thumb - needs colro multiply by fg!
   evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
   evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   elm_table_pack(o_table, o, icon_col, 0, 1, 1);
diff --git a/src/efm/efm_util.c b/src/efm/efm_util.c
index 1103c26..1c9f6c5 100644
--- a/src/efm/efm_util.c
+++ b/src/efm/efm_util.c
@@ -6,6 +6,7 @@
 #include "efm_dnd.h"
 #include "efm_back_end.h"
 #include "efm_private.h"
+#include "eina_strbuf.h"
 
 // util funcs for the efm view
 static inline int
@@ -1100,8 +1101,11 @@ _cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   if (!dragged)
 {
   Efm_Menu *m1, *m2;
+  Eina_Strbuf *icbuf;
+  const char *icstr;
 
   printf("XXX: right mouse\n");
+  icbuf = eina_strbuf_new();
   m1 = _efm_menu_add("Submenu", "std:mail-reply-all");
   _efm_menu_it_normal(m1, "Item 1", "std:menu/folder", _cb_ic_item1,
   icon, NULL);
@@ -1112,10 +1116,62 @@ _cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   _cb_ic_item3, icon, NULL);
   _efm_menu_it_normal(m1, "Item 4", "std:battery", _cb_ic_item4, icon,
   NULL);
-  
+
   m2 = _efm_menu_add("Main Menu", "std:security-high");
-  _efm_menu_it_normal(m2, "Item 5", "std:system-run", _cb_ic_item5, icon,
-  NULL);
+  eina_strbuf_reset(icbuf);
+  if (icon->info.thumb)
+{
+  eina_strbuf_append(icbuf, "thumb:");
+  eina_strbuf_append(icbuf, icon->info.thumb);
+}
+  else
+{
+  const char *ic;
+
+  ic = icon->info.pre_lookup_icon;
+  if (!ic) ic = icon->info.icon;
+  if (!ic)
+{
+//  snprintf(buf, sizeof(buf), "e/icons/fileman/mime/%s",
+//   icon->info.mime);
+//  icon_file = elm_theme_group_path_find(NULL, buf);
+//  // mime type icon exists
+//  if (icon_file) icon_group = buf;
+//  else
+//{ // use an out-of-theme std mime icon
+  ic = icon->info.mime_icon;
+//}
+}
+//  if (!ic)
+//{
+//  snprintf(buf, sizeof(buf), "e/icons/fileman/mime/inode/file");
+//  icon_file  = elm_theme_group_path_find(NULL, buf);
+//  icon_group = buf;
+//}
+  if ((ic) && (ic[0] == '/'))
+{
+  // XXX: need common code for this toshare
+  const char *ext = strrchr(ic, '.');
+  if (ext
+  && ((!strcasecmp(ext, ".webm"))
+  || (!strcasecmp(ext, ".mp4"))
+  || (!strcasecmp(ext, ".m4v"
+eina_strbuf_append(icbuf, "video:");
+  else eina_strbuf_append(icbuf, "file:");
+  eina_strbuf_append(icbuf, ic);
+}
+  else if (ic)
+{
+  eina_strbuf_append(icbuf, "std:");
+  eina_strbuf_append(icbuf, ic);
+}
+}
+  icstr = eina_strbuf_string_get(icbuf);
+  if ((icstr) && (!icstr[0])) icstr = NULL;
+  _efm_menu_it_normal(m2, icon->info.label, icstr, _cb_ic_item5,
+  icon, NULL);
+  _efm_menu_it_normal(m2, "Item 5", "std:system-run", _cb_ic_item5,
+  icon, NULL);
   _efm_menu_it_separator(m2);
   _efm_menu_it_check(m2, "Check 1", "std:folder", EINA_FALSE,
  _cb_ic_item6, icon, NULL);
@@ -1138,6 +1194,7 @@ _cb_icon_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
   _efm_menu_it_sub(m2, "Submenu here", "fdo:terminology", m1);
 
   _efm_menu_show(icon->sd->o_smart, m2, icon->down_x, icon->down_y);
+  

[EGIT] [efm2] 01/03: fix icon geom with keep aspect on

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit fe23746cd9feaa2624d022d548942d4ad5dc6d0f
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Thu Jul 25 14:40:48 2024 +0100

fix icon geom with keep aspect on
---
 src/efm/efm_icon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/efm/efm_icon.c b/src/efm/efm_icon.c
index 8e18cb2..e059652 100644
--- a/src/efm/efm_icon.c
+++ b/src/efm/efm_icon.c
@@ -550,7 +550,7 @@ _smart_calculate(Evas_Object *obj)
   geom.x = geom.x + ((geom.w - nw) / 2);
   geom.y = geom.y + ((geom.h - nh) / 2);
   geom.w = nw;
-  geom.h = nw;
+  geom.h = nh;
 }
   if (sd->o_image)
 evas_object_geometry_set(sd->o_image, geom.x, geom.y, geom.w, geom.h);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: process_view: Fuck the transit.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 0d28766bc67b66788622487b933b7c13c08b4e12
Author: Alastair Poole 
AuthorDate: Fri Jul 26 10:42:50 2024 +0100

process_view: Fuck the transit.

This is causing far too many issues. We don't need it.

o/
---
 src/bin/ui/ui_process_view.c | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/bin/ui/ui_process_view.c b/src/bin/ui/ui_process_view.c
index d5f2074..c801bcf 100644
--- a/src/bin/ui/ui_process_view.c
+++ b/src/bin/ui/ui_process_view.c
@@ -1574,8 +1574,8 @@ _manual_tab_add(Evas_Object *parent, Win_Data *wd)
 static void
 _tab_change(Win_Data *wd, Evas_Object *view, Evas_Object *obj)
 {
-   Elm_Transit *trans;
-   static Eina_Bool first_run = EINA_TRUE;
+   // Elm_Transit *trans;
+   // static Eina_Bool first_run = EINA_TRUE;
 
elm_object_disabled_set(wd->tab_general, 0);
elm_object_disabled_set(wd->tab_children, 0);
@@ -1586,6 +1586,7 @@ _tab_change(Win_Data *wd, Evas_Object *view, Evas_Object *obj)
evas_object_hide(wd->manual_view);
evas_object_hide(wd->thread_view);
 
+   /*
if (!first_run)
  {
 trans = elm_transit_add();
@@ -1594,14 +1595,14 @@ _tab_change(Win_Data *wd, Evas_Object *view, Evas_Object *obj)
 elm_transit_duration_set(trans, 0.15);
 elm_transit_effect_blend_add(trans);
  }
-
+   */
wd->current_view = view;
evas_object_show(view);
 
-   if (!first_run) elm_transit_go(trans);
+   //if (!first_run) elm_transit_go(trans);
 
elm_object_disabled_set(obj, 1);
-   first_run = EINA_FALSE;
+   //first_run = EINA_FALSE;
 }
 
 static void


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: fix: Fix horrible bug properly.

2024-07-26 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 37187ee8c597a96cad03bbee6f96d5228632c297
Author: Alastair Poole 
AuthorDate: Fri Jul 26 10:27:55 2024 +0100

fix: Fix horrible bug properly.

Disable transit on first run. Thank you for finding the cause
of this issue raster.

Hugs!!!
---
 NEWS |  3 ++-
 src/bin/ui/ui_process_view.c | 22 --
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/NEWS b/NEWS
index b01d275..45caec8 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,8 @@ Evisum 0.6.1
 
 
   * Fix reporting of video RAM usage on Linux.
-  * Fix a horrible bug rendering in process view horribly :)
+  * Fix a horrible bug rendering in process view.
+Thanks for finding that raster :)
 
 
 Evisum 0.6.0
diff --git a/src/bin/ui/ui_process_view.c b/src/bin/ui/ui_process_view.c
index 8d8963c..d5f2074 100644
--- a/src/bin/ui/ui_process_view.c
+++ b/src/bin/ui/ui_process_view.c
@@ -1029,10 +1029,6 @@ _proc_info_feedback_cb(void *data, Ecore_Thread *thread, void *msg)
wd = data;
proc = msg;
 
-   // Force the content table object to recalculate.
-   // This fixes a horrible bug. This is black magic.
-   evas_object_resize(wd->tb_content, ELM_SCALE_SIZE(460), 1);
-
if (!proc || (wd->start && (proc->start != wd->start)))
  {
 if (proc) proc_info_free(proc);
@@ -1579,6 +1575,7 @@ static void
 _tab_change(Win_Data *wd, Evas_Object *view, Evas_Object *obj)
 {
Elm_Transit *trans;
+   static Eina_Bool first_run = EINA_TRUE;
 
elm_object_disabled_set(wd->tab_general, 0);
elm_object_disabled_set(wd->tab_children, 0);
@@ -1589,17 +1586,22 @@ _tab_change(Win_Data *wd, Evas_Object *view, Evas_Object *obj)
evas_object_hide(wd->manual_view);
evas_object_hide(wd->thread_view);
 
-   trans = elm_transit_add();
-   elm_transit_object_add(trans, wd->current_view);
-   elm_transit_object_add(trans, view);
-   elm_transit_duration_set(trans, 0.15);
-   elm_transit_effect_blend_add(trans);
+   if (!first_run)
+ {
+trans = elm_transit_add();
+elm_transit_object_add(trans, wd->current_view);
+elm_transit_object_add(trans, view);
+elm_transit_duration_set(trans, 0.15);
+elm_transit_effect_blend_add(trans);
+ }
 
wd->current_view = view;
evas_object_show(view);
-   elm_transit_go(trans);
+
+   if (!first_run) elm_transit_go(trans);
 
elm_object_disabled_set(obj, 1);
+   first_run = EINA_FALSE;
 }
 
 static void


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: about: add some silly things.

2024-07-25 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 3b4cc7980b9bd2caa5ee7ab3b52dccaafbc1b851
Author: Alastair Poole 
AuthorDate: Thu Jul 25 21:55:12 2024 +

about: add some silly things.

I'm bored.
---
 src/bin/ui/ui_util.c | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index 182bcb1..ba626d5 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -378,11 +378,11 @@ evisum_about_window_show(void *data)
Evas_Coord x, y, w, h;
Evas_Coord iw, ih;
const char *msg[] = {
-  "monitor like it's 1999...",
-  "works for me!",
-  "killed by a Turtle!",
-  "logged in, base gone!",
-  "pancakes!",
+  "The greatest of all time...",
+  "Remember to take your medication!",
+  "Choose love!",
+  "I endorse this message!",
+  "Hack the planet!",
};
const char *copyright =
   ""


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: Updating french and italian translations

2024-07-25 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit b2f2f4020bd83e3671594dbbb856a5c54ab5d01c
Author: Massimo Maiurana 
AuthorDate: Thu Jul 25 19:32:46 2024 +0200

Updating french and italian translations
---
 po/fr.po | 140 +++--
 po/it.po | 144 +--
 2 files changed, 148 insertions(+), 136 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 896cf7608..befb8c9fa 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -17,9 +17,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: enlightenment\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-01-23 21:51+0100\n"
-"PO-Revision-Date: 2024-05-15 14:34+0200\n"
+"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
+"POT-Creation-Date: 2024-07-23 08:00+0200\n"
+"PO-Revision-Date: 2024-07-23 08:39+0200\n"
 "Last-Translator: Philippe Jean Guillaumie \n"
 "Language-Team: French\n"
 "Language: fr\n"
@@ -1600,7 +1600,7 @@ msgstr "Impossible d'éjecter le périphérique"
 #: src/bin/e_fm.c:10546 src/bin/e_fm.c:10550 src/bin/e_fm.c:10554
 #: src/bin/e_fm.c:10582 src/bin/e_fm.c:10587 src/bin/e_fm.c:10591
 #: src/bin/e_fm.c:10650 src/bin/e_fm.c:10880 src/bin/e_fm_prop.c:363
-#: src/bin/e_shelf.c:2268 src/modules/pager/e_mod_main.c:2109
+#: src/bin/e_shelf.c:2268 src/modules/pager/e_mod_main.c:2108
 #: src/modules/xwayland/e_mod_main.c:272 src/modules/xwayland/e_mod_main.c:347
 msgid "Error"
 msgstr "Erreur"
@@ -2347,7 +2347,7 @@ msgid "Window"
 msgstr "Fenêtre"
 
 #: src/bin/e_int_client_menu.c:156
-#: src/modules/conf_randr/e_int_config_randr2.c:1110
+#: src/modules/conf_randr/e_int_config_randr2.c:1143
 msgid "Align"
 msgstr "Aligner"
 
@@ -2530,10 +2530,10 @@ msgid "Window List"
 msgstr "Liste des fenêtres"
 
 #: src/bin/e_int_client_menu.c:1643 src/modules/pager/e_mod_main.c:350
-#: src/modules/pager/e_mod_main.c:2123 src/modules/pager/e_mod_main.c:2130
-#: src/modules/pager/e_mod_main.c:2137 src/modules/pager/e_mod_main.c:2139
-#: src/modules/pager/e_mod_main.c:2141 src/modules/pager/e_mod_main.c:2143
-#: src/modules/pager/e_mod_main.c:2145 src/modules/pager/e_mod_main.c:2147
+#: src/modules/pager/e_mod_main.c:2122 src/modules/pager/e_mod_main.c:2129
+#: src/modules/pager/e_mod_main.c:2136 src/modules/pager/e_mod_main.c:2138
+#: src/modules/pager/e_mod_main.c:2140 src/modules/pager/e_mod_main.c:2142
+#: src/modules/pager/e_mod_main.c:2144 src/modules/pager/e_mod_main.c:2146
 msgid "Pager"
 msgstr "Miniature des bureaux"
 
@@ -2627,9 +2627,9 @@ msgstr "Statique"
 #: src/modules/clock/e_mod_config.c:143
 #: src/modules/conf_bindings/e_int_config_mousebindings.c:356
 #: src/modules/conf_performance/e_int_config_powermanagement.c:200
-#: src/modules/conf_randr/e_int_config_randr2.c:479
-#: src/modules/conf_randr/e_int_config_randr2.c:698
-#: src/modules/conf_randr/e_int_config_randr2.c:1077
+#: src/modules/conf_randr/e_int_config_randr2.c:494
+#: src/modules/conf_randr/e_int_config_randr2.c:713
+#: src/modules/conf_randr/e_int_config_randr2.c:1110
 #: src/modules/conf_theme/e_int_config_fonts.c:742
 #: src/modules/conf_theme/e_int_config_transitions.c:212
 #: src/modules/conf_theme/e_int_config_transitions.c:271
@@ -2641,16 +2641,16 @@ msgid "None"
 msgstr "Aucun(e)"
 
 #: src/bin/e_int_client_prop.c:308
-#: src/modules/conf_randr/e_int_config_randr2.c:487
-#: src/modules/conf_randr/e_int_config_randr2.c:742
-#: src/modules/conf_randr/e_int_config_randr2.c:1081
+#: src/modules/conf_randr/e_int_config_randr2.c:502
+#: src/modules/conf_randr/e_int_config_randr2.c:757
+#: src/modules/conf_randr/e_int_config_randr2.c:1114
 msgid "Above"
 msgstr "Au-dessus"
 
 #: src/bin/e_int_client_prop.c:312
-#: src/modules/conf_randr/e_int_config_randr2.c:489
-#: src/modules/conf_randr/e_int_config_randr2.c:753
-#: src/modules/conf_randr/e_int_config_randr2.c:1082
+#: src/modules/conf_randr/e_int_config_randr2.c:504
+#: src/modules/conf_randr/e_int_config_randr2.c:768
+#: src/modules/conf_randr/e_int_config_randr2.c:1115
 msgid "Below"
 msgstr "Au-dessous"
 
@@ -3242,7 +3242,7 @@ msgid "Types"
 msgstr "Types"
 
 #: src/bin/e_int_config_comp_match.c:466
-#: src/modules/conf_randr/e_int_config_randr2.c:1046
+#: src/modules/conf_randr/e_int_config_randr2.c:1079
 msgid "On"
 msgstr "Actif"
 
@@ -4824,7 +4824,7 @@ msgstr "Menu des applications"
 
 #: src/modules/backlight/e_mod_main.c:354
 #: src/modules/conf_display/e_mod_main.c:36
-#: src/modules/conf_randr/e_int_config_randr2.c:1007
+#: src/modules/conf_randr/e_int_config_randr2.c:1040
 msgid "Backlight"
 msgstr "Rétroéclairage"
 
@@ -6895,111 +6895,115 @@ msgstr "Performance"
 msgid "Power Management"
 msgstr "Gestion de l'énergie"
 
-#: src/modules/conf_randr/e_int_config_randr2.c:79
+#: src/modules/conf_randr/e_int_config_randr2.c:80
 #: src/modules/conf_randr/e_mod_main.c:44
 #: src/modules/conf_randr/e_mod

[EGIT] [evisum] 01/01: process_view: Fix horrible bug.

2024-07-25 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit e39c57e3006504d0e5741163bf1dd2d27000d3fa
Author: Alastair Poole 
AuthorDate: Thu Jul 25 12:55:35 2024 +0100

process_view: Fix horrible bug.

This is some seriously mystical bullshit.

Nevermind.
---
 NEWS | 1 +
 src/bin/ui/ui_process_view.c | 7 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index ece5b98..b01d275 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ Evisum 0.6.1
 
 
   * Fix reporting of video RAM usage on Linux.
+  * Fix a horrible bug rendering in process view horribly :)
 
 
 Evisum 0.6.0
diff --git a/src/bin/ui/ui_process_view.c b/src/bin/ui/ui_process_view.c
index 8bd92e7..8d8963c 100644
--- a/src/bin/ui/ui_process_view.c
+++ b/src/bin/ui/ui_process_view.c
@@ -7,6 +7,7 @@
 typedef struct
 {
Evas_Object *win;
+   Evas_Object *tb_content;
 
Evas_Object *tab_general;
Evas_Object *tab_children;
@@ -1028,6 +1029,10 @@ _proc_info_feedback_cb(void *data, Ecore_Thread *thread, void *msg)
wd = data;
proc = msg;
 
+   // Force the content table object to recalculate.
+   // This fixes a horrible bug. This is black magic.
+   evas_object_resize(wd->tb_content, ELM_SCALE_SIZE(460), 1);
+
if (!proc || (wd->start && (proc->start != wd->start)))
  {
 if (proc) proc_info_free(proc);
@@ -1831,7 +1836,7 @@ ui_process_view_win_add(int pid, Evisum_Proc_Action action)
evas_object_show(bx);
elm_box_pack_end(bx, tabs);
 
-   tb = elm_table_add(bx);
+   wd->tb_content = tb = elm_table_add(bx);
evas_object_size_hint_weight_set(tb, EXPAND, EXPAND);
evas_object_size_hint_align_set(tb, FILL, 0.0);
evas_object_show(tb);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 01/01: more polishing on efm menus.... now rthe elm ones begin to be nice

2024-07-23 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit ae3e970e884377a19002918c1ee6d7f6489ef80f
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Tue Jul 23 19:02:13 2024 +0100

more polishing on efm menus now rthe elm ones begin to be nice

elm menus still cant do titles... :(
---
 src/efm/efm.c  | 166 -
 src/efm/efm_util.c |  41 ++---
 2 files changed, 148 insertions(+), 59 deletions(-)

diff --git a/src/efm/efm.c b/src/efm/efm.c
index 8ae520f..0635232 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -16,6 +16,7 @@
 #include "efm_custom.h"
 #include "efm_private.h"
 #include "eina_types.h"
+#include "elm_table_eo.legacy.h"
 
 int _log_dom = -1;
 
@@ -1986,20 +1987,21 @@ _cb_menu_item(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
   efm_menu_provider_select(efm, mi->index);
 }
 
-static void _menu_create_walk(void *data, Evas_Object *obj, const Efm_Menu *m,
-  Evas_Object *o_menu, Elm_Object_Item *it_parent)
+static Evas_Object *
+_menu_icon_radcheck_add(Evas_Object *o_base, int icon_col, const char *icon, int icon_num)
 {
-  int i;
-  Elm_Object_Item *it;
-  Evas_Object *o, *o_radio = NULL;
-  int radioval = 0;
+  Evas_Object *o_table, *o;
 
-  for (i = 0; i < m->item_num; i++)
-   {
-  const Efm_Menu_Item *mi = &(m->item[i]);
-  // XXX: figure out an icon name from mi->icon properly
-  // use elm_object_item_content_set() if needed
-  // e.g.
+  o_table = o = elm_table_add(o_base);
+  elm_table_homogeneous_set(o, EINA_TRUE);
+  // add a "dummy" never shown check+radio in first cell for sizing.
+  // homogenous cells mean 2nd cell will be same size too if there
+  elm_table_pack(o, elm_check_add(o_base), 0, 0, 1, 1);
+  elm_table_pack(o, elm_radio_add(o_base), 0, 0, 1, 1);
+  if (icon)
+{ // we have an icon to add to the icon column
+  // icon can be
+  // 
   // "std:menu-eject" - native to elm menus (strip std:)
   // "std:menu/folder" - native to elm menus (strip std:)
   // "file:/path/to/file.png" - use efm_icon
@@ -2008,24 +2010,100 @@ static void _menu_create_walk(void *data, Evas_Object *obj, const Efm_Menu *m,
   // "thumb:/path/to/file" - use efm_icon
   // "video:/path/to/file.mp4" - use efm_icon
   // "fdo:icon-name" - use efreet to look up icon then use that
-  //
-  // XXX: we have a core problem with elm menus. radio, check OR icon. not
-  // both - maybe use an box or table for menu content and do our own
-  // menu icons ? then we can have a radio/check and icon... to do this
-  // we need to pre-scan all items to see if any have icons at all, and
-  // if any are check or radio - then 0 column, 1 or 2 column for the
-  // box or table and add some padding i guess...
+  if (!strncmp(icon, "std:", 4))
+{
+  o = elm_icon_add(o_base);
+  elm_icon_standard_set(o, icon + 4);
+}
+  else if (!strncmp(icon, "file:", 5))
+{
+  o = efm_icon_add(o_base);
+  efm_icon_keep_aspect_set(o, EINA_TRUE);
+  efm_icon_file_set(o, icon + 5);
+}
+  else if (!strncmp(icon, "/", 1))
+{
+  o = efm_icon_add(o_base);
+  efm_icon_keep_aspect_set(o, EINA_TRUE);
+  efm_icon_file_set(o, icon);
+}
+  else if (!strncmp(icon, "thumb:", 6))
+{
+  o = efm_icon_add(o_base);
+  efm_icon_keep_aspect_set(o, EINA_TRUE);
+  efm_icon_thumb_set(o, icon + 6);
+}
+  else if (!strncmp(icon, "video:", 6))
+{
+  o = efm_icon_add(o_base);
+  efm_icon_keep_aspect_set(o, EINA_TRUE);
+  efm_icon_video_set(o, icon + 6);
+}
+  else if (!strncmp(icon, "fdo:", 4))
+{
+  o = elm_icon_add(o_base);
+  elm_icon_standard_set(o, icon + 4);
+}
+  evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
+  evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+  elm_table_pack(o_table, o, icon_col, 0, 1, 1);
+  evas_object_show(o);
+}
+  else if (icon_num)
+{ // other icons in the list, but not this one - so dummy rect
+  o = evas_object_rectangle_add(evas_object_evas_get(o_base));
+  elm_table_pack(o_table, o, icon_col, 0, 1, 1);
+}
+  return o_table;
+}
 
+static void _menu_create_walk(void *data, Evas_Object *obj, const Efm_Menu *m,
+  Evas_Object *o_menu, Elm_Object_Item *it_parent)
+{
+  Elm_Object_Item *it;
+  Evas_Object *o, *o_radio = NULL, *o_table;
+  int  i, radioval = 0;
+  int  icon_num = 0, checkradio_num = 0, do_table, icon_col, radcheck_col;
+
+  // count columns for icon and radio
+  for (i = 0; i < m->item_num; i++)
+{
+  const Efm_Menu_Item *m

[EGIT] [enlightenment] 01/03: fprint - dont need 99 percent of meson.build main - nuke it

2024-07-22 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit d213ba1ba44908dac97cc4c922ee7c4a101358b3
Author: Carsten Haitzler 
AuthorDate: Mon Jul 22 10:39:44 2024 +0100

fprint - dont need 99 percent of meson.build main - nuke it

this fixes #78 in part - more to come
@fix
---
 src/bin/tools/fprint/meson.build | 108 ---
 1 file changed, 108 deletions(-)

diff --git a/src/bin/tools/fprint/meson.build b/src/bin/tools/fprint/meson.build
index 27a3b2840..89824c757 100644
--- a/src/bin/tools/fprint/meson.build
+++ b/src/bin/tools/fprint/meson.build
@@ -1,111 +1,3 @@
-# project
-#project('e-fprint-gui', 'c',
-#version: '0.1',
- #   license: 'BSD 2 clause',
-#default_options: [ 'c_std=gnu99' ],
-#meson_version  : '>= 0.40.0')
-#base_url = 'https://github.com/jf-simon/e-fprint-gui'
-
-# convenience variables for later
-proj = meson.project_name()
-ver  = meson.project_version()
-cfg  = configuration_data()
-
-# dependencies
-efl_version = '>= 1.19.0'
-elm  = dependency('elementary', required: true,  version: efl_version)
-edje = dependency('edje',   required: true,  version: efl_version)
-ecore = dependency('ecore', required: true,  version: efl_version)
-ecorex = dependency('ecore-x', required: true,  version: efl_version)
-depe = dependency('enlightenment', required: false)
-#curl_dep = dependency('libcurl', version : '>= 7.35.0', required: true)
-
-# check for windows dependency
-#if build_machine.system() == 'windows'
-#   win = dependency('evil', version: efl_version)
-#endif
-
-# dir locations
-#dir_prefix = get_option('prefix')
-#dir_bin= join_paths(dir_prefix, get_option('bindir'))
-#dir_lib= join_paths(dir_prefix, get_option('libdir'))
-#dir_data   = join_paths(dir_prefix, get_option('datadir'))
-#dir_locale = join_paths(dir_prefix, get_option('localedir'))
-
-# config.h
-#cfg.set_quoted('PACKAGE' , proj)
-#cfg.set_quoted('PACKAGE_NAME', proj)
-#cfg.set_quoted('PACKAGE_VERSION' , ver)
-#cfg.set_quoted('PACKAGE_STRING'  , proj + ' ' + ver)
-#cfg.set_quoted('PACKAGE_URL' , base_url + proj)
-#cfg.set_quoted('PACKAGE_BIN_DIR' , dir_bin)
-#cfg.set_quoted('PACKAGE_LIB_DIR' , dir_lib)
-#cfg.set_quoted('BINDIR'   		  , dir_bin)
-#cfg.set_quoted('DATADIR'  		  , dir_data)
-#cfg.set_quoted('PACKAGE_DATA_DIR', join_paths(dir_data, proj))
-#cfg.set_quoted('LOCALEDIR'   , dir_locale)
-
-#add_global_arguments('-DPACKAGE_BIN_DIR="@0@"'.format(dir_bin), language: 'c')
-#add_global_arguments('-DPACKAGE_LIB_DIR="@0@"'.format(dir_lib), language: 'c')
-#add_global_arguments('-DPACKAGE_DATA_DIR="@0@"'.format(join_paths(dir_data, proj)), language: 'c')
-
-# get C compiler
-#cc = meson.get_compiler('c')
-
-# get edje command
-#edje_cmd = join_paths(edje.get_pkgconfig_variable('prefix'),
-#  'bin', 'edje_cc')
-
-# Check for windows
-#if build_machine.system() == 'windows'
-#cfg.set   ('_WIN32'  , 1)
-#endif
-# Check for arpa/inet and netinet/in.h
-#if cc.has_header('arpa/inet.h') == true
-#cfg.set   ('HAVE_ARPA_INET_H', 1)
-#endif
-#if cc.has_header('netinet/in.h') == true
-#cfg.set   ('HAVE_NETINET_IN_H'   , 1)
-#endif
-#if exif.found() == true
-#cfg.set   ('HAVE_LIBEXIF', 1)
-#endif
-#if depe.found() == true
-#build_gadget = true
-#cfg.set   ('HAVE_E'  , 1)
-#endif
-## translations
-#use_translations = false
-#depnls = []
-#intl_lib = cc.find_library('intl', required: false)
-#if intl_lib.found()
-#  cfg.set('HAVE_GETTEXT', 1)
-#  cfg.set('ENABLE_NLS', 1)
-#  depnls = [intl_lib]
-#  use_translations = true
-#else
-#  gettext_code = '''
-#  #include 
-#  int main(int argc, char *argv[]) {
-#  (void)ngettext("", "", 0);
-#  return 0;
-#  }
-#  '''
-#  if cc.links(gettext_code)
-#cfg.set('HAVE_GETTEXT', 1)
-#cfg.set('ENABLE_NLS', 1)
-#use_translations = true
-#  endif
-#endif
-#configure_file(output: 'config.h', configuration: cfg)
-
-#install_data('AUTHORS',
-# install_dir: join_paths(dir_data, 'e-fprint-gui'))
-
-#if use_translations
-#  subdir('po')
-#endif
-
 eldbus_codegen = find_program('eldbus-codegen')
 
 subdir('src')


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 03/03: no e xsettings if wl only

2024-07-22 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 80aac84063088275b91c4a5db7769a8e88ac9c95
Author: Carsten Haitzler 
AuthorDate: Mon Jul 22 11:05:29 2024 +0100

no e xsettings if wl only

also fixes #78
---
 src/bin/e_includes.h | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_includes.h b/src/bin/e_includes.h
index eb914f42f..9fee1c39e 100644
--- a/src/bin/e_includes.h
+++ b/src/bin/e_includes.h
@@ -137,7 +137,9 @@
 #include "e_env.h"
 #include "e_backlight.h"
 #include "e_deskenv.h"
-#include "e_xsettings.h"
+#ifndef HAVE_WAYLAND_ONLY
+# include "e_xsettings.h"
+#endif
 #include "e_update.h"
 #include "e_xkb.h"
 #include "e_log.h"
@@ -152,8 +154,10 @@
 #include "e_comp_canvas.h"
 #include "e_utils.h"
 #include "e_hints.h"
-#include "e_comp_x_devices.h"
-#include "e_comp_x_randr.h"
+#ifndef HAVE_WAYLAND_ONLY
+# include "e_comp_x_devices.h"
+# include "e_comp_x_randr.h"
+#endif
 #include "e_watchdog.h"
 #include "e_gesture.h"
 #include "e_sound.h"


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 02/03: randr config dialog - dont use x flags if no x supported

2024-07-22 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 0558ebe25eb489004df760264f522d2958b31d42
Author: Carsten Haitzler 
AuthorDate: Mon Jul 22 10:45:20 2024 +0100

randr config dialog - dont use x flags if no x supported

fixes #78 partly
---
 src/modules/conf_randr/e_int_config_randr2.c | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/modules/conf_randr/e_int_config_randr2.c b/src/modules/conf_randr/e_int_config_randr2.c
index b73a721ed..5b2fa3a91 100644
--- a/src/modules/conf_randr/e_int_config_randr2.c
+++ b/src/modules/conf_randr/e_int_config_randr2.c
@@ -412,15 +412,18 @@ _basic_screen_info_fill(E_Config_Dialog_Data *cfdata, E_Config_Randr2_Screen *cs
   {
  mode_cbdata->cfdata = cfdata;
  mode_cbdata->mode = *m;
- if (m->flags & ECORE_X_RANDR_MODE_DOUBLE_SCAN)
+#ifdef E_COMP_X
+ if ((e_comp->comp_type == E_PIXMAP_TYPE_X) &&
+ (m->flags & ECORE_X_RANDR_MODE_DOUBLE_SCAN))
snprintf(buf, sizeof(buf), "%ix%i @ %1.2fHz (Doublescan)", m->w, m->h, m->refresh / 2);
- else if (m->flags & ECORE_X_RANDR_MODE_INTERLACE)
+ else if ((e_comp->comp_type == E_PIXMAP_TYPE_X) &&
+  (m->flags & ECORE_X_RANDR_MODE_INTERLACE))
snprintf(buf, sizeof(buf), "%ix%i @ %1.2fHz (Interlaced)", m->w, m->h, m->refresh);
  else
+#endif
snprintf(buf, sizeof(buf), "%ix%i @ %1.2fHz", m->w, m->h, m->refresh);
  it = elm_list_item_append(cfdata->modes_obj, buf, NULL, NULL, _cb_mode_set, mode_cbdata);
  cfdata->freelist = eina_list_append(cfdata->freelist, mode_cbdata);
- /* printf("mode add %p %p %p\n", mode_cbdata, cfdata->modes_obj, it); */
  if ((cs->mode_w == m->w) && (cs->mode_h == m->h) &&
  (fabs(cs->mode_refresh - m->refresh) < 0.01 ))
it_sel = it;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 01/01: add start of efm popup menu infra

2024-07-20 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit fe0faf5b5632c21140cf7ab3a47ada4a681f1978
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Sat Jul 20 11:48:28 2024 +0100

add start of efm popup menu infra

built in default menu provider using elm mnenus. idea is you can
provide an external menu provider too (like e_menu's)

check and radio are not fully baked as we dont have icons in the elm
menu provider - see comments (also icons in general need to be better)

current test menu does nothing... i will need to handle things like
if a menu is for an icon - cancel menu if icon deleted. need to handle
popup menus on blank space too.

probably better also to move menu code to another file?
---
 src/efm/efm.c | 200 ++
 src/efm/efm.h |  59 ---
 src/efm/efm_private.h |  29 ++--
 src/efm/efm_structs.h |   8 ++
 src/efm/efm_util.c| 196 -
 5 files changed, 477 insertions(+), 15 deletions(-)

diff --git a/src/efm/efm.c b/src/efm/efm.c
index 9800b06..8ae520f 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -7,6 +7,7 @@
 // maximum number of files in a dir on a real system to be fast with: 3,000
 #include "cmd.h"
 #include "efm.h"
+#include "efl_ui_check_eo.legacy.h"
 #include "efm_icon.h"
 #include "efm_graph.h"
 #include "efm_util.h"
@@ -14,6 +15,7 @@
 #include "efm_back_end.h"
 #include "efm_custom.h"
 #include "efm_private.h"
+#include "eina_types.h"
 
 int _log_dom = -1;
 
@@ -804,6 +806,7 @@ _smart_add(Evas_Object *obj)
   -100, _cb_key_down, sd);
   evas_object_event_callback_add(sd->o_clip, EVAS_CALLBACK_FOCUS_OUT,
  _cb_focus_out, sd);
+  sd->menu_provider.cb = efm_menu_provider_default;
   _efm_list = eina_list_prepend(_efm_list, obj);
 }
 
@@ -817,6 +820,7 @@ _smart_del(Evas_Object *obj)
   Smart_Data_Timer *st;
   ENTRY;
 
+  efm_menu_provider_select(sd->o_smart, -1);
   _efm_list = eina_list_remove(_efm_list, obj);
   e = evas_object_evas_get(obj);
   evas_event_callback_del_full(e, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE,
@@ -1333,6 +1337,7 @@ _reset(Smart_Data *sd)
   const char  *s;
 
   // clear out stuff there so we can start listing again...
+  efm_menu_provider_select(sd->o_smart, -1);
   sd->file_max = 0;
   EINA_LIST_FREE(sd->blocks, block) _block_free(block);
   while (sd->icons)
@@ -1898,3 +1903,198 @@ efm_backend_set(Evas_Object *obj, const char *backend)
   if (!backend) backend = "default";
   eina_stringshare_replace(&(sd->config.backend), backend);
 }
+
+void
+efm_menu_provider_set(Evas_Object *obj, Efm_Menu_Provider cb, void *data)
+{ // set a func to build/show a menu and handle interaction with it
+  ENTRY;
+
+  sd->menu_provider.cb = cb;
+  sd->menu_provider.data = ""
+}
+
+static Eina_Bool
+_item_find_call(Evas_Object *obj, const Efm_Menu *m, int index)
+{
+  int i;
+
+  for (i = 0; i < m->item_num; i++)
+{
+  if (m->item[i].index == index)
+{
+  Efm_Menu_Item_Callback fn = m->item[i].private1;
+
+  if (fn)
+fn(m->item[i].private2, m->item[i].private3, obj,
+   &(m->item[i]));
+  return EINA_TRUE;
+}
+  else if (m->item[i].type == EFM_MENU_ITEM_SUBMENU)
+{
+  if (_item_find_call(obj, m->item[i].sub, index)) return EINA_TRUE;
+}
+}
+  return EINA_FALSE;
+}
+
+void
+efm_menu_provider_select(Evas_Object *obj, int index)
+{ // call this to tell efm what was selected, or index -1 for dismissed
+  ENTRY;
+
+  if (!sd->menu_provider.menu) return;
+  if (index == -1)
+{
+  _efm_menu_del(sd->menu_provider.menu);
+  sd->menu_provider.menu = NULL;
+  sd->menu_provider.menu_data = sd->menu_provider.cb(
+sd->menu_provider.data, sd->menu_provider.menu_data, obj,
+NULL, 0, 0);
+}
+  else
+{
+  const Efm_Menu *m = sd->menu_provider.menu;
+
+  _item_find_call(obj, m, index);
+   };
+}
+
+void
+_efm_menu_show(Evas_Object *obj, Efm_Menu *m, Evas_Coord x, Evas_Coord y)
+{ // called within efm to ask to show a popup menu, m is NULL to dismiss
+  ENTRY;
+
+  if (!sd->menu_provider.cb) return;
+  sd->menu_provider.menu = m;
+  sd->menu_provider.menu_data
+= sd->menu_provider.cb(sd->menu_provider.data, sd->menu_provider.menu_data,
+   obj, sd->menu_provider.menu, x, y);
+}
+
+static void
+_cb_menu_dismissed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+{ // called when the menu is closed
+  efm_menu_provider_select(data, -1);
+}
+
+static void
+_cb_menu_item(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
+{
+  Evas_Object *efm = evas_object_data_get(obj, "efm");
+  Efm_Menu_Item *mi  = data;
+
+  efm_menu_provider_select(efm, m

[EGIT] [efl] 01/01: gl_common: create cache dir on Windows

2024-07-18 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/66/head
in repository efl.


View the commit online.
commit c272d12b136c802f7a97c190106f528e19b792df
Author: Vincent Torri 
AuthorDate: Thu Jul 18 15:54:35 2024 +0200

gl_common: create cache dir on Windows
---
 src/modules/evas/engines/gl_common/evas_gl_file_cache.c | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
index 3366b7e6a8..2cf887c9f3 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
@@ -41,6 +41,7 @@ evas_gl_common_file_cache_mkpath(const char *path)
 {
char ss[PATH_MAX];
unsigned int i;
+   Eina_Bool found = EINA_FALSE;
 
 #if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
if (getuid() != geteuid()) return EINA_FALSE;
@@ -50,11 +51,19 @@ evas_gl_common_file_cache_mkpath(const char *path)
for (i = 0; path[i]; ss[i] = path[i], i++)
  {
 if (i == sizeof(ss) - 1) return EINA_FALSE;
-if ((path[i] == '/') && (i > 0))
+if ((path[i] == '/')
+#ifdef _WIN32
+|| (path[i] == '\\')
+#endif
+)
   {
- ss[i] = 0;
- if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
-return EINA_FALSE;
+ if (found)
+   {
+  ss[i] = 0;
+  if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
+return EINA_FALSE;
+   }
+ found = EINA_TRUE;
   }
  }
ss[i] = 0;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efl] 01/01: gl_common: create cache dir on Windows

2024-07-18 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch evas_gl_mkdir
in repository efl.


View the commit online.
commit c272d12b136c802f7a97c190106f528e19b792df
Author: Vincent Torri 
AuthorDate: Thu Jul 18 15:54:35 2024 +0200

gl_common: create cache dir on Windows
---
 src/modules/evas/engines/gl_common/evas_gl_file_cache.c | 17 +
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
index 3366b7e6a8..2cf887c9f3 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_file_cache.c
@@ -41,6 +41,7 @@ evas_gl_common_file_cache_mkpath(const char *path)
 {
char ss[PATH_MAX];
unsigned int i;
+   Eina_Bool found = EINA_FALSE;
 
 #if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
if (getuid() != geteuid()) return EINA_FALSE;
@@ -50,11 +51,19 @@ evas_gl_common_file_cache_mkpath(const char *path)
for (i = 0; path[i]; ss[i] = path[i], i++)
  {
 if (i == sizeof(ss) - 1) return EINA_FALSE;
-if ((path[i] == '/') && (i > 0))
+if ((path[i] == '/')
+#ifdef _WIN32
+|| (path[i] == '\\')
+#endif
+)
   {
- ss[i] = 0;
- if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
-return EINA_FALSE;
+ if (found)
+   {
+  ss[i] = 0;
+  if (!evas_gl_common_file_cache_mkpath_if_not_exists(ss))
+return EINA_FALSE;
+   }
+ found = EINA_TRUE;
   }
  }
ss[i] = 0;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enigmatic] 01/01: memory: Fix Linux video RAM.

2024-07-17 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enigmatic.


View the commit online.
commit 8502db5ae9893ed190dab47012874dece134fc8a
Author: Alastair Poole 
AuthorDate: Wed Jul 17 08:40:00 2024 +0100

memory: Fix Linux video RAM.

Card index can begin greater than zero.
---
 src/bin/system/machine/memory.x | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/bin/system/machine/memory.x b/src/bin/system/machine/memory.x
index e688aca..304e849 100644
--- a/src/bin/system/machine/memory.x
+++ b/src/bin/system/machine/memory.x
@@ -92,11 +92,11 @@ memory_info(Meminfo *memory)
  {
 struct stat st;
 char buf[256];
+bool found = false;
 
-// if no more drm devices exist - end of card list
 snprintf(buf, sizeof(buf),
  "/sys/class/drm/card%i/device", i);
-if (stat(buf, &st) != 0) break;
+if (stat(buf, &st) != 0) continue;
 // not all drivers expose this, so video devices with no exposed video
 // ram info will appear as 0 sized... much like swap.
 snprintf(buf, sizeof(buf),
@@ -105,8 +105,9 @@ memory_info(Meminfo *memory)
 if (f)
   {
  if (fgets(buf, sizeof(buf), f))
-   memory->video[i].total = atoll(buf);
+   memory->video[memory->video_count].total = atoll(buf);
  fclose(f);
+ found = true;
   }
 snprintf(buf, sizeof(buf),
  "/sys/class/drm/card%i/device/mem_info_vram_used", i);
@@ -114,11 +115,12 @@ memory_info(Meminfo *memory)
 if (f)
   {
  if (fgets(buf, sizeof(buf), f))
-   memory->video[i].used = atoll(buf);
+   memory->video[memory->video_count].used = atoll(buf);
  fclose(f);
+ found = true;
   }
+if (found) memory->video_count++;
  }
-   memory->video_count = i;
 
 #elif defined(__FreeBSD__) || defined(__DragonFly__)
unsigned int free = 0, active = 0, inactive = 0, wired = 0;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: years: indicate we're back in business.

2024-07-16 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 99ef56314a6b050905a283251ca36116a2d205a1
Author: Alastair Poole 
AuthorDate: Tue Jul 16 23:42:13 2024 +0100

years: indicate we're back in business.

Add the current year to copyright.
---
 COPYING  | 2 +-
 src/bin/main.c   | 2 +-
 src/bin/ui/ui_util.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/COPYING b/COPYING
index ae4e1fd..2fd969a 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
- Copyright (c) 2018-2021 Alastair Roy Poole 
+ Copyright (c) 2018-2021, 2024 Alastair Roy Poole 
 
  Permission to use, copy, modify, and distribute this software for any
  purpose with or without fee is hereby granted, provided that the above
diff --git a/src/bin/main.c b/src/bin/main.c
index 4778d4f..c12264e 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018-2021. Alastair Roy Poole 
+ * Copyright 2018-2021, 2024. Alastair Roy Poole 
  *
  * See COPYING file for details.
  */
diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c
index e469001..182bcb1 100644
--- a/src/bin/ui/ui_util.c
+++ b/src/bin/ui/ui_util.c
@@ -388,7 +388,7 @@ evisum_about_window_show(void *data)
   ""
   ""
   ""
-  "Copyright © 2019-2021 Alastair Poole "
+  "Copyright © 2019-2021, 2024. Alastair Poole "
   ""
   ""
   ""


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: efl 1.27 or newer - force updates to latest

2024-07-16 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit ea10a90a479e3c8b7e7611e1e85e10ac27f5b271
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Sun Dec 26 16:14:33 2021 +

efl 1.27 or newer - force updates to latest
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 1dc6061..253b4db 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project('evisum', 'c',
 version   : '0.6.1',
 meson_version : '>= 0.40.0')
 
-efl_version = '>= 1.22.0'
+efl_version = '>= 1.27.0'
 
 cfg = configuration_data()
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: personal apps - fix bug when removing item from list

2024-07-16 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 25339bc0ab8946b000f9aa6d1b7a7abb71e7f00a
Author: Carsten Haitzler 
AuthorDate: Tue Jul 16 09:22:31 2024 +0100

personal apps - fix bug when removing item from list

it kept walking the list which would then be invalid as it was
modified while walking - it should have broken out at this point also
as it found its target anyway

@fix
---
 src/modules/conf_applications/e_int_config_apps_personal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/conf_applications/e_int_config_apps_personal.c b/src/modules/conf_applications/e_int_config_apps_personal.c
index e4b1d038e..ba65ceabf 100644
--- a/src/modules/conf_applications/e_int_config_apps_personal.c
+++ b/src/modules/conf_applications/e_int_config_apps_personal.c
@@ -208,6 +208,7 @@ _btn_cb_del(void *data, void *data2 EINA_UNUSED)
 if (!file) break;
 ecore_file_unlink(file);
 e_widget_ilist_remove_num(cfdata->obj.list, x);
+break;
  }
e_int_menus_cache_clear();
 }


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [evisum] 01/01: memory: fix reporting of video RAM on Linux.

2024-07-16 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.


View the commit online.
commit 6d8d8a8d52cff4338145d246146615671e6a8e35
Author: Alastair Poole 
AuthorDate: Tue Jul 16 09:06:51 2024 +0100

memory: fix reporting of video RAM on Linux.

Cannot guarantee video card begins at zero index.

Updated NEWS, VERSION and meson.build.

This commit is literally from a bed in a psychiatric hospital.

What a boss :)
---
 NEWS| 13 -
 VERSION |  2 +-
 meson.build |  2 +-
 src/bin/system/machine/memory.x | 15 ++-
 4 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/NEWS b/NEWS
index a9193a7..ece5b98 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,15 @@
-=
+
+Evisum 0.6.1
+
+
+  * Fix reporting of video RAM usage on Linux.
+
+
+Evisum 0.6.0
+
+
+  * God knows. Carsten did a release. :)
+
 Evisum 0.5.13
 =
 
diff --git a/VERSION b/VERSION
index 6d0dc3b..ee6cdce 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.5.99
+0.6.1
diff --git a/meson.build b/meson.build
index ca795ec..1dc6061 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 # Project
 project('evisum', 'c',
-version   : '0.5.99',
+version   : '0.6.1',
 meson_version : '>= 0.40.0')
 
 efl_version = '>= 1.22.0'
diff --git a/src/bin/system/machine/memory.x b/src/bin/system/machine/memory.x
index 90fa1e2..0bae167 100644
--- a/src/bin/system/machine/memory.x
+++ b/src/bin/system/machine/memory.x
@@ -107,11 +107,13 @@ system_memory_usage_get(meminfo_t *memory)
  {
 struct stat st;
 char buf[256];
+bool found = false;
 
-// if no more drm devices exist - end of card list
+// Card numbering does not always start at zero.
+// Keep iterating until a device is found.
 snprintf(buf, sizeof(buf),
  "/sys/class/drm/card%i/device", i);
-if (stat(buf, &st) != 0) break;
+if (stat(buf, &st) != 0) continue;
 // not all drivers expose this, so video devices with no exposed video
 // ram info will appear as 0 sized... much like swap.
 snprintf(buf, sizeof(buf),
@@ -120,8 +122,9 @@ system_memory_usage_get(meminfo_t *memory)
 if (f)
   {
  if (fgets(buf, sizeof(buf), f))
-   memory->video[i].total = atoll(buf);
+   memory->video[memory->video_count].total = atoll(buf);
  fclose(f);
+ found = true;
   }
 snprintf(buf, sizeof(buf),
  "/sys/class/drm/card%i/device/mem_info_vram_used", i);
@@ -129,11 +132,13 @@ system_memory_usage_get(meminfo_t *memory)
 if (f)
   {
  if (fgets(buf, sizeof(buf), f))
-   memory->video[i].used = atoll(buf);
+   memory->video[memory->video_count].used = atoll(buf);
  fclose(f);
+ found = true;
   }
+if (found)
+  memory->video_count++;
  }
-   memory->video_count = i;
 
 #elif defined(__FreeBSD__) || defined(__DragonFly__)
unsigned int free = 0, active = 0, inactive = 0, wired = 0;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [e16] 01/01: icccm: Fix WM_COMMAND encoding handling

2024-07-15 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit db063684623f5d699dbf8d955ff42ac5163567f9
Author: Kim Woelders 
AuthorDate: Mon Jul 15 19:28:27 2024 +0200

icccm: Fix WM_COMMAND encoding handling

Use XGetCommand() to get WM_COMMAND.
The application probably used XSetCommand(). XSetCommand() does not do
encoding conversion, so if we don't use the matching XGetCommand(), we
could potentially do some incorrect conversion.
---
 src/icccm.c | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/icccm.c b/src/icccm.c
index 04f6e337..fd2fbc1a 100644
--- a/src/icccm.c
+++ b/src/icccm.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2021 Kim Woelders
+ * Copyright (C) 2004-2024 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -570,20 +570,21 @@ ICCCM_GetWmClass(EWin *ewin)
 static void
 ICCCM_GetWmCommand(EWin *ewin)
 {
-int argc;
+int argc, ok;
 char  **argv, s[4096], *ss;
 
 EFREE_NULL(ewin->icccm.wm_command);
 
-argc = ex_window_prop_string_list_get(EwinGetClientXwin(ewin),
-  ea_i.WM_COMMAND, &argv);
-if ((argc < 0) && TryGroup(ewin))
-argc = ex_window_prop_string_list_get(ewin->icccm.group,
-  ea_i.WM_COMMAND, &argv);
+argc = -1;
+argv = NULL;
+ok = XGetCommand(disp, EwinGetClientXwin(ewin), &argv, &argc);
+if (!ok && TryGroup(ewin))
+ok = XGetCommand(disp, ewin->icccm.group, &argv, &argc);
 
 ss = StrlistEncodeEscaped(s, sizeof(s), argv, argc);
 ewin->icccm.wm_command = Estrdup(ss);
-StrlistFree(argv, argc);
+
+XFreeStringList(argv);
 }
 
 static void


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [legacy-imlib2_loaders] 01/01: v1.12.3 - No changes since v1.12.2

2024-07-12 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2_loaders.


View the commit online.
commit fd911baef91e5336e0ac212e0a676d7c58408e56
Author: Kim Woelders 
AuthorDate: Sat Jul 13 08:25:32 2024 +0200

v1.12.3 - No changes since v1.12.2

Actually, no changes since 1.10.0.
---
 ChangeLog| 5 +
 configure.ac | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index dd39586..81d789e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+v1.12.3 - 2024-07-13
+
+Kim Woelders (1):
+  v1.12.3 - No changes since v1.12.2
+
 v1.12.2 - 2024-02-03
 
 Kim Woelders (1):
diff --git a/configure.ac b/configure.ac
index 3dd9744..4c690cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([imlib2_loaders],[1.12.2],[enlightenment-devel@lists.sourceforge.net])
+AC_INIT([imlib2_loaders],[1.12.3],[enlightenment-devel@lists.sourceforge.net])
 AC_CONFIG_SRCDIR(configure.ac)
 AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_BUILD


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [legacy-imlib2_loaders] annotated tag v1.12.3 created (now 3456cde)

2024-07-12 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

git pushed a change to annotated tag v1.12.3
in repository legacy-imlib2_loaders.

  at 3456cde  (tag)
 tagging fd911baef91e5336e0ac212e0a676d7c58408e56 (commit)
 replaces v1.12.2
  by Kim Woelders
  on Sat Jul 13 08:26:30 2024 +0200

- Log -
Version 1.12.3

Kim Woelders (1):
  v1.12.3 - No changes since v1.12.2

---

No new revisions were added by this update.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.




[EGIT] [legacy-imlib2] 01/01: v1.12.3

2024-07-12 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.


View the commit online.
commit 143c60194c0948aac484d37bb23c59edea2ccf19
Author: Kim Woelders 
AuthorDate: Sat Jul 13 08:04:52 2024 +0200

v1.12.3
---
 ChangeLog| 28 
 configure.ac |  4 ++--
 2 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ca8eec4..c354b82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+v1.12.3 - 2024-07-13
+
+Chema Gonzalez (2):
+  Y4M loader: add support for full range color
+  Y4M loader: add support for 10-bit 4:2:0
+
+Kim Woelders (20):
+  XPM loader: Fix potential segv on malformed file
+  imlib2_load: Add crc32 printout
+  test: Corrections for for libjxl-0.10
+  XPM loader: Fix some color table parsing errors
+  XPM loader: Major overhaul
+  test_load_2: Add full range color y4m image
+  test_load_2: Add some more y4m test images
+  Some cleanups in asm code
+  Add endbr32/64 instruction at the start of asm functions
+  Add missing CET (Control-flow Enforcement Technology) bits in asm code
+  imlib2_view: Use poll(), not select()
+  imlib2_view: Minor cleanup
+  imlib2_view: Enable an alternate background color set (red/green)
+  imlib2_view: Optionally disable final anti-aliased rendering
+  imlib2_view: Rename scaling variables
+  imlib2_view: Optionally scale on input
+  imlib2_view: Enable specifying border
+  Y4M loader: Fix frame size calculation for 10-bit 4:2:0 format
+  imlib2_view: Enable specifying background checkerboard colors
+  v1.12.3
+
 v1.12.2 - 2024-02-03
 
 Chema Gonzalez (3):
diff --git a/configure.ac b/configure.ac
index 439ca4a..aab3526 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([imlib2],[1.12.2],[enlightenment-devel@lists.sourceforge.net])
+AC_INIT([imlib2],[1.12.3],[enlightenment-devel@lists.sourceforge.net])
 AC_CONFIG_SRCDIR(configure.ac)
 AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_BUILD
@@ -21,7 +21,7 @@ define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
 LT_INIT
 
 VERSION_CUR=13
-VERSION_REV=2
+VERSION_REV=3
 VERSION_AGE=12
 lt_version=${VERSION_CUR}:${VERSION_REV}:${VERSION_AGE}
 AC_SUBST(lt_version)


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [legacy-imlib2] annotated tag v1.12.3 created (now e42abf1)

2024-07-12 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

git pushed a change to annotated tag v1.12.3
in repository legacy-imlib2.

  at e42abf1  (tag)
 tagging 143c60194c0948aac484d37bb23c59edea2ccf19 (commit)
 replaces v1.12.2
  by Kim Woelders
  on Sat Jul 13 08:08:15 2024 +0200

- Log -
Version 1.12.3

Chema Gonzalez (2):
  Y4M loader: add support for full range color
  Y4M loader: add support for 10-bit 4:2:0

Kim Woelders (20):
  XPM loader: Fix potential segv on malformed file
  imlib2_load: Add crc32 printout
  test: Corrections for for libjxl-0.10
  XPM loader: Fix some color table parsing errors
  XPM loader: Major overhaul
  test_load_2: Add full range color y4m image
  test_load_2: Add some more y4m test images
  Some cleanups in asm code
  Add endbr32/64 instruction at the start of asm functions
  Add missing CET (Control-flow Enforcement Technology) bits in asm code
  imlib2_view: Use poll(), not select()
  imlib2_view: Minor cleanup
  imlib2_view: Enable an alternate background color set (red/green)
  imlib2_view: Optionally disable final anti-aliased rendering
  imlib2_view: Rename scaling variables
  imlib2_view: Optionally scale on input
  imlib2_view: Enable specifying border
  Y4M loader: Fix frame size calculation for 10-bit 4:2:0 format
  imlib2_view: Enable specifying background checkerboard colors
  v1.12.3

---

No new revisions were added by this update.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.




[EGIT] [entice] 01/01: add build instructions

2024-07-09 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository entice.


View the commit online.
commit 9c6d7f7e64909a0e6b2d40a089d887747096e771
Author: Vincent Torri 
AuthorDate: Tue Jul 9 20:45:49 2024 +0200

add build instructions
---
 README.md | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/README.md b/README.md
index b75fb49..48bd3e0 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,13 @@ This application is released under the BSD 2-Clause License
 
 The EFL.
 
+### Build instructions
+
+Entice uses [meson](https://mesonbuild.com/) as build system. Just use the classic instructions:
+
+1. `meson setup builddir`
+2. `ninja -C builddir`
+
 ### Supported images
 
 The following image formats (with the corresponding file extension) are


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 01/01: handle sel drag on an icon with shift+ctrl and prep for ask dnd

2024-07-08 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit c3b108097ad0205fc7e375ee694a1cc648d22e7b
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Tue Jul 9 07:35:04 2024 +0100

handle sel drag on an icon with shift+ctrl and prep for ask dnd
---
 TODO.md |   2 +-
 src/backends/default/open.c |  12 +---
 src/efm/efm.c   |  82 +++--
 src/efm/efm_dnd.c   |  51 ++--
 src/efm/efm_dnd.h   |   9 ++-
 src/efm/efm_util.c  | 146 ++--
 src/efm/efm_util.h  |   5 ++
 7 files changed, 200 insertions(+), 107 deletions(-)

diff --git a/TODO.md b/TODO.md
index 8e84c2f..cd82a39 100644
--- a/TODO.md
+++ b/TODO.md
@@ -13,7 +13,7 @@
 * DND auto-open dir on hover-over
 * File properties dialog
 * File Ops
-  * mv
+  * mv <- done
   * cp
   * rm
   * trash (mv to trash dir)
diff --git a/src/backends/default/open.c b/src/backends/default/open.c
index f9a5b44..f281e9b 100644
--- a/src/backends/default/open.c
+++ b/src/backends/default/open.c
@@ -1345,19 +1345,13 @@ _handle_drop_paste(const char *over, const char *action, Eina_List *files)
   _op_run("mv", files, mondir);
 }
   else if (!strcmp(action, "ask"))
-{ // XXX: implement
-}
-  else if (!strcmp(action, "list"))
-{ // XXX: implement
+{ // XXX: we should never get this - handled by front end right now
 }
   else if (!strcmp(action, "link"))
 { // XXX: implement
 }
-  else if (!strcmp(action, "description"))
-{ // XXX: implement
-}
-  else
-{ // XXX: implement
+  else // "list", "description", or anything else
+{ // actully we should never get this
 }
 }
 }
diff --git a/src/efm/efm.c b/src/efm/efm.c
index 3a0c173..9800b06 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -366,11 +366,10 @@ _cb_back_mouse_down(void *data, Evas *e EINA_UNUSED,
   elm_object_focus_set(sd->o_scroller, EINA_TRUE);
   if (ev->button == 1)
 {
-  sd->back_down   = EINA_TRUE;
+  sd->back_down = EINA_TRUE;
   sd->back_down_x = ev->canvas.x;
   sd->back_down_y = ev->canvas.y;
-  sd->sel_x1  = sd->back_down_x - sd->geom.x;
-  sd->sel_y1  = sd->back_down_y - sd->geom.y;
+  _efm_sel_store_start(sd, ev->canvas.x, ev->canvas.y);
 }
   if (sd->rename_icon) _icon_rename_end(sd->rename_icon);
   _icon_focus_hide(sd);
@@ -403,32 +402,7 @@ _cb_back_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
 _unselect_all(sd);
 }
 }
-  else
-{
-  Eina_List *bl, *il;
-  Icon  *icon;
-  Block *block;
-  Eina_Rectangle r = _efm_sel_rect_get(sd);
-
-  EINA_LIST_FOREACH(sd->blocks, bl, block)
-  {
-if (eina_rectangles_intersect(&r, &(block->bounds)))
-  {
-EINA_LIST_FOREACH(block->icons, il, icon)
-{
-  if (eina_rectangles_intersect(&r, &(icon->geom)))
-_icon_select(icon);
-}
-  }
-  }
-  sd->sel_show = EINA_FALSE;
-  evas_object_hide(sd->o_sel);
-  if (sd->scroll_timer)
-{
-  ecore_timer_del(sd->scroll_timer);
-  sd->scroll_timer = NULL;
-}
-}
+  else _efm_sel_end(sd);
 }
   else if (ev->button == 3)
 { // right mouse click
@@ -437,31 +411,6 @@ _cb_back_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
 }
 }
 
-static Eina_Bool
-_cb_sel_bounds_scroll_timer(void *data)
-{
-  Smart_Data *sd = data;
-
-  if (sd->o_scroller)
-{
-  Evas_Coord sx, sy, sw, sh;
-
-  evas_object_geometry_get(sd->o_scroller, &sx, &sy, &sw, &sh);
-  if ((sd->back_x < sx) || (sd->back_y < sy) || (sd->back_x >= (sx + sw))
-  || (sd->back_y >= (sy + sh)))
-{
-  elm_scroller_region_bring_in(sd->o_scroller, sd->sel_x2, sd->sel_y2,
-   1, 1);
-}
-  else
-{
-  sd->scroll_timer = NULL;
-  return EINA_FALSE;
-}
-}
-  return EINA_TRUE;
-}
-
 static void
 _cb_back_mouse_move(void *data, Evas *e EINA_UNUSED,
 Evas_Object *obj EINA_UNUSED, void *event_info)
@@ -480,21 +429,9 @@ _cb_back_mouse_move(void *data, Evas *e EINA_UNUSED,
   if ((!evas_key_modifier_is_set(ev->modifiers, "Shift"))
   && (!evas_key_modifier_is_set(ev->modifiers, "Control")))
 _unselect_all(sd);
-  if (!sd->sel_show)
-{
-  _icon_focus_hide(sd);
-  sd->sel_show = EINA_TRUE;
-  evas_object_show(sd->o_sel);
-  evas_object_raise(sd->o_sel);
-}
-  sd->back_x = ev->cur.canvas.x;
-  sd->back_y = ev->cur.canvas.y;
-  sd->sel_x2 = ev->c

[EGIT] [efm2] 01/01: add vertical icon and vertical custom icon layout

2024-07-08 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit e2ff35af7f08fc7b1f67adf9be3ef717f301290d
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Mon Jul 8 10:05:51 2024 +0100

add vertical icon and vertical custom icon layout
---
 TODO.md|  5 +
 src/efm/bitmap.c   | 31 ++
 src/efm/bitmap.h   |  8 ++--
 src/efm/efm.c  | 51 +++---
 src/efm/efm.h  |  2 ++
 src/efm/efm_back_end.c | 12 ++--
 src/efm/efm_custom.c   | 17 -
 src/efm/efm_dnd.c  |  3 ++-
 src/efm/efm_util.c |  6 --
 src/efm/main.c | 30 +
 10 files changed, 138 insertions(+), 27 deletions(-)

diff --git a/TODO.md b/TODO.md
index b790e72..8e84c2f 100644
--- a/TODO.md
+++ b/TODO.md
@@ -4,9 +4,7 @@
 
 ## Now
 
-* Handle open command crashing (stiore null exe and don't send cmds when null)
 * View
-  * Vertical icon view
   * Free x/y cleanup/grid align
   * Icon with no labels
   * Icons with flush view (like rage video browser view)
@@ -18,8 +16,7 @@
   * mv
   * cp
   * rm
-  * "Job" tracking + management (cancel pending ones)
-* Trashcan impl
+  * trash (mv to trash dir)
 * Progress feedback from file ops
 * Display dir usage (# files, size)
 * Display dir + subdir usage
diff --git a/src/efm/bitmap.c b/src/efm/bitmap.c
index 28a9925..cd09dbb 100644
--- a/src/efm/bitmap.c
+++ b/src/efm/bitmap.c
@@ -216,6 +216,37 @@ done:
   *h = inh;
 }
 
+void
+_bitmap_find_tl_to_br_v(unsigned int *bitmap, int maxh, int szw, int szh, int inw,
+int inh, int *x, int *y, int *w, int *h)
+{
+  int xx, yy, ww, hh;
+
+  // XXX: work on this!!!
+  if (maxh < inh) maxh = inh;
+  for (xx = 0; xx < szw; xx++)
+{
+  ww = inw;
+  if ((xx + inw) > szw) ww = szw - xx;
+  hh = maxh - inh;
+  if (hh <= 0) hh = 1;
+  for (yy = 0; yy < hh; yy++)
+{
+  if (_bitmap_is_clear(bitmap, szw, szh, xx, yy, ww, inh))
+{
+  *x = xx;
+  *y = yy;
+  goto done;
+}
+}
+}
+  *y = 0;
+  *x = szw;
+done:
+  *w = inw;
+  *h = inh;
+}
+
 /*
 static void
 _bitmap_row_dump(unsigned int *row, int w)
diff --git a/src/efm/bitmap.h b/src/efm/bitmap.h
index c2aba39..4d6adfd 100644
--- a/src/efm/bitmap.h
+++ b/src/efm/bitmap.h
@@ -1,13 +1,17 @@
 #ifndef BITMAP_H
 #define BITMAP_H 1
 
+#include 
+
 void  _bitmap_free(unsigned int *bitmap);
 void  _bitmap_clear(unsigned int *bitmap, int szw, int szh);
 unsigned int *_bitmap_resize(unsigned int *bitmap, int szw, int szh, int nszw,
  int nszh);
-void _bitmap_fill(unsigned int *bitmap, int szw, int szh EINA_UNUSED, int x,
-  int y, int w, int h);
+void  _bitmap_fill(unsigned int *bitmap, int szw, int szh EINA_UNUSED, int x,
+   int y, int w, int h);
 void _bitmap_find_tl_to_br(unsigned int *bitmap, int maxw, int szw, int szh,
int inw, int inh, int *x, int *y, int *w, int *h);
+void _bitmap_find_tl_to_br_v(unsigned int *bitmap, int maxh, int szw, int szh,
+ int inw, int inh, int *x, int *y, int *w, int *h);
 
 #endif
diff --git a/src/efm/efm.c b/src/efm/efm.c
index a39f59d..3a0c173 100644
--- a/src/efm/efm.c
+++ b/src/efm/efm.c
@@ -1065,22 +1065,31 @@ static void
 _smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
 { // efm veiw object resized
   Eina_Bool width_change = EINA_FALSE;
+  Eina_Bool height_change = EINA_FALSE;
   ENTRY;
 
   if ((sd->geom.w == w) && (sd->geom.h == h)) return;
   if (w != sd->geom.w) width_change = EINA_TRUE;
+  if (h != sd->geom.h) height_change = EINA_TRUE;
   sd->geom.w = w;
   sd->geom.h = h;
   evas_object_smart_changed(obj);
   evas_object_resize(sd->o_clip, w, h);
   // if width changed we have to re-flow (relayout) icons - unless it's custom
   // layout where we have fixed  geom per icon
-  if ((width_change) && (sd->config.view_mode != EFM_VIEW_MODE_ICONS_CUSTOM))
+  if ((width_change)
+  && ((sd->config.view_mode == EFM_VIEW_MODE_ICONS)
+  || (sd->config.view_mode == EFM_VIEW_MODE_LIST)
+  || (sd->config.view_mode == EFM_VIEW_MODE_LIST_DETAILED)))
+sd->relayout = EINA_TRUE;
+  if ((height_change)
+  && ((sd->config.view_mode == EFM_VIEW_MODE_ICONS_VERTICAL)
+  || (sd->config.view_mode == EFM_VIEW_MODE_ICONS_CUSTOM_VERTICAL)))
 sd->relayout = EINA_TRUE;
   if (width_change)
 {
   evas_object_resize(sd->o_list_detailed_dummy, w, sd->list_detailed_min_h);
-  printf("RSZ: %p %i\n", sd->o_list_detailed_dummy, w);
+  printf("RSZW: %p %i\n", sd->o_list_detailed_dummy, w);
 }
 }
 
@@ -1122,11 +1131,23 @@ _relayout_icons(Smart_Data *sd)
   icon->geom.y = y;
   icon->geom.w = sd->icon_min_

[EGIT] [e16] 01/01: French translation update (Philippe J. Guillaumie)

2024-07-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.


View the commit online.
commit c67976170c5e51f5275f057bbea89784d2a6464f
Author: Kim Woelders 
AuthorDate: Sun Jul 7 19:41:06 2024 +0200

French translation update (Philippe J. Guillaumie)
---
 po/fr.po | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 36339e82..3da1470b 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -3,14 +3,14 @@
 # Sylvain GIL , 1999-2000.
 # Ludwig Noujarret , 2004, 2005.
 # Tristan D. , 2007-2012.
-# similar , 2020, 2021, 2022, 2023.
+# similar , 2020, 2021, 2022, 2023, 2024.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: e16\n"
 "Report-Msgid-Bugs-To: enlightenment-i...@lists.sourceforge.net\n"
 "POT-Creation-Date: 2024-04-03 18:58+0200\n"
-"PO-Revision-Date: 2023-10-18 13:20+0200\n"
+"PO-Revision-Date: 2024-07-07 14:40+0200\n"
 "Last-Translator: Philippe Jean Guillaumie \n"
 "Language-Team: French\n"
 "Language: fr\n"
@@ -18,7 +18,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n > 1;\n"
-"X-Generator: Poedit 3.4\n"
+"X-Generator: Poedit 3.4.3\n"
 
 #: src/about.c:35
 #, c-format
@@ -1412,7 +1412,7 @@ msgstr "Activer le dialogue de fermeture de session"
 
 #: src/session.c:851
 msgid "Enable reboot/halt on logout"
-msgstr "Activer Éteindre / Redémarrer à la fermeture de session"
+msgstr "Activer Redémarrer / Éteindre à la fermeture de session"
 
 #: src/session.c:857
 msgid "Session"
@@ -2366,10 +2366,8 @@ msgid "Log out"
 msgstr "Déconnexion"
 
 #: config/strings.c:108
-#, fuzzy
-#| msgid "Yes, Shut Down"
 msgid "Shut down"
-msgstr "Oui, Éteindre"
+msgstr "Éteindre"
 
 #: config/strings.c:114
 msgid "Leave alone"
@@ -2600,7 +2598,6 @@ msgstr "Aide"
 #~ msgid "Swap Window Locations"
 #~ msgstr "Mettre en cache la position des fenêtres"
 
-#, c-format
 #~ msgid ""
 #~ "There was an error running the program:\n"
 #~ "%s\n"
@@ -2612,7 +2609,6 @@ msgstr "Aide"
 #~ "Ce programme ne peut être exécuté.\n"
 #~ "Le fichier n'existe pas.\n"
 
-#, c-format
 #~ msgid ""
 #~ "There was an error running the program:\n"
 #~ "%s\n"
@@ -2630,7 +2626,6 @@ msgstr "Aide"
 #~ "de votre shell afin de trouver comment modifier votre chemin\n"
 #~ "d'exécution.\n"
 
-#, c-format
 #~ msgid ""
 #~ "There was an error running the program:\n"
 #~ "%s\n"
@@ -2646,7 +2641,6 @@ msgstr "Aide"
 #~ "fichier, et vous en avez les droits d'exécution. Je vous suggère\n"
 #~ "d'examiner ce problème.\n"
 
-#, c-format
 #~ msgid ""
 #~ "There was an error running the program:\n"
 #~ "%s\n"
@@ -2660,7 +2654,6 @@ msgstr "Aide"
 #~ "Le fichier existe, est bien de type fichier, mais vous ne pouvez pas\n"
 #~ "l'exécuter car vous n'avez pas les droits suffisants.\n"
 
-#, c-format
 #~ msgid ""
 #~ "There was an error running the program:\n"
 #~ "%s\n"
@@ -2672,7 +2665,6 @@ msgstr "Aide"
 #~ "Ce programme ne peut être exécuté.\n"
 #~ "Le fichier est en fait un répertoire.\n"
 
-#, c-format
 #~ msgid ""
 #~ "There was an error running the program:\n"
 #~ "%s\n"


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 01/01: fill in some oops gaps in meta mv ... now it carries all meta right

2024-07-07 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit 6fcee398ef502c5a5d1be84b126418cb60246980
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Sun Jul 7 10:01:41 2024 +0100

fill in some oops gaps in meta mv ... now it carries all meta right

woot!
---
 src/backends/default/meta.c | 52 -
 src/backends/default/meta.h |  6 +-
 src/backends/default/mv.c   |  2 +-
 src/backends/default/open.c | 15 -
 4 files changed, 71 insertions(+), 4 deletions(-)

diff --git a/src/backends/default/meta.c b/src/backends/default/meta.c
index ad1b553..8fd1e50 100644
--- a/src/backends/default/meta.c
+++ b/src/backends/default/meta.c
@@ -6,6 +6,7 @@
 #include 
 #include 
 #include "eina_list.h"
+#include "eina_types.h"
 #include "sha.h"
 #include "meta.h"
 #include "util.h"
@@ -188,7 +189,8 @@ merge_again:
   if (ini)
 {
   if ((ini->data) && (efreet_ini_section_set(ini, "Efm Meta")))
-eina_hash_foreach(ini->section, _cb_meta_desktop_x_foreach_merge, mf);
+eina_hash_foreach(ini->section,
+  _cb_meta_desktop_x_foreach_merge, mf);
   efreet_ini_free(ini);
 }
 }
@@ -420,6 +422,54 @@ meta_shutdown(void)
   eina_stringshare_del(_config_dir);
 }
 
+static void
+_meta_file_sync(Meta_File *mf)
+{
+  char *meta_path = _meta_file_get(mf);
+  Efreet_Ini *ini;
+
+  if (!meta_path) return;
+  ini = efreet_ini_new(meta_path);
+  if (ini)
+{
+  if ((ini->data) && (efreet_ini_section_set(ini, "Efm Meta")))
+eina_hash_foreach(ini->section, _cb_meta_desktop_x_foreach_merge, mf);
+  efreet_ini_free(ini);
+}
+  free(meta_path);
+}
+
+static void
+_meta_path_sync(const char *path)
+{
+  Meta_File *mf = _meta_file_find(path);
+  if (!mf) return;
+  _meta_file_sync(mf);
+}
+
+static Eina_Bool
+_cb_meta_sync(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED,
+  void *data, void *fdata EINA_UNUSED)
+{
+  Meta_File *mf = data;
+
+  _meta_file_sync(mf);
+  return EINA_TRUE;
+}
+
+void
+meta_sync(void)
+{
+  _meta_writes_flush();
+  eina_hash_foreach(_meta_hash, _cb_meta_sync, NULL);
+}
+
+void
+meta_path_sync(const char *path)
+{
+  _meta_path_sync(path);
+}
+
 void
 meta_set(const char *path, const char *meta, const char *data)
 { // set meta data key "meta" on ffile "Path", data = "" -> delete meta
diff --git a/src/backends/default/meta.h b/src/backends/default/meta.h
index 8f8a979..ca7566e 100644
--- a/src/backends/default/meta.h
+++ b/src/backends/default/meta.h
@@ -7,8 +7,12 @@ typedef struct _Meta_File Meta_File;
 void meta_init(const char *config_dir);
 void meta_shutdown(void);
 
-void meta_set(const char *path, const char *meta, const char *data);
+void meta_sync(void);
+
+void meta_path_sync(const char *path);
+
 Eina_Stringshare *meta_get(const char *path, const char *meta);
+void  meta_set(const char *path, const char *meta, const char *data);
 
 char *meta_path_find(const char *path, const char *extn);
 char *meta_path_user_find(const char *path, const char *extn);
diff --git a/src/backends/default/mv.c b/src/backends/default/mv.c
index d2022a0..56bf28b 100644
--- a/src/backends/default/mv.c
+++ b/src/backends/default/mv.c
@@ -168,7 +168,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
 dsttmpdir = strdup(eina_strbuf_string_get(buf));
 eina_strbuf_reset(buf);
 eina_strbuf_append(buf, fs->dst);
-eina_strbuf_append(buf, "/.efm");
+eina_strbuf_append(buf, "/.efm/");
 eina_strbuf_append(buf, fname);
 eina_strbuf_append(buf, ".tmp");
 dsttmpfile = strdup(eina_strbuf_string_get(buf));
diff --git a/src/backends/default/open.c b/src/backends/default/open.c
index cc74001..f9a5b44 100644
--- a/src/backends/default/open.c
+++ b/src/backends/default/open.c
@@ -1112,6 +1112,7 @@ _file_add(const char *path)
 
   strbuf = cmd_strbuf_new("file-add");
   cmd_strbuf_append(strbuf, "path", path);
+  meta_path_sync(path);
   if (!_file_add_mod_info(strbuf, path, EINA_FALSE)) eina_strbuf_free(strbuf);
   else cmd_strbuf_print_consume(strbuf);
 }
@@ -1301,6 +1302,7 @@ _op_run(const char *op, Eina_List *files, const char *dst)
 eina_strbuf_append(buf, "\n");
   }
   eina_strbuf_append(buf, "end\n");
+  meta_sync();
   ecore_exe_send(exe, eina_strbuf_string_get(buf), eina_strbuf_length_get(buf));
   eina_strbuf_free(buf);
 }
@@ -1360,6 +1362,12 @@ _handle_drop_paste(const char *over, const char *action, Eina_List *files)
 }
 }
 
+static void
+_meta_update(const char *path)
+{
+  _file_mod(path);
+}
+
 void
 do_handle_cmd(Cmd *c)
 {
@@ -1378,10 +1386,15 @@ do_handle_cmd(Cmd *c)
   // meta-set path=/path/file.txt [xy=10,33] [comment=blah] ...
   KEY_WALK_BEGIN
   {
-if (!strcmp(key, "path")) path = data;
+if (!strcmp(key, "

[EGIT] [legacy-imlib2] 01/01: imlib2_view: Enable specifying background checkerboard colors

2024-07-06 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.


View the commit online.
commit 8ed0a8b883be9a9af31436fcd59d41421ef27527
Author: Kim Woelders 
AuthorDate: Sat Jul 6 11:24:20 2024 +0200

imlib2_view: Enable specifying background checkerboard colors
---
 src/bin/imlib2_view.c | 46 ++
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c
index 17ca47d..bf74518 100644
--- a/src/bin/imlib2_view.c
+++ b/src/bin/imlib2_view.c
@@ -16,6 +16,16 @@
 #define MIN(a, b) ((a < b) ? a : b)
 #define MAX(a, b) ((a > b) ? a : b)
 
+#define PIXEL_ARGB(a, r, g, b)  ((uint32_t)(a) << 24) | ((r) << 16) | ((g) << 8) | (b)
+
+#define PIXEL_A(argb)  (((argb) >> 24) & 0xff)
+#define PIXEL_R(argb)  (((argb) >> 16) & 0xff)
+#define PIXEL_G(argb)  (((argb) >>  8) & 0xff)
+#define PIXEL_B(argb)  (((argb)  ) & 0xff)
+
+#define RGBA_VALUES(argb) \
+PIXEL_R(argb), PIXEL_G(argb), PIXEL_B(argb), PIXEL_A(argb)
+
 typedef struct {
 int x, y;   /* Origin */
 int w, h;   /* Size   */
@@ -36,7 +46,6 @@ static Imlib_Border border;
 static bool opt_cache = false;
 static bool opt_progr = true;   /* Render through progress callback */
 static bool opt_scale = false;
-static bool opt_cbalt = false;  /* Alternate checkerboard colors (red/green) */
 static bool opt_aa_final = true;/* Do final anti-aliased rendering */
 static double   opt_sc_inp_x = 1.;
 static double   opt_sc_inp_y = 1.;
@@ -46,6 +55,8 @@ static int  opt_cbfs = 8;   /* Background checkerboard field size */
 static char opt_progress_granularity = 10;
 static char opt_progress_print = 0;
 static int  opt_progress_delay = 0;
+static unsigned int bg_cb_col_a = PIXEL_ARGB(255, 144, 144, 144);
+static unsigned int bg_cb_col_b = PIXEL_ARGB(255, 100, 100, 100);
 
 static Imlib_Frame_Info finfo;
 static bool multiframe = false; /* Image has multiple frames */
@@ -80,6 +91,7 @@ static int  animloop = 0;   /* Animation loop count  */
"  -s Sx[,Sy] : Set output x/y scaling factors to Sx,Sy (default 1.0)\n" \
"  -S Sx[,Sy] : Set input x/y scaling factors to Sx,Sy (default 1.0)\n" \
"  -t N   : Set background checkerboard field size (default 8)\n" \
+   "  -T CA,CB   : Set background checkerboard colors (0xRRGGBB,0xRRGGBB)\n" \
"  -v : Increase verbosity\n"
 
 static void
@@ -109,20 +121,10 @@ bg_im_init(int w, int h)
 _onoff_ = (y / opt_cbfs) & 0x1;
 for (x = 0; x < w; x += opt_cbfs)
 {
-if (opt_cbalt)
-{
-if (onoff)
-imlib_context_set_color(255, 0, 0, 255);
-else
-imlib_context_set_color(0, 255, 0, 255);
-}
+if (onoff)
+imlib_context_set_color(RGBA_VALUES(bg_cb_col_a));
 else
-{
-if (onoff)
-imlib_context_set_color(144, 144, 144, 255);
-else
-imlib_context_set_color(100, 100, 100, 255);
-}
+imlib_context_set_color(RGBA_VALUES(bg_cb_col_b));
 imlib_image_fill_rectangle(x, y, opt_cbfs, opt_cbfs);
 onoff ^= 0x1;
 }
@@ -621,12 +623,13 @@ main(int argc, char **argv)
 {
 int opt, err;
 int no, inc;
+unsigned intva, vb;
 static int  nfds;
 static struct pollfd afds[1];
 
 verbose = 0;
 
-while ((opt = getopt(argc, argv, "ab:cdeg:l:ps:S:t:v")) != -1)
+while ((opt = getopt(argc, argv, "ab:cdeg:l:ps:S:t:T:v")) != -1)
 {
 switch (opt)
 {
@@ -671,15 +674,18 @@ main(int argc, char **argv)
 opt_sc_inp_y = opt_sc_inp_x;
 break;
 case 't':
-if (*optarg == 'a')
-{
-optarg++;
-opt_cbalt = true;
-}
 no = atoi(optarg);
 if (no > 0)
 opt_cbfs = no;
 break;
+case 'T':
+va = vb = 1;
+sscanf(optarg, "%x,%x", &va, &vb);
+bg_cb_col_a =
+va != 1 ? va | 0xff00 : PIXEL_ARGB(255, 255, 0, 0);
+bg_cb_col_b =
+vb != 1 ? vb | 0xff00 : PIXEL_ARGB(255, 0, 255, 0);
+break;
 case 'v':
 verbose += 1;
 break;


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 01/01: efm2 - eb explicit - we need 1.26 efl git

2024-07-05 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit 1ea15595af17fa5915bbce6c93bd859ee6c835fd
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Jul 5 11:43:15 2024 +0100

efm2 - eb explicit - we need 1.26 efl git
---
 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 74b96fc..4fb1966 100644
--- a/meson.build
+++ b/meson.build
@@ -7,8 +7,8 @@ base_url = 'https://www.enlightenment.org/about-'
 cc = meson.get_compiler('c')
 m_dep = cc.find_library('m', required : false)
 deps = [
-  dependency('elementary', version: '>= 1.26.0'),
-  dependency('emotion', version: '>= 1.26.0'),
+  dependency('elementary', version: '>= 1.26.99'),
+  dependency('emotion', version: '>= 1.26.99'),
   m_dep
 ]
 


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [efm2] 02/02: mv metadata properly for custom xy,wh .. or others in future

2024-07-05 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit c63899775d242f3cd5aae4134537ca0413f05aa0
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Fri Jul 5 11:40:20 2024 +0100

mv metadata properly for custom xy,wh .. or others in future
---
 TODO.md |  26 +
 src/backends/default/fs.c   |  16 +--
 src/backends/default/meta.c | 236 
 src/backends/default/meta.h |   8 ++
 src/backends/default/mv.c   |  35 +++
 src/efm/efm_dnd.c   |  27 -
 src/shared/sha.c|   3 -
 src/shared/util.c   |  46 +
 src/shared/util.h   |  10 +-
 9 files changed, 332 insertions(+), 75 deletions(-)

diff --git a/TODO.md b/TODO.md
index 7d4da44..b790e72 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,33 +2,9 @@
 
 # NOTES
 
-Solve Meta clash problem:
-
-* On load of meta file
-  * Lock meta
-  * Store stat info
-  * Load fields
-  * Unlock meta
-* Add changed flags to each meta key that was changed in memory
-* On write of meta
-  * Lock meta file
-  * If a meta file exists + stat info differs
-* Load meta file fields again but keey changed flag fields as is
-  * Write out all meta file
-  * Unlock meta file
-* On mv or cp of meta
-  * Lock src meta
-  * Lock dst meta
-  * Read src meta
-  * Read dst meta
-  * Merge in only xy meta field into src meta if it exists
-  * Write src meta to dst meta (now merged)
-  * Delete src meta
-  * Unlock src meta
-  * Unlock dst meta
-
 ## Now
 
+* Handle open command crashing (stiore null exe and don't send cmds when null)
 * View
   * Vertical icon view
   * Free x/y cleanup/grid align
diff --git a/src/backends/default/fs.c b/src/backends/default/fs.c
index 2fe1148..e352ae1 100644
--- a/src/backends/default/fs.c
+++ b/src/backends/default/fs.c
@@ -1,5 +1,5 @@
 // for copy_file_range()
-#define _GNU_SOURCE
+#include "efm_config.h"
 #define _FILE_OFFSET_BITS 64
 
 #include 
@@ -408,13 +408,13 @@ err_unlink:
 // duplicate mtime+atime from src down to msic/nsec if possible
 #ifdef STAT_NSEC
 #  ifdef st_mtime
-#define STAT_NSEC_ATIME(st) (unsigned long long)((st)->st_atim.tv_nsec)
-#define STAT_NSEC_MTIME(st) (unsigned long long)((st)->st_mtim.tv_nsec)
-#define STAT_NSEC_CTIME(st) (unsigned long long)((st)->st_ctim.tv_nsec)
+#define STAT_NSEC_ATIME(st) (unsigned long long)((st).st_atim.tv_nsec)
+#define STAT_NSEC_MTIME(st) (unsigned long long)((st).st_mtim.tv_nsec)
+#define STAT_NSEC_CTIME(st) (unsigned long long)((st).st_ctim.tv_nsec)
 #  else
-#define STAT_NSEC_ATIME(st) (unsigned long long)((st)->st_atimensec)
-#define STAT_NSEC_MTIME(st) (unsigned long long)((st)->st_mtimensec)
-#define STAT_NSEC_CTIME(st) (unsigned long long)((st)->st_ctimensec)
+#define STAT_NSEC_ATIME(st) (unsigned long long)((st).st_atimensec)
+#define STAT_NSEC_MTIME(st) (unsigned long long)((st).st_mtimensec)
+#define STAT_NSEC_CTIME(st) (unsigned long long)((st).st_ctimensec)
 #  endif
 #else
 #  define STAT_NSEC_ATIME(st) (unsigned long long)(0)
@@ -459,4 +459,4 @@ done:
   return res;
 }
 
-// add fs_cp() fs_rm() fs_trash() fs_rename()
\ No newline at end of file
+// add fs_cp() fs_rm() fs_trash() fs_rename()
diff --git a/src/backends/default/meta.c b/src/backends/default/meta.c
index de92471..ad1b553 100644
--- a/src/backends/default/meta.c
+++ b/src/backends/default/meta.c
@@ -5,6 +5,7 @@
 #include 
 #include 
 #include 
+#include "eina_list.h"
 #include "sha.h"
 #include "meta.h"
 #include "util.h"
@@ -32,12 +33,13 @@
 
 #define META_WRITE_TIMEOUT 0.2
 
-typedef struct _Meta_File
+struct _Meta_File
 {
-  const char *path;// path of original file this metadata is for
-  Eina_List  *list;// for a small mount of meta - list of Meta
-  Eina_Bool   changed : 1; // has changes to write out
-} Meta_File;
+  const char   *path;// path of original file this metadata is for
+  Eina_List*list;// for a small mount of meta - list of Meta
+  Eina_Bool changed : 1; // has changes to write out
+  Util_Modtime  modtime; // time file modified when loaded - if it existed
+};
 
 typedef struct _Meta
 {
@@ -109,13 +111,50 @@ _meta_file_free(Meta_File *mf)
   free(mf);
 }
 
+static Eina_Bool
+_cb_meta_desktop_x_foreach_merge(const Eina_Hash *hash EINA_UNUSED,
+ const void *key, void *data, void *fdata)
+{
+  Meta_File *mf = fdata;
+  Meta  *m;
+  Eina_List *l;
+  const char *meta = key;
+
+  EINA_LIST_FOREACH(mf->list, l, m)
+  {
+if (!strcmp(m->meta, meta))
+  {
+if (m->changed) // our in-memory key has changed - keep it
+  return EINA_TRUE;
+else
+  { // key exists - replace with new one
+eina_stringshare_replace(&(m->data), data);
+return EINA_TRUE;
+  }
+  }
+  }
+  // it's a new key - add it
+  m = calloc(1, sizeof

[EGIT] [efm2] 01/02: meta - track changed flags and deleted meta keys

2024-07-05 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.


View the commit online.
commit 7b525a9b2a2927a8747053c06e0162d759c07716
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Tue Jun 18 09:41:07 2024 +0100

meta - track changed flags and deleted meta keys
---
 src/backends/default/meta.c | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/backends/default/meta.c b/src/backends/default/meta.c
index dcaebeb..de92471 100644
--- a/src/backends/default/meta.c
+++ b/src/backends/default/meta.c
@@ -43,6 +43,7 @@ typedef struct _Meta
 {
   const char *meta; // meta key
   const char *data; // data in meta
+  Eina_Bool   changed : 1;
 } Meta;
 
 static const char  *_config_dir   = NULL;
@@ -148,7 +149,8 @@ _meta_file_write(Meta_File *mf)
   fprintf(f, "[Efm Meta]\n");
   EINA_LIST_FOREACH(mf->list, l, m)
   {
-fprintf(f, "%s=%s\n", m->meta, m->data);
+if (m->data) fprintf(f, "%s=%s\n", m->meta, m->data);
+m->changed = EINA_FALSE;
   }
   fclose(f);
 }
@@ -332,13 +334,9 @@ meta_set(const char *path, const char *meta, const char *data)
 if (!strcmp(m->meta, meta))
   { // found matching meta key -> modify or del it
 if (!strcmp(m->data, data)) return;
-if (data) // modify it if data != NULL
-  eina_stringshare_replace(&m->data, data);
-else
-  { // NULL data - delete it
-mf->list = eina_list_remove_list(mf->list, l);
-_meta_free(m);
-  }
+// replaces data - if data is NULL it's deleted so keep entry
+eina_stringshare_replace(&m->data, data);
+m->changed = EINA_TRUE;
 _meta_file_write_queue(mf); // queue writes for later
 return;
   }
@@ -348,6 +346,7 @@ meta_set(const char *path, const char *meta, const char *data)
   if (!m) return;
   m->meta  = eina_stringshare_add(meta);
   m->data  = ""
+  m->changed = EINA_TRUE;
   mf->list = eina_list_append(mf->list, m);
   _meta_file_write_queue(mf); // queue writes for later
 }


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





[EGIT] [enlightenment] 01/01: try fix segv in deskclock lokker with passwd + fingerprint at same time

2024-07-03 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 4353773260b56febbff37dc9da248fc17c98435b
Author: Carsten Haitzler 
AuthorDate: Wed Jul 3 18:08:41 2024 +0100

try fix segv in deskclock lokker with passwd + fingerprint at same time

i can't repor as my fprint device doesn't work... well it can't auth
with libfprint... but guessing edd was junk or null? try protect.

@fix
---
 src/modules/lokker/lokker.c | 71 +
 1 file changed, 40 insertions(+), 31 deletions(-)

diff --git a/src/modules/lokker/lokker.c b/src/modules/lokker/lokker.c
index 1dff0d610..cef63b00b 100644
--- a/src/modules/lokker/lokker.c
+++ b/src/modules/lokker/lokker.c
@@ -99,6 +99,7 @@ _text_passwd_update(void)
 static void
 _lokker_null(void)
 {
+   if (!edd) return;
e_util_memclear(edd->passwd, PASSWD_LEN);
 
_text_passwd_update();
@@ -110,6 +111,7 @@ _lokker_select(void)
 {
Lokker_Popup *lp;
Eina_List *l;
+   if (!edd) return;
EINA_LIST_FOREACH(edd->elock_wnd_list, l, lp)
  if (lp->login_box)
edje_object_signal_emit(lp->login_box, "e,state,selected", "e");
@@ -121,6 +123,7 @@ _lokker_unselect(void)
 {
Lokker_Popup *lp;
Eina_List *l;
+   if (!edd) return;
EINA_LIST_FOREACH(edd->elock_wnd_list, l, lp)
  if (lp->login_box)
edje_object_signal_emit(lp->login_box, "e,state,unselected", "e");
@@ -178,6 +181,7 @@ _pin_click(void *data EINA_UNUSED, Evas_Object *obj, const char *sig EINA_UNUSED
const char *name;
int num;
 
+   if (!edd) return;
name = edje_object_part_text_get(obj, "e.text.label");
if (!name) //wtf
  return;
@@ -570,6 +574,7 @@ _lokker_popup_find(E_Zone *zone)
Eina_List *l;
Lokker_Popup *lp;
 
+   if (!edd) return NULL;
EINA_LIST_FOREACH(edd->elock_wnd_list, l, lp)
  if (lp->zone == zone) return l;
return NULL;
@@ -587,6 +592,7 @@ _lokker_cb_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event
if (current_zone == last_active_zone)
  return ECORE_CALLBACK_PASS_ON;
 
+   if (!edd) return ECORE_CALLBACK_PASS_ON;
EINA_LIST_FOREACH(edd->elock_wnd_list, l, lp)
  {
 if (!lp) continue;
@@ -609,39 +615,39 @@ _lokker_cb_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event
 static Eina_Bool
 _lokker_cb_exit(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
 {
-   Ecore_Exe_Event_Del *ev = event;
+  Ecore_Exe_Event_Del *ev = event;
 
-   if (ev->pid != _auth_child_pid) return ECORE_CALLBACK_PASS_ON;
+  if (ev->pid != _auth_child_pid) return ECORE_CALLBACK_PASS_ON;
 
-   _auth_child_pid = -1;
-   /* ok */
-   if (ev->exited && (ev->exit_code == 0))
- {
-/* security - null out passwd string once we are done with it */
-_lokker_null();
-e_desklock_hide();
- }
-   /* error */
-   else if ((!ev->exited) || (ev->exit_code < 128))
- {
-/* security - null out passwd string once we are done with it */
-_lokker_null();
-e_desklock_hide();
-e_util_dialog_show(_("Authentication System Error"),
-   _("Authentication via PAM had errors setting up the"
- "authentication session. The error code was %i."
- "This is bad and should not be happening. Please report this bug.")
-   , ev->exited ? ev->exit_code : ev->exit_signal);
- }
-   /* failed auth */
-   else
- {
-_lokker_state_set(LOKKER_STATE_INVALID);
-/* security - null out passwd string once we are done with it */
-_lokker_null();
- }
-   E_FREE_FUNC(_auth_child_exit_handler, ecore_event_handler_del);
-   return ECORE_CALLBACK_RENEW;
+  _auth_child_pid = -1;
+  /* ok */
+  if (ev->exited && (ev->exit_code == 0))
+{
+  /* security - null out passwd string once we are done with it */
+  _lokker_null();
+  e_desklock_hide();
+}
+  /* error */
+  else if ((!ev->exited) || (ev->exit_code < 128))
+{
+  /* security - null out passwd string once we are done with it */
+  _lokker_null();
+  e_desklock_hide();
+  e_util_dialog_show(_("Authentication System Error"),
+ _("Authentication via PAM had errors setting up the"
+   "authentication session. The error code was %i."
+   "This is bad and should not be happening. Please report this bug.")
+ , ev->exited ? ev->exit_code : ev->exit_signal);
+}
+  /* failed auth */
+  else
+{
+  _lokker_state_set(LOKKER_STATE_INVALID);
+  /* security - null out passwd string once we are done with it */
+  _lokker_null();
+}
+  E_FREE_FUNC(_auth_child_exit_handler, ecore_event_handler_del);
+  return ECORE_CALLBACK_RENEW;
 }
 
 static Eina_Bool
@@ -716,6 +722,7 @@ _lokker_caps_hint_u

[EGIT] [enlightenment] 01/01: fix formatting from last patch

2024-07-03 Thread Enlightenment Git

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.


View the commit online.
commit 57698405a165ec80314ee139569434ec2ad27a20
Author: Carsten Haitzler 
AuthorDate: Wed Jul 3 12:18:17 2024 +0100

fix formatting from last patch
---
 src/modules/conf_randr/e_int_config_randr2.c | 45 +++-
 1 file changed, 24 insertions(+), 21 deletions(-)

diff --git a/src/modules/conf_randr/e_int_config_randr2.c b/src/modules/conf_randr/e_int_config_randr2.c
index 06c2082d4..b73a721ed 100644
--- a/src/modules/conf_randr/e_int_config_randr2.c
+++ b/src/modules/conf_randr/e_int_config_randr2.c
@@ -788,19 +788,21 @@ _cb_enabled_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
 
// for every rel_to that points to the disabled screen, set its rel_mode to point to "none"
if (!cs->enabled)
-   {
-  Eina_List *l;
-  E_Config_Randr2_Screen *other_cs;
-  EINA_LIST_FOREACH(cfdata->screens, l, other_cs)
-  {
- if (!other_cs) continue;
- if (other_cs->rel_to && strcmp(other_cs->rel_to, cs->id) == 0)
- {
-other_cs->rel_mode = E_RANDR2_RELATIVE_NONE;
-e_config_dialog_changed_set(cfdata->cfd, EINA_TRUE);
- }
-  }
-   }
+ {
+Eina_List *l;
+E_Config_Randr2_Screen *other_cs;
+
+EINA_LIST_FOREACH(cfdata->screens, l, other_cs)
+  {
+if (!other_cs) continue;
+if ((other_cs->rel_to) &&
+(!strcmp(other_cs->rel_to, cs->id)))
+  {
+other_cs->rel_mode = E_RANDR2_RELATIVE_NONE;
+e_config_dialog_changed_set(cfdata->cfd, EINA_TRUE);
+  }
+  }
+ }
 }
 
 static void
@@ -1309,14 +1311,15 @@ _basic_apply(E_Config_Dialog *cfd EINA_UNUSED, E_Config_Dialog_Data *cfdata)
 printf("APPLY %s  rel to %s\n", cs->id, cs2->rel_to);
 if (cs2->rel_to) cs->rel_to = eina_stringshare_add(cs2->rel_to);
 cs->rel_align = cs2->rel_align;
-if (cs2->enabled) {
-cs->mode_w = cs2->mode_w;
-cs->mode_h = cs2->mode_h;
-cs->mode_refresh = cs2->mode_refresh;
-cs->rotation = cs2->rotation;
-cs->priority = cs2->priority;
-cs->rel_mode = cs2->rel_mode;
-}
+if (cs2->enabled)
+  {
+ cs->mode_w = cs2->mode_w;
+ cs->mode_h = cs2->mode_h;
+ cs->mode_refresh = cs2->mode_refresh;
+ cs->rotation = cs2->rotation;
+ cs->priority = cs2->priority;
+ cs->rel_mode = cs2->rel_mode;
+  }
 if (cs->custom_label_screen) eina_stringshare_del(cs->custom_label_screen);
 cs->custom_label_screen = NULL;
 if (cs2->custom_label_screen) cs->custom_label_screen = eina_stringshare_add(cs2->custom_label_screen);


-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.





  1   2   3   4   5   6   7   8   9   10   >