Carsten Haitzler
a8e80514dc
fix clang bad free complaint to deal with data magic value
2013-07-16 18:11:50 +09:00
Cedric Bail
9d2249c1a8
eina: fix Eina_Log restart.
2013-07-15 17:04:34 +09:00
Daniel Juyung Seo
fe914c069c
eina_stringshare.h: added more description to eina_stringshare_add_length().
2013-07-15 13:39:57 +09:00
Cedric Bail
f07d4c17e9
eina: add eina_tiler_empty.
2013-07-11 14:01:06 +09:00
Cedric Bail
5479da04b6
eina: Eina_Tiler formatting.
2013-07-11 14:01:06 +09:00
Cedric Bail
d2b94729bc
eina: don't insert the same rectangle multiple time in a row.
2013-07-11 14:01:06 +09:00
Cedric Bail
2e347b5e22
eina: let's not complain for nothing.
2013-07-11 14:01:06 +09:00
Chris Michael
a144495daa
Initialize 'd' to -1 so we can check on 'end' if it needs closing
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-08 16:05:12 +01:00
Chris Michael
2aa12782b6
If we open a file for copying, then we should also Close that file
...
when the copy is done.
NB: Fixes Coverity CID1039181
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:13:56 +01:00
Mike Blumenkrantz
b8e16b8f4a
+eina_tiler_area_size_get
...
also fix docs for eina_tiler_area_size_set
2013-07-08 09:08:04 +01:00
Carsten Haitzler
d15d86e26f
eina: add eina_file_map_populate()
2013-07-06 22:01:23 +09:00
Cedric Bail
0453cd16b4
eina: revert that simplification as compiler are now to dumb to handle it.
2013-07-05 14:59:43 +09:00
Cedric Bail
f825bebcdb
eina: improve Eina_Tiler to be in par with Evas_Tilebuf.
2013-07-04 13:02:48 +09:00
Stefan Schmidt
9c1ed31c76
eina_list: Avoid NULL pointer deref in eina_list_shuffle.
...
If we have a valid but empty, n = 0, list we never enter the loop
and shuffled_last might still be NULL. Avoid this case by checking
explicitly for n = 0 before.
2013-06-25 15:18:33 +01:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Sebastian Dransfeld
068f1ddc62
efl: formatting
2013-06-20 13:08:36 +02:00
Jérémy Zurcher
0baf4b3561
eina_str_split_full_helper: indent
2013-06-12 23:34:40 +02:00
Jérémy Zurcher
bc182253a7
eina_str_split_full_helper: check params, set NULL at the end of token array
2013-06-12 23:34:40 +02:00
Boris Faure
e0372fc54d
eina_log: screen-256color also support colors
2013-06-09 15:50:11 +02:00
Boris Faure
55b66a93d7
eina-log: xterm-256 (or terminology someday…) supports colors
2013-06-08 21:07:22 +02:00
Cedric Bail
06cd16548c
eina: add eina_file_dup.
2013-06-04 15:04:19 +09:00
Mike Blumenkrantz
29a4edb274
improve eina_str_convert_len docs
2013-05-30 07:41:55 +01:00
Mike Blumenkrantz
37aa26b977
add eina_str_convert_len() for converting from encodings which contain '\0' characters
...
eina_str_convert() is GUARANTEED to break when doing any such encoding (eg. UTF16->UTF8). I don't know who added the original function, but this is very bad, and we should almost certainly deprecate eina_str_convert() so people are not surprised when they are unable to convert strings as expected.
2013-05-29 13:46:11 +01:00
Daniel Juyung Seo
3c9856f9e0
eina_list.h: fixed documentation source formatting while reading the code.
2013-05-23 20:26:48 +09:00
Daniel Willmann
5f1614e1d5
eina_fp: Fix eina_f32p32_mul rounding issues
...
Previous multiplication just truncated the fraction part to 16 bits. If
we round properly we can actually increase accuracy a bit.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-17 17:15:27 +01:00
Cedric Bail
2c8ff31788
eina: add EINA_INLIST_FREE.
2013-05-09 09:57:19 +09:00
Daniel Juyung Seo
c886845a1b
eina_str.c: fixed formatting.
2013-05-08 20:53:45 +09:00
Galatsanos 'godfath3r' Panagiotis
c8b9e0540b
eina: fix a clang warning in eina_cow.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-05-08 18:17:00 +09:00
Cedric Bail
674f612c3b
eina: more meaningful message.
2013-05-08 18:17:00 +09:00
Cedric Bail
574e9015f1
eina: whitespace--;
2013-05-08 18:17:00 +09:00
Daniel Juyung Seo
436d63e01a
eina_unicode.H: be nice. add more documentation for deprecated api.
2013-04-20 19:01:02 +09:00
Cedric Bail
495088caf4
eina: make eina_mempool_alignof a little bit faster.
2013-04-11 18:07:09 +09:00
Cedric Bail
9547166878
eina: little speed improvement by reducing chance to call function.
2013-04-11 18:07:09 +09:00
Jérémy Zurcher
2036f7d344
eina: add eina_inlist_first and eina_inlist_last
...
- both as static inline functions
- test added in eina_inlist_simple
2013-04-09 12:03:05 +02:00
Jérémy Zurcher
1231faf8d9
eina_inlist: fix eina_inlist_sort doc
2013-04-05 23:58:46 +02:00
Cedric Bail
dd4a5215d7
eina: add some more debug information.
2013-04-04 23:50:18 +09:00
Cedric BAIL
a11fe38afc
eina: remove the most costly boolean ever.
...
We did use this 'begin' boolean to make eina_hash always allocate only
once per item it push in the hash. This boolean was alone at the end of
a structure. It would have costed us 4bytes on 32bits system and 8bytes
on 64bits. Removing it make elemines consume 100KB less on 32bits system.
We may have a speed impact on hash insertion here, but I don't think we
do use eina_hash_add and friends in any hot path, at the moment. If that
was the case there would be some way to mitigate this, just not worth it
at the moment.
2013-04-04 11:22:43 +09:00
Cedric BAIL
7ebe7373e6
eina: make it possible to disable Eina_Cow GC at instantiation time.
2013-04-02 17:11:05 +09:00
Cedric BAIL
7e004cea85
eina: let's not run the GC on memcpy things.
2013-04-02 13:41:47 +09:00
Daniel Juyung Seo
b8395bd119
eina_stringshare.h: more acurate documentation for Eina_Stringshare.
2013-04-01 20:57:57 +09:00
Cedric BAIL
78984b9e7a
eina: correctly remove reference from hash and make cow garbage collector work.
2013-04-01 18:38:24 +09:00
Cedric Bail
5da94cfc89
eina: add <errno.h> for build on Win32.
2013-03-30 18:20:19 +09:00
Cedric BAIL
ad406d7353
eina: use a global variable to hold the same string accross other library.
2013-03-29 11:44:48 +09:00
Vladislav Brovko
7584a7e84d
eina: add eina_file_mkdtemp and tests for Eina_File.
...
Test added for :
eina_file_direct_ls_simple
eina_file_ls_simple
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-27 22:45:34 +09:00
Cedric BAIL
6f6d425f0d
eina: do not report timing for already stopped domain.
2013-03-27 22:37:15 +09:00
Cedric BAIL
1d5692baa6
eina: add eina_log_timing.
2013-03-27 21:43:45 +09:00
Cedric BAIL
70f8bd50eb
eina: add eina_file_mkstemp.
2013-03-25 18:45:42 +09:00
Cedric BAIL
7dfa9af0f4
eina: add some documentation for Eina_Cow.
2013-03-25 18:45:42 +09:00
Cedric BAIL
4a584fcc32
eina: correctly advertise to valgrind Eina_Cow memory size.
2013-03-22 20:15:05 +09:00
Boris 'billiob' Faure
61c50e9d1c
eina-cow: fix valgrind instrumentation
2013-03-20 21:18:49 +01:00