Planet maemo: category "feed:a5799af9ac17abc99d28d8047c32e427"

Benoît HERVIER
Khweeteur 0.5.17-1 Available For Testing

I' ve just push the version 0.5.17 of Khweeteur to Maemo Extras Testing repository. For those using previous version (<0.5.0). It s a major change, as i've rewrite it from scratch. For those who don't know what is Khweeteur, it s a small twitter client for Maemo and MeeGo with the following features :

  • Multi Account Support (Twitter and Identi.ca)
  • Notification for DMs or Mentions (can works in background)
  • Twitter Lists
  • Searchs
  • GPS Position in tweet (Optionnal)
  • Reply, Retweet, Favorite, Follow/Unfollow user, Delete your tweet
  • Twitpic picture upload
  • Automatic shorten url with bit.ly (Optionnal)
  • Automated Crash Reporter
  • Tweet post delayed if no network coverage until network available
  • Low network bandwith use
  • Theme support

 Khtweeteur Theme CoolGrey  Khtweeteur Theme CoolWhite
 Khtweeteur Theme Default

This version will only reach Maemo Extras repository with your help. So please test it, vote, and report bug or feature request.

Git Repository :: Maemo Packages :: Khweeteur Bug Tracker

Categories: articles:maemo
Benoît HERVIER
Khweeteur Next Release 0.5.0 : Progress Report

As many users ask me how the development of the next Khweeteur is going on i'm creating this post.

I've play with QML for the UI, but to be honest, QML isn' t ready yet to be use for something else than short demo. Indeed no components was release yet. This mean that a developer should do everything himself. For example, on a button you must design it yourself, and also design the feedback give to the user. Also, if you are using listView, without fixed height, there is a huge cpu use to calc everytimes the height of rows. So the result is that the scrolling isn't smooth compared to a custom delegate where you can cache the size. Even if it s a bit faster in fullscreen, this mean that you should also write yourself a custom status bar for closing or switching app.

All this reasons plus the fact i didn't really like the syntax push me to come back to a QWidget UI.

The next release of Khweeteur use a daemon for retrieving and sending post. This daemon can run all time to provide notifications on new tweets, dm, or mentions while the ui isn't running. Of course this is optionnal. The communication between the daemon use dbus and so didn't require to create thread on the ui, which use less memory and cpu. This result on a faster ui, while the daemon do the hard work in background.

Currently only basic features are coded :

  • Posting tweets
  • Retweeting
  • Retrieving Timeline, mention and dms
  • Reply
  • Notifications
  • Toolbar badge notification
  • Opening tweet urls
  • Preferences with theme : Support now multi account with preferences to said if acocunt should be used for post or not, use webkit for oauth and doesn't require anymore to copy paste the oauth pin code

Planned features still need to be coded before release :

  • Lists
  • Search
  • Favorite
  • Follow
  • UnFollow
  • Delete of your own tweet

I've try to keep the ui simple with easy access to features. The toolbar displays action possible depending on context :

  • Home : Which give quick access to timeline, mention, dm, search and list with a badge to notify user of update

  • Edit : To post a new tweet, a twitpic, or a reply

  • Action : Which is show when selecting a tweet

To follow the development take a look on http://gitorious.org/khweeteur in the experimental branch. Your are also welcome to participate if you want.

It's true that development progress slowly, as i didn't have many free time to code, specially as i'm still looking for a full time job as python developers with partial telecommuting possibilities near Paris.

Categories: articles:maemo
Benoît HERVIER
QBadgeButton a QPushButton with a counter badge
Click to read 1368 more words
Categories: articles:maemo
Benoît HERVIER

Khweeteur 0.1.0

2010-12-14 18:39 UTC  by  Benoît HERVIER
0
0
Khweeteur 0.1.0

A new release of Khweeteur is available in Maemo Extras-Devel repository. Of course warning of using extras devel apply here :) There are major changes :

  • It use now the PySide binding instead of the PyQt one. Secondly
  • I've change signal and slot to use the more pythonic way called 'new signal style'
  • Some changes have been made in the cache format for a faster twitter api answer parsing

So this new version haven't real new features for end user, but bring more speed, less bandwith use, and more stability ( except for using the PySide 1.0.0 beta binding).

So if you don't fear having a breaked version of Khweeteur, do not hesistate to use it, and report bug on the bug tracker. Else wait a bit that bugs are found and fixed.

