Planet maemo: category "feed:a5799af9ac17abc99d28d8047c32e427"

Benoît HERVIER

PyGTKEditor 3.0.9

2010-01-22 12:43 UTC  by  Benoît HERVIER
0
0

PyGTKEditor 3.0.9-2 is available in extras-testing. This new version include bugs fix and a new welcome screen instead of a new empty file.

The list of bug fixs since version 3.0.2 (the version available in extras) :

• Version 3.0.2 :
◦ Prefs : default language
◦ Prefs : default language
◦ Prefs : Auto rotate option
◦ Prefs : font and text size
◦ Prefs : enable or not word completion
◦ Fix Bug #6522
◦ Fix Bug #6547
◦ Fix Bug #7021

• Version 3.0.3 :
◦ Fix Help Bug

• Version 3.0.4 :
◦ Prefs : indent size
◦ Welcome screen
◦ Recent Chooser Change
◦ Prefs show lines numbers

• Version 3.0.5 :
◦ Fix 2 syntax errors

• Version 3.0.6 :
◦ Fix None default language : #8074
◦ Detect .txt as text file (no syntax hilight)

• Version 3.0.7 :
◦ Fix uncomplete preference file
◦ Fix icon in package
◦ Fix help windows title

• Version 3.0.8 :
◦ Fix syntax error

• Version 3.0.9 :
◦ Keep last opened folder when opening or saving file instead of going to MyDocs folder by default
◦ Remove saveas menu from welcome screen
◦ Fix Bug #8837
◦ Add errors message when not able to open or decode file
◦ Fix apply prefs for lines numbers
◦ Fix recent file change in main
◦ Fix back to begin search when there is 2 results only
◦ Fix order of recent files

Of course do not hesitate to report any bugs you get on http://bugs.maemo.org or vote for it on http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/pygtkeditor/3.0.9-2

Categories: Dev
Benoît HERVIER

mNotes 2.0.0 Preview

2010-01-12 23:33 UTC  by  Benoît HERVIER
0
0

While i’m still working on PyPackager, PyGTKEditor and others projects. I’m finishing an other one for first Fremantle release.

mNotes is a Notes Application, specially designed for Maemo Devices. It s feature a synchronization with a web server.

It s feature :
– auto link between notes.
– auto indent
– search
– undo / redo
– fullscreen
– auto rotation
– font/size preferences
– and Synchronization !

It s still in developpment. And some feature aren’t yet implemented :
◦ search in note and hiligh when opening global search
◦ Windows Version (Currently in developpment)
◦ Linux Version
◦ Web Version (Currently in developpment)

Some optimizations is needed :
◦ Defering Optimize
◦ Refactoring mnotes_window.py (window.py + editor.py)

Currently synchronization is working with the web server, but there is still need to save feature of the web online editor.

Categories: Maemo
Benoît HERVIER

For this we will use the new pypackager 3.0. There isn’t currently no graphical interface (but the UI will be available in version 3.1).

Click to read 1084 more words
Categories: Dev
Benoît HERVIER

PyGTKEditor is now availaible in fremantle extras-testing repository.

This is the first release for Fremantle. And this is also a complete rewrite from scratch. Right now the syntax hilight parser isn’t really optimized. But it ll be for a next release.

Do not forget to test and vote for it on Maemo Testing QA

Some screenshots :

Features in release 3.0.0 :
• Saveas
• Open
• Help
• Execute
• Close ask when not saved
• Duplicate line
• Add/Remove comment
• Indent/Unindent
• Auto indent
• Search
• About

Available shortcuts
• Ctrl-O : Open file
• Ctrl-S : Save file
• Ctrl-W : Close file
• Ctrl-I : Show file info
• Ctrl-Z : Undo
• Ctrl-Y : Redo
• Ctrl-D : Duplicate Line
• Ctrl-F : Find
• Ctrl-R : Replace
• Ctrl-A : Select All
• Ctrl-E : Execute
• Ctrl-H : Show help

Hilighted “Languages”:
• R
• Ada
• C
• Changelog
• C++
• CSharp
• Desktop (.desktop)
• Css
• Diff (diff)
• Fortran
• Gtkrc
• Haskell
• Html
• Idl
• Ini (.ini)
• Java
• Javascript
• Latex
• Lua
• Makefile
• Markdown
• Msil
• Nemerle
• Octave
• Pascal
• Perl
• Php
• Po
• Python
• Ruby
• Scheme
• Sh
• Tcl
• Texinfo
• Vbnet
• Verilog
• Vhdl
• Xml

The roadmap
• Version 3.0.5 :
◦ Jump to line feature
◦ Welcome screen

• Version 3.1.0 :
◦ Prefs : indent size
◦ Prefs : font and text size
◦ Search and replace feature
◦ Optimization of the syntax hilight parser

• Version 3.3.0 :
◦ Plugins
◦ Snippet

Categories: Dev
Benoît HERVIER

PyGTKEditor 3.0 is still in development

2009-11-13 20:17 UTC  by  Benoît HERVIER
0
0

I’m still working on the version 3.0 of PYGTKEditor.

For those which don’t know what is this application, let me resume it in few words : PyGTKEditor is a small source editor specially designed for onboard developpers.

PyGTKEditor 3.0 is a complete rewrite from scratch. Indeed, gtksourceview isn’t useable with PannableArea without a rewrite. Why using a PannableArea ? Because scrolling with small scrollbar is a pain on small interface. And using large scrollbar eat too many space on the screen, specially when re#ing source code. The other things which push me to rewrite it, is the graphical change in the Fremantle’s interface, which make many things hard to use, like the menu for example.

Currently the development is a bit slow as i ve to rewrite a complete source code parser for hilight, which is done now in full python. But as now the parser is written, open/save is working it ll be a bit faster.

The roadmap is the following :
- Support all language supported by gtksourceview for the hilight (DoneJ
- Save/Open/Open Recent (Done)
- Shortcut
- Execute python script from the editor
- Undo/Redo manager (done)
- Help
- Auto rotation based on accelerometers (Done)
- Icon
- Package
- Set mime type for hildon manager

- Search/Replace

Some screenshots of the current developpment version :

And if you have some features request, do not hesitate.

Categories: Dev
Benoît HERVIER

Not enought space on device

2009-10-28 21:09 UTC  by  Benoît HERVIER
0
0

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()

A little screenshot :

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: Maemo
Benoît HERVIER

HomeIP for Fremantle

2009-10-16 06:22 UTC  by  Benoît HERVIER
0
0

I’ve take time to port homeip to fremantle. Currently i haven’t been able to make a transparent background.

It s available in extras-devel but it s could be unstable.
Warning do not use extras-devel repository on a device. You can brick it.

Categories: Dev
Benoît HERVIER

Sfr and n900

2009-10-14 07:07 UTC  by  Benoît HERVIER
0
0

Using sfr 3G connections with an n900 require that you change some parameters if you have only a ‘Pass Surf’ option in your contract.

First in the connection manager you need to select your mobile connection and change the AP. Instead of websfr use wapsfr.

As wapsfr is restricted to http,https, and dns you can t use all features available on n900 like instant messaging or email.

There is also another restriction using wapsfr means that you also use the wapsfr proxy which doesn’t answer to request from unknow mobile user agent or desktop user agent. For example the proxy deny any request if the user agent contain the word ‘firefox’. So you need to change the user agent for something else by using about:config. For example i use : ‘Nokian95′, but you can also use the iphone user agent.

Categories: Maemo