Re: [Lazarus] Mac/PPC: AUGraphInitialize

2009-01-07 Thread EarMaster - Bent Olsen
, Normann -Original Message- From: EarMaster - Bent Olsen [mailto:b...@earmaster.com] Sent: 6. januar 2009 19:19 To: 'General mailing list' Subject: Mac/PPC: AUGraphInitialize Hi all, and a Happy New Year! :-) We have struggled with a problem on few Mac's with PowerPC's the last couple

[Lazarus] Mac/PPC: AUGraphInitialize

2009-01-06 Thread EarMaster - Bent Olsen
Hi all, and a Happy New Year! :-) We have struggled with a problem on few Mac's with PowerPC's the last couple of weeks, because we were unable to reproduce the problem on any available Mac's with PowerPC. The program simply just bounced in the dock and exited with no errors, crash reports,

Re: [Lazarus] Carbon: G4 vs G5

2008-12-17 Thread EarMaster - Bent Olsen
EarMaster - Bent Olsen wrote: Hi, We have successfully ported our software from Delphi/Win32 to Mac OS X PPC/i386 with Lazarus - after some minor fixes it works great. We are still getting feedbacks from users, and one particular is about getting the application up and running

[Lazarus] Carbon: G4 vs G5

2008-12-16 Thread EarMaster - Bent Olsen
Hi, We have successfully ported our software from Delphi/Win32 to Mac OS X PPC/i386 with Lazarus - after some minor fixes it works great. We are still getting feedbacks from users, and one particular is about getting the application up and running on PowerPC G4 with OS X 10.4.11 - it simply

[Lazarus] PPC: SynEditFoldedView giving parameter syntax error

2008-11-06 Thread EarMaster - Bent Olsen
Hi all, I have updated Lazarus to latest revision (17246) on Win32 and Mac i386/PPC, and downloaded latest FPC 2.2.2 (20081106 on Win32, 20081104 on Mac i386/PPC). Lazarus are build nicely and with no errors on Win32 and Mac i386, but on PPC it is throwing: [...] Assembling syneditfoldedview

Re: [Lazarus] PPC: SynEditFoldedView giving parameter syntax error

2008-11-06 Thread EarMaster - Bent Olsen
Thanks Brad and Martin. I applied the {$INLINE OFF} and Lazarus compiled. Uncomment the {$INLINE OFF} in /lazarus/components/synedit/syneditfoldedview.pp There is a bug on powerpc at the moment. That will work around it. /Normann ___ Lazarus

Re: [Lazarus] Carbon: 10.4.11 tab key hangs on 10.5.4

2008-10-30 Thread EarMaster - Bent Olsen
Thanks, it should be fixed in latest SVN version. Tom Gregorovic Great! I'll update to the latest SVN version tomorrow. Thanks, and best regards, Normann ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Carbon: Application menu

2008-10-29 Thread EarMaster - Bent Olsen
This is not managed by Lazarus. I think, you can control it via Info.plist file in your app bundle, see http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeCon fig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-130430. Tom Gregorovic Thanks, I'll take a look at it ;-)

Re: [Lazarus] Carbon: 10.4.11 tab key hangs on 10.5.4

2008-10-29 Thread EarMaster - Bent Olsen
I think it is simillar to http://mantis.freepascal.org/view.php?id=10054 . I don't have 10.5 version, but I think there is same option under Keyboard settings. I have not found how to detect this settings so far. But it should not certainly hang. Tom Gregorovic Hi Tom, I didn't knew

Re: [Lazarus] Carbon: 10.4.11 tab key hangs on 10.5.4

2008-10-29 Thread EarMaster - Bent Olsen
I think it is simillar to http://mantis.freepascal.org/view.php?id=10054 . I don't have 10.5 version, but I think there is same option under Keyboard settings. I have not found how to detect this settings so far. But it should not certainly hang. Tom Gregorovic Hi Tom, I managed to

Re: [Lazarus] Carbon: 10.4.11 tab key hangs on 10.5.4

2008-10-29 Thread EarMaster - Bent Olsen
Yes, this would help. I will fix it tomorrow. I want you to be listed in Lazarus contributors list - what is your full name? Tom Gregorovic Good, I'm glad I could help, and I hope can assist more often when I get deeper and deeper into Lazarus ;-) My full name is Bent Normann Olsen.

[Lazarus] Carbon: Application menu

2008-10-28 Thread EarMaster - Bent Olsen
Hi all, When you compile and run Carbon applications on a Mac you'll get an application menu up in the top left with some default menu items, but the items do always appear in English, and we can't change those. The application menu appear nice in applications like Safari and others, and

Re: [Lazarus] Mac OS X : How to get my app to show proper Short-Cuts...

2008-10-27 Thread EarMaster - Bent Olsen
+0200, EarMaster - Bent Olsen [EMAIL PROTECTED] wrote: Hi, We use short cuts like Meta+O for Ctrl+O, but you need to map short cuts dynamically - some short cuts on Win32 needs to be remapped for Mac users. Regards, Normann So is what I reported a bug that should be added

Re: [Lazarus] Carbon: PostMessage/SendMessage

2008-10-27 Thread EarMaster - Bent Olsen
Hi, Just a follow up - I've compiled a small test program with a thread and PostMessage for the client installation, and it's working as it should, so nothing wrong with posting messages. Back to testing... -Original Message- From: EarMaster - Bent Olsen [mailto:[EMAIL PROTECTED

[Lazarus] Carbon: PostMessage/SendMessage

2008-10-24 Thread EarMaster - Bent Olsen
Hi all, I've read about New 0.9.26 features. Part 1. SendMessage and PostMessage, and we are using PostMessage from a thread in Lazarus v0.9.27 rev 16990+ on both Mac OS X i386 and PPC, and they all seem to work fine. However, this might not be the case on some Mac OS X 10.4.11 installations

Re: [Lazarus] Mac OS X : How to get my app to show proper Short-Cuts...

2008-10-21 Thread EarMaster - Bent Olsen
Hi, We use short cuts like Meta+O for Ctrl+O, but you need to map short cuts dynamically - some short cuts on Win32 needs to be remapped for Mac users. Regards, Normann So is what I reported a bug that should be added to the bug tracker, as this was definitely working prior to the Lazarus

[Lazarus] Carbon PPC: Blue-ish images from ImageList

2008-10-20 Thread EarMaster - Bent Olsen
Hi all, Few months back I issued a bug regarding images getting Blue-ish when you assign speedbuttons glyph with images from a imagelist - see: http://bugs.freepascal.org/view.php?id=11462 This issued was closed after I installed a newer and more stable Lazarus rev. 16677, and I'm now running

Re: [Lazarus] Carbon PPC: Blue-ish images from ImageList

2008-10-20 Thread EarMaster - Bent Olsen
Hi all, Yes :( I've only no clue how to debug this (I've only a PPC OSX 4). To recap, it works on i386 OSX 4 and not on OSX 5 ? I'm puzzeled, if you look at the RGB or HLS channels you don't see anything swapped. It looks like some masking function failed (or used an alpha channel

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-14 Thread EarMaster - Bent Olsen
I'm not sure, but Appearance Manager is a bit out of date, though still used. May be you should use gestalt or HITheme API (hitheme is not documented properly, at least i have not found). Oh, I thought Appearance Manager and HITheme is part of the same HIToolbox framework - at least it says in

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-14 Thread EarMaster - Bent Olsen
Thanks, I found GetThemeFont from the unit Appearance, which returns the system font (in this case 'Lucida Grande'), but changing TLabel to this font didn't had the expected effect. I'm more convinced now that Lazarus, at least for Carbon, doesn't fully support UTF8. If you take a TLabel and set

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread EarMaster - Bent Olsen
Rectagle characters indicates that the font does not support the chracter. Try using another font. Thanks, and I see, but it's strange thou, because the components was set with the same font at first (Geneva), and only TEdit adapted. I found a font like STKaiti which displays a Japanese text

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread EarMaster - Bent Olsen
TEdit is a native Windows control, and by default Windows will choose the adequate font. The font differs between different Windows versions. The default font under XP is Tahoma, as explained here: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#East_Asian_langu ages_on_Windows I

[Lazarus] Carbon: Calling AHRegisterHelpBook results in extra Help menu

2008-09-04 Thread EarMaster - Bent Olsen
Hi, We have a TMainMenu with a menu item called Help, which of course holds the help menu items - all normal and works fine - but a subsequent call to AHRegisterHelpBook on Mac OS X results in an extra Help menu given by the OS. Anybody have a solution for that? Either how to get some sort of

[Lazarus] CoreAudio: CAStreamBasicDescription

2008-08-21 Thread EarMaster - Bent Olsen
Hi all, Anybody already translated CAStreamBasicDescription successfully? CAStreamBasicDescription is a class wrapper for AudioStreamBasicDescription record, which is used in API calls like AudioFileGetProperty etc. I can do basic translations from struct to record, but classes I C++ is new to

Re: [Lazarus] Internal compiler error (217)

2008-08-13 Thread EarMaster - Bent Olsen
PROTECTED] Sent: 12. august 2008 17:29 To: General mailing list Subject: Re: [Lazarus] Internal compiler error (217) Zitat von EarMaster - Bent Olsen [EMAIL PROTECTED]: It didn't had any useful output, only saying compiling a unit, and fatal abort on the next, placing abortion at the top

Re: [Lazarus] Internal compiler error (217)

2008-08-12 Thread EarMaster - Bent Olsen
von EarMaster - Bent Olsen [EMAIL PROTECTED]: Hi all, I recently reinstalled older revision (15279) of Lazarus with FPC 2.2.0, and it all worked fine, but suddenly it began to abort compilation and saying Internal compiler error! (217). What does that mean? I did search the web