Commit Graph

729 Commits

Author SHA1 Message Date
Mathieu Virbel 0b9186b649 tesselator: change the example to be compatible with python 3 2014-08-30 17:21:11 +02:00
Mathieu Virbel a77706a1b4 Separate meshes and vertices, 2 differents mode of result iterations. Added documentation, cleaned example. 2014-08-30 17:02:34 +02:00
Mathieu Virbel ae39a516a6 tesselator: add all the .c to the tesselator extension. basic mesh works, still wip. 2014-08-30 14:11:25 +02:00
Mathieu Virbel 079e1d5ea6 example: add slider volume for audio examples. Refs #1869 2014-08-23 17:06:37 +02:00
akshayaurora 0657843e91 Bring sdl2 in line with current master and other fixes to make things usable. Sponsored by ScramSoft. 2014-08-23 17:15:04 +05:30
Akshay Arora 7847e45972 Update main.py 2014-08-03 01:03:15 +05:30
Akshay Arora 0a8176a14c Merge pull request #2360 from jchome/patch-1
Propose of update to be runnable on Samsung S4
2014-08-03 01:01:44 +05:30
Alexander Taylor faff48dd2a Removed debug line in texture.py example 2014-08-02 01:42:25 +01:00
Alexander Taylor 256a9373b5 Added image for texture example 2014-07-30 22:33:53 +01:00
Alexander Taylor 92b0b54482 Changed texture example ui to be clearer 2014-07-30 22:27:22 +01:00
Alexander Taylor 8fc1c193ed Fixed texture example bug with finding texture 2014-07-30 22:23:36 +01:00
Alexander Taylor 1aac389b53 Added canvas texture example (tex_coords, wrap) 2014-07-30 22:19:13 +01:00
Julien CORON 6c534918b0 Propose of update to be runnable on Samsung S4
Use the real path of the storage directory + resize the image after camera shot, because the image is too large to display in kivy
2014-07-21 21:06:04 +02:00
Terje Skjaeveland 9b3f2bbe80 Use pickle protocol 0 and use lambda for sorted key to avoid unicode problem for str.lower 2014-06-17 21:02:14 +02:00
Terje Skjaeveland 30617fda05 Python3 compatibility for multistroke and demo 2014-06-17 20:48:05 +02:00
Alexander Taylor 34327e0670 Added overlap and bgcolor control to efw example 2014-06-07 17:35:24 +01:00
Mathieu Virbel 3070a93b89 WIP smooth lines 2014-05-27 18:31:26 +02:00
Suriyan b3707dab81 Fix missing 'string.lower()' after cleanup 2014-05-21 21:55:07 +07:00
Cayci Gorlitsky 05d53ca7bd Fixes #2140 print statement syntax
Changed to ([  ]) so that number is printed, instead of a generator
2014-05-15 21:10:55 -04:00
Cayci Gorlitsky ed0d562de4 Fixes #2140 Syntax error
Syntax error in print statement did not work in Python3.
2014-05-05 16:41:04 -04:00
Mathieu Virbel adbe78f43c Merge pull request #2058 from bionoid/multistroke_clean
[WIP] $N-Protractor multistroke recognizer and demo app
2014-05-04 19:21:30 +02:00
Terje Skjaeveland 4ee204c553 pep8 fixes 2014-05-04 11:09:29 +02:00
Terje Skjaeveland 89b5c78fd9 py3 compatible print in docs, move __all__ to top of files 2014-05-04 10:49:51 +02:00
Mathieu Virbel 0f97624379 Merge pull request #2095 from kivy/effectwidget2
Add new EffectWidget uix module
2014-05-04 02:17:14 +02:00
Mathieu Virbel 00c73fd196 Merge pull request #1957 from matham/selection2
Adds a CompoundSelection behavior class
2014-05-03 16:32:38 +02:00
Alexander Taylor 582541444a Fixed AdvancedEffectBase example to use uniforms 2014-04-20 19:22:24 +01:00
Alexander Taylor 4e5ed024e2 Added an AdvancedEffectBase example 2014-04-20 19:20:04 +01:00
Alexander Taylor 487803334f Simplified second effectwidget example 2014-04-20 14:14:12 +01:00
Alexander Taylor 146a5fcfd0 Added a second effectwidget example 2014-04-20 14:12:26 +01:00
Alexander Taylor 49a5764757 Changed effects to use effect classes 2014-04-19 18:22:37 +01:00
Alexander Taylor db56261a46 Changed EffectWidget to use effect classes 2014-04-19 18:22:37 +01:00
Alexander Taylor 8b113323dc Added new effects and improved example 2014-04-19 18:13:52 +01:00
Alexander Taylor c7960cbe8e Improved EffectWidget, and updated example 2014-04-19 18:13:52 +01:00
Alexander Taylor 4f0f1e3853 EffectWidget: Implemented basic fbo effect stack 2014-04-19 18:13:52 +01:00
Alexander Taylor 4d215f1fba Moved effectwidget example to separate file 2014-04-19 18:13:52 +01:00
tshirtman b03050e351 fix glitches caused by creating a new line on pressure change 2014-04-13 20:46:34 +02:00
tshirtman c5222253f4 remove unneeded prints 2014-04-13 16:41:39 +02:00
Terje Skjaeveland cbb8de5576 Rename GestureContainer.get_candidate() to .get_vectors()
Avoid confusion with GestureCandidate, this function is used for both
templates and candidates.
2014-04-10 17:23:30 +02:00
tshirtman 94360fb80b make touchtracer use pressure if available 2014-04-09 01:09:05 +02:00
Terje Skjaeveland c38cacae1f pep8 fixes 2014-04-06 14:42:30 +02:00
Terje Skjaeveland 59d89c1320 Cleanup - remove unused imports 2014-04-06 14:11:52 +02:00
Terje Skjaeveland e6b3812e6d Initial import of new multistroke recognizer and demo app 2014-04-06 01:07:42 +02:00
Kolibreee 933ef2c86b python 3 syntax in pagelayout.py
print command was in python2 syntax, so you get an error running it on python3.
Changed lines 22 and 54.
2014-03-30 18:59:11 +02:00
Alexander Taylor a175df0037 Fix shadertree example for python3 2014-03-26 23:07:50 +00:00
akshayaurora 4abd5a5eae Merge pull request #2000 from inclement/splitter_range
Added splitter options to keep within parent bounds and to rescale with the parent
2014-03-23 22:05:52 +05:30
Alexander Taylor e095e0dad5 Added splitter example 2014-03-23 14:14:47 +00:00
Alexander Taylor 38b299b17a Python3 and pep8 fixes for 3d rendering example 2014-03-20 21:40:14 +00:00
Matthew Einhorn bd7e802e81 Add compound selection usage example to examples. 2014-03-12 23:06:42 -04:00
Matthew Einhorn 4adf201310 Fix kivy catalog label padding to be positive. 2014-03-11 16:42:59 -04:00
Mathieu Virbel 65c3b42fca Merge pull request #1909 from matham/focus
initial focus behavior.
2014-03-09 02:11:28 +01:00
Zen-CODE a5033315ee doc: revisions to examples/kinect/README.txt 2014-03-05 23:18:08 +02:00
Matthew Einhorn e0af081d7c Use StopIteration to indicate focus to stop, and None to walk children tree, similar to what it was above. 2014-03-03 09:30:42 -05:00
Matthew Einhorn c06928f1fc Use the WalkTree string instead of None to signify walking the tree, and use None to indicate stop. 2014-03-02 12:30:12 -05:00
Mathieu Virbel 8e4c326570 examples: add a camera example (easy for testing the camera widget) 2014-02-27 18:17:04 +01:00
Matthew Einhorn c43a21a863 Remove link/unlink_focus in favor of setting the other side of the link automatically. 2014-02-26 19:33:24 -05:00
Matthew Einhorn 369b6c026f Change the focus example in examples to show full prowess of focus (including root/layout focus). 2014-02-26 16:34:12 -05:00
Matthew Einhorn d198da7de6 Update the example to reflect changes. 2014-02-23 18:22:51 -05:00
Matthew Einhorn c44df13321 Add focus behavior example to examples. 2014-02-22 15:55:13 -05:00
Zen-CODE 435729f2f2 Added custom keyboard example 2014-02-09 11:09:35 +02:00
akshayaurora 4287ac0ef7 Update test.kv 2014-02-07 09:41:04 +05:30
akshayaurora acdd5425e0 Update layout.kv 2014-02-07 09:40:36 +05:30
techwiz24 57ecac3d3f Merge branch 'master' of https://github.com/kivy/kivy into kv_include 2014-02-06 20:17:12 -05:00
Richard Larkin a4e087f307 Merge pull request #1816 from k4rtik/patch-3
Thanks ;-)
2014-01-26 09:42:48 -08:00
Richard Larkin 032114ab2f Merge pull request #1814 from k4rtik/patch-1
Again, thanks. Detail is important ;-) +1
2014-01-26 09:40:13 -08:00
Kartik Singhal 1e87a9803c Correct description comment, add a line break 2014-01-26 14:41:03 +05:30
Kartik Singhal d5b8763d94 Fix a minor typo 2014-01-26 14:37:59 +05:30
Kartik Singhal ae0b81396d Correct description comment 2014-01-26 13:09:24 +05:30
qua-non b742592c7f examples:showcase add the missing popup.kv 2014-01-26 02:19:45 +05:30
qua-non c24d02d1ae examples:Showcase add popup section 2014-01-25 23:22:37 +05:30
Mathieu Virbel 6b15e5b857 catalog: rework the bar a little bit 2014-01-24 18:16:13 +01:00
Mathieu Virbel 378c1b140b catalog: fix weak ref issue. closes #1753 2014-01-24 18:15:59 +01:00
qua-non b9bd6386cc Merge pull request #1238 from kivy/pagelayout
Create PageLayout layout
2014-01-23 22:03:35 -08:00
qua-non 504345ccec Examples:keyboard_listener.py change `request_keyboard` to be compatible
with current master
2014-01-19 01:50:20 +05:30
Richard Larkin 1a0844beb9 Added '+ layouts' to the tabbedpanel for easier discovery, Pep8 fixes 2014-01-14 22:47:42 +02:00
Zen-CODE c49f3a9461 doc: added explanatory comment to examples/widgets/keyboardlistener.py 2014-01-10 14:27:15 +02:00
Alexander Taylor 7903d77132 Added NoTransition to screenmanager example 2014-01-07 22:27:56 +00:00
Mathieu Virbel d4a4dcb648 app: fix title change and icon changes from app class. closes #1233 2014-01-07 12:03:14 +01:00
Mathieu Virbel c94501aeff avfoundation/camera: add a new Camera provider for OSX, based on avfoundation. Should work on OSX >= 10.7.
This is a base for a future work, such as iOS support (AVFoundation is
still the same, so it should works out of the box, we just need to
activate setup.py for iOS as well.)

Also, capabilities are globally missing in Kivy, so we cannot query the
device for some informations. Once we improved the core base, we can
activate the code related to capabilities here.

This part of the code has been first written using Pyobjus, but
objc-protocol was not implemented, i started to rewrite from scratch
using AVFoundation tutorial. Then i found OpenCV implementation, on
which some part of this initial code is based.
2013-12-28 01:59:44 +01:00
tshirtman cc4dd2fe70 various improvements to pagelayout
add example in widget/
fix non-optimal algorithms
put simpler example in doc
update versionadded
doc fixes
2013-12-26 00:17:07 +01:00
Mathieu Virbel 23f5c0500a gstplayer: update audio example to test deallocation of gstplayer, as well as loop. 2013-12-21 20:26:46 +01:00
techwiz24 54926616fd Add option to force-include which first unloads the file and then reloads it. Check for proper extension and inclusion status before any disk access takes place. Update example. 2013-12-20 21:36:26 -05:00
techwiz24 19018c7b1a Correct example 2013-12-18 20:56:36 -05:00
techwiz24 10b218d8eb Merge branch 'master' of https://github.com/kivy/kivy into kv_include
merge master before pull request
2013-12-18 19:59:49 -05:00
techwiz24 a875b6bc91 Add #:include directive. Implement circular reference guarding and sanity checks. 2013-12-18 19:52:16 -05:00
qua-non b4959b8fdd examples:Showcase fix higherchy navigation. 2013-12-16 03:30:52 +05:30
qua-non c0e8d0ff15 examples:Showcase, make sure it works without any issues on android 2013-12-16 03:01:38 +05:30
qua-non 28e726520b uix:CodeInput minor fixes for rendering 2013-12-15 05:04:00 +05:30
qua-non 03616e0bd8 example:UnicodeTextinput fix font selection 2013-12-12 16:39:05 +05:30
Alexander Taylor 533dac8cf1 Added FallOut and RiseIn transitions to example 2013-11-17 17:23:19 +00:00
qua-non 37388145cc examples:Showcase make TabbedPanel section double as a layouts demo 2013-11-12 16:42:26 +05:30
Mathieu Virbel d8283afec1 label: add Label/CoreText max_lines option to limit the number of lines rendered in a label. closes #1376 2013-10-21 17:44:23 +02:00
Mathieu Virbel f646521176 texture: fix repeating texture which is lost when GL reloading mechanism is used (like window resizing). closes #1393 2013-10-21 16:50:52 +02:00
Mathieu Virbel cde2bae515 Merge branch 'settingspanel_rebase' of https://github.com/inclement/kivy into inclement-settingspanel_rebase
Conflicts:
	kivy/tools/garden
