Re: [E-devel] About the merge

2012-09-19 Thread Jonas M. Gastal
On Wednesday 19 September 2012 22:43:37 Vincent Torri wrote:
 head.html must also be fixed. It should add in the horizontal menu a
 link for each EFL, each link pointing to the main page of the EFL doc
 
 Vincent

I don't think just adding each lib to the top bar gives it enough visibility 
we're going to need something similar to the existing docs landing page. I'm 
however not sure if we should do that with doxygen or use the current landing 
page and have it redirect to the existing main pages(renamed).

I think the most important part is crossreferencing which is already possible.

Other issues:
 - The top bar is differente for each lib
 - The libs aren't a group in docs so the modules page is a little messy right 
now

Gastal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] Fix minor documentation fix in genlist

2012-08-31 Thread Jonas M. Gastal
On Friday 31 August 2012 20:01:11 Bluezery wrote:
 Hello,
 
 This is minor fix (typo, nuance) for genlist documentation.
 Please review this patch
 
 Thanks.

In svn(r75922).

Thanks.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Ecore_exe is confusing

2012-07-19 Thread Jonas M. Gastal
On Thursday 19 July 2012 17:22:34 Anisse Astier wrote:
 Hi,
 
 Here is some feedback regarding Ecore_exe callback when you want to read
 a child process' stdout/stderr.
 
  - data is data. not a string, except if in buffered mode.  It's somehow
in the doc of ecore_exe_pipe_run, but I saw two developers getting
bitten by it. Maybe make that very explicit, because people want to
naturally use that as string. Especially when they look at the
example...
  - which example
   
 http://docs.enlightenment.org/auto/ecore/ecore_exe_example_8c-example.html#
 _a0 is in buffered mode, but uses event_data-data instead of
event_data-line[0].data, which is confusing too. And it's a mistake,
because it might miss additionnal lines (which of course does not
apply to the child in this example).
  - using event-data as a string in non-buffered mode might work
sometimes if the memory was zeroed before allocation, but this is not
guaranteed. There's probably code out there which works but has this
mistake.
  - broken link:
   
 http://docs.enlightenment.org/auto/ecore/struct__Ecore__Exe__Event__Data.ht
 ml link to ecore_exe_example.c has too many underscores
This is troubling since I'm fairly sure the link is created by doxygen 
automatically, but I'll double check.
  - missing structure documentation:
   
 http://docs.enlightenment.org/auto/ecore/struct__Ecore__Exe__Event__Data__L
 ine.html#_details
 
 Regards,
 
 Anisse

Anisse,

Thank you very much for the feedback, I'll look into improving the 
documentation of Ecore_Exe and make sure those issues are fixed. Look for a fix 
early next week.

Gastal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] E2 update broken

2012-06-14 Thread Jonas M. Gastal
Hello everyone,

So it seems that someone recently(over the past 7 days) updated E2, and in the 
process broke it. dpkg is not allowing any packages to be installed because it 
complains the init system has got broken scripts. This wouldn't be a big deal 
if not for the fact that the update includes doxygen-1.8.1 which is bugged and 
produces horrific documentation. I'm wondering if whoever updated it could help 
me fix the init issues, I don't want to end up overwriting some custom script 
someone might have created.

Gastal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Online documentation version

2012-05-29 Thread Jonas M. Gastal
Gentleman,

Currently the online documentation is generated nightly from the latest code, 
while this is fine, it can also be a bit confusing for people using the 
releases since it might contain functions that they can't use. I propose we 
start providing 3 version of the documentation online, one for the latest 1.1 
release, one for the latest 1.2 release and one for the current HEAD. Also if 
we want to encourage people to use the 1.2 releases we should make that the 
default, the one that is presented when people go to 
http://docs.enlightenment.org

Comments anyone?

Gastal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Questions about initilization functions such as elm_init() and ecore_init(), etc.

