Re: [E-devel] Eolian property setters with return values

2019-10-21 Thread Mike Blumenkrantz
Hi, I think either proposal is reasonable. In the case where "bool return on property set indicates success", this can be enforced in eolian since it's a combination of property+typereturn, and it can be documented (and expanded on automatically in doc generation) to be more descriptive for

Re: [E-devel] Eolian property setters with return values

2019-10-21 Thread Tom Hacohen
On 21/10/2019 18:54, Xavi Artigas wrote: >> >> Maybe in general we need a way to mark a return/parameter as an error >> indicator? It's just a half-baked thought, though maybe worth exploring. >> > > There's already a couple of ideas on Phab in this direction: Add custom > tags to Eolian (

Re: [E-devel] Eolian property setters with return values

2019-10-21 Thread Tom Hacohen
On 21/10/2019 18:51, Marcel Hollerbach wrote: > On 10/21/19 5:37 PM, Tom Hacohen wrote: >> I agree it's most of them, though it's not all of them. IIRC there are >> some that indicate "nothing happened", at least in textblock. It >> shouldn't be too hard to fix these though. >> >> Maybe in

Re: [E-devel] Eolian property setters with return values

2019-10-21 Thread Xavi Artigas
> > Maybe in general we need a way to mark a return/parameter as an error > indicator? It's just a half-baked thought, though maybe worth exploring. > There's already a couple of ideas on Phab in this direction: Add custom tags to Eolian ( https://phab.enlightenment.org/T8294 ) or use Eina.Error

Re: [E-devel] Eolian property setters with return values

2019-10-21 Thread Marcel Hollerbach
On 10/21/19 5:37 PM, Tom Hacohen wrote: I agree it's most of them, though it's not all of them. IIRC there are some that indicate "nothing happened", at least in textblock. It shouldn't be too hard to fix these though. Maybe in general we need a way to mark a return/parameter as an error

Re: [E-devel] Eolian property setters with return values

2019-10-21 Thread Tom Hacohen
I agree it's most of them, though it's not all of them. IIRC there are some that indicate "nothing happened", at least in textblock. It shouldn't be too hard to fix these though. Maybe in general we need a way to mark a return/parameter as an error indicator? It's just a half-baked thought,

[E-devel] Enlightenment Developer Days call for proposals

2019-10-21 Thread Stefan Schmidt
Hello. As we are approaching roughly one month before EDD we should think about discussion and talk proposals for EDD. As I mentioned before I would like to have more discussions instead of lecture style talks. Bring a topic and prepare some slides to define the topic and questions that you

[E-devel] Eolian property setters with return values

2019-10-21 Thread Xavi Artigas
Hi people, We are encountering a problem when matching EO properties to C# properties, since the C# ones cannot have a return value. We mostly use return values in EO property setters to indicate error conditions and this is pretty easily matched to C# by throwing an exception. We just need to