unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: ANN: Emacs.app 9.0-pre1
@ 2005-11-07  8:17 Sun Yijiang
  2005-11-07 13:02 ` Adrian Robert
  0 siblings, 1 reply; 10+ messages in thread
From: Sun Yijiang @ 2005-11-07  8:17 UTC (permalink / raw)
  Cc: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 6242 bytes --]

I have GNUStep installed on my GNU/Linux, but got this error message:
# make
gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/home/sun/sandbox/emacs-
23.0.0_NS-9.0pre1/src -D_BSD_SOURCE -g -O2 nsterm.m
nsterm.m: In function `ns_init_paths':
nsterm.m:292: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:292: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:298: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:301: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:311: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:311: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:311: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:313: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:332: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:332: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:334: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:349: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:364: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `ns_update_end':
nsterm.m:616: warning: `NSView' may not respond to `-unlockFocusNeedsFlush:'
nsterm.m:616: warning: (Messages without a matching method signature
nsterm.m:616: warning: will be assumed to return `id' and accept
nsterm.m:616: warning: `...' as arguments.)
nsterm.m: In function `ns_get_color':
nsterm.m:1129: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:1246: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:1248: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:1250: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:1252: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:1254: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:1272: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `ns_term_init':
nsterm.m:3046: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:3048: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:3051: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:3058: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:3082: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `-[EmacsView menuDown:]':
nsterm.m:4200: warning: multiple methods named `-representedObject' found
/usr/GNUstep/System/Library/Headers/AppKit/NSCell.h:351: warning: using
`-(id)representedObject'
/usr/GNUstep/System/Library/Headers/AppKit/NSRulerMarker.h:76: warning: also
found `-(id <NSCopying>)representedObject'
nsterm.m:4202: warning: multiple methods named `-representedObject' found
/usr/GNUstep/System/Library/Headers/AppKit/NSCell.h:351: warning: using
`-(id)representedObject'
/usr/GNUstep/System/Library/Headers/AppKit/NSRulerMarker.h:76: warning: also
found `-(id <NSCopying>)representedObject'
nsterm.m: In function `-[EmacsPrefsController init]':
nsterm.m:4781: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `ns_dumpglyphs':
nsterm.m:5001: warning: comparison between pointer and integer
nsterm.m:5087: warning: comparison between pointer and integer
nsterm.m:5093: warning: comparison between pointer and integer
nsterm.m: In function `removeSynthItal':
nsterm.m:5340: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `ns_load_font':
nsterm.m:5372: warning: assignment discards qualifiers from pointer target
type
nsterm.m:5423: warning: assignment discards qualifiers from pointer target
type
nsterm.m:5448: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:5582: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:5583: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `ns_list_fonts':
nsterm.m:5679: warning: assignment discards qualifiers from pointer target
type
nsterm.m:5688: warning: assignment makes pointer from integer without a cast
nsterm.m:5699: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:5702: warning: assignment discards qualifiers from pointer target
type
nsterm.m:5717: warning: assignment discards qualifiers from pointer target
type
nsterm.m:5724: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:5725: warning: assignment discards qualifiers from pointer target
type
nsterm.m:5732: warning: assignment discards qualifiers from pointer target
type
nsterm.m: In function `ns_font_to_xlfd':
nsterm.m:5794: warning: initialization discards qualifiers from pointer
target type
nsterm.m:5800: error: cannot find interface declaration for
`NXConstantString'
nsterm.m:5813: error: cannot find interface declaration for
`NXConstantString'
nsterm.m: In function `ns_fontname_to_xlfd':
nsterm.m:5847: error: cannot find interface declaration for
`NXConstantString'
make: *** [nsterm.o] Error 1

I add "#include <Foundation/Foundation.h>" to the head of nsterm.m, but got
same error messages.
This is what configure outputs:
What operating system and machine description files should Emacs use?
`s/gnu-linux.h' and `m/intel386.h'
What compiler should emacs be built with? gcc -g -O2
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? nextstep
What toolkit should Emacs use? none
Where do we find X Windows header files? NONE
Where do we find X Windows libraries? NONE
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use -lungif? no
Does Emacs use -lpng? no
Does Emacs use X toolkit scroll bars? yes

[-- Attachment #1.2: Type: text/html, Size: 8817 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread
* ANN: Emacs.app 9.0-pre1
@ 2005-11-05 20:51 Adrian Robert
  2005-11-06 22:47 ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: Adrian Robert @ 2005-11-05 20:51 UTC (permalink / raw)


Hi all,

I'm happy to announce an initial release of the GNUstep / Cocoa port 
based on the unicode-2 branch:

http://emacs-app.sf.net/

It's available (see the site) both as a patch to 2005/11/05 CVS (+ 
mini-tarball) or a monolithic tarball.  It should build and run on Mac 
OS X 10.3 and 10.4, and GNUstep on at least Linux (that's the only 
system I have for testing).


What works:

- all the basics
- fringes
- proportional text
- images (except XPM)
- boxes/borders, etc.


What doesn't work:

- toolbars
- tooltips


What has glitches:

- non-ascii text rendering and keyboard handling
- font and font size selection
- ctrl-g handling (interrupt input is not (yet) used)
- image backgrounds (e.g., gnus)

For the last, note that images are displayed via compositing, so the 
problem only comes up for images without an alpha layer whose 
background does not match the local face.


Why this Port?

Although there is already an existing port of GNU Emacs to Mac OS X, 
the "Emacs.app" port offers three advantages over it:

1) it runs in addition on the free GNUstep implementation of the Mac's 
Cocoa APIs (which are based on NeXT/OpenStep);

