Commit Graph

21561 Commits

Author SHA1 Message Date
Cedric BAIL d1112534a1 evas: optionally propagate update rectangle on RENDER_POST. 2013-03-22 15:30:34 +09:00
Carsten Haitzler fba8124fc5 in evas gl engine if age changes then be conservative and assume backbuffer was
invalidated.
2013-03-22 11:35:05 +09:00
Carsten Haitzler deabd07e4b oops - define GL_UNPACK_ROW_LENGTH not GL_UNPACK_ROW_LENGTH_EXT 2013-03-22 11:35:05 +09:00
Rafael Antognolli 048c8f0b25 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.
2013-03-21 20:45:44 -03:00
Eduardo Lima (Etrunko) a8c63de55a Add missing Ecore.h include
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-03-21 16:32:13 -03:00
Tom Hacohen 71e95fa386 Evas cserve2: Remove useless var when calculating size of sun_path.
I have no idea how I missed these 2.
2013-03-21 14:15:10 +00:00
Tom Hacohen 026559f752 Evas cserve2: Remove useless var when calculating size of sun_path. 2013-03-21 13:22:35 +00:00
Tom Hacohen 8fb14b29c0 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.
2013-03-21 13:21:10 +00:00
Tom Hacohen ecc0972468 Evas cserve2: Remove useless var when calculating size of sun_path. 2013-03-21 13:15:47 +00:00
Rafael Antognolli 7a01acd60d 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.
2013-03-20 18:06:26 -03:00
Boris 'billiob' Faure 61c50e9d1c eina-cow: fix valgrind instrumentation 2013-03-20 21:18:49 +01:00
Daniel Willmann 07b5c33f90 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>
2013-03-20 18:42:54 +00:00
Rafael Antognolli 57208fd2a3 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.
2013-03-20 15:16:10 -03:00
Daniel Willmann 7f5ea979c3 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>
2013-03-20 17:05:27 +00:00
Tom Hacohen aef97ce5a5 Evas gl: Fixed warnings in the gl engine. 2013-03-20 15:18:54 +00:00
Jérémy Zurcher b4cad3c370 eina: add eina_list_shuffle
Summary: add uniform shuffle to Eina_List

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D27
2013-03-20 12:19:13 +01:00
Jérémy Zurcher d0f3357f77 TES
Conflicts:
	src/lib/eina/eina_list.c
	src/lib/eina/eina_types.h
2013-03-20 11:48:44 +01:00
Carsten Haitzler b71a17b9db oh so minor buglet - interpolate border scale by a sa float (in fixed
point) not an integer!
2013-03-20 12:45:18 +09:00
Cedric BAIL a40c41b1bd eina: fix use of Valgrind macro in Eina_Cow. 2013-03-20 11:01:03 +09:00
Cedric BAIL e02bb36e3a 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.
2013-03-20 10:59:56 +09:00
Cedric Bail a831609e63 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.
2013-03-20 10:59:56 +09:00
Daniel Willmann 1d8f06511c 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>
2013-03-19 17:00:33 +00:00
Daniel Willmann a32870c424 ecore_coroutine: Silence warning in clang
We can't get more const than const int

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-19 17:00:33 +00:00
Tom Hacohen fab36d8869 Eina cow: Don't tests things that depend on magic when it's off. 2013-03-19 15:48:59 +00:00
Tom Hacohen d84de4adf1 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.
2013-03-19 15:45:44 +00:00
Tom Hacohen 60c9ba4a8f Revert "eina: reenable them as it was a bug from Tasn."
This reverts commit a9041777d4.

Re-disable them as it was a bug from Cedric.

This is the cause for the huge slowdown.
2013-03-19 15:37:55 +00:00
Cedric Bail a9041777d4 eina: reenable them as it was a bug from Tasn. 2013-03-20 00:16:12 +09:00
Cedric Bail 68213b7f78 eina: disable Eina_Cow magic completely for the moment. 2013-03-19 23:42:12 +09:00
Mike Blumenkrantz ef3c57aa08 fix magic failure in eina_value_array_count when array has not been allocated 2013-03-19 14:07:28 +00:00
Tom Hacohen 9e72d028ac Evas object: Fixed clouseau reporting for align and weight. 2013-03-19 10:47:41 +00:00
Stefan Schmidt b3c1a6c1c5 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.
2013-03-19 08:38:11 +00:00
Cedric Bail 9e745d4a2c efl: add macro to swap Windows and Unix path separators. 2013-03-19 15:15:46 +09:00
Cedric Bail b631878821 ecore: fix overflow on Windows 64 bits. 2013-03-19 15:15:37 +09:00
Cedric BAIL 5f2ec224e9 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.
2013-03-19 15:11:50 +09:00
Cedric BAIL 5815be54f5 edje: let's not segfault when we remove a non existant callback. 2013-03-19 14:48:57 +09:00
Tom Hacohen e4c00e098a Eo: Added an eo_do_super benchmark. 2013-03-18 16:14:18 +00:00
Tom Hacohen a170683334 Change usage of eo_do_super to the new prototype. 2013-03-18 16:14:18 +00:00
Tom Hacohen 83180acf26 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.
2013-03-18 16:14:18 +00:00
Lucas De Marchi 61ca9d550d Revert "Add a new API to edbus to let it create an EDbus session from"
This reverts commit 8ecd30d578.

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.
2013-03-18 10:27:14 -03:00
Daniel Willmann 262f05782b 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>
2013-03-18 12:46:26 +00:00
Cedric BAIL 42d320c523 edje: i am lazy, i like to not care about case. 2013-03-18 16:28:22 +09:00
Cedric BAIL 638d6e1dff edje: handle custom state to. 2013-03-18 16:28:22 +09:00
Cedric Bail b754529325 edje: fix run on 64bits system. 2013-03-18 16:28:22 +09:00
Carsten Haitzler 966626d0b7 Revert "edje: fix run on 64bits system."
This reverts commit d482c5cc59.
2013-03-17 20:00:20 +09:00
Daniel Juyung Seo 0dba1e9b8a eina eina_inlist.c: fixed formatting while reading the code. 2013-03-17 19:00:49 +09:00
Daniel Juyung Seo 0140560530 Ecore.h: use ECORE_CALLBACK_RENEW/CANCEL for timer callback. 2013-03-17 17:54:40 +09:00
Carsten Haitzler 797c1a1283 seems tegra has gotten better so up pipe max number in gl engine. 2013-03-17 14:18:52 +09:00
Carsten Haitzler 5a8d82228f update on recent symbol finding changes in evas - use dlsym for fbo's 2013-03-17 13:55:10 +09:00
Cedric Bail d482c5cc59 edje: fix run on 64bits system. 2013-03-17 13:00:20 +09:00
Cedric Bail d4172f555a ecore_con: fix warnings when curl is not available. 2013-03-17 10:34:40 +09:00