Меnu:


In our previous article of the timeline also known as the missing wxWidgets sample we published all the source code of this versatile application. We have at least a couple of users. Today we are going to see what we can improve on the application.

From timeline to wxtimeline

At the time when we wrote the first part of the article, We should remember that the idea was to have the same functionality as palm memos, we firmly believe that we got the desired functionality. The logical question would be ¿why We have not called the application search_memos instead of timeline?. The reason is that at the time, we were not coming directly from Palm, but from Ruby On Rails , and we had made an application in Ruby On Rails that allowed us to get the functionality we were looking for1 in part one of this series , also the reader should know about the disadvantages of a web application . The reason we come to the timeline name, is because one of the main uses we gave the palm memos was to be able to track the various meetings we had with our customers, and something that palm memos were missing was the ability to show memos creation time, that kind of outcome gives us the git log today. That's the reason we decided to call our application timeline2 . We recently were playing around with GTK+ , from such explorations in GTK+ , we conclude that it would not be very difficult to migrate the timeline to a pure C language version with GTK+ . It is quite possible that in a future article, not so distant, we will be referring to a version of GTK+ , that being said we have decided to rename our timeline to wxtimeline and in the future we will have the timeline-gtk.

Users feedback

Also when renaming the application, we are taking into account some suggestions from our users. They asked us:

To attain the previous We will utilize a Zenity script that permit us to select the database We need to open. Concerning last, running the provision shockingly will make another database, on the off chance that it doesn't exist. At the point when needing an alternate database for an alternate subject simply rename the current database file name and the provision will make another database with the default name.

Zenity script:

cd ~/.wxtimeline
rm wxtimeline.log
files=$(ls  *.sqlite3)
result=$( zenity --list --column=caption $files)
TIMELINE_VAR=$result wxtimeline > wxtimeline.log 2>&1

Here at kipuamutay we are the main users of wxtimeline, we have a total of eleven different databases.

Improvements

An improvement coming from our side is the ability to use the entire screen space to maximize frames / dialogs. Just maximize the frame and watch the results by yourself.

Binaries for different platforms and distros

As all the source is public domain, for some developers is going to be very easy to create the binary for his/her platform. For those who do not want to compile the wxtimeline, they may use the already compiled binaries:

This is the Archlinux PKGBUILD content:

# Maintainer: sunshavi <sunshavi@yahoo.com>
pkgname=wxtimeline
pkgver=1.0
pkgrel=1
pkgdesc="wxtimeline, search your notes very easily"
arch=('i686')
url="http://www.kipuamutay.com/en/blog/"
license=('GPL')
depends=(wxgtk sqlite)
makedepends=(cmake)
source=(http://www.kipuamutay.com/downloads/$pkgname-$pkgver.tar.gz)
# update md5 with: updpkgsums
md5sums=('8a80da4ed22869ecca1ed930b06407af')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  cmake .
  make
}

package() {
        cd "$srcdir/$pkgname-$pkgver"
        install -m755 -d "$pkgdir"/usr/bin
        install -m755 wxtimeline "$pkgdir"/usr/bin
}

didactic Material

This time is a excellent opportunity for providing a vídeo2012 we did some time ago with the binary from the first part of this series.

Video url (click)

video

Conclusion

Our path from Palm memos to wxtimeline have been long, but has been also good.

Each wxtimeline use will use it for his/her own goals and purposes. Knowledge management is another use we give to the timeline. Let us know which ones are your use cases?

Footnotes

1. As Palm memos.

2. Show us the events by dates.

3. Ask for the binary by mail.

4. Use the PKGBUILD. makepkg in the folder where the PKGBUILD is located.

5. Anyone installing the deb on Ubuntu?, keep us informed.

Last change: 29.11.2022 19:38

blog comments powered by Disqus