2012-05-17 Thread Jonas M. Gastal
On Thursday 17 May 2012 23:51:34 Bluezery wrote:
 Dear EFL developers,
 
 I have questions about initialization/unintialization functions in EFL
 such as elm_init(), ecore_init(), elm_shutdown(), etc.
 Those functions have interval static counter variables such as
 _ecore_init_count.
 And If xxx_init() is called, a counter variable increases by 1 and if
 xxx_shutdown() is called, it decreases.
 However, I think that those confuse users (application developers) somewhat.
 
 For example, if ecore_shutdown() is called twice and ecore_init() is
 called once after that, nothing is initialized.
 Because after _ecore_init_count variable become 1, ecore_init() do
 evil_init() or eina_init(), etc.
 It seems that ecore_init() should be called 3 times after
 ecore_shutdown() is called twice. All other xxx_init, xxx_shutdown()
 pairs in EFL do same behavior.
 IMHO, After ecore_shutdown() is called many times,  calling
 ecore_init() once should do initialization.
 Of course, If ecore_init() is called 10 times,  ecore_shutdown()
 should do unintialization at the moment ecore_shutdown() is called 11
 time.
 
 Also return value is somewhat confusing. In documentation of
 ecore_init() and ecore_shutdown(), It succeed if return value is 1 and
 it fail if it is 0.
 But it returns static counter variable. This may need documentation
 modification in ecore. And other xxx_init() and xxx_shutdown() are
 better to have same pattern.
 
 Please solve my curiosity :)
 Thanks.

Bluezery,

Calling xxx_shutdown() when xxx is not initialized is a program error, the EFL 
could handle this particular issue, but there too many ways the programmer can 
make mistakes, handling everyone of them would be very hard and have a 
considerable performance cost.

The way to use the xxx_init() and xxx_shutdown() functions is to call init 
once for each library you use in the beggining of your main function and to 
call shutdown once for each library you initialized. When creating 
applications you don't need to worry about it being reference counted or 
anything like that, init once, shutdown once, for each lib.

With regards to the documentation, it looks right to me. For ecore_init() it 
says: 1 or greater on success, 0 otherwise which is the value the reference 
counting variable will have, 1 or greater if the library was actually 
initialized, 0 otherwise. For ecore_shutdown() we're actually missing the 
explanation of the return value(will add as soon as I'm done writing this =), 
it's return value will be 1 or greater if the library is still running, 0 
otherwise. But the return value of ecore_shutdown(), and other _shutdown() 
functions, is not something the application developer has to care about, for 
_init() it matter because you need to do error checking, for shutdown though 
just call it, if the value returned is greater than one, it just means there's 
something else still using, not a problem if you remembered to pair every 
_init() with a _shutdown().

Hope this clarifies the issue some.

Gastal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Doing some publicity

2012-05-09 Thread Jonas M. Gastal
On Wednesday 09 May 2012 14:35:50 Jeff Hoogland wrote:
 Excellent. I'm in the middle of a finals week right now - so I will get
 something shared early next week and hopefully have a post or two ready to
 share soon after.

Well, I'd say that the trac is actually not the best place to start as it 
doesn't have as much information as the documentation: 
http://web.enlightenment.org/p.php?p=docsl=en
In there you've got the list of the libs and each one is a link to the API 
documentation of the lib which includes some intro to the lib. Also there is 
an overview document that was written not to long ago that might be pertinent:
http://docs.enlightenment.org/books/efl-big-picture/efl_big_picture.pdf

The documentation is likely a lot more in depth than the stuff you need, but I 
think it is a good starting point. If there is any help I can give you please 
don't hesitate to ask, I've written quite a lot of documentation and might be 
able to help you with an overview of the EFL if know a little better what is 
you're looking for.

Gastal

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: gastal IN trunk/ecore/src/lib: ecore_wayland ecore_x/xcb ecore_x/xlib

2012-04-24 Thread Jonas M. Gastal
On Tuesday 24 April 2012 03:20:16 Christopher Michael wrote:
 Thanks for the dozy fixes :)
 
 dh

Thanks Christopher! Those are actually not mine, I forgot to add the Patch 
by: Thiago Thamada t...@profusion.mobi line =/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: gastal trunk/elementary/src/examples

2012-03-30 Thread Jonas M. Gastal
On Thursday 29 March 2012 22:59:43 Vincent Torri wrote:
 does it even exist ??? I don't see it there :
 
 http://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
 
 Vincent

Yes it exists, the reason you don't it see there, it's because they don't list 
the no variants of the options, you'll note they have -Wunused-parameter 
there. =)

 it's a compiler flag, not a preprocessor flag
I'm sorry, I don't know anything about auto-foo, is there another place where 
I should be putting this?

Gastal

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] evas doxygen doc (2)

