summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_shm.c (follow)
AgeCommit message (Collapse)Author
2018-08-30evas: Remove binary cserve2Chris Michael
Summary: ref T7226 Depends on D6939 Reviewers: raster, cedric, zmike, Hermet Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7226 Differential Revision: https://phab.enlightenment.org/D6940
2013-12-26efl: Unified eina critical manro to CRI.Daniel Juyung Seo
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
2013-11-10evas: use portable infrastructure to detect page size.Cedric BAIL
2013-10-29evas/cserve2: Fix new Coverity issuesJean-Philippe Andre
Nothing extraordinary here. Most potential crashes are extremely unlikely. - Fix CID 1113444 - Fix CID 1113442 - Fix CID 1113441 (Logically dead code, can not be NULL) - Fix CID 1113440: Explicit null dereferenced This is actually an impossible situation. Fixed by checking for nullity and printing out some error messages instead of just crashing. - Fix CID 1113439: Dereference after null check Logically impossible code as both idxpath and datapath must be either set or null at the same time. Change the if logic to tell Coverity there's no bug. - Fix CID 1113438 (Argument cannot be negative) Fix wrong check of return value from shm_open. - Fix CID 1113437 (Argument cannot be negative) Fix wrong check of return value from shm_open. - Fix CID 1113436 (Dereference null return value) This case really shouldn't happen. But the extra check does not hurt. - Fix CID 1113435 (Dereference before null check) Check for nullity after map open. - Fix CID 1113434 (Extra sizeof expression) Debug buggy debug tool :) - Fix CID 1113433 (Uninitialized scalar variable) Insignificant issue: only prints wrong debug logs :) - Fix CID 1113431 (Uninitialized scalar value) Check if (!found) only to print out logs. Not a big deal if found was invalid. - Fix CID 1039462 (Logically dead code)
2013-10-28evas/cserve2: Reduce repacking and resizing of SHMJean-Philippe Andre
These operations have tons of side effects and it's a lot easier to just avoid doing them. Now, repacking will always need to happen as applications will add/delete strings and items, but the less frequent, the better :) Also, align most arrays & mempools to 32K instead of the default page size (4K). This will also reduce resizes.
2013-10-28evas/cserve2: Add PID to shm filenamesJean-Philippe Andre
This will help identify new memory pools in case cserve2 restarts and reloads the same glyphs for instance.
2013-10-28evas/cserve2: Add functions to resize shm filesJean-Philippe Andre
- cserve2_shm_segment_request() Creates a new shm segment (Shm_Handle) from an existing file, without changing the current mmap. - cserve2_shm_resize() Grows the file and remaps in memory (new virtual address). - cserve2_shm_id_get() Returns the shm creation ID.
2013-07-08evas/cserve2: Add infix to shm filenamesJean-Philippe Andre
Minor change So, we can distinguish between image, font and index shm files.
2013-07-02evas/cserve2: minor fixes (error paths).Jean-Philippe Andre
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-14evas/cserve2: remove garbage shm files during server initJean-Philippe Andre
If server crashes or is forcefully killed, it will not properly cleanup its shm files. So, some memory will be leaked pretty badly.
2013-06-14evas/cserve2: Add UID to shm file pathJean-Philippe Andre
+ Improve debug for corner case (never happened)
2012-11-04merge: and now EvasVincent Torri
I've tested make -j 3 install and it works nicely I've tested expedite with software and opengl xlib, and it works. Not tested other engines, so please report any problems (engines or other) on the ML. TODO: examples and tests, I'll add them later ISSUE: Eina_Unicode size check. It indirectly depends on eina_config.h, which is created at the end of the configure script. So its size is always 0. I don't know how that size is used, so I can't do a lot, for now. SVN revision: 78895