summaryrefslogtreecommitdiff
path: root/src/lib (follow)
AgeCommit message (Collapse)Author
2015-06-15Evas: Add "no-render" flag for proxy sources & clippersJean-Philippe Andre
Those objects should never be rendered on the canvas, even if they are visible. On the other hand, they need to be rendered in mask or proxy surfaces. note: this patch includes some extra whitespaces changes :( @feature
2015-06-15Edje: Add clip as a property of a part descriptionJean-Philippe Andre
Since masking, for performance and themeing reasons, it becomes interesting to be able to switch clippers on the fly. In particular, switching from an IMAGE mask to a standard RECT clipper can save a lot of power when masking is not required. This new flag "description.clip_to" will behave a bit like a mix of rel.to and visible: - It points to a part by name, just like part.clip_to. This will override the clipper set by the part, or override the default clipper. - Like "visible", it can not be interpolated between two values, so it will switch only at the end of a transition. - By default there is no clip override, which means Edje will fallback to the part's clipper, if any, or the base (group's) clipper. NOTE: - Since a clipper that does not clip anything becomes a standard object, it is visible and rendered. This will in 99.999% cases not be the intended behaviour. Currently we can simply use a transparent RECT in order to always have something clipped by the clipper, but this is a hack and this will trigger rendering of masks in their surfaces even when they are not actually used. Ideally, there should be a flag indicating to Edje & Evas that an object should be considered a clipper in all situations, and never be rendered on screen. TODO: - Support Edje Edit - Add Embryo & Lua functions - Add support in edje_convert - Add Edje/Evas flag to mark objects as "no_render" @feature
2015-06-12evas_event: evas_event_feed_mouse_cancel set EVAS_EVENT_FLAG_ON_HOLDJi-Youn Park
Evas_event_feed_mouse_cancel generates mouse up event if it meets situation witch mouse should be canceled. but app also have to know this information. I add cancel information into evas up event generated by cancel function. @fix
2015-06-12evas/vg : Fixed issue regarding geometry change of vg object.Subhransu Mohanty
2015-06-12evas_smart: Add a check for zero size before mallocVaibhav Gupta
Summary: Size may be zero while allocating interfaces private data, when NULL is passed in EVAS_SMART_SUBCLASS_IFACE_NEW for ifaces argument. If size is 0, then malloc() returns either NULL, or a unique pointer value that can later be successfully passed to free(). It is implementation dependent. This case would be likely to occur in case of smart classes with no interfaces. @fix Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com> Reviewers: raster, Hermet, tasn, cedric Subscribers: SanghyeonLee, sachin.dev, singh.amitesh, cedric Differential Revision: https://phab.enlightenment.org/D2679
2015-06-12edje entry - also filter 0x7f (DEL) char on input as it's invalid entryCarsten Haitzler (Rasterman)
@fix
2015-06-12Evas filters: Remove unnecessary copy of buffersJean-Philippe Andre
When doing blur from alpha to rgba, there was an extra copy step added, that was not required. This should improve the performance a little bit in this situation.
2015-06-12Evas filters: Fix blend with color with rgba buffersJean-Philippe Andre
- blend { color = red } - blur { color = red } were not working with RGBA input. This patch fixes that. @fix
2015-06-11eolian: remove support for old event doc syntaxDaniel Kolesa
2015-06-11eo: move all event doc comments to new syntaxDaniel Kolesa
2015-06-11eolian: remove support for old doc style on types and varsDaniel Kolesa
2015-06-11evas,ecore_con: more struct/enum doc updatesDaniel Kolesa
2015-06-11eolian: fix a bug in expr serializer with wrong sign insertionDaniel Kolesa
2015-06-11edje,evas: convert type docs to new formatDaniel Kolesa
2015-06-11Evas: Remove unused variables.Tom Hacohen
These were introduced in ed01a32c136aaba8fb23a12afaf334b4c47fc62e.
2015-06-11Eo: Add Null checkThiep Ha
Summary: Add Null checking when allocate memory. Reviewers: cedric, tasn Reviewed By: tasn Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2664
2015-06-11edje: add po file support in edc translation.katpavalli
Summary: Implementation to support .po files in edc for translation Test Plan: Test Code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc edje_cc -md . text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore eo` ./edje-text 1) Click On the text "Click here" The language gets changed. Reviewers: shilpasingh, cedric Reviewed By: shilpasingh, cedric Subscribers: cedric, rajeshps, govi, poornima.srinivasan Differential Revision: https://phab.enlightenment.org/D2573 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-11evas: move evas_object_inject to super's ctorDaniel Hirt
Summary: As we always call evas_object_inject in every Evas Object's ctcor, it seems sensible to move this repeated bit of code to the super (Evas.Object). Test Plan: Expedite, Elementary_Test and pretty much everything Reviewers: cedric, raster Subscribers: JackDanielZ, cedric Differential Revision: https://phab.enlightenment.org/D2665 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-11evas - eo canvas events - move viewport to last to match enums in legacyCarsten Haitzler (Rasterman)
2015-06-10Edje object: Fix remaining Eolian warnings.Tom Hacohen
2015-06-10Edje object: Fix some Eolian warnings regarding callbacks.Tom Hacohen
2015-06-10Edje object: Fix Eolian warnings (and migrate types).Tom Hacohen
Also add an eot file for general edje types.
2015-06-10eolian: add new __undefined_type builtin to silence warningsDaniel Kolesa
2015-06-10eolian: fix wrong type keyword checkDaniel Kolesa
2015-06-10Efl model: Fix Eolian warnings (and migrate types).Tom Hacohen
2015-06-10Evas: Fix abi break in Evas_Callback_TypeTom Hacohen
You are not allowed to insert elements into an enum, except for at the end!!! Spank spank spank. Was introduced in: 86751fdbaf28796736876e23b86f26480e22de52
2015-06-10Evas canvas: Fix Eolian warnings (migrate types).Tom Hacohen
2015-06-10ector,ecore,eio,emotion: convert some docsDaniel Kolesa
2015-06-10Eina debug: Fix shadow warning.Tom Hacohen
This is especially obviously wrong, beacuse the original parameter is not even used.
2015-06-10Edje_entry: Fix control + (x,a,y,z,m,c) not working issue.shilpa.singh
Summary: When caps lock is "On" and we press control + (x,a,y,z,m,c) none of these operations work issue fix. @fix Test Plan: 1. Caps lock On 2. Input some text 3. Press ctrl+a, ctrl+c etc:- 4. Select, copy, cut etc:- operations does not work Reviewers: tasn Subscribers: raster, rajeshps, govi, poornima.srinivasan, navnbeet, subodh6129, cedric Differential Revision: https://phab.enlightenment.org/D2633
2015-06-10ecore: null cb function is unacceptable.ChunEon Park
@fix
2015-06-09ector: always initialize the array contents even without fetchfuncDaniel Kolesa
Also use a static array instead of a VLA as we know the size at compile time. Fixes CID 1294210. @fix
2015-06-09evas: Remove unused variablesChris Michael
Summary: These variables are actually unused here, so remove them. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-09ecore-x: Fix compiler warning of unused variableChris Michael
Summary: XIDeviceEvent variable is only used if we have support for XI2_2. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-09ecore-x: Fix warning of defined but unused functionChris Michael
Summary: The _ecore_x_input_grabbed_is function is only used if we have support for XI2_2, so move the defines around a little to fix a compiler warning. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-09ecore-x: Fix warning of unused variableChris Michael
Summary: We only need the 'devid' variable if we have support for XI2_2. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-09elua lib: sanitize all file paths before writing themDaniel Kolesa
This will prevent random nonsense from being written in. It changes semantics slightly (documented) and also fixes CID 1267463. @fix
2015-06-09eolian: pass rbuf to doc_errorDaniel Kolesa
This allows us to correctly free the buffer in error scenarios. Fixes CID 1304728. @fix
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-09evas/evas_op_add_main: Remove superfluous if branch.Stefan Schmidt
We do the same in both branches: return func. CID: 1267478, 1267480, 1267482, 1267486
2015-06-09evas/evas_op_mul_main: Remove superfluous if branch.Stefan Schmidt
We do the same in both branches: return func. CID: 1267468, 1267471
2015-06-09evas/evas_op_mask_main: Remove superfluous if branch.Stefan Schmidt
We do the same in both branches: return func. CID: 1267481, 1267485
2015-06-09evas/evas_op_copy_main: Remove superfluous if branch.Stefan Schmidt
We do the same in both branches: return func. CID: 1267483, 1267484, 1267487, 1267488
2015-06-09evas/evas_op_blend_main: Remove superfluous if branch.Stefan Schmidt
We do the same in both branches: return func. CID: 1267469, 1267470, 1267473, 1267474
2015-06-09evas/evas_op_sub_main: Remove superfluous if branch.Stefan Schmidt
We do the same in both branches: return func. CID: 1267476, 1267477, 1267479, 1267489
2015-06-09ecore x - remove warning on unused variableCarsten Haitzler (Rasterman)
2015-06-09evas render2 work - begin to make rectangles deal with render 2 basicCarsten Haitzler (Rasterman)
infra
2015-06-09Edje: Fix indentation after a clean-up commitJean-Philippe Andre
@zmike apparently wanted to beat the b0rker in chief, (see 172a0ccf0cd6) but edje_text.c came out worse than before :) eo_do() seems to totally mess with editors' auto-formatting in some cases.
2015-06-09ecore_x_xi2: remove useless define check XI_TouchXXX.Ji-Youn Park
Summary: we can use XI_TouchXXX defines after xi2_2. So we don't need check XI_TouchXXX defines. I think it is simple only using the ECORE_XI2_2 define instead of using XI_TouchXXX defines.
2015-06-08ecore_x_xi2: remove useless define check XI_TouchXXX.Ji-Youn Park
Summary: we can use XI_TouchXXX defines after xi2_2. So we don't need check XI_TouchXXX defines. I think it is simple only using the ECORE_XI2_2 define instead of using XI_TouchXXX defines. Reviewers: raster, cedric, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2637