summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Eolian: improve the class searching.devs/jackdanielz/espion_supportDaniel Zaoui2015-02-111-1/+3
| | | | | | | | If the class is not found, we retrieve its full path if it has already been scanned. This patch is needed by Espion so Eolian can find the full path of a class by its name. Espion has no way to determine it by itself.
* Eolian: store the class filenames with the extensions.Daniel Zaoui2015-02-112-9/+4
| | | | | This change is needed to give Espion a way to request the parsing of a class when a eo_add happens and the class is not known by Eolian.
* evas text: fix _ellipsis_get to return -1.0 on failure.Youngbok Shin2015-02-092-2/+6
| | | | | | | | | | | | | | | | | | | | 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
* Edje: edje_edit - fix Segmentation Fault on new BOX partVitalii Vorobiov2015-02-091-2/+9
| | | | | | | After adding new part (with type BOX) there was a SIGSEV because of structure that wasn't initialized. @fix
* Eina tmpstr: remove usage of tmpstr_strlen().Tom Hacohen2015-02-091-1/+1
|
* Eina tmpstr: fix race condition.Tom Hacohen2015-02-091-1/+2
| | | | | | 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.
* Eina tmpstr: deprecate tmpstr_strlen and add tmpstr_len.Tom Hacohen2015-02-093-10/+50
| | | | | Confusingly enough, strlen was actually returning strlen + 1 for strings. The new functions behaves as expected.
* configure: Switch to dev mode again. Merge window for 1.14 is open now.Stefan Schmidt2015-02-091-1/+1
|
* release: Update NEWS and bump version for 1.13.0 releasev1.13.0Stefan Schmidt2015-02-092-1/+20
|
* evas - gl engine - pipe renderer - disabling of unused arrays for linesCarsten Haitzler (Rasterman)2015-02-101-0/+4
| | | | | @fix - this fixes disabling of unused texa and texsam arays when line drawing - spotted in code review and bug hunting of another bug.
* evas - gl enigne - mask logic fix with texa draw arraysCarsten Haitzler (Rasterman)2015-02-101-1/+1
| | | | | this fixes a logic oops in addition of masking to evas which caused crashes with a null texa array causing a crash in gldrawarrays
* Evas GL: Fix GLES1.1 extension initialisation bugmythri.venugopal2015-02-092-5/+35
| | | | | | | | | | | | | | | 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>
* efl: interface are still clearly in beta.Cedric BAIL2015-02-071-0/+4
|
* evil: fix initialisation.michelle legrand2015-02-071-1/+1
| | | | Eina_Log is not available at this point of the initialisation.
* Update russian translationIgor Murzov2015-02-071-10/+11
|
* forgotten ee bit from previous commitMike Blumenkrantz2015-02-061-0/+2
|
* ecore evas should not crash when unsetting pointerMike Blumenkrantz2015-02-0615-1/+71
| | | | | | ref D812 disappointed.jpg
* Evas masking: Add forgotten file in previous commitJean-Philippe Andre2015-02-061-2/+4
|
* Evas masking: Also fix map masking with non-bgra imagesJean-Philippe Andre2015-02-062-5/+8
|
* ecore-drm: Remove unused variableChris Michael2015-02-051-1/+0
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm: Fix issue with ecore_drm_output_crtc_Find sending back anChris Michael2015-02-051-16/+0
| | | | | | | | | | | | | 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>
* ecore_cocoa: Handle more special characters and capital characters.Michelle Legrand2015-02-052-31/+36
| | | | | | | 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>
* ecore_cocoa: add ecore event on mouse scroll for cocoa.Michelle Legrand2015-02-051-0/+16
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: replace "keyname" by "key".Michelle Legrand2015-02-051-12/+12
| | | | | | | | 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>
* ecore_cocoa: create a log domain and use Eina_Log.Nicolas Aguirre2015-02-053-9/+52
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: don't send mouse event with negative x or y values.Nicolas Aguirre2015-02-051-7/+30
| | | | | | | | 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>
* ecore_cocoa: add new events type for multiple window support.Romain Perier2015-02-052-0/+18
| | | | | | | | | 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>
* ecore_cocoa: use the right Cocoa notification handlers for focus eventsRomain Perier2015-02-052-2/+52
| | | | | | | | | 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>
* ecore_cocoa: add on the fly resizing support.Romain Perier2015-02-051-0/+1
| | | | | | | | | | | 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>
* ecore_cocoa: fix _nsevent_window_is_type_of() type checkRomain Perier2015-02-051-1/+1
| | | | | | | 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>
* ecore_cocoa: handle more special characters and capital characters.Michelle Legrand2015-02-052-53/+96
| | | | | | This patch is self contained for Mac OS X and improve its keyboard handling. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: fix eina_test_rwlock test on OSX.pierre lamot2015-02-051-0/+18
| | | | | | | 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>
* ecore: check that a test doesn't enter in an infitie loop.pierre lamot2015-02-051-0/+4
| | | | | | | | 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>
* eina: fix semaphore initialisationpierre lamot2015-02-052-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* evas: jpeg decoders alows a difference of 1 bit per component.pierre lamot2015-02-051-2/+21
| | | | | | | | | | | | | | 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>
* ecore: fix path comparison in Ecore_File test suite.pierre lamot2015-02-051-5/+28
| | | | | | | | | | | 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>
* eina: memcmp can't be used to compare timeval due to potential padding on ↵pierre lamot2015-02-051-2/+4
| | | | | | 64bit architecture. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* edje: epp - fix build of edje file in cas of recursive includes.Nicolas Aguirre2015-02-051-1/+5
| | | | | | | | | | | | | | | | | 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>
* evas: Evas_3D - fix order of transformation while updating bounding object.Oleksandr Shcherbina2015-02-051-5/+5
| | | | | | | | | | | | | | | | 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>
* evas: Evas_3D - fix evas_3d_scene_pick when trying to get empty texcoords ↵Oleksandr Shcherbina2015-02-051-9/+18
| | | | | | | | | | | | | | | | | | | 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>
* eldbus: eina_value not allocated from mempool.Guilherme Lepsch2015-02-051-8/+5
| | | | | | | | | | | | | 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>
* evas: Evas_3D - fix when bounding sphere is large, situation with incorrect ↵Bogdan Devichev2015-02-051-14/+15
| | | | | | | | | | | | | | | | | 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>
* eina: Eina_File - add test case for path resolution.Daniel Hirt2015-02-051-1/+25
| | | | | | | | | | | | | | | | | | | | 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>
* eina: Eina_Value - use eina_mempool_free to cleanup the memoryvivek2015-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* Evas masking: Fix GL masking with maps and stuffJean-Philippe Andre2015-02-053-12/+48
| | | | | | | | 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.
* Evas masking: Fix another issue with maskingJean-Philippe Andre2015-02-051-4/+39
| | | | | | | | | | 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...
* elua: correct eo inheritance behaviorDaniel Kolesa2015-02-051-11/+14
| | | | | | | | 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
* eldbus: fix memory leak.Guilherme Lepsch2015-02-051-0/+2
| | | | | | | | | | | | | | | | 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>
* Ecore_con: fix initialisation clean up and avoid memory leak.Srivardhan Hebbar2015-02-051-6/+12
| | | | | | | | | | | | | | 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>
* evil: prevent _evil_init_count from going below zero.Srivardhan Hebbar2015-02-051-0/+7
| | | | | | | | | | | | 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>