Re: [fpc-pascal] fpGUI Toolkit v0.7-rc2 for FPC 2.4

2010-04-09 Thread Schindler Karl-Michael
Hi

Am 08.04.2010 um 22:45 schrieb Graeme Geldenhuys:
> From the backtrace the initial problem starts with the call to
> WindowSetSupportPING() on line 1424 in fpg_x11.pas. Clearly the Mac
> "window manager" doesn't support all the usual features of modern
> Linux window managers does.

To some extend X11 is treated as a step child on Mac OS X.

> The WindowSetSupportPING() is not a
> critical feature - PING support simply detects if a program is not
> responding and then prompts the user if they would like to kill the
> app or continue waiting.
> 
> If you comment line 1424, does that resolve the X11 error you get?

I get the same error with line 1468:

fpgApplication.netlayer.WindowAddProtocol(FWinHandle, 
xapplication.xia_wm_delete_window);

commenting out this, i get the error on 1828

  XGetGeometry(xapplication.display, TfpgX11Window(awin).FWinHandle, @rw, @x, 
@y, @w, @h, @bw, @d);

where I stopped.

> I'll research further to see if there is a way I can query window
> manager features in a more reliable manner.

when asking on the darwin mailing list, i received this answer:

   Explicit XSync or XInterAtom() to make sure the messages don't pass, queued 
in the night, and then you try an operation on an object which was queued but 
not serviced.

 You can see if sync is what's required by turning it on using the server 
option, so that you get it on every request, whether you want it or not.  
Documentation on how to do this for Mac OS X's X11 server is at 
.

This does not tell me much, but I'll search around. Maybe, it tells you more 
than me.

> Regards,
>  - Graeme -

Michael

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Apple forbids fpc applications on iPhone

2010-04-09 Thread Luiz Americo Pereira Camara
According to 
http://daringfireball.net/2010/04/iphone_agreement_bans_flash_compiler , 
in the new SDK programs compiled with fpc are not allowed anymore. A 
quote "Applications must be originally written in Objective-C, C, C++"


Luiz
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Apple forbids fpc applications on iPhone

2010-04-09 Thread Graeme Geldenhuys
Hi,

On 9 April 2010 11:43, Luiz Americo wrote:
> According to
> http://daringfireball.net/2010/04/iphone_agreement_bans_flash_compiler , in
> the new SDK programs compiled with fpc are not allowed anymore. A quote
> "Applications must be originally written in Objective-C, C, C++"
>

I just finished reading a similar article. Apple now forcing C/C++ and
Objective-C onto everybody. Absolutely ridiculous!!

It should not matter what language is used, but how well the
application works on a device and integrates with other features of
such a device. Clearly Apple disagrees with this. :-(


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Apple forbids fpc applications on iPhone

2010-04-09 Thread Jonas Maebe


On 09 Apr 2010, at 11:43, Luiz Americo Pereira Camara wrote:

According to http://daringfireball.net/2010/04/iphone_agreement_bans_flash_compiler 
 , in the new SDK programs compiled with fpc are not allowed  
anymore. A quote "Applications must be originally written in  
Objective-C, C, C++"


Please hold/continue this discussion on the fpc-other list. I've added  
a link at http://wiki.freepascal.org/iPhone/ 
iPod_development#Warning:_iPhone_OS_4.0 where you can submit comments  
to Apple, if you wish to do that.


Thanks,


Jonas
FPC mailing lists admin
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal