cedric [Tue, 22 Mar 2011 16:33:34 +0000 (16:33 +0000)]
eina: refactoring.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57993
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 19 Mar 2011 00:15:42 +0000 (00:15 +0000)]
err...always strcmp this not sure what I was thinking
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57864
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 19 Mar 2011 00:07:23 +0000 (00:07 +0000)]
+EAPI Eina_Error eina_error_find(const char *msg)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57863
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 18 Mar 2011 22:02:03 +0000 (22:02 +0000)]
use stringshare in eina_error
the only restriction here is that eina_error_msg_register cannot be used internally by eina prior to stringshare init, but since this does not happen currently there is no problem :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57861
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 18 Mar 2011 07:35:19 +0000 (07:35 +0000)]
revert version change 999 -> 99. also e17 didnt even need it as it
produced no versioned .so files.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57844
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 17 Mar 2011 15:31:09 +0000 (15:31 +0000)]
Eina inlist: Improved docs a bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57825
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 17 Mar 2011 13:12:50 +0000 (13:12 +0000)]
Set v_mic to 99 (less than 256) to please OS X
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57824
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 9 Mar 2011 14:59:48 +0000 (14:59 +0000)]
eina: better fix for large file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57627
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 9 Mar 2011 14:49:35 +0000 (14:49 +0000)]
eina: fix stat failure when size, blocks count or serial number didn't
fit in 32bits.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57624
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Feb 2011 14:40:54 +0000 (14:40 +0000)]
remove.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57387
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Feb 2011 11:27:02 +0000 (11:27 +0000)]
make label not have nothing after it. fix err when valgrind and
threads disabled.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57373
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Thu, 24 Feb 2011 21:55:00 +0000 (21:55 +0000)]
eina: typo in doc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57312
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 24 Feb 2011 07:05:50 +0000 (07:05 +0000)]
Eina chained mempool:
Fix a compilation failure when --disable-posix-threads
--disable-valgrind are passed to configure
When --disable-posix-threads --disable-valgrind are passed
to configure, a label is at the end of a block. Just add a
return to fix that problem.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57290
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 23 Feb 2011 20:56:29 +0000 (20:56 +0000)]
revert...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57286
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 23 Feb 2011 20:40:28 +0000 (20:40 +0000)]
re-add autopoint for gettext stuff
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57285
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 21 Feb 2011 14:56:49 +0000 (14:56 +0000)]
efl: turn on cached result, that will reduce your configure time a lot !
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57213
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 17 Feb 2011 11:49:37 +0000 (11:49 +0000)]
Eina ut8: Made the utf8 parser tests more complete.
Added standalone continuation bytes tests.
Added isolated starting sequences tests
Added incomplete sequences tests
Added Overlong representations tests.
And I think that's it. Still need to add tests for surrogate pairs.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 17 Feb 2011 08:34:42 +0000 (08:34 +0000)]
Better headers check.
Btw, should we include inttypes.h where we include stdint.h ?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57114
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 17 Feb 2011 07:53:49 +0000 (07:53 +0000)]
Eina utf8: Handle overlong representations in the parser.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57112
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 17 Feb 2011 07:29:12 +0000 (07:29 +0000)]
+eina_list_move* for moving list node data to another list
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57110
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 16 Feb 2011 15:43:29 +0000 (15:43 +0000)]
Eina coverage: Added eina_unicode_utf8_* and utf8<->Eina_Unicode testing coverage.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57094
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 16 Feb 2011 15:43:25 +0000 (15:43 +0000)]
Eina unicode: Added utf8 handling functions and also added Eina_Unicode<->UTF-8 conversions.
It's the functions from Evas_Encoding that have been renamed.
I also added support for 6byte UTF-8 conversion (Eina_Unicode->UTF-8).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57093
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 16 Feb 2011 11:33:32 +0000 (11:33 +0000)]
Eina Changelog: Updated changelog (zmike's change)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57086
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 16 Feb 2011 11:01:42 +0000 (11:01 +0000)]
elementary, eina, calendar: don't track generated files.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57085
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 16 Feb 2011 09:34:27 +0000 (09:34 +0000)]
+EINA_INLIST_FOREACH_SAFE
it looks crazy, but it works somehow
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57080
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 8 Feb 2011 13:47:41 +0000 (13:47 +0000)]
Eina: Updated changelog.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56809
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 8 Feb 2011 13:43:03 +0000 (13:43 +0000)]
Eina unicode: Added eina_unicode_strndup.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56807
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 4 Feb 2011 14:08:00 +0000 (14:08 +0000)]
* eina: change limit to produce more meaning full benchmark.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56713
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 4 Feb 2011 14:03:18 +0000 (14:03 +0000)]
* eina: revert and fix a typo that make stuff even faster.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56712
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 3 Feb 2011 20:04:03 +0000 (20:04 +0000)]
Eina: reverted commit 56637 (scalability and whatever improvements) it had HUGE leaks.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56695
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 3 Feb 2011 19:51:49 +0000 (19:51 +0000)]
put visual studio files outside the libraries directory
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56686
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 2 Feb 2011 17:07:49 +0000 (17:07 +0000)]
fix misuse of EINA_PURE
qsort may modify a global variable, so this function cannot have pure attribute
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56652
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 1 Feb 2011 18:10:03 +0000 (18:10 +0000)]
* eina: improve speed and scalability a lot.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56637
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 Jan 2011 13:24:22 +0000 (13:24 +0000)]
geeze. get year right! spank
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56378
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 Jan 2011 03:54:33 +0000 (03:54 +0000)]
aaaah farg. forgot the changelogs. fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56359
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 Jan 2011 03:34:44 +0000 (03:34 +0000)]
svn goes to x.x.999.svnrev now. :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56355
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 Jan 2011 03:05:22 +0000 (03:05 +0000)]
1.0 version magic. now leave these projects the hell alone in svn
until we have branches.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56352
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 28 Jan 2011 16:05:12 +0000 (16:05 +0000)]
inglishicize some ducks
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56344
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 18 Jan 2011 08:34:14 +0000 (08:34 +0000)]
Unlock should be run *after* EINA_MAGIC_FAIL otherwise wrong info about the error will be printed, because unlock may modify d.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56209
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 16 Jan 2011 17:55:41 +0000 (17:55 +0000)]
put again eina tests in the source tree
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56193
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 16 Jan 2011 01:14:29 +0000 (01:14 +0000)]
why calloc (fill with 0's) then re-fill it again instantly.. except
the nul terminator? pointless. fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56145
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 14 Jan 2011 08:04:23 +0000 (08:04 +0000)]
fix null deref again, this time with the power of spankies
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56105
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 14 Jan 2011 03:29:58 +0000 (03:29 +0000)]
we null check right before this. seriously.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56090
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 14 Jan 2011 03:28:27 +0000 (03:28 +0000)]
if alloca fails you're screwed anyway, so not much point checking for it
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56089
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 14 Jan 2011 03:21:50 +0000 (03:21 +0000)]
and also avoid leak while avoiding
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56088
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 14 Jan 2011 03:19:17 +0000 (03:19 +0000)]
avoid possible null function pointer
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56087
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 7 Jan 2011 15:56:54 +0000 (15:56 +0000)]
hve to revert these commits. they hve created a whole chunk of 64bit
crashes on linux. this is REALLY bad. so remove these changes now.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55981
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 7 Jan 2011 06:28:17 +0000 (06:28 +0000)]
use configure-time headers checks instead of compiler ones
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55967
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 6 Jan 2011 18:26:40 +0000 (18:26 +0000)]
revert non wanted changes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55939
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 6 Jan 2011 18:19:42 +0000 (18:19 +0000)]
move AC_GNU_SOURCE before libtool init
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55938
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 6 Jan 2011 18:13:54 +0000 (18:13 +0000)]
add guards in config.h to avoid multiple inclusions
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55937
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 4 Jan 2011 18:09:22 +0000 (18:09 +0000)]
make eina compile again on Windows CE
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55853
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 3 Jan 2011 07:16:01 +0000 (07:16 +0000)]
better namespace
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55813
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 30 Dec 2010 07:51:26 +0000 (07:51 +0000)]
Fixed documentation a bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55778
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 28 Dec 2010 13:22:12 +0000 (13:22 +0000)]
Hey,
below is a patch to delete mempools in eina_quadtree_shutdown() (i
currently can not commit).
Vincent
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55767
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Dec 2010 03:05:58 +0000 (03:05 +0000)]
remove eina tests
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55637
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 16 Dec 2010 07:45:12 +0000 (07:45 +0000)]
remove warning
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55578
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 16 Dec 2010 04:28:03 +0000 (04:28 +0000)]
no long casts - just case to/from void * as needed. i dont see why we
needed any uintptr_t or long there.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55569
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Dec 2010 11:56:50 +0000 (11:56 +0000)]
* eina: some time compiler are really stupid...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55561
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Dec 2010 11:14:47 +0000 (11:14 +0000)]
* eina: fix typo.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55560
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 14 Dec 2010 16:20:48 +0000 (16:20 +0000)]
* eina: also update ldflags instead of cflags.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55555
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 12 Dec 2010 22:42:20 +0000 (22:42 +0000)]
add eina_sched.c to the vcproj file
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55524
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 13:13:10 +0000 (13:13 +0000)]
update vcproj file
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55495
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 13:11:59 +0000 (13:11 +0000)]
don't redefine macro when using Visual Studio
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55494
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 07:09:07 +0000 (07:09 +0000)]
missing cast
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55487
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 07:02:25 +0000 (07:02 +0000)]
warning--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55486
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 11 Dec 2010 04:05:52 +0000 (04:05 +0000)]
formatting fixups.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55485
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 11 Dec 2010 03:57:05 +0000 (03:57 +0000)]
fix void ptr math. odd that no warnings happened before with all my
warning flags on.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55484
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 11 Dec 2010 03:44:33 +0000 (03:44 +0000)]
revert part of commit - broke compilation. no uintptr_t in linux
yeaders by default - likely breaks even more.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55483
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 00:45:26 +0000 (00:45 +0000)]
* make vc++ happy with ERR()
* use uintptr_t where needed.
Please someone check if the compilation is still good on linux (I'm on
Windows), to see if a header must be included for uintptr_t or not.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 00:42:29 +0000 (00:42 +0000)]
update Visual Studio files
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55478
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 00:41:31 +0000 (00:41 +0000)]
warning--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55477
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 00:40:52 +0000 (00:40 +0000)]
warning--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55476
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 00:40:05 +0000 (00:40 +0000)]
warning--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55475
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 11 Dec 2010 00:39:28 +0000 (00:39 +0000)]
put EINA_MAGIC at the end of the structure
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55474
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Fri, 10 Dec 2010 06:05:35 +0000 (06:05 +0000)]
Fix me as author
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 9 Dec 2010 10:14:11 +0000 (10:14 +0000)]
Use EINA_PATH_MAX where it makes sense.
All the access to Eina_File_Direct_Info::path should be using the
actual size (EINA_PATH_MAX) and not another constant (PATH_MAX).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55403
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 9 Dec 2010 02:55:08 +0000 (02:55 +0000)]
and if i'm breaking shit... i may as well put it at the end, so if
size changes later to be bigger, existing code doesnt break (due to
the way this is meant to be accessed).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55388
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 9 Dec 2010 02:46:11 +0000 (02:46 +0000)]
ok - make it 8192.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55387
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 9 Dec 2010 01:29:52 +0000 (01:29 +0000)]
spottied a stabilty/portability bug with PATH_MAx inside a public
header. fix. see comments.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55386
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 8 Dec 2010 19:32:23 +0000 (19:32 +0000)]
* eina: forgotten link.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55380
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 5 Dec 2010 03:14:03 +0000 (03:14 +0000)]
From: Marco Trevisan (Treviño) <mail@3v1n0.net>
Subject: [E-devel] [PATCH] eina share common check for node type
Hello, recentely I've been experiencing a lot of segfaults when running
an Elementary application which uses a genlist with some swallowed parts
in which I put some elm icons (png files).
When running it I often get crashes... Debugging it I found this:
=========
CRI<14207>: eina_share_common.c:561 _eina_share_common_node_from_str()
*** Eina Magic Check Failed !!!
Input handle is wrong type
Expected:
98761254 - Eina Stringshare Node
Supplied:
6e657070 - (unknown)
*** NAUGHTY PROGRAMMER!!!
*** SPANK SPANK SPANK!!!
*** Now go fix your code. Tut tut tut!
//DEBUG: Node referencies
622869060 (slen:
1145307236)
Program received signal SIGSEGV, Segmentation fault.
eina_share_common_del (share=0x65c810, str=0x7ffff1219150
"5hhu %5hu '%
s'\n")
at eina_share_common.c:858
858 node->references--;
=========
So it seems that edje tries to delete an invalid eina_share_common
string (is this a bug that should be fixed or is it
theme-dependent?),
and so the "node" pointer in eina share is not valid...
However eina never checks for its validity, so it seg-faults...
The attached patch fix this issue, setting the node to null when its
magic is not valid, and then always checking for its validity.
Is this fine?
Full stack trace:
#0 eina_share_common_del (share=0x65c810, str=0x7ffff1219150 "5hhu %5hu
'%s'\n")
at eina_share_common.c:858
#1 0x00007ffff120e047 in eina_stringshare_del (str=0x7ffff1219150
"5hhu
%5hu '%s'\n")
at eina_stringshare.c:632
#2 0x00007ffff1e1f7bc in _edje_text_recalc_apply (ed=0x95b900,
ep=0x70c3a0,
params=0x70c500, chosen_desc=<value optimized out>) at
edje_text.c:556
#3 0x00007ffff1de402d in _edje_part_recalc (ed=0x95b900,
ep=0x70c3a0,
flags=3)
at edje_calc.c:2007
#4 0x00007ffff1de4d86 in _edje_recalc_do (ed=0x95b900) at
edje_calc.c:268
#5 0x00007ffff1e25c7d in edje_object_part_swallow (obj=<value
optimized
out>,
part=0x7fffe001484c "elm.swallow.icon", obj_swallow=0x7fffe0017860)
at edje_util.c:2300
#6 0x00007ffff1b5d5fc in _item_realize (it=0x7fffe0016ed0,
in=10,
calc=1)
at elm_genlist.c:1489
#7 0x00007ffff1b5db89 in _item_block_recalc (itb=0x95b6a0,
in=<value
optimized out>,
qadd=<value optimized out>, norender=<value optimized out>) at
elm_genlist.c:1609
#8 0x00007ffff1b5e329 in _queue_proecess (wd=0x721b70,
norender=<value
optimized out>)
at elm_genlist.c:2425
#9 0x00007ffff1b5e567 in _item_queue (wd=0x721b70, it=<value
optimized
out>)
at elm_genlist.c:2476
#10 0x00007ffff1b5ead9 in elm_genlist_item_append (obj=<value
optimized
out>,
itc=0x7ffff2977040, data=0x8fed90, parent=0x0,
flags=ELM_GENLIST_ITEM_NONE,
func=<value optimized out>, func_data=0x0) at elm_genlist.c:2528
[eina-share-common-del-check-for-node.patch text/x-patch
(1.2KB)]
Index: src/lib/eina_share_common.c
===================================================================
--- src/lib/eina_share_common.c(revisione 55018)
+++ src/lib/eina_share_common.c(copia locale)
@@ -558,7 +558,7 @@
const size_t offset = offsetof(Eina_Share_Common_Node, str);
node = (Eina_Share_Common_Node *)(str - offset);
- EINA_MAGIC_CHECK_SHARE_COMMON_NODE(node, node_magic, );
+ EINA_MAGIC_CHECK_SHARE_COMMON_NODE(node, node_magic, node
= NULL);
return node;
(void) node_magic; /* When magic are disable, node_magic is
unused, this remove a warning. */
@@ -821,6 +821,7 @@
SHARE_COMMON_LOCK_BIG();
node = _eina_share_common_node_from_str(str,
share->node_magic);
+ if (!node) return str;
node->references++;
DBG("str=%p refs=%u", str, node->references);
@@ -847,6 +848,9 @@
SHARE_COMMON_LOCK_BIG();
node = _eina_share_common_node_from_str(str,
share->node_magic);
+ if (!node)
+ return;
+
slen = node->length;
eina_share_common_population_del(share, slen);
if (node->references > 1)
@@ -901,6 +905,7 @@
return -1;
node = _eina_share_common_node_from_str(str,
share->node_magic);
+ if (!node) return 0;
return node->length;
}
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55265
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sat, 4 Dec 2010 00:50:58 +0000 (00:50 +0000)]
* eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55238
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sat, 4 Dec 2010 00:46:01 +0000 (00:46 +0000)]
* eina: forgotten file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55237
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Dec 2010 23:04:26 +0000 (23:04 +0000)]
* eina: define PATH_MAX when needed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55232
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Dec 2010 21:50:50 +0000 (21:50 +0000)]
* eina: don't fail if we didn't enable thread support completly.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55226
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Dec 2010 18:46:49 +0000 (18:46 +0000)]
* eina: fix typos.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55223
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Dec 2010 18:12:19 +0000 (18:12 +0000)]
* eina: fix typo.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55212
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Dec 2010 18:02:51 +0000 (18:02 +0000)]
* eina: add forgotten header.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55211
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Dec 2010 16:30:26 +0000 (16:30 +0000)]
* eina: fix gettimeofday usage.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55197
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Nov 2010 23:16:19 +0000 (23:16 +0000)]
* eina: we don't plan to provide ABI compatibility until 1.0.
This kind of trick are for after 1.0, if you really need you can
just pick that patch.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55075
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 29 Nov 2010 23:14:35 +0000 (23:14 +0000)]
closes ticket 634
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55074
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Nov 2010 18:40:26 +0000 (18:40 +0000)]
* eina, eet: fix coverage generation with newer lcov.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55070
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Nov 2010 18:32:30 +0000 (18:32 +0000)]
* eina: eina_array_clean should be inlined from the beginning.
NOTE: to prevent ABI break, I added the old symbol in eina_abi.c.
So binary/library using eina_array_clean should continue to work
without any problem.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55068
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
helen [Thu, 25 Nov 2010 19:38:45 +0000 (19:38 +0000)]
eina_array_data_set can receives null to unset
Passing null to the second parameter is the only way to unset the data,
so it should not have EINA_ARG_NONNULL to the data parameter
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54997
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
helen [Thu, 25 Nov 2010 19:00:59 +0000 (19:00 +0000)]
Missing include in eina_inlist.c
Including eina_log.h in eina_inlist.c
Removing warning:
warning: implicit declaration of function ‘EINA_LOG_ERR’
If you do not include it, and compile eina with safety checks disabled,
Evas and Elementary will not find the EINA_LOG_ERR symbol when
compiling
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54995
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 23 Nov 2010 07:38:46 +0000 (07:38 +0000)]
whitespace --
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54856
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 23 Nov 2010 07:05:43 +0000 (07:05 +0000)]
From: P Purkayastha <ppurka@gmail.com>
Subject: Re: [e-users] eina: sandbox violation on emerge
On 11/21/2010 12:14 AM, P Purkayastha wrote:
> Hi,
> it seems eina is triggering a sandbox violation on emerge. Essentially
> it tries to remove a file present in / while installing. Seems to be
> something new added in revision r54731:
>
http://trac.enlightenment.org/e/changeset/54731/trunk/eina/src/modules/mp
> The build log is attached.
Replacing the $(controllerdir) with $(DESTDIR)$(controllerdir) makes
portage happy, and the installation succeeds:
cd "$S/src/modules/mp"
find . -name Makefile.am -exec sed -i -e '/rm -f
\$(controllerdir)/s/\$/\$(DESTDIR)\$/' {} \;
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54853
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 21 Nov 2010 11:03:53 +0000 (11:03 +0000)]
* eina: make -C doesn't exist on OpenBSD.
Patch from the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54761
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 21 Nov 2010 10:58:57 +0000 (10:58 +0000)]
* eina: forgotten benchmark file.
Thanks to the OpenBSD team :
Fabien Romano <fabien@openbsd.org>
Jonathan Armani <armani@opensbd.org>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54760
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33