2012-03-29 Thread Jonas M. Gastal
On Thursday 29 March 2012 22:33:36 Jérôme Pinot wrote:
 Other part of the obvious fixes.
 
 Comment: there is a reference to evas-load-error-str.c in
 the evas_load_error_str doc, but this file doesn't exist
 anymore so I made the doc link to evas-images.c which use
 several times this function.

Thanks! Applied.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] can not compile examples if deps are missing

2012-03-29 Thread Jonas M. Gastal
On Thursday 29 March 2012 11:10:19 Vincent Torri wrote:
 hey
 
 as an example, on Windows, no Ethumb (but can be the case on linux too),
 hence:
 
 thumb_example_01.c:30:4: error: unknown type name ‘Ethumb_Client’
 
 I can fix that but I don't know what you prefer : no compilation (i.e.
 Makefile.am fix) or guards in the file ?
 
 Vincent
 
 
 -- This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

I think it's probably best to not even compile it. Not much of a point in 
having a thumb example without ethumb.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Docs on site out of date.

2012-03-27 Thread Jonas M. Gastal
On Wednesday 28 March 2012 00:36:18 David Seikel wrote:
 The point I'm making is that it used to show the generated docs from
 the About page, at least I'm pretty sure it did.  Now it's showing the
 old wiki docs. Something changed?  If so, it should get changed back.

Well, I'm not aware that it previously linked to the generated docs, but I'm 
going to make it link there regardless. Commit should hit SVN in a few 
minutes.

Gastal

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Add new API in Index widget (elm_index_indicator_disabled_set/get())

2012-02-28 Thread Jonas M. Gastal
On Monday 27 February 2012 22:46:27 ChunEon Park wrote:
 What documentation?
 It looks documentation attached already.
 
 -Regards, Hermet-

My apologies, I hadn't seen the included documentation.

/me must pay more attention when reviewing patches.

Gastal

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Add new API in Index widget (elm_index_indicator_disabled_set/get())

2012-02-27 Thread Jonas M. Gastal
On Monday 27 February 2012 09:05:08 GoUn Lee wrote:
 Dear Developers,
 
 First  of all, sorry for that I sent a patch without any message before. I
 have no idea why e-mail was empty even I wrote something..
 I hope, this
 time will work fine.
 
 I've attached patch file about new API in Index widget.
 called elm_index_indicator_disabled_set() /
 elm_index_indicator_disabled_get()
 Using this
 elm_index_indicator_disabled_set API, if it is set EINA_TRUE in second
 value, popup text could be invisible. In this API, indicator notes popup
 text which shows a letter has been selecting. I tested through
 elementary_test, and it works.
 
 Please review this patch.
 Thank you.
 Goun

Could you please add documentation for these new functions.

Gastal

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: gastal trunk/elementary/doc

2012-02-27 Thread Jonas M. Gastal
On Friday 24 February 2012 17:54:38 Michael Blumenkrantz wrote:
 I wish the API Reference (which, btw, is completely wrong in that it links
 to what is the Modules section for every other library) was at least
 alphabetically ordered since I never bother with the
 containers/infrastructure nonsense.

Unfortunately this list is generated by doxygen and doxygen doesn't have the 
good sense to generate it in alphabetical order. In the last project we 
considered generating the list manually to have it be properly sorted but felt 
the burden of maintaining the list up to date was not worth it.

Gastal

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: gastal trunk/elementary/doc

2012-02-27 Thread Jonas M. Gastal
On Saturday 25 February 2012 09:35:01 Carsten Haitzler wrote:
 well logical for a user would be that list AND genlist are in the same
 section - genlist is just a more flexible/powerful/extendable list - that's
 all. to a user they are pretty much exactly the same - just genlist will be
 more efficient when it comes to vast numbers of items, and requires more
 work to use (as well as being able to do trees). elm list could be able to
 be just like genlist with 1 trivial function call to set the style of an
 item.

Well, I think that's acutally a very good point. And since the documentation 
should focus on new users instead of people who know the intricacies of the 
workings of the list/genlist, how would everyone feel about moving list to the 
containers list?

In the same spirit I wonder if the toolbar and segment control wouldn't be 
better off in the containers list. I point them out because they have layout 
diagrams, if we need a diagram to exemplify the widget it seems to make sense 
to say it doesn't have it's own visual identity and is a container.

Gastal

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: gastal trunk/elementary/doc

2012-02-27 Thread Jonas M. Gastal
On Monday 27 February 2012 11:11:55 Iván Briano wrote:
 Can't we have categories and have widgets show up in more than
 one of them?

