summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* edje/examples: add example of use_systeam_seat_names flagdevs/bdilly/edje_multiseatBruno Dilly2016-12-144-0/+329
| | | | | | | | | Since seat names defined on evas will depend on evas backends, maybe udev rules, etc, we aren't able to demonstrate it without manually setting another name for such seats with efl_input_devices_name_set(). Otherwise we wouldn't have guarantees it would match names on EDC.
* edje/examples: add example for focus actionsBruno Dilly2016-12-144-0/+491
| | | | | Just a regular (non multiseat) focus example for actions FOCUS_SET and FOCUS_OBJECT
* edje: add flag to choose between evas or edje seat namingBruno Dilly2016-12-145-2/+121
| | | | | | | | collections.group.use_system_seat_names should be set to '1' to use seat names on signals as provided by Evas. By default just follow Edje naming approach ("seat1", "seat2", ...)
* examples/edje: add dynamic seats exampleBruno Dilly2016-12-144-1/+420
| | | | | | It's an example of how themes can be implemented even if the number of seats using the UI is unknown, and how it can be done using scripts or C code.
* edje: support action seats on edje_editBruno Dilly2016-12-142-8/+42
|
* edje: accept optional seat parameter on FOCUS_OBJECTBruno Dilly2016-12-144-15/+142
| | | | | | | | If not provided, FOCUS_OBJECT action will keep acting over default seat. Also include a usage on edje-multiseat test (actually no example was exercising this action).
* examples/edje: add multiseat exampleBruno Dilly2016-12-144-0/+955
|
* edje: add names for seats following an incremental patternBruno Dilly2016-12-145-59/+254
| | | | | | This way it'll be possible to write EDC with seat names that will work no matter how seats are named by each ecore_evas backend or users.
* edje: support seat on focus action and signalsBruno Dilly2016-12-149-64/+263
| | | | | | | | | | Seat goes as an optional parameter for FOCUS_SET (if not provided, act over default seat), and emit signals with seat suffix: * focus,in,$SEAT * focus,out,$SEAT * focus,part,in,$SEAT * focus,part,out,$SEAT
* edje: add new signals providing seat informationBruno Dilly2016-12-143-16/+43
| | | | | | | | | | | | | Add the following signals: * mouse,in,$SEAT * mouse,out,$SEAT * mouse,move,$SEAT * mouse,clicked,$BUTTON,$SEAT * hold,on,$SEAT * hold,off,$SEAT * drag,$SEAT * drag,start,$SEAT * drag,stop,$SEAT
* evas: add getter for devices by nameBruno Dilly2016-12-142-0/+42
| | | | | | Make it possible to get the evas device given its name. It sounds useful for Edje since programs will reference seats by name.
* eolian: handle pointer types in typechecking expr evalDaniel Kolesa2016-12-143-6/+8
| | | | Also improve expr error messages and fix Eolian tests.
* ecore con tests: fix missing includeDaniel Kolesa2016-12-141-0/+8
|
* eolian gen: specialize default values by typeDaniel Kolesa2016-12-141-24/+51
| | | | | | | Now we can generate NULL for stuff that is pointers and empty struct literals for struct instead of just 0 for everything. The previous behavior was incorrect for those cases and generated broken code.
* eolian: handle pointers in aliased_base_getDaniel Kolesa2016-12-142-2/+3
|
* eolian: unary expr eval for floats and add a signed number maskDaniel Kolesa2016-12-145-14/+19
| | | | | | This adds a new mask for all signed numbers (sint + float) and fixes unary expr evaluation for floats, as well as fixes eval error messages.
* ecore-wl2: restore previous session recovery behavior on hideMike Blumenkrantz2016-12-143-18/+33
| | | | ref 9492ee21dfa642123043da5d5ef7954e886b0f9c
* elput: Properly check return values from libinput config functionsChris Michael2016-12-141-8/+16
| | | | | | | | As libinput_config_status may contain 3 possible return values, we need to santize the return values there into Eina_Bool for use in our own functions. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API functions to get/set if tap-to-click is enabledChris Michael2016-12-142-0/+56
| | | | | | | | | This patch adds API functions to get or set if tap-to-click is enabled on a touchpad device @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API functions to get/set touchpad click methodChris Michael2016-12-142-0/+45
| | | | | | | | | | This patch adds API functions to get or set the click method used on touch devices. The click method defines when to generate software emulated buttons @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API functions to get/set the scroll method for a touchpadChris Michael2016-12-142-0/+47
| | | | | | | | | | | | device This patch adds API functions which can be used to get or set the scroll method used for a given device. Scroll method defines when to generate scroll axis events @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API functions to enable/disable dwt support on touchpadsChris Michael2016-12-142-2/+65
| | | | | | | | | This patch adds API functions to get/set if dwt (disable-while-typing) is enabled on a touchpad. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API functions to enable/disable drag-lock on touch devicesChris Michael2016-12-142-0/+59
| | | | | | | | | This patch adds API functions to get or set if drag-lock is enabled on touch devices. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API functions to enable/disable tap-and-dragChris Michael2016-12-143-0/+68
| | | | | | | | | This patch adds new API functions for Elput touch devices to get or set if tap-and-drag is enabled on a touchpad device @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Fix generate ecore key events on windows.Mykyta Biliavskyi2016-12-141-3/+15
| | | | | | | | | | | If Ctrl+number combination pressed/unpressed function _ecore_win32_event_keystroke_get return NULL. It happens because ToUnicode WinAPI func fails to prepare unicode string for given scancode and the keyboard state. This commit add exception for the case with digits keys. In case if there no translate string, but the digit key processed - will be created a normal event as usual.
* elementary: slider uses max value when atspi tries to set value.Shinwoo Kim2016-12-141-2/+2
| | | | Because double type value could be 1.00000000000000022204.
* naviframe: Raise previous view after item pop is finished.Jaehyun Cho2016-12-141-2/+8
| | | | | | | | | Previously, previous view was raised immediately when item pop is started so previous view covers current view when item pop is started. Now, previous view is raised after item pop is finished so previous view covers current view when item pop is finished. Change-Id: I86f343e0b49f3801d00e553755896f0eb756daa0
* edje_calc: remove redundant checkingThiep Ha2016-12-141-37/+32
| | | | We check amin > ZERO && amax > ZERO, so no need to do it them again.
* Ecore Evas VNC: Properly shutdown server during cleanup.Guilherme Iscaro2016-12-131-4/+7
| | | | | | | | | | | | | | Summary: The function rfbScreenCleanup() does not close the open sockets, a call to rfbShutdownServer() must be done to properly close them. Reviewers: cedric, bdilly Reviewed By: bdilly Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4459
* edje_pick: fix memory leak while on group dependency buildVitalii Vorobiov2016-12-131-2/+4
| | | | @fix
* elc_naviframe: Delete naviframe items in LIFO manner on widget deletion.Shilpa Singh2016-12-131-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Naviframe manages items in the form of a stack, but deletion is happening in FIFO manner, the deletion of items on widget deletion should also happen in LIFO manner. Use Case: Application allocates memory on first push and passes down the same handle for all subsequent pushes, now on deletion as first item is deleted first crash happens when the memory is accessed in second item on its deletion. hence Naviframe should also delete items in LIFO manner. @feature Test Plan: elementary_test->naviframe->push multiple pages Now terminate the app, the items should be deleted in LIFO manner. Reviewers: Hermet, Jaehyun, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, govi, rajeshps, jpeg Differential Revision: https://phab.enlightenment.org/D4483
* elm_test: Add a test case for gfx filtersJean-Philippe Andre2016-12-133-1/+379
| | | | | | | | | | | | | | | | | This adds a test window for the efl_gfx_filter (also known as evas filters). The builtin examples are not incredibly pretty but they showcase some of the most basic features. They also show that some of the filters need to be improved. Note that the code contains a lot of FIXME due to the incompleteness of our EO API. Also, Efl.Ui.Text still has quite a few issues (sizing, lack of a working change event, ...) so the UI doesn't even look as designed (a label is missing). Hopefully this should get fixed over time. Oh and this is mostly using EO APIs but that's a terrible idea as evas_object_text is not going to be exposed in EO land... except it's the only object implementing filter support (with image).
* spinner: Fix mouse wheel eventsJean-Philippe Andre2016-12-131-3/+2
| | | | Fix invalid cast of event_info
* evas: Make evas object loop usersJean-Philippe Andre2016-12-135-5/+28
| | | | | | This makes efl_loop_get() work on evas objects, returning the main loop as expected. Also make the loop a property of the Loop_User class (shouldn't it be called Efl.Loop.User instead?)
* evas: Fix stacked box alignJean-Philippe Andre2016-12-132-2/+3
| | | | | | | | I added a way to respect the object's alignment when adding them to a stacked box, but that alignment should only be used when the box align is set to fill, otherwise both aligns would conflict. See 3df7b717c932adac481aa0ec527d4d5893b07bb8
* Fix compilation warning due to redeclared variableDaniel Zaoui2016-12-131-15/+16
|
* Merge branch 'devs/iscaro/memory'Bruno Dilly2016-12-133-62/+84
|\ | | | | | | | | | | | | | | | | | | | | This series reduce the memory footprint caused by _evas_object_pointer_data_get() previous implementation. Patches by Guilherme Iscaro <iscaro@profusion.mobi> Reviewed By: bdilly, cedric, jpeg, raster Differential Revision: https://phab.enlightenment.org/D4474
| * Efl.Canvas.Object: Remove the extra parementer at ↵Guilherme Iscaro2016-12-133-46/+43
| | | | | | | | | | | | _evas_object_pointer_data_get() The Evas_Pointer_Data struct already contains a Efl.Input.Device pointer.
| * Efl.Canvas.Object: Reduce memory used to store Evas_Object_Pointer_Data.Guilherme Iscaro2016-12-132-16/+41
|/ | | | | | | The hash implementation demonstrated that too much memory was being used to store the Evas_Object_Pointer_Data. In order to reduce the memory usage this patches now changes the Evas_Object_Pointer_Data storage to an Eina_Inlist and now Massif profiles shows that the memory usage was drastically reduced.
* evas: fix memory leak in software generic in error case.Awadhesh Singh2016-12-121-0/+1
| | | | | | | | | | | | | | | | | Summary: pixels_tmp memory need to be free in default case too. Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com> Reviewers: singh.amitesh, raster, cedric Reviewed By: cedric Subscribers: atulfokk, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4473 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* spinner: call changed callback on value set.Umesh Tanwar2016-12-121-0/+1
| | | | | | | | | | | | | | | | | | | Summary: If user set spinner value other than it's current value, this is change in value. So changed callback must be called on value set. @fix Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com> Reviewers: raster, singh.amitesh, cedric, jpeg Subscribers: atulfokk, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4471 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* Merge branch 'devs/iscaro/event-filter'Bruno Dilly2016-12-128-0/+410
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Series of patches adding support to filter input and focus events per seat for any evas object. So it will make it possible to block or unblock keyboard, mouse and focus events that was originated by a specific seat. Requested on RFC regarding multiseaet support on Edje - such feature will be also supported on Edje later. Patches by Guilherme Iscaro <iscaro@profusion.mobi> Reviewed By: bdilly, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4468
| * Evas: Add event filter example.Guilherme Iscaro2016-12-123-0/+284
| | | | | | | | This example exercises the new seat event filter API.
| * Evas: Objects must not be focused with the seat is not allowed to emit events.Guilherme Iscaro2016-12-121-0/+3
| | | | | | | | Seats that are not allowed to emit events must not be able to focus objects.
| * Efl.Canvas.Object: Override efl_event_callback_[legacy]_call.Guilherme Iscaro2016-12-122-0/+51
| | | | | | | | | | | | In order to properly block events from a given seat, Efl.Canvas.Object must override the efl_event_callback_[legacy]_call to check if the event is allowed or not.
| * Evas: Add seat_event_filter_set()/get() API.Guilherme Iscaro2016-12-124-0/+72
|/ | | | | | With this new API one can block or unblock keyboard, mouse and focus events that was originated from a seat. This is useful to create applications that wants to establish some kind of seat segregation.
* elm: theme: avoid double free in theme version checkStefan Schmidt2016-12-121-1/+0
| | | | | | | If we would have a version below 110 we would run into a double free here. Just warn and let the freeing happen two lines below. CID: 1366926
* ethumb: fix resource leak introduced in file path sanitization reworkStefan Schmidt2016-12-121-1/+0
| | | | | | | | | This extra snaitized path assign path does not make sense and leads to a leak in the end. We already have sanitized_path and handle that correctly. Fixes 62a0c41fd3bf8796efec55db52395f13a78fb27f CID: 1366925
* ecore_con_legacy: fix coverity issues (use after free)Gustavo Sverzut Barbieri2016-12-121-24/+28
| | | | | | | for hard failures (highly unlikely), the handle would be deleted and the next use would crash. guard against those or reorder when it makes sense.
* efl_net_ip_address: make coverity happy.Gustavo Sverzut Barbieri2016-12-121-2/+3
| | | | host and port were already checked, but let's quiet CID 1366921