[E-devel] [PATCH][RESEND][Evas] WebP image loader

2012-08-22 Thread Igor Murzov
Hi list.

This patch adds a WebP image loader to Evas. No saver,
no animation support for now, just loader. Tested with
the libwebp-0.2.0 only, but should work fine with older
versions.


-- Igor
Index: m4/evas_check_loader.m4
===
--- m4/evas_check_loader.m4	(revision 75505)
+++ m4/evas_check_loader.m4	(working copy)
@@ -429,6 +429,38 @@
 
 ])
 
+dnl use: EVAS_CHECK_LOADER_DEP_WEBP(loader, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+AC_DEFUN([EVAS_CHECK_LOADER_DEP_WEBP],
+[
+
+have_dep="no"
+evas_image_loader_[]$1[]_cflags=""
+evas_image_loader_[]$1[]_libs=""
+
+AC_CHECK_HEADER([webp/decode.h], [have_dep="yes"])
+
+if test "x${have_dep}"  = "xyes" ; then
+   AC_CHECK_LIB([webp],
+  [WebPDecodeRGBA],
+  [
+   evas_image_loader_[]$1[]_libs="-lwebp"
+  ],
+  [have_dep="no"]
+   )
+fi
+
+AC_SUBST([evas_image_loader_$1_cflags])
+AC_SUBST([evas_image_loader_$1_libs])
+
+if test "x${have_dep}" = "xyes" ; then
+  m4_default([$3], [:])
+else
+  m4_default([$4], [:])
+fi
+
+])
+
 dnl use: EVAS_CHECK_LOADER_DEP_GENERIC(loader, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
 
 AC_DEFUN([EVAS_CHECK_LOADER_DEP_GENERIC],
Index: configure.ac
===
--- configure.ac	(revision 75505)
+++ configure.ac	(working copy)
@@ -126,6 +126,7 @@
 want_evas_image_loader_bmp="yes"
 want_evas_image_loader_tga="yes"
 want_evas_image_loader_wbmp="yes"
+want_evas_image_loader_webp="yes"
 want_evas_image_loader_ico="yes"
 want_evas_image_loader_psd="yes"
 want_evas_image_loader_generic="yes"
@@ -1058,6 +1059,8 @@
 
 EVAS_CHECK_IMAGE_LOADER([WBMP], [${want_evas_image_loader_wbmp}])
 
+EVAS_CHECK_IMAGE_LOADER([WEBP], [${want_evas_image_loader_webp}])
+
 EVAS_CHECK_IMAGE_LOADER([ICO], [${want_evas_image_loader_ico}])
 
 EVAS_CHECK_IMAGE_LOADER([PSD], [${want_evas_image_loader_psd}])
@@ -1838,6 +1841,7 @@
 src/bin/loaders/tga/Makefile
 src/bin/loaders/pmaps/Makefile
 src/bin/loaders/wbmp/Makefile
+src/bin/loaders/webp/Makefile
 src/bin/loaders/psd/Makefile
 src/lib/Makefile
 src/lib/canvas/Makefile
@@ -1893,6 +1897,7 @@
 src/modules/loaders/svg/Makefile
 src/modules/loaders/pmaps/Makefile
 src/modules/loaders/wbmp/Makefile
+src/modules/loaders/webp/Makefile
 src/modules/loaders/psd/Makefile
 src/modules/loaders/generic/Makefile
 src/modules/savers/Makefile
@@ -1987,6 +1992,7 @@
 echo "  TGA.: $have_evas_image_loader_tga"
 echo "  TIFF: $have_evas_image_loader_tiff"
 echo "  WBMP: $have_evas_image_loader_wbmp"
+echo "  WEBP: $have_evas_image_loader_webp"
 echo "  XPM.: $have_evas_image_loader_xpm"
 echo
 echo "Font Sourcing Systems:"
Index: src/lib/file/evas_module.c
===
--- src/lib/file/evas_module.c	(revision 75505)
+++ src/lib/file/evas_module.c	(working copy)
@@ -123,6 +123,7 @@
 EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, tga);
 EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, tiff);
 EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, wbmp);
+EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, webp);
 EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, xpm);
 EVAS_EINA_STATIC_MODULE_DEFINE(image_saver, edb);
 EVAS_EINA_STATIC_MODULE_DEFINE(image_saver, eet);
@@ -233,6 +234,9 @@
 #ifdef EVAS_STATIC_BUILD_WBMP
   EVAS_EINA_STATIC_MODULE_USE(image_loader, wbmp),
 #endif
+#ifdef EVAS_STATIC_BUILD_WEBP
+  EVAS_EINA_STATIC_MODULE_USE(image_loader, webp),
+#endif
 #ifdef EVAS_STATIC_BUILD_XPM
   EVAS_EINA_STATIC_MODULE_USE(image_loader, xpm),
 #endif
Index: src/lib/engines/common/evas_image_load.c
===
--- src/lib/engines/common/evas_image_load.c	(revision 75505)
+++ src/lib/engines/common/evas_image_load.c	(working copy)
@@ -47,6 +47,7 @@
MATCHING(".bmp", "bmp"),
MATCHING(".tga", "tga"),
MATCHING(".wbmp", "wbmp"),
+   MATCHING(".webp", "webp"),
MATCHING(".ico", "ico"),
MATCHING(".cur", "ico"),
MATCHING(".psd", "psd"),
@@ -127,7 +128,7 @@
 
 static const char *loaders_name[] =
 { /* in order of most likely needed */
-  "png", "jpeg", "eet", "xpm", "tiff", "gif", "svg", "pmaps", "bmp", "tga", "wbmp", "ico", "psd", "edb", "generic"
+  "png", "jpeg", "eet", "xpm", "tiff", "gif", "svg", "webp", "pmaps", "bmp", "tga", "wbmp", "ico", "psd", "edb", "generic"
 };
 
 struct evas_image_foreach_loader_data
Index: src/modules/loaders/Makefile.am
===
--- src/modules/loaders/Makefile.am	(revision 75505)
+++ src/modules/loaders/Makefile.am	(working copy)
@@ -86,6 +86,12 @@
 endif
 endif
 
+if BUILD_LOADER_WEBP
+if !EVAS_STATIC_BUILD_WEBP
+SUBDIRS += webp
+endif
+endif
+
 if BUILD_LOADER_XPM
 if !EVAS_STATIC_BUILD_XPM
 SUBDIRS += xpm
Index: src/modules/loaders/webp/Makefile.am
=

[E-devel] [PATCH][Entrance] Fix typo and compilation failure

2012-09-19 Thread Igor Murzov
Hi list.

I have two patches for Entrance. The first patch just fixes
typo in configure.ac. And the second one fixes compilation
failure, when Entrance is configured with --enable-grub2.

Also i'm not sure if entrance works at all -- it just starts
and then silently exits with code 0. Here is the contents of
the /var/log/entrance.log: http://pastebin.com/17XyMFbn


-- Igor
Index: configure.ac
===
--- configure.ac	(revision 76863)
+++ configure.ac	(working copy)
@@ -47,7 +47,7 @@
 
 # Grub2
 AC_ARG_ENABLE([grub2],
-   [AC_HELP_STRING([--enable-gru2b], [enable grub2 support. @<:@default=disabled@:>@])],
+   [AC_HELP_STRING([--enable-grub2], [enable grub2 support. @<:@default=disabled@:>@])],
[
 if test "x${enableval}" = "xyes" ; then
enable_grub2="yes"
@@ -80,7 +80,7 @@
 
 # Set edje_cc path
 AC_ARG_WITH([edje-cc],
-   [AC_HELP_STRING([ --with-edje-cc=PATH], [specify a specific path to edje_cc])],
+   [AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc])],
[
 v=$withval;
 edje_cc=$v
Index: src/daemon/entrance_action.c
===
--- src/daemon/entrance_action.c	(revision 76871)
+++ src/daemon/entrance_action.c	(working copy)
@@ -211,13 +211,14 @@
 if (!grub2_ok)
   {
  grub2_ok = 1;
- PT("GRUB2 save mode found \n");
+ PT("GRUB2 save mode found\n");
   }
 else
   {
  char *action;
  char *local;
  char *tmp;
+ char *buf;
 
  r2 += 10;
  size -= 10;
@@ -237,8 +238,11 @@
  action = malloc((tmp - r2 + 1 + 11) * sizeof (char));
  if (!action) goto end_line;
 
+ buf = alloca((tmp - r2 + 1 + 11 + 10) * sizeof (char));
+
  sprintf(action, "Reboot on %s", local);
- PT("GRUB2 '%s'\n", action);
+ sprintf(buf, "GRUB2 '%s'\n", action);
+ PT(buf);
  _entrance_actions =
 eina_list_append(_entrance_actions,
  _entrance_action_add(action,
--
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][Entrance] Fix typo and compilation failure

2012-09-19 Thread Igor Murzov
On Wed, 19 Sep 2012 22:38:09 +0200
Michaël Bouchaud  wrote:

> hum race condition ... need time to fix it
> can't reproduce it tonight, sorry :(

I have some errors in valgrind's log, maybe it will help you:

==15457== Invalid read of size 4
==15457==at 0x40BBE99: ecore_con_client_send (in 
/usr/lib/libecore_con.so.1.7.0)
==15457==by 0x804E5B2: _my_hack (entrance_server.c:39)
==15457==by 0x40FD197: _ecore_timer_expired_call (in 
/usr/lib/libecore.so.1.7.0)
==15457==by 0x40FD45B: _ecore_timer_expired_timers_call (in 
/usr/lib/libecore.so.1.7.0)
==15457==by 0x40F9A5F: ecore_main_loop_begin (in /usr/lib/libecore.so.1.7.0)
==15457==by 0x804B15B: main (entrance.c:351)
==15457==  Address 0x4bb7ff0 is 0 bytes inside a block of size 84 free'd
==15457==at 0x4029DCB: free (vg_replace_malloc.c:446)
==15457==by 0x40BEBF2: ??? (in /usr/lib/libecore_con.so.1.7.0)
==15457==by 0x40BEF34: ??? (in /usr/lib/libecore_con.so.1.7.0)
==15457==by 0x40F4E68: _ecore_event_call (in /usr/lib/libecore.so.1.7.0)
==15457==by 0x40F9B54: ecore_main_loop_begin (in /usr/lib/libecore.so.1.7.0)
==15457==by 0x804B15B: main (entrance.c:351)
==15457== 
==15457== Invalid read of size 4
==15457==at 0x40BBE99: ecore_con_client_send (in 
/usr/lib/libecore_con.so.1.7.0)
==15457==by 0x804E613: _my_hack2 (entrance_server.c:23)
==15457==by 0x40FD197: _ecore_timer_expired_call (in 
/usr/lib/libecore.so.1.7.0)
==15457==by 0x40FD45B: _ecore_timer_expired_timers_call (in 
/usr/lib/libecore.so.1.7.0)
==15457==by 0x40F9A5F: ecore_main_loop_begin (in /usr/lib/libecore.so.1.7.0)
==15457==by 0x804B15B: main (entrance.c:351)
==15457==  Address 0x4bb7ff0 is 0 bytes inside a block of size 84 free'd
==15457==at 0x4029DCB: free (vg_replace_malloc.c:446)
==15457==by 0x40BEBF2: ??? (in /usr/lib/libecore_con.so.1.7.0)
==15457==by 0x40BEF34: ??? (in /usr/lib/libecore_con.so.1.7.0)
==15457==by 0x40F4E68: _ecore_event_call (in /usr/lib/libecore.so.1.7.0)
==15457==by 0x40F9B54: ecore_main_loop_begin (in /usr/lib/libecore.so.1.7.0)
==15457==by 0x804B15B: main (entrance.c:351)
==15457== 


-- Igor

--
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] [PATCH][Eina] Fix minor issues spotted by cppcheck

2012-10-03 Thread Igor Murzov
Hi list

Here are three patches for Eina:

 01  Removes some unused variables.
 02  Fixes bad format strings in *printf() calls.
 03  Fixes typo and removes redundant duplicate code.


-- Igor
Index: src/examples/eina_array_01.c
===
--- src/examples/eina_array_01.c	(revision 77368)
+++ src/examples/eina_array_01.c	(working copy)
@@ -23,8 +23,6 @@
   "skulls", "bulldog", "flat top", "hammerhead", "gonzo"
};
Eina_Array *array;
-   Eina_Array_Iterator iterator;
-   char *item;
unsigned int i;
 
eina_init();
Index: src/examples/eina_hash_08.c
===
--- src/examples/eina_hash_08.c	(revision 77368)
+++ src/examples/eina_hash_08.c	(working copy)
@@ -59,8 +59,6 @@
int saved_entry_size = sizeof("Alceu Valenca");
const char *phone = NULL;
Eina_Bool r;
-   Eina_Iterator *it;
-   void *data;
 
eina_init();
 
Index: src/examples/eina_array_02.c
===
--- src/examples/eina_array_02.c	(revision 77368)
+++ src/examples/eina_array_02.c	(working copy)
@@ -47,7 +47,7 @@
 
eina_array_remove(array, keep, NULL);
EINA_ARRAY_ITER_NEXT(array, i, item, iterator)
- printf("item #%d: %s\n", i, item);
+ printf("item #%u: %s\n", i, item);
 
eina_array_free(array);
 
Index: src/lib/eina_share_common.c
===
--- src/lib/eina_share_common.c	(revision 77368)
+++ src/lib/eina_share_common.c	(working copy)
@@ -241,7 +241,7 @@
 sizeof (share->population_group[0]);
 ++i)
   fprintf(stderr,
-  "DDD: %i strings of length %i, max strings: %i\n",
+  "DDD: %i strings of length %u, max strings: %i\n",
   share->population_group[i].count,
   i,
   share->population_group[i].max);
@@ -935,7 +935,7 @@
 sizeof (share->population_group[0]);
 ++i)
   fprintf(stderr,
-  "DDD: %i strings of length %i, max strings: %i\n",
+  "DDD: %i strings of length %u, max strings: %i\n",
   share->population_group[i].count,
   i,
   share->population_group[i].max);
Index: src/tests/ecore_hash.c
===
--- src/tests/ecore_hash.c	(revision 77368)
+++ src/tests/ecore_hash.c	(working copy)
@@ -396,14 +396,14 @@
for (i = 0; i < ecore_prime_table[hash->size]; i++)
   if (hash->buckets[i])
 {
-   int n = 0;
+   unsigned int n = 0;
Ecore_Hash_Node *node;
for (node = hash->buckets[i]; node; node = node->next)
   n++;
-   printf("%d\t%u", i, n);
+   printf("%u\t%u", i, n);
 }
   else
-   printf("%d\t0",  i);
+   printf("%u\t0",  i);
 
 }
 
Index: src/tests/eina_test_error.c
===
--- src/tests/eina_test_error.c	(revision 77368)
+++ src/tests/eina_test_error.c	(working copy)
@@ -158,7 +158,7 @@
 
for (i = 0; i < sizeof(codes)/sizeof(codes[0]); i++)
  {
-snprintf(buf, sizeof(buf), "myerr-%d", i);
+snprintf(buf, sizeof(buf), "myerr-%u", i);
 codes[i] = eina_error_msg_register(buf);
 ck_assert_int_ne(codes[i], 0);
  }
@@ -167,7 +167,7 @@
  {
 int found;
 
-snprintf(buf, sizeof(buf), "myerr-%d", i);
+snprintf(buf, sizeof(buf), "myerr-%u", i);
 
 found = eina_error_find(buf);
 ck_assert_int_eq(codes[i], found);
Index: src/lib/eina_file_win32.c
===
--- src/lib/eina_file_win32.c	(revision 77368)
+++ src/lib/eina_file_win32.c	(working copy)
@@ -407,7 +407,6 @@
  it->info.type = EINA_FILE_LNK;
else if (attr & (FILE_ATTRIBUTE_ARCHIVE |
 FILE_ATTRIBUTE_COMPRESSED |
-FILE_ATTRIBUTE_COMPRESSED |
 FILE_ATTRIBUTE_HIDDEN |
 FILE_ATTRIBUTE_NORMAL |
 FILE_ATTRIBUTE_SPARSE_FILE |
Index: src/lib/eina_log.c
===
--- src/lib/eina_log.c	(revision 77368)
+++ src/lib/eina_log.c	(working copy)
@@ -320,7 +320,7 @@
 attr |= BACKGROUND_RED;
   else if (code == 42)
 attr |= BACKGROUND_GREEN;
-  else if (code == 44)
+  else if (code == 43)
 attr |= BACKGROUND_RED | BACKGROUND_GREEN;
   else if (code == 44)
 attr |= BACKGROUND_BLUE;
Index: src/lib/eina_str.c
===
--- src/lib/eina_str.c	(revision 77368)
+++ src/lib/eina_str.c	(working copy)
@@ -490,22 +490,6 @@
   outalloc += 64;
   

Re: [E-devel] [PATCHES] Allocation bugs in ecore, eio, elmdentica

2012-10-03 Thread Igor Murzov
All patches are
Reviewed-by: Igor Murzov 

I have just prepared the very same patch for Eio, but you were
faster submitting it :)


-- Igor

> Hello,
> 
> please see attached some issues that were highlighted by coccinelle.
> Sent in individual patches for the different libraries. Vtorrified
> except for elmdentica where nobody seems to care.
> 
> All bugs suffer from memory corruption.
> 
> * ecore_x - The type used for calloc is wrong (and smaller than the
> actual type)
> 
> * eio - Problem using sizeof(type *) instead of sizeof(type) for allocation
> 
> * elmdentica - Same problem as with eio, but implemented less cunningly
> 
> 
> Regards,
> Daniel Willmann
> 

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][Elementary] Fix issues discovered by cppcheck

2012-10-03 Thread Igor Murzov
Some more patches here. This time it's five patches for Elementary:

 01  Removes unused variable.
 02  Fixes bad format strings in *printf() calls.
 03  Simplifies code and removes redundant duplicated code.
 04  Fixes copy&paste error and possible invalid memory access.
 05  Require Ecore >= 1.7.99 to build Elementary to fix following
 compiler errors:
 -
 elm_win.c: In function '_elm_win_client_message':
 elm_win.c:1880:23: error: 'ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_UP' 
undeclared (first use in this function)
 elm_win.c:1880:23: note: each undeclared identifier is reported only once 
for each function it appears in
 elm_win.c:1886:23: error: 'ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_DOWN' 
undeclared (first use in this function)
 -

-- Igor
Index: src/examples/web_example_01.c
===
--- src/examples/web_example_01.c	(revision 77380)
+++ src/examples/web_example_01.c	(working copy)
@@ -13,7 +13,7 @@
 EAPI_MAIN int
 elm_main(int argc, char *argv[])
 {
-   Evas_Object *win, *bg, *web;
+   Evas_Object *win, *web;
 
/* The program will proceed only if Ewebkit library is available. */
if (elm_need_web() == EINA_FALSE)
Index: src/bin/test_flipselector.c
===
--- src/bin/test_flipselector.c	(revision 77380)
+++ src/bin/test_flipselector.c	(working copy)
@@ -129,7 +129,7 @@
evas_object_size_hint_weight_set(fp, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
for (i = 1990; i <= 2099; i++)
  {
-snprintf(buf, 8, "%d", i);
+snprintf(buf, 8, "%u", i);
 elm_flipselector_item_append(fp, buf, _sel_cb, NULL);
  }
 
Index: src/bin/test_web.c
===
--- src/bin/test_web.c	(revision 77380)
+++ src/bin/test_web.c	(working copy)
@@ -226,7 +226,7 @@
 static void
 _console_message_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *message, unsigned int line_number, const char *source_id)
 {
-   printf("CONSOLE: %s:%d:%s\n", source_id, line_number, message);
+   printf("CONSOLE: %s:%u:%s\n", source_id, line_number, message);
 }
 
 static void
Index: src/lib/elc_popup.c
===
--- src/lib/elc_popup.c	(revision 77380)
+++ src/lib/elc_popup.c	(working copy)
@@ -447,9 +447,9 @@
   {
  sd->buttons[i] = sd->buttons[i + 1];
 
- snprintf(buf, sizeof(buf), "actionbtn%u", pos + 1);
+ snprintf(buf, sizeof(buf), "actionbtn%d", pos + 1);
  elm_object_part_content_unset(sd->action_area, buf);
- snprintf(buf, sizeof(buf), "actionbtn%u", pos);
+ snprintf(buf, sizeof(buf), "actionbtn%d", pos);
  elm_object_part_content_set
(sd->action_area, buf, sd->buttons[i]->btn);
   }
Index: src/lib/elm_check.c
===
--- src/lib/elm_check.c	(revision 77380)
+++ src/lib/elm_check.c	(working copy)
@@ -41,27 +41,13 @@
  {
 elm_layout_signal_emit(obj, "elm,state,check,on", "elm");
 if (_elm_config->access_mode != ELM_ACCESS_MODE_OFF)
-  {
- if (!elm_layout_text_get(obj, "on"))
-   {
-  _elm_access_say(E_("State: On"));
-   }
- else
-   _elm_access_say(E_("State: On"));
-  }
+ _elm_access_say(E_("State: On"));
  }
else
  {
 elm_layout_signal_emit(obj, "elm,state,check,off", "elm");
 if (_elm_config->access_mode != ELM_ACCESS_MODE_OFF)
-  {
- if (!elm_layout_text_get(obj, "off"))
-   {
-  _elm_access_say(E_("State: Off"));
-   }
- else
-   _elm_access_say(E_("State: Off"));
-  }
+ _elm_access_say(E_("State: Off"));
  }
 
evas_object_smart_callback_call(obj, SIG_CHANGED, NULL);
Index: src/lib/elm_menu.c
===
--- src/lib/elm_menu.c	(revision 77380)
+++ src/lib/elm_menu.c	(working copy)
@@ -110,8 +110,6 @@
 
if (y_p + bh > py + ph)
  y_p -= y_p + bh - (py + ph);
-   if (y_p < py)
- y_p += y_p - y_p;
 
evas_object_move(parent_it->submenu.location, x_p, y_p);
evas_object_resize(parent_it->submenu.location, bw, h_p);
@@ -149,10 +147,10 @@
if (elm_widget_mirrored_get(obj)) x_p -= w_p;
 
if (x_p + bw > x2 + w2) x_p -= x_p + bw - (x2 + w2);
-   if (x_p < x2) x_p += x2 - x_p;
+   if (x_p < x2) x_p = x2;
 
if (y_p + h_p + bh > y2 + h2) y_p -= y_p + h_p + bh - (y2 + h2);
-   if (y_p < y2) y_p += y2 - y_p;
+   if (y_p < y2) y_p = y2;
 
evas_object_move(sd->location, x_p, y_p);
evas_object_resize(sd->location, bw, h_p);
Index: src/lib/elm_toolbar.c
===

[E-devel] [PATCH][Emap] Unbreak parsing data from gpx files

2012-10-04 Thread Igor Murzov
One more patch. It restores fread() call dropped by SeoZ in r62592
while he was fixing compiler warnings. No code, no warning. That is
smart, isn't it?


-- Igor
Index: src/lib/route_gpx.c
===
--- src/lib/route_gpx.c	(revision 77392)
+++ src/lib/route_gpx.c	(working copy)
@@ -53,7 +53,8 @@
  buf = malloc(sz);
  if (buf)
  {
-eina_simple_xml_parse(buf, sz, EINA_TRUE, _parser_cb, route);
+size_t n = fread(buf, 1, sz, f);
+eina_simple_xml_parse(buf, n, EINA_TRUE, _parser_cb, route);
 
 free(buf);
  }
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCHES] Allocation bugs in ecore, eio, elmdentica

2012-10-04 Thread Igor Murzov
> > * eio - Problem using sizeof(type *) instead of sizeof(type) for allocation
> >
> > * elmdentica - Same problem as with eio, but implemented less cunningly
> 
> In svn for both of them.

I think the one for eio should be backported to the stable branch.


-- Igor

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][Enlightement] Fix issues discovered by cppcheck

2012-10-04 Thread Igor Murzov
Here are three patches for Enlightenment:

 01  Removes unused variables, drops duplicate return or break
 statements and drops unnecessary checks.
 02  Fixes potential invalid memory reads.
 03  Fixes a typo.

In addition, I'm not sure if this ok or not, but Enlightenment
can not be compiled with EFL-1.7 anymore:
--
  CC e_mod_comp_cfdata.lo
../../../src/modules/comp/e_mod_comp_cfdata.c: In function 
'e_mod_comp_cfdata_config_new':
../../../src/modules/comp/e_mod_comp_cfdata.c:83:21: error: 
'ECORE_EVAS_GL_X11_SWAP_MODE_AUTO' undeclared (first use in this function)
../../../src/modules/comp/e_mod_comp_cfdata.c:83:21: note: each undeclared 
identifier is reported only once for each function it appears in
--


-- Igor
Index: src/bin/e_zone.c
===
--- src/bin/e_zone.c	(revision 77434)
+++ src/bin/e_zone.c	(working copy)
@@ -1296,7 +1296,6 @@
   if (yy1 > zone->h - shelf->h)
 yy1 = zone->h - shelf->h;
   break;
-  break;
 
 case E_GADCON_ORIENT_LEFT:
 case E_GADCON_ORIENT_CORNER_LT:
Index: src/modules/battery/batget.c
===
--- src/modules/battery/batget.c	(revision 77434)
+++ src/modules/battery/batget.c	(working copy)
@@ -272,8 +272,6 @@
 bsd_apm_check(void)
 {
int ac_stat, bat_stat, bat_val, time_val;
-   char buf[4096];
-   int hours, minutes;
int apm_fd = -1;
struct apm_info info;
 
@@ -357,7 +355,6 @@
const void *values;
int device_num, device_count;
int currentval = 0, maxval = 0;
-   char buf[4096];
CFTypeRef blob;
CFArrayRef sources;
CFDictionaryRef device_dict;
Index: src/modules/conf_theme/e_int_config_scale.c
===
--- src/modules/conf_theme/e_int_config_scale.c	(revision 77434)
+++ src/modules/conf_theme/e_int_config_scale.c	(working copy)
@@ -386,7 +386,6 @@
   (cfdata->max != e_config->scale.max) ||
   (cfdata->factor != e_config->scale.factor) ||
   (cfdata->base_dpi != e_config->scale.base_dpi);
-   return 1;
 }
 
 static void
Index: src/modules/cpufreq/e_mod_main.c
===
--- src/modules/cpufreq/e_mod_main.c	(revision 77434)
+++ src/modules/cpufreq/e_mod_main.c	(working copy)
@@ -597,7 +597,7 @@
 #elif defined (__FreeBSD__)
int freq;
size_t len = sizeof(buf);
-   char *freqs, *pos, *q;
+   char *pos, *q;
 
/* read freq_levels sysctl and store it in freq */
if (sysctlbyname("dev.cpu.0.freq_levels", buf, &len, NULL, 0) == 0)
Index: src/modules/fileman/e_mod_menu.c
===
--- src/modules/fileman/e_mod_menu.c	(revision 77434)
+++ src/modules/fileman/e_mod_menu.c	(working copy)
@@ -274,7 +274,7 @@
  e_menu_item_callback_set(mi, _e_mod_menu_gtk_cb,
   (void *)eina_stringshare_add(uri->path));
  e_menu_item_submenu_pre_callback_set(mi, _e_mod_menu_populate, eina_stringshare_add("/"));
- if (uri) efreet_uri_free(uri);
+ efreet_uri_free(uri);
   }
 fclose(fp);
  }
Index: src/modules/illume-keyboard/e_kbd_dict.c
===
--- src/modules/illume-keyboard/e_kbd_dict.c	(revision 77434)
+++ src/modules/illume-keyboard/e_kbd_dict.c	(working copy)
@@ -153,7 +153,6 @@
kw1 = d1;
kw2 = d2;
return _e_kbd_dict_normalized_strcmp(kw1->word, kw2->word);
-   return 0;
 }
 
 static const char *