In the same time, if your company or you heard about a company, which are looking for a python developer. I'm looking for a new job opportunitie in Paris (France) or with teleworking possibilities. Do not hesitate to contact me by email.

Categories: articles:maemo
Benoît HERVIER

KhtEditor 0.0.11

2010-11-08 09:34 UTC  by  Benoît HERVIER
0
0
KhtEditor 0.0.11

A new version of KhtEditor has been release to maemo extras-devel repository. This new version use now a QPlainTextEditor, and so improve the memory footprint, this version also fix errors due to accent in filename, as now filename are managed as Unicode as it should. I've also made some change how brace matching is displayed, so it s now faster too.

For those who don't know what is KhtEditor, it s a code editor designed for coding directly on your Maemo device. So it s try to be fast, and ease life of on-board developers. While it s mainly optimized for python developpers, it supports syntax highlight for many languages (see http://khertan.net/khteditor for more informations).

I'll use this version during a week, and if no errors occurs i'll probably push it to the extras-testing repository. Please do not hesitate to test it and report me error if one occurs. Suggestions are also welcome.

Categories: articles:maemo
Benoît HERVIER

KhtEditor 0.0.11

2010-11-08 09:34 UTC  by  Benoît HERVIER
0
0
KhtEditor 0.0.11

A new version of KhtEditor has been release to maemo extras-devel repository. This new version use now a QPlainTextEditor, and so improve the memory footprint, this version also fix errors due to accent in filename, as now filename are managed as Unicode as it should. I've also made some change how brace matching is displayed, so it s now faster too.

For those who don't know what is KhtEditor, it s a code editor designed for coding directly on your Maemo device. So it s try to be fast, and ease life of on-board developers. While it s mainly optimized for python developpers, it supports syntax highlight for many languages (see http://khertan.net/khteditor for more informations).

I'll use this version during a week, and if no errors occurs i'll probably push it to the extras-testing repository. Please do not hesitate to test it and report me error if one occurs. Suggestions are also welcome.

Categories: articles:maemo
Benoît HERVIER

Khweeteur 0.0.36

2010-09-24 11:56 UTC  by  Benoît HERVIER
0
0
Khweeteur 0.0.36

A new version of Khweeteur is now available in extras-testing. Since the last Khweeteur version 0.0.29 (The previous one available in extras-testing) there are some changes :

  • 0.0.36-1 : Fix retweet of me, fix notifications, add ctrl-r (update), ctrl-a (reply), ctrl-up (scroll to top) and crtl-bottom (scroll to bottom) shortcuts, Add auto focus on text field when key pressed
  • 0.0.35-1 : Optimize timeline refresh.
  • 0.0.34-1 Fix error when you double click on a tweet.
  • 0.0.33-1 : Fix for notifications (But callback still broken), Add replyto display option, fix a few minor bugs, refactor the refresh of status, improve the ReTweet support.
  • 0.0.32-2 : Fix for notifications (But callback still broken), Add replyto display option, fix a few minor bugs, refactor the refresh of status, improve the ReTweet support. Benoît HERVIER 2010-09-16 18:31 UTC
  • 0.0.31-2 : Fix for notifications (But callback still broken), fix for ReTweet support, Add an option for auto rotate.
  • 0.0.30-1 : Fix segfault
  • 0.0.29-1 : Fix segfault, add timeout exception, closing main window close also search, implement coolgray and coolwhite theme, some cleaning

I hope you will enjoy this new version, do no hesitate to report bugs or suggestion to the Khweeteur Bugs Tracker.

This new version is now waiting your vote to reach the Extras repository on Khweeteur on Maemo Packages Interface

Categories: articles:maemo
Benoît HERVIER

Khweeteur 0.0.36

2010-09-24 11:56 UTC  by  Benoît HERVIER
0
0
Khweeteur 0.0.36

