Education Project meeting: log available

Was IRC meeting today, for the
Education Project. We mostly welcomed new students, and made a point about the work in progress. I have seen some new nicknames on the channel :-)
Next week, we'll try to propose a list of ClassRooms.As usual the log is available on the wiki : the logNext meeting is scheduled the 22nd October, same hour. See you !!"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) OOo4Kids ProjectMany thanks to
Ben Bois , author of the
EducOOo logo, dedicated to the OpenOffice.org Education Project
...
Libellés : devel, development, Education Project, High-Tech, OOo4Kids, OpenOffice, Teaching OpenSource
Back from RMLL 2009 (Nantes, France)

Back from
RMLL 2009 . In fact I was 4 days in Paris with my family, and I'm just back at home, until ... tomorrow for 2 weeks.
What a fest :) Thanks to
Mathieu Lalanne, Pierre Pasteau for their great work, and their presence. Thanks to
Remi Boulle for the super tshirts we have. We were surprised to sale most of them (next time, we'll take more). Thanks to all the people who made this event what it was.
Nice to have seen
OOo4Kids running correctly on a Celeron 500 + 128MB or RAM. Really impressive :)
Thanks to the Nantais,
Morgan Magnin, Olivier Girardot, Aude Quintana, Jonathan Winandy who contributed to the presentations we did. Nice to see we'll continue to work together :)

