[ANN] Kivy 1.7.0 released

1,820 views
Skip to first unread message

Mathieu Virbel

unread,
May 13, 2013, 5:36:49 AM5/13/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Hi everyone,

We are pleased to announce Kivy 1.7.0.

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



This is the last Python 2.7-only release. Kivy-ios and
python-for-android project have been updated to use the stable branch
instead of master.
From 1.8.0-dev on the default master branch will contain Python 3
support (from py3 branch). The next Kivy will support Python 2.7 and
3.3 using the same codebase.

Here is some features we want to highlight:

  - Garden. As some of you have seen on the documentation, Garden is a
place for the community that aims to centralize users' addons and
widgets for Kivy. We provide a tool to search, install in your
system or in your application layout, update, uninstall, garden
package.
If you want to participate and share your widgets with the
community, that's the way to go! Join us at:


  - Android emulator support. If you use python-for-android, cleaning
and updating the source code should give you the latest kivy
version whitch already supports the Android emulator (assuming it
has gpu acceleration activated).
We also support ETC1 texture compression format, which is the
standard on the Android platform.

  - ScrollView has been refactored: the scrolling part is now
separated as an effect, using a better physics calculation and
timing. Multiple effects are currently available, such as a
DampingScrollEffect (the default), and OpacityScrollEffect. This
design will allow us to implement Pull-and-release scrollview as
we're seeing on mobile (gmail, twitter etc.).

  - Kv Dynamic classes. Most users never understood why kv Templates
don't act the same as others widget, we'll not argue about
implementation details, but they are right, it wasn't good.
Dynamic classes allow you to create a widget class on-the-fly. The
syntax is very simple:

   <MyCustomButton@Button>:
   # usual rule content here.

It's equivalent to:

   class MyCustomButton(Button):
   pass

If you want to access it from Python, just use
Factory.MyCustomButton.

  - Tons on improvements on the core and widgets, such as:
- Initial support for Raspberry Pi
    - delayed label texture creation
- new color picker widget
- improved textinput with double / triple / quad tap to select
 word / line / all text
- extended padding and spacing properties to allow 1 / 2 / 4
 values to be passed
- new Texture.pixels and Texture.save() method, and Fbo.pixels
- '-' kv rule prefix to avoid applying previous declared rules
- Widget.ids that merge all the ids of applied rules available
 into that dict.

Note: PPA, Android applications and Raspberry Pi package will be
updated later during the week.


Changelog - 1.7.0
=================

