It has been a really long long long time since my last post and I'm really sorry for that, but I have good news! I finally managed to build Jake-PyQT4 on both Windows and Linux platforms, and create a single executable file that can be run without having to install Python, PyQt4, Xlib, pyHook, PyWin32 nor any other dependency! Isn't that great?
I'm sorry for Mac users, but right now I'm trying to release for Windows and Linux. But don't worry, code runs just fine, so the only show-stopping "bug" is an app that will let me create a single standalone file that could be ran on Mac OS. I don't know how exactly does Mac manages executable files, but I'm looking at py2app. You'll soon have a release too ;)
Here goes some info. The executable file for Linux was made with cx_Freeze and MakeSelf and it's final size is 4,8mb. On Windows the executable file was created with cx_Freeze, 7z and SFX 7z module, I'm still having some small problems with UPX, but that isn't that important as this only causes a little bigger size (we're talking about ~1mb)
And here goes the full list of changes that I made since my last post:
* Some fixes in the TAB autocompleter. Several crashes were fixed.
* A lot of fixes in the locale system. Missing imports, some strings weren't unicode, etc.
* Now skins and folders can be stored in users folder. This way users can create their own plugins/skins and test them.
* Some more changes in the config system. Most of them related to the combo control.
* I worked for a week on an updated, but it seems that I won't be able to make Jake-PyQT4 autoupdate itself. The best that I can do for now is to show a message telling the user that there is an update, a short description of the update and a button to download the update. Maybe the download will be made by my own QDownloader.
* I moved pyXhook and pyHook outside of Jake-PyQT4. Now if you want to run from source you'll have to read the INSTALL file and install all dependencies.
* Nanotube finally upgraded pyHook and made it compatible with Python 2.7 Thanks!
* Some problems with the focus on Windows were fixed, but there might be left one. Please test when you get binaries, and report.
* Red, Green and Blue skins were removed because they don't look good (for now). As soon as they look good they will be merged again.
* I wrote my own svn2log script. You can have a look at the output of that script here. This way you can track all the changes that I make.
I hope you're wishing to test my app! It will be here in a few days :)
I'll write again when I'll be releasing it. Until then, have fun.
Bye!
Mostrando entradas con la etiqueta python-xlib. Mostrar todas las entradas
Mostrando entradas con la etiqueta python-xlib. Mostrar todas las entradas
jueves, 9 de septiembre de 2010
domingo, 22 de agosto de 2010
Almost there...
Last time I wrote a lot of things were in the to-do list. But now I'm glad to announce that Jake-PyQT4 is almost ready for a first release!
There are still some things that I'd like to patch before releasing, and also fix a little bit the default skin. It's not that ugly, but I'd like to have a designer doing that part, and I just didn't thought about it but Andrew's sister is a designer, so maybe she could help me :)
And here is the list of things that I added/fixed since last week:
* Configuration system was rewritten, and also all plugins. Now plugins have two main lists. One is for how the config dialog should look. The second one is for the default values (or the stored values in user's hard drive).
* Total rewrite of how config files are saved/loaded. Now only really important things are written to disk. That means less space in disk and major load/save speed :p
* Total rewrite of the part where combobox where created. I was saving the index of all combos, and that was totally wrong. Now values are saved.
* Total rewrite of plugins system. Don't crash if one plugin fails to load (or maybe bad coded, missing libs, etc). Also, show info about what plugin crashed, what line and why.
* Total rewrite of how moving the cursor left/right is handled. No more weird html inserts! Special thanks to girishr from #qt in Freenode
* Major speed improvements on how cursor is managed, things done after hit, after hit, etc...
* A lot of code was moved to it's own class/file to make code more cleaner and easy to read. Also a lot of unused imports were removed (yes, more speed :p)
* More control when doing cut/copy/paste. Now only available-for-edit text can be cut.
* A global event filter was created! That filter manages all keyboard/mouse events and sends them to the right control.
* A bug was sent to Nokia, so they can fix it. The bug that I'm talking about is that weird behavior when moving a tab inside the tab widget. A cut-effect caused by a wrong rect size. You can see the bug report here.
* Now auto complete works everywhere instead only at the beginning of a command.
As you see I haven't wasted any time, and even more features are coming soon ;)
I should do some things before releasing. Here is a list:
* Check if it's possible to read/write to disk (that will let users to store their plugins settings and also update Jake-PyQT4)
* Check for updates and update if newer version is available.
* Fix a little bit the default skin.
Once those three things are done, I'll wait a little bit more for mgrant to release python-xlib 0.15 and nanotube to release pyHook compatible with Python 2.7
If no releases, I'll release with current python-xlib 0.15rc and with pyHook compatible with Python 2.6 (that will force me to release everything on Python 2.6 instead of 2.7).
I'll probably write again next weekend. Until then have a good time and enjoy the summer!
Bye!
There are still some things that I'd like to patch before releasing, and also fix a little bit the default skin. It's not that ugly, but I'd like to have a designer doing that part, and I just didn't thought about it but Andrew's sister is a designer, so maybe she could help me :)
And here is the list of things that I added/fixed since last week:
* Configuration system was rewritten, and also all plugins. Now plugins have two main lists. One is for how the config dialog should look. The second one is for the default values (or the stored values in user's hard drive).
* Total rewrite of how config files are saved/loaded. Now only really important things are written to disk. That means less space in disk and major load/save speed :p
* Total rewrite of the part where combobox where created. I was saving the index of all combos, and that was totally wrong. Now values are saved.
* Total rewrite of plugins system. Don't crash if one plugin fails to load (or maybe bad coded, missing libs, etc). Also, show info about what plugin crashed, what line and why.
* Total rewrite of how moving the cursor left/right is handled. No more weird html inserts! Special thanks to girishr from #qt in Freenode
* Major speed improvements on how cursor is managed, things done after
* A lot of code was moved to it's own class/file to make code more cleaner and easy to read. Also a lot of unused imports were removed (yes, more speed :p)
* More control when doing cut/copy/paste. Now only available-for-edit text can be cut.
* A global event filter was created! That filter manages all keyboard/mouse events and sends them to the right control.
* A bug was sent to Nokia, so they can fix it. The bug that I'm talking about is that weird behavior when moving a tab inside the tab widget. A cut-effect caused by a wrong rect size. You can see the bug report here.
* Now auto complete works everywhere instead only at the beginning of a command.
As you see I haven't wasted any time, and even more features are coming soon ;)
I should do some things before releasing. Here is a list:
* Check if it's possible to read/write to disk (that will let users to store their plugins settings and also update Jake-PyQT4)
* Check for updates and update if newer version is available.
* Fix a little bit the default skin.
Once those three things are done, I'll wait a little bit more for mgrant to release python-xlib 0.15 and nanotube to release pyHook compatible with Python 2.7
If no releases, I'll release with current python-xlib 0.15rc and with pyHook compatible with Python 2.6 (that will force me to release everything on Python 2.6 instead of 2.7).
I'll probably write again next weekend. Until then have a good time and enjoy the summer!
Bye!
Etiquetas:
autocomplete,
config system,
mgrant,
nanotube,
nokia,
plugins system,
pyHook,
python-xlib,
release,
skin,
updates
Suscribirse a:
Entradas (Atom)