2) it makes a more concerted attempt to take advantage of the desktop / 
UI facilities both OS X and GNUstep offer for font and color selection, 
setting preferences, and so on, without compromising emacs's 
functionality;

3) because Cocoa is a higher-level API than Carbon, the windowing code 
is about half the size, and hopefully correspondingly easier to 
maintain.

On the other hand, the Carbon port supports OS X 10.1 and 10.2, plus 
Mac OS 8 and 9, and it is currently more complete, bug-free, and 
probably more stable than Emacs.app.


Why the 9.0 version number?

Emacs.app actually dates back to the early 1990s when Emacs 19 was 
ported to the NeXT computer.  The NeXTstep windowing APIs used on that 
machine became the basis for first OpenStep, then Rhapsody, then MacOS 
X.  Emacs.app has been kept updated by various people for most of that 
time.


What about Emacs 22?

I believe Emacs.app could trivially be converted to work off of the CVS 
Head codebase, however without some additional Mule <-> UTF conversion 
code I embedded into Emacs on Aqua, it will not render non-ASCII 
characters.  This code was written by Otried Cheong 
(http://tclab.kaist.ac.kr/~otfried/Mule/) and I have not asked him what 
the copyright status of that code is.  In addition, there is not nearly 
sufficient time for the implementation to be finished, debugged, and 
integrated before the initial 22 release.


Note on the implementation

I mostly followed the Carbon port in updating the Makefiles and 
configuration.  However MAC_OSX and MAC_OS are UNdefined when compiling 
for NS due to these being used for Carbon-specific things.  Unexec 
seems to work perfectly using Andrew Choi's unexmacosx.c, however I 
haven't been able to get dumped images to run under GNUstep.


regards,
Adrian Robert

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-11-08 16:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07  8:17 ANN: Emacs.app 9.0-pre1 Sun Yijiang
2005-11-07 13:02 ` Adrian Robert
2005-11-08  2:52   ` Sun Yijiang
2005-11-08  3:53     ` Adrian Robert
2005-11-08  6:54       ` Sun Yijiang
2005-11-08 12:05         ` Adrian Robert
2005-11-08 16:05           ` Sun Yijiang
2005-11-08 16:57             ` Fabien VALLON
  -- strict thread matches above, loose matches on Subject: below --
2005-11-05 20:51 Adrian Robert
2005-11-06 22:47 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).