From: <no-...@en...> - 2008-08-28 15:36:24
|
Author: englebass Date: 2008-08-28 08:36:22 -0700 (Thu, 28 Aug 2008) New Revision: 35717 Modified: trunk/ecore/src/lib/ecore/Ecore_Str.h Log: Why was this twice? Modified: trunk/ecore/src/lib/ecore/Ecore_Str.h =================================================================== --- trunk/ecore/src/lib/ecore/Ecore_Str.h 2008-08-28 14:37:26 UTC (rev 35716) +++ trunk/ecore/src/lib/ecore/Ecore_Str.h 2008-08-28 15:36:22 UTC (rev 35717) @@ -38,8 +38,6 @@ # ifdef __cplusplus extern "C" { # endif -/* we need this for size_t */ -#include <stddef.h> # ifdef __sgi # define __FUNCTION__ "unknown" |
From: Enlightenment S. <no-...@en...> - 2008-10-24 05:49:35
|
Log: Make ecore_print_warning externally accesible for ecore_evas Author: englebass Date: 2008-10-23 22:49:29 -0700 (Thu, 23 Oct 2008) New Revision: 37040 Modified: trunk/ecore/src/lib/ecore/ecore_private.h trunk/ecore/src/lib/ecore/ecore_value.c Modified: trunk/ecore/src/lib/ecore/ecore_private.h =================================================================== --- trunk/ecore/src/lib/ecore/ecore_private.h 2008-10-24 00:44:26 UTC (rev 37039) +++ trunk/ecore/src/lib/ecore/ecore_private.h 2008-10-24 05:49:29 UTC (rev 37040) @@ -107,7 +107,7 @@ #undef IF_FN_DEL #define IF_FN_DEL(_fn, ptr) if (ptr) { _fn(ptr); ptr = NULL; } -inline void ecore_print_warning(const char *function, const char *sparam); +EAPI inline void ecore_print_warning(const char *function, const char *sparam); /* convenience macros for checking pointer parameters for non-NULL */ #undef CHECK_PARAM_POINTER_RETURN Modified: trunk/ecore/src/lib/ecore/ecore_value.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_value.c 2008-10-24 00:44:26 UTC (rev 37039) +++ trunk/ecore/src/lib/ecore/ecore_value.c 2008-10-24 05:49:29 UTC (rev 37040) @@ -35,7 +35,7 @@ 2097143, 4194301, 8388617, 16777213 }; -inline void +EAPI inline void ecore_print_warning(const char *function, const char *sparam) { fprintf(stderr, "***** Developer Warning ***** :\n" |
From: Enlightenment S. <no-...@en...> - 2008-10-26 16:32:24
|
Log: Add Eina.h for eina_init Author: englebass Date: 2008-10-26 09:32:21 -0700 (Sun, 26 Oct 2008) New Revision: 37155 Modified: trunk/ecore/src/lib/ecore/ecore.c Modified: trunk/ecore/src/lib/ecore/ecore.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore.c 2008-10-26 16:19:09 UTC (rev 37154) +++ trunk/ecore/src/lib/ecore/ecore.c 2008-10-26 16:32:21 UTC (rev 37155) @@ -17,6 +17,7 @@ #ifdef HAVE_EVIL # include <Evil.h> #endif +#include <Eina.h> static const char *_ecore_magic_string_get(Ecore_Magic m); static int _ecore_init_count = 0; |
From: Enlightenment S. <no-...@en...> - 2008-10-26 16:32:39
|
Log: remove inline from ecore_print_warning, exported functions shouldn't be inline. Author: englebass Date: 2008-10-26 09:32:34 -0700 (Sun, 26 Oct 2008) New Revision: 37156 Modified: trunk/ecore/src/lib/ecore/ecore_private.h trunk/ecore/src/lib/ecore/ecore_value.c Modified: trunk/ecore/src/lib/ecore/ecore_private.h =================================================================== --- trunk/ecore/src/lib/ecore/ecore_private.h 2008-10-26 16:32:21 UTC (rev 37155) +++ trunk/ecore/src/lib/ecore/ecore_private.h 2008-10-26 16:32:34 UTC (rev 37156) @@ -107,7 +107,7 @@ #undef IF_FN_DEL #define IF_FN_DEL(_fn, ptr) if (ptr) { _fn(ptr); ptr = NULL; } -EAPI inline void ecore_print_warning(const char *function, const char *sparam); +EAPI void ecore_print_warning(const char *function, const char *sparam); /* convenience macros for checking pointer parameters for non-NULL */ #undef CHECK_PARAM_POINTER_RETURN Modified: trunk/ecore/src/lib/ecore/ecore_value.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_value.c 2008-10-26 16:32:21 UTC (rev 37155) +++ trunk/ecore/src/lib/ecore/ecore_value.c 2008-10-26 16:32:34 UTC (rev 37156) @@ -35,7 +35,7 @@ 2097143, 4194301, 8388617, 16777213 }; -EAPI inline void +EAPI void ecore_print_warning(const char *function, const char *sparam) { fprintf(stderr, "***** Developer Warning ***** :\n" |
From: Enlightenment S. <no-...@en...> - 2008-10-26 17:25:01
|
Log: Make internal inline functions static inline Author: englebass Date: 2008-10-26 10:24:52 -0700 (Sun, 26 Oct 2008) New Revision: 37161 Modified: trunk/ecore/src/lib/ecore/ecore_hash.c Modified: trunk/ecore/src/lib/ecore/ecore_hash.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_hash.c 2008-10-26 17:23:54 UTC (rev 37160) +++ trunk/ecore/src/lib/ecore/ecore_hash.c 2008-10-26 17:24:52 UTC (rev 37161) @@ -23,10 +23,10 @@ static Ecore_Hash_Node * _ecore_hash_node_get(Ecore_Hash *hash, const void *key); static int _ecore_hash_increase(Ecore_Hash *hash); static int _ecore_hash_decrease(Ecore_Hash *hash); -inline int _ecore_hash_rehash(Ecore_Hash *hash, Ecore_Hash_Node **old_table, int old_size); +static inline int _ecore_hash_rehash(Ecore_Hash *hash, Ecore_Hash_Node **old_table, int old_size); static int _ecore_hash_bucket_destroy(Ecore_Hash_Node *list, Ecore_Free_Cb keyd, Ecore_Free_Cb valued); -inline Ecore_Hash_Node * _ecore_hash_bucket_get(Ecore_Hash *hash, +static inline Ecore_Hash_Node * _ecore_hash_bucket_get(Ecore_Hash *hash, Ecore_Hash_Node *bucket, const void *key); static Ecore_Hash_Node *_ecore_hash_node_new(void *key, void *value); @@ -621,7 +621,7 @@ * @param key: the key to search for in the list * @return Returns NULL on error or not found, the found node on success */ -inline Ecore_Hash_Node * +static inline Ecore_Hash_Node * _ecore_hash_bucket_get(Ecore_Hash *hash, Ecore_Hash_Node *bucket, const void *key) { Ecore_Hash_Node *prev = NULL; @@ -773,7 +773,7 @@ * @param table: the table to remove the nodes from and place in hash * @return Returns TRUE on success, FALSE on error */ -inline int +static inline int _ecore_hash_rehash(Ecore_Hash *hash, Ecore_Hash_Node **old_table, int old_size) { unsigned int i; |
From: Enlightenment S. <no-...@en...> - 2009-12-07 21:04:16
|
Log: Remove unused variable Author: englebass Date: 2009-12-07 13:04:02 -0800 (Mon, 07 Dec 2009) New Revision: 44258 Modified: trunk/ecore/src/lib/ecore/ecore_exe.c Modified: trunk/ecore/src/lib/ecore/ecore_exe.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_exe.c 2009-12-07 21:01:26 UTC (rev 44257) +++ trunk/ecore/src/lib/ecore/ecore_exe.c 2009-12-07 21:04:02 UTC (rev 44258) @@ -1411,7 +1411,6 @@ { Ecore_Exe *exe; int child_fd; - int is_buffered = 0; int event_type; exe = data; |
From: Enlightenment S. <no-...@en...> - 2010-11-06 01:23:07
|
Log: Check events on right handler Author: englebass Date: 2010-11-05 18:23:01 -0700 (Fri, 05 Nov 2010) New Revision: 54208 Modified: trunk/ecore/src/lib/ecore/ecore_main.c Modified: trunk/ecore/src/lib/ecore/ecore_main.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_main.c 2010-11-06 01:22:50 UTC (rev 54207) +++ trunk/ecore/src/lib/ecore/ecore_main.c 2010-11-06 01:23:01 UTC (rev 54208) @@ -326,9 +326,9 @@ ERR("deleted fd in epoll"); continue; } - if (ev->events & EPOLLIN) fdh->read_active = 1; - if (ev->events & EPOLLOUT) fdh->write_active = 1; - if (ev->events & EPOLLERR) fdh->error_active = 1; + if (ev[i].events & EPOLLIN) fdh->read_active = 1; + if (ev[i].events & EPOLLOUT) fdh->write_active = 1; + if (ev[i].events & EPOLLERR) fdh->error_active = 1; } return ret; |
From: Enlightenment S. <no-...@en...> - 2011-08-18 07:35:20
|
Log: ecore: Fix shadow warning Author: englebass Date: 2011-08-18 00:35:12 -0700 (Thu, 18 Aug 2011) New Revision: 62554 Trac: http://trac.enlightenment.org/e/changeset/62554 Modified: trunk/ecore/src/lib/ecore/ecore.c Modified: trunk/ecore/src/lib/ecore/ecore.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore.c 2011-08-18 07:35:02 UTC (rev 62553) +++ trunk/ecore/src/lib/ecore/ecore.c 2011-08-18 07:35:12 UTC (rev 62554) @@ -465,16 +465,16 @@ if (_ecore_fps_debug_fd >= 0) { unsigned int zero = 0; - char *buf = (char *)&zero; + char *buf2 = (char *)&zero; ssize_t todo = sizeof(unsigned int); while (todo > 0) { - ssize_t r = write(_ecore_fps_debug_fd, buf, todo); + ssize_t r = write(_ecore_fps_debug_fd, buf2, todo); if (r > 0) { todo -= r; - buf += r; + buf2 += r; } else if ((r < 0) && (errno == EINTR)) continue; |
From: Enlightenment S. <no-...@en...> - 2011-08-18 07:35:30
|
Log: ecore: Use PATH_MAX Author: englebass Date: 2011-08-18 00:35:23 -0700 (Thu, 18 Aug 2011) New Revision: 62555 Trac: http://trac.enlightenment.org/e/changeset/62555 Modified: trunk/ecore/src/lib/ecore/ecore.c Modified: trunk/ecore/src/lib/ecore/ecore.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore.c 2011-08-18 07:35:12 UTC (rev 62554) +++ trunk/ecore/src/lib/ecore/ecore.c 2011-08-18 07:35:23 UTC (rev 62555) @@ -442,7 +442,7 @@ void _ecore_fps_debug_init(void) { - char buf[4096]; + char buf[PATH_MAX]; const char *tmp; int pid; |
From: Enlightenment S. <no-...@en...> - 2012-03-08 19:52:33
|
Log: formatting Author: englebass Date: 2012-03-08 11:52:26 -0800 (Thu, 08 Mar 2012) New Revision: 69068 Trac: http://trac.enlightenment.org/e/changeset/69068 Modified: trunk/ecore/src/lib/ecore/ecore_events.c Modified: trunk/ecore/src/lib/ecore/ecore_events.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_events.c 2012-03-08 17:58:44 UTC (rev 69067) +++ trunk/ecore/src/lib/ecore/ecore_events.c 2012-03-08 19:52:26 UTC (rev 69068) @@ -238,7 +238,7 @@ _ecore_event_generic_free(void *data __UNUSED__, void *event) { /* DO NOT MEMPOOL FREE THIS */ - free (event); + free(event); } /** |
From: Enlightenment S. <no-...@en...> - 2012-11-23 20:31:58
|
Log: ecore: ieeefp on solaris Author: englebass Date: 2012-11-23 12:31:51 -0800 (Fri, 23 Nov 2012) New Revision: 79579 Trac: http://trac.enlightenment.org/e/changeset/79579 Modified: trunk/ecore/src/lib/ecore/ecore_pipe.c Modified: trunk/ecore/src/lib/ecore/ecore_pipe.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_pipe.c 2012-11-23 20:29:36 UTC (rev 79578) +++ trunk/ecore/src/lib/ecore/ecore_pipe.c 2012-11-23 20:31:51 UTC (rev 79579) @@ -7,6 +7,10 @@ #include <errno.h> #include <math.h> +#ifdef __SUNPRO_C +# include <ieeefp.h> +#endif + #ifdef HAVE_ISFINITE # define ECORE_FINITE(t) isfinite(t) #else |