summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget_entry.h (unfollow)
AgeCommit message (Collapse)Author
2017-11-01elm: Major cleanup of EO filesJean-Philippe Andre
This prevents legacy EO classes from being exposed through .eo.h headers or .eo in share/eolian/includes. Also removes a slew of useless xxx_eo.h intermediate headers. Notes: - elm_systray has no proper API: it's not clear if the EO API should be released (in which case it needs to be renamed to efl_something) and there is no legacy API to create a systray object. - Some files have been placed in a "FIXME" section, as I believe they are necessary within EO land, but at the same time still don't conform to the interfaces (eg. name starts with elm_). - elm_interface_scrollable is required by photocam. This means photocam needs to be adapted to fit the EO scroller API (still to be completed, I believe). Bugs: - This breaks most C++ examples. I KNOW. And I'm working on it. Ref T5301
2017-08-04elm: Remove custom layout signal APIsJean-Philippe Andre
This merges them with the now standard interface: Efl.Canvas.Layout_Signal Some wrapping work was required for legacy API which takes no user_data in del() but instead returns it. The new EO function, while harder to use, is more correct (you can't delete the invalid callback by accident, and this follows EO events design). Another crazy wrapping was done in entry/text in order to add the callbacks to 2 objects instead of just one, and still return the user data. As for Naviframe and Popup, those two widgets override signal_emit to forward the call to another object than the resize object, but not callback_add/del. So they are definitely broken. Ref T5315
2017-06-26elm_entry: Add prediction hint APIJihoon Kim
prediction hint can be used to provide an intelligent reply suggestion. @feature
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-05-12entry: add elm_entry_select_allow_set/get APIsYoungbok Shin
Summary: There is no way to allow/deny the text selection feature. It is only controlled by disabled state. But, some UX does not want to allow the text selection on editable entry widget. @feature Test Plan: Run the following test case. You can see "Select Allow" check box. elementary_test -to entry Reviewers: tasn, herdsman, cedric, thiepha Reviewed By: thiepha Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3934
2016-03-23elementary: move all legacy files to their expected new location.Cedric BAIL
2015-06-24X11/CnP: remove X11 invocations from elm_entryDaniel Zaoui
Code specific to X11 should not be part of elm_entry and can be easily replaced with elm_cnp APIs. @fix T2183
2015-04-02Revert "Revert "Elm helper: add the posix regex validator.""Tom Hacohen
Reapply the patch. Next commit will fix the break. This reverts commit 6f8be78ca04125f220c339145d700fc2e1a1f9c1.
2015-04-02Revert "Elm helper: add the posix regex validator."Carsten Haitzler (Rasterman)
NO! this breaks compiling anything against elementary UNLESS you enable eo beta api support. NO NO NO NO. This reverts commit cad6de2a8ef93d994f9dedb8e980efe5fbf6d77e.
2015-04-01Elm helper: add the posix regex validator.Vyacheslav Reutskiy
Summary: Added to Entry new signal "validate", this signal called from entry every time when the text inputed to entry. The regex validation add as elm_helper. The styles of Entries scrollers are changed to allow highlightion that is needed by regex processing. For use regex with entry need register the regex helper as callback to event: ELM_ENTRY_EVENT_VALIDATE @feature Test Plan: See elementary_test "Entry Regex" test. Note: when the string matches to regex the highlighting (green) is reset on unfocusing. Reviewers: herdsman, raster, cedric, tasn Reviewed By: cedric, tasn Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D2043
2014-09-01Add elm_entry_input_hint_set/get APIJihoon Kim
Sets or get the input hint which allows input methods to fine-tune their behavior.
2014-08-08widget: added warnings to internal headers.Daniel Juyung Seo
These headers are installed in the system but not officially supported as they are considered as internal headers. The reason why they still need to be installed is that - they were exposed even in the previous releases. - they are needed for widget customization (unofficially) - or it will break ewe. Special thanks to Stefan for the reporting.
2014-06-03Elm: Update code to use the new class names generated by eolian.Tom Hacohen
2014-03-23Eolian: Integration of EntryDaniel Zaoui
2014-03-06Fix bug of moving cursor handlerThiep Ha
Summary: In elm entry, cursor handlers are placed and moved incorrectly if we do selection from bottom to top. Ex: In elementary_test -> Entry -> Right click -> choose Select -> do selection from bottom to top (or press Shift + <- keys to do selection). Look at selection handlers: they are incorrectly placed. Try to move selection handlers: They suddenly move to near each other. Minor: Remove unused variable. @fix Reviewers: seoz Differential Revision: https://phab.enlightenment.org/D583
2014-02-19[Dnd] Fix double text insert issue in elm_entry, drop at disable, ↵Thiep Ha
non-editable entry Summary: Issue 1: If you drop text to elm_entry, text is inserted twice. Reason: Drop callbacks are registered multiple times in elm_entry. Resolve: Register only one drop callback at entry side. Issue 2: Even thought entry is disabled, non-editable, you still can drop text, image file. (Example, run Entry Scrolled and drop text, image file to disabled or non-editable entries). Reason: Drop callback are registered but not remove when entry is set to disabled, non-editable mode. Resolve: Correct registering and removing drop callbacks in entry. Reviewers: JackDanielZ, raster Reviewed By: raster CC: woohyun Differential Revision: https://phab.enlightenment.org/D565
2014-01-16elm_widget_xxx.h: Adopt EINA_UNLIKELY and fix indentation in FOO_DATA_GET ↵Ryuan Choi
macros.
2014-01-13entry: Add elm_entry_input_panel_show_on_demand_set/get APIJihoon Kim
This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event. It doesn't request to show the input panel even though it has focus.
2014-01-03Revert "entry: Add elm_entry_input_panel_show_on_demand_set/get API"Jihoon Kim
It's feature freeze period, so I will add after ending freeze period.
2014-01-03entry: Add elm_entry_input_panel_show_on_demand_set/get APIJihoon Kim
This API sets the attribute to show the input panel in case of only an user's explicit Mouse Up event. It doesn't request to show the input panel even though it has focus.
2013-12-26elm: Unified eina critical manro to CRI.Daniel Juyung Seo
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
2013-11-13Revert "elementary/entry - clean up the magnifier code."ChunEon Park
This reverts commit 46b007a7c9d0028aeab43587bc773724c06d0ec8. sorry, this is wrong fix. clip should be removed explicitly.
2013-11-13elementary/entry - clean up the magnifier code.ChunEon Park
2013-11-08fix formatting, typose and downed namingCarsten Haitzler (Rasterman)
2013-11-08Move selection handler from edje to elmThiep Ha
Reviewers: cedric, raster, seoz, Hermet, tasn CC: raster Differential Revision: https://phab.enlightenment.org/D311
2013-08-15Sorry Jihoon, need to revert this. The code pushed to EFL to add thisChris Michael
feature did not build (missing the matching ecore_imf code) so I had to revert it from EFL, which means this needs to be reverted also. Revert "Add elm_entry_input_panel_show_on_demand_set/get()" This reverts commit 3fc38ccc41d9b61efb4b5a8db08ea8290182bb7a.
2013-08-14Add elm_entry_input_panel_show_on_demand_set/get()Jihoon Kim
2013-07-03elm_widget_entry.h: added more comment for entry + formatting fix.Daniel Juyung Seo
2013-06-07part of the entry magnifier feature set from thiep. still more to go.Carsten Haitzler (Rasterman)
2013-05-16entry: elm_entry_markup_filter_remove() has a problem when internally ↵Youngbok Shin
defined filters are used. fixed. When we call elm_entry_markup_filter_remove() with internally defined filter callbacks, it doesn't work. So we need a one of pointer for saving the address of data. 10 Elm_Entry_Filter_Limit_Size lim; 11 lim.max_char_count = 20; 12 lim.max_byte_count = 0; 13 elm_entry_markup_filter_append(en, elm_entry_filter_limit_size, &lim); 14 15 elm_entry_markup_filter_remove(en, elm_entry_filter_limit_size, &lim); 16 lim.max_char_count = 50; 17 lim.max_byte_count = 0; 18 elm_entry_markup_filter_append(en, elm_entry_filter_limit_size, &lim); In this code, we expect to see the filter of entry will be renewed. But elm_entry_markup_filter_remove() doesn't work. Because, markup_filter does not hold the address of data when we use the filter callback which is defined in elm_entry.c _filter_new() in elm_entry.c You can see that _filter_new allocates new pointer and names as lim2. lim2 is saved in data of _Elm_Entry_Markup_Filter. So the address of data doesn't equal to the input data.
2013-05-01Elementary: replace eo_data_get for objects data referencing.Daniel Zaoui
2013-04-03elm: fixed documentation + fixed formatting.Daniel Juyung Seo
2013-03-27Add APIs - elm_entry_input_panel_layout_variation_set/getJihoon Kim
2013-02-27Change description:Carsten Haitzler (Rasterman)
Issue: Currently There is no possibility in entry to get currently selected context menu item’s contents i.e., Label, icon etc:- due to this issue a separate callback has to be added per item or the item's contents has to be sent in data. Fix: This patch fixes this problem by sending item pointer as event_info and providing APIs to access the item pointer. This fix is very useful for applications which add their own context menu items to entry's context menu. Signed-off by: Shilpa Singh(shilpa.singh@samsung.com)
2013-01-04elementary/entry : Removing unused codes.WooHyun Jung
SVN revision: 82144
2012-11-26We have ported to Eo all the widgets of elementary. We didn't change the ↵Yakov Goldberg
inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism. Signed-off-by: Yakov Goldberg <yakov.g@samsung.com> Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com> SVN revision: 79668
2012-08-30[elm] Entry now a scrollable layout.Gustavo Lima Chaves
SVN revision: 75890