Re: [E-devel] New git URL/SSH locations, phasing out phab (and gitolite)

2024-04-12 Thread Massimo Maiurana

Carsten Haitzler ha scritto il 12/04/24 alle 17:25:

On Fri, 12 Apr 2024 11:01:18 +0200 Massimo Maiurana  said:


I thought i already asked this but don't see nothing here so maybe my
mail didn't get to the list.
Anyway, i should push some translation updates to evisum so i would need
write access to it, can anyone grant it to me?

Massimo Maiurana


you're listed as an owner so should have commit access. git.enlightenment.org
says so:

https://git.enlightenment.org/enlightenment/evisum/settings/collaboration
https://git.enlightenment.org/org/enlightenment/teams/owners


I can't read these links since both of them give me a 404 error, of 
course as a logged user.


However i did a fresh clone of the evisum repository with the same 
command i've used for other projects:
git clone 
https://maxerba:@git.enlightenment.org/enlightenment/evisum


Then, if i try to push my changes it says:
fatal: repository 'https://git.enlightenment.org/enlightenment/evisum/' 
not found





Carsten Haitzler ha scritto il 22/01/23 alle 11:46:

On Sat, 21 Jan 2023 08:59:16 +0100 Massimo Maiurana 
said:


Massimo Maiurana ha scritto il 01/06/22 alle 14:00:

Carsten Haitzler ha scritto il 01/06/22 alle 10:46:

On Tue, 31 May 2022 15:35:10 +0200 Massimo Maiurana
 said:


Carsten Haitzler ha scritto il 08/05/22 alle 00:40:

Phabricator has been on life support for a while now. Upstream stopped
development. Every new release of php gets stricter and phab breaks
more
each time. arcanist has become a non-working thing. It's time to move.

In the spirit of that I have set up gitea on
https://git.enlightenment.org
- it pretty much is a miniature github that is self-hosted. It replaces
gitolite and most of phabricator functionality in one. phab is still
running for now but I'll kill it off soon enough (set it to
read-only mode
but still run it for reference to old tasks/reviews).

This means git repository url's will have moved. If you explore the
above
you'll see where they are. I have not made all of them public (the
default
for importing is private and you have to manually go make each
public, so I
did this for repos that are not essentially archived off as history).

This means developers also have to re-register accounts for commit
access.
It's easy - the web UI allows you to self-serve. The only thing that
I need
is for people to join so we can set up collaborators on the shared
projects
so you have commit access again (otherwise you only can commit to
your own
private repositories you set up).


Does it mean that commit accesses will be restored manually one at a
time? I've just registered on git.enlightenment.org with my usual
nickname but currently i can't do anything via git+ssh. I guess i'll
have to check it later, am i right? :)


An admin has to add you to projects as a collaborator - it all has to
wait for
people like you to make accounts and ask :) YUou actually have to be
added per
project - its not "all access or nothing". It starts with the account.
I added
you to efl, enlightenment, terminology right now (don't have time
right now to
go through a long list). let me know if you want others also.


Thanks! In theory i could be asked to commit translation updates for
every project, starting (but not limited to) with projects supporting
gettext, but since many of them never changes i'll ask every time i need
to be added somewhere :)


There's a request for pushing an updated translation for the forecasts
module. Can you please give me dev access to at least the following
modules (or even all enlightenment-module-*)?
enlightenment-module-cpu
enlightenment-module-forecasts
enlightenment-module-mem
enlightenment-module-net


done! :)


I've set up git commit emails again to the same
mailing list so no change there.

Gitea takes on the following tasks:

Listing git repositories and browsing their trees, showing commits etc.
Bug tracking (issues).
Review (pull requests).
Markdown/wiki per repo/project
Organizations (shared code repository holders).
... and other smaller related code/repo etc. tasks.

I may have to do some more minor fixing. I may have missed things,
but I
think the major things have been done. Yes - I know
https://www.enlightenment.org still refers to phab in many places.
That's
something to sort out next.









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







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







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


[EGIT] [legacy-imlib2] 02/02: test_load_2: Add some more y4m test images

2024-04-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 af97c7c08e674e7ceabb0b81514919a995770365
Author: Kim Woelders 
AuthorDate: Fri Apr 12 16:44:10 2024 +0200

test_load_2: Add some more y4m test images

The ones from previous commit.
---
 test/test_load_2.cpp | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/test_load_2.cpp b/test/test_load_2.cpp
