[e-users] Terminology 1.11.0

2021-11-11 Thread Boris Faure
==
 “You cannot swim for new horizons
  until you have courage to
  lose sight of the shore.”
 William Faulkner
==

Hello fellow Terminology enthusiasts!

Today (11/11) is the perfect time to release Terminology v1.11.0.
Not a lot of changes, but why should we wait before enjoying them?

The detailed change log lists them below:

== Additions ==
* Support for focus reporting escape codes

== Improvements ==
* Translation updates for Finnish and Ukrainian

== Fixes ==
* Fix handling of escape code OSC 11

== Download ==
The tarball can be found at :
  - 
https://download.enlightenment.org/rel/apps/terminology/terminology-1.11.0.tar.xz
  - https://downloads.terminolo.gy/terminology-1.11.0.tar.xz

sha256sum:
  4fd884bd2ffbbc86d87163063074fbd969be04b17bb8d7e23cd1f6708fd86a2d

Happy compiling! ( https://xkcd.com/303/ )

-- 
Boris Faure
Pointer Arithmetician

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


Re: [e-users] e16 regex bugfix

2021-11-11 Thread Dennis Nezic
--- regex.c.orig2021-11-11 14:08:55.0 -0500
+++ regex.c 2021-11-11 15:19:47.0 -0500
@@ -102,9 +102,24 @@
 i = isafter(i, s, rx2);
 if (i < 0)
return 0;
+// Because the for loop will increment i (the index
+// into string s) at the end of this block, but i now
+// already points to the next char in s, this next char
+// gets ignored.
+// Without this next decrement, if the regex is *bla,
+// it will incorrectly say that blax matches, although
+// correctly say that blaxy doesn't. Ie. char x is skipped
+if (i>0) i--;
  }
-   else
-  return match;
+   else {
+  // We arrived at the end of the regex BUT if it doesn't
+  // end with the wildcard * and there are more chars
+  // in s remaining to be matched, we should return 0
+  if ((i < len) && (rx[l-1] != '*'))
+ return 0;
+  else
+ return match;
+   }
  }
return match;
 }


On Thu, 11 Nov 2021 15:24:52 -0500, Dennis Nezic wrote:
> Here's a small patch for regex.c
> 
> Currently, in matches.cfg, "Title *bla ..." will match any title with
> "bla" in it ... but it should only match if the title ends in bla,
> right?
> 
> By the way, the indentations in that file are ... weird :P.
> 
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


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


[e-users] e16 regex bugfix

2021-11-11 Thread Dennis Nezic
Here's a small patch for regex.c

Currently, in matches.cfg, "Title *bla ..." will match any title with
"bla" in it ... but it should only match if the title ends in bla,
right?

By the way, the indentations in that file are ... weird :P.

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