Commit Graph

3057 Commits

Author SHA1 Message Date
geojeff 04ab3cccca Refactor for improved selection operations. SelectionSupport is no more as a separate mixin, and a new base adapter, CollectionAdapter, takes this code in, as well as the view caching code from AbstractView. Now CollectionAdapter is the hub for selection and view-handling operations. Made the default for selection to be restricted to views, with a new flag propagate_selection_to_data for this functionality. Started adding tests for adapters in isolation. Simplified initial selection and refreshing operations between adapter and listview. 2012-10-22 09:30:43 -05:00
Qua-non 1ba4f04758 TabbedPanel: ensure a default_tab creation when do_default_tab is set to
true
2012-10-22 05:52:42 +05:30
Mathieu Virbel 01e8b57b3f factory: add missing Mesh() in registers 2012-10-21 21:15:20 +02:00
Mathieu Virbel 05f3c028e6 osc: fix exception error in logger 2012-10-21 21:14:35 +02:00
Qua-non 2c0adab011 TabbedPanel: disable default tab functionality by default 2012-10-22 00:03:40 +05:30
tshirtman 12ff576e80 fix relative imports to absolute 2012-10-21 17:06:11 +02:00
Qua-non a6b5683b4c TabbedPanel: fix first tab selection 2012-10-21 19:22:34 +05:30
Qua-non c35dca3656 TabbedPanel: ensure first TabbedPanelItem selection 2012-10-21 18:14:20 +05:30
tshirtman 1fc8b1dbcc add pil in dependencies for travis 2012-10-21 13:18:55 +02:00
geojeff 93c735767b Added first DictAdapter test, for checking basics and using a cls. 2012-10-19 10:37:37 -05:00
geojeff e66d48dbdb Moved SelectableView out of adapters/mixins and into uix, and adjusted examples and tests. Added base Adapter tests, and a test to check views returned from adapters. 2012-10-19 09:43:54 -05:00
geojeff 9fdd3b809c Moved the data property to the base Adapter class, and let it be ObjectProperty there. Reworked argument checking code. Reorganized adapter tests, with additional ones added for base Adapter class. 2012-10-18 18:40:56 -05:00
Qua-non 4a8235254e Doc: add preview image for CodeInput 2012-10-19 04:26:39 +05:30
Qua-non d9bd348cee uix: New widget CodeInput, highlited code editor 2012-10-19 04:15:10 +05:30
Dusty Phillips 4879498652 Set a default size of 1024x768 on the window.
This may not be an appropriate default size. But it is a default size. ;)
2012-10-18 15:29:42 -06:00
Dusty Phillips 810cd555a9 No need to explicitly register subclasses of Widget in Kivy 1.5 2012-10-18 15:24:11 -06:00
geojeff 85373d147e Removed check for args_converter in ListAdapter, because in Adapter, if none is provided, a default is set -- there will always be an args_converter. 2012-10-18 13:57:34 -05:00
geojeff da11bf1253 Added tests for calling SimpleListAdapter methods. 2012-10-18 11:12:38 -05:00
tshirtman 1099038384 add missing "make" in travis 2012-10-18 17:58:05 +02:00
tshirtman 5a36ff00ea fix typo in travis.yml 2012-10-18 17:54:44 +02:00
tshirtman c460780b96 Merge branch 'master' of github.com:kivy/kivy 2012-10-18 17:49:21 +02:00
tshirtman fad78dc6d2 add .travis.yml 2012-10-18 17:48:41 +02:00
Gabriel Pettier ade20cc7d3 Merge pull request #748 from brunogola/master
Typo in interactive.py documentation
2012-10-18 08:33:08 -07:00
Bruno Gola 21338d9e9d fixes typo in kivy/interactive.py documentation 2012-10-18 07:40:02 -03:00
Dusty Phillips d9bf952eba Make the text area a fixed width to give more room to demo results 2012-10-17 21:58:11 -06:00
Dusty Phillips 967ba58962 One issue fixed 2012-10-17 21:53:42 -06:00
Dusty Phillips d2538382cd Fix bugs in scatter demo 2012-10-17 21:50:23 -06:00
Dusty Phillips 4715beff36 Switch to a screen manager for better use of screen real estate 2012-10-17 21:48:34 -06:00
Dusty Phillips 4a4adfeaac Update the more or less pathetic help screen. 2012-10-17 19:32:12 -06:00
Dusty Phillips a10a513133 Add a keybinding to the Kivy textarea to render when ctrl-S is pressed. 2012-10-17 19:26:10 -06:00
Dusty Phillips c093c82400 class decorators are so much sexier than meta classes 2012-10-17 19:13:34 -06:00
geojeff 64da0c1f43 Added tests for instantiating Adapter and ListAdapter. In the process, decided to take all method code out of Adapter, and put raise NotImplementedError in each. 2012-10-17 16:36:08 -05:00
geojeff c22e71f5cc Moved todo lists and notes out of core code and into the README for list examples. 2012-10-17 11:53:48 -05:00
geojeff 96ad40fbd9 Improved listview docs. Added entries for new adapters code in setup.py 2012-10-17 11:34:28 -05:00
geojeff a70752479d Merge remote-tracking branch 'upstream/master' into uix-listview 2012-10-17 08:37:02 -05:00
Dusty Phillips cdb11c4aa9 Add a new showcase example that allows interactive editing of Kivy language code to see how it affects the widgets. 2012-10-16 16:42:40 -06:00
Gabriel Pettier 305bf9e839 Merge pull request #744 from bibile/patch-1
Update kivy/lang.py
2012-10-16 07:24:25 -07:00
bibile 88f2052903 Update kivy/lang.py
typo in the doc
2012-10-16 17:08:30 +03:00
Mathieu Virbel 8e2345a3ce fix pdf generation 2012-10-16 11:19:01 +02:00
Qua-non e624412f35 Doc: explain the introduction of `TabbedPanelItem` and `do_default_tab` 2012-10-16 02:46:30 +05:30
Qua-non 5163abcee1 UIX: Introduce TabbedPanelItem for a simplified usage 2012-10-16 00:42:02 +05:30
Mathieu Virbel 205446630a doc: fix pyinstaller instructions for Windows 2012-10-15 19:36:28 +02:00
Mathieu Virbel 96b5db74fc Merge pull request #715 from edthedev/design_guide_larger_filenames
Design guide larger filenames
2012-10-15 07:57:47 -07:00
Mathieu Virbel 9cdeb38ace Merge pull request #733 from kivy/fix_731
fix #731 BoundedNumericProperty can have float bounds
2012-10-15 07:52:43 -07:00
Qua-non 60b10969dd UIX:TabbedPanel: ensure unbind to avoid multiple binds for tab
width/height
2012-10-14 03:57:46 +05:30
Qua-non 005a62217a :UIX:TabbedPanel: ensure tab_strip width is updates withtab's width 2012-10-14 03:48:20 +05:30
qua-non 9ca9a902ca Merge pull request #736 from Titousensei/fix_slider
fix for slider bug when min<0, max>0 and step>0
2012-10-12 04:34:41 -07:00
Eric Gaudet 41e4564704 fix for slider bug when min<0, max>0 and step>0 2012-10-11 23:20:16 -07:00
tshirtman 15d733e79a make python version requirement clearer 2012-10-12 00:10:04 +02:00
tshirtman 15cf504c8f fix #731 BoundedNumericProperty can have float bounds 2012-10-11 13:58:20 +02:00