annotate src/syscommctrl.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 abe6d1db359e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
1 /* Copyright (C) 2000 Free Software Foundation, Inc.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
2
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
3 This file is part of XEmacs.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
4
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
5 XEmacs is free software; you can redistribute it and/or modify it
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
6 under the terms of the GNU General Public License as published by the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
7 Free Software Foundation; either version 2, or (at your option) any
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
8 later version.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
9
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
10 XEmacs is distributed in the hope that it will be useful, but WITHOUT
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
13 for more details.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
14
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
15 You should have received a copy of the GNU General Public License
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
16 along with XEmacs; see the file COPYING. If not, write to
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
18 Boston, MA 02111-1307, USA. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
19
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
20 /* Synched up with: Not in FSF. */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
21
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
22 /* Authorship:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
23
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
24 Created May 2000 by Andy Piper.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
25 Windows-Mule stuff added by Ben Wing.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
26 */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
27
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
28 #ifndef INCLUDED_syscommctrl_h_
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
29 #define INCLUDED_syscommctrl_h_
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
30
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
31 #if !defined (CYGWIN_VERSION_DLL_MAJOR) || CYGWIN_VERSION_DLL_MAJOR > 20
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
32 /* Appears to be missing in Cygwin b20.1; requisite includes are in
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
33 Windows32/Messages.h and get included automatically with windows.h */
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
34 #include <commctrl.h>
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
35 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
36
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
37 #ifndef TB_SETIMAGELIST
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
38 #define TB_SETIMAGELIST (WM_USER + 48)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
39 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
40 #ifndef TB_GETIMAGELIST
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
41 #define TB_GETIMAGELIST (WM_USER + 49)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
42 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
43 #ifndef TB_SETDISABLEDIMAGELIST
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
44 #define TB_SETDISABLEDIMAGELIST (WM_USER + 54)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
45 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
46 #ifndef TB_GETDISABLEDIMAGELIST
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
47 #define TB_GETDISABLEDIMAGELIST (WM_USER + 55)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
48 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
49 #ifndef TB_SETPADDING
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
50 #define TB_SETPADDING (WM_USER + 87)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
51 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
52 #ifndef TBSTYLE_FLAT
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
53 #define TBSTYLE_FLAT 0x800
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
54 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
55 #ifndef TCS_BOTTOM
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
56 #define TCS_BOTTOM 0x0002
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
57 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
58 #ifndef TCS_VERTICAL
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
59 #define TCS_VERTICAL 0x0080
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
60 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
61 #ifndef PBS_SMOOTH
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
62 #define PBS_SMOOTH 0x01
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
63 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
64
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
65 #ifndef ICC_BAR_CLASSES
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
66 #define ICC_BAR_CLASSES 4
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
67 #endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
68
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents:
diff changeset
69 #endif /* INCLUDED_syscommctrl_h_ */