emacs/src
Jan Djärv 1ecb2d3f03 Use XFT in Lucid dialogs if available.
* xmenu.c (apply_systemfont_to_dialog): New.
	(create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT.

	* lwlib-Xaw.c (widget_xft_data): New for Xft data.
	(fill_xft_data, openFont, get_text_width_and_height)
	(draw_text, set_text, find_xft_data, command_press)
	(command_reset): New functions.
	(xaw_update_one_widget): Call set_text for dialog and buttons
	if HAVE_XFT.  Also set internalHeight for buttons.
	(xaw_destroy_instance): Free all Xft related data.
	(button_actions, buttonTrans): New structures.
	(make_dialog): Call XtAppAddActions for button_actions.
	Find xft font to use and call fill_xft_data for widgets.
	(xaw_create_dialog): Pass instance parameter to make_dialog.

	* lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT.
	Override translations for buttons.  If depth is 16 or more, tell
	Xaw3d to not be nice to colormap.
	Remove separator widget, use XtNhorizDistance on first right button
	instead.

	* xresources.texi (Lucid Resources): Mention faceName for dialogs.
2010-04-11 20:25:09 +02:00
..
bitmaps * bitmaps/README: 2008-07-31 05:33:56 +00:00
m Simplify code for HP machines. 2010-04-06 23:11:45 -07:00
s * s/msdos.h (UNEXEC): New definition. 2010-04-10 13:38:48 -07:00
.arch-inventory
.dbxinit
.gdbinit Continue work on cursor movement in continued lines. 2010-03-13 11:38:01 -05:00
.gitignore * .cvsignore, .gitignore: Ignore buildobj.h. 2009-08-28 02:40:13 +00:00
alloc.c Remove obsolete uses of HAVE_SHM. 2010-03-19 17:46:01 -07:00
atimer.c Remove dead code dealing with POSIX_SIGNALS. 2010-03-22 12:51:59 -07:00
atimer.h Fix typos in comments. 2010-01-17 03:24:22 +01:00
bidi.c Fix crash due to incorrect resolution of type of NSM characters (bug#5858). 2010-04-08 20:35:10 +03:00
blockinput.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
buffer.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
buffer.h Merge from mainline. 2010-01-16 06:59:23 -05:00
bytecode.c Make it possible to C-g in a tight bytecode loop again (bug#5680). 2010-03-05 18:08:18 -05:00
callint.c * callint.c (Finteractive): Doc fix. 2010-02-17 22:35:21 -08:00
callproc.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
casefiddle.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
casetab.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
category.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
category.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ccl.c Fix the ccl decoder for the case that the output buffer is fullfilled. 2010-02-17 15:47:32 +09:00
ccl.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog Use XFT in Lucid dialogs if available. 2010-04-11 20:25:09 +02:00
ChangeLog.1 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.2 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.3 Fix typos in ChangeLogs and NEWS files. 2010-01-14 19:29:36 +01:00
ChangeLog.4 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.5 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.6 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog.7 Fix typos in Changelog. 2010-03-24 01:18:03 +01:00
ChangeLog.8 Fix typos in ChangeLogs. 2010-04-02 04:22:17 +02:00
ChangeLog.9 Fix typos in ChangeLogs and NEWS files. 2010-01-14 19:29:36 +01:00
ChangeLog.10 Fix typos in ChangeLogs. 2010-04-02 04:22:17 +02:00
character.c Fix handling of the multibyte form of raw-bytes in unibyte->multibyte conversion. 2010-03-02 13:44:28 +09:00
character.h * character.h (CHAR_PRINTABLE_P): Reparenthesize to avoid warning. 2010-01-30 11:32:39 +01:00
charset.c Fix use of unitialized memory. 2010-02-28 09:19:31 -05:00
charset.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
chartab.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
cm.c Don't use termcap.c on Posix platforms, only on MS-DOS. 2010-03-12 11:34:27 -05:00
cm.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
cmds.c Get rid of the direct_output optimizations. 2010-03-31 00:14:08 -04:00
coding.c Fix the ccl encoder for the case that the output buffer is fullfilled. 2010-03-16 14:48:41 +09:00
coding.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
commands.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
composite.c from trunk 2010-01-14 12:54:04 +09:00
composite.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
config.in Merge from `emacs-23'. 2010-03-24 14:02:56 -04:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
data.c Remove dead code dealing with POSIX_SIGNALS. 2010-03-22 12:51:59 -07:00
dbusbind.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
dired.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
dispextern.h Don't abort try_window with fonts change when showing tooltip (Bug#2423). 2010-04-10 19:52:30 +09:00
dispnew.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
disptab.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
doc.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
doprnt.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
dosfns.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
dosfns.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ecrt0.c * ecrt0.c: Remove MSDOS, m68k and __sparc__ conditionals, file not 2010-04-02 17:06:38 -07:00
editfns.c Fix bug in `format' (Bug#5710). 2010-03-15 11:51:48 -04:00
emacs-icon.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
epaths.in Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eval.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fileio.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
filelock.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
filemode.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
firstfile.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
floatfns.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
fns.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
font.c Addendum to last patch: add "Medium" GTK font name keyword. 2010-02-26 21:09:03 -05:00
font.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fontset.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fontset.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
frame.c Merge from `emacs-23'. 2010-03-24 14:02:56 -04:00
frame.h Fix resizing for X and non-Gtk+ build. Bug #5848. 2010-04-07 13:39:26 +02:00
fringe.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ftfont.c Fix Myanmar OTF support 2010-02-26 21:40:46 +09:00
ftfont.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ftxfont.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
getloadavg.c Revert copyright year changes for files that are not part of Emacs. 2009-01-08 03:52:24 +00:00
getpagesize.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
gmalloc.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
gtkutil.c Move declarations before statements. 2010-02-24 19:23:48 +01:00
gtkutil.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
image.c Rename image-extension-data' to image-metadata'. 2010-03-31 17:55:01 +03:00
indent.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
indent.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
insdel.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
intervals.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
intervals.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
keyboard.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
keyboard.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
keymap.c Fix keyboard macro key lookup (Bug#5481). 2010-03-03 12:31:50 -05:00
keymap.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
lastfile.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
lisp.h Make it possible to C-g in a tight bytecode loop again (bug#5680). 2010-03-05 18:08:18 -05:00
lread.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
macros.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
macros.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Makefile.in Remove all uses of LIBX11_SYSTEM. 2010-04-01 16:08:14 -07:00
makefile.w32-in * makefile.w32-in ($(BLD)/bidi.$(O)): Add dependency on w32gui.h. 2010-03-30 14:15:45 +02:00
marker.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
md5.c Mark as part of the GNU C Library rather than of Emacs. 2008-05-14 07:39:01 +00:00
md5.h Update copyright for years from Emacs 21 to present (mainly adding 2007-01-14 03:38:22 +00:00
mem-limits.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
menu.c Lucid menus can now use Xft for fonts. 2010-04-08 18:20:32 +02:00
menu.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
minibuf.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
mktime.c Update copyright for years from Emacs 21 to present (mainly adding 2007-01-14 03:38:22 +00:00
msdos.c msdos.c: Fix last change. 2010-04-01 18:15:16 +03:00
msdos.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ndir.h * bitmaps/README: 2008-07-31 05:33:56 +00:00
nsfns.m [merge] Fix last set of Nextstep changes. 2010-03-31 18:28:12 -04:00
nsfont.m * nsfont.m (nsfont_draw): ns_antialias_text should be a Lisp_Object (Bug#4736). 2010-02-25 19:48:53 -05:00
nsgui.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsimage.m Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsmenu.m Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsselect.m Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
nsterm.h Fix last set of Nextstep changes. 2010-03-31 10:27:50 -04:00
nsterm.m Clean up unneeded ns_set_icon_type calls. 2010-03-29 19:48:44 -04:00
point.h
pre-crt0.c
prefix-args.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
print.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
process.c * process.c (exec_sentinel): Preserve current-buffer. 2010-04-11 12:15:09 -04:00
process.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
puresize.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ralloc.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
README Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
regex.c Cleanup setup of gl_state in various parts of the code. 2010-03-10 09:45:21 -05:00
regex.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
region-cache.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
region-cache.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
scroll.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
search.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sheap.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sound.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
stamp-h.in
strftime.c Update copyright for years from Emacs 21 to present (mainly adding 2007-01-14 03:38:22 +00:00
syntax.c Cleanup setup of gl_state in various parts of the code. 2010-03-10 09:45:21 -05:00
syntax.h Cleanup setup of gl_state in various parts of the code. 2010-03-10 09:45:21 -05:00
sysdep.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
sysselect.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
syssignal.h Remove dead code dealing with POSIX_SIGNALS. 2010-03-22 12:51:59 -07:00
systime.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
systty.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
syswait.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
term.c Merge from mainline. 2010-03-13 04:02:01 -05:00
termcap.c * process.c (ifflag_def): Make flag_sym constant. 2009-11-11 20:11:51 +00:00
termchar.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
termhooks.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
terminal.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
terminfo.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
termopts.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
textprop.c Suppress spurious second invocation of before-change-functions 2010-01-19 13:16:01 +00:00
tparam.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
undo.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexaix.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
unexalpha.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexcw.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexec.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
unexelf.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexhp9k800.c * unexnext.c: 2008-06-26 04:24:54 +00:00
unexmacosx.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
unexsol.c * alloc.c: Do not define struct catchtag. 2009-10-19 04:27:09 +00:00
unexw32.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
vm-limit.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w16select.c Remove support for DJGPP v1.x (bug#5813). 2010-04-01 17:59:46 +03:00
w32.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32console.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32fns.c Fix bug #5703. 2010-03-31 12:08:40 +03:00
w32font.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32font.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32gui.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32heap.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32heap.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32inevt.c w32inevt.c (key_event): Remove unnecessary comparison of 2010-01-29 16:03:25 +02:00
w32inevt.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32menu.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32proc.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32reg.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32select.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32term.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
w32term.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
w32uniscribe.c * w32uniscribe.c (uniscribe_check_otf): Fix length check. 2010-02-27 15:28:52 +01:00
w32xfns.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
widget.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
widget.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
widgetprv.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
window.c (keys_of_window): Remove redundant/overridden bindings. 2010-03-30 22:08:05 -04:00
window.h Merge from mainline. 2010-01-16 06:59:23 -05:00
xdisp.c Don't abort try_window with fonts change when showing tooltip (Bug#2423). 2010-04-10 19:52:30 +09:00
xfaces.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xfns.c xfns.c (Fx_show_tip): Subtract last glyph's width only when it is for padding. 2010-04-10 19:59:46 +09:00
xfont.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xftfont.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xgselect.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xgselect.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xmenu.c Use XFT in Lucid dialogs if available. 2010-04-11 20:25:09 +02:00
xrdb.c Remove extern errno declarations. 2010-04-01 20:10:33 -07:00
xselect.c Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xsettings.c * xsettings.c (XSETTINGS_FONT_NAME): Move XSETTINGS_FONT_NAME out of HAVE_GCONF. 2010-04-08 20:22:51 +02:00
xsettings.h Lucid menus can now use Xft for fonts. 2010-04-08 18:20:32 +02:00
xsmfns.c Fix for bug#5512, don't rely on SIGIO alone. 2010-02-10 10:29:28 +01:00
xterm.c Fix resizing for X and non-Gtk+ build. Bug #5848. 2010-04-07 13:39:26 +02:00
xterm.h Add 2010 to copyright years. 2010-01-13 00:35:10 -08: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
  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.c'.  The
same script then uses `cpp' to produce the machine-dependent
`Makefile' from `Makefile.c'; `Makefile' is the file which actually
controls the compilation of Emacs.  Most 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/>.