Re: [E-devel] New theme "Dimensions"

2022-05-16 Thread Joonas Niilola



On 16.5.2022 17.52, Boris Faure wrote:
> On 22-05-16 21:50, Simon Lees wrote:
>> Hi All,
>>
>> Today I released a new theme "Dimensions" this theme has two main goals.
>> The first is to allow you to have a consistent look between
>> Enlightenment and Gtk / Qt apps, to that extent it was designed around
>> and based on the Vertex GTK theme https://www.pling.com/p/1013757/ so if
>> you use it with the Dark Vertex theme you'll get a unified look across
>> your whole desktop.
>>
>> The second goal is to make a theme that's easy to modify and create new
>> themes from with just by changing some images and a couple of other
>> files, but there will be more on that soon.
>>
>> Screenshots and Downloads at: https://www.opendesktop.org/p/1795915/
>> Also an openSUSE Version at: https://www.opendesktop.org/p/1795917/
>>
>> -- 
>> Simon Lees (Simotek)http://simotek.net
>>
>> Emergency Update Team   keybase.io/simotek
>> SUSE Linux   Adelaide Australia, UTC+10:30
>> GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
> It looks nice.
>
> Do you plan on adding the colorscheme and the theme to Terminology?

The link has a .tar.xz bundle which has the terminology theme included.
But maybe it'd be best to include it directly in terminology?

It indeed looks nice!

-- juippis


___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [efl] 01/01: evas - textgrid - guard against null/empty glyphs

2022-05-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 efl.


View the commit online.
commit 5f85967da1501e07ef0500df8b36a8502321130c
Author: Carsten Haitzler 
AuthorDate: Mon May 16 18:36:56 2022 +0100

evas - textgrid - guard against null/empty glyphs

not sure how someone got to this point - but this should not be null,
so don't crash if it is.

@fix
---
 src/lib/evas/canvas/evas_object_textgrid.c | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index 2d9b143452..0b5a335508 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -379,7 +379,8 @@ _drop_glyphs_ref(const void *container EINA_UNUSED, void *data, void *fdata)
Evas_Font_Array_Data *fad = data;
Evas_Public_Data *pd = fdata;
 
-   evas_common_font_glyphs_unref(fad->glyphs);
+   if (fad->glyphs)
+ evas_common_font_glyphs_unref(fad->glyphs);
eina_array_pop(>glyph_unref_queue);
 