Index: src/modules/xkbswitch/e_mod_main.c
===
--- src/modules/xkbswitch/e_mod_main.c	(revision 77434)
+++ src/modules/xkbswitch/e_mod_main.c	(working copy)
@@ -496,7 +496,6 @@
 
if (!inst) return;
e_gadcon_locked_set(inst->gcc->gadcon, 0);
-   if (!(inst) || !inst->lmenu) return;
inst->lmenu = NULL;
 }
 
Index: src/bin/e_exec.c
===
--- src/bin/e_exec.c	(revision 77434)
+++ src/bin/e_exec.c	(working copy)
@@ -158,15 +158,13 @@
   
   EINA_LIST_FOREACH(e_border_client_list(), l, bd)
 {
-   if (bd->desktop == desktop)
+   if (bd && bd->desktop == desktop)
  {
-if (bd)
-  {
- if (!bd->focused)
-   e_border_activate(bd, EINA_TRUE);
- else e_border_raise(bd);
- return NULL;
-  }
+if (!bd->focused)
+  e_border_activate

Re: [E-devel] E17 User Guide

2012-10-05 Thread Igor Murzov
> As you may or may not be aware, there is an E17 user guide on the wiki, and
> I have made it considerably more prominent so it can actually be found now.
> It contains a lot of information, but there are still quite a few things
> which need your help! If you get a couple minutes of free time, pick
> something on the guide, see if it exists, and either create a page for it
> or update the existing info:
> 
> http://trac.enlightenment.org/e/wiki/User_Guide

Bodhi linux already has E17 user guide and that guide
is pretty good. May be it's better to just merge it in?


-- Igor

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [NO PATCH][Enlightement] Issues discovered by cppcheck

2012-10-06 Thread Igor Murzov
Hi list.

There are several suspicious code snippets in E, that
look much like copy&paste errors, but I don't know how
to properly fix those errors. Maybe someone experienced
could look into these.

#1: src/bin/e_backlight.c#n496
  
  if ((e_config->backlight.sysdev) &&
  (!strcmp(e_config->backlight.sysdev, f)))
   bl_sysval = eina_stringshare_add(f);
  else
   bl_sysval = eina_stringshare_add(f);
  

#2: src/bin/e_gadcon.c#n2988
  
  if (e_gadcon_layout_orientation_get(gc->o_container))
 e_gadcon_layout_pack_request_set(o, gcc->config.pos,
  gcc->config.size);
  else
 e_gadcon_layout_pack_request_set(o, gcc->config.pos,
  gcc->config.size);
  

#3: src/bin/e_border.c#n5765
  
  if (e->mode == ECORE_X_EVENT_MODE_GRAB)
{
   if (e->detail == ECORE_X_EVENT_DETAIL_POINTER) return 
ECORE_CALLBACK_PASS_ON;
}
  else if (e->mode == ECORE_X_EVENT_MODE_UNGRAB)
{
   if (e->detail == ECORE_X_EVENT_DETAIL_POINTER) return 
ECORE_CALLBACK_PASS_ON;
}
  


-- Igor

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [NO PATCH][Enlightement] Issues discovered by cppcheck

2012-10-06 Thread Igor Murzov
> #3 is definitely correct.

Then could you simplify this part, so that it doesn't look
like bad copy&paste?


-- Igor

> Den 6. okt. 2012 kl. 21:14 skrev Igor Murzov :
> 
> > Hi list.
> > 
> > There are several suspicious code snippets in E, that
> > look much like copy&paste errors, but I don't know how
> > to properly fix those errors. Maybe someone experienced
> > could look into these.
> > 
> > #1: src/bin/e_backlight.c#n496
> >  
> >  if ((e_config->backlight.sysdev) &&
> >  (!strcmp(e_config->backlight.sysdev, f)))
> >   bl_sysval = eina_stringshare_add(f);
> >  else
> >   bl_sysval = eina_stringshare_add(f);
> >  
> > 
> > #2: src/bin/e_gadcon.c#n2988
> >  
> >  if (e_gadcon_layout_orientation_get(gc->o_container))
> > e_gadcon_layout_pack_request_set(o, gcc->config.pos,
> >  gcc->config.size);
> >  else
> > e_gadcon_layout_pack_request_set(o, gcc->config.pos,
> >  gcc->config.size);
> >  
> > 
> > #3: src/bin/e_border.c#n5765
> >  
> >  if (e->mode == ECORE_X_EVENT_MODE_GRAB)
> >{
> >   if (e->detail == ECORE_X_EVENT_DETAIL_POINTER) return 
> > ECORE_CALLBACK_PASS_ON;
> >}
> >  else if (e->mode == ECORE_X_EVENT_MODE_UNGRAB)
> >{
> >   if (e->detail == ECORE_X_EVENT_DETAIL_POINTER) return 
> > ECORE_CALLBACK_PASS_ON;
> >}
> >  
> > 
> > 
> > -- Igor

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][E] Unbreak getting Nth element from boxes.

2012-10-29 Thread Igor Murzov
Unbreak getting Nth element from boxes.

Fixes crashes in Places gadget.


-- Igor
>From db253fa711e80724a4b9237ea02fa5c6e597921c Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 16:22:15 +0400
Subject: [PATCH 2/6] Unbreak getting Nth element from boxes.

Nice try zmike, but you won't get cedric's laurels. Never! Spank! Spank!

Fixes crashes in Places gadget, which were the cause of intoducing
stupid modules blacklist by raster instead of fixing actual bug. So some
spankies go to raster too.
---
 src/bin/e_box.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_box.c b/src/bin/e_box.c
index 1fbd797..7273b55 100644
--- a/src/bin/e_box.c
+++ b/src/bin/e_box.c
@@ -82,15 +82,15 @@ _e_box_item_nth_get(E_Smart_Data *sd, unsigned int n)
if (n > sd->item_count / 2)
  {
 x = sd->item_count - 1;
-EINA_INLIST_REVERSE_FOREACH(EINA_INLIST_GET(sd->items)->last, bi)
+EINA_INLIST_REVERSE_FOREACH(EINA_INLIST_GET(sd->items), bi)
   {
  if (n == x) return bi->obj;
- x++;
+ x--;
   }
 return NULL;
  }
x = 0;
-   EINA_INLIST_FOREACH(EINA_INLIST_GET(sd->items)->last, bi)
+   EINA_INLIST_FOREACH(EINA_INLIST_GET(sd->items), bi)
  {
 if (n == x) return bi->obj;
 x++;
-- 
1.7.12.1

--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][Ecore] Fixes for invalid memory read issues discovered by cppcheck

2012-10-29 Thread Igor Murzov
One more patch to fix issues discovered by cppcheck.


-- Igor
>From 6dd6b7aa419cd797a7b78d38f8e198d7d91bbdf5 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Mon, 29 Oct 2012 15:20:56 +0400
Subject: [PATCH 2/2] Fix potential invalid memory reads.

(Discovered by cppcheck)
---
 src/lib/ecore/ecore_exe.c| 4 +++-
 src/lib/ecore_config/ecore_config.c  | 8 +++-
 src/lib/ecore_config/ecore_config_util.c | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
index 7cc4b0f..6420a27 100644
--- a/src/lib/ecore/ecore_exe.c
+++ b/src/lib/ecore/ecore_exe.c
@@ -692,10 +692,12 @@ ecore_exe_pipe_run(const char *exe_cmd,
   Ecore_Exe_Event_Add *e;
 
   e = _ecore_exe_event_add_new();
-  e->exe = exe;
   if (e) /* Send the event. */
+  {
+e->exe = exe;
 ecore_event_add(ECORE_EXE_EVENT_ADD, e,
 _ecore_exe_event_add_free, NULL);
+  }
   /* INF("Running as %d for %s.\n", exe->pid, exe->cmd); */
}
 
diff --git a/src/lib/ecore_config/ecore_config.c b/src/lib/ecore_config/ecore_config.c
index e81538e..fce9899 100644
--- a/src/lib/ecore_config/ecore_config.c
+++ b/src/lib/ecore_config/ecore_config.c
@@ -52,12 +52,9 @@ EAPI Ecore_Config_Prop  *
 ecore_config_dst(Ecore_Config_Prop * e)
 {
Ecore_Config_Bundle *t;
-   Ecore_Config_Prop  *p, *c;
Ecore_Config_Listener_List *l;
 
-   p = NULL;
t = __ecore_config_bundle_local;
-   c = t->data;
 
if (!e || !e->key)
   return NULL;
@@ -67,6 +64,8 @@ ecore_config_dst(Ecore_Config_Prop * e)
 	   t->data = e->next;
 	else
 	  {
+	 Ecore_Config_Prop *p, *c;
+	 c = t->data;
 	 do
 	   {
 		  p = c;
@@ -544,8 +543,7 @@ ecore_config_typed_add(const char *key, const void *val, int type)
 
if(e->key)
  free(e->key);
-   if(e)
- free(e);
+   free(e);
 
if (error == ECORE_CONFIG_ERR_SUCC)
   error = ECORE_CONFIG_ERR_FAIL;
diff --git a/src/lib/ecore_config/ecore_config_util.c b/src/lib/ecore_config/ecore_config_util.c
index 6156936..edf126d 100644
--- a/src/lib/ecore_config/ecore_config_util.c
+++ b/src/lib/ecore_config/ecore_config_util.c
@@ -117,7 +117,7 @@ esprintf(char **result, const char *fmt, ...)
 	n[need] = 0;
 
 	if(*result)
-	   free(result);
+	   free(*result);
 	*result = n;
 
 	return need;
-- 
1.7.12.1

--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][Ecore,Edje,E,E-Modules-Extra] Fix typos.

2012-10-29 Thread Igor Murzov
Hi list.

Here are four trivial patches -- just fixing typos.


-- Igor
>From f7310ead4bf48d123f85b366a49670915c8c299e Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Fri, 26 Oct 2012 19:15:46 +0400
Subject: [PATCH 1/2] Fix typos: s/pooler/poller/g

---
 src/lib/ecore/Ecore.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/ecore/Ecore.h b/src/lib/ecore/Ecore.h
index 3610af4..e08bec9 100644
--- a/src/lib/ecore/Ecore.h
+++ b/src/lib/ecore/Ecore.h
@@ -145,11 +145,11 @@ sudo make install
  * repeatedly doing something with a set interval.
  * @see Ecore_Timer_Group
  *
- * @subsection poolers Poolers
+ * @subsection pollers Pollers
  *
- * Poolers allow for pooling to be centralized into a single place therefore
+ * Pollers allow for polling to be centralized into a single place therefore
  * alleviating the need for different parts of the program to wake up at
- * different times to do pooling, thereby making the code simpler and more
+ * different times to do polling, thereby making the code simpler and more
  * efficient.
  * @see Ecore_Poller_Group
  *
-- 
1.7.12.1

>From e0ef5fbbf1f1de218d929e67d57826c4413c690e Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Fri, 26 Oct 2012 19:13:26 +0400
Subject: [PATCH] Fix typos: s/Ejde/Edje/g

---
 src/lib/Edje.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/Edje.h b/src/lib/Edje.h
index a9a2085..e6f9b01 100644
--- a/src/lib/Edje.h
+++ b/src/lib/Edje.h
@@ -342,7 +342,7 @@ EAPI extern Edje_Version *edje_version;
  *
  * @return The new init count. The initial value is zero.
  *
- * This function initializes the Ejde library, making the proper calls
+ * This function initializes the Edje library, making the proper calls
  * to internal initialization functions. It will also initialize its
  * @b dependencies, making calls to @c eina_init(), @c ecore_init(),
  * @c embryo_init() and @c eet_init(). So, there is no need to call
@@ -2221,7 +2221,7 @@ typedef void (*Edje_Signal_Cb)  (void *data, Evas_Object *obj, c
 
 /**
  * @brief Add a callback for an arriving Edje signal, emitted by
- * a given Ejde object.
+ * a given Edje object.
  *
  * @param obj A handle to an Edje object
  * @param emission The signal's "emission" string
@@ -2304,7 +2304,7 @@ EAPI void*edje_object_signal_callback_del (Evas_Object *obj, const char
 
 /**
  * @brief Unregister/delete a callback set for an arriving Edje
- * signal, emitted by a given Ejde object.
+ * signal, emitted by a given Edje object.
  *
  * @param obj A handle to an Edje object
  * @param emission The signal's "emission" string
-- 
1.7.12.1

>From 9ccc4e16609dcc96fc97e65052992509441b69e2 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 16:18:53 +0400
Subject: [PATCH 1/6] Fix typos: s/Unknow/Unknown/g

---
 src/modules/fileman/e_fwin.c| 2 +-
 src/modules/fileman_opinfo/e_mod_main.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index c974863..24645db 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -3016,7 +3016,7 @@ _e_fwin_op_registry_listener_cb(void *data,
  break;
 
default:
- snprintf(buf, sizeof(buf), _("Unknow operation from slave %d"), ere->id);
+ snprintf(buf, sizeof(buf), _("Unknown operation from slave %d"), ere->id);
   }
 E_FREE(total);
  }
diff --git a/src/modules/fileman_opinfo/e_mod_main.c b/src/modules/fileman_opinfo/e_mod_main.c
index 72d91fe..439e0c6 100644
--- a/src/modules/fileman_opinfo/e_mod_main.c
+++ b/src/modules/fileman_opinfo/e_mod_main.c
@@ -122,7 +122,7 @@ _opinfo_op_registry_listener(void *data, const E_Fm2_Op_Registry_Entry *ere)
   snprintf(buf, sizeof(buf), _("Deleting files..."));
break;
 default:
-   snprintf(buf, sizeof(buf), _("Unknow operation from slave %d"), ere->id);
+   snprintf(buf, sizeof(buf), _("Unknown operation from slave %d"), ere->id);
  }
  E_FREE(total);
    }
-- 
1.7.12.1

>From c50f64a8598f88c5ae3e2dceedf37814a7d1fd6b Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 16:19:56 +0400
Subject: [PATCH 1/8] Fix a typo: s/Avalaible/Available/

---
 news/src/news_config_dialog_item_content.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/news/src/news_config_dialog_item_content.c b/news/src/news_config_dialog_item_content.c
index 5ee3e9c..01f5ed8 100644
--- a/news/src/news_config_dialog_item_content.c
+++ b/news/src/news_config_dialog_item_content.c
@@ -255,7 +255,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
 
o = e_widget_list_add(evas, 0, 1);
 
-   of = e_widget_frametable_add(evas, D_("Avalaible Feed

[E-devel] [PATCH][E-MODULES-EXTRA] Fix crash in news module + two minor changes

2012-10-29 Thread Igor Murzov
These patches add .gitignore to news and mpdule modules,
fix crash in the news module and simplify a code a bit in
the news module.


-- Igor
>From ada035899474107a6c83d78bcd412eba50ac5e5d Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 18:22:10 +0400
Subject: [PATCH 3/8] news: Check if the pointer is NULL.

This fixes a crash on opening Settings > Main dialog.
---
 news/src/news_config_dialog.c | 34 ++
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/news/src/news_config_dialog.c b/news/src/news_config_dialog.c
index decd636..60b5f35 100644
--- a/news/src/news_config_dialog.c
+++ b/news/src/news_config_dialog.c
@@ -157,18 +157,36 @@ _fill_data(E_Config_Dialog_Data *cfdata)
cfdata->viewer.varticles.sort_date = c->viewer.varticles.sort_date;
cfdata->viewer.vcontent.font_size = c->viewer.vcontent.font_size;
cfdata->viewer.vcontent.font_color = E_NEW(E_Color, 1);
-   sscanf(c->viewer.vcontent.font_color, "#%2x%2x%2x",
-  &cfdata->viewer.vcontent.font_color->r,
-  &cfdata->viewer.vcontent.font_color->g,
-  &cfdata->viewer.vcontent.font_color->b);
+   if(c->viewer.vcontent.font_color)
+ {
+sscanf(c->viewer.vcontent.font_color, "#%2x%2x%2x",
+  &cfdata->viewer.vcontent.font_color->r,
+  &cfdata->viewer.vcontent.font_color->g,
+  &cfdata->viewer.vcontent.font_color->b);
+ }
+   else
+ {
+cfdata->viewer.vcontent.font_color->r = 0;
+cfdata->viewer.vcontent.font_color->g = 0;
+cfdata->viewer.vcontent.font_color->b = 0;
+ }
cfdata->viewer.vcontent.font_color->a = 255;
e_color_update_rgb(cfdata->viewer.vcontent.font_color);
cfdata->viewer.vcontent.font_shadow = c->viewer.vcontent.font_shadow;
cfdata->viewer.vcontent.font_shadow_color = E_NEW(E_Color, 1);
-   sscanf(c->viewer.vcontent.font_shadow_color, "#%2x%2x%2x",
-  &cfdata->viewer.vcontent.font_shadow_color->r,
-  &cfdata->viewer.vcontent.font_shadow_color->g,
-  &cfdata->viewer.vcontent.font_shadow_color->b);
+   if(c->viewer.vcontent.font_shadow_color)
+ {
+sscanf(c->viewer.vcontent.font_shadow_color, "#%2x%2x%2x",
+  &cfdata->viewer.vcontent.font_shadow_color->r,
+  &cfdata->viewer.vcontent.font_shadow_color->g,
+  &cfdata->viewer.vcontent.font_shadow_color->b);
+ }
+   else
+ {
+cfdata->viewer.vcontent.font_shadow_color->r = 240;
+cfdata->viewer.vcontent.font_shadow_color->g = 240;
+cfdata->viewer.vcontent.font_shadow_color->b = 240;
+ }
cfdata->viewer.vcontent.font_shadow_color->a = 255;
e_color_update_rgb(cfdata->viewer.vcontent.font_shadow_color);
cfdata->viewer.vcontent.color_changed = 0;
-- 
1.7.12.1

>From 8da930983d2a7cb41ca01ea856588144fef92071 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 20:51:19 +0400
Subject: [PATCH 6/8] news, mpdule: Add .gitignore.

---
 mpdule/.gitignore | 91 +++
 news/.gitignore   | 84 ++
 2 files changed, 175 insertions(+)
 create mode 100644 mpdule/.gitignore
 create mode 100644 news/.gitignore

diff --git a/mpdule/.gitignore b/mpdule/.gitignore
new file mode 100644
index 000..6aeae24
--- /dev/null
+++ b/mpdule/.gitignore
@@ -0,0 +1,91 @@
+*~
+*.o
+*.a
+*.lo
+*.la
+*.gmo
+*swo
+*swp
+ABOUT-NLS
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.cache/
+config.guess
+config.h
+config.h.in
+config.log
+config.rpath
+config.status
+config.sub
+configure
+depcomp
+mpdule.edj
+e-module-mpdule.edj
+e_modules-mpdule.spec
+install-sh
+libtool
+ltmain.sh
+m4/codeset.m4
+m4/fcntl-o.m4
+m4/gettext.m4
+m4/glibc2.m4
+m4/glibc21.m4
+m4/iconv.m4
+m4/intdiv0.m4
+m4/intl.m4
+m4/intldir.m4
+m4/intlmacosx.m4
+m4/intmax.m4
+m4/inttypes-pri.m4
+m4/inttypes.m4
+m4/inttypes_h.m4
+m4/lcmessage.m4
+m4/lib-ld.m4
+m4/lib-link.m4
+m4/lib-prefix.m4
+m4/libtool.m4
+m4/lock.m4
+m4/longdouble.m4
+m4/longlong.m4
+m4/ltoptions.m4
+m4/ltsugar.m4
+m4/ltversion.m4
+m4/lt~obsolete.m4
+m4/nls.m4
+m4/po.m4
+m4/printf-posix.m4
+m4/progtest.m4
+m4/signed.m4
+m4/size_max.m4
+m4/stdint_h.m4
+m4/threadlib.m4
+m4/uintmax_t.m4
+m4/ulonglong.m4
+m4/visibility.m4
+m4/wchar_t.m4
+m4/wint_t.m4
+m4/xsize.m4
+missing
+mkinstalldirs
+module.desktop
+po/Makefile
+po/Makefile.in
+po/Makefile.in.in
+po/Makevars.template
+po/POTFILES
+po/Rules-quot
+po/boldquot.sed
+po/en@boldquot.header
+po/en@quot.header
+po/insert-header.sin
+po/mpdule.pot
+po/quot.sed
+po/remove-potcdate.sed
+po/remove-potcdate.sin
+po/stamp-po
+src/.deps/
+src/.libs/
+src/Makefile
+src/Makefile.in
+stamp-h1
diff --

[E-devel] [PATCH][E, E-MODULES-EXTRA] Some translations related fixes

2012-10-29 Thread Igor Murzov
Some patches to fix translations related issues + 
some terminology unification:

 * Use "directory" term everywhere, don't use "folder".
 * Remove stray semicolon from a control label in mpdule gadget.
 * Fix handling plural forms in EFM.
 * Gettextize MPDule and prepare it for translation.


-- Igor
>From 23ffa1d49ac5abbd31657282f156e5aac0998a6a Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 17:55:43 +0400
Subject: [PATCH 5/6] Get rid of "folder" term, use "directory" everywhere.

---
 src/bin/e_fm_cmdline.c   | 4 ++--
 src/bin/e_open.c | 2 +-
 src/modules/everything/evry_plug_files.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_fm_cmdline.c b/src/bin/e_fm_cmdline.c
index 68f36bd..941f14a 100644
--- a/src/bin/e_fm_cmdline.c
+++ b/src/bin/e_fm_cmdline.c
@@ -107,11 +107,11 @@ fm_open(const char *path)
 
 static const Ecore_Getopt options = {
"enlightenment_filemanager",
-   "%prog [options] [file-or-folder1] ... [file-or-folderN]",
+   "%prog [options] [file-or-directory1] ... [file-or-directoryN]",
PACKAGE_VERSION,
"(C) 2012 Gustavo Sverzut Barbieri and others",
"BSD 2-Clause",
-   "Opens the Enlightenment File Manager at a given folders.",
+   "Opens the Enlightenment File Manager at a given directories.",
EINA_FALSE,
{
   ECORE_GETOPT_VERSION('V', "version"),
diff --git a/src/bin/e_open.c b/src/bin/e_open.c
index 0d34452..b160bb7 100644
--- a/src/bin/e_open.c
+++ b/src/bin/e_open.c
@@ -430,7 +430,7 @@ static const char *type_choices[] = {
 
 static const Ecore_Getopt options = {
"enlightenment_open",
-   "%prog [options] ",
+   "%prog [options] ",
PACKAGE_VERSION,
"(C) 2012 Gustavo Sverzut Barbieri and others",
"BSD 2-Clause",
diff --git a/src/modules/everything/evry_plug_files.c b/src/modules/everything/evry_plug_files.c
index d6bd716..f6ea47d 100644
--- a/src/modules/everything/evry_plug_files.c
+++ b/src/modules/everything/evry_plug_files.c
@@ -1327,7 +1327,7 @@ _plugins_init(const Evry_API *api)
   _file_trash_action, NULL, 1);
EVRY_ITEM_DATA_INT_SET(act, ACT_TRASH);
 
-   ACTION_NEW("Open Folder (EFM)", 0, "folder-open",
+   ACTION_NEW("Open Directory (EFM)", 0, "folder-open",
   _open_folder_action, _open_folder_check, 1);
act->remember_context = EINA_TRUE;
 
-- 
1.7.12.1

From 961a702481ce05f9dd00bece4c963c458ff50eb7 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 28 Oct 2012 17:56:45 +0400
Subject: [PATCH 2/8] Get rid of "folder" term, use "directory" everywhere.

---
 engage/src/ng_launcher.c| 2 +-
 everything-places/module.desktop.in | 2 +-
 photo/src/photo_picture_local.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/engage/src/ng_launcher.c b/engage/src/ng_launcher.c
index 7e81dd6..ca82d59 100644
--- a/engage/src/ng_launcher.c
+++ b/engage/src/ng_launcher.c
@@ -272,7 +272,7 @@ _cb_drop_end(void *data, const char *type, void *event_info)
 		   if (app->icon) free(app->icon);
 		   app->icon = strdup("folder");
 		   if (app->comment)free(app->comment);
-		   app->comment = strdup(D_("Open folder with EFM"));
+		   app->comment = strdup(D_("Open directory with EFM"));
 		   if (app->exec) free(app->exec);
 		   snprintf(buf, PATH_MAX, "enlightenment_remote -efm-open-dir %s", file);
 		   app->exec = strdup(buf);
diff --git a/everything-places/module.desktop.in b/everything-places/module.desktop.in
index 85150ca..5c06a78 100644
--- a/everything-places/module.desktop.in
+++ b/everything-places/module.desktop.in
@@ -6,7 +6,7 @@ Name[fr]=Omni - Raccourcis
 Name[it]=Everything - Risorse
 Name[pt]=Everything - Locais
 Icon=e-module
-Comment=Access folder bookmarks and mount drives
+Comment=Access directory bookmarks and mount drives
 Comment[ru]=Доступ к закладкам директорий и монтирование дисков.
 Comment[fr]=Accès aux signets des dossiers et aux volumes montés. 
 Comment[it]=Accede ai segnalibro delle cartelle e monta le unità.
diff --git a/photo/src/photo_picture_local.c b/photo/src/photo_picture_local.c
index f1acc84..c52a998 100644
--- a/photo/src/photo_picture_local.c
+++ b/photo/src/photo_picture_local.c
@@ -251,7 +251,7 @@ Picture_Local_Dir *photo_picture_local_dir_new(char *path, int recursive, int re
 char buf[4096];
 snprintf(buf, sizeof(buf),
  D_("Directory %s doesnt exists."
-   "You can change the picture's folders in main configuration panel"
+   "You can change the picture'

Re: [E-devel] [PATCH][Ecore] Fixes for invalid memory read issues discovered by cppcheck

2012-10-29 Thread Igor Murzov
On Mon, 29 Oct 2012 12:56:12 -0200
Leandro Dorileo  wrote:

> Hi,
> 
> On Mon, Oct 29, 2012 at 03:39:29PM +0400, Igor Murzov wrote:
> > One more patch to fix issues discovered by cppcheck.
> > 
> > 
> > -- Igor
> 
> > >From 6dd6b7aa419cd797a7b78d38f8e198d7d91bbdf5 Mon Sep 17 00:00:00 2001
> > From: Igor Murzov 
> > Date: Mon, 29 Oct 2012 15:20:56 +0400
> > Subject: [PATCH 2/2] Fix potential invalid memory reads.
> > 
> > (Discovered by cppcheck)
> > ---
> >  src/lib/ecore/ecore_exe.c| 4 +++-
> >  src/lib/ecore_config/ecore_config.c  | 8 +++-
> >  src/lib/ecore_config/ecore_config_util.c | 2 +-
> >  3 files changed, 7 insertions(+), 7 deletions(-)
> > 
> > diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
> > index 7cc4b0f..6420a27 100644
> > --- a/src/lib/ecore/ecore_exe.c
> > +++ b/src/lib/ecore/ecore_exe.c
> > @@ -692,10 +692,12 @@ ecore_exe_pipe_run(const char *exe_cmd,
> >Ecore_Exe_Event_Add *e;
> >  
> >e = _ecore_exe_event_add_new();
> > -  e->exe = exe;
> >if (e) /* Send the event. */
> > +  {
> > +e->exe = exe;
> >  ecore_event_add(ECORE_EXE_EVENT_ADD, e,
> >  _ecore_exe_event_add_free, NULL);
> > +  }
> >/* INF("Running as %d for %s.\n", exe->pid, exe->cmd); */
> > }
> >  
> > diff --git a/src/lib/ecore_config/ecore_config.c 
> > b/src/lib/ecore_config/ecore_config.c
> > index e81538e..fce9899 100644
> > --- a/src/lib/ecore_config/ecore_config.c
> > +++ b/src/lib/ecore_config/ecore_config.c
> > @@ -52,12 +52,9 @@ EAPI Ecore_Config_Prop  *
> >  ecore_config_dst(Ecore_Config_Prop * e)
> >  {
> > Ecore_Config_Bundle *t;
> > -   Ecore_Config_Prop  *p, *c;
> > Ecore_Config_Listener_List *l;
> >  
> > -   p = NULL;
> > t = __ecore_config_bundle_local;
> > -   c = t->data;
> >  
> > if (!e || !e->key)
> >return NULL;
> > @@ -67,6 +64,8 @@ ecore_config_dst(Ecore_Config_Prop * e)
> >t->data = e->next;
> > else
> >   {
> > +Ecore_Config_Prop *p, *c;
> 
> 
> 
> Why move declaration here?

Because p and c are used here -- it's generally clearer and more
straightforward to declare variables in the place they are used.
But if it breaks current coding conventions, then i can move this
line to its initial location.

> > +c = t->data;
> >  do
> >{
> >   p = c;
> > @@ -544,8 +543,7 @@ ecore_config_typed_add(const char *key, const void 
> > *val, int type)
> >  
> > if(e->key)
> >   free(e->key);
> > -   if(e)
> > - free(e);
> > +   free(e);
> >  
> > if (error == ECORE_CONFIG_ERR_SUCC)
> >error = ECORE_CONFIG_ERR_FAIL;
> > diff --git a/src/lib/ecore_config/ecore_config_util.c 
> > b/src/lib/ecore_config/ecore_config_util.c
> > index 6156936..edf126d 100644
> > --- a/src/lib/ecore_config/ecore_config_util.c
> > +++ b/src/lib/ecore_config/ecore_config_util.c
> > @@ -117,7 +117,7 @@ esprintf(char **result, const char *fmt, ...)
> > n[need] = 0;
> >  
> > if(*result)
> > -  free(result);
> > +  free(*result);
> > *result = n;
> >  
> > return need;
> > -- 
> > 1.7.12.1
> > 

--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH][Ecore,Edje,E,E-Modules-Extra] Fix typos.

2012-10-29 Thread Igor Murzov
On Mon, 29 Oct 2012 19:57:34 -0200
Lucas De Marchi  wrote:

> On Mon, Oct 29, 2012 at 9:34 AM, Igor Murzov  wrote:
> > Hi list.
> >
> > Here are four trivial patches -- just fixing typos.
> >
> >
> > -- Igor
> 
> 
> Patches to edje and ecore were applied. Please, next time if you are
> going to send patches attached (and since you are using git), use git
> format-patch and use it. It seems you c&p the result or it got screwed
> by your email provider or I don't know what, but it had trailing CR in
> it and therefore I couldn't use svn-git-am.py script.

I'm sorry about that. I used git format-patch actually, so I blame
claws-mail. Should i resend all patches with git send-email?
Also would it be of any help to have a fork on github for pull requests?

> thanks
> Lucas De Marchi

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH][Ecore,Edje,E,E-Modules-Extra] Fix typos.

2012-10-30 Thread Igor Murzov
On Tue, 30 Oct 2012 00:06:18 -0200
Lucas De Marchi  wrote:

> On Mon, Oct 29, 2012 at 10:12 PM, Igor Murzov  wrote:
> > On Mon, 29 Oct 2012 19:57:34 -0200
> > Lucas De Marchi  wrote:
> >
> >> On Mon, Oct 29, 2012 at 9:34 AM, Igor Murzov  wrote:
> >> > Hi list.
> >> >
> >> > Here are four trivial patches -- just fixing typos.
> >> >
> >> >
> >> > -- Igor
> >>
> >>
> >> Patches to edje and ecore were applied. Please, next time if you are
> >> going to send patches attached (and since you are using git), use git
> >> format-patch and use it. It seems you c&p the result or it got screwed
> >> by your email provider or I don't know what, but it had trailing CR in
> >> it and therefore I couldn't use svn-git-am.py script.
> >
> > I'm sorry about that. I used git format-patch actually, so I blame
> 
> You can actually use git send-email, too, and avoid all the crap email
> clients out there.
> 
> > claws-mail. Should i resend all patches with git send-email?
> 
> Nops, there's only one pending patch... to E-MODULES-EXTRA. I usually
> don't commit there. This was the only reason not to get the last one.

There are other patches, that i sent to the ML yesterday. And what about
other developers? I think trailing CR could affect those who use svn too,
couldn't it?


-- Igor

> > Also would it be of any help to have a fork on github for pull requests?
> 
> Nops. The project is moving to git soonish
> 
> Lucas De Marchi

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e] Temperature module

2012-11-02 Thread Igor Murzov
On Fri, 02 Nov 2012 17:22:38 +0100
rustyBSD  wrote:

> Hi,
> I don't really know sensors on linux, but it seems
> that there is a mistake in the temperature module.

You are right. tempget_fix.c.diff is
Reviewed-by: Igor Murzov   :)

> Here are two patches: the first is for formatting
> (it was a shame),the second for the fix.
> 
> thanks


-- Igor

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e] Temperature module

2012-11-03 Thread Igor Murzov
On Fri, 02 Nov 2012 17:22:38 +0100
rustyBSD  wrote:

> Hi,
> I don't really know sensors on linux, but it seems
> that there is a mistake in the temperature module.

> -"/sys/class/thermal/thermal/%s/temp", sensor_name);
> +"/sys/class/thermal/%s/temp", sensor_name);

