Jeff Pittman
|
fcfe84d6cc
|
Updated additional adapter and list view test for recent changes.
|
2012-07-30 17:04:30 -05:00 |
Jeff Pittman
|
aa3342185c
|
Added comments in the SelectableListsAdapter test.
|
2012-07-30 16:45:46 -05:00 |
Jeff Pittman
|
f9663dc25a
|
Added check for background_color of initially selected items.
|
2012-07-30 16:30:18 -05:00 |
Jeff Pittman
|
6bb4cf1d6d
|
Renamed existing selection case to be specific to ListAdapter, and removed a redundant test. Added a test case for SelectableListsAdapter.
|
2012-07-30 16:19:41 -05:00 |
Jeff Pittman
|
bebcd580d6
|
Added selection observer to the initial selection test.
|
2012-07-30 15:27:22 -05:00 |
Jeff Pittman
|
9a64d78e5f
|
Updated tests for recent changes.
|
2012-07-30 15:12:58 -05:00 |
Mathieu Virbel
|
9f52e5752d
|
properties: fix unbind() method that doesn't work with bounded methods
|
2012-07-30 19:27:36 +02:00 |
Jeff Pittman
|
c3fc85e352
|
Remamed the adapters with the Single... and Multiple... long descriptive names by what they do, SelectableListsAdapter and AccumulatingListAdapter, respectively.
|
2012-07-30 11:24:30 -05:00 |
Jeff Pittman
|
40c5b2a72a
|
Fixed the initial set in DetailView to use str() on the list item.
|
2012-07-30 09:50:08 -05:00 |
Mathieu Virbel
|
3c9ffc9848
|
Merge branch 'text_core_improvements' of https://github.com/aspidites/kivy into aspidites-text_core_improvements
Conflicts:
kivy/core/text/__init__.py
|
2012-07-30 16:37:14 +02:00 |
Mathieu Virbel
|
5f2af7cc8d
|
use the real EventDispatcher instead of a fake class
|
2012-07-30 16:35:51 +02:00 |
Mathieu Virbel
|
83cd63b7af
|
Merge branch 'master' of ssh://github.com/kivy/kivy
|
2012-07-30 16:30:36 +02:00 |
Mathieu Virbel
|
b68cdd69ae
|
fix BoundedNumericProperty.set_max. closes #599
|
2012-07-30 16:30:10 +02:00 |
Mathieu Virbel
|
61f1b1375c
|
Merge pull request #597 from eichin/master
force dirname output to "." when blank
|
2012-07-30 07:22:44 -07:00 |
tshirtman
|
f197174d51
|
fix qwerty layout
closes #598
|
2012-07-30 10:10:46 +02:00 |
Jeff Pittman
|
3f6c8fad21
|
Removed the word Chained from the names of the new adapter classes, because it is redundant to Observing. Started an implementation of MultipleSelectionObservingListAdapter -- this is one of the long names. Added an example demonstrating this new adapter. Removed unneeded properties for views in the examples, because references to them are not used. Added better descriptions in headers for several examples.
|
2012-07-29 22:47:32 -05:00 |
Jeff Pittman
|
8ce7e9e0b0
|
Reinstated initialize_selection(), because it is needed when data changes. Added SingleSelectionObserver and MultipleSelectionObserver as markers. For now, using long descriptive names for the new adapter classes.
|
2012-07-29 21:32:03 -05:00 |
Jeff Pittman
|
2b2080fccd
|
Removed initialize_selection(), keeping check_for_empty_selection().
|
2012-07-29 19:14:59 -05:00 |
Jeff Pittman
|
cf07c322ac
|
Removed call to populate() at end of __init__ in ListView.
|
2012-07-29 17:53:53 -05:00 |
Jeff Pittman
|
61319369eb
|
Added initial set for fruit_name in DetailView of examples.
|
2012-07-29 17:49:52 -05:00 |
gabriel.pettier
|
abb0e85b07
|
style fixes
|
2012-07-30 00:33:48 +02:00 |
gabriel.pettier
|
74e9d0b11a
|
style fixes
|
2012-07-30 00:29:40 +02:00 |
gabriel.pettier
|
ae89d97996
|
style fixes
|
2012-07-29 23:42:42 +02:00 |
gabriel.pettier
|
be716e10f5
|
style fixes
|
2012-07-29 23:40:59 +02:00 |
gabriel.pettier
|
20b703e446
|
style fixes
|
2012-07-29 22:28:40 +02:00 |
gabriel.pettier
|
357e9a2afa
|
stylefixes
|
2012-07-29 22:17:02 +02:00 |
Mark Eichin
|
33c2906b74
|
force blank dirname to '.' for safer substitution
Issue #595, using %-substitution isn't as clever as os.path.join is.
|
2012-07-29 17:01:58 -03:00 |
gabriel.pettier
|
9c68e79665
|
remove all obsolete __android__ uses in __name__ tests
|
2012-07-29 21:43:01 +02:00 |
tshirtman
|
353afd42f0
|
Merge pull request #596 from eichin/master
app.py documentation fix
|
2012-07-29 12:18:42 -07:00 |
Mark Eichin
|
075f6c37b7
|
docstring typo
"self" is not a class name
|
2012-07-29 16:04:39 -03:00 |
Jeff Pittman
|
569c82b07d
|
Removed special calls to check selection.
|
2012-07-29 13:59:15 -05:00 |
Jeff Pittman
|
9f26e72582
|
Made a new adapter called ChainedListAdapter to contain code that had been done at a higher level in a custom list view. Now ListView is used directly, and the selection chaining, or cascading, from list to list is pushed down to the adapters. SelectionObserver was modified to help in this reorganization. ChainedListAdapter uses the modified SelectionObserver, and implements the observed_selection_changed() method to update its selection. ChainedListAdapter contains a selectable_lists_dict, containing the lists of list items that change when selection of the observed list adapter changes, so the observed list selection is the key into this dict. Updated the listview widget examples, which became considerably simpler. Added a _trigger_hard_populate() method in ListView that fires when self.adapter.data changes, where the "hard" reference is to a reset of the item_view_instances dict to an empty before calling populate(). This is an effort to get the list to stay in sync with its list_adapter, but initial selection, despite all of these changes, still is not shown in the list view display.
|
2012-07-29 13:01:56 -05:00 |
Jeff Pittman
|
bd3380a7ad
|
Added check for selection -- do not force selection if already exists.
|
2012-07-29 08:14:16 -05:00 |
Jeff Pittman
|
5008dffec0
|
Removed check for list_adapter.
|
2012-07-29 07:47:34 -05:00 |
Jeff Pittman
|
19c8d0c878
|
Worked over the list_disclosure.py example to properly use the selection_target arg and kwargs.
|
2012-07-29 01:05:49 -05:00 |
Jeff Pittman
|
e2db30d37f
|
Changed SelectableItem to have list_adapter property passed from ListAdapter, not from the custom list item class of the examples, so removes it from the API. Likewise, put the binding between selection and handle_selection in SelectableItem, because this also always must be done, so should not be exposed in the API. Added a selection_target property to accommodate the idea in examples/widgets/list_disclosure.py, for composite list items, for which the components may or may not be selectable, but may wish to proxy for the parent composite list item -- this approach is marked as needing review. Changed get_view in ListAdapter to make the correct cls instantiation call to pass itself as one of the arguments to the list item.
|
2012-07-29 00:46:07 -05:00 |
Jeff Pittman
|
05aa65eff4
|
Changed the name of the list argument in select_list to obj_list. Removed unneeded description of how properties work.
|
2012-07-28 23:41:07 -05:00 |
Mathieu Virbel
|
a546c9828c
|
textinput: prevent the bubble to be showed if the textinput is not on the screen anymore (Check is done twice per seconds).
|
2012-07-28 18:24:01 +02:00 |
Mathieu Virbel
|
ed15451698
|
Merge branch 'master' of ssh://github.com/kivy/kivy
|
2012-07-28 12:17:07 +02:00 |
Mathieu Virbel
|
97843106b5
|
screenmanager: ensure the animation is not drawing outside the bounds of the screenmanager (todo: wipe transition doesn't seem to work.)
|
2012-07-28 12:16:55 +02:00 |
Mathieu Virbel
|
325a0f31f9
|
screenmanager: ensure the position is reset to the position of the screenmanager
|
2012-07-28 12:16:23 +02:00 |
Mathieu Virbel
|
bba0376176
|
Merge pull request #594 from aspidites/more_doc_updates
No Warnings, Again
|
2012-07-28 00:58:51 -07:00 |
Edwin Marshall (aspidites)
|
4ae1b14d11
|
- trying a more flexible method of suppressing warnings
- added reference to clock documentation
|
2012-07-28 02:46:38 -05:00 |
Mathieu Virbel
|
70d756e9dd
|
Merge branch 'master' of ssh://github.com/kivy/kivy
|
2012-07-28 08:05:34 +02:00 |
Mathieu Virbel
|
45e90bf9b3
|
dont activate the warning as error on sphinx, we need the gettingstarted generated, even if its not referenced in the toc + optim to not rewrite rst file if the content didnt change, it prevent sphinx to reread the source.
|
2012-07-28 08:05:05 +02:00 |
Mathieu Virbel
|
57fe6b504f
|
Merge branch 'doc_updates' of https://github.com/aspidites/kivy into aspidites-doc_updates
|
2012-07-28 07:22:58 +02:00 |
Mathieu Virbel
|
ff12cd3f13
|
Merge pull request #593 from kivy/textinput_undoredo
UIX:TextInput: refactor undo_redo and selection_from/to
|
2012-07-27 22:19:51 -07:00 |
Mathieu Virbel
|
890ddc81ad
|
fix versionadded + add some tests for select_text()
|
2012-07-28 07:19:22 +02:00 |
Qua-non
|
915a94af24
|
UIX:TextInput: refactor undo_redo and selection_from/to
Selection_from/to are now readonly and two new methods
`select_all()` and `select_text(start, end)` have been
provided for selection.
|
2012-07-28 04:44:40 +05:30 |
Jeff Pittman
|
428375ea78
|
SelectableItem class def was missing (object): -- thanks tshirtman.
|
2012-07-27 07:30:25 -05:00 |