summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
AgeCommit message (Collapse)Author
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-26Add macOS DisplayServer implementation.bruvzg
Change global menu to use Callable, add support for check items and submenus.
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-25Merge pull request #37281 from ↵Rémi Verschelde
ThakeeNathees/fix-project-manager-don't-consume-Enter Fix: project manager don't consume Enter key #17620
2020-03-25fix project manager don't consume Enter key #17620Thakee Nathees
2020-03-19Use LineEdit secret character width everywhereDarren Kaste
2020-03-18Merge pull request #37094 from dkaste/line-edit-secret-selectRémi Verschelde
Calculate LineEdit selection with secret character
2020-03-18Remove update condition from LineEdit::update_placeholder_widthsimpuid
Placeholder with length greater than `max_length` are allowed, so there is no reason for those update condition. It fixes the odd alignment of placeholder when it's length is greater than `max_length`
2020-03-16Calculate LineEdit selection with secret characterDarren Kaste
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-27Merge pull request #36050 from eswartz/line-edit-move-cursor-on-unselectRémi Verschelde
Use left/right arrow to move cursor when unselecting in LineEdit
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-15Use left/right arrow to move cursor when unselecting in LineEditEd Swartz
-- useful for rename dialog (the filename portion is selected by default, and usually, want to change the end of the name, not the beginning)
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-09Merge pull request #35814 from timothyqiu/line-edit-shortcutRémi Verschelde
Adds CTRL-A CTRL-E support to LineEdit on macOS
2020-02-08Update cached_width of the line_edit element when setting it to be secretsumit0190
2020-02-01Adds CTRL-A CTRL-E support to LineEdit on macOSHaoyu Qiu
2020-01-23Android virtual keyboard respecting LineEdit max length.Bruno Lourenço
2020-01-15Updates LineEdit's min size when necessaryHaoyu Qiu
These properties will affect the minimum size of LineEdit: * The right icon (`set_right_icon`) * The clear button (`set_editable` and `set_clear_button_enabled`) * The text, when "expand to text length" is enabled (`set_text`)
2020-01-11Fix empty LineEdit crash on ctrl+backspacePaulb23
2020-01-10Add signal for LineEdit overflow eventTomasz Chabora
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-08Hide LineEdit placeholder if IME composition string is not empty.bruvzg
2019-12-01Fixed caret alignment with placeholder textPaulb23
2019-12-01Fixed LineEdit alignment when removing text or undo / redoPaulb23
2019-09-25Make LineEdit's minimal size adapt to its iconsMichael Alexsander Silva Dias
2019-09-24Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docsRémi Verschelde
Add overriden properties to the documentation
2019-09-23Merge pull request #32048 from YeldhamDev/lineedit_right_icon_fixRémi Verschelde
Expose LineEdit's 'right_icon' and fix icon size
2019-09-22Merge pull request #29895 from ptrojahn/menukeyRémi Verschelde
Support menu key in TextEdit and LineEdit controls
2019-09-22Support menu key in TextEdit and LineEdit controlsPaul Trojahn
Related to #15542
2019-09-21Expose LineEdit's 'right_icon' and fix icon sizeMichael Alexsander Silva Dias
2019-09-19Merge pull request #31188 from codecustard/LineEdit_disable_shortcutsRémi Verschelde
Add Ability to Enable/Disable Shortcuts and Selection for LineEdit/TextEdit
2019-09-07Add Ability to Enable/Disable Shortcuts for LineEdit/TextEditEmmanuel Barroga
This PR adds the ability to enable/disable shortcut keys and selection for LineEdit/TextEdit. It also updates the context menu when you disable/enable the shortcut keys or selection.
2019-09-04Add overriden properties to the documentationBojidar Marinov
Fixes #31855
2019-09-04TextEdit & LineEdit caret blink timers run only when focused (fixes #31936)PouleyKetchoupp
2019-08-13Reorganize various menus for consistency and concisenessHugo Locurcio
- Clean up the recent scripts dialog to match the recent scenes dialog - Add "..." at the end of shortcuts that cause a modal dialog to appear This closes #31148.
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-04Accept also right-click event in LineEditTomasz Chabora
2019-07-15Fix incorrect caret position when clicking a 'LineEdit' with a non-left ↵Michael Alexsander Silva Dias
alignment
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin