annotate src/EmacsShellP.h @ 558:ed498ef2108b

[xemacs-hg @ 2001-05-23 09:59:33 by ben] xemacs.mak: call `ver' to get the exact os version and put it in the installation; suggestion from adrian. behavior-defs.el: Add scroll-in-place, jka-compr, efs, fix up some things. pop.c: Remove BROKEN_CYGWIN. etc\sample.init.el: Rewrite to be much more careful about loading features -- now it decays gracefully even in the complete absence of packages. Also avoid doing obnoxious things when loading efs. configure.in: add some support for eventually turning on file coding by default. Fix numerous places where AC_MSG_WARN had quotes around its arg, which is bad. Replace with []. Same for AC_MSG_ERROR. s\cygwin32.h, s\mingw32.h: remove support for way old beta versions of cygwin. don't put -Wno-sign-compare in the system switches; this isn't a system issue. define BROKEN_SIGIO for cygwin to get C-g support. device-msw.c: signal an error rather than crash with an unavailable network printer (from Mike Alexander). event-msw.c: cleanup headers. fix (hopefully) an error with data corruption when sending to a network connection. fileio.c: Fix evil code that attempts to handle the ~user prefix by (a) always assuming we're referencing ourselves and not even verifying the user -- hence any file with a tilde as its first char is invalid! (b) if there wasn't a slash following the filename, the pointer was set *past* the end of file and we started reading from uninitialized memory. Now we simply treat these as files, always. optionally for 21.4 (doc fix): lread.c: cambia de pas_de_lache_ici -- al minimo usa la palabra certa. frame.c: fix warnings. emacs.c, nt.c, ntproc.c, process-nt.c, realpath.c, unexnt.c: rename MAX_PATH to standard PATH_MAX. process-nt.c, realpath.c: cleanup headers. process-unix.c, sysdep.c, systime.h, syswindows.h: kill BROKEN_CYGWIN and support for way old beta versions of cygwin. sysfile.h: use _MAX_PATH (Windows) preferentially for PATH_MAX if defined. include io.h on Cygwin (we need get_osfhandle()). include sys/fcntl.h always, since we were including it in various header files anyway. unexcw.c: fix up style to conform to standard. remove duplicate definition of PERROR. buffer.c: comment change. database.c, debug.h, device-tty.c, dired-msw.c, glyphs-msw.c: header cleanups (remove places that directly include a system header file, because we have our own layer to do this more cleanly and portably); indentation fixes.
author ben
date Wed, 23 May 2001 09:59:48 +0000
parents 74fd4e045ea6
children 697ef44129c6 308d34e9f07d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Emacs shell widget internal header file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1994, 1995 Sun Microsystems, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 /* Synched up with: Not in FSF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 /* Written by Ben Wing, May, 1994. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 0
diff changeset
25 #ifndef INCLUDED_EmacsShellP_h_
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 0
diff changeset
26 #define INCLUDED_EmacsShellP_h_
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #include "xintrinsic.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #include <X11/ShellP.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 #include "EmacsShell.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 /****** TopLevelEmacsShell ******/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 typedef struct { /* new fields for TopLevelEmacsShell class */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 int dummy;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 } TopLevelEmacsShellClassPart;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 /* full class record declaration */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 typedef struct _TopLevelEmacsShellClassRec {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 CoreClassPart core_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 CompositeClassPart composite_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 ShellClassPart shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 WMShellClassPart wm_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 VendorShellClassPart vendor_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 TopLevelShellClassPart top_level_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 TopLevelEmacsShellClassPart emacs_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 } TopLevelEmacsShellClassRec;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 typedef struct { /* new fields for TopLevelEmacsShell widget */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 int width_cells, height_cells;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 int min_width_cells, min_height_cells;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 } TopLevelEmacsShellPart;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 typedef struct _TopLevelEmacsShellRec { /* full instance record */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 CorePart core;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 CompositePart composite;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 ShellPart shell;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 WMShellPart wm;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 VendorShellPart vendor;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 TopLevelShellPart top_level;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 TopLevelEmacsShellPart emacs_shell;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 } TopLevelEmacsShellRec;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 /* class pointer */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 extern TopLevelEmacsShellClassRec topLevelEmacsShellClassRec;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 /****** TransientEmacsShell ******/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 typedef struct { /* new fields for TransientEmacsShell class */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 int dummy;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 } TransientEmacsShellClassPart;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 /* full class record declaration */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 typedef struct _TransientEmacsShellClassRec {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 CoreClassPart core_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 CompositeClassPart composite_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 ShellClassPart shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 WMShellClassPart wm_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 VendorShellClassPart vendor_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 TransientShellClassPart transient_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 TransientEmacsShellClassPart emacs_shell_class;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 } TransientEmacsShellClassRec;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 typedef struct { /* new fields for TransientEmacsShell widget */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 int width_cells, height_cells;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 int min_width_cells, min_height_cells;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 } TransientEmacsShellPart;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 typedef struct _TransientEmacsShellRec { /* full instance record */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 CorePart core;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 CompositePart composite;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 ShellPart shell;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 WMShellPart wm;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 VendorShellPart vendor;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 TransientShellPart transient;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 TransientEmacsShellPart emacs_shell;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 } TransientEmacsShellRec;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 /* class pointer */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 extern TransientEmacsShellClassRec transientEmacsShellClassRec;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 0
diff changeset
102 #endif /* INCLUDED_EmacsShellP_h_ */