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
Juanma Barranquero
b344d29d16
Fix typos, convert to utf-8.
2008-06-13 13:42:21 +00:00
Kenichi Handa
904a2e0e2f
(font_find_for_lface): Fix typo of the previous change.
2008-06-13 12:41:46 +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
bf970f2bd1
(Fx_create_frame, x_create_tip_frame): Register X
...
font-driver at first.
2008-06-13 05:47:42 +00:00
Kenichi Handa
f4cc015342
(font_score): Ignore the diffference of alias style symbols.
2008-06-13 04:26:01 +00:00
Kenichi Handa
943b7eea74
(font_update_sort_order): Setting of sort_shift_bits adjusted for the
...
change of font_score and font_sort_entites.
2008-06-13 02:57:10 +00:00
Kenichi Handa
ff63b08670
(enum lface_attribute_index): New member
...
LFACE_FOUNDRY_INDEX.
2008-06-13 02:19:47 +00:00
Kenichi Handa
4007dd1cf6
(font_score): Delete arg alternate_families. Check only
...
weight, slant, width, and size.
(font_sort_entites): Adjusted for the above change. Reflect the
order of font-driver to scores.
(font_list_entities): Don't check alternate_familes here.
(font_clear_prop): Handle foundry.
(font_update_lface): Don't parse "foundry-family" form here.
Handle FONT_FOUNDRY_INDEX.
(font_find_for_lface): Likewise. Handle alternate families here.
(font_open_for_lface): Pay attention to size in ENTITY.
(font_open_by_name): Simplified by calling font_load_for_lface.
(free_font_driver_list): Delete it.
(font_update_drivers): Preserve the order of backends.
(syms_of_font): Setting of sort_shift_bits adjusted for the change
of font_score and font_sort_entites.
2008-06-13 02:18:59 +00:00
Kenichi Handa
53aaf1e22f
(LFACE_FOUNDRY): New macro.
...
(check_lface_attrs): Check foundry.
(set_lface_from_font): Don't parse "FOUNDRY-FAMILY" from.
(merge_face_vectors): Check foundry.
(merge_face_ref): Likewise.
(Finternal_set_lisp_face_attribute): Likewise.
(x_update_menu_appearance): Likewise.
(Finternal_get_lisp_face_attribute): Likewise.
(lface_hash): Likewise.
(lface_same_font_attributes_p): Likewise.
(x_supports_face_attributes_p): Likewise.
(tty_supports_face_attributes_p): Likewise.
(Finternal_set_alternative_font_family_alist): Intern strings.
(Finternal_set_alternative_font_registry_alist): Downcase strings.
(realize_default_face): Set LFACE_FOUNDRY (lface).
2008-06-13 02:08:52 +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
Stefan Monnier
455af463a1
(CHAR_TO_BYTE_SAFE): Cut&paste error.
2008-06-12 20:53:18 +00:00
Stefan Monnier
2afc21f5f6
* character.h (CHAR_TO_BYTE_SAFE): New macro.
...
* character.c (Fmultibyte_char_to_unibyte): Obey the docstring.
* regex.c (RE_CHAR_TO_UNIBYTE): Use the new macro.
(WEAK_ALIAS): Simplify.
* syntax.c (skip_chars): Don't mark non-byte chars in the fastmap
when searching a unibyte buffer.
2008-06-12 20:25:47 +00:00
Chong Yidong
f82605c6b6
(Fx_select_font): Rename from x-font-dialog.
2008-06-12 15:29:18 +00:00
Chong Yidong
76c0de62ae
* xfns.c (Fx_select_font): Rename from x-font-dialog.
2008-06-12 15:28:32 +00:00
Juanma Barranquero
a784c9b6a8
Fix typos.
2008-06-12 13:28:56 +00:00
Juanma Barranquero
0500dcc9fe
Include ctype.h.
2008-06-12 10:40:29 +00:00
Jason Rumney
f42adef67d
(w32font_encode_char): Detect missing glyphs that are misreported as space.
...
(add_font_entity_to_list): Support unicode-bmp and unicode-sip
as aliases for registry iso10646-1.
2008-06-11 22:40:06 +00:00
Stefan Monnier
4b7cdc0edd
(clone_per_buffer_values): Skip `name'.
2008-06-11 16:25:03 +00:00
Chong Yidong
32a7e53cb3
(font_parse_fcname): Fix last change; accept decimal points in font
...
size.
2008-06-11 06:00:36 +00:00
Chong Yidong
cc02ebe170
* font.c (font_parse_fcname): Fix last change; accept decimal
...
points in font size.
2008-06-11 05:59:26 +00:00
Kenichi Handa
2f4c3d6df6
(ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;".
2008-06-11 01:13:48 +00:00
Juanma Barranquero
5d6333d522
Fix typos.
2008-06-10 23:25:59 +00:00
Jason Rumney
351ccb765f
(add_opentype_font_name_to_list): Skip non unicode fonts.
2008-06-10 22:14:00 +00:00
Chong Yidong
f473ed6f6f
* xfns.c (Fx_font_dialog): New function.
...
* gtkutil.c (xg_dialog_response_cb): Rename from,
xg_file_response_callback.
(pop_down_dialog): Rename from pop_down_file_dialog.
(xg_get_file_name): Callers changed.
(xg_get_font_name): New function.
* gtkutil.h (xg_get_font_name): Insert prototype,
2008-06-10 20:57:13 +00:00
Chong Yidong
9bf8097481
(Fx_font_dialog): New function.
2008-06-10 20:56:58 +00:00
Chong Yidong
3402c0a6f1
(xg_dialog_response_cb): Rename from xg_file_response_callback.
...
(pop_down_dialog): Rename from pop_down_file_dialog.
(xg_get_file_name): Callers changed.
(xg_get_font_name): New function.
2008-06-10 20:56:15 +00:00
Chong Yidong
8510900112
(xg_get_font_name): Insert prototype,
2008-06-10 20:55:35 +00:00
Stefan Monnier
2a3bd2e193
* xdisp.c (underline_minimum_offset): Rename from xterm.c's
...
x_underline_minimum_display_offset.
(syms_of_xdisp): Declare it here rather than in xterm.c.
* dispextern.h (underline_minimum_offset): Declare it.
* w32term.c (x_draw_glyph_string): Use it.
* xterm.c (x_underline_minimum_display_offset): Move to xdisp.c.
(syms_of_xterm): Don't declare it any more.
(x_draw_glyph_string): Adjust to the new name.
* cus-start.el (underline-minimum-offset) Rename from
x-underline-minimum-display-offset.
2008-06-10 20:22:10 +00:00
Stefan Monnier
d5dc61631e
* xterm.c (x_underline_minimum_display_offset): New var.
...
(x_draw_glyph_string): Use it.
(syms_of_xterm): Declare it.
* cus-start.el (x-underline-minimum-display-offset): Give it a type.
2008-06-10 20:01:54 +00:00
Chong Yidong
8c102d5bfe
(font_parse_fcname): Accept GTK-style font names too.
2008-06-10 20:01:06 +00:00
Chong Yidong
0abdd19768
* font.c (font_parse_fcname): Accept GTK-style font names too.
2008-06-10 20:00:13 +00:00
Stefan Monnier
928b5acc5e
* dired.c (file_name_completion): Don't return t if the match is exact
...
but with different capitalization.
* minibuf.c (Ftry_completion): Simplify.
2008-06-10 18:41:01 +00:00
Juanma Barranquero
ce0584934b
Fix committer names and other typos.
2008-06-10 16:50:18 +00:00
Stefan Monnier
a1562258dc
* window.c (Vwindow_point_insertion_type): New var.
...
(set_window_buffer): Use it.
(syms_of_window): Init and export it to Lisp.
* progmodes/compile.el (compilation-mode):
Set window-point-insertion-type.
(compilation-filter): Don't use insert-before-markers any more.
* emacs-lisp/trace.el (trace-make-advice):
Set window-point-insertion-type in the trace buffer.
* startup.el (normal-top-level): Set window-point-insertion-type in
*Messages*.
* net/telnet.el (telnet-mode): Set window-point-insertion-type.
(telnet-filter): Don't use insert-before-markers any more.
* comint.el (comint-mode): Set window-point-insertion-type.
(comint-output-filter): Don't use insert-before-markers any more.
* button.el (make-text-button): Allow `start' to be a string.
2008-06-10 16:08:48 +00:00
Juanma Barranquero
d948c43141
Fix name of committer/author.
2008-06-10 11:14:15 +00:00
Kenichi Handa
9552dbd17d
*** empty log message ***
2008-06-10 02:22:48 +00:00
Kenichi Handa
3d192a9cb1
(font_intern_prop): Prototype adjusted.
2008-06-10 02:09:41 +00:00
Kenichi Handa
2f286d4fe7
(font_intern_prop): New arg force_symbol.
...
(font_parse_xlfd): Adjusted for the change of font_intern_prop.
(font_parse_fcname): Likewise.
(font_parse_family_registry): Likewise.
2008-06-10 02:09:15 +00:00
Kenichi Handa
a1a9410256
(ftfont_pattern_entity): Adjusted for the change of font_intern_prop.
2008-06-10 02:07:53 +00:00
Kenichi Handa
4cb35b63ba
(add_font_name_to_list): Adjusted for
...
the change of font_intern_prop.
(w32_enumfont_pattern_entity): Likewise.
(w32_registry): Likewise.
2008-06-10 02:07:06 +00:00
Kenichi Handa
9ede710945
(add_opentype_font_name_to_list): Adjusted for
...
the change of font_intern_prop.
2008-06-10 02:06:27 +00:00