Commit Graph

3212 Commits

Author SHA1 Message Date
Mathieu Virbel 086023dc0c style: wip conversion to dp/sp 2012-11-01 14:25:51 +01:00
Mathieu Virbel 75d1ff0b53 lang: add sp() 2012-11-01 14:25:30 +01:00
Mathieu Virbel 2dbc1cf3cc dpi: implement sp(), and add Metrics class in kivy.metrics: expose dpi, dpi_rounded, fontscale, density 2012-11-01 13:52:42 +01:00
Mathieu Virbel f1cfe335dc androidjoystick: normalize pressure and radius, according to python-for-android / API doc 2012-11-01 12:18:49 +01:00
Mathieu Virbel 9d7779d0d2 showcase: fixed dpi 2012-11-01 04:06:27 +01:00
Mathieu Virbel 7c4d4b8cba style: started to update from px to dp, in settings, treeview etc. 2012-11-01 04:06:19 +01:00
Mathieu Virbel cf8ccfa505 settings: update settings to use dp everywhere. 2012-11-01 04:05:45 +01:00
Mathieu Virbel 36e45c198a label: removed px hack for font_size + updated the font_size to 13dp (instead of 10). 2012-11-01 04:05:25 +01:00
Mathieu Virbel 0059e9c2b3 lang: introduce dp/inches/mm/cm/pt functions into kivy.metrics + add access from the lang global map 2012-11-01 04:04:28 +01:00
Mathieu Virbel 132468acfd dpi: add dpi_rounded and dpi_density in EventLoop. Both need proper renaming and documentation.
+ add dp calculation (px = dp * density)
2012-11-01 04:03:47 +01:00
geojeff 91218bcfe1 Removed lingering call to deleted touch_selection() in master detail example. Removed unused blocks that would have selected children in composite items too aggressively, if conditional had worked. 2012-10-31 18:27:54 -05:00
Mathieu Virbel ec80be21b0 settings: fixes for DPI compatibility 2012-10-31 01:14:46 +01:00
Mathieu Virbel 141656c892 settings: remove static row height, and make the height flexible 2012-10-31 00:59:17 +01:00
Mathieu Virbel 3a70ffdcf4 Merge branch 'master' of ssh://github.com/kivy/kivy 2012-10-31 00:34:27 +01:00
Mathieu Virbel 97ec21ccc7 scrollview: fix multiples issues due to the betterscroll PR. mousewheel is fixed, avoid touch-up event are fixed, and tweaked the algo to always to scrolling if possible. Now it's working really better :) 2012-10-31 00:33:59 +01:00
geojeff b4243b21fe Added missing index set into cls_kwargs for CompositeListItem items. 2012-10-30 15:50:40 -05:00
Qua-non 754eb0e1ed UIX:CodeInput: fix handeling of `foreground_color` wasn't being honoured 2012-10-30 01:29:17 +05:30
geojeff 1ca0cbd33b Fixed warnings about the experimental nature of the code, and subject-to-change notice. 2012-10-29 13:26:24 -05:00
Mathieu Virbel ca4dfea0af settings: add Settings.create_json_panel(), and use it in Settings.add_json_panel() 2012-10-29 16:14:28 +01:00
Mathieu Virbel c949a5984c glew: add more information about the GLEW initialization. refs #610 2012-10-29 15:17:06 +01:00
Gabriel Pettier 09c917ab78 Merge pull request #773 from bibile/patch-2
add app definition and run -> make screenmanager sample works
2012-10-29 04:24:32 -07:00
Qua-non d1327daba4 UIX:TabbedPanel reset to previous behaviour for default_tab 2012-10-29 16:49:13 +05:30
bibile be50dc37f4 add app -> sample works 2012-10-29 11:46:36 +01:00
Mathieu Virbel 784f956e08 fix documentation 2012-10-29 03:30:29 +01:00
Mathieu Virbel 65a9ea4586 graphics: avoid error in case of multiple rremove: same behavior as remove_widget(). closes #481 2012-10-29 03:15:23 +01:00
Mathieu Virbel f31acf830d kv.shader: increase the default timeout for shadersource cache. closes #673 2012-10-29 02:29:58 +01:00
Mathieu Virbel b40d6b7fe2 bindtexture: fix usage of unicode filename in source attribute. closes #671 2012-10-29 02:20:43 +01:00
Mathieu Virbel fb3ce12c90 app: add more debug information. refs #714 2012-10-29 02:01:10 +01:00
Mathieu Virbel fb12e1579c widget: fix opacity not working when passed in a constructor. closes #734 2012-10-29 01:56:26 +01:00
Mathieu Virbel fc9e819b24 carousel: honor index in add_widget(). closes #747 2012-10-29 01:44:53 +01:00
Mathieu Virbel eb947fc8b8 screenmanager: fix transition bug due to flipped texture coordinates. closes #752 2012-10-29 01:33:16 +01:00
Mathieu Virbel 22927bef96 wm_touch/pen: try to see if SetWindowLongPtrW exist with AttributeError exception, as referenced in the issue. closes #755 2012-10-29 01:21:50 +01:00
Mathieu Virbel 8b5c0e4a1f fix auto configuration upgrade with betterscroll 2012-10-28 18:29:11 +01:00
Mathieu Virbel ffbc764d97 Merge branch 'better_scroll' of https://github.com/milanboers/kivy into milanboers-better_scroll 2012-10-28 18:27:14 +01:00
Mathieu Virbel 11f55027a0 ios/packaging: update documentation about launch image 2012-10-28 17:54:38 +01:00
Mathieu Virbel 2516ccc2f8 widget: enhance the documentation of Widget to include more information / disclamer about the defaults of the Widget 2012-10-28 17:30:21 +01:00
geojeff 430f2e793b Added tests for sorted_keys after data changed in trim ops. 2012-10-28 10:49:24 -05:00
Mathieu Virbel 7b3b209f43 vkeyboard: fix missing clear() on background canvas + speedup the background loop. closes #770 2012-10-28 16:10:07 +01:00
Mathieu Virbel f19b463c07 Merge branch 'master' of ssh://github.com/kivy/kivy into ios-support 2012-10-28 15:59:43 +01:00
Mathieu Virbel 97df0e481b asyncimage/loader: fix loading when "clock" backend is used instead of "pygame" (happen on iOS). closes #768 2012-10-28 15:58:57 +01:00
Qua-non 8d31c4c395 :examples:CodeInput: add ability to manipulate files and fonts 2012-10-28 19:32:51 +05:30
qua-non d81a966305 Update kivy/tests/test_urlrequest.py 2012-10-28 00:17:56 +05:30
tshirtman 777a46a1f6 put the dispatching of the on_open event of modalview after the
animation
2012-10-27 19:37:46 +02:00
Qua-non ae2385567f tests: fix test_lang_complex 2012-10-27 22:09:35 +05:30
geojeff d2688e01f1 Made Pep8 fixes. 2012-10-27 11:10:16 -05:00
Mathieu Virbel 34d9076fc6 Revert "lang: use codecs.open() instead of open() for reading the kv file in UTF-8. closes #762"
This reverts commit ac70a266d3.
2012-10-27 12:50:31 +02:00
Mathieu Virbel ac70a266d3 lang: use codecs.open() instead of open() for reading the kv file in UTF-8. closes #762 2012-10-25 19:25:17 +02:00
Mathieu Virbel 10a431b61b fix invalid indentation on osc 2012-10-25 15:56:13 +02:00
Mathieu Virbel af9f48b898 avoid double registering of Mesh() 2012-10-25 15:31:55 +02:00
Mathieu Virbel e1a13842c4 Merge branch 'master' of ssh://github.com/kivy/kivy 2012-10-25 15:31:26 +02:00