Cedric BAIL [Fri, 22 Mar 2013 11:11:43 +0000 (20:11 +0900)]
eina: correctly advertise to valgrind Eina_Cow memory size.
Cedric BAIL [Fri, 22 Mar 2013 11:10:39 +0000 (20:10 +0900)]
edje: fix buffer overrun.
Jiyoun Park [Fri, 22 Mar 2013 09:49:46 +0000 (18:49 +0900)]
* Ecore_x: fix alpha set function not clear sync counter
Cedric BAIL [Fri, 22 Mar 2013 06:29:33 +0000 (15:29 +0900)]
edje: add spread.{w,h}.
This is particularly useful when using table and replicating the
same group all over the place. At least for many games I have in mind
this will save a lot of lines !
Cedric BAIL [Wed, 20 Mar 2013 09:53:26 +0000 (18:53 +0900)]
evas: optionally propagate update rectangle on RENDER_POST.
Carsten Haitzler (Rasterman) [Fri, 22 Mar 2013 02:34:38 +0000 (11:34 +0900)]
in evas gl engine if age changes then be conservative and assume backbuffer was
invalidated.
Carsten Haitzler (Rasterman) [Fri, 22 Mar 2013 02:33:57 +0000 (11:33 +0900)]
oops - define GL_UNPACK_ROW_LENGTH not GL_UNPACK_ROW_LENGTH_EXT
Rafael Antognolli [Thu, 21 Mar 2013 23:45:44 +0000 (20:45 -0300)]
ecore_evas/wayland: Use clipped smart object for window decorations.
When creating windows directly with Ecore_Evas, instead of using
Elementary, a default smart object is provided for the frame (client
side window decorations).
Now this smart object inherits from the clipped smart object, which
means that all its member objects will be clipped to its main clipper,
being skipped when the framespace clipper checks for objects without a
clipper.
Fix a ticket, which I don't remember the number because trac doesn't
work.
Eduardo Lima (Etrunko) [Thu, 21 Mar 2013 19:27:37 +0000 (16:27 -0300)]
Add missing Ecore.h include
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Tom Hacohen [Thu, 21 Mar 2013 14:15:10 +0000 (14:15 +0000)]
Evas cserve2: Remove useless var when calculating size of sun_path.
I have no idea how I missed these 2.
Tom Hacohen [Thu, 21 Mar 2013 13:22:35 +0000 (13:22 +0000)]
Evas cserve2: Remove useless var when calculating size of sun_path.
Tom Hacohen [Thu, 21 Mar 2013 13:21:10 +0000 (13:21 +0000)]
Eina tests: Fixed warnings with clang.
Clang doesn't appreciate passing 'char' to %hdd, although they are the right
size. So change to %d and cast to 'int' before passing it.
Tom Hacohen [Thu, 21 Mar 2013 13:15:47 +0000 (13:15 +0000)]
Evas cserve2: Remove useless var when calculating size of sun_path.
Rafael Antognolli [Wed, 20 Mar 2013 21:04:16 +0000 (18:04 -0300)]
ecore_evas/wayland_shm: Check if the Ecore_Evas is visible on render.
Without this check, the code tries to access win->surface, which will be
NULL, causing a segfault.
Fix ticket #2304.
Boris 'billiob' Faure [Wed, 20 Mar 2013 20:18:49 +0000 (21:18 +0100)]
eina-cow: fix valgrind instrumentation
Daniel Willmann [Wed, 20 Mar 2013 18:39:39 +0000 (18:39 +0000)]
eina_test_list: Move fail_if out of the hot path
fail_if() from libcheck always writes to a file created with tmpfile(),
so it is not a good idea to call it millions of times. This wastes
memory and time, let's use both for something better. :-)
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Rafael Antognolli [Wed, 20 Mar 2013 18:00:31 +0000 (15:00 -0300)]
evas/wayland_egl: Fall back to dlsym if eglGetProcAddress fails.
At least for wayland, eglGetProcAddress seems to fail to get the
eglQueryString symbol. Not sure if it's the right fix, but brings
wayland_egl back to working again.
Fixes #2301.
Daniel Willmann [Wed, 20 Mar 2013 17:01:51 +0000 (17:01 +0000)]
Hush clang warnings for EINA_INLIST_FOREACH_SAFE
As cedric said a couple years ago in commit
17c820ae:
"This initialisation is not needed, but will reduce llvm warning noise."
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Wed, 20 Mar 2013 15:18:54 +0000 (15:18 +0000)]
Evas gl: Fixed warnings in the gl engine.
Jérémy Zurcher [Wed, 20 Mar 2013 11:19:13 +0000 (12:19 +0100)]
eina: add eina_list_shuffle
Summary: add uniform shuffle to Eina_List
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D27
Jérémy Zurcher [Wed, 20 Mar 2013 10:45:57 +0000 (11:45 +0100)]
TES
Conflicts:
src/lib/eina/eina_list.c
src/lib/eina/eina_types.h
Carsten Haitzler (Rasterman) [Wed, 20 Mar 2013 03:45:18 +0000 (12:45 +0900)]
oh so minor buglet - interpolate border scale by a sa float (in fixed
point) not an integer!
Cedric BAIL [Wed, 20 Mar 2013 01:59:22 +0000 (10:59 +0900)]
eina: fix use of Valgrind macro in Eina_Cow.
Cedric BAIL [Tue, 19 Mar 2013 12:15:44 +0000 (21:15 +0900)]
eina: improve speed of Eina_Cow.
* Use an Eina_Hash for the garbage collector list.
* Turn off garbage collection on object that are unlikely to match.
This patch make 1.8 as fast as 1.7 again.
Cedric Bail [Tue, 19 Mar 2013 14:41:37 +0000 (15:41 +0100)]
ecore: include mman.h also when Evil is found.
I don't really like this patch. I think it would be nicer to have mmap
been correctly detected when Evil or Exotic is there, but at this point
I don't feel at ease with configure.ac.
Daniel Willmann [Tue, 19 Mar 2013 16:28:37 +0000 (16:28 +0000)]
eet_cipher: Fix initialization of opened variable
In the error case we 'goto' the error path directly without passing
through the declaration and initialization of the variable.
This doesn't work so move the declaration/initialization to the start.
See this example (compile with -Wall for the warning):
-----
#include <stdio.h>
int main(void)
{
goto bar;
int i = 15;
bar:
printf("Foo: %i\n", i);
return 0;
}
----
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Tue, 19 Mar 2013 15:46:19 +0000 (15:46 +0000)]
ecore_coroutine: Silence warning in clang
We can't get more const than const int
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Tue, 19 Mar 2013 15:48:59 +0000 (15:48 +0000)]
Eina cow: Don't tests things that depend on magic when it's off.
Tom Hacohen [Tue, 19 Mar 2013 15:45:44 +0000 (15:45 +0000)]
Disable cow magic in dev profile, instead of a hack in the source.
Well played cedric, making me revert your patch and thus breaking the build.
Tom Hacohen [Tue, 19 Mar 2013 15:37:55 +0000 (15:37 +0000)]
Revert "eina: reenable them as it was a bug from Tasn."
This reverts commit
a9041777d48df104e307e6111d4c332e75761368.
Re-disable them as it was a bug from Cedric.
This is the cause for the huge slowdown.
Cedric Bail [Tue, 19 Mar 2013 15:16:12 +0000 (00:16 +0900)]
eina: reenable them as it was a bug from Tasn.
Cedric Bail [Tue, 19 Mar 2013 14:42:12 +0000 (23:42 +0900)]
eina: disable Eina_Cow magic completely for the moment.
Mike Blumenkrantz [Tue, 19 Mar 2013 14:07:28 +0000 (14:07 +0000)]
fix magic failure in eina_value_array_count when array has not been allocated
Tom Hacohen [Tue, 19 Mar 2013 10:47:33 +0000 (10:47 +0000)]
Evas object: Fixed clouseau reporting for align and weight.
Stefan Schmidt [Tue, 19 Mar 2013 08:35:00 +0000 (08:35 +0000)]
eina: Add execinfo.h to avoid implicit declarations.
If we have backtrace support we should also add the header before
using the backtrace and backtrace_symbols_fd functions.
Cedric Bail [Mon, 18 Mar 2013 22:40:03 +0000 (23:40 +0100)]
efl: add macro to swap Windows and Unix path separators.
Cedric Bail [Mon, 18 Mar 2013 22:38:01 +0000 (23:38 +0100)]
ecore: fix overflow on Windows 64 bits.
Cedric BAIL [Tue, 19 Mar 2013 06:11:50 +0000 (15:11 +0900)]
eina: speed up Eina_Cow.
* Use Eina_Hash instead of Eina_List to remember what memory did change.
* Turn off Eina_Cow use of Eina_Magic when doing a release as it is only
used internaly and we should not make any mistake there.
Cedric BAIL [Tue, 19 Mar 2013 05:48:57 +0000 (14:48 +0900)]
edje: let's not segfault when we remove a non existant callback.
Tom Hacohen [Wed, 13 Mar 2013 16:32:04 +0000 (16:32 +0000)]
Eo: Added an eo_do_super benchmark.
Tom Hacohen [Mon, 18 Mar 2013 15:33:54 +0000 (15:33 +0000)]
Change usage of eo_do_super to the new prototype.
Tom Hacohen [Wed, 13 Mar 2013 16:04:04 +0000 (16:04 +0000)]
Eo: Added cur_klass as a parameter to eo_*_do_super.
We now need to pass the current class to eo_do_super. This is faster and
more memory efficient and generally lets us do things better.
Using the eo_benchmarks we get ~20% speed-up.
Lucas De Marchi [Mon, 18 Mar 2013 13:27:14 +0000 (10:27 -0300)]
Revert "Add a new API to edbus to let it create an EDbus session from"
This reverts commit
8ecd30d578ebac46bbdf5f6d5c0b7cad1187f84f.
First of all, if it's not tested it shouldn't be committed. Seriously,
test your stuff before committing, particularly when you *add* an API.
If it slips in and we forget it there, once it's released we can no
longer remove it.
Second, EDBus is a complete wrapper over libdbus and is in our intention
to remove libdbus when the EDBus implements the wire protocol itself.
Therefore there's no point in adding a public function to create an
EDBus_Connection from a DBusConnection, even if it's passed as a void
pointer.
Daniel Willmann [Mon, 18 Mar 2013 12:21:45 +0000 (12:21 +0000)]
embryo_cc: Fix possible buffer overflow in setconfig()
Need to account for the space of the trailing '/' as well.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Cedric BAIL [Mon, 18 Mar 2013 06:42:34 +0000 (15:42 +0900)]
edje: i am lazy, i like to not care about case.
Cedric BAIL [Mon, 18 Mar 2013 01:44:21 +0000 (10:44 +0900)]
edje: handle custom state to.
Cedric Bail [Sun, 17 Mar 2013 04:00:20 +0000 (13:00 +0900)]
edje: fix run on 64bits system.
Carsten Haitzler (Rasterman) [Sun, 17 Mar 2013 11:00:20 +0000 (20:00 +0900)]
Revert "edje: fix run on 64bits system."
This reverts commit
d482c5cc59f9b572ec37c8e68434a12e50479c00.
Daniel Juyung Seo [Sun, 17 Mar 2013 10:00:49 +0000 (19:00 +0900)]
eina eina_inlist.c: fixed formatting while reading the code.
Daniel Juyung Seo [Sun, 17 Mar 2013 08:54:32 +0000 (17:54 +0900)]
Ecore.h: use ECORE_CALLBACK_RENEW/CANCEL for timer callback.
Carsten Haitzler (Rasterman) [Sun, 17 Mar 2013 05:18:52 +0000 (14:18 +0900)]
seems tegra has gotten better so up pipe max number in gl engine.
Carsten Haitzler (Rasterman) [Sun, 17 Mar 2013 04:47:57 +0000 (13:47 +0900)]
update on recent symbol finding changes in evas - use dlsym for fbo's
Cedric Bail [Sun, 17 Mar 2013 04:00:20 +0000 (13:00 +0900)]
edje: fix run on 64bits system.
Cedric Bail [Sun, 17 Mar 2013 00:39:50 +0000 (01:39 +0100)]
ecore_con: fix warnings when curl is not available.
Cedric Bail [Sun, 17 Mar 2013 00:39:23 +0000 (01:39 +0100)]
ecore: another needed virtual destructor.
Cedric Bail [Sat, 16 Mar 2013 14:20:49 +0000 (23:20 +0900)]
ethumb: we are linking with Ethumb_Client.
Cedric Bail [Sat, 16 Mar 2013 13:19:49 +0000 (14:19 +0100)]
ecore: virtual destructors are needed
Cedric Bail [Sat, 16 Mar 2013 14:08:19 +0000 (23:08 +0900)]
ecore: lower more warning level.
Cedric Bail [Sat, 16 Mar 2013 13:59:01 +0000 (22:59 +0900)]
edje: lower warning level.
Cedric Bail [Sat, 16 Mar 2013 13:55:46 +0000 (22:55 +0900)]
edje: remove that anoying \n.
Cedric Bail [Sat, 16 Mar 2013 13:48:43 +0000 (22:48 +0900)]
gitignore: let's forget about exe files.
Cedric Bail [Sat, 16 Mar 2013 09:46:45 +0000 (18:46 +0900)]
eina: add support for Systemd journal in Eina_Log.
NOTE: if you start your process with Systemd it will automatically use
Journald API. You will need to overide the default logging function to
change that behavior.
Daniel Willmann [Sat, 16 Mar 2013 12:33:36 +0000 (12:33 +0000)]
ecore_evas: Mark unused variables as unused
Get rid of warnings introduced by commit a4593c
Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
Cedric Bail [Fri, 15 Mar 2013 22:46:52 +0000 (23:46 +0100)]
efl: fix compilation on Windows when no Evil library is installed.
Cedric Bail [Sat, 16 Mar 2013 06:54:18 +0000 (15:54 +0900)]
ecore_evas: follow naming of other modules for Windows to.
Cedric Bail [Sat, 16 Mar 2013 06:50:01 +0000 (15:50 +0900)]
ecore_evas: killing Glew and Direct3d, because someone already killed Kenny.
Cedric Bail [Fri, 15 Mar 2013 10:20:10 +0000 (11:20 +0100)]
edje: fix edje_watch compilation on Windows.
Cedric Bail [Fri, 15 Mar 2013 10:00:19 +0000 (11:00 +0100)]
edje: fix epp compilation on Windows.
Cedric Bail [Fri, 15 Mar 2013 09:54:15 +0000 (10:54 +0100)]
evil: uselesss dependencies.
Cedric Bail [Fri, 15 Mar 2013 09:47:05 +0000 (10:47 +0100)]
efreet: avoid symbol collision.
Cedric Bail [Fri, 15 Mar 2013 08:44:26 +0000 (09:44 +0100)]
efreet: fix compilation on Windows.
Cedric Bail [Fri, 15 Mar 2013 08:32:20 +0000 (09:32 +0100)]
edbus: fix compilation on Windows.
Cedric Bail [Fri, 15 Mar 2013 08:12:05 +0000 (09:12 +0100)]
ecore_con: improve portability.
Cedric BAIL [Fri, 15 Mar 2013 07:47:05 +0000 (16:47 +0900)]
eina: a little bit sleepy, put that in the right file.
Cedric BAIL [Fri, 15 Mar 2013 07:41:28 +0000 (16:41 +0900)]
eina: add evil in.
Carsten Haitzler (Rasterman) [Fri, 15 Mar 2013 07:16:21 +0000 (16:16 +0900)]
fix doc formatting.
Cedric BAIL [Fri, 15 Mar 2013 07:05:05 +0000 (16:05 +0900)]
eina: share eina_file_copy code accross platform.
Carsten Haitzler (Rasterman) [Fri, 15 Mar 2013 04:05:39 +0000 (13:05 +0900)]
Fix opengl-es 2.0 engine support to only use GL_UNPACK_ROW_LENGTH
if the correct gles extension exists.
Carsten Haitzler (Rasterman) [Wed, 13 Mar 2013 10:37:04 +0000 (19:37 +0900)]
evas gl engine -> prefer extn symbols over non-extn symbols
Cedric BAIL [Fri, 15 Mar 2013 02:41:42 +0000 (11:41 +0900)]
ecore: improve systemd support after fork.
Cedric BAIL [Fri, 15 Mar 2013 01:56:27 +0000 (10:56 +0900)]
evas: fix uninitialized data.
Cedric BAIL [Thu, 14 Mar 2013 11:49:45 +0000 (20:49 +0900)]
eina: improve portability of Eina_File.
Daniel Willmann [Thu, 14 Mar 2013 17:21:48 +0000 (17:21 +0000)]
Revert "eina: improve portability of Eina_File."
This reverts commit
c002d113f11310b5367bfcd300c0add84bf6f57f.
This commit reliably breaks builds with clang. Please test with
export CC=clang before you commit again.
export CC=clang
./autogen.sh --enable-multisense && make -j 10
The error Jenkins gets (I confirmed locally):
/bin/bash: line 1: 13549 Segmentation fault (core dumped) EFL_RUN_IN_TREE=1 ./bin/edje/edje_cc -id . -fd . -id ./tests/emotion/data tests/emotion/data/theme.edc tests/emotion/data/theme.edj
Tom Hacohen [Thu, 14 Mar 2013 16:03:15 +0000 (16:03 +0000)]
Edje match: Cleaned up cedric's *IMPORTANT* compiler warnings.
Chris Michael [Thu, 14 Mar 2013 14:50:23 +0000 (14:50 +0000)]
Fix for building without setting the opengl=es option.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Cedric BAIL [Thu, 14 Mar 2013 12:00:03 +0000 (21:00 +0900)]
eina: remove duplicated declaration.
Cedric BAIL [Thu, 14 Mar 2013 11:49:45 +0000 (20:49 +0900)]
eina: improve portability of Eina_File.
Cedric BAIL [Thu, 14 Mar 2013 11:36:56 +0000 (20:36 +0900)]
eina: improve usability of Eina_Tmpstr.
Added eina_tmpstr_add_length and eina_tmpstr_strlen.
Mike Blumenkrantz [Thu, 14 Mar 2013 11:48:05 +0000 (11:48 +0000)]
fix writes/flushes with servers for ecore-con
Cedric BAIL [Thu, 14 Mar 2013 01:44:56 +0000 (10:44 +0900)]
evas: fix compilation issue due to change of Evas_Object structure.
Cedric BAIL [Thu, 14 Mar 2013 01:39:27 +0000 (10:39 +0900)]
edje: fix Eina_Cow usage in edje.
Tom Hacohen [Wed, 13 Mar 2013 16:40:38 +0000 (16:40 +0000)]
Eo: Make the benchmark values larger to improve the sample space.
Stefan Schmidt [Wed, 13 Mar 2013 13:19:54 +0000 (13:19 +0000)]
eina/tests: Adding return to non void function.
This fixes the test case for me. Also fixes two small wanring while being there.
Vladislav Brovko [Wed, 13 Mar 2013 09:02:25 +0000 (18:02 +0900)]
eina: add tests.
Added tests:
- eina_simple_xml_parser_null_node_dump,
- eina_simple_xml_parser_childs_count,
- eina_simple_xml_parser_parse_with_custom_callback.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Cedric BAIL [Wed, 13 Mar 2013 08:38:57 +0000 (17:38 +0900)]
edje: protect for people who don't have Ephysics.
Cedric Bail [Wed, 13 Mar 2013 06:46:30 +0000 (07:46 +0100)]
check fchmod existence for portabilityy
Cedric BAIL [Wed, 13 Mar 2013 07:26:36 +0000 (16:26 +0900)]
edje: fix use of Eina_Cow in Edje, stack and memcpy issue here.
Nikolay Lopatka [Wed, 13 Mar 2013 06:23:23 +0000 (15:23 +0900)]
Edje: Add test for edje_object_file_set.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Cedric BAIL [Tue, 19 Feb 2013 09:55:37 +0000 (18:55 +0900)]
edje: reduce memory usage of Edje signal callbacks and automates.
This patch try to share signal callbacks and automate accross all Edje
object. It does use an Eina_Hash on the callback description (signal,
source, func). There is no need to check it against Edje file or group
only the callbacks matter.
This version remove all use of size_t as it should never be above 32bits.
We have a hard limit on the number of callback to 2^32 now. I am considering
it would be sane to make it a short.
Cedric BAIL [Wed, 13 Mar 2013 05:30:21 +0000 (14:30 +0900)]
edje: use Eina_Cow for physics and map Edje_Real_Part_State.
This reduce memory used per Edje_Part description by 2 on my tests.