I'm not sure what you mean by categories, but the current widget/container 
list are manually created so the only reason not to put something in both 
lists is duplication, since it's just the link I don't see a problem with 
that.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: gastal trunk/elementary/doc

2012-02-24 Thread Jonas M. Gastal
On Friday 24 February 2012 17:18:41 Carsten Haitzler wrote:
 On Thu, 23 Feb 2012 23:55:55 +0900 Daniel Juyung Seo seojuyu...@gmail.com
 said:
 
 yeah. imho containers are objects whose PRIMARY purpose is to hold child
 widgets. list and genlist can hold icons.. but the primary content is list
 items which are part of the widget itself.
 

Well I was going with a definition of: a widget that holds other widgets. I 
wouldn't call list a container, because it holds is a piece of text plus an 
icon, not an arbitrary widget, but genlist holds an arbitrary widget, anything 
the user wants, that was my reasoning to classify it as a container.

I'm not sure what you mean when you say that list items are part of the widget 
itself. From an UI point of view the genlist is a scroller that organizes 
widgets vertically(or horizontally), it's not a thing itself.

I'd also like to point out that what drove me to make that fix was a comment by 
marcellus1 on the IRC channel, asking why genlist was on the widgets list 
instead of the containers list(in docs).

That said, I'm not nearly as experienced in the project as either of you, so 
if you don't agree with me, I'm ok with reverting the change.

Gastal

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] EFL documentation

2012-02-17 Thread Jonas M. Gastal
Hello all,

ProFUSION, sponsored by Samsung, is starting a documentation project(yes, 
another one =). This means we'll be going over any pieces of documentation we 
fell are incomplete or that could use some improvement and give it some work.

The EFL though is huge and we could use everyone's help. In this spirit I'd 
like to kindly ask everyone who commits new code to document it and, even more 
importantly, whenever you cause a behaviour change remember to change the 
documentation!

Happy coding,
Gastal

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Elementary Edje_External support for disabling objects

2011-12-13 Thread Jonas M. Gastal
The attached patch adds a edje property called disabled to every elm object 
that calls elm_object_disabled_set() on it.

Any thoughts on it? Can I commit it?

Regards,
Gastaldiff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index 185ec3b..b777ad3 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -112,6 +112,14 @@ external_common_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Ex
  return EINA_TRUE;
   }
  }
+   else if (!strcmp(param-name, disabled))
+ {
+if (param-type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
+  {
+ param-i = elm_object_disabled_get(obj);
+ return EINA_TRUE;
+  }
+ }
return EINA_FALSE;
 }
 
@@ -126,6 +134,14 @@ external_common_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ex
   return EINA_TRUE;
}
  }
+   else if (!strcmp(param-name, disabled))
+ {
+ if (param-type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
+   {
+  elm_object_disabled_set(obj, param-i);
+  return EINA_TRUE;
+   }
+ }
return EINA_FALSE;
 }
 
@@ -180,10 +196,9 @@ external_common_params_parse(void *mem, void *data __UNUSED__, Evas_Object *obj
EINA_LIST_FOREACH(params, l, param)
  {
 if (!strcmp(param-name, style))
-  {
- p-style = eina_stringshare_add(param-s);
- break;
-  }
+  p-style = eina_stringshare_add(param-s);
+else if (!strcmp(param-name, disabled))
+  p-disabled = param-i;
  }
 }
 
@@ -197,6 +212,7 @@ external_common_state_set(void *data __UNUSED__, Evas_Object *obj, const void *f
 
if (p-style)
   elm_object_style_set(obj, p-style);
+   elm_object_disabled_set(obj, p-disabled);
 }
 
 Evas_Object *
diff --git a/src/edje_externals/private.h b/src/edje_externals/private.h
index 6bf0274..af57d94 100644
--- a/src/edje_externals/private.h
+++ b/src/edje_externals/private.h
@@ -6,6 +6,7 @@
 
 typedef struct {
 const char *style;
+Eina_Bool disabled;
 } Elm_Params;
 
 void external_elm_init(void);
@@ -115,4 +116,5 @@ external_##type_name##_icon_add(void *data __UNUSED__, Evas *e) {   \
 }
 
 #define DEFINE_EXTERNAL_COMMON_PARAMS   \
-EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT(style, default)
+EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT(style, default) \
+EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT(disabled, EINA_FALSE)
--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] PDF documentation