Nice to meet
Cédric Mathieu and Isabelle too !
Last but not least, all the slides we did are available
there.
OOOops .. already time to stop
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) OOo4Kids ProjectMany thanks to
Ben Bois , author of the
EducOOo logo, dedicated to the OpenOffice.org Education Project
...
Libellés : ECN, Education, Education Project, EducOOo, High-Tech, OpenOffice, RMLL, Teaching OpenSource
About the number of developers contributing to OpenOffice.org (again)
Back from FOSDEM (I'll write a word asap about it), I tried to see what happened in meantime, mainly what was committed in OOo tree.
If you remember my previous blog entry ( see
this link ), I wrote it was very easy to retrieve the most recent information, and have the number of people who commited code in some cws, for OpenOffice.org Project.
The magic link was:
CIA.vc server Now it is no longer possible, because
the stack of the recent commiters, including the sum,
disappeared.
I ignore what happened, and who did that, but that's clearly a
big regression for me, and yet another hidden information, who should be publicaly available.
Indeed, we now are in the situation where we:
- just see the (20 ?) most recent commits, nothing else
- have no idea on the number of contributors since we use svn
- cannot extract the exact content of a commit, and who did what in a cws (at least this is not as easy as it was using Bonsai, where we could even watch everything online).
I have contacted the owner of CIA.vc. Maybe he will explain me some tip, or how to proceed, to retrieve the values, and maybe more.
Libellés : Code, development, High-Tech, number of OOo devs OpenOffice
appleremote02 (part7)
Now, the remote works in Windowed mode. The solution was simply in front of my eyes since a while. I think the code simplification improved the design (Philipp has to confirm this is correct).
The new idea is, since we no longer use keycodes, we simply no longer need to check whether we are or not in fullscreen or in presentation mode. This job is a salframe (and salframeview) one, and works out of the box.
Bad news: was not able to build Andre's solution. I'll keep the one Philipp suggested: simple and efficient.
Triggered
issue 97925. Investigating. If ever I can fix it, I'll be done with appleremote02, and time to find a QA resp. and check the Ready for QA thing
Updated the
Apple Remote documentationon the wiki
Booked flight + hotel for
FOSDEM 2009. Sent the proposal to Jurgen.
If it is accepted, this will be my third (already !) participation to the FOSDEM. This year, I proposed a workshop about my contributions to the Mac port of OpenOffice.org.
Libellés : aqua, devel, High-Tech, Mac OS X, OpenOffice, Teaching OpenSource
Recent news from Education Project

Last news and work in progress :
* organizing new
ClassRooms ( if no change, 3 to come soon). Stay tuned.
*
Valentin Janiaut (student at
UTBM) proposed us to be our ambassador in Korea, for his application. The idea is to work with Korean students around OpenOffice.org Education Project, as a social link. Interesting experience, I'll follow carefully.
*
Fardad Soleimanloo (OpenOffice.org teacher at
Seneca College, Toronto) confirmed yesterday :
between 7 and 10 students should follow OpenOffice.org courses at Seneca College. If we add the other students joining, we alread have close to 20 students who will work with us.
* (french link)
Remi Boulle publied a nice description about
EducOOo interaction with the Education Project. See
this link* other :
Aristotle University, represented by
Andreas Meiszner, seems to work in the same direction as us. It would be great to cooperate.
Who will be the first intelligent company who'll think twice to what we do, understand, sponsor us, and win ?""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the
EducOOo logo, dedicated to the OpenOffice.org Education Project
Libellés : High-Tech, OpenOffice, Seneca, Teaching OpenSource
appleremote02 (part6)
Time for code review, last step for the cws before to be ready for QA.
Philipp Lohmann agreed the changes in vcl ( and thus, the corresponding changes in apple_remote module)
Several problems had to be fixed :
*
Christian Lippka suggested the use of MEDIA_COMMAND_VOLUME (UP and DOWN ) had to be changed, for other OS than Mac OS S X [fixed]
* protect the popup menu case [fixed]
*
Andre Fischer asked about the eventlistener [partially fixed]: is not exactly at the right place, because I add the eventlistener at the end of GetState(SfxItemSet&) method, and this would result in multiple calls to Application::AddEventListener(const Link&). The Application class stores event listeners in a list, not in a set, and thus, more than one eventlistener may be registered for a single SdModule object. Fortunaly, when the (one) listener is removed in ~SdModule the Application::RemoveEventListener(const Link&) removes all listeners (that's what I verified using leaks on Mac)
The possible solutions :
Add the listener directly in the SdModule Ctor : Does not work (maybe my fault), because this leads to a sort of chicken-egg problem, and after some tests, it seems to be unbuildable ( I gve up with that).
Philipp proposed a solution I tested already, based on a singleton pattern [done, works already]
Investigating on another more complicated, but elegant solution Andre proposed. the idea is to create a static Create() method for SdModule, that creates and initializes an SdModule object.
This needs to make the constructor private (no side effects ?) and finally to have SdDLL::Init() calling this new Create() method. Work in progress ...
A big thank you for the code review, and for the time they spend helping me to
Andre Fischer,
Christian Lippka, Philipp Lohmann and
Thorsten Behrens ( kindly answering my questions on the #education.openoffice.org channel)
Libellés : Apple, development, High-Tech, Mac OS X, Teaching OpenSource
About the (real) number of developers contributing to OpenOffice.org source code
Since we switched to svn this is really easy to obtain the number of regular OOo contributors. Means for source code, not for anything else.
Before, the best resource we had was
Bonsai. e.g. you can easely retrieve all the contributions of someone, or the exact content of a cws. Just fill in correctly the right fields and all the information concerning the commit before svn appear.
Sort of "memory of OOo" :-)Now, just look at :
CIA vc and you're done.
.. and the result is: the current number of nicks is 77 known people (at least one commit ... ) who wrote code for OpenOffice.org the last two months ... and not 200 like I read on some blog :-/
As example, the
Education Project attracted
4 new developers*** (able to create their own cws's and commit). Of course, they still need to learn a lot, and the next steps are : how to integrate code.
***Not that bad ;-) (I'll wrote more about that very soon)
Last, there is a remaining issue : I still don't know how to make appear all the changes people commited in a given cws, and more annoying, how to read just every diffs, like Bonsai allows us to do (please contact me if I missed something about that :) ). Of course, I can extract all the changes in a given cws, and navigate in te cws tree ( using
this link, but that's not the most efficient (imho).
I'm confident, there is probably a tool in preparation. Crossing the Fingers ;-)
Update:
About the coming month, we expect to see 6 new students from Ecole Centrale Nantes ( look at
Improve the OOo Impress), and 3 students from UTBM, working on the OpenGL transitions. No information from Seneca College, and students from this school, joining the project.
To be continued :)---------------------------------------
Donate to Education Project---------------------------------------
Libellés : Code, development, High-Tech, OpenOffice
appleremote03 (part1)
Since everything work with appleremote02, I think the last remaining changes for this cws will be about :
- remove the eventlistener (e.g. when closing the document)
- avoid leaks (to be confirmed)
- test on other ports (Windows)
Started working on
appleremote03 : implement the contextual menus with the remote.Done :
* catch all the remote event, and turn them into the right MEDIA_COMMAND
* found where in the code, is treated the contextual menu entries with mouse events or the keyboard
Work in progress : design the new implementation
Todo :
* create the new case, means when in fullscreen, and one popup menu is open, specificly for the remote events
* create one callback for any catched remote events
* write separated tests for every part
* write the code
* test
Libellés : aqua, Code, development, High-Tech, OpenOffice
appleremote02 (part 5)
"Play" works :-)After searching the entire week (in my free time, mostly late in the evening), I finally found a way to fix the issue I mentionned in the previous entry (
appleremote02 part 4), ... and I finally get it working :-)
Of course, the changes I commited today are maybe not the best one, and I'm waiting for opinion(s), one people who accepts to QA my code, and maybe tell me whether something is wrong.
How does it work ?When opening a presentation (in static mode) in Impress, it means we use Draw with another GUI. Our issue was, no event listener was running, and thus, the events sent through vcl ( kRemote* turned into MEDIA_COMMAND_something ) get lost. Just because the eventlistener only exists when Impress is in presentation mode. The idea was:
implement a new event listener in sd, but more early, means in static mode, to be able to catch the "Play" event, the last one who was not working.
But what do exactly, and where ?
The only way I found to understand was to ask on IRC, and read the code (if you know better, please tell me). I firstly tried in sd/source/ui/unoidl, but it was not correct, and following the advice from Thorsten, I tried in sd/source/ui/app. Probably not perfect, but at least it works.
Everything is based on the use of macros (at preprocessor step). Following the existing example previously studied in slideshowimpl.cxx, I had to :
1) add a
DECL_LINK() in the header, to declare a member function in a class that acts as a handler2)
set a handler using the LINK macro : after searching a while. I have choosen to use the sd/source/ui/app/sdmod1.cxx, in getState(), where a lot of things are initialized. The first choice was to set it in sd/source/ui/unoidl/unomodel.cxx, but the choice was probably wrong (at least too complicated), because I had no easy way to retrieve the frame and the shellview.
The LINK() adds the event listener.3)
Set an LINK_IMPL() acting as - sort of - "Callback", with the parameters passed in arguments by LINK().
The
IMPL_LINK is the place where I put what do of the event. For instance, check, first whether we have sd running in Impress mode (the other mode is Draw mode), second whether there is a frame containing the presentation, and is focused .. and so on.
4) the most simple was to remove the previous hack to switch at runtime (using environment variables) between use F5 or not. Now, only the right way is used, of course.
Note: in sdmod1.cxx, I firstly believed I could factorize more the code, and this bad idea caused me a lot of pretty crashes before I understood I had two steps at some places, instead of only one. Until now, with the current status of appleremote02, no crash occured.
Other fixed items :- did some modifications in the wiki page about
Apple Remote Implementation- commited the changes in the appleremote02 cws
Conclusions: I spent a lot of times on that, but I think I understood an important information in OpenOffice.org source code with the DECL() , LINK, LINK_IMPL() mechanism (that's why I try to describe it). Indeed, the scanner does use a similar mechanism, and I know have 90% of the information for the Image Capture implementation, that
Valentin Janiaut started some times ago. Another good thing, is the entire changes, if accepted, are really portable : the first side effect will indeed be,
it will work on Windows too !!Last but not least: who helped me there ?
As usual
Philipp Lohmann (for important theorical points**),
Thorsten Behrens (for his great Impress knowledge) and
Jonathan Winandy (from the Centrale Nantes Team) who agreed to build appleremote02 on Leopard on monday (and do some little tests), to confirm there is no obvious problem.
**e.g. Philipp confirmed me, that two event listeners can run together without clash, what I was not sure at all.
To do : - code cleanup (remove some debug extra stuff e.g.)
- improve : add a removeEventListener somewhere ?
- track leaks ?
- build a clean set, based on appleremote02
- upload it and ask people for tests
- ask for other tests in Windows and Linux ?
Libellés : aqua, Code, development, High-Tech, OpenOffice, Teaching OpenSource
appleremote02 (part 4)
Removing the F5 key
In appleremote01 cws, the plan was to send keycodes, and the sd had to interpret as commands for the slideshow. It works perfectly, but has the drawback to not respect the portability criteria.
As replacement, I modified the way events are sent to the application
Before, we had :
[NSApp postEvent:
[NSEvent keyEventWithType:NSKeyDown
location: NSZeroPoint
modifierFlags : modifierFlags
timestamp: 0
windowNumber: [[NSApp keyWindow] windowNumber]
context: nil
characters: characters
charactersIgnoringModifiers: characters
isARepeat: toBeRepeated
keyCode: theKeyCode]
atStart: NO];
Means, for every case, I sent the right keycode, for the right slideshow command ( I passed the theKeycode variable to the postEvent method, using an keyEventWithType:NSKeyDown type) (for further information, see
RemoteMainController.m appleremote01 ) The new implementation is different :
1) I created a different event type (otherEventWithType:NSApplicationDefined ) sent to the NSApp
- (void) postTheEvent: (short int)buttonIdentifier modifierFlags:(int)modifierFlags
{
[NSApp postEvent:
[NSEvent otherEventWithType:NSApplicationDefined
location:NSZeroPoint
modifierFlags:modifierFlags
timestamp: 0
windowNumber:[[NSApp keyWindow] windowNumber]
context:nil
subtype:AppleRemoteControlEvent
data1: buttonIdentifier
data2: 0]
atStart: NO];
}
(for further information, see
RemoteMainController.m appleremote02) 2) in AquaSalInstance::handleAppDefinedEvent(), the NSApp detects the event (in vcl/aqua/app/salinst.cxx ), and turns it into a MEDIA_COMMAND_(some_name) event through the data1 parameter. Then, the sd received the event throught the eventlistener, and does the dispatching to the ::Command and ::Notify implemented methods.
The problem was, it works nicely for all events sent, but
only when the slideshow is running.
Means: no way to start the slideshow using the same method as the one used for e.g. gotoNextSlide(), gotoFirstSlide() and so on. My first hack was to continue to create, in salinst.cxx, the NSKeyDown event. The problem is ... it is just a hack.
So I decided to figure out what was happening. And for that, I implemented new methods (uggly buggy hacks, but very usefull to trace everything at runtime), in sd/source/ui/view/viewshel.cxx (see
the diff for further information)
What I discovered, is, the events coming from the remote are never seen, when the slideshow is not started !
My first tries where: maybe I do no send the event to the right frame ? So I implemented another hack, when sending the "PLAY" command. The idea was to check for every frame, and see what happens ... More precisely, doing :
switch ([pEvent data1])
{
case kRemoteButtonPlay:
{
nCommand = MEDIA_COMMAND_PLAY;
std::list::iterator it = pSalData->maFrames.begin();
while( (*it) && (it != pSalData->maFrames.end()) )
{
AquaSalFrame* pFrame = (*it);
Window * pWindow = pFrame->GetWindow();
if( pWindow )
{
const Point aPoint;
CommandEvent aCEvt( aPoint, COMMAND_MEDIA, FALSE, &nCommand );
NotifyEvent aNCmdEvt( EVENT_COMMAND, pWindow, &aCEvt );
fprintf( stdout, "EVENT_COMMAND Notified from
AquaSalInstance::handleAppDefinedEvent \n");
if ( !ImplCallPreNotify( aNCmdEvt ) )
pWindow->Command( aCEvt );
}
it++;
}
}
But nothing ... After tracing a lot, and using the backtraces for working and not working events,
Philipp Lohmann suggested me to check the focused window.
So did I, using Window* pWindow = Application::GetFocusWindow(); instead of the list of frames.
And one more time, it was not working :-/
So what is the problem ? After yet another discussion on IRC, Philipp finaly found the reason, following ( if I'm not wrong) Christian Lippka explanations : the draw event listener for the slideshow is not active.
More precisely, the "play" does not work on Windows too. The reason is, as soon as the slideshow exists, it registers as event listener of the application. But that is AFTER the slideshow is started. Said differently, the slideshow doesn't exist at all, before the F5 key is pressed :)
=> So the events go nowhere (what I verified since several days ;) )
The solution (see
issue 97195 ) in the air is the sd to register as event handler before.
Andre Fischer is the specialist, and will work on that.
So far, once it will work, I'll just fix that in 2 minute, and this is the last change I see before to declare the cws as Ready for QA (and find someone for the QA ...) : everything else works, including a new little feature: play/pause when slideshow started.
Crossing the fingers to
see the change occur before the deadline of 3.1 (waiting, I'll have a look at how eventlistener work ... cannot be bad to understand how things work ... ;-) )
.. to be continued ... Libellés : aqua, Code, development, fun, High-Tech, Mac OS X, OpenOffice
Centrale Nantes and Education Project : first result with Tablet PC and Impress

More information on the original link (french ) :
Tablet PC After hours of compilation, the first try gives interesting results :

The students working on that, are
Olivier Girardot (aka ssaboum) and
Frederic Gelot (aka fredus on IRC). Wow :-)
To be continued ... """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Centrale Nantes, Education, fun, High-Tech, OpenOffice, Teaching OpenSource
Education Project at Educatice (Paris,France)

The
OpenOffice.org Education Project will be represented at
EducaTice (Paris, France), by the
28th and 29th of November. This event is one of the most important event of the year for Education, in France, and we're glad to be present there !!
Many thanks to
Jean-Pierre Archambault, from the SCEREN, who invited us (and other).
If you want to visit us, please come :
Friday 28th, morning :
The CRDP of Aix-Marseille, Lyon and Paris
"Ecole et Nature", OpenOffice.org Education, Lycée Léonard de Vinci of Melun
Friday 28th, afternoon :
The CRDP of Aix-Marseille, Lyon and Paris
"Ecole et Nature", OpenOffice.org Education, Lycée Léonard de Vinci of Melun, Wikimédia
Saturday 29th morning :
The CRDP of Aix-Marseille, Lyon and Paris
"Ecole et Nature", OpenOffice.org Education, Wikimédia
Saturday 29th afternoon :
The CRDP of Aix-Marseille, Lyon and Paris
"Ecole et Nature", OpenOffice.org Education, Lycée Léonard de Vinci of Melun, Wikimédia
See you !!
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, EducOOo, events, High-Tech, OpenOffice, Teaching OpenSource
Yet other Ben Bois creations :-)

Many thanks to
Ben Bois, who created yet other pieces for the
Education ProjectBen was so kind to create new stickers, images and logos (for goodies in the future) to bring resources to the Education Project, here the
FOSS.in is concerned (I still expect we'll receive donations to attend)
Just a sample :

A diaporama is available there =>
Ben's blog """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, EducOOo, FOSS.in, fun, High-Tech, OpenOffice
The road to India
Sankarshan Mukhopadhyay was so kind to forward the announce about the
call for paper @FOSS.IN,( Bangalore, India 25th - 29th Nov 2008 )
To be continued ... Update : fixed typo. @Sankarshan, please excuse me
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, events, High-Tech, India, OpenOffice
Ben's blog :-)
I was not aware Ben Bois, our super and fidele designer, who did a lot of kind logos ... had a blog ;-)
Please have a look, to see his last creations.
=>
Ben's Blog Libellés : Art, Education, EducOOo, High-Tech, OpenOffice
Creator type
Not sure this is what we should have, but I finally get the
"file creator " appear (using File Info application to verify it works as expected).
See the screenshot below:

APPL -> means an application to create the file
OOO3 -> means the file is of OpenOffice.org 3 type (yes, I know, I changed for 3 after discussing the point with
Oliver Braun (aka obr ), who provided me precious advices, like the extremely usefull
issue 60840 I was not able to find alone :-)
What was missing is a couple of parameters (who gave ???? when undefined ), the Finder needs, to be able to open OpenOffice.org files, even when the extensions are missing. Yet another Mac OS X feature :)
The fix is based on the patch
P. Luby donated some times ago, and who was not integrated (I sincerily believed it was). But this patch is now obsolete, and I had to adapt, and add a second modification to make it work. After some thought, other members like extFinderInfo need some investigations.
After tracing a bit, I finally found the missing information: in the patch (see
issue 55862 ), I had to create the second entry in the structure.
I hope someone will confirm the result is ok, and if I can find some time, I'll commit the change in some cws. Maybe we can expect other positive side effects since it works ?
Below, the trace, where all other parameters I've discovered during the debugging. the important is, in the aCatInfo structure, you have to set filetype and fileCreator, and things are ok :)
Update: it is important to explain nothing is so easy, and the estimated time of work to make that little feature work is approximatively
5 hours.
To be continued ...The (partial) trace :
Breakpoint 1, oslSetFileTypeFromPsz (pszStr=0xbfffdf6c "/Users/ericb/Library/Application Support/OpenOffice.org/3/user/registry/cache/org.openoffice.Office.Paths.dat") at /Users/ericb/Desktop/DEV300_m31/sal/osl/unx/file.cxx:2266
2266 if ( FSPathMakeRef( (const UInt8 *)pszStr, &aFSRef, 0 ) == noErr && FSGetCatalogInfo( &aFSRef, kFSCatInfoFinderInfo, &aCatInfo, NULL, NULL, NULL) == noErr )
(gdb) p aCatInfo
$1 = {
nodeFlags = 57305,
volume = -16385,
parentDirID = 0,
nodeID = 0,
sharingFlags = 237 '?',
userPrivileges = 245 '?',
reserved1 = 0 '\0',
reserved2 = 0 '\0',
createDate = {
highSeconds = 34290,
lowSeconds = 2247236563,
fraction = 7123
},
[...cut...]
Important information is below :
permissions = {466847000, 2415923616, 158532224, 1024},
finderInfo = "h\031\024\022$??? ?????!",
extFinderInfo = "??????!\000???\033???\033",
dataLogicalSize = 9574975677652728,
dataPhysicalSize = 9479542736618108,
rsrcLogicalSize = 13835339100762201912,
rsrcPhysicalSize = 386186189282738764,
valence = 0,
textEncodingHint = 467473592
}
Current language: auto; currently c++
Libellés : High-Tech, Mac OS X, OpenOffice, OSX
Call for donation for Education and Mac OS X porting projects