I don't know why, but after recompiling E with your patch,
temperature gadget shows N/A. But i still think that the 
patch is correct. On my laptop temperature can be read from
/sys/class/thermal/thermal_zone0/temp and there is no
/sys/class/thermal/thermal/ at all, so there is probably
some other bug in the code.


-- Igor

> Here are two patches: the first is for formatting
> (it was a shame),the second for the fix.
> 
> thanks

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Fix getting temperature from /sys/class/thermal/.

2012-11-03 Thread Igor Murzov
---
 src/modules/temperature/tempget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/temperature/tempget.c 
b/src/modules/temperature/tempget.c
index 3a1c346..ffbfb7f 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -343,7 +343,7 @@ init(void)
 break;
   case SENSOR_TYPE_LINUX_SYS:
 snprintf(path, sizeof(path),
- "/sys/class/thermal/thermal/%s/temp", sensor_name);
+ "/sys/class/thermal/%s/temp", sensor_name);
 sensor_path = strdup(path);
 break;
default:
@@ -508,6 +508,7 @@ check(void)
 fclose(f);
  temp = atoi(buf);
  temp /= 1000;
+ ret = 1;
  }
else
  goto error;
-- 
1.7.12.1


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E17 - my list of biggest issues before we release

2012-11-09 Thread Igor Murzov
On Fri, 09 Nov 2012 20:52:27 +0200
Tom Hacohen  wrote:

> Hey!
> 
> So this is my list. Those issues are driving me nuts and I don't think
> we can ship with them still broken. Bugs are already in trac so I'm just
> sending this email to remind people, and make sure we don't forget.
> 
> 1. E entry - some focus issues, usage of TAB and password mode is
> broken. I will fix that as soon as I can get to it.
> 2. GTK+ menus - completely broken when comp is on, impossible to use e
> like that.
> 3. Thunderbird window - start writing an email and then try to close the
> window, the windows will not close. I've had it in other places too,
> don't remember exactly where though. Switching desktops and back "fixes it".
> 4. Finish Dark theme. Mainly clock, mixer and window switcher.

And fix at least efenniht and detourious. Having only one theme breaks
all the fun.


-- Igor

> 5. Get an alternative desktop config that's more "windows/mac/gnome/kde"
> friendly wrt key-bindings and general behaviour.
> 6. Party our asses off before the world ends.
> 
> I hope everyone agrees,
> Tom.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E17 - my list of biggest issues before we release

2012-11-09 Thread Igor Murzov
On Fri, 09 Nov 2012 21:23:25 +0200
Tom Hacohen  wrote:

> On 09/11/12 21:23, Igor Murzov wrote:
> > And fix at least efenniht and detourious. Having only one theme breaks
> > all the fun.
> 
> Unrelated to the release as those are maintained externally.

Fuck you.


-- Igor

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] strange code in evas_box

2012-11-09 Thread Igor Murzov
On Fri, 9 Nov 2012 21:34:51 +0100
Vincent Torri  wrote:

> hey
> 
> from gcc 4.8:
> 
> lib/evas/canvas/evas_object_box.c: In function '_box_layout_flow_horizontal':
> lib/evas/canvas/evas_object_box.c:1427:31: warning: argument to
> 'sizeof' in 'memset' call is the same expression as the destination;
> did you mean to dereference it? [-Wsizeof-pointer-memaccess]
> memset(row_width, 0, sizeof(row_width));
>^
> lib/evas/canvas/evas_object_box.c: In function '_box_layout_flow_vertical':
> lib/evas/canvas/evas_object_box.c:1615:32: warning: argument to
> 'sizeof' in 'memset' call is the same expression as the destination;
> did you mean to dereference it? [-Wsizeof-pointer-memaccess]
> memset(col_height, 0, sizeof(col_height));
> ^
> 
> bad code ?

That's a regression in r42650:
http://trac.enlightenment.org/e/changeset/42650


-- Igor

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Some trivial patches

2012-11-13 Thread Igor Murzov
On Mon, 12 Nov 2012 23:22:14 +0100
thomasg  wrote:

> Attached you'll finde a few trivial patches which fix typos or clear things 
> up.

Great. I also have a list of unclear messages like:

 "Your screen does not support OpenGL."
 "Ignore replace ID"
 "Syscon"
 "Idle Fade Time"
 "Fade Time"
 "Over"

I think that thorough messages revision would definitely improve
user experience for many people :)


-- Igor

> Feel free to apply any number as you see fit (I hope it'll be n > 0 :)
> 
> Short overview (git log):
> 
> 1: border remembers: rename Using to Identifiers to be more obvious
> 2: border locks: deengrishify
> 3: wallpaper: more sane dialog title
> 4: physics: fix typo
> 5: e_fm: fix typo
> 
> -- thomasg

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Some trivial patches

2012-11-13 Thread Igor Murzov
On Tue, 13 Nov 2012 17:51:54 +0100
thomasg  wrote:

> On Tue, Nov 13, 2012 at 5:32 PM, Igor Murzov  wrote:
> > On Mon, 12 Nov 2012 23:22:14 +0100
> > thomasg  wrote:
> >
> >> Attached you'll finde a few trivial patches which fix typos or clear 
> >> things up.
> >
> > Great. I also have a list of unclear messages like:
> >
> >  "Your screen does not support OpenGL."
> >  "Ignore replace ID"
> >  "Syscon"
> >  "Idle Fade Time"
> >  "Fade Time"
> >  "Over"
> >
> > I think that thorough messages revision would definitely improve
> > user experience for many people :)
> >
> 
> I fully agree.
> I've taken some care on the German translation to make this more
> clear, (e.g."Your screen does not support OpenGL" would in reverse
> translate to "Your graphics output does not support OpenGL").
> To be honest, I was too lazy to change these in the original as well,
> but it probably would be a good thing.
> I might do an overhaul when I proof-read the translation in the next
> weeks, but this is a lot of stuff and more volunteers would be better.
> 
> Igor, if you have a longer list, feel free to share and I might take a
> look and help out.
> 
> Everyone else who does not feel comfortable creating patches and
> touching that stuff, if you have any major complaints about certain
> strings and can provide better ones, feel free to drop me a mail and
> I'll take it into account when sending another batch of patches.

That's would be awesome! I'll definitely send in my list later.


-- Igor

> > -- Igor
> >
> >> Feel free to apply any number as you see fit (I hope it'll be n > 0 :)
> >>
> >> Short overview (git log):
> >>
> >> 1: border remembers: rename Using to Identifiers to be more obvious
> >> 2: border locks: deengrishify
> >> 3: wallpaper: more sane dialog title
> >> 4: physics: fix typo
> >> 5: e_fm: fix typo
> >>
> >> -- thomasg

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] New Default Theme

2012-11-14 Thread Igor Murzov
On Wed, 14 Nov 2012 12:47:32 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Tue, 13 Nov 2012 19:10:23 -0600 Jeff Hoogland  
> said:
> 
> > First off -
> > 
> > I'd like to say the new default theme is great. Aside from the numbers on
> > the digital clock I really like it.
> > 
> > That being said, why did the default theme changing break so much in
> > existing themes?
> 
> the only thing that really broke was efm - the default efm fileman window 
> theme
> was just plain wrong. there was no actual swallowed layout at all. it was
> hand-packed in code. this was a fundamental bug in the fileman module and i
> fixed while doing the theme.

That's clearly a bullshit. Dark theme is unusable (especially in EFM),
because it's too low-contrast:

  http://www.enlightenment.org/ss/e-50a3bb0b588d26.24783831.png

There are dark grey text on grey background, controls are all dark grey on grey
or light grey on grey -- it's ok if you want users of E to get red eyes.
And I would call this grey on grey style a fundamental bug.


-- Igor

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Third Party Module Warnings

2012-11-14 Thread Igor Murzov
On Wed, 14 Nov 2012 09:18:26 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Tue, 13 Nov 2012 16:52:44 -0600 Jeff Hoogland  
> said:
> 
> > In the latest alpha there is a warning at startup about 3rd party modules -
> > is there a simple way to disable this message?
> 
> no. i put it there very much intentionally. it's not going away.
> 
> > If I allow it to pop up for Bodhi users I know it will freak out a number
> > of them (end users are a fairly skittish lot).
> 
> this is part of doing QA. after week after week having people say things like
> "i get segvs!" then spending 10 mins back and forth finding its a out-of-e17
> tree module causing it 

That is not true. The crashes were also caused by bugs in E itself.
Also there are some patches on ML (including mine) that fix crashes
in external modules, but no one cares enough to review them.
And this shitty warning-dialog has nothing to do with QA anyway.


-- Igor

> (eg get them to unload engage and problem goes away),
> i'm tired of my time being wasted by this. we aren't releasing engage. we
> aren't releasing places, tclock or any of these. we are releasing e17. this
> is e's version of the kernels "tainted" message. as a gui app.. we stuff that
> message into the gui. perhaps you should simply not have any 3rd party modules
> loaded/enabled by default in any profile in bodhi as frankly... we will wipe
> our hands of them and the problems they cause. we don't have the manpower to
> spend on that.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Some trivial patches

2012-11-15 Thread Igor Murzov
On Thu, 15 Nov 2012 14:32:13 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Tue, 13 Nov 2012 20:32:49 +0400 Igor Murzov  said:
> 
> > On Mon, 12 Nov 2012 23:22:14 +0100
> > thomasg  wrote:
> > 
> > > Attached you'll finde a few trivial patches which fix typos or clear 
> > > things
> > > up.
> > 
> > Great. I also have a list of unclear messages like:
> > 
> >  "Your screen does not support OpenGL."
> 
> your display doesn't support opengl - may be a driver problem. may be a config
> problem. may be a missing gl module... who knows. as such gl is really linked
> to specific screens - one may be capable and another not depending what gpu
> powers it... :)

I think that "Your system does not support OpenGL" would be more correct.

> >  "Ignore replace ID"
> 
> thats part of notification protocol - there is something to request replacing 
> a
> previous notification by id with a new one - the module can ignore such
> requests if u ask it so existing notifications cant be replaced.

Something like "Disallow replacing notifications" would be probably clearer.

> >  "Syscon"
> 
> system control panel. called "syscon" like "shelf" or "pager" or "menu" - it's
> just a term for a specific element of e17.

Yes, but "menu", "pager" and "shelf" are common words, and "syscon" is not.
"System control panel" would be better.

> >  "Idle Fade Time"
> 
> how long you have to be idle before backlight fades out to this new level.

I'm not sure, but i think that "Fade Idle Timeout" is more correct.
 
> >  "Fade Time"
> 
> over what period of time does the backlight fading effect happen.

"Fade duration"


-- Igor

> >  "Over"
> 
> covered in another thread. :)
> 
> > I think that thorough messages revision would definitely improve
> > user experience for many people :)
> > 
> > 
> > -- Igor
> > 
> > > Feel free to apply any number as you see fit (I hope it'll be n > 0 :)
> > > 
> > > Short overview (git log):
> > > 
> > > 1: border remembers: rename Using to Identifiers to be more obvious
> > > 2: border locks: deengrishify
> > > 3: wallpaper: more sane dialog title
> > > 4: physics: fix typo
> > > 5: e_fm: fix typo
> > > 
> > > -- thomasg

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Third Party Module Warnings

2012-11-15 Thread Igor Murzov
On Thu, 15 Nov 2012 15:10:06 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 15 Nov 2012 15:05:51 +1030 Simon Lees  said:
> 
> > Hi all,
> > 
> > I'll make a brief comment on this  not that it means much because i don't
> > have the time to implement my soln and you are the ones that would have to
> > deal with it. At work where i have a old OS on a distro i don't package for
> > or care about i build from source and use the forcasts and photo's module,
> > i haven't looked at the code for either so i have no idea what state they
> > are in but they both work for me on multiple systems so oneday i may
> > consider packaging them. I am yet to see the current waring as i can't
> > upgrade atm but if it was a once off with a checkbox saying don't show
> 
> it is.

?! "I know" button doesn't help. The warning is still shown every time.
If users had the opportunity to turn it off permanently, no one would
ever complain about it.


-- Igor

> > again i would be happy enough if it came up every time like some of the
> > compositing errors i would not be, and i wouldn't package these modules in
> > a official repository.
> 
> i'd suggest not packaging them anyway.
> 
> > My prefered solution which probably isn't yours as it is slightly more work
> > for you would be to only show this popup in the segfault recovery popup if
> > 3rd party modules are loaded. "Something bad has happened, Enlightenment
> 
> people don't read it - or only a few do. they just try and get rid of it
> asap. :) it also hapens to tell you your e is tainted with 3rd party modules
> here, but it tells u at the time the module is loaded too so you know which 
> one
> it is.
> 
> > has crashed. You are running 3rd Party modules this may be the cause". I
> > would also get enlightenment to create a "diagnostics file" for debugging
> > which would contain a list of loaded modules the compositor in use,
> 
> this becomes way too invovled as the crash dialog is insanely thin and minimal
> not even using efl... it goes to x directly just in case its a core bug in efl
> somewhere. it knows very little about e at that point and giving it all this
> data is a huge amount of work and thats why we warn in advance - same way the
> kernel does in its output (dmesg etc.) when tainting it with proprietary
> modules.
> 
> > graphics driver potentially the screen layout and any other info that can
> > be gathered at startup and make it compolsory for bug reports to be
> > accompanied by this file. This would give you more useful info that a
> > inexperienced user may not be able to pin down but would be more effort to
> > start up.
> > 
> > Cheers,
> > Simon

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Third Party Module Warnings

2012-11-15 Thread Igor Murzov
On Thu, 15 Nov 2012 09:07:41 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Wed, 14 Nov 2012 19:34:59 +0400 Igor Murzov  said:
> 
> > On Wed, 14 Nov 2012 09:18:26 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Tue, 13 Nov 2012 16:52:44 -0600 Jeff Hoogland 
> > > said:
> > > 
> > > > In the latest alpha there is a warning at startup about 3rd party 
> > > > modules
> > > > - is there a simple way to disable this message?
> > > 
> > > no. i put it there very much intentionally. it's not going away.
> > > 
> > > > If I allow it to pop up for Bodhi users I know it will freak out a 
> > > > number
> > > > of them (end users are a fairly skittish lot).
> > > 
> > > this is part of doing QA. after week after week having people say things
> > > like "i get segvs!" then spending 10 mins back and forth finding its a
> > > out-of-e17 tree module causing it 
> > 
> > That is not true. The crashes were also caused by bugs in E itself.
> 
> and the code path triggered by a 3rd party module. i don't care if e's code 
> was
> to blame - it's a bug we DONT NEED TO FIX FOR RELEASE. making a release is
> about prioritizing and cutting out stuff so you can get it done. this is
> cutting out work on/elated to 3rd party code that inserts itself into e and
> cand then do anything it likes. there is no protection or safety. it's not
> possible to do actually (not for a module or plugin - it'd need to be pushed
> into another process and that negates the benefits of a module then).
> 
> > Also there are some patches on ML (including mine) that fix crashes
> > in external modules, but no one cares enough to review them.
> 
> see above. priorities. and believe it or not - we're pretty busy.
> 
> > And this shitty warning-dialog has nothing to do with QA anyway.
> 
> i suggest you tell the kernel developers that their tainted mssages are also
> useless. they'd love to hear that.

Useful messages should help to identify and fix bugs. And
this warning dialog is to take off responsibility for extra
modules, not to help with fixing bugs. So my point still
stands.

In fact, when i install some alpha software, i do realize
that there are some known bugs in it. When i install extra
modules for alpha software, i do realize that there are may
be some bugs. And poping up a window any time i load some
module doesn't make me more careful or something.


-- Igor

 
> > -- Igor
> > 
> > > (eg get them to unload engage and problem goes away),
> > > i'm tired of my time being wasted by this. we aren't releasing engage. we
> > > aren't releasing places, tclock or any of these. we are releasing e17. 
> > > this
> > > is e's version of the kernels "tainted" message. as a gui app.. we stuff
> > > that message into the gui. perhaps you should simply not have any 3rd 
> > > party
> > > modules loaded/enabled by default in any profile in bodhi as frankly... we
> > > will wipe our hands of them and the problems they cause. we don't have the
> > > manpower to spend on that.
> > 
> 
> 
> -- 
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
> 

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] SlackE17 with enlightenment alpha2

2012-11-17 Thread Igor Murzov
On Sat, 17 Nov 2012 18:43:15 +0900
Jérôme Pinot  wrote:

> Hi,
> 
> A message to announce that I released Slackware packages of
> enlightenment DR17. It contains EFL 1.7.1 and enlightenment alpha2.
> You will find too other software like terminology, eperiodique or
> elemines.
> 
> You will need Slackware 14.0 (i486 or x86_64). You can install the
> packages contained in the tarballs with pkgtools.

What about themes? Does your release contain extra themes?
Do you have any plans to update the package with themes from
Bodhi Linux?


-- Igor

> This release contains debug symbol to help with support. Please 
> help making the final release bug free!
> 
> Website: http://slacke17.sourceforge.net/ 
> Download:
> http://sourceforge.net/projects/slacke17/files/slacke17/r78991/ 
> 
> I will try to update SlackE17 quickly to follow the different
> alpha/beta, so expect a new release in a few days with alpha3.
> 
> May this enlighten your Slackware box!
> 
> -- 
> Jérôme Pinot
> http://ngc891.blogdns.net/

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Announce] Enlightenment DR 0.17-alpha4

2012-11-20 Thread Igor Murzov
On Tue, 20 Nov 2012 22:32:10 +0100
Martin Jansa  wrote:

> On Tue, Nov 20, 2012 at 08:43:55PM +, Michael Blumenkrantz wrote:
> > I may be sick and on holiday, but that doesn't mean we're not still doing
> > releases!
> > 
> > Changelog:
> > Translation updates
> > Fixed submenu positioning bug
> > Fixes for modal dialog windows (unbreaks image import dialog)
> > .spec file improvements
> > OSX compatibility fixes
> > RandR dialog presents refresh rates in right click menu
> > Further improvements to new default theme, particularly digital clock
> > appearance
> > Theme info menu item is now more clear
> > Default theme now allows file renaming on longpress
> 
> I'm using edje from edje-1.7 branch and today I upgraded from
> r79400 to r79476, so just before alpha4 and edje_cc now segfaults when 
> building default.edj in e-wm
> 
> | Making all in themes
> | make[3]: Entering directory 
> `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/e-wm/0.16.999.060+svnr79476-r8/e/data/themes'
> | /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/edje_cc  -id 
> ../../data/themes/img -fd ../../data/themes/fnt -DLOWRES_PDA=1 -DMEDIUMRES_PD
> A=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=SLOW_PC 
> \
> | ../../data/themes/default.edc \
> | ../../data/themes/default.edj
> | make[3]: *** [default.edj] Segmentation fault
> | make[3]: Leaving directory 
> `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/e-wm/0.16.999.060+svnr79476-r8/e/data/themes'
> | make[2]: *** [all-recursive] Error 1
> | make[2]: Leaving directory 
> `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/e-wm/0.16.999.060+svnr79476-r8/e/data'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory 
> `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/e-wm/0.16.999.060+svnr79476-r8/e'
> | make: *** [all] Error 2
> 
> Anyone else seeing this? I can try to debug it tomorrow. 

The same error here. edje_cc crashes because of NULL pointer
dereference:

==32122== Invalid read of size 1
==32122==at 0x4C2D171: strcmp (mc_replace_strmem.c:725)
==32122==by 0x40688C: data_queue_copied_anonymous_lookup 
(edje_cc_out.c:1908)
==32122==by 0x411A86: st_collections_group_inherit (edje_cc_handlers.c:2524)
==32122==by 0x40AB18: compile (edje_cc_parse.c:187)
==32122==by 0x403D64: main (edje_cc.c:318)
==32122==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==32122== 
==32122== 
==32122== Process terminating with default action of signal 11 (SIGSEGV)
==32122==  Access not within mapped region at address 0x0
==32122==at 0x4C2D171: strcmp (mc_replace_strmem.c:725)
==32122==by 0x40688C: data_queue_copied_anonymous_lookup 
(edje_cc_out.c:1908)
==32122==by 0x411A86: st_collections_group_inherit (edje_cc_handlers.c:2524)
==32122==by 0x40AB18: compile (edje_cc_parse.c:187)
==32122==by 0x403D64: main (edje_cc.c:318


-- Igor

> But someone else (who is not cross building) can find it faster I guess.
> 
> Cheers,
> 
> -- 
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][E] Make Everything's plugin and action names translatable.

2012-11-21 Thread Igor Murzov
Here is a patch that makes Everything's plugin and action names
translatable.

I think i should explain why this patch actually works :)
Some macros used this way:

  p = EVRY_PLUGIN_BASE("Settings", "configure", E_SETTINGS, _begin,
  _finish, _fetch);

and the macro is defined like this:

  /* creates a Evry_Plugin to be registered with evry */
  #define EVRY_PLUGIN_BASE(_name, _icon, _item_type, _begin, _finish, _fetch) \
evry->plugin_new(EVRY_PLUGIN(E_NEW(Evry_Plugin, 1)), _name, _(_name),
_icon, $ _begin, _finish, _fetch)

so the _name argument (string "Settings" in this case) is used two times in
evry->plugin_new() call and one of these times it is used inside _(), so
the _name is actually translated by gettext.

The same happens with EVRY_ACTION_NEW which is defined in the
similar manner:

  #define EVRY_ACTION_NEW(_name, _in1, _in2, _icon, _action, _check) \
evry->action_new(N_(_name), _(_name), _in1, _in2, _icon, _action, _check)


But i'm not sure if this a best solution of the problem,
so comments are welcome :)

If the patch is ok, then similar changes should be made to
E-MODULES-EXTRA/everything-* modules as well.


-- Igor


E-Make-Everything-s-plugin-and-action-names-translatab.patch.gz
Description: GNU Zip compressed data
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Fix a message in the updates checker.

2012-11-21 Thread Igor Murzov
---
 src/modules/wizard/page_170.c | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/modules/wizard/page_170.c b/src/modules/wizard/page_170.c
