Commit Graph

976 Commits

Author SHA1 Message Date
Mathieu Virbel 0bb873465c doc: remove background highlight and use align-right for switch and button documentation 2011-06-06 16:18:35 +02:00
Mathieu Virbel c1cdee84e5 doc: fix comment color (increase darkness, it's very hard to read) + add align-right css for beein able to align image to right (with margin) 2011-06-06 16:15:04 +02:00
Mathieu Virbel 63492e1e4f popup: new modal popup widget 2011-06-06 16:13:37 +02:00
Mathieu Virbel 63ac2d7efc text/pygame: prevent to open too much font at the same time, by removing the oldest one. Closes #166 2011-06-06 11:36:04 +02:00
Mathieu Virbel 4cfa8bbf2f texture: add proper documentation on texture + colorfmt parameter in Texture 2011-06-06 10:50:35 +02:00
Mathieu Virbel e5a36f936e texture: fix order of npot log messages 2011-06-05 23:29:21 +02:00
Mathieu Virbel f0b4b3365d Window: fix the order of the add_widget() same as the Widget 2011-06-05 23:27:50 +02:00
Mathieu Virbel d66842dd57 texture: if a NPOT extension is available (OES_texture_npot or GL_ARB_texture_non_power_of_two), we can safely load NPOT texture, without lost memory. Just do it :)
Check http://txzone.net/2011/06/npot-textures-support-in-opengl/ for more informations
2011-06-05 23:27:11 +02:00
Mathieu Virbel 0b5856c29e examples: add tiny shader editor (wip) 2011-06-05 01:29:06 +02:00
Mathieu Virbel d0111e6da6 gridlayout: rework implementation to use Widget.size_hint for calculation of col/row size. Add many usage possibilities as default row/col size, custom minimum size per col/row, force the usage of default value instead of child.size_hint. 2011-06-05 01:28:47 +02:00
Mathieu Virbel 5c1e04e323 properties: add new DictProperty + tests 2011-06-04 11:02:31 +02:00
Mathieu Virbel 5894b2c189 lang: docfixes 2011-06-04 10:55:13 +02:00
Mathieu Virbel 30650be633 doc: add widget image into doc 2011-06-04 01:52:58 +02:00
Mathieu Virbel 7899f2d4a0 switch: introduce switch widget + add documentation + include it in the showcase 2011-06-04 01:42:01 +02:00
Mathieu Virbel 7228a73c3f texture: use the best unpack alignment for the current texture upload 2011-05-31 02:52:55 +02:00
Mathieu Virbel b13a06fb86 gl: log more information about shading and textures capabilities 2011-05-30 17:22:54 +02:00
Mathieu Virbel 98f1b7331b Merge branch 'master' of github.com:tito/kivy 2011-05-29 20:20:02 +02:00
Mathieu Virbel f789b50021 lang: fix to be able to use "root.func(args)" inside a value 2011-05-29 20:19:52 +02:00
Mathieu Virbel 60a88dd913 doc/quickstart: add a comment to ensure people will correctly use require() with their current kivy version 2011-05-29 20:19:29 +02:00
Christopher Denter e6f9dcc5b9 kivy.graphics.opengl: typo fix: c_opengl.CreateProgram() -> c_opengl.glCreateProgram() 2011-05-28 11:56:05 -07:00
Mathieu Virbel df92193f38 core: replace import inside functions that are called lot of time by late binding import. Closes #155 2011-05-28 13:55:54 +02:00
Mathieu Virbel 0fef67aa20 shader: rework shaders internal to seperate program / gl shader(ShaderSource), and use cache around ShaderSource. Closes #130
ShaderSource is now reused if the shader type + source code is the same.
2011-05-28 12:16:36 +02:00
Mathieu Virbel be8fd6db04 core/text: big change here. If the text width is <= 1, no texture are generated AT ALL. This break some behavior in our current widget, because texture was always allocated even for tiny size.
+ fixes for widget Label and TextInput is included.
+ enhance texture allocate with initial data if they are using create_texture_from_data() (#161)
2011-05-28 11:28:25 +02:00
Mathieu Virbel ec63cdc23c texture: prevent to upload the data twice to the texture if the the data size is power of two. Closes #161 2011-05-28 11:24:54 +02:00
Mathieu Virbel f0b8309c0a label: prevent creation of initial label until text is set. Closes #160 2011-05-28 10:40:01 +02:00
Mathieu Virbel 1e3f928dd8 core/text: implement valign. Now, since we never care of that parameter before, you might have glitch that you didn't have before. Before was a bug, now it's working properly. Closes #157
An example about different usage of text_size + valign / halign have been pushed in examples/widgets/textalign.py
2011-05-28 00:04:31 +02:00
Mathieu Virbel a50a558834 lang: removing the warning about templates not yet implemented. Closes #159 2011-05-27 22:08:34 +02:00
Mathieu Virbel 21f38eba69 label: the initial font_name assignment is not using resource_find(). fix to use it now. 2011-05-27 18:59:38 +02:00
Mathieu Virbel be5f5b2475 scatter: typo fixes 2011-05-27 18:59:01 +02:00
Mathieu Virbel ad2ffb7e14 doc: fix size_hint value in gridlayout (thx tshirtman) 2011-05-27 11:41:59 +02:00
Mathieu Virbel 4791c49655 Merge branch 'master' of github.com:tito/kivy 2011-05-27 11:27:58 +02:00
Mathieu Virbel bae0d50b00 doc: add files name and redirect to App class for relation between .py and .kv by default 2011-05-27 11:27:47 +02:00
Christopher Denter 85f12f1e2f Merge branch 'master' of github.com:tito/kivy 2011-05-26 22:39:28 +02:00
Christopher Denter 765389d01c extensions: setup.py: add kivy.ext to packages. ext/__init__: don't crash if an extension path doesn't exist and cannot be created (Question: should we by default create the extensions/ folder in the kivy base dir...) 2011-05-26 22:39:06 +02:00
Mathieu Virbel 9fd22dd86d ellipse: introduce angle_start/angle_end properties, to be able to draw only a part of the ellipse
+ reduce the indices by using triangle_fan
2011-05-26 10:55:33 +02:00
Mathieu Virbel 7c3319fe2e texture: put back alignement to 1 byte for texture (removed from a previous commit) 2011-05-26 10:24:34 +02:00
Mathieu Virbel b7ec5ffd51 clock: fix "dictionary changed size during iteration" 2011-05-25 02:06:17 +02:00
Mathieu Virbel 909372be3b context_instructions: add missing documentation for Color object + fix issues with hsv property 2011-05-23 02:52:21 +02:00
Mathieu Virbel 6d11c3bb4e event: fix doc typo (dispatch_event->dispatch) 2011-05-23 02:51:53 +02:00
Mathieu Virbel 2f292cb12d tests: fix unit test with new properties 2011-05-22 00:19:19 +02:00
Mathieu Virbel 9f745dd485 doc: add missing versionadded for environment control (path section, #153) 2011-05-20 18:19:10 +02:00
Mathieu Virbel 8c37e415a8 Merge branch 'master' of github.com:tito/kivy 2011-05-20 17:46:14 +02:00
Mathieu Virbel efb0e164f0 doc: add documentation about environ control (#153) 2011-05-20 17:45:54 +02:00
Mathieu Virbel 51f16c0a04 core: remove very old env not used, and reduce the number of external dirs.
+ add alternative environ for location of data, modules and extensions
+ use import kivy.lib.osc instead of osc
needed for #153
2011-05-20 17:45:38 +02:00
Mathieu Virbel 219b248a70 Merge pull request #144 from SparrowG/vim-highlight
Added vim highlighter
2011-05-20 07:58:33 -07:00
Christopher Denter 4fb982f196 Adding Asus EeePad Transformer to list of tested Android devices. Thanks jw_carleton! 2011-05-19 06:20:23 -07:00
Mathieu Virbel 02f5d3cf83 Merge pull request #152 from gebart/master
fixes for uix.camera.Camera.play property
2011-05-19 01:23:04 -07:00
Joakim Gebart 567b4c7a84 uix.camera: call start() instead of play() on underlying camera device. 2011-05-19 08:54:39 +02:00
Mathieu Virbel 87059892f3 Merge branch 'master' of github.com:tito/kivy 2011-05-19 02:28:59 +02:00
Mathieu Virbel fd912571b8 setup: add math lib for linking. This fix a bug of default gcc option of Mageia linux distribution "-Wl,--no-undefined". Closes #150 2011-05-19 02:28:44 +02:00