view nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist @ 112396:e79e716435f4

Make Nextstep port handle multiple screens for resize and move. * nsterm.h (ns_output): Add dont_constrain and zooming. (EmacsView): Add ns_userRect. * nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check if ns_alternate_modifier is none. * nsterm.m (x_set_offset, windowDidMove): When calculating y, use first screen, not the window screen. (x_set_window_size): Remove constraints. Calculate origin.y only if zooming is 0 and without referring to a screen. (windowWillResize): Don't modify frameSize. (windowDidBecomeKey, mouseDown): Set dont_constrain to 1. (initFrameFromEmacs): Initialize ns_userRect. (windowShouldZoom): Set zooming to one. Remove all other code. (windowWillUseStandardFrame): Move static ns_userRect to EmacsView. Zero it after restore. (constrainFrameRect): New method for EmacsWindow. (mouseDragged): Always post NSWindowDidResizeNotification after call to windowWillResize.
author Jan D. <jan.h.d@swipnet.se>
date Fri, 21 Jan 2011 15:19:44 +0100
parents 40af77a50adc
children
line wrap: on
line source

{
    ApplicationDescription = "GNU Emacs for GNUstep / OS X";
    ApplicationIcon = emacs.tiff;
    ApplicationName = Emacs;
    ApplicationRelease = "24.0.50";
    Authors = (
	"Adrian Robert (GNUstep)",
	"Christophe de Dinechin (MacOS X)",
	"Scott Bender (OpenStep)",
	"Christian Limpach (NeXTStep)",
	"Carl Edman (NeXTStep)",
	"..see http://emacs-app.sf.net/authorship.html"
    );
    Copyright = "Copyright (C) 2011 Free Software Foundation, Inc.";
    CopyrightDescription = "Released under the GNU General Public License Version 3 or later";
    FullVersionID = "Emacs 24.0.50, NS Windowing";
    NSExecutable = Emacs;
    NSIcon = emacs.tiff;
    NSPrincipalClass = NSApplication;
    NSRole = Application;
    NSTypes = (
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		txt
	    );
	},
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		c,
		h
	    );
	},
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		m
	    );
	},
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		C,
		cpp,
		H,
		cc
	    );
	},
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		java
	    );
	},
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		el
	    );
	},
	{
	    NSDocumentClass = "";
	    NSHumanReadableName = "";
	    NSIcon = "";
	    NSName = "";
	    NSRole = "";
	    NSUnixExtensions = (
		*
	    );
	}
    );
    NSServices = (
	{
	    NSPortName = Emacs;
	    NSMessage = requestService;
	    NSUserData = open-selection;
	    NSSendTypes = (NSStringPboardType);
	    NSMenuItem = {
		default = "Emacs.app/New Buffer Containing Selection";
	    };
	},
	{
	    NSPortName = Emacs;
	    NSMessage = requestService;
	    NSUserData = open-file;
	    NSSendTypes = (NSStringPboardType);
	    NSMenuItem = {
		default = "Emacs.app/Open Selected File";
	    };
	},
	{
	    NSPortName = Emacs;
	    NSMessage = requestService;
	    NSUserData = mail-selection;
	    NSSendTypes = (NSStringPboardType);
	    NSMenuItem = {
		default = "Emacs.app/Email Selection";
	    };
	},
	{
	    NSPortName = Emacs;
	    NSMessage = requestService;
	    NSUserData = mail-to;
	    NSSendTypes = (NSStringPboardType);
	    NSMenuItem = {
		default = "Emacs.app/Send Email to Selected Address";
	    };
	},
    );
    URL = "http://www.gnu.org/software/emacs";
}