Commit Graph

3057 Commits

Author SHA1 Message Date
Mathieu Virbel 99484ceda6 texture: if a non-npot texture with mipmap has been requested, force the allocation before doing a glTexSubImage2d, and delay the mipmap generation to prevent double generation. Closes #781, #782, #656 2012-11-04 22:29:20 +01:00
tshirtman d596d8fafa add docstring to ScatterPlane. 2012-11-04 00:05:31 +01:00
Qua-non 0e1c793230 examples: minor edits to examples 2012-11-04 02:48:35 +05:30
Mathieu Virbel 0530cdfd7c screen: add module into the documentation 2012-11-02 18:27:32 +01:00
Mathieu Virbel dfda7b0b92 Merge branch 'master' of ssh://github.com/kivy/kivy 2012-11-02 18:07:06 +01:00
Mathieu Virbel 7e3f193d60 screen: add new screen module, that can be used for simulating different screen sizes/density/dpi. 2012-11-02 18:06:35 +01:00
Mathieu Virbel a4dadc188e Merge pull request #779 from kivy/fixes-dpi
DPI-related fixes
2012-11-02 10:00:36 -07:00
tshirtman a4f1ffde7a makes the "this label fits to the content" really fit to the content 2012-11-02 16:49:06 +01:00
Mathieu Virbel 1d41016bd6 base: remove unused imports 2012-11-02 16:35:25 +01:00
Mathieu Virbel c196edd42d metrics: add documentation 2012-11-02 13:38:39 +01:00
Mathieu Virbel 222829ecc5 dpi: wip style 2012-11-02 04:14:56 +01:00
Mathieu Virbel 1ac5d8b928 win32/opengl: after initialization, test first the opengl version before going further. If we don't meet the miminum requirements, we show a msgbox. closes #778 2012-11-01 22:26:24 +01:00
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