return EINA_TRUE;
@@ -553,10 +554,12 @@ evas_object_textgrid_render(Evas_Object *eo_obj EINA_UNUSED,
 
 props = >text_props;
 evas_common_font_draw_prepare(props);
-
-evas_common_font_glyphs_ref(props->glyphs);
-evas_unref_queue_glyph_put(obj->layer->evas,
-   props->glyphs);
+if (props->glyphs)
+  {
+ evas_common_font_glyphs_ref(props->glyphs);
+ evas_unref_queue_glyph_put(obj->layer->evas,
+props->glyphs);
+  }
 
 fad = eina_inarray_grow(texts->array, 1);
 if (!fad)


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





Re: [E-devel] New theme "Dimensions"

2022-05-16 Thread Boris Faure
On 22-05-16 21:50, Simon Lees wrote:
> Hi All,
> 
> Today I released a new theme "Dimensions" this theme has two main goals.
> The first is to allow you to have a consistent look between
> Enlightenment and Gtk / Qt apps, to that extent it was designed around
> and based on the Vertex GTK theme https://www.pling.com/p/1013757/ so if
> you use it with the Dark Vertex theme you'll get a unified look across
> your whole desktop.
> 
> The second goal is to make a theme that's easy to modify and create new
> themes from with just by changing some images and a couple of other
> files, but there will be more on that soon.
> 
> Screenshots and Downloads at: https://www.opendesktop.org/p/1795915/
> Also an openSUSE Version at: https://www.opendesktop.org/p/1795917/
> 
> -- 
> Simon Lees (Simotek)http://simotek.net
> 
> Emergency Update Team   keybase.io/simotek
> SUSE Linux   Adelaide Australia, UTC+10:30
> GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

It looks nice.

Do you plan on adding the colorscheme and the theme to Terminology?

-- 
Boris Faure
Pointer Arithmetician


signature.asc
Description: PGP signature
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [efl] 01/01: eet - add eet_sync_sync() that syncs data to disk and fdatasyncs it

2022-05-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 efl.


View the commit online.
commit e9e40eb6107315ac8df4004f72d46d8f9d554aea
Author: Carsten Haitzler 
AuthorDate: Mon May 16 14:02:06 2022 +0100

eet - add eet_sync_sync() that syncs data to disk and fdatasyncs it

this ensures that if eet_sync_sync() returns that all data has been
synced to disk (as best possible with fdatasync()).

@feat
---
 src/lib/eet/Eet.h | 17 +
 src/lib/eet/eet_lib.c | 34 ++
 2 files changed, 47 insertions(+), 4 deletions(-)

diff --git a/src/lib/eet/Eet.h b/src/lib/eet/Eet.h
index 455042fc0c..5bbaf8b9c3 100644
--- a/src/lib/eet/Eet.h
+++ b/src/lib/eet/Eet.h
@@ -691,6 +691,23 @@ eet_close(Eet_File *ef);
 EAPI Eet_Error
 eet_sync(Eet_File *ef);
 
+/**
+ * @ingroup Eet_File_Group
+ * @brief does exactly what eet_xunc() does but also fsyncs file data
+ * @param ef A valid eet file handle.
+ * @return An eet error identifier.
+ *
+ * This function does everything eet_xunc() does with one addition - it
+ * ensures data is written to/synced to disk (as best is possible) by
+ * calling fdatasync() on the file before writes are all queued/done.
+ *
+ * If the eet file handle is not valid nothing will be done.
+ *
+ * @since 1.27
+ */
+EAPI Eet_Error
+eet_sync_sync(Eet_File *ef);
+
 /**
  * @ingroup Eet_File_Group
  * @brief Returns a handle to the shared string dictionary of the Eet file
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 0ed786e1d7..3a1e885443 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -71,7 +71,7 @@ static Eet_Error
 eet_flush(Eet_File *ef);
 #endif /* if 0 */
 static Eet_Error
- eet_flush2(Eet_File *ef);
+ eet_flush2(Eet_File *ef, Eina_Bool sync);
 static Eet_File_Node *
  find_node_by_name(Eet_File  *ef,
   const char *name);
@@ -288,7 +288,7 @@ eet_string_match(const char *s1,
 
 /* flush out writes to a v2 eet file */
 static Eet_Error
-eet_flush2(Eet_File *ef)
+eet_flush2(Eet_File *ef, Eina_Bool sync)
 {
Eet_File_Node *efn;
FILE *fp;
@@ -509,6 +509,9 @@ eet_flush2(Eet_File *ef)
/* no more writes pending */
ef->writes_pending = 0;
 
+#ifndef _WIN32
+   if (sync) fdatasync(fileno(fp));
+#endif
fclose(fp);
 
return EET_ERROR_NONE;
@@ -664,7 +667,30 @@ eet_sync(Eet_File *ef)
 
LOCK_FILE(ef);
 
-   ret = eet_flush2(ef);
+   ret = eet_flush2(ef, EINA_FALSE);
+
+   UNLOCK_FILE(ef);
+   return ret;
+}
+
+EAPI Eet_Error
+eet_sync_sync(Eet_File *ef)
+{
+   Eet_Error ret;
+
+   if (eet_check_pointer(ef))
+ return EET_ERROR_BAD_OBJECT;
+
+   if ((ef->mode != EET_FILE_MODE_WRITE) &&
+   (ef->mode != EET_FILE_MODE_READ_WRITE))
+ return EET_ERROR_NOT_WRITABLE;
+
+   if (!ef->writes_pending)
+ return EET_ERROR_NONE;
+
+   LOCK_FILE(ef);
+
+   ret = eet_flush2(ef, EINA_TRUE);
 
UNLOCK_FILE(ef);
return ret;
@@ -1283,7 +1309,7 @@ eet_internal_close(Eet_File *ef,
  goto on_error;
  }
 
-   err = eet_flush2(ef);
+   err = eet_flush2(ef, EINA_FALSE);
 
eet_identity_unref(ef->key);
ef->key = NULL;


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





[E-devel] New theme "Dimensions"

2022-05-16 Thread Simon Lees
Hi All,

Today I released a new theme "Dimensions" this theme has two main goals.
The first is to allow you to have a consistent look between
Enlightenment and Gtk / Qt apps, to that extent it was designed around
and based on the Vertex GTK theme https://www.pling.com/p/1013757/ so if
you use it with the Dark Vertex theme you'll get a unified look across
your whole desktop.

The second goal is to make a theme that's easy to modify and create new
themes from with just by changing some images and a couple of other
files, but there will be more on that soon.

Screenshots and Downloads at: https://www.opendesktop.org/p/1795915/
Also an openSUSE Version at: https://www.opendesktop.org/p/1795917/

-- 
Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE Linux   Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B


OpenPGP_signature
Description: OpenPGP digital signature
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel