E CVS: libs/evas ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/data


Modified Files:
evas_list.c 


Log Message:
Fix evas_list_promote_list to allow promoting to arbitrary points in the list.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/data/evas_list.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evas_list.c 4 Aug 2006 10:00:49 -   1.25
+++ evas_list.c 4 Aug 2006 10:47:06 -   1.26
@@ -449,7 +449,10 @@
  return_l = move_list->next;
if (move_list == ((Evas_List_Accounting *)(list->accounting))->last)
  ((Evas_List_Accounting *)(list->accounting))->last = move_list->prev;
-   move_list->prev = NULL;
+   move_list->prev = return_l->prev;
+   if (return_l->prev)
+ return_l->prev->next = move_list;
+   return_l->prev = move_list;
move_list->next = return_l;
return move_list;
 }



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_font_dir.c 


Log Message:
Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_font_dir.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- evas_font_dir.c 9 Jun 2006 05:11:37 -   1.24
+++ evas_font_dir.c 4 Aug 2006 10:00:49 -   1.25
@@ -151,8 +151,7 @@
   {
  if (size == fd->size)
{
-  fonts_cache = evas_list_remove_list(fonts_cache, l);
-  fonts_cache = evas_list_prepend(fonts_cache, fd);
+  fonts_cache = evas_list_promote_list(fonts_cache, l);
   fd->ref++;
   return fd->font;
}



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c 


Log Message:
Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- evas_image_load.c   15 Jan 2006 06:21:04 -  1.28
+++ evas_image_load.c   4 Aug 2006 10:00:49 -   1.29
@@ -66,8 +66,7 @@
  {
 if (evas_modules != l)
   {
- evas_modules = evas_list_remove_list(evas_modules, l);
- evas_modules = evas_list_prepend(evas_modules, em);
+ evas_modules = evas_list_promote_list(evas_modules, l);
   }
 goto ok;
  }



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/data


Modified Files:
evas_list.c 


Log Message:
Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/data/evas_list.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- evas_list.c 27 Jul 2006 19:33:04 -  1.24
+++ evas_list.c 4 Aug 2006 10:00:49 -   1.25
@@ -404,6 +404,59 @@
 }
 
 /**
+ * Moves the specified data to the head of the list
+ *
+ * Move a specified member to the head of the list
+ * @param list The list handle to move @p inside
+ * @param move_list The list node which is to be moved
+ * @return A new list handle to replace the old one
+ *
+ * Calling this function takes the list node @p move_list and moves it
+ * to the front of the @p list.
+ *
+ * Example:
+ * @code
+ * extern Evas_List *list;
+ * Evas_List *l;
+ * extern void *my_data;
+ *
+ * for (l = list; l; l= l->next)
+ *   {
+ * if (l->data == my_data)
+ *   {
+ * list = evas_list_promote_list(list, l);
+ * break;
+ *   }
+ *   }
+ * @endcode
+ * @ingroup Evas_List_Promote_Group
+ */
+EAPI Evas_List *
+evas_list_promote_list(Evas_List *list, Evas_List *move_list)
+{
+   Evas_List *return_l;
+
+   if (!list) return NULL;
+   if (!move_list) return list;
+   if (move_list == list) return list;
+   if (move_list->next) move_list->next->prev = move_list->prev;
+   if (move_list->prev)
+ {
+   move_list->prev->next = move_list->next;
+   return_l = list;
+ }
+   else
+ return_l = move_list->next;
+   if (move_list == ((Evas_List_Accounting *)(list->accounting))->last)
+ ((Evas_List_Accounting *)(list->accounting))->last = move_list->prev;
+   move_list->prev = NULL;
+   move_list->next = return_l;
+   return move_list;
+}
+
+
+
+/**
  * @defgroup Evas_List_Find_Group Linked List Find Functions
  *
  * Functions that find specified data in a linked list.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Modified Files:
Evas.h 


Log Message:
Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- Evas.h  3 Aug 2006 02:14:53 -   1.87
+++ Evas.h  4 Aug 2006 10:00:49 -   1.88
@@ -319,6 +319,7 @@
EAPI Evas_List*evas_list_prepend_relative_list   (Evas_List *list, 
const void *data, Evas_List *relative);
EAPI Evas_List*evas_list_remove  (Evas_List *list, 
const void *data);
EAPI Evas_List*evas_list_remove_list (Evas_List *list, 
Evas_List *remove_list);
+   EAPI Evas_List*evas_list_promote_list (Evas_List *list, 
Evas_List *move_list);
EAPI void *evas_list_find(Evas_List *list, 
const void *data);
EAPI Evas_List*evas_list_find_list   (Evas_List *list, 
const void *data);
EAPI Evas_List*evas_list_free(Evas_List *list);



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/file


Modified Files:
evas_module.c 


Log Message:
Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- evas_module.c   31 May 2006 18:33:45 -  1.16
+++ evas_module.c   4 Aug 2006 10:00:50 -   1.17
@@ -207,8 +207,7 @@
  {
  if (evas_modules != l)
   {
- evas_modules = evas_list_remove_list(evas_modules, l);
- evas_modules = evas_list_prepend(evas_modules, em);
+ evas_modules = evas_list_promote_list(evas_modules, l);
   }
 return em;
  }



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/edje rephorm

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/edje

Dir : e17/libs/edje/src/lib


Modified Files:
edje_load.c 


Log Message:
... more whistling

===
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_load.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -3 -r1.88 -r1.89
--- edje_load.c 4 Aug 2006 08:40:03 -   1.88
+++ edje_load.c 4 Aug 2006 09:00:35 -   1.89
@@ -807,6 +807,8 @@
if (desc->text.text_class) evas_stringshare_del(desc->text.text_class);
if (desc->text.style)  evas_stringshare_del(desc->text.style);
if (desc->text.font)   evas_stringshare_del(desc->text.font);
+   if (desc->gradient.type)   evas_stringshare_del(desc->gradient.type);
+   if (desc->gradient.params) evas_stringshare_del(desc->gradient.params);
free(desc);
 }
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/edje rephorm

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/edje

Dir : e17/libs/edje/src/bin


Modified Files:
edje_cc_out.c 


Log Message:
add some validation to spectra

===
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- edje_cc_out.c   2 Aug 2006 10:52:44 -   1.49
+++ edje_cc_out.c   4 Aug 2006 08:55:05 -   1.50
@@ -154,22 +154,37 @@
 static void
 check_program (Edje_Part_Collection *pc, Edje_Program *ep, Eet_File *ef)
 {
-   switch (ep->action) {
+   switch (ep->action) 
+ {
   case EDJE_ACTION_TYPE_STATE_SET:
   case EDJE_ACTION_TYPE_ACTION_STOP:
   case EDJE_ACTION_TYPE_DRAG_VAL_SET:
   case EDJE_ACTION_TYPE_DRAG_VAL_STEP:
   case EDJE_ACTION_TYPE_DRAG_VAL_PAGE:
-if (!ep->targets) {
+if (!ep->targets) 
+  {
  fprintf(stderr, "%s: Error. collection %i: "
"target missing in program %s\n",
progname, pc->id, ep->name);
  ABORT_WRITE(ef, file_out);
-}
+  }
 break;
   default:
 break;
-   }
+ }
+}
+
+static void
+check_spectrum (Edje_Spectrum_Directory_Entry *se, Eet_File *ef)
+{
+   if (!se->entry) 
+ fprintf(stderr, "%s: Error. Spectrum missing a name.\n", progname);
+   else if (!se->color_list)
+ fprintf(stderr, "%s: Error. Spectrum %s is empty. At least one color must 
be given.", progname, se->entry);
+   else
+ return;
+
+   ABORT_WRITE(ef, file_out);
 }
 
 void
@@ -497,6 +512,13 @@
 ABORT_WRITE(ef, file_out);
  }
  }
+   /* check that all spectra are valid */
+   for (l = edje_file->spectrum_dir->entries; l; l = l->next)
+ {
+   Edje_Spectrum_Directory_Entry *se;
+   se = l->data;
+   check_spectrum(se, ef);
+ }
/* sanity checks for parts and programs */
for (l = edje_collections; l; l = l->next)
  {
@@ -915,7 +937,6 @@

il = spectrum_lookups->data;
 
-   printf("spectrum lookup\n");
if (!edje_file->spectrum_dir)
  l = NULL;
else
@@ -928,7 +949,6 @@
  *(il->dest) = 1;
  if ((de->entry) && (!strcmp(de->entry, il->name)))
{
-  printf("found spectrum: %s (%d)\n", de->entry, de->id);
   handle_slave_lookup(spectrum_slave_lookups, il->dest, 
de->id);
   *(il->dest) = de->id;
   break;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/edje rephorm

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/edje

Dir : e17/libs/edje/src/lib


Modified Files:
edje_load.c 


Log Message:
nothing to see here... *whistling*

===
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_load.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- edje_load.c 2 Aug 2006 10:52:44 -   1.87
+++ edje_load.c 4 Aug 2006 08:40:03 -   1.88
@@ -647,6 +647,23 @@
  }
free(edf->collection_dir);
  }
+   if (edf->spectrum_dir)
+ {
+   while (edf->spectrum_dir->entries)
+ {
+Edje_Spectrum_Directory_Entry *se;
+
+se = edf->spectrum_dir->entries->data;
+edf->spectrum_dir->entries = 
+   evas_list_remove(edf->spectrum_dir->entries, se);
+while (se->color_list)
+  se->color_list = evas_list_remove(se->color_list, 
se->color_list->data);
+if (se->entry) evas_stringshare_del(se->entry);
+if (se->filename) evas_stringshare_del(se->filename);
+free(se);
+ }
+   free(edf->spectrum_dir);
+ }
while (edf->data)
  {
Edje_Data *edt;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore quan74

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : quan74
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_fb


Modified Files:
Makefile.am 


Log Message:
Makefile fix - add ecore_fb_keytable.hto EXTRA_DIST

===
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_fb/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- Makefile.am 31 Jul 2006 04:13:51 -  1.9
+++ Makefile.am 4 Aug 2006 07:59:18 -   1.10
@@ -35,4 +35,5 @@
 EXTRA_DIST = \
 Ecore_Fb.h \
 ecore_fb.c \
-ecore_fb_private.h
+ecore_fb_private.h \
+ecore_fb_keytable.h



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/estickies/data


Modified Files:
Makefile.am 


Log Message:
add an about dialog

===
RCS file: /cvs/e/e17/proto/estickies/data/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 30 Jul 2006 04:46:29 -  1.1
+++ Makefile.am 4 Aug 2006 04:30:40 -   1.2
@@ -1,2 +1,2 @@
 MAINTAINERCLEANFILES = Makefile.in
-SUBDIRS = themes
+SUBDIRS = images themes



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/estickies


Modified Files:
configure.in 


Log Message:
add an about dialog

===
RCS file: /cvs/e/e17/proto/estickies/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in31 Jul 2006 00:31:45 -  1.2
+++ configure.in4 Aug 2006 04:30:40 -   1.3
@@ -140,6 +140,7 @@
 src/Makefile
 src/bin/Makefile
 data/Makefile
+data/images/Makefile
 data/themes/Makefile
 data/themes/default/Makefile
 data/themes/default/images/Makefile



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/estickies/data/images


Added Files:
Makefile.am estickies.png 


Log Message:
add an about dialog




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/estickies/src/bin


Modified Files:
Makefile.am stickies.c stickies.h theme_chooser.h 
Added Files:
about.c about.h 


Log Message:
add an about dialog

===
RCS file: /cvs/e/e17/proto/estickies/src/bin/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 31 Jul 2006 00:31:45 -  1.2
+++ Makefile.am 4 Aug 2006 04:30:40 -   1.3
@@ -18,6 +18,7 @@
 stickies.c \
 conf.c \
 theme_chooser.c \
+about.c \
 $(estickies_INCLUDES)
 
 estickies_LDADD = @my_libs@
===
RCS file: /cvs/e/e17/proto/estickies/src/bin/stickies.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- stickies.c  3 Aug 2006 02:40:11 -   1.4
+++ stickies.c  4 Aug 2006 04:30:40 -   1.5
@@ -212,7 +212,8 @@
_etk_menu_stock_item_new("Save", ETK_STOCK_DOCUMENT_SAVE, 
ETK_MENU_SHELL(menu), ETK_CALLBACK(_e_config_save), ss);
_etk_menu_stock_item_new("Delete", ETK_STOCK_EDIT_DELETE, 
ETK_MENU_SHELL(menu), ETK_CALLBACK(_e_sticky_delete_confirm), s);
_etk_menu_stock_item_new("Options", ETK_STOCK_PREFERENCES_DESKTOP_THEME, 
ETK_MENU_SHELL(menu), ETK_CALLBACK(_e_theme_chooser_show), s);
-   _etk_menu_stock_item_new("Quit", ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(menu), 
ETK_CALLBACK(etk_main_quit), NULL);
+   _etk_menu_stock_item_new("About", ETK_STOCK_DIALOG_INFORMATION, 
ETK_MENU_SHELL(menu), ETK_CALLBACK(_e_about_show), NULL);
+   _etk_menu_stock_item_new("Quit", ETK_STOCK_DIALOG_CLOSE, 
ETK_MENU_SHELL(menu), ETK_CALLBACK(etk_main_quit), NULL);
etk_menu_popup(ETK_MENU(menu));
 }
 
===
RCS file: /cvs/e/e17/proto/estickies/src/bin/stickies.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- stickies.h  3 Aug 2006 02:40:11 -   1.3
+++ stickies.h  4 Aug 2006 04:30:40 -   1.4
@@ -38,6 +38,7 @@
 
 #include "conf.h"
 #include "theme_chooser.h"
+#include "about.h"
 
 struct _E_Config_Sticky
 {
===
RCS file: /cvs/e/e17/proto/estickies/src/bin/theme_chooser.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- theme_chooser.h 31 Jul 2006 00:31:45 -  1.1
+++ theme_chooser.h 4 Aug 2006 04:30:40 -   1.2
@@ -4,5 +4,3 @@
 void _e_theme_chooser_show(E_Sticky *s);
 
 #endif
-
-  



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/estickies/data/images




Log Message:
Directory /cvs/e/e17/proto/estickies/data/images added to the repository




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_widget.c 


Log Message:
Only need to compare two characters at most for the trailing colon.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -3 -r1.93 -r1.94
--- ewl_widget.c2 Aug 2006 00:40:48 -   1.93
+++ ewl_widget.c4 Aug 2006 03:30:33 -   1.94
@@ -1599,7 +1599,7 @@
 
/* while the type still matches the current part of
 * the string */
-   while ((*(type + count) == *end) && (*end != ':'))
+   while ((*end != ':') && (*(type + count) == *end))
{
count ++;
end ++;
@@ -1614,7 +1614,7 @@
 
/* move to the next set of :s and then move past it */
while ((*end != '\0') && (*end != ':')) end ++;
-   while (*end == ':') end ++;
+   if ((*end == ':') && (*(++end) == ':')) end++;
}
}
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/epsilon ningerso

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/epsilon

Dir : e17/libs/epsilon/src/bin


Modified Files:
epsilon_thumb_test.c 


Log Message:
Fix incomplete image count so that it doesn't count directories.

===
RCS file: /cvs/e/e17/libs/epsilon/src/bin/epsilon_thumb_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- epsilon_thumb_test.c31 May 2006 00:31:05 -  1.3
+++ epsilon_thumb_test.c4 Aug 2006 02:35:55 -   1.4
@@ -60,9 +60,11 @@
 
snprintf(fullpath, PATH_MAX, "%s/%s", argv[1], file);
realpath = ecore_file_realpath(fullpath);
-   if (ecore_file_exists(realpath) && !ecore_file_is_dir(realpath))
+   if (ecore_file_exists(realpath) && 
!ecore_file_is_dir(realpath)) {
epsilon_add(realpath, NULL, EPSILON_THUMB_NORMAL, NULL);
-   incomplete_thumbs++;
+   incomplete_thumbs++;
+   }
+   free(realpath);
}
 
ecore_main_loop_begin();



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sndev

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sndev
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_gadcon_config.c 


Log Message:

* no need to disable the "Add" button after the gadget was added. If I want 
consequently
add the same gadget more than once I need to do too much mouse acions.

* no need to disable the "Delete" button. The reasoning is the same.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_gadcon_config.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_int_gadcon_config.c   21 Jul 2006 17:28:15 -  1.26
+++ e_int_gadcon_config.c   3 Aug 2006 15:35:38 -   1.27
@@ -159,8 +159,6 @@
_load_selected_gadgets(cfdata);
e_widget_ilist_selected_set(cfdata->o_instances,
   e_widget_ilist_count(cfdata->o_instances) - 1);
-   
-   e_widget_disabled_set(cfdata->o_add, 1);
 }
 
 static void
@@ -185,8 +183,16 @@
 
_load_selected_gadgets(cfdata);
 
-   e_widget_disabled_set(cfdata->o_remove, 1);
-   
+   if (i >= evas_list_count(cfdata->cf_gc->clients)) 
+ i = evas_list_count(cfdata->cf_gc->clients) - 1;
+
+   if (i < 0) 
+ e_widget_disabled_set(cfdata->o_remove, 1);
+   else
+ { 
+   e_widget_ilist_selected_set(cfdata->o_instances, i); 
+   e_widget_disabled_set(cfdata->o_remove, 0);
+ }
e_gadcon_unpopulate(cfdata->gc);
e_gadcon_populate(cfdata->gc);
e_config_save_queue();



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/exhibit


Modified Files:
TODO 


Log Message:
- new patch from balony:
  - Added the run command (hardcoded for now, config based later)
  - work on the menus
  - general dialog function for simple usage
  - Statusbar report in slideshow
  - New tabs from menu now
- some cleanups and minor fixes


===
RCS file: /cvs/e/e17/proto/exhibit/TODO,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- TODO2 Aug 2006 19:35:20 -   1.8
+++ TODO3 Aug 2006 13:12:17 -   1.9
@@ -6,10 +6,8 @@
 o TODO:
  --
 -menus
-  * new window
   * search
   * rename
-  * delete (needs message dialog)
   * open in options based on config values
   * refresh
   * release notes
@@ -25,6 +23,9 @@
 
 - make slideshow display its status in the statusbar(s)
 
+- image operations:
+  * crop
+
 o DONE:
  --
 + andy's comments feature
@@ -36,7 +37,8 @@
 + save window geometry between sessions
 + menus
   + save image as
-  
+  + delete (needs message dialog)
+  + new window
 
 =
 * RELEASSE 0.2.0:



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-08-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/exhibit/src/bin


Modified Files:
exhibit.h exhibit_image.c exhibit_image.h exhibit_main.c 
exhibit_main.h exhibit_menus.c exhibit_menus.h 
exhibit_slideshow.c exhibit_tab.c 


Log Message:
- new patch from balony:
  - Added the run command (hardcoded for now, config based later)
  - work on the menus
  - general dialog function for simple usage
  - Statusbar report in slideshow
  - New tabs from menu now
- some cleanups and minor fixes


