Commit graph

26200 commits

Author SHA1 Message Date
Jason Rumney
5d3f7fd872 (font_style_to_value, font_score): Use xstricmp. 2008-05-22 13:36:30 +00:00
Jason Rumney
28f4e99c8c (fs_query_fontset): Use xstricmp. 2008-05-22 13:36:13 +00:00
Jason Rumney
61a540f538 (xfont_list_pattern, compare_font_names): Use xstricmp. 2008-05-22 13:35:54 +00:00
Kenichi Handa
955b979c00 (BASE_PURESIZE): Increaed to 1220000. 2008-05-22 12:27:44 +00:00
Kenichi Handa
64b900e33e (font_prop_validate_style): Adjusted for the format
change of font_style_table.
2008-05-22 05:21:06 +00:00
Kenichi Handa
a30e19579a *** empty log message *** 2008-05-22 03:49:18 +00:00
Kenichi Handa
47ae372379 (x_update_menu_appearance): Call Ffont_xlfd_name with
two args.
2008-05-22 03:47:34 +00:00
Stefan Monnier
631248e534 * minibuf.c (keys_of_minibuf): Delete.
* lisp.h (keys_of_minibuf): Delete.
* emacs.c (main): Don't call keys_of_minibuf.
2008-05-22 03:18:18 +00:00
Kenichi Handa
318548bef0 (ftfont_resolve_generic_family): Renamed from
ftfont_list_generic_family.  Return a single family for each
generic family.
(ftfont_spec_pattern): Add FC_FAMILY to pattern.
(ftfont_list): Adjusted for the change of
ftfont_resolve_generic_family.  Call font_add_log.
(ftfont_match): Call font_add_log.
2008-05-22 02:27:17 +00:00
Kenichi Handa
f6a651cb77 (Ffont_xlfd_name): EXFUN adjusted.
(FONT_DEBUG): Define it.
(font_add_log): Extern it.
(font_assert): Renamed from xassert.
2008-05-22 02:24:14 +00:00
Kenichi Handa
960d80b9c4 (xfont_get_pcm): Change xassert to font_assert.
(xfont_list_family): Call font_add_log.
(xfont_match): Likewise.
(memq_no_quit): Deleted.
2008-05-22 02:23:03 +00:00
Kenichi Handa
7ae2e7f020 (fontset_from_font, Ffontset_info): Add the 2nd arg in
call of Ffont_xlfd_name.
2008-05-22 02:21:54 +00:00
Kenichi Handa
68eaeee492 *** empty log message *** 2008-05-22 02:21:05 +00:00
Kenichi Handa
d0ab1ebe49 Checking of FONT_DEBUG is moved to font.h. All calls of
xassert are changed to font_assert.  Many unused variables
deleted.
(Vfont_weight_table, Vfont_slant_table, Vfont_width_table): New
variables.
(struct table_entry): Moved from xfaces.c and modified.
(weight_table, slant_table, width_table): Moved from xfaces.c and
contents adjusted for the change of struct table_entry.
(font_style_to_value, font_style_symbolic): Adjuted for the format
change of font_style_table.
(font_parse_family_registry): Don't overwrite existing foundry and
family of font_spec.
(font_score): Fix calculation of diff for sizes.
(font_sort_entites): Call font_add_log.
(font_delete_unmatched): Return a newly created list.
(font_list_entities): Fix previous change.  Call font_add_log.
(font_matching_entity, font_open_entity, font_close_entity): Call
font_add_log.
(Ffont_xlfd_name): New arg FOLD-WILDCARDS.
(Finternal_set_font_style_table): Deleted.
(BUILD_STYLE_TABLE): New macro.
(build_style_table): New function.
(Vfont_log, font_log_env_checked): New variables.
(font_add_log): New function.
(syms_of_font): Delete defsubr Sinternal_set_font_style_table.
Declare Lisp variables "font-weight-table", "font-slant-table",
"font-width-table", and "font-log".  Initialize font_style_table.
2008-05-22 02:19:21 +00:00
Juanma Barranquero
bcc850aa9e *** empty log message *** 2008-05-21 10:14:56 +00:00
Juanma Barranquero
65a6ff8fb5 Fix typo in comment. 2008-05-21 09:25:50 +00:00
Dan Nicolaescu
6aac1c03b8 (x_set_frame_alpha): Move declarations before
statements.
2008-05-21 06:32:45 +00:00
Glenn Morris
b9fb2c4543 *** empty log message *** 2008-05-21 04:08:45 +00:00
Glenn Morris
7950790f33 Fix whitespace in previous. 2008-05-21 04:01:12 +00:00
Glenn Morris
a2979e8edd Seiji Zenitani <zenitani at mac.com>
Ryo Yoshitake <ryo at shiftmode.net>