index 7a65e9d..333a480 100644
--- a/test/test_load_2.cpp
+++ b/test/test_load_2.cpp
@@ -106,7 +106,10 @@ static tii_ttii[] = {
{ "icon-64.yuv420paldv.y4m", 3810593176 },
{ "icon-64.aspect_unsupported.y4m",  2400380696 },
{ "icon-64.framerate_1_1.y4m",   2400380696 },
-   { "img-17x14.full_range.y4m", 839224907 },
+   { "img-17x14.full_range.y4m",839224907 },
+   { "img-17x14.yuv420p10.full_range.y4m",  839224907 },
+   { "img-8x8.full_range.y4m", 1737487406 },
+   { "img-8x8.yuv420p10.full_range.y4m",   1737487406 },
 #endif
 
{ "icon-128.ico", 218415319 },


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





[EGIT] [legacy-imlib2] 01/02: Y4M loader: add support for 10-bit 4:2:0

2024-04-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 e4644560f9c9d8d12e32d5ca647acfa540e5089b
Author: Chema Gonzalez 
AuthorDate: Thu Apr 11 17:52:14 2024 -0700

Y4M loader: add support for 10-bit 4:2:0

Current implementation just discards the last 2 bits.

Images generated using ffmpeg:
```
$ ffmpeg -i test/images/img-17x14.full_range.y4m -strict -1 -pix_fmt yuv420p10 -color_range full test/images/img-17x14.yuv420p10.full_range.y4m
$ ffmpeg -i test/images/img-8x8.full_range.y4m -strict -1 -pix_fmt yuv420p10 -color_range full test/images/img-8x8.yuv420p10.full_range.y4m
```

Tested:
```
$ src/bin/.libs/imlib2_view test/images/img-8x8.yuv420p10.full_range.y4m
$ feh test/images/img-8x8.yuv420p10.full_range.y4m
```
---
 src/modules/loaders/loader_y4m.c   |  85 +++--
 test/images/img-17x14.yuv420p10.full_range.y4m | Bin 0 -> 811 bytes
 test/images/img-8x8.full_range.y4m | Bin 0 -> 251 bytes
 test/images/img-8x8.yuv420p10.full_range.y4m   | Bin 0 -> 273 bytes
 4 files changed, 81 insertions(+), 4 deletions(-)

diff --git a/src/modules/loaders/loader_y4m.c b/src/modules/loaders/loader_y4m.c
index 89040cd..9b7873a 100644
--- a/src/modules/loaders/loader_y4m.c
+++ b/src/modules/loaders/loader_y4m.c
@@ -46,6 +46,7 @@ typedef struct {
 Y4M_PARSE_CS_422,
 Y4M_PARSE_CS_444,
 Y4M_PARSE_CS_MONO,
+Y4M_PARSE_CS_420P10,
 } colour_space;
 enum {
 Y4M_PARSE_IL_PROGRESSIVE,
@@ -67,6 +68,7 @@ typedef struct {
 Y4M_PARSE_RANGE_LIMITED,
 Y4M_PARSE_RANGE_FULL,
 } range;
+uint8_t depth;  // Bit depth  (8, 10, 12, 14, 16)
 
 const void *frame_data;
 ptrdiff_t   frame_data_len;
@@ -121,6 +123,10 @@ y4m__parse_params(Y4mParse *res, const uint8_t **start, const uint8_t *end)
 const uint8_t  *p = *start;
 const uint8_t  *peek;
 
+// default values
+res->range = Y4M_PARSE_RANGE_UNSPECIFIED;
+res->depth = 8;
+
 for (;;)
 {
 #if IMLIB2_DEBUG
@@ -183,19 +189,45 @@ y4m__parse_params(Y4mParse *res, const uint8_t **start, const uint8_t *end)
 case 'C':
 res->colour_space = Y4M_PARSE_CS_UNSUPPORTED;
 if (y4m__match("mono", 4, , end))
+{
 res->colour_space = Y4M_PARSE_CS_MONO;
+res->depth = 8;
+}
 else if (y4m__match("420jpeg", 7, , end))
+{
 res->colour_space = Y4M_PARSE_CS_420JPEG;
+res->depth = 8;
+}
 else if (y4m__match("420mpeg2", 8, , end))
+{
 res->colour_space = Y4M_PARSE_CS_420MPEG2;
+res->depth = 8;
+}
 else if (y4m__match("420paldv", 8, , end))
+{
 res->colour_space = Y4M_PARSE_CS_420PALDV;
+res->depth = 8;
+}
+else if (y4m__match("420p10", 6, , end))
+{
+res->colour_space = Y4M_PARSE_CS_420P10;
+res->depth = 10;
+}
 else if (y4m__match("420", 3, , end))
+{
 res->colour_space = Y4M_PARSE_CS_420;
+res->depth = 8;
+}
 else if (y4m__match("422", 3, , end))
+{
 res->colour_space = Y4M_PARSE_CS_422;
+res->depth = 8;
+}
 else if (y4m__match("444", 3, , end))
+{
 res->colour_space = Y4M_PARSE_CS_444;
+res->depth = 8;
+}
 
 peek = p;   /* peek to avoid falsly matching things like "420p16" */
 if (res->colour_space == Y4M_PARSE_CS_UNSUPPORTED ||
@@ -306,6 +338,7 @@ y4m_parse_frame(Y4mParse *res)
 case Y4M_PARSE_CS_420MPEG2:
 case Y4M_PARSE_CS_420PALDV:
 case Y4M_PARSE_CS_420:
+case Y4M_PARSE_CS_420P10:
 res->frame_data_len = npixels * 3 / 2;
 sdiv = 2;
 voff = (npixels * 5) / 4;
@@ -342,8 +375,16 @@ y4m_parse_frame(Y4mParse *res)
 }
 else
 {
-res->u = p + npixels;
-res->v = p + voff;
+if (res->depth == 10)
+{
+res->u = p + npixels * 2;
+res->v = p + voff * 2;
+}
+else
+{
+res->u = p + npixels;
+res->v = p + voff;
+}
 res->u_stride = res->v_stride = res->w / sdiv;
 }
 
@@ -439,6 +480,7 @@ _load(ImlibImage *im, int load_data)
 case Y4M_PARSE_CS_420MPEG2:
 case Y4M_PARSE_CS_420PALDV:
 case Y4M_PARSE_CS_420:
+case Y4M_PARSE_CS_420P10:
 if (y4m.range == Y4M_PARSE_RANGE_FULL)
 conv = J420ToARGB;
 else
@@ -463,8 +505,43 @@ _load(ImlibImage *im, int load_data)
 if (!__imlib_AllocateData(im))
 

Re: [E-devel] New git URL/SSH locations, phasing out phab (and gitolite)

2024-04-12 Thread Carsten Haitzler
On Fri, 12 Apr 2024 11:01:18 +0200 Massimo Maiurana  said:

> I thought i already asked this but don't see nothing here so maybe my 
> mail didn't get to the list.
> Anyway, i should push some translation updates to evisum so i would need 
> write access to it, can anyone grant it to me?
> 
> Massimo Maiurana

you're listed as an owner so should have commit access. git.enlightenment.org
says so:

https://git.enlightenment.org/enlightenment/evisum/settings/collaboration
https://git.enlightenment.org/org/enlightenment/teams/owners

> Carsten Haitzler ha scritto il 22/01/23 alle 11:46:
> > On Sat, 21 Jan 2023 08:59:16 +0100 Massimo Maiurana 
> > said:
> > 
> >> Massimo Maiurana ha scritto il 01/06/22 alle 14:00:
> >>> Carsten Haitzler ha scritto il 01/06/22 alle 10:46:
>  On Tue, 31 May 2022 15:35:10 +0200 Massimo Maiurana
>   said:
> 
> > Carsten Haitzler ha scritto il 08/05/22 alle 00:40:
> >> Phabricator has been on life support for a while now. Upstream stopped
> >> development. Every new release of php gets stricter and phab breaks
> >> more
> >> each time. arcanist has become a non-working thing. It's time to move.
> >>
> >> In the spirit of that I have set up gitea on
> >> https://git.enlightenment.org
> >> - it pretty much is a miniature github that is self-hosted. It replaces
> >> gitolite and most of phabricator functionality in one. phab is still
> >> running for now but I'll kill it off soon enough (set it to
> >> read-only mode
> >> but still run it for reference to old tasks/reviews).
> >>
> >> This means git repository url's will have moved. If you explore the
> >> above
> >> you'll see where they are. I have not made all of them public (the
> >> default
> >> for importing is private and you have to manually go make each
> >> public, so I
> >> did this for repos that are not essentially archived off as history).
> >>
> >> This means developers also have to re-register accounts for commit
> >> access.
> >> It's easy - the web UI allows you to self-serve. The only thing that
> >> I need
> >> is for people to join so we can set up collaborators on the shared
> >> projects
> >> so you have commit access again (otherwise you only can commit to
> >> your own
> >> private repositories you set up).
> >
> > Does it mean that commit accesses will be restored manually one at a
> > time? I've just registered on git.enlightenment.org with my usual
> > nickname but currently i can't do anything via git+ssh. I guess i'll
> > have to check it later, am i right? :)
> 
>  An admin has to add you to projects as a collaborator - it all has to
>  wait for
>  people like you to make accounts and ask :) YUou actually have to be
>  added per
>  project - its not "all access or nothing". It starts with the account.
>  I added
>  you to efl, enlightenment, terminology right now (don't have time
>  right now to
>  go through a long list). let me know if you want others also.
> >>>
> >>> Thanks! In theory i could be asked to commit translation updates for
> >>> every project, starting (but not limited to) with projects supporting
> >>> gettext, but since many of them never changes i'll ask every time i need
> >>> to be added somewhere :)
> >>
> >> There's a request for pushing an updated translation for the forecasts
> >> module. Can you please give me dev access to at least the following
> >> modules (or even all enlightenment-module-*)?
> >> enlightenment-module-cpu
> >> enlightenment-module-forecasts
> >> enlightenment-module-mem
> >> enlightenment-module-net
> > 
> > done! :)
> > 
> >> I've set up git commit emails again to the same
> >> mailing list so no change there.
> >>
> >> Gitea takes on the following tasks:
> >>
> >> Listing git repositories and browsing their trees, showing commits etc.
> >> Bug tracking (issues).
> >> Review (pull requests).
> >> Markdown/wiki per repo/project
> >> Organizations (shared code repository holders).
> >> ... and other smaller related code/repo etc. tasks.
> >>
> >> I may have to do some more minor fixing. I may have missed things,
> >> but I
> >> think the major things have been done. Yes - I know
> >> https://www.enlightenment.org still refers to phab in many places.
> >> That's
> >> something to sort out next.
> >>
> >
> 
> 
> >>
> >>
> >> ___
> >> enlightenment-users mailing list
> >> enlightenment-us...@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >>
> > 
> > 
> 
> 
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I 