===
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- exhibit.h   2 Aug 2006 19:23:22 -   1.23
+++ exhibit.h   3 Aug 2006 13:12:17 -   1.24
@@ -224,4 +224,6 @@
 #include "exhibit_options.h"
 #include "exhibit_comment.h"
 
+extern Exhibit *e;
+
 #endif
===
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_image.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- exhibit_image.c 2 Aug 2006 19:23:22 -   1.27
+++ exhibit_image.c 3 Aug 2006 13:12:17 -   1.28
@@ -83,6 +83,11 @@

 etk_toplevel_widget_pointer_push(ETK_TOPLEVEL_WIDGET(e->win), 
ETK_POINTER_MOVE);
  }
+   else if(ev->button == 2)
+ {
+   /* TODO Make this function configurable in options */
+   _ex_tab_current_fit_to_window(e);
+ }
else if(ev->button == 3)
  {
Etk_Widget *menu_item;
@@ -97,34 +102,35 @@
 #endif 
e->menu = etk_menu_new();

-   menu_item = _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Sort"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(e->menu), ETK_CALLBACK(_ex_menu_run_in_cb), 
e);
+   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Undo"), ETK_STOCK_EDIT_UNDO, 
ETK_MENU_SHELL(e->menu), ETK_CALLBACK(_ex_menu_undo_cb), e);
+   _ex_menu_item_new(EX_MENU_ITEM_SEPERATOR, NULL, ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(e->menu), NULL, NULL);
+
+menu_item = _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Run in ..."), 
ETK_STOCK_APPLICATION_X_EXECUTABLE, ETK_MENU_SHELL(e->menu), 
ETK_CALLBACK(_ex_menu_run_in_cb), e);
+submenu = etk_menu_new();
+etk_menu_item_submenu_set(ETK_MENU_ITEM(menu_item), ETK_MENU(submenu));
+_ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("The Gimp"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_menu_run_in_cb), 
e);
+_ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("XV"), ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_menu_run_in_cb), e);
+_ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Xpaint"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_menu_run_in_cb), 
e);
+   menu_item = _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Favorites"), 
ETK_STOCK_EMBLEM_FAVORITE, ETK_MENU_SHELL(e->menu), 
ETK_CALLBACK(_ex_menu_run_in_cb), e);
submenu = etk_menu_new();
etk_menu_item_submenu_set(ETK_MENU_ITEM(menu_item), ETK_MENU(submenu));
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Undo"), ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(e->menu), ETK_CALLBACK(_ex_menu_undo_cb), e);
-   _ex_menu_item_new(EX_MENU_ITEM_SEPERATOR, NULL, ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(e->menu), NULL, NULL);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Date"), ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_sort_date_cb), e);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Size"), ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_sort_size_cb), e);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Name"), ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_sort_name_cb), e);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Resolution"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(submenu), ETK_CALLBACK(_ex_sort_resol_cb), 
e);   
-   
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("in The Gimp"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(e->menu), ETK_CALLBACK(_ex_menu_run_in_cb), 
e);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("in XV"), ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(e->menu), ETK_CALLBACK(_ex_menu_run_in_cb), e);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("in Xpaint"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(e->menu), ETK_CALLBACK(_ex_menu_run_in_cb), 
e);
+   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Add to favorites"), 
ETK_STOCK_EMBLEM_PHOTOS, ETK_MENU_SHELL(submenu), 
ETK_CALLBACK(_ex_menu_add_to_fav_cb), e);
+   if(_ex_image_is_favorite(e))
+ _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Remove from favorites"), 
ETK_STOCK_LIST_REMOVE, ETK_MENU_SHELL(submenu), 
ETK_CALLBACK(_ex_menu_remove_from_fav_cb), e);
_ex_menu_item_new(EX_MENU_ITEM_SEPERATOR, NULL, ETK_STOCK_NO_STOCK, 
ETK_MENU_SHELL(e->menu), NULL, NULL);
-   _ex_menu_item_new(EX_MENU_ITEM_NORMAL, _("Rotate clockwise"), 
ETK_STO