2011-08-19 Thread Jonas M. Gastal
Hey all,

There have just been 3 commits that fix links in the PDF documentation for 
Eet, Edje and Emotion. They are very simple(one line), so before anyone is 
tempted to do that to other libs I think I should warn you I already tried it, 
and for them(Elementary, Ecore, Evas, Eina) this causes problems, the PDF 
isn't even built. The following is the error message I got:
! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than 
\pd
fstartlink.
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox   \fi \fi 
l.397 \begin{DoxyParams}{Parameters}
!  == Fatal error occurred, no output PDF file produced!
Transcript written on refman.log.
make: *** [refman.pdf] Error 1

Anyways better some working than nothing right? =)

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elm_label

2011-07-12 Thread Jonas M. Gastal
On Tuesday, July 12, 2011 09:56:45 Tom Hacohen wrote:
 On 12/07/11 00:14, Jonas M. Gastal wrote:
  Hey all,
  
  I've been trying to write documentation for elm_label, however there are
  a
  
  number of things that seem to not work:
- elm_label_ellipsis_set() is only respected for ELM_WRAP_CHAR
 
 It also works with ELM_WRAP_WORD/NONE here...
 
- elm_label_slide_set() doesn't work(no change setting it to true or
false)
 
 Did you set up style?
  elm_object_style_set(label, slide_long);
 Slide duration?
  elm_label_slide_duration_set(label, 5);
 
- elm_object_style_set(label, marker) causes the label's text to
not show
 
 Dunno about this one.
 
- elm_label_wrap_width_set() and elm_label_wrap_height_set() do
nothing
 
 Wrap width and wrap height define size limits on the object. Calling
 them does essentially two things:
 1. Set hint_max on the label object to the wrap sizes.
 2. Make sure the object wraps at those limits no matter what. (in the
 case of height restriction, it's making sure the text gets ellipsized).
 
 I hope this helped,
 Tom.

Tom,

You certainly did help, I got almost everything to work as expected. However a 
few issues remain:
 - the marker style which was mentioned in the previously existing 
documentation is present in the default.edc file, but using it causes the text 
of the label to dissapear.
 - elm_label_ellipsis_set() doesn't work for ELM_WRAP_WORD(tough it does for 
ELM_WRAP_NONE).

If you(or anyone else) likes I can create a ticket in trac with sample code.

Best regards,
Gastal.

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] elm_label

2011-07-11 Thread Jonas M. Gastal
Hey all,

I've been trying to write documentation for elm_label, however there are a 
number of things that seem to not work:
 - elm_label_ellipsis_set() is only respected for ELM_WRAP_CHAR
 - elm_label_slide_set() doesn't work(no change setting it to true or false)
 - elm_object_style_set(label, marker) causes the label's text to not show
 - elm_label_wrap_width_set() and elm_label_wrap_height_set() do nothing
For the last one I guess it is quite possible that I'm just not using it 
right, but for the other ones I think that unlikely. Can any one confirm these 
as bugs or them me how they should be used?

Thanks in advance,
Gastal

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: antognolli trunk/evas

2011-06-22 Thread Jonas M. Gastal
On Thursday, June 23, 2011 00:45:14 Vincent Torri wrote:
 it's not bizarre, it's just that i'm sure we'll have problems later. I'm
 completely against circular dependencies
 
 and why do you need to compile the tests ?
 
 Vincent

The reason to compile the examples is so that if changes break them it will be 
noticed quickly.

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: antognolli IN trunk/devs: . gastal

2011-06-09 Thread Jonas M. Gastal
On Thursday, June 09, 2011 15:34:43 Rafael Antognolli wrote:
 On Thu, Jun 9, 2011 at 1:15 PM, Tom Hacohen
 
 tom.haco...@partner.samsung.com wrote:
  On Fri, 2011-06-10 at 00:36 +0900, Daniel Juyung Seo wrote:
  Hello, Jonas M. Gasta.
  Welcome to enlightenment world :)
  
  +1, welcome Jonas.
 
 Hmm... and he's not in yet, since just adding him to the list of devs
 wasn't enough to give svn access. Can someone take a look if there was
 a problem with the script that creates his account? Or I should do
 something else that I forgot?
 
 Regards,

Hey everyone,

Thanks for the warm welcome, if anyone can help figure out why I still don't 
have svn access I have some patches ready to go.

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel