User:Bvialle

This page contains information about the work of Benjamin Vialle for OOo4Kids during a project (with Clément Delafargue) for Centrale Nantes.

= About Me =


 * Name : Benjamin Vialle
 * Wiki/IRC : Bvialle, Benjamin_V, benjaminv, benjaminvialle


 * Birth Date : 05/02/1988


 * Localisation : Nantes (France)


 * E-Mail : benjaminvialle(at)gmail.com


 * School : Centrale Nantes


 * Spoken languages : Français, Anglais


 * Operating System : GNU / Linux


 * Distribution : Gentoo x86_64 (2.6.37)

= My work =

From March, 7th 2011, to March, 13th 2011
The cursor menu is now complete. Ready for review :-D !

Found my bug with rasqal. I now use --with-system-redland and installed librdf0-dev on my computer

The bug with PEN activated by default in the slideshow is now closed. It was due to a else{} not correctly added in slideshow/source/engine/slide/userpaintoverlay.cxx

We are still working on setUsePen and setUseCursor. setUseCursor is still inefficient.

Moreover, we added the "tick" for the Curseur mode and the menu entry is now both translated in French and English.

The cursor menu is now displaying an arrow. The only thing that remains is to have the cursor not acting as a pen or as an eraser. Once our code will be clean, it will be ready for integration review ;-).

From February, 21th 2011, to February, 28th 2011
I am trying to build OOo4Kids on my Debian Sid o my laptop. It doesn't work : I have exactly the same issues described here : http://www.pastie.org/1598185

No way to solve this. It is definitely a roadblock.

We are looking for #ifdef ENABLE_PRESENTER_EXTRA_UI around the code to find were the pen mode is started...

From February, 14th 2011, to February, 20th 2011
Clément Delafargue and I found the eraser bug ! We polished our patch with enum structures instead of many booleans. The patch has been sent for review. Next step is to complete our method setUseCursor to have a cursor instead of a pen during presentation mode.

From January, 7th 2011, to February, 13th 2011
A bug with the eraser suddenly appears. When clicking on eraser menu, the eraser icon is loaded but the eraser still have abilities of pen. So it must be a Boolean issue. Last year, students already had the same issue. We are re-reading reports to find help.

We are running OOo4Kids through gdb to find how we could remove this bug.

From January, 31th 2011, to February, 6th 2011
We are working on sd/source/ui/slideshow/slideshowimpl.cxx/hxx. We discovered two classes with the same name (SlideShowImpl and SlideshowImpl) which are used for Shlideshow drawing mode.

We are deleting some booleans and replacing them with enum structure. ( mbSwitchPenMode and mbSwitchEraserMode )

A new menu entry has been created (still not internationalized (i18n) / localized (l10n) yet) in /sd/source/ui/slideshow/slideshow.src

Moreover, we added several methods : virtual void SAL_CALL setUseCursor( ::sal_Bool _usecursor ) in /sd/source/ui/slideshow/slideshow.hxx for example.

From January, 24th 2011, to January, 30th 2011
We are adding a new mode, called CM_CURSOR_MODE in slideshow.src/cxx

We created a new patch with the enum structure only. We are looking at sd/source/ui/slideshow (slideshow.src). We are doing to implement the new behavior of the menu (see Centrale Nantes - Planned Work (2011))

We also created a Git repository of OOo4Kids to be able to have easy pull/push between us. We deployed our Git Server on Campus's server which is the student's server in Centrale Nantes.

We still noticed : userpaintoverlay.cxx should be called paintoverlayhandler.cxx ? Shall we rename this file ?

From January, 17th 2011, to January, 23th 2011
On Friday, January 21st, our first patch has been integrated : 08:43 < CIA-65> OOo4Kids: ericb * r1134 /trunk/slideshow/source/engine/slideshowimpl.cxx: Applying the patch from Benjamin Vialle and Clement Delafargue. Cleanup in slideshow. Thanks to them.

We have now two patches of 800 and 1700 lines :-)

We are working on creating an enum type for the pen/eraser/cursor menu. First thing, search for the right file containing this ;-) Edit : Ok. Got it : slideshow/source/engine/slide/userpaintoverlay.cxx

We cleaned slideshow/source/engine/slide/userpaintoverlay.cxx and slideshow/source/engine/slide/userpaintoverlay.hxx. We noticed : userpaintoverlay.cxx should be called paintoverlayhandler.cxx ? Shall we rename this file ?

We have re-indented, removed trailing white paces and tabs from slideshow/source/engine/slideshowimpl.cxx

By cleaning, are we supposed to create a header (.h) file containing definition of the class ?

Summary from former projects have been written to the Centrale Nantes wiki's page (see Centrale Nantes).

We added our Specification Book on Centrale Nantes - Planned Work (2011).

From January, 10th 2011, to January, 16th 2011
Clément and I started to write the Specification Book (see Centrale Nantes - Planned Work (2011))

We worked on the Gentoo part of the setup page : Installation on Gentoo

We decided to plan a meeting each tuesday at 9PM, with Éric Bachard.

Gentoo aspect
We will have to talk about the OpenOffice.org former way to build OOo on Gentoo (see http://wiki.services.openoffice.org/wiki/Gentoo_build_instructions ) I don't agree with their way to proceed. According to Gentoo's ebuild for OOo, we DO NOT need rpm to be installed. And it is obvious :-)

From January, 3rd 2011, to January, 9th 2011
The compilation was complete, but the OoImpress module crashed on stratup. A segfault with hunspell. The compilation with --with-system-hunspell solved this issue.

Compilation Process
I started by compiling OpenOffice.org for Gentoo. It pulled all dependancies for OOo4Kids.

Then, I started the compilation with this configuration : ./configure --with-lang="fr" \ --with-system-python \ --with-system-libxml \ --enable-cups \ --disable-gnome-vfs \ --with-OOo4Kids \ --disable-gtk \ --with-system-hunspell \ --with-package-format=installed

Package issues
The –with-package-format=installed is necessary in order to avoid the system looking for rpm dependencies...

Husnpell issues
Moreover, we discovered a bug. This issue happened also on *BSD systems. It is due to hunspell.

The solution is, on Gentoo : 11:37 benjamin@Licorne ~/Git/OOo4Kids $ svn diff hunspell/makefile.mk Index: hunspell/makefile.mk

=
====================================================== --- hunspell/makefile.mk	(révision 1100) +++ hunspell/makefile.mk	(copie de travail) @@ -71,7 +71,7 @@ CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)" .ENDIF -BUILD_ACTION=make && make check +BUILD_ACTION=make OUT2LIB=$(BUILD_DIR)$/src$/hunspell$/.libs$/libhunspell-1.2.a