Nicholas Hughart
7afd0b7173
Add the following functions to Ecore_Con API:
...
ecore_con_server_name_get
ecore_con_server_port_get
SVN revision: 51670
2010-08-27 05:16:00 +00:00
Vincent Torri
2e625ed90e
fix copy/paste
...
SVN revision: 51667
2010-08-26 22:39:42 +00:00
Lucas De Marchi
255b2cb870
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.
SVN revision: 51666
2010-08-26 20:45:09 +00:00
Lucas De Marchi
d8002ff386
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.
SVN revision: 51650
2010-08-26 01:34:13 +00:00
Carsten Haitzler
2aebc5b458
fix ecore_thread to use pthread correctly. should build on windows now
...
too.
SVN revision: 51621
2010-08-25 00:26:01 +00:00
Christopher Michael
51f2ed1d97
Add UNUSED where missing.
...
SVN revision: 51618
2010-08-24 23:29:24 +00:00
Carsten Haitzler
864fcb6c17
fix sync issue in 1 special event re-order case. booo!
...
SVN revision: 51609
2010-08-24 09:26:34 +00:00
Vincent Torri
7d75cc4a1d
Remove the possibility to build ecore_config (which was deprecated anyway).
...
It will be raised from dead later, with a better API/code
SVN revision: 51599
2010-08-24 06:37:37 +00:00
Cedric BAIL
243d7c71ad
* ecore: struct a b = { 0 }; doesn't mean memset.
...
SVN revision: 51571
2010-08-23 13:05:57 +00:00
Vincent Torri
426da862ae
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
SVN revision: 51534
2010-08-22 17:53:01 +00:00
Vincent Torri
bb17bf9216
separate the Ecore_X test from the Ecore one
...
SVN revision: 51533
2010-08-22 17:38:51 +00:00
Vincent Torri
0d89124a68
* add more checks
...
* add comments about strange code
SVN revision: 51525
2010-08-22 17:14:05 +00:00
Lucas De Marchi
5a8a8c9014
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
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Carsten Haitzler
3df7e6ebfc
fix randr bug! -> tunix!
...
SVN revision: 51475
2010-08-21 02:37:20 +00:00
Carsten Haitzler
3e67489265
again - pass distcheck!
...
SVN revision: 51459
2010-08-20 02:48:54 +00:00
Christopher Michael
f8d86f6d7c
Remove blank line & fix formatting of function params.
...
SVN revision: 51397
2010-08-19 14:41:24 +00:00
Christopher Michael
3e61872e46
Add missing UNUSED.
...
SVN revision: 51396
2010-08-19 14:33:49 +00:00
Christopher Michael
4c30f8ec92
Handle missing case of POLICY_NONE.
...
SVN revision: 51395
2010-08-19 14:32:16 +00:00
Christopher Michael
a154885a59
Add some missing UNUSED macros.
...
SVN revision: 51394
2010-08-19 14:29:05 +00:00
Cedric BAIL
3c305771c3
* ecore: add some information about Ecore_Thread.
...
SVN revision: 51389
2010-08-19 08:57:55 +00:00
Carsten Haitzler
67782a333f
from t_unix <- add none enum for randr
...
SVN revision: 51387
2010-08-19 08:25:34 +00:00
Sebastian Dransfeld
ff0f25ea7b
Fix inline functions
...
Inline functions which are to be used in serveral files must be
completly written in the .x file.
SVN revision: 51361
2010-08-18 21:27:40 +00:00
Christopher Michael
1e8383c131
Fix 'suggest braces around empty body if statement'.
...
SVN revision: 51291
2010-08-18 16:28:36 +00:00
Christopher Michael
b82186120a
Fix 'unused variable'.
...
SVN revision: 51290
2010-08-18 16:26:20 +00:00
Mike Blumenkrantz
236d58f0de
ecore_thread_pool -> ecore_thread_local
...
SVN revision: 51272
2010-08-18 08:56:44 +00:00
Vincent Torri
aaffd2acac
fix compilation without thread support
...
SVN revision: 51267
2010-08-17 19:21:47 +00:00
Vincent Torri
2c8b78f634
fix and format EXTRA_DIST
...
SVN revision: 51266
2010-08-17 19:01:20 +00:00
Cedric BAIL
59f3bf1eb6
* ecore: const Eina_Bool don't make any sense.
...
SVN revision: 51252
2010-08-17 14:48:21 +00:00
Lucas De Marchi
32a891e57e
Don't return int in functions returning Eina_Bool
...
SVN revision: 51201
2010-08-16 12:03:49 +00:00
Carsten Haitzler
e7667b11ad
copy & paste fix.
...
SVN revision: 51171
2010-08-16 08:59:42 +00:00
Carsten Haitzler
e286f48745
and now ecore is 1.0.0 ready too.
...
SVN revision: 51165
2010-08-16 08:17:24 +00:00
Carsten Haitzler
5187bf3585
fix up copyings likewise. nicely standardised templateish.
...
SVN revision: 51150
2010-08-16 03:00:16 +00:00
Carsten Haitzler
acdbabcfc5
sync copying with other efl.
...
SVN revision: 51142
2010-08-15 21:57:22 +00:00
Joerg Sonnenberger
df0903779c
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.
SVN revision: 51123
2010-08-15 02:59:32 +00:00
Cedric BAIL
2531cd8114
* ecore: fix cancel from another thread.
...
SVN revision: 51119
2010-08-14 16:15:09 +00:00
Mike McCormack
3bdbb34d64
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.
SVN revision: 51113
2010-08-14 11:19:03 +00:00
Leif Middelschulte
e7e09623ef
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.
SVN revision: 51109
2010-08-14 10:21:03 +00:00
Eduardo de Barros Lima
4cc5441313
Ecore_Getopt: Fix attributions
...
Modern languages in general use the '=' character for attribution, while
',' character is for something else.
SVN revision: 51082
2010-08-13 15:34:25 +00:00
Lucas De Marchi
1c651049c5
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.
SVN revision: 51078
2010-08-13 12:53:08 +00:00
Massimo Maiurana
5e6ec75865
updating portuguese translations
...
SVN revision: 51036
2010-08-12 13:19:47 +00:00
Cedric BAIL
a6645cb746
* 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.
SVN revision: 51000
2010-08-11 14:32:30 +00:00
Carsten Haitzler
6308b452af
oooh that broke comp - hmm this bears some investigaing. remove eating
...
of show/hide events for ee's
SVN revision: 50982
2010-08-11 05:18:58 +00:00
Carsten Haitzler
18c41d2e78
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
SVN revision: 50981
2010-08-11 05:12:22 +00:00
Lucas De Marchi
6b5d5eab73
Do not compare pointers to 0
...
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Carsten Haitzler
f3f7274796
shapeinput too
...
SVN revision: 50879
2010-08-07 01:32:07 +00:00
Carsten Haitzler
2692e43cf1
shape event gets info.
...
SVN revision: 50878
2010-08-07 01:27:25 +00:00
Lucas De Marchi
a42edc5cdc
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.
SVN revision: 50837
2010-08-05 13:58:49 +00:00
Lucas De Marchi
bbc863fbe7
init/shutdown ecore in ecore_x_init
...
2 simple rules:
1) init what you use
2) shutdown what you init
SVN revision: 50836
2010-08-05 13:50:47 +00:00
Lucas De Marchi
4f12b27ec7
Fix return value
...
SVN revision: 50835
2010-08-05 13:48:43 +00:00
Lucas De Marchi
9a89c799d7
Add missing ecore_{init,shutdown} to bell test
...
SVN revision: 50829
2010-08-05 02:25:50 +00:00
Lucas De Marchi
0a4617ae38
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
SVN revision: 50816
2010-08-04 16:57:32 +00:00
Nicolas Aguirre
bd0d948867
uncrustify ecore directfb
...
SVN revision: 50815
2010-08-04 16:17:53 +00:00
Nicolas Aguirre
53380ff916
Use english messages for error log.
...
SVN revision: 50814
2010-08-04 16:12:12 +00:00
Mike Blumenkrantz
a475971aaa
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
SVN revision: 50803
2010-08-04 02:55:20 +00:00
Carsten Haitzler
ee1b715780
support calls++
...
SVN revision: 50760
2010-08-03 09:02:27 +00:00
Mike Blumenkrantz
bec24bf71f
fix random value generator.
...
SPANK SPANK SPANK!!!
SVN revision: 50750
2010-08-02 19:36:37 +00:00
Mike Blumenkrantz
54a05dc2aa
re-reformat
...
SVN revision: 50747
2010-08-02 18:54:27 +00:00
Mike Blumenkrantz
d07a90f62a
re-uncrustify
...
SVN revision: 50745
2010-08-02 17:47:49 +00:00
Mike Blumenkrantz
122ec75b01
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?
SVN revision: 50692
2010-07-30 20:33:32 +00:00
Mike Blumenkrantz
5d52fce3f6
rrrrrrrrrrrrrr stupid enum!
...
SVN revision: 50689
2010-07-30 17:03:34 +00:00
Mike Blumenkrantz
8c946dff90
grrrrr this enum is really starting to piss me off
...
SVN revision: 50688
2010-07-30 15:57:19 +00:00
Mike Blumenkrantz
d25cc594f9
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
...
SVN revision: 50687
2010-07-30 15:56:18 +00:00
Lucas De Marchi
8989ca1261
Spell: rememebr => remember
...
SVN revision: 50686
2010-07-30 11:34:08 +00:00
Mike Blumenkrantz
7c45637e38
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
SVN revision: 50682
2010-07-30 08:52:18 +00:00
Mike Blumenkrantz
bc39497059
ssl cert cleanups: round 3
...
fix bitmask detection and refcount more correctly
SVN revision: 50679
2010-07-30 06:47:59 +00:00
Carsten Haitzler
ffc048d5e4
doc++
...
SVN revision: 50673
2010-07-30 02:57:39 +00:00
Carsten Haitzler
6dd1042033
fix close before fd handler del's
...
SVN revision: 50670
2010-07-30 02:50:50 +00:00
Carsten Haitzler
bdce85e21c
del x fd handler before close.
...
SVN revision: 50669
2010-07-30 02:44:43 +00:00
Carsten Haitzler
24bf638323
clean up epoll stuff a little bit. 32 events now.
...
SVN revision: 50668
2010-07-30 02:42:47 +00:00
Carsten Haitzler
0b3b437823
close after del fd handler
...
SVN revision: 50667
2010-07-30 02:42:17 +00:00
Carsten Haitzler
e3d14a1032
formatting ewwww
...
SVN revision: 50665
2010-07-30 00:35:57 +00:00
Carsten Haitzler
9c3ea35501
fix valgrind unittied buffer bitches
...
SVN revision: 50664
2010-07-30 00:27:02 +00:00
Mike Blumenkrantz
21a7365572
dropping my life to fix previously broken mess so people will stop complaining
...
SVN revision: 50663
2010-07-29 23:42:32 +00:00
Cedric BAIL
8f423ef340
* ecore: fix comment.
...
SVN revision: 50642
2010-07-29 12:29:19 +00:00
Mike Blumenkrantz
3515de0a22
typos are frustratinnnnnnnnnnggggggggggggggggggggggggggggggggggggggg
...
SVN revision: 50637
2010-07-29 08:13:58 +00:00
Carsten Haitzler
29e957d6a7
bad mike!. fix.
...
SVN revision: 50634
2010-07-29 05:43:20 +00:00
Mike Blumenkrantz
fae76ddd77
correctly use & to detect server type instead of ==
...
SVN revision: 50630
2010-07-29 01:42:43 +00:00
Mike Blumenkrantz
36601b4f78
more doxy than anyone will EVER need. EVER.
...
SVN revision: 50629
2010-07-29 01:28:18 +00:00
Mike Blumenkrantz
eb9de4e5f0
redo some comments
...
SVN revision: 50628
2010-07-29 01:28:03 +00:00
Mike Blumenkrantz
c39514b9be
reorder functions, redo doxy, make a not so obvious null pointer more obvious for future readers
...
SVN revision: 50627
2010-07-29 00:27:15 +00:00
Mike Blumenkrantz
94baa35276
prevent crafty users from breaking build if they define USE_OPENSSL and USE_GNUTLS
...
SVN revision: 50626
2010-07-29 00:13:56 +00:00
Mike Blumenkrantz
98c7e38f58
ac_path_generic.m4 from eet, prevent users from trying to build with both gnutls and openssl since this is broken
...
SVN revision: 50625
2010-07-29 00:13:25 +00:00
Mike Blumenkrantz
6d6bab5535
these functions return a const char *, so they should actually return a const char *
...
SVN revision: 50624
2010-07-29 00:12:27 +00:00
Mike Blumenkrantz
920c508d86
these functions return a const char *, so they should actually return a const char *
...
SVN revision: 50622
2010-07-28 22:32:39 +00:00
Mike Blumenkrantz
1b41ba0fb1
forgot to put some doxy in groups
...
SVN revision: 50620
2010-07-28 22:23:14 +00:00
Mike Blumenkrantz
34bc016890
ssl uh-oh
...
SVN revision: 50612
2010-07-28 20:03:28 +00:00
Mike Blumenkrantz
76f9c81589
fix for people who compile without ssl/tls support
...
SVN revision: 50611
2010-07-28 19:58:57 +00:00
Mike Blumenkrantz
6a8c01999f
remove unused and null init a pointer
...
SVN revision: 50604
2010-07-28 18:27:47 +00:00
Mike Blumenkrantz
0bbca7c75d
fix cert support, split functions for client/server
...
note: crl checking and cert verification do not currently function
SVN revision: 50603
2010-07-28 18:25:46 +00:00
Mike Blumenkrantz
f337f66880
formatting again
...
SVN revision: 50599
2010-07-28 17:35:31 +00:00
Carsten Haitzler
93d98ebedf
epoll <- blame mike if it breaks. :)
...
SVN revision: 50585
2010-07-28 06:08:35 +00:00
Mike Blumenkrantz
e248c8b6fc
uncrustify so T_UNIX will stop nagging me! :)
...
SVN revision: 50583
2010-07-28 05:23:42 +00:00
Alexander Kerner
ba10bce434
From: Alexander Kerner <alexander.kerner@googlemail.com>
...
Subject: [E-devel] 8bpp xcb evas engine
Hi all,
I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.
SVN revision: 50561
2010-07-28 00:17:40 +00:00
Naruto TAKAHASHI
b7b6e3c585
From: Naruto TAKAHASHI <tnaruto@gmail.com>
...
Subject: [E-devel] [PATCH] ecore_con_url_httpauth_set()
Hi all,
I attach a tiny Patch for ecore_con_url_httpauth_set().
CURLOPT_USERNAME and CURLOPT_PASSWORD is declared in enum, so those
options isn't able to be used #ifdef macro's argument.
This patch checks that LIBCURLVERSION_NUM is 0x071301(v7.19.1) and
over. Because CURLOPT_USERNAME and CURLOPT_PASSWORD was added at
7.19.1.
thanks to confirm this patch.
SVN revision: 50539
2010-07-27 10:29:58 +00:00
Christopher Michael
5f64c38549
Fix up a little formatting (wrt wrapping).
...
SVN revision: 50531
2010-07-27 06:33:47 +00:00
Mike Blumenkrantz
f0053045e4
add full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path/to/cert.pem") and then create the server object with the ECORE_CON_LOAD_CERT flag
...
also may have accidentally ruined the formatting on a couple files and started an hour-long discussion over efl formatting scripts to conceal the fact that I used uncrustify to reformat everything
SVN revision: 50529
2010-07-27 06:30:27 +00:00
Mike Blumenkrantz
1ddcb2340a
fix threadless compile
...
SVN revision: 50528
2010-07-27 03:59:04 +00:00
Mike Blumenkrantz
12c294af32
doxy
...
SVN revision: 50527
2010-07-27 01:05:13 +00:00
Mike Blumenkrantz
021fe34df8
big doxy update
...
SVN revision: 50526
2010-07-27 01:00:24 +00:00
Mike Blumenkrantz
3e3c256e0d
doxy fixes grrrrrrrrrrrrrrrrrrrrrr
...
SVN revision: 50525
2010-07-27 00:10:40 +00:00