summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2013-10-31ecore/wayland: Do not store "edges" in Ecore_Wl_Window.Rafael Antognolli
This is a configure event info, so put it in the right place. Some places adding edges info were also removed, which means that they were redundant. Tested with <Meta> + middle click resize, and with window border resize, on all the edges. Apparently, nothing breaks.
2013-10-31ecore/wayland: Do not use win->id directly.Rafael Antognolli
Use a getter for it instead, so we don't need to expose the Ecore_Wl_Window struct just because of it.
2013-10-31ecore/wayland: Make Ecore_Wl_Input private.Rafael Antognolli
It's mostly only used inside ecore_wayland library anyway. The only bit needed outside of the library is the "seat" pointer, but a new function was added to retrieve such pointer from Ecore_Wl_Input.
2013-10-31ecore/wayland: Hide Ecore_Wl_Display.Rafael Antognolli
This struct is only used inside ecore_wayland itself, so there's no real reason to expose it. Apparently, hiding it doesn't break anything, except for the ecore_imf wayland module, which was easily fixed. If anyone notices a breakage, please let me know.
2013-10-31Ok, This actually fixes maximized state properly now :) Basically, weChris Michael
still need to account for frame height, but not frame width when we are maximizing. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31Fix ecore_evas_wayland maximized support to function properlyChris Michael
Previously, a "maximize" of an efl client would not actually resize to the provided size as it would account for framespace width & height. This fixes that so now "maximize" is Actually maximized. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31Implement ability to call the ecore_evas state_change function ifChris Michael
needed. NB: Currently, this will only work for fullscreen or maximized states as other ones like sticky, withdrawn, iconic, etc, etc are not supported via wayland protocol yet. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31whitespace--Chris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31Call _ecore_evas_mouse_move_process function on mouse_in and mouse_outChris Michael
events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31evas/proxy - decide the proxy updation in the main render process.ChunEon Park
because the proxy updation is decided in the proxy rendering time, it couldn't be updated at the time if the source is changed before.
2013-10-31evil: let's try if we only use that macro.Cedric Bail
2013-10-31evil: remove libgen and the GNU *printf code (both in mingw-w64).Vincent Torri
This should reduce the code size of evil and reduce maintainance as mingw does now take care of it. Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-31edje: make functions return Eina_Bool and fix documentation.Vorobiov Vitalii
Make the following functions return Eina_Bool so the caller can detect errors: edje_edit_state_font_set edje_edit_part_effect_set Also deleted duplicate of the "edje_edit_state_font_set" function in Edje_Edit.h Moved some defines (EDJE_TEXT_EFFECT_MASK_BASIC, EDJE_TEXT_EFFECT_MASK_SHADOW_DIRECTION etc), so doxygen generation was fixed. Also added link (see also) in "edje_edit_part_effect_set" to the Edje_Text_Effect enum. Reviewers: cedric, seoz CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D302 Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-31edje: make functions in Text API return Eina_Bool.Vorobiov Vitalii
Make the following functions return Eina_Bool so the caller can detect errors: edje_edit_state_text_set edje_edit_state_text_size_set edje_edit_state_text_align_x_set edje_edit_state_text_align_y_set edje_edit_state_text_elipsis_set edje_edit_state_text_fit_x_set edje_edit_state_text_fit_y_set edje_edit_state_text_min_x_set edje_edit_state_text_min_y_set edje_edit_state_text_max_x_set edje_edit_state_text_max_y_set Reviewers: cedric, seoz CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D301 Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-31evas: fix uninitialized use of font instance when no font is selected.Cedric Bail
2013-10-30fix raster's typoJérémy Zurcher
2013-10-31Ecore_Common.h: fixed documentations.Daniel Juyung Seo
2013-10-30edje: fix typos/miss merge with a wrong return in edje_edit_image_del.Andrii Kroitor
Because of unconditional return in function, a huge part of its body was skipped making this function useless. Looked like a typo or missed merge. Reviewers: cedric, seoz CC: seoz Differential Revision: https://phab.enlightenment.org/D281 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: make function "edje_edit_state_min/max..." return Eina_Bool.Vorobiov Vitalii
Make the following function return Eina_Bool so the caller can detect errors : List of updated functions: edje_edit_state_min_h_set edje_edit_state_min_w_set edje_edit_state_max_h_set edje_edit_state_max_w_set Reviewers: cedric, seoz CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D299 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: make edje_edit_group_*_*_set return Eina_Bool.Andrii Kroitor
Make the following function return Eina_Bool so that the caller can detect errors : edje_edit_group_min_w_set edje_edit_group_min_h_set edje_edit_group_max_w_set edje_edit_group_max_h_set Reviewers: cedric, seoz CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D291 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: make function which change style tag param's (name, value) and delete ↵m.biliavskyi
tag return Eina_Bool. This patch make the following function return Eina_Bool so the caller can detect errors. edje_edit_style_tag_value_set edje_edit_style_tag_name_set edje_edit_style_tag_del Reviewers: cedric, seoz Reviewed By: cedric CC: reutskiy.v.v, seoz Differential Revision: https://phab.enlightenment.org/D294 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: make setters for "edje_edit_state_image_..." return Eina_Bool.Vorobiov Vitalii
This patch make the following function return Eina_Bool so the caller can detect errors. edje_edit_state_image_set edje_edit_state_image_border_set edje_edit_state_image_border_fill_set Reviewers: cedric, seoz CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D295 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: make edje edit rel setters return Eina_Bool.Andrii Kroitor
Make the following function return an Eina_Bool so the caller can detect errors if it want : edje_edit_state_rel1_relative_x_set edje_edit_state_rel1_relative_y_set edje_edit_state_rel2_relative_x_set edje_edit_state_rel2_relative_y_set edje_edit_state_rel1_offset_x_set edje_edit_state_rel1_offset_y_set edje_edit_state_rel2_offset_x_set edje_edit_state_rel2_offset_y_set edje_edit_state_rel1_to_x_set edje_edit_state_rel1_to_y_set edje_edit_state_rel2_to_x_set edje_edit_state_rel2_to_y_set Reviewers: cedric, seoz CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D296 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: make setters for "edje_edit_state_color..." return Eina_Bool.Vorobiov Vitalii
This patch start returning Eina_Bool for the following color setters to be able to detect errors when calling them. edje_edit_state_color_set edje_edit_state_color2_set edje_edit_state_color3_set Reviewers: cedric, seoz Reviewed By: cedric CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D297 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30edje: Make setters for "edje_edit_state_min/max..." return Eina_BoolVorobiov Vitalii
This patch start returning Eina_Bool for state's min and max value setters, so we can now catch error when calling those function. edje_edit_state_min_h_set edje_edit_state_min_w_set edje_edit_state_max_h_set edje_edit_state_max_w_set Reviewers: cedric, seoz Reviewed By: cedric CC: reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D298 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-10-30evas/cserve2: Prevent another infinite loop (flush)Jean-Philippe Andre
And add some error messages
2013-10-30evas/cserve2: Prevent potential infinite loop (shutdown)Jean-Philippe Andre
In shutdown, I've encountered an infinite loop. It SHOULD NOT possibly happen, but somehow some image was marked as delete_me=1 but still present in the LRU.
2013-10-30evas/cserve2: Fix crash in server when an image file changesJean-Philippe Andre
Since cserve2 uses inotify to track image file updates, it will drop its references to a specific file and all the associated images. Fix some logic in the deletion code.
2013-10-30evas/cserve2: Fix image preload with gl-x11 engineJean-Philippe Andre
Cserves supports only the SW (xlib) and GL (gl-x11) engines. Also, improve cs2 support for some lesser used functions in the gl_x11 engine.
2013-10-30evas - gif loader rewrite (clean up code, document it a lot AND fix bugs)Carsten Haitzler (Rasterman)
after several days of beating head on desk, i gave up trying to find the exact cause of some gifs not rendering right as animated gifs due to the loader. it had something to do with dispose mode handling and which frame it was applied to. i noticed the structure made it also hard to fix, so this re-structures the entire thing with cleaner code, less code AND more comments, with a limited memory cache (512k) for previous frames per image (to avoid eating up huge memory blobs for big/long animations - though at the expense of cpu), and with some notes for future fixes - like fixing the "load 2 copies of the same animated gif" issue... that's another day. this does fix https://phab.enlightenment.org/T443 along with many other things.
2013-10-30evas - animated images. fix leak in not freeing the list of frames itselfCarsten Haitzler (Rasterman)
2013-10-30EvasGL: cleaning up unnecessary code.Sung W. Park
Cleaning up unnecessary code.
2013-10-30Return Eina_Bool value for method which deleting style from edje_edit object.m.biliavskyi
Summary: This patch start returning Eina_Bool for deleting style from edje edit object to catch those error. Reviewers: cedric CC: reutskiy.v.v, seoz Differential Revision: https://phab.enlightenment.org/D290
2013-10-29ecore/wayland: Using underscore on private functions.Rafael Antognolli
2013-10-29ecore/wayland: Oops, initialize member of malloc'ed struct.Rafael Antognolli
2013-10-29ecore/wayland: Add some getters.Rafael Antognolli
This centralizes the place where we have to wait for the init to have finished before first using the compositor. It's also part of the later step of hiding Ecore_Wl_* private structs.
2013-10-29On a focus_in event, if the ecore_evas already has focus, don't resendChris Michael
a focus in. Similar change for focus_out also. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-29If mouse is already inside the ecore_evas, then we don't need to callChris Michael
the mouse_in function of the ecore_evas. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-29Don't send mouse_up or mouse_down events unless we have a focusedChris Michael
surface Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-29evas/cserve2: Fix error path in evas_cache2_image_writable()Jean-Philippe Andre
Return NULL and check for nullity in the only calling function. Fixes CID 1039461 (Logically dead code)
2013-10-29evas/cserve2: Fix CID 1039286 (Resource leak)Jean-Philippe Andre
Close socket in case of connection failure.
2013-10-29evas/cserve2: Fix new Coverity issuesJean-Philippe Andre
Nothing extraordinary here. Most potential crashes are extremely unlikely. - Fix CID 1113444 - Fix CID 1113442 - Fix CID 1113441 (Logically dead code, can not be NULL) - Fix CID 1113440: Explicit null dereferenced This is actually an impossible situation. Fixed by checking for nullity and printing out some error messages instead of just crashing. - Fix CID 1113439: Dereference after null check Logically impossible code as both idxpath and datapath must be either set or null at the same time. Change the if logic to tell Coverity there's no bug. - Fix CID 1113438 (Argument cannot be negative) Fix wrong check of return value from shm_open. - Fix CID 1113437 (Argument cannot be negative) Fix wrong check of return value from shm_open. - Fix CID 1113436 (Dereference null return value) This case really shouldn't happen. But the extra check does not hurt. - Fix CID 1113435 (Dereference before null check) Check for nullity after map open. - Fix CID 1113434 (Extra sizeof expression) Debug buggy debug tool :) - Fix CID 1113433 (Uninitialized scalar variable) Insignificant issue: only prints wrong debug logs :) - Fix CID 1113431 (Uninitialized scalar value) Check if (!found) only to print out logs. Not a big deal if found was invalid. - Fix CID 1039462 (Logically dead code)
2013-10-29edje: return Eina_Bool values in setters for dragable confine and event ↵m.biliavskyi
params in Edje_Edit API. Many Edje_Edit API can fail and don't return any error information. This patch start returning Eina_Bool for setters on dragable confine and event params to catch those error. Reviewers: cedric Reviewed By: cedric CC: seoz Differential Revision: https://phab.enlightenment.org/D274 Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-28ecore/wayland: Use sync callback to report end of ecore_wl_init().Rafael Antognolli
At the end of the ecore_wl_init() function, send a sync request to the server, and add a callback listener to the "done" event. When this event is received, we are sure that all the registry bind requests done so far were processed already, and that the registry and globals are available and can be used. Now, on the functions that request interfaces or registry, we call _ecore_wl_init_wait(), which will check if the callback was received already (that means that all requests inside the init were processed). If it was not yet, then we wait until receiving that callback, before returning the requested data.
2013-10-28ecore/wayland: Add info about other bound interfaces.Rafael Antognolli
Add output, seat, data_device_manager and subcompositor as possible bound interfaces, on the ECORE_WL_EVENT_INTERFACES_BOUND event info.
2013-10-28Revert "change init done bindings."Rafael Antognolli
This reverts commit b87afd1b943b260c92f8493647b7d9cae327656e. Wrong branch, wrong commit.
2013-10-28change init done bindings.Rafael Antognolli
2013-10-28eina: long forgotten function in Eina_File for Windows.Cedric Bail
2013-10-28evas: fix leak of ellipsis object in Evas_Object_Text.Cedric Bail
2013-10-28evas: fix possible memory leak in the ellipsis code.Cedric Bail