index 7ae75b1..fe42877 100644
--- a/src/modules/wizard/page_170.c
+++ b/src/modules/wizard/page_170.c
@@ -31,18 +31,18 @@ wizard_page_show(E_Wizard_Page *pg)
e_widget_textblock_markup_set
  (ob,
  _("Enlightenment can check for new"
-   "versions, updates, securiity and"
-   "bugfixes, as well as available add-ons."
+   "versions, updates, security and"
+   "bug fixes, as well as available add-ons."
""
"This is very useful, because it lets you"
-   "you know about available bug fixes and"
+   "know about available bug fixes and"
"security fixes when they happen. As a"
"bi-product of this, Enlightenment will"
"connect to enlightenment.org and transmit"
-   "some information as a result much like any"
-   "web browser might do. No personal information"
-   "such as username, password or any personal"
-   "files will be transmitted. If you do not like"
+   "some information much like any web browser"
+   "might do. No personal information such as"
+   "username, password or any personal files"
+   "will be transmitted. If you do not like"
"this, please disable this below. It is highly"
"advised that you do not disable this as it"
"may leave you vulnerable or having to live"
-- 
1.7.12.1


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e-users] [Announce] Enlightenment DR 0.17-alpha4

2012-11-22 Thread Igor Murzov
On Thu, 22 Nov 2012 10:00:45 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Wed, 21 Nov 2012 13:21:15 -0200 Gustavo Sverzut Barbieri
>  said:
> 
> > On Wednesday, November 21, 2012, Carsten Haitzler wrote:
> > 
> > > On Wed, 21 Nov 2012 13:54:14 + Michael Blumenkrantz
> > > > said:
> > >
> > > > On Wed, Nov 21, 2012 at 1:47 PM, Carsten Haitzler
> > > > 
> > > >wrote:
> > > >
> > > > > On Wed, 21 Nov 2012 13:18:41 + Michael Blumenkrantz
> > > > > > said:
> > > > >
> > > > > > ah, how quickly bets are made against me the instant I leave the
> > > country.
> > > > > > my league of admirers is always so reliable!
> > > > > >
> > > > > > distcheck is always run before a release. always.
> > > > >
> > > > > then how did it pass when the edje_cc in the 1.7 branch literally did
> > > > > crash in
> > > > > this scenario - it wasnt random. it literally was ALWAYS a strcmp
> > > against
> > > > > NULL...
> > > > >
> > > > > > I said previously that I run the stable branch at work; I'm not at
> > > work.
> > > > >
> > > > > h so you didn't distcheck this one against stable branch?
> > > > >
> > > >
> > > > I'm on vacation, bedridden most of the time with the German Plague and a
> > > > fever so high that the top of it can't be seen from the peak of Mt.
> > > > Everest. Despite this, I managed to drag myself to my computer to try 
> > > > and
> > > > do a release.
> > > >
> > > > I would appreciate greatly if people could stop being less negative and
> > > > critical, and instead focus more on being both productive and
> > > constructive.
> > >
> > > fair enough - i just never expected this should even get through if you 
> > > are
> > > building/testing against 1.7 - since you are not right now that dos create
> > > some
> > > issues and changes expectations that you are testing against that. :)
> > 
> > How about you, Raster? Are you able to test with 1.7.x? You've mentioned
> > this edje_cc bug and the Evas leaks. Anything else that is know but pending
> > to be debugged in EFL (leaks, crashes) or we can do a 1.7.2?
> 
> i have everything from trunk at this stage. i dont have 1 machine - i have 7 
> of
> them. i would have to clear up and set up all of them to use and build form
> branches, write some scripts etc. and i havent done that at this stage. the
> leaks were in both trunk and branch. the edje_cc was a non-ported patch (and 
> we
> wouldn't have found it if all of us used branches - so its GOOD some use 1.7,
> some use trunk).
> 
> i have 50 mails on e-devel that include patches, bugfixes nd issues etc. that
> MAY apply to 1.7.x too - and i simply haven't had the time to review the, so
> there may be pending things that need to go into a 1.7.2
> 
> here's a list of them from e-devel (subjects so u can search for them):
> 
> Subject: [E-devel] elm flip (1.7.x) issue
> Subject: [E-devel]  Proxy Image
> Subject: [E-devel] eina_share_common, eina_bench patches

> Subject: [E-devel] [PATCH][E] Unbreak getting Nth element from boxes.

Fixed by zmike already.

> Subject: [E-devel] [PATCH][Ecore] Fixes for invalid memory read issues
> discovered by cppcheck

> Subject: [E-devel] [PATCH][Ecore,Edje,E,E-Modules-Extra] Fix typos.

All patches in this mail are in.


-- Igor

> Subject: [E-devel] Deprecated/missing function to get object item's view?
> Subject: [E-devel] [PATCH] [EVAS] evas_object_key_grab add check for same
> modifiers
> Subject: [E-devel] E-devel] [PATCH] [ELEMENTARY]
> elm_fileselector_entry_inwin_mode_set doc fix
> Subject: Re: [E-devel] [Patch] [Elementary] [Entry] Clear selection when entry
> loses focus
> Subject: [E-devel] [Patch] [Elementary] Documentation update for gengrid
> Subject: [E-devel] [Patch][edje] Prevent duplicated inherition of "after"
> Subject: [E-devel]  EVAS_CALLBACK_MOUSE_UP callback is not called.
> Subject: Re: [E-devel] [Patch][Elementary]Genlist: Fix anchor item to prevent
> scroller movement
> Subject: [E-devel] [Edje/Ecore]SIGSEGV on BSD's
> Subject: [E-devel] eina benchmark and eina_file patches
> Subject: [E-devel] [patch][elementary][entry] Hide copy/paste menu if there is
> no selection
> Subject: [E-devel] [PATCH] Edje: invalidate double named group
> Subject: [E-devel] 2 steps eina_share_common_del speed up
> Subject: [E-devel] elm_flip unexpected behavior
> 
> that's a quick browse through my backlog finding the ones that bring up
> possible/probably bugs or have patches/fixes that need looking at.
> 
> > > > > > On Wed, Nov 21, 2012 at 12:29 PM, Carsten Haitzler
> > > > > > wrote:
> > > > > >
> > > > > > > On Wed, 21 Nov 2012 13:06:54 +0100 Vincent Torri <
> > > > > vincent.to...@gmail.com>
> > > > > > > said:
> > > > > > >
> > > > > > > > On Wed, Nov 21, 2012 at 12:36 PM, Gustavo Sverzut Barbieri
> > > > > > > >  wrote:
> > > > > > > > > On Wed, Nov 21, 2012 at 8:35 AM, Carsten Haitzler
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > >> On Wed, 21 Nov 2012 08:21:53 -0200 Gustavo Sverzut Barbieri
> > > > > > > > >>  said:
> > > > > 

Re: [E-devel] [e-users] [Announce] Enlightenment DR 0.17-alpha4

2012-11-22 Thread Igor Murzov
On Thu, 22 Nov 2012 23:58:41 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 22 Nov 2012 15:42:54 +0400 Igor Murzov  said:
> 
> > On Thu, 22 Nov 2012 10:00:45 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Wed, 21 Nov 2012 13:21:15 -0200 Gustavo Sverzut Barbieri
> > >  said:
> > > 
> > > > On Wednesday, November 21, 2012, Carsten Haitzler wrote:
> > > > 
> > > > > On Wed, 21 Nov 2012 13:54:14 + Michael Blumenkrantz
> > > > > > said:
> > > > >
> > > > > > On Wed, Nov 21, 2012 at 1:47 PM, Carsten Haitzler
> > > > > > 
> > > > > >wrote:
> > > > > >
> > > > > > > On Wed, 21 Nov 2012 13:18:41 + Michael Blumenkrantz
> > > > > > > > said:
> > > > > > >
> > > > > > > > ah, how quickly bets are made against me the instant I leave the
> > > > > country.
> > > > > > > > my league of admirers is always so reliable!
> > > > > > > >
> > > > > > > > distcheck is always run before a release. always.
> > > > > > >
> > > > > > > then how did it pass when the edje_cc in the 1.7 branch literally
> > > > > > > did crash in
> > > > > > > this scenario - it wasnt random. it literally was ALWAYS a strcmp
> > > > > against
> > > > > > > NULL...
> > > > > > >
> > > > > > > > I said previously that I run the stable branch at work; I'm not 
> > > > > > > > at
> > > > > work.
> > > > > > >
> > > > > > > h so you didn't distcheck this one against stable branch?
> > > > > > >
> > > > > >
> > > > > > I'm on vacation, bedridden most of the time with the German Plague
> > > > > > and a fever so high that the top of it can't be seen from the peak 
> > > > > > of
> > > > > > Mt. Everest. Despite this, I managed to drag myself to my computer 
> > > > > > to
> > > > > > try and do a release.
> > > > > >
> > > > > > I would appreciate greatly if people could stop being less negative
> > > > > > and critical, and instead focus more on being both productive and
> > > > > constructive.
> > > > >
> > > > > fair enough - i just never expected this should even get through if 
> > > > > you
> > > > > are building/testing against 1.7 - since you are not right now that 
> > > > > dos
> > > > > create some
> > > > > issues and changes expectations that you are testing against that. :)
> > > > 
> > > > How about you, Raster? Are you able to test with 1.7.x? You've mentioned
> > > > this edje_cc bug and the Evas leaks. Anything else that is know but
> > > > pending to be debugged in EFL (leaks, crashes) or we can do a 1.7.2?
> > > 
> > > i have everything from trunk at this stage. i dont have 1 machine - i have
> > > 7 of them. i would have to clear up and set up all of them to use and 
> > > build
> > > form branches, write some scripts etc. and i havent done that at this
> > > stage. the leaks were in both trunk and branch. the edje_cc was a
> > > non-ported patch (and we wouldn't have found it if all of us used branches
> > > - so its GOOD some use 1.7, some use trunk).
> > > 
> > > i have 50 mails on e-devel that include patches, bugfixes nd issues etc.
> > > that MAY apply to 1.7.x too - and i simply haven't had the time to review
> > > the, so there may be pending things that need to go into a 1.7.2
> > > 
> > > here's a list of them from e-devel (subjects so u can search for them):
> > > 
> > > Subject: [E-devel] elm flip (1.7.x) issue
> > > Subject: [E-devel]  Proxy Image
> > > Subject: [E-devel] eina_share_common, eina_bench patches
> > 
> > > Subject: [E-devel] [PATCH][E] Unbreak getting Nth element from boxes.
> > 
> > Fixed by zmike already.
> 
> cool
> 
> > > Subject: [E-devel] [PATCH][Ecore] Fixes for invalid memory read issues
> > > discovered by cppcheck
> > 
> > > Subject: [E-devel] [PATCH][Ecore,Edje,E,E-Modules-Extra] Fix typos.
> > 
> > A

[E-devel] [PATCH][E] Assorted small fixes for Enlightenment's messages

2012-12-09 Thread Igor Murzov
Summary for this patchset:

 * Translate some more labels.

 * Get rid of the "Folder" term.
   There is only one "folder" occurence in the pot.
   Use "directory" instead to be consistent.

 * Fix dialog title. (It's a follow-up to r7)

 * Enlarge a translation buffer a bit to prevent truncation
   of translated messages.

 * Fix a message in the updates checker.


-- Igor


E-Enlarge-a-translation-buffer-a-bit.patch.gz
Description: GNU Zip compressed data


E-Fix-a-message-in-the-updates-checker.patch.gz
Description: GNU Zip compressed data


E-Fix-dialog-title.-It-s-a-follow-up-to-r7.patch.gz
Description: GNU Zip compressed data


E-Get-rid-of-the-Folder-term.patch.gz
Description: GNU Zip compressed data


E-Translate-some-more-labels.patch.gz
Description: GNU Zip compressed data
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][RFC] Add support to context-dependent translation.

2012-12-11 Thread Igor Murzov
This patch makes use of pgettext() function which is provided in gettext.h
The function has two arguments -- the first argument is a context (arbitrary
string), the second one is a message itself. This allows translators to
have different translations for several equal messages depending on their
context.

For example, in E the message "System" is used multiple times. But sometimes
it is just "System" and should be translated as a noun, and sometimes it's
something like "System Themes" and should be translated as an adjective.
With the help of pgettext() it's possible to split off the second usecase
to its own part. Following example demonstrates the outcome for italian:

  msgid "System"
  msgstr "Sistema"

  msgctxt "System [noun]"
  msgid "System"
  msgstr "Sistemici"

Here the context is "System [noun]" which means that the message will be
used as a part of a sentence like "System Themes" or "System Wallpappers".
Some more examples are provided below in the patch.

Some possible issues with this patch are:

* I'm not sure if gettext.h could be placed in the code. It looks like it
  is under GPL license. Are there any other alternatives to gettext.h where
  i can still the pgettext() definition from?

* Some sane rules should be worked out on which messages could be split off
  into their own context to prevent making the pot excessively muddled.

The patch is tested and it works just as expected.

---
 po/Makevars|   2 +-
 po/it.po   |  66 ++---
 po/ru.po   |  60 +++--
 src/bin/e_intl.h   |   3 +
 src/bin/gettext.h  | 280 +
 .../conf_display/e_int_config_desklock_fsel.c  |   2 +-
 src/modules/conf_intl/e_int_config_imc.c   |   2 +-
 src/modules/conf_theme/e_int_config_fonts.c|   2 +-
 src/modules/conf_theme/e_int_config_startup.c  |   2 +-
 src/modules/conf_theme/e_int_config_theme.c|   6 +-
 src/modules/conf_theme/e_int_config_wallpaper.c|   4 +-
 src/modules/dropshadow/e_mod_config.c  |   6 +-
 src/modules/gadman/e_mod_config.c  |   2 +-
 src/modules/shot/e_mod_main.c  |   8 +-
 14 files changed, 374 insertions(+), 71 deletions(-)
 create mode 100644 src/bin/gettext.h

diff --git a/po/Makevars b/po/Makevars
index 090dd05..7c92776 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -9,7 +9,7 @@ top_builddir = ..
 
 # These options get passed to xgettext.
 XGETTEXT_OPTIONS = --keyword=_ --keyword=d_:1 --keyword=P_:1,2 \
-   --keyword=dP_:1,2 --keyword=N_ --keyword=NP_:1,2 \
+   --keyword=dP_:1,2 --keyword=N_ --keyword=NP_:1,2 --keyword=C_:1c,2 \
--keyword=EVRY_PLUGIN_BASE:1 --keyword=EVRY_ACTION_NEW:1 \
--keyword=ACTION_NEW:1 \
--from-code=UTF-8 --foreign-user
diff --git a/po/it.po b/po/it.po
index ad4a618..8d80471 100644
--- a/po/it.po
+++ b/po/it.po
@@ -721,17 +721,8 @@ msgstr "Commuta il modulo specificato"
 #: src/bin/e_actions.c:3417 src/bin/e_actions.c:3421 src/bin/e_configure.c:411
 #: src/bin/e_int_config_modules.c:52
 #: src/modules/conf_applications/e_int_config_apps.c:275
-#: src/modules/conf_display/e_int_config_desklock_fsel.c:87
-#: src/modules/conf_intl/e_int_config_imc.c:818
-#: src/modules/conf_theme/e_int_config_wallpaper.c:429
-#: src/modules/conf_theme/e_int_config_wallpaper.c:546
-#: src/modules/conf_theme/e_int_config_startup.c:258
-#: src/modules/conf_theme/e_int_config_theme.c:455
-#: src/modules/conf_theme/e_int_config_theme.c:830
-#: src/modules/conf_theme/e_int_config_theme.c:844
-#: src/modules/gadman/e_mod_config.c:252 src/modules/syscon/e_mod_main.c:31
-#: src/modules/syscon/e_mod_main.c:35 src/modules/syscon/e_mod_main.c:60
-#: src/modules/syscon/e_mod_main.c:129
+#: src/modules/syscon/e_mod_main.c:31 src/modules/syscon/e_mod_main.c:35
+#: src/modules/syscon/e_mod_main.c:60 src/modules/syscon/e_mod_main.c:129
 msgid "System"
 msgstr "Sistema"
 
@@ -2824,7 +2815,6 @@ msgid "Shrink to Content Width"
 msgstr "Riduci alla larghezza del contenuto"
 
 #: src/bin/e_int_shelf_config.c:213 src/modules/comp/e_mod_config.c:912
-#: src/modules/conf_theme/e_int_config_fonts.c:650
 msgid "Style"
 msgstr "Stile"
 
@@ -5469,6 +5459,19 @@ msgstr "Seleziona uno sfondo..."
 msgid "Personal"
 msgstr "Personali"
 
+#: src/modules/conf_display/e_int_config_desklock_fsel.c:87
+#: src/modules/conf_intl/e_int_config_imc.c:818
+#: src/modules/conf_theme/e_int_config_wallpaper.c:429
+#: src/modules/conf_theme/e_int_config_wallpaper.c:546
+#: src/modules/conf_theme/e_int_config_startup.c:258
+#: src/modules/conf_theme/e_int_config_theme.c:455
+#: src/modules/conf_theme/e_int_config_theme.c:830
+#: src/modules/conf_theme/e_int_config_theme.c:844
+#: src/modules/gadman/e_mod_config.c:252
+msgctxt "System [noun]"
+msgid "System"
+msgstr "Sistemici"
+
 #: src/modules/conf_display/e_int_config_de

Re: [E-devel] [Enlightenment-intl] [PATCH][RFC] Add support to context-dependent translation.

2012-12-11 Thread Igor Murzov
On Tue, 11 Dec 2012 12:26:42 +
Sérgio Marques  wrote:

> 2012/12/11 Igor Murzov 
> 
> > This patch makes use of pgettext() function which is provided in gettext.h
> > The function has two arguments -- the first argument is a context
> > (arbitrary
> > string), the second one is a message itself. This allows translators to
> > have different translations for several equal messages depending on their
> > context.
> >
> > For example, in E the message "System" is used multiple times. But
> > sometimes
> > it is just "System" and should be translated as a noun, and sometimes it's
> > something like "System Themes" and should be translated as an adjective.
> > With the help of pgettext() it's possible to split off the second usecase
> > to its own part. Following example demonstrates the outcome for italian:
> >
> >   msgid "System"
> >   msgstr "Sistema"
> >
> >   msgctxt "System [noun]"
> >   msgid "System"
> >   msgstr "Sistemici"
> >
> > Here the context is "System [noun]" which means that the message will be
> > used as a part of a sentence like "System Themes" or "System Wallpappers".
> > Some more examples are provided below in the patch.
> >
> >
> For what I understand everytime that appears  msgctxt "System [noun]" this
> is used for "System Theme/wallpaper..."

No, msgid is still the same. Context is just a hint for translators.
Context-dependent translation will allow you to have different
msgstrs for equal msgids.

> Is this correct? Cause for Portuguese we don´t use uppercase in these
> sentences. So everytime it appears I must translate it as lower case.

The message will be used in various import dialogs. It is paired
with "Personal" and the same style should apply:

  msgid "Personal"
  msgstr "Personali"

  msgctxt "System [noun]"
  msgid "System"
  msgstr "Sistemici"


-- Igor

> Regards
> 
> -- 
> Sérgio Marques

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] scartch and reset

2012-12-15 Thread Igor Murzov
On Sat, 15 Dec 2012 13:30:54 +0100
Massimo Maiurana  wrote:

> Carsten Haitzler (The Rasterman), il 15/12/2012 02:38, ha scritto:
> > On Fri, 14 Dec 2012 22:42:53 +0400 Igor Murzove
> >  said:
> > 
> >> On Fri, 14 Dec 2012 19:08:06 +0100
> >> Massimo Maiurana  wrote:
> >>
> >>> the dialog for profiles (settings->profiles) has two buttons named
> >>> respectively "scratch" and "reset". what they actually do?
> >>
> >> Those buttons do almost the same thing. "Reset" removes all your
> >> configuration settings and you start with the clean profile.
> >> "Scratch" does the same + sets your profile to the "default" one.
> >>
> >> IMO, the "Scratch" button should be removed.
> > 
> > it was requested by users who wanted to start again but didnt know how.
> > 
> 
> they could still read the description of the default profile, which explicitly
> says to select that to restart the wizard.

Yes. That was my point. Users can select the default profile or press "Scratch"
or "Reset" buttons. And it's not totally clear what is the difference between
all these variants. So i propose to remove one of the buttons in this dialog
to avoid duplication.


-- Igor

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] buffer enlargement

2012-12-16 Thread Igor Murzov
On Sun, 16 Dec 2012 09:16:00 +
Michael Blumenkrantz  wrote:

> On Sun, 16 Dec 2012 09:55:32 +0100
> Massimo Maiurana  wrote:
> 
> > is there any objection about this simple patch? if not I'll commit it in the
> > evening.
> > 
> 
> seems fine

It is fine :)
For multibyte codepages 16 bytes can easily mean that any
string longer than 8 characters will be truncated. And
that exactly what happends in the font selection dialog.


-- Igor

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] string freeze

2012-12-16 Thread Igor Murzov
On Sun, 16 Dec 2012 09:52:02 +0100
Massimo Maiurana  wrote:

> some time ago there was a brief discussion about having a string freeze before
> the planned release of e17, and was told that there would never be such a
> thing. however this can be a real problem.
> currently I'm the only one who commit translations updates, and if many
> translators would send their files on next tuesday I could not have enough
> time to commit them, so the released tarball would lack some translations.
> also some translators could not even have the time to update their files if a
> string change happens too closely to the release, and that would lead to same
> problem as above.
> so please, consider introducing some days of string freeze... 2 days would be
> fine, 3 would be better.

I'm planning to send some more patches to add new messages
to the pot. I'll send them later today. I hope that would
be the final patchset of that kind :)


-- Igor

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][E] Fix mismatching parameters for e_action_predef_name_{set, del}().

2012-12-16 Thread Igor Murzov
This patch fixes mismatching parameters for e_action_predef_name_set()
and  e_action_predef_name_del(). These mismatches are mostly regressions
introduced by developers changing parameter for one of these functions and
forgetting to do the same for another one like in r79720.


-- Igor
>From ecce86d8b3202026c6f06ecc68cd3a7b3cfd1dd8 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 16 Dec 2012 14:50:08 +0400
Subject: [PATCH] Fix mismatching parameters for
 e_action_predef_name_{set,del}().

---
 src/modules/clock/e_mod_main.c   | 2 +-
 src/modules/everything/e_mod_main.c  | 2 +-
 src/modules/everything/evry_plugin.c | 2 +-
 src/modules/syscon/e_mod_main.c  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c
index 2140838..11b752e 100644
--- a/src/modules/clock/e_mod_main.c
+++ b/src/modules/clock/e_mod_main.c
@@ -900,7 +900,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
 {
if (act)
  {
-e_action_predef_name_del(_("Clock"), _("Show calendar"));
+e_action_predef_name_del(_("Clock"), _("Toggle calendar"));
 e_action_del("clock");
 act = NULL;
  }
diff --git a/src/modules/everything/e_mod_main.c b/src/modules/everything/e_mod_main.c
index 76e2dcc..f594678 100644
--- a/src/modules/everything/e_mod_main.c
+++ b/src/modules/everything/e_mod_main.c
@@ -196,7 +196,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
if (act)
  {
 e_action_predef_name_del(_("Everything Launcher"),
- _("Show Everything Dialog"));
+ _("Show Everything Launcher"));
 e_action_del("everything");
  }
 
diff --git a/src/modules/everything/evry_plugin.c b/src/modules/everything/evry_plugin.c
index 8e9cbed..c8d8deb 100644
--- a/src/modules/everything/evry_plugin.c
+++ b/src/modules/everything/evry_plugin.c
@@ -207,7 +207,7 @@ evry_plugin_unregister(Evry_Plugin *p)
 char buf[256];
 snprintf(buf, sizeof(buf), _("Show %s Plugin"), p->name);
 
-e_action_predef_name_del(_("Everything"), buf);
+e_action_predef_name_del(_("Everything Launcher"), buf);
  }
 }
 
diff --git a/src/modules/syscon/e_mod_main.c b/src/modules/syscon/e_mod_main.c
index 48390a9..800fb31 100644
--- a/src/modules/syscon/e_mod_main.c
+++ b/src/modules/syscon/e_mod_main.c
@@ -28,7 +28,7 @@ e_modapi_init(E_Module *m)
if (act)
  {
 act->func.go = _e_mod_action_syscon_cb;
-e_action_predef_name_set(_("System"), _("System Control"), "syscon",
+e_action_predef_name_set(_("System"), _("System Controls"), "syscon",
  NULL, NULL, 0);
  }
maug = e_int_menus_menu_augmentation_add_sorted
-- 
1.7.12.1

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][E] Some gettext usage corrections

2012-12-16 Thread Igor Murzov
Hi list

Here are four patches:

 * Fix mismatching parameters for e_action_predef_name_{set,del}(). 
   This patch fixes mismatching parameters for e_action_predef_name_set()
   and  e_action_predef_name_del(). These mismatches are mostly regressions
   introduced by developers changing parameter for one of these functions and
   forgetting to do the same for another one as in r79720.

 * Store and handle action names correctly.
   Most of the time e_action_predef_name_set() is used correctly like this:

 e_action_predef_name_set(N_("Pager"), N_("Popup Desk Right"), ...

   but sometimes it is used this way:

 e_action_predef_name_set(_("Tiling"), _(_title), ...

   which is totally wrong. Localized strings are not appropriate for
   internal usage. Depending on translations internally could lead to any
   kind of weird unreproducible bugs. Anyway action names are translated
   later when they are shown in the GUI, so there is no need to try to
   translate them twice.

   As a side effect, this patch makes some more messages translatable.

 * Show Everything plugin's names translated in the settings dialog.
   Plugin's names are translated everywhere except in the settings dialog.

 * Use gettext correctly to translate the "Icon %s" message.


-- Igor
From 260a5ad1d33f3eb30d98455250d6af1705533b72 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 16 Dec 2012 14:50:08 +0400
Subject: [PATCH 1/4] Fix mismatching parameters for
 e_action_predef_name_{set,del}().

---
 src/modules/clock/e_mod_main.c   | 2 +-
 src/modules/everything/e_mod_main.c  | 2 +-
 src/modules/everything/evry_plugin.c | 2 +-
 src/modules/syscon/e_mod_main.c  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c
index 2140838..11b752e 100644
--- a/src/modules/clock/e_mod_main.c
+++ b/src/modules/clock/e_mod_main.c
@@ -900,7 +900,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
 {
if (act)
  {
-e_action_predef_name_del(_("Clock"), _("Show calendar"));
+e_action_predef_name_del(_("Clock"), _("Toggle calendar"));
 e_action_del("clock");
 act = NULL;
  }
diff --git a/src/modules/everything/e_mod_main.c b/src/modules/everything/e_mod_main.c
index 76e2dcc..f594678 100644
--- a/src/modules/everything/e_mod_main.c
+++ b/src/modules/everything/e_mod_main.c
@@ -196,7 +196,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
if (act)
  {
 e_action_predef_name_del(_("Everything Launcher"),
- _("Show Everything Dialog"));
+ _("Show Everything Launcher"));
 e_action_del("everything");
  }
 
diff --git a/src/modules/everything/evry_plugin.c b/src/modules/everything/evry_plugin.c
index 8e9cbed..c8d8deb 100644
--- a/src/modules/everything/evry_plugin.c
+++ b/src/modules/everything/evry_plugin.c
@@ -207,7 +207,7 @@ evry_plugin_unregister(Evry_Plugin *p)
 char buf[256];
 snprintf(buf, sizeof(buf), _("Show %s Plugin"), p->name);
 
-e_action_predef_name_del(_("Everything"), buf);
+e_action_predef_name_del(_("Everything Launcher"), buf);
  }
 }
 
diff --git a/src/modules/syscon/e_mod_main.c b/src/modules/syscon/e_mod_main.c
index 48390a9..800fb31 100644
--- a/src/modules/syscon/e_mod_main.c
+++ b/src/modules/syscon/e_mod_main.c
@@ -28,7 +28,7 @@ e_modapi_init(E_Module *m)
if (act)
  {
 act->func.go = _e_mod_action_syscon_cb;
-e_action_predef_name_set(_("System"), _("System Control"), "syscon",
+e_action_predef_name_set(_("System"), _("System Controls"), "syscon",
  NULL, NULL, 0);
  }
maug = e_int_menus_menu_augmentation_add_sorted
-- 
1.7.12.1

From 5c5d9311dfff78099d4b8c379580f78df7b8f9c4 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 16 Dec 2012 16:58:16 +0400
Subject: [PATCH 2/4] Store and handle action names correctly.

Most of the time e_action_predef_name_set() is used correctly like this:

 e_action_predef_name_set(N_("Pager"), N_("Popup Desk Right"), ...

but sometimes it is used this way:

 e_action_predef_name_set(_("Tiling"), _(_title), ...

which is totally wrong. Localized strings are not appropriate for
internal usage. Depending on translations internally could lead to any
kind of weird unreproducible bugs. Anyway action names are translated
later when they are shown in the GUI, so there is no need to try to
translate them twice.

As a side effect, this patch makes some more messages translatable.
---
 src/bin/e_actions.c |  4 +--
 src/modules/backlight/e_mod_main.c  |  4 +--
 src/modules/clock

[E-devel] [PATCH][E] Translate one more label

2012-12-16 Thread Igor Murzov
One more trivial patch: Translate the "Shelf " message.  
I did it the same way as in src/modules/conf_shelves/e_int_config_shelf.c:189
so there will be no new message in the pot.


-- Igor
>From fff1f1d92b15140f1805e3bb8f44da5e0ebf614e Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Sun, 16 Dec 2012 19:51:56 +0400
Subject: [PATCH] Translate the "Shelf " message.

I did it the same way as in
 src/modules/conf_shelves/e_int_config_shelf.c:189
so there will be no new message in the pot.
---
 src/bin/e_int_menus.c | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c
index 6c4ca6c..d01f1be 100644
--- a/src/bin/e_int_menus.c
+++ b/src/bin/e_int_menus.c
@@ -1621,15 +1621,14 @@ _e_int_menus_shelves_pre_cb(void *data __UNUSED__, E_Menu *m)
shelves = e_shelf_list();
EINA_LIST_FOREACH(shelves, l, es)
  {
-const char *name;
-char buf[4096];
+char buf[256];
 
 if (!es) continue;
 if (es->zone->num != zone->num) continue;
 if (es->cfg->container != (int)con->num) continue;
 
-name = e_shelf_orient_string_get(es);
-snprintf(buf, sizeof(buf), "Shelf %s", name);
+snprintf(buf, sizeof(buf), "%s %s", _("Shelf"),
+ e_shelf_orient_string_get(es));
 
 mi = e_menu_item_new(m);
 e_menu_item_label_set(mi, buf);
-- 
1.7.12.1

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][E, E-MODULES-EXTRA] Make some more messages translatable

2012-12-20 Thread Igor Murzov
Two patches make 5 more messages translatable, 3 of them are
already present in their pots.

One additional patch fixes mismatching parameters for
e_action_predef_name_{set,del}() in extra modules.


-- Igor
>From 810137601226a88be3d35f8c911872bfd8fd40db Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Thu, 20 Dec 2012 18:56:00 +0400
Subject: [PATCH] Make 'Signal:' and 'Sorce:' messages translatable.

---
 src/modules/conf_edgebindings/e_int_config_signalbindings.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/conf_edgebindings/e_int_config_signalbindings.c b/src/modules/conf_edgebindings/e_int_config_signalbindings.c
index 89a8a9d..0924d7b 100644
--- a/src/modules/conf_edgebindings/e_int_config_signalbindings.c
+++ b/src/modules/conf_edgebindings/e_int_config_signalbindings.c
@@ -642,12 +642,12 @@ _signal_add_show(E_Config_Dialog_Data *cfdata)
evas = e_win_evas_get(cfdata->locals.dia->win);
obg = e_widget_list_add(evas, 1, 0);
 
-   ol = e_widget_framelist_add(evas, "Source:", 0);
+   ol = e_widget_framelist_add(evas, _("Source:"), 0);
entry = o = e_widget_entry_add(evas, &cfdata->locals.dia_source, NULL, NULL, NULL);
e_widget_framelist_object_append(ol, o);
e_widget_list_object_append(obg, ol, 1, 0, 0.5);

-   ol = e_widget_framelist_add(evas, "Signal:", 0);
+   ol = e_widget_framelist_add(evas, _("Signal:"), 0);
o = e_widget_entry_add(evas, &cfdata->locals.dia_signal, NULL, NULL, NULL);
e_widget_framelist_object_append(ol, o);
e_widget_list_object_append(obg, ol, 1, 0, 0.5);
-- 
1.7.12.1

>From b31c71867822fbcb094c6f23a3a20b9442dfd5d0 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Thu, 20 Dec 2012 18:39:10 +0400
Subject: [PATCH 1/2] Fix mismatching parameters for
 e_action_predef_name_{set,del}()

It's a followup to r81048.
---
 exalt-client/src/e_mod_main.c | 4 ++--
 places/src/e_mod_main.c   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/exalt-client/src/e_mod_main.c b/exalt-client/src/e_mod_main.c
index 7b05e10..0a0e9eb 100644
--- a/exalt-client/src/e_mod_main.c
+++ b/exalt-client/src/e_mod_main.c
@@ -155,11 +155,11 @@ e_modapi_init(E_Module *m)
 e_modapi_shutdown(E_Module *m)
 {
 /* Unregister the config dialog from the main panel */
-e_configure_registry_item_del("advanced/exalt");
+e_configure_registry_item_del("extensions/exalt");
 
 /* Remove the config panel category if we can. E will tell us.
category stays if other items using it */
-e_configure_registry_category_del("advanced");
+e_configure_registry_category_del("extensions");
 
 /* Kill the config dialog */
 if (exalt_conf->cfd) e_object_del(E_OBJECT(exalt_conf->cfd));
diff --git a/places/src/e_mod_main.c b/places/src/e_mod_main.c
index af6f39d..b275979 100644
--- a/places/src/e_mod_main.c
+++ b/places/src/e_mod_main.c
@@ -149,8 +149,8 @@ e_modapi_shutdown(E_Module *m)
 {
places_shutdown();
 
-   e_configure_registry_item_del("extensions/places");
-   e_configure_registry_category_del("extensions");
+   e_configure_registry_item_del("fileman/places");
+   e_configure_registry_category_del("fileman");
 
/* Kill the config dialog */
if (places_conf->cfd) e_object_del(E_OBJECT(places_conf->cfd));
-- 
1.7.12.1

>From 6eb01a72b42bf3671f6b3fbd7448501e65da27e4 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Thu, 20 Dec 2012 18:45:10 +0400
Subject: [PATCH 2/2] Make some labels in Places modules translatable.

It also replaces _ with D_ in everything-places for the sake of consistency.
---
 everything-places/po/Makevars  | 2 +-
 everything-places/src/e_mod_main.c | 4 ++--
 everything-places/src/e_mod_main.h | 4 ++--
 places/src/e_mod_main.c| 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/everything-places/po/Makevars b/everything-places/po/Makevars
index c6a5b44..446ec3c 100644
--- a/everything-places/po/Makevars
+++ b/everything-places/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \
+XGETTEXT_OPTIONS = --keyword=D_ --keyword=N_ \
 	--keyword=EVRY_PLUGIN_BASE:1 --keyword=EVRY_ACTION_NEW:1 \
 	--from-code=UTF-8 --foreign-user
 
diff --git a/everything-places/src/e_mod_main.c b/everything-places/src/e_mod_main.c
index 6394648..7c1833f 100644
--- a/everything-places/src/e_mod_main.c
+++ b/everything-places/src/e_mod_main.c
@@ -135,10 +135,10 @@ _begin(Evry_Plugin *plugin, const Evry_Item *item)
 
EVRY_PLUGIN_INSTANCE(p, plugin);
 
-   _item_add(p, N_("Home"), e_user_homedir_get(), _mime_dir, NULL);
+   _item_add(p, D_("Home"), e_user_homedir_get(), _mime_dir, NULL);
 
e_user_dir_concat_static(path, "backgrounds");
-   _item_add(p, N_(&

Re: [E-devel] svn doesn't connect :(

2012-12-20 Thread Igor Murzov
On Thu, 20 Dec 2012 18:51:13 +0100
Massimo Maiurana  wrote:

> I'm trying to update my local copy, and then commit all translation updates,
> but this is what I get:
> 

Try again :)


-- Igor

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] e_fm_op...

2012-12-25 Thread Igor Murzov
On Tue, 25 Dec 2012 17:33:49 +0100
Maxime Villard  wrote:

> Hum, I've made a mistake in e_fm_op.c with lseek(), I inverted
> the two last arguments. However it's not harmful, as SEEK_SET=0.

Commited. Thanks.


-- Igor

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Shot module

2012-12-25 Thread Igor Murzov
On Tue, 25 Dec 2012 17:27:11 +0100
Maxime Villard  wrote:

> Hi,
> here is a small patch for the shot module.
> 
> 1) 'fsize' should be long, and doesn't need to be global (as 'fdata' ?)

Yeah. All those static variables look weird.

> 2) At l.475, we leak 'fd'
> 
> 3) Error dialogs' titles should be simplified
> 
> 4) Also added some strerror(errno) in error messages...

Those error messages doesn't look consistent with other error
messages in E. I don't know how they should look like, but i
think that at list an output of strerror() should go after .


-- Igor

> Tested on OpenBSD.
> 
> Ok/Comments ?

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Issues with the Stable Release

2012-12-28 Thread Igor Murzov
On Fri, 28 Dec 2012 11:49:24 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 27 Dec 2012 14:14:09 -0600 Jeff Hoogland  
> said:
> 
> > Working really hard to get a release all setup with the stable E17
> > packages, but I seem to be hitting more road blocks with this one than any
> > of the previous snapshots.
> > 
> > Not sure what changed, but between Omega and the Stable release every
> > single one of the custom profiles I created for the Omega release stopped
> > working with the stable release (they simply restart the wizard). Not a big
> > deal, I've created all my custom profiles.
> 
> we changed major version number and versining scheme. we bumped major version
> up in order to force people to start afresh from a clean "default" config as

Such things should not happen in the day of the release. You should have done
this somewhere between alpha and beta stages probably. But you didn't.
Zmike made a lot of announcements, asked people to test enlightenment and
then trashed their configs. That's really mean and disappointing.


-- Igor

> "recommended" and then modify from there. your profiles will be crufty and 
> have
> all sorts of settings in them that are no different by default that you may 
> not
> know what or why. so i SUGGEST you start from the standard config and then
> modify again from there.
> 
> this i guess is the price of using pre-release software from svn. :( you get
> it.. but wehn release comes... we have put the mechanisms in place to upgrade
> and modify config. we have, during the past few years, used the "nice way"
> which is just upgrade small bits at a time (new cfg vals), but we haven't used
> the "nuke button" any time recently. for release we pressed the nuke button.
> 
> fyi version is now divided into 2 sections. major version (10 *) and minor
> version (0-9). so you'll have versions like:
> 
> 11
> 12
> etc.
> 
> when we bump MAJOR version number up... your cfg is wiped autmatically by e.
> 
> we bump major version WHEN the cfg is incompatible with the one you have.
> release at least for us == incompatible, even if in most cases it happens to
> work, we know there are 1000's of users with "crufty old configs" who will
> report issues forever and we'll go "works for me" and the reality is.. they
> have some options swizzled that we don't expect them to, and they don't even
> know, because its an inherited old option.
> 
> > Now issues - I haven't been able to solve.
> > 
> > First - the mixer window seems bugged. I cannot resize dialog windows and
> > the mixer settings does not allow me to select which channel I want to
> > gadget to use. Image example -> http://imgur.com/8xUki
> 
> that's weird, mine's much taller than yours... even with a smaller font. i've
> made it resizable... maybe it has no channels?
> 
> > Second - in the mobile profile, when I add a systray gadget to the panel
> > that contains icons (nm-applet, skype ect.) it causes an instant segfault.
> > If the systray is empty - it adds fine and then causes a segfault as soon
> > as I launch an application that would add a gadget to it.
> 
> aaah illume. it needs love. it just hasnt had enough of it of late and this 
> was
> one of the reasons iw as considering removing it all for release. i left it in
> because of you... you'll have to live with its quirks for a while to come i
> fear.
> 
> > Again - didn't have these issues on the Omega release with 1.7.3 EFLs. I am
> > using the 1.7.4 EFLs with "stable" release tarball.

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Forecasts module into e17

2012-12-31 Thread Igor Murzov
On Mon, 31 Dec 2012 13:58:19 +1030
Simon  wrote:

> Hi All,
> Just wondering what the forecasts module needs in order for it to become 
> a core e17 module? I was going to fix the issues that i thought there 
> were with it provide patches then recommend it be added but having 
> looked at it i can't really see any issues other then maybe in the 
> settings units should be Metric and Imperial, Rather then Metric and 
> English, Here in Australia where we tend to speak some form of English 
> and use Metric temperatures and from 2 minutes of googling it seems that 
> the English and most of the rest of the world other then the US also use 
> metric.
> Anyway is there any issues that anyone knows of that would stop it going 
> in and could lead to it being fixed. I also tried the weather and 
> eweather modules a while back and to me forecasts seems better.

Try EWeather again, it should work better now.

Forecasts is fine, but the gadget takes too much place on my desktop and
it looks bad. I mean that text is hard to read (white text on white background)
and the gadget doesn't match any theme, so i think that eweather is better.


-- Igor



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Forecasts module into e17

2012-12-31 Thread Igor Murzov
On Mon, 31 Dec 2012 16:23:48 +
Michael Blumenkrantz  wrote:

> On Mon, 31 Dec 2012 20:11:50 +0400
> Igor Murzov  wrote:
> 
> > On Mon, 31 Dec 2012 13:58:19 +1030
> > Simon  wrote:
> > 
> > > Hi All,
> > > Just wondering what the forecasts module needs in order for it to become 
> > > a core e17 module? I was going to fix the issues that i thought there 
> > > were with it provide patches then recommend it be added but having 
> > > looked at it i can't really see any issues other then maybe in the 
> > > settings units should be Metric and Imperial, Rather then Metric and 
> > > English, Here in Australia where we tend to speak some form of English 
> > > and use Metric temperatures and from 2 minutes of googling it seems that 
> > > the English and most of the rest of the world other then the US also use 
> > > metric.
> > > Anyway is there any issues that anyone knows of that would stop it going 
> > > in and could lead to it being fixed. I also tried the weather and 
> > > eweather modules a while back and to me forecasts seems better.
> > 
> > Try EWeather again, it should work better now.
> > 
> > Forecasts is fine, but the gadget takes too much place on my desktop and
> > it looks bad. I mean that text is hard to read (white text on white 
> > background)
> > and the gadget doesn't match any theme, so i think that eweather is better.
> > 
> > 
> > -- Igor
> > 
> > 
> 
> false, forecasts matches the darkness theme perfectly. probably because they 
> were written by the same person.

You are right. Forecasts looks completely different with darkness theme.
And it looks fine :) 


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Forecasts module into e17

2012-12-31 Thread Igor Murzov
On Mon, 31 Dec 2012 10:51:13 -0600
Jeff Hoogland  wrote:

> Speaking of the forecasts module, using the EFL 1.7.4 and E17 stable
> release I don't have an entry box that is visible for entering my zipcode
> -> http://www.enlightenment.org/ss/e-50e1c23ef0fca4.53358506.jpg
> 
> Does this happen for other folks as well or is something wrong with my
> build?

That issue was fixed in r81635. Similar issues in other extra modules
should be fixed too.


-- Igor

> On Mon, Dec 31, 2012 at 10:44 AM, Igor Murzov <
> intergalactic.anonym...@gmail.com> wrote:
> 
> > On Mon, 31 Dec 2012 16:23:48 +
> > Michael Blumenkrantz  wrote:
> >
> > > On Mon, 31 Dec 2012 20:11:50 +0400
> > > Igor Murzov  wrote:
> > >
> > > > On Mon, 31 Dec 2012 13:58:19 +1030
> > > > Simon  wrote:
> > > >
> > > > > Hi All,
> > > > > Just wondering what the forecasts module needs in order for it to
> > become
> > > > > a core e17 module? I was going to fix the issues that i thought there
> > > > > were with it provide patches then recommend it be added but having
> > > > > looked at it i can't really see any issues other then maybe in the
> > > > > settings units should be Metric and Imperial, Rather then Metric and
> > > > > English, Here in Australia where we tend to speak some form of
> > English
> > > > > and use Metric temperatures and from 2 minutes of googling it seems
> > that
> > > > > the English and most of the rest of the world other then the US also
> > use
> > > > > metric.
> > > > > Anyway is there any issues that anyone knows of that would stop it
> > going
> > > > > in and could lead to it being fixed. I also tried the weather and
> > > > > eweather modules a while back and to me forecasts seems better.
> > > >
> > > > Try EWeather again, it should work better now.
> > > >
> > > > Forecasts is fine, but the gadget takes too much place on my desktop
> > and
> > > > it looks bad. I mean that text is hard to read (white text on white
> > background)
> > > > and the gadget doesn't match any theme, so i think that eweather is
> > better.
> > > >
> > > >
> > > > -- Igor
> > > >
> > > >
> > >
> > > false, forecasts matches the darkness theme perfectly. probably because
> > they were written by the same person.
> >
> > You are right. Forecasts looks completely different with darkness theme.
> > And it looks fine :)
> >
> >
> > -- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Configs for gadgets with multiple instances

2013-01-01 Thread Igor Murzov
Happy new year everyone!

While i was playing with eweather, i found out that when its gadget
is removed and module is unloaded, configuration gets lost.
At first i thought that this issue is specific to eweather and
that's some stupid bug, that went unnoticed.
But it looks like configs are handled this way intentionally.
If some gadget can have multiple instances, every instance gets
its own id. When user adds a new instance, NULL is passed to
_gc_init() as id. The same happens, if user unloaded a module in the
past for some reason, then changed his mind and loaded the module once
again. And you may expect that the last configuration is loaded in
this case, but NO... id gets incremented and you'll get the default
settings. That's very strange -- configurations are stored and never
reused again.
That doesn't feel like an expected behaviour to me. I would
expect GADCON_CLIENT_CONFIG_GET() to load the last available
configuration if id is NULL. Or maybe even last id but one when the
gadget that has the last id already exists. So some smart solution
may be required to fix the issue. Any ideas?


-- Igor

--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: seoz trunk/devs/seoz

2013-01-02 Thread Igor Murzov
What about this:

-"Last-Translator: Daniel Juyung Seo \n"
+"Last-Translator: Daniel Juyung Seo \n"

?

On Thu, 3 Jan 2013 03:29:59 +0900
Daniel Juyung Seo  wrote:

> hahaha you found that E!
> 
> Daniel Juyung Seo (SeoZ)
> 
> On Thu, Jan 3, 2013 at 3:10 AM, Michael Blumenkrantz <
> michael.blumenkra...@gmail.com> wrote:
> 
> > On Wed,  2 Jan 2013 10:07:26 -0800
> > "Enlightenment SVN"  wrote:
> >
> > > Log:
> > > devs/seoz build.sh: fixed a typo in the build script.
> > >
> > > Author:   seoz
> > > Date: 2013-01-02 10:07:25 -0800 (Wed, 02 Jan 2013)
> > > New Revision: 82002
> > > Trac: http://trac.enlightenment.org/e/changeset/82002
> > >
> > > Modified:
> > >   trunk/devs/seoz/build.sh
> > >
> > > Modified: trunk/devs/seoz/build.sh
> > > ===
> > > --- trunk/devs/seoz/build.sh  2013-01-02 17:37:04 UTC (rev 82001)
> > > +++ trunk/devs/seoz/build.sh  2013-01-02 18:07:25 UTC (rev 82002)
> > > @@ -31,7 +31,7 @@
> > >  export BUILD_PYTHON_BINDINGS="BINDINGS/python/python-evas
> > BINDINGS/python/python-ecore BINDINGS/python/python-elementary
> > BINDINGS/python/python-edje BINDINGS/python/python-emotion
> > BINDINGS/python/python-e_dbus"
> > >  export BUILD_CPP_BINDINGS="BINDINGS/cxx/eflxx BINDINGS/cxx/einaxx
> > BINDINGS/cxx/evasxx BINDINGS/cxx/ecorexx BINDINGS/cxx/edjexx
> > BINDINGS/cxx/elementaryxx"
> > >  export BUILD_BINDINGS=$BUILD_PYTHON_BINDINGS" "$BUILD_CPP_BINDINGS" "
> > > -export BUILD_E_MODULES="E-MODULES-EXTRA/comp-scale E-MODULES-EXTRA/elfe
> > E-MODULES-EXTRA/engage E-MODULES-EXTRA/everything-shotgun
> > E-MODULES-EXTRA/forcasts E-MODULES-EXTRA/eweather"
> > > +export BUILD_E_MODULES="E-MODULES-EXTRA/comp-scale E-MODULES-EXTRA/elfe
> > E-MODULES-EXTRA/engage E-MODULES-EXTRA/everything-shotgun
> > E-MODULES-EXTRA/forecasts E-MODULES-EXTRA/eweather"
> > >  export BUILD_ETC="terminology ephysics_tests econnman exactness efx
> > PROTO/shotgun editje PROTO/elev8 PROTO/eyelight ephoto edje_viewer
> > PROTO/azy elmdentica enlil PROTO/emote emprint clouseau envision ensure
> > enjoy exquisite rage PROTO/eyesight"
> > >  export BUILD_EXAMPLE="EXAMPLES/elementary/calculator
> > EXAMPLES/elementary/converter EXAMPLES/elementary/phonebook
> > EXAMPLES/elementary/sticky-notes"
> > >  export BUILD_GAMES="PROTO/etrophy GAMES/efbb"
> >
> >
> > YOU FORGOT THE E
> > REALLY??


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Enlightenment-intl] [PATCH][E] Make Everything's plugin and action names translatable.

2013-01-03 Thread Igor Murzov
On Thu, 3 Jan 2013 17:52:36 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 22 Nov 2012 01:26:48 +0400 Igor Murzov  said:
> 
> > Here is a patch that makes Everything's plugin and action names
> > translatable.
> > 
> > I think i should explain why this patch actually works :)
> > Some macros used this way:
> > 
> >   p = EVRY_PLUGIN_BASE("Settings", "configure", E_SETTINGS, _begin,
> >   _finish, _fetch);
> > 
> > and the macro is defined like this:
> > 
> >   /* creates a Evry_Plugin to be registered with evry */
> >   #define EVRY_PLUGIN_BASE(_name, _icon, _item_type, _begin, _finish, 
> > _fetch)
> >   #\
> > evry->plugin_new(EVRY_PLUGIN(E_NEW(Evry_Plugin, 1)), _name, _(_name),
> > _icon, $ _begin, _finish, _fetch)
> > 
> > so the _name argument (string "Settings" in this case) is used two times in
> > evry->plugin_new() call and one of these times it is used inside _(), so
> > the _name is actually translated by gettext.
> > 
> > The same happens with EVRY_ACTION_NEW which is defined in the
> > similar manner:
> > 
> >   #define EVRY_ACTION_NEW(_name, _in1, _in2, _icon, _action, _check) \
> > evry->action_new(N_(_name), _(_name), _in1, _in2, _icon, _action, 
> > _check)
> > 
> > 
> > But i'm not sure if this a best solution of the problem,
> > so comments are welcome :)
> > 
> > If the patch is ok, then similar changes should be made to
> > E-MODULES-EXTRA/everything-* modules as well.
> 
> hmm nah - i dont like this way 

Too late. Patches are already commited. I have a plan to mark the message 
explicitly
with N_() instead of listing defines in po/Makevars, I'll do this later.

>- i think the strings themselves should just we
> wrapped as usual with _() to indicate that STRING specifically is translatable
> instead of telling gettext that a new macro exists for this. :)

You can't just wrap every string with _(), sometimes strings have to be stored
untraslated as they are used as identifiers or something similar, and you
can't rely on translations internally. 

> i've gone and found a whole bunch of these in everything and wrapped them 
> with _
> ()'s now. :) yes - i know its after release, so i guess this will make it into
> a future e release, but its now there.

Those messages are already translated and everything was fine here.
So I reverted your commit :P


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Enlightenment-intl] [PATCH][E] Make Everything's plugin and action names translatable.

2013-01-05 Thread Igor Murzov
On Fri, 4 Jan 2013 08:51:53 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 3 Jan 2013 19:37:50 +0400 Igor Murzov
>  said:
> 
> > On Thu, 3 Jan 2013 17:52:36 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Thu, 22 Nov 2012 01:26:48 +0400 Igor Murzov  said:
> > > 
> > > > Here is a patch that makes Everything's plugin and action names
> > > > translatable.
> > > > 
> > > > I think i should explain why this patch actually works :)
> > > > Some macros used this way:
> > > > 
> > > >   p = EVRY_PLUGIN_BASE("Settings", "configure", E_SETTINGS, _begin,
> > > >   _finish, _fetch);
> > > > 
> > > > and the macro is defined like this:
> > > > 
> > > >   /* creates a Evry_Plugin to be registered with evry */
> > > >   #define EVRY_PLUGIN_BASE(_name, _icon, _item_type, _begin, _finish,
> > > >   #_fetch) \
> > > > evry->plugin_new(EVRY_PLUGIN(E_NEW(Evry_Plugin, 1)), _name, 
> > > > _(_name),
> > > > _icon, $ _begin, _finish, _fetch)
> > > > 
> > > > so the _name argument (string "Settings" in this case) is used two times
> > > > in evry->plugin_new() call and one of these times it is used inside _(),
> > > > so the _name is actually translated by gettext.
> > > > 
> > > > The same happens with EVRY_ACTION_NEW which is defined in the
> > > > similar manner:
> > > > 
> > > >   #define EVRY_ACTION_NEW(_name, _in1, _in2, _icon, _action, _check) \
> > > > evry->action_new(N_(_name), _(_name), _in1, _in2, _icon, _action,
> > > > _check)
> > > > 
> > > > 
> > > > But i'm not sure if this a best solution of the problem,
> > > > so comments are welcome :)
> > > > 
> > > > If the patch is ok, then similar changes should be made to
> > > > E-MODULES-EXTRA/everything-* modules as well.
> > > 
> > > hmm nah - i dont like this way 
> > 
> > Too late. Patches are already commited. I have a plan to mark the message
> > explicitly with N_() instead of listing defines in po/Makevars, I'll do this
> > later.
> 
> i dont like the po/makevars changes as it means people read the code and go
> "ooh untranslated!" and fix it...

All extra keywords are now gone :)

> > >- i think the strings themselves should just we
> > > wrapped as usual with _() to indicate that STRING specifically is
> > > translatable instead of telling gettext that a new macro exists for this. 
> > > :)
> > 
> > You can't just wrap every string with _(), sometimes strings have to be 
> > stored
> > untraslated as they are used as identifiers or something similar, and you
> > can't rely on translations internally. 
> 
> i know. :)
> 
> > > i've gone and found a whole bunch of these in everything and wrapped them
> > > with _ ()'s now. :) yes - i know its after release, so i guess this will
> > > make it into a future e release, but its now there.
> > 
> > Those messages are already translated and everything was fine here.
> > So I reverted your commit :P
> 
> ummm - they were not marked for translation - they do get stored, but then
> stored with the translation...