Re: [E-devel] New git URL/SSH locations, phasing out phab (and gitolite)

2024-04-12 Thread Massimo Maiurana
I thought i already asked this but don't see nothing here so maybe my 
mail didn't get to the list.
Anyway, i should push some translation updates to evisum so i would need 
write access to it, can anyone grant it to me?


Massimo Maiurana

Carsten Haitzler ha scritto il 22/01/23 alle 11:46:

On Sat, 21 Jan 2023 08:59:16 +0100 Massimo Maiurana  said:


Massimo Maiurana ha scritto il 01/06/22 alle 14:00:

Carsten Haitzler ha scritto il 01/06/22 alle 10:46:

On Tue, 31 May 2022 15:35:10 +0200 Massimo Maiurana
 said:


Carsten Haitzler ha scritto il 08/05/22 alle 00:40:

Phabricator has been on life support for a while now. Upstream stopped
development. Every new release of php gets stricter and phab breaks
more
each time. arcanist has become a non-working thing. It's time to move.

In the spirit of that I have set up gitea on
https://git.enlightenment.org
- it pretty much is a miniature github that is self-hosted. It replaces
gitolite and most of phabricator functionality in one. phab is still
running for now but I'll kill it off soon enough (set it to
read-only mode
but still run it for reference to old tasks/reviews).

