Eduardo Lima (Etrunko) [Tue, 26 Mar 2013 18:48:41 +0000 (15:48 -0300)]
Ecore_Wayland: Add ecore_wl_window_surface_create() API
On some use cases, it is necessary to create a new wl_surface without
associating it to a wl_shell_surface. This new API makes it possible.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Stefan Schmidt [Tue, 26 Mar 2013 17:25:35 +0000 (17:25 +0000)]
m4: With efl with binary macro to help cross-compilation
Stumbled over it while trying to give configure a working edje_cc
when doing cross-compile. The path was picked up but never set as
the Makefile_Edje_Helper.am guarded it with HAVE_EDJE_CC which we
never successfully assigned due to this typo.
Thanks goes to Daniel for another round of pair-bug-spotting.
Tom Hacohen [Tue, 26 Mar 2013 14:58:19 +0000 (14:58 +0000)]
Evas tests: Fix TESTS_BUILD_DIR to point to the build dir.
Tom Hacohen [Tue, 26 Mar 2013 11:24:17 +0000 (11:24 +0000)]
Eina examples: Fixed eina magic example.
Return a value in the "new" function...
Tom Hacohen [Tue, 26 Mar 2013 11:09:41 +0000 (11:09 +0000)]
Evas text: Add apparently important NULL checks.
Apparently obj->layer and obj->layer->evas can sometimes be NULL. It is
checked in other objects, for example, image object. Add the checks here
to "fix" a crash reported by Christopher Michael.
Stefan Schmidt [Tue, 26 Mar 2013 11:04:07 +0000 (11:04 +0000)]
eeze: Decrement eeze init count also in error cases
Stefan Schmidt [Tue, 26 Mar 2013 09:24:57 +0000 (09:24 +0000)]
eeze: Unregister all log domains in eeze shutdown.
We only unregistered _udev so far. Now also doing it for _net and _sensor
Stefan Schmidt [Tue, 26 Mar 2013 08:47:54 +0000 (08:47 +0000)]
evas_extn: Tag parameter as unused.
Maybe we should switch to use -Wno-unused-parameter in our default cflags?
I mean unused parameters are really common and I do not see their harm.
Using -Wno-unused-parameter would let us remove all the cluttered EINA_UNUSED
and __UNUSED__ and also be safe when a paramter gets is use later as the
compiler could optimize it out when tagged with unused. Still we would avoid
the warnings to find the important ones.
Stefan Schmidt [Tue, 26 Mar 2013 08:46:01 +0000 (08:46 +0000)]
embryo: Removed unused variable
Stefan Schmidt [Tue, 26 Mar 2013 08:43:16 +0000 (08:43 +0000)]
eeze: Make eeze sensor log domain private and use different ones for the modules
The main eeze sensor log domain was EAPI as it was used in the modules as well.
(Gives some nice runtime error when loading the shared object). Switch to different
domains for the module and make the main domain private.
Spotted by zmike.
Stefan Schmidt [Tue, 26 Mar 2013 08:35:59 +0000 (08:35 +0000)]
eeze/fake/module: Correct error message and fix typo.
Cedric BAIL [Tue, 26 Mar 2013 02:59:10 +0000 (11:59 +0900)]
edje: fix border limit bug.
Cedric BAIL [Tue, 26 Mar 2013 02:48:23 +0000 (11:48 +0900)]
evas: no need for a callback per async call.
Let's not multiply our callback infrastructure without any serious need. We
already have to many of them.
Carsten Haitzler (Rasterman) [Tue, 26 Mar 2013 00:42:31 +0000 (09:42 +0900)]
oops get images.mk generation right. missing |
Carsten Haitzler (Rasterman) [Tue, 26 Mar 2013 00:39:50 +0000 (09:39 +0900)]
filter ~ from images.mk and restore it to not have ~ files.
ChunEon Park [Mon, 25 Mar 2013 13:45:06 +0000 (22:45 +0900)]
ecore_x - use the exsiting variable.
Carsten Haitzler (Rasterman) [Mon, 25 Mar 2013 13:36:57 +0000 (22:36 +0900)]
update doc styling to match e.org
Carsten Haitzler (Rasterman) [Mon, 25 Mar 2013 07:12:54 +0000 (16:12 +0900)]
imrpovement in ethumb video generation - wait a few frames so we have
something rendered at new pos... :)
Cedric BAIL [Mon, 25 Mar 2013 09:44:21 +0000 (18:44 +0900)]
embryo: use eina_file_mkstemp.
Cedric BAIL [Mon, 25 Mar 2013 09:43:13 +0000 (18:43 +0900)]
eina: add eina_file_mkstemp.
Cedric BAIL [Mon, 25 Mar 2013 08:30:44 +0000 (17:30 +0900)]
eina: add some documentation for Eina_Cow.
Stefan Schmidt [Mon, 25 Mar 2013 09:40:36 +0000 (09:40 +0000)]
evas_extn: Rename data variable to avoid local shadowing.
Jenkins as well as klocwork complained here as data is already used for
the parameter of the function and we shadow it here locally. Does not look
like it would really harm us here but better avoid it.
Valerii Kanunik [Mon, 25 Mar 2013 03:55:42 +0000 (12:55 +0900)]
eina: improve Eina_Value coverage.
Added test 1: eina_value_test_convert_long.
Added test 2: eina_value_test_convert_ulong.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Cedric Bail [Sun, 24 Mar 2013 14:41:44 +0000 (23:41 +0900)]
edje: work also when not cross compiling.
Cedric Bail [Fri, 22 Mar 2013 13:56:52 +0000 (22:56 +0900)]
eio: fix a typos.
Cedric Bail [Sun, 24 Mar 2013 12:00:55 +0000 (13:00 +0100)]
edje: add option to enable theme compilation when cross compiling
Cedric Bail [Sun, 24 Mar 2013 11:48:00 +0000 (20:48 +0900)]
edje: fix stupid dependencies issue.
NOTE: We can't still not properly finish cross compilation as all the
build system assume that we can run the just compiled edje_cc and epp...
Cedric Bail [Sun, 24 Mar 2013 11:42:28 +0000 (20:42 +0900)]
evil: fix massive typo that was relying on Evil previous installation.
Jerome Pinot [Sat, 23 Mar 2013 05:10:22 +0000 (14:10 +0900)]
edje: doxygen doc improvement in edje_file_data_get
Carsten Haitzler (Rasterman) [Sat, 23 Mar 2013 04:28:49 +0000 (13:28 +0900)]
update po's ... :/
Carsten Haitzler (Rasterman) [Fri, 22 Mar 2013 08:40:56 +0000 (17:40 +0900)]
add a COMPLIANCE file for convenience.
Rafael Antognolli [Fri, 22 Mar 2013 18:27:55 +0000 (15:27 -0300)]
evas/examples: Fix clipped smart object show/hide example.
Make the children get clipped to its smart object's clipper, so there's
no need to reimplement smart_show() and smart_hide() methods.
Rafael Antognolli [Fri, 22 Mar 2013 18:01:02 +0000 (15:01 -0300)]
ecore_evas/wayland: Don't need to show and hide children of the frame.
The frame smart object inherits from clipped smart object now, so it
doesn't need to show and hide its children, as the clipper takes care of
that.
Daniel Willmann [Fri, 22 Mar 2013 18:32:38 +0000 (18:32 +0000)]
eeze_sensor: Don't free the data passed in the callback ourself
The way ecore_event_add() is used in the sensor modules takes care of
that already (not providing a free cb).
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Fri, 22 Mar 2013 17:30:10 +0000 (17:30 +0000)]
eeze_sensor: Don't free the object we want to return asynchronously
The event callback will take care of freeing the object.
This issue was found thanks to clangs -fsanitize=address option - coming
to a CI job near you.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
maxerba [Fri, 22 Mar 2013 16:45:07 +0000 (17:45 +0100)]
updating catalan translation
Jonas Gastal [Fri, 22 Mar 2013 15:12:42 +0000 (12:12 -0300)]
Fix CURRENT for moving objects.
Cedric BAIL [Fri, 22 Mar 2013 12:01:53 +0000 (21:01 +0900)]
edje: fix memory leak.
Cedric BAIL [Fri, 22 Mar 2013 11:25:37 +0000 (20:25 +0900)]
ecore: fix some aliasing warning.
Cedric BAIL [Fri, 22 Mar 2013 11:13:32 +0000 (20:13 +0900)]
edje: shutup you moronic GCC 4.7.
This memset is not necessary as pack_it_copy can only be accessed when
the part type is a BOX or a TABLE and thus pack_it will be defined. Sadly
GCC 4.7 is more stupid than GCC 4.6 and think that it is an unitialized data
resulting in a massive number of useless warning that could hide real warning.
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.