lundi 27 août 2007

Mac Address Book Integration : a Google Summer Of Code success !

The Google Summer of Code 2007 gave the possibility to integrate a new very good developer : Omer Bar-or.

His work for the "Mac OSX Address Book integration" is complete and successful !

Thank you very much Omer !

The code produced is currently under QA and will be integrated as soon as possible.

I hope Omer will be able and willing to continue working with the Mac Aqua porting team, as everyone has appreciated the quality of his work and relationships.

Have a good day !

Sebastien Plisson
aka plipli@openoffice.org

lundi 11 juin 2007

End of the first day of OO.org Aqua Mac porters at WWDC07

What a great day we had here in WWDC07 :

- Great keynote, sessions about all kind of new stuff
- Very interesting upcoming labs : Core text, Carbon and Cocoa binding, etc
- Enthusiast contacts from the Mac community
- Experts and Apple famous engineers everywhere you look at : open and ready to help us


To be continued...

Here are a few pics of our great team representatives :-) :
Par ici les photos

Sebastien Plisson,
aka Mac OO.org reporter at WWDC07 ;-)

First keynote, first questions : Meeting point

Here we are.
Keynote was great. Now back to OO.org work before afternoon session on tech spec of Leopard.

We have to fix a meeting point for OO.org Mac team, for people who'd like to talk with us and DEVELOPERS who
would be ready to help us to make the Mac port faster !

So OpenOffice.org Mac team meeting point will be at 3rd floor just in front of the stairs on right side tables.

We are 3 at WWDC so we will try to attend sessions , labs and be at meeting point as often as possible.

Do not hesitate to contact us to set a meeting during WWDC07 : email and/or IRC Channel : #ooo_macport (irc.freenode.net)

Eric Bachard, OpenOffice.org Mac team Co-lead : ericb@openoffice.org - ericb at irc
Philip Lohmann, OpenOffice.org Sun Microsystems : pl@openoffice.org, pl at irc
Sebastien Plisson, OpenOffice.org & Veodia inc. : plipli@openoffice.org, plipli at irc

vendredi 27 avril 2007

HIFramework on air : do you smell Aqua's OOo ?

Finally released my working portion of code integrating Apple's HIFramework into VCL aqua layer.
By now, we'll have s solid base (as soon as it wil be clean) to build quickly OOo Aqua VCL : helpers, registering mecanism, event handlers will help us a lot to implement all the native controls we need !
Good day for aqua team : let's continue this way !

lundi 16 avril 2007

Tuning Aqua on the OOo !

Working on reengineering events for windows and controls, I've finally succeeded in integrating Apple's HIFramework piece of code.
It provides helpers to manage events for the HIObjects : HIViews and natives Controls.
My goal is to provide a clean and powerful base to support the complete native aqua control implementation that has been started some times ago by the Mac Aqua OpenOffcie.org team.
With our great developers and new ones joining us, I'm confident that we'll do enormous progress to build the Alpha public release.

If you're waiting for a native Aqua loook'n feel, tending to follow Apple's HIG, OpenOffice.org 2.2 version of your preferred office suite : stay tuned !

mercredi 28 mars 2007

SalTimer, Aqua, Events and Co

Working on refresh and events handler recoding, in aquavcl01, I had questions about the role of SalTimer events. Philip Lohman answered to the mac port team and I got lights on this part of OOo.

Now I see how I will sanely plug my work on native MacOSX drawing events (windows and HIView controls).

Hopefully, SalTimer will not be used anymore for drawing in aquavcl01. We will use compositing to manage hidden/shown part of windows, thus BitmapContext should become useless too.

I'll work hard to deliver a patch to the mac@OO, before the mid-april...

Sebastien PLISSON
aka plipli@openoffice.org

mardi 13 mars 2007

Problem in context with hiview


Icons in toolbar are upside down... prblem of coordinate because context come from hiviews...

mardi 6 mars 2007

About and CTRL+SDT


Scrolling is slow in about box : CTRL+SDT

But button is correct.

Refresh and need for speed

Replaced InvalWindowRect with HIViewSetNeedsDisplayInRect, that works well either.

Draw to CGLayerContext, then draw CGLayer to mrContext to benefit of Quatrz caching.

Set the blinking cursor, and get it running nice between chars !

lundi 5 mars 2007

Better refresh and CGLayer

With the help of Paveljanik, I was able to get better screen refresh !

For now, I added immediate zone refresh for teh zone where I draw text in salatslayout.

I added two methods to AquaSalGraphics : RefreshWindow (ask to refresh entire window -> slow) and RefreshRect (ask to refresh a zone)

The results are good when text typing.

I still have not been able to reproduce my old configuration where cursor was visible and moving real time between chars... but I guess I'm not so far from a good surprise !

I also reintroduced the CGLayer, as I better understood the roel of mrBitmapContext wit hteh help of Pavel.
I'll have to fix some code inorder the mrCGLayerContext to be initialized on time when used by methods using mrBitmapContext.

I need a some time to do that, but I'm confident...

I need some explanation on when the CGContextTranslateCTM is preserved or lost, because I have funny behaviour :
1) everything is drawn correctly with CGLayer
2) a second after (refresh ?) everything is upside down (in fact th text is still in the right sense but lines are drawn in invert order)
.... funny and weird ;-)

To be continued

jeudi 1 mars 2007

CGLayer at the beginning...svdem_tool



It s not good for the moement...

mercredi 28 février 2007

Working on Fonts in OOO Aqua port

I've been working on implementing text layouting in OpenOffice.org Aqua native port project.
Glyph, Character, Carets are beginning to work fine.

Fonts are the next part I'm working on currently.

But I need better screen refresh to be able to work faster.

I'll ask some help on Carbon mailing lists.

Playing with screen refresh...

Yesterday, being 4 hours on TGV, I continued to try to understand how to manage correctly screen refresh in my OOO Aqua build.... without success.

Information from Apple are a bit short about it and even with Quartz debugger, I did not succeed in having text refreshed correctly.

We use Quartz draw methods so we should use CGContextFlush but I must have missed something to use it correctly.

To be continued