1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-19 18:13:55 +00:00
Commit Graph

424 Commits

Author SHA1 Message Date
Dan Nicolaescu
7a2efa6f08 Use -Wdeclaration-after-statement if available. 2009-11-20 06:05:10 +00:00
Jan Djärv
637fa98808 Handle system default font and changing font parameters.
* xterm.h (struct x_display_info): Add atoms and Window for xsettings.

* xterm.c (handle_one_xevent): Call xft_settings_event for
ClientMessage, PropertyNotify and DestroyNotify.
(x_term_init): If we have XFT, get DPI from Xft.dpi.
Call xsettings_initialize.

* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.

* xfont.c (xfont_driver): Initialize all members.

* xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
Do not get font from x_default_parameter if we got one from
Ffont_get_system_font.
(Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).

* w32font.c (w32font_driver): Initialize all members.

* termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.

* lisp.h: Declare syms_of_xsettings.

* keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
CONFIG_CHANGED_EVENT.

* ftfont.c (ftfont_filter_properties): New function.

* frame.c (x_set_font): Remove unused variable lval.

* font.h (struct font_driver): filter_properties is new.

* font.c (font_put_extra): Don't return if val is nil, it means
boolean option is off.
(font_parse_fcname): Collect all extra properties in extra_props
and call filter_properties for all drivers with extra_props and
font as parameter.
(font_open_entity): Do not use cache, it does not pick up new fontconfig
settings like hinting.
(font_load_for_lface): If spec had a name in it, store it in entity.

* emacs.c (main): Call syms_of_xsettings

* config.in: HAVE_GCONF is new.

* Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
xsettings.o is new.

* menu-bar.el: Put "Use system font" in Option-menu.

* loadup.el: If feature system-font-setting or font-render-setting is
there, load font-setting.

* Makefile.in (ELCFILES): font-settings.el is new.
* font-setting.el: New file.

* NEWS: Mention dynamic font changes (font-use-system-font).

* configure.in: New option: --with(out)-gconf.
Set HAVE_GCONF if we find gconf.
2009-11-17 08:21:23 +00:00
Jan Djärv
a53cfbe587 Use gcc-generated dependency files if we can (GNU Make and gcc required).
* Makefile.in: If AUTO_DEPEND is defined, make gcc generate
dependency files in deps/. Include those files into Makefile.

* config.in: Generated (AUTO_DEPEND).

* configure.in: --enable-autodepend is new.  Check for GNU Make
and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use
gcc and GNU make to generate dependencies.
2009-11-14 15:17:38 +00:00
Chong Yidong
912314214b * configure.in: Invoke $CPP with -P when creating Makefile and
src/Makefile.  Without this, gcc 4.4.2 converts each
backslash-newline pair in the input to a bare newline, yielding
invalid Makefiles.

* configure: Regenerate.
2009-10-23 16:19:37 +00:00
Dan Nicolaescu
d760435bc9 (vac-dec-vms): Remove, not supported anymore. 2009-10-19 22:48:52 +00:00
Dan Nicolaescu
005bd5a263 * puresize.h (BASE_PURESIZE): Increase to 1290000.
* Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
(OBJECTS_MACHINE): Remove, unused.

* configure.in (OTHER_FILES): Define using autoconf not cpp.
2009-09-17 06:10:44 +00:00
Ken Raeburn
879de935e0 * configure.in: Warn if package version specified here doesn't
match the version in version.el.
* configure: Regenerate.
2009-08-23 02:15:00 +00:00
Michael Albinus
c99cb30624 * configure: Regenerate. 2009-08-22 08:49:36 +00:00
Glenn Morris
e9a63f0409 Regenerate with autoconf 2.62. 2009-07-22 02:55:17 +00:00
Andreas Schwab
7df24305ed (--enable-checking, --enable-profiling): Use
AS_HELP_STRING.
2009-07-04 08:12:10 +00:00
Dan Nicolaescu
6978862dc8 * m/mips.h: Mention this file is also used for netbsd.
* m/pmax.h: Remove file.

