From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c32fe290813aec20 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: OpenStep/GNUStep/Cocoa (Was: New Ada portable GUI Library?) Date: Thu, 17 Jan 2008 08:34:03 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <478f04eb$1@news.post.ch> References: <6d63c543-0a35-4c39-a330-98c63a24f64d@i3g2000hsf.googlegroups.com> <478c6c2d$1@news.post.ch> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: atlas.ip-plus.net 1200555247 29225 194.41.146.1 (17 Jan 2008 07:34:07 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Thu, 17 Jan 2008 07:34:07 +0000 (UTC) User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Original-NNTP-Posting-Host: w03duo.pnet.ch X-Original-Trace: 17 Jan 2008 08:34:03 +0100, w03duo.pnet.ch Xref: g2news1.google.com comp.lang.ada:19444 Date: 2008-01-17T08:34:03+01:00 List-Id: I. Levashew schrieb: > Martin Krischik пишет: >> I have another suggestion: A GUI Library based on OpenStep [1]. >> >> Existing GUI Libraries tend to be rather complex with hundreds of >> classes - any binding is a huge work - especially since most GUI >> Libraries are OO - and binding to an OO Lib in another language is >> difficult. And a job without end as all libraries are constantly >> extended. > > As of Leopard Apple started providing BridgeSupport XML files. It's not > an endless job now. It's a virtually one-time job. I am not Mac user so I did did not know about BridgeSupport. Now I looked it up and While BridgeSupport sounds good - will it work with GNUStep as well. Note that the Discussion is about a portable library which should work at least on Windows/Linux/Mac. >> here the Idea: If we create an Objective-Ada pre-processor we are done. >> And the Mac-Ada users would love it ;-). > Why do we need a preprocessor? It'll hurt ability of manipulating source > code with 3rd party utilities. I'm Mac-Ada user, and I'm definitelly not > going to love it. It is opposed to Ada spirit. I though you would love it because it is the only proposal which will give Mac users cocoa support. To remind you, the other options are: GWindows: Native on Windows [1], emulated with Wine on Linux and Mac. GtkAda: Native on Linux, emulated with MinGW in Windows, Carbon based on Mac. QtAda: Native on Linux and Windows [1], X11.app based Mac. AdaStep [2]: Native on Mac (Cocoa) and Linux (GNUStep) emulated with MinGW on Windows. [1] Of course GNAT is based on MinGW - so MinGW will always be part of any Windows Tool Chain - it's just the GUI which I consider native and I might be wrong. [2] Just invented that name ;-) . > I think Objective-C on Mac OS X should be dealt with the same way as COM > on Windows; on Mac OS X we'll just use BridgeSupport XML instead of IDL. You seem to be a Mac user so I trust you on that. And parsing an XML file should be a lot easier then anything else - which is good considering our limited resources. Just the "Will it word with GNUStep?" question is left. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com