1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
emacs/src
Robert Pluim fe1a447d52 Don't attempt to cache glyph metrics for FONT_INVALID_CODE
This was causing massive slowdown in redisplay when eg #xfe0f
(VARIATION SELECTOR-16) was present, as the cache ended up very large,
unused, and being recreated on every call to font_fill_lglyph_metrics
(Bug#39133).

* src/composite.c (fill_gstring_body): Hoist FONT_OBJECT_P check out
of loop.  Calculate glyph code and check for FONT_INVALID_CODE before
calling font_fill_lglyph_metrics.  Pass glyph code to it.

* src/font.c (font_fill_lglyph_metrics): Add code parameter, move
glyph code calculation up the call stack into fill_gstring_body.

* src/font.h: Adjust font_fill_lglyph_metrics prototype.
2020-03-02 09:59:34 +01:00
..
bitmaps
.dbxinit
.gdbinit Update copyright year to 2020 2020-01-01 00:59:52 +00:00
alloc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
atimer.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
atimer.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bidi.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bignum.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bignum.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
blockinput.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
buffer.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
buffer.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bytecode.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
callint.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
callproc.c Make after-change-functions called from call-process get the correct BEG 2020-02-13 19:00:36 +00:00
casefiddle.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
casetab.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
category.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
category.h
ccl.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ccl.h
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.2 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.3 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.4 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.5 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.6 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.7 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.8 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.9 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.10 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.11 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.12 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.13 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
character.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
character.h Stop signaling an error when reading "smart quotes" in symbols 2019-11-28 18:03:42 -05:00
charset.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
charset.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
chartab.c Do not alter match data in Fcapitalize etc. 2019-07-09 13:11:45 -07:00
cm.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cm.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cmds.c Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
coding.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
coding.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
commands.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
composite.c Don't attempt to cache glyph metrics for FONT_INVALID_CODE 2020-03-02 09:59:34 +01:00
composite.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
conf_post.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
COPYING
cygw32.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cygw32.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
data.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dbusbind.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
decompress.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
deps.mk Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dispextern.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dispnew.c Fix a few typos 2020-01-22 19:17:32 +02:00
disptab.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dmpstruct.awk Update copyright year to 2020 2020-01-01 00:59:52 +00:00
doc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
doprnt.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dosfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dosfns.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dynlib.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dynlib.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
editfns.c ; * src/editfns.c (Fbuffer_size): Tiny clarification. 2020-02-13 22:43:03 +01:00
emacs-icon.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs-module.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs-module.h.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacsgtkfixed.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacsgtkfixed.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
epaths.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eval.c Revert "Raise default max-specpdl-size value" 2020-01-01 17:38:41 +01:00
fileio.c Fix bug when visiting euc-jp-encoded directories 2020-02-19 17:22:27 -08:00
filelock.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
firstfile.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
floatfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
font.c Don't attempt to cache glyph metrics for FONT_INVALID_CODE 2020-03-02 09:59:34 +01:00
font.h Don't attempt to cache glyph metrics for FONT_INVALID_CODE 2020-03-02 09:59:34 +01:00
fontset.c Fix set-fontset-font with ADD arg non-nil 2020-02-09 19:18:38 +02:00
fontset.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
frame.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
frame.h Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
fringe.c Range-check width passed to define-fringe-bitmap 2020-02-26 19:18:54 +01:00
ftcrfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ftfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ftfont.h extern function cleanup 2019-08-24 15:55:08 -07:00
ftxfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getpagesize.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gfilenotify.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gmalloc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnutls.c Define libgnutls-version properly 2020-02-25 20:12:57 -05:00
gnutls.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gtkutil.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gtkutil.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
hbfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
image.c Fix build failure with --with-cairo --without-png 2020-01-15 17:10:30 +09:00
indent.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
indent.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
inotify.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
insdel.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
intervals.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
intervals.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
json.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keyboard.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keyboard.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keymap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keymap.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
kqueue.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lastfile.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lcms.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lisp.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lread.c ; * src/lread.c (force_new_style_backquotes): Fix reference. 2020-01-17 14:53:13 +01:00
macfont.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macfont.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macros.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macros.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macuvs.h Bring macuvs.h back under Git control 2019-06-22 11:41:49 -07:00
Makefile.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
marker.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
menu.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
menu.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mini-gmp-emacs.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mini-gmp.c Fix duplicated words in comments 2019-10-15 14:28:59 +02:00
mini-gmp.h
minibuf.c Ensure minibuffer input is added to history in read_minibuf 2020-01-31 11:17:41 +02:00
module-env-25.h
module-env-26.h
module-env-27.h Fix small bugs introduced in commit 096be9c454 2019-12-05 01:14:03 +01:00
msdos.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
msdos.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsfns.m Remove EmacsOpenPanel and EmacsSavePanel (bug#38031) 2020-01-24 09:55:55 +00:00
nsfont.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsgui.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsimage.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsmenu.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsselect.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsterm.h Remove EmacsOpenPanel and EmacsSavePanel (bug#38031) 2020-01-24 09:55:55 +00:00
nsterm.m Revert "Fix display of working text on NS (Bug#23412, Bug#1453)" 2020-02-11 17:27:11 +00:00
pdumper.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pdumper.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
print.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
process.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
process.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
profiler.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ptr-bounds.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
puresize.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ralloc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
README Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regex-emacs.c Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
regex-emacs.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
region-cache.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
region-cache.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
scroll.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
search.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sheap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sheap.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sound.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syntax.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syntax.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sysdep.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sysselect.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syssignal.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sysstdio.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
systhread.c Cater for 3-argument version of pthread_setname_np 2020-02-03 16:40:25 +01:00
systhread.h Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632) 2020-01-07 17:57:31 +01:00
systime.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
systty.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syswait.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
term.c Handle tab-bar clicks on a GPM-capable console. 2020-01-13 01:23:12 +02:00
termcap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
termchar.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
termhooks.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
terminal.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
terminfo.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
termopts.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
textprop.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
thread.c Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632) 2020-01-07 17:57:31 +01:00
thread.h Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632) 2020-01-07 17:57:31 +01:00
timefns.c * src/timefns.c (time_arith): Omit incorrect comment. 2020-02-28 12:59:16 -08:00
tparam.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tparam.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
undo.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexaix.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexcoff.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexcw.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexec.h
unexelf.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexhp9k800.c Use fewer locks when accessing stdio 2019-07-08 17:50:39 -07:00
unexmacosx.c Fix unexec failure on macOS 10.15.4 2020-02-16 09:50:26 +09:00
unexsol.c
unexw32.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vm-limit.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w16select.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32common.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32console.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32cygwinx.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32fns.c Fix removal of frame decorations on Windows (Bug#38705) 2020-01-02 09:35:49 +01:00
w32font.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32font.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32gui.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32heap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32heap.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32inevt.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32inevt.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32menu.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32notify.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32proc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32reg.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32select.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32select.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32term.c Avoid leaving artifacts when the system caret is used on w32 2020-01-21 18:23:32 +02:00
w32term.h Fix removal of frame decorations on Windows (Bug#38705) 2020-01-02 09:35:49 +01:00
w32uniscribe.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32xfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
widget.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
widget.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
widgetprv.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
window.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
window.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xdisp.c Fix a few typos 2020-01-22 19:17:32 +02:00
xfaces.c Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
xfns.c Scale top-left coordinates in display-monitor-attributes-list 2020-01-07 17:26:21 +01:00
xfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xftfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xgselect.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xgselect.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xmenu.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xml.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xrdb.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xselect.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xsettings.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xsettings.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xsmfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xterm.c Fix rendering bug due to unsynchronized cairo surface size (Bug#38497) 2020-01-07 12:42:19 +09:00
xterm.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xwidget.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xwidget.h Update copyright year to 2020 2020-01-01 00:59:52 +00: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-2020 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 <https://www.gnu.org/licenses/>.