* Softinput_mode fix for pan and below target modes
Fixes issues related to correct Kivy virtual keyboard display for soft_input modes: `pan` and `bellow_target`
* Refactoring
* Removal of unreachable code.
* refactoring and fixes
* pep8
* "Partially" fixes the center and right horizontal alignment bug
The bug appears when using multiline equal to false.
The only thing that hasn't been fixed is the appearance of a spacing when you start deleting characters from text larger than the viewport
* Fix the horizontal alignment bug
* pep8
* Minor fix and refactoring
* minor fix
* Add python3.10 in the ci configuration
* Update setup.cfg and setup.py for python3.10
* also update pyproject.toml to allow using latest cython
* update kivy-deps.sdl2 required version in setup.cfg
* bump kivy-deps.sdl2 version
* use develop version of pyinstaller for python3.10 support
* osx try simplified build
* force usage of next funcparserlib release that doesnt use 2to3 in setup.py
* 3.6 reached EOL on 2021-12-23
* macOS: add cp310-macosx_universal2
* We don't install anymore the full version. So ffmpeg dependency is not needed anymore. I expect to have a universal2 whl for ffpyplayer when we will switch back to full,dev
* manylinux2010 --> manylinux2014 (via cibuildwheel)
* Remove dependencies, so we can check delocating. Installs dev version cause support for 3.10 in ffpyplayer is missing
* Update manylinux sdl2 version and max cython version.
* Bump win deps.
Co-authored-by: Mirko Galimberti <me@mirkogalimberti.com>
Co-authored-by: Matt Einhorn <moiein2000@gmail.com>
Co-authored-by: Matthew Einhorn <matt@einhorn.dev>
* Improved on_double_tap in textinput - words are selected considering commas, brackets, etc.
* Created separate method for word selection
* Minor refactoring
* MotionEvent: Fix keeping of the previous normalized position.
* MotionEvent: Synchronizing normalizied opos, ppos and pos until the first dispatch.
* MotionEvent: Renamed attribute keep_first_prev_pos to sync_with_dispatch.
* MotionEvent: Fixed synchronization of normalized positions until the first dispatch.
* EventLoopBase: Moved me.dispatch_done call to post_dispatch_input method.
* MotionEvent: Moved synchronization until the first dispatch from move to depack method.
* MotionEvent: Fixed commend in depack method.
* MotionEvent: Fixed docstring of method "move".
* Allow to force a custom search path for SDL2 frameworks + fixes ARCHFLAGS
* Removes additional flags that were preventing to build a universal2 wheel.
* Fixed scale_for_screen to compute all absolute coords from normalized coords.
* Updating dz only if argument p is passed.
* Updated doc of to_absolute_pos method.
* Renamed arguments of to_absolute_pos method.
* Removed default value for rotation in to_absolute_pos method.
* Minor updated in scale_for_scren and doc update in to_absolute_pos method.
* Minor updated in scale_for_scren and doc update in to_absolute_pos method.I
* Fixed to_absolute_pos for case when rotation is 270 degrees.
* Simplified offset calculation for "scale" keyboard mode in scale_for_screen method.
* Added test_motion_event.py module.
* Fixed assert message in test_to_absolute_pos method.
* Added create_dummy_motion_event method.
* added new type color for a colorpicker setting.
* removed not used textinput property in SettingColor
* added text_size to the color label to allow word wrapping. Looks nicer on smaller screens e.g. 320x480
* change white background rectangle of selected color to a white border.
* Added vesionadded.
* Corrected PEP8.
* Added Type color to doc string.
* ColorSetting: Update versionadded, fix demo config key
* Update kivy/uix/settings.py
update versionadded
* don't import kivy utils from style.kv
as it prevents tests from passing
* pep8 remove duplicate import
Co-authored-by: Alexander Wolf <awolf2904@gmail.com>
Textinput updated to allow scroll from swipe
* Improve consistency of scroll feature when text input is multiline
* Removing unnecessary calculation in minimum_width variable
I believe it is unnecessary to perform the calculation using the
` _get_text_width` method, when `self._lines_rects[-1].texture.size[0] `
already provides the calculated value.
* allows scrolling while text is selected and more...
* bug fixes in the middle handle (which comes out of the text input bounding
box when scrolling from the swipe) and in the display balloon (which was
never displayed when using double/triple tap).
* Added descriptive names and comments to explain logic
Co-authored-by: Gabriel Pettier <gabriel.pettier@gmail.com>
* added SDL_SetWindowHitTest function definitions, and data types
* Added custom_titlebar, custom_titlebar_handler_callback to handle titlebar and resize logic
* added custom_titlebar function
* removed SDL_WINDOWEVENT_HIT_TEST from WindowEventID
* made SDL_HITTEST_DRAGGABLE conditional
* added custom_titlebar in graphics section
* added custom_titlebar as WindowBase propetry
* added custom_titlebar in setup_window
* added custom_titlebar to setup_screen and post init set_border_state
* changed default_language_version to python3
* Implemented Window specific API to Support Aero Snapping
* when custom_title, set borderless state according to platform
* Added conditionl calling of in_drag_function; check for propretry draggable
* Set borderless state depending on platform
* add condition to compile windows specific code on windows only
* group windows code together
* fix resize issue after first drag of window (on windows platform)
* Made use of class _WindowsSysDPIWatch to set WM_NCCALCSIZE
* added variable WM_NCCALCSIZE
* moved the winproc hook code to window_sdl.py
* added handling when custom_titlebar is false on windows
* set_custom_titlebar returns True on 0
* added example for set_custom_titlebar
* changed checking conditions in set_custom_titlebar
* added custom_titlebar_border; bump up config version
* fixed Win32 patform test
* check for resizeable when using custom_titlebar
closes#5279
* Fixed inconsistent behavior of TextInput bubble and handles
The entirety of the bugs resolution is conditioned to the approval of #7618
* Fix the bug that do not limit selection to the current line using handles
Fix the bug that do not limit selection to the current line, while using handles and in multiline mode
* Refactoring
`python -m pip install kivy[base] kivy_examples --no-binary kivy` throws the error `zsh: no matches found: kivy[base]`, you need to use `python -m pip install "kivy[base]" kivy_examples --no-binary kivy` instead