summaryrefslogtreecommitdiff
path: root/src/lib/eina (follow)
AgeCommit message (Collapse)Author
2015-06-25eina module - it is not an error to ERR log to not load a .soCarsten Haitzler (Rasterman)
it is not an error. eina_module may be used on files that don't exist and the caller may handle that as a "does not exist" error. it is not good to go spewing out errors for this. it's debug at best. @fix
2015-06-18eina/simple_xml_parser: don't parse the <, > in the attribute string.ChunEon Park
The tag identifier should not be inside of the string "~". Previous logic doesn't care that scenario, the parser context can be corrupted and it will be no more useful. @fix
2015-06-17eina: add eina_quaternion_setperepelits.m
Reviewers: cedric, raster, Hermet Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2717 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-10Eina debug: Fix shadow warning.Tom Hacohen
This is especially obviously wrong, beacuse the original parameter is not even used.
2015-06-09eina semaphore lock - don't wake up because of signalsCarsten Haitzler (Rasterman)
@fix - this fixes eina sephamore lock/wait to not return just because of a signal sent to the process - try again if the semaphore wait is interrupted by a signal as opposed to a semaphore wakeup.
2015-06-08eina: fix copy and paster error detected by Coverity.Cedric BAIL
CID 1302701
2015-06-05eina: Fix warning about unused paramatersChris Michael
@fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-29eina: beginning of a generic quaternion API.Cedric BAIL
2015-05-29eina: include dependency header cleanly.Cedric BAIL
2015-05-29eina: add the beginning of an Eina_Matrix4 API.Cedric BAIL
2015-05-22eina: change module init error message to an info messageMike Blumenkrantz
a module deciding to return false is a valid non-error case for many modules. the module can print an error if an error occurs
2015-05-19eina: print error message when eina_module_load() fails.Youngbok Shin
Summary: When dlopen() fails, eina_module_load() print error information using dlerror(). But, it is printed with WRN. If EINA_LOG_LEVEL is lower than WRN, application developer is hard to see which has a problem. Reviewers: woohyun, Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2536 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-18eina: use less stack on Windows for eina_environment_home_get, and no snprintf()Vincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-15eina_cpu - up max number of threads to 32Carsten Haitzler (Rasterman)
this should be better for todays systems - max number of cores we can query for now is 32. @feature
2015-05-15eina - cpu count - fic cpu count to count # of cores correctlyCarsten Haitzler (Rasterman)
@fix this fixes the cpu count to count the numebr of available cores correctly. before if core 0 happened to be off, we'd get 0 cpu cores available due to the break
2015-05-15eina - add comment on evlog api stability etc.Carsten Haitzler (Rasterman)
2015-05-14eina: handle fallback to HOMEDIR/HOMEPATH on WIN32.Cedric BAIL
2015-05-14eina: fix eina_inarray_search to do linear searchVivek Ellur
Summary: Currently eina_inarray_search was using binary search to search elements which would not work on unsorted array so modified it to work as linear search. There is already a function eina_inarray_search_sorted to work on sorted array. Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2501 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-14eina: use portable environment lookup.Cedric BAIL
2015-05-14eina: fixup.Cedric BAIL
2015-05-14eina: add crosss platforme API to retrieve tmp and home directories from ↵Vincent Torri
environment. @feature No tests added as it is highly dependent on the system and it would make little sens. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-14eina: fix warning on Windows.Vincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-14eina, efl: add copyright notice.Vincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-13eina evlog - fix overflow trackingCarsten Haitzler (Rasterman)
2015-05-12Eina log: Fix previous commit (ERR & CRI -> bt)Jean-Philippe Andre
This was a < comparison, not <= I don't totally agree on taking the bts for each error... just try to cat a binary file in terminology and have fun.
2015-05-12Eina log: Enable backtrace only for CRI and ERR by defaultJean-Philippe Andre
Using EINA_LOG_LEVEL=4 for standard debugging has now become absolutely horrible (and slow!). Backtraces may make sense in case of ERR and CRI messages, but are just pollution for other levels. WRN could be argued over but the old env variable is still there so just use it if you want backtraces: $ export EINA_LOG_BACKTRACE=2
2015-05-11eina debug monitor - dont shadow varsCarsten Haitzler (Rasterman)
2015-05-11eina debug monitor - add types.h includeCarsten Haitzler (Rasterman)
2015-05-10eina evlog - remove stolen count - unecessaryCarsten Haitzler (Rasterman)
2015-05-10eina - begin event log infra we can get from the new debug monitorCarsten Haitzler (Rasterman)
we can down dump event logs. some ecore mainloop bits are logging at the moment.
2015-05-08eina debug - add more comments to debugd connectionCarsten Haitzler (Rasterman)
2015-05-08eina debug - add commentsCarsten Haitzler (Rasterman)
2015-05-08eina_ddebug: Fix build for the case without all requirements for eina_debugStefan Schmidt
In eina_debug.h we only include the eina headsers when all defines are true for backtrace, dlopen, unwind, etc. We still use Eina_Bool here when these cases are not met. I just hit this case and failed the build.
2015-05-08eina debug - clean up protocol handling inside einaCarsten Haitzler (Rasterman)
2015-05-08eina - start a much improved eina dbug infra and have eina_log use itCarsten Haitzler (Rasterman)
this makes eina_log give bt's for all error logs. this is very useful in finding just where a problem happens. the problem int he past is that these have not been too useful due to backtrace_symbols() being "useless". thus use the eina_btlog tool i added too. also started infra for a debug monitor that can use the backtrace infra to collect runtime stats ANY TIME for a process (don't need to run under a debugger). @feat
2015-05-07eina: add crc hash function to eina hash module.vivek
Summary: Added eina_hash_crc function in eina hash module to generate hash code using crc-32. Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: Sergeant_Whitespace, cedric Subscribers: Sergeant_Whitespace, cedric Differential Revision: https://phab.enlightenment.org/D2273 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07eina: remove the need to order the header correctly for Windows.Cedric BAIL
2015-05-07eina: add CRC implementation to Eina module.vivek
Summary: Added eina_crc function in eina to calculate crc for the key passed and added eina_hash_crc function for hashing using crc Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: Sergeant_Whitespace, cedric Reviewed By: cedric Subscribers: Sergeant_Whitespace, cedric Differential Revision: https://phab.enlightenment.org/D2260 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-29eina: in fact this is gone and won't come back.Cedric BAIL
Eo and Efl.Model are here for that task.
2015-04-29Eina: fix eina_file_split on Windows and update unit testVincent Torri
@fix Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-04-28eina: fix eina_stringshare format warning after commit 912924aJean Guyomarc'h
Summary: Since the type of 'r' changed from unsigned short to unsigned int we need to change its format as well. Reviewers: stefan_schmidt, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2446 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28eina stringshare - make short internal string refs ints not shortsCarsten Haitzler (Rasterman)
this should fix T2088 - at the expense of more memory but a short was just too little here.
2015-04-25eina: correct document for eina_hash_list_prepend/remove.Thiep Ha
Summary: The eina_hash_list_preprend/remove API have wrong description. This patch fixes it. @fix Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2423 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-23eina thread_queue: fix typo in doc.ChunEon Park
2015-04-22eina thread_queue: fix typo in doc.ChunEon Park
2015-04-22Eina safety: remove unused error string.Tom Hacohen
At the moment there are no errors possible for safety checks. This may change in the future (unlikely), so we have the eina_error already exposed for that. However, there's no need for the string. One more down towards a warningless build.
2015-04-21Eina: Fix clang warningsJean-Philippe Andre
Use fabs for double values
2015-04-21Eina: Fix clang warningsJean-Philippe Andre
Remove unused static function
2015-04-17eina: updated matrix_translate, matrix_scale and matrix_rotate ↵Subhransu Mohanty
implementation to do compose of the matrix in not identity matrix. This is a late change that has been discussing on the ML as we don't want to release an API, we can't make faster. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-13eina: fix typos in doxygenJihoon Kim