summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-01efl: Add composite model for boolean propertiesdevs/felipealmeida/efl_ui_connectFelipe Magno de Almeida
Add Efl.Model.Composite.Boolean, a model for wrapping another Efl.Model and adding boolean properties to its children. Children of the given composite model will have the boolean properties specified in Efl.Model.Composite.Boolean with the specified default value. A call to Efl.Model.Property_set can change the property value for a child.
2017-02-01eina: Add eina_iterator_clone function for copying Eina_IteratorFelipe Magno de Almeida
Add the related function pointer in the iterator struct, and increment the EINA_ITERATOR_VERSION macro. Also add the respective cloning functions for each container.
2017-02-01efl: Added efl_model and efl_ui_view classesLarry Jr
Efl.Model.Container and Efl.Model.Item to efl/interfaces are used to create Efl.Model objects with predefined property values. This is useful to any situation where we want an Efl.Model with explicit defined property values. Efl.Ui.View and Efl.Ui.Factory are used to connect Efl.Models with Widgets, Elm.Layout and Efl.Ui.Image has changed to use news interfaces
2017-01-31elm_code: fix that selected code can't undoYeongJong Lee
Summary: Change some undo logic and remove unused function Test Plan: 1. elementary_test - Code Editor 2. Select lines. 3. Remove selected lines. 4. undo removed lines(<Ctrl> + <z>) Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4631
2017-01-31elput: Improve debug output for added devicesChris Michael
Small patch which does not print out debug info for devices we do not handle, and adds the 'type' of device to the debug output (pointer, keyboard, etc). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-31elput: Don't add devices which we are not going to useChris Michael
If an input device is not a pointer, keyboard, or touch device then we are not going to be handling events for it, so do not create a new Elput device for it. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-31Revert "elput: Change return of device_add/remove functions"Chris Michael
Reverting this in favor of a better way to improve debug output This reverts commit cee7ee39932c31a21d3dd90e19703371a946a0c0.
2017-01-31elput: Change return of device_add/remove functionsChris Michael
Minor change on the return value of the device_add and device_remove functions so that we can avoid debug output for devices which we do not deal with. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-31ecore-evas-wayland: Minor formatting fixChris Michael
NB: No functional changes, just formatting Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-31elput: Add more robust debugging output for input devicesChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-31eina log bt - make it an eaven easier copy & paste to get a bt nowCarsten Haitzler (Rasterman)
just copy & paste into a terminal and hit enter.
2017-01-31evas gl common - have a gl array buffer pool to avoid hitting mallocCarsten Haitzler (Rasterman)
this improves performance a bit by avoding libc's malloc and the heap by using a custom buffer pool thathas basically immediate O(1) lookup time (in real life) that baloons out and contracts back as time goes on. @optimize
2017-01-31evas draw context - reduce size and allocations and freesCarsten Haitzler (Rasterman)
so a little perf fun shows malloc/free/realloc/etc. are, combined a reasonable overhead. this reduced malloc overhead for draw contexts so whne we duplicate them or create new ones, we re-use a small cache of 8 of them to avoid re-allocation. just take the first one from the list as it really is that simple. mempool would not have helped more here and cost more overhead. @optimize
2017-01-31evlog - remove setting stack var to 0 until it is needed laterCarsten Haitzler (Rasterman)
we set stack var to 0 even if evlog was off and thus didn't use it. this cleans up the evlog func a bit and also moves locking until later so it's locked for the minimum period to punt something into the log buffer. it's an improvement, but no bug fix.
2017-01-31evas async preload - fix valgrind issue in accessing image after freeCarsten Haitzler (Rasterman)
cache flish and async end ended up dropping some cacneled images that were then accessed further in the cancel func for the thread. this fixes that @fix
2017-01-31edje_pick: implement fonts copyVyacheslav Reutskiy
Previously this functional was miss. Edje_Pick was tried to copy fonts from data block "edje_source_fontmap" what always empty because edje_cc never fill it. This patch rework the fonts copy from input files. @fix
2017-01-30eina_evlog: Don't call get_time prematurelyDerek Foreman
If we're not logging events this generates a lot of wasted system calls. They probably don't amount to much, but it's trivial to get rid of them, and they make a mess when logging with strace.
2017-01-30elementary: Ensure pointer hotspot update and reduce duplicated codeChris Michael
When we mouse_in on a window, the cursor hotspot may need updating for the new pointer image, so utilize an existing function we already have which will set the pointer image and calculate updated hotspot. This patch also uses the same function call in _elm_win_frame_cb_move_stop in order to reduce duplication. ref T4987 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30elementary: Don't hide pointer window on mouse outChris Michael
This patch fixes an issue where pointers would occasionally disappear when running EFL apps in a Wayland compositor. This was occuring because we would hide the pointer window on mouse_out (and thus attach a NULL buffer to the pointer surface), but then when we mouse_in again on the window, it still have a NULL buffer attached to that pointer surface. This patch fixes the issue. ref T4987 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30elementary: No need to reset pointer surface on resizeChris Michael
As the pointer canvas will already be visible at this point, there is no need to redo the wl_pointer_set_cursor call as we can just set the pointer image we desire on the surface (_elm_theme_object_set) and when the pointer canvas renders, it will have the proper cursor Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30elementary: No need to set null pointer surface on mouse outChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30ecore-evas: Remove unused 'just_mapped' flagChris Michael
As this flag is not being used anywhere for anything, remove it. Useless to have it. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30ecore-evas-wayland: Only fetch framespace values if we have a windowChris Michael
Minor optimization to avoid always fetching framespace values even if we were not going to use them. @optimize Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30elementary: Create wayland pointer before frameChris Michael
If we create the pointer After the frame, then we end up setting elm_object_cursor on the frame object which we do not need so this patch just slightly modifies the order of things during finalize so that _elm_win_frame_add does not end up calling _elm_object_part_cursor_set on the frame object. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-30elementary: Don't set wayland window pointer if pointer ee not visibleChris Michael
This small patch avoids resetting ecore_wl2_window_pointer (and thus wl_pointer_set_cursor) if the actual pointer canvas is not visible. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-29mem gadget: document all the values received in the edje messageDave Andreoli
So that themers are aware of the unused fields
2017-01-28elm_code: Add a safety code to prevent arithmetic exceptionYeongJong Lee
Test Plan: 1. elementary_test - Code Editor 2. Chack there is not arithmetic exception Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4621
2017-01-27cmake: add ecore_con.Gustavo Sverzut Barbieri
2017-01-27cmake: pkg-config names uses dashes and are not uniform.Gustavo Sverzut Barbieri
ecore_con provides ecore-con, but ethumb_client provides ethumb_client. That means we need replace '_' with '-' and allow to override that, so ethumb_client will work.
2017-01-27cmake: create and install 'checkme' files for libraries.Gustavo Sverzut Barbieri
2017-01-27cmake: use CMAKE_INSTALL_LIBDIR instead of 'lib'Gustavo Sverzut Barbieri
this matches the platform preference whenever lib, lib32 or lib64.
2017-01-27cmake: EFL_BIN() now checks for EFL_UTILITY and installs to proper location.Gustavo Sverzut Barbieri
utility binaries shouldn't be in bin ($PATH), but in a library-specific directory (lib/${libname}/utils/v-${maj}.${min})
2017-01-27cmake/eo: expose HAVE_EO_ID to build via config_gen.hGustavo Sverzut Barbieri
2017-01-27ecore_con: add missing string nul byte terminator to efl_net_ip_address.Gustavo Sverzut Barbieri
2017-01-27eolian gen: imply -gT if -o T:f is specifiedDaniel Kolesa
If you specify type-explicit output filename, this automatically adds it so that it's generated even without specifying -gT. This is meant to help user friendliness. Also add a note about this to help listing.
2017-01-27cmake: remove comment, it was my misunderstanding, not a bug.Gustavo Sverzut Barbieri
2017-01-27cmake/eolian: generate source, headers and legacy in one command.Gustavo Sverzut Barbieri
actually wasn't a bug, I need to specify -gchl to generate legacy as well.
2017-01-27cmake: fix make-clean as add_custom_command() deletes output files.Gustavo Sverzut Barbieri
there is no way to mark output file as "precious", then cmake's suggestion is to use add_custom_target() instead. However that will always execute, so our generator script needs to be smarter and only touch stuff when actually needed.
2017-01-27cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage.Gustavo Sverzut Barbieri
generate a static library for src/static_libs and use that as LIBRARIES for the actual library, for those such as rg_etc that are used multiple times will even speed up the final build by compiling only once. Although not used, they can be made into shared libraries that would go inside /usr/lib/efl/support/v-1.19/libname.so
2017-01-27cmake: add ector.Gustavo Sverzut Barbieri
2017-01-27cmake/tests: improve naming and add missing include directories.Gustavo Sverzut Barbieri
Some tests were relocated to subdirectory but need shared files, or may need files from src/tests by including them relatively (../) as done in ector. With subdirectories we may end with src/test/libname/suite, to make it more user friendly and backward compatible call these libname_suite.
2017-01-27cmake: auto-include subdirectories with generated .eo.*Gustavo Sverzut Barbieri
2017-01-27cmake: if path is absolute, include as-is.Gustavo Sverzut Barbieri
2017-01-26cmake: add embryo.Gustavo Sverzut Barbieri
2017-01-26cmake: add missing files (oops)Gustavo Sverzut Barbieri
2017-01-26cmake: enable systemd/upower ecore modules.Gustavo Sverzut Barbieri
eldbus was a dependency.
2017-01-26cmake: add eldbus.Gustavo Sverzut Barbieri
2017-01-26cmake: improve options summary with per-library values.Gustavo Sverzut Barbieri
segment the options based on libraries, makes it easier to read.
2017-01-26cmake: fix strlcpy() detection and usage.Gustavo Sverzut Barbieri
Linux usually ship with strlcpy(), but it's inside bsd/string.h and needs -lbsd. On BSD it's inside string.h and libc.
2017-01-26cmake: more headers and function checks.Gustavo Sverzut Barbieri