1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
emacs/src
Jan Djärv e2f79c8d27 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.
2011-01-21 15:19:44 +01:00
..
bitmaps
m Refill some copyright headers. 2011-01-15 18:21:30 -08:00
s Refill some copyright headers. 2011-01-15 18:21:30 -08:00
.dbxinit
.gdbinit Merge from emacs-23 2011-01-14 12:18:41 -05:00
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
alloc.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
atimer.c Merge from mainline. 2011-01-17 11:01:01 -08:00
atimer.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
autodeps.mk Remove src/prefix-args.c. 2010-07-07 20:31:04 -07:00
bidi.c Add 2011 to remaining FSF/AIST copyright years. 2011-01-15 14:10:37 -08:00
bidimirror.h Use BidiMirroring.txt for mirroring characters in bidi context. 2010-06-12 18:52:43 +03:00
biditype.h Update to latest Unicode 6.0 beta data files. 2010-09-05 04:06:39 +02:00
blockinput.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
buffer.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
buffer.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
bytecode.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
callint.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
callproc.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
casefiddle.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
casetab.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
category.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
category.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ccl.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
ccl.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
ChangeLog Make Nextstep port handle multiple screens for resize and move. 2011-01-21 15:19:44 +01:00
ChangeLog.1 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.2 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.3 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.4 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.5 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.6 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.7 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.8 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ChangeLog.9 Merge from emacs-23 2011-01-14 12:18:41 -05:00
ChangeLog.10 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
character.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
character.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
charset.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
charset.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
chartab.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
cm.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
cm.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
cmds.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
coding.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
coding.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
commands.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
composite.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
composite.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
config.in Improve performance on non-GCC hosts with __aligned__. 2011-01-17 20:54:23 -08:00
COPYING
data.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
dbusbind.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
deps.mk Merge from mainline. 2011-01-17 11:01:01 -08:00
dired.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
dispextern.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
dispnew.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
disptab.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
doc.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
doprnt.c Merge from mainline. 2011-01-17 11:01:01 -08:00
dosfns.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
dosfns.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
editfns.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
emacs-icon.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
emacs.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
epaths.in Nuke arch-tags. 2011-01-15 15:16:57 -08:00
eval.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
fileio.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
filelock.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
filemode.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
firstfile.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
floatfns.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
fns.c Revert changes adding format args to yes-or-no-p and y-or-n-p. 2011-01-19 21:55:36 -05:00
font.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
font.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
fontset.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
fontset.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
frame.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
frame.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
fringe.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
ftfont.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ftfont.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ftxfont.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
getloadavg.c Merge from mainline. 2011-01-17 11:01:01 -08:00
getpagesize.h Merge from mainline. 2011-01-17 11:01:01 -08:00
globals.h Give read-expression-history a doc. 2011-01-19 22:40:36 -08:00
gmalloc.c Merge from mainline. 2011-01-17 11:01:01 -08:00
gnutls.c Add 2011 to remaining FSF/AIST copyright years. 2011-01-15 14:10:37 -08:00
gnutls.h Add 2011 to remaining FSF/AIST copyright years. 2011-01-15 14:10:37 -08:00
gtkutil.c Declare some DEFVARs globally, not locally 2011-01-18 10:28:28 -07:00
gtkutil.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
image.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
indent.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
indent.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
insdel.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
intervals.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
intervals.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
keyboard.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
keyboard.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
keymap.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
keymap.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
lastfile.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
lisp.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
lread.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
macros.c Give kbd-macro-termination-hook a doc. 2011-01-19 22:10:05 -08:00
macros.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
Makefile.in Merge from mainline. 2011-01-14 10:14:17 -08:00
makefile.w32-in In Makefiles, -batch implies -q. 2011-01-07 18:41:14 -08:00
marker.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
md5.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
md5.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
mem-limits.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
menu.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
menu.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
minibuf.c Give read-expression-history a doc. 2011-01-19 22:40:36 -08:00
msdos.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
msdos.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ndir.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ns.mk Add 2011 to remaining FSF/AIST copyright years. 2011-01-15 14:10:37 -08:00
nsfns.m Fix NextStep build problems with globals.h introducion. 2011-01-19 23:11:33 +01:00
nsfont.m Fix NextStep build problems with globals.h introducion. 2011-01-19 23:11:33 +01:00
nsgui.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
nsimage.m Nuke arch-tags. 2011-01-15 15:16:57 -08:00
nsmenu.m Fix NextStep build problems with globals.h introducion. 2011-01-19 23:11:33 +01:00
nsselect.m Fix NextStep build problems with globals.h introducion. 2011-01-19 23:11:33 +01:00
nsterm.h Make Nextstep port handle multiple screens for resize and move. 2011-01-21 15:19:44 +01:00
nsterm.m Make Nextstep port handle multiple screens for resize and move. 2011-01-21 15:19:44 +01:00
pre-crt0.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
print.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
process.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
process.h Merge from mainline. 2011-01-17 11:01:01 -08:00
puresize.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ralloc.c Merge from mainline. 2011-01-17 11:01:01 -08:00
README Refill some copyright headers. 2011-01-15 18:21:30 -08:00
regex.c Merge from mainline. 2011-01-17 11:24:36 -08:00
regex.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
region-cache.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
region-cache.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
scroll.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
search.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
sheap.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
sound.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
stamp-h.in
strftime.c * src/strftime.c (_strftime_copytm): Add declaration. 2010-11-18 13:39:15 -08:00
syntax.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
syntax.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
sysdep.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
sysselect.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
syssignal.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
systime.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
systty.h Merge from mainline. 2011-01-14 10:14:17 -08:00
syswait.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
term.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
termcap.c Merge from mainline. 2011-01-17 11:01:01 -08:00
termchar.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
termhooks.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
terminal.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
terminfo.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
termopts.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
textprop.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
tparam.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
undo.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
unexaix.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
unexcoff.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
unexcw.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
unexelf.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
unexhp9k800.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
unexmacosx.c * src/unexmacosx.c: Add comment about include order. 2011-01-20 07:43:04 +01:00
unexsol.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
unexw32.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
vm-limit.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w16select.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32.c * src/w32.c (check_windows_init_file): Remove declarations of 2011-01-19 10:24:40 -05:00
w32.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32console.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32fns.c Fix an error introduced by the previous patch. 2011-01-19 10:55:47 -05:00
w32font.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32font.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32gui.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32heap.c Merge from emacs-23 2011-01-14 12:18:41 -05:00
w32heap.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32inevt.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32inevt.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32menu.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32proc.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32reg.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32select.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32term.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32term.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
w32uniscribe.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
w32xfns.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
widget.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
widget.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
widgetprv.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
window.c * window.c: Fix error introduced by previous patch. 2011-01-19 08:06:24 -07:00
window.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xdisp.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xfaces.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xfns.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xfont.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
xftfont.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
xgselect.c Nuke arch-tags. 2011-01-15 15:16:57 -08:00
xgselect.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
xmenu.c Merge from emacs-23 2011-01-14 12:18:41 -05:00
xml.c Add 2011 to remaining FSF/AIST copyright years. 2011-01-15 14:10:37 -08:00
xrdb.c Merge from mainline. 2011-01-17 11:01:01 -08:00
xselect.c Fix X11 compilation failure. 2011-01-19 15:32:42 -08:00
xsettings.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xsettings.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
xsmfns.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xterm.c Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00
xterm.h Move all DEFVAR'd globals into a structure -- threading infrastructure 2011-01-18 13:45:37 -07:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
  2010, 2011  Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs (on Unix systems) is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

Under GNU and Unix systems, the file `Makefile.in' is used as a
template by the script `../configure' to produce `Makefile'.  This
is the file which actually controls the compilation of Emacs.
All of this should work transparently to the user; you should only
need to run `../configure', and then type `make'.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.