summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ecore-wl2: Always create cursor surface for pointerdevs/devilhorns/ecore_wl2Chris Michael2015-12-031-5/+5
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-evas wayland: enforce frame/state change triggering before move/resizeMike Blumenkrantz2015-12-031-16/+3
| | | | | | | | | | if a state change occurs on the ee, related callbacks must be run prior to performing any resizes in order to ensure that the correct csd sizes are calculated @fix ref T2841
* ecore-evas-wl: Fix issue of resize jumpingChris Michael2015-12-031-0/+16
| | | | | | | | | | | | | Summary: When an initial client application was shown and we tried to resize it, the resize would jump by the amount of framespace. This was because the xdg_surface@configure event would be sending window geometry as the width/height params in the event. We need to account for that in the callback of window configure and adjust size accordingly. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 codeChris Michael2015-12-033-1/+17
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Edje entry: Use markup text for password in preedit modeSubodh Kumar2015-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Use markup text for password in preedit mode Problem is that when text comes in preedit mode it is always markup text and when it is committed to entry it got committed with markup tags along with the original string, so for preedit mode password should be filtered all markup to set the proper text. @fix Test Plan: In preedit mode, enter any character say 'A' preedit markup like <preedit>A</preedit> will come in preedit changed callback Result: Text is set as plain text like below &lt;preedit&gt;A&lt;/preedit&gt; Reviewers: thiepha, jihoon, herdsman, shilpasingh, tasn Reviewed By: shilpasingh, tasn Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2929
* Ector: Fix Windows build (missed in previous patch)Jean-Philippe Andre2015-12-031-2/+2
|
* Ector: use uint32_t instead of uintJean-Philippe Andre2015-12-038-50/+50
| | | | | | | This fixes the build for Windows. Thanks @vtorri for the report. I'm not using "unsigned int" as uint was mostly used like DATA32, ie. color data (one pixel color or a pixel buffer).
* edje_entry: Fix crash on selectionShilpa Singh2015-12-031-1/+0
| | | | | | | | | | | | | | | | | | | | | Summary: When text is selected, crash happens due to double free as rectangles are freed both in _sel_update and _evas_textblock_selection_iterator_free hence removing free from _sel_update. @fix T2910 Test Plan: 1. Launch elementary test 2. launch entry demo 3. select text Reviewers: cedric, herdsman Subscribers: jpeg Maniphest Tasks: T2910 Differential Revision: https://phab.enlightenment.org/D3401
* Ector: Kill compilation warningsJean-Philippe Andre2015-12-035-28/+19
| | | | | Remove unimplemented function (no test case yet). Convert #warning into comments.
* Evas: Move alpha functions to static_libs/drawJean-Philippe Andre2015-12-039-94/+74
| | | | | This is a pretty simple code refactor, moving pixel handling to the new draw lib.
* Ector: Move cairo surface back to ectorJean-Philippe Andre2015-12-0310-166/+14
| | | | | | The original plan was to have two different surfaces for GL and SW, but this is probably not going to happen anytime soon. So, move the implementation back to lib/ector. This avoid a file duplication.
* Ector: Rename C files to match their EO counterpartsJean-Philippe Andre2015-12-039-7/+7
|
* Ector: Another minor code cleanupJean-Philippe Andre2015-12-036-41/+9
| | | | | | Remove DATA8, DATA16, DATA32 Remove empty data structure Remove unnecessary typedef
* Ector: Move drawhelper to static_libsJean-Philippe Andre2015-12-0329-210/+240
| | | | | | | | | | | Rename a few things: - draw helper -> efl_draw - Ector_Rop -> Efl.Gfx.Render_Op - ECTOR_ bla bla -> DRAW_ bla bla (base pixel ops) - ector_memfill -> draw_memset32 (and invert arg order to match memset) The main rasterizer file is now draw.h in static_libs/draw This is a non functional change, simple code refactor.
* Ector: Use Ector Buffer inside SW and Cairo renderersJean-Philippe Andre2015-12-0326-394/+322
| | | | | | | | | | | | | | | | Ector Surface now inherits from Ector Buffer, and the current two renderers (SW and Cairo SW) use Ector.Software.Buffer implementations for pixel surfaces. Basic pixel handling is merged and will allow easy extension (color conversion, etc...). Buffer classes are Mixins to be fully implemented by the final class, such as: Ector.Software.Buffer, Ector.Software.Surface or Ector.Cairo.Surface. This is a large ugly commit. Sorry. The code is quite a mess right now.
* Ector: Implement pixel buffer supportJean-Philippe Andre2015-12-0319-11/+767
| | | | | | | | | | | | | | | | | | | | | | | | | | The objective of this patch is to propose a standardized format for pixel buffers to use within Ector and Evas. The basic EO API provided here is not meant to be the fastest path for all operations, simply the most convenient to generalize. Performance will be achieved by implementing (or porting) custom draw functions. This implements support for: - Generic pixel buffers - Generic buffer renderer to draw images with ector - Software engine pixel buffers, ie. malloc buffers - Software buffer renderer Cairo support has not been implemented yet. The only renderer is still extremely limited, as it does not support Fill modes, Scaling, etc... yet. Not a single line from this patch has been tested yet. It compiles. That's pretty damn good for a start! @feature
* Eio: Fixes T2831, eio xattr tests failingVivek Ellur2015-12-031-3/+10
| | | | | | | | | | | | | | | | | | Summary: @Fix The eio_file_xattr test was failing in jenkins, so added a new callback and moved the check condition to callback. The condition is checked only when it is successfully executed Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric, stefan_schmidt Subscribers: jpeg, cedric Maniphest Tasks: T2831 Differential Revision: https://phab.enlightenment.org/D3400
* Edje entry: emit "selection,reset"Daniel Hirt2015-12-031-2/+15
| | | | | | | | | | Adding a check for the selection range on extend/preextend. If there is no range, then emit "selection,reset". Expected handling on the theme end for this signal is to show the cursor. This improves cursor visuals, as it will show the cursor again once the selection range ends up being 0.
* evas: rewrite gl image transformation logic in a very simple wayJaeun Choi2015-12-031-80/+157
| | | | | | | | all we need to do for image transformation such as rotation or flipping in gl is to map the vertices of source image to destination in a changed order. this commit not only enhances readability but also fixes bugs in rotation. @fix
* edje: fix edje RTL description in case of custom state of a partAmitesh Singh2015-12-031-2/+48
| | | | | | | | | | | | | | | Summary: In case of RTL, the "custom" state properties does not apply. It happened because we don't copy the latest src to dst in set_state(PART:.., "custom", 0.0); in case of dst is already populated. We should copy the updated src to dst whenever we set the new custom description. @fix Reviewers: cedric, raster, jpeg, zmike, jaehwan Subscribers: kimcinoo, seoz, jpeg Differential Revision: https://phab.enlightenment.org/D3394
* evas: set visible texcolorpick texture in 3D shadersOleksandr Shcherbina2015-12-034-6/+40
| | | | | | | | | | | | | | | | Summary: Add uniform varialble uColorTexture. Generate sampler count for textcolorpick and pass to renderer for bind additional texture unit to gl. It can be used for different 3D effects - blur, wave distortion, heat haze, etc. T2761 Reviewers: Hermet, raster, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3372 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* edje: add missing EAPI keyword for edje_color_class_delJee-Yong Um2015-12-031-1/+1
| | | | | | | | | | Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3398 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_evas: fix disappearing socket imagejiin.moon2015-12-031-5/+13
| | | | | | | | | | | | | | | | | | | Summary: In case there is connection between a server and some client, show/hide does not work properly. If there are clients need to show, this patch make it hide operation will not work even if get the hide signal @fix Reviewers: jypark, Hermet, cedric Subscribers: Hermet, cedric Differential Revision: https://phab.enlightenment.org/D2962 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: fix bug with logic with eina_matrix in evas_3d_utilsse.osadchy2015-12-036-32/+76
| | | | | | | | | | | | | | Summary: Also need to fix logically dead code in coverity. Reviewers: raster, Hermet, cedric Subscribers: jpeg Maniphest Tasks: T2832 Differential Revision: https://phab.enlightenment.org/D3346 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* edje: Remove redondant array in Evas 3D edd (part2)perepelits.m2015-12-031-6/+0
| | | | | | | | | | | | Summary: There are more redundant arrays to be deleted. In fact I don't think string name of descriptor shouldn't never change, I was testing some 2D examples and this is not true. Reviewers: raster, jpeg, cedric Subscribers: artem.popov, cedric Differential Revision: https://phab.enlightenment.org/D3361 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: properly clean up all memory.Cedric BAIL2015-12-031-2/+4
|
* evas: fix double free.Cedric BAIL2015-12-031-14/+0
| | | | | | | | | | | | | The ownership of this list and its content belong to the iterator. This code was actively double freeing and our test suite doesn't crash or have any issue... Well actually it was complaining that the list had error, but due to our other false positive test that do trigger eina log, we continuously ignored this error. NOTE: The fact that the test rely also on the container of the iterator instead of the iterator itself is not that great to. I kind of feel bad now for having allowed access to the container. We should have been able to allow changing the logic to generate those rectangle step after step instead of in one go. Now this seems difficult.
* Evas textblock: fix height on line wrappingDaniel Hirt2015-12-032-1/+16
| | | | | | | | | Line advance should finalize the line with its last item, and not the item we're currently wrapping. This fixes T1583, where some line wrapping cases would look different than their equivalent <ps> versions. @fix
* fix efreetd to scan more subdirs for desktop and icon filesCarsten Haitzler (Rasterman)2015-12-031-2/+2
| | | | | | | we miss desktop files for apps and stuff because we dont monitor too deep a tree. this ups our tree depth to 10 levels. @fix
* efreet desktop tracking - fix monitoring of dirs of custom desktopsCarsten Haitzler (Rasterman)2015-12-032-2/+10
| | | | | | | | | | | @fix this is wrong - start monitoring every/any dir in which a desktop file exists that we load a desktop file from. imagine you browse directories in efm with lots of desktop files in them - we end up monitoring lots of directories that we then rememebr and don't un-monitor. this disables monitoring of dirs from which we load a .desktop file from to fix this.
* build: fix distcheck after model saver and loader reworkStefan Schmidt2015-12-031-0/+1
| | | | | | | 32c33ed64dda542c7cfc952fc656bb711260441b broke distcheck here as the header files would not be included in the generated tarballs. This is the second or third time I fixed soemthing like this after a loader/saver rework. I would appreciate if the people involved would run distcheck on their own.
* Evas Textblock: Fix text disappear issue when text is made up with multiple ↵Youngbok Shin2015-12-032-1/+41
| | | | | | | | | | | | | | | | | | | | | | | items. Summary: Text is disappearing when we resize a singleline Evas Textblock with ellipsis. It is happened by putting a Text item at logical_items list without considering about logical position. It is only happended the text is made up with multiple items. @fix Test Plan: 1. Run elementary_test 2. Click Label Ellipsis 3. Resize the window dynamically and see the result. Reviewers: woohyun, tasn, herdsman Subscribers: jpeg, subodh6129, shilpasingh, cedric Maniphest Tasks: T2709 Differential Revision: https://phab.enlightenment.org/D3022
* evas_gl_shader: refractor shader/program compile check code.Amitesh Singh2015-12-031-20/+13
| | | | | | | | | | | | | Summary: Call respective shader/program functions on shader/program target only. Reviewers: cedric, raster, wonsik, spacegrapher, jpeg Reviewed By: jpeg Subscribers: alok25, sachin.dev, cedric, seoz Differential Revision: https://phab.enlightenment.org/D3388
* edje cc fix - we parsed floats not intsfor min and max desc sizeCarsten Haitzler (Rasterman)2015-12-031-4/+4
| | | | | | | | thanks conr2d for pointing this out - we uses the float parse func and not in parse. we should use int parse as the min and max sizes are just ints and not floats. :) @fix
* evas: refactor model's savers and loaders.perepelits.m2015-12-038-380/+307
| | | | | | | | | | | | Summary: Move common part to a separated document. Make code more readable using smaller functions. (from Task T2713) Reviewers: cedric, raster, Hermet Subscribers: artem.popov Differential Revision: https://phab.enlightenment.org/D3373
* efl: fix build failure when it builds with coverage.Youngbok Shin2015-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: When src/bin/efl/ builds with [--with-tests=coverage], it fails to find gcov lib. The gcov/lcov related options has to be passed when it is builded. And it only contained in EFL_CFLAGS, EFL_LIBS. @fix Test Plan: Be sure the your enviroments to build src/bin/efl/. 1. Run ./autogen.sh --with-tests=coverage 2. make or make check 3. See the build errors. Reviewers: raster, jpeg, cedric Reviewed By: cedric Subscribers: herdsman Differential Revision: https://phab.enlightenment.org/D3370 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: fix a NULL dereference issue in font.Youngbok Shin2015-12-031-8/+7
| | | | | | | | | | | | | | | | | | | | | Summary: eina_list_remove returns Eina_List pointer. It could be NULL if the last list item is removed. And the returned Eina_List pointer could be different from the given list. So, calling free for fdir->data after fdir's address is changed is dangerous. @fix Test Plan: Run expedite or test app with evas_font_path_append() API. Reviewers: stefan_schmidt, jpeg Reviewed By: jpeg Subscribers: stefan, jiin.moon, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3392 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* edje: add mising closing brace and adjust indents and spacing in test edcJee-Yong Um2015-12-031-3/+4
| | | | | | | | | | | | Summary: A closing brace is missing, and indent is not aligned. Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3387 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evil: better check of Windows 64 bitsVincent Torri2015-12-031-1/+1
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: fix live resize of windowsJean Guyomarc'h2015-12-033-0/+40
| | | | | | | | | | | | | | | | | | | | This was a tricky little bastard! When a window is live resized, the NSWindow which is the target of the live resize will wait for a kevent from the window manager, until live resizing is done. So... live resizing is synchronous and blocks the main thread... hence ecore_main_loop. - When live resize starts, the Ecore_Timer which polls NSRunLoop is paused. - When the window is resized, the ecore_main_loop is run manually with ecore_main_loop_iterate() to process Ecore events (mostly Ecore_Evas) - When live resize finished, the Ecore_Timer which polls NSRunLoop is resumed. @fix Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa_app: don't override initJean Guyomarc'h2015-12-032-7/+0
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: don't make ecore_cocoa_feed_events() a public APIJean Guyomarc'h2015-12-034-6/+6
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: NSApp must be configured in the App wrapperJean Guyomarc'h2015-12-032-8/+7
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa_window: cosmetic changesJean Guyomarc'h2015-12-031-8/+12
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: don't export Ecore_Cocoa_Keys.hJean Guyomarc'h2015-12-033-3/+13
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_x: factorize multiple calls to strlen()Jean Guyomarc'h2015-12-031-4/+9
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa: factorize codeJean Guyomarc'h2015-12-031-5/+5
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas_gl_cocoa: make sure focus is always unlocked after locking itJean Guyomarc'h2015-12-031-1/+2
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa_cnp: make API thread-safeJean Guyomarc'h2015-12-031-7/+4
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_cocoa_cnp: clear the clipboard only if writableJean Guyomarc'h2015-12-031-4/+4
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>