Fixed in r82291 and r82292 :)


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Fix a message in the updates checker.

2013-01-05 Thread Igor Murzov
On Thu, 3 Jan 2013 17:55:21 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Thu, 22 Nov 2012 02:05:00 +0400 Igor Murzov  said:
> 
> this is all fixed by now - but i think an extra , in one place could have been
> good - i added it in. :)

"As a bi-product of this" and "as a result" in one sentence also looks like a 
bug:

  As a bi-product of this, Enlightenment will
  connect to enlightenment.org and transmit
  some information as a result

I'll suggest dropping "as a result" part.


-- Igor

> > ---
> >  src/modules/wizard/page_170.c | 14 +++---
> >  1 file changed, 7 insertions(+), 7 deletions(-)
> > 
> > diff --git a/src/modules/wizard/page_170.c b/src/modules/wizard/page_170.c
> > index 7ae75b1..fe42877 100644
> > --- a/src/modules/wizard/page_170.c
> > +++ b/src/modules/wizard/page_170.c
> > @@ -31,18 +31,18 @@ wizard_page_show(E_Wizard_Page *pg)
> > e_widget_textblock_markup_set
> >   (ob,
> >   _("Enlightenment can check for new"
> > -   "versions, updates, securiity and"
> > -   "bugfixes, as well as available add-ons."
> > +   "versions, updates, security and"
> > +   "bug fixes, as well as available add-ons."
> > ""
> > "This is very useful, because it lets you"
> > -   "you know about available bug fixes and"
> > +   "know about available bug fixes and"
> > "security fixes when they happen. As a"
> > "bi-product of this, Enlightenment will"
> > "connect to enlightenment.org and transmit"
> > -   "some information as a result much like any"
> > -   "web browser might do. No personal information"
> > -   "such as username, password or any personal"
> > -   "files will be transmitted. If you do not like"
> > +   "some information much like any web browser"
> > +   "might do. No personal information such as"
> > +   "username, password or any personal files"
> > +   "will be transmitted. If you do not like"
> > "this, please disable this below. It is highly"
> > "advised that you do not disable this as it"
> > "may leave you vulnerable or having to live"
> > -- 

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configs for gadgets with multiple instances

2013-01-05 Thread Igor Murzov
On Fri, 4 Jan 2013 16:29:56 +0900
Carsten Haitzler (The Rasterman)  wrote:

> On Tue, 1 Jan 2013 23:30:49 +0400 Igor Murzov
>  said:
> 
> > Happy new year everyone!
> > 
> > While i was playing with eweather, i found out that when its gadget
> > is removed and module is unloaded, configuration gets lost.
> > At first i thought that this issue is specific to eweather and
> > that's some stupid bug, that went unnoticed.
> > But it looks like configs are handled this way intentionally.
> > If some gadget can have multiple instances, every instance gets
> > its own id. When user adds a new instance, NULL is passed to
> > _gc_init() as id. The same happens, if user unloaded a module in the
> > past for some reason, then changed his mind and loaded the module once
> > again. And you may expect that the last configuration is loaded in
> > this case, but NO... id gets incremented and you'll get the default
> > settings. That's very strange -- configurations are stored and never
> > reused again.
> > That doesn't feel like an expected behaviour to me. I would
> > expect GADCON_CLIENT_CONFIG_GET() to load the last available
> > configuration if id is NULL. Or maybe even last id but one when the
> > gadget that has the last id already exists. So some smart solution
> > may be required to fix the issue. Any ideas?
> > 
> 
> hmm module unload SHOULD be separate to the gadcon client config. i designed
> them to be separate so u can "unload" and "load" a module and magically the
> gadget appears where it was configured for before. of course each module is in
> charge of remembering its OWN list of "instances" and names/id's for them and
> corresponding config for that instance. the gadcon entry is separate and when
> the gadcon inits it asks for a provider of that name/class - and if it finds
> one (the module provides it) it asks it to init the gadget...

What you describing here works fine. Unloading module doesn't change gagdgets
position or configuration. 
But if gadget is removed and module is unloaded, then gadget's configuration
gets lost.

Let me explain.

If some module has only one configuration item in its config, then gadget
loads the config and uses settings stored in it, and everything is fine. 

Things are different with modules that have multiple configurations in their 
configs.
If some module has multiple configuration items in its config, then gadget
loads the config and then it searches for a specific configuration item that
has a specific id.

The thing is that if the gadget was removed, then next time when you decide
to add the new instance, that new instance gets NULL as its id in _gc_init().
And _gc_init() will call GADCON_CLIENT_CONFIG_GET(..., id) to get a 
configuration item. But GADCON_CLIENT_CONFIG_GET(..., NULL) won't get ANY of
the existing configurations in this case, it will simply generate a new id, 
which
will result in getting the default configuration. And that is not what users 
expect.

> the point was that we could ship default config FULLY populated with every
> gadget and then only the modules u want provide the gadgets and non-provided
> modules are just left out with the user non-the-wiser.

I have no idea what you are talking about here :D

> something has gone wrong here. what you think should work... should.


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configs for gadgets with multiple instances

2013-01-06 Thread Igor Murzov
On Sun, 6 Jan 2013 00:08:38 +
Michael Blumenkrantz  wrote:

> On Sun, 6 Jan 2013 03:59:17 +0400
> Igor Murzov  wrote:
> 
> > On Fri, 4 Jan 2013 16:29:56 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Tue, 1 Jan 2013 23:30:49 +0400 Igor Murzov
> > >  said:
> > > 
> > > > Happy new year everyone!
> > > > 
> > > > While i was playing with eweather, i found out that when its gadget
> > > > is removed and module is unloaded, configuration gets lost.
> > > > At first i thought that this issue is specific to eweather and
> > > > that's some stupid bug, that went unnoticed.
> > > > But it looks like configs are handled this way intentionally.
> > > > If some gadget can have multiple instances, every instance gets
> > > > its own id. When user adds a new instance, NULL is passed to
> > > > _gc_init() as id. The same happens, if user unloaded a module in the
> > > > past for some reason, then changed his mind and loaded the module once
> > > > again. And you may expect that the last configuration is loaded in
> > > > this case, but NO... id gets incremented and you'll get the default
> > > > settings. That's very strange -- configurations are stored and never
> > > > reused again.
> > > > That doesn't feel like an expected behaviour to me. I would
> > > > expect GADCON_CLIENT_CONFIG_GET() to load the last available
> > > > configuration if id is NULL. Or maybe even last id but one when the
> > > > gadget that has the last id already exists. So some smart solution
> > > > may be required to fix the issue. Any ideas?
> > > > 
> > > 
> > > hmm module unload SHOULD be separate to the gadcon client config. i 
> > > designed
> > > them to be separate so u can "unload" and "load" a module and magically 
> > > the
> > > gadget appears where it was configured for before. of course each module 
> > > is in
> > > charge of remembering its OWN list of "instances" and names/id's for them 
> > > and
> > > corresponding config for that instance. the gadcon entry is separate and 
> > > when
> > > the gadcon inits it asks for a provider of that name/class - and if it 
> > > finds
> > > one (the module provides it) it asks it to init the gadget...
> > 
> > What you describing here works fine. Unloading module doesn't change 
> > gagdgets
> > position or configuration. 
> > But if gadget is removed and module is unloaded, then gadget's configuration
> > gets lost.
> > 
> > Let me explain.
> > 
> > If some module has only one configuration item in its config, then gadget
> > loads the config and uses settings stored in it, and everything is fine. 
> > 
> > Things are different with modules that have multiple configurations in 
> > their configs.
> > If some module has multiple configuration items in its config, then gadget
> > loads the config and then it searches for a specific configuration item that
> > has a specific id.
> > 
> > The thing is that if the gadget was removed, then next time when you decide
> > to add the new instance, that new instance gets NULL as its id in 
> > _gc_init().
> > And _gc_init() will call GADCON_CLIENT_CONFIG_GET(..., id) to get a 
> > configuration item. But GADCON_CLIENT_CONFIG_GET(..., NULL) won't get ANY of
> > the existing configurations in this case, it will simply generate a new id, 
> > which
> > will result in getting the default configuration. And that is not what 
> > users expect.
> > 
> > > the point was that we could ship default config FULLY populated with every
> > > gadget and then only the modules u want provide the gadgets and 
> > > non-provided
> > > modules are just left out with the user non-the-wiser.
> > 
> > I have no idea what you are talking about here :D
> > 
> > > something has gone wrong here. what you think should work... should.
> > 
> > 
> > -- Igor
> > 
> 
> if an instance is removed by the user, its config is deleted. this is 
> intentional.

No, configs are not deleted in this case. Configurations are still present in
config, when a gadget is removed and its module is unloaded, but they are not
getting reused anymore. 


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Configs for gadgets with multiple instances

2013-01-06 Thread Igor Murzov
On Sun, 6 Jan 2013 00:08:38 +
Michael Blumenkrantz  wrote:

> On Sun, 6 Jan 2013 03:59:17 +0400
> Igor Murzov  wrote:
> 
> > On Fri, 4 Jan 2013 16:29:56 +0900
> > Carsten Haitzler (The Rasterman)  wrote:
> > 
> > > On Tue, 1 Jan 2013 23:30:49 +0400 Igor Murzov
> > >  said:
> > > 
> > > > Happy new year everyone!
> > > > 
> > > > While i was playing with eweather, i found out that when its gadget
> > > > is removed and module is unloaded, configuration gets lost.
> > > > At first i thought that this issue is specific to eweather and
> > > > that's some stupid bug, that went unnoticed.
> > > > But it looks like configs are handled this way intentionally.
> > > > If some gadget can have multiple instances, every instance gets
> > > > its own id. When user adds a new instance, NULL is passed to
> > > > _gc_init() as id. The same happens, if user unloaded a module in the
> > > > past for some reason, then changed his mind and loaded the module once
> > > > again. And you may expect that the last configuration is loaded in
> > > > this case, but NO... id gets incremented and you'll get the default
> > > > settings. That's very strange -- configurations are stored and never
> > > > reused again.
> > > > That doesn't feel like an expected behaviour to me. I would
> > > > expect GADCON_CLIENT_CONFIG_GET() to load the last available
> > > > configuration if id is NULL. Or maybe even last id but one when the
> > > > gadget that has the last id already exists. So some smart solution
> > > > may be required to fix the issue. Any ideas?
> > > > 
> > > 
> > > hmm module unload SHOULD be separate to the gadcon client config. i 
> > > designed
> > > them to be separate so u can "unload" and "load" a module and magically 
> > > the
> > > gadget appears where it was configured for before. of course each module 
> > > is in
> > > charge of remembering its OWN list of "instances" and names/id's for them 
> > > and
> > > corresponding config for that instance. the gadcon entry is separate and 
> > > when
> > > the gadcon inits it asks for a provider of that name/class - and if it 
> > > finds
> > > one (the module provides it) it asks it to init the gadget...
> > 
> > What you describing here works fine. Unloading module doesn't change 
> > gagdgets
> > position or configuration. 
> > But if gadget is removed and module is unloaded, then gadget's configuration
> > gets lost.
> > 
> > Let me explain.
> > 
> > If some module has only one configuration item in its config, then gadget
> > loads the config and uses settings stored in it, and everything is fine. 
> > 
> > Things are different with modules that have multiple configurations in 
> > their configs.
> > If some module has multiple configuration items in its config, then gadget
> > loads the config and then it searches for a specific configuration item that
> > has a specific id.
> > 
> > The thing is that if the gadget was removed, then next time when you decide
> > to add the new instance, that new instance gets NULL as its id in 
> > _gc_init().
> > And _gc_init() will call GADCON_CLIENT_CONFIG_GET(..., id) to get a 
> > configuration item. But GADCON_CLIENT_CONFIG_GET(..., NULL) won't get ANY of
> > the existing configurations in this case, it will simply generate a new id, 
> > which
> > will result in getting the default configuration. And that is not what 
> > users expect.
> > 
> > > the point was that we could ship default config FULLY populated with every
> > > gadget and then only the modules u want provide the gadgets and 
> > > non-provided
> > > modules are just left out with the user non-the-wiser.
> > 
> > I have no idea what you are talking about here :D
> > 
> > > something has gone wrong here. what you think should work... should.
> > 
> 
> if an instance is removed by the user, its config is deleted. this is 
> intentional.

To make things clearer, I changed config_item_get() in EWeather to demonstrate
how i think the function should look like. I've tried to comment everything,
I hope this will help to understand the code. Here it is:

--
EINTERN Config_Item *
_weather_config_item_get(Instance *inst, const char *id) 
{
   Config_Item *ci;
   char buf[128]

Re: [E-devel] git.e.fr divergence

2013-01-17 Thread Igor Murzov
On Thu, 17 Jan 2013 12:25:48 +0100
Bertrand Jacquin  wrote:

> Hi,
> 
> We've got an issue with SVN import to git from svn.e.org so I had to 
> rewind tree.

Thanks for fixing that.

> Thoses of you who use it will have to update locale references to avoid 
> merge by using:
>   $ git fetch origin
>   $ git reset --hard origin/maste
> 
> This only concern main repo (svn.git).
>
> Sorry for convinience.

:)


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elemines 0.2

2013-01-20 Thread Igor Murzov
On Sun, 20 Jan 2013 17:46:18 +0900
Jérôme Pinot  wrote:

> I would like to announce the availability of elemines 0.2, the EFL
> minesweeper clone. This new version has some improvements, like:
> 
> - scores management (using etrophy library)
> - in game configuration
> - middle click support (thanks to Sebastian Dransfeld)

It's broken. Player can mark any random squares around a digit and
then double click on that digit and all correct surrounding squares
would be cleared even if flags were not set to correct positions.


-- Igor

> - french translation
> - cosmetic changes (icons, background...)
> 
> Elemines 0.2 requires EFL 1.7 and etrophy 0.5.1.
> 
> I'm already packaging for Slackware, but if you like to see elemines
> in your distributuin and you can provide the build script/spec/etc,
> I'll be happy to add it in the source code, under packaging/
> 
> Moreover, any help for translation is welcome (po file is really small).
> 
> Website: http://elemines.sourceforge.net/ 
> Download: http://sourceforge.net/projects/elemines/files/0.2/ 
> Screenshot: http://elemines.sourceforge.net/shot2.jpg 
> 
> Regards,
> 
> -- 
> Jérôme Pinot
> http://ngc891.blogdns.net/

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: garik IN branches/enlightenment-0.17.0: . src/bin

2013-01-22 Thread Igor Murzov
On Tue, 22 Jan 2013 16:43:41 +
Michael Blumenkrantz  wrote:

> On Tue, 22 Jan 2013 08:38:54 -0800
> "Enlightenment SVN"  wrote:
> 
> > Log:
> > Desktop->Shelves menu now shows shelf names instead of orientations
> >   ticket #2105
> >   
> >   This is a backport of r82408
> >   
> > 
> > Author:   garik
> > Date: 2013-01-22 08:38:54 -0800 (Tue, 22 Jan 2013)
> > New Revision: 83096
> > Trac: http://trac.enlightenment.org/e/changeset/83096
> > 
> > Modified:
> >   branches/enlightenment-0.17.0/ChangeLog 
> > branches/enlightenment-0.17.0/NEWS 
> > branches/enlightenment-0.17.0/src/bin/e_int_menus.c 
> > 
> 
> in general, I am only backporting things that go in the Fixes category for 
> news. stuff like this is more like a feature and does not need backporting imo

I think this is a fix for a usability issue. 


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: garik IN branches/enlightenment-0.17.0: . po src/bin src/modules/conf src/modules/conf_menus src/modules/conf_shelves src/modules/conf_theme src/modules/everything src/modules/fil

2013-01-23 Thread Igor Murzov
On Wed, 23 Jan 2013 10:22:37 +0900
Cedric BAIL  wrote:

> On Wed, Jan 23, 2013 at 12:41 AM, Enlightenment SVN
>  wrote:
> > Log:
> > Better messages and fixes for gettext stuff
> >
> >   This is a squashed commit of:
> >r81661 r81742 r82050 r82085 r82293 r82307 r82787 r82788 r83088
> >
> > Author:   garik
> > Date: 2013-01-22 07:40:59 -0800 (Tue, 22 Jan 2013)
> > New Revision: 83092
> > Trac: http://trac.enlightenment.org/e/changeset/83092
> 
> Maybe I am wrong, but now all translation of branch need to be
> updated, so no E17.1 for this week. Right ?

There are no major changes in this commit. It changes about 10
messages and adds about 10 new messages to the pot. I think
it's fine to release new version of e17 as planned. Also translators
are already notified that their translations need to be updated.


-- Igor

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elemines 0.2

2013-01-31 Thread Igor Murzov
On Sun, 20 Jan 2013 17:46:18 +0900
Jérôme Pinot  wrote:

> I would like to announce the availability of elemines 0.2, the EFL
> minesweeper clone. This new version has some improvements, like:
> 
> - scores management (using etrophy library)
> - in game configuration
> - middle click support (thanks to Sebastian Dransfeld)

Middle click is still broken in elemines 0.2.1. Middle click should
always open all remaining surrounding squares even if player set his
flags to incorrect positions. In this case player should obviously
stumble on a mine and lose the game.


-- Igor

> - french translation
> - cosmetic changes (icons, background...)
> 
> Elemines 0.2 requires EFL 1.7 and etrophy 0.5.1.
> 
> I'm already packaging for Slackware, but if you like to see elemines
> in your distributuin and you can provide the build script/spec/etc,
> I'll be happy to add it in the source code, under packaging/
> 
> Moreover, any help for translation is welcome (po file is really small).
> 
> Website: http://elemines.sourceforge.net/ 
> Download: http://sourceforge.net/projects/elemines/files/0.2/ 
> Screenshot: http://elemines.sourceforge.net/shot2.jpg 
> 
> Regards,
> 
> -- 
> Jérôme Pinot
> http://ngc891.blogdns.net/

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E17 crashes with EFL 1.7

2013-02-01 Thread Igor Murzov
On Fri, 1 Feb 2013 09:41:54 +0900
Daniel Juyung Seo  wrote:

> Hello I tried to use EFL 1.7 + E17 from e/branches.
> It fails to start with the following crash.
> http://www.enlightenment.org/~seoz/e17-crash.txt
> 
> This is my build script.
> http://trac.enlightenment.org/e/browser/trunk/devs/seoz/build_e17.sh
> 
> Anybody has any idea?

What revision is that? Does your E include r83539:

  authordiscomfitor 2013-02-01 07:48:19 (GMT)
  fix xkb crash

?


-- Igor

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elemines 0.2

2013-02-08 Thread Igor Murzov
On Sat, 2 Feb 2013 13:05:32 +0900
Jérôme Pinot  wrote:

> On 02/01/13 02:57, Igor Murzov wrote:
> > On Sun, 20 Jan 2013 17:46:18 +0900
> > Jérôme Pinot  wrote:
> > 
> > > I would like to announce the availability of elemines 0.2, the EFL
> > > minesweeper clone. This new version has some improvements, like:
> > > 
> > > - scores management (using etrophy library)
> > > - in game configuration
> > > - middle click support (thanks to Sebastian Dransfeld)
> > 
> > Middle click is still broken in elemines 0.2.1. Middle click should
> > always open all remaining surrounding squares even if player set his
> > flags to incorrect positions. In this case player should obviously
> > stumble on a mine and lose the game.
> 
> Well, I though that it was the expected behavior to do nothing if the
> flags was not correct. 

No. There are no second chances on a mine field :)
Open wrong square -- lose the game, that's it.

> I'm not very familiar with this feature and just
> added it because someone was nice enough to contribute it.
> Please try the this patch and let me know if it now works as expected.

It didn't work as expected, so i changed the behaviour of elemines, so it
behaves as i think it should. You can find the patches in attachments.

Also, if you didn't push the translation yet, please reset it and apply
new patch, which fixes one small translation issue. Thanks.


-- Igor


0001-Add-russian-translation.patch.gz
Description: GNU Zip compressed data


0002-Refactor-and-improve-_clean-function.patch.gz
Description: GNU Zip compressed data


0003-Fix-middle-click-once-again.patch.gz
Description: GNU Zip compressed data


0004-Fix-flags-accounting.patch.gz
Description: GNU Zip compressed data


0005-Validate-user-data-to-prevent-endless-loop.patch.gz
Description: GNU Zip compressed data
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Enjoy - migration to git

2013-04-01 Thread Igor Murzov
On Sun, 31 Mar 2013 18:09:19 -0300
Rafael Antognolli  wrote:

> Hey guys, could you please do this for me?

And ephoto, please ^_^


-- Igor

--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Enjoy - migration to git

2013-04-04 Thread Igor Murzov
On Wed, 03 Apr 2013 10:36:11 +0100
Daniel Willmann  wrote:

> On 02/04/13 11:56, Daniel Willmann wrote:
> > On 01/04/13 10:33, Igor Murzov wrote:
> >> On Sun, 31 Mar 2013 18:09:19 -0300
> >> Rafael Antognolli  wrote:
> >>
> >>> Hey guys, could you please do this for me?
> >>
> >> And ephoto, please ^_^
> > 
> > This might take me until tomorrow.
> 
> Take a look here:
> http://git.enlightenment.org/devs/asdfuser/migrate/ephoto.git/
> 
> If it looks okay I'll move it.

Looks good. Thanks.


-- Igor

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Desktop hover

2013-05-21 Thread Igor Murzov
On Tue, 21 May 2013 20:48:13 +0200
Massimo Maiurana  wrote:

> Michael Blumenkrantz, il 21/05/2013 19:52, ha scritto:
> > On Tue, 21 May 2013 19:45:36 +0200
> > Massimo Maiurana  wrote:
> > 
> >> The string in the subject is located in
> >> src/modules/gadman/e_mod_gadman.c:124, but I'm not really sure what it
> >> does and I need to know it to correctly translate it.
> >> Has it something to do with gadget moving on the desktop?
> >>
> > 
> > this is the layer of gadgets which "hovers" over the desktop and must be 
> > toggled (using an action) to become visible.
> > 
> > it's basically useless at the moment since gadman is so awful, but I have 
> > plans for it in the future
> > 
> 
> Ok, thank you very much :)

> #: src/modules/gadman/e_mod_gadman.c:124
>-#, fuzzy
> msgid "Desktop Hover"
>-msgstr "File desktop"
>+msgstr "Sovrapposizione al desktop"

Wrong. "Desktop Hover" is the same thing as "Hover (Key Toggle)", which
you have translated as "Livello nascosto (tasti visualizzazione)".
These two messages should match.


-- Igor

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E-MODULES-EXTRA migration to git

2013-06-16 Thread Igor Murzov
On Thu, 13 Jun 2013 17:29:50 +0100
Tom Hacohen  wrote:

> Hey,
> 
> So, following up on: https://phab.enlightenment.org/T159
> I'm migrating E-MODULES-EXTRA to git.
> I'm going to create a repo per module. I'm just interested to know, 
> which modules would you guys like to see migrated?

I use comp-scale, everything-places, everything-websearch, eweather,
mpdule, net, news, places and photo modules. But I think you should
not ask questions like this, you should migrate all modules to git.
The work isn't manual, so what's the problem? If you believe some
of the modules are broken or not maintained, you can move them to
the "legacy" category.


-- Igor

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #2

2013-06-22 Thread Igor Murzov
On Tue, 11 Jun 2013 10:55:23 +0100
Michael Blumenkrantz  wrote:

> The old thread was too long for me to see if I fixed everything, so post
> here if you have a bug that's present using the latest revision.

1. Opening composite settings dialog crashes E.

2. "No listable items in Navigate menu is now clickable"
   never worked. Clicking 'No listable items' opens '~'.
   It should open directory to which that item belongs to.

3. "appmenu: externally show a menu of the current focused application"
   never worked for me.


-- Igor

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][RFC][xdg-utils] Use enlightenment_open to open files in xdg-open

2013-07-13 Thread Igor Murzov
The patch is for xdg-utils project. It makes various xdg-* scripts detect
if enlightenment is running and use enlightenment_open in xdg-open.

How to test the patch:
 1. Clone xdg-utils repository from here:
git://anongit.freedesktop.org/xdg/xdg-utils
 2. Apply the patch.
 3. Run ./configure
 4! Update scripts from scripts/ directory with:
$ cd scripts && make scripts
Without this step you won't get any changes for the xdg-* scripts!
 5. Run make install


Please test and give a response. If the patch is good i'll send it to
xdg-utils project.


-- Igor
>From 31b728ae740f80a881641a094a13cddf87bac7d2 Mon Sep 17 00:00:00 2001
From: Igor Murzov 
Date: Fri, 12 Jul 2013 04:24:56 +0400
Subject: [PATCH] xdg-open: Detect Enlightenment and make use of it

---
 ChangeLog   |  3 +++
 scripts/xdg-open.in | 15 +++
 scripts/xdg-utils-common.in |  4 
 3 files changed, 22 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 9e4217b..943c141 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 === xdg-utils 1.1.x ===
 
+2013-07-13 Igor Murzov 
+   * xdg-open: detect Enlightenment and make use of it
+
 2012-10-08 Rex Dieter 
* xdg-mime does not search mimeinfo.cache (BR31629)
 
diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
index 0934142..87e161d 100644
--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -114,6 +114,17 @@ open_xfce()
 fi
 }
 
+open_enlightenment()
+{
+enlightenment_open "$1"
+
+if [ $? -eq 0 ]; then
+exit_success
+else
+exit_failure_operation_failed
+fi
+}
+
 #-
 # Recursively search .desktop file
 
@@ -347,6 +358,10 @@ case "$DE" in
 open_lxde "$url"
 ;;
 
+enlightenment)
+open_enlightenment "$url"
+;;
+
 generic)
 open_generic "$url"
 ;;
diff --git a/scripts/xdg-utils-common.in b/scripts/xdg-utils-common.in
index 171d1e7..d20d4ef 100644
--- a/scripts/xdg-utils-common.in
+++ b/scripts/xdg-utils-common.in
@@ -256,6 +256,9 @@ detectDE()
 
 if [ -n "${XDG_CURRENT_DESKTOP}" ]; then
   case "${XDG_CURRENT_DESKTOP}" in
+ ENLIGHTENMENT)
+   DE=enlightenment;
+   ;;
  GNOME)
DE=gnome;
;;
@@ -282,6 +285,7 @@ detectDE()
   elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
   elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
   elif xprop -root 2> /dev/null | grep -i '^xfce_desktop_window' >/dev/null 2>&1; then DE=xfce
+  elif echo $DESKTOP | grep -q '^Enlightenment'; then DE=enlightenment;
   fi
 fi
 
-- 
1.8.3

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH][RFC][xdg-utils] Use enlightenment_open to open files in xdg-open

2013-07-15 Thread Igor Murzov
> a read of that patch says to me that that looks good. :) submit it!

Done. https://bugs.freedesktop.org/show_bug.cgi?id=66944


-- Igor
 
> > The patch is for xdg-utils project. It makes various xdg-* scripts detect
> > if enlightenment is running and use enlightenment_open in xdg-open.
> > 
> > How to test the patch:
> >  1. Clone xdg-utils repository from here:
> > git://anongit.freedesktop.org/xdg/xdg-utils
> >  2. Apply the patch.
> >  3. Run ./configure
> >  4! Update scripts from scripts/ directory with:
> > $ cd scripts && make scripts
> > Without this step you won't get any changes for the xdg-* scripts!
> >  5. Run make install
> > 
> > 
> > Please test and give a response. If the patch is good i'll send it to
> > xdg-utils project.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Release tarballs for testing - EFL 1.7.8 and Enlightenment 0.17.4

2013-07-30 Thread Igor Murzov
On Tue, 30 Jul 2013 14:16:51 -0300
"Eduardo Lima (Etrunko)"  wrote:

