summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-08ecore_evas: make it easier to have custom dependencies per module.Cedric BAIL
2016-04-08elm_win: force opaque update on maximize state changeMike Blumenkrantz
enforce csd recalc to ensure accurate maximize sizing @fix
2016-04-08tests/eloian: ship eo file needed for tests in tarballStefan Schmidt
Without this the make check run inside distcheck fails.
2016-04-08Elm tests: Silence warnings in the unused elm prefs test.Tom Hacohen
2016-04-08Evas langauge: Prevent potential buffer overflow and clean code.Tom Hacohen
We were copying a user defined string into a fixed size buffer without doing any boundary checks. This commit fixes that. Also cleaned up similar code that was using hardcoded numbers. @fix.
2016-04-08Evas: Add API to reinit the language and use it in elementary.Youngbok Shin
Summary: evas_common_language_from_locale_* functions kept static pointers inside of its functions. Once these function was called, it was never reset. It made big problems for harfbuzz and hyphenation. Also, Elementary provides elm_language_set() API. Then we need to support it fully. @fix Test Plan: Test case for hyphenation is included in Evas test suite. Reviewers: raster, tasn, herdsman, woohyun, z-wony, Blackmole, minudf Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3864
2016-04-08list: fix item highlight geometry correctlyJee-Yong Um
Summary: Calculation for item highlight geometry is incorrect when item is larger than viewport geometry. This patch adjusts highlight geometry to fit visible item size. Test Plan: enventor (look "Settings-Text Editor-Font Names" list) Reviewers: Jaehyun_Cho Subscribers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D3738
2016-04-08elm_win: Fix warning (unused variable)Jean-Philippe Andre
2016-04-08doc: fix typo in 410cdd1501c0f7Amitesh Singh
2016-04-08doc: add widget_preview_nstate.c to noinst_PROGRAMSAmitesh Singh
2016-04-08efreetd - dont use netdb.sh as per man page on windowsCarsten Haitzler (Rasterman)
2016-04-08efreet - use eina tmp dir instead of /tmp dirCarsten Haitzler (Rasterman)
use eina_environment_tmp_get() for windows
2016-04-08theme: add nstate.edc in Makefile.amAmitesh Singh
fixes make dist
2016-04-08doc: add elm nstate previewAmitesh Singh
2016-04-08efreetd - fix more cache path handling to live in the cache dirCarsten Haitzler (Rasterman)
follow on fixes from 5028a8807780892c361ae976b567cd924fa529b1 @fix
2016-04-08efreet: fix tmp file/dir/log handling to not leave a mess and workCarsten Haitzler (Rasterman)
so efreets tmp file/cache/log file handling was broken, using filenames in tmp and renaming them to a caceh dir that can be on different filesystems. also log file should have been in a tmp dir ... and subsidrs cache didnt get renamed properly at all and thus not updated. @fix
2016-04-08doc: Remove widget_preview_nstate.cJean-Philippe Andre
These is no such file. Hopefully this will fix make dist.
2016-04-08efl_vpath: Fix compilation for windowsJean-Philippe Andre
Patch by @vtorri Fixes T3431
2016-04-08Evas 3d: Fix compilation for WindowsJean-Philippe Andre
near and far are #defined in windows.h. Old legacy stuff. To be sure the code compiles, rename the variables. Fixes T3423
2016-04-08eina tmp get - support other tmp dir env vars and dont use xdg runtimeCarsten Haitzler (Rasterman)
xdg runtime dir is NOT a tmp dir in the normal sense. it's not world writable nor world readable. only for the user. using eina_environment_tmp_get() would imply that it is a regular tmp dir, not a per-user private only runtime dir. that is something else entirely. @fix
2016-04-08efl vpath - fix fallback handling to use right buffer for statCarsten Haitzler (Rasterman)
2016-04-07wayland: hook engine data from elm_win and update rect with evas sizeMike Blumenkrantz
the only way to accurately calculate the "evas" size in the engine from window geometry is to have the size of the frame available to subtract from window geometry window geometry is NOT framespace--framespace is the entire csd region, possibly containing a shadow, and window geometry is explicitly the region occupied by the window, ie. not the shadowed part. not my ideal solution to the synchronization issue here, but I guess this is a benefit of the unified tree fix T3396
2016-04-07ecore-wl2: redo Ecore_Wl2_Event_Window_Configure entirelyMike Blumenkrantz
this is an event representing the "new" state of the surface after a configure event. it must contain the exact states which could potentially have changed in the configure in order to ensure synchronization between csd states and window size. ecore events for xdg-shell configures must be sent only upon receiving a configure event since states are set by the compositor and not by the client @fix #hoorayforbeta
2016-04-07elm_win: handle icon object lifetimes more accurately, use icon_name in csd iconMike Blumenkrantz
in the case where an icon existed upon having an icon object set, the previous icon object would be orphaned while still being visible. the new icon would then never be set into the csd. @fix
2016-04-07elm_win: move frame obj creation/deletion for fullscreen property to state ↵Mike Blumenkrantz
change cb this was broken if the compositor unset fullscreen without being prompted by the client (eg. ctrl+alt+f). it also created timing differences for csd calcs based on when the fullscreen call occurred in the render cycle @fix
2016-04-07ecore-wl2: remove maximized/fullscreen/transient from window types enumMike Blumenkrantz
these aren't real window types and only complicate internals/api #hoorayforbeta
2016-04-07ecore_x: fix emission of ECORE_X_EVENT_XKB_NEWKBD_NOTIFYMarcel Hollerbach
Summary: the event XkbNewKeyboardNotify was never selected with XkbSelectEventDetails so the event type could never occur. The event is now each time emitted when a new event to the keyboard happens. To clarify a bit: A new keyboard is always detected in x when the set of keymaps changes. @fix Reviewers: raster, devilhorns, zmike Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3867
2016-04-07Elm_image: remove elm_image_sizing_eval from eo to legacy.Ji-Youn Park
elm_image_object_get api will be deprecated, so moved sizing eval func to legacy
2016-04-07efl.progress: Rename property from value to progress_valueYeshwanth Reddivari
Reviewers: jpeg, singh.amitesh Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3872
2016-04-07elm_nstate: introduce nstate widget and inherit check from itAmitesh Singh
Test Plan: elementary_test -to "nstate" @feature Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg Subscribers: saurabhbunty, seoz Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07Efl: Rename flip and orient enumsJean-Philippe Andre
Efl.Flip is now the enum, the interface is Flipable. We could even use names like Efl.IFlip a la Java. eo_prefix is used to have pretty names in C. legacy: null is removed from the enums. orient_x0 is removed and only defined in C with #define
2016-04-07Interface: Progress - Add common interface for Slider and ProgressbarYeshwanth Reddivari
Summary: Implement common interface efl_ui_progress and inherit slider and progressbar from common interface. Currently legacy APIs will also call interface functions and later it can be deprecated. This interface will be moved to EFL in src/lib/efl/interfaces when elementary is merged into efl. Test Plan: elementary_test -to 'slider' elementary_test -to 'progressbar' Reviewers: singh.amitesh, raster, tasn, felipealmeida, woohyun, cedric, jpeg Subscribers: saurabhbunty, alok25 Differential Revision: https://phab.enlightenment.org/D3759
2016-04-07Eo: Try to fix windows buildJean-Philippe Andre
For windows, EAPI needs to be redefined as dllexport/dllimport. Since we marked all EO APIs as weak, we had two different EAPI macros: EAPI and EWAPI. Unfortunately, EWAPI was never redefined (only declared inside Eo.h). See also a1a506e13e276d8ef6e522ae9. See T3423. Thanks @vtorri for the report.
2016-04-07Eo: Mark class_get() as weak APIsJean-Philippe Andre
While eolian-gen was generating EWAPI (weak) class_get() symbol declarations, they were implemented as EAPI (strong). Not sure if this mismatch had any significant effect. This patch tries to address T3423 (windows build). The mismatch between EAPI and EWAPI might be the problem.
2016-04-07Ecore: Try to fix build for windowsJean-Philippe Andre
Move efl.h above ecore.h to not mess with EAPI's dllimport vs. dllexport definition. This addresses T3423.
2016-04-07Efl: Add internal strong symbol to fix build on GCC < 5.3Jean-Philippe Andre
This fixes a crash in ecore_init, calling a weak function from libefl that was resolved to NULL. So, here's a fun thing happening with GCC < 5.3. Since a1a506e13e2 all EOAPI and EO class_get() functions are weak symbols. This means that all APIs inside libefl.so are weak. As a result, gcc linker with --as-needed skipped linking to libefl since not a single strong symbol from libefl was required by libecore. This is actually a bug in gcc linker since we do in fact use symbols from libefl, just weak ones. GCC 5.3 seems to be fixed, so people with GCC 5.3+ will not experience any build/runtime issue. The current patch is a workaround that bug, by artifically creating a strong symbol required by ecore. Other libraries than ecore might also need to call __efl_internal_init, if they end up not being linked to libefl.
2016-04-06ecore: attempt to fix windows build by putting header in a more logical place.Cedric Bail
2016-04-06eolian: add Eolian support for Eina PromisesFelipe Magno de Almeida
Add a promise object to allows Eolian interface to include promises as a way to have asynchronous value return and composibility. The usage is like this in a .eo file: class Foo { methods { bar { params { @inout promise: Promise<int>; } } } } Which will create the following API interface: void foo_bar(Eo* obj, Eina_Promise** promise); and a Eina_Promise_Owner for the implementation, like this: void _foo_bar(Eo* obj, Private_Data* pdata, Eina_Promise_Owner* promise); Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-06eo: add before and after macro hooks for API generation functionsFelipe Magno de Almeida
Add two parameters for macros that generate API functions in Eo so that the generation can be customized with macros used by Eolian. Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-06Revert "Eo: Fix rare crash after call_resolve"Tom Hacohen
I'm reverting this because according to jpeg it was possibly fixed in 5284b62e930f0bef0ed3125b3a485e0599451ef8. I reverted this patch after his fix and followed his reproduction cases and it seems that his second patch does indeed fix this issue so this patch is no longer needed. This reverts commit 0862b9d08384bc1d862b90952130ec988f56b33b.
2016-04-06Eo tests: Also test function calls in reinit test.Tom Hacohen
Since we cache ops we also need to check function calls work when we reinit eo, not just class_get functions. This commit essentially verifies that 5284b62e930f0bef0ed3125b3a485e0599451ef8 was done correctly.
2016-04-06efl build - ecore - add efl link as a PUBLIC link as efl headers it inCarsten Haitzler (Rasterman)
I added Efl.h to Ecore.h - because we really want to use efl interfaces ... like everywhere. so add it to the link too.
2016-04-06elm_test: Fix warning with clangJean-Philippe Andre
Invalid enum type
2016-04-06elm_glview: Fix warning with clangJean-Philippe Andre
I'm using the same gcc construct to initiliaze a complex struct with {} instead of {0}.
2016-04-06elm_config: Fix typo and warningJean-Philippe Andre
A major typo (hard to find with the naked eye) was present in elm_config's list of text & color classes. See D3487. I'm pretty sure this feature has not been used at all.
2016-04-06els_box: Fix warning with clangJean-Philippe Andre
warning: comparison of constant 100 with expression of type 'Evas_Aspect_Control' is always true [-Wtautological-constant-out-of-range-compare]
2016-04-06elm: Fix some warnings with clangJean-Philippe Andre
warning: missing field 'desc' initializer [-Wmissing-field-initializers] Solution: use gcc extension to init structs with {}. This is a bit ugly, but having too many warnings leads to ignoring them and not noticing valid ones. The warning is triggered because the first member of Eo_Event is not a primitive type (it's a struct _Eo_Opaque *).
2016-04-06elm_web: Fix warning (missing initializer)Jean-Philippe Andre
2016-04-06elm_image: Fix warning (wrong enum type)Jean-Philippe Andre
2016-04-06Eo: Fix function cache after eo reinitJean-Philippe Andre
The function call resolve cache may be broken after an eo shutdown + init cycle, leading to calls to invalid functions. This adds an static uint for each and every single EO API entry point, as well as an extra if() check. Now I'm not sure if the previous commit 0862b9d08384bc1d8 is still necessary.