Several OpenOffice.org Projects have no or very limited resources. e.g.
Mac OS X Aqua port and
Education Project (still incubator project). But to continue the effort, like mentor students writing code for OpenOffice.org project, help developers attending conferences, or pay them expensive memberships for development (like Apple ADC, or iPhone SDK ), or even pay one skilled developer to write some new feature, they need a bit of money.
EducOO.org is a french association (non profit) who aims to help
OpenOffice.org Education Project, or other OpenOffice.org Project like the
Mac OS X port, but not only.
This association is there to receive legally money from donators, for a lot of reasons, like help the developers to write missing features, attend conferences, or buy machines and even more.
If you want to support both Mac OS X and Education Project,
you can simply donate.
Thank you very much !Further information :
EducOOo page for donations """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, EducOOo, High-Tech, Mac OS X, OSX
News from Education Project
Pierre Pasteau and
Rakesh Pandit have seen their rights granted (thanks to
Martin Holmichell, Louis Suarez Potts and Stefan Taxhet who have accepted the requests). This means Pierre and Rakesh can now create their own cws's, commit code using tunnel, and ask to a confirmed developer to validate their code. Like all other OpenOffice.org developers. If you join
#education.openoffice.org channel (IRC server is irc.freenode.net), their IRC nicknames are (respectively)
pierrep and
chacha_chaudhry.
This means too, the
Education Project now counts 2 new Domain developers ! Other tasks in progress :
This morning, I was invited to
Valentin Janiaut presentation. The topic was about his task : Image Capture Implementation on Mac OS X. Was a very interesting presentation, and Valentin did big progress, and presented several possibilities.
Valentin is yet another student involved in
Education Project Effort, and no doubt, he will soon propose code.
From my side, still playing with OpenGL, I tested FLipView, and I have some ideas for the future. If you don't understand what means FlipView, you can have a look at the video ( ugly, but we see what happens) I put there
OpenGL FlipView .(tested ok using VLC under Linux and Mac OS X)
To be continued .. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, High-Tech, Mac OS X, OpenOffice, OSX, School
Present Education Project at Epitech (Paris )

I'm invited at
Epitech Paris, the 24th September (starting 16h ).
I hope it will be a great occasion to
present the OpenOffice.org Education Project,
meet students for true and
explain how things work in OpenOffice.org.
Agenda :
- present
OpenOffice.org Project- present
Education Project , the
Effort, the
ClassRoom - Present
EducOOo (french link, only at the moment) , the association who aims to be our resource
Many thanks to Pierre Pasteau who organized the event.
Stay tuned ..."""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, High-Tech, OpenOffice, School
OpenGL transitions ( 2)
Worked 5 hours on the thing last night (from 30th to 31st august).
Good some good news :
Fixed the colorspace issue: was the pDetectedFormat, means OpenGL transitions work and appear in the right colors now.
There is only one remaining important issue (flicker) Some details : GL_VERSION 1.2 or 1.3 detected means we enter in the "if .. .#endif" control structure
Adding debug info, we have :
rendering::ColorSpaceType:: 2 ( if RGB, returns 2 )
GL_VERSION 1.2 or 1.3 detected
nNumComponents = 4
nBitsPerPixel = 32
nComponentOrderIndex = 0
And in the #if .. #endif structure, this leads to lcl_ARGB32[] use, what is wrong. Indeed, correct OGLFormat is lcl_RGB24 on Mac OS X Intel ( lcl_RGB32 untested, might work )
Simple solution -> not use or fix the suspicious color space detection, and use (just fast workaround) :
#if defined(GL_VERSION_1_2) && defined(GLU_VERSION_1_3) && !defined( QUARTZ ) // buggy
instead of : #if defined(GL_VERSION_1_2) && defined(GLU_VERSION_1_3)
TODO :
- cleanup in void OGLTrans_TransitionerImpl::GLInitSlides() ,
- contact Radek, and Thorsten, and see. Maybe split the current OGLTransitionerImpl.cxx in three arch-dedicated files, should help to avoid the growing forest of #if ..
Last remaining issues : offset in window mode, caused by scrollbar not included in the slide position computation
(the frame dimensions are different)
=> Looks secondary, because everything works fine in a frame.
flickerVery noisy when happening. Must be fixed.
The problem is (using ssa words) : the slideshow displays the slide first
then an opengl view is painted on top of it and plays the slide transition
once it is removed the old background appears again still containing the first frame of the animation, and after a very short time the slideshow engine draws the final frame,
which is visible as a flicker
Update: the issues always occurs, means it does concern both windowed and fullscreen modes.
There is probably some needDisplay or whatever other event sent, we should not. Needs to ask pl, the master of vcl.
Optimization / compatibility ?
Will be Fun ( cleanup in OGLTransitionerImpl::GLInitSlides() is mandatory to be sure the detection works on every machine.
To be continuedLibellés : development, fun, High-Tech, Mac OS X, OpenGL, OpenOffice, OSX
OpenGL transitions in Impress for Aqua (1)
Started the effort, to make work the
OpenGL transitions, Shane M. Mathews developed under the Google Summer of Code 2007.
The goal is to use these transitions in Impress with the Aqua version. Obviously, the feature does concern Mac OS X only. As reminder, the great work Shane did, was mentored by
Thorsten Behrens.
The work is progressing fastly, and I created the cws is
ogltrans4mac. We'll probably do commit everything soon ( build completed with the current patches)
Everything will be documented on
the OpenGL transitions for Aqua wiki page. I'll document the code changes (incuding the one about another idea) asap.
Currently, the transitions can be tested, but some important issues have to be solved, and any help for the implementation is welcome.
Last, I'd like to thank
Stephan Schaefer for the important piece of code he provided (making the NSOpenGLView working).
Any volunteer is warmly invited to join us in the adventure :-)
Some screenshots are available
hereIMPORTANT: we need volunteers to (I hope this will not slow down the work in progress) write a spec document... and the Macport needs new devs, with objective C / C /C++ skills. Feel free to contact us :)Libellés : aqua, development, fun, High-Tech, Mac OS X, OSX
Education Project effort: a point on the work in progress

