1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
Commit graph

26452 commits

Author SHA1 Message Date
Miles Bader
fb38e9c96e Fix autoload building command in src Makefile
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1268
2008-06-21 02:37:02 +00:00
Stefan Monnier
fc46d21936 Make "make" do a bootstrap if needed.
* src/Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs.
(bootstrapclean): Remove.
(.el.elc): New rule.
(PRECOMP): New var.
(../lisp/subdirs.el): Remove.
(bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency.
(witness-emacs): New target.
(mostlyclean): Remove witness-emacs as well.
(../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}):
Add witness-emacs dependency.
* lisp/loadup.el: Don't add emacs-<VERS> name when bootstrapping.
* lisp/Makefile.in (emacs-deps): Remove.
($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
(all): Use them.
(autogen-clean): Remove.
* Makefile.in (maybe_bootstrap, src/bootstrap-emacs${EXEEXT})
(bootstrap-build): Remove.
(top_bootclean): New var.
(top_distclean, bootstrap-clean): Use it.
(bootstrap): Don't recheck config.  Make normally.
2008-06-21 01:38:39 +00:00
Chong Yidong
5989ba2f87 (Ffont_face_attributes): Omit key-attribute pairs not defined by the
font.
2008-06-20 23:27:07 +00:00
Chong Yidong
eaf1f6e7fe * font.c (Ffont_face_attributes): Omit key-attribute pairs not
defined by the font.
2008-06-20 23:27:00 +00:00
Stefan Monnier
49f6eb95b2 * src/Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files.
(bootstrap-clean): New target that keeps TAGS around.
(../lisp/subdirs.el, ../lisp/loaddefs.el): New targets.
(bootstrap-emacs${EXEEXT}): Depend on subdirs.el.
* lisp/Makefile.in (all): New target.
(bootstrap-prepare): Remove.
* Makefile.in (SUBDIR): Include `lisp'.
(lisp): Depend on `src'.
(top_distclean): Don't remove config.status.
(bootstrap-clean): New target.
(maintainer-clean): Use it.
(bootstrap): Use bootstrap-clean.  Re-run config.status.
(src/bootstrap-emacs${EXEEXT}): New target.
(bootstrap-build): Use it.  Don't use bootstrap-prepare because
src/Makefile now takes care of it.
(bootfast, bootstrap-clean-before, bootstrap-clean-before-fast): Remove.
2008-06-20 21:48:17 +00:00
Jason Rumney
db61a7f817 [OLD_FONT]: Remove obsolete font code. 2008-06-20 21:46:05 +00:00
Stefan Monnier
2d3c36ae18 Update. 2008-06-20 18:18:40 +00:00
Jason Rumney
4c100a015c (font_matches_spec): Use csb bitfield from font signature to determine
language support.
2008-06-20 15:28:26 +00:00
Stefan Monnier
759d3f3238 (cfsetspeed): New fun extracted from the code.
(cfmakeraw): Move before first use.
2008-06-20 14:59:37 +00:00
Stefan Monnier
25241b4d5a * configure.in: Check for presence of cfmakeraw and cfsetspeed.
* sysdep.c (cfmakeraw): Provide fallback implementation.
(serial_configure): Provide fallback implementation of cfsetspeed.
2008-06-20 14:50:20 +00:00
Kenichi Handa
dc2226d0dc (xftfont_open): Add FOUNDRY, SPACING, DPI, SCALABLE to the pattern. 2008-06-20 12:28:22 +00:00
Kenichi Handa
9b9cd864a8 (fontset_from_font): Copy font_spec before changing
the elements.
2008-06-20 06:12:33 +00:00
Kenichi Handa
d7afccca70 (x_default_font_parameter): Try "monospace-12" too. 2008-06-20 02:15:52 +00:00
Stefan Monnier
770e2e6ed8 * w32fns.c, xfnc.c (x_default_font_parameter): Only set `font-param'
for explicit `font' parameters.
* frame.c (x_set_font): Remove unexplained call to fix inf-recursion.
2008-06-20 01:53:32 +00:00
Kenichi Handa
22e64f7c64 Include <ctype.h>
(x_set_font_backend): Allow spacing characters in the X resource
for FontBackend.
2008-06-19 10:37:11 +00:00
Stefan Monnier
27129af9d7 * w32fns.c, xfns.c (Qfont_param): New var.
(syms_of_w32fns): Initialize it.
(x_default_font_parameter): Record explicit `font' into `font-parameter'.
* faces.el (face-set-after-frame-default): Re-apply explicit `font'
frame parameters after setting up the `default' face.
2008-06-19 01:57:19 +00:00
Kenichi Handa
d26424c5eb (font_parse_xlfd): Fix previous change.
(font_parse_fcname): Don't use :fc-unknown-spec.
(FRAME_X_DISPLAY_INFO): Besure to have at least 1 pixel height.
(Fcopy_font_spec): Preserve the order of elements in FONT_EXTRA.
(font_add_log): Prepend the driver name to the resulting fonts.
2008-06-19 00:43:34 +00:00
Kenichi Handa
4ffe34a4ed (ftfont_pattern_entity): New arg extra. Caller changed.
(ftfont_spec_pattern): Don't check QCfc_unknown_spec and QCname.
(ftfont_list) [FC_FONTFORMAT]: Include FC_FONTFORMAT in objset.
2008-06-19 00:42:11 +00:00
Kenichi Handa
81094fabdc (QChinting , QCautohint, QChintstyle, QCrgba)
(QCembolden): New variables.
(syms_of_xftfont): DEFSYM them.
(xftfont_open): Call XftFontMatch.  Don't trust the result of
XftTextExtents8 if the pixel_size is less than 5.
2008-06-19 00:41:48 +00:00
Andreas Schwab
51cf11be08 (Ffont_face_attributes): Only define if
HAVE_WINDOW_SYSTEM.
(syms_of_font): Only defsubr if HAVE_WINDOW_SYSTEM.
2008-06-18 14:45:11 +00:00
Jason Rumney
07d9ba9bd8 Add font logging to list and match functions. 2008-06-18 08:33:16 +00:00
Chong Yidong
59facb788f (font_parse_fcname): For known key symbols, intern using correct
symbol name.
2008-06-17 16:04:47 +00:00
Chong Yidong
1578da3196 * font.c (font_parse_fcname): For known key symbols, intern using
correct symbol name.
2008-06-17 16:03:29 +00:00
Chong Yidong
84d50b7123 (font_parse_fcname): Store divider characters for unknown-spec list. 2008-06-17 05:33:06 +00:00
Chong Yidong
0c36bc4ede * font.c (font_parse_fcname): Store divider characters for
unknown-spec list.
2008-06-17 05:32:19 +00:00
Kenichi Handa
70d6ecc654 (realize_default_face): If the frame is not on window
system, set the fontset of face to nil.
2008-06-17 04:50:11 +00:00
Kenichi Handa
821bc4dbf1 (fontset_pattern_regexp): Escape some regexp characters. 2008-06-17 01:26:47 +00:00
Juanma Barranquero
3554e566e3 * dispextern.h (lookup_non_ascii_face, split_font_name_into_vector)
(build_font_name_from_vector): Delete externs.

* xfaces.c (struct font_name): Don't declare.
2008-06-16 22:42:46 +00:00
Stefan Monnier
93eed26bfb (font_unparse_gtkname): Use EQ to compare Lisp_Objects. 2008-06-16 19:11:02 +00:00
Chong Yidong
77989187bf (font_parse_fcname): Fix handling of unknown-spec string. 2008-06-16 14:35:24 +00:00
Chong Yidong
d756bcd047 * font.c (font_parse_fcname): Fix handling of unknown-spec string. 2008-06-16 14:35:02 +00:00
Juanma Barranquero
48105a6a30 (Ffont_face_attributes): Doc fix. 2008-06-16 13:44:18 +00:00
Juanma Barranquero
7a18a1780a (Ffont_spec): Fix usage in docstring. 2008-06-16 13:32:07 +00:00
Andreas Schwab
6f56895505 (Ffont_face_attributes): Fix definition. 2008-06-16 12:02:44 +00:00
Kenichi Handa
2babb35916 (Ffont_get): Return a symbol for :weight, :slant, and :width. 2008-06-16 11:46:33 +00:00
Jason Rumney
3ef8c1b49e Fix crashing bug in use of bold fonts from x-select-font on W32.
* w32font.c (w32_to_fc_weight): New function.
(w32font_full_name, logfont_to_fcname): Use it.

* font.h (font_style_symbolic_from_value): Remove.

* font.c (font_style_symbolic_from_value): Remove.
(font_style_symbolic): Revert to pre 2008-06-13 version.
2008-06-16 09:11:05 +00:00
Kenichi Handa
5e634ec9b7 (font_check_object): Delete it.
(font_clear_cache): Check if a font-object is alive.
(font_open_entity): Likewise.  Set FONT_OBJLST_INDEX of a
font-object to nil.
(font_close_object): Don't check FONT_CLOSE_OBJECT.
(font_at): Don't call font_check_object.
2008-06-16 07:32:48 +00:00
Katsumi Yamaoka
6409a9558a (BASE_PURESIZE): Increase to 1230000. 2008-06-16 04:55:44 +00:00
Chong Yidong
9277a69d80 Tweak last change. 2008-06-16 02:04:45 +00:00
Chong Yidong
90c00b018d (font_parse_fcname): Correctly parse KEY=VAL values. 2008-06-16 01:59:40 +00:00
Chong Yidong
ce4eaddbd6 * font.c (font_parse_fcname): Correctly parse KEY=VAL values. 2008-06-16 01:58:48 +00:00
Juanma Barranquero
54b2ab2737 Fix typo. 2008-06-15 21:08:04 +00:00
Chong Yidong
53c7540dc3 (Fx_select_font): Give GTK font dialog the default font name. 2008-06-15 19:42:53 +00:00
Chong Yidong
349c787a53 (font_unparse_gtkname): Add prototype. 2008-06-15 19:42:31 +00:00
Chong Yidong
b1868a1a8d (font_parse_fcname): Only only one decimal point.
(font_unparse_fcname): Handle data in family and foundry indices
as symbols, not strings.
(font_unparse_gtkname, Ffont_face_attributes): New functions.
2008-06-15 19:42:11 +00:00
Chong Yidong
523dbe64af * font.c (font_parse_fcname): Only only one decimal point.
(font_unparse_fcname): Handle data in family and foundry indices
as symbols, not strings.
(font_unparse_gtkname, Ffont_face_attributes): New functions.

* xfns.c (Fx_select_font): Give GTK font dialog the default font
name.

* font.h (font_unparse_gtkname): Add prototype.
2008-06-15 19:41:54 +00:00
Kenichi Handa
9f29608265 (fontset_pattern_regexp): Escape `+' characters in pattern. 2008-06-15 12:26:28 +00:00
Andreas Schwab
3306c6dcd7 (font_update_drivers): Fix crash when no drivers match. 2008-06-15 10:13:24 +00:00
Stefan Monnier
a099c27aa3 * xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk.
* gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width.
2008-06-15 05:53:48 +00:00
Glenn Morris
1eb8fd9137 Comment fix for rms. 2008-06-14 19:14:01 +00:00