1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 13:40:36 -08:00
Commit graph

6732 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
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
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
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
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
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
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
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
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
Stefan Monnier
a8aa344d07 (syms_of_xdisp): Default underline-minimum-offset to 1. 2008-06-14 19:12:44 +00:00
Stefan Monnier
a879ee6f98 (Fserial_process_configure, Fprocess_send_eof):
Use EQ to compare Lisp_Objects.
2008-06-13 16:35:17 +00:00
Jason Rumney
3d5edfa300 Restore line that last checkin inexplicably lost. 2008-06-13 14:52:13 +00:00
Jason Rumney
6fe9826d75 * w32fns.c (Fw32_select_font): Removed old font API function.
* w32font.c (logfont_to_fcname): New function.
(Fx_select_font): New font dialog function compatible with
GTK/fontconfig version.

* font.c (font_style_symbolic_from_value): New function.
(font_style_symbolic): Use it.

* font.h (font_style_symbolic_from_value): Declare new function.
2008-06-13 14:29:47 +00:00
Kenichi Handa
d0a477766d (font_find_for_lface): If registry is NULL, try iso8859-1 and ascii-0. 2008-06-13 12:29:55 +00:00
Kenichi Handa
a2e860b3db *** empty log message *** 2008-06-13 12:29:21 +00:00
Juanma Barranquero
17ab8f5d83 (syms_of_font) <font-weight-table, font-slant-table, font-width-table>:
Fix typos in docstrings.
2008-06-13 09:47:04 +00:00
Juanma Barranquero
7a18e381ce Fix typos. 2008-06-13 09:20:41 +00:00
Glenn Morris
d888760c95 Daniel Engeler <engeler at gmail.com>
These changes add serial port access.
* process.c: Add HAVE_SERIAL.
(Fdelete_process, Fprocess_status, Fset_process_buffer)
(Fset_process_filter, Fset_process_sentinel, Fprocess_contact)
(list_processes_1, select_wrapper, Fstop_process)
(Fcontinue_process, Fprocess_send_eof, kill_buffer_processes)
(status_notify): Modify to handle serial processes.
[HAVE_SERIAL] (Fserial_process_configure)
[HAVE_SERIAL] (make_serial_process_unwind, Fmake_serial_process):
New functions.
* process.h (struct Lisp_Process): Add `type'.
* sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure):
New functions.
* w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle serial ports.
(serial_open, serial_configure) New functions.
* w32.h: Add FILE_SERIAL.
(struct _child_process): Add ovl_read, ovl_write.
2008-06-13 08:08:20 +00:00
Kenichi Handa
f4cc015342 (font_score): Ignore the diffference of alias style symbols. 2008-06-13 04:26:01 +00:00
Juanma Barranquero
d434fef5e9 *** empty log message *** 2008-06-13 00:01:27 +00:00
Jim Meyering
97dead2d1f * lread.c (Fload): Use xfree, not free on saved_doc_string.
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
2008-06-12 22:54:12 +00:00
Jim Meyering
9c5e177ecf make unexec_free handle NULL the same way free does
* unexmacosx.c (unexec_free): Ignore a NULL argument.
2008-06-12 22:53:07 +00:00