1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
emacs/src
Paul Eggert 8afaa1321f Add a few safety checks when ENABLE_CHECKING
This was motivated by the recent addition of module code,
which added some ENABLE_CHECKING-enabled checks that are
useful elsewhere too.
* src/alloc.c (compact_font_cache_entry):
* src/fns.c (sweep_weak_table):
* src/lread.c (oblookup):
Use gc_asize rather than doing it by hand.
* src/emacs-module.c (module_make_global_ref)
(module_free_global_ref, module_vec_size):
Omit assertions that lisp.h now checks.
* src/lisp.h (XFASTINT, ASIZE): In functional implementations,
check that the result is nonnegative.  Use eassume, as this
info can help a bit when optimizing production code.
(XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
to be consistent with the USE_LSB_TAG case.
(gc_asize): New function, when ASIZE is needed in the gc.
(gc_aset): Use it.
(HASH_TABLE_P): Move definition up, so that it can be used ...
(XHASH_TABLE): ... here, to assert that the arg is a hash table.
2015-11-21 10:44:04 -08:00
..
bitmaps
.dbxinit
.gdbinit .gdbinit followup to changes in !USE_LSB_TAG 2015-06-29 18:57:25 +03:00
alloc.c Add a few safety checks when ENABLE_CHECKING 2015-11-21 10:44:04 -08:00
atimer.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
atimer.h
bidi.c Fix display of characters adjacent to ZWJ and ZWNJ 2015-10-06 19:08:21 +03:00
blockinput.h
buffer.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
buffer.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
bytecode.c Simplify push_handler and profile its malloc 2015-11-19 20:09:59 -08:00
callint.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
callproc.c New lispref section “Security Considerations” 2015-10-21 20:26:49 -07:00
casefiddle.c Support rectangular regions for more commands 2015-11-14 01:28:03 +02:00
casetab.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
category.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
category.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
ccl.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
ccl.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ChangeLog.1
ChangeLog.2
ChangeLog.3 Spelling fixes 2015-10-21 20:26:49 -07:00
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12 Spelling fixes 2015-06-30 19:47:29 -07:00
ChangeLog.13 ; Cleanup of change log. Removed obsolete email addresses. 2015-11-15 19:28:32 +01:00
character.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
character.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
charset.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
charset.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
chartab.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
cm.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
cm.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
cmds.c ; Merge branch 'fix/no-undo-boundary-on-secondary-buffer-change' 2015-11-12 22:01:22 +00:00
coding.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
coding.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
commands.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
composite.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
composite.h
conf_post.h Fix --enable-gcc-warnings problem with older GCC 2015-10-10 11:57:36 -07:00
COPYING
cygw32.c
cygw32.h
data.c Add new User Pointer (User_Ptr) type 2015-11-18 14:24:06 -05:00
dbusbind.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
decompress.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
deps.mk Replace AC_SUBST_FILE in configure with include in Makefiles. 2015-05-15 20:51:45 -04:00
dired.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
dispextern.h Add -Wswitch to --enable-gcc-warnings 2015-09-16 15:07:23 -07:00
dispnew.c Fix docstring quoting problems with ‘ '’ 2015-11-17 15:29:35 -08:00
disptab.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
doc.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
doprnt.c Avoid non-ASCII decoding errors in C src files 2015-09-25 20:29:27 +03:00
dosfns.c
dosfns.h
dynlib.c Improve MS-Windows implementation in dynlib.c 2015-11-20 13:34:15 +02:00
dynlib.h Include-file tweaks for modules 2015-11-20 00:41:21 -08:00
editfns.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
emacs-icon.h
emacs-module.c Add a few safety checks when ENABLE_CHECKING 2015-11-21 10:44:04 -08:00
emacs-module.h Declare emacs_module_init in the module API 2015-11-20 12:21:18 -08:00
emacs.c Simplify recording of main thread's ID on MS-Windows 2015-11-21 19:44:02 +02:00
emacsgtkfixed.c Revert changes installed by xwidgets merge 2015-02-01 11:45:15 -08:00
emacsgtkfixed.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
epaths.in
eval.c Simplify push_handler and profile its malloc 2015-11-19 20:09:59 -08:00
fileio.c Don't require default-directory to end with a slash 2015-10-29 03:01:45 +02:00
filelock.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
firstfile.c
floatfns.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
fns.c Add a few safety checks when ENABLE_CHECKING 2015-11-21 10:44:04 -08:00
font.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
font.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fontset.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fontset.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
frame.c Fix docstring quoting problems with ‘ '’ 2015-11-17 15:29:35 -08:00
frame.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fringe.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftcrfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftfont.c Spruce up ftfont.c memory allocation 2015-11-13 12:04:15 -08:00
ftfont.h Add cairo drawing. 2015-02-11 16:14:35 +01:00
ftxfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
getpagesize.h
gfilenotify.c Fix a stupid error in gfilenotify.c. 2015-11-03 18:17:53 +01:00
gmalloc.c
gnutls.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
gnutls.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
gtkutil.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
gtkutil.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
image.c Use color cache for creating bitmap 2015-11-12 03:58:08 -05:00
indent.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
indent.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
inotify.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
insdel.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
intervals.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
intervals.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keyboard.c src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post". 2015-11-19 09:40:39 +00:00
keyboard.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keymap.c Fix assertion violation in define-key 2015-11-09 20:31:45 +02:00
keymap.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
lastfile.c
lisp.h Add a few safety checks when ENABLE_CHECKING 2015-11-21 10:44:04 -08:00
lread.c Add a few safety checks when ENABLE_CHECKING 2015-11-21 10:44:04 -08:00
macfont.h Use Core Text types/functions/variables/enumerators directly 2015-08-29 17:03:55 +09:00
macfont.m * src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars. 2015-10-05 09:16:21 +09:00
macros.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
macros.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
macuvs.h
Makefile.in Rename module.c to emacs-module.c, etc. 2015-11-19 13:51:24 -08:00
marker.c
menu.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
menu.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
minibuf.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
msdos.c Use bool, not int, to track face changes 2015-01-28 11:15:23 -08:00
msdos.h
nsfns.m Enhance NSTRACE (trace output for NextStep). 2015-11-15 20:19:34 +01:00
nsfont.m Fix quoting in ‘message_with_string’ 2015-08-26 13:12:26 -07:00
nsgui.h
nsimage.m Enhance NSTRACE (trace output for NextStep). 2015-11-15 20:19:34 +01:00
nsmenu.m Enhance NSTRACE (trace output for NextStep). 2015-11-15 20:19:34 +01:00
nsselect.m Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
nsterm.h Enhance NSTRACE (trace output for NextStep). 2015-11-15 20:19:34 +01:00
nsterm.m Enhance NSTRACE (trace output for NextStep). 2015-11-15 20:19:34 +01:00
print.c Add new User Pointer (User_Ptr) type 2015-11-18 14:24:06 -05:00
process.c * src/process.c (Fget_buffer_process): Improve docstring 2015-10-28 11:07:41 +00:00
process.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
profiler.c Fix some int overflows in profiler.c 2015-07-31 10:13:36 -07:00
puresize.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
ralloc.c
README Prefer straight quoting in some text files 2015-09-11 11:05:12 -07:00
regex.c Fix regex abort when it tries to reenter itself 2015-11-15 01:15:42 -08:00
regex.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
region-cache.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
region-cache.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
scroll.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
search.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
sheap.c Further include-file cleanup 2015-10-21 18:08:36 -04:00
sound.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
syntax.c Improve fix for regex reentrancy abort 2015-11-16 13:10:17 -08:00
syntax.h Improve fix for regex reentrancy abort 2015-11-16 13:10:17 -08:00
sysdep.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
sysselect.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
syssignal.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
sysstdio.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
systime.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
systty.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
syswait.h
term.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
termcap.c
termchar.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
termhooks.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
terminal.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
terminfo.c
termopts.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
textprop.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
tparam.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
tparam.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
undo.c * src/undo.c (run_undoable_change): Now static. 2015-11-13 08:44:34 -08:00
unexaix.c
unexcoff.c
unexcw.c Further include-file cleanup 2015-10-21 18:08:36 -04:00
unexec.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
unexelf.c ELF unexec: align section header 2015-11-16 17:48:52 -08:00
unexhp9k800.c
unexmacosx.c Avoid grave accent quoting in stderr diagnostics 2015-05-31 23:53:45 -07:00
unexsol.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexw32.c
vm-limit.c Add -Wswitch to --enable-gcc-warnings 2015-09-16 15:07:23 -07:00
w16select.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
w32.c Improve MS-Windows implementation in dynlib.c 2015-11-20 13:34:15 +02:00
w32.h Make file-accessible-directory-p reliable on MS-Windows 2015-08-31 17:48:26 +03:00
w32common.h
w32console.c Simplify recording of main thread's ID on MS-Windows 2015-11-21 19:44:02 +02:00
w32fns.c Simplify recording of main thread's ID on MS-Windows 2015-11-21 19:44:02 +02:00
w32font.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32font.h Teach MS-Windows font back-end return per-glyph ascent/descent 2015-05-26 18:29:40 +03:00
w32gui.h
w32heap.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32heap.h
w32inevt.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32inevt.h
w32menu.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32notify.c * src/w32notify.c (Fw32notify_add_watch): Fix version check. 2015-10-25 00:00:26 +02:00
w32proc.c Fix a typo in a macro name 2015-10-30 23:17:48 +02:00
w32reg.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32select.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32select.h
w32term.c Simplify recording of main thread's ID on MS-Windows 2015-11-21 19:44:02 +02:00
w32term.h Simplify recording of main thread's ID on MS-Windows 2015-11-21 19:44:02 +02:00
w32uniscribe.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32xfns.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
widget.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
widget.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
widgetprv.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
window.c Call 'window-size-change-functions' for mini-windows 2015-11-21 13:30:30 +02:00
window.h Ensure redisplay after evaluation 2015-11-06 21:21:52 +02:00
xdisp.c Call 'window-size-change-functions' for mini-windows 2015-11-21 13:30:30 +02:00
xfaces.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xfns.c Port recent XCB changes to 64-bit ‘long int’ 2015-11-13 09:30:00 -08:00
xfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xftfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xgselect.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xgselect.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xmenu.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xml.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xrdb.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
xselect.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
xsettings.c Fix DPI calculation when Xft/DPI is default 2015-08-09 23:23:38 -07:00
xsettings.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
xsmfns.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
xterm.c Port recent XCB changes to 64-bit ‘long int’ 2015-11-13 09:30:00 -08:00
xterm.h Detect XCB and save a connection handle 2015-11-12 03:58:09 -05: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-2015 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 is copied elsewhere.

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

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 C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run '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/>.