Core
----

  - [#1020] new App.user_data_dir, where user can store app state
  - [#1047] new markup subscript/superscript
  - [#1145] fix numpad keys mapping in Window
  - Animation starts the timer at the first frame instead on start()
  - Enhance clock calculation to have less glitch and be closer to 60
FPS.
  - New VariableListProperty property that support 1, 2 or 4 values.
used for padding, spacing...
  - No more crash if no video core provider have been found
  - Refactoring event declaration, use __events__ instead of
register_event_type()
  - Refactoring properties storage into a Cython class instead of a
dict

Graphics
--------

  - [#1014] force Context.gc() to dealloc gl resources
  - add etc1 support for textures
  - fix Buffer memory allocation for block with the same size
  - fixes to support GL from Android emulator
  - fix shader warning when both vertex and fragment are set
  - new Fbo.pixels
  - new Matrix.project() for 3d to 2d transformation
  - new RenderContext use_parent_modelview and use_parent_projection
  - new Texture.pixels and Texture.save(fn)

Widgets
-------

  - [#1005] new Popup.title_size for title font size
  - [#1018] better Slider support for padding
  - [#1021] fix widget insertion with/without canvas.before
  - [#1032] fix Carousel animation when looping between 2 slides
  - [#1052] fix TextInput to allow ctrl+c work in readonly
  - [#1091] fix StackLayout spacing in multiple orientations
  - [#1122] improve splitter dragging
  - [#1140] fix ScreenManager when rotation is applied
  - [#1148] avoid freezing when a ModalView is open twice
  - fix DPI issues on Slider
  - introduce ScrollView effect, such as DampingScrollView and
OpacityScrollview
  - introducing ScatterLayout (which is same as RelativeLayout, but
based on Scatter)
  - new ColorPicker widget
  - new Scatter.translation_touches to allow translation only with X
touches
  - refactoring RelativeLayout with only translation
  - refactoring ScrollView, improved performance and behavior
  - TextInput now use double and triple tap to select word and line
  - TextInput select the whole text on 4 touches
  - Various changes for padding, spacing, for supporting 1, 2 or 4
values

Lang
----

  - introduce prefix '-' to avoid applying previous rules
  - new Dynamic classes, Templates are now deprecated

Inputs
------

  - fix doubletap behavior
  - new tripletap post-processor module

Others
------

  - [#1023] better inspector widget selection
  - [#1024] add font-size demo to showcase
  - [#1038] fix Gstreamer sound.seek()
  - [#1125] more fixes on listview examples
  - [#849] new kivywinescript to execute kivy python within wine
  - Garden project! Including kivy.garden and garden script
  - new kivy.storage api for storage abstraction (experimental)
  - Refactoring documentation
  - tons of documentation fixes by Zen-CODE!


A big thanks to Aleksandr Vladimirskiy, Alexandre Magno, Alexey
Smishlayev, Ben Rousch, Bob the Hamster, Donald Curtis, Edward
Delaporte, Gabriel Pettier, geeklint, Gipzo, Ian Foote, Imran Haque,
Jeff Pittman, Jonas Groeger, Joseph Lee, Krister Viirsaar, Matthew
Einhorn, Rene Horn, rogererens, Ryan Pessa, Thomas Hansen, Thomas-Karl
Pietrowski, Zen-CODE for this release!


--
Mathieu

Kenshin Fujiwara

unread,
May 13, 2013, 9:03:09 AM5/13/13
to kivy-...@googlegroups.com
Awesome updates and huge kudos to kivy team.

Is there any plan for supporting non-English text input like Japanese and Chinese on iOS and Android?

Akshay Arora

unread,
May 13, 2013, 11:36:00 AM5/13/13
to kivy-...@googlegroups.com
@Kenshin Hi,

TextInput for Kivy supports non english text input. However for languages that require special implementation like IME though we don't have any such support.

This is so in part because of unfamiliarity with such languages.
If  some one familiar with these wants to work on it then pull requests are always welcome.

At the very least we would need some one familiar with these languages to test and help guide towards the right approach.

Another Issue right now is support for non-left to right languages which is lacking, which would need to be resolved as well along with this.

On android though, cause the input management is done by the os one should be able to get input from keyboards like `google pinynime keyboard`. and then it's just a matter of choosing the right  font that has the glyphs you need. I just tested, and with the recent fixes to python-android... google pinynime keyboard works :).

Best Regrds


On Mon, May 13, 2013 at 6:33 PM, Kenshin Fujiwara <ensy...@gmail.com> wrote:
Awesome updates and huge kudos to kivy team.

Is there any plan for supporting non-English text input like Japanese and Chinese on iOS and Android?

--
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.



chris clark

unread,
May 15, 2013, 12:45:43 AM5/15/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
On Monday, May 13, 2013 2:36:49 AM UTC-7, Mathieu Virbel wrote:
We are pleased to announce Kivy 1.7.0.

I just installed 1.7.0 from Google Play.

The good news is https://github.com/kivy/kivy/issues/1191 appears to be resolved! sqlite3 is now available from the launcher :-)

The bad news is https://github.com/kivy/kivy/issues/1192 on screen text no longer works (at least on my Gingerbread phone) for Labels. What is interesting is that the Launcher list of application text does work and is visible.

Chris


fpp...@gmail.com

unread,
May 15, 2013, 4:13:39 PM5/15/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Hi,

Just a quick first impression :

I haven't looked into all the new stuff yet, just updated to 1.7 on my Android phone and tried out my app coded with 1.6...

two great news :

1) everything works just as before :-)

2)... except the one thing that wasn't working well, as everyone knows : scrolling. Now it does :-)

From the previous messages I was expecting some improvement... but this is not improvement, it is day and night !

Kudos to the team, I can't wait to find the time to explore all the new goodies...

PS: one thing that is not clear to me about upgrading on Android : is uninstalling Kivy launcher before installing the new one enough,
or should we also uninstall/reinstall python for android ?
TIA
fp

JF

unread,
May 15, 2013, 5:48:52 PM5/15/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Nice! I'll try it as soon as possible! 
I've been waiting for the scrollview refactoring for a long time !

Just a little question : is the support for the RaspberryPi merged into the Master branch or should I still use the branch "rpi-support"?

Thanks!

P.O

unread,
May 16, 2013, 9:21:19 AM5/16/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
+1 for raspberry, can we get a little bit more detail on how to have kivy run on rpi with this new release ?

keep up the good work, it is very promising :)

JF

unread,
May 16, 2013, 4:36:03 PM5/16/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
I compiled the master branch on the raspi successfuly but... it doesn't work, it says it can't find a window provider.
I looked in setup.py, there is no mention to the raspi.

And the rpi-support branch does not seem to be up to date.

But the release note says that it include an initial support for the rpi. So... did I miss something?

Le lundi 13 mai 2013 11:36:49 UTC+2, Mathieu Virbel a écrit :

Jean-François Milants

unread,
May 20, 2013, 6:23:25 AM5/20/13
to kivy-...@googlegroups.com
Ok, here are some news for the RaspberryPi!

I merged the branche master into the branch rpi-support, and fixed a little conflict in setup.py, compiled, and... it works!!!

I tried the demo application Touchtracer, with is working much, much, much better than before! On v1.5/1.6, it was laggy, it seemed to loose some move events,... and now, it's smoother, even in multitouch!

Now, I have to see how to correctly implement a scrollable list of buttons for my project!

In attachement, you'll find the final setup.py I used to compile kivy-1.8.0-dev on rpi.

Jean-François Milants


2013/5/16 JF <jf.mi...@gmail.com>
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/TyOzyLtYKMw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
setup.py

chris clark

unread,
May 22, 2013, 11:07:20 PM5/22/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
And issue 1192 is now fixed in the stable branch :-)

bryan cole

unread,
Jun 2, 2013, 3:33:17 AM6/2/13
to kivy-...@googlegroups.com
Hi, I have a question on raspberry-pi support: what are you doing for pointing input (mouse / touch-screen)? Kivy seems to work great on the rpi now, but outside of X, there no cursor. I'm wondering if there is an existing solution for this I've missed, or should I implement cursor-drawing myself.

Thanks,
BC

Akshay Arora

unread,
Jun 2, 2013, 8:25:21 AM6/2/13
to kivy-...@googlegroups.com
I think Mathieu stated in the release notes for rpi that cursor drawing isn't implemented, yet. You should be able to do that yourself though, using window.mouse_pos.

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.

Colonel Patch

unread,
Jun 11, 2013, 6:04:51 PM6/11/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Hi
Just read up on new kivy improvements and like what I see, especially the dynamic classes: just what I have needed for ages since first started with Kivy language at v1.3.

Like the new web site too- easier navigation and better exampling.

Well done guys.

Jump Jack

unread,
Jun 25, 2013, 11:39:54 AM6/25/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
How do I check which version is installed on my device?

Akshay Arora

unread,
Jun 25, 2013, 12:24:39 PM6/25/13
to kivy-...@googlegroups.com

The first line of any kivy app on the console is the version of kivy it uses.


[INFO   ] Kivy v1.8.0-dev



On Tue, Jun 25, 2013 at 9:09 PM, Jump Jack <jumom...@gmail.com> wrote:
How do I check which version is installed on my device?

Doug Linder

unread,
Oct 7, 2013, 9:02:20 PM10/7/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
Yay!

...although, it's a tiny bit of a misnomer to say it supports iOS, given you can't build kivy for ios at the moment (https://github.com/kivy/kivy-ios/issues/63)

~
Doug.

Paul Sephton

unread,
Oct 8, 2013, 3:25:28 AM10/8/13
to kivy-...@googlegroups.com, kivy...@googlegroups.com
On Tuesday, 8 October 2013 03:02:20 UTC+2, Doug Linder wrote:
Yay!

...although, it's a tiny bit of a misnomer to say it supports iOS, given you can't build kivy for ios at the moment (https://github.com/kivy/kivy-ios/issues/63)
 
This is rather terrible. One is forced to upgrade xCode to the latest version (a massive download) in order to support iOS5, and all the mobile devices out there automatically upgraded to iOS5 a few weeks ago.  This means that any Kivy apps that used to run on the iPhone, very suddenly stopped doing so, leaving us with no means of producing an iOS5 binary.

I sure hope that clang turns out to be compatible enough with llvm-gcc to compile all the external libs as well as the rest.  Hopefully it's just flags.

Mathieu Virbel

unread,
Oct 8, 2013, 3:33:45 AM10/8/13
to kivy-...@googlegroups.com
Aaah i didn't seen the issue before today, that's suck
I'll try to fix it asap.

Thanks

Le 08/10/2013 03:02, Doug Linder a �crit :

Carsten Thielepape

unread,
Jan 4, 2014, 12:09:38 PM1/4/14
to kivy-...@googlegroups.com, kivy...@googlegroups.com

Shouldn't we remove this topic from the sticky top posts? It's confusing as we are already on 1.7.2 ( and awaiting 1.8.0 :-) )
Reply all
Reply to author
Forward
0 new messages