Commit Graph

1322 Commits

Author SHA1 Message Date
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
Cedric Bail 5969101c57 ecore: another needed virtual destructor. 2013-03-17 10:34:27 +09:00
Cedric Bail 26d9130926 ethumb: we are linking with Ethumb_Client. 2013-03-16 23:20:49 +09:00
Cedric Bail e890b24457 ecore: virtual destructors are needed 2013-03-16 23:12:47 +09:00
Cedric Bail 6df7da23b5 ecore: lower more warning level. 2013-03-16 23:08:19 +09:00
Cedric Bail d8791d3d17 edje: lower warning level. 2013-03-16 22:59:01 +09:00
Cedric Bail cc9343803e edje: remove that anoying \n. 2013-03-16 22:55:46 +09:00
Cedric Bail 06ce7c2ede 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.
2013-03-16 22:49:32 +09:00
Daniel Willmann 116b775c30 ecore_evas: Mark unused variables as unused
Get rid of warnings introduced by commit a4593c

Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
2013-03-16 12:33:36 +00:00
Cedric Bail 6fdaef0259 efl: fix compilation on Windows when no Evil library is installed. 2013-03-16 16:33:57 +09:00
Cedric Bail ba4db2c241 ecore_evas: follow naming of other modules for Windows to. 2013-03-16 15:54:18 +09:00
Cedric Bail a4593c1cdf ecore_evas: killing Glew and Direct3d, because someone already killed Kenny. 2013-03-16 15:50:01 +09:00
Cedric Bail 338412434c edje: fix edje_watch compilation on Windows. 2013-03-16 15:40:36 +09:00
Cedric Bail 69b5868005 edje: fix epp compilation on Windows. 2013-03-16 15:40:35 +09:00
Cedric Bail 8866220a6d evil: uselesss dependencies. 2013-03-16 15:40:34 +09:00
Cedric Bail ebdb49cf0e efreet: avoid symbol collision. 2013-03-16 15:40:33 +09:00
Cedric Bail b4becd5d7a efreet: fix compilation on Windows. 2013-03-16 15:40:32 +09:00