Aquavcl01 tasks

From Apache OpenOffice Wiki
Revision as of 02:46, 19 May 2007 by Msicotte (Talk | contribs)

Jump to: navigation, search

This page is work in progress.

Aqua VCL tasks

This page is reserved for all aquavcl01 tasks, and will probably removed (I hope) when aquavcl01 will be integrated)

Any contributions/help to continue/build this page is welcome.

Fix crashes in Aquavcl01 + m202

As starting point, Ismael post on mac@porting mailing list (will be replaced by the initial post URL) :

I investigated about the crash and i found that it comes from the function HandleMenuPopulateEvent in vcl/aqua/source/window/salframe.cxx line 822. The crash occurs because of these two lines which have a comment before:
// FIXME: looks like it crashes when some menus are activated...
pSalFrame->CallCallback(SALEVENT_MENUACTIVATE, &aMenuEvt);
pSalFrame->CallCallback(SALEVENT_MENUDEACTIVATE, &aMenuEvt);

The bug is caused by CallCallBack (defined in vcl/inc/salframe.cxx line 314) maybe because of a null or invalid pointer on a variable or a function: m_pProc, m_pInst or pEvent. The first two belong to the salframe class, and the last is passed as an argument.

Hoping it will help.

Pleae complete ..

Remove deprecated functions

Related reading: QuickDraw Reference, Deprecated QuickDraw functions and QuickDraw to Quartz2D guide


short list of the deprecated functions + the context :

Context 1 : App/ Timer # comment : since RunApplicationEventLoop is usable, we should be able to replace *TimeMask with the recent corresponding kEvent*

file: deprecated function : RemoveTimeTask / PrimeTimeTask / InstallTimeTask


Context 2: gdi / ATS+fonts : # Comment -> work in progress. I'll describe everything file : vcl/aqua/source/gdi/salatslayout.cxx

--> i will remove deprecated in salatslayout while i m working on it. (plipli)

deprecated function : ATSUGetGlyphInfo

file : vcl/aqua/source/gdi/salatsuifontutils.cxx # same as ATS+fonts deprecated functions : TextOrder / ScriptOrder / LanguageOrder / FMGetFontFromFontFamilyInstance


No idea (ChristianL  ? ) :

Context 3 : gdi / Color + Pixmaps file : vcl/aqua/source/gdi/salcolorutils.cxx deprecated functions : GetGDevice / MakeITable / GetCTSeed / GetPixDepth /GetCTable /


Context3 4: gdi / Geometry + Pixmaps

file : vcl/aqua/source/gdi/salpixmaputils.cxx deprecated functions : SetRect / GetGDevice (dupe) / NewPixMap / GetPixelsState / SetPixelsState / LockPixels / DisposePixMap


Context 4: Frame

file : vcl/aqua/source/window/salframe.cxx deprecated functions : GetMainDevice / SetRect (dupe) / NewRgn / GetRegionBounds / DisposeRgn


URL : build log of vcl/aqua

CWS Integration

Enter your plan/ proposal here

CWS REsync

Current: m211

Personal tools