[EGIT] [core/evas_generic_loaders] master 01/01: build: Remove bzip2 tarballs from distcheck

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/evas_generic_loaders.git/commit/?id=e0293956cb8e2bb22f01cd6340b659d6a1120cdd

commit e0293956cb8e2bb22f01cd6340b659d6a1120cdd
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 10:22:39 2014 +0100

build: Remove bzip2 tarballs from distcheck

When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e2786e9..f3980a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ AC_CONFIG_MACRO_DIR([m4])
 
 AC_CONFIG_HEADERS([config.h])
 
-AM_INIT_AUTOMAKE([1.6 dist-bzip2 dist-xz])
+AM_INIT_AUTOMAKE([1.6 dist-xz])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##

-- 




[EGIT] [core/efl] efl-1.12 01/01: build: Remove bzip2 tarballs from distcheck

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch efl-1.12.

http://git.enlightenment.org/core/efl.git/commit/?id=d9aa921daaa55fc5348c0ad2515c9090798a57e7

commit d9aa921daaa55fc5348c0ad2515c9090798a57e7
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 10:33:05 2014 +0100

 build: Remove bzip2 tarballs from distcheck

When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index eac6f65..73df966 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ AH_BOTTOM([
 
 AC_USE_SYSTEM_EXTENSIONS
 
-AM_INIT_AUTOMAKE([1.6 dist-bzip2 dist-xz -Wall color-tests subdir-objects])
+AM_INIT_AUTOMAKE([1.6 dist-xz -Wall color-tests subdir-objects])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 CFOPT_WARNING=

-- 




[E-devel] 1.13 is open for development

2014-11-11 Thread Stefan Schmidt
Hello.

As I have not seen the rush of commits I expected I just want to make it
crystal clear that master is now open again for all commits.

To open up master I have to do a commit that sets us back from release
to dev mode in configure as well as bumping the version to x.x.99.

In this commit I mention that the merge window is open for the next
release and you are free to start bringing in your stuff.

regards
Stefan Schmidt

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/elementary] elementary-1.12 01/01: build: Remove bzip2 tarballs from distcheck

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch elementary-1.12.

http://git.enlightenment.org/core/elementary.git/commit/?id=658a42e7641dfe4648b0826eedf628bcb048126b

commit 658a42e7641dfe4648b0826eedf628bcb048126b
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 10:37:16 2014 +0100

 build: Remove bzip2 tarballs from distcheck

When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e0f2aad..3acb62e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AH_BOTTOM([
 
 AC_USE_SYSTEM_EXTENSIONS
 
-AM_INIT_AUTOMAKE([1.11 dist-bzip2 dist-xz -Wall])
+AM_INIT_AUTOMAKE([1.11 dist-xz -Wall])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 

-- 




Re: [E-devel] discussion - documentation

2014-11-11 Thread Thanatermesis
For a Forum I was recently looking at the discourse one and I was
thinking to move the actual forum of Elive to it http://www.discourse.org/
 , Btw yesterday somebody tried to give a feedback about e18/e19+ but
didn't found easly where is the mailing list (or if there is any)

About the documentation, what about having a git hook in the server that
rejects any commit that modified (or added) code without its relative
documentation ? we can make a simple parser for this or use the
documentation tools to parse the specific commited parts, we could even
use specific keywords for that. On this way there will be no way to push a
fast commit if the documentation is not 100% updated


2014-11-10 8:38 GMT+01:00 Lionel Orry lionel.o...@gmail.com:

 Hello devs,

 On Thu, Nov 6, 2014 at 8:09 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  i thought i'd start this here for a wide audience.
 
  documentation for efl. it's rather horrible. and yesterday it dawned on
 me...
  it has license problems too.
 
  1. license problems:
 
  the documentation in many parts is lgpl - and that means copying any
 code from
  code snippets or examples in the docs makes the app you copy it into
 lgpl. that
  is BAD. enforcing the license even though with lgpl we intend the library
  boundary to be the library itself. we can add exceptions, but splitting
 docs
  out might actually be best. reality is that no one is ever going to sue
 over
  this and it's safe as it's not intended to be a problem, but
 strictly/legally
  it is. if someone has a legal department that really dots their i's and
 crosses
  their t's... they would spot this.
 
  2. our docs are a mess. a lot are not linked to and undiscoverable. they
 have
  typos, missing docs - often are sparse and with little or nothing in the
 way of
  binding things together. they are at best a very slim reference set for
 apis
  with little besides that. some references are good, but most are also
 very
  thin. keeping docs totally in the hands of core devs (always in the
 source
  tree - src commit access needed) simply is *NOT WORKING*. devs work on
 code. we
  just are not doing docs. we should do them, but reality is we are not
 and have
  little incentive to do it. core devs are busy enough as-is.
 
  3. eo brings the added problem of needing docs to cover multiple
 languages
  from a single source. C, C++, Lua, JS, Python... it's a unique problem
 that
  using doxygen is never going to solve. we need a solution. i haven't
 found
  another solution and to be honest ours will be custom due to eo/eolian
 anwyay.

 I never used it myself but I heard some positive feedbacks about Dexy
 : http://dexy.it
 I also know it includes a markdown parser (have I read markdown
 somewhere in that thread?)

 Have a look we never know. I'te been used on mongrel2 which is made in
 C and also makes use of pyhon for handlers, so both languages are
 supported.

 
  4. people ask questions on efl all the time and we answer in email, irc
 etc. ..
  and this information is not captured. it's lost. that's because there is
 no
  forum for asking such q's. we should closely tie such forums and qa to
  documentation. this would massively improve the value of docs.
 
  5. the theory of keeping docs with the code is just not working. it
 doesn't
  encourage them to be good. it just isn't working - plain and simple.
 it's time
  to re-evaluate that.
 
  ...
 
  we need a solution. we need to expand the set of peole who can
 contribute to
  documentation. we need to handle multiple languages with a single
 source. we
  need to collect qa together with the docs that are relevant. we need to
  encourage our docs not to fragment.
 
  what i propose is we take a long hard look at how we document and
 present docs
  to the world. i'm opening this up to people to contribute to the
 discussion and
  propose solutions and share their knowledge/experience. let me start:
 
  1. we set up a wiki that is easy to drive from a back-end in terms of
 inserting
  content. jpeg has spent a fair bit of time looking at gollum. gollum
 looks good:
  https://github.com/gollum/gollum - it is a wiki that is all plain text
 files
  (hooray! no danged db) in a directory tree... with everything in git.
 that means
  you can edit the wiki with your fave text editor and git commit/push your
  changes. web interface is not needed - but is there for those without
 back-end
  git access. we can automate inserting content with scripts too and so
 life gets
  easy for automated infra. that is good.
 
  2. we need to solve discussions. being able to have a thread on any wiki
 page
  would really help. like reddit or any of these places, we would have a
 live
  community of people discussing things. they can discuss on the page that
 is
  relevant. it'd be nice if someone proposes a way to do this with gollum
 or has
  a solution that already does this that is as nice as gollum is?
 
  3. we write scripts (maybe lua? since we already have 

[E-devel] Last stable update for 1.11.x scheduled for Thursday

2014-11-11 Thread Stefan Schmidt
Hello.

With 1.12 out I want to do a last 1.11.5 release to catch all the fixes
that have been backported during 1.12 stabilization.

If you have anything pending that should be backported please do it
until tomorrow evening. I will prepare some tarballs on Thursday.

regards
Stefan Schmidt

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: build: Remove bzip2 tarballs from distcheck

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c2f130a2f77f7f319e819ff7883c8695aa45319e

commit c2f130a2f77f7f319e819ff7883c8695aa45319e
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 10:33:05 2014 +0100

 build: Remove bzip2 tarballs from distcheck

When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6c468e8..c9cacb7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ AH_BOTTOM([
 
 AC_USE_SYSTEM_EXTENSIONS
 
-AM_INIT_AUTOMAKE([1.6 dist-bzip2 dist-xz -Wall color-tests subdir-objects])
+AM_INIT_AUTOMAKE([1.6 dist-xz -Wall color-tests subdir-objects])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 CFOPT_WARNING=

-- 




[EGIT] [core/efl] efl-1.12 01/01: Revert build: Remove bzip2 tarballs from distcheck

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch efl-1.12.

http://git.enlightenment.org/core/efl.git/commit/?id=e0d4ec15dd2aeb5d158078e9780c59ecb595631b

commit e0d4ec15dd2aeb5d158078e9780c59ecb595631b
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 10:49:15 2014 +0100

Revert  build: Remove bzip2 tarballs from distcheck

This does only belong into master but not the stable branch. Sorry.

This reverts commit d9aa921daaa55fc5348c0ad2515c9090798a57e7.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 73df966..eac6f65 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ AH_BOTTOM([
 
 AC_USE_SYSTEM_EXTENSIONS
 
-AM_INIT_AUTOMAKE([1.6 dist-xz -Wall color-tests subdir-objects])
+AM_INIT_AUTOMAKE([1.6 dist-bzip2 dist-xz -Wall color-tests subdir-objects])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 CFOPT_WARNING=

-- 




[EGIT] [core/elementary] elementary-1.12 01/01: Revert build: Remove bzip2 tarballs from distcheck

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch elementary-1.12.

http://git.enlightenment.org/core/elementary.git/commit/?id=f8f84dd0d48f99c9941ea73e2375dfd51d08b8ad

commit f8f84dd0d48f99c9941ea73e2375dfd51d08b8ad
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 10:50:22 2014 +0100

Revert  build: Remove bzip2 tarballs from distcheck

This does only belong into master and not the stable branch. Sorry.

This reverts commit 658a42e7641dfe4648b0826eedf628bcb048126b.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3acb62e..e0f2aad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AH_BOTTOM([
 
 AC_USE_SYSTEM_EXTENSIONS
 
-AM_INIT_AUTOMAKE([1.11 dist-xz -Wall])
+AM_INIT_AUTOMAKE([1.11 dist-bzip2 dist-xz -Wall])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 

-- 




[EGIT] [core/efl] master 17/18: tests/elocation: Disable problematic elocation status test for now.

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1c17188b1c98ebc14a38acecc4ac1b059a21a27d

commit 1c17188b1c98ebc14a38acecc4ac1b059a21a27d
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 12:26:56 2014 +0100

tests/elocation: Disable problematic elocation status test for now.

This seems to fail in some cases. Have it disabled for now to have the
rest of the tests run stable.
---
 src/tests/elocation/elocation_suite.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/elocation/elocation_suite.c 
b/src/tests/elocation/elocation_suite.c
index 01e375b..6b2cc46 100644
--- a/src/tests/elocation/elocation_suite.c
+++ b/src/tests/elocation/elocation_suite.c
@@ -205,11 +205,11 @@ elocation_suite(void)
tc = tcase_create(Elocation_API_Address);
tcase_add_test(tc, elocation_test_api_address);
suite_add_tcase(s, tc);
-
+/*
tc = tcase_create(Elocation_API_Status);
tcase_add_test(tc, elocation_test_api_status);
suite_add_tcase(s, tc);
-
+*/
return s;
 }
 

-- 




[EGIT] [core/efl] master 13/18: tests/elocation: Generate libcheck xml output for jenkins

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2358c699835bba20b26c7276cb4c4d61320837dc

commit 2358c699835bba20b26c7276cb4c4d61320837dc
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Wed Oct 29 11:28:17 2014 +0100

tests/elocation: Generate libcheck xml output for jenkins

Jenkins reads the xml file generated by libcheck to display the coverage.
Also setup EFL_RUN_IN_TREE to make sure all paths are setup correctly.
---
 src/tests/elocation/elocation_suite.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/elocation/elocation_suite.c 
b/src/tests/elocation/elocation_suite.c
index 8077101..603f2b9 100644
--- a/src/tests/elocation/elocation_suite.c
+++ b/src/tests/elocation/elocation_suite.c
@@ -197,8 +197,11 @@ main(void)
SRunner *sr;
int failed_count;
 
+   putenv(EFL_RUN_IN_TREE=1);
+
s = elocation_suite();
sr = srunner_create(s);
+   srunner_set_xml(sr, TESTS_BUILD_DIR /check-results.xml);
srunner_run_all(sr, CK_ENV);
failed_count = srunner_ntests_failed(sr);
srunner_free(sr);

-- 




[EGIT] [core/efl] master 06/18: doc/elocation: Update since tag to an appropriate 1.13

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=701502cde20c695a135ac385478ed2e9e58023cc

commit 701502cde20c695a135ac385478ed2e9e58023cc
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 16:11:23 2014 +0100

doc/elocation: Update since tag to an appropriate 1.13
---
 src/lib/elocation/Elocation.h | 44 +--
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h
index 851b679..8db18a9 100644
--- a/src/lib/elocation/Elocation.h
+++ b/src/lib/elocation/Elocation.h
@@ -72,7 +72,7 @@
 /**
  * @ingroup Location
  * @brief Available location events that are emitted from the library
- * @since 1.8
+ * @since 1.13
  *
  * Ecore events emitted by the library. Applications can register ecore event
  * handlers to react on such events. After the initial query this can be used
@@ -94,7 +94,7 @@ EAPI extern int ELOCATION_EVENT_META_READY; /** Meta 
provider is ready to be us
 /**
  * @ingroup Location
  * @typedef Elocation_Accuracy_Level
- * @since 1.8
+ * @since 1.13
  *
  * Different location accuracy levels from country level up to detailed,
  * e.g. GPS, information.
@@ -114,7 +114,7 @@ typedef enum {
 /**
  * @ingroup Location
  * @typedef Elocation_Resource_Flags
- * @since 1.8
+ * @since 1.13
  *
  * Flags for available system resources to be used for locating. So far they
  * cover physical resources like network connection, cellular network
@@ -134,7 +134,7 @@ typedef enum {
 /**
  * @ingroup Location
  * @typedef Elocation_Accuracy
- * @since 1.8
+ * @since 1.13
  *
  * Information about the accuracy of the reported location. For details about
  * the level of accuracy see #Elocation_Accuracy_Level. It also covers
@@ -151,7 +151,7 @@ typedef struct _Elocation_Accuracy
 /**
  * @ingroup Location
  * @typedef Elocation_Address
- * @since 1.8
+ * @since 1.13
  *
  * Location information in textual form. Depending on the used provider this
  * can cover only the country or a detailed address with postcode and street.
@@ -173,7 +173,7 @@ typedef struct _Elocation_Address
 /**
  * @ingroup Location
  * @typedef Elocation_Position
- * @since 1.8
+ * @since 1.13
  *
  * Location information based on the GPS grid. Latitude, longitude and 
altitude.
  * A timestamp is available to calculate the age of the address data.
@@ -190,7 +190,7 @@ typedef struct _Elocation_Postion
 /**
  * @ingroup Location
  * @typedef Elocation_Velocity
- * @since 1.8
+ * @since 1.13
  *
  * Velocity information. So far this interface is only offered with GPS based
  * providers. It offers information about speed, direction and climb.
@@ -209,7 +209,7 @@ typedef struct _Elocation_Velocity
 /**
  * @ingroup Location
  * @typedef Elocation_Requirements
- * @since 1.8
+ * @since 1.13
  *
  * Requirement settings for the location provider. Requirements can be a level
  * of accuracy or allowed resources like network access or GPS. See
@@ -235,7 +235,7 @@ typedef struct _Elocation_Requirements
  * with a call to #elocation_address_free.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI Elocation_Address *elocation_address_new(void);
 
@@ -248,7 +248,7 @@ EAPI Elocation_Address *elocation_address_new(void);
  * no longer needed.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI void elocation_address_free(Elocation_Address *address);
 
@@ -261,7 +261,7 @@ EAPI void elocation_address_free(Elocation_Address 
*address);
  * with a call to #elocation_address_free.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI Elocation_Position *elocation_position_new(void);
 
@@ -274,7 +274,7 @@ EAPI Elocation_Position *elocation_position_new(void);
  * no longer needed.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI void elocation_position_free(Elocation_Position *position);
 
@@ -290,7 +290,7 @@ EAPI void elocation_position_free(Elocation_Position 
*position);
  * event.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI Eina_Bool elocation_address_get(Elocation_Address *address);
 
@@ -306,7 +306,7 @@ EAPI Eina_Bool elocation_address_get(Elocation_Address 
*address);
  * event.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI Eina_Bool elocation_position_get(Elocation_Position *position);
 
@@ -316,7 +316,7 @@ EAPI Eina_Bool elocation_position_get(Elocation_Position 
*position);
  * @return EINA_TRUE for success and EINA_FALSE for failure.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI Eina_Bool elocation_status_get(int *status);
 
@@ -328,7 +328,7 @@ EAPI Eina_Bool elocation_status_get(int *status);
  * Set the requirements for selecting a provider.
  *
  * @ingroup Location
- * @since 1.8
+ * @since 1.13
  */
 EAPI Eina_Bool elocation_requirements_set(Elocation_Requirements 
*requirements);
 
@@ -342,7 +342,7 @@ EAPI Eina_Bool 

[EGIT] [core/efl] master 04/18: pc: Ignore newly generated elocation.pc file

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f1badf1c39135fe40381bb9c4b65cca32eebf9a4

commit f1badf1c39135fe40381bb9c4b65cca32eebf9a4
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 15:57:25 2014 +0100

pc: Ignore newly generated elocation.pc file
---
 pc/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pc/.gitignore b/pc/.gitignore
index c4c45d5..8bd7d22 100644
--- a/pc/.gitignore
+++ b/pc/.gitignore
@@ -28,6 +28,7 @@
 /eet-cxx.pc
 /eio.pc
 /eldbus.pc
+/elocation.pc
 /embryo.pc
 /emotion.pc
 /eo.pc

-- 




[EGIT] [core/efl] master 15/18: elocation: Cleanup status code handling

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=510773a99df919d557323da057034a4cbca1a3f5

commit 510773a99df919d557323da057034a4cbca1a3f5
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 11:46:14 2014 +0100

elocation: Cleanup status code handling

The code is an integer enum so we should really handle it like this. Use 
dummy
free callbacks for ecore_event_add as we pass not malloced data in.
---
 src/lib/elocation/elocation.c | 22 --
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c
index 31065dc..2b79526 100644
--- a/src/lib/elocation/elocation.c
+++ b/src/lib/elocation/elocation.c
@@ -34,7 +34,7 @@ static Elocation_Position *position = NULL;
 static Elocation_Address *addr_geocode = NULL;
 static Elocation_Position *pos_geocode = NULL;
 static Elocation_Velocity *velocity = NULL;
-static int *status = -1; /* 0 is a valid status code */
+static int status = -1; /* 0 is a valid status code */
 static char nmea_sentence[256];
 
 int _elocation_log_dom = -1;
@@ -740,35 +740,29 @@ status_cb(void *data EINA_UNUSED, const Eldbus_Message 
*reply, Eldbus_Pending *p
 return;
  }
 
-   /* We need this to be malloced to be passed to ecore_event_add. Or provide 
a dummy free callback. */
-   status = malloc(sizeof(*status));
-
-   if (!eldbus_message_arguments_get(reply,i,  status))
+   if (!eldbus_message_arguments_get(reply,i,  status))
  {
 ERR(Error: Unable to unmarshall status);
 return;
  }
 
-   address_provider-status = position_provider-status = *status;
+   address_provider-status = position_provider-status = status;
/* Send out an event to all interested parties that we have an update */
-   ecore_event_add(ELOCATION_EVENT_STATUS, status, NULL, NULL);
+   ecore_event_add(ELOCATION_EVENT_STATUS, status, _dummy_free, NULL);
 }
 
 static void
 status_signal_cb(void *data EINA_UNUSED, const Eldbus_Message *reply)
 {
-   /* We need this to be malloced to be passed to ecore_event_add. Or provide 
a dummy free callback. */
-   status = malloc(sizeof(*status));
-
-   if (!eldbus_message_arguments_get(reply,i,  status))
+   if (!eldbus_message_arguments_get(reply,i,  status))
  {
 ERR(Error: Unable to unmarshall status);
 return;
  }
 
-   address_provider-status = position_provider-status = *status;
+   address_provider-status = position_provider-status = status;
/* Send out an event to all interested parties that we have an update */
-   ecore_event_add(ELOCATION_EVENT_STATUS, status, NULL, NULL);
+   ecore_event_add(ELOCATION_EVENT_STATUS, status, _dummy_free, NULL);
 }
 
 static void
@@ -1133,7 +1127,7 @@ elocation_status_get(int *status_shadow)
 {
if (status  0) return EINA_FALSE;
 
-   status_shadow = status;
+   status_shadow = status;
return EINA_TRUE;
 }
 

-- 




[EGIT] [core/efl] master 08/18: doc: Add reference to Elocation documentation from main page

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c389e36ef5951fcc150782c3453afdf9e813e366

commit c389e36ef5951fcc150782c3453afdf9e813e366
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 16:22:00 2014 +0100

doc: Add reference to Elocation documentation from main page
---
 doc/main.dox | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/main.dox b/doc/main.dox
index 1c2b20b..5db1577 100644
--- a/doc/main.dox
+++ b/doc/main.dox
@@ -24,6 +24,7 @@
  * @li @ref evil_main microsoft windows portability layer.
  * @li @ref eolian_main an EO file parser and code generator.
  * @li @ref eina_cxx_main Eina C++ bindings.
+ * @li @ref Location awareness library.
  *
  */
 

-- 




[EGIT] [core/efl] master 11/18: tests/elocation: Avoid testing of non elocation things in the elocation suite

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0d6dcb958190942adb175a88760d3ac9021d302d

commit 0d6dcb958190942adb175a88760d3ac9021d302d
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Wed Oct 29 09:48:55 2014 +0100

tests/elocation: Avoid testing of non elocation things in the elocation 
suite

These inits and shutdown are already done in elocation_init() directly. As 
we
do not use any of its functionality here we better concentrate on elocation
unit tests in here.
---
 src/tests/elocation/elocation_suite.c | 44 ---
 1 file changed, 44 deletions(-)

diff --git a/src/tests/elocation/elocation_suite.c 
b/src/tests/elocation/elocation_suite.c
index c049bd1..8077101 100644
--- a/src/tests/elocation/elocation_suite.c
+++ b/src/tests/elocation/elocation_suite.c
@@ -5,8 +5,6 @@
 #include stdlib.h
 #include stdio.h
 
-#include Eina.h
-
 #include check.h
 
 #include Elocation.h
@@ -18,16 +16,10 @@ START_TEST(elocation_test_init)
 {
Eina_Bool ret;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 
@@ -37,10 +29,6 @@ START_TEST(elocation_test_address_object)
Eina_Bool ret;
Elocation_Address *address = NULL;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
@@ -50,8 +38,6 @@ START_TEST(elocation_test_address_object)
elocation_address_free(address);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 
@@ -61,10 +47,6 @@ START_TEST(elocation_test_position_object)
Eina_Bool ret;
Elocation_Position *position = NULL;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
@@ -74,8 +56,6 @@ START_TEST(elocation_test_position_object)
elocation_position_free(position);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 
@@ -86,10 +66,6 @@ START_TEST(elocation_test_api_geocode)
Elocation_Position *position = NULL;
Elocation_Address *address = NULL;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
@@ -117,8 +93,6 @@ START_TEST(elocation_test_api_geocode)
elocation_address_free(address);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 
@@ -128,10 +102,6 @@ START_TEST(elocation_test_api_position)
Eina_Bool ret;
Elocation_Position *position = NULL;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
@@ -144,8 +114,6 @@ START_TEST(elocation_test_api_position)
elocation_position_free(position);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 
@@ -155,10 +123,6 @@ START_TEST(elocation_test_api_address)
Eina_Bool ret;
Elocation_Address *address = NULL;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
@@ -171,8 +135,6 @@ START_TEST(elocation_test_api_address)
elocation_address_free(address);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 
@@ -182,10 +144,6 @@ START_TEST(elocation_test_api_status)
Eina_Bool ret;
int status = 0;
 
-   ret = ecore_init();
-   fail_if(ret != EINA_TRUE);
-   ret = eldbus_init();
-   fail_if(ret != EINA_TRUE);
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
@@ -193,8 +151,6 @@ START_TEST(elocation_test_api_status)
fail_if(ret != EINA_TRUE);
 
elocation_shutdown();
-   eldbus_shutdown();
-   ecore_shutdown();
 }
 END_TEST
 

-- 




[EGIT] [core/efl] master 16/18: elocation: Check if the passed in address/position/status is already up to date

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=821d68ded1dc3f5cca016f3a4e80f48237f27c11

commit 821d68ded1dc3f5cca016f3a4e80f48237f27c11
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 12:02:10 2014 +0100

elocation: Check if the passed in address/position/status is already up to 
date

This API needs to get rewritten when the GeoClue2 support lands.
---
 src/lib/elocation/elocation.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c
index 2b79526..2478c51 100644
--- a/src/lib/elocation/elocation.c
+++ b/src/lib/elocation/elocation.c
@@ -1106,6 +1106,7 @@ EAPI Eina_Bool
 elocation_address_get(Elocation_Address *address_shadow)
 {
if (!address) return EINA_FALSE;
+   if (address == address_shadow) return EINA_TRUE;
 
address_shadow = address;
return EINA_TRUE;
@@ -1116,6 +1117,7 @@ EAPI Eina_Bool
 elocation_position_get(Elocation_Position *position_shadow)
 {
if (!position) return EINA_FALSE;
+   if (position == position_shadow) return EINA_TRUE;
 
position_shadow = position;
return EINA_TRUE;
@@ -1126,6 +1128,7 @@ EAPI Eina_Bool
 elocation_status_get(int *status_shadow)
 {
if (status  0) return EINA_FALSE;
+   if (status == status_shadow) return EINA_TRUE;
 
status_shadow = status;
return EINA_TRUE;

-- 




[EGIT] [core/efl] master 03/18: tests/elocation: Add elocation test suite.

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d3476bf77891547506f77c00d707e7b57b69aa35

commit d3476bf77891547506f77c00d707e7b57b69aa35
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 15:55:02 2014 +0100

tests/elocation: Add elocation test suite.

Not covering all cases yet but still a good start.
---
 src/Makefile_Elocation.am |  21 +++
 src/tests/elocation/elocation_suite.c | 251 ++
 2 files changed, 272 insertions(+)

diff --git a/src/Makefile_Elocation.am b/src/Makefile_Elocation.am
index 0fc5b69..4314725 100644
--- a/src/Makefile_Elocation.am
+++ b/src/Makefile_Elocation.am
@@ -14,3 +14,24 @@ lib_elocation_libelocation_la_CPPFLAGS = 
-I$(top_builddir)/src/lib/efl @ELOCATIO
 lib_elocation_libelocation_la_LIBADD = @ELOCATION_LIBS@
 lib_elocation_libelocation_la_DEPENDENCIES = @ELOCATION_INTERNAL_LIBS@
 lib_elocation_libelocation_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
+
+### Unit tests
+
+if EFL_ENABLE_TESTS
+
+check_PROGRAMS += tests/elocation/elocation_suite
+TESTS += tests/elocation/elocation_suite
+
+tests_elocation_elocation_suite_SOURCES = \
+tests/elocation/elocation_suite.c
+
+tests_elocation_elocation_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+-DTESTS_WD=\`pwd`\ \
+-DTESTS_SRC_DIR=\$(top_srcdir)/src/tests/elocation\ \
+-DTESTS_BUILD_DIR=\$(top_builddir)/src/tests/elocation\ \
+@CHECK_CFLAGS@ \
+@ELOCATION_CFLAGS@
+tests_elocation_elocation_suite_LDADD = @CHECK_LIBS@ @USE_ELOCATION_LIBS@
+tests_elocation_elocation_suite_DEPENDENCIES = @USE_ELOCATION_INTERNAL_LIBS@
+
+endif
diff --git a/src/tests/elocation/elocation_suite.c 
b/src/tests/elocation/elocation_suite.c
new file mode 100644
index 000..c049bd1
--- /dev/null
+++ b/src/tests/elocation/elocation_suite.c
@@ -0,0 +1,251 @@
+#ifdef HAVE_CONFIG_H
+# include config.h
+#endif /* ifdef HAVE_CONFIG_H */
+
+#include stdlib.h
+#include stdio.h
+
+#include Eina.h
+
+#include check.h
+
+#include Elocation.h
+
+/* Test the init and shutdown pathes only. Good to do that as we don't set up
+ * other things and already triggered problems with this.
+ */
+START_TEST(elocation_test_init)
+{
+   Eina_Bool ret;
+
+   ret = ecore_init();
+   fail_if(ret != EINA_TRUE);
+   ret = eldbus_init();
+   fail_if(ret != EINA_TRUE);
+   ret = elocation_init();
+   fail_if(ret != EINA_TRUE);
+
+   elocation_shutdown();
+   eldbus_shutdown();
+   ecore_shutdown();
+}
+END_TEST
+
+/* Basic address object testing. Creating and freeing the object */
+START_TEST(elocation_test_address_object)
+{
+   Eina_Bool ret;
+   Elocation_Address *address = NULL;
+
+   ret = ecore_init();
+   fail_if(ret != EINA_TRUE);
+   ret = eldbus_init();
+   fail_if(ret != EINA_TRUE);
+   ret = elocation_init();
+   fail_if(ret != EINA_TRUE);
+
+   address = elocation_address_new();
+   fail_if(address == NULL);
+
+   elocation_address_free(address);
+
+   elocation_shutdown();
+   eldbus_shutdown();
+   ecore_shutdown();
+}
+END_TEST
+
+/* Basic position object testing. Creating and freeing the object */
+START_TEST(elocation_test_position_object)
+{
+   Eina_Bool ret;
+   Elocation_Position *position = NULL;
+
+   ret = ecore_init();
+   fail_if(ret != EINA_TRUE);
+   ret = eldbus_init();
+   fail_if(ret != EINA_TRUE);
+   ret = elocation_init();
+   fail_if(ret != EINA_TRUE);
+
+   position = elocation_position_new();
+   fail_if(position == NULL);
+
+   elocation_position_free(position);
+
+   elocation_shutdown();
+   eldbus_shutdown();
+   ecore_shutdown();
+}
+END_TEST
+
+/* Basic testing for the various functions of the GeoCode API */
+START_TEST(elocation_test_api_geocode)
+{
+   Eina_Bool ret;
+   Elocation_Position *position = NULL;
+   Elocation_Address *address = NULL;
+
+   ret = ecore_init();
+   fail_if(ret != EINA_TRUE);
+   ret = eldbus_init();
+   fail_if(ret != EINA_TRUE);
+   ret = elocation_init();
+   fail_if(ret != EINA_TRUE);
+
+   position = elocation_position_new();
+   fail_if(position == NULL);
+
+   address = elocation_address_new();
+   fail_if(address == NULL);
+
+   ret = elocation_freeform_address_to_position(London, position);
+   fail_if(ret != EINA_TRUE);
+
+   position-latitude = 51.7522;
+   position-longitude = -1.25596;
+   position-accur-level = 3;
+   ret = elocation_position_to_address(position, address);
+   fail_if(ret != EINA_TRUE);
+
+   address-locality = strdup(Cambridge);
+   address-countrycode = strdup(UK);
+   ret = elocation_address_to_position(address, position);
+   fail_if(ret != EINA_TRUE);
+
+   elocation_position_free(position);
+   elocation_address_free(address);
+
+   elocation_shutdown();
+   eldbus_shutdown();
+   ecore_shutdown();
+}
+END_TEST
+
+/* Basic testing for position API */
+START_TEST(elocation_test_api_position)
+{
+   Eina_Bool ret;
+   Elocation_Position *position = NULL;
+
+   ret = ecore_init();
+   fail_if(ret != EINA_TRUE);
+   ret = eldbus_init();
+   fail_if(ret != EINA_TRUE);
+   ret = 

[EGIT] [core/efl] master 10/18: examples/elocation: Add example makefile for elocation

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=61a27cbf7f47b0d4736df2e0037475b1085e3ac3

commit 61a27cbf7f47b0d4736df2e0037475b1085e3ac3
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 17:35:05 2014 +0100

examples/elocation: Add example makefile for elocation

To make the example worthwhile to run alone add a basic makefile for the
example like we do for others.
---
 src/examples/elocation/Makefile.examples | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/src/examples/elocation/Makefile.examples 
b/src/examples/elocation/Makefile.examples
new file mode 100644
index 000..20ab2b2
--- /dev/null
+++ b/src/examples/elocation/Makefile.examples
@@ -0,0 +1,14 @@
+CC=gcc
+COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,eldbus,elocation`
+
+EXAMPLES= elocation
+
+all: examples
+examples: $(EXAMPLES)
+
+$(EXAMPLES):
+   $(CC) -o $@ $@.c $(COMMON_FLAGS)
+
+clean:
+   @echo Cleaning up built objects...
+   @rm -Rf $(EXAMPLES)

-- 




[EGIT] [core/efl] master 01/18: elocation: Add elocation libraray to EFL.

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a2d2cdaf9f258ec4c6c7c33d912bbe41625e8532

commit a2d2cdaf9f258ec4c6c7c33d912bbe41625e8532
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 11:22:55 2014 +0100

elocation: Add elocation libraray to EFL.

Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are 
just
some of the use cases.

In the beginning elocation will rely on the GeoClue1 DBus service. 
Supporting
the new GeoClue2 DBus service is planned and worked on. GeoClue offers
providers for various techniques to get hold off the current position. 
Ranging
from GeoIP over wifi and GSM cell location to GPS.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

The detection of the GeoClue service is being handled on runtime and no new
dependency is added due to this library.

@feature
---
 configure.ac  |   37 +
 pc/elocation.pc.in|   12 +
 src/Makefile.am   |2 +-
 src/Makefile_Elocation.am |   16 +
 src/lib/elocation/Elocation.h |  418 ++
 src/lib/elocation/elocation.c | 1416 +
 src/lib/elocation/elocation_private.h |  181 +
 7 files changed, 2081 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c9cacb7..8b03024 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4374,6 +4374,42 @@ EFL_EVAL_PKGS([ELUA])
 EFL_LIB_END_OPTIONAL([Elua])
  End of Elua
 
+ Elocation
+
+EFL_LIB_START([Elocation])
+
+### Default values
+
+### Additional options to configure
+
+### Checks for programs
+
+### Checks for libraries
+EFL_PLATFORM_DEPEND([ELOCATION], [evil])
+EFL_INTERNAL_DEPEND_PKG([ELOCATION], [eina])
+EFL_INTERNAL_DEPEND_PKG([ELOCATION], [eo])
+EFL_INTERNAL_DEPEND_PKG([ELOCATION], [ecore])
+EFL_INTERNAL_DEPEND_PKG([ELOCATION], [eldbus])
+
+EFL_ADD_LIBS([ELOCATION], [-lm])
+
+### Checks for header files
+
+### Checks for types
+
+### Checks for structures
+
+### Checks for compiler characteristics
+
+### Checks for linker characteristics
+
+### Checks for library functions
+
+### Check availability
+
+EFL_LIB_END([Elocation])
+ End of Elocation
+
 ### Add Wayland server library if test is enabled
 if test x${want_tests} = xyes -a x${want_wayland} = xyes; then
EFL_DEPEND_PKG([ECORE_WAYLAND_SRV], [WAYLAND], [wayland-server = 1.3.0])
@@ -4496,6 +4532,7 @@ pc/edje-cxx.pc
 pc/emotion.pc
 pc/ethumb.pc
 pc/ethumb_client.pc
+pc/elocation.pc
 dbus-services/org.enlightenment.Efreet.service
 dbus-services/org.enlightenment.Ethumb.service
 systemd-services/efreet.service
diff --git a/pc/elocation.pc.in b/pc/elocation.pc.in
new file mode 100644
index 000..5b6e52b
--- /dev/null
+++ b/pc/elocation.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: elocation
+Description: Enlightenment location library
+@pkgconfig_requires_private@: @requirements_elocation@
+Version: @VERSION@
+Libs: -L${libdir} -lelocation
+Libs.private: -lm
+Cflags: -I${includedir}/elocation-@VMAJ@
diff --git a/src/Makefile.am b/src/Makefile.am
index fdb13a2..72830d5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -78,8 +78,8 @@ include Makefile_Eolian_Cxx.am
 include Makefile_Eet_Cxx.am
 include Makefile_Eo_Cxx.am
 include Makefile_Efl_Cxx.am
-
 include Makefile_Elua.am
+include Makefile_Elocation.am
 
 .PHONY: benchmark examples
 
diff --git a/src/Makefile_Elocation.am b/src/Makefile_Elocation.am
new file mode 100644
index 000..0fc5b69
--- /dev/null
+++ b/src/Makefile_Elocation.am
@@ -0,0 +1,16 @@
+### Library
+
+lib_LTLIBRARIES += lib/elocation/libelocation.la
+
+installed_elocationsmainheadersdir = $(includedir)/elocation-@VMAJ@
+dist_installed_elocationsmainheaders_DATA = \
+lib/elocation/Elocation.h \
+lib/elocation/elocation_private.h
+
+lib_elocation_libelocation_la_SOURCES = \
+lib/elocation/elocation.c
+
+lib_elocation_libelocation_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl 
@ELOCATION_CFLAGS@
+lib_elocation_libelocation_la_LIBADD = @ELOCATION_LIBS@
+lib_elocation_libelocation_la_DEPENDENCIES = @ELOCATION_INTERNAL_LIBS@
+lib_elocation_libelocation_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h
new file mode 100644
index 000..851b679
--- /dev/null
+++ b/src/lib/elocation/Elocation.h
@@ -0,0 +1,418 @@
+/**
+ * @brief Elocation Library
+ *
+ * @mainpage Elocation
+ * @version 0.0.0
+ * @author Stefan Schmidt ste...@datenfreihafen.org
+ * @date 2012
+ *
+ * @section intro Elocation Use Cases
+ *
+ * Elocation is meant as a convenience library to 

[EGIT] [core/efl] master 07/18: doc/elocation: Make it fit into the efl documentation

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=597ce8e1ca040fe1845329fe347faec6112cb736

commit 597ce8e1ca040fe1845329fe347faec6112cb736
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 16:20:17 2014 +0100

doc/elocation: Make it fit into the efl documentation

@mainpage would override the main efl page. Its no longer a separate
lib which needs its own mainpage. We just need to make sure the group
and sections show up from the main page.
---
 src/lib/elocation/Elocation.h | 15 +--
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h
index 8db18a9..4f8e33a 100644
--- a/src/lib/elocation/Elocation.h
+++ b/src/lib/elocation/Elocation.h
@@ -1,10 +1,11 @@
 /**
+ * @file Elocation.h
  * @brief Elocation Library
  *
- * @mainpage Elocation
- * @version 0.0.0
- * @author Stefan Schmidt ste...@datenfreihafen.org
- * @date 2012
+ * @defgroup Location Location
+ */
+
+/**
  *
  * @section intro Elocation Use Cases
  *
@@ -64,12 +65,6 @@
 #include Eldbus.h
 
 /**
- * @file Elocation.h
- *
- * @defgroup Location Location
- */
-
-/**
  * @ingroup Location
  * @brief Available location events that are emitted from the library
  * @since 1.13

-- 




[EGIT] [core/efl] master 09/18: elocation: Mute all unused parameter warnings

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1eb4ffcc4dc3bd84943767ed9b7a8da80153a1bb

commit 1eb4ffcc4dc3bd84943767ed9b7a8da80153a1bb
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 17:01:07 2014 +0100

elocation: Mute all unused parameter warnings

The signature is given by the callback so the only thing we can do here is 
to
mute the warnings.
---
 src/lib/elocation/elocation.c | 60 +--
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c
index a14d19e..31065dc 100644
--- a/src/lib/elocation/elocation.c
+++ b/src/lib/elocation/elocation.c
@@ -54,7 +54,7 @@ EAPI int ELOCATION_EVENT_POI;
 EAPI int ELOCATION_EVENT_META_READY;
 
 static void
-_dummy_free(void *user_data, void *func_data)
+_dummy_free(void *user_data EINA_UNUSED, void *func_data EINA_UNUSED)
 {
/* Don't free the event data after dispatching the event. We keep track of
 * it on our own
@@ -80,7 +80,7 @@ unmarshall_provider(const Eldbus_Message *reply, 
Elocation_Provider *provider)
 }
 
 static void
-meta_address_provider_info_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
+meta_address_provider_info_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending EINA_UNUSED)
 {
const char *err, *errmsg;
Elocation_Provider *addr_provider;
@@ -106,7 +106,7 @@ meta_address_provider_info_cb(void *data, const 
Eldbus_Message *reply, Eldbus_Pe
 }
 
 static void
-meta_position_provider_info_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
+meta_position_provider_info_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending EINA_UNUSED)
 {
const char *err, *errmsg;
Elocation_Provider *pos_provider;
@@ -253,7 +253,7 @@ unmarshall_address(const Eldbus_Message *reply, 
Elocation_Address *addr)
  * variable set of key value pairs so we need to handle this with care
  */
 static void
-rgeocode_cb(void *data, const Eldbus_Message *reply, Eldbus_Pending *pending)
+rgeocode_cb(void *data EINA_UNUSED, const Eldbus_Message *reply, 
Eldbus_Pending *pending EINA_UNUSED)
 {
const char *err, *errmsg;
 
@@ -277,7 +277,7 @@ rgeocode_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
  * not in standard GeoClue but currently a Tizen extension.
  */
 static void
-poi_cb(void *data, const Eldbus_Message *reply, Eldbus_Pending *pending)
+poi_cb(void *data EINA_UNUSED, const Eldbus_Message *reply, Eldbus_Pending 
*pending EINA_UNUSED)
 {
int32_t count, id, rank;
double lat, lon, bound_left, bound_top, bound_right, bound_bottom;
@@ -316,7 +316,7 @@ poi_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
 
 /* Unmarshall a GeoCode message */
 static void
-geocode_cb(void *data, const Eldbus_Message *reply, Eldbus_Pending *pending)
+geocode_cb(void *data EINA_UNUSED, const Eldbus_Message *reply, Eldbus_Pending 
*pending EINA_UNUSED)
 {
GeocluePositionFields fields;
int32_t level;
@@ -364,7 +364,7 @@ geocode_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
 }
 
 static void
-address_cb(void *data, const Eldbus_Message *reply, Eldbus_Pending *pending)
+address_cb(void *data EINA_UNUSED, const Eldbus_Message *reply, Eldbus_Pending 
*pending EINA_UNUSED)
 {
const char *err, *errmsg;
 
@@ -385,7 +385,7 @@ address_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
 }
 
 static void
-address_signal_cb(void *data, const Eldbus_Message *reply)
+address_signal_cb(void *data EINA_UNUSED, const Eldbus_Message *reply)
 {
const char *err, *errmsg;
 
@@ -444,7 +444,7 @@ unmarshall_velocity(const Eldbus_Message *reply)
 }
 
 static void
-velocity_cb(void *data, const Eldbus_Message *reply, Eldbus_Pending *pending)
+velocity_cb(void *data EINA_UNUSED, const Eldbus_Message *reply, 
Eldbus_Pending *pending EINA_UNUSED)
 {
const char *err, *errmsg;
 
@@ -465,7 +465,7 @@ velocity_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
 }
 
 static void
-velocity_signal_cb(void *data, const Eldbus_Message *reply)
+velocity_signal_cb(void *data EINA_UNUSED, const Eldbus_Message *reply)
 {
if (!unmarshall_velocity(reply))
  {
@@ -495,7 +495,7 @@ unmarshall_nmea(const Eldbus_Message *reply)
 }
 
 static void
-nmea_cb(void *data, const Eldbus_Message *reply, Eldbus_Pending *pending)
+nmea_cb(void *data EINA_UNUSED, const Eldbus_Message *reply, Eldbus_Pending 
*pending EINA_UNUSED)
 {
const char *err, *errmsg;
 
@@ -516,7 +516,7 @@ nmea_cb(void *data, const Eldbus_Message *reply, 
Eldbus_Pending *pending)
 }
 
 static void
-nmea_signal_cb(void *data, const Eldbus_Message *reply)
+nmea_signal_cb(void *data EINA_UNUSED, const Eldbus_Message *reply)
 {
if (!unmarshall_nmea(reply))
  {
@@ -561,7 +561,7 @@ unmarshall_satellite(const Eldbus_Message *reply)
 }
 
 static void

[EGIT] [core/efl] master 14/18: tests/elocation: Enhance tests to wait for callback arrival.

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=699e5a2bed8e86a966e5872527af9b04d4f5acfe

commit 699e5a2bed8e86a966e5872527af9b04d4f5acfe
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Wed Oct 29 14:39:47 2014 +0100

tests/elocation: Enhance tests to wait for callback arrival.

These message are passes async over dbus so we better wait until we see the
reply if we want to have a test case that is somewhat useful.
---
 src/tests/elocation/elocation_suite.c | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/src/tests/elocation/elocation_suite.c 
b/src/tests/elocation/elocation_suite.c
index 603f2b9..01e375b 100644
--- a/src/tests/elocation/elocation_suite.c
+++ b/src/tests/elocation/elocation_suite.c
@@ -60,15 +60,36 @@ START_TEST(elocation_test_position_object)
 END_TEST
 
 /* Basic testing for the various functions of the GeoCode API */
+static int cb_count = 0;
+
+static Eina_Bool
+event_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
+{
+   fail_if(event == NULL);
+
+   /* We expect 3 callbacks right now */
+   if (++cb_count == 3)
+ ecore_main_loop_quit();
+
+   return ECORE_CALLBACK_DONE;
+}
+
 START_TEST(elocation_test_api_geocode)
 {
Eina_Bool ret;
Elocation_Position *position = NULL;
Elocation_Address *address = NULL;
+   Ecore_Event_Handler *handler;
 
ret = elocation_init();
fail_if(ret != EINA_TRUE);
 
+   handler = ecore_event_handler_add(ELOCATION_EVENT_GEOCODE, event_cb, NULL);
+   fail_if(handler == NULL);
+
+   handler = ecore_event_handler_add(ELOCATION_EVENT_REVERSEGEOCODE, event_cb, 
NULL);
+   fail_if(handler == NULL);
+
position = elocation_position_new();
fail_if(position == NULL);
 
@@ -89,6 +110,8 @@ START_TEST(elocation_test_api_geocode)
ret = elocation_address_to_position(address, position);
fail_if(ret != EINA_TRUE);
 
+   ecore_main_loop_begin();
+
elocation_position_free(position);
elocation_address_free(address);
 

-- 




[EGIT] [core/efl] master 05/18: examples/elocation: Add gitignore file for generated elocation examples

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8468b8c073f726d62109b6ff885b80b757eefac9

commit 8468b8c073f726d62109b6ff885b80b757eefac9
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Oct 28 15:58:18 2014 +0100

examples/elocation: Add gitignore file for generated elocation examples
---
 src/examples/elocation/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/examples/elocation/.gitignore 
b/src/examples/elocation/.gitignore
new file mode 100644
index 000..5945c2e
--- /dev/null
+++ b/src/examples/elocation/.gitignore
@@ -0,0 +1 @@
+/elocation

-- 




[EGIT] [core/efl] master 18/18: elocation: Add elocation libraray to EFL.

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=513d6f397e3c919d3b2df3db28c5b0e91152c8f7

commit 513d6f397e3c919d3b2df3db28c5b0e91152c8f7
Merge: c2f130a 1c17188
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 13:36:10 2014 +0100

elocation: Add elocation libraray to EFL.

Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are 
just
some of the use cases.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

So far it has only support for GeoClue1 while I already work on GeoClue2
support. The API is not considered stable yet and it will change for sure 
when
the GeoClue2 support gets merged. We will likely start if a reduced API when
1.13 gets released and extend if over time.

 configure.ac |   38 +
 doc/main.dox |1 +
 pc/.gitignore|1 +
 pc/elocation.pc.in   |   12 +
 src/Makefile.am  |3 +-
 src/Makefile_Elocation.am|   37 +
 src/examples/elocation/.gitignore|1 +
 src/examples/elocation/Makefile.am   |   51 ++
 src/examples/elocation/Makefile.examples |   14 +
 src/examples/elocation/elocation.c   |  169 
 src/lib/elocation/Elocation.h|  413 +
 src/lib/elocation/elocation.c| 1413 ++
 src/lib/elocation/elocation_private.h|  181 
 src/tests/elocation/elocation_suite.c|  233 +
 14 files changed, 2566 insertions(+), 1 deletion(-)

-- 




[EGIT] [core/efl] master 12/18: docs/elocation: Update some more version tags

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9ab00e96edb99b056c83c60f3d192a725ef9bea3

commit 9ab00e96edb99b056c83c60f3d192a725ef9bea3
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Wed Oct 29 11:23:58 2014 +0100

docs/elocation: Update some more version tags
---
 src/lib/elocation/elocation_private.h | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/elocation/elocation_private.h 
b/src/lib/elocation/elocation_private.h
index 1203cc3..e65df42 100644
--- a/src/lib/elocation/elocation_private.h
+++ b/src/lib/elocation/elocation_private.h
@@ -95,7 +95,7 @@ extern int ELOCATION_EVENT_OUT;
 /**
  * @ingroup Location
  * @typedef GeocluePositionFields
- * @since 1.8
+ * @since 1.13
  *
  * Bitmask to indicate which of the supplied positions fields are valid.
  *
@@ -112,7 +112,7 @@ typedef enum {
 /**
  * @ingroup Location
  * @typedef GeoclueNetworkStatus
- * @since 1.8
+ * @since 1.13
  *
  * Status of the network connectivity for GeoClue. Needed for all providers 
that
  * access external data to determine the location. For example GeoIP or GeoCode
@@ -131,7 +131,7 @@ typedef enum {
 /**
  * @ingroup Location
  * @typedef GeoclueStatus
- * @since 1.8
+ * @since 1.13
  *
  *  Status of a GeoClue provider.
  *
@@ -148,7 +148,7 @@ typedef enum {
 /**
  * @ingroup Location
  * @typedef GeoclueVelocityFields
- * @since 1.8
+ * @since 1.13
  *
  * Bitmask to indicate which of the supplied velocity fields are valid.
  *
@@ -165,7 +165,7 @@ typedef enum {
 /**
  * @ingroup Location
  * @typedef Elocation_Provider
- * @since 1.8
+ * @since 1.13
  *
  * Data structure to hold information about a GeoClue provider.
  *

-- 




[EGIT] [core/efl] master 01/01: po: disable xgettext_wrapper for the time being (not really used and possibly won't be)

2014-11-11 Thread Daniel Kolesa
q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1884e4813ae1a4b284fc899d9d219f9bd02e890b

commit 1884e4813ae1a4b284fc899d9d219f9bd02e890b
Author: Daniel Kolesa d.kol...@samsung.com
Date:   Tue Nov 11 15:07:03 2014 +

po: disable xgettext_wrapper for the time being (not really used and 
possibly won't be)
---
 Makefile.am  | 16 +---
 configure.ac |  3 ---
 po/{Makevars.in = Makevars} |  9 -
 po/xgettext_wrapper.sh   | 16 
 4 files changed, 1 insertion(+), 43 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 6ddb5ea..599a8f2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -104,9 +104,7 @@ old/README.evas \
 old/README.evil \
 spec/efl.spec \
 pkgbuild/PKGBUILD \
-pkgbuild/efl.install \
-po/xgettext_wrapper.sh \
-po/Makevars.in
+pkgbuild/efl.install
 
 if HAVE_FREEBSD
 pkgconfigdir = $(libdir)data/pkgconfig
@@ -437,15 +435,3 @@ pkgbuild::
 
 clean-local:
rm -rf benchmark coverage
-
-# Makevars is generated in top source directory, even for out-of-tree
-distclean-local:
-   rm -f $(top_srcdir)/po/Makevars
-
-# we need this to remove Makevars from dist
-dist-hook:
-   rm -f $(distdir)/po/Makevars
-
-# in dist tree po is read only, and we need to generate Makevars in there
-distcheck-hook:
-   chmod +w $(distdir)/po
diff --git a/configure.ac b/configure.ac
index be61443..8880089 100644
--- a/configure.ac
+++ b/configure.ac
@@ -248,14 +248,12 @@ AM_GNU_GETTEXT_VERSION([0.18])
 m4_ifdef([AC_GNU_GETTEXT], [
 AC_GNU_GETTEXT([external])
 po_makefile_in=po/Makefile.in
-po_makevars=${srcdir}/po/Makevars:po/Makevars.in
 have_po=yes
 ],
 [
 m4_ifdef([AM_GNU_GETTEXT], [
 AM_GNU_GETTEXT([external])
 po_makefile_in=po/Makefile.in
-po_makevars=${srcdir}/po/Makevars:po/Makevars.in
 have_po=yes
 ],
 [
@@ -4539,7 +4537,6 @@ dbus-services/org.enlightenment.Ethumb.service
 systemd-services/efreet.service
 systemd-services/ethumb.service
 $po_makefile_in
-$po_makevars
 cmakeconfig/EflConfig.cmake
 cmakeconfig/EflConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
 cmakeconfig/EinaConfig.cmake
diff --git a/po/Makevars.in b/po/Makevars
similarity index 84%
rename from po/Makevars.in
rename to po/Makevars
index 0350cbc..22837ab 100644
--- a/po/Makevars.in
+++ b/po/Makevars
@@ -7,15 +7,6 @@ DOMAIN = $(PACKAGE)
 subdir = po
 top_builddir = ..
 
-# Save xgettext path
-XGETTEXT_FALLBACK := $(XGETTEXT)
-
-# Override xgettext with a LuaJIT aware variant (which calls
-# into plain xgettext if it needs to, and handles Lua on its own)
-XGETTEXT = ELUA_INTREE=$(top_srcdir)/src/bin/elua/elua@EXEEXT@ \
-   ELUA=@elua_bin@ XGETTEXT=$(XGETTEXT_FALLBACK) \
-   $(top_srcdir)/po/xgettext_wrapper.sh
-
 # These options get passed to xgettext.
 XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
 
diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh
deleted file mode 100755
index 730d2fd..000
--- a/po/xgettext_wrapper.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-ELUA_BIN=$ELUA
-
-if [ ! $ELUA_BIN ]; then
-ELUA_BIN=${ELUA_INTREE}
-export EFL_RUN_IN_TREE=1
-fi
-
-if [ -x $ELUA_BIN ]; then
-$ELUA_BIN xgettext $@
-else
-$XGETTEXT $@
-fi
-
-exit $?

-- 




[EGIT] [core/efl] master 01/01: tests/elocation: Disable elocation test suite until deps are installed on jenkins

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=103295d9e30426b7d593266d774e6781301bde14

commit 103295d9e30426b7d593266d774e6781301bde14
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 16:57:53 2014 +0100

tests/elocation: Disable elocation test suite until deps are installed on 
jenkins

I expected them to be installed but I was wrong. Will keep this disabled 
until
this is sorted out on jenkins.
---
 src/Makefile_Elocation.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile_Elocation.am b/src/Makefile_Elocation.am
index 4314725..579300e 100644
--- a/src/Makefile_Elocation.am
+++ b/src/Makefile_Elocation.am
@@ -19,8 +19,8 @@ lib_elocation_libelocation_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
 
 if EFL_ENABLE_TESTS
 
-check_PROGRAMS += tests/elocation/elocation_suite
-TESTS += tests/elocation/elocation_suite
+#check_PROGRAMS += tests/elocation/elocation_suite
+#TESTS += tests/elocation/elocation_suite
 
 tests_elocation_elocation_suite_SOURCES = \
 tests/elocation/elocation_suite.c

-- 




[EGIT] [core/efl] master 01/01: elocation: Make sure the pc file gets installed like the others.

2014-11-11 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=427415ac21905481db1547bd57fc1648e1d9eb09

commit 427415ac21905481db1547bd57fc1648e1d9eb09
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Tue Nov 11 17:22:48 2014 +0100

elocation: Make sure the pc file gets installed like the others.

Forgot about this when merging it it from the separate lib where
the tooling did handle it. Thanks goes to Scimmia for letting me
know so quickly. :)
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 599a8f2..34aaa1d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -149,7 +149,8 @@ pc/efreet-trash.pc \
 pc/edje.pc \
 pc/emotion.pc \
 pc/ethumb.pc \
-pc/ethumb_client.pc
+pc/ethumb_client.pc \
+pc/elocation.pc
 
 if HAVE_CXX11
 pkgconfig_DATA += \

-- 




[E-devel] [PATCH] Do not use the non-existent ELM_SCALE_SIZE macro in test_notify.c for elementary-1.11

2014-11-11 Thread Brian Wang
Hello all,

Just a simple one-liner as follows:

diff --git a/src/bin/test_notify.c b/src/bin/test_notify.c
index f5ae7cb..472b226 100644
--- a/src/bin/test_notify.c
+++ b/src/bin/test_notify.c
@@ -62,7 +62,7 @@ test_notify(void *data EINA_UNUSED, Evas_Object *obj
EINA_UNUSED, void *event_in

lb = elm_label_add(win);
elm_label_line_wrap_set(lb, ELM_WRAP_MIXED);
-   elm_label_wrap_width_set(lb, ELM_SCALE_SIZE(140));
+   elm_label_wrap_width_set(lb, 140);
elm_object_text_set(lb, This position is the default. This is
multiline text.);
elm_box_pack_end(bx, lb);
evas_object_show(lb);


Best regards,


Brian

-- 
brian
--

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/elementary] elementary-1.11 01/01: test_notify: Fix non-existing macro.

2014-11-11 Thread Daniel Juyung Seo
seoz pushed a commit to branch elementary-1.11.

http://git.enlightenment.org/core/elementary.git/commit/?id=0d3026cd8c7620cbe899a52ef088f7fb8cf7b363

commit 0d3026cd8c7620cbe899a52ef088f7fb8cf7b363
Author: Daniel Juyung Seo seojuyu...@gmail.com
Date:   Wed Nov 12 12:14:55 2014 +0900

test_notify: Fix non-existing macro.

Use elm_config_scale_get() until 1.11.
ELM_SCALE_SIZE macro is introduced in 1.12.

Patch by Brian Wang brian.wang.0...@gmail.com and modified a little bit 
by me.
---
 src/bin/test_notify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_notify.c b/src/bin/test_notify.c
index f5ae7cb..b533093 100644
--- a/src/bin/test_notify.c
+++ b/src/bin/test_notify.c
@@ -62,7 +62,7 @@ test_notify(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_in
 
lb = elm_label_add(win);
elm_label_line_wrap_set(lb, ELM_WRAP_MIXED);
-   elm_label_wrap_width_set(lb, ELM_SCALE_SIZE(140));
+   elm_label_wrap_width_set(lb, elm_config_scale_get() * 140);
elm_object_text_set(lb, This position is the default. This is multiline 
text.);
elm_box_pack_end(bx, lb);
evas_object_show(lb);

-- 




Re: [E-devel] [PATCH] Do not use the non-existent ELM_SCALE_SIZE macro in test_notify.c for elementary-1.11

2014-11-11 Thread Daniel Juyung Seo
Hi, thanks for the patch. It was cherry-picked without a deep consideration
by me.
I just pushed your patch but modified a little bit.
We still need to use elm_config_scale_get().
https://git.enlightenment.org/core/elementary.git/commit/?h=elementary-1.11id=0d3026cd8c7620cbe899a52ef088f7fb8cf7b363

Thanks anyway.

Daniel Juyung Seo (SeoZ)


On Wed, Nov 12, 2014 at 9:47 AM, Brian Wang brian.wang.0...@gmail.com
wrote:

 Hello all,

 Just a simple one-liner as follows:

 diff --git a/src/bin/test_notify.c b/src/bin/test_notify.c
 index f5ae7cb..472b226 100644
 --- a/src/bin/test_notify.c
 +++ b/src/bin/test_notify.c
 @@ -62,7 +62,7 @@ test_notify(void *data EINA_UNUSED, Evas_Object *obj
 EINA_UNUSED, void *event_in

 lb = elm_label_add(win);
 elm_label_line_wrap_set(lb, ELM_WRAP_MIXED);
 -   elm_label_wrap_width_set(lb, ELM_SCALE_SIZE(140));
 +   elm_label_wrap_width_set(lb, 140);
 elm_object_text_set(lb, This position is the default. This is
 multiline text.);
 elm_box_pack_end(bx, lb);
 evas_object_show(lb);


 Best regards,


 Brian

 --
 brian
 --

 iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe

 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.

 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] 1.13 is open for development

2014-11-11 Thread Daniel Juyung Seo
Thanks for the release.
I will fix the genlist issue very soon.

Now it's time to break the world.
Don't tell this to Cedric.

Thanks.

On Tue, Nov 11, 2014 at 6:37 PM, Stefan Schmidt ste...@datenfreihafen.org
wrote:

 Hello.

 As I have not seen the rush of commits I expected I just want to make it
 crystal clear that master is now open again for all commits.

 To open up master I have to do a commit that sets us back from release
 to dev mode in configure as well as bumping the version to x.x.99.

 In this commit I mention that the merge window is open for the next
 release and you are free to start bringing in your stuff.

 regards
 Stefan Schmidt


 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.

 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] 1.13 is open for development

2014-11-11 Thread David Seikel
On Wed, 12 Nov 2014 12:21:03 +0900 Daniel Juyung Seo
seojuyu...@gmail.com wrote:

 Thanks for the release.
 I will fix the genlist issue very soon.
 
 Now it's time to break the world.
 Don't tell this to Cedric.

No need to tell Cedric, he'll break it anyway.  B-)

 Thanks.
 
 On Tue, Nov 11, 2014 at 6:37 PM, Stefan Schmidt
 ste...@datenfreihafen.org wrote:
 
  Hello.
 
  As I have not seen the rush of commits I expected I just want to
  make it crystal clear that master is now open again for all commits.
 
  To open up master I have to do a commit that sets us back from
  release to dev mode in configure as well as bumping the version to
  x.x.99.
 
  In this commit I mention that the merge window is open for the next
  release and you are free to start bringing in your stuff.
 
  regards
  Stefan Schmidt
 
 
  --
  Comprehensive Server Monitoring with Site24x7.
  Monitor 10 servers for $9/Month.
  Get alerted through email, SMS, voice calls or mobile push
  notifications. Take corrective actions from your mobile device.
 
  http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push
 notifications. Take corrective actions from your mobile device.
 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] 1.13 is open for development

2014-11-11 Thread Daniel Zaoui
On 11/12/14 07:50, David Seikel wrote:
 On Wed, 12 Nov 2014 12:21:03 +0900 Daniel Juyung Seo
 seojuyu...@gmail.com wrote:

 Thanks for the release.
 I will fix the genlist issue very soon.

 Now it's time to break the world.
 Don't tell this to Cedric.
 No need to tell Cedric, he'll break it anyway.  B-)

Hey! There are other Frenchies ready to contribute!


 Thanks.

 On Tue, Nov 11, 2014 at 6:37 PM, Stefan Schmidt
 ste...@datenfreihafen.org wrote:

 Hello.

 As I have not seen the rush of commits I expected I just want to
 make it crystal clear that master is now open again for all commits.

 To open up master I have to do a commit that sets us back from
 release to dev mode in configure as well as bumping the version to
 x.x.99.

 In this commit I mention that the merge window is open for the next
 release and you are free to start bringing in your stuff.

 regards
 Stefan Schmidt


 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push
 notifications. Take corrective actions from your mobile device.

 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push
 notifications. Take corrective actions from your mobile device.
 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk


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

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/03: Evas: Remove ugly REND_DBG

2014-11-11 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4fb138a65f943fafc17a4c4a2d084362c3c4cf0b

commit 4fb138a65f943fafc17a4c4a2d084362c3c4cf0b
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Nov 5 14:54:35 2014 +0900

Evas: Remove ugly REND_DBG

Here's a macro that's used for debugging in some of the ugliest
ways possible: avoid passing an extra argument to a function when the
cost of always passing it is negligible (it's an int).

Fixes T1749.
---
 src/lib/evas/canvas/evas_3d_texture.c   |  6 +--
 src/lib/evas/canvas/evas_object_image.c |  6 +--
 src/lib/evas/canvas/evas_render.c   | 69 +
 src/lib/evas/filters/evas_filter.c  |  6 +--
 src/lib/evas/include/evas_private.h |  7 +---
 5 files changed, 24 insertions(+), 70 deletions(-)

diff --git a/src/lib/evas/canvas/evas_3d_texture.c 
b/src/lib/evas/canvas/evas_3d_texture.c
index 4aecbef..9f46167 100644
--- a/src/lib/evas/canvas/evas_3d_texture.c
+++ b/src/lib/evas/canvas/evas_3d_texture.c
@@ -144,11 +144,7 @@ _texture_proxy_subrender(Evas_3D_Texture *obj)
 -source-cur-geometry.x,
 -source-cur-geometry.y,
 1, 0, 0, e-output.w, e-output.h,
-proxy_render_data
-#ifdef REND_DBG
-, 1
-#endif
-, EINA_FALSE);
+proxy_render_data, 1, EINA_FALSE);
   }
 
 e-engine.func-context_free(e-engine.data.output, ctx);
diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index fb0fc3e..5530af4 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -2426,11 +2426,7 @@ _proxy_subrender(Evas *eo_e, Evas_Object *eo_source, 
Evas_Object *eo_proxy, Evas
-source-cur-geometry.x,
-source-cur-geometry.y,
1, 0, 0, e-output.w, e-output.h,
-   proxy_render_data
-#ifdef REND_DBG
-   , 1
-#endif
-   , do_async);
+   proxy_render_data, 1, do_async);
 
 e-engine.func-context_free(e-engine.data.output, ctx);
 proxy_write-surface = e-engine.func-image_dirty_region
diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index dda7df1..f36b259 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -390,11 +390,7 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, 
Evas_Object *eo_obj,
int restack,
int *redraw_all,
Eina_Bool mapped_parent,
-   Eina_Bool src_changed
-#ifdef REND_DBG
-   , int level
-#endif
-  )
+   Eina_Bool src_changed, int level)
 {
Eina_Bool clean_them = EINA_FALSE;
int is_active;
@@ -490,11 +486,8 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, 
Evas_Object *eo_obj,
obj-restack,
redraw_all,
EINA_TRUE,
-   src_changed
-#ifdef REND_DBG
-   , level + 1
-#endif
-  );
+   src_changed,
+   level + 1);
  }
 }
}
@@ -544,11 +537,8 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, 
Evas_Object *eo_obj,
  obj-restack,
  redraw_all,
  mapped_parent,
- src_changed
-#ifdef REND_DBG
- , level + 1
-#endif
-);
+ src_changed,
+ level + 1);
}
   }
 else
@@ -615,11 +605,8 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, 
Evas_Object *eo_obj,
  restack,
  redraw_all,
   

[EGIT] [core/efl] master 03/03: Evas shaders: Auto-generate the shaders from Makefile

2014-11-11 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ae4f7f4e617ccaf5888a788778ae875b69be99cb

commit ae4f7f4e617ccaf5888a788778ae875b69be99cb
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Nov 12 14:55:34 2014 +0900

Evas shaders: Auto-generate the shaders from Makefile

Let's regenerate the shaders when a SHD file changes.
I've removed the Git commit id because only touching a file
would insert a code change.
---
 src/Makefile_Evas.am   |  97 ++--
 .../engines/gl_common/shader/evas_gl_shaders.x | 173 ++---
 .../evas/engines/gl_common/shader/gen_shaders.sh   |   5 +-
 3 files changed, 97 insertions(+), 178 deletions(-)

diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 077977e..3e1f129 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -577,90 +577,7 @@ modules/evas/engines/gl_common/evas_gl_core_private.h \
 modules/evas/engines/gl_common/evas_gl_api.c \
 modules/evas/engines/gl_common/evas_gl_api_gles1.c \
 modules/evas/engines/gl_common/evas_gl_api_ext.c \
-modules/evas/engines/gl_common/shader/font_frag.h \
-modules/evas/engines/gl_common/shader/font_vert.h \
-modules/evas/engines/gl_common/shader/img_12_bgra_frag.h \
-modules/evas/engines/gl_common/shader/img_12_bgra_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_12_bgra_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_12_bgra_vert.h \
-modules/evas/engines/gl_common/shader/img_12_frag.h \
-modules/evas/engines/gl_common/shader/img_12_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_12_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_12_vert.h \
-modules/evas/engines/gl_common/shader/img_21_bgra_frag.h \
-modules/evas/engines/gl_common/shader/img_21_bgra_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_21_bgra_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_21_bgra_vert.h \
-modules/evas/engines/gl_common/shader/img_21_frag.h \
-modules/evas/engines/gl_common/shader/img_21_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_21_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_21_vert.h \
-modules/evas/engines/gl_common/shader/img_22_bgra_frag.h \
-modules/evas/engines/gl_common/shader/img_22_bgra_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_22_bgra_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_22_bgra_vert.h \
-modules/evas/engines/gl_common/shader/img_22_frag.h \
-modules/evas/engines/gl_common/shader/img_22_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_22_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_22_vert.h \
-modules/evas/engines/gl_common/shader/img_bgra_frag.h \
-modules/evas/engines/gl_common/shader/img_bgra_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_bgra_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_bgra_vert.h \
-modules/evas/engines/gl_common/shader/img_frag.h \
-modules/evas/engines/gl_common/shader/img_nomul_frag.h \
-modules/evas/engines/gl_common/shader/img_nomul_vert.h \
-modules/evas/engines/gl_common/shader/img_vert.h \
-modules/evas/engines/gl_common/shader/nv12_frag.h \
-modules/evas/engines/gl_common/shader/nv12_nomul_frag.h \
-modules/evas/engines/gl_common/shader/nv12_nomul_vert.h \
-modules/evas/engines/gl_common/shader/nv12_vert.h \
-modules/evas/engines/gl_common/shader/rect_frag.h \
-modules/evas/engines/gl_common/shader/rect_vert.h \
-modules/evas/engines/gl_common/shader/rgb_a_pair_frag.h \
-modules/evas/engines/gl_common/shader/rgb_a_pair_nomul_frag.h \
-modules/evas/engines/gl_common/shader/rgb_a_pair_nomul_vert.h \
-modules/evas/engines/gl_common/shader/rgb_a_pair_vert.h \
-modules/evas/engines/gl_common/shader/tex_12_frag.h \
-modules/evas/engines/gl_common/shader/tex_12_nomul_frag.h \
-modules/evas/engines/gl_common/shader/tex_12_nomul_vert.h \
-modules/evas/engines/gl_common/shader/tex_12_vert.h \
-modules/evas/engines/gl_common/shader/tex_21_frag.h \
-modules/evas/engines/gl_common/shader/tex_21_nomul_frag.h \
-modules/evas/engines/gl_common/shader/tex_21_nomul_vert.h \
-modules/evas/engines/gl_common/shader/tex_21_vert.h \
-modules/evas/engines/gl_common/shader/tex_22_frag.h \
-modules/evas/engines/gl_common/shader/tex_22_nomul_frag.h \
-modules/evas/engines/gl_common/shader/tex_22_nomul_vert.h \
-modules/evas/engines/gl_common/shader/tex_22_vert.h \
-modules/evas/engines/gl_common/shader/tex_frag.h \
-modules/evas/engines/gl_common/shader/tex_nomul_frag.h \
-modules/evas/engines/gl_common/shader/tex_nomul_vert.h \
-modules/evas/engines/gl_common/shader/tex_vert.h \
-modules/evas/engines/gl_common/shader/tex_12_afill_frag.h \
-modules/evas/engines/gl_common/shader/tex_12_nomul_afill_frag.h \
-modules/evas/engines/gl_common/shader/tex_12_nomul_afill_vert.h \
-modules/evas/engines/gl_common/shader/tex_12_afill_vert.h \
-modules/evas/engines/gl_common/shader/tex_21_afill_frag.h \

[EGIT] [tools/enventor] master 01/01: live_edit: Fix T1785 to restore live edit

2014-11-11 Thread Jaehyun Cho
hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=98a9eca6c57e11ce0bdb91edbd13d3ff409a46c9

commit 98a9eca6c57e11ce0bdb91edbd13d3ff409a46c9
Author: Jaehyun Cho jae_hyun@samsung.com
Date:   Wed Nov 12 16:44:19 2014 +0900

live_edit: Fix T1785 to restore live edit

Summary:
Fix T1785 to restore live edit
 @fix

Reviewers: Hermet

Maniphest Tasks: T1785

Differential Revision: https://phab.enlightenment.org/D1650
---
 src/bin/live_edit.c| 28 
 src/bin/main.c | 21 +
 src/bin/tools.c|  7 +++
 src/lib/Enventor_Legacy.h  |  5 +
 src/lib/enventor_object.eo | 12 
 src/lib/enventor_private.h | 10 ++
 src/lib/enventor_smart.c   | 22 --
 src/lib/template.c | 25 +++--
 8 files changed, 74 insertions(+), 56 deletions(-)

diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c
index 21967b7..1e76935 100644
--- a/src/bin/live_edit.c
+++ b/src/bin/live_edit.c
@@ -7,7 +7,7 @@
 #include Elementary_Cursor.h
 #include Enventor.h
 #include common.h
-#if 0
+
 typedef struct menu_data_s
 {
const char *name;
@@ -199,16 +199,15 @@ key_down_cb(void *data, int type EINA_UNUSED, void *ev)
 
if (!strcmp(event-key, Return))
  {
-#if 0
-template_part_insert(ld-ed,
- MENU_ITEMS[ld-cur_part_data-type].type,
- TEMPLATE_INSERT_LIVE_EDIT,
- ld-cur_part_data-rel1_x,
- ld-cur_part_data-rel1_y,
- ld-cur_part_data-rel2_x,
- ld-cur_part_data-rel2_y,
- view_group_name_get(VIEW_DATA));
-#endif
+enventor_object_template_part_insert(ld-enventor,
+ 
MENU_ITEMS[ld-cur_part_data-type].type,
+ 
ENVENTOR_TEMPLATE_INSERT_LIVE_EDIT,
+ ld-cur_part_data-rel1_x,
+ ld-cur_part_data-rel1_y,
+ ld-cur_part_data-rel2_x,
+ ld-cur_part_data-rel2_y,
+ NULL, 0);
+enventor_object_save(ld-enventor, config_edc_path_get());
  }
else if (strcmp(event-key, Delete)) return EINA_TRUE;
 
@@ -308,9 +307,9 @@ live_edit_toggle(void)
 {
live_data *ld = g_ld;
Eina_Bool on = !config_live_edit_get();
-   Evas_Object *event_obj = view_obj_get(VIEW_DATA);
+   Evas_Object *event_obj = enventor_object_live_view_get(ld-enventor);
if (!event_obj) return;
-#if 0
+
if (on)
  {
 evas_object_event_callback_add(event_obj, EVAS_CALLBACK_MOUSE_UP,
@@ -328,7 +327,6 @@ live_edit_toggle(void)
else stats_info_msg_update(Live View Edit Mode Disabled.);
 
config_live_edit_set(on);
-#endif
 }
 
 void
@@ -373,5 +371,3 @@ live_edit_term()
free(ld);
g_ld = NULL;
 }
-
-#endif
diff --git a/src/bin/main.c b/src/bin/main.c
index dc8b363..eadc21e 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -57,14 +57,14 @@ static Eina_Bool
 template_insert_patch(app_data *ad, const char *key)
 {
Edje_Part_Type part_type;
-#if 0
+
if (config_live_edit_get())
  {
 stats_info_msg_update(Insertion of template code is disabled 
   while in Live Edit mode);
 return ECORE_CALLBACK_DONE;
  }
-#endif
+
if (!strcmp(key, a) || !strcmp(key, A))
  part_type = EDJE_PART_TYPE_TABLE;
else if (!strcmp(key, b) || !strcmp(key, B))
@@ -93,9 +93,10 @@ template_insert_patch(app_data *ad, const char *key)
  part_type = EDJE_PART_TYPE_NONE;
 
char syntax[12];
-   if (enventor_object_template_part_insert(ad-enventor, part_type, REL1_X,
-REL1_Y, REL2_X, REL2_Y, syntax,
-sizeof(syntax)))
+   if (enventor_object_template_part_insert(ad-enventor, part_type,
+ENVENTOR_TEMPLATE_INSERT_DEFAULT,
+REL1_X, REL1_Y, REL2_X, REL2_Y,
+syntax, sizeof(syntax)))
  {
 char msg[64];
 snprintf(msg, sizeof(msg), Template code inserted, (%s), syntax);
@@ -535,16 +536,15 @@ dummy_swallow_toggle(app_data *ad)
 static void
 default_template_insert(app_data *ad)
 {
-#if 0
if (config_live_edit_get())
  {
 stats_info_msg_update(Insertion of template code is disabled 
   while in Live Edit mode);
 return;
  }
-#endif
+
char syntax[12];
-   if (enventor_object_template_insert(ad-enventor, syntax, sizeof(syntax)))
+   if (enventor_object_template_insert(ad-enventor,