Hi everyone,
I just released RedNotebook version 0.7.6 . This version contains many enhancements both on the surface and under the hood:
- Undu and redo for the main text was added. Ctrl-Z and Ctrl-Y bring you back and forth in the editing history (The history is cleared when you change dates, of course).
- Libyaml is now used for faster loading and dumping of files (Big journals now open ~10 times faster).
- Additionally there are some speed improvements for navigation between days.
- I added information for Latex to PDF conversion and a shortcut for turning on/off the preview: Ctrl+P.
- There is now a new entry in the edit menu called “Find” which brings you directly to the search field.
I hope you enjoy the speed and the new features of this version! As always, please don’t hesitate to notify me if you find any errors.
Cheers,
Jendrik
I looked through the code but didn’t find any specific references to libyaml, only to pyyaml. By libyaml, are you referring to this one? http://pyyaml.org/wiki/LibYAML
On Gentoo, we have a build-time option for pyyaml that will pull in libyaml and link against it. Does pyyaml have to be built this way in order for RedNotebook to use the library?
Also, will pyyaml+libyaml always have a speed improvement over plain old pyyaml? If so, I may just activate the dependency unconditionally for our users. (I’m the RedNotebook maintainer for Gentoo.)
Comment by nightmorph — July 15, 2009 @ 3:43 pm
I’m not sure about that. The connection between PyYAML and LibYAML is a little unclear to me. At least on Ubuntu the package python-yaml depends on libyaml. My code just checks if the C implementations are present and uses them if they are. You might have to ask the pyyaml developer about that.
Comment by Jendrik — July 15, 2009 @ 4:05 pm
AFAIK PyYAML can work on its own, but if the C library libyaml is available, it will use it. In Debian-land, this is the default setup. It’s much, much faster because it’s a compiled library, instead of being parsed by the Python interpreter.
Comment by jmw — July 15, 2009 @ 10:12 pm
Not searched fully, but there is any way to merge contents from 2 installations, say a desktop and a notebook one?
Comment by Antonio — August 25, 2009 @ 3:42 pm
At the moment there is not. But there will probably be such a feature in the far future.
You can do it manually though. Backup your data ($HOME/.rednotebook/data/) and then look into the files. You’ll have to do a lot of copy paste though
Comment by Jendrik — August 25, 2009 @ 3:51 pm