This means git repository url's will have moved. If you explore the
above
you'll see where they are. I have not made all of them public (the
default
for importing is private and you have to manually go make each
public, so I
did this for repos that are not essentially archived off as history).

This means developers also have to re-register accounts for commit
access.
It's easy - the web UI allows you to self-serve. The only thing that
I need
is for people to join so we can set up collaborators on the shared
projects
so you have commit access again (otherwise you only can commit to
your own
private repositories you set up).


Does it mean that commit accesses will be restored manually one at a
time? I've just registered on git.enlightenment.org with my usual
nickname but currently i can't do anything via git+ssh. I guess i'll
have to check it later, am i right? :)


An admin has to add you to projects as a collaborator - it all has to
wait for
people like you to make accounts and ask :) YUou actually have to be
added per
project - its not "all access or nothing". It starts with the account.
I added
you to efl, enlightenment, terminology right now (don't have time
right now to
go through a long list). let me know if you want others also.


Thanks! In theory i could be asked to commit translation updates for
every project, starting (but not limited to) with projects supporting
gettext, but since many of them never changes i'll ask every time i need
to be added somewhere :)


There's a request for pushing an updated translation for the forecasts
module. Can you please give me dev access to at least the following
modules (or even all enlightenment-module-*)?
enlightenment-module-cpu
enlightenment-module-forecasts
enlightenment-module-mem
enlightenment-module-net


done! :)


I've set up git commit emails again to the same
mailing list so no change there.

Gitea takes on the following tasks:

Listing git repositories and browsing their trees, showing commits etc.
Bug tracking (issues).
Review (pull requests).
Markdown/wiki per repo/project
Organizations (shared code repository holders).
... and other smaller related code/repo etc. tasks.

I may have to do some more minor fixing. I may have missed things,
but I
think the major things have been done. Yes - I know
https://www.enlightenment.org still refers to phab in many places.
That's
something to sort out next.









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







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