[ANN] Kivy 1.6.0 released

771 views
Skip to first unread message

Mathieu Virbel

unread,
Mar 10, 2013, 3:45:35 PM3/10/13
to kivy...@googlegroups.com, kivy-...@googlegroups.com
Hi everyone,

We are pleased to announce Kivy 1.6.0.

Kivy is a full featured framework for creating novel and performant
user interfaces, such as multitouch applications, under the LGPL 3
license. The framework works on Windows, OSX, Linux, Android and iOS.
All downloads are available on the website:

http://kivy.org

Here is some features we want to highlight:

- Custom vertex format / initial 3d support: previously, our
internals graphics instructions was using a fixed vertex format,
with 2d position and 2d texture position: [x, y, u, v]. Now, we
can build custom vertex format such as 3d position, texture
position and normals.
This is a step to get a 3d pipeline. But this is not easy to use
it as an user, because you also need to create a new
RenderContext, and wrote your own vertex and fragment Shaders. We
are working on that. Check the examples/3Drendering for the
monkey, in addition to a OBJ loader.

- Support for paletted textures and PVRTC: if you want to optimize
the GPU memory consuption and reduce loading time, using paletted
texture or compressed textures is a good way. Paletted texture
support is only working on GLES devices. PVRTC support works on
any devices with PowerVR ship.
In addition, a new tool named "texturecompress.py" has been added
in kivy/tools, for compressing images into a compressed texture
format in a new .tex file. More information to come in a seperate
announcement.

- Text rendering improvement: we now support "justify" aligmement in
our core labels and labels widgets. Also, TextInput support a
"placeholder", useful to display some help when no text is
entered.


Note: PPA and Android applications will be updated later during the
week.


Changelog - 1.6.0
=================

Core
----

