Kenichi Handa [Wed, 14 May 2008 01:23:13 +0000 (01:23 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals. Don't check enable_font_backend. Delete all codes
used only when USE_FONT_BACKEND is not defined.
Kenichi Handa [Wed, 14 May 2008 01:22:48 +0000 (01:22 +0000)]
(Vcharset_non_preferred_head): New variable.
(Vcurrent_iso639_language): New variable.
(syms_of_charset): Declare it as a Lisp variable.
(char_charset): Don't check non preferred charsets. As a last
resort, return charset_unicode.
(Fset_charset_priority): Update Vcharset_non_preferred_head.
Kenichi Handa [Wed, 14 May 2008 01:04:51 +0000 (01:04 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals. Don't check enable_font_backend. Delete all codes
used only when USE_FONT_BACKEND is not defined. Surround non-used
code by "#ifdef OLD_FONT" and "endif".
(Fw32_select_font): Use FONT_COMPAT to get old font structure.
Kenichi Handa [Wed, 14 May 2008 01:02:08 +0000 (01:02 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals. Don't check enable_font_backend. Delete all codes
used only when USE_FONT_BACKEND is not defined.
(w32font_open): Return a font-object. Make a font-object by
font_make_object. Adjusted for the change of struct w32font_info.
(w32font_close): Don't free struct font. Adjusted for the change
of struct w32font_info.
(w32font_encode_char, w32font_text_extents, w32font_draw):
Adjusted for the change of struct w32font_info.
(w32font_draw): Likewise.
(w32font_list_internal): Return a list, not vector.
(w32font_open_internal): Change the 4th arg to font-object.
Adjusted for the change of struct w32font_info and font-object
format.
(add_font_name_to_list): Don't downcase names.
(w32_enumfont_pattern_entity): Make a font-entity by
font_make_entity. Adjusted for the format change of font-entity.
Use FONT_SET_STYLE to set a style-related font property. If a
font is scalable, set avgwidth property to 0. Set font-entity
property by font_put_extra.
(font_matches_spec): Adjusted for the format change of
font-entity.
(w32_weight_table, w32_decode_weight): New variables.
(w32_encode_weight): New function.
(fill_in_logfont): Adjusted for the format change of font-spec.
(w32font_full_name): Use FONT_WEIGHT_SYMBOLIC to get a symbol
weight value.
(w32font_driver): Adjusted for the change of struct font_driver.
(w32font_open_internal): Change last argument from
w32font_info struct to font object. Fill in font object from
font_entity. Get Outline metrics if possible. Use them to
calculate underline position and thickness. Use xlfd name as name
property. Don't set codepage.
(w32font_open): Pass font_object to w32font_open_internal. Don't
update dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width.
(w32font_draw): Use s->font.
(clear_cached_metrics): Don't clear non-existent blocks.
Kenichi Handa [Wed, 14 May 2008 01:00:37 +0000 (01:00 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals. Don't check enable_font_backend. Surround non-used
code by "#ifdef OLD_FONT" and "endif".
(FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT)
(FONT_AVG_WIDTH): Adjusted for the change of struct font.
Kenichi Handa [Wed, 14 May 2008 00:40:04 +0000 (00:40 +0000)]
: Throughout the file, delete all USE_FONT_BACKEND
conditionals. Don't check enable_font_backend. Delete all codes
used only when USE_FONT_BACKEND is not defined. Surround non-used
code by "#ifdef OLD_FONT" and "endif".
Kenichi Handa [Wed, 14 May 2008 00:39:27 +0000 (00:39 +0000)]
Delete USE_FONT_BACKEND conditional.
(uniscribe_open): Return value changed to font-object. Adjusted
for the format change of font-object.
(uniscribe_otf_capability): Adjusted for the change of struct
font.
(add_opentype_font_name_to_list): Don't downcase names.
(uniscribe_font_driver): Adjusted for the change of struct
font_driver.
Kenichi Handa [Wed, 14 May 2008 00:38:39 +0000 (00:38 +0000)]
Throughout the file, delete all USE_FONT_BACKEND
conditionals.
(FONT_WIDTH): Return (f)->max_width.
(struct x_display_info): Delete member `font'.
(x_list_fonts, x_get_font_info, x_load_font, x_query_font)
(x_find_ccl_program, x_get_font_repertory): Delete externs.
(struct x_output): Change type of `font' to `struct font *'.
Teodor Zlatanov [Mon, 12 May 2008 12:39:46 +0000 (12:39 +0000)]
Add autoload cookie for
`auth-source-user-or-password'.
(url-basic-auth, url-digest-auth): Use it with any realm,
overriding the user name and password before the prompt.
Eric S. Raymond [Fri, 9 May 2008 20:28:54 +0000 (20:28 +0000)]
Item said "vc-update/vc-merge should deal with VC systems that don't
update/merge on a file basis, but on a whole repository basis." That's
what selecting the top-level directory of the repo or working copy is
for.
Eli Zaretskii [Fri, 9 May 2008 19:03:52 +0000 (19:03 +0000)]
Support for reporting owner and group of each file on MS-Windows:
* dired.c (stat_uname, stat_gname): New functions, with special
implementation for w32.
(Ffile_attributes): Use them instead of getpwuid and getgrgid.
* w32.c:
(g_b_init_get_file_security, g_b_init_get_security_descriptor_owner)
(g_b_init_get_security_descriptor_group, g_b_init_is_valid_sid):
New initialization states.
(globals_of_w32): Initialize them to zero. Initialize the default
group name to "None".
(GetFileSecurity_Name): New global var, the name of the function
to call for GetFileSecurity.
(GetFileSecurity_Proc, GetSecurityDescriptorOwner_Proc)
(GetSecurityDescriptorGroup_Proc, IsValidSid_Proc): New typedefs.
(get_file_security, get_security_descriptor_owner)
(get_security_descriptor_group, is_valid_sid)
(get_file_security_desc, get_rid, get_name_and_id)
(get_file_owner_and_group): New functions.
(stat): Use get_file_security_desc and get_file_owner_and_group to
report the owner and primary group of each file. Don't ignore the
high 32 bits of file's size, now that st_size is 64-bit wide. Fix
test when to get true file attributes.
(init_user_info): Use get_rid instead of equivalent inline code.
(fstat): Don't ignore the high 32 bits of file's size.