2013-10-16 09:01:18 +02:00
Mathieu Virbel e9ec9139d4 merge master (fix window conflict) 2013-10-16 08:49:58 +02:00
Mathieu Virbel f0aa45e3ed Merge pull request #1540 from vernondcole/use_launcher_for_windows
Document use of Python launcher for Windows
2013-10-07 00:42:43 -07:00
Mathieu Virbel 65a97bffa9 Merge pull request #1529 from inclement/circle_drawing
Fixed angle_end/start with new circle drawing algorithm
2013-10-04 10:19:44 -07:00
qua-non 32a21e29b1 uix:carousel introduce `load_slide` method to animate to the provided
slide
2013-10-03 21:51:49 +05:30
vernondcole 0d95003066 Merge branch 'master' of https://github.com/kivy/kivy into use_launcher_for_windows 2013-09-30 14:33:51 +01:00
vernondcole 45bf584e4e double-click friendly demos 2013-09-30 14:31:03 +01:00
Alexander Taylor 9790cbfb72 Fixed texture cropping for new circle drawing alg. 2013-09-28 17:52:43 +01:00
Mathieu Virbel 9d349a6501 ellipse: add faster algo when drawing circle (credits goes to http://slabode.exofire.net/circle_draw.shtml) 2013-09-27 18:24:21 +02:00
Alexander Taylor 116f10b3ce Fixed settings example to fit with recent changes 2013-09-10 23:28:20 +01:00
Alexander Taylor c8589a9d6e Added example showcasing settings panels 2013-09-10 23:26:44 +01:00
qua-non 8d3210ee4b examples:tabbed_panel_showcase update to keep permanent ref to content for tabs 2013-08-27 05:25:33 +05:30
Mathieu Virbel dc19a4e68b screenmanager: add a new ScreenManager.switch_to method to add the screen into children, set transition options, do the switch, and remove the previous screen. It also handle name conflict. closes #573, #1045 2013-08-14 10:36:21 +02:00
qua-non 8a4317cd41 uix:TextInput add `minimum_height`, `line_spacing`,
make sure changes in password change the Text display.
2013-08-12 14:51:35 +05:30
Mathieu Virbel 1c5aa58939 showcase: new showcase design. few bugs are still here, but mostly working. 2013-08-12 10:45:54 +02:00
Intchanter 0172f6ae2a Minor grammar and punctuation fixes. 2013-08-11 05:38:58 +00:00
Mathieu Virbel 5a63d9a34b actionbar: update example 2013-07-22 18:35:24 +02:00
Mathieu Virbel 1bd8f29a1e merge actionbar 2013-07-22 18:34:15 +02:00
qua-non 2b98c27864 minor compatibility fixes making sure some widgets and examples are working with py3.3+ and 2.7.x 2013-07-15 19:49:12 +05:30
Mathieu Virbel 71e24ffb59 tutorial: add final example of notes. now we have to have for the steps 2013-07-07 13:58:22 +02:00
Mathieu Virbel c5cc611562 example: add version to takepicture 2013-07-04 18:14:42 +02:00
Mathieu Virbel 552066001c takepicture: add buildozer spec as well if people want to deploy it themself 2013-07-04 18:14:42 +02:00
Mathieu Virbel 2b32643275 Merge pull request #1326 from kivy/bubble_pos
Fixes for arrow_pos for Bubble when in left/right_mid positions and a new `show_arrow` proeprty
2013-07-02 00:07:28 -07:00
Mathieu Virbel f20773cf81 Merge pull request #1324 from thopiekar/master
[PY3] Replacing "," with "()" to make code compatible with py27 py33
2013-07-01 00:17:49 -07:00
Thomas-Karl Pietrowski ab06925f74 Making it compatible with py27 and py33 2013-06-30 20:39:30 +02:00
qua-non 09fc4e7ef0 uix: Bubble add `show_arrow` property 2013-06-30 21:26:35 +05:30
qua-non 15ed7703ad uix:bubble fix bubble positioning in left/right mid position to be at
middle position exactly
2013-06-29 20:51:00 +05:30
Mathieu Virbel d9429aab8d Merge pull request #1318 from kivy/fix-kv-leaks
Fix kv language leaks (and some others)
Conflicts:
	kivy/animation.py
	kivy/factory.py
	kivy/lang.py
	kivy/uix/tabbedpanel.py
	kivy/uix/widget.py
2013-06-28 12:39:53 +02:00
Mathieu Virbel 0ec55c7e1d example: rework compass example to work with python-for-android, and remove all broken code. 2013-06-25 13:56:47 +02:00
Mathieu Virbel 509f42cc91 example: add takepicture android.txt + compilation line 2013-06-24 18:52:54 +02:00
Mathieu Virbel 7ff8b35e7e example: new example to demonstrate how to use startActivityForResult, and how to get the result with python-for-android android.activity module. 2013-06-24 18:49:32 +02:00
Mathieu Virbel d11fc4c741 wip 2013-06-16 18:10:41 +02:00
Mathieu Virbel 986f938bf6 Merge branch 'actionbar' of https://github.com/abhijangda/kivy into abhijangda-actionbar 2013-06-16 15:06:37 +02:00
Mathieu Virbel 7ad455d3ba Merge pull request #1284 from kivy/py3_fixes
py3 fixes
2013-06-12 12:43:39 -07:00
qua-non 959a99c3fd py3 fixes 2013-06-12 06:10:30 +05:30
qua-non 62afe5f64d PY2 fixes for TextInput, TextInput now maintains unicode internally.
closes #1271
2013-06-10 04:21:49 +05:30
qua-non 416a180813 unicode fixes for py2(wip) 2013-06-08 14:38:27 +05:30
Abhinav 49cab13397 Added ActionBar, its documentation and icons 2013-06-05 17:25:40 +05:30
Mathieu Virbel f2ae15c6ec py3: fix few more print 2013-05-31 11:12:21 +02:00
Mathieu Virbel bea9afa389 sync (no tested) 2013-05-30 18:01:39 +02:00
qua-non eefdb15a37 Merge pull request #1232 from abhijangda/textalign
Improved textalign example
2013-05-28 05:59:09 -07:00
qua-non 031a87695b kivycatalog: add background to spinner and bubble to distinguish them from the background 2013-05-28 17:45:00 +05:30
Abhinav 4a8e893c58 Improved textalign example 2013-05-28 17:20:26 +05:30
Mathieu Virbel f7ef4c8aa4 Merge pull request #1216 from kivy/reactive_catalog
Examples:Kivy Catalog:
2013-05-25 08:25:28 -07:00
Mathieu Virbel fd0db0fe84 Merge pull request #1209 from kivy/widgets.disabled
Widgets.disabled
2013-05-25 06:06:45 -07:00
qua-non be453c6841 examples: KivyCatalog move textinput to top/left so that it isn't
hidden by keyboards on mobile devices.
2013-05-21 14:56:15 +05:30
qua-non ea63ba7472 Examples:Kivy Catalog: make catalog adjust it's ui according to screen
size
2013-05-21 04:44:28 +05:30
qua-non f1a87579d5 examples:KivyCatalog fix popup and boolean sections 2013-05-20 19:30:16 +05:30
qua-non 8a4d615bbc examples:KivyCatalog delay auto-reloading while cursor movement 2013-05-20 03:29:32 +05:30
qua-non 229daa4c7d uix: first pass at making some compound widgets honor `disabled`
property.
2013-05-19 21:31:42 +05:30
Mathieu Virbel 9504f5b8e8 colorpicker: simplify the widget 2013-05-12 19:19:45 +02:00
Mathieu Virbel c7f6745763 Merge pull request #1159 from kivy/color_picker
uix:ColorPicker space effecient interface and add missing Documentation
2013-05-12 09:28:47 -07:00
Mathieu Virbel cf10d8b59f Merge pull request #1188 from kivy/carousel_slide
uix:Carousel add `load_next` and `load_prev` methods for animating to
2013-05-12 09:28:05 -07:00
Mathieu Virbel bba5f7616b scrollview: better damped parameters, start to reduce the code 2013-05-11 15:04:12 +02:00
qua-non 38d3f7ca8b uix: color picker add `font_size` used to set the font size of the
TextInput and the Labels inside ColorPicker. Add a example
`examples/widgets/colorpicker.py` for showcasing ColorPicker.
2013-05-11 12:55:30 +05:30
qua-non 3d284099a5 uix:Carousel add `load_next` and `load_prev` methods for animating to
next
slide and previous slides closes #896
2013-05-08 00:42:41 +05:30
Mathieu Virbel 2cb8b65cfc rendercontext: add new use_parent_projection and use_parent_modelview to avoid setting ourself the projection/modelview from the Window value. It will use the one from the current stack instead. 2013-05-07 09:33:37 +02:00
Mathieu Virbel 0c3c3e4f31 rotate: add origin property + example in examples/canvas/rotation.py 2013-05-05 10:08:21 +02:00