summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Evas textblock: add a stringshare fastpath to markup_setdevs/herdsman/tb_opt_markup_setDaniel Hirt2016-02-281-0/+6
| | | | | | This optimization makes use of already stringshare'd text and avoids unnecessary stringshare_add calls in markup_set. It improves the performance of edje_calc when reapplying text to the textblock part.
* Evas textblock: fix cached markup's stringshare refsDaniel Hirt2016-02-281-0/+1
| | | | | | | | The last fix 34020ed131c7a5da4d60bb3a452fac0d9ee5fdd1 was missing a stringshare_del for the NOP case of markup_set. It led to a constantly increasing ref count of the cached markup. @fix
* Evas textblock tests: Fix wrong test suite tests.Tom Hacohen2016-02-261-2/+2
| | | | | | The tests were assuming that textblock returns a sanitised utf8 string. This is not always correct, because textblock may cache and return the set utf8 markup if the text hasn't changed since the last set.
* Evas Filter: Use Eo.Base.constructor in the mixinJean-Philippe Andre2016-02-264-26/+17
| | | | | This is made possible by inheriting first from an interface instead of Eo.Base, thus implementing the Eo.Base interface.
* Edje textblock: Assume textblock knows to deal with setting the same markup.Tom Hacohen2016-02-261-7/+1
| | | | | | | | Edje was trying to be smart and ask textblock for its markup and compare with its own cache before setting it again. This is completely wrong, and textblock is smart enough to deal with it now. @fix
* Evas textblock: Fix markup cache, was completely broken.Tom Hacohen2016-02-261-16/+13
| | | | | | | | | | The markup cache was completely broken. It was not compared correctly, so it wasn't even used, but regardless it was cleared just after being set in some of the cases. This is the first part of a performance regression fix in elm label. @fix
* edje cc: make the unnamed party non-fatal but punishhed by a pauseCarsten Haitzler (Rasterman)2016-02-251-1/+3
| | | | | | allow old edc code that was bad with no named parts to still build BUT punish with a sleep for 10 seconds to help it be noticed, yet still work.
* edje: unset animator pointer after free in _edje_file_del()Mike Blumenkrantz2016-02-241-0/+1
| | | | | | | this function may be called repeatedly with no other animator created in between, leading to invalid object access @fix
* Edje_Edit: return accidently removed clip_to in code generationVitalii Vorobiov2016-02-241-0/+5
| | | | Oops...
* Edje_Edit: support image border_scale and border_scale_by setters and gettersVitalii Vorobiov2016-02-242-0/+139
|
* Edje_Edit: support use_alternate_font_metrics setters and gettersVitalii Vorobiov2016-02-242-6/+53
|
* eldbus: eldbus is already defined in eoMarcel Hollerbach2016-02-231-6/+0
| | | | | | | the struct is already defined in eldbus_general.eoeldbus: eldbus is already defined in eo the struct is already defined in eldbus_general.eott
* Edje_Edit: allow to set NULL as text_class (unset text_class) into part's stateVitalii Vorobiov2016-02-231-1/+0
|
* Edje_Edit: ability to set size class into certain part's stateVitalii Vorobiov2016-02-232-0/+25
| | | | API looks like this edje_edit_state_size_class_set
* Edje_Edit: Edje_Edit: update source generation to print size classesVitalii Vorobiov2016-02-231-0/+62
|
* Edje_Edit: support new edje top block "size classes" with edje_edit APIVitalii Vorobiov2016-02-232-0/+297
| | | | | | | | | | Plenty of new API: edje_edit_size_classes_list_get - to return total list of size_classes inside of loaded collection of groups edje_edit_size_class_add - add new size class into loaded collection edje_edit_size_class_del - deleting edje_edit_size_class_name_set - renaming existing size class into something new and some setters and getters for min and max (width and height) of size class.
* ecore-x: add safety checks for _ecore_x_disp in some functionsChris Michael2016-02-232-2/+33
| | | | | | | | | xlib immediately crashes upon being passed a null DISPLAY object, so every function in ecore-x should likely have safety checks such as these. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* Edje_Edit: update source generation to print text classesVitalii Vorobiov2016-02-231-0/+61
|
* Edje_Edit: support new edje top block "text classes" with edje_edit APIVitalii Vorobiov2016-02-232-0/+283
| | | | | | | | | | | Plenty of new API: edje_edit_text_classes_list_get - to return total list of text_classes inside of loaded collection of groups edje_edit_text_class_add - add new text class into loaded collection edje_edit_text_class_del - deleting edje_edit_text_class_name_set - renaming existing text class into something new edje_edit_text_class_font_{get|set} - get/set font name edje_edit_text_class_size_{get|set} - get/set font size
* edje_cc_handlers: font field in new text_class should be NULL at the beginingVitalii Vorobiov2016-02-231-1/+1
| | | | @fix
* edje_cc: abort compile when unnamed part existsVyacheslav Reutskiy2016-02-231-0/+5
| | | | | | | | | | | | Summary: abort compile when unnamed part exists. Reviewers: raster, reutskiy.v.v Reviewed By: reutskiy.v.v Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3723
* embryo: add tzdate functionMike Blumenkrantz2016-02-222-0/+72
| | | | | | | | in the case where a user wants to get the current date/time from a specified timezone, this function allows a timezone string to be passed as a parameter @feature
* embryo: reformat the whole thingMike Blumenkrantz2016-02-227-1464/+1500
| | | | so many tabs
* ecore-x: add safety checks for _ecore_x_disp in some functionsChris Michael2016-02-221-2/+58
| | | | | | | | | xlib immediately crashes upon being passed a null DISPLAY object, so every function in ecore-x should likely have safety checks such as these. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* ecore-drm: Don't reset event modifiers on touch motionChris Michael2016-02-221-1/+0
| | | | | | | | | When we are sending an event for touch motion, we should be specifing the modifers in the event structure (not setting them to zero). @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* ecore evas: remove printfsCarsten Haitzler (Rasterman)2016-02-201-3/+0
| | | | forgot i still had them (wa stestign wayland with no printfs in it)
* ecore evas: fix configure request queue count to only count changesCarsten Haitzler (Rasterman)2016-02-201-15/+35
| | | | | | | | we counted more requests outstanding than actually existed for x11 as we sometimes sized to the SAME size or position. this keeps that number more correct only incremeting outstanding count if we change. @fix
* eldbus: print dbus errors incurred when failing at signal handler operationsMike Blumenkrantz2016-02-191-1/+9
| | | | | seeing these errors is significantly more helpful when debugging why the system is not responding as expected
* edje: clear pending programs upon calling stop_programs_on()Mike Blumenkrantz2016-02-191-0/+14
| | | | | | | | | pending programs have not started yet, so they are not directly attached to the part. failing to remove them results in unexpected behavior from programs ref 71ce70bc3f97853f3cfeb07ab0a9d8c213e322b1 @fix
* Edje_Edit: add forgotten since1.18 into documentation of newly implemented APIVitalii Vorobiov2016-02-191-0/+2
|
* Edje_Edit: target can be insert into different place in program's target listVitalii Vorobiov2016-02-192-42/+71
| | | | | Here is API for that: > edje_edit_program_target_insert_at
* Edje_Edit: fix defect found by Coverity in ...state_tween_insert_atVitalii Vorobiov2016-02-191-1/+4
| | | | | | Check constraits before creating image structures CID 1351558
* build: fix duplicated use of the variable in multiple Makefile_*.am.Vincent Torri2016-02-182-6/+6
| | | | | | | | | | | | | | GL_SHADERS_GEN is defined in the Makefile.am of Ector and Evas. As these Mafile_*.am are included in the same Makefile.am, there is a warning with multiple defined triggered by automake. So this patch rename these 2 variables Test Plan: autogen.sH Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D3711 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* Evil: remove useless definesVincent Torri2016-02-182-129/+0
| | | | | | | | | | | | Summary: Those defines are already defined in mingw-w64 header files Test Plan: makE Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3713 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_drm: Check list presence by NULL test instead of countingDerek Foreman2016-02-181-2/+2
| | | | | a count of < 1 will just be a NULL pointer, and a count of > 0 will be non NULL, so we can simplify these conditionals.
* ecore_evas_drm: enable pointer warpingDerek Foreman2016-02-181-1/+9
| | | | Use ecore_drm_device_pointer_warp() to warp the pointer
* ecore_drm: Add pointer warping APIDerek Foreman2016-02-184-1/+46
| | | | | Adds a new API: ecore_drm_device_pointer_warp() which warps the pointer to the specified location. All libinput seats with pointers are warped.
* gl-drm: Some misc clean-upsDerek Foreman2016-02-182-15/+1
| | | | | Remove unused stuff from structs, cut out the EVAS_GL_DRM_BUFFERS env var - it can't work anyway, gbm decides how many buffers it wants.
* gl-drm: revise page flip logicDerek Foreman2016-02-181-27/+14
| | | | | | | | | | | We can't really drive this buffer unlocking from the page flip handler for a lot of ugly reasons. This will be better in the future when evas supports multiple target buffers. For now let's cut this down and keep 2 buffers locked at all times. This gets drm-gl to work without massive tearing artifacts. @fix
* gl_drm: stop trying to figure out buffer age if gl extension isn't presentDerek Foreman2016-02-181-19/+1
| | | | | | | If we don't have the right extension for age we probably don't have partial updates either. The code to get the age calculations right is actually much nastier than this anyway since gbm can hand back buffers in arbitrary order, and as many as it feels like.
* gl_drm: remove frame_countDerek Foreman2016-02-182-3/+1
| | | | It was a write only variable, kill it.
* ecore-drm: Only queue re-flip on the head that needs itDerek Foreman2016-02-181-1/+1
| | | | | Prevents stuttering when a head that was successfully set bounces back to a previous frame the other head failed to set.
* ecore_drm: Refactor ecore_drm_fb_send into two functionsDerek Foreman2016-02-182-47/+54
| | | | | | We'll need to set outputs individually from the page flip handle to handle page flip problems, so we need the per output setting logic in its own function.
* ecore_drm: Change page flipping logic so we can't tearDerek Foreman2016-02-185-154/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Previously if we ever tried to queue up two page flips in less than a retrace interval (which can easily happen since the evas clock isn't based on vblank) we'd give up on ever using page flips again, and tear on every screen update. This fixes that by using a vblank callback for custom ticks and using page flips whenever possible. If a page flip fails it means a page flip raced with the vblank ticker, so we need to queue up that frame when the current page flip completes. This ensures that while we might drop interim frames, we will never lose the most recent. Now it should only be possible to tear if two ticks fire during the wait for a page flip to complete. This would result in rendering taking place in the front buffer. I don't think this can happen, but an error is logged if it does. Reviewers: zmike, devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3594
* Revert "Eo: Print an ERR when deleting an object with data refs."Tom Hacohen2016-02-181-1/+2
| | | | | | | Revert this in the meanwhile. See discussion on the ML. This should be enabled though, and issues fixed. This reverts commit ec2f92e35f5a0836933d82b6b7f518a1d7550afc.
* ecore_con: changing from Ecore.Con.Base to Efl.Network.Base.Srivardhan Hebbar2016-02-187-75/+81
| | | | | | | | | | | | Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3696 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* Eo: Print an ERR when deleting an object with data refs.Tom Hacohen2016-02-181-2/+1
|
* Edje_Edit: fix warning on unsigned and signed int comparationVitalii Vorobiov2016-02-181-1/+1
| | | | | | | | | | | | | Oops! Sorry, missed this one: lib/edje/edje_edit.c: In function 'edje_edit_program_after_insert_at': lib/edje/edje_edit.c:9980:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (place >= eina_list_count(epr->after)) ^ Now fixed
* Edje_Edit: ability to insert "after" program into specific positionVitalii Vorobiov2016-02-182-0/+45
| | | | | API looks like this: > edje_edit_program_after_insert_at
* Edje_Edit: new API to insert tween into specified placeVitalii Vorobiov2016-02-182-0/+64
| | | | > edje_edit_state_tween_insert_at