A new version of Khweeteur is now available in extras-testing. Since the last Khweeteur version 0.0.29 (The previous one available in extras-testing) there are some changes :

  • 0.0.36-1 : Fix retweet of me, fix notifications, add ctrl-r (update), ctrl-a (reply), ctrl-up (scroll to top) and crtl-bottom (scroll to bottom) shortcuts, Add auto focus on text field when key pressed
  • 0.0.35-1 : Optimize timeline refresh.
  • 0.0.34-1 Fix error when you double click on a tweet.
  • 0.0.33-1 : Fix for notifications (But callback still broken), Add replyto display option, fix a few minor bugs, refactor the refresh of status, improve the ReTweet support.
  • 0.0.32-2 : Fix for notifications (But callback still broken), Add replyto display option, fix a few minor bugs, refactor the refresh of status, improve the ReTweet support. Benoît HERVIER 2010-09-16 18:31 UTC
  • 0.0.31-2 : Fix for notifications (But callback still broken), fix for ReTweet support, Add an option for auto rotate.
  • 0.0.30-1 : Fix segfault
  • 0.0.29-1 : Fix segfault, add timeout exception, closing main window close also search, implement coolgray and coolwhite theme, some cleaning

I hope you will enjoy this new version, do no hesitate to report bugs or suggestion to the Khweeteur Bugs Tracker.

This new version is now waiting your vote to reach the Extras repository on Khweeteur on Maemo Packages Interface

Categories: articles:maemo
Benoît HERVIER

Khweeteur 0.0.28

2010-09-14 07:58 UTC  by  Benoît HERVIER
0
0
Khweeteur 0.0.28

Khweeteur is a small Python Qt4 twitter and identi.ca client for #Maemo and #Meego. The main goal of Khweeteur is to stay simple and easy to use.

The version available in extras-testing provide the following features :

  • Support oauth
  • Unify replies, retweet, timeline and mentions in the same view
  • Reply, Retweet, Search (with save), Follow/Unfollow and destroy a status
  • Theme : 4 themes are currently available
  • Automatic crash report to the bu tracker
  • Bit.ly for short url
  • Tweet serializatiom
  • unicode (support all charseta)
  • Auto refresh
  • Hildon Notification (Notification like the email client)
  • Portrait and landscape @ode (Auto rotation)
  • Open url contai in tweet with browser




Of course suggestions are welcome, on the bug tracker : Khweeteur Bug Tracker
And do not forget to vote for it on : Khweeteur 0.0.28 on Maemo.org Packages Interface

Categories: articles:maemo
Benoît HERVIER

PyPackager HowTo

2010-08-21 12:53 UTC  by  Benoît HERVIER
0
0
PyPackager HowTo
Click to read 2232 more words
Categories: articles:maemo
Benoît HERVIER

MOptinagi - found unoptified packages

2010-08-20 16:54 UTC  by  Benoît HERVIER
0
0
MOptinagi - found unoptified packages

Installing packages and applications on n900 from extras-devel or extras-testing result most of the time on a nice error : ‘Not enougth space on device’. This happen most of the time because you have installed package which aren’t yet optified.

Found this packages isn’t easy. This is why i ve made this little script which is not optimal. It takes a long time to process all packages and files.

moptinagi.py
import commands
import os
import hildon
import gtk
 
details = ''
less = ''
 
r = commands.getoutput("/usr/bin/dpkg --get-selections")
packages = r.rsplit('\n')
for index,package in enumerate(packages):
  print 'Processing packages ',index,' on ',len(packages)
  #print package.split('\t')
  s = package.split('\t')
  if s[(len(s)-1)] == 'install':
    pkg_files = commands.getoutput("/usr/bin/dpkg -L "+s[0]).split('\n')
    pkg_size = 0
    for pkg_file in pkg_files:  
      #pkg_size = 0
      if ('/opt' not in pkg_file) or ('/home' not in pkg_file):
        try: 
          st = os.stat(pkg_file)
          if st.st_blocks > 0:
            details = details + '\n'+  s[0]+':'+pkg_file+':'+str(st.st_size/1024)+'Kb'
            pkg_size = pkg_size + st.st_size
        except:
          pass
    less = less + '\n' + s[0] + ' : '+str(pkg_size/1024)+'Kb'
 
print less
w = hildon.Window()
p = hildon.PannableArea()
t = hildon.TextView()
 
p.add(t)
w.add(p)
total = less+'\n\n\n'+details
t.get_buffer().set_text(total)
w.show_all()
 
gtk.main()

Just to be clear, i didn’t blame any developpers to not optify their packages. I understand why Nokia keep root fs on a fast nand. But a so small one is a real pain for everyone, users and developpers. I just hope that apps and libs will be optify in a short delay.

Categories: articles:maemo
Benoît HERVIER

Display a Conboy note on your desktop

2010-08-20 16:43 UTC  by  Benoît HERVIER
0
0
Display a Conboy note on your desktop
Click to read 1098 more words
Categories: articles:maemo