summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-09edje: add of model lookups.perepelits.m
Summary: I have added some methods to edje_cc_out.c to organize model lookups. The same methods already exists for images. Also, I have removed source_type because now we don't need it in efl_file_set. @feature Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1886 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-09eldbus: refactoring code.Guilherme Lepsch
Summary: Code smells: Don't Repeat Yourself Depends on D1927 Reviewers: felipealmeida, larryolj, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1928 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-09evas text: fix _ellipsis_get to return -1.0 on failure.Youngbok Shin
Summary: When getting ellipsis value from evas text object fails, the most reasonable return value is -1.0. Currently, evas_object_text_ellipsis_get API with NULL returns 0.0. It means ellipsis is not off. It must return -1.0 when API fails. @fix Comments by Tom: until now, this was inconsistent. With this change, it now returns -1.0 consistently. Also, fixed commit summary. Reviewers: woohyun, Hermet, seoz, tasn Reviewed By: tasn Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1944
2015-02-09Edje: edje_edit - fix Segmentation Fault on new BOX partVitalii Vorobiov
After adding new part (with type BOX) there was a SIGSEV because of structure that wasn't initialized. @fix
2015-02-09Eina tmpstr: remove usage of tmpstr_strlen().Tom Hacohen
2015-02-09Eina tmpstr: fix race condition.Tom Hacohen
We take a lock, search the list, and the release the lock before we finish using the values of the list. While unlikely, the string could be deleted in the meanwhile.
2015-02-09Eina tmpstr: deprecate tmpstr_strlen and add tmpstr_len.Tom Hacohen
Confusingly enough, strlen was actually returning strlen + 1 for strings. The new functions behaves as expected.
2015-02-09configure: Switch to dev mode again. Merge window for 1.14 is open now.Stefan Schmidt
2015-02-09release: Update NEWS and bump version for 1.13.0 releasev1.13.0Stefan Schmidt
2015-02-10evas - gl engine - pipe renderer - disabling of unused arrays for linesCarsten Haitzler (Rasterman)
@fix - this fixes disabling of unused texa and texsam arays when line drawing - spotted in code review and bug hunting of another bug.
2015-02-10evas - gl enigne - mask logic fix with texa draw arraysCarsten Haitzler (Rasterman)
this fixes a logic oops in addition of masking to evas which caused crashes with a null texa array causing a crash in gldrawarrays
2015-02-09Evas GL: Fix GLES1.1 extension initialisation bugmythri.venugopal
Summary: Extension function pointer initialisation requires glGetString(GL_EXTENSIONS). To get GLESv1 extension string, GLESv1 context has to be bound. Change involves updating extensions after GLESv1 context has been bound. Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1946 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-07efl: interface are still clearly in beta.Cedric BAIL
2015-02-07evil: fix initialisation.michelle legrand
Eina_Log is not available at this point of the initialisation.
2015-02-07Update russian translationIgor Murzov
2015-02-06forgotten ee bit from previous commitMike Blumenkrantz
2015-02-06ecore evas should not crash when unsetting pointerMike Blumenkrantz
ref D812 disappointed.jpg
2015-02-06Evas masking: Add forgotten file in previous commitJean-Philippe Andre
2015-02-06Evas masking: Also fix map masking with non-bgra imagesJean-Philippe Andre
2015-02-05ecore-drm: Remove unused variableChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-05ecore-drm: Fix issue with ecore_drm_output_crtc_Find sending back anChris Michael
invalid id. Fix T2086 Summary: In order to avoid getting returned an invalid id, we should not be checking the currently active encoder and crtc combination because outputs may have changed, encoders/crtc combinations could have changed, etc, etc. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-05ecore_cocoa: Handle more special characters and capital characters.Michelle Legrand
This improve the situation and only affect Ecore_Cocoa code base by detecting a useful charactere. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: add ecore event on mouse scroll for cocoa.Michelle Legrand
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: replace "keyname" by "key".Michelle Legrand
Ecore_Event_Key attribute "key" cannot be NULL. This raise a segmentation fault in Enventor when hitting on modifier keys. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: create a log domain and use Eina_Log.Nicolas Aguirre
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: don't send mouse event with negative x or y values.Nicolas Aguirre
With cocoa you may have negatives values when Mouse Down or Up. This changes fix this behavior by sending mouse event only if x and y are inside the ecore_evas space. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: add new events type for multiple window support.Romain Perier
This commit adds a method in Ecore_Cocoa_Window to be able to retrieve an unique identifier for each window. It adds new events type and modify existing ones to pass these windows identifiers through the event call chain. Resize, GotFocus and LotFocus events are also updated to pass these identifiers to event handlers. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: use the right Cocoa notification handlers for focus eventsRomain Perier
Don't use NSAppKitDefined events subtype for focus events, which contain NULL window object most of the time. Use the NSWindowDelegate method designed for that purpose instead. It fixes random focus issues in windows which was caused by incorrect window identifier not found in ecore_evas_cocoa. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: add on the fly resizing support.Romain Perier
Until now, video_resize events was received only when application returned control to the event loop. When a window is resized dynamically a lot of video_resize events are emitted from EcoreCocoaWindow::windowDidResize and not handled immediatly, only when the main thread is back to the ecore main loop. This is why there are not refreshed window areas. Call ecore_main_loop_iterate() from windowDidResize solves the issue. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: fix _nsevent_window_is_type_of() type checkRomain Perier
isKindOfClass should receive an instance of a class and a class as arguments and not two class. It fixes Mouse events sent to a window on OSX. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore_cocoa: handle more special characters and capital characters.Michelle Legrand
This patch is self contained for Mac OS X and improve its keyboard handling. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eina: fix eina_test_rwlock test on OSX.pierre lamot
add a reimplementation of clock_gettime for OSX within the test in order to be able to test eina_condition_timedwait Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore: check that a test doesn't enter in an infitie loop.pierre lamot
check that ecore_test_ecore_thread_eina_thread_queue_t6 doesn't enter in an infinite loop if something goes wrong, if the main thread doesn't receive the message number 10000 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eina: fix semaphore initialisationpierre lamot
This patch fix the semaphore initialisation on posix plateform there was a preconditon test which returned the semaphore uninitialised when count_init was 1, this caused the semaphore to be unusable on OSX plateform. Furthermore, it seems that we need to unlink the semaphore before its initialisation on OSX as there seems to have some kind of persistence of the semaphore accross execution. warning, this patch change the signification of the parametter count_init on linux plateform, this parametter is now consistent on every plateform, with the meaning of setting the initial count value of the semaphore. This used to be on linux 1 -> the semaphore is shared and initialised at 1 and 0 -> the semaphore is not initialised, thus, by side effect not shared and initialised at 0. This patch set on linux plateform the semaphore as systematically shared @fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05evas: jpeg decoders alows a difference of 1 bit per component.pierre lamot
The required precision of decompressed images allows a difference of 1 bit for each pixel compoment [1] . Such difference has been noticed on OSX when using libjpeg9 from macports. evas_suite images tests has been modified to compare jpeg images with this tolerance. Other image formats are still compare with exact precision [1] http://en.wikipedia.org/wiki/JPEG#Required_precision Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05ecore: fix path comparison in Ecore_File test suite.pierre lamot
The Ecore_File test suite was comparing path with strcmp, which can lead to incorect comparison in some case (comparing realpath and expected path for instance) This patch adds a function to compare paths within this tests. Paths are compared by getting the "realpath" of each operand Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eina: memcmp can't be used to compare timeval due to potential padding on ↵pierre lamot
64bit architecture. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05edje: epp - fix build of edje file in cas of recursive includes.Nicolas Aguirre
Amitesh Singh fixed this issue with Commit e66e132d9dabecb8273fe3962099d4523fef1055, but this commit has been reverted recently, by a commit freeing ressources (6d0b834a76c3301bf4c4b29752f902dbe8a8525e). It's clear that we are leaking here if we remove the free, but there is also a valgrind error when this memory is freed. After trying to debug and understand the code of epp, i can only propose to remove this free, we will need to include a lot of files before this memory leak could be visible. It is also not a real problem, the memory leak only concern the file name passed in the include directive and epp is started per file anyway. It is unlikely to create any real life problem and we better spend our time on more pressing matter. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05evas: Evas_3D - fix order of transformation while updating bounding object.Oleksandr Shcherbina
Summary: The order of tranformation changed to scale, orientation, position as in some cases it can lead to incorrect value for the bounding box. @fix Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1942 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05evas: Evas_3D - fix evas_3d_scene_pick when trying to get empty texcoords ↵Oleksandr Shcherbina
from mesh. Summary: During filling evas pick public data by API evas_3d_scene_pick segfault can occur if mesh was created without texcoords. See functions - _pick_data_mesh_add, _pick_data_texcoord_update @fix Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1941 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eldbus: eina_value not allocated from mempool.Guilherme Lepsch
Summary: Eina_Value must be allocated with eina_value_new() to be freed by eina_value_free(). @fix Reviewers: felipealmeida, larryolj, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1927 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05evas: Evas_3D - fix when bounding sphere is large, situation with incorrect ↵Bogdan Devichev
frustum calculation was possible. Summary: When center of bounding sphere was out of frustum and number of intersections between bs and planes of frustum was more then 3, objects disappeared. @fix Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1938 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eina: Eina_File - add test case for path resolution.Daniel Hirt
Summary: This is a follow-up to the 7cbf22212f0c3292dbd1919f4cdd15802e9b9d84 revert commit. It's a bit late, as the issue has already been fixed with the later 7143bd7fb5196f97003216528bfbfb8bec4826bd commit. This test checks eina_file_sanitize "../" case with absolute paths (i.e. that start with "/"), and should fail prior the revert mentioned above. Should come up with more tests like this one. Reviewers: stefan_schmidt, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1937 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05eina: Eina_Value - use eina_mempool_free to cleanup the memoryvivek
Summary: The new value is allocated using Eina_Mempool, it should be freed using eina_mempool, not using libc free. @fix Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1940 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05Evas masking: Fix GL masking with maps and stuffJean-Philippe Andre
This fixes an issue spotted after the previous fix. Passing the Y-invert flag is necessary because in the usual case a map is rendered with Y-invert (OpenGL coords vs. Evas coords) but in case a map is rendered in an FBO (another map's surface) then Y-invert must be unset.
2015-02-05Evas masking: Fix another issue with maskingJean-Philippe Andre
Fixes rendering in the following case: - Object with a map has a mask - Object is child of smart object which also has a map (eg. transit) --> Masking did not apply to the children before this patch. NOTE: This works fine in SW but still didn't work in GL, see the following commit...
2015-02-05elua: correct eo inheritance behaviorDaniel Kolesa
Now we try to treat first inherit as a parent and everything else as a mixin. If the first inherit is not a class (interface or mixin), every inherit is treated as a mixin. @fix
2015-02-05eldbus: fix memory leak.Guilherme Lepsch
Summary: @fix Reviewers: felipealmeida, larryolj, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1920 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05Ecore_con: fix initialisation clean up and avoid memory leak.Srivardhan Hebbar
Summary: When ecore_init failed or when failed to initialize ecore_con_log_domain, then evil_shutdown was not called. So cleaned up code and added the fix. @fix Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1921 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05evil: prevent _evil_init_count from going below zero.Srivardhan Hebbar
Summary: _evil_init_count should never go below zero. This can occur, if a developer mistakenly calls evil_shutdown before calling evil_init. So fixing the code so that it never goes below zero. Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1922 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>