Commit Graph

528 Commits

Author SHA1 Message Date
Christopher Denter fb4b058362 OSX build: Only download deps if SHA1 hash changed 2011-02-13 16:09:37 +01:00
Christopher Denter ed112fac47 OSX: Only compile for x86_64 2011-02-13 16:06:19 +01:00
Mathieu Virbel b7e7ea195a graphics: fixes for adding/removing BindTexture from VertexInstruction correctly, without any python overhead. Now, deletion are automatic and faster than before. Closes #56, #44 2011-02-12 20:45:51 +01:00
Mathieu Virbel 0749480a92 tuio: accept tuio 2D cur as touch (otherwise, it's not dispatched accross the widget tree.). Closes #59 2011-02-12 17:27:47 +01:00
Mathieu Virbel 1c59139c8f graphics/canvas: don't clear before/after if we use canvas.clear(). 2011-02-12 17:11:29 +01:00
Mathieu Virbel 603845751b label: remove old viewport_size/pos, not used anymore. 2011-02-12 17:11:04 +01:00
Mathieu Virbel 86cbc8e5d8 cache: fix documentation showing MTLabel instead of Label 2011-02-12 08:16:34 +01:00
Mathieu Virbel 48d0267c3b shader: remove unused varying, attribute and uniform 2011-02-10 21:49:03 +01:00
Mathieu Virbel cfacb7aef4 shader: don't return -1, it's also an exception, just return the shader id. and process_log will do the rest. 2011-02-10 20:42:03 +01:00
Mathieu Virbel 398802035d shader: check error if shader compiled or not 2011-02-10 20:12:41 +01:00
Mathieu Virbel 76f7a879be window: allow to configure background color. Closes #45 2011-02-10 19:04:10 +01:00
Mathieu Virbel e5a4539ed1 tests: add canvas tests (point + ellipse) 2011-02-10 18:10:29 +01:00
Mathieu Virbel d05fb26f1f lang: fixes for invalid detection on class.property, numeric was also taken as a class.property. Closes #34 2011-02-10 18:09:31 +01:00
Mathieu Virbel fcc1c20026 factory: fix documentation 2011-02-10 17:48:51 +01:00
Mathieu Virbel 8bf1ee055c doc: add android working devices section 2011-02-10 17:04:26 +01:00
Mathieu Virbel 8319fc91f1 doc: add -f option in dev/compilation, just to be sure that people don't miss it in update case. 2011-02-10 13:32:11 +01:00
Mathieu Virbel d8b09a94c6 change to 1.0.2-dev 2011-02-09 18:37:31 +01:00
Mathieu Virbel 879220a721 bump to 1.0.2-alpha 2011-02-09 18:35:04 +01:00
Mathieu Virbel 4765860fd6 vector: documentation fixes 2011-02-09 18:30:27 +01:00
Mathieu Virbel 2a49594863 Vector: add vector documentation with lot of examples. Closes #54 2011-02-08 22:08:49 +01:00
Mathieu Virbel 1127e222e0 text: remove color feature when rendering text
If you want to render color text, blend with color.
+ use luminance_alpha (less memory ungry)
2011-02-08 21:36:42 +01:00
Mathieu Virbel e9dfaade30 texture: missing doc for colorfmt (luminance/luminance_alpha) 2011-02-08 21:34:02 +01:00
Mathieu Virbel 9c1d5c925a texture: better naming for designing color format (colorfmt) and buffer format (bufferfmt)
(was fmt and buffertype before.)
2011-02-08 21:26:04 +01:00
Mathieu Virbel 6f6562be0a core: add require() function to ask for a minimum kivy version before executing your application.
+ update quickstart to add this require() call
+ change quickstart file naming
2011-02-06 23:00:08 +01:00
Mathieu Virbel 7b124abbcc uix: add anchorlayout 2011-02-06 21:28:06 +01:00
Mathieu Virbel 3f39fecb6d examples: move touchtracer into his own directory, and change to be able to run on android 2011-02-06 19:56:44 +01:00
Mathieu Virbel 486a0be44d buffer: fix void return to grow + add clear() method 2011-02-06 19:28:11 +01:00
Mathieu Virbel 0f5f408f2b vertex_instructions: add add_point() method, and use it in touchtracer.
This method append new vertices and indices into the current vertex batch,
instead of recalculate and reupload the whole list.
+ use it in touchtracer. No more lag with Point() now :)
2011-02-06 18:00:18 +01:00
Mathieu Virbel 78090562b5 Vbo: fix invalid allocation of memory for vertices index (buffer usage)
+ correctly unbind vbo after draw
2011-02-06 17:59:11 +01:00
Mathieu Virbel b7b7672bbd graphics: removing unused Vertex class. 2011-02-05 23:28:20 +01:00
Mathieu Virbel 095184d8a2 graphics: reworking how the vertex data are pushed to the vbo.
We was using too much python list, and too much abstraction for make the develpment easier,
but still, in pure C, we are really closer to the VBO update, and avoid lot of python list usage now.
This rework still rebuild the whole vbo each time a vertex instruction is changed.
Next step: be smarter, update only the part that we are changing.
2011-02-05 23:27:59 +01:00
Mathieu Virbel 5d185e499c Widget: remove pos_hint_x/pos_hint_y, replace pos_hint with a dict.
You can use x/y/right/top as a anchor point now.
2011-02-05 11:45:44 +01:00
Mathieu Virbel 7c244b5966 ellipse: cython speedup 2011-02-05 02:40:05 +01:00
Mathieu Virbel 621274da64 ellipse: add missing segments property 2011-02-05 02:32:29 +01:00
Mathieu Virbel b979f2670d lang: don't trace in call_fn, and precompile eval value 2011-02-05 02:23:16 +01:00
Mathieu Virbel a94538c4eb floatlayout: retrigger layout if position changes 2011-02-05 00:55:54 +01:00
Mathieu Virbel 2fa8057edf widget: add pos_hint_x, pos_hint_y, pos_hint properties.
Theses can be used if you want to set the position relative to parent, in percent.
Really nice to use it with size_hint + FloatLayout or Window.

