Active Topics

 



Notices


Reply
Thread Tools
Posts: 509 | Thanked: 522 times | Joined on Aug 2010 @ indonesia
#71
did u fix it for missing icon on fremantle,
4 full size and bold or normal icon.

thanx grea application
 
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#72
Originally Posted by computerinfo21 View Post
Anyone heard when an update to the newest Zim (0.52) might happen, or if someone else would be willing to pick up the project if maacruz doesn't have time to contine it?
I don't have much time, but if it is pretty simple to update I might be able to with some guidance.
Thanks
I've just tried to give it a go, and no release over 0.49 works, so it has to be fixed first.
Can you program in python and gtk?
Do you need any new feature not provided by 0.48?
 
Posts: 85 | Thanked: 97 times | Joined on May 2011
#73
Originally Posted by maacruz View Post
I've just tried to give it a go, and no release over 0.49 works, so it has to be fixed first.
Can you program in python and gtk?
Do you need any new feature not provided by 0.48?
Specifically what I was looking for was the patch listed in the CHANGELOG.txt for 0.49:
* Patch to jump to task within page - by Thomas Liebertraut

I was hoping to use it as a todo list, but not jumping to the exact todo line in the page when that todo is selected in the plugin window makes an extra step of searching for it that is kind of a bother. Other than that I do not have any specific features I know of that the newest version has, just thought it would be good if the version I run on the desktop matched.

I have played around with python and GTK and written a simple app to parse some XML using python and elementtree and display it in a GTKTreeview that successfully runs on maemo. But I would not say I have much experience. Just plinked around till it worked basically.
 
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#74
Originally Posted by computerinfo21 View Post
Specifically what I was looking for was the patch listed in the CHANGELOG.txt for 0.49:
* Patch to jump to task within page - by Thomas Liebertraut

I was hoping to use it as a todo list, but not jumping to the exact todo line in the page when that todo is selected in the plugin window makes an extra step of searching for it that is kind of a bother. Other than that I do not have any specific features I know of that the newest version has, just thought it would be good if the version I run on the desktop matched.

I have played around with python and GTK and written a simple app to parse some XML using python and elementtree and display it in a GTKTreeview that successfully runs on maemo. But I would not say I have much experience. Just plinked around till it worked basically.
I think I've fixed all crashes in 0.52, but it has a very serious performance issue opening notebooks that need to be fixed.
Download the source tar.gz, untar it and apply the patch, then run zim from there.

If you want to help me, this is what needs to be done for each new release:
Download source code
Run it from xterm, in no daemon mode and with debug output
Test all new features and all changed features, look at the xterm output for crashes or problems
Test with some big and complex notebook
Fix any broken code
Check usability of all new and modified dialogs
Fix non usable dialogs
Create patch

Once zim is in good working state I'll build a new package (actually by hand but I want to get a working build script for the extras-devel autobuilder) and will upload it to the garage page.

With the patch included here zim-0.52 will work, but the performance issue remains. If you feel up to the task, profiling will show where most of the time is spent, then looking at 0.48-0.49-0.50-0.51 will show what changes cause the issue.
Attached Files
File Type: gz zim-0.52-maemo1.patch.gz (926 Bytes, 88 views)
 
Posts: 85 | Thanked: 97 times | Joined on May 2011
#75
Originally Posted by maacruz View Post
I think I've fixed all crashes in 0.52, but it has a very serious performance issue opening notebooks that need to be fixed.
Download the source tar.gz, untar it and apply the patch, then run zim from there.

If you want to help me, this is what needs to be done for each new release:
Download source code
Run it from xterm, in no daemon mode and with debug output
Test all new features and all changed features, look at the xterm output for crashes or problems
Test with some big and complex notebook
Fix any broken code
Check usability of all new and modified dialogs
Fix non usable dialogs
Create patch

Once zim is in good working state I'll build a new package (actually by hand but I want to get a working build script for the extras-devel autobuilder) and will upload it to the garage page.

With the patch included here zim-0.52 will work, but the performance issue remains. If you feel up to the task, profiling will show where most of the time is spent, then looking at 0.48-0.49-0.50-0.51 will show what changes cause the issue.
Ok, thank you. I will play with it some when I get a chance. I have been super busy at work though, so haven't had time for much else lately.
Knowing the procedure for testing the updates and fixing them is helpful.
 
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#76
Originally Posted by computerinfo21 View Post
Ok, thank you. I will play with it some when I get a chance. I have been super busy at work though, so haven't had time for much else lately.
Knowing the procedure for testing the updates and fixing them is helpful.
I've been working in the performance issue and it is in the new tag cloud feature, so as long as you don't use the tags plugin the performance is the same as 0.48
The performance hit depends on the notebook size, so tags are still usable in small notebooks.
So, it's a go, I'll prepare a new package for 0.52.
Right now I'm working in the build system, to make the package available through extras-devel repository if possible.
You could keep on testing thoroughly, as I only did a basic testing and there may be other bugs to be found.
 
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#77
New release 0.52 is available in extras-devel
Changes since 0.48:
New plugins: Attachment Browser, Inline Calculator, Tags Cloud, Line sorter
Improvements include display of file paths in the notebook dialog, zim now accepting image data on copy-paste, support to organize pages by tags with an index and a tag cloud widget in the side pane, support to open pages by clicking in the link map, and several new translations.
 

The Following 2 Users Say Thank You to maacruz For This Useful Post:
Posts: 85 | Thanked: 97 times | Joined on May 2011
#78
Originally Posted by maacruz View Post
New release 0.52 is available in extras-devel
Changes since 0.48:
New plugins: Attachment Browser, Inline Calculator, Tags Cloud, Line sorter
Improvements include display of file paths in the notebook dialog, zim now accepting image data on copy-paste, support to organize pages by tags with an index and a tag cloud widget in the side pane, support to open pages by clicking in the link map, and several new translations.
The 0.52 release you packaged is great, thank you!!!

I have been testing if for awhile now, and it seems very stable. I was getting crashes at first and was trying to track it down, but turned out I had a corrupted auto completion history, so other applications were crashing too. Once I cleared that I haven't had an issue since.

I would recommend a modification to the tasks plugin though, to make it much more usable on our small screens. The "close" button is not needed in hildon anyway, and it and the help button take up a lot of precious space, so I removed them both from my install and am pleased with the results.

So instead of the code:

Code:
Dialog.__init__(self, plugin.ui, _('Task List'), # T: dialog title buttons=gtk.BUTTONS_CLOSE, help=':Plugins:Task List',	defaultwindowsize=defaultsize )

Code:
if ui_environment['platform'] == 'maemo':
			Dialog.__init__(self, plugin.ui, _('Task List'), # T: dialog title buttons=None, defaultwindowsize=defaultsize )
		else:
			Dialog.__init__(self, plugin.ui, _('Task List'), # T: dialog title buttons=gtk.BUTTONS_CLOSE, help=':Plugins:Task List', defaultwindowsize=defaultsize )
Someone with an n8x0 may want to check that before we recommend it to the Zim team to be sure it works on the older OS too. I can't remember how my n800 treated dialogs, if you close them by clicking outside them like in hildon then the close button is not needed for them either.

Once again, great work packaging this, it is much appreciated!
 
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#79
Originally Posted by computerinfo21 View Post
The 0.52 release you packaged is great, thank you!!!

I have been testing if for awhile now, and it seems very stable. I was getting crashes at first and was trying to track it down, but turned out I had a corrupted auto completion history, so other applications were crashing too. Once I cleared that I haven't had an issue since.

I would recommend a modification to the tasks plugin though, to make it much more usable on our small screens. The "close" button is not needed in hildon anyway, and it and the help button take up a lot of precious space, so I removed them both from my install and am pleased with the results.

So instead of the code:

Code:
Dialog.__init__(self, plugin.ui, _('Task List'), # T: dialog title buttons=gtk.BUTTONS_CLOSE, help=':Plugins:Task List',	defaultwindowsize=defaultsize )

Code:
if ui_environment['platform'] == 'maemo':
			Dialog.__init__(self, plugin.ui, _('Task List'), # T: dialog title buttons=None, defaultwindowsize=defaultsize )
		else:
			Dialog.__init__(self, plugin.ui, _('Task List'), # T: dialog title buttons=gtk.BUTTONS_CLOSE, help=':Plugins:Task List', defaultwindowsize=defaultsize )
Someone with an n8x0 may want to check that before we recommend it to the Zim team to be sure it works on the older OS too. I can't remember how my n800 treated dialogs, if you close them by clicking outside them like in hildon then the close button is not needed for them either.

Once again, great work packaging this, it is much appreciated!
Thanks
Unfortunately, in maemo4 you can't close dialogs by clicking outside them, so the close button is compulsory. Also, I can't see how you can click outside a dialog when the application is fullscreen and the dialog covers the whole area.
 
Posts: 85 | Thanked: 97 times | Joined on May 2011
#80
Originally Posted by maacruz View Post
Thanks
Unfortunately, in maemo4 you can't close dialogs by clicking outside them, so the close button is compulsory. Also, I can't see how you can click outside a dialog when the application is fullscreen and the dialog covers the whole area.
Ah, too bad. Oh well, it is a minor thing I can change as needed.

Just to show you what I am talking about though, here are screenshots of the dialog as shown on an n900. Hildon style interfaces do not allow full screen dialogs, they always leave the top area to click on to close it.

Here are screenshots of the hildon dialog before and after my changes, the top blurry section is where you touch to close the dialog, which is standard for any hildon app so users are used to it. Since it won't work for Maemo 4 though probably best to not merge it into source.
Attached Images
  
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:39.