> Thanks Rafael, the idea is to build the final tarballs by Thursday the
> end of the day. So this is a call for backports

Can somebody backport commit 0bf55848abe19?
Author: Carsten Haitzler (Rasterman) 
Date:   Tue May 21 21:57:05 2013 +0900

add option to not fade backlight on suspend/resume/reboot/shutdown/logout
etc. to keep backlight untouched.

I know it looks more like a feature, but it's not. Fading backlight on logout
is definitely a bug.


-- Igor

> and tests especially
> on Evil and Enlightenment. Yes, I'm looking at you Devilhorns, don't
> hide your randr patches. :)
> 
> Regards, Etrunko
> 
> On Tue, Jul 30, 2013 at 1:46 PM, Rafael Antognolli  
> wrote:
> > Hi everyone,
> >
> > Etrunko is planning to do a new release of stable EFL and
> > Enlightenment, and has prepared some tarballs for everyone to test it
> > before actually doing the release.
> >
> > Following are the links to these tarballs, anyone who could test them
> > is very welcome.
> >
> >  - Eina 1.7.8 -
> > [[http://download.enlightenment.org/releases/eina-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/eina-1.7.8.tar.bz2 | BZ2 ]]
> >  - Eet 1.7.8 -
> > [[http://download.enlightenment.org/releases/eet-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/eet-1.7.8.tar.bz2 | BZ2 ]]
> >  - Evas 1.7.8 -
> > [[http://download.enlightenment.org/releases/evas-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/evas-1.7.8.tar.bz2 | BZ2 ]]
> >  - Ecore 1.7.8 -
> > [[http://download.enlightenment.org/releases/ecore-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/ecore-1.7.8.tar.bz2 | BZ2 ]]
> >  - Embryo 1.7.8 -
> > [[http://download.enlightenment.org/releases/embryo-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/embryo-1.7.8.tar.bz2 | BZ2 ]]
> >  - Edje 1.7.8 -
> > [[http://download.enlightenment.org/releases/edje-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/edje-1.7.8.tar.bz2 | BZ2 ]]
> >  - Efreet 1.7.8 -
> > [[http://download.enlightenment.org/releases/efreet-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/efreet-1.7.8.tar.bz2 | BZ2 ]]
> >  - E_dbus 1.7.8 -
> > [[http://download.enlightenment.org/releases/e_dbus-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/e_dbus-1.7.8.tar.bz2 | BZ2 ]]
> >  - Eeze 1.7.8 -
> > [[http://download.enlightenment.org/releases/eeze-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/eeze-1.7.8.tar.bz2 | BZ2 ]]
> >  - Expedite 1.7.8 -
> > [[http://download.enlightenment.org/releases/expedite-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/expedite-1.7.8.tar.bz2 | BZ2 ]]
> >  - Evas Generic Loaders 1.7.8 -
> > [[http://download.enlightenment.org/releases/evas_generic_loaders-1.7.8.tar.gz
> > | GZ ]]
> > [[http://download.enlightenment.org/releases/evas_generic_loaders-1.7.8.tar.bz2
> > | BZ2 ]]
> >  - Eio 1.7.8 -
> > [[http://download.enlightenment.org/releases/eio-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/eio-1.7.8.tar.bz2 | BZ2 ]]
> >  - Emotion 1.7.8 -
> > [[http://download.enlightenment.org/releases/emotion-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/emotion-1.7.8.tar.bz2 | BZ2 ]]
> >  - Ethumb 1.7.8 -
> > [[http://download.enlightenment.org/releases/ethumb-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/ethumb-1.7.8.tar.bz2 | BZ2 ]]
> >  - Elementary 1.7.8 -
> > [[http://download.enlightenment.org/releases/elementary-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/elementary-1.7.8.tar.bz2 | BZ2 
> > ]]
> >  - Evil 1.7.8 -
> > [[http://download.enlightenment.org/releases/evil-1.7.8.tar.gz | GZ ]]
> > [[http://download.enlightenment.org/releases/evil-1.7.8.tar.bz2 | BZ2 ]]
> >
> > - Enlightenment 0.17.4 -
> > [[http://download.enlightenment.org/releases/enlightenment-0.17.4.tar.gz | 
> > GZ ]]
> > [[http://download.enlightenment.org/releases/enlightenment-0.17.4.tar.bz2
> > | BZ2 ]]
> >

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Webkit EFL

2013-12-18 Thread Igor Murzov
Compilation fails for me with the following error:

[ 13%] Building CXX object 
Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
 In member function 'void WebCore::PNGImageDecoder::headerAvailable()':
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
 m_reader->setReadOffset(m_reader->currentBufferSize() - 
png->buffer_size);
  ^
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
 png->buffer_size = 0;
  ^
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make[2]: *** 
[Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o]
 Error 1
make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [all] Error 2


My system is Slackware 14.1 with  gcc-4.8.2, libpng-1.4.12,
efl-1.8.2.


-- Igor


On Thu, 12 Dec 2013 14:39:11 +0900
Cedric BAIL  wrote:

> Hello,
> 
> Thanks to the help of Ryuan Choi, we can announce today the release of
> a recent Webkit EFL snapshot. It is based on svn r159807. You can this
> tarball here (as it was a little bit big, I did go with xz):
> http://download.enlightenment.org/rel/libs/webkit-efl/webkit-efl-159807.tar.xz
> .
> 
> To build it, you need EFL 1.8 and libsoup 2.42 at least. Then
> something like that will do :
> mkdir build && cd build
> cmake .. -DPORT=Efl -DENABLE_WEB_AUDIO=Off -DENABLE_VIDEO=Off
> -DENABLE_VIDEO_TRACK=Off -DENABLE_ACCESSIBILITY=Off
> -DENABLE_BATTERY_STATUS=Off -DCMAKE_INSTALL_PREFIX=/usr/local
> make -j 4
> 
> I have tested it with elm web and it work quite well for me. I hope it
> will be useful for others. Just be aware that if you build it, you
> need around 4G of ram for the linker. This means it can only be build
> on 64bits system. Cross compilation is required for 32bits system.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Webkit EFL

2013-12-18 Thread Igor Murzov
Compilation fails for me with the following error:

[ 13%] Building CXX object 
Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
 In member function 'void WebCore::PNGImageDecoder::headerAvailable()':
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
 m_reader->setReadOffset(m_reader->currentBufferSize() - 
png->buffer_size);
  ^
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
 png->buffer_size = 0;
  ^
/tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
 error: 'png_struct_def::buffer_size' is deprecated (declared at 
/usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make[2]: *** 
[Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o]
 Error 1
make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [all] Error 2


My system is Slackware 14.1 with  gcc-4.8.2, libpng-1.4.12,
efl-1.8.2.


-- Igor


On Thu, 12 Dec 2013 14:39:11 +0900
Cedric BAIL  wrote:

> Hello,
> 
> Thanks to the help of Ryuan Choi, we can announce today the release of
> a recent Webkit EFL snapshot. It is based on svn r159807. You can this
> tarball here (as it was a little bit big, I did go with xz):
> http://download.enlightenment.org/rel/libs/webkit-efl/webkit-efl-159807.tar.xz
> .
> 
> To build it, you need EFL 1.8 and libsoup 2.42 at least. Then
> something like that will do :
> mkdir build && cd build
> cmake .. -DPORT=Efl -DENABLE_WEB_AUDIO=Off -DENABLE_VIDEO=Off
> -DENABLE_VIDEO_TRACK=Off -DENABLE_ACCESSIBILITY=Off
> -DENABLE_BATTERY_STATUS=Off -DCMAKE_INSTALL_PREFIX=/usr/local
> make -j 4
> 
> I have tested it with elm web and it work quite well for me. I hope it
> will be useful for others. Just be aware that if you build it, you
> need around 4G of ram for the linker. This means it can only be build
> on 64bits system. Cross compilation is required for 32bits system.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Webkit EFL

2013-12-19 Thread Igor Murzov
I've got another compilation failure due to incorrect freetype
include path:

Building CXX object 
Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/freetype/FontPlatformDataFreeType.cpp.o
/tmp/tgz/webkit-efl/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp:32:22:
 fatal error: tttables.h: No such file or directory
 #include 


The missing file is actually present in /usr/include/freetype2/freetype/,
but compiler failed to find it. pkg-config prints the following path:

 $ pkg-config --cflags freetype2 
 -I/usr/include/freetype2

so I had to edit some source files in WebCore to make it compile.


-- Igor


On Wed, 18 Dec 2013 20:18:42 +0900
ryuan Choi  wrote:

> Interesting, PNGImageDecoder.cpp already checked the libpng version but
> checked whether it is bigger than 1.5
> 
> 
> 
> 2013/12/18 Cedric BAIL 
> 
> > On Wed, Dec 18, 2013 at 5:07 PM, Igor Murzov
> >  wrote:
> > > Compilation fails for me with the following error:
> > > 
> > > [ 13%] Building CXX object
> > Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o
> > >
> > /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
> > In member function 'void WebCore::PNGImageDecoder::headerAvailable()':
> > >
> > /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
> > error: 'png_struct_def::buffer_size' is deprecated (declared at
> > /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> > >  m_reader->setReadOffset(m_reader->currentBufferSize() -
> > png->buffer_size);
> > >   ^
> > >
> > /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:393:70:
> > error: 'png_struct_def::buffer_size' is deprecated (declared at
> > /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> > >
> > /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
> > error: 'png_struct_def::buffer_size' is deprecated (declared at
> > /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> > >  png->buffer_size = 0;
> > >   ^
> > >
> > /tmp/tgz/webkit-efl/Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:394:14:
> > error: 'png_struct_def::buffer_size' is deprecated (declared at
> > /usr/include/libpng14/png.h:1337) [-Werror=deprecated-declarations]
> > > cc1plus: all warnings being treated as errors
> > > make[2]: ***
> > [Source/WebCore/CMakeFiles/WebCore.dir/platform/image-decoders/png/PNGImageDecoder.cpp.o]
> > Error 1
> > > make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
> > > make: *** [all] Error 2
> > > 
> > >
> > > My system is Slackware 14.1 with  gcc-4.8.2, libpng-1.4.12,
> > > efl-1.8.2.
> >
> > I am guessing that your libpng is to old (not sure), but webkit efl is
> > really something that require all the latest technology.
> > --
> > Cedric BAIL

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #4

2013-12-19 Thread Igor Murzov
Main menu doesn't scroll properly. When mouse pointer gets
to the top of the screen, menu starts jiggering doesn't
moving down as it should, so some items in the main menu
become inaccessible. "Screen Limits" setting doesn't affect
this.

Also there is a weird bug in the application menu.
I'm not sure whether items of the application menu should
appear translated or not. Sometimes they are translated,
sometimes not.

Another thing that bothers me is how do I disable switching
to another virtual desktop when mouse pointers gets outside
of the visible area? I've tried to find a setting that does
that, but I failed..


-- Igor

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] master 01/01: Add more messages to the pot

2013-12-20 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5e840d4b5cf7b960cc4bafbc417a62598be9496c

commit 5e840d4b5cf7b960cc4bafbc417a62598be9496c
Author: Igor Murzov 
Date:   Sat Dec 21 03:14:36 2013 +0400

Add more messages to the pot
---
 po/POTFILES.in | 5 +
 1 file changed, 5 insertions(+)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index ea89127..133d05d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -78,6 +78,7 @@ src/bin/e_place.c
 src/bin/e_pointer.c
 src/bin/e_popup.c
 src/bin/e_prefix.c
+src/bin/e_randr.c
 src/bin/e_remember.c
 src/bin/e_resist.c
 src/bin/e_screensaver.c
@@ -157,6 +158,7 @@ src/modules/conf_bindings/e_int_config_mousebindings.c
 src/modules/conf_bindings/e_int_config_signalbindings.c
 src/modules/conf_bindings/e_mod_main.c
 src/modules/conf_comp/e_mod_config.c
+src/modules/conf_comp/e_mod_config_match.c
 src/modules/conf_comp/e_mod_main.c
 src/modules/conf_dialogs/e_int_config_dialogs.c
 src/modules/conf_dialogs/e_int_config_profiles.c
@@ -209,6 +211,8 @@ 
src/modules/conf_window_manipulation/e_int_config_window_process.c
 src/modules/conf_window_manipulation/e_mod_main.c
 src/modules/conf_window_remembers/e_int_config_remembers.c
 src/modules/conf_window_remembers/e_mod_main.c
+src/modules/connman/agent.c
+src/modules/connman/e_mod_config.c
 src/modules/connman/e_mod_main.c
 src/modules/cpufreq/e_mod_main.c
 src/modules/cpufreq/e_mod_config.c
@@ -267,6 +271,7 @@ src/modules/start/e_mod_main.c
 src/modules/syscon/e_int_config_syscon.c
 src/modules/syscon/e_mod_main.c
 src/modules/syscon/e_syscon.c
+src/modules/syscon/e_syscon_gadget.c
 src/modules/systray/e_mod_main.c
 src/modules/systray/e_mod_xembed.c
 src/modules/tasks/e_mod_config.c

-- 




[EGIT] [core/enlightenment] enlightenment-0.18 01/01: Add more messages to the pot

2013-12-20 Thread Igor Murzov
garik pushed a commit to branch enlightenment-0.18.

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

commit 1f2cfda6dd592cc78a0a194404154c7629bcf00b
Author: Igor Murzov 
Date:   Sat Dec 21 03:14:36 2013 +0400

Add more messages to the pot
---
 po/POTFILES.in | 5 +
 1 file changed, 5 insertions(+)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index ea89127..133d05d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -78,6 +78,7 @@ src/bin/e_place.c
 src/bin/e_pointer.c
 src/bin/e_popup.c
 src/bin/e_prefix.c
+src/bin/e_randr.c
 src/bin/e_remember.c
 src/bin/e_resist.c
 src/bin/e_screensaver.c
@@ -157,6 +158,7 @@ src/modules/conf_bindings/e_int_config_mousebindings.c
 src/modules/conf_bindings/e_int_config_signalbindings.c
 src/modules/conf_bindings/e_mod_main.c
 src/modules/conf_comp/e_mod_config.c
+src/modules/conf_comp/e_mod_config_match.c
 src/modules/conf_comp/e_mod_main.c
 src/modules/conf_dialogs/e_int_config_dialogs.c
 src/modules/conf_dialogs/e_int_config_profiles.c
@@ -209,6 +211,8 @@ 
src/modules/conf_window_manipulation/e_int_config_window_process.c
 src/modules/conf_window_manipulation/e_mod_main.c
 src/modules/conf_window_remembers/e_int_config_remembers.c
 src/modules/conf_window_remembers/e_mod_main.c
+src/modules/connman/agent.c
+src/modules/connman/e_mod_config.c
 src/modules/connman/e_mod_main.c
 src/modules/cpufreq/e_mod_main.c
 src/modules/cpufreq/e_mod_config.c
@@ -267,6 +271,7 @@ src/modules/start/e_mod_main.c
 src/modules/syscon/e_int_config_syscon.c
 src/modules/syscon/e_mod_main.c
 src/modules/syscon/e_syscon.c
+src/modules/syscon/e_syscon_gadget.c
 src/modules/systray/e_mod_main.c
 src/modules/systray/e_mod_xembed.c
 src/modules/tasks/e_mod_config.c

-- 




[EGIT] [core/enlightenment] master 01/01: Update russian translation

2013-12-20 Thread Igor Murzov
garik pushed a commit to branch master.

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

commit ea1ae87962150c7ea92886884ba7443cc9e86a7a
Author: Igor Murzov 
Date:   Sat Dec 21 03:58:18 2013 +0400

Update russian translation
---
 po/ru.po | 477 +++
 1 file changed, 299 insertions(+), 178 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 54a5878..f602d88 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,8 +10,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Enlightenment 0.17\n"
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2013-12-18 02:49+0400\n"
-"PO-Revision-Date: 2013-12-18 02:32+0400\n"
+"POT-Creation-Date: 2013-12-21 03:15+0400\n"
+"PO-Revision-Date: 2013-12-21 03:15+0400\n"
 "Last-Translator: Игорь Мурзов \n"
 "Language-Team: ru \n"
 "Language: ru\n"
@@ -82,7 +82,7 @@ msgstr "Убить"
 #: src/bin/e_actions.c:375 src/bin/e_actions.c:2125 src/bin/e_actions.c:2219
 #: src/bin/e_actions.c:2279 src/bin/e_actions.c:2339 src/bin/e_actions.c:2404
 #: src/bin/e_actions.c:2469 src/bin/e_confirm_dialog.c:53
-#: src/bin/e_desklock.c:1245 src/bin/e_fm.c:10567 src/bin/e_fm.c:10933
+#: src/bin/e_desklock.c:1247 src/bin/e_fm.c:10567 src/bin/e_fm.c:10934
 #: src/bin/e_screensaver.c:190
 #: src/modules/quickaccess/e_mod_quickaccess.c:1290
 msgid "No"
@@ -98,7 +98,7 @@ msgstr "Действительно хотите выйти из Enlightenment?"
 
 #: src/bin/e_actions.c:2123 src/bin/e_actions.c:2217 src/bin/e_actions.c:2277
 #: src/bin/e_actions.c:2337 src/bin/e_actions.c:2402 src/bin/e_actions.c:2467
-#: src/bin/e_confirm_dialog.c:52 src/bin/e_desklock.c:1243
+#: src/bin/e_confirm_dialog.c:52 src/bin/e_desklock.c:1245
 #: src/bin/e_fm.c:10570 src/bin/e_screensaver.c:188
 #: src/modules/quickaccess/e_mod_quickaccess.c:1290
 msgid "Yes"
@@ -153,7 +153,7 @@ msgstr "Действительно хотите перевести систем
 msgid "Window : Actions"
 msgstr "Окно : Действия"
 
-#: src/bin/e_actions.c:2953 src/bin/e_fm.c:11701
+#: src/bin/e_actions.c:2953 src/bin/e_fm.c:11702
 #: src/bin/e_int_border_menu.c:694
 msgid "Move"
 msgstr "Переместить"
@@ -165,6 +165,8 @@ msgstr "Изменить размер"
 #: src/bin/e_actions.c:2975 src/bin/e_actions.c:3336 src/bin/e_actions.c:3338
 #: src/bin/e_actions.c:3340 src/bin/e_actions.c:3342 src/bin/e_actions.c:3344
 #: src/modules/conf_bindings/e_int_config_mousebindings.c:336
+#: src/modules/conf_comp/e_mod_config_match.c:83
+#: src/modules/conf_comp/e_mod_config_match.c:382
 msgid "Menu"
 msgstr "Меню"
 
@@ -315,6 +317,8 @@ msgstr "Переключить режим прикрепления"
 #: src/bin/e_actions.c:3221 src/bin/e_actions.c:3223 src/bin/e_actions.c:3436
 #: src/bin/e_actions.c:3441 src/bin/e_int_menus.c:186
 #: src/bin/e_int_shelf_config.c:293
+#: src/modules/conf_comp/e_mod_config_match.c:75
+#: src/modules/conf_comp/e_mod_config_match.c:374
 #: src/modules/conf_window_manipulation/e_int_config_clientlist.c:118
 #: src/modules/fileman/e_mod_menu.c:432 src/modules/gadman/e_mod_gadman.c:120
 #: src/modules/ibox/e_mod_config.c:166
@@ -728,6 +732,7 @@ msgstr "Переключить указанный модуль"
 #: src/modules/conf_theme/e_int_config_wallpaper.c:582
 #: src/modules/gadman/e_mod_config.c:252 src/modules/syscon/e_mod_main.c:31
 #: src/modules/syscon/e_mod_main.c:35 src/modules/syscon/e_mod_main.c:129
+#: src/modules/syscon/e_syscon_gadget.c:141
 msgid "System"
 msgstr "Система"
 
@@ -803,6 +808,7 @@ msgstr "Выбрать"
 #: src/modules/conf_bindings/e_int_config_signalbindings.c:624
 #: src/modules/conf_intl/e_int_config_imc_import.c:124
 #: src/modules/conf_theme/e_int_config_theme_import.c:123
+#: src/modules/connman/agent.c:251
 #: src/modules/fileman/e_int_config_mime_edit.c:316
 #: src/modules/quickaccess/e_mod_quickaccess.c:323
 #: src/modules/quickaccess/e_mod_quickaccess.c:385
@@ -872,7 +878,7 @@ msgstr "Изменить прозрачность текущего окна"
 msgid "Set current window opacity"
 msgstr "Задать прозрачность текущего окна"
 
-#: src/bin/e_config.c:972
+#: src/bin/e_config.c:972 src/bin/e_randr.c:176
 msgid ""
 "Settings data needed upgrading. Your old settings havebeen wiped and a "
 "new set of defaults initialized. Thiswill happen regularly during "
@@ -889,7 +895,7 @@ msgstr ""
 "который и был инициализирован. Можете настроить всё заново.Извините "
 "за неудобства."
 
-#: src/bin/e_config.c:989
+#: src/bin/e_config.c:989 src/bin/e_randr.c:191
 msgid ""
 "Your settings are NEWER than Enlightenment. This is verystrange. This "
 "should not happen unless you downgradedEnlightenment or copied the "
@@ -930,7 +93

[EGIT] [core/enlightenment] enlightenment-0.18 01/01: Update russian translation

2013-12-20 Thread Igor Murzov
garik pushed a commit to branch enlightenment-0.18.

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

commit 4fd80bc23609db886f02e758dcadedc85c74ed00
Author: Igor Murzov 
Date:   Sat Dec 21 03:58:18 2013 +0400

Update russian translation
---
 po/ru.po | 477 +++
 1 file changed, 299 insertions(+), 178 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 54a5878..f602d88 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,8 +10,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Enlightenment 0.17\n"
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2013-12-18 02:49+0400\n"
-"PO-Revision-Date: 2013-12-18 02:32+0400\n"
+"POT-Creation-Date: 2013-12-21 03:15+0400\n"
+"PO-Revision-Date: 2013-12-21 03:15+0400\n"
 "Last-Translator: Игорь Мурзов \n"
 "Language-Team: ru \n"
 "Language: ru\n"
@@ -82,7 +82,7 @@ msgstr "Убить"
 #: src/bin/e_actions.c:375 src/bin/e_actions.c:2125 src/bin/e_actions.c:2219
 #: src/bin/e_actions.c:2279 src/bin/e_actions.c:2339 src/bin/e_actions.c:2404
 #: src/bin/e_actions.c:2469 src/bin/e_confirm_dialog.c:53
-#: src/bin/e_desklock.c:1245 src/bin/e_fm.c:10567 src/bin/e_fm.c:10933
+#: src/bin/e_desklock.c:1247 src/bin/e_fm.c:10567 src/bin/e_fm.c:10934
 #: src/bin/e_screensaver.c:190
 #: src/modules/quickaccess/e_mod_quickaccess.c:1290
 msgid "No"
@@ -98,7 +98,7 @@ msgstr "Действительно хотите выйти из Enlightenment?"
 
 #: src/bin/e_actions.c:2123 src/bin/e_actions.c:2217 src/bin/e_actions.c:2277
 #: src/bin/e_actions.c:2337 src/bin/e_actions.c:2402 src/bin/e_actions.c:2467
-#: src/bin/e_confirm_dialog.c:52 src/bin/e_desklock.c:1243
+#: src/bin/e_confirm_dialog.c:52 src/bin/e_desklock.c:1245
 #: src/bin/e_fm.c:10570 src/bin/e_screensaver.c:188
 #: src/modules/quickaccess/e_mod_quickaccess.c:1290
 msgid "Yes"
@@ -153,7 +153,7 @@ msgstr "Действительно хотите перевести систем
 msgid "Window : Actions"
 msgstr "Окно : Действия"
 
-#: src/bin/e_actions.c:2953 src/bin/e_fm.c:11701
+#: src/bin/e_actions.c:2953 src/bin/e_fm.c:11702
 #: src/bin/e_int_border_menu.c:694
 msgid "Move"
 msgstr "Переместить"
@@ -165,6 +165,8 @@ msgstr "Изменить размер"
 #: src/bin/e_actions.c:2975 src/bin/e_actions.c:3336 src/bin/e_actions.c:3338
 #: src/bin/e_actions.c:3340 src/bin/e_actions.c:3342 src/bin/e_actions.c:3344
 #: src/modules/conf_bindings/e_int_config_mousebindings.c:336
+#: src/modules/conf_comp/e_mod_config_match.c:83
+#: src/modules/conf_comp/e_mod_config_match.c:382
 msgid "Menu"
 msgstr "Меню"
 
@@ -315,6 +317,8 @@ msgstr "Переключить режим прикрепления"
 #: src/bin/e_actions.c:3221 src/bin/e_actions.c:3223 src/bin/e_actions.c:3436
 #: src/bin/e_actions.c:3441 src/bin/e_int_menus.c:186
 #: src/bin/e_int_shelf_config.c:293
+#: src/modules/conf_comp/e_mod_config_match.c:75
+#: src/modules/conf_comp/e_mod_config_match.c:374
 #: src/modules/conf_window_manipulation/e_int_config_clientlist.c:118
 #: src/modules/fileman/e_mod_menu.c:432 src/modules/gadman/e_mod_gadman.c:120
 #: src/modules/ibox/e_mod_config.c:166
@@ -728,6 +732,7 @@ msgstr "Переключить указанный модуль"
 #: src/modules/conf_theme/e_int_config_wallpaper.c:582
 #: src/modules/gadman/e_mod_config.c:252 src/modules/syscon/e_mod_main.c:31
 #: src/modules/syscon/e_mod_main.c:35 src/modules/syscon/e_mod_main.c:129
+#: src/modules/syscon/e_syscon_gadget.c:141
 msgid "System"
 msgstr "Система"
 
@@ -803,6 +808,7 @@ msgstr "Выбрать"
 #: src/modules/conf_bindings/e_int_config_signalbindings.c:624
 #: src/modules/conf_intl/e_int_config_imc_import.c:124
 #: src/modules/conf_theme/e_int_config_theme_import.c:123
+#: src/modules/connman/agent.c:251
 #: src/modules/fileman/e_int_config_mime_edit.c:316
 #: src/modules/quickaccess/e_mod_quickaccess.c:323
 #: src/modules/quickaccess/e_mod_quickaccess.c:385
@@ -872,7 +878,7 @@ msgstr "Изменить прозрачность текущего окна"
 msgid "Set current window opacity"
 msgstr "Задать прозрачность текущего окна"
 
-#: src/bin/e_config.c:972
+#: src/bin/e_config.c:972 src/bin/e_randr.c:176
 msgid ""
 "Settings data needed upgrading. Your old settings havebeen wiped and a "
 "new set of defaults initialized. Thiswill happen regularly during "
@@ -889,7 +895,7 @@ msgstr ""
 "который и был инициализирован. Можете настроить всё заново.Извините "
 "за неудобства."
 
-#: src/bin/e_config.c:989
+#: src/bin/e_config.c:989 src/bin/e_randr.c:191
 msgid ""
 "Your settings are NEWER than Enlightenment. This is verystrange. This "
 "should not happen unless you downgradedEnlightenment or co

Re: [E-devel] ePeriodique 0.5

2014-01-02 Thread Igor Murzov
On Thu, 2 Jan 2014 12:49:48 +0900
Jérôme Pinot  wrote:

> Hi,
> 
> I updated ePeriodique, the EFL periodic table, to be compatible with the
> new elementary 1.8 theme.

Unfortunately, the new version looks worse than the previous one.
The header with title and buttons doesn't fit into my screen space,
buttons may be completely hidden.

Eperiodique 0.4: http://ge.tt/4DLHg3C1/v/0
Eperiodique 0.5: http://ge.tt/86Kyg3C1/v/0


-- Igor

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] mem module

2014-06-19 Thread Igor Murzov
On Wed, 02 Apr 2014 22:28:59 +0200
Massimo Maiurana  wrote:

> Hi,
> perhaps the mem module is the only monitoring module still left in
> legacy subversion. As Wido sent a patch for it in the users mailing
> list, can someone put it in enlightenment/core/modules so I can commit
> the patch?

The module has been ported to git now.


-- Igor

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] master 02/02: Properly use gettext for plural forms

2014-06-29 Thread Igor Murzov
garik pushed a commit to branch master.

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

commit af50cdc7e10e4fc8225c54049a2586692de610bd
Author: Igor Murzov 
Date:   Mon Jun 30 03:44:07 2014 +0400

Properly use gettext for plural forms
---
 src/modules/packagekit/e_mod_packagekit.c | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/modules/packagekit/e_mod_packagekit.c 
b/src/modules/packagekit/e_mod_packagekit.c
index 11685d3..aa07844 100644
--- a/src/modules/packagekit/e_mod_packagekit.c
+++ b/src/modules/packagekit/e_mod_packagekit.c
@@ -152,12 +152,10 @@ packagekit_popup_update(E_PackageKit_Instance *inst)
   }
  }
 
-   if (num_updates == 1)
- snprintf(buf, sizeof(buf), "%s", _("One update available"));
-   else if (num_updates > 1)
- snprintf(buf, sizeof(buf), _("%d updates available"), num_updates);
+   if (num_updates >= 1)
+ snprintf(buf, sizeof(buf), P_("One update available", "%d updates 
available", num_updates), num_updates);
else
- snprintf(buf, sizeof(buf), "%s", _("Your system is updated"));
+ snprintf(buf, sizeof(buf), _("Your system is updated"));
e_widget_label_text_set(inst->popup_label, buf);
 }
 

-- 




[EGIT] [core/enlightenment] master 01/02: Add some more messages to the pot file

2014-06-29 Thread Igor Murzov
garik pushed a commit to branch master.

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

commit e624345d3de20efa7cbd0ff2504f037ab84311f8
Author: Igor Murzov 
Date:   Mon Jun 30 03:41:50 2014 +0400

Add some more messages to the pot file
---
 po/POTFILES.in | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index f399035..b6b9394 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -11,6 +11,7 @@ src/bin/e_color.c
 src/bin/e_color_class.c
 src/bin/e_color_dialog.c
 src/bin/e_comp.c
+src/bin/e_comp_x.c
 src/bin/e_config.c
 src/bin/e_config_dialog.c
 src/bin/e_configure.c
@@ -50,11 +51,11 @@ src/bin/e_int_client_locks.c
 src/bin/e_int_client_menu.c
 src/bin/e_int_client_prop.c
 src/bin/e_int_client_remember.c
+src/bin/e_int_config_comp.c
+src/bin/e_int_config_comp_match.c
 src/bin/e_int_config_modules.c
 src/bin/e_int_gadcon_config.c
 src/bin/e_int_menus.c
-src/bin/e_int_config_comp.c
-src/bin/e_int_config_comp_match.c
 src/bin/e_int_shelf_config.c
 src/bin/e_int_toolbar_config.c
 src/bin/e_intl.c
@@ -208,8 +209,8 @@ src/modules/conf_window_remembers/e_mod_main.c
 src/modules/connman/agent.c
 src/modules/connman/e_mod_config.c
 src/modules/connman/e_mod_main.c
-src/modules/cpufreq/e_mod_main.c
 src/modules/cpufreq/e_mod_config.c
+src/modules/cpufreq/e_mod_main.c
 src/modules/cpufreq/freqset.c
 src/modules/everything/e_mod_main.c
 src/modules/everything/evry.c
@@ -257,6 +258,7 @@ src/modules/music-control/e_mod_main.c
 src/modules/music-control/ui.c
 src/modules/notification/e_mod_config.c
 src/modules/notification/e_mod_main.c
+src/modules/packagekit/e_mod_config.c
 src/modules/packagekit/e_mod_main.c
 src/modules/packagekit/e_mod_packagekit.c
 src/modules/pager/e_mod_config.c

-- 




[EGIT] [admin/devs] master 01/01: garik: Update e-mail

2014-07-01 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=2a4312d9ed3a7ad6ce9f64c19685698b7a398697

commit 2a4312d9ed3a7ad6ce9f64c19685698b7a398697
Author: Igor Murzov 
Date:   Tue Jul 1 13:16:52 2014 +0400

garik: Update e-mail
---
 developers/garik/info.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/developers/garik/info.txt b/developers/garik/info.txt
index dbb7191..0788bd2 100644
--- a/developers/garik/info.txt
+++ b/developers/garik/info.txt
@@ -2,7 +2,7 @@ Login:  garik
 IRC Nick:   GArik
 Name:   Igor Murzov
 Location:   Tver, Russia
-E-Mail: e-m...@date.by
-Managing:   webp loader for evas (?)
+E-Mail: i.mur...@yandex.ru
+Managing:   webp loader for evas
 Contributing:   gettext-related stuff
 Platform:   Slackware

-- 




[EGIT] [enlightenment/modules/places] master 02/04: Make size units translatable

2014-07-03 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=a2b248521965e10014c344a62c5bd77c96054945

commit a2b248521965e10014c344a62c5bd77c96054945
Author: Igor Murzov 
Date:   Fri Jul 4 02:12:40 2014 +0400

Make size units translatable
---
 po/POTFILES.in|  1 +
 src/e_mod_main.h  |  1 +
 src/e_mod_places.c| 12 ++--
 src/e_mod_udisks_eldbus.c |  3 ++-
 4 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 905efda..5cc1a9b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,3 +2,4 @@ src/e_mod_config.c
 src/e_mod_main.c
 src/e_mod_main.h
 src/e_mod_places.c
+src/e_mod_udisks_eldbus.c
diff --git a/src/e_mod_main.h b/src/e_mod_main.h
index b78b560..8720d8e 100644
--- a/src/e_mod_main.h
+++ b/src/e_mod_main.h
@@ -9,6 +9,7 @@
 # define bind_textdomain_codeset(domain,codeset)
 # define D_(string) (string)
 #endif
+#define N_(string) (string)
 
 /* Macros used for config file versioning */
 #define MOD_CONFIG_FILE_EPOCH 0x0001
diff --git a/src/e_mod_places.c b/src/e_mod_places.c
index d186d32..cba6dc2 100644
--- a/src/e_mod_places.c
+++ b/src/e_mod_places.c
@@ -596,30 +596,30 @@ _places_human_size_get(unsigned long long size)
 
dsize = (double)size;
if (dsize < 1024)
- snprintf(hum, sizeof(hum), "%.0fb", dsize);
+ snprintf(hum, sizeof(hum), "%.0f%s", dsize, D_("b"));
else
  {
 dsize /= 1024.0;
 if (dsize < 1024)
-  suffix = "KB";
+  suffix = N_("KB");
 else
   {
  dsize /= 1024.0;
  if (dsize < 1024)
-   suffix = "MB";
+   suffix = N_("MB");
  else
{
   dsize /= 1024.0;
   if(dsize < 1024)
-suffix = "GB";
+suffix = N_("GB");
   else
 {
dsize /= 1024.0;
-   suffix = "TB";
+   suffix = N_("TB");
 }
}
   }
-snprintf(hum, sizeof(hum), "%.1f%s", dsize, suffix);
+snprintf(hum, sizeof(hum), "%.1f%s", dsize, D_(suffix));
  }
 
return eina_stringshare_add(hum);
diff --git a/src/e_mod_udisks_eldbus.c b/src/e_mod_udisks_eldbus.c
index 8dfdd9e..98c7de4 100644
--- a/src/e_mod_udisks_eldbus.c
+++ b/src/e_mod_udisks_eldbus.c
@@ -7,6 +7,7 @@
 
 #include 
 #include 
+#include "e_mod_main.h"
 #include "e_mod_places.h"
 
 
@@ -338,7 +339,7 @@ _places_udisks_volume_task_cb(void *data, const 
Eldbus_Message *msg,
if (eldbus_message_error_get(msg, NULL, NULL))
{
   eldbus_message_arguments_get(msg,"s", &str);
-  e_util_dialog_internal("Operation failed", str);
+  e_util_dialog_internal(D_("Operation failed"), str);
}
 }
 

-- 




[EGIT] [enlightenment/modules/places] master 01/04: Display sizes >= 1TB in terse format as well.

2014-07-03 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=701f72dae290f5feabf86590634f050fb89d1427

commit 701f72dae290f5feabf86590634f050fb89d1427
Author: Igor Murzov 
Date:   Fri Jul 4 02:07:22 2014 +0400

Display sizes >= 1TB in terse format as well.
---
 src/e_mod_places.c | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/e_mod_places.c b/src/e_mod_places.c
index 7891e98..d186d32 100644
--- a/src/e_mod_places.c
+++ b/src/e_mod_places.c
@@ -610,7 +610,13 @@ _places_human_size_get(unsigned long long size)
  else
{
   dsize /= 1024.0;
-  suffix = "GB";
+  if(dsize < 1024)
+suffix = "GB";
+  else
+{
+   dsize /= 1024.0;
+   suffix = "TB";
+}
}
   }
 snprintf(hum, sizeof(hum), "%.1f%s", dsize, suffix);

-- 




[EGIT] [enlightenment/modules/places] master 04/04: Update russian translation

2014-07-03 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=818c460775fc326696205d7d55616fb58c4010aa

commit 818c460775fc326696205d7d55616fb58c4010aa
Author: Igor Murzov 
Date:   Fri Jul 4 02:55:37 2014 +0400

Update russian translation
---
 po/ru.po | 88 ++--
 1 file changed, 58 insertions(+), 30 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 15d464d..4bcf48a 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -3,78 +3,82 @@
 # This file is distributed under the same license as the enlightenment package.
 # Serguey G Basalaev , 2009.
 # Black Raven, 2009.
-# Igor Murzov , 2012, 2013.
+# Igor Murzov , 2012-2014.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: enlightenment\n"
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2013-01-08 02:30+0400\n"
-"PO-Revision-Date: 2013-01-08 02:39+0400\n"
-"Last-Translator: Igor Murzov \n"
+"POT-Creation-Date: 2014-07-04 01:32+0400\n"
+"PO-Revision-Date: 2014-07-04 01:39+0400\n"
+"Last-Translator: Игорь Мурзов \n"
 "Language-Team: Russian \n"
 "Language: ru\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: src/e_mod_config.c:54
+#: src/e_mod_config.c:55
 msgid "Places Settings"
 msgstr "Настройка Мест"
 
-#: src/e_mod_config.c:136
+#: src/e_mod_config.c:138
 msgid "General"
 msgstr "Общее"
 
-#: src/e_mod_config.c:139
+#: src/e_mod_config.c:141
 msgid "Show in main menu"
 msgstr "Показывать в главном меню"
 
-#: src/e_mod_config.c:143
+#: src/e_mod_config.c:145
 msgid "Hide the gadget header"
 msgstr "Скрыть заголовок гаджета"
 
-#: src/e_mod_config.c:147
+#: src/e_mod_config.c:149
+msgid "Auto close the popup"
+msgstr "Автоматически закрывать всплывающее окно"
+
+#: src/e_mod_config.c:153
 msgid "Mount volumes at boot"
 msgstr "Монтировать тома при старте системы"
 
-#: src/e_mod_config.c:151
+#: src/e_mod_config.c:157
 msgid "Mount volumes on insert"
 msgstr "Монтировать тома при подключении"
 
-#: src/e_mod_config.c:155
+#: src/e_mod_config.c:161
 msgid "Open filemanager on insert"
 msgstr "Открыть файловый менеджер при подключении"
 
-#: src/e_mod_config.c:162
+#: src/e_mod_config.c:168
 msgid "Use a custom file manager"
 msgstr "Использовать пользовательский файловый менеджер"
 
-#: src/e_mod_config.c:175
+#: src/e_mod_config.c:181
 msgid "Show in menu"
 msgstr "Показывать в меню"
 
-#: src/e_mod_config.c:178 src/e_mod_places.c:774
+#: src/e_mod_config.c:184 src/e_mod_places.c:800
 msgid "Home"
 msgstr "Домашний каталог"
 
-#: src/e_mod_config.c:181 src/e_mod_places.c:783
+#: src/e_mod_config.c:187 src/e_mod_places.c:809
 msgid "Desktop"
 msgstr "Рабочий стол"
 
-#: src/e_mod_config.c:184 src/e_mod_places.c:793
+#: src/e_mod_config.c:190 src/e_mod_places.c:818
 msgid "Trash"
 msgstr "Корзина"
 
-#: src/e_mod_config.c:187 src/e_mod_places.c:618 src/e_mod_places.c:802
+#: src/e_mod_config.c:193 src/e_mod_places.c:649 src/e_mod_places.c:827
 msgid "Filesystem"
 msgstr "Файловая система"
 
-#: src/e_mod_config.c:190 src/e_mod_places.c:811
+#: src/e_mod_config.c:196 src/e_mod_places.c:836
 msgid "Temp"
 msgstr "Временные файлы"
 
-#: src/e_mod_config.c:193
+#: src/e_mod_config.c:199
 msgid "Favorites"
 msgstr "Избранное"
 
@@ -82,24 +86,24 @@ msgstr "Избранное"
 msgid "Files"
 msgstr "Файлы"
 
-#: src/e_mod_main.c:61 src/e_mod_main.c:298 src/e_mod_places.c:236
-#: src/e_mod_places.c:868
+#: src/e_mod_main.c:61 src/e_mod_main.c:315 src/e_mod_places.c:265
+#: src/e_mod_places.c:893
 msgid "Places"
 msgstr "Места"
 
-#: src/e_mod_main.c:394
+#: src/e_mod_main.c:412
 msgid "Places Configuration Updated"
 msgstr "Настройки Мест обновлены"
 
-#: src/e_mod_main.c:434
+#: src/e_mod_main.c:534
 msgid "Settings"
 msgstr "Настройки"
 
-#: src/e_mod_places.c:599
+#: src/e_mod_places.c:497
 msgid "Warning"
 msgstr "Предупреждение"
 
-#: src/e_mod_places.c:600
+#: src/e_mod_places.c:498
 msgid ""
 "Cannot run the Enlightenment FileManager.Please choose a custom "
 "file manager inthe gadget configuration."
@@ -107,23 +111,47 @@ msgstr ""
 "Не удалось запустить EFM.Пожалуйста, выберите другой файловый "
 "менеджерв настройках гаджета."
 
-#: src/e_mod_places.c:622
+#: src/e_mod_places.c:599
+msgid "b"
+msgstr "Б"
+
+#: s

[EGIT] [enlightenment/modules/places] master 03/04: Restore french translation that was lost in 45eaf4422d

2014-07-03 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=160db1e6803472735ba01b8d52a75061a5952633

commit 160db1e6803472735ba01b8d52a75061a5952633
Author: Igor Murzov 
Date:   Fri Jul 4 02:38:45 2014 +0400

Restore french translation that was lost in 45eaf4422d

This partially reverts commit 45eaf4422d
---
 po/fr.po | 58 ++
 1 file changed, 30 insertions(+), 28 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index eb01bf9..b5552c5 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,15 +7,15 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Places module\n"
 "Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
-"POT-Creation-Date: 2013-06-21 01:05+0200\n"
-"PO-Revision-Date: 2013-06-20 06:58+\n"
-"Last-Translator: Eliovir \n"
+"POT-Creation-Date: 2013-05-22 20:28+0200\n"
+"PO-Revision-Date: 2012-12-21 19:41+\n"
+"Last-Translator: batden \n"
 "Language-Team: Enlightenment French Team \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-06-22 05:38+\n"
-"X-Generator: Launchpad (build 16677)\n"
+"X-Launchpad-Export-Date: 2013-05-23 05:28+\n"
+"X-Generator: Launchpad (build 16640)\n"
 "X-Poedit-Country: FRANCE\n"
 "Language: \n"
 "X-Poedit-Language: French\n"
@@ -23,19 +23,19 @@ msgstr ""
 
 #: src/e_mod_config.c:55
 msgid "Places Settings"
-msgstr ""
+msgstr "Paramétrage de Raccourcis"
 
 #: src/e_mod_config.c:138
 msgid "General"
-msgstr ""
+msgstr "Paramètres généraux"
 
 #: src/e_mod_config.c:141
 msgid "Show in main menu"
-msgstr ""
+msgstr "Afficher dans le menu principal"
 
 #: src/e_mod_config.c:145
 msgid "Hide the gadget header"
-msgstr ""
+msgstr "Masquer l'en-tête du gadget"
 
 #: src/e_mod_config.c:149
 msgid "Auto close the popup"
@@ -47,56 +47,56 @@ msgstr ""
 
 #: src/e_mod_config.c:157
 msgid "Mount volumes on insert"
-msgstr ""
+msgstr "Montage des volumes à l'insertion"
 
 #: src/e_mod_config.c:161
 msgid "Open filemanager on insert"
-msgstr ""
+msgstr "Ouvrir le gestionnaire de fichiers à l'insertion"
 
 #: src/e_mod_config.c:168
 msgid "Use a custom file manager"
-msgstr ""
+msgstr "Utiliser un gestionnaire de fichiers personnalisé"
 
 #: src/e_mod_config.c:181
 msgid "Show in menu"
-msgstr ""
+msgstr "Afficher dans le menu"
 
 #: src/e_mod_config.c:184 src/e_mod_places.c:803
 msgid "Home"
-msgstr ""
+msgstr "Dossier personnel"
 
 #: src/e_mod_config.c:187 src/e_mod_places.c:812
 msgid "Desktop"
-msgstr ""
+msgstr "Bureau"
 
 #: src/e_mod_config.c:190 src/e_mod_places.c:821
 msgid "Trash"
-msgstr ""
+msgstr "Corbeille"
 
 #: src/e_mod_config.c:193 src/e_mod_places.c:652 src/e_mod_places.c:830
 msgid "Filesystem"
-msgstr ""
+msgstr "Racine"
 
 #: src/e_mod_config.c:196 src/e_mod_places.c:839
 msgid "Temp"
-msgstr ""
+msgstr "/tmp"
 
 #: src/e_mod_config.c:199
 msgid "Favorites"
-msgstr ""
+msgstr "Favoris"
 
 #: src/e_mod_main.c:59
 msgid "Files"
-msgstr ""
+msgstr "Fichiers"
 
 #: src/e_mod_main.c:61 src/e_mod_main.c:329 src/e_mod_places.c:274
 #: src/e_mod_places.c:896
 msgid "Places"
-msgstr ""
+msgstr "Raccourcis"
 
 #: src/e_mod_main.c:426
 msgid "Places Configuration Updated"
-msgstr ""
+msgstr "Configuration de Raccourcis actualisée"
 
 #: src/e_mod_main.c:542
 msgid "Settings"
@@ -104,31 +104,33 @@ msgstr "Configuration"
 
 #: src/e_mod_places.c:506
 msgid "Warning"
-msgstr ""
+msgstr "Avertissement"
 
 #: src/e_mod_places.c:507
 msgid ""
 "Cannot run the Enlightenment FileManager.Please choose a custom "
 "file manager inthe gadget configuration."
 msgstr ""
+"Impossible d'exécuter EFM.Veuillez choisir un gestionnaire de "
+"fichierspersonnalisé dans la configuration du gadget."
 
 #: src/e_mod_places.c:656
 msgid "No Name"
-msgstr ""
+msgstr "Sans nom"
 
 #: src/e_mod_places.c:663
 msgid "free of"
-msgstr ""
+msgstr "de libre sur"
 
 #: src/e_mod_places.c:669
 #, c-format
 msgid "%s Not Mounted"
-msgstr ""
+msgstr "%s Pas Monté"
 
 #: src/e_mod_places.c:696
 msgid "unmount"
-msgstr ""
+msgstr "démonter"
 
 #: src/e_mod_places.c:701
 msgid "eject"
-msgstr ""
+msgstr "éjecter"

-- 




[EGIT] [enlightenment/modules/eweather] master 01/01: Adapt to E19 changes

2014-07-05 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/eweather.git/commit/?id=9efb4d51644c46c144bbb35ce5c59370e4fc1668

commit 9efb4d51644c46c144bbb35ce5c59370e4fc1668
Author: Igor Murzov 
Date:   Sat Jul 5 04:05:49 2014 +0400

Adapt to E19 changes
---
 configure.ac  | 4 ++--
 src/module/e_mod_config.c | 4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9506c6b..d416846 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,7 +44,7 @@ PKG_PROG_PKG_CONFIG
 AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 AC_SUBST(dlopen_libs)
 
-PKG_CHECK_MODULES(E, [enlightenment
+PKG_CHECK_MODULES(E, [enlightenment >= 0.18.99
   eweather])
 release=$(pkg-config --variable=release enlightenment)
 MODULE_ARCH="$host_os-$host_cpu-$release"
@@ -52,7 +52,7 @@ AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
 
 # Find edje_cc
-PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
+PKG_CHECK_MODULES(EDJE, [edje >= 1.8])
 AC_ARG_WITH(edje-cc,
   AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]),
   [
diff --git a/src/module/e_mod_config.c b/src/module/e_mod_config.c
index 4f14376..1c553bf 100644
--- a/src/module/e_mod_config.c
+++ b/src/module/e_mod_config.c
@@ -100,7 +100,6 @@ weather_config_dialog(Config_Item *ci)
 {
 E_Config_Dialog *cfd = NULL;
 E_Config_Dialog_View *v = NULL;
-E_Container *con;
 char buf[4096];
 
 if (e_config_dialog_find("eweather", "extensions/eweather")) return NULL;
@@ -118,8 +117,7 @@ weather_config_dialog(Config_Item *ci)
 snprintf(buf, sizeof(buf), "%s/eweather.edj", weather_cfg->mod_dir);
 
 /* create new config dialog */
-con = e_container_current_get(e_manager_current_get());
-cfd = e_config_dialog_new(con, D_("EWeather Configuration"), "eweather",
+cfd = e_config_dialog_new(NULL, D_("EWeather Configuration"), "eweather",
  "extensions/eweather", buf, 0, v, ci);
 
 return cfd;

-- 




[EGIT] [enlightenment/modules/mem] master 01/03: po/ru.po: Convert to UTF-8

2014-07-05 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/mem.git/commit/?id=df3ca660127adbdfe8ea74b6007b0d54ebcba45d

commit df3ca660127adbdfe8ea74b6007b0d54ebcba45d
Author: Igor Murzov 
Date:   Fri Jul 4 16:28:05 2014 +0400

po/ru.po: Convert to UTF-8
---
 po/ru.po | 26 +-
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index f4b646e..05fcbbc 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -11,45 +11,45 @@ msgstr ""
 "Last-Translator: Stanislav Sedov \n"
 "Language-Team: none\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=koi8-r\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
 #: ../src/e_mod_config.c:43
 msgid "Mem Configuration"
-msgstr "� �� mem"
+msgstr "Параметры модуля mem"
 
 #: ../src/e_mod_config.c:92
 msgid "General Settings"
-msgstr " �"
+msgstr "Основные параметры"
 
 #: ../src/e_mod_config.c:94
 msgid "Always Show Text"
-msgstr "�� �� � ���"
+msgstr "Всегда отображать текстовые подписи"
 
 #: ../src/e_mod_config.c:96
 msgid "Show Text On Mouse Over"
-msgstr "�� � ��� ��� � � "
+msgstr "Отображать текстовые подписи при наведении указателя мыши"
 
 #: ../src/e_mod_config.c:99
 msgid "Show Text As Percent"
-msgstr "��  � �"
+msgstr "Отображать значения в процентах"
 
 #: ../src/e_mod_config.c:104
 msgid "Ignore Buffers"
-msgstr " �� � ���"
+msgstr "Игнорировать память в буферах"
 
 #: ../src/e_mod_config.c:108
 msgid "Ignore Cached"
-msgstr " �� ��� "
+msgstr "Игнорировать память для кеша"
 
 #: ../src/e_mod_config.c:112
 msgid "Check Interval:"
-msgstr " :"
+msgstr "Интервал проверки:"
 
 #: ../src/e_mod_config.c:115
 #, c-format
 msgid "%1.0f seconds"
-msgstr "%1.0f ��(�)"
+msgstr "%1.0f секунд(ы)"
 
 #: ../src/e_mod_main.c:105
 msgid "Mem"
@@ -57,10 +57,10 @@ msgstr "Mem"
 
 #: ../src/e_mod_main.c:162
 msgid "Configuration"
-msgstr "�"
+msgstr "Настройка"
 
 #~ msgid "Enlightenment Mem Monitor Module"
-#~ msgstr "��  �� ���"
+#~ msgstr "Модуль слежения за памятью"
 
 #~ msgid "This module is used to monitor memory."
-#~ msgstr " ��  ���  �� �� ��."
+#~ msgstr "Этот модуль используется для слежения за состоянием памяти."

-- 




[EGIT] [enlightenment/modules/mem] master 03/03: Revert "updating desktop files"

2014-07-05 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/mem.git/commit/?id=299613e094ad3a6efb59b1623e058a66e3a88c71

commit 299613e094ad3a6efb59b1623e058a66e3a88c71
Author: Igor Murzov 
Date:   Sat Jul 5 14:19:24 2014 +0400

Revert "updating desktop files"

This reverts commit 72dac3e1cf92afcb99f4df74c8bab38f1c626357.
---
 module.desktop.in | 12 
 1 file changed, 12 deletions(-)

diff --git a/module.desktop.in b/module.desktop.in
index 6adc5f8..eb3ebd5 100644
--- a/module.desktop.in
+++ b/module.desktop.in
@@ -2,24 +2,12 @@
 Encoding=UTF-8
 Type=Link
 Name=Mem
-Name[Name]=Mem
-Name[ab]=
-Name[ca]=
-Name[cs]=
-Name[de]=
 Name[el]=Μνήμη
 Name[eo]=Memoro
-Name[es]=
 Name[fr]=Mémoire
-Name[gl]=
 Name[hu]=Memória
-Name[it]=
-Name[ja]=
-Name[ko]=
 Name[pt]=Memória
 Name[ru]=Память
-Name[sr]=
-Name[tr]=
 Comment=Used to monitor memory utilization.
 Comment[cs]=Zobrazí využití paměti.
 Comment[el]=Χρησιμοποιείται για την παρατήρηση της μνήμης.

-- 




[EGIT] [enlightenment/modules/mem] master 02/03: Add .gitignore

2014-07-05 Thread Igor Murzov
garik pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/mem.git/commit/?id=41bf331e6441156f8f9f84a8cee66655a0f96e41

commit 41bf331e6441156f8f9f84a8cee66655a0f96e41
Author: Igor Murzov 
Date:   Sat Jul 5 14:10:34 2014 +0400

Add .gitignore
---
 .gitignore | 47 +++
 1 file changed, 47 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..f9399ff
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,47 @@
+*~
+*.o
+*.lo
+*.la
+ABOUT-NLS
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.cache/
+config.guess
+config.h
+config.h.in
+config.log
+config.rpath
+config.status
+config.sub
+configure
+depcomp
+e-module-mem.edj
+e_modules-mem.spec
+install-sh
+libtool
+ltmain.sh
+m4/*.m4
+mem.edj
+missing
+mkinstalldirs
+module.desktop
+po/*.gmo
+po/Makefile
+po/Makefile.in
+po/Makefile.in.in
+po/Makevars.template
+po/POTFILES
+po/Rules-quot
+po/boldquot.sed
+po/en@boldquot.header
+po/en@quot.header
+po/insert-header.sin
+po/mem.pot
+po/quot.sed
+po/remove-potcdate.sed
+po/remove-potcdate.sin
+po/stamp-po
+src/.deps/
+src/.libs/
+stamp-h1

-- 




  1   2   >