(w32_frame_parm_handlers): A null handler for x_set_alpha.
2008-05-21 04:00:33 +00:00
Glenn Morris
405a127813 Seiji Zenitani <zenitani at mac.com>
Ryo Yoshitake <ryo at shiftmode.net>

(mac_frame_parm_handlers): A null handler for x_set_alpha.
2008-05-21 04:00:01 +00:00
Glenn Morris
4a59a6c015 Seiji Zenitani <zenitani at mac.com>
Ryo Yoshitake <ryo at shiftmode.net>

(x_set_frame_alpha): Add function.
2008-05-21 03:59:44 +00:00
Glenn Morris
271a71c732 Seiji Zenitani <zenitani at mac.com>
Ryo Yoshitake <ryo at shiftmode.net>

(x-create-frame, Qalpha): Initialize the frame parameter `alpha'.
2008-05-21 03:59:23 +00:00
Glenn Morris
50a7386968 Seiji Zenitani <zenitani at mac.com>
Ryo Yoshitake <ryo at shiftmode.net>

(Qalpha, Vframe_parameter_lower_limit): Export them.
2008-05-21 03:59:00 +00:00
Glenn Morris
0a70863790 Seiji Zenitani <zenitani at mac.com>
Ryo Yoshitake <ryo at shiftmode.net>

(Qalpha): Add a new frame parameter `alpha'.
(Vframe_alpha_lower_limit) : New variable.
(x_set_alpha): Add function.
2008-05-21 03:58:41 +00:00
Jason Rumney
5c2a72d900 (add_font_entity_to_list): Don't add non-opentype
truetype fonts to opentype list.
2008-05-20 23:37:27 +00:00
Juanma Barranquero
eb152aa90b (Ffontset_info): Doc fix.
(syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>:
<ignore-relative-composition>: Fix typos in docstrings.
2008-05-20 16:33:58 +00:00
Juanma Barranquero
027a33c045 (syms-of-font) <font-encoding-alist>:
(Ffontp, Ffont_make_gstring): Fix typos in docstrings.
(Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font,
Ffont_otf_alternates): Doc fixes.
2008-05-20 16:00:55 +00:00
Juanma Barranquero
fac97ac5a9 Fix typo. 2008-05-20 10:31:44 +00:00
Juanma Barranquero
dde8403ffe Fix typos. 2008-05-20 10:14:38 +00:00
Juanma Barranquero
c0dc8f895c *** empty log message *** 2008-05-20 10:13:17 +00:00
Kenichi Handa
1285557220 (obj): Fix previous change. 2008-05-20 06:44:03 +00:00
Kenichi Handa
ad00e1a3bf Include font.h unconditionally.
(merge_face_ref, merge_face_vectors)
(Finternal_set_lisp_face_attribute): Cancel the previous change.
2008-05-20 06:34:10 +00:00
Kenichi Handa
cd5218d2ab (Vfont_encoding_alist, find_font_encoding): Moved to
font.c.
(syms_of_fontset): Declaration of font-encoding-alist moved to
font.c.
2008-05-20 06:33:26 +00:00
Kenichi Handa
819e81df02 (Vfont_encoding_alist, find_font_encoding): Moved from
fontset.c.
(font_pixel_size)[! HAVE_WINDOW_SYSTEM]: Return 1.
(font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts,
FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f)
only when HAVE_WINDOW_SYSTEM is defined.
(font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only
when HAVE_WINDOW_SYSTEM is defined.
2008-05-20 06:33:10 +00:00
Kenichi Handa
e6aca9f35e (find_font_encoding): Extern it. 2008-05-20 06:32:37 +00:00
Kenichi Handa
4fa9161d66 (main): Call syms_of_font unconditionally. 2008-05-20 06:32:07 +00:00
Kenichi Handa
0f91ebe65a (FONTSRC): Delete it. Change all $(FONTSRC) to
font.h through out the file.
(FONT_DRIVERS): Renamed from FONTOBJ.
(obj): Delete $(FONTOBJ).  Add font.o.
(SOME_MACHINE_OBJECTS): Change $(FONTOBJ) to $(FONT_DRIVERS).
2008-05-20 06:31:49 +00:00
Stefan Monnier
40a69fac46 * xdisp.c (select_frame_for_redisplay): Adjust for last change to
indirect_variable.
* eval.c (lisp_indirect_variable): New fun.
(Fuser_variable_p): Use it.
2008-05-20 00:13:37 +00:00
Stefan Monnier
ad97b375e8 * lisp.h (indirect_variable):
* data.c (indirect_variable, let_shadows_buffer_binding_p):
Use Lisp_Symbol pointers rather than Lisp_Object.  Adjust callers.
* buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument.
To this end, change calling-convention.
2008-05-19 18:38:55 +00:00
Chong Yidong
61bd39a3bd (wait_reading_process_output): Always check status when in batch mode. 2008-05-19 16:29:33 +00:00
Chong Yidong
9092490376 * process.c (wait_reading_process_output): Always check status
when in batch mode.
2008-05-19 16:29:18 +00:00
Stefan Monnier
73913e2eb5 (Finternal_complete_buffer): Typo. 2008-05-19 11:23:53 +00:00
Stefan Monnier
8c2dccbf9d (Finternal_complete_buffer): Only strip out hidden buffers
if some non-hidden buffers are selected by string&pred.
2008-05-19 11:22:44 +00:00
Kenichi Handa
25b81df40e *** empty log message *** 2008-05-19 07:23:52 +00:00
Kenichi Handa
7cee5d639b (font_list_entities): Fix handling of cache.
(font_matching_entity): Likewise.
2008-05-19 07:22:45 +00:00
Kenichi Handa
21988a0804 (cs_iso8859_1): Deleted.
(ft_face_cache): New variable.
(struct ftfont_info): New member fc_charset_idx;
(ftfont_build_basic_charsets): Deleted.
(fc_charset_table): New variable.
(ftfont_pattern_entity): New arg fc_charset_idx.  Store (FILENAME
. FC_CHARSET_IDX) as :font-entity property in the font entity.
Callers changed.
(ftfont_lookup_cache, ftfont_get_charset): New funcitons.
(ftfont_spec_pattern): New argument fc_charset_idx.  Check
registry more rigidly.  Callers changed.
(ftfont_open, ftfont_close, ftfont_has_char): Adjustd for the
change of :font-entity property of the font.
2008-05-19 07:21:25 +00:00
Kenichi Handa
686ee70366 (xftfont_open): Ajusted for the change of extra info
set by ftfont_list.
2008-05-19 06:18:51 +00:00
Juanma Barranquero
d4a1d55391 (Fcoding_system_p): Rename argument to match docstring.
(Funencodable_char_position, Fcheck_coding_systems_region,
Fdecode_coding_string, Fencode_coding_string): Fix typos in docstrings.
(Fdetect_coding_region, Fdetect_coding_string, Fencode_coding_region,
Ffind_operation_coding_system, Fset_coding_system_priority,
Fcoding_system_eol_type): Doc fixes.
2008-05-19 00:57:11 +00:00
Glenn Morris
07cfc4e77d (child_setup_tty): Handle systems with NLDLY, without FFDLY. 2008-05-17 20:07:09 +00:00