+ honor pos_hint to Window and FloatLayout
2011-02-05 00:49:58 +01:00
Mathieu Virbel 068b670026 introduce FloatLayout, a layout that just respect the size_hint without touching the position. 2011-02-04 03:28:30 +01:00
Mathieu Virbel b3ffa85770 Compiler: rework how the first compiler work. Now it will be slower as the initial implementation, but the initial wasn't enough and didn't cover all the cases.
Now it work with canvas_stress, and picture issue from hansent.
Closes #42
2011-02-04 00:38:44 +01:00
Mathieu Virbel f4b0c5dc13 Makefile: clean must remove doc/build too, otherwise, the documentation index is not generated correctly after a while 2011-02-03 23:33:24 +01:00
Mathieu Virbel a71a5455f6 fixes quickstart documentation to head over installation/how to run app for each platform 2011-02-03 16:02:23 +01:00
Mathieu Virbel b37c08c9de push documentation about android platform 2011-02-03 04:07:30 +01:00
Mathieu Virbel 38acd2da10 setup.py: fix for making pip install work 2011-02-02 00:40:17 +01:00
Mathieu Virbel 0b2e01f75c bump to 1.0.1-alpha (fixes for linux package) 2011-02-02 00:18:05 +01:00
Mathieu Virbel 8784ebaee8 setup.py: fix pyx->modulename conversion 2011-02-02 00:17:24 +01:00
Mathieu Virbel ff7d29d56e app: add missing App.stop() method 2011-02-01 22:22:02 +01:00
Mathieu Virbel d09b63cecf Merge branch 'master' of github.com:tito/kivy 2011-02-01 22:08:57 +01:00
Mathieu Virbel dbc9498b0c core/window: remove vsync and fps
config: upgrade config to 1, remove vsync token and push maxfps to 60
2011-02-01 22:08:35 +01:00
Christopher Denter f34c589f08 fix & reword osx install guide 2011-02-01 21:02:01 +01:00
Mathieu Virbel 8871b201ae setup.py: autodetect gles 2 headers. Closes #22 2011-02-01 20:46:39 +01:00