* configure.in (--enable-profiling): New option.
(mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips.
2009-07-03 13:19:03 +00:00
Dan Nicolaescu
9fe40f0e26 (--enable-profiling): New option. 2009-07-03 13:04:57 +00:00
Glenn Morris
920b116e67 Restore netbsd on mips, mipsel, mipseb. 2009-06-27 02:42:05 +00:00
Dan Nicolaescu
2977109422 (--enable-checking): New option. 2009-06-26 23:41:43 +00:00
Chong Yidong
2bb4a75381 Bump version number to 23.0.95. 2009-06-19 17:10:49 +00:00
Chong Yidong
60cf1d099b * configure.in: Delete mac-fix-env target, which has been
removed (Bug#3531).
2009-06-13 00:01:31 +00:00
Chong Yidong
70cb3ee246 Bump version to 23.0.94. 2009-05-23 03:13:49 +00:00
Chong Yidong
22ad8e8378 configure: Regenerate 2009-05-01 15:31:06 +00:00
Chong Yidong
7bbec45b62 * configure: Regenerate.
* configure.in: Disable use of FreeType without libXft.
2009-04-25 14:36:01 +00:00
Jan Djärv
dc2933ebde Make Emacs compile when Gtk+ and -DGTK_DISABLE_DEPRECATED is used.
* gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use
G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated.
(xg_initialize): Use g_type_class_ref instead of gtk_type_class which
is deprecated.

* configure.in (HAVE_GTK_FILE_SELECTION, HAVE_GTK_FILE_CHOOSER): Check
if it is declared in gtk.h.
2009-04-19 10:53:15 +00:00
Andreas Schwab
c962d7bff9 Regenerate configure. 2009-03-31 08:01:54 +00:00
Dan Nicolaescu
1e44723285 (rs6000-ibm-aix6*): Fix typo. 2009-03-06 08:09:13 +00:00
Chong Yidong
b0448899b8 Regenerate using autoconf-2.61 and Schwab's patch. 2009-02-26 23:09:11 +00:00
Chong Yidong
02cfaff486 Regenerate. 2009-02-26 23:02:55 +00:00
Miles Bader
1e0093eae1 Regenerate configure with fixed AC_FUNC_MKTIME
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1555
2009-02-26 02:41:37 +00:00
Chong Yidong
fa35ec3633 Regenerate. 2009-02-26 01:00:05 +00:00
Glenn Morris
a35462a1b0 Regenerate. 2009-02-10 03:58:49 +00:00
Andreas Schwab
a9e2203dea Regenerate with fixed AC_FUNC_MKTIME. 2009-02-04 23:05:26 +00:00
Chong Yidong
a7c654adaa Regenerate. 2009-02-01 22:03:59 +00:00
Glenn Morris
8bff613751 Regenerate. 2009-01-26 07:31:35 +00:00
Dan Nicolaescu
a078d6e54a Add support for m68k-*-netbsd. 2009-01-22 06:38:56 +00:00
Dan Nicolaescu
7c54c0a06e Add Solaris on x86_64. 2008-12-09 20:36:23 +00:00
Glenn Morris
44e5501c61 Regenerate. 2008-11-18 03:50:10 +00:00
Glenn Morris
076f0c7d29 (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) 2008-11-07 06:58:45 +00:00
Dan Nicolaescu
2194ea1ceb (*-solaris2.[7-9]*): Fix typo. 2008-10-30 02:27:28 +00:00
Glenn Morris
ecd43cb971 Regenerate. 2008-10-24 07:23:34 +00:00
Dan Nicolaescu
6623890a73 Fix typos. 2008-10-23 23:03:39 +00:00
Dan Nicolaescu
9b3362b8a1 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Use sol2-6.h for Solaris 7-9.
* s/sol2-10.h: New file.
2008-10-23 19:32:19 +00:00
Dan Nicolaescu
fac5dc61db * configure.in: Add support for GNU/Linux on SuperH.
* MACHINES: Add section for SuperH.
* m/sh3.h: New file, machine description for SuperH.
2008-10-18 08:11:30 +00:00
Andreas Schwab
6b0262c145 Only check for m17n-flt if HAVE_LIBOTF. 2008-10-12 12:47:22 +00:00
Romain Francoise
8801ee606d Regenerate. 2008-10-04 10:22:19 +00:00
Adrian Robert
8d87199ba0 configure.in: Report USE_TOOLKIT_SCROLLBARS as such (not mentioning 'X') to avoid confusion 2008-10-03 18:43:29 +00:00
Chong Yidong
392b3c3ab6 Regenerate. 2008-08-28 20:32:11 +00:00
Miles Bader
f82fd37867 Regenerate configure to get fixed autoconf mktime test
Debian's autoconf package 2.61-7 includes a fix for the autoconf bug
which caused AC_FUNC_MKTIME to hang for a long time when configuring.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1387
2008-08-22 08:32:49 +00:00
Chong Yidong
5e159d07ec Regenerate. 2008-08-21 14:51:25 +00:00
Dan Nicolaescu
48fad8e894 * s/darwin.h (OTHER_FILES): Do not define here, defined in
config.in.

* Makefile.in (ALL_OBJC_CFLAGS): New variable.
(.m.o): Use it.
* config.in: Regenerate.

* Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.  Do
not special case for NS_IMPL_COCOA.

* configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable.
AC_SUBST it.
(GNU_OBJC_CFLAGS): Define as a shell variable instead of #define.
AC_SUBST it.
(OTHER_FILES): Always define for HAVE_NS.
(C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA.
* configure: Regenerate.
2008-08-07 14:21:43 +00:00
Andreas Schwab
6b8bc48996 * configure.in: Correctly handle
--enable-cocoa-experimental-ctrl-g=no and
--enable-ns-self-contained=yes.
* configure: Regenerate.
2008-08-07 08:54:11 +00:00
Adrian Robert
d5e2f8fe88 * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. (C_SWITCH_X_SYSTEM): Drop -MMD -MP under NS_IMPL_GNUstep.* configure: Regenerate. 2008-08-06 16:19:43 +00:00
Chong Yidong
177cd151a2 Regenerate. 2008-08-06 05:27:14 +00:00
Chong Yidong
21287a21ae Regenerate. 2008-08-05 23:44:07 +00:00