summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* efl-js: JavaScript Eolian bindingdevs/felipealmeida/js-20151219Felipe Magno de Almeida2015-12-1952-46/+2803
| | | | | | | | | | | | | | | | | | | | | | | | | To configure elementary sources with bindings to use in nodejs add ––with-js=nodejs in configure flags in EFL compilation to generate node files, then compile elementary normally: path/to/efl$ configure --with-js=nodejs path/to/efl$ make path/to/efl$ make install path/to/elm$ configure path/to/efl$ make path/to/efl$ make install To use, you have to require elm: elm = require('elm') The bindings is divided in two parts: generated and manually written. The generation uses the Eolian library for parsing Eo files and generate C++ code that is compiled against V8 interpreter library to create a elm.node file that can be required in a node.js instance. @feature
* elm_win: Remove unnecessary layer set for elm_win.Jaehyun Cho2015-12-181-1/+0
|
* popup: enable to dismiss popup with accessibility APILukasz Stanislawski2015-12-171-6/+8
| | | | | | Clean up elm_popup actions. Move actions should not be used from accessibility API. Only dismiss seems to be resonable action which could be triggered.
* tests: adjust atspi roles.Lukasz Stanislawski2015-12-172-2/+2
|
* atspi: return previous name in overloaded gettersLukasz Stanislawski2015-12-178-9/+32
| | | | | | | Some overloaded accessible name getters did not respect values set by developer. @fix
* wayland cnp: check selection owner before calling losscbThiep Ha2015-12-171-1/+2
| | | | | | | | | | | The selection is cleared by losscb when we set it. As result, selection is not done. To avoid it, we should check if the new selection owner is current selection owner or not and only call losscb if the new selection owner is not the current one. Test Plan: In wayland, select text in entry (e.g double click, ctrl-a).
* genlist : fix genlist build errorsSangHyeon Lee2015-12-171-1/+0
|
* elm_photocam: add NULL checkSung-Taek Hong2015-12-171-0/+3
| | | | | | | | @fix Reviewers: woohyun, jaehwan, eunue Differential Revision: https://phab.enlightenment.org/D3429
* genlist: remove unnecessary data creationSangHyeon Lee2015-12-171-1/+0
| | | | | | | | Summary : after using hash, sd is not needed on block_recalc so it must be removed. @fix
* elm_layout: fix typo in error messageSung-Taek Hong2015-12-171-1/+1
| | | | | | | | Summary: fix "box part" to "table part" in _elm_layout_table_pack() Reviewers: woohyun, jaehwan, Jaehyun, Hermet Differential Revision: https://phab.enlightenment.org/D3453
* genlist : fix size hash issue when genlist layout sizing evaluatedSangHyeon Lee2015-12-171-0/+2
| | | | | | | | | | | Summary : When genlist compressed, size width must updated after sizing eval, but still hash is not changed after sizing eval, so wrong width are applied. so when sizing eval called, free all buckets to get updated width. @fix
* widget: limit emission of state-changed:showingLukasz Stanislawski2015-12-161-4/+4
| | | | | Sending atspi events notyfying about visibility change during widget destruction is pointless.
* naviframe: set better accessibility role and nameLukasz Stanislawski2015-12-161-0/+14
|
* multibutton_entry: improve atspi supportLukasz Stanislawski2015-12-164-2/+81
| | | | | Expose multibutton items as push buttons supported with three possible actions: activate, longpress and delete.
* image: Lock access to thread variablesJean-Philippe Andre2015-12-161-1/+7
| | | | Fixes CID 1343345 "Data race condition"
* Elm win: Fix potential NULL deref.Tom Hacohen2015-12-161-0/+1
| | | | | | | Looking at other parts of the code, this could actually be NULL. CID1343344
* hoversel: accessibility enhancementsLukasz Stanislawski2015-12-152-2/+21
| | | | | Allow to dismiss hover using accessibility API. Change accessibiility role to popup.
* hoversel: change accessibility role to popupLukasz Stanislawski2015-12-151-1/+1
|
* genlist: supporting homogeneous mode about each item class.SangHyeon Lee2015-12-142-88/+67
| | | | | | | | | | | | | | | | | | | | | Summary: previously, homogeneous was only supported for one type of items or group items, so if user want to use various item styles with different height, they should set homogeneous false. This patch is increase usability of homogeneous to make possible homogeneous for each item class, with the assumption that every item in same class have same height. Now the item class not only define it's style and class funcitons, also define the shape properties of item including height and width also. @feature Test Plan: Already exist test case in genlist group Reviewers: raster, cedric Differential Revision: https://phab.enlightenment.org/D3396
* Entry: Context Menu is now configurableVaibhav Gupta2015-12-118-11/+86
| | | | | | | | | | | | | | | | Summary: Added a config variable Context_Menu_Disabled to make the appearance of the context menu configurable. @feature Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com> Reviewers: Hermet, SanghyeonLee, raster, singh.amitesh Subscribers: stefan_schmidt, alok25, cedric, thiepha, sachin.dev Differential Revision: https://phab.enlightenment.org/D2463
* win: redo resize deferral to trigger during pre renderMike Blumenkrantz2015-12-101-5/+14
| | | | | | | | using a job results in the resize occurring after render in the same loop, meaning that anything which depends on resizes to happen in a certain time will not have synchronized display vs toolkit geometries fixes all issues related to wayland window geometries
* win: run wayland region updating during RENDER_FLUSH_PREMike Blumenkrantz2015-12-101-2/+2
| | | | | | regions have not yet been calculated during RENDER_PRE, and commit happens during the outbuf flush, so this callback should be the latest possible time at which window geometry can be sent
* Fileselector entry: fix a case when file was not selectedYakov Goldberg2015-12-101-1/+1
| | | | | | | | | | | Expected behavior: when Cancel or X is pressed in Filesector don't change entry. Wrong behavior: entry is cleaned. If no file was selected 'file' variable is NULL, and elm_entry_utf8_to_markup(NULL) returns empty string. Thus this empty string was set to entry. @fix
* Fix compilation on Windows (and propably also on Mac)Vincent Torri2015-12-102-10/+11
| | | | | | Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D3419
* Elm entry: fix null item in item provider.Daniel Hirt2015-12-091-1/+1
| | | | | | | | | | Item anchors can have null items likes <item size=10x10>. That is, there is no "href". The problem is that Elm Entry segfaults as it expects a non-null item. I prefer this fix over passing "" from Edje Entry, and leave the decision to be made by Elm Entry. It will now just show the error emoticon if there is no "href". @fix
* Examples genlist 5: Fix children aspect of the test not working.Tom Hacohen2015-12-081-3/+4
| | | | | | | | This code is obviously wrong and could never have worked. The parent that is being kept between iterations is being overwritten on ever iteration, leading to the wrong result. CID1327358.
* Examples performance: Fix wrong always true condition.Tom Hacohen2015-12-081-1/+1
| | | | | | | | | This is again obviously wrong. This code tries to check if the type is not one of three, what it does instead is checking if it's either not the first two, or is the third, which is always true (because format can't be too different values at the same time) and always wrong. CID1327361
* Examples performance: Fix resource leak + potential null deref.Tom Hacohen2015-12-081-5/+4
| | | | | | | | | This example is completely broken and doesn't make much sense. Should be overhauled and probably rewritten/dumped. This is just to fix the more obvious errors (some pointed out by coverity). CID1327356
* Colorselector: Fix some coding style issues.Tom Hacohen2015-12-081-2/+2
|
* Colorselector: Fix out of bound read.Tom Hacohen2015-12-081-1/+1
| | | | | | | | high should be the last item of the array, not the length of the array. As part of this change, I also changed the code to use the better way of getting the array size. CID1339827
* Genlist: Add NULL item check to *_item_next_get().Tom Hacohen2015-12-081-0/+1
| | | | It's there for _item_prev_get(), so I guess it's expected.
* Genlist: Put null check before the deref.Tom Hacohen2015-12-081-1/+1
| | | | CID1339825
* Elm spinner: Fix potential null deref in decimal get function.Tom Hacohen2015-12-081-3/+5
| | | | | | | | | | | This whole code reeks. This generating and parsing strings as a value store is hacky and could use an overhaul. This just fixes the more obvious possible errors (that are maybe not even possible, just look possible). CID1339828 CID1339829
* slider: minor accessibility events fixLukasz Stanislawski2015-12-081-1/+7
| | | | | | Emit accessibility events if slider value was chagned through API. Moreover emit accessibility event more rarely if value is being changed by the user.
* gengrid: fix Logic in _item_single_select_left and _item_single_select_right.Umesh Tanwar2015-12-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Summary: In _item_single_select_left/right functions if logic is corrected from && to ||. The previous thing is like: if "there is a generation mismatch" and "item is disable" then only get the next gengrid item. This seems logically incorrect. The suggested logic is if "there is generation mismatch" OR "item disabled" then go for the new item. Whether we get a generation mismatch or item disable, we should look for next item. So there should be || logic instead of && logic. @fix Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com> Reviewers: Hermet, raster, singh.amitesh, SanghyeonLee, cedric Subscribers: cedric, sachin.dev Differential Revision: https://phab.enlightenment.org/D3354 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* popup: add popup default align config for other profiles.taehyub2015-12-076-1/+21
| | | | | | | | | | | | | Summary: The alignment of popup can be different in each profiles. So I added the align configuration of popup. @feature Reviewers: cedric, woohyun Differential Revision: https://phab.enlightenment.org/D3357 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* spinner: add possibility to enter negative value.Shilpa Singh2015-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Even if spinner's min max values range from -ve to +ve, it wasn't possible to enter -ve values in spinner. @fix T2915 Test Plan: 1. Launch Elementary Test 2. Launch spinner demo 3. Tap on the editable area of first spinner 4. Enter negative value '-' is not allowed to enter even though the min max value of spinner ranges from -5000 to +5000. Reviewers: CHAN, cedric Reviewed By: cedric Maniphest Tasks: T2915 Differential Revision: https://phab.enlightenment.org/D3403 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* elementary: Update ecore wayland window geometryChris Michael2015-12-071-4/+2
| | | | | | | | | | | | | As Elementary handles the window border theme, we can more accurately set ecore_wl2 window geometry from here. The window geometry is defined as the "visible bounds" from the user's perspective, so the values we set here should come from the theme. @fix ref T2919 Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Theme: label - Add fixed to silent warnings.Yeshwanth Reddivari2015-12-071-0/+6
| | | | | | | | | | | | | | | | | | Summary: Fix the edje calc error message. ERR<41630>:edje lib/edje/edje_util.c:3465 _edje_object_size_min_restricted_calc() file /usr/local/share/elementary/themes/default.edj, group elm/label/base/slide_short has a non-fixed part 'elm.text'. Adding 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part. Test case: elementary_test -to 'label slide' --> change sliding speed Reviewers: cedric, singh.amitesh, herdsman, jpeg Subscribers: mvsovani, alok25, sachin.dev Differential Revision: https://phab.enlightenment.org/D3399
* elm border: also change shadow program signal name...Mike Blumenkrantz2015-12-041-2/+2
|
* elm border: change shadow toggle program signal source e -> elmMike Blumenkrantz2015-12-041-2/+2
| | | | @fix
* elementary: Don't call ecore_wl2_shutdown unless we have a displayChris Michael2015-12-041-2/+5
| | | | | | | | | | During _elm_config_sub_shutdown we were explicitly calling ecore_wl2_shutdown. We should only be doing this if we are actually in a wayland environment. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* cursor: add cursor support on Windows.Vincent Torri2015-12-031-87/+127
| | | | | | @feature Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* win32: call ecore_win32 shutdown as part of the shutdown subsystem.Vincent Torri2015-12-031-0/+3
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* cnp: add Copy & Paste support for WindowsVincent Torri2015-12-036-1/+457
| | | | | | | | It needs the clipboard management in Ecore_Win32 @feature Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* elementary_test: fix memory leakJean Guyomarc'h2015-12-031-1/+4
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* priv: centralized and safe inclusion of Ecore_Cocoa.hJean Guyomarc'h2015-12-033-6/+9
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* win: add Cocoa support for elm_win_window_id_get() APIJean Guyomarc'h2015-12-031-0/+14
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* win: use EINA_UNUSED instead of void casting.Jean Guyomarc'h2015-12-031-2/+1
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* cnp: cocoa support for copy and paste (text only).Jean Guyomarc'h2015-12-031-0/+272
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>