Commit Graph

7679 Commits

Author SHA1 Message Date
Christopher Denter e252b68397 Fix bug in the pep8 checker that was shadowing other style errors. also make it return number of errors encountered as exitcode 2011-01-13 15:23:09 +01:00
Mathieu Virbel b147695958 fix text and tuio syntax 2011-01-13 13:58:55 +01:00
Christopher Denter 3fd96a6850 Merge branch 'master' of github.com:tito/kivy into stylefixes 2011-01-13 13:44:15 +01:00
Christopher Denter f814d47e9b Fix remaining styleguide errors 2011-01-13 13:44:03 +01:00
Christopher Denter da2162abca more style fixes. < 900 errors now 2011-01-13 11:42:40 +01:00
Christopher Denter 6d22cac190 some adjustments to make pep8 checker more sane 2011-01-13 11:41:20 +01:00
Mathieu Virbel 5fa5e02d88 fbo: don't clear the fbo is a texture is provided 2011-01-13 11:26:07 +01:00
Mathieu Virbel 1ad67a3c4f fbo: allow the user to call bind/release 2011-01-13 11:25:45 +01:00
Mathieu Virbel 97ea6f4d49 context: use the cimport Texture 2011-01-13 11:25:09 +01:00
Mathieu Virbel 48bc3a0591 texture: correcly allocate the memory needed for initial texture data 2011-01-13 11:24:46 +01:00
Christopher Denter 7c6a0eee3f Merge branch 'stylefixes' of github.com:tito/kivy into stylefixes 2011-01-13 09:10:11 +01:00
Mathieu Virbel 150b5bc952 fbo: allow the fbo to be used with our own texture 2011-01-12 23:04:48 +01:00
Mathieu Virbel ab08219398 instructions: allow the creation of a rendercontext with custom vertex/fragment shader 2011-01-12 23:02:22 +01:00
Christopher Denter d48d074b8e more style fixes 2011-01-12 23:00:34 +01:00
Mathieu Virbel dd7c351cc9 texture: add the possibility to create an image with different internal buffer format 2011-01-12 22:03:16 +01:00
Mathieu Virbel 80d30e7d39 example: add simple camera puzzle for testing Camera, Animation and Graphics. (wip, don't use for final release.) 2011-01-12 21:48:15 +01:00
Mathieu Virbel 03f5080b27 opengl_debug: force gil if we use debug opengl set. otherwise, we can't use print. 2011-01-12 21:45:44 +01:00
Mathieu Virbel 038225ea20 texture: cython optimization pass
+ reactivate texture releasing in Clock
+ release gil for texture uploading / memory creation
2011-01-12 21:39:19 +01:00
Mathieu Virbel 1a17c51b2b c_opengl: declare all functions as nogil 2011-01-12 21:38:17 +01:00
Mathieu Virbel ef75586a8f camera: remove debug 2011-01-12 21:38:05 +01:00
Christopher Denter 3507a8a57a First batch of easy PEP8 fixes. (I do not like everything the checker enforces. Should be patched a bit perhaps) 2011-01-12 19:55:11 +01:00
Christopher Denter 44b258fbce Add PEP8 styleguide checker.
Hint for VIM users:
	Make sure your :pwd is the dir that contains the Makefile.
	Then run :make, and after that ran through, run :cw.
	You will get a split view with one styleguide error per line.
	By choosing a line, the editor split view jumps to the proper
	code line automatically. :cn brings you to the next error, :cp
	shows the previous error.
2011-01-12 19:05:55 +01:00
Christopher Denter f508fe27fd Merge branch 'master' of github.com:tito/kivy 2011-01-12 19:00:32 +01:00
Christopher Denter 18193fa6b6 docs: be less biased 2011-01-12 19:00:18 +01:00
Mathieu Virbel 82f93ae15e texture: prevent documentation and allocation of default value for some methods (create) 2011-01-12 17:54:25 +01:00
Mathieu Virbel e3f648a4b8 texture: prevent documentation and allocation of default value for some methods 2011-01-12 17:52:43 +01:00
Mathieu Virbel b2165f1e50 texture: fix memory leak
+ handle seperatly UV position and size from tex_coords
+ update automatically tex_coords
+ add uvpos and uvsize properties for getting position/size of the image inside the texture coordinate
2011-01-12 17:49:59 +01:00
Mathieu Virbel 6514daf175 add missing ring.png for touchring module 2011-01-12 17:08:27 +01:00
Mathieu Virbel b45487886a introduce camera widget 2011-01-12 17:07:58 +01:00
Mathieu Virbel b832d1ab20 camera: removing doc warning about update() 2011-01-12 17:07:47 +01:00
Mathieu Virbel dc4c32f972 video: correctly initialize duration and position at start. 2011-01-12 17:06:36 +01:00
Mathieu Virbel 9bb8ad0268 gobject: iterate only when needed 2011-01-12 17:06:19 +01:00
Mathieu Virbel 4644b0cbbd video_gstreamer: try to correct the initial lag we got in position information. found lot of trouble inside gstreamer, need to test on other platform 2011-01-12 17:06:11 +01:00
Mathieu Virbel 3109eba34c video: add on_frame() event, remove update() and use Clock. 2011-01-12 16:35:03 +01:00
Mathieu Virbel 2ea3aed3a7 camera: remove the update() call from user pov. now we use a clock for automatically update ourself 2011-01-12 16:23:14 +01:00
Mathieu Virbel 1697726fa0 update Camera core class to use EventDispatcher
+ add on_load and on_frame event
+ uniform the camera selection to a index, starting from 0
2011-01-12 02:24:31 +01:00
Mathieu Virbel 23de1b3ffb convert touchring module for kivy 2011-01-12 00:56:27 +01:00
Mathieu Virbel d594aabe01 add monitor module: a little topbar to monitor fps and touch event 2011-01-12 00:40:45 +01:00
Mathieu Virbel 68c54087e3 texture: remove all usage of GL const from API point of view.
+ save internal string format in texture class
+ uniform the creation with size= instead of mixing width/height and size
2011-01-12 00:27:36 +01:00
Mathieu Virbel 9fa41289ae add framebuffer support. 2011-01-11 22:15:05 +01:00
Christopher Denter a26c19e6bf Docs: Begin architectural overview and add 'isnt python slow' FAQ entry 2011-01-11 17:31:43 +01:00
Christopher Denter 9679f39224 Merge branch 'master' of github.com:tito/kivy 2011-01-11 02:59:10 +01:00
Christopher Denter be95380344 Docs: FAQ 2011-01-11 02:58:55 +01:00
Mathieu Virbel c5e040ce50 little animation test 2011-01-11 02:36:46 +01:00
Mathieu Virbel cb997cf067 add widget.clear_widgets() to remove all the childs of a widget 2011-01-11 02:36:27 +01:00
Mathieu Virbel 070da7a560 cleanup the usage of logger in differents classes 2011-01-11 02:36:09 +01:00
Mathieu Virbel 6d5b8093ee context_instructions/instructions: use Cache to prevent multiple loading of the same image. 2011-01-11 02:35:51 +01:00
Christopher Denter 07aa623e6d Docs: first try to summarize a few reasons why one'd want to use kivy... 2011-01-11 00:13:28 +01:00
Christopher Denter 05ad229330 Merge branch 'master' of github.com:tito/kivy 2011-01-10 20:51:47 +01:00
Christopher Denter 5b5cf620d5 Quickstart: minor fix 2011-01-10 20:51:38 +01:00