Several applications are started.
First application:
Pierre Pasteau to replace mozilla 1.7.5 sources, with seamonkey 1.1.11 source
Today was the first project review. Attendees : Franck Schonheit, Pierre Pasteau, me.
The log of the review Looking at the agenda, Pierre confirmed there is no delay, and we can start building OpenOffice.org using the new patch he created on Windows, Linux and Mac OSX.
Frank proposed to ask Martin Hollmichel for Pierre commit rights, thus he will be able to commit his own changes directly, and discover for true the real OpenOffice.org scheduling process. Always glad to see new volunteers joining the project :-)
2nd application, does concern
Valentin Janiaut: Image capture implementation on Mac OS X.
More precise description of the need, first try in progress. We need to describe more about the Image Capture available API
Rakesh Pandit started to work in starmath. Project review for current status has to be scheduled. More information to come this week about the starmath issue.
Don't forget,verybody, willing to help us, can join the effort, and will be warmly welcomed!
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki=> If you are willing to present a projet, or drive a ClassRoom with us, please contact me.
Many thanks to
Ben Bois , author of the Logo
Libellés : development, Education, High-Tech, OpenOffice, School
apple remote (5)
Last changes:
- Seems to work well with the
the Presenter Screen, a great and promising feature. Many thanks to the authors btw !
The issue was, the events were not sent to the right screen, and thus, no clics ... After searching complicated things, it was just a bad parameter. For one time I didn't had to read Apple doc for hours. Just a 20 minutes of search ... et hop :-)
- Updated the
wiki pageI'll continue to test
To be continued...Libellés : aqua, development, fun, High-Tech, OSX
apple remote (4)
Recent changes :
- commited all the code
- the bounce with previous slide is fixed
- some new keyCodes are under test ( NSEvent.h is really helpfull ! )
- Did some cleanup, and code factorization.
- F5 can open the navigator in Calc/Draw and writer. Other keys are not active
I'll upload a new (unofficial and hacked) Intel build today on
Laurent site today
The idea in the code factorization was to add a (private) method for sending the events, and simplify. No idea whether other parameters can or not be usefull, but I'll do some investigations.
e.g. use the isARepeat parameter could be interesting, because more "Front Row like"
Todo : open contextual menus, and make the up / down buttons work, and select items in the contextual menu (if ever it is possible).
Last : I found information about the concerned API for the Media Browser :-)
To be continued ... Libellés : aqua, devel, High-Tech, Mac OS X, OSX
apple remote (3) and other recent things
The apple_remote alias is ok (thanks to
Martin Hollmichel), thus I created appleremote01 cws ( should be buildable with m29 now).
Thanks to
Eike Rathke who explained me how commit the new build.lst and d.lst
The great and fast feedback from
Yves Roggeman, who helped me to fix the fullscreen issue ( I just forgot to implement it ).
I made a point with
Pierre Pasteau about his first task ( see
replace mozilla 1.7.5 )
Hope to find some time for the other cws I'd like to create ( macmenusquit)
Last but not least, new builds are available on
oooaqua site ( ja locale is available for Intel, and I'll start PowerPC build this afternoon)
IMPORTANT : please do not forget they are
unofficial and hacked builds, who just aim to receive feedback about the apple remote, nothing else. Do not use them if you don't know what you are doing, and make a backup of your datas
Libellés : aqua, development, fun, High-Tech, Mac OS X, OSX
Apple Remote in Impress : first try before more serious implementation
Just back from holidays, I found some times to hack the Apple Remote (the controller shipped with Apple machines).
After a week of learning the great
Pierre Chatelier documentation (Objective C for C++ developers ), and
Aaron Hillegass book " Cocoa Programming for Mac OS X", I finally found how to adapt
Martin Kahr's code, to make the Apple remote work with OpenOffice.org.
Today, reading Apple documentation, I finally found a simple way to implement the basics of the thing. and it works :-)
What you currently can do is:
- start a presentation
- goto next / previous slide
- goto to last/first slide
- quit the presentation
The Impress window must be in front (the active window). Else, Front row menus works as usual.
Some other features are missing, and I hope to make them work asap.
For the curious, I do provide unofficial builds Intel only ( PowerPC on tuesday), for en-US , fr and de (upload in progress). Don't forget to do a backup of your files.
The URL for the download is
Laurent Buisson site . Many thanks to him, for providing the ressources.
Last but not least, I found a way to modify the menus on the fly, and at build time, e.g; removing the not Aqua HIG compliant extra "Quit" in all the menus. I think this change could be an open door to better Mac OpenOffice.org menus customization.
Of course, this is work in progress, and I'm thinking to a more deep and professionnal implementation, but we need feedback from our users, to implement proprely the thing.
To be continued ...Libellés : Apple, aqua, development, High-Tech, Mac OS X
Education Project 8 months after ...
8 months already, since
Luis Suarez Potts invited me to join Education Project. Like
Sankarshan suggested me, it's time to present some figures.
So, what's new ?
A) Membership The Education Project now counts
64 members (was 13 members 8 months ago), counts two mailing lists, the most active is the dev@education.openoffice.org
B)ActivityB1) IRC channel (
#education.openoffice.org,
irc.freenode.net )
Very active people are
Rakesh Pandit,
Pierre Pasteau,
Andreas Mantke (from Portable OpenOffice.org),
Raphael Bircher (from de project). Other regular contributors are
Sankarshan Mukhopadhyay,
Valentin Janiaut,
Cedric Bosdonnat,
Stephane Bonhomme ... etc
B2) French side
On the francophone side, we have a lot of very active contributors, like
Nicolas Jeudy, Fred Diaz, Fred Ollivier, Remi Boulle, Mathieu Lalanne, Guy Veyssiere, Francois Beuraud, .. and a lot of other.
B3) on the Wiki
- improved
Education Project Wiki page - we propose several applications for students. See:
the effort-
ClassRooms : dedicated development topics are being discussed on IRC, and logs are collected, for an asynchronous use. IRC is the most simple compromise for people who don't have a reliable network.
We used intensively the wiki, and are proud to say that great Sun developers like
Philipp Lohmann and
Mathias Bauer, or
Christian Lohmaier, a volunteer, extremely precious for the OpenOffice.org Community, contributed.
C) Working with studentsCurrently, there are several applications where students are involved.
We cannot start with complicated applications, because we decided to create progressive documentation.
As example, OpenOffice.org Education Project created -sort of- partnership with Epitech ( Paris, France). A student from Epitech,
Pierre Pasteau, started a 6 month application (until end december 2008). 3 tasks will be proposed. In meantime,
Franck Schonheit , proposed to help. Very kind from him.
-
migrate mozilla 1.7.5 to seamonkey 1.1.x As you can see, we try to define objective to be validated for every application. We try to log everything for the community, thus next student will be able to select what they need to solve their next problems
-
make the uno-skeletonmaker tool templatable (application proposed by
Cedric Bosdonnat)
+ a 3rd task, e.g. fixing a starmath bug, with
Thomas Lange help.
Other remarkable contribution from
Rakesh Pandit, who is a regular contributor, sending patches and working hard. We worked on wae4binfilter01 together (close to complete), and we will continue for wae4binfilter some times.
The main objective of Rakesh, is to contribute for
starmath tasks (like issue 972 I didn't manage to work on yet, due to lack of free time )
D) Improved resourcesTo find resources more easely, an association has been created, called
EducOOo. The idea is to be able to receive donations and contributions
legaly.
To avoid mistakes, we asked
Noel Debarle, from
Sesamath, to join the EducOOo association Council, and help us.
E) VisibilityEducation Project was present at the following events :
-
Solution Linux Expo (Paris France),
- FOSDEM 2008 (Bruxelles, Belgie),
- Live eTic (Montpellier, France),
- RMLL 2008 (Mont de Marsan France),
- GoOOCon2008 (Prague Czech Rep.),
- Rencontres de l'Orme (Marseille, France),
- Salon des Ressources Educatives (Besancon , France)Last but not least,
Louis Suarez Potts will represent us at
OOoCon 2008 (Beiijin, China)Thanks to all the people who made this possible !!
France only (but other countries can copy easely).
During RMML ( Mont de Marsan, France), we created a group of Associations around Education, like GNU Edu Ofset ( http://www.ofset.org/it ), Kolekti ( http://www.kolekti.org/ ), Edulibre (http://www.edulibre.org/ ), and some other. The idea is to work and help us together. An important event is scheduled in september, and I'll post further information asap.
Of course, to avoid misunderstanding, we only work for pedagogical content, and redirect everything about OpenOffice.org use to fr.openoffice.org project.
Top 5 of the todo :1)
Find more resources Improve the Team : We need you !!
Other possibility : donations are welcome : we can provide our IBAN on demand
2)
improve the practice wiki pageWe certainly can improve the efficiency of the content. The task is open, and any feedback is welcome :)
3)
improve the synergy with Sun devs Obviously, something is happening about Education, but there is no coordination with Education Project. I trust Louis to find the best solution soon :)
4)
Improve the Education Project visibility through local regional contactsSeveral actions should be scheduled, like improve the mailing list activity, organize events in some schools or important official events .. and so on
5)
Improve our websiteThis is work in progress. Thanks to
Raphael Bircher/, who did a nice work.
=> to be continued :)
As you can see, this is an extremely promising project and we any contributor is welcome.
Thanks a lot to all, and let's continue !""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki EducOO.org blog (french) Many thanks to
Ben Bois , author of the Education Project Logo
Libellés : Education, High-Tech, OpenOffice, School
Import pdf for Aqua works
I wrote a
french Howto for the installation of the pdfimport extension with the Aqua version of OpenOffice.org.
See
Import PDF avec OpenOffice.org sous Mac OS X (French only)
Jus wondering:
why isn't this extremely interesting feature integrated in the Bundle ?An extension for that is not good, because
a lot of users will simply ignore this is possible. :-/Libellés : aqua, Education, EducOOo, High-Tech, Mac OS X, OpenOffice