caro [Tue, 14 Sep 2010 21:25:31 +0000 (21:25 +0000)]
ecore_win32 does not depend on Evas.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52264
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 14 Sep 2010 16:47:01 +0000 (16:47 +0000)]
useless define (already defined in command line)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52247
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 14 Sep 2010 10:38:28 +0000 (10:38 +0000)]
epoll - bad. disable default support. u have to --enable it. don't
--enable it if u want elm quicklaunch to work.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52240
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 14 Sep 2010 00:53:57 +0000 (00:53 +0000)]
better cleanup of poll fd's on shutdown
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52229
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 13 Sep 2010 22:16:26 +0000 (22:16 +0000)]
fix first map bug handling to handle more than first window map.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52200
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 13 Sep 2010 09:16:01 +0000 (09:16 +0000)]
Add a semicolon. GCC: This ones for you.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52184
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 13 Sep 2010 09:15:57 +0000 (09:15 +0000)]
Deniggle and rename the exore_x_dndn_callback_pos_update_set call.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52183
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 13 Sep 2010 09:15:53 +0000 (09:15 +0000)]
Use -1.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52182
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 13 Sep 2010 09:15:50 +0000 (09:15 +0000)]
Xdnd callback (API Addition): Rationale below.
Essentially the problem is this: For drag and drop Ecore currently handles the
position update calls. But usually the application wants to display some user
feedback - a window to display the drag selection for instance.
Now the way e17 does it is grab the mouse cursor movements and track them
itself. However ecore is already doing this, it's already walking window
trees, calculating real positions, _and_ sending them in an X client message.
So it seems rather silly to duplicate the code in the user app to get the same
info.
We could possibly have added a new event, but then we need to deal the fact
the position update may arrive _After_ the item has been dropped. Hilarity
ensures[1].
This callback is meant for purely the selection owner of the drag to use, so
it is a callback set, not an add.
[1] Segfaults probably. Nothing funnier.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52181
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 13 Sep 2010 09:15:45 +0000 (09:15 +0000)]
Always return an x rander version (unset in this case).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52180
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 10 Sep 2010 06:57:21 +0000 (06:57 +0000)]
do extra composite checks - need to do the lot to be useful.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52121
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 9 Sep 2010 11:48:31 +0000 (11:48 +0000)]
Fix priority dropping
Lowering priority was wrong. Some bugs:
1) You don't lower the priority by setting the scheduler policy to some
of the real-time ones (SCHED_RR or SCHER_FIFO). If you do so, you are
actually increasing the priority of the workers and your main thread
you be preempted and stalled until the workers complete their job.
Fortunately this will only happen if your programming is running as
root, as normal users (without CAP_SYS_NICE) are unable to set
priority to real-time values.
2) setpriority() and getpriority() are not part of pthread and you can't
use the id returned by pthread. Manpage explicitly says so on
pthread_self(3):
"The thread ID returned by pthread_self() is not the same thing as the
kernel thread ID returned by a call to gettid(2)."
Since glibc does not have a gettid, here we are using
syscall(SYS_gettid)
This patch was tested with the program below. Compile and run:
$ gcc p_hello2.c -o p_hello2 -lpthread
$ ./p_hello2 10
You'll see that the main thread remains with its priority and threads
created by the main thread change their own niceness.
#include <errno.h>
#include <pthread.h>
#include <sched.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/resource.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
/* Lower priority of current thread.
*
* It's used by worker threads so they use up "bg cpu" as it was really intended
* to work. If current thread is running with real-time priority, we decrease
* our priority by 5. This is done in a portable way. Otherwise we are
* running with SCHED_OTHER policy and there's no portable way to set the nice
* level on current thread. In Linux, it does work and it's the only one that is
* implemented.
*/
static void
_ecore_thread_pri_drop(void)
{
struct sched_param param;
int pol, prio, ret;
pid_t tid;
pthread_t pthread_id;
pthread_id = pthread_self();
ret = pthread_getschedparam(pthread_id, &pol, ¶m);
if (ret)
{
fprintf(stderr, "Unable to query sched parameters\n");
return;
}
if (pol == SCHED_RR || pol == SCHED_FIFO)
{
prio = sched_get_priority_max(pol);
param.sched_priority += 5;
if (prio > 0 && param.sched_priority > prio)
param.sched_priority = prio;
pthread_setschedparam(pthread_id, pol, ¶m);
}
#ifdef __linux__
else
{
tid = syscall(SYS_gettid);
errno = 0;
prio = getpriority(PRIO_PROCESS, tid);
if (errno == 0)
{
prio += 5;
if (prio > 19)
prio = 19;
setpriority(PRIO_PROCESS, tid, prio);
}
}
#endif
}
/*
* p_hello.c -- a hello program (in pthread)
*/
#define MAX_THREAD 1000
typedef struct {
int id;
} parm;
void *hello(void *arg)
{
parm *p=(parm *)arg;
pid_t tid;
int prio;
tid = syscall(SYS_gettid);
printf("[%d] Hello from node %d\n", tid, p->id);
pthread_yield();
printf("[%d] tid=%lu\n", tid);
_ecore_thread_pri_drop();
prio = getpriority(PRIO_PROCESS, tid);
printf("[%d] New nice value: %d\n", tid, prio);
return (NULL);
}
void main(int argc, char* argv[]) {
int n,i;
pthread_t *threads;
pthread_attr_t pthread_custom_attr;
parm *p;
pid_t tid;
int prio;
if (argc != 2)
{
printf ("Usage: %s n\n where n is no. of threads\n",argv[0]);
exit(1);
}
n=atoi(argv[1]);
if ((n < 1) || (n > MAX_THREAD)) {
printf ("The no of thread should between 1 and %d.\n",MAX_THREAD);
exit(1);
}
threads = (pthread_t *)malloc(n * sizeof(*threads));
pthread_attr_init(&pthread_custom_attr);
p = (parm *)malloc(n * sizeof(parm));
/* Start up thread */
tid = syscall(SYS_gettid);
for (i=0; i<n; i++) {
prio = getpriority(PRIO_PROCESS, tid);
printf("[%d] root thread nice value: %d\n", tid, prio);
p[i].id=i;
pthread_create(&threads[i], &pthread_custom_attr, hello, (void *)(p+i));
}
/* Synchronize the completion of each thread. */
for (i=0; i<n; i++) {
pthread_join(threads[i],NULL);
}
free(p);
}
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52039
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 8 Sep 2010 11:23:42 +0000 (11:23 +0000)]
Fix common misspellings
Following misspellings were fixed:
alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51986
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 7 Sep 2010 15:39:51 +0000 (15:39 +0000)]
svn:ignore
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51953
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Tue, 7 Sep 2010 06:56:16 +0000 (06:56 +0000)]
Merge branch 'elmdnd'
Conflicts:
trunk/TMP/st/elementary/.gitignore
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51935
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 6 Sep 2010 16:36:44 +0000 (16:36 +0000)]
* ecore: fix error detection of ecore_pipe_add.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51926
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Sun, 5 Sep 2010 15:40:36 +0000 (15:40 +0000)]
Prototypes for the missing ecore_x convert functions.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51906
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 4 Sep 2010 14:32:50 +0000 (14:32 +0000)]
make 1 func to set lower pri - fall back to setpriority on linux and
try it there only.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51885
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 4 Sep 2010 05:40:38 +0000 (05:40 +0000)]
same - back to RR.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 4 Sep 2010 00:54:53 +0000 (00:54 +0000)]
rr->other
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51873
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Sep 2010 13:39:53 +0000 (13:39 +0000)]
* ecore: ecore_thread are not here to bring your computer down, so
reduce their priority too.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51862
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 30 Aug 2010 05:49:18 +0000 (05:49 +0000)]
fix include order for Windows
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51740
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 28 Aug 2010 15:07:45 +0000 (15:07 +0000)]
leak--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51702
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 28 Aug 2010 14:56:14 +0000 (14:56 +0000)]
more leak--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51701
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 28 Aug 2010 14:51:56 +0000 (14:51 +0000)]
fix leak of fb fd in error event.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51700
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 28 Aug 2010 10:01:20 +0000 (10:01 +0000)]
doxy clarification
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51694
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 28 Aug 2010 04:28:15 +0000 (04:28 +0000)]
technically xerrorhandlers have a return of an int - but its ignored
by xlib (explicitly in docs).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51693
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mekius [Fri, 27 Aug 2010 05:16:00 +0000 (05:16 +0000)]
Add the following functions to Ecore_Con API:
ecore_con_server_name_get
ecore_con_server_port_get
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51670
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 26 Aug 2010 22:39:42 +0000 (22:39 +0000)]
fix copy/paste
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51667
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 26 Aug 2010 20:45:09 +0000 (20:45 +0000)]
Apply double_condition_check.cocci
The offending projects were:
E16/e/src/backgrounds.c | 10 ++++------
PROTO/eon/src/lib/layout/eon_stack.c | 4 +---
ecore/src/lib/ecore_win32/ecore_win32.c | 3 +--
ecore/src/lib/ecore_wince/ecore_wince.c | 3 +--
edje/src/lib/edje_edit.c | 3 +--
evas/src/lib/cache/evas_cache_image.c | 2 +-
exalt/src/lib/libexalt_private.c | 2 +-
This patch assumes code in these places were insane and the fix is to remove
one condition check. Most likely this is not true, but there's no automatic fix
for that.
Looking at the patch, it seems that some places should use "x" and "y" vars but
used just one of them and therefore they were caught by coccinelle.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51666
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 26 Aug 2010 01:34:13 +0000 (01:34 +0000)]
Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51650
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 25 Aug 2010 00:26:01 +0000 (00:26 +0000)]
fix ecore_thread to use pthread correctly. should build on windows now
too.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51621
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Tue, 24 Aug 2010 23:29:24 +0000 (23:29 +0000)]
Add UNUSED where missing.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51618
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 24 Aug 2010 09:26:34 +0000 (09:26 +0000)]
fix sync issue in 1 special event re-order case. booo!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51609
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 24 Aug 2010 06:37:37 +0000 (06:37 +0000)]
Remove the possibility to build ecore_config (which was deprecated anyway).
It will be raised from dead later, with a better API/code
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51599
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 23 Aug 2010 13:05:57 +0000 (13:05 +0000)]
* ecore: struct a b = { 0 }; doesn't mean memset.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51571
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Aug 2010 17:53:01 +0000 (17:53 +0000)]
get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
Values for CK_VERBOSITY:
silent
minimal
normal (the default)
verbose
Ex. of use:
CK_VERBOSITY=verbose make check
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51534
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Aug 2010 17:38:51 +0000 (17:38 +0000)]
separate the Ecore_X test from the Ecore one
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51533
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Aug 2010 17:14:05 +0000 (17:14 +0000)]
* add more checks
* add comments about strange code
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51525
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51487
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 21 Aug 2010 02:37:20 +0000 (02:37 +0000)]
fix randr bug! -> tunix!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51475
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 20 Aug 2010 02:48:54 +0000 (02:48 +0000)]
again - pass distcheck!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51459
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 19 Aug 2010 14:41:24 +0000 (14:41 +0000)]
Remove blank line & fix formatting of function params.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51397
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 19 Aug 2010 14:33:49 +0000 (14:33 +0000)]
Add missing UNUSED.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51396
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 19 Aug 2010 14:32:16 +0000 (14:32 +0000)]
Handle missing case of POLICY_NONE.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51395
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 19 Aug 2010 14:29:05 +0000 (14:29 +0000)]
Add some missing UNUSED macros.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51394
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 19 Aug 2010 08:57:55 +0000 (08:57 +0000)]
* ecore: add some information about Ecore_Thread.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51389
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 19 Aug 2010 08:25:34 +0000 (08:25 +0000)]
from t_unix <- add none enum for randr
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51387
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 18 Aug 2010 21:27:40 +0000 (21:27 +0000)]
Fix inline functions
Inline functions which are to be used in serveral files must be
completly written in the .x file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51361
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 16:28:36 +0000 (16:28 +0000)]
Fix 'suggest braces around empty body if statement'.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51291
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 16:26:20 +0000 (16:26 +0000)]
Fix 'unused variable'.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51290
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 18 Aug 2010 08:56:44 +0000 (08:56 +0000)]
ecore_thread_pool -> ecore_thread_local
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51272
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 19:21:47 +0000 (19:21 +0000)]
fix compilation without thread support
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 19:01:20 +0000 (19:01 +0000)]
fix and format EXTRA_DIST
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51266
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Aug 2010 14:48:21 +0000 (14:48 +0000)]
* ecore: const Eina_Bool don't make any sense.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51252
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Mon, 16 Aug 2010 12:03:49 +0000 (12:03 +0000)]
Don't return int in functions returning Eina_Bool
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51201
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:59:42 +0000 (08:59 +0000)]
copy & paste fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51171
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:17:24 +0000 (08:17 +0000)]
and now ecore is 1.0.0 ready too.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51165
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 03:00:16 +0000 (03:00 +0000)]
fix up copyings likewise. nicely standardised templateish.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51150
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 15 Aug 2010 21:57:22 +0000 (21:57 +0000)]
sync copying with other efl.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51142
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 15 Aug 2010 02:59:32 +0000 (02:59 +0000)]
From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] ecore's poll file manager
Hi all,
attached is a small bugfix for ecore. If the to-be-monitored path
doesn't exist, the poll monitor currently tries to remove an item from a
list which was never hooked up.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sat, 14 Aug 2010 16:15:09 +0000 (16:15 +0000)]
* ecore: fix cancel from another thread.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51119
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 14 Aug 2010 11:19:03 +0000 (11:19 +0000)]
From: Mike McCormack <mj.mccormack@samsung.com>
This patch implements the ecore main loop in terms of the GTK main loop, so
ecore is a layer on top of glib.
Compared the the current glib integration in ecore, this has the added
advantage of allowing use of EFL libraries in GTK.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51113
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 14 Aug 2010 10:21:03 +0000 (10:21 +0000)]
From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51109
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
etrunko [Fri, 13 Aug 2010 15:34:25 +0000 (15:34 +0000)]
Ecore_Getopt: Fix attributions
Modern languages in general use the '=' character for attribution, while
',' character is for something else.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51082
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 13 Aug 2010 12:53:08 +0000 (12:53 +0000)]
Apply memset-calloc.cocci
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.
Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51078
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
maxerba [Thu, 12 Aug 2010 13:19:47 +0000 (13:19 +0000)]
updating portuguese translations
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51036
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 11 Aug 2010 14:32:30 +0000 (14:32 +0000)]
* eina: fix eina array threadsafe version.
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@51000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 11 Aug 2010 05:18:58 +0000 (05:18 +0000)]
oooh that broke comp - hmm this bears some investigaing. remove eating
of show/hide events for ee's
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50982
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 11 Aug 2010 05:12:22 +0000 (05:12 +0000)]
work around a gl driver bug
export ECORE_EVAS_GL_FIRST_MAP_BUG=1
if you end up with blank empty windows when using evas gl engine in them
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50981
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Tue, 10 Aug 2010 19:24:38 +0000 (19:24 +0000)]
Do not compare pointers to 0
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50973
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 7 Aug 2010 01:32:07 +0000 (01:32 +0000)]
shapeinput too
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50879
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 7 Aug 2010 01:27:25 +0000 (01:27 +0000)]
shape event gets info.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 5 Aug 2010 13:58:49 +0000 (13:58 +0000)]
Remove ecore_{init,shutdown} from tests
Now ecore_x properly calls ecore_start() and ecore_shutdown(), as it should
be, so no need to do it here.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50837
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 5 Aug 2010 13:50:47 +0000 (13:50 +0000)]
init/shutdown ecore in ecore_x_init
2 simple rules:
1) init what you use
2) shutdown what you init
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50836
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 5 Aug 2010 13:48:43 +0000 (13:48 +0000)]
Fix return value
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50835
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 5 Aug 2010 02:25:50 +0000 (02:25 +0000)]
Add missing ecore_{init,shutdown} to bell test
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50829
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
FORMATTING
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
captainigloo [Wed, 4 Aug 2010 16:17:53 +0000 (16:17 +0000)]
uncrustify ecore directfb
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50815
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
captainigloo [Wed, 4 Aug 2010 16:12:12 +0000 (16:12 +0000)]
Use english messages for error log.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50814
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 4 Aug 2010 02:55:20 +0000 (02:55 +0000)]
convert all function pointers to typedefs, add doxy stubs for typedefs.
note: I've chosen to consolidate typedefs where possible to simplify things
my time is limited this week, so feel free to expand on the doxy stubs I've added if you know what they do
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50803
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 3 Aug 2010 09:02:27 +0000 (09:02 +0000)]
support calls++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50760
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 2 Aug 2010 19:36:37 +0000 (19:36 +0000)]
fix random value generator.
SPANK SPANK SPANK!!!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50750
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 2 Aug 2010 18:54:27 +0000 (18:54 +0000)]
re-reformat
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50747
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 2 Aug 2010 17:47:49 +0000 (17:47 +0000)]
re-uncrustify
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50745
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 20:33:32 +0000 (20:33 +0000)]
return void* for data functions; depend on user not to be stupid (hahahahahah)
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50692
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 17:03:34 +0000 (17:03 +0000)]
rrrrrrrrrrrrrr stupid enum!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50689
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 15:57:19 +0000 (15:57 +0000)]
grrrrr this enum is really starting to piss me off
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50688
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 15:56:18 +0000 (15:56 +0000)]
remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50687
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 30 Jul 2010 11:34:08 +0000 (11:34 +0000)]
Spell: rememebr => remember
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50686
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 08:52:18 +0000 (08:52 +0000)]
add data freeing support to ecore thread data api
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50682
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 06:47:59 +0000 (06:47 +0000)]
ssl cert cleanups: round 3
fix bitmask detection and refcount more correctly
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50679
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:57:39 +0000 (02:57 +0000)]
doc++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50673
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:50:50 +0000 (02:50 +0000)]
fix close before fd handler del's
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50670
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:44:43 +0000 (02:44 +0000)]
del x fd handler before close.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50669
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:42:47 +0000 (02:42 +0000)]
clean up epoll stuff a little bit. 32 events now.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50668
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:42:17 +0000 (02:42 +0000)]
close after del fd handler
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50667
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 00:35:57 +0000 (00:35 +0000)]
formatting ewwww
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50665
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 00:27:02 +0000 (00:27 +0000)]
fix valgrind unittied buffer bitches
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50664
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 23:42:32 +0000 (23:42 +0000)]
dropping my life to fix previously broken mess so people will stop complaining
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50663
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33