Apache OpenOffice (AOO) Bugzilla – Issue 75228
aquavcl01: WaE for vcl/aqua/source/app/saltimer.cxx
Last modified: 2007-07-09 22:41:34 UTC
The current aquavcl01's file vcl/aqua/source/app/saltimer.cxx is using deprecated API: /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx: In destructor 'virtual AquaSalTimer::~AquaSalTimer()': /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:104: warning: 'RemoveTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:392) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:104: warning: 'RemoveTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:392) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx: In member function 'virtual void AquaSalTimer::Start(ULONG)': /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:114: warning: 'RemoveTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:392) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:114: warning: 'RemoveTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:392) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:124: warning: 'PrimeTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:344) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:124: warning: 'PrimeTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:344) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx: In member function 'void AquaSalTimer::ReStart(ULONG)': /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:131: warning: 'PrimeTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:344) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:131: warning: 'PrimeTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:344) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx: In member function 'virtual void AquaSalTimer::Stop()': /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:138: warning: 'RemoveTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:392) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:138: warning: 'RemoveTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:392) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx: In member function 'BOOL AquaSalTimer::InstallTask()': /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:148: warning: 'InstallTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:229) /Users/pavel/BUILD/AQUA/BuildDir/ooo_SRC680_m202_src/vcl/aqua/source/app/saltimer.cxx:148: warning: 'InstallTimeTask' is deprecated (declared at /System/Library/Frameworks/ CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Timer.h:229) dmake: Error code 1, while making '../../../unxmacxi/slo/saltimer.obj' Port it to newer API.
The attached patch migrates the AquaSalTimer into Carbon Event loop timer events. I'd be glad if you can review it.
Created attachment 43603 [details] Rewrite SalTimer
Hmm, there is some problem there, because sometimes, it crashes when quiting in ImplSalYieldMutexAcquire
Hi Pavel, who do you expect to review the patch?
yes, we are working on it ;-)
Created attachment 44939 [details] new patch ( the previous one does not apply anymore)
*** Issue 77570 has been marked as a duplicate of this issue. ***
Created attachment 45890 [details] thrid patch
Seems to work nicely for me ? Attached a renewed patch
pl: -u please.
Created attachment 45912 [details] the same a unified diff
pl: works here OK.
pjanik: question, what's the FIXME mean at the end ? What problem is there still ?
I think you can safely remove it. I do not remember why I put it there 8)
committed
no warnings there now -> verified. If there are small problems, new issues please :-)
Change target milestone to 2.3.
VCL is still WaE clean on SRC680_220. Closing.
Still ok in SRC680_m220 Closing