- [#1001] Add justify support for text alignment
- [#828] Fixed descriptor error in EventDispatcher.getattr
- [#886] Fixes memory leak when log_enable = 0 in config
- [#895] Fixes network image reloading
- [#902] Fixes Python strings for 2.6
- [#920] Fixes ImageIO crash if image cannot be loaded
- [#985] Fixes zip loader to skip errors
- Add support for GIF transparency in PIL
- Core logs are now reduced, and traceback is available only in
trace
- Enhance Clock to accept only callable() in schedule methods
- EventDispatcher can be weak-referenced
- Fixes image reloading when Window is resized on OSX
- Fixes Window fullscreen, even when the config is "auto"
- Fixes Window.screenshot for rotated window
- Improve Kv: avoid to parse on_* expression, just exec them.
- New MotionEvent.is_mouse_scrolling
- Rework Loader internals, limit to 2 threads workers and images
upload per frames

Graphics
--------

- [#913] Fixes Line.ellipse/circle instructions
- Add Texture support for paletted texture
- Add Texture support for PVRTC (iOS and PowerVR GPU only)
- Enhanced vertex format to allow custom format.
- Fixes crash on the Adreno 200 GPU / Android - force POT texture
- Reworked graphics vertex instructions to support custom format as
well

Widgets
-------

- [#863] Improve ListView usage with Kv language
- [#865] New Bubble.limit_to for limiting the bubble position
- [#868] Fixes Slider positioning when padding is used
- [#883] Fixes empty markup rendering
- [#916] Fixes cursor positionning in CodeInput
- [#921] Fixes Scrollview scrolling with mousewheel if it's disabled
- [#928] Image log an error when an image cannot be loaded
- [#937] Fixes BoxLayout.pos_hint for children
- [#940] Enhance TextInput bubble for long-press and readonly
- [#941] Fixes ProgressBar value boundaries
- [#954] Fixes GridLayout children size_hint
- [#959] Add ListAdapter.data property to allow changing the data
- [#961] Fixes ScreenManager green color to black in
ShaderTransition
- [#966] New TextInput placeholder
- [#989] Fixes Carousel positioning and reduce calculations
- Add mousewheel support on Slider
- Enhance TabbedPanel to allow no default tab
- Fixes for TextInput rendering glitch
- Fixes RelativeLayout.clear_widgets()
- Fixes ScrollView gesture ability on X when scrollview is Y only
(and the inverse)
- Fixes TextInput wrapping
- New (Async)Image.nocache no prevent caching (data, texture)
- New Screen events: on_pre_enter/enter/pre_leave/leave
- New ScreenManager.has_screen() method

Others
------

- Fixes inspector crash
- iOS: Updated SDL, launch images are now supported
- New 3D rendering example with lightning and a monkey
- Tons of fixes on Documentation !


A big thanks to Christoph Pittracher, Eowyn, Eric Man, Gabriel
Pettier, Ian Foote, Injo Luuvish Hwang, Jeff Pittman, Jeroen Doggen,
Mathieu Virbel, Oscar Ramirez, paulocheque, Petr Vanek, qua-non, Rene
Horn, Richard Jones, Rio Kierkels, Ryan Pessa, shayne, smishlayev,
tangofoxtrotmike, Thomas Hansen, Thomas-Karl Pietrowski, Tobias Macey,
Tyler Conrad and Zen-CODE for this release!

--
Mathieu
http://kivy.org/#aboutus

krister viirsaar

unread,
Mar 10, 2013, 6:56:07 PM3/10/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
cool, I wonder when new packages/launchers/virtualmachine will be released. No hurry, just hope they will be updated eventually :)

Mathieu Virbel

unread,
Mar 10, 2013, 8:40:53 PM3/10/13
to kivy...@googlegroups.com, kivy-...@googlegroups.com
As requested by some users for previous release, all the Android
applications have been updated, and published on Google Play. And all
the APK are uploaded on Google code as well.
This includes:
- Kivy launcher
- Kivy showcase demo
- Kivy pictures demo
- Kivy touchtracer demo

You can download them at: http://code.google.com/p/kivy/downloads/list

Enjoy,

Mathieu

2013/3/10 Mathieu Virbel <m...@kivy.org>:

skeezix

unread,
Mar 10, 2013, 10:18:13 PM3/10/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
On Mon, 11 Mar 2013, Mathieu Virbel wrote:

# As requested by some users for previous release, all the Android
# applications have been updated, and published on Google Play. And all
# the APK are uploaded on Google code as well.
# This includes:
# - Kivy launcher
# - Kivy showcase demo
# - Kivy pictures demo
# - Kivy touchtracer demo
#
# You can download them at: http://code.google.com/p/kivy/downloads/list

Thanks muchly :)

Any chance for something similar on iOS? I've got an iPhone but no
iOS tablet (got a 'droid tablet instead.) So I've seen these before on
Android, but never seen anytyhing Kivy on iOS .. so far, all the apps I
was aware of were either expensive costware, or iPad only.

Be nice to have the Kivy Launcher, but I bet Apple wouldn't allow
that ;)

jeff

--
If everyone would put barbecue sauce on their food, there would be no war.

MintyAnt

unread,
Mar 10, 2013, 10:55:35 PM3/10/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Glad to see the update!

> - [#863] Improve ListView usage with Kv language 
:)

I'm also very happy to see the android kivy launcher updated so quickley. I was having trouble pushing my own android build, this will make my life easier.

Thanks for keeping this amazing library updated devs!

Mathieu Virbel

unread,
Mar 10, 2013, 11:09:18 PM3/10/13
to kivy-...@googlegroups.com
We have commercial apps on iOS, but i never tried to push demo on the
app store. Even the launcher (which is done in Java anyway).

As for providing something similar to APK, ios have IPA. But the IPA
need to be signed for every device that want to install it. You can
understand that i can't do it :) Also, a simple dev is limited to manage
100 devices. You can remove device after signing anyway... but that's a
mess. So no IPA as well.

I do provide IPA of some app i'm doing when people request for it, only
for opensourced project :)

Mathieu

Le 11/03/2013 03:18, skeezix a �crit :

skeezix

unread,
Mar 10, 2013, 11:38:34 PM3/10/13
to kivy-...@googlegroups.com
On Mon, 11 Mar 2013, Mathieu Virbel wrote:

# We have commercial apps on iOS, but i never tried to push demo on the
# app store. Even the launcher (which is done in Java anyway).
#
# As for providing something similar to APK, ios have IPA. But the IPA
# need to be signed for every device that want to install it. You can
# understand that i can't do it :) Also, a simple dev is limited to manage
# 100 devices. You can remove device after signing anyway... but that's a
# mess. So no IPA as well.
#
# I do provide IPA of some app i'm doing when people request for it, only
# for opensourced project :)

No, no, making _more_ work for you is hardly wise :)

I'm sure Apple would bounce any generic launcher app; they'd
probably bounce a "Hello World" button app too. The 'kitchen sink' demo
app however has some meat on it, so it _might_ pass...

An app like .. whatshis particle engine port to Kivy might be
somethign they'd publish. MemoryKivy little game is the same as 900 other
iOS little games, so they coudl arbitrarily bounce or accept it .. butit
coudl be a little thing.

Me, I'd just like to see _anything_ Kivy work on my phone, just to
know it really does work :)

Thomas Pietrowski

unread,
Mar 11, 2013, 5:41:57 AM3/11/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Great! PPA, OBS ad COBS will be updated soon. All builds are in progress at the moment. Hope there will be no problems.

Happy hacking!

Thomas Pietrowski

unread,
Mar 15, 2013, 7:29:20 PM3/15/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Very important message to all who are using our PPA on Ubuntu:

Currently there is a problem with another software, called Cython, which is used to generate C/C++ code, which is later on compiled by a compiler.
But as 1.6.0 was released, Cython got corrupted and will make Kivy crash anytime it is imported into your code.

We are working on that problem and hope we get it fixed as soon as possible, while getting in contact with the Cython developers to find a solution for this problem.
If you are interested to help out in testing and being up-to-date in this fixing process, just take a look at https://github.com/kivy/kivy/issues/1004 and feel free to join the conversation.

It also includes a quick instruction to rebuild the source package on your computer. Resulting *.deb-packages can be installed as usual and should work as an older Cython is installed on your system, than the latest which is corrupting our builds at the moment.

Sorry for the inconvenience.

Regards,
Thomas-Karl Pietrowski

ohara

unread,
Mar 16, 2013, 7:22:47 AM3/16/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Hi Mathieu, 

great work, the new option to justify text is very useful in 1.6.0. 
One question: should I be able to use the current virtualbox image to create the android .apk files with the new version? I have tried a couple using the new justify option and the python files seem to work on my pc (using the 1.6.0 kivy) but the built .apk files (which seem to build properly using the current virtualbox machine) don't open on my android device. I am probably doing something wrong mind you. 

thanks, 
Peter

Akshay Arora

unread,
Mar 16, 2013, 8:39:26 AM3/16/13
to kivy-...@googlegroups.com
Hei Ohara,

The Readme.txt file on the desktop of the VM mentions how to upgrade your distribution to include the latest code from kivy and other sources.

Namely you need to call `git clean -dxf`(beware this might delete any of your local changes to python for android) and then re-build your distribution and apk.

Best Regards


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

ohara

unread,
Mar 16, 2013, 10:09:17 AM3/16/13
to kivy-...@googlegroups.com
Hi Qua-non,

thanks for your quick reply,

I did the git clean -dfx from within the python-for-android directory (the only one I found that this git command worked without giving a 'fatal: not a git repository' error.

The ./distribute.sh command worked after I deleted the dist, default directories within the python-for-android folder.

I am not sure if what I did is correct, but when I ran:

python -c 'import kivy; print kivy.__path__'

it replied: [INFO ] Kivy v1.5.2-dev
['/home/kivy/code/kivy/kivy']

do I need to delete the files in /home/kivy/code and update these somehow before running the ./distrubute.sh command?



many thanks,
Peter

Akshay Arora

unread,
Mar 16, 2013, 10:14:32 AM3/16/13
to kivy-...@googlegroups.com

The Kivy that is used for building the apk is different from the kivy present in the ~/code/kivy folder

The Kivy in the ~/code/kivy folder is provided just in case some one wants to experiment with writing code in the vm. You can update that Kivy by running `git pull` in ~/code/kivy dir.

Although that isn't necessary if you are just looking to update kivy used for building the apk.

Best Regards

a11...@gmail.com

unread,
Apr 2, 2013, 9:05:05 AM4/2/13
to kivy-...@googlegroups.com

sorry for my very bad english (i'm french)
I try to install and run Kivy 1.6.0 on macosx 10.6 snow leopard ( 64 bits processor , Python 2.7.3)
 
1-with the .dmg install , kivy boot , but after dragging an application (main.py file) , nothing to see !!! (only kivy in the dock)
2-i install kivy (after Cython and pygame)  with easy_install on my Python 2.7.3 framework , but when i run a script in idle , many errors appear..  ('register no found...')
(all the examples requires 1.0.6 version ?)

for windows (XP) , and Android , it's OK.
thanks for your remarks
Best Regards 
Y.B.
Reply all
Reply to author
Forward
0 new messages